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
fix/messages-snapshot-normalize-parts
019d055c chore(ai-event-client): drop unused @tanstack/ai peerDependency (#694) ai-event-client mirrors the middleware types it needs locally and imports nothing from @tanstack/ai, so the peer dependency only manufactured a package-manifest cycle (@tanstack/ai already depends on ai-event-client). Remove it along with the matching `!@tanstack/ai` Nx implicitDependencies workaround so the build graph stays a clean DAG. Verified: pnpm install no longer warns about cyclic workspace dependencies; build, test:types, test:lib, and publint --strict pass, and nx affected build is clean across all consumers. Closes #552
by Valery Gutu
V
Succeeded
fix/messages-snapshot-normalize-parts
019d055c Merge b23a30e2bdf3e7da3a17eecfc19f8c367a55a404 into 2e59b7730ef88a0107e8d7ad916906b070f6a6c0
by Amit Saroj
A
Failed
fix/messages-snapshot-normalize-parts
76d84ed5 Merge dbed4ac2dabb2d441d021926ad9206bd3f3374eb into a571f4894cef606a4461aa9f41e9558dcf8f5138
by Amit Saroj
A
Succeeded
fix/messages-snapshot-normalize-parts
76d84ed5 fix(ai): type-safe AG-UI MESSAGES_SNAPSHOT normalization Replace the unsafe `as any`/`as UIMessage` casts in the MESSAGES_SNAPSHOT handler with a fully typed converter, `aguiSnapshotMessageToUIMessage`. AG-UI snapshot messages use the wire shape `{ id, role, content }` and have no `parts` array, so casting them straight to `UIMessage[]` crashed any code that later read `message.parts` (e.g. the devtools `onToolCallStateChange` handler) with "Cannot read properties of undefined (reading 'find')". The converter switches on the typed `@ag-ui/core` Message role union (no vendored types, no `as`/`any`), preserves the original AG-UI id for downstream event routing, maps assistant `toolCalls` to tool-call parts and `tool` messages to tool-result parts, and converts AG-UI user multimodal content to TanStack parts. Adds a changeset and reformats/extends the regression tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Previous page
Previous
Next
Next page