Skip to content

feat: add session viewer TUI and styled export rendering#4

Merged
andyhtran merged 1 commit intomainfrom
feat/session-viewer-tui
Mar 13, 2026
Merged

feat: add session viewer TUI and styled export rendering#4
andyhtran merged 1 commit intomainfrom
feat/session-viewer-tui

Conversation

@andyhtran
Copy link
Copy Markdown
Owner

Summary

Add two new ways to view session history:

  • cct view <id> - Interactive TUI with scrollable viewport, vim-style navigation (j/k/g/G/q), colored user/assistant messages, and inline tool call display

  • cct export <id> --render - Styled terminal output with syntax highlighting via glamour, colored role headers, works with pipes

Both use the Charm libraries (bubbletea, glamour, lipgloss) for terminal rendering.

Test plan

  • Verified cct view starts TUI and renders messages correctly
  • Verified cct export --render outputs styled markdown with colored headers
  • CI passes (lint, fmt, test)

🤖 Generated with Claude Code

Add two new ways to view session history:

- `cct view <id>` - Interactive TUI with scrollable viewport, vim-style
  navigation (j/k/g/G/q), colored user/assistant messages, and inline
  tool call display

- `cct export <id> --render` - Styled terminal output with syntax
  highlighting via glamour, colored role headers, works with pipes

Both use the Charm libraries (bubbletea, glamour, lipgloss) for
terminal rendering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@andyhtran andyhtran merged commit 0eea3d9 into main Mar 13, 2026
3 checks passed
@andyhtran andyhtran deleted the feat/session-viewer-tui branch March 13, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant