Skip to content
Français

RecipeResumeOptions

import type { RecipeResumeOptions } from "@elie-laloum/outpost/recipes";
  • workspaceRecoveryOptional
    Readonly<Record<string, FileWorkspaceRecoveryAuthorization>> | undefined
    Explicit recovery authorizations keyed by shared workspace or task key; checkpoint replay authorization remains separate.
  • runIdRequired
    string
    Existing checkpoint run ID; a missing run is refused without allocating a workspace.
  • retryIncompleteOptional
    boolean | undefined
    Explicitly authorize the native scheduler to retry incomplete tasks; completed tasks and cumulative usage remain persisted.
  • answersOptional
    readonly WorkflowAnswer[] | undefined
    Native answers to pending dialogue requests, including the execution, task, request and authorized actor.
  • decisionsOptional
    readonly WorkflowDecision[] | undefined
    Native gate decisions with trusted actor metadata and any required signature proof; verified by the workflow engine.
  • recoverRevisionOptional
    string | undefined
    Explicitly recover checkpoint ownership at this exact storage revision after stopping its previous coordinator; does not recover workspace locks or authorize replay.
  • inputsOptional
    Readonly<Record<string, WorkflowJson>> | undefined
    Optional original input values; omitted values reload from the checkpoint and changed values reject resume.
  • signalOptional
    AbortSignal | undefined
    Cancel this invocation while awaiting owned-resource cleanup.
  • reportOptional
    "json" | undefined
    Explicitly replace configured final reports with one JSON report on stdout; does not enable observation.
export interface RecipeResumeOptions extends RecipeRunOptions {
  readonly workspaceRecovery?: Readonly<
    Record<string, FileWorkspaceRecoveryAuthorization>
  >;
  readonly runId: string;
  readonly retryIncomplete?: boolean;
  readonly answers?: readonly WorkflowAnswer[];
  readonly decisions?: readonly WorkflowDecision[];
  readonly recoverRevision?: string;
}