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
Owner

Adds /history (alias /hist) local TUI command. Shows message count, user/assistant breakdown, estimated tokens, context window usage.

Adds /history (alias /hist) local TUI command. Shows message count, user/assistant breakdown, estimated tokens, context window usage.
jason.woltje added 1 commit 2026-03-21 20:41:20 +00:00
feat(cli): add /history slash command to TUI
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
04c634cb80
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 <noreply@anthropic.com>
jason.woltje merged commit 02ff3b3256 into main 2026-03-21 20:41:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#297