Skip to main content

Module modes

Module modes 

Source
Expand description

pi-mode — the minor mode layered on the pi terminal buffer.

v1 is a Manual-activation marker minor over terminal-mode, activated by :pi on the terminal running the agent. It carries no per-buffer resources: pi’s own TUI owns the conversation, the prompt (readline, / commands, model switching), history, and session tree, 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 (RPC conversation buffer, a headerline status row) — mirroring opencode-mode’s marker shell.

Structs§

PiMode
The pi terminal minor mode.

Functions§

register_pi_modes
Register pi-mode against registry. Called from super::install.