Skip to content

feat: view command with ANSI colors + Markdown rendering#13

Merged
VasilevNStas merged 1 commit into
masterfrom
feat/md-to-ansi
Jun 25, 2026
Merged

feat: view command with ANSI colors + Markdown rendering#13
VasilevNStas merged 1 commit into
masterfrom
feat/md-to-ansi

Conversation

@VasilevNStas

Copy link
Copy Markdown
Owner

What's new

  • view — interactive session viewer with ANSI colors, less -R pager
  • Markdown → ANSI — code highlighting, lists, tables, links. Two modes:
    • pip install opencode-db[rich] — rich rendering (recommended)
    • stdlib fallback (zero deps)
  • Tablesprint_table_simple now uses box-drawing ┌──┬──┐
  • Compact layout — removed extra blank lines between messages
  • Full timestamp in message headers: [2026-06-25 20:19:29]
  • Version bump 0.6.2 → 0.7.0

Tests

188 tests passing, lint clean.

- New view command: interactive session viewer with pager
- Markdown to ANSI renderer (stdlib fallback, optional rich)
- pip install opencode-db[rich] for enhanced rendering
- Table formatting: box-drawing in print_table_simple
- Compact message layout in view
- Full date+time in message headers
- Bump version to 0.7.0
@VasilevNStas VasilevNStas merged commit 823310e into master Jun 25, 2026
2 checks passed
@VasilevNStas VasilevNStas deleted the feat/md-to-ansi branch June 25, 2026 17:26
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