@tanstack/ai-isolate-node#
1.0.0#
Major Changes#
- #1840
f1b3f65- TanStack AI 1.0.0. This release removes every API that was deprecated in 0.x. Read the upgrade guide before you upgrade: https://tanstack.com/ai/latest/docs/migration/v1- Removed all
@deprecatedexports, options, fields, and type aliases. Each one has a replacement that already shipped in 0.x. - Removed
addToolApprovalResponse()fromChatClientand every chat hook. Resolve the boundtool-approvalinterrupt withresolveInterruptinstead. The devtools eventtools:approval:respondedis also removed. - Removed the old wire formats: the CUSTOM
approval-requestedandtool-input-availableevents, the[DONE]SSE line, thedatacopy offorwardedProps, pre-binding interrupt descriptors and theirapproval_requiredandclient_tool_inputreasons, and the STEP events that adapters sent next toREASONING_*events. Use a 1.0 client with a 1.0 server. - Removed the
toolNamealias fromTOOL_CALL_STARTchunks. ReadtoolCallNameinstead. threadIdis now required onuseChatand every other chat hook,ChatClient, the generation hooks and clients,chat(),summarize(), the generation functions,codeModeWithSnippets(),selectRelevantSnippets(),CompactionContext, andSummarizeInput. TanStack AI no longer makes a thread id for you. Pass a stable id for each conversation.createChatHookfactory options no longer takethreadId: pass it on each hook call. Octane generation hooks takethreadIdinstead ofid.@tanstack/ai-sandboxremovesresolveDurableThreadIdandDurableThreadIdRequiredError.- The published
@tanstack/ai-octane/uitypes are now strict.UI.Messages,UI.Message,UI.Part, andUI.Interruptstype their render children.ToolPropstypespart.inputandpart.outputfor the named tool.toolsComponentsandinterruptsComponentsare required when the chat options declare tools or named interrupts. Code that relied on the old loose types can fail to compile. - A connection adapter's
connect()andsend()need the run context (withthreadId) as their fourth argument.ChatClientand the generation clients pass it. @tanstack/ai-sandbox:createToolBridgeCore(),startHostToolBridge(), aToolBridgeProvisioner, andexecuteHostTool()take a requiredthreadId. Bridged tools get it in their context.@tanstack/ai-sandbox: the harness tool bridge andexecuteHostTool()refuse a tool withneedsApproval. Before, the tool ran with no approval. RemoveneedsApproval, or run the tool with an HTTP adapter.stream()andrpcStream()pass the AG-UIRunAgentInputfor the run as the fourth factory argument, the same body the HTTP adapters send. Read it on the server withchatParamsFromRequestBody()orgenerationParamsFromBody(), sothreadId,runId, and interruptresumereach a server function.RunAgentInputis exported from@tanstack/ai/client.- A generation
fetchergetsthreadIdandrunIdin its second argument, next tosignalandheaders. Pass them to the server generation call. generationParamsFromBody()andgenerationParamsFromRequest()read the generation input fromforwardedProps. A server that readsbody.datagetsundefined. Readbody.forwardedPropsinstead. They also requirethreadIdandrunIdand return them as strings, the same aschatParamsFromRequestBody()and the AG-UIRunAgentInput. A body that holds only the input is rejected.- Removed the readers for data saved in old 0.x formats (old Cloudflare run-log records, a bare
UIMessage[]from client persistence, artifact records withoutblobKey). - Removed provider models that are shut down.
@tanstack/ai-react-ui,@tanstack/ai-solid-ui, and@tanstack/ai-vue-uiget no 1.0 release. Import from@tanstack/ai-react/ui,@tanstack/ai-solid/ui, or@tanstack/ai-vue/ui.
- Removed all
Patch Changes#
0.1.52#
Patch Changes#
- Updated dependencies [
80ae825]:- @tanstack/ai-code-mode@0.5.0
0.1.51#
Patch Changes#
- Updated dependencies [
0fb8263]:- @tanstack/ai-code-mode@0.4.0
0.1.50#
Patch Changes#
#1071
ea9c077- fix: publish internal dependency ranges as^x.y.zinstead of exact pinsInternal dependencies on other TanStack AI packages used
workspace:*independenciesandpeerDependencies. pnpm rewrites that to an exact version at publish time, so a released package asked for e.g.@tanstack/ai-utils@0.4.0rather than^0.4.0.Two consequences for consumers:
- Duplicate copies. An exact pin cannot dedupe. Installing a newer
@tanstack/aialongside a package pinned to the previous patch produced two copies in the tree, which breaksinstanceofchecks and module-level state, and inflates bundles. - Unsatisfiable peers. An exactly pinned
peerDependencyconflicts the moment the internal package ships its next patch, forcing consumers into overrides or--legacy-peer-deps.
These fields now use
workspace:^, which publishes as^x.y.z. Every package here is still0.x, so^0.43.1resolves to0.43.xonly — patches dedupe cleanly and no breaking minor is ever pulled in.devDependenciesdeliberately keepworkspace:*: they are never published, and*correctly means "always build against the local copy".- Duplicate copies. An exact pin cannot dedupe. Installing a newer
Updated dependencies [
b2b82e4,ea9c077]:- @tanstack/ai-code-mode@0.3.11
0.1.49#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.10
0.1.48#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.9
0.1.47#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.8
0.1.46#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.7
0.1.45#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.6
0.1.44#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.5
0.1.43#
Patch Changes#
- Updated dependencies [
8f8be19]:- @tanstack/ai-code-mode@0.3.4
0.1.42#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.3
0.1.41#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.3.2
0.1.40#
Patch Changes#
#844
a6cceba- Republish all packages with their compileddist/output.Releases
0.33.0–0.36.0were published without adist/directory: the release workflow relied on an Nx-cachedbuildwhose outputs were not materialized to disk beforechangeset publishpacked the tarballs, andfiles: ["dist"]silently includes nothing whendist/is absent. The published packages therefore contained onlysrc/, so every export (./dist/esm/*.js) resolved to a missing file and the packages were uninstallable.The publish step now runs a fresh, cache-bypassing build of all packages immediately before publishing, guaranteeing compiled artifacts are present in every tarball.
Updated dependencies [
a6cceba]:- @tanstack/ai-code-mode@0.3.1
0.1.39#
Patch Changes#
- Updated dependencies [
fbd3762]:- @tanstack/ai-code-mode@0.3.0
0.1.38#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.13
0.1.37#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.12
0.1.36#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.11
0.1.35#
Patch Changes#
0.1.34#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.9
0.1.33#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.8
0.1.32#
Patch Changes#
#769
1d1bb52- Add repository metadata (homepage,bugs,funding), fixrepository.directoryto point at each package, and include an MITLICENSEfile in every published package.Updated dependencies [
1d1bb52]:- @tanstack/ai-code-mode@0.2.7
0.1.31#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.6
0.1.30#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.5
0.1.29#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.4
0.1.28#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.3
0.1.27#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.2
0.1.26#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.2.1
0.1.25#
Patch Changes#
- Updated dependencies [
8036b50]:- @tanstack/ai-code-mode@0.2.0
0.1.24#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.24
0.1.23#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.23
0.1.22#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.22
0.1.21#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.21
0.1.20#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.20
0.1.19#
Patch Changes#
Refresh package README content and npm metadata for better discoverability. (#626)
Updated dependencies [
ebeb22e]:- @tanstack/ai-code-mode@0.1.19
0.1.18#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.18
0.1.17#
Patch Changes#
- Updated dependencies [
ec1393d]:- @tanstack/ai-code-mode@0.1.17
0.1.16#
Patch Changes#
Tighten TypeScript safety: enable
noImplicitOverride, (#579)noFallthroughCasesInSwitch, anduseDefineForClassFieldsin the roottsconfig.json; add a typed-ESLint block scoped topackages/*/src/**that turns onno-floating-promises,no-misused-promises,await-thenable,switch-exhaustiveness-check,consistent-type-exports,prefer-readonly, andno-non-null-assertion(errors), plusno-explicit-any(warning).@ts-ignoreand@ts-nocheckare disallowed in library source via@typescript-eslint/ban-ts-comment, andas unknown as <T>double-casts are blocked by ano-restricted-syntaxrule (escape hatches available with an inline reason). Two flags from the original five-flag set —noPropertyAccessFromIndexSignatureandexactOptionalPropertyTypes— were tried and rolled back: they produced ~500 lines of bracket- access and conditional-spread churn without catching any real bugs, andexactOptionalPropertyTypeswould have forced consumers using it themselves to deal with our internals' style preferences.User-visible API surface is unchanged; this is a hardening pass to keep streaming/agent-loop correctness and discriminated-union exhaustiveness honest going forward. See issue #564.
Updated dependencies [
2ad137b]:- @tanstack/ai-code-mode@0.1.16
0.1.15#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.15
0.1.14#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.14
0.1.13#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.13
0.1.12#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.12
0.1.11#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.11
0.1.10#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.10
0.1.9#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.9
0.1.8#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.8
0.1.7#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.7
0.1.6#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.6
0.1.5#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.5
0.1.4#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.4
0.1.3#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.3
0.1.2#
Patch Changes#
- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.2
0.1.1#
Patch Changes#
- Updated dependencies [
1d1c58f]:- @tanstack/ai-code-mode@0.1.1
0.1.0#
Minor Changes#
Add code mode and isolate packages for secure AI code execution (#362)
Also includes fixes for Ollama tool call argument streaming and usage reporting, OpenAI realtime adapter handling of missing call_id/item_id, realtime client guards for missing toolCallId, and new DevtoolsChatMiddleware type export from ai-event-client.
Patch Changes#
- Updated dependencies [
54abae0]:- @tanstack/ai-code-mode@0.1.0