anomalyco / anomalyco/opencode

opencode desktop(windows) load superpowers failed because of fails to load plugins: tries to install @opencode-ai/plugin@local, which is not a published npm version

Open
#38,271 1 comment 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Jul 22, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

superpowers is a famous skill series: https://github.com/obra/superpowers.
Even after registry it as a plugin in opencode.json:
"plugin": ["~/.config/opencode/node_modules/superpowers"]
opencode desktop still can not find these skill.
Here is the reason:

  1. @opencode-ai/plugin is a valid npm package (npm view @opencode-ai/plugin version dist-tags returns latest: 1.18.4), but it has no version or dist-tag called local. So a request for @opencode-ai/plugin@local always fails.
  2. OpenCode Desktop requests exactly that — @opencode-ai/plugin@local — as part of the plugin dependency install on every startup. Since local is not a real version, it looks like a placeholder that was never resolved to a real version number before being handed to the installer.
  3. This failed @opencode-ai/plugin@local dependency is part of plugin dependency preparation, so plugins loaded through the Bun install path (npm package names / git specs in the plugin array) fail to install and never load.

Below are logs on every startup:
timestamp=2026-07-22T07:26:00.858Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"
timestamp=2026-07-22T07:26:01.342Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"
timestamp=2026-07-22T07:26:11.774Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"

Plugins

~/.config/opencode/node_modules/superpowers

OpenCode version

1.18.4

Steps to reproduce
  1. Add a plugin to the global config, e.g.:
    {
    "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
    }
  2. Restart OpenCode.
  3. The plugin does not load. The log shows a repeated @opencode-ai/plugin@local install failure on every startup.
Screenshot and/or share link

No response

Operating System

Windows10

Terminal

No response

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.