Skip to content

OpenCode

OpenCode works with the sidebar through a local plugin bridge, so the visible surface is similar to Codex but with a different event source.

  • Live status from session.created / session.status / session.idle
  • Prompt text from session.status=active
  • Response preview (▷ ...) from stop
  • Elapsed time since the last prompt
  • Waiting status + wait reason from permission.asked
  • API failure reason from session.error / session.status=error
  • notification desktop alerts for permission prompts
  • Tool calls recorded from tool.execute.after
  • Branch display from the pane’s cwd
FeatureWhy
Permission badgeOpenCode does not expose the Claude-style permission modes
Task progress counterThe bridge does not map a task-progress event
Sub-agent treeOpenCode does not emit Claude-style sub-agent hooks
Worktree lifecycle trackingOpenCode does not emit WorktreeCreate / WorktreeRemove

Wire the plugin bridge from OpenCode setup.