Repository navigation
v0.33.1
Compatibility with json 3.x and mcp 1.x. Upgrade if your bundle resolves json 3.x — rename_session / tag_session raise on 0.33.0.
Changed
mcpdependency is now>= 0.20, < 2(was>= 0.6, < 1). The floor moves to 0.20 becausemcp0.19 and older validate through thejson-schemagem, which breaks underjson3.x and fails every SDK MCPtools/call; withjson2.x those versions still pass, so this only forces anmcpupgrade on bundles pinned below 0.20. The suite passes against every 1.x release through 1.6.0, andinitialize/tools/list/tools/call/resources/*/prompts/*wire output is byte-identical to 0.2x.- SDK MCP tool handler exceptions now reach the model as the bare exception message (matching Python's
str(e)andSdkMcpServer#call_tool) instead of the gem'sInternal error calling tool X: msg. The exception is rescued inside the SDK's tool class, so the text no longer depends on themcpgem version —mcp1.2+ redacts the message from its own wrapper, which would otherwise have left the model with no error text to self-correct from. Still in-bandisError: true.
Fixed
rename_session/tag_sessionraisedArgumentError: unknown keyword: space_sizeunderjson3.x, which takes generator options as strict keywords. The option was a no-op onjson2.x (output unchanged), so it is simply gone. A fresh end-user bundle resolvesjson3.x throughasync → console → json; CI missed it only because the dev-only RuboCop pin holdsjsonat 2.x.
What's changed
- #64 Support mcp 1.x and json 3.x — @ya-luotao
Full Changelog: v0.33.0...v0.33.1
gem install claude-agent-sdk -v 0.33.1