Terminal & AI agents

Shells as buffers, one-off shell commands, coding agents wired to the editor, and background-work notifications.

TopicWhat it covers
Terminal buffersTerminal
Shell commands:!cmd runs a one-off shell command and streams its output into shell-command; stops it, gr runs it again. Separate from :compile — it never touches the build's output, command or error list.
Claude CodeClaude Code IDE integration: :claude launches the agent wired to this editor, it reads/edits via reviewable side-by-side diffs you accept or reject with :diff-accept / :diff-reject.
opencode:opencode launches the opencode agent's native TUI in a terminal buffer inside lattice — you get opencode's full interface (prompt, / commands, model switching, history, edit review) with opencode-mode layered on for lattice navigation.
NotificationsNotifications: corner popups telling you that work with no buffer finished — a fetch, a push — with options for how many show and how long they stay.