Tags: dominic1988-lgtm/go-sdk
Tags
mcp: fix a race condition in logging Reading the buffer outside of a critical section can lead to data corruption.
mcp: switch icon theme to named string type (modelcontextprotocol#733) To be consistent with logging level, use a named string type for icon themes. This improves readability / discoverability, and is more consistent. Updates modelcontextprotocol#552 For modelcontextprotocol#725
mcp: switch icon theme to named string type (modelcontextprotocol#733) To be consistent with logging level, use a named string type for icon themes. This improves readability / discoverability, and is more consistent. Updates modelcontextprotocol#552 For modelcontextprotocol#725
mcp: don't break the streamable client connection for transient errors ( modelcontextprotocol#723) When POST requests in the streamableClientConn return a transient error, return this error to the caller rather than permanently breaking the connection. This is achieved by using the special sentinel ErrRejected error to the jsonrpc2 layer. In doing so, the change revealed a pre-existing bug: ErrRejected had the same code as ErrConnectionClosing, and jsonrpc2.WireError implements errors.Is, so the two sentinel values could be conflated. This is fixed by using a new internal code. There's more to do for modelcontextprotocol#683: we should also retry transient errors in handleSSE. For modelcontextprotocol#683
PreviousNext