Skip to content

fix(opencode): qualify SDK 0.3.0 for native V1 and V2 - #451

Merged
777genius merged 4 commits into
mainfrom
chore/opencode-sdk-release-0.3.0
Oct 18, 2026
Merged

777genius merged 4 commits into
mainfrom
chore/opencode-sdk-release-0.3.0

Conversation

@777genius

@777genius 777genius commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

The OpenCode event SDK 0.3.0 supports native V1 and V2 observers while preserving the published root factories. Strict V2 rejects mismatched native user identities and contradictory failure duplicates. The release candidate uses V1 1.19.3 and V2 2.0.32 development pins, preserves V1 floor compatibility, and removes the vulnerable SDK development dependency chain.

The SDK CI now checks installed packages on Linux/macOS/Windows and runs both real native hosts against one packed SDK in isolated TEST Git projects with a scripted loopback provider. Immutable SDK tags can produce an attested tarball only after package, Go, and native gates pass. Public-registry readback can repeat the installed-consumer checks without repacking.

Validation:

  • Both new strict V2 regressions failed before their fixes; all 150 observer tests, public typechecks and packed consumers passed.
  • Real strict V1 1.19.3 and V2 2.0.32 passed completion, unanswered question/permission, reply/reject settlement fencing, permanent errors, disposal during preparation and native reload. V1 disposal is explicitly consumer-driven; V2 uses native cleanup.
  • Settlement evidence requires request-specific cancellation before any later interrupt and while the original metadata deadline still has time remaining. The receipt rechecks the full closed trace for escaped attention facts.
  • Go decoder tests/vet, complete npm dependency audit and actionlint passed. Final exact-head CI is required before merge and publication.

Native SDK tarball SHA256: 3022551cbaa4e87d474344946440e057b20be9f3220902b0763f892e8ea257b5. Corrected native receipt SHA256: 196e172593f76cd4fc9a17114b7510c8558eb19bbed41cb9bc7a827c8a383f73. This SDK release does not qualify AN product installers/delivery or untested native floor/workspace/child/fork/platform combinations.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0eb5f071-ec74-405e-9e56-37675823c759
📥 Commits

Reviewing files that changed from the base of the PR and between d0ade42 and 26a39e7.

⛔ Files ignored due to path filters: 1
  • sdk/opencode-js/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 15
  • .github/workflows/opencode-sdk.yml
  • docs/RELEASE.md
  • sdk/opencode-js/README.md
  • sdk/opencode-js/package.json
  • sdk/opencode-js/scripts/check-packed.mjs
  • sdk/opencode-js/scripts/native-README.md
  • sdk/opencode-js/scripts/native-plugin-v1.ts
  • sdk/opencode-js/scripts/native-plugin-v2.ts
  • sdk/opencode-js/scripts/native-qualify.ts
  • sdk/opencode-js/scripts/native-receipt.ts
  • sdk/opencode-js/scripts/native-support.ts
  • sdk/opencode-js/scripts/native-tsconfig.json
  • sdk/opencode-js/test/v2.test.js
  • sdk/opencode-js/v2-reducer.js
  • sdk/opencode-js/v2.d.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.51%. Comparing base (d0ade42) to head (26a39e7).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #451      +/-   ##
==========================================
- Coverage   62.53%   62.51%   -0.03%     
==========================================
  Files        1581     1581              
  Lines       90289    90317      +28     
==========================================
- Hits        56466    56462       -4     
- Misses      25703    25734      +31     
- Partials     8120     8121       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@777genius
777genius marked this pull request as ready for review October 18, 2026 17:43
@777genius
777genius merged commit d61eb51 into main Oct 18, 2026
43 checks passed
@777genius
777genius deleted the chore/opencode-sdk-release-0.3.0 branch October 18, 2026 18:06
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