antigravity 0.3.0
antigravity: ^0.3.0 copied to clipboard
A native Dart client SDK for Google Antigravity, fully decoupled from the Flutter framework for server, CLI, and mobile compatibility.
0.3.0 #
- Synchronize updates from Python SDK (v0.1.5):
- Added new
read_url_contentbuiltin tool and itsReadUrlContentResultstructured output. - Added
StepType.thinkingto enum representation for telemetry tracking. - Implemented the
HookRouterto process WebSocket-basedCallHookRequestturn and tool lifecycle hooks delegated by the harness. - Added support for telemetry
PreStepHookandPostStepHookinsideHookRunnerand connection parser. - Implemented
_StepTrackerto prevent duplicate step hooks or non-linear state transitions. - Supported error and cancelled propagation in
trajectory_state_updateevents. - Historical Step Absorption: Aligned startup handshake to await and parse pre-existing conversation history and usage metadata from
initialize_conversation_response, populating them immediately inConversationon start.
- Added new
0.2.2 #
- Update to support web platform use
0.2.1 #
- Reintroduce generated files in package
0.2.0 #
- Model Configuration Overhaul: Replaced the monolithic
GeminiConfigwith a more flexibleModelTargetand polymorphicModelEndpointclass hierarchy (GeminiAPIEndpoint,VertexEndpoint). - Subagents Feature: Introduced
SubagentConfigandSubagentCapabilitiesallowing definition and inclusion of subagents in the main agent's configuration. - New Builtin Tools: Added
SearchWebtool and relatedSearchWebResultstructured output. - Enhanced Configuration: Support for environment variables (
env) inMcpStdioServer. RemovedimageModelfromCapabilitiesConfigto favor the new generic model targeting features.
0.1.3 #
- Added support for Vertex AI configuration (project, location, vertex options) in
GeminiConfig. - Refactored Model Context Protocol (MCP) server configurations to run connections natively on the Go-based harness, removing client-side
McpBridgereferences. - Added
SlashCommandstructure to input content primitives to support built-in planning flows. - Integrated CLI
SpinnerintorunInteractiveLoopwith step-by-step progress tracking viaagent.conversation.receiveSteps(). - Enhanced policy engine with a 9-level priority model supporting prefix wildcards and custom MCP policy validators.
- Added
AntigravityCancelledExceptionandAntigravityExecutionExceptionfor robust error handling.
0.0.1 #
- Initial release of the Antigravity Dart SDK.