Skip to content

chore: version package - #5

Merged
grikomsn merged 1 commit into
mainfrom
changeset-release/main
Sep 12, 2026
Merged

grikomsn merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

opencode-provider-orvix@0.3.0

Minor Changes

  • 3b2eaa3: Support the OpenCode V2 plugin API from the same package while keeping the V1 plugin API.

    • Ship the dual entrypoint recommended by OpenCode's V1 plugin migration guide: the default export spreads a V2 Plugin.define({ id: "orvix", setup }) with the V1 server() function returning the classic config and auth hooks. OpenCode 1.x (≥ 1.18.29) calls server(); OpenCode 2.x reads id and setup.
    • V2 registration lives in the new src/v2.ts: a catalog transform creates the orvix provider (aisdk:@ai-sdk/openai-compatible, base URL https://api.orvix.id/v1) and upserts the model catalog in the V2 model shape (variant array, tiered costs, capabilities), plus integration transforms that register env (ORVIX_API_KEY) and key credential methods on the orvix integration.
    • User-configured models and provider fields are never overwritten; live /models discovery and the fallback catalog behave exactly as in V1.
    • Add @opencode/plugin as a dependency. Users on OpenCode versions older than 1.18.29 should stay on opencode-provider-orvix@0.2.

@grikomsn
grikomsn merged commit dc793f4 into main Sep 12, 2026
@grikomsn
grikomsn deleted the changeset-release/main branch September 12, 2026 19:58
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.

1 participant