Skip to content

Commit ed11735

Browse files
committed
docs(tool): clarify question tool label character limits
- Add explicit 30-character limits for labels and headers - Change recommendation suffix from '(Recommended)' to ' *' to save space - Add example showing the pattern Fixes anomalyco#10283
1 parent 8105f18 commit ed11735

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/opencode/src/tool/question.txt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ Use this tool when you need to ask the user questions during execution. This all
77
Usage notes:
88
- When `custom` is enabled (default), a "Type your own answer" option is added automatically; don't include "Other" or catch-all options
99
- Answers are returned as arrays of labels; set `multiple: true` to allow selecting more than one
10-
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label
10+
- If you recommend a specific option, make that the first option in the list and add " *" at the end of the label (e.g., "Use TypeScript *")
11+
- Labels must be concise: 1-5 words, max 30 characters
12+
- Headers must be very short: max 30 characters

0 commit comments

Comments
 (0)