Align Rust SDK public surface#1212
Conversation
Remove Rust-only auto mode switch and exit-plan-mode handler surfaces, align resume tool filtering config, add richer Rust tool result support, and update documentation/comments. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cross-SDK Consistency Review ✅This PR does an excellent job aligning the Rust SDK with the other four implementations. Here's my cross-SDK analysis: Features Added to Match Other SDKs (Parity Improvements)
Rust-Only Surfaces Correctly RemovedThe following features had no equivalents in any other SDK and are correctly removed:
Minor Follow-Up OpportunityThe table above shows the .NET SDK is missing a public Go documentation changeThe comment update on Overall, this PR is well-scoped and moves the multi-SDK surface in the right direction. 👍
|
|
Thanks, @tclem. |
This follow-up from the cross-language SDK surface audit keeps Rust aligned with the established C#, Go, Python, and TypeScript public APIs before the new SDK surface settles.
Summary
autoModeSwitch,exitPlanMode, anddisabled_mcp_serverssurfaces while leaving generated protocol event types untouched.ResumeSessionConfigparity foravailable_toolsanddisabled_skills.CallToolResultconversion helper to match the richer tool-result support in the other SDKs.session.rpc()calls, and fix Go permission handler comments.