Skip to content

Conversation

@jba
Copy link
Contributor

@jba jba commented Jul 17, 2025

Export the Event type in preparation for providing user-definable storage for resumable streams.

Also, move event code to a separate file.

This PR is just renaming and code motion.

Export the Event type in preparation for providing user-definable
storage for resumable streams.

Also, move event code to a separate file.

This PR is just renaming and code motion.
@jba jba requested a review from samthanawalla July 17, 2025 17:06
Copy link

@RoyceLeonD RoyceLeonD left a comment

Choose a reason for hiding this comment

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

Just for my own understanding, we pulled out logic in sse.go, brought it into the exported Event and then updated it to use the new event to handle write and response. The SSE file itself is also doing things with client connection but we don't care about that in this PR, and we just want to pull out the event and streamable response handlers.

@jba
Copy link
Contributor Author

jba commented Jul 17, 2025

@RoyceLeonD yes.
Don't depend on any of this yet. It's possible it won't be v0.3.0. Stick to v0.2.0 to avoid breakage.

@jba jba merged commit a519c18 into modelcontextprotocol:main Jul 21, 2025
3 checks passed
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.

3 participants