Skip to content

Changelog

All notable changes to Sidekick Agent Hub (VS Code extension and CLI) will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.33.5] - 2026-11-19

Support for OpenAI's GPT-6.2 models, which Codex now lists first.

Added

  • GPT-6.2 Sol, Astra and Astra Law are priced offline. Costs and context gauges no longer need the online price catalog for them. Before, they showed as unpriced offline and their context gauge assumed 200K tokens. Per million input / output tokens:
  • GPT-6.2 Astra: $8 / $40, with $0.40 cache reads and $10 cache writes.
  • GPT-6.2 Sol: $2 / $10, with $0.10 cache reads and $2.50 cache writes, the same as GPT-6.1 Sol.
  • GPT-6.2 Astra Law: the same as Astra for now.

All three switch to long-context rates above 272K prompt tokens and take up to 922K input tokens. Codex sessions still show the smaller window Codex reports for the account.

Changed

  • VS Code: Codex tier defaults. balanced is now GPT-6.2 Sol (was GPT-6.1 Sol) and powerful is GPT-6.2 Astra (was GPT-6 Astra). fast stays GPT-6 Luna, because there is no GPT-6.2 Luna. Both new models reject reasoning effort none, and Sidekick already sends low at the lowest. To keep the previous models, set gpt-6.1-sol or gpt-6-astra as a literal model ID. Do the same if your Codex CLI does not yet offer the GPT-6.2 models.
  • GPT-6 Rosalind and GPT-6 Astra Law follow OpenAI's promotional prices, which OpenAI offers at least through December 31, 2026. Rosalind is $10 / $50, with $1.00 cache reads and $12.50 cache writes (was $15 / $75). Astra Law now has a long-context rate above 272K prompt tokens, $20 / $75. When the online price catalog is available, its rates still come first.

Fixed

  • CLI: sidekick accounts config auto-switch says what it does. The threshold is saved to cli-config.json, but nothing reads it yet: VS Code uses its own sidekick.accounts.autoSwitchThreshold setting. The confirmation used to say VS Code or the dashboard would act on it. The npm README is corrected too, along with its claim that sidekick quota shows the peak-hours line on every Claude plan (Ultra has no 5-hour limit, so it shows none).

[0.33.4] - 2026-11-17

A documentation and media release. The extension, the CLI and the library behave exactly as in 0.33.3.

Changed

  • New demo recordings. The README and docs GIFs are re-recorded from the current products: the terminal dashboard following a live session (quota and the billing block, the activity map and its insights, the accounts overlay), sidekick map --follow, and a VS Code tour (Session Analytics, the Activity Map, usage history and the Accounts view), with fresh screenshots for the docs. A script in demo/ records them against an invented session in a sandbox, so they can be made again for a later release. The old GIFs stay where they were, because the published pages of earlier versions still load them.
  • The READMEs say what Sidekick is first. The root, VS Code (Marketplace and Open VSX), CLI (npm) and library READMEs open with what Sidekick shows and why it helps, and no longer repeat per-release notes; those stay in the changelogs.
  • Docs refresh. The home page, quick start, session monitor, CLI guide, account switcher, peak hours, settings, provider and architecture pages now match 0.33.x. Corrections include: the MCP server has eight tools; [ and ] switch dashboard tabs; completions are on demand; the Project Timeline is VS Code only; Ultra has no five-hour window and sidekick quota shows no peak-hours line on it; the full list of stores in the Sidekick config folder; and the tasks add, note add and decision add options. New pages cover the Plans view and every VS Code command and keybinding.
  • Package descriptions lead with monitoring, and the claude-max provider setting says it works on a Pro, Max or Ultra plan.

[0.33.3] - 2026-11-17

A second UI and UX pass over the VS Code extension, the terminal dashboard and the CLI, made against 0.33.2. The audit drove the terminal for real in tmux and ran every CLI command, as well as reading the code. Fable checked each finding against the code before it was fixed, and reviewed the fixes before release.

Changed

  • CLI: sidekick doctor exits with code 1 when the report is unhealthy. It used to exit 0 for every report. "Attention" still exits 0. Scripts that run doctor will now see the failure.
  • CLI: sidekick dashboard --session <id> starts pinned. It follows the session you named and does not jump to a newer one. This matches sidekick map --follow --session. Without --session, the dashboard still switches to a session that starts, and now tells you when it does.
  • CLI: the dashboard and sidekick map --follow exit with 128 + the signal number when a signal stops them (143 for SIGTERM, 129 for SIGHUP). They used to exit 0.
  • CLI: Codex usage reports keep each session's project. Per-project totals for Codex sessions will change: sessions whose first line runs past 16 KiB used to be counted under no project.
  • CLI: option values are checked where you type them. Unknown values for these options are now errors, where before they were silently accepted or ignored:
  • context --fidelity
  • note add --type / --importance
  • notes --type / --status
  • dump --format / --width
  • quota history --window / --weeks

The window aliases quota history already accepted still work. blocks --active and --recent can no longer be combined with --since, which they used to silently ignore.

  • CLI: impossible dates and backwards windows are errors. --since 2026-13-45, --since 2026-02-30 and a --since later than --until used to roll over silently, or return an empty report.
  • VS Code: command titles.
  • Refresh/Find Session is now Find Session.
  • Open Terminal as Account… and Remove Account… gained the ellipsis their pickers call for.
  • VS Code: dashboard labels say what they measure.
  • History's week range is Last 7 Days, a rolling week.
  • The cache card shows Cache Reads and Est. Cost Saved.

Fixed

  • Activity classification no longer crashes. A shell command, MCP server, tool, model or agent named constructor or __proto__ broke sidekick report and sidekick map with …?.has is not a function. It also dropped the rest of that read from the VS Code dashboard, and lost tool calls in the terminal dashboard. The shared classifier now handles every name, and each host keeps going if the activity recorder ever fails on an event. A model id of __proto__ can no longer pollute Object.prototype.
  • VS Code: Session Analytics dashboard
  • Switching or reloading:
    • The Activity Timeline and Tool Analytics fill in on a cold open, after a reload, and after you pick another session. Before, they showed "No activity yet" next to "84 tool calls", or kept the previous session's events.
    • Response Times, the context-window model, the AI narrative and the guidance suggestions no longer carry over to the next session.
  • Provider switches:
    • After a runtime switch, the quota card and the billing block follow the session provider. Claude's quota no longer appears under Codex as "Primary/Secondary".
    • Switching to Claude Code shows its quota without a reload.
    • Codex-only and OpenCode-only users never poll Claude.
    • The Provider select sends one switch at a time, even when you arrow through it. A failed switch settles back on the current provider.
  • Opening a tab from a command: Doctor and Generate Session Summary open the Health and Summary tabs on a closed dashboard.
  • Event Log checkbox: it follows Settings edits and writes to the scope that holds the value.
  • History:
    • Deltas compare the same part of the previous period ("vs same time yesterday").
    • A note explains that the running session is added when it ends.
    • History and Plan History refresh when a session ends.
  • Summary:
    • It no longer marks every error category "(recovered)".
    • It refreshes while it is open during a live session.
    • It shows its empty state when no session is attached.
    • A timeout retry stays busy until it finishes.
  • Keyboard and screen readers:
    • Focus stays put when tool rows, the timeline, notifications and error groups update.
    • History drill-down works from the keyboard through a points list.
    • Charts have text labels.
    • Animations honour VS Code's reduce-motion setting.
  • Formats and layout:
    • Token counts, durations and relative times use one format throughout, for example compaction rows, plan steps and the cache card.
    • Duration stops counting at the same 2-minute mark as the Live pill.
    • The heatmap follows theme changes.
    • The timeline no longer re-animates every row on each update, and says when filters hide its events.
    • Notifications, Windows paths and Health diagnostics stay readable in a narrow sidebar.
  • VS Code: other views
  • Project Timeline:
    • Message, token, task and error counts cover whole Claude Code sessions. They used to come from the first and last 16 KiB, so an 18 MB session read "2 msgs".
    • Sessions are read in the background, a few at a time, and older ones are skipped by date. The live session is re-read at most once a minute.
    • The timeline follows a live provider switch.
    • Expanded cards and keyboard focus survive refreshes.
  • Live and Viewing:
    • The Mind Map, Kanban, Plans, Timeline and the session status bar item turn Viewing once a session has been quiet for two minutes, as the dashboard already did.
    • The Activity Map no longer shows LIVE for a past session, and uses the same words.
  • Explain:
    • A new request cancels the one it replaces.
    • Closing the panel cancels its request.
    • Cancel shows a neutral Cancelled state.
    • The level tabs move focus with the arrow keys and select with Enter, so browsing them no longer starts a paid request.
  • Error panel:
    • Cancel, from the progress notification or from the panel's own new button, reaches the Cancelled state and Run Again.
    • The first answer is no longer lost when the panel loads slowly.
    • Fix mode says "Generating fix…".
  • Mind Map:
    • The circular layout keeps your zoom unless Follow is on.
    • The header no longer changes on every update.
  • Kanban and Plans:
    • Collapsing a column keeps focus.
    • Chips and Live pills are readable in light themes.
    • Plans reads "Completed" and names providers.
  • Conversation and Tool Inspector:
    • Refresh keeps your place.
    • A failed open says so.
    • Times show in your own time zone, with the date when it isn't today.
    • Tool rows announce errors.
    • Long edits say how many lines were cut.
  • VS Code: commands, editor actions and notifications
  • Cancelling an AI request reads as cancelled on every provider, including Claude Max and the API key, whose abort errors weren't recognised. It no longer shows a "…failed" error or turns the status bar red. Quick Ask, Explain and Explain/Fix Error no longer report a declined retry as a second timeout.
  • Timeout retries:
    • Automatic timeout retries stop after two.
    • The retry button shows the timeout it will actually use.
    • The deprecated inlineTimeout no longer overrides sidekick.timeouts.inlineCompletion.
  • Generate PR Description: it compares a pushed branch with its base branch, not with its own upstream copy. A base that doesn't exist is reported as such.
  • Review My Changes: it puts its findings in the repository it reviewed.
  • Generate Documentation:
    • Python docstrings go inside the function or class body.
    • The docs, like Transform's result, land where the code is now, even if you edited the file while waiting. If the code can't be found, you're offered Copy.
  • Explain Error and Fix Error with AI: they appear in the lightbulb and the editor's Sidekick menu for every language, with or without a selection.
  • Notices and failure buttons:
    • "Nothing to do" cases, such as no changes or docs already present, are notices, not errors.
    • Provider failures offer the fix their message asks for: Sign In Again, Set API Key, Open Settings, Run Doctor or View Logs.
  • Trigger Completion: it says when inline completions are off, or when there was no suggestion.
  • Completion shortcut reminder: it no longer flashes the status bar in a warning colour, and stops once you have used the shortcut.
  • Accounts:
    • Escape in an account picker no longer says "No accounts saved yet".
    • The Accounts view has Switch and Sign In Again in its context menu.
    • Account states use one set of words.
  • Knowledge notes: Edit Knowledge Note keeps the note's type and importance unless you change them.
  • Status bar:
    • Status bar items say Live or Viewing.
    • Their screen-reader labels stay current.
    • Host-side token counts use the shared format.
  • Search and session folders:
    • Cross-session search says when it failed.
    • Browse Session Folders names sessions by their first prompt.
  • Event Stream: rows keep their identity as events arrive.
  • Handoff notice: it appears once per session.
  • Decisions: decisions taken from AskUserQuestion keep their option labels instead of [nested value omitted].
  • Terminal dashboard (sidekick dashboard)
  • It keeps the session you chose. A session you pick is no longer silently replaced by whichever other session writes next. The dashboard switches only to a session that starts after it opened, and says so ("Following new session … — p pins").
  • Codex sessions load. Picking a Codex session in the picker used to leave the splash waiting forever.
  • Agents tab: subagent tasks wrap into readable rows. Before, they broke into hundreds of one-character rows.
  • Session picker:
    • It fits any terminal size and follows resizes.
    • It pages with PgUp/PgDn, Home/End and g/G.
    • Its LIVE badge uses the same 2-minute rule as everywhere else.
    • Codex session ids can be told apart.
  • Without colour (NO_COLOR): the selected row in the picker, the actions menu and the accounts overlay is marked with ▸, and the active filter mode is shown in brackets.
  • Overlays and toasts:
    • Overlays are opaque.
    • Toasts wrap instead of cutting off, and stack by height.
    • The report toast shows its full path for 8 seconds.
    • The help overlay shows the last error.
  • Keys and selection:
    • Holding j/k moves by the number of presses.
    • Pasted tabs and control characters no longer break the filter.
    • The selection starts on the session you opened.
    • The Timeline keeps following new events after you leave the tab and come back.
  • AI Summary (n):
    • The narrative belongs to its session.
    • An empty reply is reported as an error.
    • The provider CLI runs outside the project, so the summary no longer creates a new session there for the dashboard to jump to.
  • Past sessions show how long they ran and when they ended, instead of a clock that keeps counting.
  • Readable on small screens:
    • What's New shows whole entries.
    • The splash fits short terminals.
    • Plans rows can be told apart.
    • Files, Mind Map and AI Summary rows keep their layout when wrapped.
    • Times are local, and plurals are right.
  • Errors and exits:
    • A fatal error after the dashboard starts restores the terminal and exits 1 with the error.
    • A signal now exits with 128 + its number (143 for SIGTERM).
  • CLI commands
  • Pipes and help:
    • Piping into head or less ends quietly, instead of with an EPIPE stack trace.
    • Every subcommand's help lists the global options.
    • Subcommand typos get a suggestion.
    • sidekick statusline --help shows help.
  • Tasks:
    • sidekick tasks shows a reference that sidekick tasks done accepts, and lists open work first.
    • tasks done can complete tasks recorded from sessions.
    • An ambiguous reference lists its candidates.
  • sidekick today: it lists In Progress tasks, and its JSON carries exact counts.
  • sidekick stats:
    • "Last 7 days" means the last seven days.
    • Columns line up.
    • Long tool lists are cut to the top 15.
  • Session labels: they show what you typed, not <local-command-caveat>, <pasted_content …> or "Untitled session".
  • sidekick search: it reports the real project path.
  • decisions, context and notes:
    • No more [nested value omitted] placeholders, raw status names, or "for .".
    • context labels its usage block as covering all projects.
  • Status line: it shows Claude Code's rate limits even without a saved account.
  • Messages: error and empty-state messages say what to do next. For example, an unknown session points to sidekick dump --list, and history points Claude Code users to dump --prompts.

Deferred (larger redesigns, not in this release):

  • grouping thousands in costs
  • one date format across every command
  • a single JSON output contract
  • a shared view header across the webviews
  • an Ink fix for toasts over wide (CJK) characters
  • reading Claude Code's ai-title for session names

[0.33.2] - 2026-11-15

A UI and UX pass over the VS Code extension and the terminal dashboard. An audit found about 130 defects across the dashboard, the other views, the extension's commands and settings, and the terminal UI. Each finding was checked against the code before it was fixed.

Changed

  • BREAKING (VS Code): two default shortcuts moved off core VS Code shortcuts. They shadowed Trigger Parameter Hints and View: Toggle Problems. Each new shortcut is the old one with a Ctrl+K / Cmd+K prefix. To keep the old shortcuts, rebind them in Keyboard Shortcuts (search "sidekick").
Command Before Now
Sidekick: Trigger Completion Ctrl+Shift+Space / Cmd+Shift+Space Ctrl+K Ctrl+Shift+Space / Cmd+K Cmd+Shift+Space
Sidekick: Transform Selected Code Ctrl+Shift+M / Cmd+Shift+M Ctrl+K Ctrl+Shift+M / Cmd+K Cmd+Shift+M

Transform and Generate Documentation no longer run in read-only editors.

  • Manual completions start at once. sidekick.debounceMs now defaults to 0. Inline completions only run when you ask for one, so the old one-second wait only delayed them. The docs no longer describe completions as automatic.
  • The terminal dashboard and sidekick map --follow use the alternate screen. Your scrollback is no longer erased while they run, including in the session picker, and the terminal comes back as it was when you quit, is closed (SIGHUP) or is interrupted.
  • One number format. Token counts read 12.3k, 4.5M and 1.2B in both products. sidekick-shared's formatTokenCount() gained the B suffix, and a value that rounds to 1000.0 of one unit is shown as 1.0 of the next (for example 999,950 → 1.0M).

Fixed

  • VS Code: Session Analytics dashboard
  • Most Session-tab panels used to stop updating once the view loaded. These were File Changes, Errors, Context Attribution, turn and context charts, Analytics, Task Performance, Cache, Recovery, Tool Efficiency and Decisions. They now refresh every few seconds while a session runs, and expanded tools, error groups and timeline rows stay open.
  • The Summary tab no longer keeps the previous session's numbers. It reports the real context peak and counts API calls the same way as the Session tab. It shows "—" for Tasks Done when a session had no tasks.
  • Duration and tok/min stop at the last activity of an idle or past session. The Advanced Burn Rate trend can change again.
  • History tab:
    • The Health tab's Refresh button no longer empties History.
    • Drill-down shows where you are, with a way back, and stops jumping to the top range.
    • Days without activity appear on the axis, so the previous-period line lines up.
    • "By tool" plots tool calls, not message counts, on a call-count axis.
    • Stacked charts have a legend and named tooltips.
    • An empty range says so instead of offering to import history you already have.
  • Status and badges:
    • The status pill reads Live, Viewing or No session, matching the session list.
    • Context-health and truncation chips and the Activity and Decisions badges reset when you switch session.
    • A failed provider switch no longer freezes the session list.
  • Keyboard and screen readers:
    • Tool and error rows, the plan toggle, the drill-down back button, the What's New dialog and the info tooltips work from the keyboard.
    • Live numbers no longer re-announce every few hundred milliseconds.
  • Layout and text:
    • Large numbers, long paths and MCP tool names no longer push the cards and tables wider than the sidebar. Long decision lists scroll.
    • Charts follow theme changes.
    • The text is provider-neutral, plurals are right, and task statuses read "In Progress".
    • The word chart is labelled "Frequent Words" and skips stopwords.
    • Timeline search highlighting no longer corrupts escaped characters.
    • z.ai quota history is drawn.
    • The dashboard remembers its tab and History choices.
  • VS Code: other views
  • Conversation viewer and Tool Inspector: tool rows start collapsed and toggle correctly. The views' content security policy had been stripping inline styles. The Conversation viewer has a Refresh button, and search highlights and opens its matches.
  • Project Timeline:
    • Session cards expand. Their inline click handlers were blocked.
    • OpenCode sessions appear.
    • The range buttons match the data.
    • A past session no longer shows as "Active".
  • Explain: uses the complexity you pick.
  • Error panel:
    • A late answer can't land under a newer error.
    • Apply Fix targets the right document (including on Windows) and applies once.
    • A failed fix says why.
    • Cancelling shows "Cancelled".
  • Plans:
    • No longer rebuilds and re-animates on every tool call or collapses what you opened.
    • Lists each Claude Code plan once.
    • Finds plans for workspace paths with dots or spaces.
  • Kanban:
    • Keeps carried-over tasks whose ids repeat in a new session.
    • Shows failed subagents.
    • Counts what it shows, and dates timestamps from earlier days.
    • "Archive All" is now Clear Carried Over and asks before removing anything.
  • Mind Map:
    • Subagent file and URL nodes open.
    • A Follow toggle stops it panning away while you inspect.
    • The graph centres correctly.
  • Accessibility: clickable headers, chips and legend items work from the keyboard. Activity Map insight rows keep focus. Plans status chips meet contrast.
  • Monitoring-disabled placeholder: shows one state at a time and offers the reload after you enable monitoring. Elements toggled with the hidden attribute now hide in every view, so the Activity Map's replay controls no longer appear before a session exists.
  • Activity Map replay picker: names sessions.
  • VS Code: commands, settings and status bar
  • Explain Error with AI and Fix Error with AI from the editor context menu no longer fail. They find the error or warning at the selection.
  • Quick Ask:
    • Applies its edit to the code it was asked about, even if you moved the cursor.
    • Asks before applying large edits.
    • Its Preview leads somewhere.
    • Output channels no longer prefix answers with log timestamps.
  • Cancelling AI actions: commit messages, docs, review and PR descriptions are cancelled quietly, with one progress notification.
  • Status bar:
    • The "Sidekick" item shows whether inline completions are actually on.
    • Each of the three status bar items can be hidden on its own and has a spoken label.
  • Walkthrough: steps complete, and its Add Knowledge Note link works.
  • Monitoring turned off: commands now explain how to turn monitoring on instead of failing.
  • Paths:
    • The handoff pointer written into CLAUDE.md / AGENTS.md uses your real config folder.
    • Knowledge-note gutter icons work on Windows and in multi-root workspaces.
    • Latest Files Touched no longer lists deleted files or folders and opens relative paths correctly.
  • Settings: changing sidekick.sessionProvider offers a reload, and sidekick.enableEventLog applies at once. sidekick.claudePath and sidekick.sidekickCliPath are machine-scoped.
  • Other commands:
    • Generate Session Summary from the palette opens the Summary tab.
    • An expired active account can sign in again from the account picker.
    • Escape on the PR base-branch prompt cancels.
  • Quota warnings: they fire once per provider and window. They no longer repeat after a reload or when two providers report quota.
  • CLI HTML report: its filters, copy buttons and styles work when it opens inside VS Code.
  • Small fixes: event-stream tooltips, Auto-Detect marked as current, auto-switch toast wording, path diagnostics, setting descriptions and command titles.
  • Terminal dashboard (sidekick dashboard)
  • Fits 80×24 and smaller terminals:
    • The help overlay, changelog overlay, status bar and both tab bars fit.
    • The panel tab bar shortens to abbreviations, then digits, and marks the active panel with ▸.
    • The side list keeps its width, so mouse clicks land where they are drawn.
  • Detail pane:
    • Blank lines keep their height.
    • Long lines and JSON wrap into real rows, so scrolling and borders stay right.
    • Text in braces (${HOME}, JSON objects, agent text that happens to contain {bold}) is no longer read as a style tag.
  • Active-session filter: the default filter no longer hides tasks, notes and decisions that carry a session id. It follows the live session.
  • Selection stays on the same item as new events arrive.
  • Keys:
    • Help opened from the splash screen is visible.
    • PgUp/PgDn/Home/End scroll.
    • Mouse escape codes are no longer typed into the filter.
    • The filter's mode hints are accurate.
    • Help shows where each key applies.
    • The detail tab stays put when you move between items.
  • Notices: pins, a new session waiting while pinned, and the r report (with its path or error) are announced.
  • Colours: NO_COLOR is honoured. Grey and white text no longer vanish on light or Solarized themes. The account badge spells out its state.
  • Status bar: a kept filter stays visible when the row is tight, and the splash screen only advertises keys that work.
  • Wording: statuses read "In Progress".
  • Clipboard: copy works over SSH (OSC 52) and on Windows.
  • CLI commands
  • sidekick tasks --status in_progress works.
  • Plurals are right ("1 session").
  • sidekick stats marks a partial cost total and suggests sidekick import when there is no history.

Added

  • sidekick-shared: readClaudeCodePlanFiles() entries carry sessionIds, every session that wrote the plan. sessionId keeps its meaning.

[0.33.1] - 2026-11-13

Fixed

  • Reading a large session froze whatever shared its event loop. The Claude Code and Codex session readers read a session's whole unread range, decoded it and parsed every line in one synchronous stretch. The CLI dashboard, the VS Code extension host, or any host using sidekick-shared stalled for as long as one session took: about 0.3 s for a 120 MB file, and up to about 0.8 s on real transcripts. Sessions are now read in 1 MiB steps, and every async path yields between steps:
  • Usage: sidekick daily, weekly, monthly, sessions and blocks, and the CLI and VS Code billing blocks. On a 240 MB session the longest stall drops from 568 ms to 24 ms; on this project's real history, from 676 ms to 15 ms, with identical totals.
  • Deadlines stop inside a session. collectUsageEvents()'s bounds.deadlineMs and signal used to be checked only between sessions, so one large session could run far past the deadline. They are now checked between steps. With the usage cache on, what was read is kept and the next call continues that session. Results and cursors still never contain part of a session.
  • CLI: sidekick import, sidekick search, and the session reads of the dashboard and sidekick map --follow. On real data, search's longest stall drops from about 830 ms to under 50 ms with the same hits.
  • VS Code: attaching to a long session, and rebuilding after a session file is replaced, replays it in steps, so the extension host no longer freezes. Session search and the history backfill stay responsive too.
  • Compressed Codex rollouts (.jsonl.zst) are decompressed off the main thread.
  • Faster session parsing. Lines Sidekick doesn't keep (attachments, queue operations, request blobs) are no longer checked against every event schema. Collecting usage over real history took about 40% less time, with identical results.

