Skip to content

[UX] Show initialization progress instead of static 'Setting up environment' #103

@randomm

Description

@randomm

Problem

"Setting up environment" displays for 30+ seconds with no feedback. Users wonder if it's frozen.

Current State

oclite v0.1.0
⠋ Setting up environment

(sits here for 30+ seconds)

Desired State

Show what's actually happening:

oclite v0.1.0
⠋ Setting up environment
  ✓ Loading config
  ✓ Connecting to providers
  ⠋ Starting MCP servers...

Or simpler:

oclite v0.1.0
⠋ Loading config...
⠋ Starting MCP servers...
✓ Ready

Requirements

  • Show progress during initialization
  • Indicate which step is currently running
  • Don't overwhelm with detail — keep it clean
  • Gracefully handle slow operations (MCP, network)

Files

  • packages/opencode/src/cli/lite/index.ts — main entry
  • packages/opencode/src/cli/bootstrap.ts — initialization sequence

Acceptance Criteria

  • User sees what's happening during init
  • Slow steps are identifiable
  • Clean, minimal output (not verbose logging)

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