Skip to main content

Module commands

Module commands 

Source
Expand description

The :opencode ex-command — launch the opencode agent’s native TUI in a terminal buffer with opencode-mode activated on it.

Per feedback_mode_owns_its_surface, both the binding (the command name) and the body live here; the host action (spawning the terminal + activating the minor) is requested through the [Effect] vocabulary — the host boundary — not a bespoke channel, exactly like :claude.

Functions§

register_opencode_ex_commands
Register :opencode against registry. Called from super::install.