Skip to content

fix: opencode plugin not working#103

Merged
taosu0216 merged 1 commit intomindfold-ai:mainfrom
ddddddIl:fix/opencode-plugins-pr
Mar 21, 2026
Merged

fix: opencode plugin not working#103
taosu0216 merged 1 commit intomindfold-ai:mainfrom
ddddddIl:fix/opencode-plugins-pr

Conversation

@ddddddIl
Copy link
Copy Markdown
Contributor

@ddddddIl ddddddIl commented Mar 19, 2026

Trellis was still placing OpenCode project plugins under the legacy .opencode/plugin/ path.
Current OpenCode expects project plugins under .opencode/plugins/, so the generated project plugins were not loaded correctly and the OpenCode plugin hooks did not take effect.

@taosu0216
Copy link
Copy Markdown
Contributor

Thanks for catching this — the plugin/ → plugins/ rename is indeed needed for OpenCode v1.2+.
However, we already have the full plugin files in packages/cli/src/templates/opencode/plugin/ with monorepo support, dynamic spec scanning, task status injection, etc. The fix should be a directory rename rather than adding new files alongside the existing ones.

@ddddddIl ddddddIl force-pushed the fix/opencode-plugins-pr branch from 5f30a25 to ea39736 Compare March 20, 2026 16:37
@ddddddIl ddddddIl force-pushed the fix/opencode-plugins-pr branch from ea39736 to b4d67e8 Compare March 20, 2026 16:42
@taosu0216 taosu0216 merged commit f62b4f6 into mindfold-ai:main Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants