Skip to content

Update deps, versioning, and release workflow for v2 dist-tag #75

Description

@frap129

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

v2Part of the opencode v2 migration effortwayfinder:taskWork required to unblock a wayfinding decision

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions