providerplaneai
    Preparing search index...

    Runtime bundle returned by createWorkflowRuntime.

    interface WorkflowRuntime {
        client: AIClient;
        jobManager: JobManager;
        runner: WorkflowRunner;
        shouldResumeWorkflow: (workflowId: string) => boolean;
    }
    Index

    Properties

    client: AIClient

    AI client wired to the runtime's JobManager.

    jobManager: JobManager

    Job manager used for queued execution and optional job persistence.

    Workflow runner wired to the runtime's JobManager, AIClient, hooks, and persistence callbacks.

    shouldResumeWorkflow: (workflowId: string) => boolean

    Helper policy function for deciding whether a workflow id should resume from persisted state.