anomalyco / anomalyco/opencode
bug: /status shows truncated name for local file:// plugins on Windows
Open
@Hona is already working on this.
Since Aug 2, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
On Windows, the /status dialog shows local file:// config plugins with a truncated name. A plugin at C:\Users\me.config\opencode\plugins\superpowers.js is displayed as "C:\Users\me" instead of "superpowers".
The name is derived in DialogStatus by splitting the fileURLToPath() result on "/", which does not split Windows backslash paths. The whole path becomes the "filename", and filename.split(".")[0] then truncates it at the first dot in the path.
Plugins
oh-my-openagent@latest
OpenCode version
1.18.11
Steps to reproduce
- On Windows, place any local plugin at %USERPROFILE%.config\opencode\plugins<name>.js
- Run opencode and open the /status dialog
- The plugin appears as "C:\Users<username>" (truncated at the first dot of the path) instead of the plugin file name
Operating System
Windows 11
Terminal
Windows Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.