Skip to content

feat(rust): align events with latest protocol - #2208

Open
yukkit wants to merge 1 commit into
ag-ui-protocol:mainfrom
yukkit:main
Open

feat(rust): align events with latest protocol#2208
yukkit wants to merge 1 commit into
ag-ui-protocol:mainfrom
yukkit:main

Conversation

@yukkit

@yukkit yukkit commented Jul 18, 2026

Copy link
Copy Markdown

Summary

  • Align the Rust AG-UI core event/types model with the latest protocol events
  • Add activity, reasoning, resume, run outcome, metadata, and encryptedValue support
  • Update the Rust client event handler/subscriber APIs for the new event shapes
  • Refresh Rust SDK docs for the updated event and type surfaces

Testing

  • cargo fmt
  • cargo test --workspace
  • cargo clippy -p ag-ui-core --all-targets -- -D warnings
  • cargo clippy -p ag-ui-client --lib --tests

Note: full workspace clippy with all targets still has pre-existing warnings in examples/tests unrelated to this change.

@yukkit
yukkit requested a review from a team as a code owner July 18, 2026 07:53
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

@yukkit is attempting to deploy a commit to the CopilotKit Team on Vercel.

A member of the Team first needs to authorize it.

@MikeSchirtzinger

Copy link
Copy Markdown

verified locally on this branch: cargo test --workspace passes (29 tests), clippy with -D warnings clean on ag-ui-core. the one clippy complaint in ag-ui-client (dead_code in sse.rs) is pre-existing on main and untouched here. this covers the events gap from the plan of record on #972, so I'd love to see it land. LGTM.

the review bottleneck holding this (and the other rust PRs) is now filed as #2256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants