Question
Update package metadata and CI for the v2 line, on the v2 branch:
- devDeps:
@opencode-ai/plugin@beta, @opencode-ai/sdk@beta (or migrate to @opencode-ai/client@beta as the delivery engine requires), plus peer deps the v2 plugin pulls in (effect, zod, @opencode-ai/ai if required at runtime).
- peerDependencies: target the v2 beta line (
0.0.0-beta-*); tighten at GA.
- Version:
2.0.0-beta.x (start at 2.0.0-beta.1).
- CI/release workflow: stable publishes trigger on non-alpha/non-beta
v* tags; beta tags publish with npm dist-tag. Add/verify a v2 dist-tag publish path (not beta — v1 users tracking beta must not receive v2 builds). Verify the workflow's "beta contained by dev" rule doesn't break: v2 branch work flows through v2, not dev.
- Check whether the
files/exports map needs changes (e.g. if test seams move out of src/index.ts, keep __testOnly-replacement out of the published surface; .opencode/plugin/ + .opencode/plugins/ both discovered in v2 — README install docs should say plugins).
Question
Update package metadata and CI for the v2 line, on the
v2branch:@opencode-ai/plugin@beta,@opencode-ai/sdk@beta(or migrate to@opencode-ai/client@betaas the delivery engine requires), plus peer deps the v2 plugin pulls in (effect,zod,@opencode-ai/aiif required at runtime).0.0.0-beta-*); tighten at GA.2.0.0-beta.x(start at2.0.0-beta.1).v*tags; beta tags publish with npm dist-tag. Add/verify av2dist-tag publish path (notbeta— v1 users trackingbetamust not receive v2 builds). Verify the workflow's "beta contained bydev" rule doesn't break: v2 branch work flows throughv2, notdev.files/exportsmap needs changes (e.g. if test seams move out ofsrc/index.ts, keep__testOnly-replacement out of the published surface;.opencode/plugin/+.opencode/plugins/both discovered in v2 — README install docs should sayplugins).