You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Zed logs "reading bytes of the file" errors for directories sent as ToolCallLocation #33510
Running opencode under Zed, I see this in ~/.local/share/zed/logs/Zed.log after every bash/grep/glob call:
ERROR [crates/acp_thread/src/acp_thread.rs:646] reading bytes of the file "/home/bryan/github/bcdady/opencode"
The path is my project root, not a file. Looks like packages/opencode/src/acp/tool.tstoLocations returns [{ path: workdir }] for bash/shell and locationFrom(input.path) for grep/glob - those are directories, and Zed tries to read them as files.
Tool calls still work, just noisy logs.
I'll follow up with a PR that drops the bash workdir location (it's already in rawInput.cwd) and filters non-files out of the grep/glob path.
Activity
github-actions commentedon Aug 23, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.