You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 03ad2bc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/MCP_MODE.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,10 +81,13 @@ The capability list lives on `NodeService`, *not* on `WindowsNodeClient`. That s
81
81
transport has no client identity, duplicate active IDs are allowed and
82
82
cancellation is ignored when more than one active call matches; this prevents
83
83
one local client from cancelling another client when the collision is already
84
-
observable. A tombstone cannot predict a later cross-client ID collision, so
85
-
it cancels the first matching registration; complete isolation would require
86
-
client identity in the transport. A recent completion guard also prevents a
87
-
late notification from poisoning immediate ID reuse.
84
+
observable. Request matching uses the decoded JSON string value or normalized
85
+
arbitrary-precision JSON number value, while preserving the distinction
86
+
between string and numeric IDs. A tombstone cannot predict a later
87
+
cross-client ID collision, so it cancels the first matching registration;
88
+
complete isolation would require client identity in the transport. A recent
89
+
completion guard also prevents a late notification from poisoning immediate
90
+
ID reuse.
88
91
89
92
The bridge takes a `Func<IReadOnlyList<INodeCapability>>` rather than a snapshot. Every `tools/list` re-reads the live list. This is what guarantees zero-cost capability addition — register a new capability after server start and it appears on the next `tools/list`.
0 commit comments