Back
AI summary
Written by AI from the official notes. Check them for exact details.Google Antigravity SDK 0.1.2 adds Windows support and streamlines safety policy configurations.
- Windows platform support for x86_64 and ARM64 added.
- Programmatic stream cancellation via ChatResponse.cancel() introduced.
- Simplified safety policy configurations for Model Context Protocol.
- Deprecated MCP SSE transport removed.
Why it matters: Developers using Antigravity SDK should update to utilize new features and improved compatibility.
Full release notes4 changes
This release adds Windows platform support, introduces programmatic turn-level stream cancellation, simplifies safety policy configurations for the Model Context Protocol (MCP), and removes the deprecated MCP SSE transport.
- Windows Platform Support: Native compatibility added for Windows x86_64 and ARM64 environments. Path and file URI resolution now correctly handles drive letters and directory separators under Windows.
- Programmatic Turn-Level Cancellation: Added programmatic stream cancellation via
ChatResponse.cancel(). This programmatically aborts active generation turns directly from the client and raisesAntigravityCancelledError(subclass ofasyncio.CancelledError) to cleanly signal cancellation in the async flow (examples/getting_started/cancellation.py). - Direct MCP Safety Policy Configuration: Overloaded
policy.allow,policy.deny, andpolicy.ask_userto accept server configurations (BaseMcpServerConfig) directly instead of typing namespaced string paths. Policy evaluation follows a 9-level precedence model (Specific > Prefix Wildcard > Global Wildcard) with longest-match prefix validation to protect against collisions. - Deprecation of SSE Transport: Removed the legacy
McpSseServerconfiguration and connection handlers in favor of standard Stdio and Streamable HTTP connection strategies.