-
-
Notifications
You must be signed in to change notification settings - Fork 116
AG-UI Support #244
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
AG-UI Support #244
Changes from all commits
8b83ea9
0281573
63a1a79
e85814a
1ad74b2
d9ec4af
ae17108
f0d7e6b
7108d8a
2c1c8ed
ba3a1d8
1ece44e
5c47402
eb22ab8
eeba2f1
971b19f
f530a43
d79e14e
2a7de26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| '@tanstack/ai': minor | ||
| '@tanstack/ai-client': minor | ||
| '@tanstack/ai-openai': minor | ||
| '@tanstack/ai-anthropic': minor | ||
| '@tanstack/ai-gemini': minor | ||
| '@tanstack/ai-grok': minor | ||
| '@tanstack/ai-ollama': minor | ||
| '@tanstack/ai-openrouter': minor | ||
| --- | ||
|
|
||
| feat: Add AG-UI protocol events to streaming system | ||
|
|
||
| All text adapters now emit AG-UI protocol events only: | ||
|
|
||
| - `RUN_STARTED` / `RUN_FINISHED` - Run lifecycle events | ||
| - `TEXT_MESSAGE_START` / `TEXT_MESSAGE_CONTENT` / `TEXT_MESSAGE_END` - Text message streaming | ||
| - `TOOL_CALL_START` / `TOOL_CALL_ARGS` / `TOOL_CALL_END` - Tool call streaming | ||
|
|
||
|
Comment on lines
+14
to
+19
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Document all AG-UI event types introduced in this PR. The changeset omits several event types mentioned in the broader PR changes. Based on the AI summary, the following event types are also part of the AG-UI protocol but are not documented here:
Include all introduced event types in the changeset description to provide a complete changelog for users. 🤖 Prompt for AI Agents |
||
| Only AG-UI event types are supported; previous legacy chunk formats (`content`, `tool_call`, `done`, etc.) are no longer accepted. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BREAKING: This must be a major version bump, not minor.
The change explicitly states "previous legacy chunk formats are no longer accepted" (line 20), which is a breaking API change. Per semantic versioning, breaking changes require a
majorversion bump, notminor.📋 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents
🧩 Analysis chain
🏁 Script executed:
Repository: TanStack/ai
Length of output: 1433
🏁 Script executed:
Repository: TanStack/ai
Length of output: 47126
Remove
@tanstack/ai-clientfrom the changeset or add AG-UI event implementations.Verification found that
@tanstack/ai-clientdoes not contain AG-UI event implementations (RUN_STARTED, TEXT_MESSAGE_START, TOOL_CALL_START, RUN_FINISHED, RUN_ERROR), unlike the other 8 adapter packages. Either this package should be removed from the changeset, or the missing AG-UI event handling should be implemented before release.The initially questioned packages (
@tanstack/ai-grokand@tanstack/ai-openrouter) do have AG-UI event implementations and can remain in the changeset.🤖 Prompt for AI Agents