Skip to content

feat: Claude Code usage dashboard, Simple Coding Insights rebrand and renamed IDs - #106

Open
twentyTwo wants to merge 7 commits into
mainfrom
claude/dashboard-code-details-ats1de
Open

twentyTwo wants to merge 7 commits into
mainfrom
claude/dashboard-code-details-ats1de

Conversation

@twentyTwo

@twentyTwo twentyTwo commented Aug 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

This branch delivers the 0.8.0 release: a Claude Code usage dashboard, the extension rebrand to Simple Coding Insights, and renamed command IDs / settings keys with automatic migration.

Claude Code usage dashboard tab

Adds a "Claude Code" tab to the summary dashboard showing token usage read from Claude Code's local session transcripts: token breakdown, estimated API-equivalent cost, per-model/project/day trends, tool usage and recent sessions, with an all-projects / this-workspace scope toggle. Later enhanced with active session time excluding idle gaps, per-project and session timeline charts, and a dismissible "New feature" announcement banner.

Only usage metadata is read (token counts, model names, timestamps, tool names, cwd, git branch). Message content is never parsed, stored or transmitted, and all processing is local.

New modules keep a clean seam so the data layer and renderer stay independently reusable:

  • claudeTypes.ts: types only, zero imports — the contract between the two
  • claudeUsage.ts: discovery, streamed JSONL parsing, dedupe by message id, mtime/size cache in globalStorageUri, pricing, aggregation
  • claudeTab.ts: markup, styles and client script, rendering purely from a summary object

The tab loads lazily on first activation so the coding-time dashboard never waits on disk I/O. Cost is labelled an estimate throughout — Claude Code does not record cost and subscription plans do not bill per token.

Rebrand to Simple Coding Insights

Renames the extension display name, description, keywords, icon (icon-sctt.png → icon-sci.png) and branding across README, docs website and copilot instructions. Version bumped to 0.8.0.

Renamed command IDs and settings keys

  • All simpleCodingTimeTracker.* settings keys and command IDs renamed to simpleCodingInsights.*; command palette prefixes changed SCTT → SCI
  • One-time automatic settings migration (src/settingsMigration.ts) on activation: copies user/workspace values to the new keys and clears the old ones
  • Legacy simpleCodingTimeTracker.* command IDs remain registered as hidden aliases so existing keybindings keep working
  • Rolling back to an older version ignores the new keys (old values are cleared only after being copied)

Also

  • Fixes two pre-existing stray </div> closers that left the heatmap, search form and results markup outside .container, and syncs the stale version in package-lock.json

claude and others added 7 commits August 4, 2026 19:08
Adds a "Claude Code" tab to the summary dashboard showing token usage read
from Claude Code's local session transcripts: token breakdown, estimated
API-equivalent cost, per-model/project/day trends, tool usage and recent
sessions, with an all-projects / this-workspace scope toggle.

Only usage metadata is read (token counts, model names, timestamps, tool
names, cwd, git branch). Message content is never parsed, stored or
transmitted, and all processing is local.

New modules keep a clean seam so the data layer and renderer stay
independently reusable:
- claudeTypes.ts: types only, zero imports - the contract between the two
- claudeUsage.ts: discovery, streamed JSONL parsing, dedupe by message id,
  mtime/size cache in globalStorageUri, pricing, aggregation
- claudeTab.ts: markup, styles and client script, rendering purely from a
  summary object

Wiring into summaryView.ts is 29 insertions: import, style/markup/script
interpolation, and one message handler. The tab loads lazily on first
activation so the coding-time dashboard never waits on disk I/O.

Cost is labelled an estimate throughout - Claude Code does not record cost
and subscription plans do not bill per token. Unpriced models fall back to
a default rate and are surfaced in the UI rather than silently mispriced.

Also fixes two pre-existing stray </div> closers that left the heatmap,
search form and results markup outside .container, and syncs the stale
version in package-lock.json.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RnNwuZC8UXvpKTvQPgCU8M
Adds a Kilo Code tab alongside the Claude Code tab, reading Kilo Code's
local task logs for token usage, cost, tool calls and recent tasks
(grouped by API protocol, since Kilo Code records no per-request model
id or workspace locally). Both tabs are individually toggleable from
Settings, and a shared tab-panel/tabActivated mechanism now drives lazy
loading for any dashboard tab, not just Claude Code's.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…Code support

Rename the extension from "Simple Coding Time Tracker" to "Simple Coding Insights" to better reflect its expanded functionality, which now includes AI assistant usage tracking. As part of this rebranding and simplification, support for Kilo Code has been removed.

- Rename extension display name and commands from SCTT to SCI
- Update all documentation (README, CONTRIBUTING, TECHNICAL, and web docs)
- Remove Kilo Code usage tab, types, reader, and related settings
- Update package.json keywords and description
- Update status bar and settings view titles
- Refactor dashboard tab switching logic to support dynamic titles
…hboard

Adds sessions/tokens/cost bar charts per project and a bubble chart
timeline of recent sessions, and caps the tool-usage pie chart at 6
slices plus an "Other" bucket for readability.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Rename all simpleCodingTimeTracker.* settings keys and command IDs to
  simpleCodingInsights.* and bump version to 0.8.0
- Add automatic one-time settings migration (src/settingsMigration.ts) on
  activation; old keys are cleared after copying values
- Register hidden legacy command aliases so existing keybindings keep working
- Rename icon-sctt.png to icon-sci.png and update icon references
- Update command prefixes (SCTT -> SCI) across README, CONTRIBUTING,
  TECHNICAL, website docs and copilot instructions
@twentyTwo twentyTwo changed the title feat: add Claude Code usage dashboard tab feat: Claude Code usage dashboard, Simple Coding Insights rebrand and renamed IDs Aug 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants