Raxol. AgentClientProtocol. Schema. ClientTypes. RequestPermissionOutcome
(Raxol Agent Client Protocol v0.1.0)
Copy Markdown
View Source
The outcome of a permission request: either the prompt turn was cancelled
before the user responded, or the user selected one of the offered
options. Tagged by the outcome discriminator field on the wire (not a
struct in its own right -- see SelectedPermissionOutcome for the
_meta-carrying payload of the :selected variant).
Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.
Summary
Functions
Total: never raises. Missing/unrecognized outcome discriminator is the only failure mode.
Types
@type t() :: :cancelled | {:selected, Raxol.AgentClientProtocol.Schema.ClientTypes.SelectedPermissionOutcome.t()}