Skip to content

Refresh runtime and SDK dependencies within verified compatibility limits - #69

Merged
MiguelsPizza merged 2 commits into
mainfrom
alex/dependency-refresh-2026-09-14
Sep 17, 2026
Merged

MiguelsPizza merged 2 commits into
mainfrom
alex/dependency-refresh-2026-09-14

Conversation

@MiguelsPizza

@MiguelsPizza MiguelsPizza commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Refresh dependencies across the runtime, both browser examples, and the six maintained SDK packages. The runtime now tests against workerd 1.20260911.1, with updated SQLite WASM, Cap’n Web, structured clone, TypeScript, Vite, Vitest and Playwright.

Adapt the WebSocket declarations and example binary forwarding to current DOM types. Update the SDK’s TanStack AI/Vite type boundaries and migrate all six build scripts to tsdown’s external-dependency configuration, preserving external packages, constructor names and ES2021 async syntax. Refresh the Vitest browser React patch and the divergence inventory.

Compatibility limits:

  • No AI SDK or provider version changes, including the AI SDK 7.0.18 already present on main in the isolated SDK workspace.
  • Pin Chat and its adapters to 4.38.0. Versions 4.39+ initialize node:net.BlockList on import, which breaks browser workers; 4.40 also changes the Telegram verification contract.
  • Keep oxlint 1.71.0: the latest version introduces React compiler diagnostics requiring a separate upstream hook cleanup. Keep Vitest 4, matching the Cloudflare Workers pool’s supported peer range.

Validation passed:

  • Runtime typecheck, 938 unit tests, and 230 conformance cases across workerd, Node and Chromium.
  • SDK exports/format/lint/typecheck and all maintained suites: 1,824 tests across React, chat/recovery, Agents, AI Chat, Think, voice, shell and browser adapters.
  • Runtime packed-package validation and all six SDK tarballs.
  • Both real-Chromium examples, including persistence, actor/socket lifecycle and exported Worker deployment dry runs.
  • Oracle pin consistency and git diff --check.

Related dependency refreshes: rook-integrations #3, agent-skills-ts-sdk #11. Rook and design-system retain their existing released SDK tarball pins until this change is merged, released and verified by those consumers.

Coordinated PRs: Rook #169, do-runtime #69, design-system #259, rook-integrations #3, agent-skills-ts-sdk #11. npm-packages is excluded.

…mits

Validate the browser runtime against workerd 1.20260911.1 and update SQLite, Cap'n Web and the build/test toolchain. Preserve external SDK package boundaries with tsdown's current API and adapt DOM, Node and TanStack AI declarations.

Pin Chat at 4.38 because newer adapters initialize Node-only networking in browser workers. Keep all existing AI SDK/provider versions and oxlint 1.71; newer lint rules require a separate upstream React cleanup.
@MiguelsPizza
MiguelsPizza merged commit 4346a6e into main Sep 17, 2026
1 check 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