Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/fix-mixed-server-client-tool-stall.md

This file was deleted.

13 changes: 13 additions & 0 deletions examples/ts-svelte-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# ts-svelte-chat

## 0.1.14

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-anthropic@0.6.0
- @tanstack/ai-client@0.5.1
- @tanstack/ai-gemini@0.6.0
- @tanstack/ai-ollama@0.6.0
- @tanstack/ai-openai@0.6.0
- @tanstack/ai-svelte@0.6.1

## 0.1.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-svelte-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ts-svelte-chat",
"private": true,
"version": "0.1.13",
"version": "0.1.14",
"type": "module",
"scripts": {
"dev": "vite dev --port 3000",
Expand Down
14 changes: 14 additions & 0 deletions examples/ts-vue-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# ts-vue-chat

## 0.1.14

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-anthropic@0.6.0
- @tanstack/ai-client@0.5.1
- @tanstack/ai-gemini@0.6.0
- @tanstack/ai-ollama@0.6.0
- @tanstack/ai-openai@0.6.0
- @tanstack/ai-vue@0.6.1
- @tanstack/ai-vue-ui@0.1.12

## 0.1.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-vue-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-vue-chat",
"version": "0.1.13",
"version": "0.1.14",
"private": true,
"type": "module",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions examples/vanilla-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# vanilla-chat

## 0.0.16

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-client@0.5.1

## 0.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vanilla-chat",
"private": true,
"type": "module",
"version": "0.0.15",
"version": "0.0.16",
"scripts": {
"start": "vite --port 3001",
"dev": "vite --port 3001",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-client

## 0.5.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-client",
"version": "0.5.0",
"version": "0.5.1",
"description": "Framework-agnostic headless client for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-devtools-core

## 0.3.6

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1

## 0.3.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-devtools-core",
"version": "0.3.5",
"version": "0.3.6",
"description": "Core TanStack AI Devtools",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-fal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-fal

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-fal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-fal",
"version": "0.6.0",
"version": "0.6.1",
"description": "fal.ai adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-openrouter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-openrouter

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-openrouter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-openrouter",
"version": "0.6.0",
"version": "0.6.1",
"description": "OpenRouter adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-preact/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-preact

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-preact",
"version": "0.6.0",
"version": "0.6.1",
"description": "Preact hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-react

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-react",
"version": "0.6.0",
"version": "0.6.1",
"description": "React hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-solid

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-solid",
"version": "0.6.0",
"version": "0.6.1",
"description": "Solid hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-svelte

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-svelte",
"version": "0.6.0",
"version": "0.6.1",
"description": "Svelte bindings for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-vue-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-vue-ui

## 0.1.12

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-vue@0.6.1

## 0.1.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-vue-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-vue-ui",
"version": "0.1.11",
"version": "0.1.12",
"description": "Headless Vue components for building AI chat interfaces",
"module": "./src/index.ts",
"types": "./src/index.ts",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-vue

## 0.6.1

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1

## 0.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-vue",
"version": "0.6.0",
"version": "0.6.1",
"description": "Vue hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/typescript/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tanstack/ai

## 0.6.1

### Patch Changes

- Fix chat stall when server and client tools are called in the same turn. ([#323](https://github.com/TanStack/ai/pull/323))

When the LLM requested both a server tool and a client tool in the same response, the server tool's result was silently dropped. The `processToolCalls` and `checkForPendingToolCalls` methods returned early to wait for the client tool, skipping the `emitToolResults` call entirely — so the server result was never emitted or added to the message history, causing the session to stall indefinitely.

The fix emits completed server tool results before yielding the early return for client tool / approval waiting.

Also fixes the smoke-test harness and test fixtures to use `chunk.value` instead of `chunk.data` for CUSTOM events, following the rename introduced in #307.

## 0.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai",
"version": "0.6.0",
"version": "0.6.1",
"description": "Core TanStack AI library - Open source AI SDK",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/preact-ai-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/preact-ai-devtools

## 0.1.10

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-devtools-core@0.3.6

## 0.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/preact-ai-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/preact-ai-devtools",
"version": "0.1.9",
"version": "0.1.10",
"description": "Preact Devtools for TanStack AI.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/react-ai-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/react-ai-devtools

## 0.2.10

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-devtools-core@0.3.6

## 0.2.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/react-ai-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-ai-devtools",
"version": "0.2.9",
"version": "0.2.10",
"description": "React Devtools for TanStack AI.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/typescript/smoke-tests/adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tanstack/tests-adapters

## 0.1.15

### Patch Changes

- Updated dependencies [[`d8678e2`](https://github.com/TanStack/ai/commit/d8678e254a8edfa4f95eeb059aa30083c18f52f8)]:
- @tanstack/ai@0.6.1
- @tanstack/ai-anthropic@0.6.0
- @tanstack/ai-gemini@0.6.0
- @tanstack/ai-ollama@0.6.0
- @tanstack/ai-openai@0.6.0
- @tanstack/ai-openrouter@0.6.1

## 0.1.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/smoke-tests/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/tests-adapters",
"version": "0.1.14",
"version": "0.1.15",
"private": true,
"description": "Tests for TanStack AI adapters",
"author": "",
Expand Down
Loading