v0.10.0
Breaking LatestEvery usage response now uses one canonical shape, and usage history moved from a JSON file to SQLite. Existing history is not migrated.
Verified with Claude Code 2.1.302, Antigravity CLI (agy) 1.4.0, Codex CLI 0.162.1 (checked on ).
Added
- Antigravity: support for the separate Gemini 4 Argon quota pool reported by
agy1.3.x. ItsGEMINI 4 ARGONsection is recognised as a group even without aMODELSsuffix.Gemini 4 Argon Weekly Limitis reported withgroup: "Gemini 4 Argon"andcycle: "weekly", which is aweeklywindow withmodel: "Gemini 4 Argon"inGET /status. A bareWeekly Limitin that section becomesGemini 4 Argon · Weekly Limitinstead of being attributed to the previous group. context_windowandcreditson every canonical provider object (GET /status,GET /status/:id,--once --json),nullwhen unknown.context_windowis{ total_tokens, used_tokens, used_percent, remaining_percent, model, source }. Itssourceiscli(reported by the CLI),override(config file) orknown-model(Agent Tank’s built-in table). Claude and Antigravity get a size looked up from the model their CLI reports; Codex reports its own.creditsis the Codex credit balance,{ remaining, unit: "credits" }. Claude’s extra-usage dollar budget stays underraw.usage.extraUsage.- Codex:
Context window: N% left (X used / Y)andCredits: N creditsare parsed from/statusintousage.contextWindowandusage.credits. The same values are read from the JSON-RPC app-server response when it reports them. contextWindowsconfig key to add or correct known model context windows, e.g.{ "gpt-6-astra": 300000 }.- Dashboard cards show a context-window row and a credits row when known. Both update after an auto-refresh poll or a card refresh, without a page reload.
- Codex history snapshots record
contextUsedPercent(percent unit) andcredits(creditsunit, invalue). - Usage-history sparkline on each dashboard agent card: one inline-SVG line per tracked metric on a fixed 0–100% scale, with a legend of latest values and a hover read-out. It is redrawn after every auto-refresh poll and card refresh without a page reload, and shows “Not enough history yet” until a metric has two points.
--history-chart/--no-history-chart,AGENT_TANK_HISTORY_CHARTand thehistory.chartconfig key (on by default).GET /configreports the effective value ashistory.chart, which isfalsewhenever history recording is off (store: "none").GET /history/:id?view=chartreturns only plottable series (percent units, at least two points) with{ t, percent }points.
Changed
- Breaking: usage responses use one canonical provider shape for every provider:
id,provider,plan,status,last_updated,error, and awindowslist (type,label,model,used_percent,remaining_percent, ISO 8601resets_at,resets_in_seconds,paceornull). The original per-provider payload is kept under each provider’srawfield.GET /statusand--once --jsonreturn{ "providers": [...] };GET /status/:idreturns one canonical provider object;POST /refreshreturns{ "success": true, "providers": [...] }andPOST /refresh/:idreturns{ "success": true, "provider": {...} }(both previouslystatus). - Programmatic API: new
getNormalizedStatus()andgetNormalizedAgentStatus(id)onAgentTank.getStatus()andgetAgentStatus(id)still return the raw per-provider payloads. - Raw agent status gains
usageUpdatedAt, the time usage was last captured. A refresh that fails but keeps cached usage still bumpslastUpdated, but notusageUpdatedAt. Canonicallast_updatedand reset times are based onusageUpdatedAt, so they no longer drift forward after such failures. - Claude
/statusmetadata now includesloginMethod, which is used to report the canonicalplan. - Breaking: usage history moved from
~/.agent-tank/history.jsonto a SQLite database at~/.agent-tank/history.db, using Node’s built-innode:sqlite(no new dependency). Each refresh stores one row per metric in ausage_metricstable, so a series is a single indexed query. The JSON file is no longer read or written, and existing JSON history is not migrated. GET /history/:idreturns{ agent, store, retention_days, series }(seriesis[]for an account with no recorded metrics). Each series is{ key, label, model, cycle, unit, points: [{ t, percent, value }] }. It acceptssince,untilandmetricquery parameters.GET /historystats are now per-account row counts plusstoreandpath.GET /configreports the history backend ashistory: { enabled, store, path, retentionDays, chart }.- History needs Node.js 22.5+. On older runtimes history is disabled with one startup warning and reported as
store: "none"; refreshes are unaffected. - New history options:
--history/--no-history,--history-db <path>,AGENT_TANK_HISTORY,AGENT_TANK_HISTORY_DB, and thehistory.enabled/history.dbPathconfig keys. - Usage that was not re-captured since it was last recorded (a failed refresh that keeps cached usage, or a refresh skipped by the cooldown) is no longer recorded again.
AgentTank#stop()closes the history database.- Antigravity: descriptive prose lines on the
/usagescreen (ending in.,!or?, or longer than eight words) are skipped and can never become a model label.
Fixed
- Claude:
/statusmetadata was alwaysnull, so the canonicalplanandcontext_windowwerenull. The slash-command autocomplete menu was mistaken for the finished Status panel. Completion now requires the panel’sVersion:field followed byLogin method:,Model:orSession ID:. - Antigravity: metadata was parsed before the CLI had started, so
modelwas never set andcontext_window(includingcontextWindowsoverrides) could not apply. Agent Tank now waits for the startup banner and readsversion,email,model(from the banner, never from a “no longer available” notice) andplan. - Antigravity: the plan shown next to the account in the banner (e.g.
Google AI Pro) is reported as the canonicalplan("google ai pro"). - Antigravity: a signed-out CLI showing the login menu next to a
Signing in...spinner is reported asAuthentication requiredinstead of waiting out the spawn timeout.
Documentation
- README: new “Upgrading from 0.9.x” section with before/after response shapes and history notes, and a troubleshooting entry for
nullcontext_window/plan.