struct ACP::Protocol::FsCapabilities

Overview

File-system capabilities the client can provide to the agent. See: https://agentclientprotocol.com/protocol/file-system

Included Modules

Defined in:

acp/protocol/capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(read_text_file : Bool = false, write_text_file : Bool = false) #

[View source]

Instance Method Detail

def read_text_file : Bool #

Whether the client can read text files on behalf of the agent. Enables the fs/read_text_file method.


[View source]
def read_text_file=(read_text_file : Bool) #

Whether the client can read text files on behalf of the agent. Enables the fs/read_text_file method.


[View source]
def write_text_file : Bool #

Whether the client can write text files on behalf of the agent. Enables the fs/write_text_file method.


[View source]
def write_text_file=(write_text_file : Bool) #

Whether the client can write text files on behalf of the agent. Enables the fs/write_text_file method.


[View source]