| 接口 | 说明 |
|---|---|
| AcpAgentSession.NotificationHandler |
Functional interface for handling incoming JSON-RPC notifications.
|
| AcpAgentSession.RequestHandler<T> |
Functional interface for handling incoming JSON-RPC requests.
|
| AcpAgentTransport |
Interface for the agent side of the
AcpTransport. |
| AcpClientSession.NotificationHandler |
Functional interface for handling incoming JSON-RPC notifications.
|
| AcpClientSession.RequestHandler<T> |
Functional interface for handling incoming JSON-RPC requests.
|
| AcpClientTransport |
Interface for the client side of the
AcpTransport. |
| AcpSchema.ContentBlock |
Content block - base type for all content
|
| AcpSchema.EmbeddedResourceResource |
Embedded resource content
|
| AcpSchema.JSONRPCMessage |
Base type for all JSON-RPC messages.
|
| AcpSchema.McpServer |
MCP server configuration.
|
| AcpSchema.RequestPermissionOutcome |
Request permission outcome
|
| AcpSchema.SessionUpdate |
Session update - different types of updates
|
| AcpSchema.ToolCallContent |
Tool call content
|
| AcpSession |
Represents an Agent Client Protocol (ACP) session that handles communication between
clients and agents.
|
| AcpTransport |
Defines the asynchronous transport layer for the Agent Client Protocol (ACP).
|
| 类 | 说明 |
|---|---|
| AcpAgentSession |
Agent-side implementation of the ACP (Agent Client Protocol) session that manages
bidirectional JSON-RPC communication between agents and clients.
|
| AcpClientSession |
Default implementation of the ACP (Agent Client Protocol) client session that manages
bidirectional JSON-RPC communication between clients and agents.
|
| AcpClientSession.MethodNotFoundError | |
| AcpSchema |
Agent Client Protocol (ACP) Schema based on
Agent Client Protocol specification.
|
| AcpSchema.AgentCapabilities |
Agent capabilities
|
| AcpSchema.AgentMessageChunk |
Agent message chunk
|
| AcpSchema.AgentThoughtChunk |
Agent thought chunk
|
| AcpSchema.Annotations |
Annotations for content
|
| AcpSchema.AudioContent |
Audio content
|
| AcpSchema.AuthenticateRequest |
Authenticate request - authenticates using specified method
|
| AcpSchema.AuthenticateResponse |
Authenticate response
|
| AcpSchema.AuthMethod |
Authentication method
|
| AcpSchema.AvailableCommand |
Available command
|
| AcpSchema.AvailableCommandInput |
Available command input
|
| AcpSchema.AvailableCommandsUpdate |
Available commands update
|
| AcpSchema.BlobResourceContents |
Blob resource contents
|
| AcpSchema.CancelNotification |
Cancel notification - cancels ongoing operations
|
| AcpSchema.ClientCapabilities |
Client capabilities
|
| AcpSchema.CreateTerminalRequest |
Create terminal request
|
| AcpSchema.CreateTerminalResponse |
Create terminal response
|
| AcpSchema.CurrentModeUpdate |
Current mode update
|
| AcpSchema.EnvVariable |
Environment variable
|
| AcpSchema.FileSystemCapability |
File system capabilities
|
| AcpSchema.HttpHeader |
HTTP header
|
| AcpSchema.ImageContent |
Image content
|
| AcpSchema.InitializeRequest |
Initialize request - establishes connection and negotiates capabilities
|
| AcpSchema.InitializeResponse |
Initialize response - returns agent capabilities and auth methods
|
| AcpSchema.JSONRPCError | |
| AcpSchema.JSONRPCNotification |
A JSON-RPC notification that does not expect a response.
|
| AcpSchema.JSONRPCRequest |
A JSON-RPC request that expects a response.
|
| AcpSchema.JSONRPCResponse |
A JSON-RPC response to a request.
|
| AcpSchema.KillTerminalCommandRequest |
Kill terminal request
|
| AcpSchema.KillTerminalCommandResponse |
Kill terminal response
|
| AcpSchema.LoadSessionRequest |
Load existing session request
|
| AcpSchema.LoadSessionResponse |
Load session response
|
| AcpSchema.McpCapabilities |
MCP capabilities supported by agent
|
| AcpSchema.McpServerHttp |
HTTP MCP server.
|
| AcpSchema.McpServerSse |
SSE MCP server.
|
| AcpSchema.McpServerStdio |
STDIO MCP server (default transport, no type field in JSON).
|
| AcpSchema.ModelInfo |
Model info (UNSTABLE)
|
| AcpSchema.NewSessionRequest |
Create new session request
|
| AcpSchema.NewSessionResponse |
Create new session response
|
| AcpSchema.PermissionCancelled |
Permission cancelled
|
| AcpSchema.PermissionOption |
Permission option
|
| AcpSchema.PermissionSelected |
Permission selected
|
| AcpSchema.Plan |
Plan update
|
| AcpSchema.PlanEntry |
Plan entry
|
| AcpSchema.PromptCapabilities |
Prompt capabilities
|
| AcpSchema.PromptRequest |
Prompt request - sends user message to agent
|
| AcpSchema.PromptResponse |
Prompt response - indicates why agent stopped
|
| AcpSchema.ReadTextFileRequest |
Read text file request
|
| AcpSchema.ReadTextFileResponse |
Read text file response
|
| AcpSchema.ReleaseTerminalRequest |
Release terminal request
|
| AcpSchema.ReleaseTerminalResponse |
Release terminal response
|
| AcpSchema.RequestPermissionRequest |
Request permission from user
|
| AcpSchema.RequestPermissionResponse |
Permission response from user
|
| AcpSchema.Resource |
Embedded resource
|
| AcpSchema.ResourceLink |
Resource link
|
| AcpSchema.SessionMode |
Session mode
|
| AcpSchema.SessionModelState |
Session model state (UNSTABLE)
|
| AcpSchema.SessionModeState |
Session mode state
|
| AcpSchema.SessionNotification |
Session update notification - real-time progress
|
| AcpSchema.SetSessionModelRequest |
Set session model request (UNSTABLE)
|
| AcpSchema.SetSessionModelResponse |
Set session model response (UNSTABLE)
|
| AcpSchema.SetSessionModeRequest |
Set session mode request
|
| AcpSchema.SetSessionModeResponse |
Set session mode response
|
| AcpSchema.TerminalExitStatus |
Terminal exit status
|
| AcpSchema.TerminalOutputRequest |
Terminal output request
|
| AcpSchema.TerminalOutputResponse |
Terminal output response
|
| AcpSchema.TextContent |
Text content
|
| AcpSchema.TextResourceContents |
Text resource contents
|
| AcpSchema.ToolCall |
Tool call
|
| AcpSchema.ToolCallContentBlock |
Tool call content block
|
| AcpSchema.ToolCallDiff |
Tool call diff
|
| AcpSchema.ToolCallLocation |
Tool call location
|
| AcpSchema.ToolCallTerminal |
Tool call terminal
|
| AcpSchema.ToolCallUpdate |
Tool call update
|
| AcpSchema.ToolCallUpdateNotification |
Tool call update notification
|
| AcpSchema.UserMessageChunk |
User message chunk
|
| AcpSchema.WaitForTerminalExitRequest |
Wait for terminal exit request
|
| AcpSchema.WaitForTerminalExitResponse |
Wait for terminal exit response
|
| AcpSchema.WriteTextFileRequest |
Write text file request
|
| AcpSchema.WriteTextFileResponse |
Write text file response
|
| 枚举 | 说明 |
|---|---|
| AcpSchema.PermissionOptionKind | |
| AcpSchema.PlanEntryPriority | |
| AcpSchema.PlanEntryStatus | |
| AcpSchema.Role | |
| AcpSchema.StopReason | |
| AcpSchema.ToolCallStatus | |
| AcpSchema.ToolKind |
| 异常错误 | 说明 |
|---|---|
| AcpAgentSession.AcpError |
ACP-specific error wrapper for JSON-RPC errors.
|
| AcpClientSession.AcpError |
ACP-specific error wrapper for JSON-RPC errors.
|