0.7.2 - Install fixes (Next config + version pinning)
Fixes the documented install failing in a real Next + Payload app (found by smoke-testing 0.7.1).
Fixed
- Pinned
@tanstack/ai-code-modeand@tanstack/ai-isolate-nodeto exact0.1.23;^0.1.23let fresh installs drift to patches whose peers require a newer@tanstack/aithan the pinned0.23.0. - Documented the required
next.configserverExternalPackages(@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 withUnknown module type/invalid utf-8errors. - Pinned the AI provider (
@tanstack/ai-anthropic@^0.11.1) andzod@^4.4.3in the quick-start install command, and added a Troubleshooting section. The unpinned command pulled an incompatible@tanstack/ai-anthropicand a duplicatezod(twochatcopies → 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.