NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4943 most downloaded on pub.dev
A Dart implementation of the Agent-Client Protocol (ACP) for building AI-powered applications.
Last release 14 days ago
24 Sep 2026
Ships fairly regularly
a new release about every 5 months
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
12 months old
5 releases · first in 2025
One column per month.
Remote JSON-RPC errors now complete request futures with RequestError instead of a raw JSON map. Catch RequestError and read its code, message, and da
RequestError instead of a raw JSON map. Catch RequestError and read its code, message, and data fields.cancelPendingRequest no longer rejects the pending request locally. It sends $/cancel_request, and the original request future stays pending until the peer replies or the connection closes. Use sendRequestWithCancellation when you have a cancellation future for a specific request.type before reading currentValue; create boolean options with type: 'boolean', a boolean value, and no select options. Tool-call rawInput and rawOutput can also contain any JSON value, so narrow them before treating them as maps.ndJsonStream now sends JSON-RPC parse or invalid-request errors for malformed nonempty input instead of silently dropping it.agent() and client() handler registration, connection contexts, session builders, session update queues, and request-scoped cancellation.unstableListSessions and unstableResumeSession as compatibility aliases while exposing stable listSessions and resumeSession methods.session/set_model remains a Dart legacy extension and is absent from the TypeScript SDK v1.5.0 agent method inventory.dart:io and do not run in a browser.dart:io does not expose those headers.Stable Method Support: Added end-to-end support for session/set_config_option with typed request/response models and connection dispatch wiring.
session/set_config_option with typed request/response models and connection dispatch wiring.session/list, session/fork, and session/resume, including typed schema models, capability models, and client/agent interface wiring.$/cancel_request support with typed notifications and connection helpers to cancel pending outbound requests.parity_verification_checklist.md for release-time parity verification.extMethod and extNotification now preserve method names exactly as provided; callers must include protocol extension prefixes (for example, leading _) explicitly.-32602 (Invalid params) and unexpected runtime failures map to sanitized -32603 (Internal error) payloads.ndJsonStream now skips malformed non-empty lines and continues processing valid messages, with optional onParseError diagnostics.devenv configuration (devenv.nix, devenv.yaml, devenv.lock) for consistent local setup and CI-like workflows._ rewriting must update call sites.onParseError.Invalid params when they are parameter/validation related.Protocol Parity: Rebuilt every data model to match the official ACP schema.json, including sessions, permissions, plans, content payloads, terminal up
schema.json, including sessions, permissions, plans, content payloads, terminal updates, MCP server descriptors, and _meta envelopes; regenerated schema.g.dart to keep serialization in lock-step.sessionId, path fields, and limits, and aligned WaitForTerminalExit and related responses with nullable exit metadata.Unknown* fallbacks.schema_alignment_checklist.md, refreshed examples, and broadened test coverage to guard the new behavior.Fix: Resolved critical bug in NDJSON stream handling (lib/src/stream.dart) that caused communication failures due to incorrect UTF-8 and line splittin
lib/src/stream.dart) that caused communication failures due to incorrect UTF-8 and line splitting logic.InitializeRequest and InitializeResponse to properly handle numeric protocolVersion and use clientCapabilities key, resolving initialization errors with ACP backends.Agent.setSessionModel method for feature parity with the latest ACP TypeScript SDK.Initial release of the acp_dart package.
acp_dart package.Your coding agent can read these notes before it upgrades. Set up the MCP server →