blob: 0723f70ca2ef4f1f5ab1c47e035acb42e5a45bae (
plain)
1
2
3
4
5
6
7
8
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";
|