module ACP::Protocol::AgentMethod

Defined in:

acp/protocol/client_methods.cr

Constant Summary

AUTHENTICATE = "authenticate"
INITIALIZE = "initialize"

Connection lifecycle.

SESSION_CANCEL = "session/cancel"
SESSION_LIST = "session/list"
SESSION_LOAD = "session/load"
SESSION_NEW = "session/new"

Session management.

SESSION_PROMPT = "session/prompt"
SESSION_SET_CONFIG_OPTION = "session/set_config_option"
SESSION_SET_MODE = "session/set_mode"
SESSION_UPDATE = "session/update"

Session update notification (agent → client).

Class Method Summary

Class Method Detail

def self.known?(method : String) : Bool #

Returns true if the given method name is a known agent method.


[View source]
def self.session_method?(method : String) : Bool #

Returns true if the given method name is a session method.


[View source]