Skip to content

feat(tui): MVP — streaming transcript, editor, footer, inline approvals, Esc cancel #460

Closed

Description

@ajianaz

Problem

The TUI needs the core loop: talk to the agent and see what it does.

Proposal (MVP)

  • Transcript with streaming answer text, reasoning shown dimmed, tool calls and results as compact lines (TurnObserver).
  • Editor: multi-line (Shift+Enter), history (Up/Down), submit with Enter.
  • Footer: folder, session (id/name), model, reasoning effort, context used / window (%), session tokens — from SessionStatus.
  • Inline approval prompt for Write tools (tole asks before writes by design; Destructive always asks), y/n.
  • Esc cancels the running turn (CancelToken).
  • Sessions are ordinary tole sessions (resumable by tole resume, listed by sessions --all).

Acceptance

  • Scripted end-to-end test through a pty with the mock provider: send a prompt, see streamed text, approve a write, cancel a run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions