Switch OpenCode install from plugin to git clone + symlink
The opencode.json plugin mechanism was unverified and likely non-functional. Replace with reliable git clone + symlink approach, and remove unused plugin JS. Power by MiniMax
This commit is contained in:
11
README_zh.md
11
README_zh.md
@@ -46,15 +46,14 @@ ln -s ~/.codex/minimax-skills/skills ~/.agents/skills/minimax-skills
|
||||
|
||||
### OpenCode
|
||||
|
||||
在 `opencode.json` 中添加:
|
||||
```bash
|
||||
git clone https://github.com/MiniMax-AI/skills.git ~/.minimax-skills
|
||||
|
||||
```json
|
||||
{
|
||||
"plugin": ["minimax-skills@git+https://github.com/MiniMax-AI/skills.git"]
|
||||
}
|
||||
mkdir -p ~/.config/opencode/skills
|
||||
ln -s ~/.minimax-skills/skills/* ~/.config/opencode/skills/
|
||||
```
|
||||
|
||||
重启 OpenCode。详见 [`.opencode/INSTALL.md`](.opencode/INSTALL.md)。
|
||||
重启 OpenCode 以发现技能。详见 [`.opencode/INSTALL.md`](.opencode/INSTALL.md)。
|
||||
|
||||
## 许可证
|
||||
|
||||
|
||||
Reference in New Issue
Block a user