Commit 80ba9a0
committed
test(e2e): subscriptions/listen honored filter narrows against advertised capabilities
Adds an e2e cell on entryModern where the listen filter requests
toolsListChanged + promptsListChanged + resourcesListChanged but the
server advertises only tools.listChanged: honoredFilter on the resolved
McpSubscription is { toolsListChanged: true } and only the tools change
reaches the stream.
A stdio e2e of the modern listen path is not yet feasible without harness
changes (the e2e stdio arms wire the standard child-process
StdioServerTransport, not the serveStdio entry); stdio narrowing is
covered at unit level in serveStdioListen.test.ts. Recorded in the
requirement note.1 parent 4d6e540 commit 80ba9a0
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2684 | 2684 | | |
2685 | 2685 | | |
2686 | 2686 | | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
2687 | 2695 | | |
2688 | 2696 | | |
2689 | 2697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
117 | 137 | | |
118 | 138 | | |
119 | 139 | | |
| |||
0 commit comments