Added

  • sidekick-shared:
  • SessionReader.readNewBounded(maxBytes) reads a session in bounded steps (Claude Code and Codex readers).
  • SessionProviderBase.searchInSessionAsync() streams a session search.
  • importSessionHistory({ signal }).

[0.33.0] - 2026-11-13

Fixed

  • Cache writes on OpenAI-family models were priced at $0. When usage arrives already split into disjoint buckets, a cache write on a GPT, o-series or Codex model whose catalog lists no write rate cost nothing. OpenAI bills those tokens as ordinary input, so they now cost the input rate. Zero write rates for other providers (Gemini, DeepSeek, GLM) are unchanged.
  • Codex cache writes were folded into input. Codex reports cache_write_input_tokens inside its input count. The rollout parser, the compressed-rollout reader and the follow watcher ignored the field, so GPT-6.x cache writes (billed at 1.25× input) were priced as ordinary input. Every Codex path now separates them and bills them at the model's write rate. Sessions recorded so far report no cache writes, so existing totals don't change.
  • Unknown Codex errors kept no status. A Codex error variant newer than Sidekick's list now keeps its HTTP status, so it is diagnosed by that status (a 503 is retryable, a 401 asks you to sign in) instead of as unknown.
  • CLI --provider values for quota and accounts were refused. sidekick quota --provider zai, quota history --provider claude or z.ai, and accounts list --provider all failed with an invalid-choice error, because the root option checked every --provider on the line against the session providers. The root option now admits every value a command takes, and each command checks its own.

Added

  • Model unavailable. A request for a model that doesn't exist, or that the account can't use, is diagnosed as model_unavailable. The CLI and VS Code tell you to choose another model instead of reporting an unknown failure, and VS Code offers no retry.
  • sidekick-shared for external hosts:
  • Agent homes and paths: resolveAgentHomes({ agentCwds }) covers Claude Code sessions started with an empty CLAUDE_CONFIG_DIR (Claude Code 2.1.316 and later writes them under its start folder) and relative home variables; classifyAgentTranscriptPath(path, { baseDirs }) accepts the relative transcript paths those sessions report; readAgentVersion(path, { noFollow }), readAgentModel(), findClaudeSessionFile() and locateCodexRolloutFile() join sidekick-shared/agentPaths, and findCodexRolloutFile() looks in the dated folders a thread id points to before walking the whole history.
  • Lean entries: sidekick-shared/tokenEstimation (one module) and sidekick-shared/pricingHydration (pricing-catalog hydration and observed context windows without the /node graph or Zod).
  • Usage: bucketUsage() groups by a caller-supplied tag, session rows carry rootSessionId, and collectors can drop compressed rollouts from a shared listing for one call.
  • Runtime lists COST_SOURCES, PRICING_PROVENANCES and MOVING_MODEL_ALIASES; PROVIDER_FAILURE_DIAGNOSIS_BOUNDS on /providerFailure; CostComponent.tokensUnknown; { noFollow } on JSONL checkpoint capture and verification; and an auth-status state that never reads unparseable output as signed out.

[0.32.2] - 2026-11-11

Fixed

  • Top failing tools counted sessions several times. The VS Code monitor ends a session again each time it switches back to it and whenever a window closes, and each end added another error-history record holding the session's failures so far. The Failing Tools card and sidekick stats added them all up, so a session's failures were counted once per end (about 4× too high on real data). Error history now keeps one record per session, the latest, and history written before this release is counted once per session too.
  • Leftover *.tmp files in the config folder. A store write cut off by a closing VS Code window or an exiting process left <file>.<pid>.<hex>.tmp files behind. VS Code now finishes the session's writes before it shuts down (up to 3 seconds), a store update that changes nothing is no longer rewritten (a new process no longer rewrites observed-context-windows.json for a window it already holds), and leftovers older than a day are removed the next time their folder is written.

[0.32.1] - 2026-11-11

Fixed

  • Long-context prices in usage reports. sidekick daily/weekly/monthly/sessions, sidekick blocks, the per-prompt costs of sidekick dump --prompts, the CLI and VS Code billing blocks, and collectUsageEvents() in sidekick-shared priced any usage event whose prompt passed a long-context threshold at the long-context rates, even when the event spans several model calls. This hit Codex token counts that carry only the running total (mostly older rollouts): the difference of two totals, or the total itself after the counter restarted, could pass 272K tokens on GPT-5.4 and later and be billed at the higher rates. Only one call's prompt selects a tier now, as in the dashboards since 0.32.0.
  • The usage cache moves to version 4 (*.v4.json), so the first run after upgrading reads each session once. A collectUsageEvents() cursor stored by 0.32.0 returns every session once more, with pricingChanged, so callers that keep events receive the corrected costs.

[0.32.0] - 2026-11-11

