Skip to content

Commit 0f18f64

Browse files
ci: Version Packages (#608)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4c811cb commit 0f18f64

67 files changed

Lines changed: 599 additions & 209 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/eslint-config-0-4-0.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/export-run-agent-input-context.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/fix-anthropic-server-tool-streaming.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/markdown-plugin-customization.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.changeset/openrouter-web-fetch-tool.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

.changeset/structured-output-middleware-coverage.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.changeset/sync-models.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/typescript/ai-anthropic/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @tanstack/ai-anthropic
22

3+
## 0.10.2
4+
5+
### Patch Changes
6+
7+
- Fix streaming corruption when Anthropic responses mix client `tool_use` with server-side tools (`web_fetch`, `web_search`). Closes #604. ([#606](https://github.com/TanStack/ai/pull/606))
8+
9+
The Anthropic streaming adapter previously had no handler for `server_tool_use` / `web_fetch_tool_result` / `web_search_tool_result` content blocks. When a client `tool_use` was followed by a `server_tool_use` in the same response, the server tool's `input_json_delta` events appended onto the prior client tool's input buffer — producing concatenated JSON like `{...prevToolArgs...}{"url":"..."}` that threw in the agent loop's `JSON.parse`.
10+
- `server_tool_use` is now tracked in a separate buffer so its deltas can't bleed into client tool args.
11+
- `input_json_delta` is dispatched by the current block type instead of unconditionally appending to `toolCallsMap[currentToolIndex]`.
12+
- `web_fetch_tool_result` and `web_search_tool_result` blocks are explicitly acknowledged (and ignored — they are consumed by Anthropic, not the client), so they no longer fall through to the text-block handler.
13+
14+
No new public events are introduced: server-side tool execution stays internal to the provider, matching how `webFetchTool()` / `webSearchTool()` were always intended to be used.
15+
16+
- Updated dependencies [[`ec1393d`](https://github.com/TanStack/ai/commit/ec1393db4383798e5f2574dfd87779c22c309529), [`188fe11`](https://github.com/TanStack/ai/commit/188fe11b9b9691e5a241cfc416803da5b8ce5376)]:
17+
- @tanstack/ai@0.21.0
18+
319
## 0.10.1
420

521
### Patch Changes

packages/typescript/ai-anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-anthropic",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"description": "Anthropic Claude adapter for TanStack AI",
55
"author": "",
66
"license": "MIT",

packages/typescript/ai-client/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @tanstack/ai-client
22

3+
## 0.11.4
4+
5+
### Patch Changes
6+
7+
- Expose the connection adapter primitives needed to build custom ([#597](https://github.com/TanStack/ai/pull/597))
8+
transports from every framework hook package. `@tanstack/ai-client`
9+
now re-exports `RunAgentInputContext` at its entry point, and
10+
`@tanstack/ai-react`, `@tanstack/ai-vue`, `@tanstack/ai-solid`,
11+
`@tanstack/ai-svelte`, and `@tanstack/ai-preact` now re-export
12+
`rpcStream`, `ConnectConnectionAdapter`, `SubscribeConnectionAdapter`,
13+
and `RunAgentInputContext` alongside the existing `stream`,
14+
`fetchServerSentEvents`, and `fetchHttpStream` re-exports.
15+
16+
Previously, authors of WebSocket / persistent or RPC-backed adapters
17+
had to import these symbols from `@tanstack/ai-client` even though
18+
they were already pulling `useChat` from a framework package. No
19+
runtime change.
20+
21+
- Updated dependencies [[`ec1393d`](https://github.com/TanStack/ai/commit/ec1393db4383798e5f2574dfd87779c22c309529), [`188fe11`](https://github.com/TanStack/ai/commit/188fe11b9b9691e5a241cfc416803da5b8ce5376)]:
22+
- @tanstack/ai@0.21.0
23+
- @tanstack/ai-event-client@0.3.7
24+
325
## 0.11.3
426

527
### Patch Changes

0 commit comments

Comments
 (0)