Skip to content

[WS4] Evaluate CodeNomad + remove oclite from fork #162

@randomm

Description

@randomm

Parent: #158

Decision: Drop oclite, use built-in opencode web

TUI Alternative: Built-in Web UI ✅

The built-in opencode web command solves all our pain points:

  • Performance: SolidJS + virtual scrolling (virtua) — no long-session sluggishness
  • Full feature parity: same codebase as Desktop app, all session/tool/permission support
  • Streaming: SSE + WebSocket, async task rendering included
  • Remote access: --hostname 0.0.0.0 for LAN/mobile access
  • Zero fork maintenance: it's upstream, we get improvements for free
# Basic usage
opencode web --port 4096

# With auth + remote access
OPENCODE_SERVER_PASSWORD=secret opencode web --hostname 0.0.0.0 --port 4096

Action: Delete all oclite files

  • Delete packages/opencode/src/cli/lite/ (6 files)
  • Delete packages/opencode/src/cli/ink/ (35 files)
  • Delete script/build-lite.ts
  • Remove any oclite-related config/entries
  • Verify typecheck + tests pass after deletion

Alternatives Investigated & Rejected

  • CodeNomad: GUI app (Electron/Tauri), not terminal. Low activity.
  • chris-tse/opencode-web: 7 months stale, single contributor, prototype quality.
  • FergusFettes/opencode-cli: Python CLI, 1 star, no streaming.
  • Custom Go TUI: 3-5 day build effort, unnecessary given opencode web exists.

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