codeburn/docs
Jayly 6b7f672af7
fix(copilot): include copilot legacy chat sessions (#1232)
* feat(copilot): legacy JSON chat session parser and auto-mode resolution

* fixed copilot naming

* revert: remove unrelated jetbrains and env-isolation changes

* revert priority change

* fix(copilot): route legacy JSON chat sessions cleanly and fix calculateCost web search param

* fix(copilot): legacy chat session parsing and pricing

* fix(copilot): strip github.copilot-chat/ namespace from legacy model ids

found github.copilot-chat prefix in my chat sessions

* fix(copilot): revert comments

* fix(copilot): model names

* fix(copilot): model display name edge cases

* feat(copilot): only keep legacy parser source

* fix(copilot): legacy sessions skip binary tool outputs and use recorded thinking tokens

A screenshot or other binary tool result was base64-decoded as UTF-8 and
char-counted as input, so one 200 KB PNG billed 50k input tokens. Only
text/* payloads count now.

A round's recorded thinking.tokens was compared with the char estimate of
the same text via Math.max, so the estimate won whenever it was larger.
Each round now uses its recorded count when present and the estimate only
otherwise, summed across rounds.

Docs list the flat .json files and the transcript gate covering them.

* fix(models): price Copilot's dotted spellings of Claude 3.5, 3.7 and Opus 4.1

Copilot writes claude-3.5-sonnet, claude-3.7-sonnet,
claude-3.7-sonnet-thought and claude-opus-4.1, which resolved to no
pricing row and billed $0. They alias to the dashed rows now.

---------

Co-authored-by: Resham Joshi <65915470+iamtoruk@users.noreply.github.com>
2026-09-25 01:32:46 +02:00
..
design chore: release 0.9.25 (#1518) 2026-09-21 18:33:28 +02:00
providers fix(copilot): include copilot legacy chat sessions (#1232) 2026-09-25 01:32:46 +02:00
release-acceptance test(perf): add Phase 0 wait-path harness and pin main baselines 2026-08-29 23:45:46 +05:30
sync feat(sync): additive CB-3 usage-span fields and coverage watermark (Teams boundary spec section 7) (#1135, #1140) (#1147) 2026-08-25 11:32:45 -07:00
architecture.md fix(opencode): Vertex sessions no longer show $0 (#1552) 2026-09-25 00:01:02 +02:00
by-branch.md Add spend-by-branch report (spend --format branch-json) 2026-09-12 13:09:00 -07:00
cli.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
compare-cohorts.md Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
compare-periods.md Compare periods: lead sentence, three tiles, day bars, top movers (#1446) 2026-09-15 23:12:12 +02:00
configuration.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
drill-through.md Fix drill-through provider, day and model attribution 2026-09-12 12:22:19 -07:00
guard.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
how-it-works.md chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
mcp.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
menubar.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
optimize.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
plans-and-quota.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
README.md chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
web.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00
yield.md README: tell the story first, keep the manual in docs (#1527) 2026-09-22 16:28:27 +02:00

Docs index

One line per file in this directory, recursively.

docs/

  • architecture.md — A map of the codebase.
  • by-branch.md — The Spend view in CodeBurn Desktop has a By branch panel: pick a project and see where its AI spend went, per git branch, with the recorded worktrees and the individual sessions behind each branch.
  • cli.md — Every CodeBurn command and keyboard shortcut, plus the report-focused flags for filtering, JSON output, and diagnosing detection.
  • compare-cohorts.md — The classic Compare view answers "how do these two models differ across my whole history?" by aggregating everything each model ever did.
  • compare-periods.md — Compare two date ranges side by side and see exactly what drove the change in usage and cost.
  • configuration.md — Currency, model aliases, local/custom-priced/proxy models, and environment variables.
  • drill-through.md — CodeBurn Desktop can open any aggregate as a session list that explains exactly what composes it, without losing your place.
  • guard.md — Opt-in Claude Code hooks that watch session cost while you work: soft cap, hard cap, checkpoint nudge, session openers.
  • how-it-works.md — Pricing, task categories, breakdowns, one-shot rate, per-tool data locations and parsing, and how to read the dashboard.
  • mcp.md — codeburn mcp runs a local MCP server over stdio so an AI agent can ask about your usage and savings mid-conversation.
  • menubar.md — The macOS menu bar app, Windows tray app (with WSL discovery), and Linux GNOME Shell extension.
  • optimize.md — codeburn optimize scans your Claude Code sessions and your ~/.claude/ setup, reports what is costing tokens without earning them, and grades the setup A to F.
  • plans-and-quota.md — Subscription plan tracking and live provider quota via codeburn quota.
  • web.md — The local browser dashboard and combining usage across your paired devices.
  • yield.md — codeburn yield correlates AI sessions with git commits to show what actually shipped.

docs/design/

  • design/capacity-dock.md — Status: implementation specification (Epic: Quota Intelligence #725).
  • design/codeburn-desktop-plan.md — Goal: a standalone Electron desktop app that renders the approved v6 "indigo instrument" wireframes, fed entirely by spawning the codeburn CLI for JSON.
  • design/codeburn-desktop.md — Build CodeBurn Desktop, a standalone, resizable native desktop application (Electron) that renders the approved v6 "indigo instrument" wireframes.
  • design/codeburn-mcp-plan.md — Goal: add a codeburn mcp stdio MCP server exposing CodeBurn's usage/cost data to AI agents via two tools (get_usage, get_savings).
  • design/codeburn-mcp.md — CodeBurn already aggregates rich AI-coding usage/cost data (by task, model, project, provider; retry tax; routing waste; optimize findings; 365-day history).
  • design/desktop-data-lifecycle.md — Status: implementation contract for the quality/performance epic.
  • design/perf-cache-fix.md — codeburn status --format menubar-json was measured taking 25-90+ seconds per call, with no speedup on a repeat call against an unchanged, freshly-warmed cache.

docs/providers/

docs/release-acceptance/

docs/sync/

  • sync/README.md — Push your AI usage telemetry to a shared backend so teams can track adoption, budgets, and ROI across developers.
  • sync/DEVELOPER.md — Architecture, protocol, server contract, and testing for codeburn sync.