Google Antigravity SDK 0.1.15
Safe to upgrade? No issue tracker data
This tool has no public GitHub issue tracker we can query, so no signal is computed.
Breaking-change highlights
- WebSocket deprecation warnings: Resolved DeprecationWarning exceptions when reading WebSocket close codes across varying websockets library versions.
- Deprecated TriggerDelivery Removal: Removed the unused TriggerDelivery enum from types.py.
Changelog: Subagent-scoped custom tools, context compaction lifecycle hooks, and universal JSON schema normalization
The 0.1.15 release introduces subagent-exclusive tool scoping to reduce context overhead, adds an on_compaction lifecycle hook for observing context checkpointing, expands platform compatibility with Alpine Linux musl wheels, resolves workspace path normalization and custom Vertex endpoint routing, and adds universal JSON Schema normalization for custom Python tools when targeting local OpenAI-compatible LLM endpoints.
Improvements(9)
- Subagent-scoped custom tools: Custom tools can now be registered directly on subagents without requiring registration on the root agent, strictly isolating them to the subagent's context and reducing root context tokens.
- Context compaction lifecycle hook: Improved support for the on_compaction lifecycle hook to accurately capture compaction events and summaries when long-running conversations trigger checkpointing.
- Custom base URL and secure Vertex proxy support: VertexEndpoint now supports routing requests to custom base_url reverse proxies or enterprise gateways without leaking ambient Google Cloud Application Default Credentials (ADC) OAuth tokens or conflicting with project/location configurations.
- Universal JSON Schema normalization for custom tools: Custom Python tools now produce standard OpenAPI / JSON Schema compliant parameter definitions with lowercase types and camelCase combiners, eliminating schema errors when connecting to local OpenAI-compatible engines such as Ollama, LM Studio, or vLLM.
- from_bytes Helper Export: Exported the from_bytes helper in top-level google.antigravity alongside from_file for creating binary and multimodal content payloads.
- PEP 656 musllinux wheel support: Added musllinux_1_1 wheel platform tags for x86_64 and aarch64 architectures, enabling direct installation using pip on Alpine Linux containers.
- Isolated harness environment configuration: Added per-connection environment dictionary resolution for ANTIGRAVITY_HARNESS_PATH, avoiding mutation of global os.environ.
- Tool call metadata preservation: Preserved id, step_id, and server_name metadata across all ToolResult executions, including batch calls, errors, and unknown tools.
- Relative workspace path normalization: LocalAgentConfig(workspaces=...) now resolves relative directory paths and tilde (~) expansions against the current working directory (os.getcwd()).
Fixes(6)
- Local OpenAI tool schema validation: Fixed HTTP 400 "Invalid discriminator value" errors on local OpenAI endpoints by canonicalizing tool parameter schemas to standard JSON Schema.
- Vertex custom gateway token leaks: Fixed host GCP OAuth bearer token leakage and environment variable collisions when using custom base_url endpoints with VertexEndpoint.
- Subagent custom tool routing: Fixed tool dispatch failures when subagents defined tools not registered on the root agent.
- UsageMetadata Service Tier Loss: Fixed UsageMetadata.__sub__ dropping the service_tier field when calculating per-turn usage deltas.
- WebSocket deprecation warnings: Resolved DeprecationWarning exceptions when reading WebSocket close codes across varying websockets library versions.
- OpenTelemetry optional dependency guard: Fixed test collection failures on minimal environments lacking opentelemetry.sdk.
Patches(1)
- Deprecated TriggerDelivery Removal: Removed the unused TriggerDelivery enum from types.py.
<h3 class="