Fero
a7a863c792
feat: add questionnaire tool for multi-question input ( #695 )
...
New tool for asking users one or more questions with a tab-based interface.
Features:
- Single question: simple options list (similar to question tool)
- Multiple questions: tab bar navigation between questions
- Progress indicators: ■/□ checkboxes show answered state
- Submit tab: review all answers before submitting
- 'Type something' option: free-text input with options visible
- Full keyboard navigation: Tab/←→ between questions, ↑↓ for options
Use cases:
- Clarifying requirements with multiple aspects
- Getting user preferences across categories
- Multi-step confirmation dialogs
Example:
```typescript
{
questions: [{
id: "db",
label: "Database",
prompt: "Which database?",
options: [
{ value: "pg", label: "PostgreSQL", description: "Relational" },
{ value: "mongo", label: "MongoDB", description: "Document store" }
]
}, {
id: "auth",
label: "Auth",
prompt: "Authentication method?",
options: [
{ value: "jwt", label: "JWT" },
{ value: "session", label: "Sessions" }
]
}]
}
```
2026-01-13 17:52:22 +01:00
Fero
cbd3a8cb87
fix: use defaultThinkingLevel from settings when enabledModels lacks explicit suffix ( #540 )
...
When enabledModels is configured without thinking level suffixes (e.g.,
'claude-opus-4-5' instead of 'claude-opus-4-5:high'), the scoped model's
default 'off' thinking level was overriding defaultThinkingLevel from
settings.
Now thinkingLevel in ScopedModel is optional (undefined means 'not
explicitly specified'). When passing to SDK, undefined values are filled
with defaultThinkingLevel from settings.
2026-01-07 18:11:03 +01:00