Permission Picker
How much the agent may do without asking, from Ask to Bypass.
Interaction Type
Open the menu to pick a mode. The trigger shows the selected icon. Arrow keys move, Enter picks. Bypass is shown in red.
Props
Options for the assembled component.
Prop
Type
Description
value*
PermissionMode
onChange*
(next: PermissionMode) => void
Called when a mode is picked.
modes
PermissionMode[]
Modes to offer. Defaults to all four.
disabled
boolean
Parts
PermissionPickercomposer/parts/permission-picker.tsx
Trigger chip and a radio menu.
Menucomponents/ui/base/menu.tsx
Base UI Menu with radio items.
Source
Ported from the agent-builder prompt composer, popups rebuilt on Base UI.