OpenOPC CLI Board
opc board provides a full-screen terminal command center for OpenOPC.
Install
The board uses the optional textual dependency.
pip install "opc[cli-board]"
Run
opc board
opc board --project demo
opc board --project demo --refresh-interval 1.5
Interaction Model
- The board is a session-first TUI: one visible card maps to one user-facing task/session.
- The layout is split into
Session Rail | Main Viewport | Context Dock, with a top metrics bar and a bottom status bar. - The main viewport supports
kanban,list, andfocusmodes so you can switch between orchestration, scanning, and deep inspection. - Engine-created internal tasks that point back to an origin task via
metadata.origin_task_idare hidden from the main board and surfaced under the selected task's "linked executions" detail section. - In-process updates come from
EventBusplusengine.on_progress. - Cross-process consistency comes from a periodic reconcile loop that reloads the authoritative SQLite task/session data.
Main UI Regions
Metrics Bar: board health, pipeline counts, alerts, active selection, filter state.Session Rail: recent live sessions, queued work, archived sessions, checkpoint badges.Main Viewport: kanban board, dense task list, or focused task console.Context Dock:Detail,Session, andActivitytabs.Status Bar: current mode, pane focus, selection, and quick key reminders.
Key Bindings
- Arrow keys /
hjkl: move selection Tab/Shift+Tab: cycle pane focusEnter: open focus view or advance the context dock1: Kanban view2: List view3: Focus viewSpace: toggle densityCtrl+Kor:: open command paletten: create taskg: run selected task prompts: send session replym: move task between columnsa: approve pending checkpointd: deny pending checkpointc: mark task donex: cancel taskt: rerun task/: set search filterf: toggle done visibilityr: refresh?: helpq: quit
Notes
focusmode collapses the left session rail and turns the selected task into a larger console-style view.- The context dock keeps three perspectives on the same task: structured metadata, transcript/progress, and board alerts/live runtime.
- The command palette is useful when you forget a key or want a single launcher for common actions.