colmugx/acp/agent/message does not have a README file
pub(all) suberror AgentMessageError {
InvalidParams(method_name~ : String, cause~ : ProtocolDecodeError)
UnknownMethod(method_name~ : String)
WrongDirection(method_name~ : String)
WrongKind(method_name~ : String)
} derive(Eq, Debug)pub(all) enum AgentNotification {
SessionCancel(CancelParams)
CancelRequest(RequestId)
} derive(Eq, Debug)pub(all) enum AgentRequest {
Initialize(InitializeParams)
Authenticate(AuthenticateParams)
Logout(LogoutParams)
SessionNew(NewSessionParams)
SessionLoad(LoadSessionParams)
SessionResume(ResumeSessionParams)
SessionFork(ForkSessionParams)
SessionList(ListSessionsParams)
SessionDelete(DeleteSessionParams)
SessionClose(CloseSessionParams)
SessionSetMode(SetSessionModeParams)
SessionSetConfigOption(SetSessionConfigOptionParams)
SessionPrompt(PromptParams)
} derive(Eq, Debug)fn decode_agent_notification(method_name : String, params : Json?) -> AgentNotification raise AgentMessageErrorfn decode_agent_request(method_name : String, params : Json?) -> AgentRequest raise AgentMessageErrorInstall
Download zipType-safe Agent Client Protocol (ACP) SDK for MoonBit.
Dependencies