antigravity 0.3.0 copy "antigravity: ^0.3.0" to clipboard
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_content builtin tool and its ReadUrlContentResult structured output.
    • Added StepType.thinking to enum representation for telemetry tracking.
    • Implemented the HookRouter to process WebSocket-based CallHookRequest turn and tool lifecycle hooks delegated by the harness.
    • Added support for telemetry PreStepHook and PostStepHook inside HookRunner and connection parser.
    • Implemented _StepTracker to prevent duplicate step hooks or non-linear state transitions.
    • Supported error and cancelled propagation in trajectory_state_update events.
    • Historical Step Absorption: Aligned startup handshake to await and parse pre-existing conversation history and usage metadata from initialize_conversation_response, populating them immediately in Conversation on start.

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 GeminiConfig with a more flexible ModelTarget and polymorphic ModelEndpoint class hierarchy (GeminiAPIEndpoint, VertexEndpoint).
  • Subagents Feature: Introduced SubagentConfig and SubagentCapabilities allowing definition and inclusion of subagents in the main agent's configuration.
  • New Builtin Tools: Added SearchWeb tool and related SearchWebResult structured output.
  • Enhanced Configuration: Support for environment variables (env) in McpStdioServer. Removed imageModel from CapabilitiesConfig to 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 McpBridge references.
  • Added SlashCommand structure to input content primitives to support built-in planning flows.
  • Integrated CLI Spinner into runInteractiveLoop with step-by-step progress tracking via agent.conversation.receiveSteps().
  • Enhanced policy engine with a 9-level priority model supporting prefix wildcards and custom MCP policy validators.
  • Added AntigravityCancelledException and AntigravityExecutionException for robust error handling.

0.0.1 #

  • Initial release of the Antigravity Dart SDK.
2
likes
160
points
208
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A native Dart client SDK for Google Antigravity, fully decoupled from the Flutter framework for server, CLI, and mobile compatibility.

Repository (GitHub)
View/report issues

Topics

#antigravity #gemini #dart #sdk

License

Apache-2.0 (license)

Dependencies

dart_mappable, http, logging, mcp_dart, path, web_socket_channel

More

Packages that depend on antigravity