mcp: add EventStore (#152)

Introduce an EventStore interface to store events for resumable streams.

Provide an in-memory implementation.

Still to do: connect to streaming transports.

For #10
This commit is contained in:
Jonathan Amsterdam 2025-07-22 10:21:05 -04:00 • committed by GitHub
commit 1465442b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -555,7 +555,7 @@ func mustMarshal(t *testing.T, v any) json.RawMessage {
func TestEventID(t *testing.T) {
tests := []struct {
sid streamID
sid StreamID
idx int
}{
{0, 0},