Complete OpenCode Plugin Support 🔌
Major OpenCode integration with full feature parity - including hooks via the plugin system!
✨ What's New
OpenCode Plugin System
OpenCode's plugin system is MORE sophisticated than Claude Code with 20+ event types:
| Claude Code Hook | OpenCode Plugin Event |
|---|---|
| PreToolUse | tool.execute.before
|
| PostToolUse | tool.execute.after
|
| Stop | session.idle
|
| SessionStart | session.created
|
| SessionEnd | session.deleted
|
Additional events: file.edited, file.watcher.updated, message.updated, lsp.client.diagnostics, tui.toast.show, and more!
New Files (51 files, 7,523+ lines)
llms.txt- Comprehensive OpenCode documentation for LLMs.opencode/plugins/ecc-hooks.ts- All hooks translated to OpenCode plugins.opencode/tools/*.ts- 3 custom tools (run-tests, check-coverage, security-audit).opencode/commands/*.md- 24 commands in OpenCode format.opencode/package.json- npm package structure foropencode-ecc
📊 Feature Parity
| Feature | Claude Code | OpenCode | Status |
|---|---|---|---|
| Agents | 12 | 12 | ✅ Full parity |
| Commands | 23 | 24 | ✅ Full parity |
| Skills | 16 | 16 | ✅ Full parity |
| Hooks | 3 phases | 20+ events | ✅ OpenCode has MORE |
| Custom Tools | Via hooks | 3 native | ✅ OpenCode is better |
🚀 Quick Start
Option 1: Direct use
```bash
cd everything-claude-code
opencode
```
Option 2: npm package
```bash
npm install opencode-ecc
```
Then add to `opencode.json`:
```json
{
"plugin": ["opencode-ecc"]
}
```
📖 Documentation
- Migration Guide: `.opencode/MIGRATION.md`
- Plugin README: `.opencode/README.md`
- LLM Documentation: `llms.txt`
⚠️ Breaking Changes
- Removed `.opencode/LIMITATIONS.md` (hooks ARE supported via plugins!)
- Rewrote `.opencode/MIGRATION.md` with correct hook mapping
Full Changelog: v1.2.0...v1.3.0