Skip to content

BL-059: Upgrade SDK to v1.3.14 - OpenCode Compatibility#74

Merged
tryweb merged 6 commits intomainfrom
feat/align-opencode-sdk-v1314
Apr 8, 2026
Merged

BL-059: Upgrade SDK to v1.3.14 - OpenCode Compatibility#74
tryweb merged 6 commits intomainfrom
feat/align-opencode-sdk-v1314

Conversation

@tryweb
Copy link
Copy Markdown
Owner

@tryweb tryweb commented Apr 8, 2026

Summary

  • BL-059: SDK upgrade to v1.3.14
  • OpenCode v1.3.14 fully compatible with lancedb-opencode-pro
  • All verification tests pass (65 tests)
  • SDK type changes documented and fixed

Changes

  • Upgraded SDK to v1.3.14
  • Fixed SDK type compatibility issues
  • Updated documentation

Verification

  • ✅ Phase 0: Branch validated with upstream
  • ✅ Phase 1: OpenSpec change validated
  • ✅ Phase 2: All tests pass (65 tests)
  • ✅ Phase 3: Documentation complete
  • ✅ Phase 4: Change archived
  • ✅ Phase 5: All changes committed
  • ✅ Phase 6: No conflicts with origin/main

Developer added 6 commits April 8, 2026 17:31
- Pin OpenCode version to v1.3.14 in Dockerfile.opencode
- Update @opencode-ai/plugin and @opencode-ai/sdk to v1.3.14
- Update lockfile with new dependencies
- Add OpenSpec change artifacts for BL-059

This aligns the Docker test environment with SDK version to enable
proper verification of the SDK upgrade path across AI SDK v5→v6
migration and Tool.define() bug fix.

Related: BL-059
- Update Config import from @opencode-ai/sdk to @opencode-ai/plugin
- Fix Config.plugin type compatibility (string[] → (string | [string, PluginOptions])[])
- Update OPENCODE_COMPATIBILITY.md with v1.3.14 verified status
- Mark BL-059 as done in roadmap.md and backlog.md
- Document v1.3.14 SDK changes and migration notes

SDK v1.3.14 extends Config.plugin to support plugin options, requiring
type alignment. TypeScript typecheck and build both pass successfully.

Related: BL-059
Mark test execution tasks as requiring Docker environment.
Document completed tasks (TypeScript fix, build, documentation).
- All test suites pass: foundation (31), regression (32), retrieval (2)
- benchmark:latency passes all hard gates
- verify:full completes successfully
- session.idle hook validated after AI SDK v5→v6 migration
- All 17 tool execute behaviors confirmed correct

SDK v1.3.14 fully compatible with lancedb-opencode-pro.

Related: BL-059
- Archive OpenSpec change to openspec/changes/archive/
- All tests verified in Docker environment with OpenCode v1.3.14
- Documentation updated (OPENCODE_COMPATIBILITY.md, backlog.md, roadmap.md)
- Ready for merge to main
Handle async write delay in memory_delete/memory_clear test by using retryWithDelay when searching after capture. Node 22 environment shows race condition where search might not find immediately written memory.
@tryweb tryweb merged commit d7cac07 into main Apr 8, 2026
9 checks passed
@tryweb tryweb deleted the feat/align-opencode-sdk-v1314 branch April 8, 2026 15:53
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