You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #69 (v2 phase). v1 (codex-cli) shipped via PR #70.
Goal
Add a gemini-cli backend that spawns gemini -p '' --output-format text with the patina prompt on stdin. Together with claude-cli, completes the no-API-key triad (codex / claude / gemini).
Follow-up to #69 (v2 phase). v1 (codex-cli) shipped via PR #70.
Goal
Add a
gemini-clibackend that spawnsgemini -p '' --output-format textwith the patina prompt on stdin. Together with claude-cli, completes the no-API-key triad (codex / claude / gemini).Sketch
src/backends/gemini-cli.jsmirroringcodex-cli.jsshapeisAvailable()checksgemini --versionisAuthenticated()checks the gemini CLI's credential file location (verify in CLI docs)invoke()spawnsgemini -p '' --output-format text, pipes prompt to stdinsrc/backends/index.jsREGISTRY--model gemini*→ gemini-cli--backend gemini-cli(or--model gemini*)Edge cases
Acceptance
patina --backend gemini-cli input.txtworks when gemini is installed and authenticatedpatina --model gemini-1.5-pro input.txtroutes to gemini-clipatina auth statusreports availability + auth stateOut of scope