Skip to content

Add Antigravity CLI support - #24

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

raj-khan merged 1 commit into
mainfrom
support-antigravity

Conversation

@raj-khan

Copy link
Copy Markdown
Contributor

Adds an Antigravity CLI adapter (the Gemini CLI successor). init adds a canaryhook entry to .agents/hooks.json with PreToolUse and SessionStart, keeping other entries. toolCall.args are mapped to the names the checks use (CommandLine to command, AbsolutePath/TargetFile to file_path, CodeContent to content), so globs and tamper work the same. Every PreToolUse answer carries a decision: allow on a pass (which defers to the user's own permission rules, not auto-approve), deny with a reason on a trip. PostToolUse payloads carry no tool output, so the output check is not registered; status shows it as "not supported" and stays healthy. Backlog task-5.

init adds a canaryhook entry to .agents/hooks.json with PreToolUse and SessionStart. Tool arguments are mapped to the names the checks use, a pass answers allow (which defers to the user's rules), and the output check is reported as not supported since the payload carries no output.
@raj-khan
raj-khan merged commit 99f949c 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