Google Antigravity SDK 0.1.17
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
- Compaction configuration: Adds CompactionConfig on AgentConfig to govern sliding-window conversation history compaction through an explicit token ceiling dial (token_threshold), deprecating CapabilitiesConfig.compaction_threshold.
Changelog: Conversation compaction controls, forward-looking budget scopes, and tool output token truncation
This release introduces first-class conversation compaction controls using CompactionConfig, delta and forward-looking budget scopes for session resumption, tool output token truncation limits, and expanded arithmetic operations on UsageMetadata. It also delivers OS-level terminal sandboxing examples and automated tool wrapper reflection preservation.
Improvements(7)
- Compaction configuration: Adds CompactionConfig on AgentConfig to govern sliding-window conversation history compaction through an explicit token ceiling dial (token_threshold), deprecating CapabilitiesConfig.compaction_threshold.
- Forward-looking budget scope: Adds BudgetScope.FORWARD_LOOKING to BudgetConfig to enforce model call and token budgets across newly resumed execution turns without counting previous historical usage.
- Tool output token truncation: Exposes tool_output_truncation_config across agent configurations to cap token output volume initially for run_command executions in localharness.
- UsageMetadata arithmetic: Supports standard Python arithmetic protocols on UsageMetadata, enabling scalar multiplications, scaling, and accumulating token counts using built-in sum().
- Tool wrapper metadata preservation: Preserves function signature, module name, annotations, and original callable references using __wrapped__ when registering tools with ToolWithSchema.
- Interactive REPL policy flattening: Automatically flattens nested policy lists during interactive REPL upgrades so nested command authorization rules correctly upgrade to prompt the user.
- Terminal command sandboxing guide: Added getting-started guide and references demonstrating OS-level command sandboxing using RunCommandConfig(enable_sandbox=True) paired with execution policies.
Fixes(3)
- Tool call deserialization: Fixed dropped tool arguments during tool call handling when incoming payloads provide structured dictionary arguments rather than serialized JSON strings.
- Local step trajectory tracking: Fixed missing provenance metadata by forwarding trajectory_id from incoming tool calls to local connection execution steps.
- Dynamic content proto resolution: Fixed an AttributeError when importing struct_converter in external environments missing internal protobuf definitions by resolving descriptor types dynamically at runtime.
<h3 class="