Skip to content

0.7.2 - Install fixes (Next config + version pinning)

Choose a tag to compare

@aamdmn aamdmn released this 06 Jun 19:16
· 10 commits to main since this release
a985178

Fixes the documented install failing in a real Next + Payload app (found by smoke-testing 0.7.1).

Fixed

  • Pinned @tanstack/ai-code-mode and @tanstack/ai-isolate-node to exact 0.1.23; ^0.1.23 let fresh installs drift to patches whose peers require a newer @tanstack/ai than the pinned 0.23.0.
  • Documented the required next.config serverExternalPackages (@tanstack/ai-code-mode, @tanstack/ai-isolate-node, esbuild, isolated-vm) — without them Next bundles the Code Mode sandbox and the app fails to boot with Unknown module type / invalid utf-8 errors.
  • Pinned the AI provider (@tanstack/ai-anthropic@^0.11.1) and zod@^4.4.3 in the quick-start install command, and added a Troubleshooting section. The unpinned command pulled an incompatible @tanstack/ai-anthropic and a duplicate zod (two chat copies → adapter type error).

If you installed 0.7.0/0.7.1 in a Next + Payload app and hit esbuild boot errors, a buildBaseUsage error, or an adapter type error, upgrade to 0.7.2 and follow the updated README quick-start.