fix: bump question tool max options from 4 to 10 - #69
Conversation
|
Review: fix/question-tool-max-items Change: Verdict: Changes look correct functionally. One inconsistency to fix: Must fix
Should fix (pre-existing, now more visible)
Low severity
Overall: The core schema change is correct and minimal. Fix the stale prompt guidelines before merging. |
- Fix stale promptGuidelines: '2-4 options' → '2-10 options' - Add scrollable option window (VISIBLE_OPTIONS=6) with '↑ more'/'↓ more' - Add number-key shortcuts: 1-9 selects option, 0 selects 'Type something.' - Pad option numbers so double-digit '10.' keeps indentation aligned - Update footer hint to show the new shortcuts
|
fatal: couldn't find remote ref fix/question-tool-max-items |

The question tool's TypeBox schema enforced
maxItems: 4, rejecting any call with 5+ options at validation time before the TUI even runs. Bumped to 10 -- covers more options without going unbounded.\n\nChange:.pi/extensions/ocgs-question/index.tsline 52,maxItems: 4→maxItems: 10.