struct ACP::Protocol::ConfigOptionGroup

Overview

A group of possible values for a session configuration option. Matches the Rust SDK's SessionConfigSelectGroup. Groups allow organizing option values into logical sections (e.g., grouping models by provider). See: https://agentclientprotocol.com/protocol/session-config-options

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, name : String, options : Array(ConfigOptionValue) = [] of ConfigOptionValue, meta : Hash(String, JSON::Any) | Nil = nil) #

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

[View source]

Instance Method Detail

def id : String #

Unique identifier for this group (required). Maps to the Rust SDK's SessionConfigGroupId.


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

Unique identifier for this group (required). Maps to the Rust SDK's SessionConfigGroupId.


[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]
def name : String #

Human-readable label for this group (required).


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

Human-readable label for this group (required).


[View source]
def options : Array(ConfigOptionValue) #

The values in this group (required).


[View source]
def options=(options : Array(ConfigOptionValue)) #

The values in this group (required).


[View source]