-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
acpAgent Client Protocol integrationAgent Client Protocol integrationcorefeatureNew functionalityNew functionality
Description
Parent: #762
Task
Implement the core ACP session lifecycle: capability negotiation, session creation/loading, and prompt handling.
Acceptance criteria
-
server.rs—AcpServerstruct: dispatches incoming JSON-RPC methods to handlers -
session.rs—AcpSessionstruct: holds session state, message history, config options -
initializehandler: exchangeAgentCapabilities/ClientCapabilities, report supported features -
session/newhandler: create session, return session ID -
session/loadhandler: restore session from persisted state (SQLite via zeph-memory) -
session/prompthandler: accept user prompt, bridge to agent loop viaLoopbackChannel -
session/cancelnotification: forward cancellation toCancellationToken -
session/set_modehandler: map to agent modes if applicable - Integration with
LoopbackChannel::pair()pattern (same as A2ATaskProcessor)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acpAgent Client Protocol integrationAgent Client Protocol integrationcorefeatureNew functionalityNew functionality