fix(ask): always allow custom select answers

This commit is contained in:
云服务部-叶林立
2026-08-28 14:26:58 +08:00
parent 221e978622
commit d1b11f86f7
7 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ A locally maintained Pi extension that consolidates the upstream `question.ts` a
The extension registers `ask_user_question`. The model can present one to eight questions in one sequential TUI interaction:
- `select`: one to eight stable `{ value, label, description? }` choices, with an optional free-form choice;
- `select`: one to eight stable `{ value, label, description? }` choices, always followed by a free-form choice that the model cannot disable;
- `text`: a free-form Editor answer;
- `required: false`: lets the user explicitly skip the question;
- multiple questions: progress tabs plus a final review page.