Added

  • Activity Map. A live and replayable map of what a coding agent is doing, for Claude Code, Codex and OpenCode. Every tool call pulses from the agent to one of eleven stations (you, model, memory, files, shell, network, browser, agents, skills, hooks, plan). Spokes wear in with use, the context window is a ring around the core, errors and denials stay on their station until the next prompt, subagents orbit, the main loop's route is drawn, and answers, model switches and compactions each leave a mark. Insights show each station's busy time, errors, denials and context weight (the tool output it fed into the context window), and detect retry streaks and back-and-forth loops such as edit ↔ test.
  • VS Code: an Activity Map view next to the Mind Map, and Open Activity Map for a large editor tab with insights and a replay bar (play, 1×/10×/60×, a scrubber with prompt, fault, compaction and model-switch markers). Export Activity Map… saves SVG or JSON. Settings under sidekick.activityMap.*: motion, layout, core name, labels, memory sources and station overrides.
  • CLI: sidekick map --follow draws the live map in any terminal split; sidekick map --format text|svg|json exports any moment of a session with --at (+15m, -5m, 50%, a time of day, an ISO time); the dashboard gains panel 9 with Map and Insights tabs.
  • The HTML session report (CLI report, the dashboard's r key, and VS Code) includes the map, a station table and the detected patterns.
  • MCP: sidekick mcp adds get_activity_map, the active session's snapshot and insights, optionally with the SVG.
  • sidekick-shared/activity: pure, content-free records, reducer, timeline, insights and SVG and terminal renderers; replayActivity() on /node; wire schemas on /schemas. Labels carry names (a file's last two path parts, a host, a command's name), never content.
  • Session events keep more. Claude Code hook outcomes and pushed memory (opt-in includeActivitySignals), permission decisions, Codex declined commands and patches, subagent ids, Claude Code compaction token counts and Codex context windows now reach SessionEvent; watchers gain onSessionEvent.
  • Models. Claude Fable 5.2 and the Mythos family (5.2, 5.1, 5, preview) are parsed, priced and ordered. GPT-6 Cyber, Rosalind and Astra Law, GPT-5.6 and GPT-5.5 Cyber, and o4-mini are priced. A literal fable model setting selects Claude Fable 5.2 on the Claude API.
  • Long-context prices. A request whose prompt (input plus cache reads and writes) exceeds 272K tokens on GPT-5.4 and later, or 100K on Claude Haiku 5.5, is priced at the long-context rates. Tiers apply per request, so a long session is charged more only for its long requests. The LiteLLM catalog's *_above_<N>k_tokens prices are read.

Changed

  • Tier defaults. On the Claude API and OpenCode, fast is Claude Haiku 5.5 and balanced Claude Sonnet 5.5 (powerful stays Opus 5.5); on Codex, balanced is GPT-6.1 Sol. Claude Max keeps the haiku / sonnet / opus aliases. Requests get per-model thinking and effort settings: inline completions and commit messages turn thinking off where the model allows it and use low effort otherwise, review and transform use medium effort, Codex inference passes model_reasoning_effort, and Claude Max uses the Agent SDK's effort option. The CLI's summaries use Claude Haiku 5.5.
  • GPT-5.6, GPT-6 and GPT-6.1 context windows are 922K tokens (the API's maximum input), as the LiteLLM catalog already reported online, so offline gauges for these models read slightly fuller. Context windows Codex reports still take precedence.
  • The pricing catalog cache is refreshed once after upgrading; offline, the previous cache keeps working without long-context tiers.
  • VS Code and CLI dashboard checkpoints move to revision 6 (they now carry the activity log), so each session is replayed once after upgrading.
  • classifyTool() maps ApplyPatch to file_edit, Subtask to subagent, Lsp to search and TaskGet to planning.
  • Dependencies: Claude Agent SDK 0.2.141, OpenCode SDK 1.19.5, MCP SDK 1.32.2; the CLI moves to Zod 4.

Fixed

  • Claude Fable 5.2 was priced as Fable 5 ($10/$50 per million tokens with $1.00 cache reads); it is $8/$40 with $0.20 cache reads.
  • Model sorting could depend on input order once GPT-6 specialty models (gpt-6-rosalind) were present; the comparison is now transitive.
  • Dotted Claude ids (claude-opus-4.8, claude-opus-4.7, claude-opus-4.6, claude-sonnet-4.6) showed a 200K context window instead of 1M.
  • anthropic/claude-opus-5-5, the OpenCode powerful default, was unpriced offline.
  • sidekick report --theme light rendered the dark theme.
  • A Claude API request the model refused returned an empty completion; the refusal is now reported.

Security

  • dompurify 3.4.17 in the VS Code webviews (XSS advisories), @modelcontextprotocol/sdk 1.32.2 and its HTTP dependencies in the CLI bundle, and zod 4.6.7 or later in sidekick-shared and the CLI (memory-exhaustion advisory). npm audit reports no high or critical advisories in any package.

[0.31.0] - 2026-11-06

Fixed

  • Usage stays current while a session is written. Hosts that reuse their session providers (the VS Code and CLI billing blocks) read cached file sizes whenever a session's directory was unchanged, and appending to a file does not change its directory. Listings now re-stat every file.
  • Project-scoped usage counts only that project. CLI daily / weekly / monthly / sessions / blocks --project and sidekick-shared collectUsageEvents({ workspacePaths }) no longer count Codex sessions started in a parent folder or Claude Code project folders whose names only look alike.
  • Worktrees of bare and --separate-git-dir repositories are found, so prompt history, tool-call origins and multi-root usage cover them.
  • Codex cache writes are no longer counted twice in OpenAI-semantics usage normalization and prompt-history usage. Costs do not change.
  • Failed Codex commands keep their output in prompt-history signals and dump --prompts; commands run without a shell wrapper are reported whole, and declined commands count as rejected.
  • Codex turns end in sidekick-shared's session-activity detection (observed-session collection) once a turn completes, instead of staying active until the five-minute staleness.
  • Model ordering compares versions numerically (5.10 above 5.9, claude-opus-4-10 above 4-5) and keeps provider groups apart.
  • Codex error kinds through Codex rust-v0.167.0: flex- and policy-capacity failures offer Retry; the approval-denial limit does not.

Added

  • sidekick-shared:
  • explicit agent homes (homes, resolveAgentHomes());
  • resolveGitWorktrees();
  • the dependency-free sidekick-shared/agentPaths entry, which includes transcript classification and agent-version reading;
  • Claude Code subagent path helpers;
  • strict usage scope and excludeSynthetic;
  • bounded, cursor-based collectUsageEvents();
  • listAgentSessions() and a shared listing option;
  • parentPromptOrdinal on subagent usage and tool-call origins;
  • createSessionProvidersFrom() with per-provider factories;
  • PROMPT_ORDINAL_SCHEME_VERSION, with golden ordinal fixtures;
  • structured tool-error signals (command, output, exitCode, toolUseId) and signalLimits;
  • the Codex inherited-history boundary (codexInheritedHistoryBoundary(), readCodexInheritedHistoryBoundary());
  • JSONL tail gaps and per-read checkpoints;
  • the sidekick-shared/headless parsers for claude -p stream-json and codex exec --json;
  • classifyTurnState() and Codex turn-lifecycle events;
  • priceProviderUsage();
  • boundedProviderFailureDiagnosisSchema;
  • the single-module sidekick-shared/providerIds and sidekick-shared/handoffUrl entries.
  • CLI dump --prompts: exit codes for failed commands, and per-prompt usage that includes subagent spend.

Changed

  • Smaller bundles. The shared schemas import Zod as a namespace, so its locales no longer ship. Net of this release's additions, the CLI bundle is about 175 KB smaller and the VS Code extension bundle about 145 KB smaller, and a createSessionProviders() bundle drops from 544 KB to about 330 KB minified.
  • The VS Code Codex inference client parses codex exec output with the shared headless parser.
  • isMovingModelAlias() matches -latest, :latest and @latest ids.
  • Provenance. sidekick-shared and sidekick-agent-hub are published with npm provenance.

Removed

  • sidekick-shared/pricing no longer exports the deprecated calculateCost* helpers (still on the root and /browser). They double-count cached input and reasoning for OpenAI and Codex usage; use priceProviderUsage().

[0.30.3] - 2026-11-05

Fixed

  • Claude usage credits now show the balance apart from the spend limit. Sidekick printed Extra usage $0.00 of $40.00 used, where $40 is the organization's monthly spend limit (extra_usage.monthly_limit), so a $100 credit purchase looked like $40. sidekick quota and the VS Code dashboard now show Usage credits $100.00 available, read from the organization's prepaid-credits endpoint (the one Claude Code uses), and Spend limit $0.00 of $40.00 used this month on separate lines. When the balance cannot be read, the usage-credits line shows only whether credits are on and never substitutes the cap. The balance request is made only for plans that report usage credits.

Added

  • sidekick-shared: QuotaExtraUsage.balance / balanceExpiresAt, fetchQuota(token, { organizationUuid }), fetchClaudePrepaidCredits(), parsePrepaidCredits(), readLiveClaudeOrganizationUuid(), formatUsageCreditBalance(), formatExtraUsageSpendLimit(), and QuotaPollerCredentials.organizationUuid.

[0.30.2] - 2026-11-03

Fixed

  • Codex child-rollout tool origins retain their workspace when embedded ancestor metadata is present, and metadata headers larger than 256 KiB no longer hide sessions or parent links (#20).
  • Codex completed-item IDs now resolve to their session and prompt, with optional enclosing-call metadata when matching turn and call boundaries establish the relationship (#19).

[0.30.1] - 2026-11-02

Added

  • CLI update notice. When a newer sidekick-agent-hub is on npm, one-shot commands such as sidekick quota end with Update available: sidekick X → Y — run npm install -g sidekick-agent-hub and a release-notes link on stderr. npm is asked at most every 4 hours. The answer, including a failed attempt, is cached in update-check.json, and the request runs alongside the command with a 2-second cap. The same version is announced at most twice a day, and a newer one right away. The notice never appears with --json, with piped or redirected output, in CI, or from statusline, mcp or dashboard. today, history and --offline runs only read the cache. SIDEKICK_NO_UPDATE_NOTIFIER=1 (or NO_UPDATE_NOTIFIER=1) turns it off.
  • VS Code extension update notification. The extension announces a newer version of itself 30 seconds after startup and then twice a day, with Update (installs it, then offers a window reload), Release Notes, and Skip This Version. It asks the registry the editor installs from: the Marketplace in VS Code, Open VSX in Cursor, VSCodium and other forks. The state is shared across windows, so a version is announced at most every 12 hours. Sidekick: Check for Updates checks on demand, and sidekick.updateCheck.enabled turns the automatic check off.

Changed

  • The CLI dashboard's version badge uses the same cache and check as the one-shot notice, and a failed npm check is no longer retried until the 4-hour interval passes.

[0.30.0] - 2026-11-01

Added

  • Codex subagents in every view. Children started with Codex's spawn_agent appear in the VS Code Subagents view (labelled by nickname or task name, nested by depth, click to open the child rollout), the CLI Agents tab and mind map, and both task boards. Each one is linked to its spawn call and followed from launch to completion, including follow-up tasks, interrupts and failed spawns.
  • Compressed Codex sessions. Codex compresses older rollouts to .jsonl.zst; Sidekick reads them when the runtime has Node's built-in zstd (Node 22.15 or later) and skips them as before otherwise.
  • Background agents that never report are settled. Claude Code's stop markers, post-compaction task status and the subagent's meta file settle agents that never got a completion notification. An agent whose transcript ended cleanly and stayed quiet for 2 minutes shows "finished (no report)", and one whose parent session has been idle for more than 6 hours shows "ended"; both go back to running if the agent writes again. The CLI shows stopped, killed and failed agents distinctly.
  • auto and dontAsk permission modes are recognized and labelled in the VS Code status bar and the CLI. The CLI dashboard shows the session's permission mode for the first time.
  • sidekick-shared:
  • Codex subagents: CodexRolloutParserOptions.includeSubagentActivity and subagentActivityFromEvent(), isCodexSubagentSpawnTool(), parseCodexSpawnLaunch(), recursive scanSubagents() with SubagentStats.filePath / spawnToolUseId / agentNickname / agentPath / parentAgentId / depth.
  • Stale agents: EventAggregator.applySubagentEvidence(), resolveSubagentDisplayState() and subagentDisplayLabel(), parseAgentsStoppedNotice(), taskStatusFromEvent(), SubagentLifecycle.settledBy, SubagentTrace.lastActivityAt / endedCleanly.
  • Compressed rollouts (opt-in): includeCompressedRollouts on createSessionProviders(), prompt history and findToolCallOrigins(), plus readRolloutText() and isZstdDecompressionAvailable().
  • Readers: SessionReader.lastReset() reports why the last read restarted (truncated, rewritten or replaced).

Fixed

  • Session files rewritten or replaced while followed. The Claude Code and Codex readers now notice a file that was rewritten in place or replaced, not only one that shrank, and replay it from the start. The VS Code dashboard no longer counts that replay twice, and the CLI's Codex follower and the shared SessionMonitor no longer count a truncated file's events twice.
  • Codex subagent statistics count only the child's own work. Forked children embed their parent's history, and its tool calls were counted as the child's (one child: 66 before, 12 now). A child's own session metadata is no longer replaced by its parent's.
  • Codex session following no longer switches to a subagent's rollout.

Changed

  • PermissionMode adds 'auto' and 'dontAsk'.
  • SessionReader.wasTruncated() is true whenever the last readNew() restarted from the beginning: after a truncation, a rewrite or a replacement.
  • isSubagentSpawnTool() also matches Codex spawn_agent; SUBAGENT_SPAWN_TOOL_NAMES and isAssistantTurnSubagentTool() stay Claude Code-only.
  • With includeTaskNotifications, extraction also emits system events for Claude Code's post-compaction task status and stop notices; the Claude Code provider's reader turns it on.
  • Tool categories: wait (a Codex code-mode cell wait) is other, and interrupt_agent is subagent.
  • Saved dashboard snapshots replay once after upgrading.

[0.29.1] - 2026-11-01

Fixed

  • Subagents show up again for current Claude Code. Claude Code renamed its subagent tool from Task to Agent, and most subagent tracking still looked only for Task, so the CLI dashboard, both mind maps and the VS Code Subagents view showed no subagents. Both names are recognized.
  • Background agents are tracked until they finish. A background agent's spawn returns at once, so it was marked completed at launch. It now stays running until Claude Code reports it finished, failed, killed or stopped, including reports delivered mid-turn.
  • The VS Code Subagents view shows one row per spawn. Running agents no longer appear twice, each row is linked to its transcript through the spawning tool call in Claude Code's meta file, and click-to-open finds transcripts in the session's subagents/ folder again.
  • Sessions in Claude Code's auto permission mode keep their user lines. Lines carrying a permission mode Sidekick didn't know were dropped whole, losing prompts, tool results and agent notifications.
  • Model ids and tool names that match JavaScript object members (constructor, toString, __proto__, …) no longer return a function as a price or context window, lose pricing provenance, or make tool summaries throw.
  • Dashboard resume after a restart is verified. A saved snapshot is used only when the session file is the same file with the same opening content; otherwise the session is replayed. A response split across the snapshot point is no longer counted twice, and a foreground subagent still running at the snapshot completes when its result arrives. Existing snapshots replay once after upgrading.

Added

  • VS Code Retry for more commands. Generate Commit Message, Review My Changes, Generate PR Description, Generate Documentation and Quick Ask (Inline Chat) offer Retry when the provider failure is retryable, as Transform Selected Code already did.
  • sidekick-shared:
  • Subagents: isSubagentSpawnTool(), SUBAGENT_SPAWN_TOOL_NAMES, parseTaskNotification(), taskNotificationFromEvent() and isTaskNotificationSystemEvent(). SubagentLifecycle gains agentId, background and outcome. SubagentTrace gains filePath, spawnToolUseId, parentAgentId, background, finished and stoppedByUser. readAgentMeta() returns the meta file's spawn link and state.
  • Task notifications (opt-in): extractSessionEvents(raw, { includeTaskNotifications: true }) and createWatcher({ includeTaskNotifications: true }) turn mid-turn task-notification attachments into system events.
  • Verified resume: captureJsonlCheckpoint(), verifyJsonlCheckpoint(), SessionSnapshot.sourceCheckpoint / readerState, isSnapshotValid(snapshot, size, sourcePath), reader and watcher getResumeState() / restoreResumeState(), ClaudeUsageDeduper.exportState() / importState() and CodexRolloutParser.exportResumeState() / importResumeState().

Changed

  • SubagentTrace.parentToolUseId holds the spawning tool-use id, as documented, when Claude Code's meta file records it. Heuristic links still store the parent's agent id there and now also set parentAgentId.

[0.29.0] - 2026-11-01

Fixed

  • Codex reasoning is no longer priced twice in VS Code. Codex output tokens already include reasoning, but the dashboard added the reasoning tokens again at the output rate (one sample turn: $0.00964 before, $0.00664 now). Every cost path now uses one normalized calculation, so live and rebuilt totals agree.
  • Unpriced costs no longer read $0.0000 in the CLI dashboard or the VS Code dashboard. Both show — when nothing was priced and (partial) when some calls had no price; the CLI also marks catalog estimates (est.).
  • OpenCode costs on the OpenAI provider are no longer under-counted. Cached input was subtracted twice and reasoning was never billed. Cache tokens from OpenCode's older file storage are counted too.

Added

  • Pricing basis and custom prices.
  • Usage reports, blocks, doctor, the VS Code Health tab and Sidekick: Run Doctor name the pricing catalog behind every estimate.
  • Custom per-model prices can be set in cli-config.json pricing.models or sidekick.customModelPricing.
  • CLI.
  • Usage reports gain a Reasoning column and a reasoning CSV column (appended last), and merge model spellings into one row.
  • sessions --breakdown prints its sub-rows and tags Codex subagent sessions.
  • dump --prompts shows the cost of each prompt.
  • VS Code.
  • Codex structured errors are diagnosed, and a failed code transform offers Retry only when the failure is retryable.
  • The Tool Inspector shows raw tool and MCP server names.
  • Model labels keep GPT tier variants.
  • sidekick-shared:
  • Lean subpaths: sidekick-shared/pricing (pure, 8 modules), sidekick-shared/codex (Node, no Zod), sidekick-shared/providerFailure, and sidekick-shared/statusline/payload.
  • Usage attribution: usage events record the prompt ordinal they answered, reasoning tokens, the provider message id, and subagent attribution. bucketUsage() gains a session dimension, pricedCostUsd, excludeSynthetic and modelKey: 'canonical'.
  • Tool-call origins: findToolCallOrigins() maps tool-call ids to their session, time and prompt.
  • Pricing: canonicalModelId(), registerModelPricing(), getPricingCatalogInfo(), mergeCostComponents(), and formatCost(value, { source }).
  • Provider failures: Codex codexErrorInfo decoding and retryable.
  • Auth status: parseClaudeAuthStatus() and parseCodexLoginStatus().
  • Prompt history: collectPromptHistory({ includeText: false }).
  • JSONL tail: createJsonlTail() checkpoints, onRewrite and noFollow.
  • Codex parser: maxPendingBytes and metadataOnly.
  • Transcripts: projections expose rawToolName / mcpServerName without internal keys.
  • Testing: installCredentialGuard({ preserveEnv }).

Changed

  • Usage cache v3. The cache moved to version 3 (*.v3.json files, so older versions sharing the folder keep their own). The first run after upgrading re-reads each session once.

[0.28.3] - 2026-10-31

Fixed

  • Claude Ultra quota no longer shows a fake 5-hour window. On 2026-10-30 Anthropic renamed Max 20x to Ultra and removed its 5-hour session limit, and the usage endpoint now reports five_hour: null. Sidekick turned that into a 5-Hour 0% row with no reset, and the status line printed 5h 0% resets <now>. The window is now marked absent: sidekick quota, the CLI dashboard, the VS Code dashboard and its Billing block card, blocks, and the status line show only the weekly window, plus a "no 5-hour limit" note. Five-hour alerts and the peak-hours row in sidekick quota stay quiet, and quota history defaults to the 7-day window. The status line leads with the weekly window and its reset day (7d 17% resets Fri 01:00).
  • The cached Claude quota no longer freezes. The snapshot store kept the sample with the later 5-hour reset time, so after the 5-hour window disappeared (or had simply reset and not restarted), every newer sample lost to the old one. Status line, dashboards, state.json, sidekick today, and the MCP server kept serving the pre-change numbers. A window that had already reset no longer outranks a newer sample, and a newer sample wins when a window appears or disappears. The status line also stops copying an expired window from the cache into new samples.
  • A months-old cached quota is no longer shown as current. When the API fails and the only cached sample has had every window reset since (for example a z.ai sample from three months ago), sidekick quota reports it as expired instead of printing old percentages with "resets now", and quota --all hides z.ai unless z.ai traffic is detected.
  • Codex windows are named by their length. A Codex plan whose primary window is now weekly was labelled Primary (and 5h in the status line); windows are now named 5-Hour / Weekly from the reported window length, and a missing second window is hidden instead of drawn as 0%.

Added

  • Plan names and every usage meter. Quota views name the Claude plan (Pro, Max, or Ultra) from the Claude Code credentials, so sidekick quota reads Subscription Quota (plan: Ultra). They also list every extra meter the usage endpoint reports, such as the weekly Fable cap ("Fable may use up to 50% of the weekly limit"), and show extra-usage (usage credit) spend.
  • sidekick-shared: QuotaWindow.absent / windowMs, QuotaState.limits / extraUsage / planLabel, quotaStateFromClaudeUsagePayload(), quotaWindowApplies(), quotaWindowHasData(), quotaWindowLabel(), quotaWindowShortLabel(), extraQuotaRows(), formatExtraUsage(), claudePlanLabel(), withClaudePlan(), quotaSampleExpired(), and quotaHistoryWindow(); fetchQuota(token, { plan }); QuotaPoller's getAccessToken may return the credentials record. state.json windows gain an optional absent, and quota entries an optional planLabel and extraLimits (schema version unchanged).

[0.28.2] - 2026-10-30

Fixed

  • Offline model metadata now covers GPT-6.1 Sol/Terra and current Claude, Gemini, DeepSeek, and GLM coding models, with corrected cache-read rates and context limits. Pricing sources and estimation limits are documented. Fixes #18.

[0.28.1] - 2026-10-18

Fixed

  • sidekick-shared: the sidekick-shared/testing credential guard no longer breaks promisify(execFile) and promisify(exec). They resolve to { stdout, stderr } again instead of a bare string, and a blocked binary on the promisified path is still caught.

[0.28.0] - 2026-10-18

Fixed

  • Sessions under a custom Claude home are found. With CLAUDE_CONFIG_DIR set, including a shell from sidekick accounts env or shell, Claude Code writes sessions, plans, and debug logs under that home, but Sidekick looked only in ~/.claude. Session monitoring, both dashboards, usage reports, prompt history, plans, debug logs, and doctor now follow the same home the CLI does, and the VS Code extension recognizes plan files written there.
  • Archived Codex sessions no longer vanish. Codex moves an archived thread's rollout from sessions/ to archived_sessions/. Sidekick now reads both, so archived sessions stay in session lists, usage reports, prompt history, and session lookups, and archiving a session no longer makes prompt history read it again as a new one.
  • Live session tails stay bounded. The JSONL tail behind live session watching reads a large backlog in 1 MiB chunks instead of one buffer, skips lines over 16 MiB, and starts over cleanly when a session file is truncated, rewritten, or replaced, resetting its usage de-duplication; the CLI dashboard drops the metrics it built from the old content instead of counting the session twice. The Codex rollout parser keeps a bounded amount of per-call state on long sessions.
  • getCodexExecutionEnv() keeps a CODEX_HOME the caller passes instead of replacing it with the live home.

Changed

  • Smaller bundles. sidekick-shared ships an ES-module build behind the module export condition that bundlers read, while Node keeps loading the CommonJS build. Session-file listing no longer pulls in the providers' stats code or the account-switching modules. The VS Code extension bundle shrinks from 2.38 MB to 2.15 MB and the CLI's main bundle from 2.85 MB to 2.47 MB.
  • Token estimates for ASCII text are about 15× faster, with identical counts.

Added

  • sidekick-shared: getClaudeProjectsDir(), getLiveClaudeHome(), getCodexSessionsDirs(), and the Codex home helpers on sidekick-shared/node; CodexRolloutParser, the session-event and Codex rollout types, isHumanPrompt(), renderHandoffUrlTemplate(), and classifyTool() on sidekick-shared/browser; providerFailureDiagnosisSchema on sidekick-shared/schemas; prompt-history changed / progressed / roots, sessionKey, sessionRefs, isPromptHistorySessionSettled(), and parsePromptHistoryCursor(); tool-signal toolCategory and mcpServer; multi-root collectUsageEvents({ workspacePaths }) with resolveWorkspaceRoots(); createJsonlTail() read and line bounds, line positions, and onReset; and a sidekick-shared/testing entry with the credential guard and session-log builders.

[0.27.6] - 2026-09-26

Fixed

  • Claude logins are no longer invalidated by Sidekick. Claude Code rotates the refresh token on every refresh, so of several usable copies of one login only the first to refresh survives; the others report "Not logged in · Please run /login". Sidekick now keeps exactly one usable copy of every Claude login.
  • Truncated Keychain writes. Credentials larger than about 4 KB (several MCP servers with OAuth tokens) were cut off by security -i and stored as unreadable JSON, which in the live store is an immediate "Not logged in". Writes now use Claude Code's own method (hex payload, argv above 4032 bytes) and are read back before they count. A switch that cannot verify says whether the previous login was really restored.
  • Second copy of the live login. Sync mirrored the live login into its profile directory every fold. The live account now keeps only a private backup Claude Code never reads; the next sync removes a leftover copy, installing it first when it is newer than live.
  • Guarded live writes. A switch saves the outgoing login first (required even with --force), holds Claude Code's refresh lock, and journals itself so the next sync finishes or rolls back an interrupted switch. A re-login replaces live only with a fresher credential, and a rollback never overwrites a login that changed. MCP server tokens stay with the live store on a switch.
  • Keep-alive never refreshes a copy that could belong to a live chain, and a switch to an account waits while keep-alive refreshes it.
  • Leftover Keychain items. Running Sidekick against a throwaway SIDEKICK_CONFIG_DIR with the real home left one Claude Code-credentials-<hash> item per run; the live login no longer gets a Keychain copy at all. Temporary login homes release their item on every exit (cancel, timeout, spawn failure, failed finalize, VS Code closing mid-login), and authenticated logins nobody finalized are removed after a day.
  • Launching the live account in a terminal uses the normal Claude home, and launcher scripts resolve the account's home when they run.
  • Profile-home shells. In a shell where CLAUDE_CONFIG_DIR points at a Sidekick profile home (from sidekick accounts env or shell), sync, re-login, and accounts doctor leave that profile's login alone instead of treating it as a second copy of the live login.
  • Codex logins get the same protection. Codex also rotates its refresh token, and Sidekick kept a runnable copy of the live Codex login in its profile directory.
  • Private backups. Every Codex account keeps a byte-preserved private backup that Codex never reads; the live account keeps no profile copy, and timestamped stash files are no longer used as backups.
  • Guarded switches. A switch saves and verifies the outgoing login first, re-checks both stores before writing, and journals itself so the next sync finishes or rolls back an interrupted switch; a live login that changed is never overwritten. Switches are refused while any Codex CLI, app, or IDE session is running, and --force does not bypass this.
  • Keep-alive refreshes an inactive account through the official codex app-server refresh request under a lease, and counts a run only when the stored credential verifiably advanced.
  • Sign-in starts in an empty temporary home that is cleaned up afterwards, and unrelated MCP credentials in the Codex home are preserved.

Added

  • sidekick accounts doctor is read-only unless --fix is given, and reports stored Claude credentials Sidekick owns that no account uses, second copies of the live login, and unreadable ones, plus Codex duplicates, stale stashes, orphaned copies, and interrupted switches; --fix repairs them after asking (--yes skips the prompt, --json lists the repairs). Claude ownership is proven by a ledger and a Keychain comment tag, never by the item name. scripts/claude-keychain-orphans.sh lists leftover items from older builds and deletes them only on request.
  • sidekick-shared: inspectClaudeCredentialStores(), repairClaudeCredentialStores(), readClaudeCredentialStore(), decideLiveClaudeWrite(), discardAccountLogin(), writeAccountLauncher(), readClaudeCredentialLedger(), claudeRefreshFingerprint(), claudeLoginOnly(), mergeClaudeLoginIntoLive(), ClaudeCredentialWriteError, inspectCodexCredentialStores(), repairCodexCredentialStores(), readStoredCodexAccount(), and syncCodexLiveStateAsync().

Changed

  • writeActiveCredentials() requires a config directory. writeLauncher(), applyActiveClaudeToLiveHome(), and resolveActiveClaudeHome() are deprecated.
  • Tests in all three packages fail when they reach the real security binary or the developer's real Claude, Codex, or Sidekick homes.

[0.27.5] - 2026-09-23

Added

  • sidekick dump --prompts prints every human prompt of Claude Code and Codex sessions grouped by session, so a whole session can be read or classified (intent, conflict, issues). The default is the most recent session with prompts. --session <id-or-prefix> picks one session, and --all takes every session of the project and its worktrees, optionally narrowed by --since (sessions active since then, returned whole) and --limit. --replies adds the agent's final reply to each prompt, and --signals adds interrupts, rejected and failed tool calls, compactions, API errors, and rollbacks. Output is text, markdown, JSON, or JSONL (one session per line). Both providers are read unless --provider names one.
  • collectSessionPromptHistory() (sidekick-shared/node and the package root) returns whole sessions of human prompts. Text, scope, model and usage, and ordinals are the same as collectPromptHistory(). Each session carries its time span, working directories, branches, models, and a complete flag, and include: { replies, signals } is opt-in. A bound that stops a call lists the sessions it did not read in unread, and passing them back as sessionIds continues. A Claude tool rejection keeps the reason the person typed, and a rejection plus the interrupt Claude Code writes after it count as one signal.

[0.27.4] - 2026-09-23

Added

  • sidekick-shared/node exports createSessionProviders(), SYNTHETIC_MODEL, and the provider types (ProviderId, SessionProviderBase, SessionProviderDiagnostic, CreateSessionProvidersOptions, CreateSessionProvidersResult), so Node consumers can call collectUsageEvents() without importing the package root. The root is a CommonJS barrel that bundlers cannot tree-shake; skipping it saves about 420 KB minified in an esbuild bundle. A packaging test keeps dist/node.js from ever reaching dist/index.js.
  • collectUsageEvents() accepts an optional signal (AbortSignal). It is checked before listing sessions and between sessions; an abort rejects with AbortError and caches only the sessions that were fully read. Counting, pricing, and the usage cache format are unchanged.

[0.27.3] - 2026-09-23

Fixed

  • Token totals for Claude Code sessions were roughly doubled. Claude Code writes one API response as several JSONL lines that each repeat the response's usage, and every line was counted. Each response now counts once, and when a later line reports more output tokens (streaming), the later value wins. On 40 real sessions the corrected totals match an independent last-copy-per-message.id sum exactly; the old figures were 2.2× too high. This affects session totals, cost, per-model rows, the usage reports (sidekick daily/weekly/monthly/sessions, sidekick blocks), sidekick dump/report, and both dashboards.
  • Codex totals counted repeated token_count events. Codex resends an unchanged cumulative total (for example with rate-limit refreshes), and each resend added the last call again. A call now counts only when total_token_usage changes, and when last_token_usage is missing only the growth of the cumulative total is used, never the total itself. On 60 real rollouts the totals now equal Codex's own final total_token_usage.
  • Claude assistant lines with "stop_reason": null failed validation and were dropped whole (text, tools, and usage).
  • Claude <synthetic> placeholder messages no longer add a call, an unpriced model row, or a false compaction.
  • Codex subagent discovery found no spawned subagents on current Codex versions (the threads table no longer has forked_from_id, and the file fallback only looked at the 50 newest rollouts). Spawned subagents are now found through threads.source.
  • Subagent token counts (VS Code Subagents tree, scanSubagents()) counted every split line and left out cache tokens. They now use all four buckets, counted once, and read Claude's agent-*.meta.json for the agent type and description.

Added

  • Session totals now include subagents. sidekick dump (text, markdown, JSON tokenSummary), sidekick report, the CLI dashboard's Sessions panel, and the VS Code dashboard's Tokens metric show the main thread, the subagents, and "Session total (incl. subagents)". Claude Code subagent transcripts (<session>/subagents/agent-*.jsonl) also count toward the usage reports under their parent session.
  • state.json gains an optional context.totalTokens: the session total, cache and subagents included, written by both dashboards.

Changed

  • One token vocabulary everywhere: "Total (incl. cache)" is every billed token (input, cache reads, cache writes, output), and every breakdown lists all four buckets so the parts add up to the headline. Surfaces that still showed input + output (VS Code status-bar tooltip, HTML report per-message counts, timeline token counts, session analysis, project timeline) now use the total, and the CLI dashboard's cache-hit rate counts cache writes.
  • The usage cache (usage-cache/, version 2) and session snapshots rebuild automatically. Stored history in historical-data.json (sidekick stats, the dashboard History tab) is not rewritten: sessions recorded before 0.27.3 keep their old, inflated totals.

[0.27.2] - 2026-09-22

Fixed

  • sidekick-shared: collectPromptHistory() no longer skips session logs whose unread part exceeds maxFileBytes (16 MiB by default). Files are now streamed in 1 MiB chunks and every pass stops after a complete line, so long Claude Code and Codex sessions return all their prompts across repeated calls with bounded memory, even when a file's size and mtime have not changed between calls. A deadline, abort, or byte budget no longer throws away a partly read file: its entries are returned and its cursor continues from the last complete line.
  • sidekick-shared: a prompt collected before its answer no longer loses its model and usage when the answer is far away. The cursor keeps the prompt's answer state (first-answer message id, model, usage, status; never text) instead of a replay window, and only the prompt's own line is re-read when it has to be returned again. 0.27.1 cursors with a pending prompt are migrated by a resumable replay.

Added

  • sidekick-shared: maxRecordBytes (default 16 MiB) and maxEntries (default 10 000) prompt-history bounds; PromptHistoryResult.hasMore and exclusions (records over maxRecordBytes and malformed lines, the only permanent exclusions); new stats sessionsWithBacklog, sessionsRewritten, recordsOverSizeLimit, recordsMalformed; new types PromptHistoryAnswerState and PromptHistoryExclusion. Truncated or rewritten files are detected by a digest of their first 4 KiB and read again from the start.

Changed

  • sidekick-shared: the prompt-history cursor is now version: 3 (versions 1 and 2 are still accepted). It adds per-file backlog, skipping, and head, a pending.answer / lineBytes / timestamp, and a top-level next that makes the next call start with the file a call-wide bound stopped, so no session is starved. maxFileBytes now limits what one file reads in one call instead of skipping the file, and stats.filesOverSizeLimit counts files that ran out of that budget and continue next call.

[0.27.1] - 2026-09-22

Fixed

  • sidekick-shared: collectPromptHistory() no longer loses the model and usage of a prompt collected before its answer was written. While a file's last prompt is not final, the cursor keeps the byte offset of its line and a digest of what was returned (never prompt or answer text); the next call replays from that line and returns the same prompt again (same provider, sessionId, ordinal, timestamp, and text) once its first answering call's metadata changes, so consumers can upsert by identity. Later tool-loop calls still never replace the first answering call, split Claude records replace rather than add usage, Claude <synthetic> records no longer count as the answering call, and missing usage stays unknown.
  • sidekick-shared: prompt-history documentation now says only cursor keys are path-free (Codex resume state holds the session's cwd, so the cursor is sensitive local state) and that a file over maxFileBytes is skipped again on every call with the same bounds.

Added

  • sidekick-shared: PromptHistoryEntry.metadataStatus (pending, provisional, final), plus the PromptHistoryMetadataStatus and PromptHistoryPendingPrompt types. The prompt-history cursor is now version: 2 with an optional per-file pending replay point; 0.27.0 cursors are still accepted.

[0.27.0] - 2026-09-22

Added

  • sidekick-shared: collectPromptHistory() (Node entry point and package root, not the browser entry) extracts the prompts a person typed from Claude Code and Codex session logs for a set of workspace roots, including git worktree siblings by default. Scope fails closed on the working directory recorded in the log (it must realpath-resolve inside a root; missing or unresolvable cwds are excluded, and Codex scope never comes from the rollout's location). Text is untruncated, and each entry carries a stable per-session ordinal, the log-line timestamp, cwd, branch, and the model and usage of the first answering call. A JSON-serializable cursor skips unchanged files and resumes appended ones after lastOrdinal; maxSessions, maxFileBytes, maxTotalBytes, deadline, and AbortSignal bounds stop cleanly and are reported in boundsHit. Parse-only: no redaction, no network I/O, and no session file paths in entries or cursor keys.
  • sidekick-shared: GPT-6 Sol (gpt-6-sol, $2 / $10 per 1M tokens, $0.20 cached input) and GPT-6 Luna (gpt-6-luna, $0.10 / $0.50, $0.01 cached input) pricing and 1.05M context entries.
  • sidekick-shared: isHumanPrompt() and humanPromptText() give consumers one definition of a human prompt, with HUMAN_CLAUDE_ENTRYPOINTS (cli, claude-desktop, sdk-cli) and HUMAN_CODEX_SOURCES (cli, vscode, exec). Canonical transcript provenance now carries Claude Code's isCompactSummary, originKind (origin.kind), and promptSource.

Changed

  • The powerful tier now resolves to Claude Opus 5.5 (claude-opus-5-5; anthropic/claude-opus-5-5 on OpenCode), and the Claude API opus shorthand maps to Opus 5.5; Claude Max still passes opus to the CLI. Codex tiers move to GPT-6: fast → gpt-6-luna, balanced → gpt-6-sol, powerful → gpt-6-astra (a Codex CLI that offers them is required; older CLIs can set gpt-5.6-* IDs literally). CLI dashboard summaries through the OpenAI API use gpt-6-luna.

Fixed

  • sidekick-shared: Claude Opus 5.5 (claude-opus-5-5 / claude-opus-5.5) has its own pricing ($4 input / $20 output / $0.20 cache read per 1M tokens) and 1M context entries; it previously inherited Opus 5 rates through prefix matching, and the LiteLLM catalog has no entry for it.
  • VS Code: dashboard model labels keep the minor version of dashed IDs, so claude-opus-5-5 shows as "Opus 5.5" and claude-fable-5-1 as "Fable 5.1" instead of "Opus 5" / "Fable 5".

[0.26.6] - 2026-09-16

Added

  • Verified cross-platform account switching for Claude Code and Codex. sidekick-shared gains syncLiveAccountState() (registers logins the registry has never seen under their email, folds rotated tokens back into their profile, merges duplicate Codex profiles, re-points the active pointer; runs at startup, on account-change events, and as phase one of every switch), secret-free per-account credential health (fresh | expiring | expired | unknown | missing with access and refresh expiry), a two-phase SwitchAccountResult that verifies the live store, refuses expired or missing credentials unless forced, names running apps that still hold the previous login (claude CLI, Claude Desktop, codex CLI, Codex app, extension host) with per-app reachability text, and returns an undo token for undoLastSwitch(); plus detectRunningAccountConsumers(), getAccountLaunchEnv() for isolated CLAUDE_CONFIG_DIR / CODEX_HOME launches, opt-in refreshInactiveAccounts() keep-alive through the official CLIs, and getCodexCredentialStoreMode() with keyring refusal.
  • CLI: sidekick accounts interactive picker plus list, add, switch, login, remove, shell, env, undo, doctor, and config subcommands; verified switch output with per-consumer warnings; bash, zsh, fish, PowerShell, and cmd env exports; a dashboard accounts overlay (A) and a health-coloured status bar account.
  • VS Code: an Accounts tree view, an always-visible health-coloured status bar badge with a grouped quick pick (Ctrl+K Ctrl+Shift+A), one consolidated switch notification with Undo / Details / Reload Window, Open Terminal as Account, Sign In Again, Register Current Login, a unified terminal login runner, a keep-alive service behind sidekick.accounts.keepAlive, and a walkthrough step. Account commands no longer depend on the inference provider setting.
  • Docs: a new Account Switcher guide with the per-app reachability table, platform notes, and troubleshooting.

Changed

  • Claude logins run claude auth login instead of claude /login; isolated homes are seeded past first-run onboarding and abandoned isolated logins are cleaned up at startup. The Keychain service suffix hashes the NFC-normalised config directory and follows CLAUDE_CONFIG_DIR, matching Claude Code 2.1.x; macOS reads fall back to .credentials.json; atomic writes retry transient rename errors on Windows.
  • Codex profiles get a config.toml forced to cli_auth_credentials_store = "file"; re-adding an already saved login folds into the existing profile instead of duplicating it.

Fixed

  • CLI: the dashboard status-bar account follows the monitored provider and the overlay's u undoes the provider that has a switch record; the interactive picker reports failed undo/remove actions as errors; accounts switch --next with no saved accounts says so.
  • sidekick-shared: the forced Codex file credential store lands at the top level of config.toml instead of inside the last table (isolated Codex logins on ≥ 0.140 no longer fall back to the keyring); re-finalizing an already-saved Codex login activates it instead of failing; a Codex switch records the truly live account as previous so undo returns to it; switches refuse to run while CLAUDE_CONFIG_DIR / CODEX_HOME point inside sidekick's profile homes; finished or discarded isolated Claude logins delete their temporary Keychain item; keyring-mode Codex is reported as skipped, not an error; the sync process probe allows a 16 MiB listing; the Claude live-state fingerprint ignores ~/.claude.json churn so watch syncs and Keychain reads stop running on every prompt.
  • VS Code: the startup "Registered " notice uses the startup sync report instead of a second sync; keep-alive refreshes re-render the Accounts view and badge; the sign-in terminal quotes for the actual Windows default shell (PowerShell, cmd.exe, or Git Bash); in-flight sign-ins settle on deactivate; Open Terminal as Account shows one warning toast.

Deprecated

  • sidekick account --… flags still work, print the equivalent sidekick accounts … command on stderr, and delegate to the same actions.

Removed

  • sidekick-shared: setTerminalActiveProfile, installShellHook, uninstallShellHook, and isShellHookInstalled (no consumers); use getAccountLaunchEnv and writeLauncher.

[0.26.5] - 2026-09-15

Added

  • sidekick-shared bounds discovery and collection with limit and since, exposes a configurable reconcile gap and parse-cache limits, exports DirectoryListingCache, and emits an info-severity provider-discovery-completed diagnostic that reports what each discovery pass cost.

Changed

  • Observed-session watching reconciles each file event with one stat and re-walks session directories only for unknown paths, catch-up polls, and the initial pass. Claude Code and Codex enumerate through a directory-listing cache, so long-lived hosts over large histories no longer walk every session per event.

Fixed

  • The VS Code high-token-usage warning fires once per session on the first crossing, then at most every 30 minutes. The default threshold is 5,000,000 because totals have included cache reads since 0.26.0.
  • A collector pass that joins an in-flight walk keeps changes observed while the walk ran instead of reverting them to the walk's older fingerprint.

[0.26.4] - 2026-09-09

Fixed

  • Provider-failure guidance recognizes expired logins and explicit reauthentication requests. Rejected refresh tokens take precedence over conversation-expiry wording while preserving structured evidence and credential-aware recovery.
  • Terminal errors stating Permission denied by policy, including HTTP 403 responses, now advise reviewing execution permissions in the CLI and VS Code extension.

[0.26.3] - 2026-09-09

Added

  • Shared provider-failure diagnosis distinguishes authentication, provider sessions, execution policy, runtime readiness, context limits, service, rate-limit, timeout, and connection failures without triggering recovery.
  • Explicit public service-status evidence preserves components, multiple incident associations, check/update timestamps, unavailable results, and partial results when incident data is omitted.

Fixed

  • CLI and VS Code status displays and Doctor show unavailable or partial evidence instead of implying normal operation after a failed status check.
  • Terminal inference failures use provider-specific recovery guidance; VS Code connection checks preserve API failure evidence and distinguish local readiness from authenticated requests.

[0.26.2] - 2026-09-06

Fixed

  • CLI live-only sessions no longer overwrite complete-history checkpoints. Older CLI checkpoints are invalidated and replayed once.
  • OpenCode dashboards replay history instead of restoring timestamp-only snapshots, preventing duplicate token totals on reopen.
  • Provider setup, settings examples, contribution instructions, and documentation callouts now match the current implementation.
  • Stop/resume preserves VS Code monitoring subscriptions and custom session folders; cancelled inline requests stop inference.
  • Complete-line cursors and batch checkpoints prevent skipped events and damaged Unicode on resume. Dashboard snapshots now use the current schema and verify their format.
  • Search respects the project for all providers, includes database-only OpenCode sessions, and opens VS Code results in the conversation viewer.
  • OpenCode watchers use the correct platform data directory; Doctor focuses on the selected provider.

Changed

  • Empty and paused dashboards offer Refresh, Browse, Run Doctor, and Resume with provider/location details.
  • Dashboard tabs, session cards, and section toggles support keyboard navigation and retain session focus after refresh.

[0.26.1] - 2026-09-05

Changed

  • VS Code Codex tiers use GPT-5.6 Luna, Terra, and Sol for fast, balanced, and powerful features. Anthropic retains Haiku 4.5, Sonnet 5, and Opus 5.
  • CLI direct OpenAI API summaries use Luna with reasoning disabled and the current completion-token parameter. Native CLI model configuration is preserved.

Fixed

  • Model metadata verified on 2026-09-05 adds exact Fable 5.1 and GPT-6 Astra entries, updates GPT-5.6 prices, corrects GPT-5.4 mini cache pricing and mini/nano context limits, and documents Sonnet 5's permanent $2/$10 rate.
  • CLI and MCP Codex quota queries fetch live utilization and reset credits on every call, fixing the 0.26.0 regression that returned session logs even with --refresh.
  • Failed live queries use the newer session or cached sample and report its age and the API failure; Codex error descriptions identify the correct provider.

[0.26.0] - 2026-09-05

  • Shared library: summarizeTokens() defines one token vocabulary (total counts input, output, and both cache buckets; context counts input and cache) and every surface uses it, so totals agree across the CLI, the extension, and reports
  • Shared library: aggregated cost carries provenance (reported, estimated, mixed, unpriced); reports label it and show — for unpriced sessions instead of $0
  • Shared library: the Claude Code status-line payload is parsed into an official statusline quota source; cached quota reports its age and freshness; peak hours fall back to the published schedule and cache promoclock.co answers; threshold-crossing detection is shared by both dashboards
  • Shared library: local calendar-day helpers, offline pricing hydration, snapshot pruning, locked quota-history writes, a 30-day TTL on observed context windows, memoised provider detection, and several review follow-ups (OpenCode workspace matching, account poll interval, strict since)
  • CLI: sidekick statusline reads Claude Code's payload from stdin, shows context, cost, and cache hit rate, and persists the official limits; --offline, --output-file, --csv on stats / dump --list / quota history, quota history --window, and --json on capture commands and report
  • CLI: startup awaits bounded pricing hydration for deterministic costs; totals are cache-inclusive; today uses local days and the shared peak schedule; commands set exit codes instead of exiting mid-write
  • VS Code: quota threshold alerts (five-hour 80/95%, seven-day 90%, once per reset window); cache-inclusive totals everywhere; the D3 vendor bundle shrinks from 611 KB to 133 KB and a stale 687 KB dashboard bundle no longer ships
  • Shared library: resolveQuota() gives every surface one quota precedence (fresh persisted sample, then session logs, then the provider API, then an older sample labelled by age) with resolution and capturedSource on each result
  • CLI: quota, quota --all, and mcp get_quota_status share the resolver and print a Source row; --refresh asks the API first for every provider; --all no longer forces Codex API-first
  • VS Code: the dashboard's first quota paint uses the shared resolver, so a fresh status-line or session sample shows without a network call
  • Shared library: one readSessionStats() implementation for Claude Code, Codex, and OpenCode over the shared aggregator (cache-inclusive per-model totals, cost with provenance, tool failure split, real compaction and truncation counts, explicit availability), with a cross-provider parity test; OpenCode's readers gain a real seekTo() and exists()
  • VS Code: the project timeline's per-session token total is cache-inclusive
  • Shared library: collectUsageEvents() (cached usage events from session logs) and computeBillingBlocks() (ccusage-style five-hour blocks with burn rate and projections)
  • CLI: sidekick blocks shows five-hour billing blocks from session logs, with the official status-line sample beside the local estimate
  • VS Code and CLI dashboards: a billing-block card shows the open five-hour block with burn rate and projections
  • CLI: sidekick daily, weekly, monthly, and sessions report usage straight from session logs for every provider, bucketed by usage-event time, with per-model breakdowns, project grouping, CSV, and JSON
  • CLI: sidekick import backfills the history store from every provider's session logs; the extension's first-activation import now covers Codex and OpenCode too, through the same shared importer
  • Shared library: observed sessions are parsed once per discovery and only re-read when their size or mtime changes; activity is classified from events (Codex and OpenCode now get real activity states) and grace-period drift on cache hits is fixed; sidekick report reads the session once
  • Shared library: one capped, newest-first walker for Codex rollouts replaces six uncapped ones (plus the quota resolver's copy); project-folder enumeration only opens rollouts newer than the SQLite index and the cwd cache is bounded; Claude session listings no longer stat files twice
  • state.json: a public, versioned file written by the status line and both dashboards for external tools (account, quota windows with freshness, context usage, session cost, active billing block), with a zod schema in sidekick-shared/schemas
  • CLI dashboard loop: session-root subscription instead of a 10 s poll, memoised panel rendering, provider-scoped status polling, and an accurate dump --list footer via hasMore on the shared preview index
  • VS Code activation: account seeding and git initialisation run in the background; mind map, plan board, and timeline views are constructed on first show and stay idle while hidden
  • VS Code dashboard: coalesced webview messaging (one post per kind per 250 ms burst), a lighter stats payload, and copy-free getStatsView() for hot paths
  • VS Code dashboard: the webview script is a real esbuild bundle again (out/webview/dashboard.js), with the document reduced to markup, CSS, and a JSON init block
  • VS Code History tab: hourly today, model/tool series, project filter, previous-period overlay and deltas
  • Health: a dashboard Health tab with doctor checks, provider diagnostics, and failing-tool trends; sidekick stats gains the 30-day column and trend
  • Deferred review follow-ups closed: registry lock across the legacy account facade's read-modify-write, silent self-heal, maxPrefixBytes: 0 opt-out, live-diagnostics doc, temp-dir packaging tests
  • Fixed before release: state.json files each quota sample under the provider that produced it and keeps Claude and Codex side by side; History tab drill-downs keep the project and series filter and the Project select; the History chart applies its alpha to hex theme colours; --offline and --output-file before the command are recognised by the CLI's command-token scan; --output-file writes plain text unless FORCE_COLOR is set

[0.25.0] - 2026-08-18

  • Shared library: async session previews use bounded concurrency, yield between reads, batch Codex/OpenCode labels into a handful of database subprocesses per provider, and include OpenCode's native all-session enumeration
  • Shared library: collectors and monitors can replace polling loops with debounced subscriptions carrying old/new fingerprints; filesystem watches retain catch-up polling for filesystems that drop events
  • Shared library: observed-session parsing is fingerprint-cached, unchanged collections perform no content reads, and structured size/mtime fingerprint fields replace downstream string parsing
  • Shared library: cooperative collector scheduling bounds read bursts, while cached observations refresh activity and observation time without presenting cached usage/model data as newly read
  • Shared library: provider construction is I/O-free and fail-soft; createSessionProviders() returns usable providers plus structured diagnostics instead of letting an environmental failure stop the host
  • Shared library: repeated provider degradations are coalesced so diagnostic state stays bounded in a long-lived sidecar
  • Shared library: findSessionById() resolves sessions through each provider's native filename/database layout and returns null for misses
  • Shared library: resolved context windows and pricing can be exported/imported across Node and browser realms, aliases are registerable, and prefix inheritance is explicit in provenance
  • Shared library: diagnostics carry severity and phase, provider-id sets are exported as values, and account/quota results are guaranteed to validate against their same-release schemas
  • Shared library: every documented subpath resolves in Vite and legacy TypeScript Node resolution without consumer aliases or custom paths
  • Shared library: Codex history retains epoch-second ts, adds tsMs, and automatically scales its tail read to the requested limit
  • Shared library: observation-only projections report transcripts as non-resumable without post-processing
  • Shared library: missing sqlite3 is attached to affected Codex/OpenCode results as a diagnostic instead of looking like an empty workspace
  • Shared library: quota services skip work while no matching account exists, and onAccountsChanged() lets hosts react immediately to login/logout changes
  • CLI and VS Code extension: advance in lockstep with sidekick-shared 0.25.0; commands, settings, and behavior are unchanged

[0.24.5] - 2026-08-18

  • CLI: sidekick history shows your most recent Codex prompts across every workspace, newest first — a quick answer to "what was I working on?". --limit bounds the count, --path <id-or-prefix> prints the session's transcript file path for piping into less or jq, and --json emits full ids and timestamps. Codex-only for now
  • CLI: sidekick dump --list takes a --limit (default 50) and, along with the session picker, reads a cheap preview index instead of opening every session file, so projects with long histories list quickly
  • CLI: dump --list now prints session ids that actually work with dump --session — Codex sessions previously listed a file basename the session flag never accepted. Scripts reading the JSON listing should expect the bare session UUID
  • Saving, switching, and logging into accounts no longer freezes VS Code — the codex CLI probes behind those operations ran on the extension host thread and could stall the editor for seconds at a time
  • Sidekick data writes from VS Code and the terminal no longer race each other: account changes, quota snapshots, and the shutdown flush all go through the same cross-process store lock, and a lock abandoned by a crashed process is reclaimed automatically instead of wedging writes until someone deletes it by hand
  • Setting SIDEKICK_CONFIG_DIR now relocates the VS Code extension's data alongside the CLI's — previously only the CLI honored it. If you already export it, the extension will use that directory after upgrading
  • Shared library: new public APIs for building session tooling — a bounded session-preview index (listSessionPreviews/readSessionPreview), readCodexHistory and findCodexRolloutFile for Codex's native files, parseMcpToolName for MCP tool identifiers, async variants of every account login/switch entry point, and synchronous locked store writers

[0.24.4] - 2026-07-25

  • Dashboard charts read their colors from the active VS Code theme. Axis labels, gridlines, and legends were hardcoded to dark-theme greys, so on any light theme they ranged from low-contrast to unreadable. Charts also re-theme now when you switch themes, without a reload
  • Mind-map node colors, the legend, and the context-attribution palette are theme-aware too. The legend was also missing two of the twelve node types
  • Fixed a leak where every Quick Ask added a permanent duplicate entry to the Output panel dropdown
  • The pricing-catalog cache now lives in the same directory as every other Sidekick store. On Windows the extension had been caching under %USERPROFILE%\.config\sidekick while the CLI used %APPDATA%\sidekick, so each refetched model prices on its own schedule
  • Turning off sidekick.enableSessionMonitoring no longer leaves nine dead views in the sidebar. The monitoring views are hidden, and the dashboard offers a button to turn monitoring back on. Changing the setting now prompts for the reload it has always needed
  • The secondary Agent Hub views start collapsed on a fresh install, so the sidebar is usable at a normal height. Existing users keep their current layout until they reset it
  • The dashboard and mind map keep their state when collapsed, so re-expanding no longer rebuilds every chart or re-scrambles the graph
  • The Confirm action on a knowledge note no longer appears on notes that are already confirmed
  • With session monitoring turned off, the nine Sidekick commands that need it now explain that instead of failing with "command not found", and the Knowledge Notes view renders empty rather than spinning in a window with no folder open
  • CLI: press R in the dashboard to reload tasks, notes, decisions, and plans. They also refresh automatically every 15 seconds — previously the dashboard read them once at startup, so anything written from VS Code or another terminal never showed up
  • CLI: failures loading project data or reading a session file are now visible as a toast and a status-bar badge instead of silently producing an empty-looking dashboard
  • CLI: sidekick dashboard fails with a clear message instead of a garbled frame when it is not attached to a terminal, and a bare sidekick prints help to stdout with exit code 0
  • CLI: sidekick --help and sidekick --version no longer make a network request or create account files
  • CLI: sidekick --no-color is accepted
  • CLI: you can now switch to a pending session from the Plans panel and open the session filter from the Sessions panel's Mind Map tab — both keys were silently shadowed. The Plans source filter moved to S and the mind-map node filter to F
  • CLI: the detail tab and scroll position no longer jump to the top when the item list shrinks, and up to three toasts stack instead of only the newest showing
  • CLI: sidekick extract -i --json now fails with a message instead of silently ignoring --json, and extract -i prints plain output instead of the picker when it is not attached to a terminal
  • Shared library: the config directory is overridable via setConfigDir() or SIDEKICK_CONFIG_DIR; the published package ships its license and changelog and now declares Node 20 or newer, which npm warns about when installing on Node 18; parseModelId() reads hyphenated Anthropic model versions correctly (4.6 rather than 4); and the peak-hours request is bounded by a timeout

[0.24.3] - 2026-07-24

  • Fixed Claude Sonnet 5 cost estimates, which ran 50% high at $3/$15 against its actual $2/$10. Sonnet 5 is what the balanced tier resolves to for the Claude API and OpenCode providers, so this moved most totals shown before the pricing catalog was fetched
  • Fixed cost estimates for GPT-5.6 Luna, which ran about 5× high before the pricing catalog was fetched: with no rate of its own it fell back to GPT-5.6 Sol's $5/$30 instead of its published $1/$6
  • GPT-5.5 Pro, GPT-5.4 Pro, and GPT-5.4 Nano were mispriced the same way — each borrowing the base model's rate — and now use their published rates, verified against the LiteLLM catalog
  • A sweep of the full catalog corrected twelve more models. Mini and nano tiers had read far too expensive (GPT-5 Nano 25× high, GPT-4.1 Nano 20×), while pro and deep-research tiers read far too cheap — GPT-5 Pro, GPT-5.2 Pro, o1-pro, o3-pro, and o3-deep-research all reported their base model's rate. GPT-5.3 Codex and o1-mini were on outdated rates
  • GPT-5.6 Luna carries an explicit 1,050,000-token context window; the window Codex reports for your account tier still takes precedence
  • The model resolution reference now documents the Codex tier mappings alongside the Claude ones

[0.24.2] - 2026-07-24

  • Fixed a context gauge that read roughly eight times fuller than reality on Claude Sonnet 4.7: it resolved to a 128K window against its real 1M. Sonnet 4 shared the cause — both were inheriting a GitHub Copilot deployment's truncated limit from the model catalog
  • Context windows now resolve from the LiteLLM catalog, so newly released models size correctly without an update. Lookup tries every source for an exact match before any source's prefix match, and catalog aliases are dropped when providers disagree about the window
  • Context windows a provider actually reported are remembered per model in ~/.config/sidekick/observed-context-windows.json and reapplied at startup. Codex reports the window for your account tier, which can sit well below the model's published maximum
  • Added static pricing for Claude Opus 5 and Sonnet 5, GPT-5.6 (sol/terra), GPT-5.5, and GPT-5.4-mini; corrected GPT-5.4 to its published rate
  • Inference tier defaults point at current models: Sonnet 5 (balanced), Opus 5 (powerful), gpt-5.6-sol for Codex
  • The dashboard peak-hours banner spans the full width below the gauges instead of collapsing into a one-word-per-line column

[0.24.1] - 2026-07-22

  • Canonical transcripts retain provider provenance — entrypoint, meta/sidechain flags, original message roles, cwd, and git branch — so consumers can identify human prompts without reparsing JSONL
  • Provider-backed observed-session collection sources expose their adapter's ProviderCapabilitiesV1 record

[0.24.0] - 2026-07-22

  • Added shared provider usage normalization and pricing provenance without cache/reasoning double counting
  • Added a stable tokenizer-free estimator, provider-neutral transcript/history projection, and resilient observed-session collection
  • Corrected the session-event contract for message-less summary/system bookkeeping rows
  • Provider-reported costs (including zero) are authoritative; sessions that report $0 display $0 instead of a catalog estimate

[0.23.1] - 2026-07-21

Security

  • Command injection and XSS hardening: git operations spawn without a shell, browser-open and clipboard helpers use argument arrays instead of interpolated shell strings, dashboard timeline expansion preserves HTML escaping, and markdown report links refuse javascript:/data: URLs

Fixed

  • Resolved the 2026-07 full-repository review backlog: 143 verified findings across all three packages, covering security and data integrity, crashes and hangs, CLI dashboard and terminal UX, the session pipeline and webviews, cross-package consolidation, and release hygiene
  • Truthful numbers: historical session totals no longer double-count into all-time buckets on VS Code restart, Codex cache tokens are counted once, and hyphenated claude-opus-4-5 usage is priced at Opus 4.5 rates
  • Observed-session pending-request detection now tolerates message-less summary and bookkeeping rows, continues scanning unresolved requests, and retains top-level tool requests with stable fallback IDs
  • CLI dashboard: quota-failure text wraps correctly, the today date filter includes today in UTC-negative timezones, mouse clicks land on the clicked row, and configured model IDs reach the inference clients

Changed

  • The legacy VS Code dashboard webview bundle was removed; the dashboard script is generated inline by DashboardViewProvider
  • Token metric definitions are more truthful: Codex input_tokens excludes cached input, per-model totals include cache read/write tokens, and follow-event message counts include only user/assistant messages — dashboard numbers may shift after upgrade
  • sidekick quota exits non-zero when a requested provider's quota is unavailable, and the deprecated quota --tier flag was removed
  • Release CI pins vsce/ovsx versions and preflights Open VSX before publishing; CLI CI adds lint and typecheck gates

[0.23.0] - 2026-07-18

Added (CLI)

  • Cache-only statusline and today commands, cross-provider doctor, atomic task/note/decision capture, generic external-handoff links, and a read-only MCP facts server for Claude Code and Codex
  • Failure forensics, beta quality trends, code impact, per-model churn/cost, and honest compaction-ledger summaries

Added (VS Code extension)

  • Four-step onboarding walkthrough and a manifest-generated command hub
  • Claude Code status-line install/uninstall, shared doctor diagnostics, live Kanban refresh after terminal capture, and generic external handoff
  • Dashboard views for categorized errors, beta session quality, code impact, and compaction re-establishment cost

Added (sidekick-shared)

  • Stable observed-session V1 adapters/contracts with evidence, provenance, confidence, and Zod schemas
  • Atomic store writers, canonical project identity, typed health reports, status/burn formatters, error history, quality/history v3, code-impact, and compaction-ledger engines

Changed

  • Plans are persisted end to end again with per-step timing, tokens, tools, and cost
  • Codex exact compaction/churn facts and OpenCode error/retry/finish facts are retained throughout normalization and analytics; heuristic compactions are counted once with observed sizes
  • Project identity resolves symlinks canonically, with automatic one-time migration of legacy raw-slug stores
  • Deprecated observed-traffic z.ai estimator exports were removed; authoritative z.ai quota remains available

[0.22.0] - 2026-07-02

Added (CLI)

  • Working date filter mode: The dashboard's [D]ate filter parses today, yesterday, 12h/2d/1w, YYYY-MM-DD, and >/< prefixes instead of silently falling back to substring matching; invalid expressions show the filter error without blanking the list
  • Mouse-capture toggle: M key and --no-mouse flag restore terminal text selection/copy; state shows in the status bar and persists via cli-config.json
  • Scrollable help overlay with j/k and ▲/▼ indicators for short terminals
  • --help examples on the root command, quota, extract, and dump; strict choices() validation for --provider, report --theme, tasks --status, and quota --tier
  • Confirmation before account --remove (Claude and Codex paths): interactive y/N, or --yes/--force for automation; --json/non-TTY without the flag exits 1

Fixed (CLI)

  • q is typable in the dashboard filter box; panel keybindings (e.g. Mind Map f) win over shadowable global keys while active; overlays reposition on terminal resize and clamp to narrow screens; the help and changelog overlays clamp their scroll to content (no blank box or frozen scroll-up when over-scrolled); the Sessions summary tasks line renders its total again; detail-pane wrapping matches the active layout mode instead of assuming the default side-panel width

Changed (CLI)

  • Ctrl+C always quits the dashboard, even with an overlay open; V/r are inactive on the splash screen

Added (VS Code extension)

  • Actionable trigger notifications: session-monitoring toasts now carry action buttons. Security triggers (credential file access, destructive commands, sensitive path writes) offer Open Dashboard and Mute This Trigger; noisy mid-session triggers (tool-error bursts, context compaction, agent cycling) offer Snooze 1h and Mute This Trigger; the high-token-usage warning offers Open Dashboard and Snooze 1h. Mute persists sidekick.notifications.triggers.<id>: false; Snooze is in-memory and clears on window reload
  • Welcome content for empty monitoring views: the Event Stream, Subagents, and Latest Files Touched views no longer render as blank panes when no agent session is active. Each now explains what will appear there and offers a one-click action (Open Session Dashboard / Refresh Session)
  • Sidekick: Import Historical Session Data in the Command Palette: the command was registered but never contributed to the manifest, so it could previously only be triggered from the dashboard

Changed (VS Code extension)

  • BREAKING — three default keyboard shortcuts have moved. The old chords shadowed core VS Code defaults (Explorer view, Debug view, and inline suggest / Copilot inline chat). The features now live on Ctrl+K / Cmd+K chords; rebind in Keyboard Shortcuts (search "sidekick") if you prefer the old ones:
Command Old (Win/Linux / macOS) New (Win/Linux / macOS)
Sidekick: Explain Selected Code Ctrl+Shift+E / Cmd+Shift+E Ctrl+K Ctrl+E / Cmd+K Cmd+E
Sidekick: Generate Documentation Ctrl+Shift+D / Cmd+Shift+D Ctrl+K Ctrl+G / Cmd+K Cmd+G
Sidekick: Quick Ask (Inline Chat) Ctrl+I / Cmd+I Ctrl+K Ctrl+A / Cmd+K Cmd+A

Ctrl/Cmd+Shift+Space (Trigger Completion) and Ctrl/Cmd+Shift+M (Transform Selected Code) are unchanged

  • Command Palette hygiene: every command now declares the Sidekick category, so palette labels render as Sidekick: <title> and all commands still match a "sidekick" search. The five Explain Code and five Explain Error complexity levels now have distinct titles (Explain Code: ELI5 vs Explain Error: ELI5, etc.), and sixteen context-only or argument-only commands (explain-level variants, Explain Error with AI, Fix Error with AI, Set Session Provider, and the knowledge-note Edit/Delete/Confirm actions) are hidden from the palette because they would error when invoked bare; they remain available from their context menus, code actions, and the dashboard

Deprecated (VS Code extension)

  • sidekick.zai.tier: now marked with a deprecation message in the Settings UI. Authoritative z.ai quota is read directly from z.ai's quota API; the setting has no effect and is kept only so previously stored values remain valid

Changed (sidekick-shared)

  • Version bump to 0.22.0: No functional changes; published only to keep the shared library in lockstep with the VS Code extension and CLI. Behavior is identical to 0.21.6

[0.21.6] - 2026-07-02

Added (sidekick-shared)

  • Codex reset credits: New fetchCodexResetCreditsFromApi() reads ChatGPT's wham/rate-limit-reset-credits endpoint and returns a CodexResetCreditsSnapshot (available count plus per-credit title/status/expiry), with the new CodexResetCredit / CodexResetCreditsSnapshot types and codexResetCreditSchema / codexResetCreditsSnapshotSchema validators. fetchCodexQuotaFromApi() now attaches this snapshot to the returned quota state, authenticating with the Codex auth.json account_id (sent as ChatGPT-Account-ID) when present. writeQuotaSnapshot, the CodexQuotaWatcher, and the Codex session provider preserve an existing reset-credits snapshot when a session-sourced write omits it (Codex-only), so local session updates never wipe API-fetched credits. Every reset-credit fetch failure is swallowed and leaves the quota otherwise intact

Added (CLI)

  • Codex reset credits in sidekick quota: When Codex quota is fetched from the API (--refresh, or the API-first --all view), the Rate Limits output now shows a Reset Credits: N available line plus a per-credit Expires row for each available reset grant

Added (VS Code extension)

  • Dashboard Codex reset credits: The Codex "Rate Limits" tile now shows a reset-credits panel — the number of available reset grants and each one's expiration. To populate it, the dashboard resolves Codex quota API-first (with automatic fallback to local rollouts and the cached snapshot), and preserves the last API-fetched credits across session-sourced snapshot writes

Changed (CLI, VS Code extension)

  • Bundled sidekick-shared 0.21.6: Both the CLI and the extension pick up fetchCodexResetCreditsFromApi() and the reset-credits snapshot on Codex quota state

[0.21.5] - 2026-06-30

Fixed (sidekick-shared)

  • Prefer the aggregate Codex rate-limit family over model-specific ones: Codex emits multiple rate-limit families per session keyed by limit_id — the aggregate plan quota (codex, or absent on older payloads) plus per-model/feature families (e.g. codex_bengalfox, premium). Every local-data selector previously read "the latest rate_limits" without inspecting limit_id, so a freshly-used per-model family at 0% with a later-resetting window could win the newest-window comparison and mask the real plan quota. A new exported isAggregateCodexLimit() helper now ranks the aggregate family first in every selection site — the rollout reader, the live CodexRolloutParser, the cross-file quota ranker, and the snapshot-retention guard — falling back to a model-specific sample only when no aggregate one exists. No-op for Claude (no limit_id) and z.ai (zai-*)

Fixed (CLI)

  • sidekick quota --all no longer shows Codex at 0%: The aggregate plan quota is now always preferred over a per-model family that reads 0% with a later reset window, so --all matches --provider codex --refresh. quota --all also fetches Codex API-first (with automatic local fallback), matching the live Claude/z.ai legs; the single-provider quota --provider codex stays local-by-default (live via --refresh)

Fixed (VS Code extension)

  • Dashboard Codex tile and status bar show the true plan quota: Through the bundled sidekick-shared update, the Codex rate-limit tile, status bar, and Codex session provider now surface the aggregate plan quota instead of being masked by a trailing per-model family reporting 0%

[0.21.4] - 2026-06-30

Fixed (sidekick-shared)

  • Live-first active-account resolution: New resolveActiveClaudeAccount() / resolveActiveCodexAccount() (and the ResolvedActiveAccount type) resolve the currently logged-in account from the live provider auth (~/.claude/.claude.json oauthAccount; the ~/.codex/auth.json id_token JWT) and fall back to the saved registry, mirroring the live-first z.ai path. On an unambiguous match to a saved profile they self-heal the stale active pointer — best-effort, never throwing, never creating or deleting profiles — so registry-keyed data (quota history, auto-switch) tracks the real account. getActiveAccountStatus(), the multi-provider Claude quota path, and the Codex quota watcher now route through these resolvers

Fixed (CLI)

  • sidekick quota shows the logged-in account: The account line now reflects the currently logged-in Claude/Codex account even after a native claude /login or codex login, instead of the stale saved registry pointer

Fixed (VS Code extension)

  • Status bar, dashboard, and session provider track the live account: The Claude status bar, dashboard Codex tile, account status, and Codex session provider now follow the live logged-in account and self-heal the saved active pointer, so an external login is detected as a change

[0.21.3] - 2026-06-23

Added (sidekick-shared)

  • Quota projection helpers: New exported projectQuotaWindow() / withQuotaProjections(), the FIVE_HOUR_WINDOW_MS / SEVEN_DAY_WINDOW_MS constants, and the QuotaProjectionInput type generalize the previously Claude-only end-of-window utilization projection, so Codex and z.ai quota states now populate projectedFiveHour / projectedSevenDay. Projection is idempotent and honors a capturedAt timestamp

Changed (CLI)

  • sidekick quota projects every provider: Quota output is now a unified table with aligned now / projected / resets columns, and projected end-of-window utilization is shown for all providers (Claude, Codex, z.ai) — previously Claude only. Bars are clamped to 0–100% and a — placeholder shows when a projection is unavailable; sidekick quota --all uses the same layout

Fixed (sidekick-shared)

  • Bounded synchronous CLI probes: Every synchronous execFileSync / spawnSync / execSync probe (keychain, Codex login / pgrep, git rev-list, sqlite3) now runs with timeout: 4000 and killSignal: 'SIGKILL', so a hung CLI, keychain prompt, or database can no longer block the caller indefinitely

Fixed (VS Code extension)

  • Compact provider-outage status: The dashboard's provider-status card now renders through a dedicated, testable display model (providerStatusDisplay) with severity, title, summary, an "N affected" count, and an http(s)-validated incident link, and inserts upstream status text/links via textContent / createElement instead of innerHTML (removing an HTML-injection vector)

Security

  • npm audit: Resolved reported dependency advisories across the monorepo — dompurify ^3.4.11 (VS Code webview sanitizer), esbuild ^0.28.1, and vitest ^4.1.9

Changed (repo)

  • Repo-wide Prettier formatting: Added a shared prettier.config.cjs, format / format:check scripts in all three packages, scripts/format-all.sh / scripts/format-check-all.sh, a Format CI workflow, and formatting gates in the release workflow

[0.21.2] - 2026-06-22

Changed (sidekick-shared)

  • Authoritative z.ai quota API: z.ai Coding Plan quota is now read from z.ai's api/monitor/usage/quota/limit endpoint instead of being estimated from observed OpenCode traffic. New zaiQuotaApi.ts exports resolveZaiQuota(), fetchZaiQuotaFromApi(), readZaiCredentials(), and quotaStateFromZaiQuotaLimitPayload(), with credential discovery (OpenCode's stored zai-coding-plan → zai token, then ANTHROPIC_BASE_URL / ANTHROPIC_AUTH_TOKEN) and cached-snapshot fallback. The former observed-traffic estimator remains exported for compatibility but is deprecated

Changed (CLI)

  • sidekick quota --provider zai now renders authoritative z.ai plan utilization from z.ai's quota API (5-Hour / Weekly windows with real reset times), falling back to a cached snapshot when the API is unavailable. The --tier lite|pro|max|auto flag is deprecated and no longer affects the displayed utilization

Changed (VS Code extension)

  • z.ai quota in the dashboard: the z.ai card is now labeled "Live z.ai API" or "Cached z.ai API snapshot" (previously "Estimated from observed traffic"). The sidekick.zai.tier setting is deprecated and inert

[0.21.1] - 2026-06-21

Added (sidekick-shared)

  • z.ai Coding Plan quota derivation: New zaiQuota.ts and zaiQuotaWatcher.ts modules derive an estimated QuotaState for z.ai coding plans from OpenCode assistant turns tagged providerID ∈ {zai, zai-coding-plan}. Because z.ai exposes no quota/usage HTTP API (verified against docs.z.ai/openapi.json), utilization is computed by accumulating per-turn tokens into 5-hour and 7-day rolling windows and comparing against the published per-tier prompt budgets (Lite 80/400, Pro 400/2000, Max 1600/8000 prompts per 5h/week). Authoritative reset timestamps are extracted from trapped 1308/1310/1313/1309 business error codes when present

Added (CLI)

  • z.ai Coding Plan quota: sidekick quota --provider zai derives and renders z.ai plan utilization from OpenCode traffic already on disk (5-Hour / Weekly windows with per-tier prompt budgets). --tier lite|pro|max|auto overrides the assumed plan tier. sidekick quota --provider opencode now auto-routes to z.ai quota when z.ai traffic is detected. sidekick quota --all includes the z.ai section when active. sidekick quota history --provider zai renders a 13-week heatmap

Added (VS Code extension)

  • z.ai Coding Plan quota in the dashboard: When OpenCode is the active session provider and z.ai routing is detected, the dashboard renders a third quota card (5-Hour / Weekly) labeled "Estimated from observed traffic". z.ai quota flows through the snapshot/history pipeline so the 13-week heatmap works automatically
  • sidekick.zai.tier setting: New setting (auto | lite | pro | max, default auto) overrides the z.ai plan tier used for utilization math
  • Quota alerts for OpenCode: Quota-failure alerts now also fire when the active session provider is opencode, so z.ai rate-limit errors surface as notifications

Fixed

  • OpenCode data directory resolution: getOpenCodeDataDir() now probes both the macOS-default ~/Library/Application Support/opencode and Linux-style ~/.local/share/opencode candidate paths and returns whichever actually contains opencode.db, fixing dashboard/quota detection on machines where OpenCode writes to the Linux-style path

Limitations

  • z.ai quota is estimated, not authoritative, and several capabilities remain unbuilt. z.ai exposes no usage API, so utilization is derived only from OpenCode traffic observed on this machine/workspace and compared against provisional per-tier prompt budgets. z.ai is observed-only (not selectable as an inference provider) and has no account management in this release; auto-tier detection under-reports early in a cycle; reset times are approximate unless a rate-limit error is trapped; OpenCode has no native (non-z.ai) quota. See the OpenCode provider guide for the full list of current limitations and planned work.

[0.21.0] - 2026-06-21

Added (sidekick-shared)

  • Account Management 2.0: Provider-neutral account acquisition and switching APIs for Claude Max and Codex. beginAccountLogin(), getAccountLoginStatus(), finalizeAccountLogin(), and spawnAccountLogin() support isolated login profiles; listAllAccounts() and switchAccount() expose a shared account switcher surface for hosts
  • Claude profile homes: Claude accounts now have canonical profile homes under Sidekick's account store, with account-specific macOS keychain service suffixes and startup migration from legacy flat backups. Switching applies the selected profile back to the live Claude home without destroying unrelated saved accounts
  • Terminal sync and quota auto-switch primitives: New opt-in terminal profile pointers, shell hook/launcher helpers, and a default-off AutoSwitchController for switching to a healthier saved account when quota crosses a configured threshold
  • Account Zod schemas: sidekick-shared/schemas and the package root now export account-management validators including beginAccountLoginResultSchema, accountLoginStatusSchema, accountManagerResultSchema, and listAllAccountsResultSchema

Added (CLI)

  • Account login and all-provider views: sidekick account --login starts provider-isolated login, --provider all lists Claude and Codex accounts together, --launcher creates opt-in terminal launchers, and --auto-switch <pct|off> persists the CLI auto-switch preference
  • Multi-provider quota output: sidekick quota --all renders Claude and Codex quota state together — each provider degrades independently, so one provider's quota still prints when the other is unavailable; --all --json emits a provider-keyed payload suitable for dashboards and automation

Added (VS Code extension)

  • Account sign-in and all-provider switching: New commands for signing into Claude/Codex accounts from the integrated terminal and switching across all saved providers from one QuickPick. The account status bar now opens the all-provider switcher
  • Quota auto-switch setting: sidekick.accounts.autoSwitchThreshold enables the default-off auto-switch controller in the extension host

Documentation

  • Added an Account Management provider guide covering the API contract, TTY-less login sequence, runtime schemas, and operational caveats for downstream desktop hosts.

[0.20.0] - 2026-06-17

Added (sidekick-shared)

  • Actionable session asset extraction: New Node-only extraction APIs collect URLs, filesystem-validated file paths, commands the agent suggested for the user to run, and plan-mode plans from recent Claude Code and Codex sessions for exactly one cwd. gatherAssetsForCwd() merges supported agents with recency sorting, dedupe, and per-type caps; lower-level extractUrls(), extractFilePaths(), extractCommands(), readClaudeAssets(), and readCodexAssets() are exported for custom tooling. The API is safe for CLI and VS Code extension-host code, but intentionally not exported from sidekick-shared/browser
  • Session asset provenance: Extracted assets now carry optional agent, sessionPath, and source metadata so CLI, VS Code, and custom tools can label where each URL, path, command, or plan came from without changing the stable text/display fields

Added (CLI)

  • sidekick extract: New one-shot command for pulling URLs, paths, commands, and plans out of recent Claude Code and Codex chats. Supports grouped colored text, --json, --type url,path,command,plan, --limit, and -i/--interactive picker actions that open URLs or copy selections. The command preserves exact-cwd scoping and reports OpenCode as unsupported instead of silently reading other providers
  • Extract output polish: sidekick extract now validates invalid --type and --limit values, preserves inChat in JSON output, and labels text output with the source agent for each asset

Added (VS Code extension)

  • Native asset extraction command: Sidekick: Extract Session Assets opens a searchable VS Code QuickPick backed by the shared extractor. URLs open externally, file paths open in the editor at their line when available, commands copy to the clipboard, and plans open as Markdown scratch documents

Thanks to @B33pBeeps (Juan Fourie) for contributing the feature in #17, adapted from his MIT-licensed trawl project.

[0.19.3] - 2026-06-17

Added (sidekick-shared)

  • Assistant turn timeline: segmentAssistantTurn() now emits a required v2 timeline array that preserves reasoning, narration, and tool groups in original arrival order while keeping the final answer text excluded. The mirrored Zod schemas and public type exports include the new timeline contract for browser and IPC consumers

Changed (sidekick-vscode)

  • Conversation view interleave: The transcript rail now renders assistant reasoning, tool calls, and narration from the shared assistant-turn timeline, preserving provider-normalized arrival order for Claude, Codex, and OpenCode sessions while keeping the final answer separate. Tool calls render as concise rows with their summary inline, while tool results stay expandable to reveal their output

[0.19.2] - 2026-06-15

Added (sidekick-shared)

  • Assistant turn projection: Browser-safe helpers that segment a provider-normalized assistant turn into a compact, UI-ready Process + Answer shape. segmentAssistantTurn() keeps only the final contiguous text run as answer and moves earlier narration, tool calls, and reasoning into process.steps / reasoningBlocks — adjacent tool calls collapse into grouped toolGroup steps, and process/reasoning are length-capped (with an "N omitted" marker) while the answer stays uncapped. assistantTurnEventsFromSessionEvents() adapts canonical SessionEvent[] into the turn-event stream the segmenter consumes, and extractTurnSubagents() / reasoningSummary() / isAssistantTurnSubagentTool() cover Claude Task subagent refs and bold-heading reasoning summaries. Task tool inputs are projected without leaking the prompt — only subagent_type and description survive. The mirrored Zod schemas (assistantTurnProjectionSchema, assistantTurnEventSchema, assistantTurnProcessStepSchema, assistantTurnSubagentSchema, and friends) validate the shape at UI/IPC boundaries, and the whole module is exposed fs-free via the sidekick-shared/browser and sidekick-shared/schemas subpaths

[0.19.1] - 2026-06-09

Added (sidekick-shared)

  • Zod boundary schemas: Runtime validation for the data shapes that cross process/IPC boundaries — quota (quotaStateSchema, quotaWindowSchema, providerQuotaStateSchema, claudeProviderQuotaStateSchema, codexProviderQuotaStateSchema, providerQuotaMapSchema, peakHoursStateSchema, quotaFailureDescriptorSchema), quota history (quotaHistorySampleSchema, quotaHistoryDailyBucketSchema), and account status (activeAccountStatusSchema, activeProviderAccountStatusSchema). Each is exported alongside its mirrored TypeScript type
  • extractSessionEvents() helper: Unwraps Claude Code's { type: 'progress', data: { message } } envelopes — which sessionEventSchema alone rejects — into canonical SessionEvent[]. Recurses through nested envelopes (depth-bounded at 8), returns zero events for unrecognized input, and never throws
  • sidekick-shared/schemas subpath: A dedicated entry point exposing the Zod boundary schemas without node:fs / node:path — lean enough to import into browser bundles or boundary-validation modules without dragging in the rest of the library

Changed (sidekick-shared)

  • Forgiving model-ID lookups: getModelContextWindowSize(), parseModelId(), and getModelPricing() now trim and lowercase their input, so padded or mixed-case IDs (e.g. " Claude-Opus-4-8 ") resolve without caller-side normalization. getModelPricing() still tries the verbatim ID first — preserving mixed-case LiteLLM override keys — before retrying normalized
  • sideEffects: false: The package is now marked side-effect-free so downstream bundlers can tree-shake unused exports

[0.19.0] - 2026-06-09

Added (sidekick-shared)

  • Claude Opus 4.8 & Fable 5 support: claude-opus-4-8 and claude-fable-5 (Anthropic's new Mythos-class flagship) are now recognized everywhere models are interpreted — 1M-token context windows in getModelContextWindowSize(), static pricing (Opus 4.8: $5/$25 per MTok; Fable 5: $10/$50 per MTok, with standard 1.25×/0.1× cache write/read multipliers), parseModelId() recognizes the fable family, shortModelName() renders "Fable", and model pickers rank Fable above Opus

Changed (sidekick-shared)

  • Codex account switching now swaps ~/.codex/auth.json: Switching Codex accounts previously only updated the Sidekick registry pointer and relied on CODEX_HOME redirection, so codex terminals outside Sidekick never saw the switch. switchToCodexAccount() now mirrors the Claude switch pattern — it syncs the live (rotated) tokens back into the matching profile backup, then atomically swaps the target profile's auth.json into the system ~/.codex/ home, with rollback on failure. Live credentials are never overwritten by a staler copy of the same account (Codex rotates refresh tokens; resurrecting an old one permanently invalidates the login). Profile directories under ~/.config/sidekick/accounts/codex/profiles/ are now pure credential backups — resolveSidekickCodexHome() always returns the system home — and finalizeCodexAccount() activates freshly added accounts through the same swap. A one-time startup reconciliation migrates installs created under the old dual-home model; unknown live credentials are stashed, never dropped

Fixed (sidekick-shared)

  • Opus 4.6/4.7 cost over-estimation: Dashed model IDs (claude-opus-4-6, claude-opus-4-7) used to prefix-match the claude-opus-4 pricing entry ($15/$75) instead of their actual $5/$25 rate, inflating estimated costs 3×. The static table now carries explicit dashed and dotted keys for Opus 4.6/4.7/4.8 and corrects the dotted claude-opus-4.6 entry
  • Haiku 4.5 unpriced under dashed IDs: claude-haiku-4-5-20251001 matched no static pricing key (only the dotted claude-haiku-4.5 existed), so costs rendered as "—" unless the LiteLLM catalog hydration rescued it. Dashed keys for Haiku 4.5 and Sonnet 4.5/4.6 are now in the static table
  • Temp-file cleanup in profile state writes: atomicWriteJson() now removes its .tmp file when the write or rename fails instead of leaving it behind

Changed (extension)

  • Refreshed Anthropic model tier defaults: The claude-api and opencode inference providers now resolve fast/balanced/powerful to claude-haiku-4-5 / claude-sonnet-4-6 / claude-opus-4-8. The previous defaults were retired or retiring upstream — claude-3-5-haiku-20241022 was retired in February 2026 (requests 404), and claude-sonnet-4-20250514 / claude-opus-4-20250514 retire June 15, 2026. ApiKeyClient's availability probe and shorthand mapping were updated to match
  • Fable display names: Dashboard, conversation view, and webview model labels recognize claude-fable-5; the dashboard context-window tooltip no longer claims a fixed 200K window
  • Bundled sidekick-shared 0.19.0: Account switching from the extension activates Codex profiles via the auth.json swap

Changed (CLI)

  • Codex account swap warnings: sidekick account --provider codex surfaces swap warnings on add, switch, and remove — a running codex process that needs restarting, stale credentials, or OS-keyring credential storage that Sidekick cannot swap

[0.18.5] - 2026-06-04

Added (sidekick-shared)

  • Session context evidence snapshots: New sessionContext module projects a provider-neutral view of what an assistant has "seen" in a session. buildSessionContextSnapshot() extracts layered evidence sources (system, user prompts, tool inputs/outputs, thinking) from canonical SessionEvent streams; calculateSessionContextPressure() maps token usage to a low/medium/high band (60% / 80% thresholds); createSessionContextProjector() builds snapshots incrementally; and readSessionContextSnapshot() reads them through a provider reader. New types SessionContextSnapshot, SessionContextSource, SessionContextCapabilities (observed tools, MCP servers, permission mode, rate limits), and SessionContextPressure. Exported from both sidekick-shared and sidekick-shared/browser; all three session providers (claude-code, codex, opencode) gain a readSessionContextSnapshot() method

Fixed (sidekick-shared)

  • Codex session evidence gaps: The Codex parser now emits system audit events for base instructions and developer/system messages, normalizes token_count records into system events that carry normalized rate limits, expands a single apply_patch into one Edit per file, dedupes repeated exec_command / mcp_tool_call emissions, and preserves MCP server attribution (_sidekickMcpServerName) on synthesized tool inputs. EventAggregator now understands the system event type — these events are excluded from message counts and from tool/task/plan/subagent extraction, but still contribute to system-prompt context attribution and token totals. A new ProviderReaderSessionWatcher plus parseTranscriptFromEvents() route Codex sessions through the canonical SessionEvent → transcript path for parity with the other providers
  • HTML report source labels: Transcript source labels (e.g. "base instructions", "token count", "developer") now render with a dedicated .message-source style instead of reusing the model-name badge
  • Codex stats read failures: readSessionStats now surfaces a malformed-rollout error under DEBUG instead of swallowing it silently

Changed (extension)

  • Codex parsing parity: ProjectTimelineDataService and the related extension wiring consume the canonical Codex parsing path (provider reader + parseTranscriptFromEvents), keeping the project timeline, dashboard, and reports consistent with the CLI
  • Bundled sidekick-shared 0.18.5: Picks up session context evidence snapshots and the Codex evidence gap closures

Changed (CLI)

  • Consistent Codex transcripts: sidekick dashboard and sidekick report now parse Codex sessions via parseTranscriptFromEvents(), matching the canonical event pipeline used elsewhere
  • Bundled sidekick-shared 0.18.5: Picks up session context evidence snapshots and the Codex evidence gap closures

[0.18.4] - 2026-05-27

Fixed (sidekick-shared)

  • Codex quota snapshot selection across multiple rollout files: When multiple Codex sessions report rate-limit data, the resolver now picks the snapshot from the newest reset window and, within the same window, the highest observed utilization — instead of returning whichever rollout file happened to be scanned first. New helpers isPreferredQuotaHit() and findAccountRolloutFiles() (which searches across all configured Codex home directories) replace the previous first-match return. shouldKeepExistingSnapshot() in the snapshot cache prevents a stale rollout from overwriting a higher-fidelity cached snapshot for the same reset window

Changed (sidekick-shared)

  • Peak hours scoped to Claude Code session provider: New helpers scopePeakHoursToSessionProvider(), isClaudeCodeSessionProvider(), and createPeakHoursNotApplicableState() gate peak-hours state on both the claude-max inference provider and the claude-code session provider. PeakHoursState gains an optional notApplicable field for providers where peak hours are irrelevant

Changed (extension)

  • Peak hours hidden for non-Claude Code sessions: PeakHoursService now takes a getSessionProviderId callback and requires both claude-max inference and claude-code session provider before polling. The dashboard pill and status bar glyph are suppressed for OpenCode and Codex session providers, and switching session providers triggers an immediate reconcile

Changed (CLI)

  • sidekick peak --provider <id>: New flag gates peak-hours output on the session provider. When the resolved provider is not claude-code, the command prints a "not applicable" message instead of calling the upstream endpoint. sidekick peak without --provider continues to auto-detect

Fixed (extension)

  • Codex quota fallback on dashboard open: When no live Codex session provides quota and the dashboard is opened or the provider switches to Codex, the dashboard now calls resolveCodexQuotaFromLocalSources() (workspace rollouts → account rollouts → snapshot cache) instead of only reading the snapshot cache directly

[0.18.3] - 2026-05-19

Added (sidekick-shared)

  • Per-workspace quota history (appendQuotaHistorySample, readQuotaHistoryRange, readQuotaHistoryDailyBuckets, pruneQuotaHistory, getWorkspaceIdFromPath): New append-only JSONL store at ~/.config/sidekick/quota-history/<workspaceId>/<provider>.jsonl. 60-second per-sample debounce, 91-day (13-week) retention, atomic prune above 16 KB, 0600 file mode and 0700 directory mode, and an in-process append chain that prevents interleaved writes from concurrent callers. Workspace ids are sha256(realpath)[0..16] so the CLI and extension agree on the same store for a given folder. Live append failures are swallowed so the quota emission path is never poisoned, and snapshot writes are mirrored so existing latest-snapshot consumers keep working unchanged
  • CodexQuotaWatcher history hook: New optional workspaceId and appendHistorySample options; when workspaceId is provided, every live Codex quota emit also appends a sample to the per-workspace history

Added (CLI)

  • sidekick quota history: New subcommand that renders a 13-week GitHub-contributions-style heatmap of quota utilization for the current workspace. Flags: --weeks <n> (1-26, default 13), --provider claude|codex (default both), --workspace <path> (default cwd). Bucketed glyphs (· ░ ▒ ▓ █) are color-coded by utilization band (≤0 / <25 / <50 / <75 / ≥75), with per-provider rows and a peak / avg / unavailable-days / samples footer. Days that hit available: false render as a red ×. With the inherited --json flag, emits a { workspaceId, weeks, providers: { claude?, codex? }, generatedAt } payload — the same shape consumed by the VS Code dashboard

Added (extension)

  • Quota History dashboard panel: New "Quota History · Last 13 weeks · peak utilization per day" section under the quota readout. Per-provider SVG heatmap (Claude / Codex) using bucketed var(--vscode-textLink-foreground) shades, per-cell <title> tooltips (date · peak % · sample count), a red overlay for days that hit "unavailable", and a "Less / More" legend. The section auto-hides when no data exists for either provider
  • History sampling: Every Claude quota refresh from QuotaService and every Codex quota update from CodexSessionProvider now writes a sample into the shared workspace history JSONL when a workspace is open and a saved account is active. A new utils/workspaceId.ts helper wraps vscode.workspace.workspaceFolders[0]?.uri.fsPath → getWorkspaceIdFromPath so the extension and CLI hash the same path to the same id

[0.18.2] - 2026-05-19

Added (sidekick-shared)

  • Codex quota orchestrator (resolveCodexQuota()): New entry point that resolves Codex rate-limit data in a single call with a configurable source: 'local' | 'api' | 'auto'. The local path walks the workspace's most recent Codex rollout, then recent account-level rollouts under CODEX_HOME/sessions, then the account-scoped snapshot cache; api calls Codex's ChatGPT wham/usage endpoint first with a local fallback; auto tries local first and falls back to the API. Helpers resolveCodexQuotaFromLocalSources(), readLatestCodexQuotaFromRollouts(), and fetchCodexQuotaFromApi() are also exported for callers that need finer control
  • Codex quota types: CodexQuotaApiOptions, CodexQuotaCreditsSnapshot, CodexQuotaResolveOptions, and CodexQuotaResolveSource are exported alongside the new functions
  • Provider-specific quota metadata on QuotaState: Optional limitId, limitName, credits, planType, and rateLimitReachedType fields propagate through quota snapshots, so callers can render plan, limit, and "rate limit reached" reasons without re-parsing upstream payloads

Added (CLI)

  • sidekick quota --refresh: New flag on the quota command that, for Codex, explicitly refreshes from the ChatGPT usage API before falling back to local rollout data and cached snapshots. Without the flag, the Codex quota path stays fully local and makes no upstream network call

Changed (CLI)

  • Codex quota is local-only by default: sidekick quota --provider codex now uses the new resolveCodexQuota orchestrator and only consults local sources (current workspace rollout → account-level rollouts → cached snapshot) unless --refresh is passed. Failure output still includes structured failureKind / httpStatus / retryAfterMs fields under --json

Changed (sidekick-shared)

  • CodexRateLimits accepts nullable reset fields: primary.resets_at, secondary.resets_at, primary.window_minutes, and secondary.window_minutes are now number | null | undefined, matching the live Codex usage API payload. quotaFromCodexRateLimits() normalizes nullish percentages and timestamps and accepts an additional 'api' source value alongside 'session' / 'cache'
  • CodexQuotaWatcher falls back to local rollouts: When the active workspace has no live Codex rollout, the watcher now consults resolveCodexQuotaFromLocalSources() (workspace + account-level rollouts) before falling back to the account-scoped snapshot cache. New optional maxTailBytes / maxSessionFiles knobs cap the work done while scanning rollouts

Fixed (sidekick-shared)

  • Codex state_N.sqlite discovery: CodexDatabase and the provider auto-detector now match both state.sqlite and versioned state_N.sqlite filenames (preferring the most recently modified DB). Fresh Codex CLI installs that no longer write a plain state.sqlite are now detected and read correctly
  • JsonlSessionWatcher emits rate-limit-only token_count events: When a Codex token_count payload carries rate_limits but no last_token_usage / total_token_usage, the watcher now still emits a system event with the rate limits attached (summary Rate limits updated). Quota updates can no longer be swallowed just because the same record has no token-usage delta

[0.18.1] - 2026-05-08

Added (sidekick-shared)

  • Shared display formatting (formatTokenCount(), formatDurationMs()): Single source of truth for compact token (12.5k / 1.2M) and duration (5m 30s) rendering, now exported from the root, sidekick-shared/browser, and sidekick-shared/formatting entrypoints — so CLI, webview, and downstream consumers no longer fork their own helpers
  • Raw JSONL tailing (createJsonlTail()): Offset-tracked incremental JSONL reads with optional Zod validation, debounced fs.watch plus catch-up polling, and a post-batch callback that lets aggregation-driven consumers defer expensive UI/metric updates until parsing for a chunk is complete

Changed (VS Code extension)

  • Public shared imports: Extension code now consumes supported sidekick-shared entrypoints instead of reaching into dist/*. The local JsonlParser file is a compatibility shim over the shared parser/extractors, removing the forked implementation
  • Shared display formatting: Status bar, session summary, analysis prompt, handoff document, and bundled dashboard webview now reuse the shared token, duration, and cost helpers. Webview dashboard token cards render compact 12.3k / 1.2M totals (previously 12,345); status bar and tooltip helpers continue to use uppercase K/M

Changed (CLI)

  • Shared dashboard formatting: Terminal dashboard fmtNum() and formatDuration() now delegate to the shared helpers, preserving the existing CLI surface (uppercase K/M, compact 1m5s style) while removing duplicated rounding logic

[0.18.0] - 2026-05-08

Added (sidekick-shared)

  • Provider-aware quota orchestration (MultiProviderQuotaService): Coordinates Claude polling, peak-hours enrichment, account labels, transient-failure backoff, and optional Codex quota watcher updates behind one typed { claude?, codex? } event stream — replacing ad-hoc per-provider polling wiring in downstream consumers
  • Codex quota watcher (CodexQuotaWatcher): Discovers the active Codex rollout for a workspace, watches it for live rate-limit updates, persists account-scoped snapshots, and falls back to cached or unavailable states when no live data exists
  • Account status helper (getActiveAccountStatus()): Single-pass read of active Claude Code and Codex account status for startup and setup flows
  • Tool-call extraction helper (extractToolCall()): Extracts a top-level tool_use event, complementing the existing extractToolCalls() assistant-content-block helper
  • Cost provenance & model display helpers: calculateCostWithProvenance() and mergeCostSources() preserve whether a cost was provider-reported, locally estimated, or unpriced for honest UI rollups. shortModelName(), getModelDisplayInfo(), compareModelIds(), and sortModelIds() provide reusable display and ranking primitives
  • Phrase categories (PHRASE_CATEGORIES): Exposes the category structure behind the existing flat ALL_PHRASES array

Changed

  • Legacy Claude model parsing: parseModelId() now recognizes legacy IDs such as claude-3-opus-20240229 and claude-3-5-sonnet-20241022 (version before family) in addition to the modern claude-{family}-{version}-... form
  • Version sync: VS Code extension and CLI bumped to 0.18.0 in lockstep with the shared library to keep release tags aligned. No runtime behavior change in the extension or CLI in this release; downstream wiring of MultiProviderQuotaService and CodexQuotaWatcher will land in a follow-up release

[0.17.7] - 2026-04-28

Fixed

  • Quota snapshot write race: sidekick-shared now writes cached quota snapshots through a unique temp file per write and cleans up partial writes on error, preventing concurrent Codex quota updates from colliding on quota-snapshots.json.tmp and emitting ENOENT during active sessions when the VS Code extension and CLI update quota at the same time

[0.17.6] - 2026-04-19

Added

  • Claude peak-hours indicator: Sidekick now surfaces Anthropic's peak-hours schedule (weekdays 13:00–19:00 UTC — session limits drain faster on Free/Pro/Max/Team subscriptions). Shown subtly in the VS Code dashboard (orange pill, only during an active peak) and the status bar (🟠 glyph). In the CLI: new sidekick peak one-shot command, plus peak info appended to sidekick status (for claude-code) and sidekick quota (for Claude subscriptions). Gated on the Claude Max inference provider so OpenCode / Codex / API-key users never see the indicator or make the upstream call. Data comes from the public promoclock.co/api/status endpoint — a third-party tracker unaffiliated with Anthropic. See the new Peak Hours guide for schedule details, settings, and privacy posture
  • New settings: sidekick.peakHours.enabled (default true) and sidekick.peakHours.notifyOnTransition (default false, opt-in toast when peak starts or ends)

[0.17.5] - 2026-04-18

Added

  • Default account auto-registration: On first startup, Sidekick now auto-registers the active system Claude Code and Codex credentials as a "Default" account in the shared account registry — without overwriting accounts saved manually. Quota and analytics surfaces that rely on the account registry now work out of the box instead of requiring an explicit Save Current Claude Account / sidekick account --add first. Exposed from sidekick-shared as ensureDefaultAccounts(), wired into CLI startup (via a non-blocking Commander preAction hook so --version / --help stay fast) and into VS Code extension activation. Idempotent — repeated calls never create duplicates

Thanks to @B33pBeeps (Juan Fourie) for contributing this feature in #16.

[0.17.4] - 2026-04-17

Added

  • sidekick-shared packaging split: New stable subpath entries — sidekick-shared/browser for pure, filesystem-free helpers safe in webview/browser bundles (context-window lookup, model parsing, cost math), and sidekick-shared/node for Node-only pricing hydration. Plus convenience subpaths sidekick-shared/phrases, sidekick-shared/modelContext, and sidekick-shared/modelInfo
  • Typed exports map on sidekick-shared: Downstream consumers now resolve the new subpaths cleanly with per-entry types + default conditions. Existing sidekick-shared/dist/* deep imports keep working via a compat entry, so nothing breaks in this release
  • Webview import guard (VS Code extension): ESLint no-restricted-imports rule scoped to src/webview/** prevents Node-only code from being pulled into browser bundles through a future refactor

Changed

  • Pricing hydration call sites migrated to /node: The VS Code extension host and the CLI now import hydratePricingCatalog from sidekick-shared/node instead of deep dist/* paths or the root. Runtime behavior unchanged; imports now self-document that the code is Node-only

[0.17.3] - 2026-04-17

Changed

  • Changelog hygiene: Republish of 0.17.2 after removing a stray empty ## [Unreleased] heading that was bundled into the 0.17.2 VS Code extension .vsix. No behavioral or code changes — functionally identical to 0.17.2

[0.17.2] - 2026-04-17

Added

  • LiteLLM pricing hydration: Extension and CLI fetch the LiteLLM pricing catalog on startup and cache it to ~/.config/sidekick/pricing-catalog.json with a 24h TTL, 3s timeout, and stale-cache fallback. New model prices land between releases
  • Expanded pricing coverage: GPT-4o, GPT-4.1, GPT-5.x, o1, o3, and o3-mini are now priced alongside the existing Claude entries
  • Reasoning-token billing: OpenAI reasoning tokens are now priced at the output rate
  • Provider-omitted cost computation: EventAggregator computes cost from the pricing table when the provider doesn't report it — the CLI dashboard now shows real dollars for Claude Code and Codex sessions
  • New VS Code settings: sidekick.pricing.hydrateFromLiteLLM (default true) and sidekick.pricing.cacheTtlHours (default 24)

Fixed

  • Context-window % wrong for Opus 4.7 (and other new models): The dashboard and status bar now report accurate context usage for Claude Opus 4.7, Sonnet 4.7, GPT-5.4, and GPT-5.3-Codex variants. The model → context-window map in sidekick-shared now includes these families (Opus 4.7 = 1M, Sonnet 4.7 = 1M, GPT-5.4 = 1.05M, GPT-5.3-Codex = 400K, GPT-5.3-Codex-Spark = 128K) instead of falling through to 200K via prefix match. Also honors Claude Code's [1m] suffix as an explicit 1M marker
  • Silent Sonnet-priced fallback for unknown models: Codex, GPT-5.x, and o-series sessions were being billed at Sonnet rates, silently inventing a dollar figure. Unknown models now return null cost and render as — (yellow in the CLI; footer warning + * on totals in the VS Code dashboard)

Changed

  • historical-data.json schema v2: adds optional priced flag on ModelUsageRecord and unpricedModelIds on SessionSummary. Fix-forward only — v1 records still read correctly, no migration required

[0.17.1] - 2026-04-13

Fixed

  • Codex multi-home session discovery: Provider detection and session monitoring now scan all candidate Codex home directories (managed profile + system ~/.codex/) instead of only the active managed profile, fixing missed sessions when the managed profile home has no activity

[0.17.0] - 2026-04-13

Added

  • Multi-provider account registry: Account management is now provider-aware — each provider (Claude Code, Codex) maintains its own active account with independent switching, stored in a v2 registry format that auto-migrates from v1
  • Codex profile management: Full lifecycle for Codex accounts — prepare, finalize, switch, and remove profiles with isolated CODEX_HOME directories per account
  • Quota snapshot caching: Cached rate-limit snapshots per provider/account in ~/.config/sidekick/quota-snapshots.json for offline fallback with "cached from" indicators
  • VS Code multi-provider account UI: Switch Account, Add Account, and Remove Account commands now work for both Claude Code and Codex — with guided login flow for Codex profiles
  • CLI multi-provider account commands: sidekick account --provider codex for Codex account management with --add, --switch-to, and --remove by email, label, or ID

Fixed

  • Account type safety: Added type guards and typed overloads to AccountService, removing unsafe type assertions from extension commands
  • Email normalization: CLI Claude account lookup now normalizes email case for reliable matching
  • Codex monitoring recovery: restartCodexMonitoring failures are now handled gracefully instead of propagating

[0.16.1] - 2026-03-27

Fixed

  • Provider status scoping: VS Code and CLI dashboards now scope degraded-service notices to the monitored session provider — Claude status for Claude Code, OpenAI status for Codex, and no provider-status banner for OpenCode
  • Cross-platform account tests: sidekick-shared account tests now mock credential I/O instead of depending on platform-specific credential stores, restoring green test runs on macOS

[0.16.0] - 2026-03-23

Added

  • Shared library: Zod schemas for runtime JSONL event validation (sessionEventSchema, messageUsageSchema, sessionMessageSchema)
  • Shared library: Token usage & tool call extractors — pure functions extractTokenUsage() and extractToolCalls() for single-event processing
  • Shared library: Model info & pricing — getModelInfo(), calculateCost(), formatCost() ported from VS Code extension into shared module
  • Shared library: Typed JSONL parser — optional schema parameter on JsonlParser for Zod-validated parsing
  • Shared library: QuotaPoller class — reusable polling with exponential backoff, active/idle intervals, and cached fallback
  • VS Code: Tool result pairing — Tool Inspector now shows truncated tool outputs (read content, bash stdout, search results) paired with each tool call
  • VS Code: Recursive subagent tree — Subagent tree view now displays nested parent/child relationships using trace-based parsing
  • CLI: Consistent cost formatting — all cost displays now use shared formatCost() with intelligent decimal precision

Changed

  • VS Code: ModelPricingService now delegates to sidekick-shared/modelInfo (reduced from 256 to ~50 lines)
  • CLI: QuotaService rewritten to wrap shared QuotaPoller instead of manual polling loop
  • CLI: modelContext now re-exports getModelInfo from shared library

[0.15.2] - 2026-03-18

Fixed

  • CLI help descriptions: Updated quota and status command descriptions to reflect provider-aware behavior
  • sidekick quota --provider: Added local --provider option so sidekick quota --provider codex works without requiring the flag before the subcommand

[0.15.0] - 2026-03-18

Added

  • OpenAI status page monitoring: The CLI dashboard and VS Code extension now poll OpenAI's status page alongside Claude's, showing incidents and degraded components for Codex users
  • Codex rate limits as first-class quota: Codex CLI rate-limit data (from token_count event streams) now displays in the VS Code dashboard quota section, CLI Sessions panel, and sidekick quota command — with provider-aware labels ("Rate Limits" vs "Subscription Quota") throughout

Fixed

  • QuotaService polling for non-Claude providers: QuotaService.start() no longer runs for Codex sessions, preventing failed OAuth calls from overwriting valid rate-limit data

[0.14.2] - 2026-03-16

Fixed

  • Quota polling interval: Reduced quota refresh from every 30 seconds to every 5 minutes in both the VS Code extension and CLI dashboard to avoid unnecessary API calls
  • SessionsPanel detailWidth() call: Removed unused parameter from detailWidth() in the CLI Sessions panel
  • Extension type fixes: Fixed null assertion on sessionMonitor and improved Promise typing in the connection test flow

Added

  • Provider status dashboard message: New updateProviderStatus message type for pushing provider status updates to the dashboard webview

[0.14.1] - 2026-03-14

Fixed

  • Per-model context window sizes: Claude Opus 4.6 and Sonnet 4.6 now correctly report 1M context windows instead of 200K. Context gauge, status bar, and session summaries show accurate utilization percentages for all models
  • Missing model: Added claude-haiku-4-5 to the context window lookup table

Changed

  • Centralized model context map: Consolidated three duplicate model-to-context-size maps (in claudeCode.ts, openCode.ts, codex.ts, and the CLI dashboard) into a single canonical getModelContextWindowSize() function in sidekick-shared
  • Dynamic context window override: All three providers (Claude Code, OpenCode, Codex) now support runtime-reported context window limits via setDynamicContextWindowLimit(), allowing accurate context sizing when the same model has different limits per subscription tier or access method

[0.14.0] - 2026-03-12

Added

  • Native Multi-Account Switching: Save, list, and switch between multiple Claude Code accounts from within Sidekick — no more manual claude login / logout cycles. Accounts are stored in ~/.config/sidekick/accounts/ with atomic writes, strict file permissions, and rollback-on-failure safety
  • Shared Account Manager (sidekick-shared): New accounts.ts module with addCurrentAccount(), switchToAccount(), removeAccount(), listAccounts(), getActiveAccount(), and readActiveClaudeAccount() — consumed by both the VS Code extension and CLI
  • VS Code Account Commands: Three new commands — Sidekick: Save Current Claude Account, Sidekick: Switch Claude Account (QuickPick), and Sidekick: Remove Claude Account — with automatic auth client reset and quota refresh on switch
  • Account Status Bar: New status bar item (visible when 2+ accounts are managed) showing the active account label or email, with click-to-switch
  • Account Switching in Status Bar Menu: The main Sidekick status bar menu now shows Switch Account or Save Current Account when the inference provider is Claude Code
  • CLI sidekick account Command: Manage accounts from the terminal — --add, --label, --switch, --switch-to <email>, --remove <email>, and --json output
  • CLI Quota Account Label: sidekick quota now shows the active account email above the quota bars when multi-account is enabled
  • macOS Keychain Support: Credential I/O now reads and writes Claude Code's active credentials via the system Keychain on macOS (where Claude Code stores them), instead of assuming ~/.claude/.credentials.json on all platforms. Fixes account switching, quota checks, and account saving on macOS

[0.13.8] - 2026-03-12

Added

  • Structured quota failure metadata: fetchQuota() now classifies unavailable states with failureKind, httpStatus, and retryAfterMs, so first-party consumers and external callers can distinguish auth failures, network errors, rate limits, server failures, and unexpected API responses without parsing human-readable strings
  • Shared quota failure presentation helper: First-party consumers now share a common describeQuotaFailure() helper for consistent quota error copy, severity mapping, retryability hints, and stable alert keys

Changed

  • CLI quota UX: sidekick quota and the CLI dashboard now render structured quota failure states with clearer auth/rate-limit/server copy, show unavailable quota inline in the Sessions panel, and fire low-noise transition-based quota toasts instead of relying on raw error strings
  • VS Code quota UX: The dashboard now renders structured unavailable quota states, shows lightweight dashboard toasts on new quota failure transitions, and stores those alerts in dashboard notification history without using native VS Code popup notifications

[0.13.7] - 2026-03-11

Changed

  • CLI npm README sync: Updated the published CLI package README to match the current OpenCode monitoring guidance, including platform-specific data directories and the sqlite3 runtime requirement
  • DeepWiki badge cleanup: Removed Ask DeepWiki badges from documentation pages and the published CLI package README while keeping the repo root README badge intact

[0.13.6] - 2026-03-11

Changed

  • Refreshed CLI Dashboard Wordmark: Updated the CLI dashboard wordmark/header styling for a cleaner, more intentional branded splash experience

Fixed

  • OpenCode DB-backed monitoring: Manual selection now accepts synthetic db-sessions/<projectId> folders, and workspace discovery now resolves OpenCode projects by worktree, sandboxes, and session directory instead of silently falling back to legacy file paths
  • OpenCode runtime notices: VS Code and CLI now show OpenCode-only actionable notices when opencode.db exists but sqlite3 is missing, blocked, or otherwise unusable in the current environment

[0.13.5] - 2026-03-10

Added

  • Provider Status Monitoring: New fetchProviderStatus() in sidekick-shared polls status.claude.com for API health — returns indicator, affected components, and active incidents with graceful fallback on network errors
  • CLI sidekick status Command: One-shot command with color-coded text output and --json mode for checking Claude API status
  • CLI Dashboard Status Banner: Status bar shows a colored ● API minor/major/critical indicator when Claude is degraded; Sessions panel Summary tab shows affected components and active incident details
  • VS Code Dashboard Status Banner: Dashboard gauge row shows a color-bordered banner with indicator, affected components, and incident link when Claude API is degraded; hidden when all systems are operational

[0.13.4] - 2026-03-08

Fixed

  • Onboarding Phrase Spam: Motivational phrase on splash screen and detail pane no longer changes every render tick (~80ms) — memoized so it stays stable until a meaningful state change (fixes #13)

Changed

  • Simplified CLI Logo: Replaced 6-line ASCII robot art with a compact 1–2 line text header across splash, help, and changelog overlays — renders cleanly in all terminals
  • Removed Dead Branding Exports: Removed unused getSplashContent() and HELP_HEADER from branding module

[0.13.3] - 2026-03-04

Changed

  • Shared Task Tracking Consolidation: Moved task lifecycle logic (TodoWrite, UpdatePlan, Agent/Task spawn, goal gate detection) from VS Code SessionMonitor into the shared EventAggregator — CLI and shared library consumers now get full task tracking out of the box
  • Shared parseTodoDependencies Export: Dependency-parsing utility for OpenCode todos now exported from sidekick-shared for external use

Fixed

  • Task Deduplication: addBlockedBy and addBlocks arrays no longer accumulate duplicate entries on repeated TaskUpdate calls
  • Active Task Tracking: Active task ID now correctly cleared when a task transitions from in_progress to another status (was only cleared on delete)
  • TaskCreate Error Handling: Failed TaskCreate tool calls (error results) no longer create phantom tasks in the tracked state
  • Goal Gate Re-evaluation: Goal gate status re-evaluated after every TaskUpdate, not just on initial creation
  • Task Timestamps: TaskCreate timestamps now preserved from the tool_use event rather than always using the result timestamp

[0.13.2] - 2026-03-04

Added

  • Shared Library npm Publication: sidekick-shared published to npm as a standalone package — provides types, parsers, providers, readers, formatters, aggregation, search, reporting, credentials, and quota for building tools on top of Sidekick session data
  • CI/CD Publish Shared Job: Release workflow now includes a publish-shared job that lints, tests, builds, and publishes sidekick-shared to npm before the CLI publish step
  • Shared Library Issue Templates: Bug report and feature request templates now include a "Shared Library (sidekick-shared)" component checkbox

[0.13.1] - 2026-03-04

Added

  • CLI sidekick quota Command: One-shot subscription quota check showing 5-hour and 7-day utilization with color-coded progress bars and reset countdowns — supports --json for machine-readable output
  • Quota Projections: Elapsed-time projections shown alongside current utilization in the CLI quota command, TUI dashboard, and VS Code dashboard — projects end-of-window usage based on linear extrapolation (e.g., 40% → 100%)

[0.13.0] - 2026-03-03

Added

  • VS Code Toast Notifications: Dismissable toast notifications in the dashboard webview with aria-live for screen readers — copying a CLAUDE.md suggestion now shows "Copied to clipboard" feedback
  • VS Code Reduced Motion Support: prefers-reduced-motion media queries across all webviews — animations and transitions disabled when OS-level setting is enabled
  • VS Code Keyboard Navigation for Explain Panel: Complexity level selector is now a proper segmented control with role="tablist" and roving tabindex — Arrow, Home, and End keys navigate between levels
  • VS Code Improved Focus Indicators: Focus-visible outlines upgraded to 2px with positive offset across all webviews for better keyboard navigation visibility
  • VS Code ARIA Landmarks: Explain and Error panels use semantic <main>, role="region", aria-live, role="status", role="alert", and aria-label attributes throughout
  • VS Code Theme-Aware Gauge Colors: Context usage gauge reads colors from VS Code theme CSS variables instead of hardcoded RGB values
  • VS Code Redesigned Explain Panel: Complexity selector replaced with a unified segmented control (bordered pill-style bar) with smooth hover/active transitions
  • VS Code Redesigned Error Panel: Explanation sections now have color-coded left borders (red/orange/green), section icons, padded card-like backgrounds, and staggered slide-in entrance animations
  • VS Code Three-Dot Pulse Loader: Replaced spinning circle loader with a three-dot pulse animation in Explain and Error panels
  • VS Code Improved Empty States: All 7 sidebar panels have rewritten empty-state copy with icons, titles, and clearer instructions
  • VS Code Card Entrance Animations: Fade-in animations with stagger delay in Task Board, Plan Board, and Project Timeline
  • VS Code Custom Scrollbar and Selection Styling: Themed 6px scrollbars and VS Code-matching text selection colors across all webviews
  • VS Code Apply Fix Button States: Animated "Applying..." state, green "Applied" confirmation, hover lift, and active press effects
  • VS Code Narrow Viewport Support: Responsive styles for sidebar panels narrower than 260px

Changed

  • VS Code Pulse Animation Throttling: Value pulse animations in the dashboard throttled to once per 800ms per element, reducing visual noise during rapid updates
  • VS Code Inline Styles Replaced: Context health score and truncation warnings now use CSS classes instead of inline styles

Fixed

  • Codex SQL Parameter Binding: Fixed string.replace('?', ...) only replacing the first placeholder — now uses regex with sequential index counter so each ? maps to the correct parameter
  • Codex Double Filesystem Stat: Collapsed redundant existsSync + statSync calls in CodexDatabase.isAvailable() to a single statSync in try/catch

Security

  • XSS Prevention: Added escapeHtml() across all innerHTML interpolations in Dashboard, MindMap, TaskBoard, and webview scripts
  • Cryptographic CSP Nonces: Nonce generation now uses crypto.getRandomValues() instead of Math.random()
  • Command Injection Prevention: CLI discovery and version checks now use execFileSync/spawnSync instead of execSync with string interpolation
  • URL Protocol Validation: openExternal handler validates ^https?:// before opening URLs, preventing file:// and javascript: protocol attacks

[0.12.10] - 2026-03-01

Added

  • Shared FrequencyTracker: Generic LRU-bounded frequency counter for tracking tool name, event type, and keyword frequency across sessions
  • Shared HeatmapTracker: 60-minute rolling circular buffer tracking event activity intensity per minute
  • Shared PatternExtractor: Simplified Drain-style algorithm that clusters event summaries into templates (e.g. Read src/<*>.ts) to surface repetitive tool patterns
  • Shared EventHighlighter: Keyword-based semantic syntax highlighting for event content — errors red, success green, warnings yellow, actions cyan, file paths magenta, HTTP status/method coloring — with blessed, ANSI, and HTML output formats
  • Shared AdvancedFilter: Four filter modes — substring, fuzzy, regex, and date range — with search-term highlighting
  • CLI Events Panel (key 7): Scrollable live event stream with type badges, timestamps, and highlighted summaries; detail tabs for full event JSON and surrounding context
  • CLI Charts Panel (key 8): Tool frequency bars, event distribution, 60-minute activity heatmap (░▒▓█), and pattern analysis with frequency bars
  • CLI Multi-Mode Filter: / filter overlay now supports substring, fuzzy, regex, and date modes — Tab cycles modes, regex mode shows validation errors
  • CLI Search Term Highlighting: Active filter terms highlighted in side list items
  • VS Code Analytics Charts: Tool frequency bar chart, event distribution doughnut chart, activity heatmap grid, and event patterns section in the dashboard webview — theme-safe with runtime CSS variable resolution
  • VS Code Event Stream Tree View: Live sidebar tree showing color-coded session events with type icons, timestamps, and ring buffer of 200 events
  • Tests for FrequencyTracker, HeatmapTracker, PatternExtractor, EventHighlighter, and AdvancedFilter

Changed

  • Shared EventAggregator: Now tracks tool frequency, word frequency, event patterns, and heatmap buckets via the new aggregation primitives
  • CLI Timeline Highlighting: Event summaries in the Sessions panel Timeline tab now use semantic keyword coloring

Removed

  • CLI Search Panel: Removed redundant Search panel (previously key 7) — the / filter serves the same purpose with better multi-mode support

[0.12.9] - 2026-02-28

Added

  • VS Code Hourly Drill-Down: Clicking a day bar in the dashboard historical chart now shows per-hour token/cost breakdown
  • VS Code Content Security Policy: CSP nonce added to the Generate HTML Report webview (security hardening)
  • VS Code setSessionProvider Command: sidekick.setSessionProvider now discoverable in the Command Palette
  • VS Code Notification Toggles: New notification trigger toggles for sensitive-path-write and cycle-detected in Settings
  • VS Code Offline Assets: Chart.js and D3.js bundled locally — dashboard and mind map now work offline (no CDN dependency)
  • VS Code ARIA Accessibility: ARIA attributes across 6 webview panels (Dashboard, MindMap, ToolInspector, TaskBoard, PlanBoard, ProjectTimeline) — tab roles, live regions, toggle states, and labeled icon buttons
  • CLI Standalone Data Commands: sidekick tasks, sidekick decisions, sidekick notes, sidekick stats, sidekick handoff for accessing project data without launching the TUI
  • CLI sidekick search <query>: Cross-session full-text search from the terminal
  • CLI sidekick context: Composite output of tasks, decisions, notes, and handoff for piping into other tools
  • CLI --list flag on sidekick dump: Discover available session IDs before requiring --session <id>
  • CLI Search Panel: Search panel (panel 7) wired into the TUI dashboard
  • Shared HourlyData type and getHourlyData(): New method in HistoricalDataService for hourly breakdowns
  • 125 tests for EventAggregator (1,579 lines of core logic, previously 0 test coverage)
  • 17 tests for CompletionCache
  • 19 tests for BurnRateCalculator
  • 18 tests for tokenEstimator
  • 57 tests for diffFilter

Changed

  • VS Code Cancellable AI Operations: Long-running AI operations (test connection, commit message, docs, explain, error analysis, inline completions) are now cancellable via the progress notification
  • VS Code sidekick.inlineTimeout deprecated: Use sidekick.timeouts.inlineCompletion instead (legacy setting still honored as fallback)
  • VS Code Completion Hint Settings: showCompletionHint and completionHintDelayMs settings now properly wired (were previously ignored)
  • CLI taskMerger utility: Duplicate mergeTasks logic extracted into shared taskMerger utility
  • CLI Model Constants: Hardcoded model IDs extracted to named constants

Fixed

  • VS Code stopMonitoring disposable leak: Fixed disposable leak on repeated stop/restart cycles
  • VS Code Production Build: esbuild production builds now run in parallel (faster builds)
  • CLI convention icon: Notes panel icon replaced with valid tip type
  • CLI Linux Clipboard: Now supports Wayland (wl-copy) and xsel fallbacks, with error messages instead of silent failure
  • CLI provider.dispose(): Added to dump and report commands (prevents SQLite connection leaks)

[0.12.8] - 2026-02-28

Added

  • VS Code Design Token System: Shared design tokens (getDesignTokenCSS(), getSharedStyles()) providing consistent spacing, typography, radius, color, transition, and elevation variables across all 5 webview panels
  • Micro-interactions: tab fade-in, timeline slide-in, progress bar shimmer, active status pulse, value update flash animation
  • Dashboard visual hierarchy: tier dividers, group summaries when collapsed, count badges, accent borders on expanded sections
  • Card hover micro-lift, active plan/session glow, section title opacity treatment
  • Skeleton loading states replacing text-only loading messages
  • Shared component tokens applied to headers, status badges, icon buttons, and cards across Dashboard, MindMap, TaskBoard, PlanBoard, and ProjectTimeline providers

Changed

  • CLI Dashboard UI/UX Polish: Visual overhaul of the TUI dashboard for better hierarchy, consistency, and readability
  • Splash screen and help overlay now display the robot ASCII logo (matching the changelog overlay)
  • Toast notifications show severity icons (✘ error, ⚠ warning, ● info) with inner padding
  • Focused pane uses double-border (╔═╗║╚═╝) for clear focus indication
  • Section dividers (── Title ────) replace bare bold headers throughout the summary, agents, and context attribution views
  • Tab bar: active tab underlined in magenta, inactive tabs dimmed, bracket syntax removed
  • Status bar: segmented layout with left (brand), center (provider/events), and right (keybindings) zones using │ separators; keys bold, labels dim
  • Summary metrics condensed: elapsed/events/compactions on one line, tokens on one line with cache rate and cost, bold values with dim labels
  • Sparklines now display peak metadata annotations
  • Progress bars use blessed color tags for consistent coloring
  • Help overlay uses dot-leader alignment (key ···· description) for all keybinding rows
  • Empty state hints per panel (e.g. "Tasks appear as your agent works.")
  • Session picker groups sessions by provider with section headers when multiple providers are present

[0.12.7] - 2026-02-27

Added

  • HTML Session Report: Self-contained HTML report with full transcript, token/cost stats, model breakdown, and tool-use summary — zero external dependencies
  • Transcript parser extracts user/assistant/system messages with thinking blocks, tool calls, and tool results from JSONL session files
  • Stats cards show total tokens, cost, duration, and model usage at a glance
  • Collapsible thinking blocks and tool detail sections for readability
  • Dark/light theme support
  • VS Code: Sidekick: Generate HTML Report command, also available as "HTML Report" option in Dump Session
  • CLI: sidekick report command with --output, --theme, --no-open, and --no-thinking flags
  • TUI Dashboard: press r to generate and open an HTML report for the current session

Changed

  • Code quality pass: Simplified ternary expressions, replaced var with const/let, deduplicated repeated logic across DashboardViewProvider, MindMapViewProvider, and shared library modules

[0.12.6] - 2026-02-26

Added

  • Session Introspection Pipeline: New analysis layer for deep session inspection
  • Noise classifier filters irrelevant tool events (system reminders, sidechains) from analysis
  • Tool summarizer aggregates tool events into concise summaries
  • Debug log parser extracts structured data from Claude Code debug logs
  • Session activity detector classifies session state (active, idle, stalled)
  • Subagent trace parser for analyzing subagent execution chains
  • Session path resolver discovers related files (debug logs, plan files, JSONL) for a session
  • Session Dump Command: Export session data in text, markdown, or JSON format
  • VS Code: Sidekick: Dump Session command (Command Palette, status bar, toolbar)
  • CLI: sidekick dump command with --format, --width, and --expand options
  • Shared formatters ensure identical output between VS Code and CLI
  • Plans Panel Re-enabled: Plans UI restored in both VS Code and CLI
  • parsePlanMarkdown() now handles simple bullet points (- Step, * Step)
  • Plan file discovery reads from ~/.claude/plans/ via session slug cross-reference
  • Plans panel re-enabled in CLI dashboard as fallback data source
  • OpenCode & Codex Provider Improvements:
  • OpenCode model tier mapping (tiers resolve to concrete model IDs instead of being dropped)
  • Codex subagent scanning via forked_from_id (database + filesystem)
  • getCurrentUsageSnapshot() for real-time token tracking on Codex and Claude Code
  • New Phrase Categories: 3 new categories (25 phrases each) — Rubber Duck, Dependency Hell, Stack Overflow

Fixed

  • Destructive command false positives: /dev/null, /dev/stdout, /dev/stderr redirects no longer trigger destructive command alerts
  • Old snapshot format migration: Restoring sessions from pre-0.12.3 snapshots no longer shows empty timeline entries — field names are now migrated from old format

Changed

  • Phrase library deduplicated: Moved ~1,300 lines of identical phrase content from CLI and VS Code into sidekick-shared as a single source of truth (net -1,231 lines of duplication)

[0.12.5] - 2026-02-24

Fixed

  • CLI update check too slow to notice new versions: Reduced npm registry cache TTL from 24 hours to 4 hours so upgrade notices appear sooner after a new release

[0.12.4] - 2026-02-24

Fixed

  • Session crash on upgrade: Fixed d.timestamp.getTime is not a function error when restoring tool call data from session snapshots — Date objects were serialized to strings by JSON but not rehydrated on restore, causing the session monitor to crash on first run after upgrading from 0.12.2 to 0.12.3

[0.12.3] - 2026-02-24

Added

  • Unified Session Aggregation Layer: Types, parsers, DB wrappers, and aggregation logic extracted from the VS Code extension into sidekick-shared, so both the extension and CLI consume a single implementation
  • EventAggregator provides tokens, tools, tasks, subagents, plans, context attribution, compaction, burn rate, and latency tracking for any consumer
  • Snapshot sidecar persistence for fast session resume — avoids replaying the full event log on reconnect
  • Net reduction of ~4,100 lines of duplicated code across the three packages
  • Loading Indicator: Status bar shows a loading spinner during initial session replay so it's clear the dashboard is catching up
  • Latest-Node Indicator: The most recently added node is visually marked
  • VS Code mind map: subtle pulse animation on the latest D3 node
  • CLI mind map: yellow marker on the latest tree/boxed node
  • Plan Analytics: Agent plans are now a first-class, analytically-rich data type across the VS Code extension and CLI
  • Enriched plan data model: Plan steps track complexity (low/medium/high), timing, token usage, tool call counts, cost, and error messages
  • Complexity detection: Automatic classification from explicit markers ([high], [low]) and keyword heuristics (refactor → high, fix → low)
  • Mind Map enrichments (VS Code): Plan step nodes color-coded by complexity (red=high, yellow=medium, green=low), sized by token usage, enriched tooltips
  • CLI plan display: Tree and boxed mind map views show progress bars, per-step metrics, and completion stats
  • Cross-provider plan extraction: Shared PlanExtractor handles Claude Code, OpenCode, and Codex plans — CLI no longer ignores Claude Code and OpenCode plans
  • Handoff integration: Session handoff documents include a "Plan Progress" section with completed/remaining steps
  • Plan-to-cost attribution: Per-step dollar cost via ModelPricingService
  • Mind Map Legend Interaction (VS Code): Legend items are now clickable and hoverable
  • Hover highlights all nodes of that category; everything else fades
  • Click locks the highlight in place; click again to clear
  • Mind Map Phase Grouping (VS Code): Plan steps with phases are grouped under intermediate phase nodes with sequential inter-phase links
  • CLI Node Type Filter: Press f on the Mind Map tab to cycle through node type filters — non-matching sections render dimmed

Fixed

  • Kanban board regression: Subagent and plan-step tasks now correctly appear in the kanban board — previously they were lost during the aggregation refactor
  • First-load performance (VS Code): Suppressed hundreds of wasteful UI update events during initial session replay, making the first load noticeably faster

Changed

  • Plan UI surfaces temporarily disabled: Dashboard Plan Progress/History sections, Plans sidebar panel (VS Code), Plans panel (CLI), and plan persistence are disabled until plan-mode event capture is reliably working end-to-end. Plan nodes in the mind map remain active.
  • CLI DashboardState now delegates to shared EventAggregator instead of maintaining its own aggregation logic

[0.12.2] - 2026-02-23

Added

  • CLI update notifications: The CLI dashboard now checks npm for newer versions on startup (cached for 24h) and shows a yellow banner in the status bar when an update is available
  • Extension CLI version check: When opening the CLI dashboard from VS Code, the extension checks if the installed CLI version is outdated and offers a one-click update

[0.12.1] - 2026-02-23

Fixed

  • CLI dashboard launch from VS Code: Fixed exit code 127 when launching the CLI dashboard via the "Open CLI Dashboard" command on systems using nvm, volta, or other Node version managers. The terminal now injects the CLI's bin directory into PATH so the node binary is found when shell init is bypassed by shellPath.
  • CLI discovery for nvm users: Added nvm installation paths (~/.nvm/versions/node/*/bin/) to the common path scan so the CLI is discovered without relying on which.
  • GitHub Release assets: The .vsix extension file is now attached to each GitHub Release for direct download.

[0.12.0] - 2026-02-22

Added

  • Truncation Detection: Detects when agent tool outputs are silently truncated by the runtime
  • Scans every tool result for 6 known truncation markers ([Response truncated, content_too_long, <response clipped>, etc.)
  • Dashboard shows total truncation count and per-tool breakdown with warning indicator
  • Truncation events recorded on SessionStats for handoff and summary consumption
  • Files with 3+ truncated outputs automatically surfaced as knowledge note candidates (gotcha type)
  • Context Health Monitoring: Tracks context fidelity as compactions degrade the conversation
  • Fidelity score starts at 100% and decreases with each compaction event based on count and reclaimed percentage
  • Color-coded dashboard gauge: green (70-100%), yellow (40-69%), red (below 40%)
  • Handoffs include a "Context Health Warning" section when fidelity drops below 50%
  • Score available on SessionStats.contextHealth for downstream consumers
  • Goal Gates: Automatic detection and visual flagging of critical tasks
  • Tasks flagged when matching critical keywords (CRITICAL, MUST, blocker, required, etc.) or blocking 3+ other tasks
  • isGoalGate property on TaskCard, PersistedTask, and TaskSummaryItem
  • Kanban board: red left border and warning badge on goal-gate cards
  • Mind map: isGoalGate property on task nodes for distinct visual treatment
  • Tasks pending across multiple sessions auto-flagged as goal gates in TaskPersistenceService
  • Incomplete goal gates get a dedicated section in handoff documents
  • Cycle Detection: Identifies when agents enter repetitive tool-call loops
  • Sliding-window algorithm (cycleDetector.ts) with configurable window size (default: 10 calls)
  • Detects repeating patterns of length 1-3 with 2+ repetitions via signature hashing
  • VS Code warning notification with affected file list when cycles are detected
  • Throttled to 60-second intervals to avoid notification spam
  • SessionAnalyzer emits cycle_detected inefficiency type
  • Mind map marks cycling files with isCycling indicator (checked at 6 and 10-call windows)
  • Comprehensive test suite for the detection algorithm
  • "Open CLI Dashboard" VS Code Command: New command Sidekick: Open CLI Dashboard launches the Sidekick TUI dashboard in a VS Code terminal, providing quick access to session monitoring without leaving the editor
  • Install the CLI separately with npm install -g sidekick-agent-hub

Fixed

  • retry_loop inefficiency detection: Now properly emits when consecutive fail-retry pairs are detected on the same tool and target (previously counted failures but never produced inefficiency entries)
  • command_failure inefficiency detection: Now correctly filters to only failed Bash calls and emits when the same base command fails 3+ times

[0.11.0] - 2026-02-19

Added

  • Knowledge Notes System: Capture reusable knowledge (gotchas, patterns, guidelines, tips) attached to files with lifecycle tracking
  • Manual Notes: Select code, right-click → "Add Knowledge Note", choose type (gotcha, pattern, guideline, tip), enter content
  • Gutter Icons: Distinct SVG icons per note type appear in the editor gutter next to annotated lines
  • Hover Tooltips: Hover over gutter icons to see note content, type, status, and importance
  • Tree View: "Knowledge Notes" panel in the Session Monitor sidebar groups notes by file with click-to-navigate
  • Staleness Lifecycle: Notes transition through active → needs review (30 days) → stale (90 days) → obsolete (file deleted), with importance-weighted decay
  • Auto-Extraction: Repeated errors on the same file, recovery patterns, and file-specific guidance suggestions automatically generate candidate notes in the dashboard for review
  • Auto-Surfacing: Active knowledge notes for touched files are injected into GuidanceAdvisor analysis prompts to avoid duplicate suggestions
  • Mind Map Integration: Active notes appear as amber nodes linked to their file nodes (or session root if file not in graph)
  • CLAUDE.md Injection: New command Sidekick: Inject Knowledge Notes appends a ## File-Specific Knowledge section to your instruction file
  • Note Management: Right-click notes in the tree view to edit (content, type, importance), delete, or confirm (reset staleness)
  • Persisted in ~/.config/sidekick/knowledge-notes/{projectSlug}.json
  • New commands: Sidekick: Add Knowledge Note, Edit Knowledge Note, Delete Knowledge Note, Confirm Knowledge Note
  • Multi-Session Project Timeline: Chronological view of all sessions in the current project
  • Session Cards: Each session displayed as a card with label, relative time, duration, and message count
  • Duration Bars: Visual bar proportional to session length relative to the longest session
  • Metadata Badges: Token count, task count, error count, and model name shown as color-coded badges
  • Time Range Filtering: Toggle between 24h, 7d, 30d, and All ranges
  • Expandable Details: Click a session card to load and display tool usage breakdown, task list, and error summaries
  • Open in Dashboard: Click the open button on any session to load it in the Session Analytics dashboard
  • Auto-Refresh: Timeline updates on session start/end and debounced (10s) on token usage events
  • Registered as "Project Timeline" webview in the Session Monitor sidebar

[0.10.3] - 2026-02-19

Added

  • Mind Map Circular Layout: Toggle between the organic force-directed layout and a clean static circular layout
  • New "Circular" button in the mind map header to switch layout modes
  • Session node centered with peripheral nodes arranged on a circle, grouped by type and sorted alphabetically
  • Curved bezier links between peripheral nodes, straight radial spokes from session to peripherals
  • Smooth 600ms animated transitions when toggling between layouts
  • Drag disabled in circular mode; zoom and pan still work
  • "Reset Layout" recalculates circular positions when in circular mode
  • New data arriving in circular mode snaps to recalculated positions
  • Window resize recalculates layout in both modes

[0.10.2] - 2026-02-19

Fixed

  • Notification replay on session load: Notification triggers (destructive command, credential access, compaction, token threshold) no longer fire for historical events when a session is first loaded — only live events trigger notifications
  • SubagentScanner log spam: "Directory does not exist" message now logs once per path instead of every 2-second poll cycle

[0.10.1] - 2026-02-19

Fixed

  • Fixed broken image references in Marketplace README (old asset filenames replaced with current ones)
  • Updated Marketplace keywords to reflect multi-provider rebrand

[0.10.0] - 2026-02-18

Added

  • Multi-Provider Inference: Support for OpenCode and Codex CLI as inference providers alongside Claude Max and Claude API
  • New sidekick.inferenceProvider setting with auto-detection based on installed CLI agents
  • Provider auto-detection picks the most recently active agent via filesystem timestamps
  • "Switch Inference Provider" command and status bar quick-pick
  • Multi-Provider Session Monitoring: Monitor sessions from OpenCode (~/.local/share/opencode/) and Codex CLI (~/.codex/sessions/)
  • New sidekick.sessionProvider setting with auto-detection
  • Each provider normalizes raw data into a common ClaudeSessionEvent format
  • Model Resolver with Tier System: Unified model selection via tiers (fast/balanced/powerful) with auto-detection per feature
  • "auto" resolves to a per-feature default tier (e.g., inline completions → fast, transforms → powerful)
  • Legacy names (haiku/sonnet/opus) map through LEGACY_TIER_MAP
  • Tiers map to provider-specific model IDs via DEFAULT_MODEL_MAPPINGS
  • Session Handoff System: Provider-aware context handoff documents for seamless session continuation
  • Configurable via sidekick.autoHandoff setting: off, generate-only, generate-and-notify
  • Targets the correct instruction file per provider (CLAUDE.md, AGENTS.md, etc.)
  • Stored in ~/.config/sidekick/handoffs/
  • Cross-Session Task Persistence: Tasks from Kanban board persist across sessions in ~/.config/sidekick/tasks/{projectSlug}.json
  • Decision Log Extraction: Tracks and persists architectural decisions from sessions in ~/.config/sidekick/decisions/{projectSlug}.json
  • Event Logging Audit Trail: Optional JSONL event logging for debugging
  • New settings: sidekick.enableEventLog, sidekick.eventLogMaxSizeMB, sidekick.eventLogMaxAgeDays
  • Stored in ~/.config/sidekick/event-logs/
  • Plan Visualization: Step nodes with status indicators in mind map view
  • Documentation Site: Material for MkDocs documentation with GitHub Pages deployment

Changed

  • Rebranded from "Sidekick for Max" to "Sidekick Agent Hub"
  • Removed RSVP Speed Reader feature
  • Deprecated sidekick.authMode in favor of sidekick.inferenceProvider (auto-migration on first activation)

Fixed

  • Codex CLI: replaced @openai/codex-sdk with direct CLI spawning for reliable inference
  • Multiple provider parity fixes for OpenCode and Codex CLI

[0.9.1] - 2026-02-15

Added

  • Subagent Cards on Kanban Board: Spawned subagents (via the Task tool) now appear as cards on the Kanban board
  • Each subagent spawn creates an "In Progress" card with the agent's description as the title
  • Cards show agent type chip (e.g. "Explore", "Plan", "Bash") with cyan accent
  • Cards move to "Completed" when the subagent finishes (or are removed on failure)
  • Visually distinguished from regular tasks with a cyan left border
  • Header summary shows separate counts (e.g. "3 tasks, 2 agents")

Fixed

  • Kanban board refresh on subagent completion: Board now updates immediately when a subagent finishes instead of waiting for the next tool call

[0.9.0] - 2026-02-14

Added

  • Context Token Attribution: Stacked bar chart in the dashboard showing where your context window budget goes
  • Classifies tokens into 7 categories: System Prompt, CLAUDE.md, User Messages, Assistant Responses, Tool Inputs, Tool Outputs, Thinking
  • Helps identify what's consuming context (e.g., large tool outputs, verbose CLAUDE.md)
  • Updates in real-time as the session progresses
  • Notification Triggers: Configurable alerts for concerning Claude Code activity
  • Built-in triggers: .env/credential file access, destructive commands (rm -rf, git push --force), tool error bursts, context compaction
  • Token threshold alerts when cumulative usage exceeds a configurable limit
  • Fires VS Code notifications so you can monitor autonomous sessions
  • New settings: sidekick.notifications.enabled, sidekick.notifications.triggers.*, sidekick.notifications.tokenThreshold
  • Compaction Detection: Context compaction events (summary type) are now processed and visualized
  • Shows compaction markers in the activity timeline
  • Tracks context size deltas so you know how much was lost
  • Timeline Search & Filtering: Full-text search within the activity timeline
  • Search input with instant client-side filtering across all events
  • Timeline cap removed during search so all events are searchable
  • Filter toggles for message noise classification (system reminders, sidechain detection)
  • Conversation Viewer: Full editor tab showing the complete session conversation
  • Chat-style rendering with user (blue), assistant (green), tool (collapsible), and compaction chunks
  • Built-in search for finding content within the conversation
  • New command: Sidekick: View Session Conversation
  • Cross-Session Search: Search across all Claude Code sessions in ~/.claude/projects/
  • VS Code QuickPick interface with debounced search and context snippets
  • Icons per event type (user, assistant, tool_use)
  • Click results to open the session file
  • New command: Sidekick: Search Across Sessions
  • Rich Tool Call Inspector: Full editor tab with specialized tool call rendering
  • Read: file path with range info
  • Edit: inline diff-style display (red deletions, green additions)
  • Bash: formatted command with description
  • Grep/Glob: search parameters
  • Filter buttons by tool type, expandable detail panels
  • New command: Sidekick: Open Tool Inspector

Improved

  • Message Noise Classification: Timeline now respects the isSidechain flag and filters system metadata
  • Heuristic detection for system reminders, permission checks, and noise events
  • Filter toggles in the dashboard to show/hide noise
  • Enhanced Subagent Visualization: Subagent tree now shows richer metrics
  • Per-agent token usage (input + output) with "42K tok" display
  • Duration tracking ("1m 23s")
  • Parallel execution detection (agents with overlapping timestamps shown with layers icon)
  • Stats enriched from SubagentFileScanner token extraction
  • Tool Analytics Drill-Down: Clicking a tool analytics row now shows individual tool calls with timing and metadata

[0.8.5] - 2026-02-14

Fixed

  • Accurate cost estimation: Session costs now use actual per-model input/output/cache token breakdown instead of a 50/50 approximation — affects Dashboard, Session Summary, and historical exports
  • Toggle command persistence: Sidekick: Toggle now updates the sidekick.enabled config so the inline completion provider respects the toggle state
  • XSS hardening in RSVP reader: Replaced innerHTML with DOM API in the word display to prevent injection from user-selected text
  • Session re-initialization: Stop Monitoring now passes workspaceState when re-creating the SessionMonitor, preserving custom session path persistence
  • Overly broad completion filter: The however conversational pattern no longer rejects valid code completions containing the word "however" mid-line — now only matches conversational "However," at the start of a line
  • COLUMN_ORDER mismatch: Removed stale 'deleted' column from the Task Board inline script that never received data from the extension
  • SVG in binary filter: Removed .svg from BINARY_EXTENSIONS in the diff filter — SVG is text-based XML and should be included in diffs
  • JSDoc default mismatch: Corrected truncateDiffIntelligently docs from "defaults to 3500" to the actual default of 8000
  • Timer leak on dispose: Dashboard now clears _richerPanelTimer timeout on dispose

Improved

  • Shared utilities extraction: Consolidated 6 duplicate getNonce() implementations, 2 duplicate extractTaskIdFromResult() implementations, and scattered markdown fence-stripping regexes into shared modules (utils/nonce.ts, utils/taskHelpers.ts, utils/markdownUtils.ts)
  • Type safety: Replaced (block as any) casts with a proper isTypedBlock() type guard in SessionMonitor; typed handleTokenUsage parameter in MonitorStatusBar; resolved WebviewMessage name collision by renaming to DashboardWebviewMessage and RsvpWebviewMessage
  • Dead code removal: Removed always-true ternary in TaskBoard, unused _pendingMode/_pendingComplexity fields in RsvpViewProvider, and identical if (language === 'python') branch in DocumentationService
  • Dependency direction: Moved analysis types (AnalyzedError, ToolPattern, etc.) from services/SessionAnalyzer to types/analysis.ts so utility modules no longer import from services
  • Event deduplication: seenHashes pruning now retains 75% of entries (was 50%) to reduce re-processing window during high-throughput sessions
  • Polling guard: TempFilesTreeProvider 2-second subagent scan now skips when no session is active

[0.8.4] - 2026-02-14

Improved

  • Collapsible Session Navigator: The Sessions panel in the dashboard sidebar is now collapsible
  • Click the header to expand/collapse the session list
  • Expanded by default; chevron rotates to indicate state
  • Pin, Refresh, and Browse buttons remain independently clickable

[0.8.3] - 2026-02-10

Improved

  • Dashboard UX polish: Improved layout and feedback for the Session Summary and Session tabs
  • Moved "Generate AI Narrative" button to top of Summary tab, immediately after the metrics row, so it's visible without scrolling
  • Added progress notification with time estimate when generating narratives (VS Code notification + inline spinner with "~15-30s" message)
  • Reorganized Session tab from one monolithic "Session Details" section into three thematic groups:
    • Session Activity — Activity Timeline, File Changes, Errors
    • Performance & Cost — Model Breakdown, Tool Analytics, Tool Efficiency, Cache Effectiveness, Advanced Burn Rate
    • Tasks & Recovery — Task Performance, Recovery Patterns
  • Promoted richer panels (Task Performance, Cache, Recovery, etc.) from nested collapsibles to always-visible sections within their group — one click to expand, no double-expand needed

[0.8.2] - 2026-02-07

Added

  • Kanban Board: TaskCreate/TaskUpdate activity now appears in a dedicated Kanban view
  • Groups tasks by status with real-time updates
  • Collapsible columns with hidden-task summaries

[0.8.1] - 2026-02-07

Fixed

  • Mind map layout recovery for dense subagent graphs (#8)
  • Added a Reset Layout control to rebuild the D3 simulation and recenter on the main session node without refreshing the view
  • Tuned force behavior to keep clusters compact and readable (localized many-body repulsion, adaptive link distance/collision spacing, gentle x/y centering)

[0.8.0] - 2026-02-04

Added

  • CLAUDE.md Suggestions: AI-powered session analysis for optimizing Claude Code usage
  • Analyzes session patterns to detect recovery strategies (when Claude gets stuck and how it recovers)
  • Generates best practices and suggestions for your CLAUDE.md file
  • Progress UI with collapsible suggestion panels in the dashboard
  • Helps you learn from your own Claude Code sessions

Changed

  • Refactored prompts to use XML tags for better AI instruction structure

[0.7.10] - 2026-02-03

Added

  • Historical Analytics: Retroactive data import from existing Claude Code sessions
  • Import token usage, costs, and tool statistics from completed sessions
  • Enables trend analysis across multiple sessions
  • Response Latency Tracking: Real-time latency metrics in dashboard
  • Track request-to-response timing for Claude API calls
  • Visualize latency trends over the session
  • Task Nodes in Mind Map: Task tool calls visualized as distinct nodes
  • Spawned Task agents appear as nodes with their descriptions
  • Shows task type and status in the mind map
  • Dashboard UX: Improved metric button layout and sizing
  • Better visual hierarchy for metric controls
  • More consistent button sizing across the dashboard

[0.7.9] - 2026-02-02

Fixed

  • Custom folder session auto-discovery: Fixed automatic detection of new sessions (e.g., after /clean) when monitoring a custom folder
  • performNewSessionCheck() now respects the custom session directory instead of always using the workspace path

[0.7.8] - 2026-02-02

Added

  • Mind Map: Directory & Command Nodes: Grep/Glob and Bash tool calls now show their targets in the mind map
  • Directory nodes (brown) show paths searched by Grep/Glob tools
  • Command nodes (red) show command types executed by Bash (git, npm, docker, etc.)
  • Tooltips display detailed context:
    • Directory nodes show search patterns used (e.g., *.ts, TODO)
    • Command nodes show actual commands executed (e.g., npm install, git status)
  • Node sizes scale with usage frequency
  • Mind Map: Auto-Focus on Activity: Mind map automatically pans to show new activity
  • Focuses on newly added nodes or the latest tool-to-file/URL connection
  • Preserves user's zoom level while adjusting pan position
  • Smooth easing animation for comfortable viewing

Fixed

  • Custom folder new session detection: Browsing to a custom folder now properly detects new sessions when Claude Code starts
  • Previously, discovery polling used the workspace path instead of the custom directory
  • Now correctly watches and polls the custom directory for new sessions
  • Entering discovery mode (waiting for session) works correctly with custom paths
  • Folder picker prioritization: The "Browse Session Folders" list now prioritizes the current VS Code workspace
  • Exact workspace match appears first
  • Subdirectories of the workspace appear next
  • Other folders sorted by most recent activity
  • Session dropdown custom folder: Session dropdown now correctly shows sessions from the selected custom folder instead of the workspace folder

[0.7.7] - 2026-02-02

Added

  • Browse Session Folders: Manually select any Claude project folder to monitor, regardless of workspace path
  • New "Browse..." button in the Session Analytics dashboard next to the session dropdown
  • Command palette: "Sidekick: Browse Session Folders..." to browse all Claude project folders in ~/.claude/projects/
  • Shows decoded human-readable paths, session counts, and last activity time
  • Selection persists across VS Code restarts (stored per-workspace)
  • Custom path indicator shows when using a manually selected folder
  • "Reset to Auto-Detect Session" command to clear custom selection and revert to workspace-based discovery
  • Useful when Claude Code is running in a subdirectory or different path than your VS Code workspace
  • Token Usage Tooltips: Hover over token metrics to see quota projections and estimated time to exhaustion
  • Activity Timeline Enhancements: Claude's text responses now visible in the activity timeline alongside tool calls
  • Mind Map Subagent Visibility: Spawned Task agents now appear as distinct nodes in the mind map visualization
  • Dynamic Node Sizing: Mind map nodes scale based on content length for better visual hierarchy
  • Latest Link Highlighting: Most recent connections in the mind map are visually emphasized
  • Line Change Statistics: Files Touched tree view and mind map now show +/- line change counts

Fixed

  • Git Repository Detection: Improved detection for nested git repositories

[0.7.6] - 2026-01-31

Added

  • Subscription Quota Display: View Claude Max subscription usage limits directly in the Session Analytics dashboard
  • Two semi-circular gauges showing 5-hour and 7-day quota utilization
  • Color-coded thresholds: green (<50%), orange (50-79%), red (≥80%)
  • Countdown timers showing when each quota resets (e.g., "Resets in 2h 15m")
  • Reads OAuth token from Claude Code CLI credentials (~/.claude/.credentials.json)
  • Auto-refreshes every 30 seconds when dashboard is visible
  • Gracefully hidden when using API key mode or no OAuth token available

[0.7.5] - 2026-01-30

Fixed

  • Subdirectory session discovery: Session monitoring now finds Claude Code sessions started from subdirectories of the workspace (#7)
  • When VS Code workspace is /project but Claude Code starts from /project/packages/app, the extension now correctly discovers and monitors that session
  • Uses prefix-based matching with most-recently-active selection when multiple subdirectory sessions exist
  • Prevents false positives (e.g., /project won't match /project-v2)
  • Added subdirectoryMatches and selectedSubdirectoryMatch to session diagnostics for debugging

[0.7.4] - 2026-01-30

Added

  • Mind Map URL Nodes: WebFetch and WebSearch calls now appear as clickable nodes in the session mind map
  • URLs display as cyan nodes showing the hostname (e.g., example.com)
  • Search queries display truncated query text
  • Click URL nodes to open in your default browser
  • Click search query nodes to search Google
  • File nodes remain clickable to open in VS Code editor
  • Visual feedback with pointer cursor and hover brightness effect

[0.7.3] - 2026-01-29

Added

  • Timeout Manager: Centralized, context-aware timeout handling across all AI operations
  • Configurable timeouts per operation type (inline completion, transform, commit message, etc.)
  • Auto-adjustment based on context/prompt size
  • Progress indication with cancellation support
  • "Retry with longer timeout" option when requests timeout
  • New Settings:
  • sidekick.timeouts.inlineCompletion: Timeout for inline completions (default: 15s)
  • sidekick.timeouts.transform: Timeout for code transforms (default: 60s)
  • sidekick.timeouts.commitMessage: Timeout for commit message generation (default: 30s)
  • sidekick.timeouts.documentation: Timeout for documentation generation (default: 30s)
  • sidekick.timeouts.explanation: Timeout for code explanations (default: 45s)
  • sidekick.timeouts.errorExplanation: Timeout for error explanations (default: 30s)
  • sidekick.timeouts.inlineChat: Timeout for inline chat (default: 60s)
  • sidekick.timeouts.preCommitReview: Timeout for pre-commit review (default: 60s)
  • sidekick.timeouts.prDescription: Timeout for PR description generation (default: 45s)

Changed

  • All AI services now use TimeoutManager for consistent timeout behavior
  • Added AbortSignal support to completion options for proper request cancellation

[0.7.2] - 2026-01-29

Fixed

  • Session path encoding on Windows/Mac: Fixed issue where session monitoring couldn't find Claude Code sessions on some systems (#6)
  • Improved path encoding to handle colons, slashes, and underscores correctly
  • Added 3-strategy discovery fallback when computed path doesn't match
  • Added session directory to diagnostics command for debugging

[0.7.1] - 2026-01-29

Fixed

  • Silent timeout on inline completions: Completions that timed out would silently fail with no user feedback (#5)
  • Now shows a warning notification when requests timeout, with options to open settings or view logs
  • Added TimeoutError class that survives the error chain for proper identification
  • Other completion errors now also show user-friendly messages

Added

  • New Setting: sidekick.inlineTimeout - Configurable timeout for inline completions (default: 15s, was hardcoded 30s)
  • Increase if you frequently experience timeouts when Claude servers are slow
  • Range: 5-120 seconds

Changed

  • Reduced default inline completion timeout from 30s to 15s for faster feedback when servers are slow

[0.7.0] - 2026-01-29

Added

  • Claude Code Session Monitor: A comprehensive real-time analytics dashboard for monitoring Claude Code sessions
  • Session Analytics Dashboard: Track token usage, costs, and session activity in a dedicated sidebar panel
    • Real-time token consumption and cost tracking with model-specific pricing
    • Context window gauge showing input/output token usage vs. limits
    • Session selector dropdown to switch between active and recent sessions
    • Activity timeline displaying user prompts, tool calls, errors, and subagent spawns
    • Tool analytics with categorization (file operations, search, bash commands, etc.)
    • Automatic session discovery when Claude Code starts new sessions
  • Mind Map Visualization: Interactive D3.js force-directed graph showing session structure
    • Visualizes conversation flow, tool usage, and file relationships
    • Interactive nodes for exploring how Claude navigates your codebase
    • Real-time updates as the session progresses
  • Latest Files Touched: Tree view showing files modified during Claude Code sessions
    • Quick access to recently edited files
    • Shows file status (created, modified, deleted)
  • Subagents Tree: Monitor spawned Task agents during complex operations
    • Track subagent status (running, completed, failed)
    • View subagent prompts and results
  • Status Bar Metrics: Real-time session status in the VS Code status bar
    • Shows active session indicator and quick access to dashboard
  • New Commands:
    • Sidekick: Open Session Dashboard - Open the analytics dashboard
    • Sidekick: Start Session Monitoring - Begin monitoring Claude Code sessions
    • Sidekick: Stop Session Monitoring - Pause monitoring
    • Sidekick: Refresh/Find Session - Discover new sessions
  • Activity Bar Integration: New "Session Monitor" icon in the activity bar with all monitoring views
  • New Setting:
  • sidekick.enableSessionMonitoring: Enable/disable Claude Code session monitoring (default: true)

Technical

  • Added JSONL parser with line buffering for efficient session log parsing
  • Added session path resolver for cross-platform Claude Code directory detection
  • Added model pricing service with accurate per-token cost calculation
  • Added burn rate calculator for token consumption tracking

[0.6.0] - 2026-01-26

Added

  • Generate Documentation: Automatically generate JSDoc/docstrings for functions, classes, and methods

  • Press Ctrl+Shift+D (Cmd+Shift+D on Mac) with cursor in a function

  • Supports all major languages (TypeScript, JavaScript, Python, etc.)
  • Configurable model via sidekick.docModel (default: haiku)

  • Explain Code: Get AI-powered explanations for selected code

  • Press Ctrl+Shift+E (Cmd+Shift+E on Mac) with code selected

  • Five complexity levels: ELI5, Curious Amateur, Imposter Syndrome, Senior, PhD Mode
  • Rich webview panel with markdown rendering
  • Regenerate with custom instructions
  • Configurable model via sidekick.explainModel (default: sonnet)

  • Error Explanations: Understand and fix errors with AI assistance

  • Lightbulb quick action on diagnostics: "Explain Error with AI"

  • "Fix Error with AI" command applies suggested fixes directly
  • Five complexity levels for explanations
  • Configurable model via sidekick.errorModel (default: sonnet)

  • Quick Ask (Inline Chat): Ask questions about code without leaving the editor

  • Press Ctrl+I (Cmd+I on Mac) to open quick input

  • Ask questions or request code changes
  • Diff preview for proposed changes with Accept/Reject
  • Context-aware: uses selected code or cursor context
  • Configurable model via sidekick.inlineChatModel (default: sonnet)

  • Pre-commit AI Review: Review your changes before committing

  • Click the eye icon in Source Control toolbar

  • AI analyzes staged/unstaged changes for issues
  • Highlights bugs, security concerns, code smells
  • Results shown as inline decorations in editor
  • Configurable model via sidekick.reviewModel (default: sonnet)

  • PR Description Generation: Generate pull request descriptions automatically

  • Click the PR icon in Source Control toolbar

  • Analyzes all commits on your branch vs base branch
  • Generates summary, change list, and test plan
  • Copies to clipboard, ready to paste
  • Configurable model via sidekick.prDescriptionModel (default: sonnet)

  • Context Menu Submenu: All Sidekick commands organized under "Sidekick" submenu

  • Quick Ask, Generate Docs, Explain Code, Explain Error, Fix Error, Transform, RSVP Reader

  • Complexity level submenus for Explain Code and RSVP Reader

  • Completion Hint: Visual indicator suggesting AI completion shortcut

  • Shows hint at cursor after typing stops

  • Configurable delay via sidekick.completionHintDelayMs (default: 1500ms)
  • Toggle via sidekick.showCompletionHint (default: true)

Fixed

  • Claude CLI path resolution: Fixed "Claude Code native binary not found" error when Claude is in PATH but not in common installation directories (#4)
  • Now uses which (Unix) or where (Windows) to resolve the absolute path
  • Better error messages with installation instructions

Changed

  • Shortened "Explain Code" command title for cleaner context menus
  • Bidirectional integration between Explain Code and RSVP Reader (read explanations in RSVP mode)

[0.5.0] - 2025-01-24

Added

  • RSVP Reader: Speed reading with AI-powered explanations for selected text
  • Select text and press Ctrl+Shift+R (Cmd+Shift+R on Mac) to open the RSVP Reader panel
  • Word-by-word display with ORP (Optimal Recognition Point) highlighting reduces eye movement and increases reading speed
  • Adjustable reading speed from 100-900 WPM with real-time controls
  • Five AI explanation complexity levels:
    • ELI5 - Complete beginner explanations with simple analogies
    • Curious Amateur - Learning mode with defined technical terms
    • Imposter Syndrome - Fill knowledge gaps, assume basic familiarity (default)
    • Senior - High-level summary, skip basics, highlight key details
    • PhD Mode - Expert-level analysis without simplification
  • Dual content modes: Toggle between original text and AI-generated explanation
  • Two reading modes: RSVP (word-by-word) or full-text scrollable view
  • Context menu integration: Right-click selected text → "Sidekick: RSVP Reader" submenu
  • Rich keyboard controls:
    • Space: Play/Pause
    • Left/Right arrows: Navigate words
    • Up/Down arrows: Adjust speed (±50 WPM)
    • R: Restart from beginning
    • O: Toggle original/explanation
    • F: Toggle full-text mode
  • Regenerate explanations with custom instructions
  • Intelligent content classification (prose/technical/code) for tailored explanations
  • VS Code theme-aware UI with dark/light mode support
  • New Settings:
  • sidekick.rsvpMode: Default reading mode (direct/explain-first)
  • sidekick.explanationComplexity: Default AI explanation level
  • sidekick.explanationModel: Model for explanations (haiku/sonnet/opus, default: sonnet)

[0.4.0] - 2025-01-21

Added

  • AI Commit Message Generation: Generate commit messages from your staged changes with a single click
  • Sparkle button in Source Control toolbar triggers generation
  • Analyzes git diff to create contextual commit messages
  • Supports Conventional Commits format or simple descriptions (sidekick.commitMessageStyle)
  • Configurable model selection (sidekick.commitMessageModel, defaults to Sonnet)
  • Default guidance setting for consistent commit style (sidekick.commitMessageGuidance)
  • Regenerate with custom guidance (e.g., "focus on the bug fix", "make it shorter")
  • Automatically filters out binary files, lockfiles, and generated code from diff analysis
  • Intelligent diff truncation at file boundaries for large changesets
  • New Settings:
  • sidekick.commitMessageModel: Model for commit messages (haiku/sonnet/opus, default: sonnet)
  • sidekick.commitMessageStyle: Format style (conventional/simple, default: conventional)
  • sidekick.commitMessageGuidance: Default guidance applied to all commit messages
  • sidekick.showCommitButton: Toggle visibility of the commit message button

[0.3.2] - 2025-01-21

Added

  • Custom Claude CLI path setting (sidekick.claudePath): Specify a custom path to the Claude CLI executable for non-standard installations (pnpm, yarn, volta, etc.)
  • Auto-detection of common CLI paths: Extension now checks common installation locations (pnpm, yarn, volta, npm global, Homebrew) before falling back to PATH

Fixed

  • Fixed "Claude Code CLI not found" error for users who installed Claude CLI via pnpm, yarn, or other package managers (#3)
  • Improved error message with instructions for setting custom CLI path

[0.3.1] - 2025-01-21

Added

  • Demo GIFs in README for better feature visibility
  • Social media preview image

Fixed

  • Minor documentation improvements

[0.3.0] - 2025-01-21

Added

  • Status Bar Menu: Click the status bar to access all extension options
  • Enable/Disable completions
  • Configure Extension settings
  • View Logs
  • Test Connection
  • Set API Key
  • View Logs command: Debug completion issues with the new output channel
  • Test Connection command: Verify API connectivity before troubleshooting
  • Prose file support: Markdown, plaintext, HTML, XML, LaTeX files now automatically use multiline mode with higher character limits
  • Model display: Status bar now shows the current inline model (e.g., "Sidekick haiku")

Changed

  • Debounce default: Increased from 300ms to 1000ms for less aggressive completions
  • Improved prompts: Better prompt engineering to reduce meta-responses and improve completion quality
  • Character limits: Prose files allow up to 2000 chars (single-line) / 3000 chars (multiline); code files allow 500/800 chars

Fixed

  • Reduced "I'll complete this..." and other meta-commentary in completions
  • Better handling of code fence removal in responses
  • Improved truncation logic for long responses (truncates at logical boundaries)

[0.2.0] - 2025-01-10

Added

  • Code Transform feature: Select code and press Ctrl+Shift+M / Cmd+Shift+M to transform it
  • Independent model selection for inline completions and transforms
  • Transform uses Opus by default for highest quality
  • Context lines configuration for transforms (sidekick.transformContextLines)
  • API key authentication mode as alternative to Max subscription

Changed

  • Rebranded from "Claude Code Max" to "Sidekick for Max"
  • Inline completions use Haiku by default (fastest)
  • Transforms use Opus by default (highest quality)

[0.1.0] - 2025-01-09

Added

  • Initial release
  • Inline code completions with ghost text
  • Accept completions with Tab, dismiss with Escape
  • Manual trigger: Ctrl+Shift+Space / Cmd+Shift+Space
  • Toggle completions via status bar
  • Support for Haiku, Sonnet, and Opus models
  • Debounced completion requests
  • Request cancellation for stale completions
  • In-memory LRU cache for repeated contexts
  • Claude Max subscription integration via Claude Code CLI