mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-01 22:53:27 +08:00
Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"
This reverts commit 1bd68ff534.
This commit is contained in:
71
.opencode/index.ts
Normal file
71
.opencode/index.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Everything Claude Code (ECC) Plugin for OpenCode
|
||||
*
|
||||
* This package provides a complete OpenCode plugin with:
|
||||
* - 13 specialized agents (planner, architect, code-reviewer, etc.)
|
||||
* - 31 commands (/plan, /tdd, /code-review, etc.)
|
||||
* - Plugin hooks (auto-format, TypeScript check, console.log warning, etc.)
|
||||
* - Custom tools (run-tests, check-coverage, security-audit)
|
||||
* - 37 skills (coding-standards, security-review, tdd-workflow, etc.)
|
||||
*
|
||||
* Usage:
|
||||
*
|
||||
* Option 1: Install via npm
|
||||
* ```bash
|
||||
* npm install ecc-universal
|
||||
* ```
|
||||
*
|
||||
* Then add to your opencode.json:
|
||||
* ```json
|
||||
* {
|
||||
* "plugin": ["ecc-universal"]
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Option 2: Clone and use directly
|
||||
* ```bash
|
||||
* git clone https://github.com/affaan-m/everything-claude-code
|
||||
* cd everything-claude-code
|
||||
* opencode
|
||||
* ```
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
// Export the main plugin
|
||||
export { ECCHooksPlugin, default } from "./plugins/index.js"
|
||||
|
||||
// Export individual components for selective use
|
||||
export * from "./plugins/index.js"
|
||||
|
||||
// Version export
|
||||
export const VERSION = "1.4.1"
|
||||
|
||||
// Plugin metadata
|
||||
export const metadata = {
|
||||
name: "ecc-universal",
|
||||
version: VERSION,
|
||||
description: "Everything Claude Code plugin for OpenCode",
|
||||
author: "affaan-m",
|
||||
features: {
|
||||
agents: 13,
|
||||
commands: 31,
|
||||
skills: 37,
|
||||
hookEvents: [
|
||||
"file.edited",
|
||||
"tool.execute.before",
|
||||
"tool.execute.after",
|
||||
"session.created",
|
||||
"session.idle",
|
||||
"session.deleted",
|
||||
"file.watcher.updated",
|
||||
"permission.asked",
|
||||
"todo.updated",
|
||||
],
|
||||
customTools: [
|
||||
"run-tests",
|
||||
"check-coverage",
|
||||
"security-audit",
|
||||
],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user