Skip to content
Open
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/fix-null-tool-input-normalization.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.32

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-openai@0.7.5
- @tanstack/ai-gemini@0.8.8
- @tanstack/ai-ollama@0.6.6
- @tanstack/ai-anthropic@0.7.3
- @tanstack/ai-client@0.7.10
- @tanstack/ai-svelte@0.6.15

## 0.1.31

### 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.31",
"version": "0.1.32",
"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.32

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-openai@0.7.5
- @tanstack/ai-gemini@0.8.8
- @tanstack/ai-ollama@0.6.6
- @tanstack/ai-anthropic@0.7.3
- @tanstack/ai-client@0.7.10
- @tanstack/ai-vue@0.6.15
- @tanstack/ai-vue-ui@0.1.26

## 0.1.31

### 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.31",
"version": "0.1.32",
"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.30

### Patch Changes

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

## 0.0.29

### 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.29",
"version": "0.0.30",
"scripts": {
"start": "vite --port 3001",
"dev": "vite --port 3001",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-client

## 0.7.10

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-event-client@0.2.3

## 0.7.9

### Patch 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.7.9",
"version": "0.7.10",
"description": "Framework-agnostic headless client for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-code-mode-skills/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-code-mode-skills

## 0.1.3

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-code-mode@0.1.3

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-code-mode-skills/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-code-mode-skills",
"version": "0.1.2",
"version": "0.1.3",
"description": "Persistent skill library for TanStack AI Code Mode - LLM-created reusable code snippets",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-code-mode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-code-mode

## 0.1.3

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.1.2

### Patch Changes
Expand Down
13 changes: 13 additions & 0 deletions packages/typescript/ai-code-mode/models-eval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @tanstack/ai-code-mode-models-eval

## 0.0.6

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-openai@0.7.5
- @tanstack/ai-gemini@0.8.8
- @tanstack/ai-ollama@0.6.6
- @tanstack/ai-anthropic@0.7.3
- @tanstack/ai-code-mode@0.1.3
- @tanstack/ai-isolate-node@0.1.3

## 0.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-code-mode/models-eval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-code-mode-models-eval",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"type": "module",
"description": "Dev benchmark: local/cloud models vs code-mode database-demo gold (not published)",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-code-mode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-code-mode",
"version": "0.1.2",
"version": "0.1.3",
"description": "Code Mode for TanStack AI - LLM-driven code execution in secure sandboxes",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/typescript/ai-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-devtools-core

## 0.3.20

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-event-client@0.2.3

## 0.3.19

### 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.19",
"version": "0.3.20",
"description": "Core TanStack AI Devtools",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-event-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-event-client

## 0.2.3

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-event-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-event-client",
"version": "0.2.2",
"version": "0.2.3",
"description": "Event client for TanStack AI devtools integration",
"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.13

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.6.12

### 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.12",
"version": "0.6.13",
"description": "fal.ai adapter for TanStack AI",
"author": "",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/typescript/ai-gemini/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @tanstack/ai-gemini

## 0.8.8

### Patch Changes

- fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object ([#430](https://github.com/TanStack/ai/pull/430))

When a model produces a `tool_use` block with no input, `JSON.parse('null')` returns `null` which fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to `{}` in `executeToolCalls`, `ToolCallManager.completeToolCall`, `ToolCallManager.executeTools`, and the OpenAI/Gemini/Ollama adapter `TOOL_CALL_END` emissions. The Anthropic adapter already had this fix.

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.8.7

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

## 0.1.3

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.3

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-isolate-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-isolate-cloudflare",
"version": "0.1.2",
"version": "0.1.3",
"description": "Cloudflare Workers driver for TanStack AI Code Mode - execute code on the edge",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-isolate-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-isolate-node

## 0.1.3

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.3

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-isolate-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-isolate-node",
"version": "0.1.2",
"version": "0.1.3",
"description": "Node.js isolated-vm driver for TanStack AI Code Mode",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/typescript/ai-isolate-quickjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-isolate-quickjs

## 0.1.3

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-code-mode@0.1.3

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-isolate-quickjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-isolate-quickjs",
"version": "0.1.2",
"version": "0.1.3",
"description": "QuickJS WASM driver for TanStack AI Code Mode - runs everywhere",
"author": "",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/typescript/ai-ollama/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @tanstack/ai-ollama

## 0.6.6

### Patch Changes

- fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object ([#430](https://github.com/TanStack/ai/pull/430))

When a model produces a `tool_use` block with no input, `JSON.parse('null')` returns `null` which fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to `{}` in `executeToolCalls`, `ToolCallManager.completeToolCall`, `ToolCallManager.executeTools`, and the OpenAI/Gemini/Ollama adapter `TOOL_CALL_END` emissions. The Anthropic adapter already had this fix.

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.6.5

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

## 0.7.5

### Patch Changes

- fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object ([#430](https://github.com/TanStack/ai/pull/430))

When a model produces a `tool_use` block with no input, `JSON.parse('null')` returns `null` which fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to `{}` in `executeToolCalls`, `ToolCallManager.completeToolCall`, `ToolCallManager.executeTools`, and the OpenAI/Gemini/Ollama adapter `TOOL_CALL_END` emissions. The Anthropic adapter already had this fix.

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3
- @tanstack/ai-client@0.7.10

## 0.7.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/ai-openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-openai",
"version": "0.7.4",
"version": "0.7.5",
"description": "OpenAI 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.7.5

### Patch Changes

- Updated dependencies [[`c780bc1`](https://github.com/TanStack/ai/commit/c780bc127755ecf7e900343bf0e4d4823ff526ca)]:
- @tanstack/ai@0.10.3

## 0.7.4

### Patch Changes
Expand Down
Loading