Skip to content

feat(mcp): notify clients when watched match state changes - #58

Merged
nosam1998 merged 3 commits into
mainfrom
feat/mcp-resource-subscriptions
Oct 1, 2026
Merged

nosam1998 merged 3 commits into
mainfrom
feat/mcp-resource-subscriptions

Conversation

@nosam1998

Copy link
Copy Markdown
Member

Add current MCP listen streams and legacy stdio resource subscriptions for match state. Watches use the adapter's authorized viewer and send only resource URIs. Two-second reconciliation catches changes made through REST or another process, including controls that keep the same turn.

Bound shared stream capacity, URI counts, snapshot size, and send duration. Cleanup covers cancellation, unsubscribe, disconnect, and handler drop. Legacy watches use SDK peer identity rather than client-supplied names.

Official-client tests cover initial refresh, quiet unchanged state, external moves, same-turn controls, cancellation, URI filtering, and independent unsubscribe for clients with identical identities.

@nosam1998
nosam1998 marked this pull request as ready for review October 1, 2026 01:18
@nosam1998
nosam1998 merged commit 7148b41 into main Oct 1, 2026
10 checks passed
@nosam1998
nosam1998 deleted the feat/mcp-resource-subscriptions branch October 2, 2026 06:07
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.

1 participant