struct
ACP::Protocol::ClientCapabilities
- ACP::Protocol::ClientCapabilities
- Struct
- Value
- Object
Overview
The full set of capabilities the client advertises to the agent
during the initialize handshake.
See: https://agentclientprotocol.com/protocol/initialization#client-capabilities
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/capabilities.crConstructors
- .new(pull : JSON::PullParser)
- .new(fs : FsCapabilities | Nil = nil, terminal : Bool = false, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#fs : FsCapabilities | Nil
File-system access capabilities.
-
#fs=(fs : FsCapabilities | Nil)
File-system access capabilities.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata for custom capabilities.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata for custom capabilities.
-
#terminal : Bool
Whether the client supports all
terminal/*methods. -
#terminal=(terminal : Bool)
Whether the client supports all
terminal/*methods.
Constructor Detail
def self.new(fs : FsCapabilities | Nil = nil, terminal : Bool = false, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def terminal : Bool
#
Whether the client supports all terminal/* methods.
Serialized as a plain bool in the protocol.
def terminal=(terminal : Bool)
#
Whether the client supports all terminal/* methods.
Serialized as a plain bool in the protocol.