Commit 2a33e25
Integrate progress notification support with PR modelcontextprotocol#373 timeout configuration
Merged with feat-cli-server-request-configs branch and refactored to use
the existing RequestOptions from the SDK instead of custom timeout types.
Changes:
- Use SDK RequestOptions type instead of custom TimeoutOptions interface
- Pass mcpRequestOptions from CLI args through to callTool()
- Add onprogress callback when resetTimeoutOnProgress is enabled
- Remove duplicate CLI option definitions (already in PR modelcontextprotocol#373)
- Remove debug logging
This completes the implementation of progress notification capture and
timeout reset functionality for CLI mode, building on the timeout flag
support added in PR modelcontextprotocol#373.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6b3c0a4 commit 2a33e25
2 files changed
Lines changed: 15 additions & 79 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 83 | | |
89 | 84 | | |
90 | 85 | | |
91 | 86 | | |
92 | | - | |
| 87 | + | |
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
| |||
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
137 | 116 | | |
138 | 117 | | |
139 | 118 | | |
140 | | - | |
141 | | - | |
| 119 | + | |
| 120 | + | |
142 | 121 | | |
143 | 122 | | |
144 | 123 | | |
| |||
159 | 138 | | |
160 | 139 | | |
161 | 140 | | |
162 | | - | |
| 141 | + | |
163 | 142 | | |
164 | 143 | | |
165 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
| |||
150 | 147 | | |
151 | 148 | | |
152 | 149 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
| |||
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | 379 | | |
423 | 380 | | |
424 | 381 | | |
| |||
0 commit comments