-
-
Notifications
You must be signed in to change notification settings - Fork 74
[bug] opencode unhandled tool #263
Copy link
Copy link
Closed
Description
When opencode is the harness, the tool calls are showing up as "unhandled tool":
glob (unhandled tool)
grep (unhandled tool)
read (unhandled tool)
This may be due to case mismatch in the way that opencode vs claude code vs other harnesses identify tools, specifically in ToolCallInline.tsx.
- OpenCode likely sends tool names in lowercase: read, edit, bash, grep, glob, write, etc.
- Current
getToolDisplay()switch statement parses PascalCase: Read, Edit, Bash, Grep, Glob, Write
Impact
This is largely cosmetic for non-interactive tool calls, but may be easy fix with lowcase() (equivalent, sorry not a typescript guy!) tool names before comparison.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels