struct ACP::Protocol::ClientInfo

Overview

Metadata about the client, sent during initialize. See: https://agentclientprotocol.com/protocol/initialization#implementation-information

Included Modules

Defined in:

acp/protocol/capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, version : String, title : String | Nil = nil) #

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

[View source]

Instance Method Detail

def name : String #

Intended for programmatic or logical use, but can be used as a display name fallback if title isn't present.


[View source]
def name=(name : String) #

Intended for programmatic or logical use, but can be used as a display name fallback if title isn't present.


[View source]
def title : String | Nil #

Intended for UI and end-user contexts — optimized to be human-readable. If not provided, the name should be used for display.


[View source]
def title=(title : String | Nil) #

Intended for UI and end-user contexts — optimized to be human-readable. If not provided, the name should be used for display.


[View source]
def version : String #

Version of the implementation.


[View source]
def version=(version : String) #

Version of the implementation.


[View source]