mirror of
https://github.com/obra/superpowers.git
synced 2026-11-05 22:20:38 +00:00
Restore the version-pin example for both config keys and state the V2 constraint (the pinned ref must include OpenCode V2 support). Replace the `~/...` local-package examples with absolute paths: OpenCode does not expand `~`, and a tilde entry is installed as a package spec rather than loaded as a directory. Point V2 troubleshooting at `opencode run --standalone --print-logs`, since plugin logs are server-role and hidden without `--standalone`. Describe where the bootstrap lands when native compaction retains user messages under the default keep budget. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
9 lines
536 B
JavaScript
9 lines
536 B
JavaScript
// 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";
|