Merged
Conversation
fc83887 to
f369cb0
Compare
f369cb0 to
513037a
Compare
Coverage Report
File CoverageNo changed files found. |
Bump next and eslint-config-next from ^15 to ^16. Remove the webpack extensionAlias config since Turbopack handles .js → .ts resolution natively. Drop the .js suffix from the local tools import. The tsconfig.json changes are auto-generated by Next.js 16. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bump next and eslint-config-next from ^15 to ^16. Remove the webpack extensionAlias config since Turbopack handles .js → .ts resolution natively. Drop the .js suffix from the local tools import. The tsconfig.json changes are auto-generated by Next.js 16. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Next.js 16 infers the workspace root by walking up to the topmost lockfile, which lands on ~/package-lock.json. Setting turbopack.root to the repo root gives the correct resolution scope for the symlinked @ably/ai-transport dependency.
Without the `body` option, the server route receives `id: undefined` and creates a channel outside the `ai:` namespace, which doesn't have `mutableMessages` enabled. Match the use-client-transport demo by including `id: chatId` in the transport body.
513037a to
d2a9a4e
Compare
ttypic
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade both Vercel React demos (
use-chatanduse-client-transport) from Next.js 15 to Next.js 16, which defaults to Turbopack.What changed
nextandeslint-config-nextto^16in both demos. Turbopack is now the default bundler, replacing webpack.webpackconfig that resolved.js→.tsextension aliases for the symlinked SDK is no longer needed — Turbopack handles this natively.turbopack.root: Next.js 16 infers the workspace root by walking up to the topmost lockfile, which lands outside the repo. Explicitly settingturbopack.rootto the repo root gives the correct resolution scope for thefile:-linked@ably/ai-transportdependency.jsx: "react-jsx"replaces"preserve", added.next/dev/types/**/*.tsto includes, reformatted arrays..jsextensions in local imports:route.tsfiles in both demos import./toolsinstead of./tools.js, matching Turbopack's resolution.