/** * module: flow-engine —— 唯一出口。只做 re-export,不写逻辑(编码规范 §10.1)。 */ export type { AdvanceOutcome, FailureAction, FlowEngineService, FlowIssue, FlowModel, FlowPosition, FlowStep, NextAction, StepRuntime, StepState, } from './contract.ts'; export { FlowDeclarationInvalidError } from './contract.ts'; export type { CardGateway, Clock, FlowStateStore, IdGenerator, ListenerRegistrar, LlmStepGateway, MemoryRecorder, PredicateEvaluator, TaskContext, TaskDataGateway, ToolStepInvoker, } from './port.ts'; export type { FlowRunnerDeps } from './internal/usecase/flow-runner.ts'; export { createFlowRunner } from './internal/usecase/flow-runner.ts'; export { checkDeclaration, failureAction, initialPosition, lastStepIsAcceptance, markStep, nextAction, parallelGroupComplete, STEP_STATES, } from './internal/domain/step-sequence.ts'; export { createFlowStateStore } from './internal/adapter/flow-state-store.ts'; export { flowStateTable } from './internal/adapter/flow-state-schema.ts';