Repository navigation
Commit f124fe7
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
File tree
- apps/ccusage
- docs
- .vitepress
- guide
- antigravity
- nix
- rust
- adapters/antigravity
- src
- crates
- ccusage-adapter-all
- src
- ccusage-cli-parser/src
- snapshots
- ccusage-cli/src
- ccusage-config/src
- snapshots
- ccusage-core/src
- ccusage
- src
- adapter
- cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
136 | | - | |
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
| |||
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
| 167 | + | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
0 commit comments