feat(tui): add /history command — M1-007 #297

Merged
jason.woltje merged 1 commits from feat/m1-tui-history into main 2026-03-21 20:41:28 +00:00
1 Commits
Author SHA1 Message Date
jason.woltjeandClaude Sonnet 4.6 04c634cb80 feat(cli): add /history slash command to TUI
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Adds /history (alias /hist) as a local TUI command that fetches the
current conversation's messages via GET /api/conversations/:id/messages
and displays message counts, user/assistant breakdown, estimated token
usage (~4 chars/token heuristic), and context window percentage.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-21 15:40:06 -05:00