Skip to content

0.9.104

Choose a tag to compare

@michael-denyer michael-denyer released this 27 Oct 22:51
· 104 commits to main since this release
706fe37

The Pi extension registered ask_user_question unconditionally. Pi refuses to start when two extensions register the same tool name, so an install beside another extension that provides ask_user_question, such as a dedicated ask-user-question package, exited 1 with Tool "ask_user_question" conflicts with <path> before any session began. A pi ask tool: off line in the Pi override sheet now makes the extension skip that registration and leave the name to the other extension; without the line it registers the tool as before. The line follows the session hook: off grammar, so only that exact line counts. The sheet rides in the system prompt, so the model sees that another extension owns the tool, and /setup-pstack on Pi adds the line when the user runs such an extension. @toomanyopenfiles found and fixed this in #318.

tests/pi/config.test.mjs pins the line's grammar, and tests/pi/interaction.test.mjs proves that an install whose sheet has the line registers the other tools and nothing named ask_user_question. docs/reference.md and the T13 row of docs/pi-equivalence.md document the line, and pi-tools.md covers it in the AskUserQuestion row and the setup-pstack note.