Added
submittool parameter forinteractive_shellsession input so the agent can type text and press Enter in one call, avoiding the common failure mode where commands are left sitting in editor-based TUIs like pi.- Regression tests covering
submit: truefor plain text input and bracketed paste input.
Changed
- PTY backend switched from
node-ptytozigptyinpty-session.ts, keeping the existingPtyTerminalSessionbehavior and higher-levelinteractive_shellAPI unchanged. - Input docs now explicitly state that raw
inputonly types text and does not submit it. - README,
SKILL.md, and tool help now prefersubmit: trueorinputKeys: ["enter"]over relying on\nfor command submission. - The registered
interactive_shellprompt snippet now nudges agents to usesubmit=truewhen sending slash commands or prompts to an existing session. - Structured input now emits bracketed paste content before trailing key presses, so combinations like paste-plus-Enter submit in the expected order.
Removed
- Removed the
node-ptymacOS spawn-helper permission workaround from runtime and install scripts (spawn-helper.ts,scripts/fix-spawn-helper.cjs, and thepostinstallhook).