Skip to content

feat(opencode): add V1 and V2 distributions - #305

Open
sergical wants to merge 11 commits into
mainfrom
feat/opencode-plugins
Open

feat(opencode): add V1 and V2 distributions#305
sergical wants to merge 11 commits into
mainfrom
feat/opencode-plugins

Conversation

@sergical

@sergical sergical commented Jul 30, 2026

Copy link
Copy Markdown
Member

Adds generated OpenCode V1 and OpenCode V2 distributions with hydrated skills and each version’s native MCP configuration. These are installer-managed skill and MCP bundles, not OpenCode runtime plugins: OpenCode discovers the installed skills globally, while the installer configures the MCP server through each version’s CLI.

The V2 build translates hidden leaves to metadata.opencode/autoinvoke: "false"; validators exercise both generated bundles against pinned CLIs. The installer now detects both binaries, installs the matching generated repository into OpenCode’s global skill directory, and prefers V2 when both are present because the beta shares V1’s config path but uses an incompatible MCP shape.

Deployment and smoke workflows cover both versions, and the public getsentry/plugin-opencode and getsentry/plugin-opencode2 repositories are initialized for the first deployment. The repository names follow the existing distribution naming convention; they do not indicate OpenCode runtime-plugin packages.

sergical and others added 2 commits July 30, 2026 10:36
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
@sergical
sergical force-pushed the feat/opencode-plugins branch from bdf920b to bfeb1a3 Compare July 30, 2026 14:46
@sergical
sergical changed the base branch from feat/pi-plugin-package to main July 30, 2026 14:46
@sergical
sergical marked this pull request as ready for review July 30, 2026 14:46
Comment thread packages/installer/src/harnesses/opencode-common.ts
Comment thread packages/installer/src/harnesses/opencode-common.ts Outdated
Comment thread packages/installer/src/harnesses/opencode-common.ts
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Comment thread packages/installer/src/harnesses/opencode-common.ts
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Comment thread packages/installer/src/harnesses/opencode-common.ts
Co-Authored-By: GPT-5.6 <noreply@openai.com>
@sergical
sergical requested a review from evanpurkhiser July 30, 2026 16:16
Comment thread .github/workflows/deploy-plugins.yml Outdated
Comment thread .github/workflows/smoke-installer.yml
Comment thread packages/installer/src/harnesses/opencode-common.ts Outdated
sergical and others added 2 commits July 30, 2026 16:06
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Comment thread packages/installer/src/harnesses/opencode-common.ts Outdated
Comment thread packages/installer/src/harnesses/opencode.ts
sergical and others added 2 commits July 30, 2026 16:26
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Resolves conflicts against the harness build-on-demand refactor (#321),
the develop/main deploy split (#317), and the flowmark reformat (#315/#316):

- harnesses/index.ts: register the two OpenCode harnesses inside
  buildHarnesses() and drop their module-level constants, matching the
  single-construction-path refactor
- deploy-plugins.yml: keep main's develop/main branch semantics with the
  job counts updated for six plugin repos
- AGENTS.md / READMEs: fold the OpenCode V1/V2 mentions into main's
  reflowed prose

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 6, 2026

Copy link
Copy Markdown

DEVEX-578

@sentry

sentry Bot commented Aug 6, 2026

Copy link
Copy Markdown

🚧 Skipped: PR exceeds review size limit.

Please split into smaller PRs and re-run.
Reference ID: 15744540

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 105235a. Configure here.

Comment thread node_modules/.modules.yaml Outdated
The pnpm workspace hoists packages into a root node_modules/, which the
root .gitignore never covered (only packages/installer/ ignores its own),
so the merge commit accidentally swept it into the tree. Untrack it and
add the ignore so it cannot recur.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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