Skip to content

Plugin does not auto-update in OpenCode (locked to old commit via bun.lock) #942

@didaquis

Description

@didaquis
  • I searched existing issues and this is not a duplicate

Environment

Field Value
Superpowers version 5.0.4 (resolved commit)
Harness (Claude Code, Cursor, etc.) OpenCode
Harness version 1.3.3
Model GPT-5.3-Codex
OS + shell macOS + zsh

Is this a Superpowers issue or a platform issue?

  • I confirmed this issue does not occur without Superpowers installed

What happened?

I'm experiencing an issue with the plugin when using it through OpenCode. According to the documentation, the plugin should update automatically when tracking the repository, but that doesn't seem to be happening.

When using Superpowers through OpenCode, the plugin does not update automatically even though it is configured to track the main branch of the repository.

After investigating, it appears that Bun (used by OpenCode) resolves the git dependency to a specific commit and pins it in its lockfile. As a result, the plugin remains stuck on an older version.

In my case, the lockfile contains:

# ~/.cache/opencode/bun.lock

superpowers@github:obra/superpowers#7e51643

That commit corresponds to version 5.0.4, while the current main branch is already at 5.0.6.

Steps to reproduce

  1. Install Superpowers in OpenCode using the git repository (git+https://github.com/obra/superpowers.git)
  2. Let OpenCode resolve and install dependencies
  3. Check the resolved version in ~/.cache/opencode/bun.lock
  4. New commits are pushed to the main branch
  5. Observe that the plugin does not update automatically

Expected behavior

The plugin should follow the main branch and update automatically when new commits are available, as stated in the documentation.

Actual behavior

The plugin is locked to the initially resolved commit and does not update unless the cache or lockfile is manually cleared.

Debug log or conversation transcript

Relevant lockfile entry:

superpowers@github:obra/superpowers#7e51643

This commit corresponds to version 5.0.4, while newer versions exist in main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions