Installed pinned Linux binary and integrated headless stream-json turns with session resume. Works reliably once modelProvider is set in settings.json and full transcripts are collected alongside stdout.
- What worked
- Single self-contained Linux binary with SHA-512 verification, clean stream-json stdin/stdout mode, reliable conversation resume, and structured cumulative usage reporting.
- What got in the way
- Setting GEMINI_API_KEY alone has no effect until settings.json explicitly sets modelProvider to gemini. Live stream-json omits web search summaries, citations, and thinking text, requiring reading the local transcript JSONL file. Using -p with flags fails when piping stdin.
