现象
调用 ask_choice 时传 allowCustom: true,TUI 只渲染了 A/B/C 按钮,没有底部自定义输入框。
协议层排查(已确认正常)
- src/tools/choice.ts — 参数定义包含 allowCustom,三种返回值(pick / text / cancel)都处理了
- src/core/pause-gate.ts — allowCustom 正常穿过协议门,ChoiceVerdict 包含 type: "text" 分支
- 后端正确返回了 user picked / user answered / user cancelled
预期
allowCustom: true 时,选择器底部应渲染一个文本框,允许用户输入自定义回复而非仅四选一。
环境
- Reasonix 最新版(latest npm)
- Windows + 终端 TUI
- DeepSeek 后端
现象
调用 ask_choice 时传 allowCustom: true,TUI 只渲染了 A/B/C 按钮,没有底部自定义输入框。
协议层排查(已确认正常)
预期
allowCustom: true 时,选择器底部应渲染一个文本框,允许用户输入自定义回复而非仅四选一。
环境