Skip to content

[oclite] TUI fundamentally broken - commands don't work, no LLM output #148

@randomm

Description

@randomm

Critical Issues (from user testing Feb 6)

  1. [EVENT] debug logs polluting output - console.error debug logging mixed with TUI
  2. Ink not controlling terminal - all output as plain text, not TUI rendering
  3. Response text duplicated - 'Hello! How can I help you today?' appears twice
  4. TUI resets after long response - messages swallowed, banner re-appears
  5. 10-15s unresponsive gap after spinner completes

UX Issues

  1. User message stuck to prompt line (no separation)
  2. Model/submodel need selection modal (like opencode TUI)
  3. Need Shift+Tab to cycle agents (build/plan/pm from config)

Root Causes Identified

  • console.error() debug logging in useSDKEvents.ts
  • Ink patchConsole not enabled
  • Delta vs full text handling causes duplication
  • Welcome banner re-renders on every state change
  • MessageList renders role as raw text

PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions