Skip to content

Add UsageUpdate support to SessionUpdate interface and tests#2

Open
htynkn wants to merge 1 commit intoagentclientprotocol:mainfrom
htynkn:feature/add-support-for-usage-update
Open

Add UsageUpdate support to SessionUpdate interface and tests#2
htynkn wants to merge 1 commit intoagentclientprotocol:mainfrom
htynkn:feature/add-support-for-usage-update

Conversation

@htynkn
Copy link

@htynkn htynkn commented Mar 26, 2026

This pull request adds support for a new UsageUpdate type to the session update system, allowing the protocol to report token or resource usage for a session. The changes include the definition of the new type, registration for JSON deserialization, and comprehensive tests (including a new golden file) to ensure correct parsing and deserialization.

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.

1 participant