codeburn/tests/providers
Uttam Deb 38f71ab35e
fix(codex): attribute native Codex tool events (#1767)
Codex writes native web_search_call, tool_search_call and image_generation_call items, and newer builds record a completed WebSearch item as type Extension with kind web.search. None of these counted as tool activity, so Codex sessions showed shell calls but no searches. They are now attributed as WebSearch, ToolSearch and ImageGeneration, with stable item identities deduplicated across status updates, mirrors, append checkpoints and fork replay, so a fork keeps its own new activity and never double counts the parent's.

Three maintainer commits sit on top. Codex builds of May 2026 write every search twice in a row, an item_completed WebSearch with its id and then a web_search_call with no id, so an id-less web_search_call directly after a WebSearch item is treated as that item. The depth-1 payload type scan now runs only for lines whose first payload type names a native tool or item_completed, which keeps the cold parse of compacted history from slowing by a fifth. The daily cache version is left alone: native tool items change which activity a turn lands in, never its calls, tokens or cost, and the Codex results file version already re-parses every session once; settled days pick up the new split at the next DAILY_CACHE_VERSION bump, which is reserved for the Node 22.15 floor.

Verified on a real session: usage, tokens and cost identical before and after, one WebSearch where there was none.

Authored by @uttamdeb.
2026-11-02 17:15:31 +01:00
..
amp.test.ts feat: Amp support - read the local thread mirror (#1572) (#1578) 2026-10-02 10:36:05 +02:00
antigravity.test.ts feat(antigravity): extract initial user prompt and attribute userMessage (#1793) 2026-10-31 03:45:34 +01:00
claude-config-dirs.test.ts fix(claude): discover macOS Claude-3p Cowork sessions (#1579) 2026-10-07 20:30:50 +02:00
claude-cowork-ledger-readonly.test.ts fix(claude): discover macOS Claude-3p Cowork sessions (#1579) 2026-10-07 20:30:50 +02:00
claude-cowork-ledger.test.ts fix(claude): discover macOS Claude-3p Cowork sessions (#1579) 2026-10-07 20:30:50 +02:00
cline-cli.test.ts fix(cline-cli): stop billing cache tokens twice (#1675) 2026-10-07 23:51:10 +02:00
cline.test.ts fix(cline): scan all VS Code variants for task storage 2026-08-04 00:01:57 +03:00
codebuff.test.ts Merge origin/main into feat/codebuff-provider and scope sessionId by channel 2026-05-01 00:14:18 +05:30
codewhale.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
codex-resume.test.ts fix(codex): attribute native Codex tool events (#1767) 2026-11-02 17:15:31 +01:00
codex.test.ts fix(codex): attribute native Codex tool events (#1767) 2026-11-02 17:15:31 +01:00
command-code.test.ts feat(providers): add Command Code (#1658) 2026-10-07 00:18:50 +02:00
copilot-skills.test.ts copilot: extract skill invocations so Skills & Agents populates (#654) (#697) 2026-07-16 12:02:34 -07:00
copilot.test.ts Copilot: count every agent round and bill exact credits in VS Code chat sessions (#1752) 2026-10-13 01:02:04 +02:00
crush.test.ts fix(crush): keep the recorded session cost through the session cache (#1618) 2026-10-04 20:31:42 +02:00
cursor-agent.test.ts fix(cursor-agent): leave Cursor IDE chat transcripts to the cursor provider (#1717) 2026-10-10 07:05:35 +02:00
cursor-bubble-dedup.test.ts Menubar and CLI hardening from multi-agent audit (#257) 2026-05-06 22:15:11 -07:00
cursor-large-db-cap.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
cursor-real-tokens.test.ts fix(cursor): use Cursor's real context tokens for input (#574) (#575) 2026-07-02 04:53:07 +02:00
cursor-workspace-breakdown.test.ts Cursor: per-project breakdown by workspace (closes per-project half of #196) (#296) 2026-05-10 15:35:57 -07:00
cursor.test.ts fix(cache-lock): coalesce heartbeat ticks; make time-sensitive tests deterministic (#1559) 2026-09-25 05:06:43 +02:00
devin-sessions-db.test.ts fix(devin): price SWE-2 at Cognition's list rate (#1674) 2026-10-07 23:33:39 +02:00
devin.test.ts fix(devin): price SWE-2 at Cognition's list rate (#1674) 2026-10-07 23:33:39 +02:00
droid.test.ts Add Droid CLI provider 2026-04-28 20:16:45 +02:00
dsh.test.ts Read DSH session format v4 written by dsh 0.2.0-rc.2 (#1612) 2026-10-05 11:54:55 +02:00
forge.test.ts feat(providers): add forge provider support (#401) 2026-05-26 03:36:57 -07:00
gemini.test.ts Track agent calls across providers (#340) 2026-05-18 05:51:01 -07:00
goose-sync-privacy.test.ts fix(sync): address project privacy review 2026-08-24 20:09:27 +05:30
grok.test.ts fix(grok): read per-request usage from logs/unified.jsonl (#1677) 2026-10-08 00:14:53 +02:00
grokbot.test.ts Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462) 2026-09-16 21:17:48 +02:00
hermes-ledger.test.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
hermes.test.ts Find Hermes sessions in Windows local app data (#1617) 2026-10-04 21:01:04 +02:00
ibm-bob.test.ts Add IBM Bob provider with workspace extraction (#316) 2026-05-11 20:54:13 -07:00
kilo-code.test.ts chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
kimi.test.ts fix(models): price kimi-for-coding by the model it served on the call date (#1676) 2026-10-08 00:02:38 +02:00
kimicode.test.ts fix(optimize): stop flagging delivered and editing sessions as low-worth (#1719) 2026-10-10 07:05:47 +02:00
kiro.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
lingtai-tui.test.ts fix(lingtai): harden manifest parsing against wrong-typed fields 2026-07-09 23:48:46 +02:00
mistral-vibe-unified.test.ts Restore usage from Mistral Vibe Unified Harness sessions (#1599) 2026-10-06 21:15:06 +02:00
mistral-vibe.test.ts fix: fix and improve test isolation and collision with environment (#530) 2026-06-20 13:42:10 +02:00
mux.test.ts feat(providers): add coder/mux as a datasource (#438) 2026-06-06 03:04:24 +02:00
omp.test.ts Count OMP model_usage side calls (find, judge, cache warming) (#1575) 2026-09-28 18:47:35 +02:00
open-design.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
openclaude.test.ts feat(openclaude): OpenClaude CLI provider (#213) 2026-08-04 04:05:25 +03:00
openclaw.test.ts fix(openclaw): read the per-agent sqlite transcript store the 2026-09-01 migration writes (#1526) 2026-09-28 19:17:20 +02:00
opencode-file.test.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
opencode.test.ts fix(opencode): Vertex sessions no longer show $0 (#1552) 2026-09-25 00:01:02 +02:00
pi.test.ts fix(models): name dot-form Claude minors and future GPT ids consistently (#1531) 2026-09-28 18:48:21 +02:00
probe-roots-899-census.test.ts test(doctor): pin the OpenClaw empty-root probe, drop the review-note comment 2026-09-07 11:38:24 -07:00
quickdesk.test.ts feat(quickdesk): Amazon Quick Desktop provider, parse ~/.quickwork sessions and metrics (#707) 2026-07-18 00:02:01 +03:00
session-message.test.ts fix: four cost accuracy bugs in export and pricing (#1544) 2026-09-24 15:55:23 +02:00
vercel-gateway.test.ts perf: store the session cache in day pieces (#1550) 2026-09-24 20:45:35 +02:00
vscode-cline-parser.test.ts fix(providers): guard two malformed-input crashes in the parse path 2026-08-04 06:28:41 +03:00
warp.test.ts fix(warp): price conversations from total_billed_cost_in_cents (#1787) 2026-10-26 13:30:21 +01:00
zcode.test.ts fix(zcode): attribute PR-linked spend by reading user prompts from the transcript tables (#1581) 2026-10-02 12:13:37 +02:00
zed.test.ts fix(zed): top threads up to the cumulative counter 2026-07-02 05:53:40 +02:00
zerostack.test.ts Add zerostack provider (#519) 2026-06-19 14:44:45 +02:00