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
5 changes: 0 additions & 5 deletions .changeset/bedrock-guardrail-finish-reason.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/compaction-hash-key-order.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gemini-live-thoughts-usage.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gemini-tool-result-parts-once.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/loop-stopped-signal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ollama-stream-length-error.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/responses-adjacent-answer-items.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sandbox-keep-earlier-tool-history.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/stable-json-export.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-gemini-filter-stops.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tool-event-polling-leak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wacky-gifts-show.md

This file was deleted.

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

## 1.0.2

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`2753972`](https://github.com/TanStack/ai/commit/275397292ef5c2d88f77b7e6d33ced6ae5762a5c), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0
- @tanstack/ai-sandbox@1.2.1

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-acp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-acp",
"version": "1.0.1",
"version": "1.0.2",
"description": "Shared Agent Client Protocol (ACP) transport, session, and AG-UI translation for TanStack AI harness adapters.",
"author": "",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/ai-bedrock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tanstack/ai-bedrock

## 1.2.1

### Patch Changes

- [#2057](https://github.com/TanStack/ai/pull/2057) [`844496a`](https://github.com/TanStack/ai/commit/844496a616f3858f21ed300662f7642d87dae063) - A Bedrock Converse chat stream that ends with `stopReason: 'guardrail_intervened'` now reports `finishReason: 'content_filter'` on `RUN_FINISHED`. Before, it was a normal `stop`. The structured-output stream uses the same finish reason when the body is valid JSON. When a guardrail leaves no JSON, that stream reports `RUN_ERROR` with code `content_filter` instead of `empty-response` or `parse-error`.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/openai-base@1.0.3

## 1.2.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": "1.2.0",
"version": "1.2.1",
"type": "module",
"description": "Amazon Bedrock adapter for TanStack AI — OpenAI-compatible chat, responses, tools, and reasoning.",
"author": "",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-code-mode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-code-mode

## 1.1.1

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0

## 1.1.0

### Minor 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": "1.1.0",
"version": "1.1.1",
"description": "Secure TypeScript Code Mode for TanStack AI agents to execute sandboxed tool orchestration programs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/ai-compaction/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @tanstack/ai-compaction

## 1.0.1

### Patch Changes

- [#2056](https://github.com/TanStack/ai/pull/2056) [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a) - A compaction checkpoint is now reused when the message store gives messages back with their object keys in another order, as PostgreSQL `jsonb` and schema parsing do. `hashMessages` hashes the messages with `stableJson`, so an equal history no longer looks changed and the summarizer does not run again over it. After the upgrade, saved checkpoints, saved usage counts and ready background summaries whose messages were not stored in sorted key order miss until the next compaction replaces them. Each such thread pays for one summarizer run.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-compaction/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-compaction",
"version": "1.0.0",
"version": "1.0.1",
"description": "Context-window compaction middleware for TanStack AI chat()",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-computer-use/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-computer-use

## 1.1.1

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-computer-use/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-computer-use",
"version": "1.1.0",
"version": "1.1.1",
"description": "Provider-agnostic computer use for TanStack AI.",
"author": "",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/ai-gemini/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @tanstack/ai-gemini

## 1.2.1

### Patch Changes

- [#2083](https://github.com/TanStack/ai/pull/2083) [`548ec42`](https://github.com/TanStack/ai/commit/548ec42d8f552a8cd7443b37cb7a665baa1cdf9f) - Gemini Live (realtime) `usage` events now include `thoughtsTokenCount` in `completionTokens`, matching how the text adapters report usage.

- [#2053](https://github.com/TanStack/ai/pull/2053) [`925a505`](https://github.com/TanStack/ai/commit/925a50536ee4ea43f8446d271eede7df8dd032fc) - Send a multimodal tool result's parts to Gemini once, inside its `functionResponse`. Before, the adapter also put them beside the `functionResponse` in the same turn, so each image was sent and billed twice.

- [#2088](https://github.com/TanStack/ai/pull/2088) [`9bcdd41`](https://github.com/TanStack/ai/commit/9bcdd4115eaf80ceca78edd99d71aec02bb77f09) - Report Gemini content filter stops (SAFETY, RECITATION, BLOCKLIST, PROHIBITED_CONTENT, SPII, IMAGE_SAFETY, IMAGE_PROHIBITED_CONTENT, IMAGE_RECITATION) as `finishReason: "content_filter"` on chat streams, and as a `content_filter` error from `structuredOutput` and `structuredOutputStream`.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-gemini/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-gemini",
"version": "1.2.0",
"version": "1.2.1",
"description": "Google Gemini adapter for TanStack AI chat, images, speech, audio generation, and structured outputs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/ai-harness-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tanstack/ai-harness-cli

## 0.1.2

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0
- @tanstack/ai-acp@1.0.2
- @tanstack/ai-mcp@1.1.1

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-harness-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-harness-cli",
"version": "0.1.1",
"version": "0.1.2",
"description": "Run a TanStack AI harness from the terminal: line mode or your own screen, print mode, NDJSON, ACP, MCP, and an HTTP server",
"author": "",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/ai-harness/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @tanstack/ai-harness

## 0.3.0

### Minor Changes

- [#2071](https://github.com/TanStack/ai/pull/2071) [`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20) - A run that the agent loop stops before the model finished now says so. When `agentLoopStrategy` (for example `maxIterations`) or a middleware `onShouldContinue` returns `false` while tool results wait for the next model call, `chat()` ends the stream with a `RUN_FINISHED` that has `metadata.tanstack.loopStopped: true`, and the last stored assistant message gets the same field. `finishReason` stays the reason of the last model call (`tool_calls`, or `length` for a cut answer). A run that the model ends has no `loopStopped`.

In `@tanstack/ai-harness`, a turn that the loop stops settles with `{ outcome: 'completed', loopStopped: true }`. `session.settled()`, the `harness.input.settled` event of `createHarnessClient().events()`, and the transcript all carry it.

### Patch Changes

- [#2056](https://github.com/TanStack/ai/pull/2056) [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a) - `@tanstack/ai` exports `stableJson`: JSON text with the keys of every object in sorted order, for values that come back from a store with their keys reordered. `@tanstack/ai-harness` now imports it and no longer keeps its own copy.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-persistence@1.0.1

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-harness/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-harness",
"version": "0.2.0",
"version": "0.3.0",
"description": "Build agent harnesses on TanStack AI: long-lived sessions, typed agents, and plugins",
"keywords": [
"agent",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-mcp

## 1.1.1

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0

## 1.1.0

### Minor 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": "1.1.0",
"version": "1.1.1",
"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

## 1.1.1

### Patch Changes

- [#2077](https://github.com/TanStack/ai/pull/2077) [`c32f641`](https://github.com/TanStack/ai/commit/c32f6417f40d8e3d06ae9006cea79683ca128601) - Report `finishReason: "length"` on `RUN_FINISHED` when an Ollama stream ends with `done_reason: "length"`. This includes a reply cut by `num_predict`, and a tool call cut the same way. A normal stop stays `"stop"`. A finished tool call stays `"tool_calls"`.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0

## 1.1.0

### Minor 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": "1.1.0",
"version": "1.1.1",
"description": "Ollama adapter for TanStack AI local LLM chat, tool calling, and structured outputs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/ai-sandbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tanstack/ai-sandbox

## 1.2.1

### Patch Changes

- [#2060](https://github.com/TanStack/ai/pull/2060) [`2753972`](https://github.com/TanStack/ai/commit/275397292ef5c2d88f77b7e6d33ced6ae5762a5c) - Keep the harness tool calls of earlier runs in a saved thread. Before, `withSandbox` removed them from the chat transcript instead of only from the model request, so with `withPersistence` each run's save dropped the tool calls of the runs before it, and a reload showed those runs without their tool cards.

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0
- @tanstack/ai-persistence@1.0.1
- @tanstack/ai-skills@1.0.2

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-sandbox",
"version": "1.2.0",
"version": "1.2.1",
"description": "Provider-agnostic sandbox layer for TanStack AI — run harness adapters inside isolated sandboxes (defineSandbox, defineWorkspace, withSandbox) with a uniform SandboxHandle, workspace bootstrap, policy, and resumable lifecycle.",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-skills/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-skills

## 1.0.2

### Patch Changes

- Updated dependencies [[`e8546f9`](https://github.com/TanStack/ai/commit/e8546f90834ace0129c4e2b5491909ea87e07f20), [`5fd5355`](https://github.com/TanStack/ai/commit/5fd535501784df0102880470835913ceec3a8e1e), [`9393839`](https://github.com/TanStack/ai/commit/9393839d380dde91fa91e81b5e92448610e9782a), [`215e339`](https://github.com/TanStack/ai/commit/215e3396eb907054baddbf3423da8bc3e90ecf50), [`7157ef3`](https://github.com/TanStack/ai/commit/7157ef3e8556ac23c350822ba0f3c4bbf0abb118)]:
- @tanstack/ai@1.3.0
- @tanstack/ai-harness@0.3.0

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-skills/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-skills",
"version": "1.0.1",
"version": "1.0.2",
"description": "Portable Agent Skills (SKILL.md) as a first-class chat() middleware for TanStack AI.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
Loading