Skip to main content

ApprovalResumeOutcome

@forge/monorepo


@forge/monorepo / backend/src / ApprovalResumeOutcome

Type Alias: ApprovalResumeOutcome

ApprovalResumeOutcome = { outcome: "none"; } | { approval: PendingApproval; outcome: "executed"; result: ToolResult; } | { approval: PendingApproval; outcome: "denied"; } | { approval: PendingApproval; outcome: "expired"; }

Defined in: backend/src/hitl/approved-execution.ts:73

Union Members

Type Literal

{ outcome: "none"; }

Nothing to resume: no decision yet, or the decision was already acted on.


Type Literal

{ approval: PendingApproval; outcome: "executed"; result: ToolResult; }


Type Literal

{ approval: PendingApproval; outcome: "denied"; }


Type Literal

{ approval: PendingApproval; outcome: "expired"; }

Decided too late to act on. Claimed all the same, so the run does not loop on it.