Raxol. AgentClientProtocol. Schema. AvailableCommandsUpdate
(Raxol Agent Client Protocol v0.1.0)
Copy Markdown
View Source
Payload for the SessionUpdate available_commands_update variant: the
set of commands the agent can execute has changed. available_commands
is decode-lenient, matching the oracle schema's
x-deserialize-default-on-error + x-deserialize-skip-invalid-items: a
missing/wrong-typed list defaults to [], and items that individually
fail to decode are skipped rather than aborting the whole update.
Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.
Summary
Functions
Total: never raises, even for a non-map argument -- matches Plan.from_json/1's leniency.
Types
@type t() :: %Raxol.AgentClientProtocol.Schema.AvailableCommandsUpdate{ _meta: map(), available_commands: [Raxol.AgentClientProtocol.Schema.AvailableCommand.t()] }