Google Antigravity SDK 0.1.10
Safe to upgrade? No issue tracker data
This tool has no public GitHub issue tracker we can query, so no signal is computed.
Changelog: Prioritized inference tiers, real-time token usage streaming, and context-aware hook decorators
The 0.1.10 release introduces support for Gemini Prioritized Inference service tiers, real-time token usage event streaming, stateful context-aware hook decorators, and explicit tool call correlation IDs across hook callbacks. It also standardizes default system instruction merging behavior, fixes WebSocket compaction events, and expands local Gemma model documentation.
Improvements(10)
- Gemini prioritized inference service tier: Configure agents to utilize Gemini Prioritized Inference service tiers for high-priority model execution with automated graceful fallback.
- Tool call ID correlation in lifecycle hooks: Inspect call_id attributes on tool executions, errors, and hooks to correlate multi-step tool invocations across lifecycle callbacks.
- Context-aware hook decorators: Decorate hook handlers (@hooks.pre_turn, @hooks.post_tool_call, etc.) that optionally accept HookContext as a parameter to maintain state and share data across lifecycle callbacks.
- ActionCompaction event emission and hook: Track context window compaction notifications over WebSockets and intercept them using @hooks.on_compaction.
- Standardized system instructions strategy: Plain string instructions default to appending to built-in instructions. To override and completely replace built-in instructions, pass CustomSystemInstructions.
- Live token usage reporting: Introduced real-time UsageUpdate event streaming so token usage accumulates live during agent execution rather than delaying updates until state transitions.
- Interactive CLI spinner: Updated CLI interactive loop spinner to list all active tool names when running concurrent tool calls (for example, Running tools 'tool_a', 'tool_b').
- Module re-exports: Re-exported ReadUrlContentResult and SearchWebResult in connections.local for uniform tool result access.
- Local Gemma model documentation: Added guides and tutorials for running agents locally with Gemma models using LiteRT and OpenAI-compatible endpoints.
- LiteRT token output limit: Increased max_output_tokens default in LiteRT local server configuration from 8,192 to 16,384 tokens to prevent truncation during complex reasoning and generation tasks.
Fixes(2)
- ActionCompaction event emission: Fixed issue where compaction notifications were suppressed in external SDK releases, causing @hooks.on_compaction handlers and conversation.compaction_indices tracking to fail; compaction events now emit properly over WebSockets.
- MCP test server startup: Fixed a race condition where the HTTP port was exposed before uvicorn server startup completed, which previously caused intermittent ConnectionRefusedError failures during test initialization.
<h3 class="