mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
* fix(antigravity): count cache reads and price the standalone app's model The standalone Antigravity app (2.19) stores usage as ModelUsageStats in gen_metadata. Field 5 (cache_read_tokens) was never read, on the SQLite path or the RPC path, so every cached prompt token was dropped. Fields 9 and 10 are thinking and response output, the reverse of what the SQLite path assumed. The rows carry only MODEL_PLACEHOLDER_M16 and "gemini-pro-default", so the model priced at $0. Read cache read (and cache write) in both paths, read 9/10 in the right order, drop the input fallback to field 1 (the model enum), and map the placeholders seen in the app's own model catalog, flagged as estimated. Bump the antigravity results cache, its parse version and the daily cache. * fix(antigravity): keep .pb history across the cache bump, step times, 200k tier With the results cache at v8 and Antigravity closed, .pb cascades had no entry and no server, so they vanished until the app was next opened. Serve the v7 entry meanwhile, stored with mtimeMs -1, and preload the results cache so the session cache reparses such sources and the next run with the server up re-fetches them with cache reads. Standalone .db rows without created_at take their first step's time (steps.metadata #1), which equals created_at wherever both exist, instead of the file mtime. Price antigravity at the Gemini long-context tier: add it to TIERED_PRICING_PROVIDERS and pass the provider at both calculateCost sites. |
||
|---|---|---|
| .. | ||
| antigravity-cli-current | ||
| antigravity-standalone | ||
| claude | ||
| copilot | ||
| cursor-agent/workspace-less/projects/agent-transcripts/1031d227-0c67-4e17-8954-0b6e2b3322f0 | ||
| dsh | ||
| open-design/namespaces/release-stable/data/runs | ||
| security | ||
| cache-refresh-corrupt-owner.ts | ||
| cache-refresh-slow-owner.ts | ||
| cache-refresh-worker.ts | ||
| clock.ts | ||
| ink-user-timing-probe.tsx | ||
| menubar-legacy-required-keys.json | ||
| mock-discovery-register.mjs | ||
| mock-idp.ts | ||
| serve-wedged-request.ts | ||
| session-cache-io.ts | ||
| status-snapshot-writer.ts | ||