Skip to main content

Module modes

Module modes 

Source
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§

OpencodeMode
The opencode terminal minor mode.

Functions§

register_opencode_modes
Register opencode-mode against registry. Called from super::install.