mirror of
https://github.com/waybarrios/opencode-power-pack.git
synced 2026-11-18 18:03:43 +00:00
The OpenCode 2 plugin API replaces the V1 config hook, so the shipped plugin no longer loads on 2.x. Port every OpenCode surface in one change: - Register all bundled skills and the three specialist subagents through ctx.skill.transform and ctx.agent.transform, with ordered V2 permission rulesets and frontmatter-stripped skill content. - Move the shared definitions helper to .opencode/lib so the plugin loader does not discover it as a plugin entrypoint. - Rewrite the behavioral eval runner around opencode serve, the V2 session API, and skill attachments; keep the grading, redaction, and snapshot evidence model unchanged. - Port the smoke test to @opencode/cli 2.0.14 and verify registration through a companion plugin, and update CI to install dependencies. - Require OpenCode >= 2.0.0 and depend on @opencode/plugin ^2.0.14.