Antigravity Quota LensVersion 1.4.0 preserves the Codex subscription indicator from the public 1.3.1 release and adds a separate Claude Code account usage indicator alongside Antigravity Gemini quotas. Connect Claude Code
Node.js must be available on the PATH used by Claude Code. The connection command installs two JavaScript files under your Claude configuration directory, backs up existing settings.json, and adds a statusLine command. It preserves other settings and refuses to replace an existing status line. Run the command again to update the bridge after upgrading Quota Lens; remove its existing statusLine entry first. If you already use a custom status line, keep it and compose the bridge manually: pass the same stdin JSON to both commands, and suppress the bridge stdout if you want to retain your existing terminal display. Do not pipe the formatted output of your existing command into the bridge. Manual statusLine configuration: set type to command and command to node followed by the quoted absolute path to claude-statusline.js in this extension folder. Keep claude-usage.js alongside it. Back up your Claude settings before editing. The command-palette setup installs a stable copy so its path survives extension upgrades. What Claude usage means
The bridge reads the documented Claude Code status-line stdin locally, writes only a numeric metrics whitelist to quota-lens-usage.json in the Claude configuration directory, and makes no network requests. No account credentials, conversation content, identifiers or project paths are retained. CLAUDE_CONFIG_DIR is respected; the extension and Claude Code must use the same configuration directory and machine. Remote/WSL sessions require the extension to run where that file is written. Disable the indicator with antigravityQuota.claudeCode.enabled. To disconnect, remove the statusLine entry added by Quota Lens (or restore the settings backup) and delete the quota-lens directory and quota-lens-usage.json from the Claude configuration directory. Reference: https://code.claude.com/docs/en/statusline Antigravity settings
Antigravity discovery queries its local language server. The Claude Code indicator works independently even if that server is unavailable. DevelopmentRun node --test --test-isolation=none test/*.test.js. Tests use synthetic data and temporary directories only. Codex subscription usageThe existing Codex indicator reads numeric subscription limits through the official Codex app-server using your existing sign-in. It does not display account details. Configure antigravityQuota.codex.enabled, antigravityQuota.codex.home and antigravityQuota.codex.binaryPath as in version 1.3.1. API billing is separate from subscription limits. |