Repository navigation
Commit bdd781d
fix(server): ACP terminal MCP calls answer interleaved server requests
mcpToolSession collected a whole response stream and kept only its own
reply, so a server request on that stream (such as a ping) went
unanswered. It now replies to each server request as it arrives: an
empty result for ping, method-not-found for anything else.
Fixes #35794
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 6da43f4 commit bdd781d
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
115 | | - | |
116 | | - | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
118 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
0 commit comments