Copilot SDK Rust v1.0.0-beta.7: Canvas Runtime & CLI Bundling
Rust SDK v1.0.0-beta.7 bundles Copilot CLI by default, adds canvas runtime support, and completes API review fixes across all SDKs. Java SDK gains new preMcpToolCall hook.
TL;DR
- Rust SDK now bundles Copilot CLI by default
- Canvas runtime support added across SDKs
- API review fixes and cross-SDK cleanup completed
- Java SDK synced to latest reference implementation with new hooks
New
- Canvas runtime support — SDK now supports Copilot canvas operations for richer UI interactions
- Rust SDK bundles Copilot CLI — CLI included by default, simplifying setup and reducing external dependencies
- Runtime instructions system message — new section added across all SDKs for better instruction handling
- Java preMcpToolCall hook — new lifecycle hook for tool call interception in Java SDK
Fixed
- Rust SDK API review fixes — standardized naming and patterns across the Rust implementation
- Python SDK API review fixes — consistency improvements following API review process
- Flaky E2E tests — resolved intermittent test failures in SDK test suite
- .NET package version generation — fixed version props generation for .NET packages
- Java PingResponse timestamp type — corrected type definition in Java SDK
- C# JSON mapping — re-landed x-opaque-json to JsonElement mapping with proper object boundaries
Internal
- Monorepo consolidation phase 03 — continued migration to unified repository structure
- Java-specific documentation — added language-specific guidance to copilot-instructions.md
- Copilot dependency updates — synced to @github/copilot 1.0.53-2
cargo install copilot-sdk or update your Cargo.toml to the latest version. See the full release notes for details.
Source: Copilot SDK