Google Antigravity Python SDK — v0.1.13 Release Notes #186
NTaylorMullen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This release introduces pre-tool argument modification capabilities in lifecycle hooks, adds native support for synchronous hook functions, and establishes structured command execution configuration with configurable execution timeouts. It also improves tool execution observability with step correlation IDs, and enhances connection resilience during client disconnects.
🌟 Key Highlights
🚀 Bringing Antigravity SDK powered agents to IntelliJ and Zed IDEs..
Pre-Tool Hook Argument Modification: Pre-tool lifecycle hooks can now sanitize, transform, or override tool input arguments before tool execution begins.
Synchronous Hook Function Support: Lifecycle hook decorators now accept standard synchronous functions alongside asynchronous coroutines without raising runtime await errors.
Structured Command Execution Configuration: Command execution settings are now consolidated under
RunCommandConfig, introducing configurable timeouts that default to 10 minutes (600 seconds) alongside daemon execution controls.Tool Lifecycle Step Correlation:
ToolResultandToolExecutionErrorevent payloads now includestep_id, enabling end-to-end tracking and correlation of tool invocations across trajectory steps.📋 Detailed Changes
Features & Enhancements
@pre_toolhooks to return updated tool arguments that are sequentially chained across registered hooks prior to tool execution.step_idtoToolResultandToolExecutionErrorhook event models, allowing developers to correlate tool completions and failures with their originating tool call step.setup_vscode_debugging.shto target the canonicalgetting_started/hello_worldstarter example and explicitly configure Gemini Developer API defaults.Model & Default Changes
CapabilitiesConfignow has aRunCommandConfigallowing configuration of execution timeouts and daemon commands. Timeouts default to 10 minutes (600 seconds) to prevent unresponsive command tasks. Run commands can have daemons enabled via a boolean flag..Bug Fixes
TypeErrorwhen decorating synchronous functions with@pre_turn,@post_tool_call, and other lifecycle hooks by verifying awaitability before awaiting hook responses.ConnectionResetError,ConnectionAbortedError, andBrokenPipeErrorexceptions when clients disconnect early from local LiteRT server connections.All reactions