@n8n/instance-ai 1.24.4 → 1.25.1
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/README.md +2 -3
- package/dist/agent/credential-guardrails.prompt.d.ts +1 -0
- package/dist/agent/credential-guardrails.prompt.js +2 -1
- package/dist/agent/credential-guardrails.prompt.js.map +1 -1
- package/dist/agent/instance-agent.js +11 -18
- package/dist/agent/instance-agent.js.map +1 -1
- package/dist/agent/shared-prompts.d.ts +2 -2
- package/dist/agent/shared-prompts.js +2 -2
- package/dist/agent/shared-prompts.js.map +1 -1
- package/dist/agent/sub-agent-factory.d.ts +1 -1
- package/dist/agent/sub-agent-factory.js +2 -1
- package/dist/agent/sub-agent-factory.js.map +1 -1
- package/dist/agent/system-prompt.d.ts +1 -0
- package/dist/agent/system-prompt.js +29 -4
- package/dist/agent/system-prompt.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/max-steps.d.ts +0 -1
- package/dist/constants/max-steps.js +0 -1
- package/dist/constants/max-steps.js.map +1 -1
- package/dist/debug/sanitize-debug-snapshot.js +3 -3
- package/dist/debug/sanitize-debug-snapshot.js.map +1 -1
- package/dist/error-formatting.js +5 -12
- package/dist/error-formatting.js.map +1 -1
- package/dist/index.d.ts +5 -10
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/dist/knowledge-base/materialize-knowledge-base.js +24 -16
- package/dist/knowledge-base/materialize-knowledge-base.js.map +1 -1
- package/dist/mcp/mcp-client-manager.js +3 -4
- package/dist/mcp/mcp-client-manager.js.map +1 -1
- package/dist/runtime/background-task-manager.js +5 -5
- package/dist/runtime/background-task-manager.js.map +1 -1
- package/dist/runtime/resumable-stream-executor.js +2 -3
- package/dist/runtime/resumable-stream-executor.js.map +1 -1
- package/dist/runtime/run-state-registry.js +1 -1
- package/dist/runtime/run-state-registry.js.map +1 -1
- package/dist/skills/materialize-runtime-skills.js +30 -23
- package/dist/skills/materialize-runtime-skills.js.map +1 -1
- package/dist/skills/runtime-skills.d.ts +1 -0
- package/dist/skills/runtime-skills.js +11 -0
- package/dist/skills/runtime-skills.js.map +1 -1
- package/dist/skills/skill-gates.d.ts +2 -0
- package/dist/skills/skill-gates.js +4 -1
- package/dist/skills/skill-gates.js.map +1 -1
- package/dist/storage/workflow-loop-storage.d.ts +550 -0
- package/dist/storage/workflow-loop-storage.js +31 -1
- package/dist/storage/workflow-loop-storage.js.map +1 -1
- package/dist/stream/consume-with-hitl.d.ts +0 -28
- package/dist/stream/consume-with-hitl.js +0 -50
- package/dist/stream/consume-with-hitl.js.map +1 -1
- package/dist/tools/activity.tool.d.ts +2 -0
- package/dist/tools/activity.tool.js +102 -0
- package/dist/tools/activity.tool.js.map +1 -0
- package/dist/tools/credentials.tool.js +5 -3
- package/dist/tools/credentials.tool.js.map +1 -1
- package/dist/tools/executions.tool.js +47 -10
- package/dist/tools/executions.tool.js.map +1 -1
- package/dist/tools/filesystem/create-tools-from-mcp-server.js +1 -0
- package/dist/tools/filesystem/create-tools-from-mcp-server.js.map +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/index.js +45 -55
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/n8n-docs/schemas.js +1 -1
- package/dist/tools/n8n-docs/schemas.js.map +1 -1
- package/dist/tools/n8n-docs.tool.d.ts +2 -1
- package/dist/tools/n8n-docs.tool.js +11 -3
- package/dist/tools/n8n-docs.tool.js.map +1 -1
- package/dist/tools/orchestration/agent-persistence.d.ts +0 -12
- package/dist/tools/orchestration/agent-persistence.js +0 -34
- package/dist/tools/orchestration/agent-persistence.js.map +1 -1
- package/dist/tools/orchestration/build-agent.tool.js +3 -3
- package/dist/tools/orchestration/build-agent.tool.js.map +1 -1
- package/dist/tools/orchestration/complete-checkpoint.tool.js +1 -1
- package/dist/tools/orchestration/complete-checkpoint.tool.js.map +1 -1
- package/dist/tools/orchestration/plan.tool.js +5 -1
- package/dist/tools/orchestration/plan.tool.js.map +1 -1
- package/dist/tools/orchestration/report-verification-verdict.tool.js +7 -1
- package/dist/tools/orchestration/report-verification-verdict.tool.js.map +1 -1
- package/dist/tools/orchestration/tracing-utils.d.ts +1 -6
- package/dist/tools/orchestration/tracing-utils.js +0 -99
- package/dist/tools/orchestration/tracing-utils.js.map +1 -1
- package/dist/tools/orchestration/verification/analyze-result.d.ts +5 -0
- package/dist/tools/orchestration/verification/analyze-result.js +27 -5
- package/dist/tools/orchestration/verification/analyze-result.js.map +1 -1
- package/dist/tools/orchestration/verification/claim.d.ts +14 -0
- package/dist/tools/orchestration/verification/claim.js +52 -0
- package/dist/tools/orchestration/verification/claim.js.map +1 -0
- package/dist/tools/orchestration/verification/finalize-result.d.ts +5 -2
- package/dist/tools/orchestration/verification/finalize-result.js +21 -25
- package/dist/tools/orchestration/verification/finalize-result.js.map +1 -1
- package/dist/tools/orchestration/verification/resolve-target.js +39 -15
- package/dist/tools/orchestration/verification/resolve-target.js.map +1 -1
- package/dist/tools/orchestration/verification/resolved-parameter-warnings.d.ts +58 -0
- package/dist/tools/orchestration/verification/resolved-parameter-warnings.js +127 -0
- package/dist/tools/orchestration/verification/resolved-parameter-warnings.js.map +1 -0
- package/dist/tools/orchestration/verification/scripted-gate-run.d.ts +3 -0
- package/dist/tools/orchestration/verification/scripted-gate-run.js +22 -2
- package/dist/tools/orchestration/verification/scripted-gate-run.js.map +1 -1
- package/dist/tools/orchestration/verification/types.d.ts +8 -1
- package/dist/tools/orchestration/verify-built-workflow.tool.d.ts +3 -0
- package/dist/tools/orchestration/verify-built-workflow.tool.js +141 -18
- package/dist/tools/orchestration/verify-built-workflow.tool.js.map +1 -1
- package/dist/tools/research.tool.js +3 -2
- package/dist/tools/research.tool.js.map +1 -1
- package/dist/tools/task-control.tool.js +8 -1
- package/dist/tools/task-control.tool.js.map +1 -1
- package/dist/tools/tool-ids.d.ts +1 -3
- package/dist/tools/tool-ids.js +2 -3
- package/dist/tools/tool-ids.js.map +1 -1
- package/dist/tools/web-research/sanitize-web-content.d.ts +1 -2
- package/dist/tools/web-research/sanitize-web-content.js +6 -19
- package/dist/tools/web-research/sanitize-web-content.js.map +1 -1
- package/dist/tools/workflows/build-workflow.tool.d.ts +12 -0
- package/dist/tools/workflows/build-workflow.tool.js +158 -12
- package/dist/tools/workflows/build-workflow.tool.js.map +1 -1
- package/dist/tools/workflows/detect-unparseable-openai-schema.js +1 -1
- package/dist/tools/workflows/detect-unparseable-openai-schema.js.map +1 -1
- package/dist/tools/workflows/detect-wrong-kind-locator.js +7 -9
- package/dist/tools/workflows/detect-wrong-kind-locator.js.map +1 -1
- package/dist/tools/workflows/reconcile-simulation-plan.js +1 -1
- package/dist/tools/workflows/reconcile-simulation-plan.js.map +1 -1
- package/dist/tools/workflows/resolve-credentials.js.map +1 -1
- package/dist/tools/workflows/setup-items.d.ts +5 -0
- package/dist/tools/workflows/setup-items.js +29 -0
- package/dist/tools/workflows/setup-items.js.map +1 -1
- package/dist/tools/workflows/setup-panel-state.d.ts +31 -0
- package/dist/tools/workflows/setup-panel-state.js +197 -0
- package/dist/tools/workflows/setup-panel-state.js.map +1 -0
- package/dist/tools/workflows/setup-workflow.service.d.ts +3 -1
- package/dist/tools/workflows/setup-workflow.service.js +20 -13
- package/dist/tools/workflows/setup-workflow.service.js.map +1 -1
- package/dist/tools/workflows/validate-workflow.service.js.map +1 -1
- package/dist/tools/workflows/wait-gate-script.js +1 -1
- package/dist/tools/workflows/wait-gate-script.js.map +1 -1
- package/dist/tools/workflows/workflow-build-reporting.d.ts +1 -0
- package/dist/tools/workflows/workflow-build-reporting.js +1 -0
- package/dist/tools/workflows/workflow-build-reporting.js.map +1 -1
- package/dist/tools/workflows/workflow-build-telemetry.d.ts +5 -1
- package/dist/tools/workflows/workflow-build-telemetry.js +8 -0
- package/dist/tools/workflows/workflow-build-telemetry.js.map +1 -1
- package/dist/tools/workflows/workflow-file-bindings.js +0 -2
- package/dist/tools/workflows/workflow-file-bindings.js.map +1 -1
- package/dist/tools/workflows/workflow-source-compiler.js +80 -25
- package/dist/tools/workflows/workflow-source-compiler.js.map +1 -1
- package/dist/tools/workflows/workflow-validation-warnings.d.ts +13 -2
- package/dist/tools/workflows/workflow-validation-warnings.js +55 -1
- package/dist/tools/workflows/workflow-validation-warnings.js.map +1 -1
- package/dist/tools/workflows.tool.d.ts +1 -5
- package/dist/tools/workflows.tool.js +112 -136
- package/dist/tools/workflows.tool.js.map +1 -1
- package/dist/tracing/langsmith-tracing.d.ts +10 -22
- package/dist/tracing/langsmith-tracing.js +106 -110
- package/dist/tracing/langsmith-tracing.js.map +1 -1
- package/dist/tracing/sandbox-tracing.d.ts +17 -0
- package/dist/tracing/sandbox-tracing.js +60 -0
- package/dist/tracing/sandbox-tracing.js.map +1 -0
- package/dist/tracing/trace-payloads.d.ts +1 -0
- package/dist/tracing/trace-payloads.js +17 -4
- package/dist/tracing/trace-payloads.js.map +1 -1
- package/dist/tracing/trace-replay.js.map +1 -1
- package/dist/types.d.ts +53 -66
- package/dist/types.js.map +1 -1
- package/dist/utils/eval-agents.js +3 -7
- package/dist/utils/eval-agents.js.map +1 -1
- package/dist/utils/generate-validated-json.js +2 -6
- package/dist/utils/generate-validated-json.js.map +1 -1
- package/dist/workflow-loop/guidance.d.ts +1 -0
- package/dist/workflow-loop/guidance.js +48 -4
- package/dist/workflow-loop/guidance.js.map +1 -1
- package/dist/workflow-loop/render-claim.d.ts +6 -0
- package/dist/workflow-loop/render-claim.js +61 -0
- package/dist/workflow-loop/render-claim.js.map +1 -0
- package/dist/workflow-loop/setup-verification-policy.d.ts +3 -1
- package/dist/workflow-loop/setup-verification-policy.js +38 -0
- package/dist/workflow-loop/setup-verification-policy.js.map +1 -1
- package/dist/workflow-loop/verification-obligation.d.ts +1 -0
- package/dist/workflow-loop/verification-obligation.js +47 -14
- package/dist/workflow-loop/verification-obligation.js.map +1 -1
- package/dist/workflow-loop/verification-progress.d.ts +62 -0
- package/dist/workflow-loop/verification-progress.js +64 -0
- package/dist/workflow-loop/verification-progress.js.map +1 -0
- package/dist/workflow-loop/workflow-loop-controller.js +2 -0
- package/dist/workflow-loop/workflow-loop-controller.js.map +1 -1
- package/dist/workflow-loop/workflow-loop-state.d.ts +993 -0
- package/dist/workflow-loop/workflow-loop-state.js +32 -1
- package/dist/workflow-loop/workflow-loop-state.js.map +1 -1
- package/dist/workflow-loop/workflow-task-service.d.ts +6 -1
- package/dist/workflow-loop/workflow-task-service.js +86 -6
- package/dist/workflow-loop/workflow-task-service.js.map +1 -1
- package/dist/workspace/lazy-runtime-workspace.js +57 -9
- package/dist/workspace/lazy-runtime-workspace.js.map +1 -1
- package/dist/workspace/prebaked-workspace-bundle.js +93 -58
- package/dist/workspace/prebaked-workspace-bundle.js.map +1 -1
- package/dist/workspace/sandbox-fs.js +56 -32
- package/dist/workspace/sandbox-fs.js.map +1 -1
- package/dist/workspace/sandbox-setup.js +65 -52
- package/dist/workspace/sandbox-setup.js.map +1 -1
- package/dist/workspace/workspace-files.js +76 -57
- package/dist/workspace/workspace-files.js.map +1 -1
- package/knowledge-base/reference/workflow-builder-guardrails.md +4 -2
- package/package.json +10 -10
- package/skills/agent-builder/SKILL.md +15 -6
- package/skills/credential-recipe-research/SKILL.md +1 -1
- package/skills/debugging-executions/SKILL.md +24 -0
- package/skills/instance-awareness/SKILL.md +122 -0
- package/skills/intent-recognition/SKILL.md +83 -49
- package/skills/n8n-docs-assistant/SKILL.md +5 -9
- package/skills/planned-task-runtime/SKILL.md +2 -2
- package/skills/post-build-flow/SKILL.md +173 -23
- package/skills/workflow-builder/SKILL.md +45 -21
- package/dist/agent/sub-agent-briefing.d.ts +0 -20
- package/dist/agent/sub-agent-briefing.js +0 -39
- package/dist/agent/sub-agent-briefing.js.map +0 -1
- package/dist/tools/evals/analyze-agent-input-columns.service.d.ts +0 -6
- package/dist/tools/evals/analyze-agent-input-columns.service.js +0 -17
- package/dist/tools/evals/analyze-agent-input-columns.service.js.map +0 -1
- package/dist/tools/evals/apply-pin-data.service.d.ts +0 -3
- package/dist/tools/evals/apply-pin-data.service.js +0 -19
- package/dist/tools/evals/apply-pin-data.service.js.map +0 -1
- package/dist/tools/evals/column-ref-utils.d.ts +0 -20
- package/dist/tools/evals/column-ref-utils.js +0 -274
- package/dist/tools/evals/column-ref-utils.js.map +0 -1
- package/dist/tools/evals/describe-metric-for-workflow.service.d.ts +0 -6
- package/dist/tools/evals/describe-metric-for-workflow.service.js +0 -90
- package/dist/tools/evals/describe-metric-for-workflow.service.js.map +0 -1
- package/dist/tools/evals/detect-agent-named-refs.service.d.ts +0 -9
- package/dist/tools/evals/detect-agent-named-refs.service.js +0 -83
- package/dist/tools/evals/detect-agent-named-refs.service.js.map +0 -1
- package/dist/tools/evals/detect-ai-nodes.d.ts +0 -7
- package/dist/tools/evals/detect-ai-nodes.js +0 -75
- package/dist/tools/evals/detect-ai-nodes.js.map +0 -1
- package/dist/tools/evals/detect-tool-refs.service.d.ts +0 -7
- package/dist/tools/evals/detect-tool-refs.service.js +0 -66
- package/dist/tools/evals/detect-tool-refs.service.js.map +0 -1
- package/dist/tools/evals/ensure-eval-data-table.service.d.ts +0 -15
- package/dist/tools/evals/ensure-eval-data-table.service.js +0 -83
- package/dist/tools/evals/ensure-eval-data-table.service.js.map +0 -1
- package/dist/tools/evals/eval-data-requirements.service.d.ts +0 -20
- package/dist/tools/evals/eval-data-requirements.service.js +0 -187
- package/dist/tools/evals/eval-data-requirements.service.js.map +0 -1
- package/dist/tools/evals/evals.tool.d.ts +0 -45
- package/dist/tools/evals/evals.tool.js +0 -454
- package/dist/tools/evals/evals.tool.js.map +0 -1
- package/dist/tools/evals/extract-rows-from-history.service.d.ts +0 -17
- package/dist/tools/evals/extract-rows-from-history.service.js +0 -103
- package/dist/tools/evals/extract-rows-from-history.service.js.map +0 -1
- package/dist/tools/evals/format-eval-setup-task.d.ts +0 -16
- package/dist/tools/evals/format-eval-setup-task.js +0 -167
- package/dist/tools/evals/format-eval-setup-task.js.map +0 -1
- package/dist/tools/evals/generate-sample-rows.service.d.ts +0 -35
- package/dist/tools/evals/generate-sample-rows.service.js +0 -259
- package/dist/tools/evals/generate-sample-rows.service.js.map +0 -1
- package/dist/tools/evals/generate-tool-ref-pin-data.service.d.ts +0 -11
- package/dist/tools/evals/generate-tool-ref-pin-data.service.js +0 -112
- package/dist/tools/evals/generate-tool-ref-pin-data.service.js.map +0 -1
- package/dist/tools/evals/metric-catalog.d.ts +0 -63
- package/dist/tools/evals/metric-catalog.js +0 -81
- package/dist/tools/evals/metric-catalog.js.map +0 -1
- package/dist/tools/orchestration/eval-data-agent.tool.d.ts +0 -2
- package/dist/tools/orchestration/eval-data-agent.tool.js +0 -184
- package/dist/tools/orchestration/eval-data-agent.tool.js.map +0 -1
- package/dist/tools/orchestration/eval-setup-agent.prompt.d.ts +0 -1
- package/dist/tools/orchestration/eval-setup-agent.prompt.js +0 -238
- package/dist/tools/orchestration/eval-setup-agent.prompt.js.map +0 -1
- package/dist/tools/orchestration/eval-setup-agent.tool.d.ts +0 -31
- package/dist/tools/orchestration/eval-setup-agent.tool.js +0 -204
- package/dist/tools/orchestration/eval-setup-agent.tool.js.map +0 -1
- package/dist/tools/workflows/observed-workflow-checksums.d.ts +0 -4
- package/dist/tools/workflows/observed-workflow-checksums.js +0 -82
- package/dist/tools/workflows/observed-workflow-checksums.js.map +0 -1
|
@@ -31,6 +31,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
31
31
|
lastTaskId: z.ZodOptional<z.ZodString>;
|
|
32
32
|
lastExecutionId: z.ZodOptional<z.ZodString>;
|
|
33
33
|
lastFailureSignature: z.ZodOptional<z.ZodString>;
|
|
34
|
+
lastFailedNodeName: z.ZodOptional<z.ZodString>;
|
|
34
35
|
lastWorkflowInspection: z.ZodOptional<z.ZodString>;
|
|
35
36
|
rebuildAttempts: z.ZodNumber;
|
|
36
37
|
mockedCredentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -84,6 +85,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
84
85
|
lastTaskId?: string | undefined;
|
|
85
86
|
lastExecutionId?: string | undefined;
|
|
86
87
|
lastFailureSignature?: string | undefined;
|
|
88
|
+
lastFailedNodeName?: string | undefined;
|
|
87
89
|
lastWorkflowInspection?: string | undefined;
|
|
88
90
|
rebuildAttempts: number;
|
|
89
91
|
mockedCredentialTypes?: string[] | undefined;
|
|
@@ -123,6 +125,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
123
125
|
lastTaskId?: string | undefined;
|
|
124
126
|
lastExecutionId?: string | undefined;
|
|
125
127
|
lastFailureSignature?: string | undefined;
|
|
128
|
+
lastFailedNodeName?: string | undefined;
|
|
126
129
|
lastWorkflowInspection?: string | undefined;
|
|
127
130
|
rebuildAttempts: number;
|
|
128
131
|
mockedCredentialTypes?: string[] | undefined;
|
|
@@ -418,15 +421,268 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
418
421
|
remainingSubmitFixes?: number | undefined;
|
|
419
422
|
attemptCount?: number | undefined;
|
|
420
423
|
}>>;
|
|
424
|
+
grouping: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
topLevelItemCount: z.ZodNumber;
|
|
426
|
+
ceiling: z.ZodNumber;
|
|
427
|
+
groupCount: z.ZodNumber;
|
|
428
|
+
droppedGroupCount: z.ZodNumber;
|
|
429
|
+
decision: z.ZodEnum<["grouped", "not_warranted", "under_ceiling", "missing"]>;
|
|
430
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
topLevelItemCount: number;
|
|
433
|
+
ceiling: number;
|
|
434
|
+
groupCount: number;
|
|
435
|
+
droppedGroupCount: number;
|
|
436
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
437
|
+
reason?: string | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
topLevelItemCount: number;
|
|
440
|
+
ceiling: number;
|
|
441
|
+
groupCount: number;
|
|
442
|
+
droppedGroupCount: number;
|
|
443
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
444
|
+
reason?: string | undefined;
|
|
445
|
+
}>>;
|
|
421
446
|
verifyAttempts: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
verificationProgress: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
448
|
+
attempted: z.ZodBoolean;
|
|
449
|
+
claim: z.ZodObject<{
|
|
450
|
+
level: z.ZodEnum<["verified", "partial", "unproven", "failed"]>;
|
|
451
|
+
plannedNodeCount: z.ZodNumber;
|
|
452
|
+
reachedNodeCount: z.ZodNumber;
|
|
453
|
+
nodesNotReached: z.ZodArray<z.ZodString, "many">;
|
|
454
|
+
simulatedNodes: z.ZodArray<z.ZodObject<{
|
|
455
|
+
nodeName: z.ZodString;
|
|
456
|
+
reason: z.ZodString;
|
|
457
|
+
}, "strip", z.ZodTypeAny, {
|
|
458
|
+
nodeName: string;
|
|
459
|
+
reason: string;
|
|
460
|
+
}, {
|
|
461
|
+
nodeName: string;
|
|
462
|
+
reason: string;
|
|
463
|
+
}>, "many">;
|
|
464
|
+
pinnedNodes: z.ZodArray<z.ZodString, "many">;
|
|
465
|
+
unprovenTargets: z.ZodArray<z.ZodString, "many">;
|
|
466
|
+
pendingTriggers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
467
|
+
publishReady: z.ZodBoolean;
|
|
468
|
+
liveTestRecommended: z.ZodBoolean;
|
|
469
|
+
liveState: z.ZodOptional<z.ZodEnum<["unpublished", "live-current", "live-stale"]>>;
|
|
470
|
+
verifiedVersionId: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
473
|
+
plannedNodeCount: number;
|
|
474
|
+
reachedNodeCount: number;
|
|
475
|
+
nodesNotReached: string[];
|
|
476
|
+
simulatedNodes: {
|
|
477
|
+
nodeName: string;
|
|
478
|
+
reason: string;
|
|
479
|
+
}[];
|
|
480
|
+
pinnedNodes: string[];
|
|
481
|
+
unprovenTargets: string[];
|
|
482
|
+
pendingTriggers?: string[] | undefined;
|
|
483
|
+
publishReady: boolean;
|
|
484
|
+
liveTestRecommended: boolean;
|
|
485
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
486
|
+
verifiedVersionId?: string | undefined;
|
|
487
|
+
}, {
|
|
488
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
489
|
+
plannedNodeCount: number;
|
|
490
|
+
reachedNodeCount: number;
|
|
491
|
+
nodesNotReached: string[];
|
|
492
|
+
simulatedNodes: {
|
|
493
|
+
nodeName: string;
|
|
494
|
+
reason: string;
|
|
495
|
+
}[];
|
|
496
|
+
pinnedNodes: string[];
|
|
497
|
+
unprovenTargets: string[];
|
|
498
|
+
pendingTriggers?: string[] | undefined;
|
|
499
|
+
publishReady: boolean;
|
|
500
|
+
liveTestRecommended: boolean;
|
|
501
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
502
|
+
verifiedVersionId?: string | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
505
|
+
nodesExecuted: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
506
|
+
triggerNodeName: z.ZodOptional<z.ZodString>;
|
|
507
|
+
nodesNotReached: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
508
|
+
producedOutputRows: z.ZodOptional<z.ZodNumber>;
|
|
509
|
+
errorNodeName: z.ZodOptional<z.ZodString>;
|
|
510
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
511
|
+
nodeErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
512
|
+
nodeName: z.ZodString;
|
|
513
|
+
message: z.ZodOptional<z.ZodString>;
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
nodeName: string;
|
|
516
|
+
message?: string | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
nodeName: string;
|
|
519
|
+
message?: string | undefined;
|
|
520
|
+
}>, "many">>;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
nodesExecuted?: string[] | undefined;
|
|
523
|
+
triggerNodeName?: string | undefined;
|
|
524
|
+
nodesNotReached?: string[] | undefined;
|
|
525
|
+
producedOutputRows?: number | undefined;
|
|
526
|
+
errorNodeName?: string | undefined;
|
|
527
|
+
errorMessage?: string | undefined;
|
|
528
|
+
nodeErrors?: {
|
|
529
|
+
nodeName: string;
|
|
530
|
+
message?: string | undefined;
|
|
531
|
+
}[] | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
nodesExecuted?: string[] | undefined;
|
|
534
|
+
triggerNodeName?: string | undefined;
|
|
535
|
+
nodesNotReached?: string[] | undefined;
|
|
536
|
+
producedOutputRows?: number | undefined;
|
|
537
|
+
errorNodeName?: string | undefined;
|
|
538
|
+
errorMessage?: string | undefined;
|
|
539
|
+
nodeErrors?: {
|
|
540
|
+
nodeName: string;
|
|
541
|
+
message?: string | undefined;
|
|
542
|
+
}[] | undefined;
|
|
543
|
+
}>>;
|
|
544
|
+
executionId: z.ZodOptional<z.ZodString>;
|
|
545
|
+
failureSignature: z.ZodOptional<z.ZodString>;
|
|
546
|
+
status: z.ZodOptional<z.ZodEnum<["success", "error", "waiting", "running", "unknown"]>>;
|
|
547
|
+
success: z.ZodBoolean;
|
|
548
|
+
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
attempted: boolean;
|
|
551
|
+
claim: {
|
|
552
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
553
|
+
plannedNodeCount: number;
|
|
554
|
+
reachedNodeCount: number;
|
|
555
|
+
nodesNotReached: string[];
|
|
556
|
+
simulatedNodes: {
|
|
557
|
+
nodeName: string;
|
|
558
|
+
reason: string;
|
|
559
|
+
}[];
|
|
560
|
+
pinnedNodes: string[];
|
|
561
|
+
unprovenTargets: string[];
|
|
562
|
+
pendingTriggers?: string[] | undefined;
|
|
563
|
+
publishReady: boolean;
|
|
564
|
+
liveTestRecommended: boolean;
|
|
565
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
566
|
+
verifiedVersionId?: string | undefined;
|
|
567
|
+
};
|
|
568
|
+
evidence?: {
|
|
569
|
+
nodesExecuted?: string[] | undefined;
|
|
570
|
+
triggerNodeName?: string | undefined;
|
|
571
|
+
nodesNotReached?: string[] | undefined;
|
|
572
|
+
producedOutputRows?: number | undefined;
|
|
573
|
+
errorNodeName?: string | undefined;
|
|
574
|
+
errorMessage?: string | undefined;
|
|
575
|
+
nodeErrors?: {
|
|
576
|
+
nodeName: string;
|
|
577
|
+
message?: string | undefined;
|
|
578
|
+
}[] | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
executionId?: string | undefined;
|
|
581
|
+
failureSignature?: string | undefined;
|
|
582
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
583
|
+
success: boolean;
|
|
584
|
+
verifiedAt?: string | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
attempted: boolean;
|
|
587
|
+
claim: {
|
|
588
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
589
|
+
plannedNodeCount: number;
|
|
590
|
+
reachedNodeCount: number;
|
|
591
|
+
nodesNotReached: string[];
|
|
592
|
+
simulatedNodes: {
|
|
593
|
+
nodeName: string;
|
|
594
|
+
reason: string;
|
|
595
|
+
}[];
|
|
596
|
+
pinnedNodes: string[];
|
|
597
|
+
unprovenTargets: string[];
|
|
598
|
+
pendingTriggers?: string[] | undefined;
|
|
599
|
+
publishReady: boolean;
|
|
600
|
+
liveTestRecommended: boolean;
|
|
601
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
602
|
+
verifiedVersionId?: string | undefined;
|
|
603
|
+
};
|
|
604
|
+
evidence?: {
|
|
605
|
+
nodesExecuted?: string[] | undefined;
|
|
606
|
+
triggerNodeName?: string | undefined;
|
|
607
|
+
nodesNotReached?: string[] | undefined;
|
|
608
|
+
producedOutputRows?: number | undefined;
|
|
609
|
+
errorNodeName?: string | undefined;
|
|
610
|
+
errorMessage?: string | undefined;
|
|
611
|
+
nodeErrors?: {
|
|
612
|
+
nodeName: string;
|
|
613
|
+
message?: string | undefined;
|
|
614
|
+
}[] | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
executionId?: string | undefined;
|
|
617
|
+
failureSignature?: string | undefined;
|
|
618
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
619
|
+
success: boolean;
|
|
620
|
+
verifiedAt?: string | undefined;
|
|
621
|
+
}>, "many">>>;
|
|
422
622
|
verification: z.ZodOptional<z.ZodObject<{
|
|
423
623
|
attempted: z.ZodBoolean;
|
|
424
624
|
success: z.ZodBoolean;
|
|
425
625
|
executionId: z.ZodOptional<z.ZodString>;
|
|
426
626
|
status: z.ZodOptional<z.ZodEnum<["success", "error", "waiting", "running", "unknown"]>>;
|
|
427
627
|
failureSignature: z.ZodOptional<z.ZodString>;
|
|
628
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
629
|
+
level: z.ZodEnum<["verified", "partial", "unproven", "failed"]>;
|
|
630
|
+
plannedNodeCount: z.ZodNumber;
|
|
631
|
+
reachedNodeCount: z.ZodNumber;
|
|
632
|
+
nodesNotReached: z.ZodArray<z.ZodString, "many">;
|
|
633
|
+
simulatedNodes: z.ZodArray<z.ZodObject<{
|
|
634
|
+
nodeName: z.ZodString;
|
|
635
|
+
reason: z.ZodString;
|
|
636
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
nodeName: string;
|
|
638
|
+
reason: string;
|
|
639
|
+
}, {
|
|
640
|
+
nodeName: string;
|
|
641
|
+
reason: string;
|
|
642
|
+
}>, "many">;
|
|
643
|
+
pinnedNodes: z.ZodArray<z.ZodString, "many">;
|
|
644
|
+
unprovenTargets: z.ZodArray<z.ZodString, "many">;
|
|
645
|
+
pendingTriggers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
646
|
+
publishReady: z.ZodBoolean;
|
|
647
|
+
liveTestRecommended: z.ZodBoolean;
|
|
648
|
+
liveState: z.ZodOptional<z.ZodEnum<["unpublished", "live-current", "live-stale"]>>;
|
|
649
|
+
verifiedVersionId: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
652
|
+
plannedNodeCount: number;
|
|
653
|
+
reachedNodeCount: number;
|
|
654
|
+
nodesNotReached: string[];
|
|
655
|
+
simulatedNodes: {
|
|
656
|
+
nodeName: string;
|
|
657
|
+
reason: string;
|
|
658
|
+
}[];
|
|
659
|
+
pinnedNodes: string[];
|
|
660
|
+
unprovenTargets: string[];
|
|
661
|
+
pendingTriggers?: string[] | undefined;
|
|
662
|
+
publishReady: boolean;
|
|
663
|
+
liveTestRecommended: boolean;
|
|
664
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
665
|
+
verifiedVersionId?: string | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
668
|
+
plannedNodeCount: number;
|
|
669
|
+
reachedNodeCount: number;
|
|
670
|
+
nodesNotReached: string[];
|
|
671
|
+
simulatedNodes: {
|
|
672
|
+
nodeName: string;
|
|
673
|
+
reason: string;
|
|
674
|
+
}[];
|
|
675
|
+
pinnedNodes: string[];
|
|
676
|
+
unprovenTargets: string[];
|
|
677
|
+
pendingTriggers?: string[] | undefined;
|
|
678
|
+
publishReady: boolean;
|
|
679
|
+
liveTestRecommended: boolean;
|
|
680
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
681
|
+
verifiedVersionId?: string | undefined;
|
|
682
|
+
}>>;
|
|
428
683
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
429
684
|
nodesExecuted: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
685
|
+
triggerNodeName: z.ZodOptional<z.ZodString>;
|
|
430
686
|
nodesNotReached: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
431
687
|
producedOutputRows: z.ZodOptional<z.ZodNumber>;
|
|
432
688
|
errorNodeName: z.ZodOptional<z.ZodString>;
|
|
@@ -443,6 +699,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
443
699
|
}>, "many">>;
|
|
444
700
|
}, "strip", z.ZodTypeAny, {
|
|
445
701
|
nodesExecuted?: string[] | undefined;
|
|
702
|
+
triggerNodeName?: string | undefined;
|
|
446
703
|
nodesNotReached?: string[] | undefined;
|
|
447
704
|
producedOutputRows?: number | undefined;
|
|
448
705
|
errorNodeName?: string | undefined;
|
|
@@ -453,6 +710,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
453
710
|
}[] | undefined;
|
|
454
711
|
}, {
|
|
455
712
|
nodesExecuted?: string[] | undefined;
|
|
713
|
+
triggerNodeName?: string | undefined;
|
|
456
714
|
nodesNotReached?: string[] | undefined;
|
|
457
715
|
producedOutputRows?: number | undefined;
|
|
458
716
|
errorNodeName?: string | undefined;
|
|
@@ -469,8 +727,26 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
469
727
|
executionId?: string | undefined;
|
|
470
728
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
471
729
|
failureSignature?: string | undefined;
|
|
730
|
+
claim?: {
|
|
731
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
732
|
+
plannedNodeCount: number;
|
|
733
|
+
reachedNodeCount: number;
|
|
734
|
+
nodesNotReached: string[];
|
|
735
|
+
simulatedNodes: {
|
|
736
|
+
nodeName: string;
|
|
737
|
+
reason: string;
|
|
738
|
+
}[];
|
|
739
|
+
pinnedNodes: string[];
|
|
740
|
+
unprovenTargets: string[];
|
|
741
|
+
pendingTriggers?: string[] | undefined;
|
|
742
|
+
publishReady: boolean;
|
|
743
|
+
liveTestRecommended: boolean;
|
|
744
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
745
|
+
verifiedVersionId?: string | undefined;
|
|
746
|
+
} | undefined;
|
|
472
747
|
evidence?: {
|
|
473
748
|
nodesExecuted?: string[] | undefined;
|
|
749
|
+
triggerNodeName?: string | undefined;
|
|
474
750
|
nodesNotReached?: string[] | undefined;
|
|
475
751
|
producedOutputRows?: number | undefined;
|
|
476
752
|
errorNodeName?: string | undefined;
|
|
@@ -487,8 +763,26 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
487
763
|
executionId?: string | undefined;
|
|
488
764
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
489
765
|
failureSignature?: string | undefined;
|
|
766
|
+
claim?: {
|
|
767
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
768
|
+
plannedNodeCount: number;
|
|
769
|
+
reachedNodeCount: number;
|
|
770
|
+
nodesNotReached: string[];
|
|
771
|
+
simulatedNodes: {
|
|
772
|
+
nodeName: string;
|
|
773
|
+
reason: string;
|
|
774
|
+
}[];
|
|
775
|
+
pinnedNodes: string[];
|
|
776
|
+
unprovenTargets: string[];
|
|
777
|
+
pendingTriggers?: string[] | undefined;
|
|
778
|
+
publishReady: boolean;
|
|
779
|
+
liveTestRecommended: boolean;
|
|
780
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
781
|
+
verifiedVersionId?: string | undefined;
|
|
782
|
+
} | undefined;
|
|
490
783
|
evidence?: {
|
|
491
784
|
nodesExecuted?: string[] | undefined;
|
|
785
|
+
triggerNodeName?: string | undefined;
|
|
492
786
|
nodesNotReached?: string[] | undefined;
|
|
493
787
|
producedOutputRows?: number | undefined;
|
|
494
788
|
errorNodeName?: string | undefined;
|
|
@@ -592,15 +886,78 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
592
886
|
remainingSubmitFixes?: number | undefined;
|
|
593
887
|
attemptCount?: number | undefined;
|
|
594
888
|
} | undefined;
|
|
889
|
+
grouping?: {
|
|
890
|
+
topLevelItemCount: number;
|
|
891
|
+
ceiling: number;
|
|
892
|
+
groupCount: number;
|
|
893
|
+
droppedGroupCount: number;
|
|
894
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
895
|
+
reason?: string | undefined;
|
|
896
|
+
} | undefined;
|
|
595
897
|
verifyAttempts?: number | undefined;
|
|
898
|
+
verificationProgress?: Record<string, {
|
|
899
|
+
attempted: boolean;
|
|
900
|
+
claim: {
|
|
901
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
902
|
+
plannedNodeCount: number;
|
|
903
|
+
reachedNodeCount: number;
|
|
904
|
+
nodesNotReached: string[];
|
|
905
|
+
simulatedNodes: {
|
|
906
|
+
nodeName: string;
|
|
907
|
+
reason: string;
|
|
908
|
+
}[];
|
|
909
|
+
pinnedNodes: string[];
|
|
910
|
+
unprovenTargets: string[];
|
|
911
|
+
pendingTriggers?: string[] | undefined;
|
|
912
|
+
publishReady: boolean;
|
|
913
|
+
liveTestRecommended: boolean;
|
|
914
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
915
|
+
verifiedVersionId?: string | undefined;
|
|
916
|
+
};
|
|
917
|
+
evidence?: {
|
|
918
|
+
nodesExecuted?: string[] | undefined;
|
|
919
|
+
triggerNodeName?: string | undefined;
|
|
920
|
+
nodesNotReached?: string[] | undefined;
|
|
921
|
+
producedOutputRows?: number | undefined;
|
|
922
|
+
errorNodeName?: string | undefined;
|
|
923
|
+
errorMessage?: string | undefined;
|
|
924
|
+
nodeErrors?: {
|
|
925
|
+
nodeName: string;
|
|
926
|
+
message?: string | undefined;
|
|
927
|
+
}[] | undefined;
|
|
928
|
+
} | undefined;
|
|
929
|
+
executionId?: string | undefined;
|
|
930
|
+
failureSignature?: string | undefined;
|
|
931
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
932
|
+
success: boolean;
|
|
933
|
+
verifiedAt?: string | undefined;
|
|
934
|
+
}[]> | undefined;
|
|
596
935
|
verification?: {
|
|
597
936
|
attempted: boolean;
|
|
598
937
|
success: boolean;
|
|
599
938
|
executionId?: string | undefined;
|
|
600
939
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
601
940
|
failureSignature?: string | undefined;
|
|
941
|
+
claim?: {
|
|
942
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
943
|
+
plannedNodeCount: number;
|
|
944
|
+
reachedNodeCount: number;
|
|
945
|
+
nodesNotReached: string[];
|
|
946
|
+
simulatedNodes: {
|
|
947
|
+
nodeName: string;
|
|
948
|
+
reason: string;
|
|
949
|
+
}[];
|
|
950
|
+
pinnedNodes: string[];
|
|
951
|
+
unprovenTargets: string[];
|
|
952
|
+
pendingTriggers?: string[] | undefined;
|
|
953
|
+
publishReady: boolean;
|
|
954
|
+
liveTestRecommended: boolean;
|
|
955
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
956
|
+
verifiedVersionId?: string | undefined;
|
|
957
|
+
} | undefined;
|
|
602
958
|
evidence?: {
|
|
603
959
|
nodesExecuted?: string[] | undefined;
|
|
960
|
+
triggerNodeName?: string | undefined;
|
|
604
961
|
nodesNotReached?: string[] | undefined;
|
|
605
962
|
producedOutputRows?: number | undefined;
|
|
606
963
|
errorNodeName?: string | undefined;
|
|
@@ -704,15 +1061,78 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
704
1061
|
remainingSubmitFixes?: number | undefined;
|
|
705
1062
|
attemptCount?: number | undefined;
|
|
706
1063
|
} | undefined;
|
|
1064
|
+
grouping?: {
|
|
1065
|
+
topLevelItemCount: number;
|
|
1066
|
+
ceiling: number;
|
|
1067
|
+
groupCount: number;
|
|
1068
|
+
droppedGroupCount: number;
|
|
1069
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
1070
|
+
reason?: string | undefined;
|
|
1071
|
+
} | undefined;
|
|
707
1072
|
verifyAttempts?: number | undefined;
|
|
1073
|
+
verificationProgress?: Record<string, {
|
|
1074
|
+
attempted: boolean;
|
|
1075
|
+
claim: {
|
|
1076
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1077
|
+
plannedNodeCount: number;
|
|
1078
|
+
reachedNodeCount: number;
|
|
1079
|
+
nodesNotReached: string[];
|
|
1080
|
+
simulatedNodes: {
|
|
1081
|
+
nodeName: string;
|
|
1082
|
+
reason: string;
|
|
1083
|
+
}[];
|
|
1084
|
+
pinnedNodes: string[];
|
|
1085
|
+
unprovenTargets: string[];
|
|
1086
|
+
pendingTriggers?: string[] | undefined;
|
|
1087
|
+
publishReady: boolean;
|
|
1088
|
+
liveTestRecommended: boolean;
|
|
1089
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1090
|
+
verifiedVersionId?: string | undefined;
|
|
1091
|
+
};
|
|
1092
|
+
evidence?: {
|
|
1093
|
+
nodesExecuted?: string[] | undefined;
|
|
1094
|
+
triggerNodeName?: string | undefined;
|
|
1095
|
+
nodesNotReached?: string[] | undefined;
|
|
1096
|
+
producedOutputRows?: number | undefined;
|
|
1097
|
+
errorNodeName?: string | undefined;
|
|
1098
|
+
errorMessage?: string | undefined;
|
|
1099
|
+
nodeErrors?: {
|
|
1100
|
+
nodeName: string;
|
|
1101
|
+
message?: string | undefined;
|
|
1102
|
+
}[] | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
executionId?: string | undefined;
|
|
1105
|
+
failureSignature?: string | undefined;
|
|
1106
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
1107
|
+
success: boolean;
|
|
1108
|
+
verifiedAt?: string | undefined;
|
|
1109
|
+
}[]> | undefined;
|
|
708
1110
|
verification?: {
|
|
709
1111
|
attempted: boolean;
|
|
710
1112
|
success: boolean;
|
|
711
1113
|
executionId?: string | undefined;
|
|
712
1114
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
713
1115
|
failureSignature?: string | undefined;
|
|
1116
|
+
claim?: {
|
|
1117
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1118
|
+
plannedNodeCount: number;
|
|
1119
|
+
reachedNodeCount: number;
|
|
1120
|
+
nodesNotReached: string[];
|
|
1121
|
+
simulatedNodes: {
|
|
1122
|
+
nodeName: string;
|
|
1123
|
+
reason: string;
|
|
1124
|
+
}[];
|
|
1125
|
+
pinnedNodes: string[];
|
|
1126
|
+
unprovenTargets: string[];
|
|
1127
|
+
pendingTriggers?: string[] | undefined;
|
|
1128
|
+
publishReady: boolean;
|
|
1129
|
+
liveTestRecommended: boolean;
|
|
1130
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1131
|
+
verifiedVersionId?: string | undefined;
|
|
1132
|
+
} | undefined;
|
|
714
1133
|
evidence?: {
|
|
715
1134
|
nodesExecuted?: string[] | undefined;
|
|
1135
|
+
triggerNodeName?: string | undefined;
|
|
716
1136
|
nodesNotReached?: string[] | undefined;
|
|
717
1137
|
producedOutputRows?: number | undefined;
|
|
718
1138
|
errorNodeName?: string | undefined;
|
|
@@ -746,6 +1166,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
746
1166
|
lastTaskId?: string | undefined;
|
|
747
1167
|
lastExecutionId?: string | undefined;
|
|
748
1168
|
lastFailureSignature?: string | undefined;
|
|
1169
|
+
lastFailedNodeName?: string | undefined;
|
|
749
1170
|
lastWorkflowInspection?: string | undefined;
|
|
750
1171
|
rebuildAttempts: number;
|
|
751
1172
|
mockedCredentialTypes?: string[] | undefined;
|
|
@@ -875,15 +1296,78 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
875
1296
|
remainingSubmitFixes?: number | undefined;
|
|
876
1297
|
attemptCount?: number | undefined;
|
|
877
1298
|
} | undefined;
|
|
1299
|
+
grouping?: {
|
|
1300
|
+
topLevelItemCount: number;
|
|
1301
|
+
ceiling: number;
|
|
1302
|
+
groupCount: number;
|
|
1303
|
+
droppedGroupCount: number;
|
|
1304
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
1305
|
+
reason?: string | undefined;
|
|
1306
|
+
} | undefined;
|
|
878
1307
|
verifyAttempts?: number | undefined;
|
|
1308
|
+
verificationProgress?: Record<string, {
|
|
1309
|
+
attempted: boolean;
|
|
1310
|
+
claim: {
|
|
1311
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1312
|
+
plannedNodeCount: number;
|
|
1313
|
+
reachedNodeCount: number;
|
|
1314
|
+
nodesNotReached: string[];
|
|
1315
|
+
simulatedNodes: {
|
|
1316
|
+
nodeName: string;
|
|
1317
|
+
reason: string;
|
|
1318
|
+
}[];
|
|
1319
|
+
pinnedNodes: string[];
|
|
1320
|
+
unprovenTargets: string[];
|
|
1321
|
+
pendingTriggers?: string[] | undefined;
|
|
1322
|
+
publishReady: boolean;
|
|
1323
|
+
liveTestRecommended: boolean;
|
|
1324
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1325
|
+
verifiedVersionId?: string | undefined;
|
|
1326
|
+
};
|
|
1327
|
+
evidence?: {
|
|
1328
|
+
nodesExecuted?: string[] | undefined;
|
|
1329
|
+
triggerNodeName?: string | undefined;
|
|
1330
|
+
nodesNotReached?: string[] | undefined;
|
|
1331
|
+
producedOutputRows?: number | undefined;
|
|
1332
|
+
errorNodeName?: string | undefined;
|
|
1333
|
+
errorMessage?: string | undefined;
|
|
1334
|
+
nodeErrors?: {
|
|
1335
|
+
nodeName: string;
|
|
1336
|
+
message?: string | undefined;
|
|
1337
|
+
}[] | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
executionId?: string | undefined;
|
|
1340
|
+
failureSignature?: string | undefined;
|
|
1341
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
1342
|
+
success: boolean;
|
|
1343
|
+
verifiedAt?: string | undefined;
|
|
1344
|
+
}[]> | undefined;
|
|
879
1345
|
verification?: {
|
|
880
1346
|
attempted: boolean;
|
|
881
1347
|
success: boolean;
|
|
882
1348
|
executionId?: string | undefined;
|
|
883
1349
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
884
1350
|
failureSignature?: string | undefined;
|
|
1351
|
+
claim?: {
|
|
1352
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1353
|
+
plannedNodeCount: number;
|
|
1354
|
+
reachedNodeCount: number;
|
|
1355
|
+
nodesNotReached: string[];
|
|
1356
|
+
simulatedNodes: {
|
|
1357
|
+
nodeName: string;
|
|
1358
|
+
reason: string;
|
|
1359
|
+
}[];
|
|
1360
|
+
pinnedNodes: string[];
|
|
1361
|
+
unprovenTargets: string[];
|
|
1362
|
+
pendingTriggers?: string[] | undefined;
|
|
1363
|
+
publishReady: boolean;
|
|
1364
|
+
liveTestRecommended: boolean;
|
|
1365
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1366
|
+
verifiedVersionId?: string | undefined;
|
|
1367
|
+
} | undefined;
|
|
885
1368
|
evidence?: {
|
|
886
1369
|
nodesExecuted?: string[] | undefined;
|
|
1370
|
+
triggerNodeName?: string | undefined;
|
|
887
1371
|
nodesNotReached?: string[] | undefined;
|
|
888
1372
|
producedOutputRows?: number | undefined;
|
|
889
1373
|
errorNodeName?: string | undefined;
|
|
@@ -917,6 +1401,7 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
917
1401
|
lastTaskId?: string | undefined;
|
|
918
1402
|
lastExecutionId?: string | undefined;
|
|
919
1403
|
lastFailureSignature?: string | undefined;
|
|
1404
|
+
lastFailedNodeName?: string | undefined;
|
|
920
1405
|
lastWorkflowInspection?: string | undefined;
|
|
921
1406
|
rebuildAttempts: number;
|
|
922
1407
|
mockedCredentialTypes?: string[] | undefined;
|
|
@@ -1046,15 +1531,78 @@ declare const workItemRecordSchema: z.ZodObject<{
|
|
|
1046
1531
|
remainingSubmitFixes?: number | undefined;
|
|
1047
1532
|
attemptCount?: number | undefined;
|
|
1048
1533
|
} | undefined;
|
|
1534
|
+
grouping?: {
|
|
1535
|
+
topLevelItemCount: number;
|
|
1536
|
+
ceiling: number;
|
|
1537
|
+
groupCount: number;
|
|
1538
|
+
droppedGroupCount: number;
|
|
1539
|
+
decision: "grouped" | "missing" | "not_warranted" | "under_ceiling";
|
|
1540
|
+
reason?: string | undefined;
|
|
1541
|
+
} | undefined;
|
|
1049
1542
|
verifyAttempts?: number | undefined;
|
|
1543
|
+
verificationProgress?: Record<string, {
|
|
1544
|
+
attempted: boolean;
|
|
1545
|
+
claim: {
|
|
1546
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1547
|
+
plannedNodeCount: number;
|
|
1548
|
+
reachedNodeCount: number;
|
|
1549
|
+
nodesNotReached: string[];
|
|
1550
|
+
simulatedNodes: {
|
|
1551
|
+
nodeName: string;
|
|
1552
|
+
reason: string;
|
|
1553
|
+
}[];
|
|
1554
|
+
pinnedNodes: string[];
|
|
1555
|
+
unprovenTargets: string[];
|
|
1556
|
+
pendingTriggers?: string[] | undefined;
|
|
1557
|
+
publishReady: boolean;
|
|
1558
|
+
liveTestRecommended: boolean;
|
|
1559
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1560
|
+
verifiedVersionId?: string | undefined;
|
|
1561
|
+
};
|
|
1562
|
+
evidence?: {
|
|
1563
|
+
nodesExecuted?: string[] | undefined;
|
|
1564
|
+
triggerNodeName?: string | undefined;
|
|
1565
|
+
nodesNotReached?: string[] | undefined;
|
|
1566
|
+
producedOutputRows?: number | undefined;
|
|
1567
|
+
errorNodeName?: string | undefined;
|
|
1568
|
+
errorMessage?: string | undefined;
|
|
1569
|
+
nodeErrors?: {
|
|
1570
|
+
nodeName: string;
|
|
1571
|
+
message?: string | undefined;
|
|
1572
|
+
}[] | undefined;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
executionId?: string | undefined;
|
|
1575
|
+
failureSignature?: string | undefined;
|
|
1576
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
1577
|
+
success: boolean;
|
|
1578
|
+
verifiedAt?: string | undefined;
|
|
1579
|
+
}[]> | undefined;
|
|
1050
1580
|
verification?: {
|
|
1051
1581
|
attempted: boolean;
|
|
1052
1582
|
success: boolean;
|
|
1053
1583
|
executionId?: string | undefined;
|
|
1054
1584
|
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
1055
1585
|
failureSignature?: string | undefined;
|
|
1586
|
+
claim?: {
|
|
1587
|
+
level: "failed" | "partial" | "unproven" | "verified";
|
|
1588
|
+
plannedNodeCount: number;
|
|
1589
|
+
reachedNodeCount: number;
|
|
1590
|
+
nodesNotReached: string[];
|
|
1591
|
+
simulatedNodes: {
|
|
1592
|
+
nodeName: string;
|
|
1593
|
+
reason: string;
|
|
1594
|
+
}[];
|
|
1595
|
+
pinnedNodes: string[];
|
|
1596
|
+
unprovenTargets: string[];
|
|
1597
|
+
pendingTriggers?: string[] | undefined;
|
|
1598
|
+
publishReady: boolean;
|
|
1599
|
+
liveTestRecommended: boolean;
|
|
1600
|
+
liveState?: "live-current" | "live-stale" | "unpublished" | undefined;
|
|
1601
|
+
verifiedVersionId?: string | undefined;
|
|
1602
|
+
} | undefined;
|
|
1056
1603
|
evidence?: {
|
|
1057
1604
|
nodesExecuted?: string[] | undefined;
|
|
1605
|
+
triggerNodeName?: string | undefined;
|
|
1058
1606
|
nodesNotReached?: string[] | undefined;
|
|
1059
1607
|
producedOutputRows?: number | undefined;
|
|
1060
1608
|
errorNodeName?: string | undefined;
|
|
@@ -1080,7 +1628,9 @@ export declare class WorkflowLoopStorage {
|
|
|
1080
1628
|
constructor(memory: PatchableThreadMemory);
|
|
1081
1629
|
getWorkItem(threadId: string, workItemId: string): Promise<WorkflowLoopWorkItemRecord | null>;
|
|
1082
1630
|
saveWorkItem(threadId: string, state: WorkflowLoopState, attempts: AttemptRecord[], lastBuildOutcome?: WorkflowBuildOutcome): Promise<void>;
|
|
1631
|
+
updateWorkItem(threadId: string, workItemId: string, update: (record: WorkflowLoopWorkItemRecord) => WorkflowLoopWorkItemRecord | null): Promise<boolean>;
|
|
1083
1632
|
getActiveWorkItem(threadId: string): Promise<WorkflowLoopWorkItemRecord | null>;
|
|
1633
|
+
updateBuildOutcome(threadId: string, workItemId: string, update: (outcome: WorkflowBuildOutcome) => WorkflowBuildOutcome): Promise<void>;
|
|
1084
1634
|
listWorkItems(threadId: string): Promise<WorkflowLoopWorkItemRecord[]>;
|
|
1085
1635
|
claimSetupRouting(threadId: string, workItemId: string, claim: WorkflowSetupRoutingClaim): Promise<WorkflowLoopWorkItemRecord | null>;
|
|
1086
1636
|
markSetupRouted(threadId: string, workItemId: string, claimId: string, routedAt: string): Promise<boolean>;
|