Repository navigation
v0.3.1
Antigravity Bridge v0.3.1
Versioning note: Versioned conservatively as
0.3.1as a backward-compatible incremental update over0.3.0(preservinglocal.antigravity-bridge, all existing settings/commands, and the Run Directory Protocol). It includes new/geminiinvocation, runner, setup, and built-in Undo capabilities described below.
Added
- Contributed
/geminiAgent Skill (contributes.chatSkills→skills/gemini/SKILL.md): Setsuser-invocable: trueanddisable-model-invocation: trueso VS Code Editor Chat users (Copilot harness and Local harness, VS Code ≥ 1.109) can complete/gem→/geminicleanly in the/slash menu without colliding with@file/attachment suggestions. - Bundled portable zero-dependency Node.js runner (
skills/gemini/scripts/agy-bridge-runner.mjs): Co-located insideskills/gemini/so VS Code's Agent Host skill bundler includes it automatically. Supportsdoctor,run, andrevertwith safe defaults (never passes--dangerously-skip-permissionsautomatically), rejects Windows.cmd/.batshims, validates--run-idagainst path traversal, and reports explicit failures (AGY_CLI_NOT_FOUND/auth_required/blocked) without silently falling back to another model. - Built-in pure-Node all-or-nothing SHA-256 Undo (
src/core/builtInRevert.ts): Works out of the box with no Python or externalagy_run.pyrequired whenantigravityBridge.runnerScriptPathis unset, enforcing post-run hash verification, path-traversal checks, and intermediate symlink containment. Explicit customrunnerScriptPathoverrides remain supported. - Three new localized commands (EN + zh-CN):
- Antigravity: Run Task with Antigravity CLI… (
antigravity.runTask) - Antigravity: Check Setup (Doctor) (
antigravity.checkSetup) - Antigravity: Export /gemini Skill for Agents Window & CLI… (
antigravity.exportSkill)
- Antigravity: Run Task with Antigravity CLI… (
- Two new settings & cross-platform default
runsDir:antigravityBridge.cliPath(scope: "machine"),antigravityBridge.defaultModel(scope: "application"), and platform-nativerunsDirresolution (AGY_RUN_RUNS_DIRfallback, then Windows%LOCALAPPDATA%\agy-run\runs, macOS~/Library/Application Support/agy-run/runs, Linux${XDG_STATE_HOME:-~/.local/state}/agy-run/runs).
Changed
- Extended verified Windows PID cancellation (
verifyRunProcessIdentity) to recognizeagy-bridge-runner.mjsand configured custom runner scripts alongsideagy_run.pyandagy/agy.exe. - Updated
viewsWelcome, bilingualREADMEs,docs/RUN-DIRECTORY-PROTOCOL.md,docs/ARCHITECTURE.md,SECURITY.md, andCONTRIBUTING.mdwith clear chat-surface guidance and prerequisites.
Usage & Surface Notes
- VS Code Editor Chat (≥ 1.109): Type
/gemini <your task>. (@Geminicompletion itself is not provided because VS Code's public API deprecates@chat participants in the Copilot Agent Host harness.) - VS Code Agents Window & terminal GitHub Copilot CLI: Run Antigravity: Export /gemini Skill for Agents Window & CLI… once (to
~/.copilot/skills/gemini/or.github/skills/gemini/), then invoke/gemini <your task>. - Without Copilot Chat (VS Code ≥ 1.100): Run Antigravity: Run Task with Antigravity CLI… from the Command Palette or Antigravity → Runs view.
- External prerequisite: Executing tasks requires your own local Google Antigravity CLI (
agy) installation and sign-in. Run Antigravity: Check Setup (Doctor) to check readiness (setAGY_EXEor addagytoPATHfor/geminishell runs;antigravityBridge.cliPathconfigures VS Code commands).
Installation & Verification
code --install-extension antigravity-bridge-0.3.1.vsixReload VS Code (Developer: Reload Window) after upgrading.
- Asset:
antigravity-bridge-0.3.1.vsix(196,446 bytes, 37 files) - SHA-256:
A73460DD35B5E42E5EFD42D4E380C4A5852FF39D48E5749B50D185CB51D2F436 - Commit:
f116eef231c16f9f39e4b944c10b42ed41ee0777