Abstract
agent_permission_request is the permission component already emitted by Relay’s coding-agent integrations. Relay validates the shared component fields, preserves integration-owned top-level fields, and never rewrites the option origins.
Preview
TODO: add the real iOS lane capture from
/tmp/relay-component-agent-permission-request.png. This slot intentionally has no fabricated screenshot.Wire example
Schema table
Each option uses
id, label, optional style, and a required origin object. Permission options cannot combine an origin with a link-out URL.
Examples per state
Constraints
iOS rendering notes
Render withComponentConfirm machinery while preserving the integration’s allow and deny labels. On tap, echo the chosen option’s origin object verbatim instead of constructing data_action.