feat(desktop): Ask Question Tool Support (#8232)

This commit is contained in:
Daniel Polito 2026-01-13 15:28:08 -03:00 committed by GitHub
commit 3600bd27f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 622 additions and 7 deletions

View file

@ -93,7 +93,7 @@ export namespace ToolRegistry {
return [
InvalidTool,
...(Flag.OPENCODE_CLIENT === "cli" ? [QuestionTool] : []),
...(["app", "cli", "desktop"].includes(Flag.OPENCODE_CLIENT) ? [QuestionTool] : []),
BashTool,
ReadTool,
GlobTool,