Antigravity CLI is now protected through a native agy plugin instead of a hand-written hook entry, and this release clears three false denials reported from the field on Windows PowerShell and Python scripts.
Highlights
- Changed the Antigravity CLI integration to install as a native
agyplugin that ships thecc-safety-netskill, replacing the managed entry in~/.gemini/config/hooks.json. (#388, #390) - Fixed PowerShell member access such as
$_.Keybeing read as a.keyfile, which denied ordinary pipelines in standard mode. (#238, #383) - Improved host CLI detection during
installso a slow CLI is no longer reported as not installed. (#382)
Changed
- Changed Antigravity install and uninstall to run
agy plugin installandagy plugin uninstall, installing from the published plugin branch. A successful install removes the legacycc-safety-nethook from~/.gemini/config/hooks.jsonand leaves unrelated hooks untouched; a failed install keeps it.statusanddoctornow report Antigravity as aplugin, and detect the plugin even when it is disabled.agymust be onPATH, andupdateskips Antigravity when it is absent. (#388, #390) - Changed install, update detection, and the system report to look each host CLI up on
PATHinstead of running its--versionunder a 5-second cap. A CLI that is slow to answer or exits non-zero is now offered rather than greyed out as not installed, and the picker no longer launches host CLIs. DeepSeek Harness keeps itsnpx --offline --no-installpackage check, whichPATHcannot answer. (#382) - Changed Codex plugin detection to
codex plugin list --marketplace cc-marketplace, which skips the remote catalog refresh that could take minutes and cost Codex detection ininstall,doctor, and the GUI. A cc-safety-net plugin installed through a marketplace other thancc-marketplaceis no longer listed. (#386)
Fixed
- Fixed Antigravity tool calls that arrive at
hook --coding-cli, which happens whenagyconverts the Claude Code plugin into a hook. They were silently allowed with no audit entry; they are now evaluated as Antigravity, returnagy's{"decision":"deny","reason":…}output, and are recorded under theantigravity-cliagent. (#387) - Fixed unquoted PowerShell
$var.Memberchains being split into a variable plus a file suffix, so commands such asAdd-Member $x.Key 1,Write-Output $_.Key, andGet-Content $x.Pemno longer trigger extension rules. Quoted text ("$_.key"), braced suffixes (${dir}.key), and plain file names (id.key) still match, and POSIX parsing is unchanged. (#238, #383) - Fixed standard mode treating an argument list held in a name differently from the inline list, which denied scripts such as
args = ['true']followed bysubprocess.run(args, check=True)beside unrelated report text. A lone-name first argument now counts as the inline list only when the name is assigned once at statement level to a flat list or tuple that passes the inline element checks; modified, reassigned, or shell-bearing lists still block, and strict and paranoid modes are unchanged. (#238, #385) - Fixed
updatereporting a failure for Antigravity when clearing the npx cache failed; the plugin reinstall now runs anyway, while installs still using the legacy hook keep getting the refreshed npx package. (#390)
Security
- Added the Antigravity plugin hook file (
~/.gemini/config/plugins/cc-safety-net/hooks.json) and the plugin enable switch (~/.gemini/config/config.json) to thesecret.cli.antigravityprotected paths, so the files that turn the protection off are guarded like the other coding CLI configs. (#388)