diff --git a/.changeset/ask-user-question-forms.md b/.changeset/ask-user-question-forms.md new file mode 100644 index 0000000..9ba1f9e --- /dev/null +++ b/.changeset/ask-user-question-forms.md @@ -0,0 +1,5 @@ +--- +"@jmfederico/pi-web": patch +--- + +Add an `ask_user` session tool that lets agents post structured question sets as one browser form. Agents end their run while the form waits; users can submit full or partial answers, unanswered questions are reported explicitly, pending forms survive browser and web/API reconnects, and closed forms remain readable in the transcript. Disable the tool with `askUser: false` or `PI_WEB_ASK_USER=false`. diff --git a/docs/config.html b/docs/config.html index cb53e8a..fd57961 100644 --- a/docs/config.html +++ b/docs/config.html @@ -167,13 +167,13 @@ Environment overrides include PI_WEB_HOST, PI_WEB_PORT / PORT, PI_WEB_ALLOWED_HOSTS, PI_WEB_MAX_UPLOAD_BYTES, PI_WEB_AGENT_COMMAND, PI_WEB_AGENT_DIR, PI_WEB_AGENT_SESSION_DIR, PI_CODING_AGENT_DIR / - PI_CODING_AGENT_SESSION_DIR for Pi compatibility, PI_WEB_SPAWN_SESSIONS, and - PI_WEB_SUBSESSIONS. + PI_CODING_AGENT_SESSION_DIR for Pi compatibility, PI_WEB_SPAWN_SESSIONS, + PI_WEB_SUBSESSIONS, and PI_WEB_ASK_USER.