You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
OpenCode 2.x native plugin support: Added OpenCode 2.x native plugin API support via combined default export (id, setup, and server), allowing the same entrypoint to load across OpenCode 2.x and OpenCode 1.x (≥ 1.3.4).
Fresh-study novelty gate: Cross-repository source validation can require an independently reviewed approval bound to the exact cohort manifest and repository pins. Invalid or rejected approvals fail before a workspace is created or Git fetches sources, preventing protocol-invalid cohorts from being presented as fresh holdout evidence.
Changed
OpenCode peer dependency range: Narrowed peerDependencies["@opencode-ai/plugin"] from ^1.0.0 to ^1.3.4 to reflect object entrypoint compatibility, while keeping the runtime dependency pin at 1.3.13. Verified against the OpenCode loader source at tag v1.3.4 (object entrypoints accepted from that release), verified live against OpenCode 1.3.4 and 1.18.32 (plugin loads, 10 commands registered) and 2.0.12; the upstream migration guide states 1.18.29 or newer — see the pull request discussion for the maintainer's decision on the published floor.
OpenCode routing hints on v2: The developer routing hint role folds into system prompts on OpenCode 2.x because OpenCode 2.x no longer exposes a separate developer message channel.
Built CLI smoke tests: Smoke tests now assert the combined plugin object export (server and setup).