Commit 307f035
Follow the snake_case rename outside the test tree
CI's inline "Test CLI and MCP protocol" step and the IDE-integration
setup script both read `.isError` off a CallToolResult. mcp 2.x renamed
model fields to snake_case, so both needed `.is_error`. My earlier sweep
only covered tests/ and rmcp/, which is why CI caught these and I did
not.
Deliberately unchanged: scripts/testing/test-local.sh and
scripts/test-claude-connector.py also mention isError/structuredContent,
but those index raw JSON-RPC response dicts, where camelCase is the wire
format and still correct.
Verified by running CI's script verbatim against a real stdio server.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 41f25eb commit 307f035
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
0 commit comments