Skip to content

opencode2: plugin list crashes and plugins from config not loaded #37533

Closed

Description

@mrofisr

Summary

opencode2 (next) does not load or list plugins configured in ~/.config/opencode/opencode.json. The opencode2 plugin list command crashes with a chdir bug (ENOENT: no such file or directory, chdir '/home/ubuntu' -> 'plugin').

Environment

  • opencode version: 0.0.0-next-15747 (next channel)
  • OS: Linux 6.17.0-1018-oracle aarch64 (Ubuntu 24.04)
  • Terminal: TERM_PROGRAM=tmux, TERM=tmux-256color
  • Shell: /bin/bash
  • Install/channel: next (via volta)
  • Active plugins: superpowers, oh-my-openagent (configured but not loaded)

Reproduction

  1. Configure plugins in ~/.config/opencode/opencode.json:
    {
      "plugins": [
        "superpowers@git+https://github.com/obra/superpowers.git",
        "oh-my-openagent@latest"
      ]
    }
  2. Run: opencode2 plugin list

Expected Behavior

Configured plugins should be listed with their status.

Actual Behavior

Error: ENOENT: no such file or directory, chdir '/home/ubuntu' -> 'plugin'

Additional Context

Activity

  1. github-actions commented on Jul 17, 2026

    @github-actions
    Contributor

    This issue might be related to existing issues about plugins not loading in v2. Please check:

    These are slightly different contexts (tui.json vs opencode.json, TUI plugins vs server plugins), but they may share the same underlying cause in how opencode2 handles plugin configuration.

  2. rekram1-node commented on Jul 17, 2026

    @rekram1-node
    Collaborator

    v1 plugins are not compatible sso they will not work w/ v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions