Skip to content

[app-server-protocol] introduce generic ClientResponse for app-server-protocol#15921

Merged
rhan-oai merged 6 commits intomainfrom
rhan/client-response
Mar 27, 2026
Merged

[app-server-protocol] introduce generic ClientResponse for app-server-protocol#15921
rhan-oai merged 6 commits intomainfrom
rhan/client-response

Conversation

@rhan-oai
Copy link
Copy Markdown
Collaborator

@rhan-oai rhan-oai commented Mar 26, 2026

  • introduces ClientResponse as the symmetrical typed response union to ClientRequest for app-server-protocol
  • enables scalable event stream ingestion for use cases such as analytics
  • no runtime behavior changes, protocol/schema plumbing only
Copy link
Copy Markdown
Collaborator

@owenlin0 owenlin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we avoid exporting ClientResponse actually? clients haven't needed it so I think we can avoid the bloat in the generated JSON schema / TypeScript types. Let's just use ClientResponse internally for the analytics wiring

@rhan-oai rhan-oai marked this pull request as ready for review March 27, 2026 00:19
@rhan-oai rhan-oai merged commit 21a03f1 into main Mar 27, 2026
61 of 65 checks passed
@rhan-oai rhan-oai deleted the rhan/client-response branch March 27, 2026 04:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants