Skip to content

TUI Enhancements: Streaming, Markdown, Provider Info #236

@laynepenney

Description

@laynepenney

Summary

Enhancements to the Phase 6 TUI implementation.

Background

The initial Phase 6 TUI implementation provides a basic chat interface. These enhancements will bring it closer to feature parity with the TypeScript version.

Enhancements

Streaming Text Display

  • Real-time text streaming during AI responses
  • Token-by-token rendering
  • Streaming cursor/indicator

Markdown Rendering

  • Basic markdown support (bold, italic, code)
  • Code block syntax highlighting
  • Link handling

Provider Info Display

  • Show current provider/model in status bar
  • Token usage display
  • Cost tracking display

Diff Rendering

  • Unified diff display for file changes
  • Syntax-highlighted diffs
  • Before/after comparison

Session Integration

  • Session picker for resume
  • Session history browsing
  • Auto-save integration

Additional Commands

  • /model - Switch model
  • /provider - Switch provider
  • /session - Session management
  • /compact - Context compaction

Related

Priority

Medium - nice-to-have but not blocking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions