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
10 changes: 0 additions & 10 deletions .changeset/shy-ravens-sink.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/tool-race-conditions.md

This file was deleted.

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

## 0.1.6

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai-svelte@0.4.0
- @tanstack/ai@0.3.1
- @tanstack/ai-anthropic@0.3.0
- @tanstack/ai-gemini@0.3.0
- @tanstack/ai-ollama@0.3.0
- @tanstack/ai-openai@0.3.0

## 0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-svelte-chat/package.json
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "ts-svelte-chat",
"private": true,
"version": "0.1.5",
"version": "0.1.6",
"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 numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
# ts-vue-chat

## 0.1.6

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai-vue@0.4.0
- @tanstack/ai@0.3.1
- @tanstack/ai-vue-ui@0.1.5
- @tanstack/ai-anthropic@0.3.0
- @tanstack/ai-gemini@0.3.0
- @tanstack/ai-ollama@0.3.0
- @tanstack/ai-openai@0.3.0

## 0.1.5

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

## 0.0.9

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0

## 0.0.8

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

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- fix: improve tool execution reliability and prevent race conditions ([#258](https://github.com/TanStack/ai/pull/258))
- Fix client tool execution race conditions by tracking pending tool executions
- Prevent duplicate continuation attempts with continuationPending flag
- Guard against concurrent stream processing in streamResponse
- Add approval info to ToolCall type for server-side decision tracking
- Include approval info in model message conversion for approval workflows
- Check ModelMessage format for approval info extraction in chat activity

This change improves the reliability of tool execution, especially for:
- Client tools with async execute functions
- Approval-based tool workflows
- Sequential tool execution scenarios

- Updated dependencies [[`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai@0.3.1

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-client/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-client",
"version": "0.3.0",
"version": "0.4.0",
"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 numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-devtools-core

## 0.2.3

### Patch Changes

- Updated dependencies [[`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai@0.3.1

## 0.2.2

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

## 0.3.1

### Patch Changes

- Updated dependencies [[`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai@0.3.1

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-openrouter/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-openrouter",
"version": "0.3.0",
"version": "0.3.1",
"description": "OpenRouter adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/typescript/ai-preact/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
# @tanstack/ai-preact

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai@0.3.1

## 0.3.0

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

## 0.4.0

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai-react@0.4.0

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-react-ui/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-react-ui",
"version": "0.3.0",
"version": "0.4.0",
"description": "Headless React components for building AI chat interfaces",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
Expand Down
12 changes: 12 additions & 0 deletions packages/typescript/ai-react/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
# @tanstack/ai-react

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai@0.3.1

## 0.3.0

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

## 0.4.0

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai-solid@0.4.0

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-solid-ui/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-solid-ui",
"version": "0.3.0",
"version": "0.4.0",
"description": "Headless Solid components for building AI chat interfaces",
"module": "./src/index.ts",
"types": "./src/index.ts",
Expand Down
12 changes: 12 additions & 0 deletions packages/typescript/ai-solid/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
# @tanstack/ai-solid

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai@0.3.1

## 0.3.0

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

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai@0.3.1

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-svelte/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-svelte",
"version": "0.3.0",
"version": "0.4.0",
"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 numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-vue-ui

## 0.1.5

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4)]:
- @tanstack/ai-vue@0.4.0

## 0.1.4

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

## 0.4.0

### Minor Changes

- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) ([#247](https://github.com/TanStack/ai/pull/247))

### Patch Changes

- Updated dependencies [[`99ccee5`](https://github.com/TanStack/ai/commit/99ccee5c72df12adc13bede98142c6da84d13cc4), [`230bab6`](https://github.com/TanStack/ai/commit/230bab6417c8ff2c25586a12126c85e27dd7bc15)]:
- @tanstack/ai-client@0.4.0
- @tanstack/ai@0.3.1

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-vue/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-vue",
"version": "0.3.0",
"version": "0.4.0",
"description": "Vue hooks for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
Loading
Loading