n8n/packages/@n8n/instance-ai/src/workflow-loop/index.ts
Albert Alises 22f2e34fe6
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.x) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.14.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (25.x) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Sync API Docs / sync-public-api (push) Waiting to run
fix(core): Stop workflow builder after terminal remediation (#30289)
2026-05-12 13:53:18 +00:00

59 lines
1.4 KiB
TypeScript

export {
workflowLoopPhaseSchema,
workflowLoopStatusSchema,
workflowLoopSourceSchema,
remediationCategorySchema,
remediationMetadataSchema,
workflowLoopStateSchema,
attemptActionSchema,
attemptResultSchema,
attemptRecordSchema,
triggerTypeSchema,
workflowVerificationReadinessSchema,
workflowSetupRequirementSchema,
workflowBuildOutcomeSchema,
verificationVerdictSchema,
verificationResultSchema,
} from './workflow-loop-state';
export type {
WorkflowLoopPhase,
WorkflowLoopStatus,
WorkflowLoopSource,
RemediationCategory,
RemediationMetadata,
WorkflowLoopState,
AttemptAction,
AttemptResult,
AttemptRecord,
TriggerType,
WorkflowVerificationEvidence,
WorkflowVerificationReadiness,
WorkflowSetupRequirement,
WorkflowBuildOutcome,
VerificationVerdict,
VerificationResult,
WorkflowLoopAction,
} from './workflow-loop-state';
export {
createWorkItem,
handleBuildOutcome,
handleVerificationVerdict,
formatAttemptHistory,
} from './workflow-loop-controller';
export { formatWorkflowLoopGuidance } from './guidance';
export { WorkflowTaskCoordinator } from './workflow-task-service';
export {
MAX_POST_SUBMIT_REMEDIATION_SUBMITS,
MAX_PRE_SAVE_SUBMIT_FAILURES,
createRemediation,
remainingPostSubmitRemediations,
terminalRemediationFromState,
} from './remediation';
export {
createTerminalRemediationGuard,
type TerminalRemediationGuard,
} from './terminal-remediation-guard';