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
18 changes: 0 additions & 18 deletions .changeset/anthropic-server-tool-roundtrip.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/anthropic-sonnet-5-fable-5-support.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ollama-prestream-run-error.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/sandbox-deterministic-create-id.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/snapshot-preserve-tool-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-maps-walk.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/ai-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-angular

## 0.2.2

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1
- @tanstack/ai-client@0.19.2

## 0.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-angular",
"version": "0.2.1",
"version": "0.2.2",
"description": "Angular signals integration for TanStack AI streaming chat, structured outputs, and media generation.",
"author": "",
"license": "MIT",
Expand Down
33 changes: 33 additions & 0 deletions packages/ai-anthropic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @tanstack/ai-anthropic

## 0.16.0

### Minor Changes

- [#884](https://github.com/TanStack/ai/pull/884) [`091e820`](https://github.com/TanStack/ai/commit/091e82087ac42c5ee9a5a383b123c52bf10b467a) - Add first-class support for Claude Sonnet 5 (`claude-sonnet-5`) and Claude Fable 5 (`claude-fable-5`), and clean up the model registry so every registered id resolves against the first-party Anthropic API.

**New model support.** Both 5-generation models carry accurate metadata (adaptive thinking, sticker pricing for Sonnet 5) and per-model provider-option types that match the API: adaptive-only `thinking` on Fable 5 (explicit `disabled` and `budget_tokens` are rejected), adaptive-or-disabled `thinking` on Sonnet 5, and no `temperature` / `top_p` / `top_k` on either. `output_config.effort` gains the `'xhigh'` level. Both models (plus Opus 4.8) are registered for native combined tools + output-schema requests. Closes [#880](https://github.com/TanStack/ai/issues/880).

**Corrected ids (breaking).** `claude-opus-4.8` is now `claude-opus-4-8` — the dot spelling came from an OpenRouter metadata sync and returns 404 on the Anthropic API. Opus 4.7 and 4.8 also get correct per-model types (adaptive thinking, no `budget_tokens`, no sampling parameters) and Opus/Sonnet 4.6 now accept `thinking: { type: 'adaptive' }`.

**Removed retired models (breaking).** The following ids no longer resolve on the Anthropic API (verified live) and were removed from `ANTHROPIC_MODELS`: `claude-3-7-sonnet`, `claude-3-5-haiku`, `claude-3-haiku`, `claude-opus-4`, `claude-sonnet-4`, and the `claude-opus-4-6-fast` / `claude-opus-4-7-fast` / `claude-opus-4.8-fast` variants (fast mode is requested via the `speed` parameter, not a model id). If you were pinning one of these, migrate to a current model (`claude-sonnet-5`, `claude-haiku-4-5`, `claude-opus-4-8`).

### Patch Changes

- [#855](https://github.com/TanStack/ai/pull/855) [`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d) - Preserve Anthropic server-tool results (`web_search` / `web_fetch`) across turns.

Previously the Anthropic adapter dropped `server_tool_use` and
`web_search_tool_result` / `web_fetch_tool_result` blocks while streaming, so the
evidence never round-tripped — a follow-up turn could no longer see the prior
web-search sources (issue [#839](https://github.com/TanStack/ai/issues/839)). These now stream as a **provider-executed**
tool call carrying the raw result, which the agent loop skips (never executed
client-side) and the adapter replays verbatim into the next request. Adds the
`ProviderExecutedToolMetadata` convention plus `isProviderExecutedToolCall` /
`getProviderExecutedMetadata` helpers to `@tanstack/ai`.

(No e2e: aimock cannot synthesize `server_tool_use` blocks; covered by unit
tests and verified live against the Anthropic API.)

- [#882](https://github.com/TanStack/ai/pull/882) [`f8b145f`](https://github.com/TanStack/ai/commit/f8b145ff21fd44ff37a15014e1d4bd58139d9dc6) - Added Claude Sonnet 5, Claude Fable 5, Opus 4.7 Fast, Opus 4.8, and Opus 4.8 Fast to `ANTHROPIC_COMBINED_TOOLS_AND_SCHEMA_MODELS` and `AnthropicChatModelToolCapabilitiesByName`

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.15.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-anthropic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-anthropic",
"version": "0.15.13",
"version": "0.16.0",
"description": "Anthropic Claude adapter for TanStack AI chat, tool calling, thinking, and structured outputs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-bedrock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-bedrock

## 0.1.1

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1
- @tanstack/openai-base@0.9.6

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-bedrock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-bedrock",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"description": "Amazon Bedrock adapter for TanStack AI — OpenAI-compatible chat, responses, tools, and reasoning.",
"author": "",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-client

## 0.19.2

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.19.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-client",
"version": "0.19.1",
"version": "0.19.2",
"description": "Framework-agnostic headless client for TanStack AI chat, realtime sessions, streaming transports, and media generations.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/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.3.8

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1
- @tanstack/ai-code-mode@0.3.5

## 0.3.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.3.7",
"version": "0.3.8",
"description": "Persistent runtime skill library for TanStack AI Code Mode agents and sandboxed tool orchestration.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-code-mode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-code-mode

## 0.3.5

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.3.4",
"version": "0.3.5",
"description": "Secure TypeScript Code Mode for TanStack AI agents to execute sandboxed tool orchestration programs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-devtools-core

## 0.4.21

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.4.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.4.20",
"version": "0.4.21",
"description": "Core TanStack AI Devtools plugin for inspecting chat messages, tool calls, streams, and errors.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-fal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-fal

## 0.9.9

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.9.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-fal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-fal",
"version": "0.9.8",
"version": "0.9.9",
"description": "fal.ai adapter for TanStack AI image, video, audio, speech, and transcription generation.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-isolate-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-isolate-cloudflare

## 0.2.35

### Patch Changes

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

## 0.2.34

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.2.34",
"version": "0.2.35",
"description": "Cloudflare Workers sandbox driver for TanStack AI Code Mode TypeScript execution at the edge.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/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.44

### Patch Changes

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

## 0.1.43

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.43",
"version": "0.1.44",
"description": "Node.js isolated-vm sandbox driver for TanStack AI Code Mode TypeScript execution.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/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.44

### Patch Changes

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

## 0.1.43

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/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.43",
"version": "0.1.44",
"description": "QuickJS WASM sandbox driver for TanStack AI Code Mode TypeScript execution across runtimes.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-mcp

## 0.2.2

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-mcp",
"version": "0.2.1",
"version": "0.2.2",
"description": "Host-side Model Context Protocol client for TanStack AI: discover and run MCP server tools, resources, and prompts in any adapter's chat() loop, with generated end-to-end types.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/ai-ollama/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @tanstack/ai-ollama

## 0.8.13

### Patch Changes

- [#862](https://github.com/TanStack/ai/pull/862) [`86fbbdd`](https://github.com/TanStack/ai/commit/86fbbdd6c935686783a4a5fd8e5fce7bdc0d8263) - Emit a `RUN_ERROR` event instead of throwing when the Ollama text adapter's `chatStream` fails before streaming begins (e.g. the initial `client.chat` call is rejected because the host is unreachable). The error is now surfaced as a structured chunk — with `message`, `code`, and any available `rawEvent` — so failures flow through the stream consistently with other adapters rather than escaping as an unhandled exception.

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1

## 0.8.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-ollama/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-ollama",
"version": "0.8.12",
"version": "0.8.13",
"description": "Ollama adapter for TanStack AI local LLM chat, tool calling, and structured outputs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-preact/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-preact

## 0.10.2

### Patch Changes

- Updated dependencies [[`afba322`](https://github.com/TanStack/ai/commit/afba32236022589afce4d5a165fd4a8a884ae57d), [`e7ad181`](https://github.com/TanStack/ai/commit/e7ad181cad20c5d6560f480835c99ff1142b40af)]:
- @tanstack/ai@0.39.1
- @tanstack/ai-client@0.19.2

## 0.10.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-preact",
"version": "0.10.1",
"version": "0.10.2",
"description": "Preact hooks for TanStack AI streaming chat and typed messages.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
Loading