TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
10ec5db6 feat(ai-*-ui): markdown plugin customization on TextPart (#599) * feat(ai-*-ui): expose markdown plugin customization on TextPart Adds remarkPlugins, rehypePlugins, components (React/Solid), and disableDefaultPlugins props to TextPart across the React, Solid, and Vue UI packages. User plugins merge with the secure-by-default chain (rehype-sanitize always runs last unless defaults are disabled). Also fixes a latent bug where remark-gfm was passed to react-markdown inside the rehypePlugins array, silently no-opping GFM features (tables, strikethrough, task lists) in the React TextPart. Adds an e2e regression test that renders CJK bold both with and without remark-cjk-friendly through the public TextPart API. Closes #164 * ci: apply automated fixes * chore(ai-vue-ui): drop unused rehype-sanitize dep --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
by Alem Tuzlak
A
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
10ec5db6 feat(ai-*-ui): markdown plugin customization on TextPart (#599) * feat(ai-*-ui): expose markdown plugin customization on TextPart Adds remarkPlugins, rehypePlugins, components (React/Solid), and disableDefaultPlugins props to TextPart across the React, Solid, and Vue UI packages. User plugins merge with the secure-by-default chain (rehype-sanitize always runs last unless defaults are disabled). Also fixes a latent bug where remark-gfm was passed to react-markdown inside the rehypePlugins array, silently no-opping GFM features (tables, strikethrough, task lists) in the React TextPart. Adds an e2e regression test that renders CJK bold both with and without remark-cjk-friendly through the public TextPart API. Closes #164 * ci: apply automated fixes * chore(ai-vue-ui): drop unused rehype-sanitize dep --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
by Alem Tuzlak
A
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
0e783996 test(ai-anthropic): drive e2e test through real webFetchTool() Reframe the #604 regression test around the user-facing surface: pass `webFetchTool()` from `@tanstack/ai-anthropic/tools` into the tools array alongside a user client tool, rather than just emitting synthetic `server_tool_use` SSE. The aimock mount stays as-is — aimock can't natively synthesize Claude's `server_tool_use` block shape, so it still hand-crafts the response. But the request side now goes through the actual `webFetchTool()` tool definition, proving the user-facing flow works end-to-end. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
0e783996 Merge 09aeab6fe9fb98693862056efe2f3a70574a9f00 into ec1393db4383798e5f2574dfd87779c22c309529
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
9deea5db ci: apply automated fixes
by autofix-ci...
a
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
9deea5db Merge 1e4fa9aba4b709accac71f446bd627b42d366113 into ec1393db4383798e5f2574dfd87779c22c309529
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
12fc7b8b test(ai-anthropic): add e2e coverage for server_tool_use streaming fix aimock can't natively synthesize Claude's `server_tool_use` / `web_fetch_tool_result` blocks, so mount a custom path on aimock that emits the exact SSE shape from issue #604 and drive the Anthropic adapter against it through a test-only API route. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
12fc7b8b Merge 1edc56425fb738fa364eb668671d7ab884c6234a into ec1393db4383798e5f2574dfd87779c22c309529
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
41d501ec fix(ai-anthropic): surface server-tool result errors and add observability Address review findings on the issue #604 fix: - web_fetch_tool_result / web_search_tool_result blocks may carry an error variant (url_not_accessible, max_uses_exceeded, etc.). Inspect the content at content_block_start and log via logger.errors so a failed server-side fetch/search isn't invisible to the consumer. - Log a breadcrumb on server_tool_use stop so devtools and telemetry can see which server tool ran with what input. - Parameterize the server-only test across web_fetch and web_search result block types so the OR'd branch can't silently regress. - Add a test asserting the error variant is logged. - Trim issue-number references and event-narration comments from tests per project conventions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
41d501ec Merge a6bcbec8d164957afe06ee1befb35cbb49f11060 into 1e4df183553a34ea6a4e9010b692314b48e66e67
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
7bb4efd5 Merge 0d48fbd1ebaeadea61c801d2aa916139d8b7c31a into 1e4df183553a34ea6a4e9010b692314b48e66e67
by Tom Beckenham
T
Succeeded
604-bugai-anthropic-webfetchtool-streaming-corrupts-prior-tool_use-input-server_tool_use-is-unhandled
7bb4efd5 fix(ai-anthropic): handle server_tool_use blocks without corrupting prior tool_use input The streaming adapter had no handler for Anthropic's `server_tool_use`, `web_fetch_tool_result`, or `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 that threw in the agent loop's JSON.parse. Closes #604. - Track `server_tool_use` in a separate buffer from `toolCallsMap` - Dispatch `input_json_delta` by `currentBlockType` so server-tool deltas can't leak into client tool args - Acknowledge `web_fetch_tool_result` / `web_search_tool_result` blocks in `content_block_stop` so they don't fall through to the text branch - Add unit tests for both the mixed-tool case and the server-only case Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Previous page
Previous
Next
Next page