Skip to content

Latest commit

 

History

History
155 lines (101 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

155 lines (101 loc) · 15.3 KB

Changelog

All notable changes to Command Center are documented here.

[Unreleased]

Added

  • Multiple Claude Code accounts - every ~/.claude-* config dir with a history.jsonl or projects/ (the CLAUDE_CONFIG_DIR=~/.claude-work claude alias pattern) is indexed alongside ~/.claude under the one Claude Code source. Rows, search results, session detail, and CLI output tag those sessions @work (named after the dir). Resume commands set the matching CLAUDE_CONFIG_DIR. The retention monitor shows one row per account with its own cleanupPeriodDays, and expiry badges use the right account's window. command-center flow folds the same project in from every account. CLAUDE_HOMES (colon-separated) overrides discovery.
  • Grok Bot provider - indexes desktop Grok Bot chats from the local sand-client-persistence replicas (~/Library/Application Support/Grok Bot). One row per sidebar agent (Hunter, MoeBot, ...). Token usage is estimated. Resume opens the Mac app (com.anysphere.sand); there is no per-chat deep link.

Improved

  • Grok Bot source colour - zinc/charcoal to match the silver-and-black app icon, instead of rose.
  • Theme follows the system - right-click the sun/moon control for System, Light, or Dark. Click still flips light and dark. System tracks the OS setting live. The icon shows the saved preference (half-circle for System) so a dark OS is not mistaken for a Dark lock.

[1.8.0] - 2026-08-02

Added

  • Session runtimes - active time per session computed from transcript timestamps at index time (Claude Code including subagent files, OpenCode, Codex). Idle gaps over 5 minutes are excluded, so wall-clock lies ("open all day") do not inflate the numbers. List rows show active time in the weight column. Sessions with a 30-minute-plus uninterrupted stretch are flagged without repeating a figure or spending a column: a session that ran straight through gets its duration tinted, while one that was broken up gets a dotted underline, with the stretch itself named in the tooltip. Session detail adds active time (plus the longest stretch when it differs); heatmap tooltips and the usage page (KPI tile + monthly Active column) roll up active hours. New POST /api/sessions/timings/backfill fills older indexed rows.

  • Standalone HTML export - an Export button on the session viewer writes the whole conversation to one self-contained HTML file (no assets, no server). Paginated sessions are fetched in full first, so the export holds the entire conversation rather than the page on screen. Defaults to the chat-only reading view with injected context folded into collapsed blocks, and opens in the reader's preferred colour scheme rather than forcing the theme it was exported from.

  • Web UI self-updater - nav version chip checks GitHub daily on dashboard load (24h server cache). Panel shows installed vs latest; Update now runs the same path as the CLI (git pull or release zip). GET /api/version, GET /api/update/check, POST /api/update. Shared app/Updater.php powers CLI and UI. COMMAND_CENTER_UPDATE_CHECK=0 disables remote checks. Release packages should use command-center.zip on the GitHub release asset (see manifest download_url).

  • In-app changelog - /changelog renders local CHANGELOG.md (linked from the version panel). GET /api/changelog.

  • Update simulation - COMMAND_CENTER_UPDATE_SIMULATE=1.8.0 (or =1 for patch+1) fakes a newer remote for local UI/CLI testing; apply is a dry-run.

Fixed

  • Dashboard load no longer degrades over a long working day - a load could take minutes, and got worse the longer a session ran. Three compounding causes. The dashboard fires five endpoints at once and each one independently walked every provider's transcript directory, so the same scan ran five times concurrently and the copies fought each other for disk; listSessions() and listProjects() now share one build through a short-lived cache in data/list-cache, with concurrent callers serialised on a lock file so the first walks and the rest read what it wrote. The heatmap's opportunistic reindex on /api/sessions/stats/daily re-read every stale transcript on every load, including the session you were actively working in, so the cost grew with the session - it now skips transcripts touched in the last five minutes, which are stale again seconds after indexing anyway (an explicit reindex or a deep search still picks them up immediately, and heatmap day counts come from the live list, not the index, so they stay exact). Measured on a 3,190-session corpus: the concurrent burst went from 8.9s to 3.4s warm, and the per-load reindex from 12.8 MB to nothing.

Improved

  • Lighter list rows - four passes at the density that had built up on the dashboard list. The source badge and the model chip merged into one chip tinted with the source colour, since the model already names the tool on ~93% of rows ("grok-4.5", "gpt-5.6-sol"); a source dot on the left rail keeps scan-by-tool colour and a fixed title start. The project label now prints only when it changes from the row above, and not at all while a project filter is active, which was repeating the same path on ~58% of rows. Byte size moved from the weight column into the row tooltip. Chips also got a hierarchy instead of one flat treatment: the identity chip is now the only bordered element on a normal row, the subagent count moved onto the chevron that expands it (a fixed-width slot, so every title starts at the same x), the agent persona reads as plain dim text, and a live session pings its own source dot rather than spending a chip on the word. Together this hands roughly 300px back to session titles, which were truncating early.
  • Grok Build rename - provider label is now "Grok Build" (was "Grok Code").
  • Grok Build measured tokens - usage prefers the last turn_completed.usage block in updates.jsonl (input/output/cache). Falls back to signals + char estimates when missing. Provider marked measured in usage views.
  • Grok Build subagent kinds - hide subagent_fork and subagent_resume from the top-level list (same as subagent).
  • Grok Build conversation replay - surface auto session_recap summaries and background task start/complete events (terminal log preview).
  • Grok Build tool map - map newer tools (update_goal, plan mode, monitor, image tools, scheduler, MCP search).
  • Grok Build session meta - context window pct/used and non-off sandbox profile in the session detail line.
  • Grok Build subagent usage fold - parent token totals sum direct child session usage (Grok does not fold bills into the parent the way Claude logs per-message usage). Fingerprint includes child updates.jsonl so nested-only activity reindexes.
  • Grok Build search text - FTS also indexes background-task descriptions and update_goal progress lines.
  • Tool labels - UpdateGoal, plan mode, image tools, and ask-user questions get proper categories and describe strings.
  • Grok Build detail meta - message count, compaction count; FTS includes nested subagent descriptions.

[1.7.0] - 2026-07-15

Added

  • Conversation pagination - large sessions load in pages of 1000 events (first/older/newer/last). Avoids freezing the browser on multi-thousand-tool Grok/Claude transcripts. Opens on page 1 (start of the conversation) and scrolls the window to the top.
  • Grok session metadata - list/detail show reasoning_effort and non-default agent_name (persona/role). Signals rollup adds duration, turn/tool counts, agent LOC, and files touched when signals.json is present.
  • GET /api/sessions/{id}/conversation returns a paginated envelope: { events, total, offset, limit, count, has_more_before, has_more_after } (limit max 1000).

Improved

  • SPA dashboard park - opening a session parks the homepage DOM (heatmap, filters, list, scroll) and restores it on back so the heatmap does not remount or refetch.
  • Index health UI - listed/indexed/skipped/stale/size moved out of the nav into a compact popover next to reindex on the dashboard (amber flag when skipped or stale).
  • Grok model chips include effort (e.g. grok-4.5 · high) via the shared model badge path.
  • Lazy tool-output markdown: results parse only when expanded.

Fixed

  • Huge session viewers no longer stream every event into the DOM via SSE (that path remains available at /stream for API use).

[1.6.0] - 2026-07-14

Added

  • Codex provider - indexes OpenAI Codex (ChatGPT desktop / VS Code) from ~/.codex: SQLite thread catalog, on-disk rollout JSONL, and session_index.jsonl. Full conversation replay (messages + tools), measured token usage from token_count events, model/effort chips, and open-app resume via com.openai.codex.

Fixed

  • Codex list unions rollouts with the SQLite catalog so ChatGPT-desktop sessions appear even when state_5.sqlite lags (common after the app merge).
  • Codex model chips use turn_context.payload.model (e.g. gpt-5.5 · medium), not bare model_provider (openai).

[1.5.0] - 2026-07-14

Added

  • Gemini CLI provider - indexes ~/.gemini/tmp chats with project path resolution, token usage where available, and retention TTL detection.
  • Session retention monitor - optional per-provider TTL policies with at-risk / expired labels on the dashboard (collapsed by default). Auto-delete remains opt-in and off by default for new providers.
  • Nested subagents - Grok, OpenCode, and Claude Code parents expand to show child agent sessions in the list and session viewer (Claude subagent counts load lazily for fast dashboard list times).
  • Estimated token usage for Command Code, T3 Code, and Grok (char-based estimates; heatmap / usage views mark them as estimated).
  • Model chips on session rows where cheap to read (Claude, OpenCode, Grok, Amp, T3 provider agent).
  • Grok live badge - green live chip when ~/.grok/active_sessions.json lists a session with a still-running PID.
  • Index coverage stats - status and reindex report listed / indexed / skipped (no fingerprint) / stale counts in the UI and CLI.
  • Resume copy recipes for OpenCode (--session) and Kimi (--session); T3 opens the desktop app with the thread title (no external deep-link yet).

Improved

  • Claude session titles: prefer first good history prompt and transcript summary over last slash-command / stub reply.
  • Claude project session counts: unique sessionIds, not every history.jsonl line.
  • Shared Helpers::projectDisplayName() so …/public workspaces show the site name across providers.
  • Command Code path decode restores real filesystem casing after lowercased encode.
  • Dashboard list performance: Claude subagent children load on expand instead of scanning every agent file on list.
  • Grok: subagent filtering, signals-based usage, and recap FTS improvements.

Fixed

  • /api/sessions/{id} no longer shadows /sessions/projects and /sessions/sources.
  • T3 Code resume no longer pretends t3code:// deep-links into a thread (desktop content scheme + pairing gate).
  • Usage charts render at natural scale; local SPA assets cache-bust so updates reach browsers.

[1.4.0] - 2026-07-11

Added

  • Usage page (/usage, linked from the nav): monthly token breakdown across providers. KPI tiles for output, fresh input, cache reads, and sessions; a per-month column chart of fresh input vs output; a separate cache-reads chart (they run ~20x larger and would flatten everything else on a shared axis); and a full per-month table of input, cache writes, cache reads, and output. Filterable by provider.
  • GET /api/sessions/stats/monthly - per-month token totals broken out by source.
  • Token formatting gains a billions tier (59.2B instead of 59187.2M).

Fixed

  • Claude Code token totals now include subagent transcripts. Usage logged by Agent tool and workflow subagents to <session-id>/subagents/ files was invisible to the index - roughly 40% of output tokens on agent-heavy months. Usage now sums across the main transcript plus all nested subagent transcripts (deduped by message id), and the session fingerprint folds subagent files in so subagent-only activity triggers re-extraction on the next reindex.

[1.3.0] - 2026-07-10

Added

  • OpenCode SQLite backend. OpenCode migrated its persistence from per-entity JSON files (storage/) to a SQLite database (opencode.db); sessions created after that migration were invisible to Command Center. The provider now reads the database when it exists (sessions, messages, parts, projects, token usage) and unions in any legacy file-tree sessions the migration missed. Installs that never migrated fall back to the file tree unchanged.

Fixed

  • OpenCode model detection: providerID/modelID live at the top level of message records, not under a model key, so every OpenCode session replay reported its model as "opencode". Real models (e.g. kimi-for-coding k2p6) now show for both database and legacy sessions.

[1.2.0] - 2026-07-10

Added

  • command-center version (and -v/--version) - show the installed version, read from the new manifest.json at the repo root. --json prints the full manifest.
  • command-center update - self-update to the latest release. Fetches the release manifest from GitHub and compares versions; git installs update via git pull --ff-only (refusing if the working tree has local changes), non-git installs download the release archive and copy it over the install. data/ is never touched. --check reports whether an update is available without installing.
  • manifest.json - release metadata (version, download URL, PHP requirement) committed with each release, following the update-check pattern used by Disembark.

[1.1.0] - 2026-07-10

Changed

  • Dark mode redesigned to match the commandcenter.run landing page: deep green-black terminal palette, dot-grid backdrop, brighter heatmap ramp, and JetBrains Mono chrome. Light mode is unchanged.
  • Body typeface switched from Inter to the system sans stack (SF Pro on macOS).

[1.0.0] - 2026-07-10

Initial public release.

Added

  • Unified session index across seven AI coding tools: Claude Code, Command Code, T3 Code, OpenCode, Kimi CLI, Antigravity, and Grok CLI - one dashboard for every conversation on your machine.
  • Deep search powered by a SQLite FTS5 full-text index over conversation content, with per-source and per-project filtering, snippets, and match highlighting.
  • Session viewer that replays any conversation - user messages, assistant text, collapsible tool-call groups, and turn summaries - with one-click copy of the CLI resume command.
  • Activity heatmap (GitHub contribution-graph style) showing sessions per day for the past year, with hover tooltips including per-day token usage. Click a day to filter the session list to it.
  • Token usage tracking for providers that record it (Claude Code, OpenCode, Kimi), stored in the search index and backfillable for existing sessions via POST /api/sessions/tokens/backfill.
  • command-center CLI - search, list sessions/projects, reindex, open a session in the browser, and flow: reconstruct how a project was built from its session transcripts (cliffnotes, forensic play-by-play, or structured JSON).
  • JSON API: sessions, projects, sources, deep search, daily stats, conversation fetch, and an SSE stream endpoint.
  • Dark mode, keyboard-friendly search, URL-persisted filters.