Raxol.AgentClientProtocol.Schema.Unstable.SessionConfigSelectOptions (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Possible values for a select-kind session configuration option: an untagged union of either a flat list of options ({:ungrouped, [...]}) or a list of groups ({:grouped, [...]}), distinguished on decode by whether the first list element has a "group" key. (Unstable)

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Functions

Total: never raises. Non-list input returns {:error, _}.

Types

Functions

from_json(list)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

Total: never raises. Non-list input returns {:error, _}.

to_json(arg)

@spec to_json(t()) :: [map()]