anomalyco / anomalyco/opencode
opencode debug info should show basename for file:// plugin specs
Open
@rekram1-node is already working on this.
Since Aug 3, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The plugins: section of opencode debug info is inconsistent. npm plugins show as their package name, but local auto-discovered plugins show as full file:/// URLs, which is noisy and hard to scan.
With two plugins in ~/.config/opencode/plugins/, I get:
plugins:
- oh-my-openagent@latest
- envsitter-guard
- file:///C:/Users/Zephyrus/.config/opencode/plugins/rtk.ts
- file:///C:/Users/Zephyrus/.config/opencode/plugins/open-code-review.ts
I'd expect the local ones to render as rtk.ts and open-code-review.ts so the section is consistent.
Plugins
rtk.ts, open-code-review.ts (local auto-discovered)
OpenCode version
1.18.11
Steps to reproduce
- Drop a
.tsfile into~/.config/opencode/plugins/(or~/.config/opencode/plugin/). - Run
opencode debug info. - Observe that the local plugin is printed as a
file://URL while npm plugins are printed by package name.
Operating System
Windows 11
Terminal
PowerShell
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.