flutter_acp 0.1.0
flutter_acp: ^0.1.0 copied to clipboard
A Flutter/Dart implementation of the Agent Client Protocol (ACP). Supports both Client and Agent roles for building AI coding assistants.
0.1.0 #
- Initial release of flutter_acp
- Client implementation (
AcpClient) for connecting to ACP agents - Agent implementation (
AcpAgent) for handling client requests - Transport layer with multiple implementations:
InProcessTransportfor embedded usageHttpTransportfor HTTP-based communicationSseTransportfor Server-Sent Events streaming
- Session management with create, load, and close operations
- Streaming updates for text deltas, diffs, tool calls, and diagnostics
- Multimodal content support (text, image, audio)
- Tool integration with call/result handling
- Permission request system
- Comprehensive type definitions for all ACP types
- 165 unit tests and 36 integration tests
- Example client and agent implementations