-
-
Notifications
You must be signed in to change notification settings - Fork 312
feat(ai): put AG-UI extras in metadata.tanstack #1174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
431ea21
feat(ai): put AG-UI extras in metadata.tanstack
AlemTuzlak a190344
chore: format and lint fixes
AlemTuzlak 457eede
fix(ai-event-client): accept spec StreamChunk in devtools middleware
AlemTuzlak 7a397e3
fix(openai-base): type adapter-yield tests after rebase onto main
tombeckenham 3e084da
ci: apply automated fixes
autofix-ci[bot] 49fb2cf
fix(ai): keep thinking signatures and TokenUsage after AG-UI spec strip
AlemTuzlak 9547937
Merge origin/main into feat/ag-ui-metadata-compliance
AlemTuzlak 443664c
fix(ai): map AG-UI usage and restore promptTokens
AlemTuzlak 549e5da
docs: document metadata.tanstack for custom AG-UI servers
AlemTuzlak 31b237a
Merge remote-tracking branch 'origin/main' into feat/ag-ui-metadata-c…
AlemTuzlak 19e4d74
fix(ai): restore TOOL_CALL_END.input and spec RUN_ERROR
AlemTuzlak a670637
docs: keep middleware usage as TokenUsage
AlemTuzlak dea0c16
fix(ai): drop leftover deltas and round-trip encryptedValue
AlemTuzlak b39fbf0
revert(ai): drop duplicate TOOL_CALL_START guard
AlemTuzlak ce3168b
fix(ai): keep leftover content and spec wire extras for CI
AlemTuzlak c6d1e17
Merge branch 'main' into feat/ag-ui-metadata-compliance
AlemTuzlak 0c5be4d
fix(ai): restore tool-call input/signature/result round-trips after A…
jherr 63d63dc
fix(providers): guard undefined content in chat-completions message m…
jherr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| '@tanstack/ai': minor | ||
| '@tanstack/ai-client': minor | ||
| '@tanstack/ai-event-client': minor | ||
| '@tanstack/ai-persistence': minor | ||
| '@tanstack/ai-sandbox': minor | ||
| '@tanstack/openai-base': patch | ||
| '@tanstack/ai-openrouter': patch | ||
| --- | ||
|
|
||
| Put AG-UI extras under `metadata.tanstack`. SSE/HTTP wire events are spec-only. | ||
|
|
||
| `sendMessage({ content, metadata })` stamps user metadata on the user message. | ||
| In-process `chat()` still yields `toolName`, `TOOL_CALL_END.input`, and TanStack `TokenUsage`. | ||
| Thinking signatures round-trip on `REASONING_ENCRYPTED_VALUE`. | ||
| Wire messages use `content` / `toolCalls` / fan-out roles, not `parts`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.