codeburn/tests/providers
Resham Joshi 063e42796d
feat(providers): add Command Code (#1658)
* feat: Command Code support

Reads the cmd CLI's session transcripts at
~/.commandcode/projects/<slug>/<id>.jsonl (CODEBURN_COMMANDCODE_DIR moves
the root). Checkpoint and prompt sidecars are skipped.

usage.inputTokens includes cacheReadTokens, so fresh input is
inputTokens - cacheReadTokens. The recorded costUsd is kept per call
(costFromBilling); a call without one is priced from tokens and marked
estimated. Forks copy parent message ids into a new file, so calls dedupe
by message id across sessions.

Desktop: Electron sandbox read path, macOS and Windows change watchers,
Windows tab colour. No quota adapter.

* fix(command-code): dedupe on meta.messageId, not the 8-hex line id

The top-level id is randomUUID().slice(0, 8) and only unique within one
file, so calls from unrelated sessions could collide and vanish.
meta.messageId is a full uuid that survives forks. Fixture ids now use
the real 8-hex shape.

* test(command-code): check sidecar skipping by file name, not a posix path
2026-10-07 00:18:50 +02: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 fix(antigravity): count cache reads and price the standalone app's model (#1655) 2026-10-06 20:58:31 +02:00
claude-config-dirs.test.ts test: isolate the real home on Windows and make the CLI suite pass there 2026-09-02 13:43:57 -07:00
cline-cli.test.ts fix: close status-snapshot race, cline-cli fingerprint gap, symlinked dirs, env-var invisibility 2026-08-24 15:05:02 -05: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
codewhale.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
codex-resume.test.ts Price Codex Fast (priority tier) turns at priority rates (#1628) 2026-10-05 12:15:30 +02:00
codex.test.ts fix(codex): price Flex tier turns and the gpt-reserve / gpt-5.3-spark ids (#1642) 2026-10-05 21:18:59 +02: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 Honor redirected Copilot and Cursor storage roots (#1624) 2026-10-04 22:17:28 +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): stop counting billed CLI sessions twice, mark guessed-model sync rows estimated (#1654) 2026-10-06 20:43:24 +02:00
cursor-bubble-dedup.test.ts
cursor-large-db-cap.test.ts
cursor-real-tokens.test.ts
cursor-workspace-breakdown.test.ts
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 feat(devin): read usage from sessions.db (#1605) 2026-10-02 16:42:57 +02:00
devin.test.ts feat(devin): read usage from sessions.db (#1605) 2026-10-02 16:42:57 +02:00
droid.test.ts
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
gemini.test.ts
goose-sync-privacy.test.ts fix(sync): address project privacy review 2026-08-24 20:09:27 +05:30
grok.test.ts models: distinguish grok-4.5-build from grok-4.5 in reports 2026-08-18 12:01:12 -07: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
kilo-code.test.ts chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
kimi.test.ts
kimicode.test.ts kimicode: discover desktop-runtime sessions and fix menubar visibility 2026-07-23 21:31:25 +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
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
mux.test.ts
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 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02: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
zerostack.test.ts