claw-code/rust/crates/rusty-claude-cli
Claude 755659c916 fix(tui): Sprint 1 — ProviderSwap fix, status race, memory bound, token tracking
S1-1: Fix ProviderSwap — use suspend()/resume() instead of restore_terminal()
so TUI re-enters cleanly after the setup wizard runs.

S1-2: Fix status message race — remove immediate ds.status_message.clear()
after set_status("Done") so the message is visible until next turn.

S1-4: Bound conversation memory — add MAX_CONVERSATION_LINES (10,000).
auto_scroll() now drains oldest entries and inserts a trim notice.

S1-5: Wire real token tracking — use runtime::UsageTracker::from_session()
to read cumulative TokenUsage (input, output, cache_creation, cache_read)
and pricing_for_model() to estimate cost. No more char÷4 guess.

Sprint 1 of 7. 218 tests pass.

Authored by TheArchitectit
2026-06-11 18:49:15 -05:00
..
.claw/sessions feat(runtime): typed task packet format for structured claw dispatch 2026-04-04 00:40:20 +09:00
src fix(tui): Sprint 1 — ProviderSwap fix, status race, memory bound, token tracking 2026-06-11 18:49:15 -05:00
tests fix: /config help returns structured section list (#344) 2026-06-05 07:09:48 +09:00
Cargo.toml feat(tui): Sprint 0 complete — panic hook, resize, TuiError, unicode-width 2026-06-11 18:42:21 -05:00
build.rs fix: expose complete version provenance 2026-06-04 15:55:08 +09:00