go-sdk/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Robert Findley 623780125c
mcp: support SSE polling and server disconnects (SEP-1699) (#663)
This CL implements support for SEP-1699, adding the following new API:

- Event.Retry corresponds to the 'retry' field of a server sent event.
This is used to signal client retry behavior.
- RequestExtra.CloseStream is set by the streamable transport to allow
closing a stream.

The streamable server transport is updated to set CloseStream for calls,
allowing server operations or middleware to close the underlying stream.
If the configured 'reconnectAfter' delay is set, a 'retry' message is
sent prior to terminating the stream.

The streamable client transport is updated to read the configured delay.

Fixes #630
2025-12-01 16:21:37 -05:00
..
docs mcp: support SSE polling and server disconnects (SEP-1699) (#663) 2025-12-01 16:21:37 -05:00
jsonrpc2 many: minor cosmetic changes (#529) 2025-09-25 16:06:24 -04:00
readme Update readme generation instructions 2025-10-06 10:57:13 -04:00
util internal/util: move FieldJSONInfo into jsonschema/util (#251) 2025-08-06 12:07:57 -04:00
xcontext x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00