Skip to content

PI Mode

PI mode is a persistent assistant session bound to the active repository.

The focus ring wraps:

  • message history
  • tool blocks
  • input

The footer is anchored outside that ring and always visible.

  • User: muted > prefixed turns.
  • Assistant: markdown-aware rendered output.
  • Tool: status-colored execution blocks.
KeyAction
enterSend input
escAbort stream (if active) or soft-pause (idle)
GJump to bottom

Streaming behavior:

  • Auto-scrolls on new deltas.
  • Pauses auto-scroll when you manually scroll up.
  • Keeps context visible while tools run.
  • One session per repo context.
  • Session survives mode switches.
  • Session ends only on /exit, repo change, or app quit.
  • ctrl+d -> DIFF
  • ctrl+g -> GIT
  • i resumes PI from other modes
StateMeaning
idleReady for input
streamingReceiving text deltas
tool runningTool execution in progress
compactingAutomatic context compaction active
scrolled upAuto-follow disabled until jump
cmd prefixWaiting for PI command chord

Spinner style uses a calm braille animation during active PI work.