Skip to content

claude-code-driver / PermissionRequest

Interface: PermissionRequest ​

Defined in: api/public-types.ts:33

Properties ​

PropertyModifierTypeDescriptionDefined in
backgroundreadonlyboolean-api/public-types.ts:43
deadlineAtreadonlynumberWall-clock epoch ms after which the configured onTimeout applies.api/public-types.ts:47
keyreadonlyPermissionKey-api/public-types.ts:34
needsreadonly"planApproval" | "decision" | "answers"-api/public-types.ts:39
requestedAtreadonlynumberWall-clock epoch ms.api/public-types.ts:45
signalreadonlyAbortSignalAborted when the request is no longer answerable (Claude withdrew it, the TUI answered, the session closed).api/public-types.ts:49
subagentKey?readonlySubagentKey-api/public-types.ts:42
suggestionsreadonlyreadonly unknown[]-api/public-types.ts:38
toolInputreadonlyunknownPermanently unknown (P-API-18): narrowing it later would be a breaking change.api/public-types.ts:37
toolKey?readonlyToolKey-api/public-types.ts:41
toolNamereadonlystring-api/public-types.ts:35
turnKey?readonlyTurnKey-api/public-types.ts:40

Released under the MIT License. Not affiliated with Anthropic.