All notable changes to this project are documented in this file.
- Fixed inflated usage totals from forked/subagent session logs by ignoring replayed parent-session token history while preserving new post-fork usage.
- Bumped the scan-cache schema to reparse stale forked-session cache rows.
- Added a built-in Session history screen to the main
comonTUI:- Project list grouped by session
cwd - Session list with derived titles from user prompts
- Session detail view with prompt previews, token counts, tool-call counts, and git metadata when present
- Project list grouped by session
- Added runtime screen switching:
s/F2now toggles between Usage and Session history without restarting the appr/F5refreshes the active screen and rebuilds the sessions catalog on the Session history screen
- Added session-browser CLI options:
--readstarts directly on the Session history screen--sessions-diroverrides the scanned Codex sessions tree--print-sessions-dirprints the effective sessions directory and exits
- Hardened startup behavior for session browsing:
- Missing default
CODEX_HOME/sessionsnow opens an empty Session history view instead of failing startup
- Missing default
- Fixed workspace startup scoping:
comonwithout--projectnow always uses All workspaces, even when launched inside a repo.- A non-git
--projectnow disables repo filtering, even if launch dir is inside a repo. --cwdnow only controls app-server launch directory and never changes usage scope.comonno longer restores a stale last workspace filter when no workspace hint is detected.
- Hardened long-history backfill behavior:
--full-scan --scan-time-budget-ms 0now forces full reparse instead of trusting unchanged cache rows.- Full scan now ignores planner file/byte caps.
- Added regression tests for:
- workspace selection precedence
- full-scan stale-cache repair
- append-only file resume via cached file offsets
- Added incremental session parsing with persisted offsets and parser state in
comon.db. - Reduced restart regressions: unchanged files outside current scan plan now stay visible via cache.
- Added
--scan-time-budget-msfor bounded per-refresh parse time (0disables budget). - Added
--max-jsonl-line-kibto cap parsed line size without hard-dropping large files. - Added cache DB schema migration (
v1 -> v2) for offset/parser-state fields. - For historical backfill after copying older sessions, run once:
comon --full-scan --scan-time-budget-ms 0