You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plan mode (#8). plan is a fourth Mode, switchable with guided and interactive (never from autonomous). While it's on, the agent only reads and plans: a PreToolUse plan gate allows reads, searches, skills, delegation and the human-in-the-loop tools, Write/Edit to the plan files the agent declares and the MCP tools it declares read-only, and denies everything else (subagents' calls included). Entering or leaving the mode is told to the model before the next message.
AgentSpec.planMode: isPlanFile(filePath, config) and isReadOnlyTool(toolName). Without it, the plan goes in the reply and none of the agent's MCP tools run in plan mode.
In the chats: Shift+Tab cycles guided → interactive → plan (Ink), and /plan switches into plan mode and back to the previous mode (both chats).
New exports: createPlanGate(), togglePlanMode(). createInputQueue({ modeControl }) adds the mode notes to the next message.
runChatTui() takes a modeControl option, like runChatInk().
Fixes
A markdown table streamed in pieces is drawn whole, not misaligned (#11).
In a short full-screen terminal (e.g. 110×34), an approval panel fits: its preview is capped counting the pinned header and wrapped lines, so the options and status bar stay on screen (#9).
Breaking changes
Mode now includes "plan": an exhaustive switch over Mode in your code needs a case for it.
Internal
New logo for the README and the documentation site; a new Captain Whiskers screenshot.
The update-docs skill keeps docs/ in step with the code.