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

Copy Markdown View Source

Semantic category for a session configuration option. (Unstable)

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

Summary

Functions

Total (always succeeds): any unrecognized wire string maps to :other, by design — this is a genuinely forward-compat field, not a defect fix. Still returns {:ok, _} for a uniform decode contract with the rest of this module.

Types

t()

@type t() :: :mode | :model | :thought_level | :other

Functions

from_json(arg1)

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

Total (always succeeds): any unrecognized wire string maps to :other, by design — this is a genuinely forward-compat field, not a defect fix. Still returns {:ok, _} for a uniform decode contract with the rest of this module.

to_json(atom)

@spec to_json(t()) :: String.t()