Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .opencode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@
* @packageDocumentation
*/

// Export the main plugin
export { ECCHooksPlugin, default } from "./plugins/index.js"
// Export the main v2 plugin (OpenCode v2: default-exported definition).
export { default } from "./plugins/index.js"

// Export individual components for selective use
export * from "./plugins/index.js"
// Export the tool runners for selective use
export * from "./tools/changed-files.js"
export * from "./tools/dependency-analyzer.js"

// Version export
export const VERSION = "1.6.0"
Expand All @@ -55,17 +56,15 @@ export const metadata = {
skills: 37,
configAssets: true,
hookEvents: [
"file.edited",
"tool.execute.before",
"tool.execute.after",
"session.created",
"session.idle",
"session.deleted",
"file.watcher.updated",
"permission.ask",
"todo.updated",
"shell.env",
"experimental.session.compacting",
"filesystem.changed",
"permission.evaluate",
"shell.create.before",
"compaction",
],
customTools: [
"run-tests",
Expand Down
9 changes: 1 addition & 8 deletions .opencode/opencode.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"$schema": "https://opencode.ai/config.json",
"default_agent": "build",
"instructions": [
"AGENTS.md",
"CONTRIBUTING.md",
"instructions/INSTRUCTIONS.md",
"skills/tdd-workflow/SKILL.md",
"skills/security-review/SKILL.md",
Expand All @@ -17,14 +15,9 @@
"skills/strategic-compact/SKILL.md",
"skills/eval-harness/SKILL.md"
],
"plugin": [
"plugins": [
"./plugins"
],
Comment on lines +18 to 20

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Point at the file so v2 loads it once instead of twice, which avoids the duplicate plugin ID failure.

Suggested change
"plugins": [
"./plugins"
],
"plugins": [
"./plugins/index.ts"
],

"skills": {
"paths": [
"../skills"
]
},
"agent": {
"build": {
"description": "Primary coding agent for development work",
Expand Down
Loading