Skip to content

Add Gemini CLI support - #25

Merged
raj-khan merged 1 commit into
mainfrom
support-gemini
Oct 24, 2026
Merged

raj-khan merged 1 commit into
mainfrom
support-gemini

Conversation

@raj-khan

Copy link
Copy Markdown
Contributor

Adds a Gemini CLI adapter (still used with paid API keys and enterprise licenses). init registers BeforeTool and AfterTool (matcher .*) and SessionStart in .gemini/settings.json, keeping other settings. A trip answers decision: deny with a reason; on AfterTool that hides the real result from the model, so the canary never reaches its context. A clean call answers {}. absolute_path is read as file_path for older releases. .gemini/settings.json is covered by the tamper check. Backlog task-6.

init registers BeforeTool, AfterTool and SessionStart in .gemini/settings.json. On AfterTool a trip hides the real result from the model, so the canary never reaches its context.
@raj-khan
raj-khan merged commit 76e9173 into main Oct 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant