Skip to content

Version Packages - #82

Merged
jumski merged 1 commit into
mainfrom
changeset-release/main
Oct 30, 2026
Merged

jumski merged 1 commit into
mainfrom
changeset-release/main

Conversation

@opencode-supabase-changesets

@opencode-supabase-changesets opencode-supabase-changesets Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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-supabase@0.6.0

Minor Changes

  • 88c3305: Add OpenCode 2.0.27 support while preserving OpenCode 1.17.4+ compatibility. Both server and TUI entrypoints expose the appropriate host hook. V2 uses native integration credentials for the host's active account, account-specific refresh and disconnect, and scoped OAuth cleanup; existing V1 local credentials require a new login on V2. Keep real Zod tool schemas for both hosts, register bundled skills, and port /supabase with browser authorization and onboarding. The connected V2 dialog uses OpenCode's native selection component for plugin-defined Continue/Disconnect actions; advanced account management stays in V2's native /connect integration UI. Add V2 packed-TUI CI coverage and prune V2's npm cache before uploading diagnostics.

    Builds on Rafael Santos's (@rafaelsnv) initial V2 migration in PR feat: port to V2 plugin API with plugin-compat layer #79.

Patch Changes

  • e918865: Make the packed-TUI e2e harness compatible with OpenCode V2 (@opencode/cli): register the plugin by writing project .opencode/opencode.json (V2 plugin add is an interactive wizard), use lowercase --log-level debug, and isolate the V2 managed serve --service daemon on its own port. V1 behavior unchanged.
  • 0acee2b: Fix the OAuth callback writing tokens to the wrong local auth store (Callback server can write OAuth tokens to wrong local auth store #32). Persist tokens against the per-flow pending auth entry (keyed by state) instead of the singleton callback server's first-call input, so concurrent flows for different directories no longer cross-write each other's store.
  • daa6816: Fix V2 OAuth refresh dedup dropping its entry too early and keying on the raw broker URL (V2 refresh deduplication ends before host credential persistence #90, Normalize broker URL before V2 refresh deduplication #91). Keep a successful refresh cached under the consumed old refresh token until the process ends: the OpenCode host persists the rotated credential only after refresh() resolves, so a second resolve in that window must converge on the cached result instead of re-sending the single-use token (broker 401). Failed refreshes still delete the entry so waiters are released and a retry reaches the broker. Dedup keys now strip the trailing slash with the same normalization makeBrokerRequest() applies, so https://host/broker and https://host/broker/ aliases no longer send the credential twice.
  • e549fc1: Refresh vendored Supabase skills from supabase/agent-skills v0.1.9 (commit 544bfc5). Adds scoped personal access token guidance, declarative schema workflow, and a debugging section to the supabase skill; broadens the supabase-postgres-best-practices trigger description; records both skill changelogs. Provenance updated in skills/.upstream.json. Context: Port automatic agent-skills sync workflow #46.

@opencode-supabase-changesets
opencode-supabase-changesets Bot force-pushed the changeset-release/main branch 5 times, most recently from 5838f68 to ecef5d8 Compare October 7, 2026 12:50
@opencode-supabase-changesets
opencode-supabase-changesets Bot force-pushed the changeset-release/main branch 2 times, most recently from 8702cce to d0a2cde Compare October 21, 2026 10:06
@jumski
jumski merged commit 36e1dfc into main Oct 30, 2026
16 checks passed
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