SessionConfigOptionCategory class final

Semantic category for a session configuration option.

This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons, placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown categories gracefully.

Category names beginning with _ are free for custom use, like other ACP extension methods.

Implemented types

Constructors

SessionConfigOptionCategory(String value)
Validates and creates a SessionConfigOptionCategory value.
factory
SessionConfigOptionCategory.fromJson(Object? json)
Decodes a wire string.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The exact wire string.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAcpJson() AcpJsonString
Converts this protocol value to its immutable JSON representation.
override
toJson() String
Encodes the wire string.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

mode → const SessionConfigOptionCategory
The mode schema value.
model → const SessionConfigOptionCategory
The model schema value.
modelConfig → const SessionConfigOptionCategory
The model_config schema value.
thoughtLevel → const SessionConfigOptionCategory
The thought_level schema value.