Skip to content

Commit f124fe7

Browse files
committed
revert: "feat(antigravity): add Antigravity CLI usage adapter (#1544)"
This reverts commit 50614f1. Temporary, so that v20.0.20 does not ship a half-finished adapter. The intent is to reapply Antigravity support, not to drop it — see #1488. #1544 landed while the contribution proposal in #1488 was still open, and it covers less ground than @sambitcreate's #1487: - It reads only `~/.gemini/antigravity-cli`, missing `antigravity`, `antigravity-ide` and `antigravity-backup`, so IDE users get nothing. - Opaque model ids stay as `antigravity-model-<id>` with no alias table, so they cannot be priced and cost is silently understated. - The offline pricing snapshot has no Gemini rates, so `--offline` reports no cost for Gemini models. - It was validated against three chat turns in one CLI conversation. - Retries, subagents and model comparison ship unexercised. The first three are already solved in #1487, which is the better base to build on. Reverting now keeps the release clean while that is sorted out, and costs nothing: the adapter has not been released, so no user has it. Nothing about the reverse engineering is lost. The recovered field numbers and the reasoning behind the dedupe are written up in #1488.
1 parent d0d53aa commit f124fe7

37 files changed

Lines changed: 83 additions & 2861 deletions

‎apps/ccusage/README.md‎

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,23 @@ npx ccusage@latest
6161

6262
ccusage reads local usage data from coding agent CLIs and turns it into daily, weekly, monthly, and session reports.
6363

64-
| Source | Focused command example |
65-
| ------------------ | --------------------------- |
66-
| Claude Code | `ccusage claude daily` |
67-
| Codex | `ccusage codex daily` |
68-
| OpenCode | `ccusage opencode daily` |
69-
| Amp | `ccusage amp daily` |
70-
| Droid | `ccusage droid daily` |
71-
| Codebuff | `ccusage codebuff daily` |
72-
| Hermes Agent | `ccusage hermes daily` |
73-
| pi-agent | `ccusage pi daily` |
74-
| Goose | `ccusage goose daily` |
75-
| OpenClaw | `ccusage openclaw daily` |
76-
| Kilo | `ccusage kilo daily` |
77-
| Kimi | `ccusage kimi daily` |
78-
| Qwen | `ccusage qwen daily` |
79-
| GitHub Copilot CLI | `ccusage copilot daily` |
80-
| Gemini CLI | `ccusage gemini daily` |
81-
| Antigravity | `ccusage antigravity daily` |
64+
| Source | Focused command example |
65+
| ------------------ | ------------------------ |
66+
| Claude Code | `ccusage claude daily` |
67+
| Codex | `ccusage codex daily` |
68+
| OpenCode | `ccusage opencode daily` |
69+
| Amp | `ccusage amp daily` |
70+
| Droid | `ccusage droid daily` |
71+
| Codebuff | `ccusage codebuff daily` |
72+
| Hermes Agent | `ccusage hermes daily` |
73+
| pi-agent | `ccusage pi daily` |
74+
| Goose | `ccusage goose daily` |
75+
| OpenClaw | `ccusage openclaw daily` |
76+
| Kilo | `ccusage kilo daily` |
77+
| Kimi | `ccusage kimi daily` |
78+
| Qwen | `ccusage qwen daily` |
79+
| GitHub Copilot CLI | `ccusage copilot daily` |
80+
| Gemini CLI | `ccusage gemini daily` |
8281

8382
Use `ccusage daily`, `ccusage weekly`, `ccusage monthly`, or `ccusage session` to include every detected source in one report.
8483

@@ -133,7 +132,6 @@ bunx ccusage kimi daily
133132
bunx ccusage qwen daily
134133
bunx ccusage copilot daily
135134
bunx ccusage gemini daily
136-
bunx ccusage antigravity daily
137135
bunx ccusage pi daily --pi-path /path/to/sessions
138136
bunx ccusage pi daily --pi-path /path/to/sessions,/archive/pi/sessions
139137

@@ -166,7 +164,7 @@ bunx ccusage monthly --compact # Compact monthly report
166164
- 📊 **Daily Report**: View token usage and costs aggregated by date
167165
- 📅 **Monthly Report**: View token usage and costs aggregated by month
168166
- 💬 **Session Report**: View usage grouped by conversation sessions
169-
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, and Antigravity usage from one CLI
167+
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, and Gemini CLI usage from one CLI
170168
- ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
171169
- 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
172170
- 🤖 **Model Tracking**: See which models are used across supported sources

0 commit comments

Comments
 (0)