Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 302
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
Uh oh!
There was an error while loading. Please reload this page.
AG-UI Support #244
Changes from all commits
8b83ea9028157363a1a79e85814a1ad74b2d9ec4afae17108f0d7e6b7108d8a2c1c8edba3a1d81ece44e5c47402eb22ab8eeba2f1971b19ff530a43d79e14e2a7de26File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
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. | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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