agent-client-protocol 5.5.0

Core protocol types and traits for the Agent Client Protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! SDK trait adapters for the ACP enums. Method dispatch lives in the schema.

use crate::v1::schema::{
    AgentNotification, AgentRequest, AgentResponse, ClientNotification, ClientRequest,
    ClientResponse,
};

impl_jsonrpc_request_enum!(ClientRequest);
impl_jsonrpc_response_enum!(AgentResponse);
impl_jsonrpc_notification_enum!(ClientNotification);

impl_jsonrpc_request_enum!(AgentRequest);
impl_jsonrpc_response_enum!(ClientResponse);
impl_jsonrpc_notification_enum!(AgentNotification);