Repository navigation
v0.3.0 — Readable insights, copy affordances, lint tooling, tests
v0.3.0: readable insights, copy affordances, lint tooling, tests
Detail-panel improvements:
- Tool calls: fixed-width right-aligned count/token columns with a
labeled header row (tool / calls / ~tokens) — counts no longer drift
row to row; Files touched moved to its own full-width section below - Copy session id: explicit copy-icon button next to the id in the
detail header, alongside right-click on the id (reuses the list's
context menu) - Cache-reset / re-bill events: pill row replaced with per-event rows
carrying a plain-language summary (switched to X with cache rebuild,
upstream 503 re-bill, context compressed); native title tooltips
dropped (slow, clipped at panel edge) - Context growth, Failed calls, Repeated calls: one-line explainers
spelling out why each signal matters (every token in context is
re-billed per call; a failed turn spends tokens and produces nothing;
3+ identical calls is one root cause, not N failures) - ANSI strip restored in _failure_detail (regressed in the earlier
ponytail consolidation; nothing failed without a test, hence the
suite below)
Tests (new tests/ directory):
- test_plugin_api.py: 23 unit tests for _detect_failure,
_failure_detail (ANSI + batch-tool regressions), _strip_ansi,
_event_summary - test_acceptance_live.py: 7 acceptance tests exercising session_detail
against the real state.db (skip when absent, CI-safe)
Lint tooling:
- ESLint 9 (flat config) + react-hooks: unused vars, undefined globals,
hook rules; immutability rule off for the deliberate DOM-drag divider - Ruff (E/F/I/B/UP) for the Python backend; PEP 604 isinstance/typing
updates, B904 raise-from, line-length cleanup; *.py added to
.prettierignore - pnpm lint now runs the trap linter AND eslint; pnpm lint:python for
ruff