Expand description
opencode-mode — the minor mode layered on the opencode terminal buffer.
v1 is a Manual-activation marker minor over terminal-mode, activated
by :opencode on the terminal running the agent. It carries no per-buffer
resources: opencode’s own TUI owns the conversation, the prompt (readline,
/ commands, model switching), history, and edit review, so lattice adds
nothing on the hot path. The mode exists as the buffer’s identity and as
the seam for future lattice-native integration (IDE-native edit review,
a headerline status row) — mirroring claude-code-mode’s I1 marker shell.
Structs§
- Opencode
Mode - The opencode terminal minor mode.
Functions§
- register_
opencode_ modes - Register
opencode-modeagainstregistry. Called fromsuper::install.