Modules§
- agy
- Antigravity CLI (
agy) — Google’s successor to the retired Gemini CLI. Hooks are configured via ahooks.jsonin the customization root (~/.gemini/config/globally,.agents/per project). Therun_commandPreToolUse hook decision set isallow/deny/ask/force_ask. Verified LIVE against v1.1.2 CLI on 2026-07-13 (see HARNESS-BEHAVIORS.md): - claude
- codex
- copilot
- cursor
- droid
- gemini
- grok
- opencode
- qwen
Structs§
Enums§
- Gated
Policy - How a harness’s hook handles a gated command — see
HookFormat::gated_policy. - Install
Outcome
Constants§
- UNKNOWN_
WORKDIR - The working directory nothing can be inside: a relative path resolved against it lands outside every workspace, so a command whose safety rests on where its relative paths point is not approved, while one that names no such path classifies as it would anywhere.
Traits§
Functions§
- allow_
reason - detect_
installed - evaluation_
dirs - The (cwd, root) a command is classified under. Most harnesses send no distinct project root, so
the root defaults to the cwd, which engages the workspace boundary with the one directory known.
Where the cwd is not the command’s own (
HookFormat::cwd_is_the_commands), the reported cwd stays the workspace root and the command is placed atUNKNOWN_WORKDIR. - find
- may_
grant - May a GRANT be emitted for this command?
- registry
- respond
- The decision for one parsed envelope: the response to emit, or
Noneto abstain. - unknown_
folder_ level - The folder level a hook judges writes at when
formatdoes not report the command’s folder: the--unknown-folderflag, else the user config, elsedeveloper.Nonewhen the folder is known, where the dial does not apply.