Commit 487754f
feat(dashboard): Claude Code and Codex sessions on the cache page
New JSONL readers surface Claude Code (~/.claude/projects) and Codex
(~/.codex/sessions) assistant usage as cache events. Codex semantics are
normalized: its input_tokens include the cached portion (subtracted into
our non-cached input field) and OpenAI implicit caching has no write
signal, so the retention predictor gains a no-write variant driven by
read-ratio only. Claude Code sidechain rows are excluded because they
interleave separate conversations.
Sessions from these harnesses are badged Managed when the MC Rust module
holds durable state for them (mc_cache_state join, exact wire id or
composite-key prefix); the cache page shows managed sessions by default
with a persisted show-unmanaged toggle. OpenCode and Pi sessions are
always shown (plugin-managed by definition).
Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>1 parent 72d652a commit 487754f
9 files changed
Lines changed: 1335 additions & 50 deletions
File tree
- packages/dashboard
- src-tauri/src
- serve
- src
- components
- CacheDiagnostics
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| |||
0 commit comments