@codemation/core 0.11.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/{CostCatalogContract-DZgcUBE4.d.cts → CostCatalogContract-Dxq1BTyi.d.cts} +2 -2
- package/dist/{EngineRuntimeRegistration.types-Cggm5GVY.d.cts → EngineRuntimeRegistration.types-CqcTWexS.d.cts} +3 -3
- package/dist/{EngineRuntimeRegistration.types-BQbS9_gs.d.ts → EngineRuntimeRegistration.types-Cr75cSfL.d.ts} +2 -2
- package/dist/InMemoryRunDataFactory-Csy2evr_.d.cts +205 -0
- package/dist/{ItemsInputNormalizer-CwdOhSAK.cjs → ItemsInputNormalizer-57EdA1ad.cjs} +2 -2
- package/dist/{ItemsInputNormalizer-CwdOhSAK.cjs.map → ItemsInputNormalizer-57EdA1ad.cjs.map} +1 -1
- package/dist/{ItemsInputNormalizer-_Mfcd3YU.d.ts → ItemsInputNormalizer-BWtlwdVI.d.ts} +2 -2
- package/dist/{ItemsInputNormalizer-D-MH8MBs.js → ItemsInputNormalizer-BkSvmfAW.js} +2 -2
- package/dist/{ItemsInputNormalizer-D-MH8MBs.js.map → ItemsInputNormalizer-BkSvmfAW.js.map} +1 -1
- package/dist/{ItemsInputNormalizer-C_dpn76M.d.cts → ItemsInputNormalizer-pLrWwUAP.d.cts} +3 -3
- package/dist/{RunIntentService-CEF-sFfI.d.cts → RunIntentService-BitgkKaT.d.cts} +18 -4
- package/dist/{RunIntentService-BVur7x9n.d.ts → RunIntentService-DYpqfu6D.d.ts} +18 -4
- package/dist/{agentMcpTypes-ZiNbNsEi.d.cts → agentMcpTypes-DGIwk6Ue.d.cts} +201 -4
- package/dist/bootstrap/index.cjs +3 -3
- package/dist/bootstrap/index.d.cts +63 -7
- package/dist/bootstrap/index.d.ts +5 -5
- package/dist/bootstrap/index.js +3 -3
- package/dist/{bootstrap-BxuTFTLB.cjs → bootstrap-BEu1fJBM.cjs} +175 -4
- package/dist/bootstrap-BEu1fJBM.cjs.map +1 -0
- package/dist/{bootstrap-D_Yyi0wL.js → bootstrap-CSeInbj1.js} +173 -4
- package/dist/bootstrap-CSeInbj1.js.map +1 -0
- package/dist/browser.cjs +4 -2
- package/dist/browser.d.cts +4 -4
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +3 -3
- package/dist/contracts.d.cts +5 -5
- package/dist/contracts.d.ts +2 -2
- package/dist/{di-BlEKdoZS.cjs → di-C-2ep8NZ.cjs} +44 -1
- package/dist/di-C-2ep8NZ.cjs.map +1 -0
- package/dist/{di-0Wop7z1y.js → di-D9Mv3kF3.js} +33 -2
- package/dist/di-D9Mv3kF3.js.map +1 -0
- package/dist/{executionPersistenceContracts-BgZMRsTa.d.cts → executionPersistenceContracts-CN9d7AnL.d.cts} +2 -2
- package/dist/{index-62Ba9f7D.d.ts → index-CqZeNGAp.d.ts} +343 -101
- package/dist/{index-zWGtEhrf.d.ts → index-rllWL4r-.d.ts} +459 -5
- package/dist/index.cjs +91 -161
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +458 -97
- package/dist/index.d.ts +5 -5
- package/dist/index.js +74 -159
- package/dist/index.js.map +1 -1
- package/dist/{params-B5SENSzZ.d.cts → params-DRUr0F5v.d.cts} +2 -2
- package/dist/{runtime-cxmUkk0l.js → runtime-6-U2Cou5.js} +690 -18
- package/dist/runtime-6-U2Cou5.js.map +1 -0
- package/dist/{runtime-DBzq5YBi.cjs → runtime-DjYXgOo0.cjs} +749 -17
- package/dist/runtime-DjYXgOo0.cjs.map +1 -0
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.cts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +3 -3
- package/package.json +1 -1
- package/src/authoring/defineHumanApprovalNode.types.ts +379 -0
- package/src/authoring/index.ts +6 -0
- package/src/binaries/DefaultExecutionBinaryServiceFactory.ts +27 -2
- package/src/binaries/DefaultNodeBinaryAttachmentServiceFactory.ts +14 -0
- package/src/binaries/boundedReadBinary.types.ts +90 -0
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +29 -0
- package/src/contracts/CodemationTelemetryAttributeNames.ts +10 -0
- package/src/contracts/credentialTypes.ts +10 -0
- package/src/contracts/hitlSeamTypes.ts +34 -0
- package/src/contracts/humanTaskStoreTypes.ts +48 -0
- package/src/contracts/inboxChannelTypes.ts +58 -0
- package/src/contracts/index.ts +3 -0
- package/src/contracts/runTypes.ts +61 -3
- package/src/contracts/runtimeTypes.ts +131 -0
- package/src/contracts/workspaceFileTypes.ts +73 -0
- package/src/credentials/CredentialMaterialProvider.types.ts +61 -0
- package/src/credentials/ManagedCredentialMaterialWriteError.ts +14 -0
- package/src/credentials/ManagedMaterialFetchError.ts +16 -0
- package/src/execution/ActivationEnqueueService.ts +16 -0
- package/src/execution/DefaultExecutionContextFactory.ts +11 -0
- package/src/execution/NodeExecutionSnapshotFactory.ts +7 -1
- package/src/execution/NodeExecutor.ts +60 -1
- package/src/execution/NodeExecutorFactory.ts +12 -2
- package/src/execution/NodeSuspensionHandler.ts +220 -0
- package/src/execution/PersistedRunStateTerminalBuilder.ts +5 -2
- package/src/execution/RunStateSemantics.ts +5 -0
- package/src/execution/RunSuspendedError.ts +21 -0
- package/src/index.ts +42 -0
- package/src/orchestration/Engine.ts +12 -2
- package/src/orchestration/EngineWaiters.ts +1 -1
- package/src/orchestration/NodeExecutionRequestHandlerService.ts +25 -2
- package/src/orchestration/RunContinuationService.ts +226 -2
- package/src/orchestration/TestSuiteOrchestrator.ts +5 -4
- package/src/runtime/RunIntentService.ts +3 -0
- package/src/workflow/dsl/ChainCursorResolver.ts +36 -0
- package/dist/InMemoryRunDataFactory-C7YItvHG.d.cts +0 -123
- package/dist/bootstrap-BxuTFTLB.cjs.map +0 -1
- package/dist/bootstrap-D_Yyi0wL.js.map +0 -1
- package/dist/di-0Wop7z1y.js.map +0 -1
- package/dist/di-BlEKdoZS.cjs.map +0 -1
- package/dist/runtime-DBzq5YBi.cjs.map +0 -1
- package/dist/runtime-cxmUkk0l.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bootstrap-CSeInbj1.js","names":["out: RunPruneCandidate[]","engine: TestSuiteOrchestratorEngine","testSuiteRunIdFactory: TestSuiteRunIdFactory","credentialResolverFactory: CredentialResolverFactory","abortControllerFactory: AbortControllerFactory","eventBus: RunEventBus | undefined","currentDate: () => Date","setupContext: TestTriggerSetupContext","cases: TestSuiteCaseOutcome[]","waitForSlot: Promise<void> | undefined","releaseSlot: (() => void) | undefined","queue: Array<Promise<void>>","generationError: Error | undefined","status: TestSuiteRunStatus","executionOptions: RunExecutionOptions","terminal: Extract<RunResult, { status: \"completed\" | \"failed\" | \"halted\" }>","status: TestCaseRunStatus","workflowExecutionRepository: WorkflowExecutionRepository","humanTaskStore?: HumanTaskStore","tokenSigner?: HitlResumeTokenSignerSeam","timeoutScheduler?: HitlTimeoutJobSchedulerSeam","workspaceId?: string","handle: HumanTaskHandle","deliveryRef: Awaited<ReturnType<typeof deliver>>","record: HumanTaskRecord","entry: PersistedSuspensionEntry","updatedState: PersistedRunState"],"sources":["../src/policies/executionLimits/EngineExecutionLimitsPolicyFactory.ts","../src/runStorage/RunSummaryMapper.ts","../src/runStorage/InMemoryWorkflowExecutionRepository.ts","../src/orchestration/AbortControllerFactory.ts","../src/orchestration/TestSuiteOrchestrator.ts","../src/orchestration/TestSuiteRunIdFactory.ts","../src/execution/NodeSuspensionHandler.ts","../src/scheduler/InlineDrivingSchedulerFactory.ts","../src/bootstrap/runtime/EngineRuntimeRegistrar.ts"],"sourcesContent":["import {\n EngineExecutionLimitsPolicy,\n ENGINE_EXECUTION_LIMITS_DEFAULTS,\n type EngineExecutionLimitsPolicyConfig,\n} from \"./EngineExecutionLimitsPolicy\";\n\n/**\n * Builds {@link EngineExecutionLimitsPolicy} by merging {@link ENGINE_EXECUTION_LIMITS_DEFAULTS} with optional `overrides` (e.g. host `runtime.engineExecutionLimits`).\n */\nexport class EngineExecutionLimitsPolicyFactory {\n create(overrides?: Partial<EngineExecutionLimitsPolicyConfig>): EngineExecutionLimitsPolicy {\n return new EngineExecutionLimitsPolicy({ ...ENGINE_EXECUTION_LIMITS_DEFAULTS, ...overrides });\n }\n}\n","import { RunFinishedAtFactory } from \"../contracts/runFinishedAtFactory\";\nimport type { PersistedRunState, RunSummary } from \"../types\";\n\n/** Maps persisted run state to API run summaries for listings. */\nexport class RunSummaryMapper {\n static fromPersistedState(state: PersistedRunState): RunSummary {\n return {\n runId: state.runId,\n workflowId: state.workflowId,\n startedAt: state.startedAt,\n status: state.status,\n finishedAt: RunFinishedAtFactory.resolveIso(state),\n parent: state.parent,\n executionOptions: state.executionOptions,\n };\n }\n}\n","import type {\n EngineRunCounters,\n NodeId,\n NodeOutputs,\n ParentExecutionRef,\n PersistedRunSchedulingState,\n PersistedRunState,\n RunId,\n RunSummary,\n WorkflowExecutionListingRepository,\n WorkflowExecutionPruneRepository,\n WorkflowExecutionRepository,\n RunPruneCandidate,\n WorkflowId,\n} from \"../types\";\nimport { RunFinishedAtFactory } from \"../contracts/runFinishedAtFactory\";\nimport { RunSummaryMapper } from \"./RunSummaryMapper\";\n\nexport class InMemoryWorkflowExecutionRepository\n implements WorkflowExecutionRepository, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository\n{\n private readonly runs = new Map<RunId, PersistedRunState>();\n\n async createRun(args: {\n runId: RunId;\n workflowId: WorkflowId;\n startedAt: string;\n parent?: ParentExecutionRef;\n executionOptions?: PersistedRunState[\"executionOptions\"];\n control?: PersistedRunState[\"control\"];\n workflowSnapshot?: PersistedRunState[\"workflowSnapshot\"];\n mutableState?: PersistedRunState[\"mutableState\"];\n policySnapshot?: PersistedRunState[\"policySnapshot\"];\n engineCounters?: EngineRunCounters;\n }): Promise<void> {\n this.runs.set(args.runId, {\n runId: args.runId,\n workflowId: args.workflowId,\n startedAt: args.startedAt,\n revision: 0,\n parent: args.parent,\n executionOptions: args.executionOptions,\n control: args.control,\n workflowSnapshot: args.workflowSnapshot,\n mutableState: args.mutableState,\n policySnapshot: args.policySnapshot,\n engineCounters: args.engineCounters,\n status: \"running\",\n queue: [],\n outputsByNode: {} as Record<NodeId, NodeOutputs>,\n nodeSnapshotsByNodeId: {},\n connectionInvocations: [],\n });\n }\n\n async load(runId: RunId): Promise<PersistedRunState | undefined> {\n return this.runs.get(runId);\n }\n\n async loadSchedulingState(runId: RunId): Promise<PersistedRunSchedulingState | undefined> {\n const state = this.runs.get(runId);\n if (!state) {\n return undefined;\n }\n return {\n pending: state.pending ? { ...state.pending } : undefined,\n queue: state.queue.map((entry) => ({ ...entry })),\n };\n }\n\n async save(state: PersistedRunState): Promise<void> {\n this.runs.set(state.runId, { ...state, revision: (state.revision ?? 0) + 1 });\n }\n\n async deleteRun(runId: RunId): Promise<void> {\n this.runs.delete(runId);\n }\n\n async listRuns(args?: Readonly<{ workflowId?: WorkflowId; limit?: number }>): Promise<ReadonlyArray<RunSummary>> {\n const limit = args?.limit ?? 50;\n const summaries = [...this.runs.values()]\n .filter((s) => (args?.workflowId ? s.workflowId === args.workflowId : true))\n .sort((a, b) => b.startedAt.localeCompare(a.startedAt))\n .slice(0, limit)\n .map((s) => RunSummaryMapper.fromPersistedState(s));\n return summaries;\n }\n\n async listRunsOlderThan(\n args: Readonly<{ nowIso: string; defaultRetentionSeconds: number; limit?: number }>,\n ): Promise<ReadonlyArray<RunPruneCandidate>> {\n const limit = args.limit ?? 100;\n const out: RunPruneCandidate[] = [];\n for (const s of this.runs.values()) {\n if (s.status !== \"completed\" && s.status !== \"failed\") continue;\n const finishedAt = RunFinishedAtFactory.resolveIso(s);\n const retentionSeconds = s.policySnapshot?.retentionSeconds ?? args.defaultRetentionSeconds;\n const cutoffIso = new Date(new Date(args.nowIso).getTime() - retentionSeconds * 1000).toISOString();\n if (!finishedAt || finishedAt >= cutoffIso) continue;\n out.push({\n runId: s.runId,\n workflowId: s.workflowId,\n startedAt: s.startedAt,\n finishedAt,\n });\n }\n out.sort((a, b) => a.finishedAt.localeCompare(b.finishedAt));\n return out.slice(0, limit);\n }\n}\n","/**\n * Mints fresh {@link AbortController}s. Injected (rather than direct `new`) to honor the\n * codebase's no-direct-construction rule and to give tests a seam for substituting a fake.\n */\nexport class AbortControllerFactory {\n create(): AbortController {\n return new AbortController();\n }\n}\n","import type { CredentialResolverFactory } from \"../execution/CredentialResolverFactory\";\nimport type { RunEventBus, TestCaseRunStatus, TestSuiteRunStatus } from \"../events/runEvents\";\nimport type {\n Item,\n Items,\n NodeId,\n ParentExecutionRef,\n RunExecutionOptions,\n RunId,\n RunResult,\n TestSuiteRunId,\n TestTriggerNodeConfig,\n TestTriggerSetupContext,\n TriggerNodeConfig,\n WorkflowDefinition,\n WorkflowId,\n} from \"../types\";\n\nimport type { AbortControllerFactory } from \"./AbortControllerFactory\";\nimport { TestSuiteRunIdFactory } from \"./TestSuiteRunIdFactory\";\n\nconst DEFAULT_CONCURRENCY = 4;\n\n/**\n * Engine-facade subset the orchestrator needs. Kept narrow on purpose so unit tests can\n * substitute a fake without depending on the full Engine wiring.\n */\nexport interface TestSuiteOrchestratorEngine {\n runWorkflow(\n wf: WorkflowDefinition,\n startAt: NodeId,\n items: Items,\n parent?: ParentExecutionRef,\n executionOptions?: RunExecutionOptions,\n ): Promise<RunResult>;\n waitForCompletion(runId: RunId): Promise<Extract<RunResult, { status: \"completed\" | \"failed\" | \"halted\" }>>;\n}\n\nexport interface TestSuiteCaseOutcome {\n readonly testCaseIndex: number;\n readonly runId: RunId;\n readonly status: TestCaseRunStatus;\n}\n\nexport interface TestSuiteRunResult {\n readonly testSuiteRunId: TestSuiteRunId;\n readonly workflowId: WorkflowId;\n readonly triggerNodeId: NodeId;\n readonly status: TestSuiteRunStatus;\n readonly totalCases: number;\n readonly passedCases: number;\n readonly failedCases: number;\n readonly cases: ReadonlyArray<TestSuiteCaseOutcome>;\n}\n\nexport interface RunTestSuiteArgs {\n readonly workflow: WorkflowDefinition;\n readonly triggerNodeId: NodeId;\n readonly testSuiteRunId?: TestSuiteRunId;\n readonly concurrency?: number;\n readonly signal?: AbortSignal;\n}\n\n/**\n * Drives a {@link TestTriggerNodeConfig.generateItems} iterable into one workflow run per item,\n * with bounded concurrency. Pure engine logic — no persistence, no HTTP, no UI. Hosts adapt by\n * subscribing to {@link RunEventBus} and writing rows on `testSuite*` / `testCase*` / `nodeCompleted`.\n *\n * Cancellation: the supplied `AbortSignal` aborts the source iterable (so credentialed pulls bail)\n * and stops scheduling further cases. In-flight cases are awaited; engine-level cancellation of\n * an already-dispatched run is not yet wired (Phase 2).\n */\nexport class TestSuiteOrchestrator {\n constructor(\n private readonly engine: TestSuiteOrchestratorEngine,\n private readonly testSuiteRunIdFactory: TestSuiteRunIdFactory,\n private readonly credentialResolverFactory: CredentialResolverFactory,\n private readonly abortControllerFactory: AbortControllerFactory,\n private readonly eventBus: RunEventBus | undefined,\n private readonly currentDate: () => Date = () => new Date(),\n ) {}\n\n async runSuite(args: RunTestSuiteArgs): Promise<TestSuiteRunResult> {\n const triggerNodeId = args.triggerNodeId;\n const definition = args.workflow.nodes.find((n) => n.id === triggerNodeId);\n if (!definition) {\n throw new Error(`Unknown trigger nodeId: ${triggerNodeId}`);\n }\n if (definition.kind !== \"trigger\") {\n throw new Error(`Node ${triggerNodeId} is not a trigger`);\n }\n const triggerConfig = definition.config as TriggerNodeConfig;\n if (triggerConfig.triggerKind !== \"test\") {\n throw new Error(\n `Node ${triggerNodeId} is not a test trigger (triggerKind=\"${triggerConfig.triggerKind ?? \"live\"}\")`,\n );\n }\n const testTriggerConfig = triggerConfig as TestTriggerNodeConfig<unknown>;\n if (typeof testTriggerConfig.generateItems !== \"function\") {\n throw new Error(`Test trigger ${triggerNodeId} is missing a generateItems implementation`);\n }\n\n const testSuiteRunId = args.testSuiteRunId ?? this.testSuiteRunIdFactory.makeTestSuiteRunId();\n const concurrency = Math.max(1, args.concurrency ?? testTriggerConfig.concurrency ?? DEFAULT_CONCURRENCY);\n const externalSignal = args.signal;\n const internalAbort = this.abortControllerFactory.create();\n const onExternalAbort = () => internalAbort.abort(externalSignal?.reason);\n if (externalSignal) {\n if (externalSignal.aborted) {\n internalAbort.abort(externalSignal.reason);\n } else {\n externalSignal.addEventListener(\"abort\", onExternalAbort, { once: true });\n }\n }\n\n const triggerNodeName = definition.name ?? testTriggerConfig.name;\n\n await this.publish({\n kind: \"testSuiteStarted\",\n testSuiteRunId,\n workflowId: args.workflow.id,\n triggerNodeId,\n ...(triggerNodeName ? { triggerNodeName } : {}),\n concurrency,\n at: this.now(),\n });\n\n const setupContext: TestTriggerSetupContext = {\n workflowId: args.workflow.id,\n nodeId: triggerNodeId,\n config: testTriggerConfig,\n testSuiteRunId,\n getCredential: this.credentialResolverFactory.create(args.workflow.id, triggerNodeId, testTriggerConfig),\n signal: internalAbort.signal,\n };\n\n const cases: TestSuiteCaseOutcome[] = [];\n let nextIndex = 0;\n let inFlight = 0;\n let waitForSlot: Promise<void> | undefined;\n let releaseSlot: (() => void) | undefined;\n const queue: Array<Promise<void>> = [];\n let generationError: Error | undefined;\n\n const acquireSlot = async (): Promise<void> => {\n while (inFlight >= concurrency) {\n if (!waitForSlot) {\n waitForSlot = new Promise<void>((resolve) => {\n releaseSlot = resolve;\n });\n }\n await waitForSlot;\n }\n inFlight += 1;\n };\n\n const release = (): void => {\n inFlight -= 1;\n if (releaseSlot) {\n const fn = releaseSlot;\n releaseSlot = undefined;\n waitForSlot = undefined;\n fn();\n }\n };\n\n try {\n for await (const item of testTriggerConfig.generateItems(setupContext) as AsyncIterable<Item<unknown>>) {\n if (internalAbort.signal.aborted) {\n break;\n }\n await acquireSlot();\n if (internalAbort.signal.aborted) {\n release();\n break;\n }\n const testCaseIndex = nextIndex++;\n const testCaseLabel = this.resolveCaseLabel(testTriggerConfig, item);\n queue.push(\n this.runOneCase({\n workflow: args.workflow,\n triggerNodeId,\n testSuiteRunId,\n testCaseIndex,\n testCaseLabel,\n item,\n })\n .then((outcome) => {\n cases.push(outcome);\n })\n .finally(release),\n );\n }\n } catch (err) {\n generationError = err instanceof Error ? err : new Error(String(err));\n } finally {\n if (externalSignal) {\n externalSignal.removeEventListener(\"abort\", onExternalAbort);\n }\n }\n\n await Promise.all(queue);\n\n cases.sort((a, b) => a.testCaseIndex - b.testCaseIndex);\n const totalCases = cases.length;\n const passedCases = cases.filter((c) => c.status === \"succeeded\").length;\n const failedCases = cases.filter((c) => c.status === \"failed\").length;\n const status: TestSuiteRunStatus = this.deriveSuiteStatus({\n generationError,\n cancelled: internalAbort.signal.aborted,\n totalCases,\n passedCases,\n failedCases,\n });\n\n await this.publish({\n kind: \"testSuiteFinished\",\n testSuiteRunId,\n workflowId: args.workflow.id,\n status,\n totalCases,\n passedCases,\n failedCases,\n at: this.now(),\n });\n\n if (generationError && status === \"errored\") {\n throw generationError;\n }\n\n return {\n testSuiteRunId,\n workflowId: args.workflow.id,\n triggerNodeId,\n status,\n totalCases,\n passedCases,\n failedCases,\n cases,\n };\n }\n\n private async runOneCase(args: {\n workflow: WorkflowDefinition;\n triggerNodeId: NodeId;\n testSuiteRunId: TestSuiteRunId;\n testCaseIndex: number;\n testCaseLabel: string | undefined;\n item: Item<unknown>;\n }): Promise<TestSuiteCaseOutcome> {\n const executionOptions: RunExecutionOptions = {\n testContext: {\n testSuiteRunId: args.testSuiteRunId,\n testCaseIndex: args.testCaseIndex,\n ...(args.testCaseLabel !== undefined ? { testCaseLabel: args.testCaseLabel } : {}),\n },\n };\n\n const initial = await this.engine.runWorkflow(\n args.workflow,\n args.triggerNodeId,\n [args.item],\n undefined,\n executionOptions,\n );\n\n const runId = initial.runId;\n await this.publish({\n kind: \"testCaseStarted\",\n testSuiteRunId: args.testSuiteRunId,\n testCaseIndex: args.testCaseIndex,\n runId,\n workflowId: args.workflow.id,\n at: this.now(),\n ...(args.testCaseLabel !== undefined ? { testCaseLabel: args.testCaseLabel } : {}),\n });\n\n let terminal: Extract<RunResult, { status: \"completed\" | \"failed\" | \"halted\" }>;\n if (initial.status === \"completed\" || initial.status === \"failed\") {\n terminal = initial;\n } else {\n terminal = await this.engine.waitForCompletion(runId);\n }\n\n // RunResult.status from the engine narrows to \"completed\" | \"failed\" | \"halted\" here; widening to\n // \"errored\" / \"cancelled\" happens outside this code path (tracker downgrade for assertion\n // failures; outer abort handling for cancelled). Halted runs are treated as \"failed\" for\n // test case status purposes.\n const status: TestCaseRunStatus = terminal.status === \"completed\" ? \"succeeded\" : \"failed\";\n await this.publish({\n kind: \"testCaseCompleted\",\n testSuiteRunId: args.testSuiteRunId,\n testCaseIndex: args.testCaseIndex,\n runId,\n workflowId: args.workflow.id,\n status,\n at: this.now(),\n });\n return { testCaseIndex: args.testCaseIndex, runId, status };\n }\n\n private deriveSuiteStatus(args: {\n generationError: Error | undefined;\n cancelled: boolean;\n totalCases: number;\n passedCases: number;\n failedCases: number;\n }): TestSuiteRunStatus {\n if (args.generationError && args.totalCases === 0) {\n return \"errored\";\n }\n if (args.cancelled) {\n return \"cancelled\";\n }\n if (args.generationError) {\n return \"errored\";\n }\n if (args.totalCases === 0) {\n return \"succeeded\";\n }\n if (args.failedCases === 0) {\n return \"succeeded\";\n }\n if (args.passedCases === 0) {\n return \"failed\";\n }\n return \"partial\";\n }\n\n private now(): string {\n return this.currentDate().toISOString();\n }\n\n /** Defensive label resolver — author-supplied callbacks throw / return non-strings; we tolerate both. */\n private resolveCaseLabel(config: TestTriggerNodeConfig<unknown>, item: Item<unknown>): string | undefined {\n if (typeof config.caseLabel !== \"function\") return undefined;\n try {\n const result = config.caseLabel(item);\n if (typeof result !== \"string\") return undefined;\n const trimmed = result.trim();\n return trimmed.length === 0 ? undefined : trimmed;\n } catch {\n return undefined;\n }\n }\n\n private async publish(event: Parameters<RunEventBus[\"publish\"]>[0]): Promise<void> {\n if (!this.eventBus) return;\n await this.eventBus.publish(event);\n }\n}\n","import type { TestSuiteRunId } from \"../contracts/testTriggerTypes\";\n\n/**\n * Mints unique TestSuiteRun identifiers. Separated from {@link import(\"../types\").RunIdFactory}\n * so suite ids and per-case workflow run ids never alias.\n */\nexport class TestSuiteRunIdFactory {\n makeTestSuiteRunId(): TestSuiteRunId {\n return `tsr_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 10)}`;\n }\n}\n","import { createHash } from \"node:crypto\";\nimport { z } from \"zod\";\n\nimport type { HitlResumeTokenSignerSeam, HitlTimeoutJobSchedulerSeam } from \"../contracts/hitlSeamTypes\";\nimport type { HumanTaskRecord, HumanTaskStore } from \"../contracts/humanTaskStoreTypes\";\nimport type {\n HumanTaskHandle,\n NodeActivationId,\n NodeId,\n PersistedRunState,\n PersistedSuspensionEntry,\n RunId,\n SuspensionRequest,\n WorkflowExecutionRepository,\n} from \"../types\";\nimport type { TelemetryScope } from \"../contracts/telemetryTypes\";\nimport { CodemationTelemetryAttributeNames } from \"../contracts/CodemationTelemetryAttributeNames\";\n\nimport { RunSuspendedError } from \"./RunSuspendedError\";\nexport { RunSuspendedError };\n\n/**\n * Handles per-item `SuspensionRequest` catches in the engine's item execution loop.\n *\n * Responsibilities:\n * 1. Generate a `taskId` (UUID v4).\n * 2. Persist a `HumanTask` row via `HumanTaskStore.create`.\n * 3. Sign a resume URL via `HitlResumeTokenSigner.sign`.\n * 4. Enqueue a delayed BullMQ timeout job via `HitlTimeoutJobScheduler.enqueue`.\n * 5. Build a `HumanTaskHandle` and call `deliver`.\n * 6. Append a `PersistedSuspensionEntry` to the run state and flip status to `\"suspended\"`.\n * 7. Persist via `WorkflowExecutionRepository.save`.\n * 8. Throw `RunSuspendedError` so the caller can exit cleanly.\n *\n * If `deliver` throws, the error propagates up to `NodeExecutionRequestHandlerService`\n * which routes it through `resumeFromNodeError` → run status becomes `\"failed\"`.\n *\n * `humanTaskStore`, `tokenSigner`, and `timeoutScheduler` are optional —\n * when not registered (e.g. in unit tests), the handler still suspends the run but\n * skips persistence, token signing, and job scheduling.\n */\nexport class NodeSuspensionHandler {\n constructor(\n private readonly workflowExecutionRepository: WorkflowExecutionRepository,\n private readonly humanTaskStore?: HumanTaskStore,\n private readonly tokenSigner?: HitlResumeTokenSignerSeam,\n private readonly timeoutScheduler?: HitlTimeoutJobSchedulerSeam,\n /** Workspace ID to stamp on HumanTaskRecord in managed mode (T7 security fix). Null in non-managed mode. */\n private readonly workspaceId?: string,\n ) {}\n\n async handle(args: {\n runId: RunId;\n nodeId: NodeId;\n activationId: NodeActivationId;\n itemIndex: number;\n suspensionRequest: SuspensionRequest;\n state: PersistedRunState;\n /** Telemetry scope of the node's per-item span. Used to emit `hitl.task.*` span events. */\n telemetry?: TelemetryScope;\n }): Promise<never> {\n const taskId = `htask_${globalThis.crypto.randomUUID()}`;\n const { timeout, onTimeout, deliver, decisionSchema, subject, metadata } = args.suspensionRequest.request;\n\n const timeoutMs = this.parseDurationMs(timeout);\n const expiresAt = new Date(Date.now() + timeoutMs);\n\n const decisionSchemaHash = this.hashSchema(decisionSchema);\n const decisionSchemaJson = this.schemaToJson(decisionSchema);\n\n // Build resume token (when signer is available)\n let resumeUrl = \"\";\n let resumeTokenHash = \"\";\n if (this.tokenSigner) {\n const token = this.tokenSigner.sign({ taskId, expiresAt, schemaHash: decisionSchemaHash });\n resumeUrl = token; // callers (deliver) receive the raw token; inbox layers wrap into a URL\n resumeTokenHash = this.tokenSigner.hashToken(token);\n }\n\n const handle: HumanTaskHandle = {\n taskId,\n runId: args.runId,\n nodeId: args.nodeId,\n expiresAt,\n resumeUrl,\n ...(metadata !== undefined ? { metadata } : {}),\n };\n\n // Emit hitl.task.created before calling deliver.\n const channel = (metadata as Record<string, unknown> | undefined)?.[\"channel\"];\n await args.telemetry?.addSpanEvent?.({\n name: \"hitl.task.created\",\n attributes: {\n [CodemationTelemetryAttributeNames.hitlTaskId]: taskId,\n [CodemationTelemetryAttributeNames.hitlChannel]: typeof channel === \"string\" ? channel : \"unknown\",\n [CodemationTelemetryAttributeNames.runId]: args.runId,\n [CodemationTelemetryAttributeNames.nodeId]: args.nodeId,\n expiresAt: expiresAt.toISOString(),\n },\n });\n\n // D5: deliver throws → emit hitl.task.delivery_failed, then propagate upward;\n // caller routes to resumeFromNodeError → \"failed\"\n let deliveryRef: Awaited<ReturnType<typeof deliver>>;\n try {\n deliveryRef = await deliver(handle);\n } catch (deliverError) {\n await args.telemetry?.addSpanEvent?.({\n name: \"hitl.task.delivery_failed\",\n attributes: {\n [CodemationTelemetryAttributeNames.hitlTaskId]: taskId,\n [CodemationTelemetryAttributeNames.hitlChannel]: typeof channel === \"string\" ? channel : \"unknown\",\n error: deliverError instanceof Error ? deliverError.message : String(deliverError),\n },\n });\n throw deliverError;\n }\n\n // Persist HumanTask row\n if (this.humanTaskStore) {\n const record: HumanTaskRecord = {\n id: taskId,\n runId: args.runId,\n workflowId: args.state.workflowId,\n // T7: stamp workspaceId in managed mode so HitlCallbackHandler can assert workspace identity.\n // Non-managed mode leaves this undefined (null in DB) — the check in HitlCallbackHandler\n // is guarded by `task.workspaceId !== undefined` and is a no-op when null.\n workspaceId: this.workspaceId ?? undefined,\n nodeId: args.nodeId,\n activationId: args.activationId,\n itemIndex: args.itemIndex,\n status: \"pending\",\n channel: \"local\",\n subject,\n metadata: (metadata as Record<string, import(\"../contracts/workflowTypes\").JsonValue>) ?? {},\n decisionSchemaJson,\n decisionSchemaHash,\n onTimeout,\n deliveryRef,\n resumeTokenHash: resumeTokenHash || \"no-token\",\n expiresAt,\n createdAt: new Date(),\n };\n await this.humanTaskStore.create(record);\n }\n\n // Enqueue timeout job\n if (this.timeoutScheduler) {\n await this.timeoutScheduler.enqueueTimeoutJob({ taskId, expiresAt });\n }\n\n const entry: PersistedSuspensionEntry = {\n taskId,\n nodeId: args.nodeId,\n activationId: args.activationId,\n itemIndex: args.itemIndex,\n decisionSchemaHash,\n deliveryRef,\n timeoutAt: expiresAt.toISOString(),\n onTimeout,\n };\n\n const existingSuspensions = args.state.suspension ?? [];\n const updatedState: PersistedRunState = {\n ...args.state,\n status: \"suspended\",\n suspension: [...existingSuspensions, entry],\n };\n\n await this.workflowExecutionRepository.save(updatedState);\n\n throw new RunSuspendedError(args.runId, taskId);\n }\n\n /**\n * Parse a duration string into milliseconds.\n * Accepts ISO 8601 durations (\"PT24H\", \"PT30M\") and shorthand (\"24h\", \"30m\", \"1d\").\n * Throws for unrecognised formats.\n */\n private parseDurationMs(duration: string): number {\n // Shorthand: \"24h\", \"30m\", \"7d\", \"3600s\"\n const shorthand = /^(\\d+(?:\\.\\d+)?)(s|m|h|d)$/i.exec(duration);\n if (shorthand) {\n const value = parseFloat(shorthand[1]!);\n const unit = shorthand[2]!.toLowerCase();\n const multipliers: Record<string, number> = {\n s: 1_000,\n m: 60_000,\n h: 3_600_000,\n d: 86_400_000,\n };\n return value * multipliers[unit]!;\n }\n // ISO 8601 duration subset: PTnHnMnS (days handled via P1D)\n const iso = /^P(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+(?:\\.\\d+)?)S)?)?$/.exec(duration);\n if (iso) {\n const days = parseFloat(iso[1] ?? \"0\");\n const hours = parseFloat(iso[2] ?? \"0\");\n const minutes = parseFloat(iso[3] ?? \"0\");\n const seconds = parseFloat(iso[4] ?? \"0\");\n return (days * 86_400 + hours * 3_600 + minutes * 60 + seconds) * 1_000;\n }\n throw new Error(`NodeSuspensionHandler: unrecognised duration format: \"${duration}\"`);\n }\n\n private hashSchema(schema: unknown): string {\n const json = this.schemaToJson(schema);\n return createHash(\"sha256\").update(json).digest(\"hex\");\n }\n\n private schemaToJson(schema: unknown): string {\n if (schema instanceof z.ZodType) {\n return JSON.stringify(z.toJSONSchema(schema));\n }\n if (typeof (schema as { toJSON?: unknown }).toJSON === \"function\") {\n return JSON.stringify((schema as { toJSON: () => unknown }).toJSON());\n }\n return JSON.stringify(schema);\n }\n}\n","import { NodeExecutor } from \"../execution/NodeExecutor\";\n\nimport { InlineDrivingScheduler } from \"./InlineDrivingScheduler\";\n\nexport class InlineDrivingSchedulerFactory {\n create(nodeExecutor: NodeExecutor): InlineDrivingScheduler {\n return new InlineDrivingScheduler(nodeExecutor);\n }\n}\n","import { instanceCachingFactory, type DependencyContainer } from \"../../di\";\nimport { CoreTokens } from \"../../di\";\nimport { NoOpAgentMcpIntegration } from \"../../contracts/NoOpAgentMcpIntegration\";\nimport { EngineExecutionLimitsPolicyFactory } from \"../../policies/executionLimits/EngineExecutionLimitsPolicyFactory\";\nimport {\n ChildExecutionScopeFactory,\n DefaultAsyncSleeper,\n InProcessRetryRunnerFactory,\n ItemExprResolver,\n NodeExecutor,\n NodeExecutorFactory,\n NodeInstanceFactoryFactory,\n NodeOutputNormalizer,\n RunnableOutputBehaviorResolver,\n} from \"../../execution\";\nimport { NodeSuspensionHandler } from \"../../execution/NodeSuspensionHandler\";\nimport { HumanTaskStoreToken } from \"../../contracts/humanTaskStoreTypes\";\nimport {\n HitlResumeTokenSignerToken,\n HitlTimeoutJobSchedulerToken,\n HitlWorkspaceIdToken,\n} from \"../../contracts/hitlSeamTypes\";\nimport {\n EngineFactory,\n EngineWorkflowRunnerServiceFactory,\n RunIntentServiceFactory,\n RunIntentService,\n WorkflowRepositoryWebhookTriggerMatcherFactory,\n} from \"../../runtime\";\nimport { InlineDrivingScheduler } from \"../../scheduler/InlineDrivingScheduler\";\nimport { InlineDrivingSchedulerFactory } from \"../../scheduler/InlineDrivingSchedulerFactory\";\nimport { Engine } from \"../../orchestration/Engine\";\nimport type { EngineRuntimeRegistrationOptions } from \"./EngineRuntimeRegistration.types\";\nimport type { WebhookTriggerMatcherProvider } from \"./EngineRuntimeRegistration.types\";\n\n/**\n * Container-first entry: call on a host/test container **after** workflow, run, node, and credential\n * ports are registered. The registrar owns the default inline scheduler, engine binding,\n * and intent-surface wiring so hosts only override the seams they actually replace.\n */\nexport class EngineRuntimeRegistrar {\n register(container: DependencyContainer, options?: EngineRuntimeRegistrationOptions): void {\n this.registerSupportFactories(container);\n this.registerExecutionLimitsPolicy(container, options);\n this.ensureWorkflowNodeInstanceFactory(container);\n this.ensureNodeExecutor(container);\n this.registerDefaultActivationScheduler(container);\n this.registerEngine(container, options);\n this.registerIntentServices(container);\n this.registerAgentMcpIntegration(container);\n }\n\n private registerAgentMcpIntegration(container: DependencyContainer): void {\n if (container.isRegistered(CoreTokens.AgentMcpIntegration, true)) {\n return;\n }\n container.registerInstance(CoreTokens.AgentMcpIntegration, new NoOpAgentMcpIntegration());\n }\n\n private registerSupportFactories(container: DependencyContainer): void {\n if (!container.isRegistered(ItemExprResolver, true)) {\n container.registerSingleton(ItemExprResolver, ItemExprResolver);\n }\n if (!container.isRegistered(NodeOutputNormalizer, true)) {\n container.registerSingleton(NodeOutputNormalizer, NodeOutputNormalizer);\n }\n if (!container.isRegistered(RunnableOutputBehaviorResolver, true)) {\n container.registerSingleton(RunnableOutputBehaviorResolver, RunnableOutputBehaviorResolver);\n }\n if (!container.isRegistered(ChildExecutionScopeFactory, true)) {\n container.register(ChildExecutionScopeFactory, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return new ChildExecutionScopeFactory(dependencyContainer.resolve(CoreTokens.ActivationIdFactory));\n }),\n });\n }\n container.registerSingleton(EngineExecutionLimitsPolicyFactory, EngineExecutionLimitsPolicyFactory);\n container.registerSingleton(NodeInstanceFactoryFactory, NodeInstanceFactoryFactory);\n container.registerSingleton(DefaultAsyncSleeper, DefaultAsyncSleeper);\n container.registerSingleton(InProcessRetryRunnerFactory, InProcessRetryRunnerFactory);\n container.registerSingleton(NodeExecutorFactory, NodeExecutorFactory);\n container.registerSingleton(InlineDrivingSchedulerFactory, InlineDrivingSchedulerFactory);\n container.registerSingleton(RunIntentServiceFactory, RunIntentServiceFactory);\n container.registerSingleton(EngineWorkflowRunnerServiceFactory, EngineWorkflowRunnerServiceFactory);\n container.registerSingleton(\n WorkflowRepositoryWebhookTriggerMatcherFactory,\n WorkflowRepositoryWebhookTriggerMatcherFactory,\n );\n }\n\n private registerExecutionLimitsPolicy(\n container: DependencyContainer,\n options: EngineRuntimeRegistrationOptions | undefined,\n ): void {\n if (container.isRegistered(CoreTokens.EngineExecutionLimitsPolicy, true)) {\n return;\n }\n container.register(CoreTokens.EngineExecutionLimitsPolicy, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n const fromResolver = options?.resolveEngineExecutionLimits?.();\n const merged = fromResolver ?? options?.engineExecutionLimits;\n return dependencyContainer.resolve(EngineExecutionLimitsPolicyFactory).create(merged);\n }),\n });\n }\n\n private ensureWorkflowNodeInstanceFactory(container: DependencyContainer): void {\n if (container.isRegistered(CoreTokens.WorkflowNodeInstanceFactory, true)) {\n return;\n }\n container.register(CoreTokens.WorkflowNodeInstanceFactory, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return dependencyContainer\n .resolve(NodeInstanceFactoryFactory)\n .create(dependencyContainer.resolve(CoreTokens.NodeResolver));\n }),\n });\n }\n\n private ensureNodeExecutor(container: DependencyContainer): void {\n if (container.isRegistered(NodeExecutor, true)) {\n return;\n }\n container.register(NodeExecutor, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n const retryRunner = dependencyContainer\n .resolve(InProcessRetryRunnerFactory)\n .create(dependencyContainer.resolve(DefaultAsyncSleeper));\n const workflowExecutionRepository = dependencyContainer.resolve(CoreTokens.WorkflowExecutionRepository);\n const humanTaskStore = dependencyContainer.isRegistered(HumanTaskStoreToken, true)\n ? dependencyContainer.resolve(HumanTaskStoreToken)\n : undefined;\n const tokenSigner = dependencyContainer.isRegistered(HitlResumeTokenSignerToken, true)\n ? dependencyContainer.resolve(HitlResumeTokenSignerToken)\n : undefined;\n const timeoutScheduler = dependencyContainer.isRegistered(HitlTimeoutJobSchedulerToken, true)\n ? dependencyContainer.resolve(HitlTimeoutJobSchedulerToken)\n : undefined;\n const workspaceId = dependencyContainer.isRegistered(HitlWorkspaceIdToken, true)\n ? dependencyContainer.resolve(HitlWorkspaceIdToken)\n : undefined;\n const suspensionHandler = new NodeSuspensionHandler(\n workflowExecutionRepository,\n humanTaskStore ?? undefined,\n tokenSigner ?? undefined,\n timeoutScheduler ?? undefined,\n workspaceId ?? undefined,\n );\n return dependencyContainer\n .resolve(NodeExecutorFactory)\n .create(\n dependencyContainer.resolve(CoreTokens.WorkflowNodeInstanceFactory),\n retryRunner,\n dependencyContainer.resolve(RunnableOutputBehaviorResolver),\n suspensionHandler,\n (runId) => workflowExecutionRepository.load(runId),\n );\n }),\n });\n }\n\n private registerDefaultActivationScheduler(container: DependencyContainer): void {\n if (container.isRegistered(CoreTokens.NodeActivationScheduler, true)) {\n return;\n }\n container.register(InlineDrivingScheduler, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return dependencyContainer\n .resolve(InlineDrivingSchedulerFactory)\n .create(dependencyContainer.resolve(NodeExecutor));\n }),\n });\n container.register(CoreTokens.NodeActivationScheduler, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return dependencyContainer.resolve(InlineDrivingScheduler);\n }),\n });\n }\n\n private registerEngine(container: DependencyContainer, options: EngineRuntimeRegistrationOptions | undefined): void {\n container.registerSingleton(EngineFactory, EngineFactory);\n const matcherProvider = this.resolveMatcherProvider(options);\n container.register(Engine, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n const liveWorkflowRepository = dependencyContainer.resolve(CoreTokens.LiveWorkflowRepository);\n const nodeResolver = dependencyContainer.resolve(CoreTokens.NodeResolver);\n const tokenRegistryLike = dependencyContainer.resolve(CoreTokens.PersistedWorkflowTokenRegistry);\n const workflowActivationPolicy = dependencyContainer.resolve(CoreTokens.WorkflowActivationPolicy);\n const webhookTriggerMatcher = matcherProvider.createMatcher(dependencyContainer);\n const workflowNodeInstanceFactory = dependencyContainer.resolve(CoreTokens.WorkflowNodeInstanceFactory);\n const triggerRuntimeDiagnostics = options?.triggerRuntimeDiagnosticsProvider?.create(dependencyContainer);\n return dependencyContainer.resolve(EngineFactory).create({\n credentialSessions: dependencyContainer.resolve(CoreTokens.CredentialSessionService),\n liveWorkflowRepository,\n workflowRepository: dependencyContainer.resolve(CoreTokens.WorkflowRepository),\n workflowActivationPolicy,\n nodeResolver,\n triggerSetupStateRepository: dependencyContainer.resolve(CoreTokens.TriggerSetupStateRepository),\n webhookTriggerMatcher,\n runIdFactory: dependencyContainer.resolve(CoreTokens.RunIdFactory),\n activationIdFactory: dependencyContainer.resolve(CoreTokens.ActivationIdFactory),\n workflowExecutionRepository: dependencyContainer.resolve(CoreTokens.WorkflowExecutionRepository),\n activationScheduler: dependencyContainer.resolve(CoreTokens.NodeActivationScheduler),\n runDataFactory: dependencyContainer.resolve(CoreTokens.RunDataFactory),\n executionContextFactory: dependencyContainer.resolve(CoreTokens.ExecutionContextFactory),\n nodeExecutor: dependencyContainer.resolve(NodeExecutor),\n eventBus: dependencyContainer.resolve(CoreTokens.RunEventBus),\n tokenRegistry: tokenRegistryLike,\n workflowNodeInstanceFactory,\n executionLimitsPolicy: dependencyContainer.resolve(CoreTokens.EngineExecutionLimitsPolicy),\n workflowPolicyRuntimeDefaults: options?.workflowPolicyRuntimeDefaults,\n triggerRuntimeDiagnostics,\n });\n }),\n });\n }\n\n private registerIntentServices(container: DependencyContainer): void {\n container.register(RunIntentService, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return dependencyContainer\n .resolve(RunIntentServiceFactory)\n .create(dependencyContainer.resolve(Engine), dependencyContainer.resolve(CoreTokens.WorkflowRepository));\n }),\n });\n container.register(CoreTokens.WorkflowRunnerService, {\n useFactory: instanceCachingFactory((dependencyContainer) => {\n return dependencyContainer\n .resolve(EngineWorkflowRunnerServiceFactory)\n .create(dependencyContainer.resolve(Engine), dependencyContainer.resolve(CoreTokens.WorkflowRepository));\n }),\n });\n }\n\n private resolveMatcherProvider(options: EngineRuntimeRegistrationOptions | undefined): WebhookTriggerMatcherProvider {\n if (options?.webhookTriggerMatcherProvider) {\n return options.webhookTriggerMatcherProvider;\n }\n return {\n createMatcher: (container) =>\n container\n .resolve(WorkflowRepositoryWebhookTriggerMatcherFactory)\n .create(\n container.resolve(CoreTokens.WorkflowRepository),\n container.resolve(CoreTokens.WorkflowActivationP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4B;IAChG;IACA,cAAc,oBAAoB,QAAQ,WAAW,aAAa;IAClE,qBAAqB,oBAAoB,QAAQ,WAAW,oBAAoB;IAChF,6BAA6B,oBAAoB,QAAQ,WAAW,4BAA4B;IAChG,qBAAqB,oBAAoB,QAAQ,WAAW,wBAAwB;IACpF,gBAAgB,oBAAoB,QAAQ,WAAW,eAAe;IACtE,yBAAyB,oBAAoB,QAAQ,WAAW,wBAAwB;IACxF,cAAc,oBAAoB,QAAQ,aAAa;IACvD,UAAU,oBAAoB,QAAQ,WAAW,YAAY;IAC7D,eAAe;IACf;IACA,uBAAuB,oBAAoB,QAAQ,WAAW,4BAA4B;IAC1F,+BAA+B,SAAS;IACxC;IACD,CAAC;IACF,EACH,CAAC;;CAGJ,AAAQ,uBAAuB,WAAsC;AACnE,YAAU,SAAS,kBAAkB,EACnC,YAAY,wBAAwB,wBAAwB;AAC1D,UAAO,oBACJ,QAAQ,wBAAwB,CAChC,OAAO,oBAAoB,QAAQ,OAAO,EAAE,oBAAoB,QAAQ,WAAW,mBAAmB,CAAC;IAC1G,EACH,CAAC;AACF,YAAU,SAAS,WAAW,uBAAuB,EACnD,YAAY,wBAAwB,wBAAwB;AAC1D,UAAO,oBACJ,QAAQ,mCAAmC,CAC3C,OAAO,oBAAoB,QAAQ,OAAO,EAAE,oBAAoB,QAAQ,WAAW,mBAAmB,CAAC;IAC1G,EACH,CAAC;;CAGJ,AAAQ,uBAAuB,SAAsF;AACnH,MAAI,SAAS,8BACX,QAAO,QAAQ;AAEjB,SAAO,EACL,gBAAgB,cACd,UACG,QAAQ,+CAA+C,CACvD,OACC,UAAU,QAAQ,WAAW,mBAAmB,EAChD,UAAU,QAAQ,WAAW,yBAAyB,EACtD,SAAS,iCACV,EACN"}
|
package/dist/browser.cjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const require_di = require('./di-
|
|
2
|
-
const require_ItemsInputNormalizer = require('./ItemsInputNormalizer-
|
|
1
|
+
const require_di = require('./di-C-2ep8NZ.cjs');
|
|
2
|
+
const require_ItemsInputNormalizer = require('./ItemsInputNormalizer-57EdA1ad.cjs');
|
|
3
3
|
|
|
4
4
|
exports.AgentConnectionNodeCollector = require_di.AgentConnectionNodeCollector;
|
|
5
|
+
exports.BINARY_DEFAULT_MAX_BYTES = require_di.BINARY_DEFAULT_MAX_BYTES;
|
|
5
6
|
exports.ConnectionNodeIdFactory = require_di.ConnectionNodeIdFactory;
|
|
6
7
|
exports.CredentialUnboundError = require_di.CredentialUnboundError;
|
|
7
8
|
Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
@@ -12,5 +13,6 @@ Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
|
12
13
|
});
|
|
13
14
|
exports.NodeIterationIdFactory = require_di.NodeIterationIdFactory;
|
|
14
15
|
exports.RunFinishedAtFactory = require_di.RunFinishedAtFactory;
|
|
16
|
+
exports.SuspensionRequest = require_di.SuspensionRequest;
|
|
15
17
|
exports.branchRef = require_di.branchRef;
|
|
16
18
|
exports.nodeRef = require_di.nodeRef;
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import "./params-
|
|
3
|
-
import { Q as RunFinishedAtFactory, X as NodeIterationIdFactory, Z as ConnectionNodeIdFactory, a as AgentConnectionNodeRole, i as AgentConnectionNodeDescriptor, n as AgentConnectionCredentialSource, o as McpServerResolver, r as AgentConnectionNodeCollector, t as ItemsInputNormalizer, y as AgentNodeConfig } from "./ItemsInputNormalizer-
|
|
4
|
-
export { ActivationIdFactory, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, type AgentNodeConfig, AnyCredentialType, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationRecord, ConnectionNodeIdFactory, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, HttpMethod, InputPortKey, Item, ItemBinary, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, type McpServerResolver, MultiInputNode, MutableRunData, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunState, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, type RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1
|
+
import { $n as NodeActivationRequest, $t as RunnableNodeConfig, A as RunHaltReason, Ai as CredentialOAuth2ScopesFromPublicConfig, An as BinaryAttachmentCreateRequest, Ar as WorkflowSnapshotResolver, At as JsonValue, B as WorkflowExecutionListingRepository, Bi as CredentialUnboundError, Bn as ExecutableTriggerNode, Bt as NodeIterationId, C as PersistedWorkflowSnapshotNode, Ci as CredentialHealthStatus, Cn as triggerNodeOutputType, Cr as TriggerSetupStateRepository, Ct as Item, D as RunCurrentState, Di as CredentialJsonRecord, Dr as WorkflowRunnerResolver, Dt as JsonNonArray, E as RunCompletionNotifier, Ei as CredentialInstanceRecord, Er as WorkflowRepository, Et as JsonArray, F as RunStatus, Fi as CredentialSetupStatus, Fn as BinaryStorageWriteRequest, Fr as WebhookTriggerMatcher, Ft as NodeErrorHandler, Gi as InputPortKey, Gn as HumanTaskHandle, Gt as NodeSchedulerDecision, H as WorkflowExecutionRepository, Hn as ExecutionContext, Ht as NodeOffloadPolicy, I as RunStopCondition, Ii as CredentialType, In as BinaryStorageWriteResult, Ir as WebhookTriggerResolution, It as NodeErrorHandlerArgs, Ji as OutputPortKey, Jn as ItemNode, Jt as PersistedRunPolicySnapshot, Ki as NodeConnectionName, Kn as HumanTaskId, Kt as PairedItemRef, L as RunSummary, Li as CredentialTypeDefinition, Ln as Duration, Lr as WebhookTriggerRoutingDiagnostics, Lt as NodeErrorHandlerSpec, M as RunQueueEntry, Mi as CredentialSessionFactory, Mn as BinaryStorage, Mr as TriggerInstanceId, Mt as NodeActivationId, N as RunResult, Ni as CredentialSessionFactoryArgs, Nn as BinaryStorageReadResult, Nr as WebhookControlSignal, Nt as NodeConfigBase, O as RunEventPublisherDeps, Oi as CredentialMaterialSourceKind, On as RetryPolicySpec, Or as WorkflowRunnerService, Ot as JsonObject, P as RunStateResetRequest, Pi as CredentialSessionService, Pn as BinaryStorageStatResult, Pr as WebhookInvocationMatch, Pt as NodeDefinition, Qn as NodeActivationReceipt, Qt as RunIdFactory, R as RunTestContext, Ri as CredentialTypeId, Rn as EngineDeps, Rt as NodeIdRef, S as PersistedWorkflowSnapshot, Si as CredentialHealth, Sn as runnableNodeOutputType, Sr as TriggerSetupStateFor, St as ExecutionMode, T as PinnedNodeOutputsByPort, Ti as CredentialInstanceId, Tr as WorkflowNodeInstanceFactory, Tt as Items, Un as ExecutionContextFactory, Ut as NodeOutputs, V as WorkflowExecutionPruneRepository, Vi as OAuth2ProviderFromPublicConfig, Vn as ExecutionBinaryService, Vt as NodeKind, Wn as HumanTaskActor, Wt as NodeRef, Xi as WorkflowId, Xn as MultiInputNode, Xt as RunDataSnapshot, Yi as PersistedTokenId, Yn as LiveWorkflowRepository, Yt as RunDataFactory, Zn as NodeActivationContinuation, Zt as RunId, _ as PersistedMutableRunState, _i as CredentialAdvancedSectionPresentation, _n as WorkflowStoragePolicyResolver, _r as TestableTriggerNode, a as ConnectionInvocationId, an as UpstreamRefPlaceholder, ar as NodeExecutionRequestHandler, b as PersistedRunState, bi as CredentialBindingKey, bn as nodeRef, br as TriggerRuntimeDiagnostics, bt as BinaryPreviewKind, c as EngineRunCounters, cn as WorkflowErrorHandler, cr as NodeExecutor, d as NodeExecutionSnapshot, dn as WorkflowGraphFactory, dr as PollingTriggerHandle, en as RunnableNodeInputJson, er as NodeActivationRequestBase, f as NodeExecutionStatus, fn as WorkflowNodeConnection, fr as PreparedNodeActivationDispatch, g as PersistedMutableNodeState, gi as AnyCredentialType, gn as WorkflowStoragePolicyMode, gr as SuspensionRequest, h as PendingResumeEntry, hn as WorkflowStoragePolicyDecisionArgs, hr as RunnableNodeExecuteArgs, i as ConnectionInvocationAppendArgs, in as TriggerNodeSetupState, ir as NodeExecutionRequest, j as RunPruneCandidate, ji as CredentialRequirement, jn as BinaryBody, jr as HttpMethod, jt as MutableRunData, k as RunExecutionOptions, ki as CredentialOAuth2AuthDefinition, kn as BINARY_DEFAULT_MAX_BYTES, kr as WorkflowSnapshotFactory, kt as JsonPrimitive, l as ExecutionFrontierPlan, ln as WorkflowErrorHandlerSpec, lr as NodeResolver, m as PendingNodeExecution, mn as WorkflowPrunePolicySpec, mr as RunnableNode, nn as TriggerNodeConfig, nr as NodeBinaryAttachmentService, o as ConnectionInvocationRecord, on as WorkflowDefinition, or as NodeExecutionScheduler, p as NodeInputsByPort, pn as WorkflowPolicyRuntimeDefaults, pr as ResumeContext, qi as NodeId, qn as HumanTaskSubject, qt as ParentExecutionRef, rn as TriggerNodeOutputJson, rr as NodeExecutionContext, s as CurrentStateExecutionRequest, sn as WorkflowErrorContext, sr as NodeExecutionStatePublisher, tn as RunnableNodeOutputJson, tr as NodeActivationScheduler, u as NodeExecutionError, un as WorkflowGraph, ur as PersistedTriggerSetupState, v as PersistedRunControlState, vi as CredentialAuthDefinition, vn as WorkflowStoragePolicySpec, vr as TriggerCleanupHandle, vt as ActivationIdFactory, w as PersistedWorkflowTokenRegistryLike, wi as CredentialHealthTester, wn as triggerNodeSetupStateType, wr as TriggerTestItemsContext, wt as ItemBinary, x as PersistedSuspensionEntry, xi as CredentialFieldSchema, xn as runnableNodeInputType, xr as TriggerSetupContext, xt as Edge, y as PersistedRunSchedulingState, yi as CredentialBinding, yn as branchRef, yr as TriggerNode, yt as BinaryAttachment, z as WebhookRunResult, zi as CredentialTypeRegistry, zn as EngineHost, zt as NodeInspectorSummaryRow } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
|
+
import "./params-DRUr0F5v.cjs";
|
|
3
|
+
import { Q as RunFinishedAtFactory, X as NodeIterationIdFactory, Z as ConnectionNodeIdFactory, a as AgentConnectionNodeRole, i as AgentConnectionNodeDescriptor, n as AgentConnectionCredentialSource, o as McpServerResolver, r as AgentConnectionNodeCollector, t as ItemsInputNormalizer, y as AgentNodeConfig } from "./ItemsInputNormalizer-pLrWwUAP.cjs";
|
|
4
|
+
export { ActivationIdFactory, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, type AgentNodeConfig, AnyCredentialType, BINARY_DEFAULT_MAX_BYTES, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationRecord, ConnectionNodeIdFactory, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, Duration, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, HttpMethod, HumanTaskActor, HumanTaskHandle, HumanTaskId, HumanTaskSubject, InputPortKey, Item, ItemBinary, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, type McpServerResolver, MultiInputNode, MutableRunData, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PendingResumeEntry, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunState, PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, ResumeContext, type RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunFinishedAtFactory, RunHaltReason, RunId, RunIdFactory, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SuspensionRequest, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
import { a as AgentConnectionNodeRole, i as AgentConnectionNodeDescriptor, n as AgentConnectionCredentialSource, o as McpServerResolver, r as AgentConnectionNodeCollector, t as ItemsInputNormalizer, y as AgentNodeConfig } from "./ItemsInputNormalizer-
|
|
3
|
-
export { ActivationIdFactory, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, type AgentNodeConfig, AnyCredentialType, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationRecord, ConnectionNodeIdFactory, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, HttpMethod, InputPortKey, Item, ItemBinary, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, type McpServerResolver, MultiInputNode, MutableRunData, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunState, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, type RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1
|
+
import { $a as CredentialBindingKey, $i as TriggerRuntimeDiagnostics, $n as BinaryPreviewKind, $r as nodeRef, $t as PersistedRunState, Ai as NodeActivationContinuation, Ar as RunId, Bi as NodeExecutionStatePublisher, Br as WorkflowErrorContext, Bt as CurrentStateExecutionRequest, Ci as HumanTaskActor, Cr as NodeRef, Di as ItemNode, Do as OutputPortKey, Dr as PersistedRunPolicySnapshot, Ei as HumanTaskSubject, Eo as NodeId, Er as ParentExecutionRef, Fi as NodeBinaryAttachmentService, Fr as TriggerNodeConfig, Gi as PreparedNodeActivationDispatch, Gr as WorkflowNodeConnection, Gt as NodeExecutionStatus, Hi as NodeResolver, Hr as WorkflowErrorHandlerSpec, Ht as ExecutionFrontierPlan, I as RunFinishedAtFactory, Ii as NodeExecutionContext, Ir as TriggerNodeOutputJson, Ji as RunnableNodeExecuteArgs, Jr as WorkflowStoragePolicyDecisionArgs, Jt as PendingResumeEntry, Ki as ResumeContext, Kr as WorkflowPolicyRuntimeDefaults, Kt as NodeInputsByPort, Li as NodeExecutionRequest, Lr as TriggerNodeSetupState, Lt as ConnectionInvocationAppendArgs, Mi as NodeActivationRequest, Mr as RunnableNodeConfig, Ni as NodeActivationRequestBase, Nr as RunnableNodeInputJson, Oi as LiveWorkflowRepository, Oo as PersistedTokenId, Or as RunDataFactory, Pi as NodeActivationScheduler, Pr as RunnableNodeOutputJson, Qa as CredentialBinding, Qi as TriggerNode, Qn as BinaryAttachment, Qr as branchRef, Qt as PersistedRunSchedulingState, Ri as NodeExecutionRequestHandler, Rr as UpstreamRefPlaceholder, Rt as ConnectionInvocationId, Si as ExecutionContextFactory, Sr as NodeOutputs, Ti as HumanTaskId, To as NodeConnectionName, Tr as PairedItemRef, Ui as PersistedTriggerSetupState, Ur as WorkflowGraph, Ut as NodeExecutionError, Vi as NodeExecutor, Vr as WorkflowErrorHandler, Vt as EngineRunCounters, Wi as PollingTriggerHandle, Wr as WorkflowGraphFactory, Wt as NodeExecutionSnapshot, Xa as CredentialAdvancedSectionPresentation, Xi as TestableTriggerNode, Xr as WorkflowStoragePolicyResolver, Xt as PersistedMutableRunState, Ya as AnyCredentialType, Yi as SuspensionRequest, Yr as WorkflowStoragePolicyMode, Yt as PersistedMutableNodeState, Za as CredentialAuthDefinition, Zi as TriggerCleanupHandle, Zn as ActivationIdFactory, Zr as WorkflowStoragePolicySpec, Zt as PersistedRunControlState, _i as EngineDeps, _n as RunTestContext, _o as CredentialTypeId, _r as NodeIdRef, a as ConnectionNodeIdFactory, aa as WorkflowRepository, an as RunCompletionNotifier, ao as CredentialInstanceRecord, ar as JsonArray, bi as ExecutionBinaryService, bn as WorkflowExecutionPruneRepository, bo as OAuth2ProviderFromPublicConfig, br as NodeKind, ca as WorkflowSnapshotFactory, ci as BINARY_DEFAULT_MAX_BYTES, cn as RunExecutionOptions, co as CredentialOAuth2AuthDefinition, cr as JsonPrimitive, da as TriggerInstanceId, di as BinaryStorage, dn as RunQueueEntry, do as CredentialSessionFactory, dr as NodeActivationId, ea as TriggerSetupContext, ei as runnableNodeInputType, en as PersistedSuspensionEntry, eo as CredentialFieldSchema, er as Edge, fa as WebhookControlSignal, fi as BinaryStorageReadResult, fn as RunResult, fo as CredentialSessionFactoryArgs, fr as NodeConfigBase, ga as WebhookTriggerRoutingDiagnostics, gi as Duration, gn as RunSummary, go as CredentialTypeDefinition, gr as NodeErrorHandlerSpec, ha as WebhookTriggerResolution, hi as BinaryStorageWriteResult, hn as RunStopCondition, ho as CredentialType, hr as NodeErrorHandlerArgs, i as NodeIterationIdFactory, ia as WorkflowNodeInstanceFactory, in as PinnedNodeOutputsByPort, io as CredentialInstanceId, ir as Items, ji as NodeActivationReceipt, jr as RunIdFactory, ki as MultiInputNode, ko as WorkflowId, kr as RunDataSnapshot, la as WorkflowSnapshotResolver, li as BinaryAttachmentCreateRequest, ln as RunHaltReason, lo as CredentialOAuth2ScopesFromPublicConfig, lr as JsonValue, ma as WebhookTriggerMatcher, mi as BinaryStorageWriteRequest, mn as RunStatus, mo as CredentialSetupStatus, mr as NodeErrorHandler, na as TriggerSetupStateRepository, ni as triggerNodeOutputType, nn as PersistedWorkflowSnapshotNode, no as CredentialHealthStatus, nr as Item, oa as WorkflowRunnerResolver, on as RunCurrentState, oo as CredentialJsonRecord, or as JsonNonArray, pa as WebhookInvocationMatch, pi as BinaryStorageStatResult, pn as RunStateResetRequest, po as CredentialSessionService, pr as NodeDefinition, qi as RunnableNode, qr as WorkflowPrunePolicySpec, qt as PendingNodeExecution, ra as TriggerTestItemsContext, ri as triggerNodeSetupStateType, rn as PersistedWorkflowTokenRegistryLike, ro as CredentialHealthTester, rr as ItemBinary, sa as WorkflowRunnerService, si as RetryPolicySpec, sn as RunEventPublisherDeps, so as CredentialMaterialSourceKind, sr as JsonObject, ta as TriggerSetupStateFor, ti as runnableNodeOutputType, tn as PersistedWorkflowSnapshot, to as CredentialHealth, tr as ExecutionMode, ua as HttpMethod, ui as BinaryBody, un as RunPruneCandidate, uo as CredentialRequirement, ur as MutableRunData, vi as EngineHost, vn as WebhookRunResult, vo as CredentialTypeRegistry, vr as NodeInspectorSummaryRow, wi as HumanTaskHandle, wo as InputPortKey, wr as NodeSchedulerDecision, xi as ExecutionContext, xn as WorkflowExecutionRepository, xr as NodeOffloadPolicy, yi as ExecutableTriggerNode, yn as WorkflowExecutionListingRepository, yo as CredentialUnboundError, yr as NodeIterationId, zi as NodeExecutionScheduler, zr as WorkflowDefinition, zt as ConnectionInvocationRecord } from "./index-rllWL4r-.js";
|
|
2
|
+
import { a as AgentConnectionNodeRole, i as AgentConnectionNodeDescriptor, n as AgentConnectionCredentialSource, o as McpServerResolver, r as AgentConnectionNodeCollector, t as ItemsInputNormalizer, y as AgentNodeConfig } from "./ItemsInputNormalizer-BWtlwdVI.js";
|
|
3
|
+
export { ActivationIdFactory, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, type AgentNodeConfig, AnyCredentialType, BINARY_DEFAULT_MAX_BYTES, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationRecord, ConnectionNodeIdFactory, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, Duration, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, HttpMethod, HumanTaskActor, HumanTaskHandle, HumanTaskId, HumanTaskSubject, InputPortKey, Item, ItemBinary, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, type McpServerResolver, MultiInputNode, MutableRunData, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PendingResumeEntry, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunState, PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, ResumeContext, type RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunFinishedAtFactory, RunHaltReason, RunId, RunIdFactory, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SuspensionRequest, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
package/dist/browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-
|
|
1
|
+
import { E as ConnectionNodeIdFactory, _ as CredentialUnboundError, f as branchRef, g as SuspensionRequest, h as BINARY_DEFAULT_MAX_BYTES, m as RunFinishedAtFactory, p as nodeRef, v as NodeIterationIdFactory, y as AgentConnectionNodeCollector } from "./di-D9Mv3kF3.js";
|
|
2
|
+
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-BkSvmfAW.js";
|
|
3
3
|
|
|
4
|
-
export { AgentConnectionNodeCollector, ConnectionNodeIdFactory, CredentialUnboundError, ItemsInputNormalizer, NodeIterationIdFactory, RunFinishedAtFactory, branchRef, nodeRef };
|
|
4
|
+
export { AgentConnectionNodeCollector, BINARY_DEFAULT_MAX_BYTES, ConnectionNodeIdFactory, CredentialUnboundError, ItemsInputNormalizer, NodeIterationIdFactory, RunFinishedAtFactory, SuspensionRequest, branchRef, nodeRef };
|
package/dist/contracts.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { C as deriveAssertionPassed, S as DEFAULT_ASSERTION_PASS_THRESHOLD, T as AgentBindError, _ as WorkItemStatus, a as ExecutionPayloadPolicyFields, b as AssertionResult, c as PersistedExecutionInstanceRecord, d as PersistedRunWorkItemRecord, f as RunIterationDto, g as WorkItemId, h as SlotExecutionStateDto, i as ExecutionInstanceId, l as PersistedRunSlotProjectionRecord, m as RunSlotProjectionState, n as ConnectionInvocationKind, o as PayloadStorageKind, p as RunRevision, r as ExecutionInstanceDto, s as PersistedExecutionInstanceKind, t as BatchId, u as PersistedRunWorkItemKind, v as WorkflowDetailSelectionState, w as NoOpAgentMcpIntegration, x as AssertionResultProvenance, y as WorkflowRunDetailDto } from "./executionPersistenceContracts-
|
|
3
|
-
import { n as Param, r as ParamDeep, t as Expr } from "./params-
|
|
4
|
-
import { n as CostCatalogEntry, t as CostCatalog } from "./CostCatalogContract-
|
|
5
|
-
export { ActivationIdFactory, AgentBindError, AgentMcpIntegration, AgentMcpToolMap, type AnyCredentialType, AssertionResult, AssertionResultProvenance, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationKind, ConnectionInvocationRecord, CostCatalog, CostCatalogEntry, type CostTrackingComponent, type CostTrackingPriceQuote, type CostTrackingTelemetry, type CostTrackingTelemetryFactory, type CostTrackingUsageRecord, type CredentialAdvancedSectionPresentation, type CredentialAuthDefinition, type CredentialBinding, type CredentialBindingKey, type CredentialFieldSchema, type CredentialHealth, type CredentialHealthStatus, type CredentialHealthTester, type CredentialInstanceId, type CredentialInstanceRecord, type CredentialJsonRecord, type CredentialMaterialSourceKind, type CredentialOAuth2AuthDefinition, type CredentialOAuth2ScopesFromPublicConfig, type CredentialRequirement, type CredentialSessionFactory, type CredentialSessionFactoryArgs, type CredentialSessionService, type CredentialSetupStatus, type CredentialType, type CredentialTypeDefinition, type CredentialTypeId, type CredentialTypeRegistry, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InputPortKey, Item, ItemBinary, ItemNode, Items, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, type OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunId, RunIdFactory, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SlotExecutionStateDto, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestSuiteRunId, TestTriggerNodeConfig, TestTriggerSetupContext, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkItemId, WorkItemStatus, WorkflowDefinition, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, deriveAssertionPassed, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1
|
+
import { $n as NodeActivationRequest, $r as CodemationTelemetryMetricNames, $t as RunnableNodeConfig, A as RunHaltReason, Ai as CredentialOAuth2ScopesFromPublicConfig, An as BinaryAttachmentCreateRequest, Ar as WorkflowSnapshotResolver, At as JsonValue, B as WorkflowExecutionListingRepository, Bn as ExecutableTriggerNode, Br as ExecutionTelemetry, Bt as NodeIterationId, C as PersistedWorkflowSnapshotNode, Ci as CredentialHealthStatus, Cn as triggerNodeOutputType, Cr as TriggerSetupStateRepository, Ct as Item, D as RunCurrentState, Di as CredentialJsonRecord, Dn as NoneRetryPolicySpec, Dr as WorkflowRunnerResolver, Dt as JsonNonArray, E as RunCompletionNotifier, Ei as CredentialInstanceRecord, En as FixedRetryPolicySpec, Er as WorkflowRepository, Et as JsonArray, F as RunStatus, Fi as CredentialSetupStatus, Fn as BinaryStorageWriteRequest, Fr as WebhookTriggerMatcher, Ft as NodeErrorHandler, Gi as InputPortKey, Gn as HumanTaskHandle, Gr as TelemetryAttributePrimitive, Gt as NodeSchedulerDecision, H as WorkflowExecutionRepository, Hn as ExecutionContext, Hr as NodeExecutionTelemetry, Ht as NodeOffloadPolicy, I as RunStopCondition, Ii as CredentialType, In as BinaryStorageWriteResult, Ir as WebhookTriggerResolution, It as NodeErrorHandlerArgs, Ji as OutputPortKey, Jn as ItemNode, Jr as TelemetryMetricRecord, Jt as PersistedRunPolicySnapshot, Ki as NodeConnectionName, Kn as HumanTaskId, Kr as TelemetryAttributes, Kt as PairedItemRef, L as RunSummary, Li as CredentialTypeDefinition, Ln as Duration, Lr as WebhookTriggerRoutingDiagnostics, Lt as NodeErrorHandlerSpec, M as RunQueueEntry, Mi as CredentialSessionFactory, Mn as BinaryStorage, Mr as TriggerInstanceId, Mt as NodeActivationId, N as RunResult, Ni as CredentialSessionFactoryArgs, Nn as BinaryStorageReadResult, Nr as WebhookControlSignal, Nt as NodeConfigBase, O as RunEventPublisherDeps, Oi as CredentialMaterialSourceKind, On as RetryPolicySpec, Or as WorkflowRunnerService, Ot as JsonObject, P as RunStateResetRequest, Pi as CredentialSessionService, Pn as BinaryStorageStatResult, Pr as WebhookInvocationMatch, Pt as NodeDefinition, Qn as NodeActivationReceipt, Qr as TelemetrySpanScope, Qt as RunIdFactory, R as RunTestContext, Ri as CredentialTypeId, Rn as EngineDeps, Rt as NodeIdRef, S as PersistedWorkflowSnapshot, Si as CredentialHealth, Sn as runnableNodeOutputType, Sr as TriggerSetupStateFor, St as ExecutionMode, T as PinnedNodeOutputsByPort, Ti as CredentialInstanceId, Tn as ExponentialRetryPolicySpec, Tr as WorkflowNodeInstanceFactory, Tt as Items, Un as ExecutionContextFactory, Ur as TelemetryArtifactAttachment, Ut as NodeOutputs, V as WorkflowExecutionPruneRepository, Vi as OAuth2ProviderFromPublicConfig, Vn as ExecutionBinaryService, Vr as ExecutionTelemetryFactory, Vt as NodeKind, Wn as HumanTaskActor, Wr as TelemetryArtifactReference, Wt as NodeRef, Xi as WorkflowId, Xn as MultiInputNode, Xr as TelemetrySpanEnd, Xt as RunDataSnapshot, Yi as PersistedTokenId, Yn as LiveWorkflowRepository, Yr as TelemetryScope, Yt as RunDataFactory, Zn as NodeActivationContinuation, Zr as TelemetrySpanEventRecord, Zt as RunId, _ as PersistedMutableRunState, _i as CredentialAdvancedSectionPresentation, _n as WorkflowStoragePolicyResolver, _r as TestableTriggerNode, _t as TestTriggerSetupContext, a as ConnectionInvocationId, ai as NoOpTelemetrySpanScope, an as UpstreamRefPlaceholder, ar as NodeExecutionRequestHandler, b as PersistedRunState, bi as CredentialBindingKey, bn as nodeRef, br as TriggerRuntimeDiagnostics, bt as BinaryPreviewKind, c as EngineRunCounters, ci as CostTrackingPriceQuote, cn as WorkflowErrorHandler, cr as NodeExecutor, d as NodeExecutionSnapshot, di as CostTrackingTelemetryFactory, dn as WorkflowGraphFactory, dr as PollingTriggerHandle, ei as GenAiTelemetryAttributeNames, en as RunnableNodeInputJson, er as NodeActivationRequestBase, f as NodeExecutionStatus, fn as WorkflowNodeConnection, fr as PreparedNodeActivationDispatch, g as PersistedMutableNodeState, gi as AnyCredentialType, gn as WorkflowStoragePolicyMode, gr as SuspensionRequest, gt as TestTriggerNodeConfig, h as PendingResumeEntry, hn as WorkflowStoragePolicyDecisionArgs, hr as RunnableNodeExecuteArgs, ht as TestSuiteRunId, i as ConnectionInvocationAppendArgs, ii as NoOpNodeExecutionTelemetry, in as TriggerNodeSetupState, ir as NodeExecutionRequest, j as RunPruneCandidate, ji as CredentialRequirement, jn as BinaryBody, jr as HttpMethod, jt as MutableRunData, k as RunExecutionOptions, ki as CredentialOAuth2AuthDefinition, kn as BINARY_DEFAULT_MAX_BYTES, kr as WorkflowSnapshotFactory, kt as JsonPrimitive, l as ExecutionFrontierPlan, li as CostTrackingTelemetry, ln as WorkflowErrorHandlerSpec, lr as NodeResolver, m as PendingNodeExecution, mn as WorkflowPrunePolicySpec, mr as RunnableNode, n as AgentMcpToolMap, ni as NoOpExecutionTelemetryFactory, nn as TriggerNodeConfig, nr as NodeBinaryAttachmentService, o as ConnectionInvocationRecord, oi as NoOpTelemetryArtifactReference, on as WorkflowDefinition, or as NodeExecutionScheduler, p as NodeInputsByPort, pi as CostTrackingUsageRecord, pn as WorkflowPolicyRuntimeDefaults, pr as ResumeContext, qi as NodeId, qn as HumanTaskSubject, qr as TelemetryChildSpanStart, qt as ParentExecutionRef, r as NeedsReconsentEvent, ri as NoOpExecutionTelemetry, rn as TriggerNodeOutputJson, rr as NodeExecutionContext, s as CurrentStateExecutionRequest, si as CostTrackingComponent, sn as WorkflowErrorContext, sr as NodeExecutionStatePublisher, t as AgentMcpIntegration, ti as CodemationTelemetryAttributeNames, tn as RunnableNodeOutputJson, tr as NodeActivationScheduler, u as NodeExecutionError, un as WorkflowGraph, ur as PersistedTriggerSetupState, v as PersistedRunControlState, vi as CredentialAuthDefinition, vn as WorkflowStoragePolicySpec, vr as TriggerCleanupHandle, vt as ActivationIdFactory, w as PersistedWorkflowTokenRegistryLike, wi as CredentialHealthTester, wn as triggerNodeSetupStateType, wr as TriggerTestItemsContext, wt as ItemBinary, x as PersistedSuspensionEntry, xi as CredentialFieldSchema, xn as runnableNodeInputType, xr as TriggerSetupContext, xt as Edge, y as PersistedRunSchedulingState, yi as CredentialBinding, yn as branchRef, yr as TriggerNode, yt as BinaryAttachment, z as WebhookRunResult, zi as CredentialTypeRegistry, zn as EngineHost, zt as NodeInspectorSummaryRow } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
|
+
import { C as deriveAssertionPassed, S as DEFAULT_ASSERTION_PASS_THRESHOLD, T as AgentBindError, _ as WorkItemStatus, a as ExecutionPayloadPolicyFields, b as AssertionResult, c as PersistedExecutionInstanceRecord, d as PersistedRunWorkItemRecord, f as RunIterationDto, g as WorkItemId, h as SlotExecutionStateDto, i as ExecutionInstanceId, l as PersistedRunSlotProjectionRecord, m as RunSlotProjectionState, n as ConnectionInvocationKind, o as PayloadStorageKind, p as RunRevision, r as ExecutionInstanceDto, s as PersistedExecutionInstanceKind, t as BatchId, u as PersistedRunWorkItemKind, v as WorkflowDetailSelectionState, w as NoOpAgentMcpIntegration, x as AssertionResultProvenance, y as WorkflowRunDetailDto } from "./executionPersistenceContracts-CN9d7AnL.cjs";
|
|
3
|
+
import { n as Param, r as ParamDeep, t as Expr } from "./params-DRUr0F5v.cjs";
|
|
4
|
+
import { n as CostCatalogEntry, t as CostCatalog } from "./CostCatalogContract-Dxq1BTyi.cjs";
|
|
5
|
+
export { ActivationIdFactory, AgentBindError, AgentMcpIntegration, AgentMcpToolMap, type AnyCredentialType, AssertionResult, AssertionResultProvenance, BINARY_DEFAULT_MAX_BYTES, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationKind, ConnectionInvocationRecord, CostCatalog, CostCatalogEntry, type CostTrackingComponent, type CostTrackingPriceQuote, type CostTrackingTelemetry, type CostTrackingTelemetryFactory, type CostTrackingUsageRecord, type CredentialAdvancedSectionPresentation, type CredentialAuthDefinition, type CredentialBinding, type CredentialBindingKey, type CredentialFieldSchema, type CredentialHealth, type CredentialHealthStatus, type CredentialHealthTester, type CredentialInstanceId, type CredentialInstanceRecord, type CredentialJsonRecord, type CredentialMaterialSourceKind, type CredentialOAuth2AuthDefinition, type CredentialOAuth2ScopesFromPublicConfig, type CredentialRequirement, type CredentialSessionFactory, type CredentialSessionFactoryArgs, type CredentialSessionService, type CredentialSetupStatus, type CredentialType, type CredentialTypeDefinition, type CredentialTypeId, type CredentialTypeRegistry, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, Duration, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, HumanTaskActor, HumanTaskHandle, HumanTaskId, HumanTaskSubject, InputPortKey, Item, ItemBinary, ItemNode, Items, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, type OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PendingResumeEntry, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, ResumeContext, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunHaltReason, RunId, RunIdFactory, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SlotExecutionStateDto, SuspensionRequest, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestSuiteRunId, TestTriggerNodeConfig, TestTriggerSetupContext, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkItemId, WorkItemStatus, WorkflowDefinition, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, deriveAssertionPassed, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ActivationIdFactory, AgentBindError, AgentMcpIntegration, AgentMcpToolMap, AnyCredentialType, AssertionResult, AssertionResultProvenance, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationKind, ConnectionInvocationRecord, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryFactory, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InputPortKey, Item, ItemBinary, ItemNode, Items, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunId, RunIdFactory, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SlotExecutionStateDto, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestSuiteRunId, TestTriggerNodeConfig, TestTriggerSetupContext, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkItemId, WorkItemStatus, WorkflowDefinition, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, deriveAssertionPassed, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1
|
+
import { $ as ExecutionPayloadPolicyFields, $a as CredentialBindingKey, $i as TriggerRuntimeDiagnostics, $n as BinaryPreviewKind, $r as nodeRef, $t as PersistedRunState, Aa as TelemetrySpanEventRecord, Ai as NodeActivationContinuation, Ar as RunId, At as DEFAULT_ASSERTION_PASS_THRESHOLD, Ba as CostTrackingComponent, Bi as NodeExecutionStatePublisher, Br as WorkflowErrorContext, Bt as CurrentStateExecutionRequest, Ca as TelemetryArtifactReference, Ci as HumanTaskActor, Cr as NodeRef, Da as TelemetryMetricRecord, Di as ItemNode, Do as OutputPortKey, Dr as PersistedRunPolicySnapshot, Ea as TelemetryChildSpanStart, Ei as HumanTaskSubject, Eo as NodeId, Er as ParentExecutionRef, Fa as NoOpExecutionTelemetryFactory, Fi as NodeBinaryAttachmentService, Fr as TriggerNodeConfig, Ft as AgentMcpToolMap, Gi as PreparedNodeActivationDispatch, Gr as WorkflowNodeConnection, Gt as NodeExecutionStatus, Ha as CostTrackingTelemetry, Hi as NodeResolver, Hr as WorkflowErrorHandlerSpec, Ht as ExecutionFrontierPlan, Ia as NoOpExecutionTelemetry, Ii as NodeExecutionContext, Ir as TriggerNodeOutputJson, It as NeedsReconsentEvent, Ji as RunnableNodeExecuteArgs, Jn as TestSuiteRunId, Jr as WorkflowStoragePolicyDecisionArgs, Jt as PendingResumeEntry, Ka as CostTrackingUsageRecord, Ki as ResumeContext, Kr as WorkflowPolicyRuntimeDefaults, Kt as NodeInputsByPort, La as NoOpNodeExecutionTelemetry, Li as NodeExecutionRequest, Lr as TriggerNodeSetupState, Lt as ConnectionInvocationAppendArgs, Ma as CodemationTelemetryMetricNames, Mi as NodeActivationRequest, Mr as RunnableNodeConfig, Mt as NoOpAgentMcpIntegration, Na as GenAiTelemetryAttributeNames, Ni as NodeActivationRequestBase, Nr as RunnableNodeInputJson, Nt as AgentBindError, Oa as TelemetryScope, Oi as LiveWorkflowRepository, Oo as PersistedTokenId, Or as RunDataFactory, Ot as AssertionResult, Pa as CodemationTelemetryAttributeNames, Pi as NodeActivationScheduler, Pr as RunnableNodeOutputJson, Pt as AgentMcpIntegration, Q as ExecutionInstanceId, Qa as CredentialBinding, Qi as TriggerNode, Qn as BinaryAttachment, Qr as branchRef, Qt as PersistedRunSchedulingState, Ra as NoOpTelemetrySpanScope, Ri as NodeExecutionRequestHandler, Rr as UpstreamRefPlaceholder, Rt as ConnectionInvocationId, Sa as TelemetryArtifactAttachment, Si as ExecutionContextFactory, Sr as NodeOutputs, Ta as TelemetryAttributes, Ti as HumanTaskId, To as NodeConnectionName, Tr as PairedItemRef, Ui as PersistedTriggerSetupState, Ur as WorkflowGraph, Ut as NodeExecutionError, Va as CostTrackingPriceQuote, Vi as NodeExecutor, Vr as WorkflowErrorHandler, Vt as EngineRunCounters, Wa as CostTrackingTelemetryFactory, Wi as PollingTriggerHandle, Wr as WorkflowGraphFactory, Wt as NodeExecutionSnapshot, X as ConnectionInvocationKind, Xa as CredentialAdvancedSectionPresentation, Xi as TestableTriggerNode, Xn as TestTriggerSetupContext, Xr as WorkflowStoragePolicyResolver, Xt as PersistedMutableRunState, Y as BatchId, Ya as AnyCredentialType, Yi as SuspensionRequest, Yn as TestTriggerNodeConfig, Yr as WorkflowStoragePolicyMode, Yt as PersistedMutableNodeState, Z as ExecutionInstanceDto, Za as CredentialAuthDefinition, Zi as TriggerCleanupHandle, Zn as ActivationIdFactory, Zr as WorkflowStoragePolicySpec, Zt as PersistedRunControlState, _i as EngineDeps, _n as RunTestContext, _o as CredentialTypeId, _r as NodeIdRef, _t as Param, aa as WorkflowRepository, ai as FixedRetryPolicySpec, an as RunCompletionNotifier, ao as CredentialInstanceRecord, ar as JsonArray, at as PersistedRunWorkItemRecord, ba as ExecutionTelemetryFactory, bi as ExecutionBinaryService, bn as WorkflowExecutionPruneRepository, bo as OAuth2ProviderFromPublicConfig, br as NodeKind, ca as WorkflowSnapshotFactory, ci as BINARY_DEFAULT_MAX_BYTES, cn as RunExecutionOptions, co as CredentialOAuth2AuthDefinition, cr as JsonPrimitive, ct as RunSlotProjectionState, da as TriggerInstanceId, di as BinaryStorage, dn as RunQueueEntry, do as CredentialSessionFactory, dr as NodeActivationId, dt as WorkItemStatus, ea as TriggerSetupContext, ei as runnableNodeInputType, en as PersistedSuspensionEntry, eo as CredentialFieldSchema, er as Edge, et as PayloadStorageKind, fa as WebhookControlSignal, fi as BinaryStorageReadResult, fn as RunResult, fo as CredentialSessionFactoryArgs, fr as NodeConfigBase, ft as WorkflowDetailSelectionState, ga as WebhookTriggerRoutingDiagnostics, gi as Duration, gn as RunSummary, go as CredentialTypeDefinition, gr as NodeErrorHandlerSpec, gt as Expr, ha as WebhookTriggerResolution, hi as BinaryStorageWriteResult, hn as RunStopCondition, ho as CredentialType, hr as NodeErrorHandlerArgs, ht as CostCatalogEntry, ia as WorkflowNodeInstanceFactory, ii as ExponentialRetryPolicySpec, in as PinnedNodeOutputsByPort, io as CredentialInstanceId, ir as Items, it as PersistedRunWorkItemKind, ja as TelemetrySpanScope, ji as NodeActivationReceipt, jr as RunIdFactory, jt as deriveAssertionPassed, ka as TelemetrySpanEnd, ki as MultiInputNode, ko as WorkflowId, kr as RunDataSnapshot, kt as AssertionResultProvenance, la as WorkflowSnapshotResolver, li as BinaryAttachmentCreateRequest, ln as RunHaltReason, lo as CredentialOAuth2ScopesFromPublicConfig, lr as JsonValue, lt as SlotExecutionStateDto, ma as WebhookTriggerMatcher, mi as BinaryStorageWriteRequest, mn as RunStatus, mo as CredentialSetupStatus, mr as NodeErrorHandler, mt as CostCatalog, na as TriggerSetupStateRepository, ni as triggerNodeOutputType, nn as PersistedWorkflowSnapshotNode, no as CredentialHealthStatus, nr as Item, nt as PersistedExecutionInstanceRecord, oa as WorkflowRunnerResolver, oi as NoneRetryPolicySpec, on as RunCurrentState, oo as CredentialJsonRecord, or as JsonNonArray, ot as RunIterationDto, pa as WebhookInvocationMatch, pi as BinaryStorageStatResult, pn as RunStateResetRequest, po as CredentialSessionService, pr as NodeDefinition, pt as WorkflowRunDetailDto, qi as RunnableNode, qr as WorkflowPrunePolicySpec, qt as PendingNodeExecution, ra as TriggerTestItemsContext, ri as triggerNodeSetupStateType, rn as PersistedWorkflowTokenRegistryLike, ro as CredentialHealthTester, rr as ItemBinary, rt as PersistedRunSlotProjectionRecord, sa as WorkflowRunnerService, si as RetryPolicySpec, sn as RunEventPublisherDeps, so as CredentialMaterialSourceKind, sr as JsonObject, st as RunRevision, ta as TriggerSetupStateFor, ti as runnableNodeOutputType, tn as PersistedWorkflowSnapshot, to as CredentialHealth, tr as ExecutionMode, tt as PersistedExecutionInstanceKind, ua as HttpMethod, ui as BinaryBody, un as RunPruneCandidate, uo as CredentialRequirement, ur as MutableRunData, ut as WorkItemId, vi as EngineHost, vn as WebhookRunResult, vo as CredentialTypeRegistry, vr as NodeInspectorSummaryRow, vt as ParamDeep, wa as TelemetryAttributePrimitive, wi as HumanTaskHandle, wo as InputPortKey, wr as NodeSchedulerDecision, xa as NodeExecutionTelemetry, xi as ExecutionContext, xn as WorkflowExecutionRepository, xr as NodeOffloadPolicy, ya as ExecutionTelemetry, yi as ExecutableTriggerNode, yn as WorkflowExecutionListingRepository, yr as NodeIterationId, za as NoOpTelemetryArtifactReference, zi as NodeExecutionScheduler, zr as WorkflowDefinition, zt as ConnectionInvocationRecord } from "./index-rllWL4r-.js";
|
|
2
|
+
export { ActivationIdFactory, AgentBindError, AgentMcpIntegration, AgentMcpToolMap, AnyCredentialType, AssertionResult, AssertionResultProvenance, BINARY_DEFAULT_MAX_BYTES, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationKind, ConnectionInvocationRecord, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryFactory, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, Duration, Edge, EngineDeps, EngineHost, EngineRunCounters, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, HumanTaskActor, HumanTaskHandle, HumanTaskId, HumanTaskSubject, InputPortKey, Item, ItemBinary, ItemNode, Items, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LiveWorkflowRepository, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PendingResumeEntry, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingTriggerHandle, PreparedNodeActivationDispatch, ResumeContext, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEventPublisherDeps, RunExecutionOptions, RunHaltReason, RunId, RunIdFactory, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, SlotExecutionStateDto, SuspensionRequest, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestSuiteRunId, TestTriggerNodeConfig, TestTriggerSetupContext, TestableTriggerNode, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, UpstreamRefPlaceholder, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WorkItemId, WorkItemStatus, WorkflowDefinition, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, branchRef, deriveAssertionPassed, nodeRef, runnableNodeInputType, runnableNodeOutputType, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
@@ -349,6 +349,37 @@ var CredentialUnboundError = class CredentialUnboundError extends Error {
|
|
|
349
349
|
}
|
|
350
350
|
};
|
|
351
351
|
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region src/contracts/runtimeTypes.ts
|
|
354
|
+
/**
|
|
355
|
+
* Thrown by a node's `execute()` to request durable suspension of the current item.
|
|
356
|
+
* The engine catches this, persists the suspension entry, calls `deliver`, and
|
|
357
|
+
* continues to the next item (per-item semantics).
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
* ```ts
|
|
361
|
+
* throw new SuspensionRequest({
|
|
362
|
+
* decisionSchema: z.object({ approved: z.boolean() }),
|
|
363
|
+
* timeout: "PT24H",
|
|
364
|
+
* onTimeout: "halt",
|
|
365
|
+
* subject: { title: "Approve invoice", summary: "Invoice #1234 needs approval" },
|
|
366
|
+
* deliver: async (handle) => {
|
|
367
|
+
* await notifySlack(handle);
|
|
368
|
+
* return { channel: "slack", ts: "..." };
|
|
369
|
+
* },
|
|
370
|
+
* });
|
|
371
|
+
* ```
|
|
372
|
+
*/
|
|
373
|
+
var SuspensionRequest = class extends Error {
|
|
374
|
+
constructor(request) {
|
|
375
|
+
super(`SuspensionRequest(${request.subject?.title ?? "untitled"})`);
|
|
376
|
+
this.request = request;
|
|
377
|
+
this.name = "SuspensionRequest";
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
/** Default maximum bytes read into memory by the bounded helpers (50 MiB). */
|
|
381
|
+
const BINARY_DEFAULT_MAX_BYTES = 50 * 1024 * 1024;
|
|
382
|
+
|
|
352
383
|
//#endregion
|
|
353
384
|
//#region src/contracts/runFinishedAtFactory.ts
|
|
354
385
|
/** Derives workflow end time from persisted run root or node snapshots for run listings. */
|
|
@@ -408,6 +439,12 @@ Object.defineProperty(exports, 'AgentConnectionNodeCollector', {
|
|
|
408
439
|
return AgentConnectionNodeCollector;
|
|
409
440
|
}
|
|
410
441
|
});
|
|
442
|
+
Object.defineProperty(exports, 'BINARY_DEFAULT_MAX_BYTES', {
|
|
443
|
+
enumerable: true,
|
|
444
|
+
get: function () {
|
|
445
|
+
return BINARY_DEFAULT_MAX_BYTES;
|
|
446
|
+
}
|
|
447
|
+
});
|
|
411
448
|
Object.defineProperty(exports, 'ConnectionNodeIdFactory', {
|
|
412
449
|
enumerable: true,
|
|
413
450
|
get: function () {
|
|
@@ -444,6 +481,12 @@ Object.defineProperty(exports, 'RunFinishedAtFactory', {
|
|
|
444
481
|
return RunFinishedAtFactory;
|
|
445
482
|
}
|
|
446
483
|
});
|
|
484
|
+
Object.defineProperty(exports, 'SuspensionRequest', {
|
|
485
|
+
enumerable: true,
|
|
486
|
+
get: function () {
|
|
487
|
+
return SuspensionRequest;
|
|
488
|
+
}
|
|
489
|
+
});
|
|
447
490
|
Object.defineProperty(exports, '__toESM', {
|
|
448
491
|
enumerable: true,
|
|
449
492
|
get: function () {
|
|
@@ -486,4 +529,4 @@ Object.defineProperty(exports, 'resolveItemExprsInUnknown', {
|
|
|
486
529
|
return resolveItemExprsInUnknown;
|
|
487
530
|
}
|
|
488
531
|
});
|
|
489
|
-
//# sourceMappingURL=di-
|
|
532
|
+
//# sourceMappingURL=di-C-2ep8NZ.cjs.map
|