Repository navigation
feat(permissions): accept agentMode "auto" for antigravity-cli - #3647
Merged
Merged
Conversation
The Antigravity CLI modes page now documents `auto` (Preview) as a persisted `agentMode` value in settings.json. rulesync's enum lacked it, so an `antigravity-cli` override with `agentMode: "auto"` failed validation of the whole permissions file and import dropped it. Refs #2666 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
…tigravity-cli-auto-mode # Conflicts: # src/generated/docs-content.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Antigravity CLI modes page now documents
auto(Preview) as a persistedagentModevalue in~/.gemini/antigravity-cli/settings.json.ANTIGRAVITY_CLI_AGENT_MODESonly haddefault/accept-edits/plan, so anantigravity-clioverride withagentMode: "auto"failed validation of the whole permissions file, and import dropped the value."auto"toANTIGRAVITY_CLI_AGENT_MODES(shared by the zod enum and the import filter).docs/reference/file-formats.mdthatautoneeds the terminal sandbox and is not available for business or enterprise accounts.agentMode: "auto".Not changed: the docs now spell
defaultby omitting the key (or""); rulesync still emits"default"verbatim. Left as is (low confidence it matters).Refs #2666
🤖 Generated with Claude Code
https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth