diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/index.js b/index.js new file mode 100644 index 0000000..0723f70 --- /dev/null +++ b/index.js @@ -0,0 +1,9 @@ +// Root entrypoint for OpenCode v2 directory-form plugin registration. +// +// OpenCode V2 hosts (2.0.4 or later) require config plugin entries to be directories +// with an index entrypoint (`index.js`) and reject bare file paths +// ("configured plugin path must be a directory"). npm/git package installs +// resolve via package.json `main`; this file only serves the directory form, +// an absolute path such as `"plugins": ["/path/to/superpowers"]` (`~` is not +// expanded). +export { default } from "./.opencode/plugins/superpowers.js"; |
