Skip to content

feat/rpc + feat/post sse - #1

Merged
nexssp merged 2 commits into
mainfrom
feat/post-sse
Sep 1, 2026
Merged

feat/rpc + feat/post sse#1
nexssp merged 2 commits into
mainfrom
feat/post-sse

Conversation

@nexssp

@nexssp nexssp commented Sep 1, 2026

Copy link
Copy Markdown
Owner
  • New testkit/rpc package

    • Real JSON-RPC 2.0 client over net.Pipe
    • Works with line-delimited stdio transports such as MCP stdio
    • Supports Call, CallRaw, Notify, and typed BindResult
  • New SSE helpers in testkit/sse.go

    • StreamCapture.WaitForData()
    • StreamCapture.Endpoint() for MCP SSE handshake
    • ListenSSEWithRequest() — supports POST + SSE
      • This enables MCP Streamable HTTP and A2A streaming tests

- Add testkit/rpc package with DialJSONRPC, Call, Notify, CallRaw
- Add Response.BindResult for typed assertions
- Add StreamCapture.WaitForData and Endpoint for MCP SSE
@nexssp
nexssp merged commit 2d5292b into main Sep 1, 2026
2 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.

2 participants