anomalyco / anomalyco/opencode

bug: /status shows truncated name for local file:// plugins on Windows

Open
#40,131 2 comments 1 reaction 1 assignee View on GitHub

@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
  1. On Windows, place any local plugin at %USERPROFILE%.config\opencode\plugins<name>.js
  2. Run opencode and open the /status dialog
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.