Skip to content

[Problem] bug(packaging): missing runtime dependency @opencode-ai/plugin in dependencies causing plugin load failure #3745

Open

Description

@saquib-dev

What is the impact?

ECC will not install

What happened?

Problem Description

When installing ecc-universal@2.2.3 as an OpenCode plugin globally (via "plugin": ["ecc-universal"]), the plugin fails to load with module resolution errors.

Inspection reveals that dist/tools/changed-files.js executes a runtime import:

import { tool } from "@opencode-ai/plugin/tool";

### Harness

Claude Code

### Install method

None

### Operating system

Windows (native)

### ECC and harness versions

_No response_

### Optional redacted diagnostics

loading plugin id=ecc-universal → failed to load plugin: Cannot find package '@opencode-ai/plugin'

Activity

  1. added
    bugSomething isn't working
    needs-triageNot yet reviewed or routed
    area:installInstallation, activation, upgrade, repair, or uninstall
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:installInstallation, activation, upgrade, repair, or uninstallbugSomething isn't workingneeds-triageNot yet reviewed or routed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions