Skip to content

ACP_PERMISSION_OPTIONS

const ACP_PERMISSION_OPTIONS: readonly PermissionOption[]

Defined in: packages/agent/src/modules/acp/acpPermissions.ts:72

The four answers offered on every permission request, one per ACP PermissionOptionKind.

The set is fixed rather than computed from what the gate would accept, because a menu that appears and disappears per call is a menu a user cannot learn. What each one MEANS is in decisionForOutcome; the labels say it in words, since a bare kind hint does not tell anyone what “always” persists to.

Both dialects offer this same menu, so it is typed against v1’s PermissionOption — the stricter of the two, since v2 widens PermissionOptionKind with a catch-all. A value valid for v1 is valid for v2; the reverse would not compile, which is the point of choosing this direction.