acpd 1.0.0
acpd: ^1.0.0 copied to clipboard
Dart SDK for the Agent Client Protocol (ACP). Build clients, agents, and proxies that speak the ACP wire protocol.
Changelog #
1.0.0 #
- Complete stable ACP v1 schema and typed contexts.
- Typed
AgentRoleandClientRolehandler registration for every stable ACP request and notification, including cooperative request cancellation. - Frame-aware JSON-RPC with batching, bidirectional concurrency, errors, timeouts, and cooperative cancellation.
- Agent/client roles and high-level session lifecycle.
- Typed client requests expose transport-level timeouts with cooperative peer cancellation.
- High-level sessions support resume, close, mode and config changes while keeping mode and config state synchronized with streamed updates.
- Session setup responses preserve the ACP
SessionModeState, including the authoritative current mode instead of inferring it from list order. - Partial tool-call updates distinguish omitted content and locations from explicit empty replacements, so clients can merge or clear state correctly.
- Optional tool-call enum fields preserve omission and only use schema fallback values for unknown strings.