summaryrefslogtreecommitdiff
path: root/.opencode
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-01-23 18:31:45 +0000
committerJesse Vincent <jesse@fsck.com>2026-01-23 18:31:45 +0000
commit03087b13b87a5813bdc96afa8c5468ed2f63d596 (patch)
treef4045330f85b1eb4ab732e9b5b10d8c2cf44ba82 /.opencode
parent493ac18dfe2d30e34c05277d9e130988ed290f67 (diff)
fix(opencode): standardize on plugins/ directory per official docs
OpenCode officially documents ~/.config/opencode/plugins/ (plural) as the plugin directory. Our docs previously used plugin/ (singular), which also works but caused confusion. Changes: - Renamed .opencode/plugin/ to .opencode/plugins/ in repo structure - Updated INSTALL.md to use plugins/ everywhere - Updated README.opencode.md (all platforms: Linux, macOS, Windows CMD, PowerShell, Git Bash) to use plugins/ - Updated test scripts to match Tested: Both singular and plural forms work, but we now match official docs. Fixes #343 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to '.opencode')
-rw-r--r--.opencode/INSTALL.md10
-rw-r--r--.opencode/plugins/superpowers.js (renamed from .opencode/plugin/superpowers.js)0
2 files changed, 5 insertions, 5 deletions
diff --git a/.opencode/INSTALL.md b/.opencode/INSTALL.md
index 2a16d19..55e41c2 100644
--- a/.opencode/INSTALL.md
+++ b/.opencode/INSTALL.md
@@ -18,9 +18,9 @@ git clone https://github.com/obra/superpowers.git ~/.config/opencode/superpowers
Create a symlink so OpenCode discovers the plugin:
```bash
-mkdir -p ~/.config/opencode/plugin
-rm -f ~/.config/opencode/plugin/superpowers.js
-ln -s ~/.config/opencode/superpowers/.opencode/plugin/superpowers.js ~/.config/opencode/plugin/superpowers.js
+mkdir -p ~/.config/opencode/plugins
+rm -f ~/.config/opencode/plugins/superpowers.js
+ln -s ~/.config/opencode/superpowers/.opencode/plugins/superpowers.js ~/.config/opencode/plugins/superpowers.js
```
### 3. Symlink Skills
@@ -95,8 +95,8 @@ git pull
### Plugin not loading
-1. Check plugin symlink: `ls -l ~/.config/opencode/plugin/superpowers.js`
-2. Check source exists: `ls ~/.config/opencode/superpowers/.opencode/plugin/superpowers.js`
+1. Check plugin symlink: `ls -l ~/.config/opencode/plugins/superpowers.js`
+2. Check source exists: `ls ~/.config/opencode/superpowers/.opencode/plugins/superpowers.js`
3. Check OpenCode logs for errors
### Skills not found
diff --git a/.opencode/plugin/superpowers.js b/.opencode/plugins/superpowers.js
index 8ac9934..8ac9934 100644
--- a/.opencode/plugin/superpowers.js
+++ b/.opencode/plugins/superpowers.js