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
Some (weird right) commands in the global directory, do not do anything #2231
---
description: Create a pull request with autonomous workflow management
agent: pr-creator
---
In the logs i found this when i do the /pr command
ERROR 2025-08-24T21:21:12 +1ms service=tui error=POST "http://127.0.0.1:57022/session/ses_7220b8433ffeBz4OlcimacK6n7/command": 400 Bad Request {"name":"UnknownError","data":{"message":"Error: ENOENT: no such file or directory, scandir '/Users/roderik/Development/asset-tokenization-kit/github.com:settlemint'"}} Failed to execute command
Actually, only /comments works, the others show a different error message, they appear not the check the global folder
/review
---
description: Perform comprehensive code review of current changes
agent: code-reviewer
---
ERROR 2025-08-24T21:22:35 +2ms service=tui error=POST "http://127.0.0.1:57022/session/ses_7220b8433ffeBz4OlcimacK6n7/command": 400 Bad Request {"name":"UnknownError","data":{"message":"Error: File not found: /Users/roderik/Development/asset-tokenization-kit/code-reviewer"}} Failed to execute command
/test
---
description: Run quality checks and automatically fix failures
agent: test-runner
---
ERROR 2025-08-24T21:22:58 +1ms service=tui error=POST "http://127.0.0.1:57022/session/ses_722097567ffexPzueHq00cR6E3/command": 400 Bad Request {"name":"UnknownError","data":{"message":"Error: File not found: /Users/roderik/Development/asset-tokenization-kit/test-runner"}} Failed to execute command
Looking at the error, it is the "agent" file that it looks for.
However it is completely unclear why comments works, and that the error messages differ between the others
This issue might be a duplicate of existing issues. Please check:
Missing ~/.local/share/opencode/bin directory causes misleading ENOENT errors #1856: Missing ~/.local/share/opencode/bin directory causes misleading ENOENT errors - The ENOENT error you're seeing when commands try to access files in paths like '/Users/roderik/Development/asset-tokenization-kit/github.com:settlemint' is very similar to the directory access issues described here.
The root cause appears to be related to the missing binary directory that agents need for execution, as detailed in #1856. You might want to try the workaround mentioned there: mkdir -p ~/.local/share/opencode/bin to see if that resolves some of your issues.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Aug 24, 2025
This issue might be a duplicate of existing issues. Please check:
~/.local/share/opencode/bindirectory causes misleading ENOENT errors #1856: Missing~/.local/share/opencode/bindirectory causes misleading ENOENT errors - The ENOENT error you're seeing when commands try to access files in paths like '/Users/roderik/Development/asset-tokenization-kit/github.com:settlemint' is very similar to the directory access issues described here.The root cause appears to be related to the missing binary directory that agents need for execution, as detailed in #1856. You might want to try the workaround mentioned there:
mkdir -p ~/.local/share/opencode/binto see if that resolves some of your issues.Feel free to ignore if none of these address your specific case.
roderik commentedon Aug 24, 2025
Did the suggestion, but no change
roderik commentedon Aug 24, 2025
Maybe this is involved, my commands (carry over from CC) have things like
that do the actual work, this might be the cause of the file not found errors.
Still should not crash the command though right?
rekram1-node commentedon Aug 24, 2025
we will look into this
roderik commentedon Aug 25, 2025
Removing the faulty for opencode @ agent mentions makes the commands work btw
arsham commentedon Aug 25, 2025
I've also noticed that when you have
@anywhere in the command it would fail silently. I think letting it calling agents is a useful functionality.art-shen commentedon Aug 30, 2025
How is it completed if the commands are still failing and show nothing in a conversation?