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

Copy Markdown View Source

Type-specific session configuration option payload: a tagged union by the wire "type" field. Currently only :select is defined by the spec. (Unstable)

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

Summary

Functions

Total: never raises. An unrecognized "type" (upstream had no catch-all here) or a missing "type" key returns {:error, _}.

Types

Functions

from_json(map)

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

Total: never raises. An unrecognized "type" (upstream had no catch-all here) or a missing "type" key returns {:error, _}.

to_json(arg)

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