Skip to content

[UX] oclite: Rich status bar with streaming metrics #67

Description

@randomm

Description

Add a persistent status bar during streaming that shows key information inline.

Target UX (from sketch)

◆ Ruminating... (Esc to interrupt · ctrl+t to hide tasks · 15s · ↓ 342 tokens · shift+↑/↓ to select)

Requirements

  • Show spinner state with elapsed time
  • Show token count (updating in real-time)
  • Show keyboard shortcuts contextually
  • Show Esc to interrupt during streaming
  • Update in-place (single line, overwritten)

Files

  • packages/opencode/src/cli/lite/index.ts — streaming loop
  • packages/opencode/src/cli/lite/spinner.ts — current spinner (extend or replace)
  • packages/opencode/src/cli/lite/bottombar.ts — prompt area

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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