@n8n/instance-ai 1.15.2 → 1.16.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/README.md +1 -1
- package/dist/agent/apply-agent-thinking.js.map +1 -1
- package/dist/agent/computer-use-prompt.js.map +1 -1
- package/dist/agent/instance-agent.js.map +1 -1
- package/dist/agent/mcp-tool-name-validation.js.map +1 -1
- package/dist/agent/runtime-workspace.js.map +1 -1
- package/dist/agent/sanitize-mcp-schemas.js.map +1 -1
- package/dist/agent/shared-prompts.js +5 -3
- package/dist/agent/shared-prompts.js.map +1 -1
- package/dist/agent/sub-agent-briefing.js.map +1 -1
- package/dist/agent/sub-agent-debriefing.d.ts +14 -14
- package/dist/agent/sub-agent-debriefing.js.map +1 -1
- package/dist/agent/sub-agent-factory.js.map +1 -1
- package/dist/agent/system-prompt.js +29 -18
- 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/run-debug-buffer.js.map +1 -1
- package/dist/debug/sanitize-debug-snapshot.js.map +1 -1
- package/dist/domain-access/domain-access-tracker.js.map +1 -1
- package/dist/domain-access/domain-gating.d.ts +6 -6
- package/dist/domain-access/domain-gating.js.map +1 -1
- package/dist/error-formatting.js.map +1 -1
- package/dist/errors/workflow-save-conflict.error.d.ts +4 -0
- package/dist/errors/workflow-save-conflict.error.js +13 -0
- package/dist/errors/workflow-save-conflict.error.js.map +1 -0
- package/dist/event-bus/event-bus.interface.d.ts +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/knowledge-base/build-templates-index.js.map +1 -1
- package/dist/knowledge-base/extract-builder-templates-archive.js.map +1 -1
- package/dist/knowledge-base/materialize-knowledge-base.js.map +1 -1
- package/dist/mcp/mcp-client-manager.js.map +1 -1
- package/dist/memory/title-utils.js.map +1 -1
- package/dist/parsers/docx-parser.js +1 -34
- package/dist/parsers/docx-parser.js.map +1 -1
- package/dist/parsers/html-parser.js +2 -35
- package/dist/parsers/html-parser.js.map +1 -1
- package/dist/parsers/ooxml-guard.js.map +1 -1
- package/dist/parsers/pdf-parser.js +2 -35
- package/dist/parsers/pdf-parser.js.map +1 -1
- package/dist/parsers/structured-file-parser.js.map +1 -1
- package/dist/parsers/validate-attachments.js.map +1 -1
- package/dist/parsers/xlsx-parser.js +1 -34
- package/dist/parsers/xlsx-parser.js.map +1 -1
- package/dist/planned-tasks/planned-task-permissions.d.ts +2 -2
- package/dist/planned-tasks/planned-task-permissions.js.map +1 -1
- package/dist/planned-tasks/planned-task-service.js +0 -3
- package/dist/planned-tasks/planned-task-service.js.map +1 -1
- package/dist/runtime/background-task-manager.js.map +1 -1
- package/dist/runtime/liveness-policy.js.map +1 -1
- package/dist/runtime/memory-task-registry.js.map +1 -1
- package/dist/runtime/orchestrator-identity.js.map +1 -1
- package/dist/runtime/orchestrator-run-control.js.map +1 -1
- package/dist/runtime/resumable-stream-executor.js +12 -1
- package/dist/runtime/resumable-stream-executor.js.map +1 -1
- package/dist/runtime/run-state-registry.js.map +1 -1
- package/dist/runtime/stream-runner.js.map +1 -1
- package/dist/runtime/terminal-response-guard.js.map +1 -1
- package/dist/skills/materialize-runtime-skills.js.map +1 -1
- package/dist/skills/runtime-skills.js +5 -1
- package/dist/skills/runtime-skills.js.map +1 -1
- package/dist/source-map-filter.d.ts +1 -17
- package/dist/source-map-filter.js +1 -0
- package/dist/source-map-filter.js.map +1 -1
- package/dist/storage/iteration-log.js.map +1 -1
- package/dist/storage/planned-task-storage.js.map +1 -1
- package/dist/storage/terminal-outcome-storage.d.ts +10 -10
- package/dist/storage/terminal-outcome-storage.js.map +1 -1
- package/dist/storage/thread-iteration-log-storage.js.map +1 -1
- package/dist/storage/thread-patch.js.map +1 -1
- package/dist/storage/thread-task-storage.js.map +1 -1
- package/dist/storage/workflow-loop-storage.d.ts +246 -136
- package/dist/storage/workflow-loop-storage.js.map +1 -1
- package/dist/stream/consume-with-hitl.js.map +1 -1
- package/dist/stream/map-chunk.js +2 -0
- package/dist/stream/map-chunk.js.map +1 -1
- package/dist/stream/output-redaction.js.map +1 -1
- package/dist/stream/usage-accumulator.d.ts +12 -12
- package/dist/stream/usage-accumulator.js.map +1 -1
- package/dist/stream/work-summary-accumulator.d.ts +6 -6
- package/dist/stream/work-summary-accumulator.js.map +1 -1
- package/dist/tool-registry.js.map +1 -1
- package/dist/tools/attachments/parse-file.tool.d.ts +32 -32
- package/dist/tools/attachments/parse-file.tool.js.map +1 -1
- package/dist/tools/credentials.tool.d.ts +10 -7
- package/dist/tools/credentials.tool.js +41 -5
- package/dist/tools/credentials.tool.js.map +1 -1
- package/dist/tools/data-tables.tool.js.map +1 -1
- package/dist/tools/evals/analyze-agent-input-columns.service.js.map +1 -1
- package/dist/tools/evals/apply-pin-data.service.js.map +1 -1
- package/dist/tools/evals/column-ref-utils.js.map +1 -1
- package/dist/tools/evals/describe-metric-for-workflow.service.js.map +1 -1
- package/dist/tools/evals/detect-agent-named-refs.service.js.map +1 -1
- package/dist/tools/evals/detect-ai-nodes.js.map +1 -1
- package/dist/tools/evals/detect-tool-refs.service.js.map +1 -1
- package/dist/tools/evals/ensure-eval-data-table.service.js.map +1 -1
- package/dist/tools/evals/eval-config.tool.d.ts +4 -0
- package/dist/tools/evals/eval-config.tool.js +205 -0
- package/dist/tools/evals/eval-config.tool.js.map +1 -0
- package/dist/tools/evals/eval-data-requirements.service.js.map +1 -1
- package/dist/tools/evals/evals.tool.js +6 -1
- package/dist/tools/evals/evals.tool.js.map +1 -1
- package/dist/tools/evals/extract-rows-from-history.service.js.map +1 -1
- package/dist/tools/evals/format-eval-setup-task.js.map +1 -1
- package/dist/tools/evals/generate-sample-rows.service.js.map +1 -1
- package/dist/tools/evals/generate-tool-ref-pin-data.service.js.map +1 -1
- package/dist/tools/evals/metric-catalog.d.ts +1 -1
- package/dist/tools/evals/metric-catalog.js.map +1 -1
- package/dist/tools/executions.tool.js.map +1 -1
- package/dist/tools/filesystem/create-tools-from-mcp-server.js.map +1 -1
- package/dist/tools/index.js +13 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/n8n-docs/ranking.js.map +1 -1
- package/dist/tools/n8n-docs/registry.js.map +1 -1
- package/dist/tools/n8n-docs/schemas.d.ts +44 -44
- package/dist/tools/n8n-docs/schemas.js.map +1 -1
- package/dist/tools/n8n-docs.tool.js +1 -1
- package/dist/tools/n8n-docs.tool.js.map +1 -1
- package/dist/tools/nodes/node-search-engine.js.map +1 -1
- package/dist/tools/nodes/node-search-engine.types.d.ts +1 -1
- package/dist/tools/nodes/preferred-chat-model.js.map +1 -1
- package/dist/tools/nodes.tool.d.ts +21 -0
- package/dist/tools/nodes.tool.js +21 -13
- package/dist/tools/nodes.tool.js.map +1 -1
- package/dist/tools/orchestration/agent-persistence.js.map +1 -1
- package/dist/tools/orchestration/agent-target-binding.d.ts +19 -0
- package/dist/tools/orchestration/agent-target-binding.js +45 -0
- package/dist/tools/orchestration/agent-target-binding.js.map +1 -0
- package/dist/tools/orchestration/build-agent.tool.d.ts +2 -0
- package/dist/tools/orchestration/build-agent.tool.js +194 -0
- package/dist/tools/orchestration/build-agent.tool.js.map +1 -0
- package/dist/tools/orchestration/complete-checkpoint.tool.js.map +1 -1
- package/dist/tools/orchestration/display-utils.js.map +1 -1
- package/dist/tools/orchestration/eval-data-agent.tool.js.map +1 -1
- package/dist/tools/orchestration/eval-setup-agent.tool.js.map +1 -1
- package/dist/tools/orchestration/plan.tool.d.ts +2 -2
- package/dist/tools/orchestration/plan.tool.js +10 -7
- package/dist/tools/orchestration/plan.tool.js.map +1 -1
- package/dist/tools/orchestration/report-verification-verdict.tool.d.ts +12 -12
- package/dist/tools/orchestration/report-verification-verdict.tool.js.map +1 -1
- package/dist/tools/orchestration/tracing-utils.js.map +1 -1
- package/dist/tools/orchestration/verification/analyze-result.d.ts +4 -0
- package/dist/tools/orchestration/verification/analyze-result.js +17 -3
- package/dist/tools/orchestration/verification/analyze-result.js.map +1 -1
- package/dist/tools/orchestration/verification/finalize-result.js +4 -2
- package/dist/tools/orchestration/verification/finalize-result.js.map +1 -1
- package/dist/tools/orchestration/verification/prepare-run.js.map +1 -1
- package/dist/tools/orchestration/verification/reconcile-plan.d.ts +10 -0
- package/dist/tools/orchestration/verification/reconcile-plan.js +33 -0
- package/dist/tools/orchestration/verification/reconcile-plan.js.map +1 -0
- package/dist/tools/orchestration/verification/resolve-target.js.map +1 -1
- package/dist/tools/orchestration/verification/types.d.ts +2 -1
- package/dist/tools/orchestration/verify-built-workflow.tool.d.ts +6 -6
- package/dist/tools/orchestration/verify-built-workflow.tool.js +13 -2
- package/dist/tools/orchestration/verify-built-workflow.tool.js.map +1 -1
- package/dist/tools/research.tool.js +1 -34
- package/dist/tools/research.tool.js.map +1 -1
- package/dist/tools/shared/ask-user.tool.d.ts +4 -4
- package/dist/tools/shared/ask-user.tool.js.map +1 -1
- package/dist/tools/task-control.tool.js.map +1 -1
- package/dist/tools/templates.tool.d.ts +2 -0
- package/dist/tools/templates.tool.js +20 -0
- package/dist/tools/templates.tool.js.map +1 -0
- package/dist/tools/tool-ids.d.ts +25 -22
- package/dist/tools/tool-ids.js +6 -6
- package/dist/tools/tool-ids.js.map +1 -1
- package/dist/tools/web-research/sanitize-web-content.js.map +1 -1
- package/dist/tools/workflows/apply-workflow-credentials.tool.js +24 -7
- package/dist/tools/workflows/apply-workflow-credentials.tool.js.map +1 -1
- package/dist/tools/workflows/build-workflow.tool.d.ts +6 -6
- package/dist/tools/workflows/build-workflow.tool.js +63 -7
- package/dist/tools/workflows/build-workflow.tool.js.map +1 -1
- package/dist/tools/workflows/classify-node-destructiveness.service.js.map +1 -1
- package/dist/tools/workflows/credential-url-resolver.js.map +1 -1
- package/dist/tools/workflows/credential-utils.d.ts +4 -4
- package/dist/tools/workflows/credential-utils.js +2 -1
- package/dist/tools/workflows/credential-utils.js.map +1 -1
- package/dist/tools/workflows/detect-array-input-collapse.js.map +1 -1
- package/dist/tools/workflows/detect-wrong-kind-locator.js.map +1 -1
- package/dist/tools/workflows/generate-simulation-fixtures.service.js.map +1 -1
- package/dist/tools/workflows/materialize-node-type.tool.d.ts +4 -4
- package/dist/tools/workflows/materialize-node-type.tool.js.map +1 -1
- package/dist/tools/workflows/plan-verification-simulation.js.map +1 -1
- package/dist/tools/workflows/reconcile-simulation-plan.d.ts +9 -0
- package/dist/tools/workflows/reconcile-simulation-plan.js +70 -0
- package/dist/tools/workflows/reconcile-simulation-plan.js.map +1 -0
- package/dist/tools/workflows/resolve-credentials.d.ts +4 -0
- package/dist/tools/workflows/resolve-credentials.js +86 -4
- package/dist/tools/workflows/resolve-credentials.js.map +1 -1
- package/dist/tools/workflows/resolved-credential.schema.d.ts +30 -0
- package/dist/tools/workflows/resolved-credential.schema.js +18 -0
- package/dist/tools/workflows/resolved-credential.schema.js.map +1 -0
- package/dist/tools/workflows/setup-workflow.schema.d.ts +46 -46
- package/dist/tools/workflows/setup-workflow.service.js +109 -19
- package/dist/tools/workflows/setup-workflow.service.js.map +1 -1
- package/dist/tools/workflows/summarize-workflow.js +1 -34
- package/dist/tools/workflows/summarize-workflow.js.map +1 -1
- package/dist/tools/workflows/validate-workflow.service.js +79 -4
- package/dist/tools/workflows/validate-workflow.service.js.map +1 -1
- package/dist/tools/workflows/workflow-build-context.js.map +1 -1
- package/dist/tools/workflows/workflow-build-remediation.d.ts +1 -0
- package/dist/tools/workflows/workflow-build-remediation.js +11 -0
- package/dist/tools/workflows/workflow-build-remediation.js.map +1 -1
- package/dist/tools/workflows/workflow-build-reporting.js.map +1 -1
- package/dist/tools/workflows/workflow-build-routing.js.map +1 -1
- package/dist/tools/workflows/workflow-build-telemetry.d.ts +1 -1
- package/dist/tools/workflows/workflow-build-telemetry.js.map +1 -1
- package/dist/tools/workflows/workflow-file-bindings.d.ts +9 -0
- package/dist/tools/workflows/workflow-file-bindings.js +50 -0
- package/dist/tools/workflows/workflow-file-bindings.js.map +1 -1
- package/dist/tools/workflows/workflow-json-utils.js.map +1 -1
- package/dist/tools/workflows/workflow-source-compiler.js.map +1 -1
- package/dist/tools/workflows/workflow-validation-warnings.js.map +1 -1
- package/dist/tools/workflows/write-sandbox-file.tool.d.ts +2 -2
- package/dist/tools/workflows/write-sandbox-file.tool.js.map +1 -1
- package/dist/tools/workflows.tool.js +14 -34
- package/dist/tools/workflows.tool.js.map +1 -1
- package/dist/tools/workspace.tool.js.map +1 -1
- package/dist/tracing/langsmith-tracing.js.map +1 -1
- package/dist/tracing/trace-labels.js.map +1 -1
- package/dist/tracing/trace-payloads.js.map +1 -1
- package/dist/tracing/trace-replay.js.map +1 -1
- package/dist/types.d.ts +104 -7
- package/dist/types.js +7 -3
- package/dist/types.js.map +1 -1
- package/dist/utils/agent-feature-enabled.d.ts +1 -0
- package/dist/utils/agent-feature-enabled.js +12 -0
- package/dist/utils/agent-feature-enabled.js.map +1 -0
- package/dist/utils/agent-tree.js.map +1 -1
- package/dist/utils/eval-agents.d.ts +1 -1
- package/dist/utils/eval-agents.js.map +1 -1
- package/dist/utils/format-timestamp.js.map +1 -1
- package/dist/utils/generate-validated-json.js.map +1 -1
- package/dist/utils/stream-helpers.js.map +1 -1
- package/dist/workflow-builder/build-failure-tracker.js.map +1 -1
- package/dist/workflow-loop/guidance.js.map +1 -1
- package/dist/workflow-loop/remediation.js.map +1 -1
- package/dist/workflow-loop/runtime.js.map +1 -1
- package/dist/workflow-loop/setup-verification-policy.js.map +1 -1
- package/dist/workflow-loop/verification-obligation.js.map +1 -1
- package/dist/workflow-loop/workflow-loop-controller.js.map +1 -1
- package/dist/workflow-loop/workflow-loop-state.d.ts +319 -167
- package/dist/workflow-loop/workflow-loop-state.js +8 -1
- package/dist/workflow-loop/workflow-loop-state.js.map +1 -1
- package/dist/workflow-loop/workflow-task-service.js.map +1 -1
- package/dist/workspace/builder-templates-service.js.map +1 -1
- package/dist/workspace/compute-workspace-content-hash.js.map +1 -1
- package/dist/workspace/create-workspace.js.map +1 -1
- package/dist/workspace/lazy-runtime-workspace.d.ts +1 -0
- package/dist/workspace/lazy-runtime-workspace.js +12 -1
- package/dist/workspace/lazy-runtime-workspace.js.map +1 -1
- package/dist/workspace/pack-workspace-sdk.js.map +1 -1
- package/dist/workspace/prebaked-workspace-bundle.js.map +1 -1
- package/dist/workspace/sandbox-fs.js.map +1 -1
- package/dist/workspace/sandbox-setup.js.map +1 -1
- package/dist/workspace/scoped-workspace.js.map +1 -1
- package/dist/workspace/snapshot-image-context.js.map +1 -1
- package/dist/workspace/snapshot-manager.js.map +1 -1
- package/dist/workspace/template-telemetry.js.map +1 -1
- package/dist/workspace/workspace-file-content.js.map +1 -1
- package/dist/workspace/workspace-files.js.map +1 -1
- package/dist/workspace/workspace-manifest.js.map +1 -1
- package/dist/workspace/workspace-paths.js.map +1 -1
- package/package.json +13 -10
- package/skills/credential-setup-with-computer-use/SKILL.md +3 -2
- package/skills/data-table-manager/SKILL.md +3 -3
- package/skills/intent-recognition/SKILL.md +269 -0
- package/skills/n8n-docs-assistant/SKILL.md +6 -3
- package/skills/planned-task-runtime/SKILL.md +12 -14
- package/skills/planning/SKILL.md +12 -11
- package/skills/post-build-flow/SKILL.md +9 -0
- package/skills/workflow-builder/SKILL.md +55 -3
- package/skills/workflow-builder/references/compositional-workflows.md +1 -2
- package/dist/tools/orchestration/delegate.schemas.d.ts +0 -44
- package/dist/tools/orchestration/delegate.schemas.js +0 -46
- package/dist/tools/orchestration/delegate.schemas.js.map +0 -1
- package/dist/tools/orchestration/delegate.tool.d.ts +0 -18
- package/dist/tools/orchestration/delegate.tool.js +0 -334
- package/dist/tools/orchestration/delegate.tool.js.map +0 -1
|
@@ -114,13 +114,14 @@ export declare const workflowLoopStateSchema: z.ZodObject<{
|
|
|
114
114
|
setupRoutingClaimedAt: z.ZodOptional<z.ZodString>;
|
|
115
115
|
setupRoutingClaimExpiresAt: z.ZodOptional<z.ZodString>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
status: "blocked" | "active" | "completed";
|
|
118
|
-
threadId: string;
|
|
119
|
-
source: "create" | "modify";
|
|
120
117
|
workItemId: string;
|
|
121
|
-
|
|
122
|
-
rebuildAttempts: number;
|
|
118
|
+
threadId: string;
|
|
123
119
|
runId?: string | undefined;
|
|
120
|
+
workflowId?: string | undefined;
|
|
121
|
+
sourceFilePath?: string | undefined;
|
|
122
|
+
phase: "blocked" | "building" | "done" | "repairing" | "verifying";
|
|
123
|
+
status: "active" | "blocked" | "completed";
|
|
124
|
+
source: "create" | "modify";
|
|
124
125
|
owner?: {
|
|
125
126
|
type: "direct";
|
|
126
127
|
} | {
|
|
@@ -128,12 +129,11 @@ export declare const workflowLoopStateSchema: z.ZodObject<{
|
|
|
128
129
|
taskId: string;
|
|
129
130
|
} | undefined;
|
|
130
131
|
plannedTaskId?: string | undefined;
|
|
131
|
-
workflowId?: string | undefined;
|
|
132
|
-
sourceFilePath?: string | undefined;
|
|
133
132
|
lastTaskId?: string | undefined;
|
|
134
133
|
lastExecutionId?: string | undefined;
|
|
135
134
|
lastFailureSignature?: string | undefined;
|
|
136
135
|
lastWorkflowInspection?: string | undefined;
|
|
136
|
+
rebuildAttempts: number;
|
|
137
137
|
mockedCredentialTypes?: string[] | undefined;
|
|
138
138
|
hasUnresolvedPlaceholders?: boolean | undefined;
|
|
139
139
|
successfulSubmitSeen?: boolean | undefined;
|
|
@@ -152,13 +152,14 @@ export declare const workflowLoopStateSchema: z.ZodObject<{
|
|
|
152
152
|
setupRoutingClaimedAt?: string | undefined;
|
|
153
153
|
setupRoutingClaimExpiresAt?: string | undefined;
|
|
154
154
|
}, {
|
|
155
|
-
status: "blocked" | "active" | "completed";
|
|
156
|
-
threadId: string;
|
|
157
|
-
source: "create" | "modify";
|
|
158
155
|
workItemId: string;
|
|
159
|
-
|
|
160
|
-
rebuildAttempts: number;
|
|
156
|
+
threadId: string;
|
|
161
157
|
runId?: string | undefined;
|
|
158
|
+
workflowId?: string | undefined;
|
|
159
|
+
sourceFilePath?: string | undefined;
|
|
160
|
+
phase: "blocked" | "building" | "done" | "repairing" | "verifying";
|
|
161
|
+
status: "active" | "blocked" | "completed";
|
|
162
|
+
source: "create" | "modify";
|
|
162
163
|
owner?: {
|
|
163
164
|
type: "direct";
|
|
164
165
|
} | {
|
|
@@ -166,12 +167,11 @@ export declare const workflowLoopStateSchema: z.ZodObject<{
|
|
|
166
167
|
taskId: string;
|
|
167
168
|
} | undefined;
|
|
168
169
|
plannedTaskId?: string | undefined;
|
|
169
|
-
workflowId?: string | undefined;
|
|
170
|
-
sourceFilePath?: string | undefined;
|
|
171
170
|
lastTaskId?: string | undefined;
|
|
172
171
|
lastExecutionId?: string | undefined;
|
|
173
172
|
lastFailureSignature?: string | undefined;
|
|
174
173
|
lastWorkflowInspection?: string | undefined;
|
|
174
|
+
rebuildAttempts: number;
|
|
175
175
|
mockedCredentialTypes?: string[] | undefined;
|
|
176
176
|
hasUnresolvedPlaceholders?: boolean | undefined;
|
|
177
177
|
successfulSubmitSeen?: boolean | undefined;
|
|
@@ -213,42 +213,52 @@ export declare const attemptRecordSchema: z.ZodObject<{
|
|
|
213
213
|
remediationGuidance: z.ZodOptional<z.ZodString>;
|
|
214
214
|
createdAt: z.ZodString;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
attempt: number;
|
|
217
|
-
action: "patch" | "build" | "verify" | "rebuild";
|
|
218
|
-
result: "success" | "blocked" | "failure";
|
|
219
216
|
workItemId: string;
|
|
220
|
-
phase: "
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
217
|
+
phase: "blocked" | "building" | "done" | "repairing" | "verifying";
|
|
218
|
+
attempt: number;
|
|
219
|
+
action: "build" | "patch" | "rebuild" | "verify";
|
|
220
|
+
result: "blocked" | "failure" | "success";
|
|
224
221
|
workflowId?: string | undefined;
|
|
225
222
|
executionId?: string | undefined;
|
|
226
223
|
failureSignature?: string | undefined;
|
|
227
224
|
workflowInspection?: string | undefined;
|
|
225
|
+
diagnosis?: string | undefined;
|
|
226
|
+
fixApplied?: string | undefined;
|
|
228
227
|
remediationCategory?: "blocked" | "code_fixable" | "needs_setup" | undefined;
|
|
229
228
|
remediationShouldEdit?: boolean | undefined;
|
|
230
229
|
remediationGuidance?: string | undefined;
|
|
230
|
+
createdAt: string;
|
|
231
231
|
}, {
|
|
232
|
-
attempt: number;
|
|
233
|
-
action: "patch" | "build" | "verify" | "rebuild";
|
|
234
|
-
result: "success" | "blocked" | "failure";
|
|
235
232
|
workItemId: string;
|
|
236
|
-
phase: "
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
233
|
+
phase: "blocked" | "building" | "done" | "repairing" | "verifying";
|
|
234
|
+
attempt: number;
|
|
235
|
+
action: "build" | "patch" | "rebuild" | "verify";
|
|
236
|
+
result: "blocked" | "failure" | "success";
|
|
240
237
|
workflowId?: string | undefined;
|
|
241
238
|
executionId?: string | undefined;
|
|
242
239
|
failureSignature?: string | undefined;
|
|
243
240
|
workflowInspection?: string | undefined;
|
|
241
|
+
diagnosis?: string | undefined;
|
|
242
|
+
fixApplied?: string | undefined;
|
|
244
243
|
remediationCategory?: "blocked" | "code_fixable" | "needs_setup" | undefined;
|
|
245
244
|
remediationShouldEdit?: boolean | undefined;
|
|
246
245
|
remediationGuidance?: string | undefined;
|
|
246
|
+
createdAt: string;
|
|
247
247
|
}>;
|
|
248
248
|
export type AttemptAction = z.infer<typeof attemptActionSchema>;
|
|
249
249
|
export type AttemptResult = z.infer<typeof attemptResultSchema>;
|
|
250
250
|
export type AttemptRecord = z.infer<typeof attemptRecordSchema>;
|
|
251
251
|
export declare const triggerTypeSchema: z.ZodEnum<["manual_or_testable", "trigger_only"]>;
|
|
252
|
+
export declare const executionNodeErrorSchema: z.ZodObject<{
|
|
253
|
+
nodeName: z.ZodString;
|
|
254
|
+
message: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
nodeName: string;
|
|
257
|
+
message?: string | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
nodeName: string;
|
|
260
|
+
message?: string | undefined;
|
|
261
|
+
}>;
|
|
252
262
|
export declare const workflowVerificationEvidenceSchema: z.ZodObject<{
|
|
253
263
|
attempted: z.ZodBoolean;
|
|
254
264
|
success: z.ZodBoolean;
|
|
@@ -261,25 +271,43 @@ export declare const workflowVerificationEvidenceSchema: z.ZodObject<{
|
|
|
261
271
|
producedOutputRows: z.ZodOptional<z.ZodNumber>;
|
|
262
272
|
errorNodeName: z.ZodOptional<z.ZodString>;
|
|
263
273
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
274
|
+
nodeErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
|
+
nodeName: z.ZodString;
|
|
276
|
+
message: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
nodeName: string;
|
|
279
|
+
message?: string | undefined;
|
|
280
|
+
}, {
|
|
281
|
+
nodeName: string;
|
|
282
|
+
message?: string | undefined;
|
|
283
|
+
}>, "many">>;
|
|
264
284
|
}, "strip", z.ZodTypeAny, {
|
|
265
285
|
nodesExecuted?: string[] | undefined;
|
|
266
286
|
nodesNotReached?: string[] | undefined;
|
|
267
287
|
producedOutputRows?: number | undefined;
|
|
268
288
|
errorNodeName?: string | undefined;
|
|
269
289
|
errorMessage?: string | undefined;
|
|
290
|
+
nodeErrors?: {
|
|
291
|
+
nodeName: string;
|
|
292
|
+
message?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
270
294
|
}, {
|
|
271
295
|
nodesExecuted?: string[] | undefined;
|
|
272
296
|
nodesNotReached?: string[] | undefined;
|
|
273
297
|
producedOutputRows?: number | undefined;
|
|
274
298
|
errorNodeName?: string | undefined;
|
|
275
299
|
errorMessage?: string | undefined;
|
|
300
|
+
nodeErrors?: {
|
|
301
|
+
nodeName: string;
|
|
302
|
+
message?: string | undefined;
|
|
303
|
+
}[] | undefined;
|
|
276
304
|
}>>;
|
|
277
305
|
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
278
306
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
success: boolean;
|
|
280
307
|
attempted: boolean;
|
|
281
|
-
|
|
308
|
+
success: boolean;
|
|
282
309
|
executionId?: string | undefined;
|
|
310
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
283
311
|
failureSignature?: string | undefined;
|
|
284
312
|
evidence?: {
|
|
285
313
|
nodesExecuted?: string[] | undefined;
|
|
@@ -287,13 +315,17 @@ export declare const workflowVerificationEvidenceSchema: z.ZodObject<{
|
|
|
287
315
|
producedOutputRows?: number | undefined;
|
|
288
316
|
errorNodeName?: string | undefined;
|
|
289
317
|
errorMessage?: string | undefined;
|
|
318
|
+
nodeErrors?: {
|
|
319
|
+
nodeName: string;
|
|
320
|
+
message?: string | undefined;
|
|
321
|
+
}[] | undefined;
|
|
290
322
|
} | undefined;
|
|
291
323
|
verifiedAt?: string | undefined;
|
|
292
324
|
}, {
|
|
293
|
-
success: boolean;
|
|
294
325
|
attempted: boolean;
|
|
295
|
-
|
|
326
|
+
success: boolean;
|
|
296
327
|
executionId?: string | undefined;
|
|
328
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
297
329
|
failureSignature?: string | undefined;
|
|
298
330
|
evidence?: {
|
|
299
331
|
nodesExecuted?: string[] | undefined;
|
|
@@ -301,6 +333,10 @@ export declare const workflowVerificationEvidenceSchema: z.ZodObject<{
|
|
|
301
333
|
producedOutputRows?: number | undefined;
|
|
302
334
|
errorNodeName?: string | undefined;
|
|
303
335
|
errorMessage?: string | undefined;
|
|
336
|
+
nodeErrors?: {
|
|
337
|
+
nodeName: string;
|
|
338
|
+
message?: string | undefined;
|
|
339
|
+
}[] | undefined;
|
|
304
340
|
} | undefined;
|
|
305
341
|
verifiedAt?: string | undefined;
|
|
306
342
|
}>;
|
|
@@ -323,11 +359,11 @@ export declare const workflowVerificationReadinessSchema: z.ZodDiscriminatedUnio
|
|
|
323
359
|
guidance: z.ZodString;
|
|
324
360
|
}, "strip", z.ZodTypeAny, {
|
|
325
361
|
status: "needs_setup";
|
|
326
|
-
reason: "
|
|
362
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
327
363
|
guidance: string;
|
|
328
364
|
}, {
|
|
329
365
|
status: "needs_setup";
|
|
330
|
-
reason: "
|
|
366
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
331
367
|
guidance: string;
|
|
332
368
|
}>, z.ZodObject<{
|
|
333
369
|
status: z.ZodLiteral<"not_verifiable">;
|
|
@@ -335,11 +371,11 @@ export declare const workflowVerificationReadinessSchema: z.ZodDiscriminatedUnio
|
|
|
335
371
|
guidance: z.ZodString;
|
|
336
372
|
}, "strip", z.ZodTypeAny, {
|
|
337
373
|
status: "not_verifiable";
|
|
338
|
-
reason: "
|
|
374
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
339
375
|
guidance: string;
|
|
340
376
|
}, {
|
|
341
377
|
status: "not_verifiable";
|
|
342
|
-
reason: "
|
|
378
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
343
379
|
guidance: string;
|
|
344
380
|
}>]>;
|
|
345
381
|
export type WorkflowVerificationReadiness = z.infer<typeof workflowVerificationReadinessSchema>;
|
|
@@ -355,11 +391,11 @@ export declare const workflowSetupRequirementSchema: z.ZodDiscriminatedUnion<"st
|
|
|
355
391
|
guidance: z.ZodString;
|
|
356
392
|
}, "strip", z.ZodTypeAny, {
|
|
357
393
|
status: "required";
|
|
358
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
394
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
359
395
|
guidance: string;
|
|
360
396
|
}, {
|
|
361
397
|
status: "required";
|
|
362
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
398
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
363
399
|
guidance: string;
|
|
364
400
|
}>]>;
|
|
365
401
|
export type WorkflowSetupRequirement = z.infer<typeof workflowSetupRequirementSchema>;
|
|
@@ -381,17 +417,17 @@ export declare const nodeSimulationVerdictSchema: z.ZodObject<{
|
|
|
381
417
|
confidence: z.ZodEnum<["high", "low"]>;
|
|
382
418
|
source: z.ZodEnum<["deterministic", "llm", "fallback"]>;
|
|
383
419
|
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
source: "deterministic" | "llm" | "fallback";
|
|
385
|
-
reason: string;
|
|
386
420
|
nodeName: string;
|
|
387
421
|
verdict: "execute" | "simulate";
|
|
388
|
-
confidence: "low" | "high";
|
|
389
|
-
}, {
|
|
390
|
-
source: "deterministic" | "llm" | "fallback";
|
|
391
422
|
reason: string;
|
|
423
|
+
confidence: "high" | "low";
|
|
424
|
+
source: "deterministic" | "fallback" | "llm";
|
|
425
|
+
}, {
|
|
392
426
|
nodeName: string;
|
|
393
427
|
verdict: "execute" | "simulate";
|
|
394
|
-
|
|
428
|
+
reason: string;
|
|
429
|
+
confidence: "high" | "low";
|
|
430
|
+
source: "deterministic" | "fallback" | "llm";
|
|
395
431
|
}>;
|
|
396
432
|
export type NodeSimulationVerdict = z.infer<typeof nodeSimulationVerdictSchema>;
|
|
397
433
|
export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
@@ -435,6 +471,34 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
435
471
|
mockedNodeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
436
472
|
mockedCredentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
437
473
|
mockedCredentialsByNode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
474
|
+
resolvedCredentialsByNode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
475
|
+
type: z.ZodString;
|
|
476
|
+
id: z.ZodString;
|
|
477
|
+
name: z.ZodString;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
type: string;
|
|
480
|
+
id: string;
|
|
481
|
+
name: string;
|
|
482
|
+
}, {
|
|
483
|
+
type: string;
|
|
484
|
+
id: string;
|
|
485
|
+
name: string;
|
|
486
|
+
}>, z.ZodObject<{
|
|
487
|
+
type: z.ZodString;
|
|
488
|
+
id: z.ZodNull;
|
|
489
|
+
name: z.ZodString;
|
|
490
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
type: string;
|
|
493
|
+
id: null;
|
|
494
|
+
name: string;
|
|
495
|
+
__aiGatewayManaged: true;
|
|
496
|
+
}, {
|
|
497
|
+
type: string;
|
|
498
|
+
id: null;
|
|
499
|
+
name: string;
|
|
500
|
+
__aiGatewayManaged: true;
|
|
501
|
+
}>]>, "many">>>;
|
|
438
502
|
verificationPinData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>>;
|
|
439
503
|
usesWorkflowPinDataForVerification: z.ZodOptional<z.ZodBoolean>;
|
|
440
504
|
nodeSimulationPlan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -444,17 +508,17 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
444
508
|
confidence: z.ZodEnum<["high", "low"]>;
|
|
445
509
|
source: z.ZodEnum<["deterministic", "llm", "fallback"]>;
|
|
446
510
|
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
source: "deterministic" | "llm" | "fallback";
|
|
448
|
-
reason: string;
|
|
449
511
|
nodeName: string;
|
|
450
512
|
verdict: "execute" | "simulate";
|
|
451
|
-
confidence: "low" | "high";
|
|
452
|
-
}, {
|
|
453
|
-
source: "deterministic" | "llm" | "fallback";
|
|
454
513
|
reason: string;
|
|
514
|
+
confidence: "high" | "low";
|
|
515
|
+
source: "deterministic" | "fallback" | "llm";
|
|
516
|
+
}, {
|
|
455
517
|
nodeName: string;
|
|
456
518
|
verdict: "execute" | "simulate";
|
|
457
|
-
|
|
519
|
+
reason: string;
|
|
520
|
+
confidence: "high" | "low";
|
|
521
|
+
source: "deterministic" | "fallback" | "llm";
|
|
458
522
|
}>, "many">>;
|
|
459
523
|
simulationFixtures: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>>;
|
|
460
524
|
supportingWorkflowIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -477,11 +541,11 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
477
541
|
guidance: z.ZodString;
|
|
478
542
|
}, "strip", z.ZodTypeAny, {
|
|
479
543
|
status: "needs_setup";
|
|
480
|
-
reason: "
|
|
544
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
481
545
|
guidance: string;
|
|
482
546
|
}, {
|
|
483
547
|
status: "needs_setup";
|
|
484
|
-
reason: "
|
|
548
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
485
549
|
guidance: string;
|
|
486
550
|
}>, z.ZodObject<{
|
|
487
551
|
status: z.ZodLiteral<"not_verifiable">;
|
|
@@ -489,11 +553,11 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
489
553
|
guidance: z.ZodString;
|
|
490
554
|
}, "strip", z.ZodTypeAny, {
|
|
491
555
|
status: "not_verifiable";
|
|
492
|
-
reason: "
|
|
556
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
493
557
|
guidance: string;
|
|
494
558
|
}, {
|
|
495
559
|
status: "not_verifiable";
|
|
496
|
-
reason: "
|
|
560
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
497
561
|
guidance: string;
|
|
498
562
|
}>]>>;
|
|
499
563
|
setupRequirement: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -508,11 +572,11 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
508
572
|
guidance: z.ZodString;
|
|
509
573
|
}, "strip", z.ZodTypeAny, {
|
|
510
574
|
status: "required";
|
|
511
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
575
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
512
576
|
guidance: string;
|
|
513
577
|
}, {
|
|
514
578
|
status: "required";
|
|
515
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
579
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
516
580
|
guidance: string;
|
|
517
581
|
}>]>>;
|
|
518
582
|
remediation: z.ZodOptional<z.ZodObject<{
|
|
@@ -550,25 +614,43 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
550
614
|
producedOutputRows: z.ZodOptional<z.ZodNumber>;
|
|
551
615
|
errorNodeName: z.ZodOptional<z.ZodString>;
|
|
552
616
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
617
|
+
nodeErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
|
+
nodeName: z.ZodString;
|
|
619
|
+
message: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, "strip", z.ZodTypeAny, {
|
|
621
|
+
nodeName: string;
|
|
622
|
+
message?: string | undefined;
|
|
623
|
+
}, {
|
|
624
|
+
nodeName: string;
|
|
625
|
+
message?: string | undefined;
|
|
626
|
+
}>, "many">>;
|
|
553
627
|
}, "strip", z.ZodTypeAny, {
|
|
554
628
|
nodesExecuted?: string[] | undefined;
|
|
555
629
|
nodesNotReached?: string[] | undefined;
|
|
556
630
|
producedOutputRows?: number | undefined;
|
|
557
631
|
errorNodeName?: string | undefined;
|
|
558
632
|
errorMessage?: string | undefined;
|
|
633
|
+
nodeErrors?: {
|
|
634
|
+
nodeName: string;
|
|
635
|
+
message?: string | undefined;
|
|
636
|
+
}[] | undefined;
|
|
559
637
|
}, {
|
|
560
638
|
nodesExecuted?: string[] | undefined;
|
|
561
639
|
nodesNotReached?: string[] | undefined;
|
|
562
640
|
producedOutputRows?: number | undefined;
|
|
563
641
|
errorNodeName?: string | undefined;
|
|
564
642
|
errorMessage?: string | undefined;
|
|
643
|
+
nodeErrors?: {
|
|
644
|
+
nodeName: string;
|
|
645
|
+
message?: string | undefined;
|
|
646
|
+
}[] | undefined;
|
|
565
647
|
}>>;
|
|
566
648
|
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
567
649
|
}, "strip", z.ZodTypeAny, {
|
|
568
|
-
success: boolean;
|
|
569
650
|
attempted: boolean;
|
|
570
|
-
|
|
651
|
+
success: boolean;
|
|
571
652
|
executionId?: string | undefined;
|
|
653
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
572
654
|
failureSignature?: string | undefined;
|
|
573
655
|
evidence?: {
|
|
574
656
|
nodesExecuted?: string[] | undefined;
|
|
@@ -576,13 +658,17 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
576
658
|
producedOutputRows?: number | undefined;
|
|
577
659
|
errorNodeName?: string | undefined;
|
|
578
660
|
errorMessage?: string | undefined;
|
|
661
|
+
nodeErrors?: {
|
|
662
|
+
nodeName: string;
|
|
663
|
+
message?: string | undefined;
|
|
664
|
+
}[] | undefined;
|
|
579
665
|
} | undefined;
|
|
580
666
|
verifiedAt?: string | undefined;
|
|
581
667
|
}, {
|
|
582
|
-
success: boolean;
|
|
583
668
|
attempted: boolean;
|
|
584
|
-
|
|
669
|
+
success: boolean;
|
|
585
670
|
executionId?: string | undefined;
|
|
671
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
586
672
|
failureSignature?: string | undefined;
|
|
587
673
|
evidence?: {
|
|
588
674
|
nodesExecuted?: string[] | undefined;
|
|
@@ -590,18 +676,18 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
590
676
|
producedOutputRows?: number | undefined;
|
|
591
677
|
errorNodeName?: string | undefined;
|
|
592
678
|
errorMessage?: string | undefined;
|
|
679
|
+
nodeErrors?: {
|
|
680
|
+
nodeName: string;
|
|
681
|
+
message?: string | undefined;
|
|
682
|
+
}[] | undefined;
|
|
593
683
|
} | undefined;
|
|
594
684
|
verifiedAt?: string | undefined;
|
|
595
685
|
}>>;
|
|
596
686
|
summary: z.ZodString;
|
|
597
687
|
}, "strip", z.ZodTypeAny, {
|
|
598
|
-
taskId: string;
|
|
599
688
|
workItemId: string;
|
|
600
|
-
submitted: boolean;
|
|
601
|
-
triggerType: "manual_or_testable" | "trigger_only";
|
|
602
|
-
needsUserInput: boolean;
|
|
603
|
-
summary: string;
|
|
604
689
|
runId?: string | undefined;
|
|
690
|
+
taskId: string;
|
|
605
691
|
owner?: {
|
|
606
692
|
type: "direct";
|
|
607
693
|
} | {
|
|
@@ -611,45 +697,58 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
611
697
|
plannedTaskId?: string | undefined;
|
|
612
698
|
workflowId?: string | undefined;
|
|
613
699
|
sourceFilePath?: string | undefined;
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
failureSignature?: string | undefined;
|
|
700
|
+
submitted: boolean;
|
|
701
|
+
triggerType: "manual_or_testable" | "trigger_only";
|
|
617
702
|
triggerNodes?: {
|
|
618
703
|
nodeName: string;
|
|
619
704
|
nodeType: string;
|
|
620
705
|
}[] | undefined;
|
|
706
|
+
needsUserInput: boolean;
|
|
621
707
|
blockingReason?: string | undefined;
|
|
708
|
+
failureSignature?: string | undefined;
|
|
622
709
|
mockedNodeNames?: string[] | undefined;
|
|
710
|
+
mockedCredentialTypes?: string[] | undefined;
|
|
623
711
|
mockedCredentialsByNode?: Record<string, string[]> | undefined;
|
|
712
|
+
resolvedCredentialsByNode?: Record<string, ({
|
|
713
|
+
type: string;
|
|
714
|
+
id: string;
|
|
715
|
+
name: string;
|
|
716
|
+
} | {
|
|
717
|
+
type: string;
|
|
718
|
+
id: null;
|
|
719
|
+
name: string;
|
|
720
|
+
__aiGatewayManaged: true;
|
|
721
|
+
})[]> | undefined;
|
|
624
722
|
verificationPinData?: Record<string, Record<string, unknown>[]> | undefined;
|
|
625
723
|
usesWorkflowPinDataForVerification?: boolean | undefined;
|
|
626
724
|
nodeSimulationPlan?: {
|
|
627
|
-
source: "deterministic" | "llm" | "fallback";
|
|
628
|
-
reason: string;
|
|
629
725
|
nodeName: string;
|
|
630
726
|
verdict: "execute" | "simulate";
|
|
631
|
-
|
|
727
|
+
reason: string;
|
|
728
|
+
confidence: "high" | "low";
|
|
729
|
+
source: "deterministic" | "fallback" | "llm";
|
|
632
730
|
}[] | undefined;
|
|
633
731
|
simulationFixtures?: Record<string, Record<string, unknown>[]> | undefined;
|
|
634
732
|
supportingWorkflowIds?: string[] | undefined;
|
|
733
|
+
hasUnresolvedPlaceholders?: boolean | undefined;
|
|
635
734
|
verificationReadiness?: {
|
|
636
735
|
status: "ready";
|
|
637
736
|
} | {
|
|
638
737
|
status: "already_verified";
|
|
639
738
|
} | {
|
|
640
739
|
status: "needs_setup";
|
|
641
|
-
reason: "
|
|
740
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
642
741
|
guidance: string;
|
|
643
742
|
} | {
|
|
644
743
|
status: "not_verifiable";
|
|
645
|
-
reason: "
|
|
744
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
646
745
|
guidance: string;
|
|
647
746
|
} | undefined;
|
|
648
747
|
setupRequirement?: {
|
|
649
748
|
status: "not_required";
|
|
650
749
|
} | {
|
|
651
750
|
status: "required";
|
|
652
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
751
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
653
752
|
guidance: string;
|
|
654
753
|
} | undefined;
|
|
655
754
|
remediation?: {
|
|
@@ -662,10 +761,10 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
662
761
|
} | undefined;
|
|
663
762
|
verifyAttempts?: number | undefined;
|
|
664
763
|
verification?: {
|
|
665
|
-
success: boolean;
|
|
666
764
|
attempted: boolean;
|
|
667
|
-
|
|
765
|
+
success: boolean;
|
|
668
766
|
executionId?: string | undefined;
|
|
767
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
669
768
|
failureSignature?: string | undefined;
|
|
670
769
|
evidence?: {
|
|
671
770
|
nodesExecuted?: string[] | undefined;
|
|
@@ -673,17 +772,18 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
673
772
|
producedOutputRows?: number | undefined;
|
|
674
773
|
errorNodeName?: string | undefined;
|
|
675
774
|
errorMessage?: string | undefined;
|
|
775
|
+
nodeErrors?: {
|
|
776
|
+
nodeName: string;
|
|
777
|
+
message?: string | undefined;
|
|
778
|
+
}[] | undefined;
|
|
676
779
|
} | undefined;
|
|
677
780
|
verifiedAt?: string | undefined;
|
|
678
781
|
} | undefined;
|
|
782
|
+
summary: string;
|
|
679
783
|
}, {
|
|
680
|
-
taskId: string;
|
|
681
784
|
workItemId: string;
|
|
682
|
-
submitted: boolean;
|
|
683
|
-
triggerType: "manual_or_testable" | "trigger_only";
|
|
684
|
-
needsUserInput: boolean;
|
|
685
|
-
summary: string;
|
|
686
785
|
runId?: string | undefined;
|
|
786
|
+
taskId: string;
|
|
687
787
|
owner?: {
|
|
688
788
|
type: "direct";
|
|
689
789
|
} | {
|
|
@@ -693,45 +793,58 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
693
793
|
plannedTaskId?: string | undefined;
|
|
694
794
|
workflowId?: string | undefined;
|
|
695
795
|
sourceFilePath?: string | undefined;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
failureSignature?: string | undefined;
|
|
796
|
+
submitted: boolean;
|
|
797
|
+
triggerType: "manual_or_testable" | "trigger_only";
|
|
699
798
|
triggerNodes?: {
|
|
700
799
|
nodeName: string;
|
|
701
800
|
nodeType: string;
|
|
702
801
|
}[] | undefined;
|
|
802
|
+
needsUserInput: boolean;
|
|
703
803
|
blockingReason?: string | undefined;
|
|
804
|
+
failureSignature?: string | undefined;
|
|
704
805
|
mockedNodeNames?: string[] | undefined;
|
|
806
|
+
mockedCredentialTypes?: string[] | undefined;
|
|
705
807
|
mockedCredentialsByNode?: Record<string, string[]> | undefined;
|
|
808
|
+
resolvedCredentialsByNode?: Record<string, ({
|
|
809
|
+
type: string;
|
|
810
|
+
id: string;
|
|
811
|
+
name: string;
|
|
812
|
+
} | {
|
|
813
|
+
type: string;
|
|
814
|
+
id: null;
|
|
815
|
+
name: string;
|
|
816
|
+
__aiGatewayManaged: true;
|
|
817
|
+
})[]> | undefined;
|
|
706
818
|
verificationPinData?: Record<string, Record<string, unknown>[]> | undefined;
|
|
707
819
|
usesWorkflowPinDataForVerification?: boolean | undefined;
|
|
708
820
|
nodeSimulationPlan?: {
|
|
709
|
-
source: "deterministic" | "llm" | "fallback";
|
|
710
|
-
reason: string;
|
|
711
821
|
nodeName: string;
|
|
712
822
|
verdict: "execute" | "simulate";
|
|
713
|
-
|
|
823
|
+
reason: string;
|
|
824
|
+
confidence: "high" | "low";
|
|
825
|
+
source: "deterministic" | "fallback" | "llm";
|
|
714
826
|
}[] | undefined;
|
|
715
827
|
simulationFixtures?: Record<string, Record<string, unknown>[]> | undefined;
|
|
716
828
|
supportingWorkflowIds?: string[] | undefined;
|
|
829
|
+
hasUnresolvedPlaceholders?: boolean | undefined;
|
|
717
830
|
verificationReadiness?: {
|
|
718
831
|
status: "ready";
|
|
719
832
|
} | {
|
|
720
833
|
status: "already_verified";
|
|
721
834
|
} | {
|
|
722
835
|
status: "needs_setup";
|
|
723
|
-
reason: "
|
|
836
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
724
837
|
guidance: string;
|
|
725
838
|
} | {
|
|
726
839
|
status: "not_verifiable";
|
|
727
|
-
reason: "
|
|
840
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
728
841
|
guidance: string;
|
|
729
842
|
} | undefined;
|
|
730
843
|
setupRequirement?: {
|
|
731
844
|
status: "not_required";
|
|
732
845
|
} | {
|
|
733
846
|
status: "required";
|
|
734
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
847
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
735
848
|
guidance: string;
|
|
736
849
|
} | undefined;
|
|
737
850
|
remediation?: {
|
|
@@ -744,10 +857,10 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
744
857
|
} | undefined;
|
|
745
858
|
verifyAttempts?: number | undefined;
|
|
746
859
|
verification?: {
|
|
747
|
-
success: boolean;
|
|
748
860
|
attempted: boolean;
|
|
749
|
-
|
|
861
|
+
success: boolean;
|
|
750
862
|
executionId?: string | undefined;
|
|
863
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
751
864
|
failureSignature?: string | undefined;
|
|
752
865
|
evidence?: {
|
|
753
866
|
nodesExecuted?: string[] | undefined;
|
|
@@ -755,9 +868,14 @@ export declare const workflowBuildOutcomeSchema: z.ZodObject<{
|
|
|
755
868
|
producedOutputRows?: number | undefined;
|
|
756
869
|
errorNodeName?: string | undefined;
|
|
757
870
|
errorMessage?: string | undefined;
|
|
871
|
+
nodeErrors?: {
|
|
872
|
+
nodeName: string;
|
|
873
|
+
message?: string | undefined;
|
|
874
|
+
}[] | undefined;
|
|
758
875
|
} | undefined;
|
|
759
876
|
verifiedAt?: string | undefined;
|
|
760
877
|
} | undefined;
|
|
878
|
+
summary: string;
|
|
761
879
|
}>;
|
|
762
880
|
export type TriggerType = z.infer<typeof triggerTypeSchema>;
|
|
763
881
|
export type WorkflowBuildOutcome = z.infer<typeof workflowBuildOutcomeSchema>;
|
|
@@ -808,11 +926,11 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
808
926
|
guidance: z.ZodString;
|
|
809
927
|
}, "strip", z.ZodTypeAny, {
|
|
810
928
|
status: "needs_setup";
|
|
811
|
-
reason: "
|
|
929
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
812
930
|
guidance: string;
|
|
813
931
|
}, {
|
|
814
932
|
status: "needs_setup";
|
|
815
|
-
reason: "
|
|
933
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
816
934
|
guidance: string;
|
|
817
935
|
}>, z.ZodObject<{
|
|
818
936
|
status: z.ZodLiteral<"not_verifiable">;
|
|
@@ -820,11 +938,11 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
820
938
|
guidance: z.ZodString;
|
|
821
939
|
}, "strip", z.ZodTypeAny, {
|
|
822
940
|
status: "not_verifiable";
|
|
823
|
-
reason: "
|
|
941
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
824
942
|
guidance: string;
|
|
825
943
|
}, {
|
|
826
944
|
status: "not_verifiable";
|
|
827
|
-
reason: "
|
|
945
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
828
946
|
guidance: string;
|
|
829
947
|
}>]>>;
|
|
830
948
|
setupRequirement: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -839,11 +957,11 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
839
957
|
guidance: z.ZodString;
|
|
840
958
|
}, "strip", z.ZodTypeAny, {
|
|
841
959
|
status: "required";
|
|
842
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
960
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
843
961
|
guidance: string;
|
|
844
962
|
}, {
|
|
845
963
|
status: "required";
|
|
846
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup"
|
|
964
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
847
965
|
guidance: string;
|
|
848
966
|
}>]>>;
|
|
849
967
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
@@ -858,25 +976,43 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
858
976
|
producedOutputRows: z.ZodOptional<z.ZodNumber>;
|
|
859
977
|
errorNodeName: z.ZodOptional<z.ZodString>;
|
|
860
978
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
979
|
+
nodeErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
980
|
+
nodeName: z.ZodString;
|
|
981
|
+
message: z.ZodOptional<z.ZodString>;
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
nodeName: string;
|
|
984
|
+
message?: string | undefined;
|
|
985
|
+
}, {
|
|
986
|
+
nodeName: string;
|
|
987
|
+
message?: string | undefined;
|
|
988
|
+
}>, "many">>;
|
|
861
989
|
}, "strip", z.ZodTypeAny, {
|
|
862
990
|
nodesExecuted?: string[] | undefined;
|
|
863
991
|
nodesNotReached?: string[] | undefined;
|
|
864
992
|
producedOutputRows?: number | undefined;
|
|
865
993
|
errorNodeName?: string | undefined;
|
|
866
994
|
errorMessage?: string | undefined;
|
|
995
|
+
nodeErrors?: {
|
|
996
|
+
nodeName: string;
|
|
997
|
+
message?: string | undefined;
|
|
998
|
+
}[] | undefined;
|
|
867
999
|
}, {
|
|
868
1000
|
nodesExecuted?: string[] | undefined;
|
|
869
1001
|
nodesNotReached?: string[] | undefined;
|
|
870
1002
|
producedOutputRows?: number | undefined;
|
|
871
1003
|
errorNodeName?: string | undefined;
|
|
872
1004
|
errorMessage?: string | undefined;
|
|
1005
|
+
nodeErrors?: {
|
|
1006
|
+
nodeName: string;
|
|
1007
|
+
message?: string | undefined;
|
|
1008
|
+
}[] | undefined;
|
|
873
1009
|
}>>;
|
|
874
1010
|
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
875
1011
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
success: boolean;
|
|
877
1012
|
attempted: boolean;
|
|
878
|
-
|
|
1013
|
+
success: boolean;
|
|
879
1014
|
executionId?: string | undefined;
|
|
1015
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
880
1016
|
failureSignature?: string | undefined;
|
|
881
1017
|
evidence?: {
|
|
882
1018
|
nodesExecuted?: string[] | undefined;
|
|
@@ -884,13 +1020,17 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
884
1020
|
producedOutputRows?: number | undefined;
|
|
885
1021
|
errorNodeName?: string | undefined;
|
|
886
1022
|
errorMessage?: string | undefined;
|
|
1023
|
+
nodeErrors?: {
|
|
1024
|
+
nodeName: string;
|
|
1025
|
+
message?: string | undefined;
|
|
1026
|
+
}[] | undefined;
|
|
887
1027
|
} | undefined;
|
|
888
1028
|
verifiedAt?: string | undefined;
|
|
889
1029
|
}, {
|
|
890
|
-
success: boolean;
|
|
891
1030
|
attempted: boolean;
|
|
892
|
-
|
|
1031
|
+
success: boolean;
|
|
893
1032
|
executionId?: string | undefined;
|
|
1033
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
894
1034
|
failureSignature?: string | undefined;
|
|
895
1035
|
evidence?: {
|
|
896
1036
|
nodesExecuted?: string[] | undefined;
|
|
@@ -898,18 +1038,18 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
898
1038
|
producedOutputRows?: number | undefined;
|
|
899
1039
|
errorNodeName?: string | undefined;
|
|
900
1040
|
errorMessage?: string | undefined;
|
|
1041
|
+
nodeErrors?: {
|
|
1042
|
+
nodeName: string;
|
|
1043
|
+
message?: string | undefined;
|
|
1044
|
+
}[] | undefined;
|
|
901
1045
|
} | undefined;
|
|
902
1046
|
verifiedAt?: string | undefined;
|
|
903
1047
|
}>>;
|
|
904
1048
|
blockingReason: z.ZodOptional<z.ZodString>;
|
|
905
1049
|
updatedAt: z.ZodString;
|
|
906
1050
|
}, "strip", z.ZodTypeAny, {
|
|
907
|
-
status: "verifying" | "blocked" | "needs_setup" | "not_verifiable" | "pending_build" | "ready_to_verify" | "verified";
|
|
908
|
-
threadId: string;
|
|
909
|
-
source: "direct" | "planned";
|
|
910
1051
|
workItemId: string;
|
|
911
|
-
|
|
912
|
-
updatedAt: string;
|
|
1052
|
+
threadId: string;
|
|
913
1053
|
runId?: string | undefined;
|
|
914
1054
|
taskId?: string | undefined;
|
|
915
1055
|
owner?: {
|
|
@@ -920,11 +1060,34 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
920
1060
|
} | undefined;
|
|
921
1061
|
plannedTaskId?: string | undefined;
|
|
922
1062
|
workflowId?: string | undefined;
|
|
1063
|
+
source: "direct" | "planned";
|
|
1064
|
+
policy: "best_effort" | "manual" | "required";
|
|
1065
|
+
status: "blocked" | "needs_setup" | "not_verifiable" | "pending_build" | "ready_to_verify" | "verified" | "verifying";
|
|
1066
|
+
readiness?: {
|
|
1067
|
+
status: "ready";
|
|
1068
|
+
} | {
|
|
1069
|
+
status: "already_verified";
|
|
1070
|
+
} | {
|
|
1071
|
+
status: "needs_setup";
|
|
1072
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
1073
|
+
guidance: string;
|
|
1074
|
+
} | {
|
|
1075
|
+
status: "not_verifiable";
|
|
1076
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
1077
|
+
guidance: string;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
setupRequirement?: {
|
|
1080
|
+
status: "not_required";
|
|
1081
|
+
} | {
|
|
1082
|
+
status: "required";
|
|
1083
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
1084
|
+
guidance: string;
|
|
1085
|
+
} | undefined;
|
|
923
1086
|
evidence?: {
|
|
924
|
-
success: boolean;
|
|
925
1087
|
attempted: boolean;
|
|
926
|
-
|
|
1088
|
+
success: boolean;
|
|
927
1089
|
executionId?: string | undefined;
|
|
1090
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
928
1091
|
failureSignature?: string | undefined;
|
|
929
1092
|
evidence?: {
|
|
930
1093
|
nodesExecuted?: string[] | undefined;
|
|
@@ -932,52 +1095,56 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
932
1095
|
producedOutputRows?: number | undefined;
|
|
933
1096
|
errorNodeName?: string | undefined;
|
|
934
1097
|
errorMessage?: string | undefined;
|
|
1098
|
+
nodeErrors?: {
|
|
1099
|
+
nodeName: string;
|
|
1100
|
+
message?: string | undefined;
|
|
1101
|
+
}[] | undefined;
|
|
935
1102
|
} | undefined;
|
|
936
1103
|
verifiedAt?: string | undefined;
|
|
937
1104
|
} | undefined;
|
|
938
1105
|
blockingReason?: string | undefined;
|
|
939
|
-
|
|
940
|
-
|
|
1106
|
+
updatedAt: string;
|
|
1107
|
+
}, {
|
|
1108
|
+
workItemId: string;
|
|
1109
|
+
threadId: string;
|
|
1110
|
+
runId?: string | undefined;
|
|
1111
|
+
taskId?: string | undefined;
|
|
1112
|
+
owner?: {
|
|
1113
|
+
type: "direct";
|
|
941
1114
|
} | {
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
guidance: string;
|
|
1115
|
+
type: "planned";
|
|
1116
|
+
taskId: string;
|
|
945
1117
|
} | undefined;
|
|
1118
|
+
plannedTaskId?: string | undefined;
|
|
1119
|
+
workflowId?: string | undefined;
|
|
1120
|
+
source: "direct" | "planned";
|
|
1121
|
+
policy: "best_effort" | "manual" | "required";
|
|
1122
|
+
status: "blocked" | "needs_setup" | "not_verifiable" | "pending_build" | "ready_to_verify" | "verified" | "verifying";
|
|
946
1123
|
readiness?: {
|
|
947
1124
|
status: "ready";
|
|
948
1125
|
} | {
|
|
949
1126
|
status: "already_verified";
|
|
950
1127
|
} | {
|
|
951
1128
|
status: "needs_setup";
|
|
952
|
-
reason: "
|
|
1129
|
+
reason: "missing-mocked-credential-pin-data" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
953
1130
|
guidance: string;
|
|
954
1131
|
} | {
|
|
955
1132
|
status: "not_verifiable";
|
|
956
|
-
reason: "
|
|
1133
|
+
reason: "missing-workflow-id" | "non-mockable-trigger" | "not-submitted";
|
|
957
1134
|
guidance: string;
|
|
958
1135
|
} | undefined;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
threadId: string;
|
|
962
|
-
source: "direct" | "planned";
|
|
963
|
-
workItemId: string;
|
|
964
|
-
policy: "required" | "best_effort" | "manual";
|
|
965
|
-
updatedAt: string;
|
|
966
|
-
runId?: string | undefined;
|
|
967
|
-
taskId?: string | undefined;
|
|
968
|
-
owner?: {
|
|
969
|
-
type: "direct";
|
|
1136
|
+
setupRequirement?: {
|
|
1137
|
+
status: "not_required";
|
|
970
1138
|
} | {
|
|
971
|
-
|
|
972
|
-
|
|
1139
|
+
status: "required";
|
|
1140
|
+
reason: "mocked-credentials" | "unresolved-placeholders" | "workflow-needs-setup";
|
|
1141
|
+
guidance: string;
|
|
973
1142
|
} | undefined;
|
|
974
|
-
plannedTaskId?: string | undefined;
|
|
975
|
-
workflowId?: string | undefined;
|
|
976
1143
|
evidence?: {
|
|
977
|
-
success: boolean;
|
|
978
1144
|
attempted: boolean;
|
|
979
|
-
|
|
1145
|
+
success: boolean;
|
|
980
1146
|
executionId?: string | undefined;
|
|
1147
|
+
status?: "error" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
981
1148
|
failureSignature?: string | undefined;
|
|
982
1149
|
evidence?: {
|
|
983
1150
|
nodesExecuted?: string[] | undefined;
|
|
@@ -985,30 +1152,15 @@ export declare const workflowVerificationObligationSchema: z.ZodObject<{
|
|
|
985
1152
|
producedOutputRows?: number | undefined;
|
|
986
1153
|
errorNodeName?: string | undefined;
|
|
987
1154
|
errorMessage?: string | undefined;
|
|
1155
|
+
nodeErrors?: {
|
|
1156
|
+
nodeName: string;
|
|
1157
|
+
message?: string | undefined;
|
|
1158
|
+
}[] | undefined;
|
|
988
1159
|
} | undefined;
|
|
989
1160
|
verifiedAt?: string | undefined;
|
|
990
1161
|
} | undefined;
|
|
991
1162
|
blockingReason?: string | undefined;
|
|
992
|
-
|
|
993
|
-
status: "not_required";
|
|
994
|
-
} | {
|
|
995
|
-
status: "required";
|
|
996
|
-
reason: "unresolved-placeholders" | "workflow-needs-setup" | "mocked-credentials";
|
|
997
|
-
guidance: string;
|
|
998
|
-
} | undefined;
|
|
999
|
-
readiness?: {
|
|
1000
|
-
status: "ready";
|
|
1001
|
-
} | {
|
|
1002
|
-
status: "already_verified";
|
|
1003
|
-
} | {
|
|
1004
|
-
status: "needs_setup";
|
|
1005
|
-
reason: "unresolved-placeholders" | "missing-mocked-credential-pin-data" | "workflow-needs-setup";
|
|
1006
|
-
guidance: string;
|
|
1007
|
-
} | {
|
|
1008
|
-
status: "not_verifiable";
|
|
1009
|
-
reason: "not-submitted" | "missing-workflow-id" | "non-mockable-trigger";
|
|
1010
|
-
guidance: string;
|
|
1011
|
-
} | undefined;
|
|
1163
|
+
updatedAt: string;
|
|
1012
1164
|
}>;
|
|
1013
1165
|
export type WorkflowVerificationObligationStatus = z.infer<typeof workflowVerificationObligationStatusSchema>;
|
|
1014
1166
|
export type WorkflowVerificationObligationPolicy = z.infer<typeof workflowVerificationObligationPolicySchema>;
|
|
@@ -1051,15 +1203,15 @@ export declare const verificationResultSchema: z.ZodObject<{
|
|
|
1051
1203
|
summary: z.ZodString;
|
|
1052
1204
|
}, "strip", z.ZodTypeAny, {
|
|
1053
1205
|
workItemId: string;
|
|
1054
|
-
workflowId: string;
|
|
1055
|
-
verdict: "trigger_only" | "verified" | "needs_patch" | "needs_rebuild" | "needs_user_input" | "failed_terminal";
|
|
1056
|
-
summary: string;
|
|
1057
|
-
patch?: Record<string, unknown> | undefined;
|
|
1058
1206
|
runId?: string | undefined;
|
|
1059
|
-
|
|
1207
|
+
workflowId: string;
|
|
1060
1208
|
executionId?: string | undefined;
|
|
1061
|
-
|
|
1209
|
+
verdict: "failed_terminal" | "needs_patch" | "needs_rebuild" | "needs_user_input" | "trigger_only" | "verified";
|
|
1062
1210
|
workflowInspection?: string | undefined;
|
|
1211
|
+
failureSignature?: string | undefined;
|
|
1212
|
+
failedNodeName?: string | undefined;
|
|
1213
|
+
diagnosis?: string | undefined;
|
|
1214
|
+
patch?: Record<string, unknown> | undefined;
|
|
1063
1215
|
remediation?: {
|
|
1064
1216
|
category: "blocked" | "code_fixable" | "needs_setup";
|
|
1065
1217
|
shouldEdit: boolean;
|
|
@@ -1068,18 +1220,18 @@ export declare const verificationResultSchema: z.ZodObject<{
|
|
|
1068
1220
|
remainingSubmitFixes?: number | undefined;
|
|
1069
1221
|
attemptCount?: number | undefined;
|
|
1070
1222
|
} | undefined;
|
|
1071
|
-
|
|
1223
|
+
summary: string;
|
|
1072
1224
|
}, {
|
|
1073
1225
|
workItemId: string;
|
|
1074
|
-
workflowId: string;
|
|
1075
|
-
verdict: "trigger_only" | "verified" | "needs_patch" | "needs_rebuild" | "needs_user_input" | "failed_terminal";
|
|
1076
|
-
summary: string;
|
|
1077
|
-
patch?: Record<string, unknown> | undefined;
|
|
1078
1226
|
runId?: string | undefined;
|
|
1079
|
-
|
|
1227
|
+
workflowId: string;
|
|
1080
1228
|
executionId?: string | undefined;
|
|
1081
|
-
|
|
1229
|
+
verdict: "failed_terminal" | "needs_patch" | "needs_rebuild" | "needs_user_input" | "trigger_only" | "verified";
|
|
1082
1230
|
workflowInspection?: string | undefined;
|
|
1231
|
+
failureSignature?: string | undefined;
|
|
1232
|
+
failedNodeName?: string | undefined;
|
|
1233
|
+
diagnosis?: string | undefined;
|
|
1234
|
+
patch?: Record<string, unknown> | undefined;
|
|
1083
1235
|
remediation?: {
|
|
1084
1236
|
category: "blocked" | "code_fixable" | "needs_setup";
|
|
1085
1237
|
shouldEdit: boolean;
|
|
@@ -1088,7 +1240,7 @@ export declare const verificationResultSchema: z.ZodObject<{
|
|
|
1088
1240
|
remainingSubmitFixes?: number | undefined;
|
|
1089
1241
|
attemptCount?: number | undefined;
|
|
1090
1242
|
} | undefined;
|
|
1091
|
-
|
|
1243
|
+
summary: string;
|
|
1092
1244
|
}>;
|
|
1093
1245
|
export type VerificationVerdict = z.infer<typeof verificationVerdictSchema>;
|
|
1094
1246
|
export type VerificationResult = z.infer<typeof verificationResultSchema>;
|