@josegalre/openchamber-extension-antigravity
v0.3.0
Published
Google Antigravity in OpenChamber: the opencode-plugin-antigravity-acp provider and a Usage card read from the agy CLI.
Maintainers
Readme
openchamber-extension-antigravity
An OpenChamber extension for Google Antigravity: it adds the Antigravity provider to OpenCode through
@josegalre/opencode-plugin-antigravity-acp,
and shows how much of your Gemini quota is left on OpenChamber's Usage page.
This is an independent community project. It is not affiliated with, endorsed by or sponsored by Google. Antigravity and Gemini are trademarks of Google LLC.
Install
- Install the Antigravity CLI (
agy) and sign in with it once in a terminal. - Get the ZIP,
openchamber-extension-antigravity-<version>.zip, from a release on GitHub, or build it withpnpm run zip. It needs OpenChamber 2.7.0 or later. The same files are on npm as@josegalre/openchamber-extension-antigravity; OpenChamber installs that copy as a folder. - In OpenChamber, Settings → Extensions, install the ZIP, its release URL or the folder. Allow its local service and Add a plugin to OpenCode.
OpenChamber then lists the plugin in the OpenCode config it manages, and the antigravity/… Gemini models show in the
model picker. For an OpenCode that OpenChamber did not start, use OpenChamber's Add to global config, or install
the plugin from npm.
If @josegalre/opencode-plugin-antigravity-acp is already in your opencode.json, OpenCode keeps that one and reports
the extension's copy as a duplicate plugin id: remove one of the two. The extension's copy runs agy from OpenCode's
PATH with no plugin options; to set command, args, autoCompact or idleTimeout, use the npm package with options instead.
The Usage card
Settings → Usage shows an Antigravity card with the Gemini models' 5h and weekly windows: how much of each is used, and when it resets. Tick Show in Work Status and it joins the header's rate limits, Work Status, the phone and the desktop tray.
The extension's service reads the quota by running agy --print /usage --output-format json, the same /usage you
can type in agy. A reading, or a failed read, is reused for a minute. The service looks for agy on the PATH OpenChamber runs with,
then in ~/.local/bin.
What it reads and sends
- Only
agy. The service never readsagy's or Antigravity's credential files, never calls a Google endpoint and never changes whereagyconnects./usagespends no tokens and starts no conversation. - No accidental prompts.
agysends a slash command it does not know to the model as a prompt. So the service runs/usageonly on anagywhose/helplists it, and stops asking anagythat answered either command as a model turn. - The plugin as published. The ZIP carries the npm package's
dist/index.jsbyte for byte. What the plugin does, and its own boundaries, are in its README.
Development
See AGENTS.md. pnpm ready checks, builds, zips and tests.
License
MIT, like the plugin it carries.
