Google Antigravity Python SDK — v0.1.15 Release Notes #192
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.
Antigravity Python SDK v0.1.15 introduces subagent-exclusive tool scoping to reduce context overhead, adds an
on_compactionlifecycle 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.🌟 Key Highlights
on_compactionlifecycle hook to more precisely capture compaction events and summaries whenever long-running conversations trigger checkpointing.VertexEndpointnow supports routing requests to custombase_urlreverse proxies or enterprise gateways without leaking ambient Google Cloud Application Default Credentials (ADC) OAuth tokens or conflicting with project/location configurations.📋 Detailed Changes
Features & Enhancements
from_bytesHelper Export: Exported thefrom_byteshelper in top-levelgoogle.antigravityalongsidefrom_filefor creating binary/multimodal content payloads.musllinux_1_1wheel platform tags for x86_64 and aarch64 architectures, enabling direct installation via pip on Alpine Linux containers.ANTIGRAVITY_HARNESS_PATH, avoiding the need to mutate globalos.environ.id,step_id, andserver_namemetadata across allToolResultexecutions, including batch calls, errors, and unknown tools.Model & Default Changes
LocalAgentConfig(workspaces=...)now resolves relative directory paths and tilde (~) expansions against the current working directory (os.getcwd()). Previously, relative paths were passed unresolved to the harness and interpreted as absolute root paths, causing workspace indexing failures. Pass absolute paths orpathlib.Pathinstances if referencing directories outside the current working tree.TriggerDeliveryRemoval: Removed the unusedTriggerDeliveryenum fromtypes.py.Bug Fixes
base_urlendpoints withVertexEndpoint.UsageMetadataService Tier Loss: FixedUsageMetadata.__sub__dropping theservice_tierfield when calculating per-turn usage deltas.DeprecationWarningexceptions when reading WebSocket close codes across varying websockets library versions.opentelemetry.sdk.All reactions