Skip to content

Use 'plugins' config key instead of deprecated 'plugin' - #4

Open
whatruon wants to merge 2 commits into
Howardzhangdqs:mainfrom
whatruon:fix/plugins-config-key
Open

whatruon wants to merge 2 commits into
Howardzhangdqs:mainfrom
whatruon:fix/plugins-config-key

Conversation

@whatruon

Copy link
Copy Markdown

Current OpenCode ignores the singular plugin key. Update the README install/local-dev examples and the repo opencode.json to use the supported plural plugins key so the plugin actually loads.

- package.json: point main/exports to ./dist/index.js and ship dist/ in files
  so the published tarball exports the Plugin factory, not a stray TUI module
- bump version to 2.2.0 (published 2.1.0 exported an invalid {id, tui}
  SolidJS component that OpenCode silently skips)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant