struct ACP::Protocol::AvailableCommandsUpdate

Overview

Notification that available slash commands have changed. See: https://agentclientprotocol.com/protocol/slash-commands

Included Modules

Defined in:

acp/protocol/updates.cr

Constructors

Instance Method Summary

Instance methods inherited from struct ACP::Protocol::SessionUpdate

session_update : String session_update, session_update=(session_update : String) session_update=, type : String type

Constructor methods inherited from struct ACP::Protocol::SessionUpdate

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(available_commands : Array(AvailableCommand) = [] of AvailableCommand, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

Notification that available slash commands have changed. See: https://agentclientprotocol.com/protocol/slash-commands


[View source]

Instance Method Detail

def available_commands : Array(AvailableCommand) #

The commands the agent can execute.


[View source]
def available_commands=(available_commands : Array(AvailableCommand)) #

The commands the agent can execute.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]