@exaudeus/workrail 1.5.0 → 1.5.2
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/dist/application/services/workflow-compiler.js +14 -2
- package/dist/infrastructure/session/HttpServer.js +7 -2
- package/dist/infrastructure/session/SessionManager.d.ts +12 -4
- package/dist/infrastructure/session/SessionManager.js +30 -15
- package/dist/manifest.json +417 -217
- package/dist/mcp/error-mapper.d.ts +1 -1
- package/dist/mcp/error-mapper.js +12 -8
- package/dist/mcp/handler-factory.js +8 -1
- package/dist/mcp/handlers/session.js +36 -58
- package/dist/mcp/handlers/v2-advance-core/event-builders.d.ts +37 -0
- package/dist/mcp/handlers/v2-advance-core/event-builders.js +114 -0
- package/dist/mcp/handlers/v2-advance-core/index.d.ts +67 -0
- package/dist/mcp/handlers/v2-advance-core/index.js +119 -0
- package/dist/mcp/handlers/v2-advance-core/input-validation.d.ts +44 -0
- package/dist/mcp/handlers/v2-advance-core/input-validation.js +58 -0
- package/dist/mcp/handlers/v2-advance-core/outcome-blocked.d.ts +16 -0
- package/dist/mcp/handlers/v2-advance-core/outcome-blocked.js +64 -0
- package/dist/mcp/handlers/v2-advance-core/outcome-success.d.ts +15 -0
- package/dist/mcp/handlers/v2-advance-core/outcome-success.js +136 -0
- package/dist/mcp/handlers/v2-advance-core.d.ts +3 -45
- package/dist/mcp/handlers/v2-advance-core.js +3 -431
- package/dist/mcp/handlers/v2-advance-events.d.ts +61 -0
- package/dist/mcp/handlers/v2-advance-events.js +126 -0
- package/dist/mcp/handlers/v2-checkpoint.js +11 -14
- package/dist/mcp/handlers/v2-context-budget.js +2 -2
- package/dist/mcp/handlers/v2-error-mapping.d.ts +3 -3
- package/dist/mcp/handlers/v2-error-mapping.js +31 -27
- package/dist/mcp/handlers/v2-execution/advance.d.ts +32 -0
- package/dist/mcp/handlers/v2-execution/advance.js +50 -0
- package/dist/mcp/handlers/v2-execution/continue-advance.d.ts +29 -0
- package/dist/mcp/handlers/v2-execution/continue-advance.js +167 -0
- package/dist/mcp/handlers/v2-execution/continue-rehydrate.d.ts +22 -0
- package/dist/mcp/handlers/v2-execution/continue-rehydrate.js +145 -0
- package/dist/mcp/handlers/v2-execution/index.d.ts +31 -0
- package/dist/mcp/handlers/v2-execution/index.js +102 -0
- package/dist/mcp/handlers/v2-execution/replay.d.ts +55 -0
- package/dist/mcp/handlers/v2-execution/replay.js +225 -0
- package/dist/mcp/handlers/v2-execution/start.d.ts +52 -0
- package/dist/mcp/handlers/v2-execution/start.js +331 -0
- package/dist/mcp/handlers/v2-execution-helpers.d.ts +26 -2
- package/dist/mcp/handlers/v2-execution-helpers.js +76 -60
- package/dist/mcp/handlers/v2-execution.d.ts +1 -23
- package/dist/mcp/handlers/v2-execution.js +5 -898
- package/dist/mcp/handlers/v2-state-conversion.d.ts +0 -5
- package/dist/mcp/handlers/v2-state-conversion.js +2 -21
- package/dist/mcp/handlers/v2-token-ops.d.ts +1 -1
- package/dist/mcp/handlers/v2-workflow.js +85 -78
- package/dist/mcp/output-schemas.d.ts +197 -34
- package/dist/mcp/output-schemas.js +12 -5
- package/dist/mcp/tool-descriptions.js +22 -16
- package/dist/mcp/types.d.ts +10 -0
- package/dist/mcp/types.js +10 -0
- package/dist/mcp/v2/tools.d.ts +45 -7
- package/dist/mcp/v2/tools.js +7 -3
- package/dist/types/workflow-definition.d.ts +3 -2
- package/dist/v2/durable-core/canonical/jcs.js +8 -1
- package/dist/v2/durable-core/constants.d.ts +60 -0
- package/dist/v2/durable-core/constants.js +55 -1
- package/dist/v2/durable-core/domain/ack-advance-append-plan.d.ts +14 -13
- package/dist/v2/durable-core/domain/ack-advance-append-plan.js +143 -116
- package/dist/v2/durable-core/domain/blocked-node-builder.js +9 -3
- package/dist/v2/durable-core/domain/blocking-decision.d.ts +2 -0
- package/dist/v2/durable-core/domain/blocking-decision.js +29 -12
- package/dist/v2/durable-core/domain/bundle-builder.d.ts +1 -0
- package/dist/v2/durable-core/domain/bundle-builder.js +1 -1
- package/dist/v2/durable-core/domain/bundle-validator.js +3 -2
- package/dist/v2/durable-core/domain/decision-trace-builder.js +7 -9
- package/dist/v2/durable-core/domain/function-definition-expander.js +1 -3
- package/dist/v2/durable-core/domain/gap-builder.js +2 -1
- package/dist/v2/durable-core/domain/observation-builder.js +2 -1
- package/dist/v2/durable-core/domain/outputs.d.ts +2 -1
- package/dist/v2/durable-core/domain/outputs.js +3 -2
- package/dist/v2/durable-core/domain/reason-model.d.ts +1 -1
- package/dist/v2/durable-core/domain/reason-model.js +4 -9
- package/dist/v2/durable-core/domain/validation-criteria-validator.js +2 -2
- package/dist/v2/durable-core/domain/validation-event-builder.js +4 -6
- package/dist/v2/durable-core/domain/validation-loader.js +2 -1
- package/dist/v2/durable-core/domain/validation-requirements-extractor.js +12 -18
- package/dist/v2/durable-core/encoding/base32-lower.d.ts +13 -1
- package/dist/v2/durable-core/encoding/base32-lower.js +13 -3
- package/dist/v2/durable-core/encoding/hex-to-bytes.d.ts +6 -0
- package/dist/v2/durable-core/encoding/hex-to-bytes.js +19 -0
- package/dist/v2/durable-core/ids/attempt-id-derivation.d.ts +6 -1
- package/dist/v2/durable-core/ids/attempt-id-derivation.js +9 -19
- package/dist/v2/durable-core/ids/event-ids.d.ts +9 -0
- package/dist/v2/durable-core/ids/event-ids.js +18 -0
- package/dist/v2/durable-core/ids/index.d.ts +13 -33
- package/dist/v2/durable-core/ids/index.js +22 -63
- package/dist/v2/durable-core/ids/session-ids.d.ts +9 -0
- package/dist/v2/durable-core/ids/session-ids.js +18 -0
- package/dist/v2/durable-core/ids/snapshot-ids.d.ts +6 -0
- package/dist/v2/durable-core/ids/snapshot-ids.js +10 -0
- package/dist/v2/durable-core/ids/token-ids.d.ts +3 -0
- package/dist/v2/durable-core/ids/token-ids.js +6 -0
- package/dist/v2/durable-core/ids/workflow-hash-ref.d.ts +3 -0
- package/dist/v2/durable-core/ids/workflow-hash-ref.js +5 -4
- package/dist/v2/durable-core/ids/workflow-ids.d.ts +11 -0
- package/dist/v2/durable-core/ids/workflow-ids.js +21 -0
- package/dist/v2/durable-core/lib/utf8-byte-length.d.ts +1 -0
- package/dist/v2/durable-core/lib/utf8-byte-length.js +6 -0
- package/dist/v2/durable-core/schemas/artifacts/loop-control.d.ts +6 -6
- package/dist/v2/durable-core/schemas/artifacts/loop-control.js +2 -1
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +28 -28
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.js +5 -7
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +296 -296
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +466 -471
- package/dist/v2/durable-core/schemas/export-bundle/index.js +0 -8
- package/dist/v2/durable-core/schemas/lib/dedupe-key.d.ts +9 -1
- package/dist/v2/durable-core/schemas/lib/dedupe-key.js +4 -3
- package/dist/v2/durable-core/schemas/lib/utf8-byte-length.d.ts +1 -0
- package/dist/v2/durable-core/schemas/lib/utf8-byte-length.js +6 -0
- package/dist/v2/durable-core/schemas/session/blockers.d.ts +305 -0
- package/dist/v2/durable-core/schemas/session/blockers.js +80 -0
- package/dist/v2/durable-core/schemas/session/dag-topology.d.ts +77 -0
- package/dist/v2/durable-core/schemas/session/dag-topology.js +45 -0
- package/dist/v2/durable-core/schemas/session/events.d.ts +56 -56
- package/dist/v2/durable-core/schemas/session/events.js +11 -182
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +211 -0
- package/dist/v2/durable-core/schemas/session/gaps.js +37 -0
- package/dist/v2/durable-core/schemas/session/outputs.d.ts +148 -0
- package/dist/v2/durable-core/schemas/session/outputs.js +44 -0
- package/dist/v2/durable-core/schemas/session/validation-event.js +5 -7
- package/dist/v2/durable-core/tokens/token-codec.d.ts +1 -18
- package/dist/v2/durable-core/tokens/token-codec.js +0 -67
- package/dist/v2/durable-core/tokens/token-signer.d.ts +1 -8
- package/dist/v2/durable-core/tokens/token-signer.js +0 -43
- package/dist/v2/infra/local/base32/index.js +1 -23
- package/dist/v2/infra/local/bech32m/index.js +1 -1
- package/dist/v2/infra/local/data-dir/index.d.ts +7 -6
- package/dist/v2/infra/local/data-dir/index.js +3 -3
- package/dist/v2/infra/local/directory-listing/index.d.ts +2 -2
- package/dist/v2/infra/local/session-store/index.js +198 -182
- package/dist/v2/infra/local/session-summary-provider/index.js +5 -2
- package/dist/v2/infra/local/snapshot-store/index.js +2 -2
- package/dist/v2/ports/data-dir.port.d.ts +7 -6
- package/dist/v2/ports/fs.port.d.ts +18 -7
- package/dist/v2/ports/session-event-log-store.port.d.ts +5 -2
- package/dist/v2/projections/advance-outcomes.d.ts +1 -7
- package/dist/v2/projections/advance-outcomes.js +2 -1
- package/dist/v2/projections/artifacts.js +3 -2
- package/dist/v2/projections/capabilities.d.ts +1 -7
- package/dist/v2/projections/capabilities.js +2 -1
- package/dist/v2/projections/gaps.d.ts +1 -7
- package/dist/v2/projections/gaps.js +2 -1
- package/dist/v2/projections/node-outputs.d.ts +1 -7
- package/dist/v2/projections/node-outputs.js +4 -3
- package/dist/v2/projections/preferences.d.ts +1 -7
- package/dist/v2/projections/preferences.js +2 -1
- package/dist/v2/projections/projection-error.d.ts +7 -0
- package/dist/v2/projections/projection-error.js +2 -0
- package/dist/v2/projections/resume-ranking.js +3 -3
- package/dist/v2/projections/run-context.d.ts +1 -7
- package/dist/v2/projections/run-context.js +4 -2
- package/dist/v2/projections/run-dag.d.ts +9 -9
- package/dist/v2/projections/run-dag.js +88 -65
- package/dist/v2/projections/run-status-signals.d.ts +1 -7
- package/dist/v2/projections/run-status-signals.js +3 -2
- package/dist/v2/usecases/execution-session-gate.js +2 -5
- package/dist/v2/usecases/export-session.js +4 -2
- package/dist/v2/usecases/import-session.d.ts +3 -3
- package/package.json +1 -1
- package/workflows/coding-task-workflow-agentic.json +0 -9
- package/workflows/workflow-for-workflows.json +18 -5
|
@@ -124,6 +124,7 @@ export declare const PendingV1Schema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
|
|
|
124
124
|
}[];
|
|
125
125
|
}>;
|
|
126
126
|
}, "strict", z.ZodTypeAny, {
|
|
127
|
+
kind: "some";
|
|
127
128
|
step: {
|
|
128
129
|
stepId: string & {
|
|
129
130
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -135,8 +136,8 @@ export declare const PendingV1Schema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
|
|
|
135
136
|
iteration: number;
|
|
136
137
|
}[];
|
|
137
138
|
};
|
|
138
|
-
kind: "some";
|
|
139
139
|
}, {
|
|
140
|
+
kind: "some";
|
|
140
141
|
step: {
|
|
141
142
|
stepId: string;
|
|
142
143
|
loopPath: {
|
|
@@ -144,7 +145,6 @@ export declare const PendingV1Schema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
|
|
|
144
145
|
iteration: number;
|
|
145
146
|
}[];
|
|
146
147
|
};
|
|
147
|
-
kind: "some";
|
|
148
148
|
}>]>;
|
|
149
149
|
export type PendingV1 = z.infer<typeof PendingV1Schema>;
|
|
150
150
|
export type EngineStateV1 = z.infer<typeof EngineStateV1Schema>;
|
|
@@ -227,6 +227,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
227
227
|
}[];
|
|
228
228
|
}>;
|
|
229
229
|
}, "strict", z.ZodTypeAny, {
|
|
230
|
+
kind: "some";
|
|
230
231
|
step: {
|
|
231
232
|
stepId: string & {
|
|
232
233
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -238,8 +239,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
238
239
|
iteration: number;
|
|
239
240
|
}[];
|
|
240
241
|
};
|
|
241
|
-
kind: "some";
|
|
242
242
|
}, {
|
|
243
|
+
kind: "some";
|
|
243
244
|
step: {
|
|
244
245
|
stepId: string;
|
|
245
246
|
loopPath: {
|
|
@@ -247,7 +248,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
247
248
|
iteration: number;
|
|
248
249
|
}[];
|
|
249
250
|
};
|
|
250
|
-
kind: "some";
|
|
251
251
|
}>]>;
|
|
252
252
|
}, "strict", z.ZodTypeAny, {
|
|
253
253
|
kind: "running";
|
|
@@ -265,6 +265,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
265
265
|
pending: {
|
|
266
266
|
kind: "none";
|
|
267
267
|
} | {
|
|
268
|
+
kind: "some";
|
|
268
269
|
step: {
|
|
269
270
|
stepId: string & {
|
|
270
271
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -276,7 +277,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
276
277
|
iteration: number;
|
|
277
278
|
}[];
|
|
278
279
|
};
|
|
279
|
-
kind: "some";
|
|
280
280
|
};
|
|
281
281
|
}, {
|
|
282
282
|
kind: "running";
|
|
@@ -292,6 +292,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
292
292
|
pending: {
|
|
293
293
|
kind: "none";
|
|
294
294
|
} | {
|
|
295
|
+
kind: "some";
|
|
295
296
|
step: {
|
|
296
297
|
stepId: string;
|
|
297
298
|
loopPath: {
|
|
@@ -299,7 +300,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
299
300
|
iteration: number;
|
|
300
301
|
}[];
|
|
301
302
|
};
|
|
302
|
-
kind: "some";
|
|
303
303
|
};
|
|
304
304
|
}>, z.ZodObject<{
|
|
305
305
|
kind: z.ZodLiteral<"blocked">;
|
|
@@ -374,6 +374,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
374
374
|
}[];
|
|
375
375
|
}>;
|
|
376
376
|
}, "strict", z.ZodTypeAny, {
|
|
377
|
+
kind: "some";
|
|
377
378
|
step: {
|
|
378
379
|
stepId: string & {
|
|
379
380
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -385,8 +386,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
385
386
|
iteration: number;
|
|
386
387
|
}[];
|
|
387
388
|
};
|
|
388
|
-
kind: "some";
|
|
389
389
|
}, {
|
|
390
|
+
kind: "some";
|
|
390
391
|
step: {
|
|
391
392
|
stepId: string;
|
|
392
393
|
loopPath: {
|
|
@@ -394,7 +395,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
394
395
|
iteration: number;
|
|
395
396
|
}[];
|
|
396
397
|
};
|
|
397
|
-
kind: "some";
|
|
398
398
|
}>]>;
|
|
399
399
|
blocked: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"retryable_block">;
|
|
@@ -434,8 +434,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
434
434
|
}>]>;
|
|
435
435
|
retryAttemptId: z.ZodString;
|
|
436
436
|
validationRef: z.ZodString;
|
|
437
|
-
blockers: z.ZodObject<{
|
|
438
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
437
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
438
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
439
439
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
440
440
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
441
441
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -520,9 +520,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
520
520
|
stepId: string;
|
|
521
521
|
};
|
|
522
522
|
suggestedFix?: string | undefined;
|
|
523
|
-
}>, "many"
|
|
523
|
+
}>, "many">>;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
blockers: {
|
|
525
|
+
blockers: readonly {
|
|
526
526
|
message: string;
|
|
527
527
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
528
528
|
pointer: {
|
|
@@ -543,7 +543,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
543
543
|
suggestedFix?: string | undefined;
|
|
544
544
|
}[];
|
|
545
545
|
}, {
|
|
546
|
-
blockers: {
|
|
546
|
+
blockers: readonly {
|
|
547
547
|
message: string;
|
|
548
548
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
549
549
|
pointer: {
|
|
@@ -563,9 +563,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
563
563
|
};
|
|
564
564
|
suggestedFix?: string | undefined;
|
|
565
565
|
}[];
|
|
566
|
-
}
|
|
566
|
+
}>>;
|
|
567
567
|
}, "strict", z.ZodTypeAny, {
|
|
568
|
-
kind: "retryable_block";
|
|
569
568
|
reason: {
|
|
570
569
|
kind: "invalid_required_output";
|
|
571
570
|
contractRef: string;
|
|
@@ -578,8 +577,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
578
577
|
} | {
|
|
579
578
|
kind: "context_budget_exceeded";
|
|
580
579
|
};
|
|
581
|
-
|
|
582
|
-
|
|
580
|
+
kind: "retryable_block";
|
|
581
|
+
blockers: Readonly<{
|
|
582
|
+
blockers: readonly {
|
|
583
583
|
message: string;
|
|
584
584
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
585
585
|
pointer: {
|
|
@@ -599,11 +599,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
599
599
|
};
|
|
600
600
|
suggestedFix?: string | undefined;
|
|
601
601
|
}[];
|
|
602
|
-
}
|
|
602
|
+
}>;
|
|
603
603
|
retryAttemptId: string;
|
|
604
604
|
validationRef: string;
|
|
605
605
|
}, {
|
|
606
|
-
kind: "retryable_block";
|
|
607
606
|
reason: {
|
|
608
607
|
kind: "invalid_required_output";
|
|
609
608
|
contractRef: string;
|
|
@@ -616,8 +615,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
616
615
|
} | {
|
|
617
616
|
kind: "context_budget_exceeded";
|
|
618
617
|
};
|
|
619
|
-
|
|
620
|
-
|
|
618
|
+
kind: "retryable_block";
|
|
619
|
+
blockers: Readonly<{
|
|
620
|
+
blockers: readonly {
|
|
621
621
|
message: string;
|
|
622
622
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
623
623
|
pointer: {
|
|
@@ -637,7 +637,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
637
637
|
};
|
|
638
638
|
suggestedFix?: string | undefined;
|
|
639
639
|
}[];
|
|
640
|
-
}
|
|
640
|
+
}>;
|
|
641
641
|
retryAttemptId: string;
|
|
642
642
|
validationRef: string;
|
|
643
643
|
}>, z.ZodObject<{
|
|
@@ -692,8 +692,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
692
692
|
kind: "evaluation_error";
|
|
693
693
|
}>]>;
|
|
694
694
|
validationRef: z.ZodOptional<z.ZodString>;
|
|
695
|
-
blockers: z.ZodObject<{
|
|
696
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
695
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
696
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
697
697
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
698
698
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
699
699
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -778,9 +778,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
778
778
|
stepId: string;
|
|
779
779
|
};
|
|
780
780
|
suggestedFix?: string | undefined;
|
|
781
|
-
}>, "many"
|
|
781
|
+
}>, "many">>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
blockers: {
|
|
783
|
+
blockers: readonly {
|
|
784
784
|
message: string;
|
|
785
785
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
786
786
|
pointer: {
|
|
@@ -801,7 +801,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
801
801
|
suggestedFix?: string | undefined;
|
|
802
802
|
}[];
|
|
803
803
|
}, {
|
|
804
|
-
blockers: {
|
|
804
|
+
blockers: readonly {
|
|
805
805
|
message: string;
|
|
806
806
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
807
807
|
pointer: {
|
|
@@ -821,9 +821,8 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
821
821
|
};
|
|
822
822
|
suggestedFix?: string | undefined;
|
|
823
823
|
}[];
|
|
824
|
-
}
|
|
824
|
+
}>>;
|
|
825
825
|
}, "strict", z.ZodTypeAny, {
|
|
826
|
-
kind: "terminal_block";
|
|
827
826
|
reason: {
|
|
828
827
|
kind: "user_only_dependency";
|
|
829
828
|
stepId: string;
|
|
@@ -841,8 +840,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
841
840
|
} | {
|
|
842
841
|
kind: "evaluation_error";
|
|
843
842
|
};
|
|
844
|
-
|
|
845
|
-
|
|
843
|
+
kind: "terminal_block";
|
|
844
|
+
blockers: Readonly<{
|
|
845
|
+
blockers: readonly {
|
|
846
846
|
message: string;
|
|
847
847
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
848
848
|
pointer: {
|
|
@@ -862,10 +862,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
862
862
|
};
|
|
863
863
|
suggestedFix?: string | undefined;
|
|
864
864
|
}[];
|
|
865
|
-
}
|
|
865
|
+
}>;
|
|
866
866
|
validationRef?: string | undefined;
|
|
867
867
|
}, {
|
|
868
|
-
kind: "terminal_block";
|
|
869
868
|
reason: {
|
|
870
869
|
kind: "user_only_dependency";
|
|
871
870
|
stepId: string;
|
|
@@ -883,8 +882,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
883
882
|
} | {
|
|
884
883
|
kind: "evaluation_error";
|
|
885
884
|
};
|
|
886
|
-
|
|
887
|
-
|
|
885
|
+
kind: "terminal_block";
|
|
886
|
+
blockers: Readonly<{
|
|
887
|
+
blockers: readonly {
|
|
888
888
|
message: string;
|
|
889
889
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
890
890
|
pointer: {
|
|
@@ -904,13 +904,11 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
904
904
|
};
|
|
905
905
|
suggestedFix?: string | undefined;
|
|
906
906
|
}[];
|
|
907
|
-
}
|
|
907
|
+
}>;
|
|
908
908
|
validationRef?: string | undefined;
|
|
909
909
|
}>]>;
|
|
910
910
|
}, "strict", z.ZodTypeAny, {
|
|
911
|
-
kind: "blocked";
|
|
912
911
|
blocked: {
|
|
913
|
-
kind: "retryable_block";
|
|
914
912
|
reason: {
|
|
915
913
|
kind: "invalid_required_output";
|
|
916
914
|
contractRef: string;
|
|
@@ -923,8 +921,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
923
921
|
} | {
|
|
924
922
|
kind: "context_budget_exceeded";
|
|
925
923
|
};
|
|
926
|
-
|
|
927
|
-
|
|
924
|
+
kind: "retryable_block";
|
|
925
|
+
blockers: Readonly<{
|
|
926
|
+
blockers: readonly {
|
|
928
927
|
message: string;
|
|
929
928
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
930
929
|
pointer: {
|
|
@@ -944,11 +943,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
944
943
|
};
|
|
945
944
|
suggestedFix?: string | undefined;
|
|
946
945
|
}[];
|
|
947
|
-
}
|
|
946
|
+
}>;
|
|
948
947
|
retryAttemptId: string;
|
|
949
948
|
validationRef: string;
|
|
950
949
|
} | {
|
|
951
|
-
kind: "terminal_block";
|
|
952
950
|
reason: {
|
|
953
951
|
kind: "user_only_dependency";
|
|
954
952
|
stepId: string;
|
|
@@ -966,8 +964,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
966
964
|
} | {
|
|
967
965
|
kind: "evaluation_error";
|
|
968
966
|
};
|
|
969
|
-
|
|
970
|
-
|
|
967
|
+
kind: "terminal_block";
|
|
968
|
+
blockers: Readonly<{
|
|
969
|
+
blockers: readonly {
|
|
971
970
|
message: string;
|
|
972
971
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
973
972
|
pointer: {
|
|
@@ -987,9 +986,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
987
986
|
};
|
|
988
987
|
suggestedFix?: string | undefined;
|
|
989
988
|
}[];
|
|
990
|
-
}
|
|
989
|
+
}>;
|
|
991
990
|
validationRef?: string | undefined;
|
|
992
991
|
};
|
|
992
|
+
kind: "blocked";
|
|
993
993
|
completed: {
|
|
994
994
|
values: StepInstanceKeyV1[];
|
|
995
995
|
kind: "set";
|
|
@@ -1004,6 +1004,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1004
1004
|
pending: {
|
|
1005
1005
|
kind: "none";
|
|
1006
1006
|
} | {
|
|
1007
|
+
kind: "some";
|
|
1007
1008
|
step: {
|
|
1008
1009
|
stepId: string & {
|
|
1009
1010
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1015,12 +1016,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1015
1016
|
iteration: number;
|
|
1016
1017
|
}[];
|
|
1017
1018
|
};
|
|
1018
|
-
kind: "some";
|
|
1019
1019
|
};
|
|
1020
1020
|
}, {
|
|
1021
|
-
kind: "blocked";
|
|
1022
1021
|
blocked: {
|
|
1023
|
-
kind: "retryable_block";
|
|
1024
1022
|
reason: {
|
|
1025
1023
|
kind: "invalid_required_output";
|
|
1026
1024
|
contractRef: string;
|
|
@@ -1033,8 +1031,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1033
1031
|
} | {
|
|
1034
1032
|
kind: "context_budget_exceeded";
|
|
1035
1033
|
};
|
|
1036
|
-
|
|
1037
|
-
|
|
1034
|
+
kind: "retryable_block";
|
|
1035
|
+
blockers: Readonly<{
|
|
1036
|
+
blockers: readonly {
|
|
1038
1037
|
message: string;
|
|
1039
1038
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1040
1039
|
pointer: {
|
|
@@ -1054,11 +1053,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1054
1053
|
};
|
|
1055
1054
|
suggestedFix?: string | undefined;
|
|
1056
1055
|
}[];
|
|
1057
|
-
}
|
|
1056
|
+
}>;
|
|
1058
1057
|
retryAttemptId: string;
|
|
1059
1058
|
validationRef: string;
|
|
1060
1059
|
} | {
|
|
1061
|
-
kind: "terminal_block";
|
|
1062
1060
|
reason: {
|
|
1063
1061
|
kind: "user_only_dependency";
|
|
1064
1062
|
stepId: string;
|
|
@@ -1076,8 +1074,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1076
1074
|
} | {
|
|
1077
1075
|
kind: "evaluation_error";
|
|
1078
1076
|
};
|
|
1079
|
-
|
|
1080
|
-
|
|
1077
|
+
kind: "terminal_block";
|
|
1078
|
+
blockers: Readonly<{
|
|
1079
|
+
blockers: readonly {
|
|
1081
1080
|
message: string;
|
|
1082
1081
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1083
1082
|
pointer: {
|
|
@@ -1097,9 +1096,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1097
1096
|
};
|
|
1098
1097
|
suggestedFix?: string | undefined;
|
|
1099
1098
|
}[];
|
|
1100
|
-
}
|
|
1099
|
+
}>;
|
|
1101
1100
|
validationRef?: string | undefined;
|
|
1102
1101
|
};
|
|
1102
|
+
kind: "blocked";
|
|
1103
1103
|
completed: {
|
|
1104
1104
|
values: string[];
|
|
1105
1105
|
kind: "set";
|
|
@@ -1112,6 +1112,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1112
1112
|
pending: {
|
|
1113
1113
|
kind: "none";
|
|
1114
1114
|
} | {
|
|
1115
|
+
kind: "some";
|
|
1115
1116
|
step: {
|
|
1116
1117
|
stepId: string;
|
|
1117
1118
|
loopPath: {
|
|
@@ -1119,7 +1120,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1119
1120
|
iteration: number;
|
|
1120
1121
|
}[];
|
|
1121
1122
|
};
|
|
1122
|
-
kind: "some";
|
|
1123
1123
|
};
|
|
1124
1124
|
}>, z.ZodObject<{
|
|
1125
1125
|
kind: z.ZodLiteral<"complete">;
|
|
@@ -1145,6 +1145,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1145
1145
|
pending: {
|
|
1146
1146
|
kind: "none";
|
|
1147
1147
|
} | {
|
|
1148
|
+
kind: "some";
|
|
1148
1149
|
step: {
|
|
1149
1150
|
stepId: string & {
|
|
1150
1151
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1156,12 +1157,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1156
1157
|
iteration: number;
|
|
1157
1158
|
}[];
|
|
1158
1159
|
};
|
|
1159
|
-
kind: "some";
|
|
1160
1160
|
};
|
|
1161
1161
|
} | {
|
|
1162
|
-
kind: "blocked";
|
|
1163
1162
|
blocked: {
|
|
1164
|
-
kind: "retryable_block";
|
|
1165
1163
|
reason: {
|
|
1166
1164
|
kind: "invalid_required_output";
|
|
1167
1165
|
contractRef: string;
|
|
@@ -1174,8 +1172,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1174
1172
|
} | {
|
|
1175
1173
|
kind: "context_budget_exceeded";
|
|
1176
1174
|
};
|
|
1177
|
-
|
|
1178
|
-
|
|
1175
|
+
kind: "retryable_block";
|
|
1176
|
+
blockers: Readonly<{
|
|
1177
|
+
blockers: readonly {
|
|
1179
1178
|
message: string;
|
|
1180
1179
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1181
1180
|
pointer: {
|
|
@@ -1195,11 +1194,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1195
1194
|
};
|
|
1196
1195
|
suggestedFix?: string | undefined;
|
|
1197
1196
|
}[];
|
|
1198
|
-
}
|
|
1197
|
+
}>;
|
|
1199
1198
|
retryAttemptId: string;
|
|
1200
1199
|
validationRef: string;
|
|
1201
1200
|
} | {
|
|
1202
|
-
kind: "terminal_block";
|
|
1203
1201
|
reason: {
|
|
1204
1202
|
kind: "user_only_dependency";
|
|
1205
1203
|
stepId: string;
|
|
@@ -1217,8 +1215,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1217
1215
|
} | {
|
|
1218
1216
|
kind: "evaluation_error";
|
|
1219
1217
|
};
|
|
1220
|
-
|
|
1221
|
-
|
|
1218
|
+
kind: "terminal_block";
|
|
1219
|
+
blockers: Readonly<{
|
|
1220
|
+
blockers: readonly {
|
|
1222
1221
|
message: string;
|
|
1223
1222
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1224
1223
|
pointer: {
|
|
@@ -1238,9 +1237,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1238
1237
|
};
|
|
1239
1238
|
suggestedFix?: string | undefined;
|
|
1240
1239
|
}[];
|
|
1241
|
-
}
|
|
1240
|
+
}>;
|
|
1242
1241
|
validationRef?: string | undefined;
|
|
1243
1242
|
};
|
|
1243
|
+
kind: "blocked";
|
|
1244
1244
|
completed: {
|
|
1245
1245
|
values: StepInstanceKeyV1[];
|
|
1246
1246
|
kind: "set";
|
|
@@ -1255,6 +1255,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1255
1255
|
pending: {
|
|
1256
1256
|
kind: "none";
|
|
1257
1257
|
} | {
|
|
1258
|
+
kind: "some";
|
|
1258
1259
|
step: {
|
|
1259
1260
|
stepId: string & {
|
|
1260
1261
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1266,7 +1267,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1266
1267
|
iteration: number;
|
|
1267
1268
|
}[];
|
|
1268
1269
|
};
|
|
1269
|
-
kind: "some";
|
|
1270
1270
|
};
|
|
1271
1271
|
} | {
|
|
1272
1272
|
kind: "complete";
|
|
@@ -1286,6 +1286,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1286
1286
|
pending: {
|
|
1287
1287
|
kind: "none";
|
|
1288
1288
|
} | {
|
|
1289
|
+
kind: "some";
|
|
1289
1290
|
step: {
|
|
1290
1291
|
stepId: string;
|
|
1291
1292
|
loopPath: {
|
|
@@ -1293,12 +1294,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1293
1294
|
iteration: number;
|
|
1294
1295
|
}[];
|
|
1295
1296
|
};
|
|
1296
|
-
kind: "some";
|
|
1297
1297
|
};
|
|
1298
1298
|
} | {
|
|
1299
|
-
kind: "blocked";
|
|
1300
1299
|
blocked: {
|
|
1301
|
-
kind: "retryable_block";
|
|
1302
1300
|
reason: {
|
|
1303
1301
|
kind: "invalid_required_output";
|
|
1304
1302
|
contractRef: string;
|
|
@@ -1311,8 +1309,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1311
1309
|
} | {
|
|
1312
1310
|
kind: "context_budget_exceeded";
|
|
1313
1311
|
};
|
|
1314
|
-
|
|
1315
|
-
|
|
1312
|
+
kind: "retryable_block";
|
|
1313
|
+
blockers: Readonly<{
|
|
1314
|
+
blockers: readonly {
|
|
1316
1315
|
message: string;
|
|
1317
1316
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1318
1317
|
pointer: {
|
|
@@ -1332,11 +1331,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1332
1331
|
};
|
|
1333
1332
|
suggestedFix?: string | undefined;
|
|
1334
1333
|
}[];
|
|
1335
|
-
}
|
|
1334
|
+
}>;
|
|
1336
1335
|
retryAttemptId: string;
|
|
1337
1336
|
validationRef: string;
|
|
1338
1337
|
} | {
|
|
1339
|
-
kind: "terminal_block";
|
|
1340
1338
|
reason: {
|
|
1341
1339
|
kind: "user_only_dependency";
|
|
1342
1340
|
stepId: string;
|
|
@@ -1354,8 +1352,9 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1354
1352
|
} | {
|
|
1355
1353
|
kind: "evaluation_error";
|
|
1356
1354
|
};
|
|
1357
|
-
|
|
1358
|
-
|
|
1355
|
+
kind: "terminal_block";
|
|
1356
|
+
blockers: Readonly<{
|
|
1357
|
+
blockers: readonly {
|
|
1359
1358
|
message: string;
|
|
1360
1359
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1361
1360
|
pointer: {
|
|
@@ -1375,9 +1374,10 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1375
1374
|
};
|
|
1376
1375
|
suggestedFix?: string | undefined;
|
|
1377
1376
|
}[];
|
|
1378
|
-
}
|
|
1377
|
+
}>;
|
|
1379
1378
|
validationRef?: string | undefined;
|
|
1380
1379
|
};
|
|
1380
|
+
kind: "blocked";
|
|
1381
1381
|
completed: {
|
|
1382
1382
|
values: string[];
|
|
1383
1383
|
kind: "set";
|
|
@@ -1390,6 +1390,7 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1390
1390
|
pending: {
|
|
1391
1391
|
kind: "none";
|
|
1392
1392
|
} | {
|
|
1393
|
+
kind: "some";
|
|
1393
1394
|
step: {
|
|
1394
1395
|
stepId: string;
|
|
1395
1396
|
loopPath: {
|
|
@@ -1397,7 +1398,6 @@ export declare const EngineStateV1Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
1397
1398
|
iteration: number;
|
|
1398
1399
|
}[];
|
|
1399
1400
|
};
|
|
1400
|
-
kind: "some";
|
|
1401
1401
|
};
|
|
1402
1402
|
} | {
|
|
1403
1403
|
kind: "complete";
|
|
@@ -1484,6 +1484,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1484
1484
|
}[];
|
|
1485
1485
|
}>;
|
|
1486
1486
|
}, "strict", z.ZodTypeAny, {
|
|
1487
|
+
kind: "some";
|
|
1487
1488
|
step: {
|
|
1488
1489
|
stepId: string & {
|
|
1489
1490
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1495,8 +1496,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1495
1496
|
iteration: number;
|
|
1496
1497
|
}[];
|
|
1497
1498
|
};
|
|
1498
|
-
kind: "some";
|
|
1499
1499
|
}, {
|
|
1500
|
+
kind: "some";
|
|
1500
1501
|
step: {
|
|
1501
1502
|
stepId: string;
|
|
1502
1503
|
loopPath: {
|
|
@@ -1504,7 +1505,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1504
1505
|
iteration: number;
|
|
1505
1506
|
}[];
|
|
1506
1507
|
};
|
|
1507
|
-
kind: "some";
|
|
1508
1508
|
}>]>;
|
|
1509
1509
|
}, "strict", z.ZodTypeAny, {
|
|
1510
1510
|
kind: "running";
|
|
@@ -1522,6 +1522,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1522
1522
|
pending: {
|
|
1523
1523
|
kind: "none";
|
|
1524
1524
|
} | {
|
|
1525
|
+
kind: "some";
|
|
1525
1526
|
step: {
|
|
1526
1527
|
stepId: string & {
|
|
1527
1528
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1533,7 +1534,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1533
1534
|
iteration: number;
|
|
1534
1535
|
}[];
|
|
1535
1536
|
};
|
|
1536
|
-
kind: "some";
|
|
1537
1537
|
};
|
|
1538
1538
|
}, {
|
|
1539
1539
|
kind: "running";
|
|
@@ -1549,6 +1549,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1549
1549
|
pending: {
|
|
1550
1550
|
kind: "none";
|
|
1551
1551
|
} | {
|
|
1552
|
+
kind: "some";
|
|
1552
1553
|
step: {
|
|
1553
1554
|
stepId: string;
|
|
1554
1555
|
loopPath: {
|
|
@@ -1556,7 +1557,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1556
1557
|
iteration: number;
|
|
1557
1558
|
}[];
|
|
1558
1559
|
};
|
|
1559
|
-
kind: "some";
|
|
1560
1560
|
};
|
|
1561
1561
|
}>, z.ZodObject<{
|
|
1562
1562
|
kind: z.ZodLiteral<"blocked">;
|
|
@@ -1631,6 +1631,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1631
1631
|
}[];
|
|
1632
1632
|
}>;
|
|
1633
1633
|
}, "strict", z.ZodTypeAny, {
|
|
1634
|
+
kind: "some";
|
|
1634
1635
|
step: {
|
|
1635
1636
|
stepId: string & {
|
|
1636
1637
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -1642,8 +1643,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1642
1643
|
iteration: number;
|
|
1643
1644
|
}[];
|
|
1644
1645
|
};
|
|
1645
|
-
kind: "some";
|
|
1646
1646
|
}, {
|
|
1647
|
+
kind: "some";
|
|
1647
1648
|
step: {
|
|
1648
1649
|
stepId: string;
|
|
1649
1650
|
loopPath: {
|
|
@@ -1651,7 +1652,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1651
1652
|
iteration: number;
|
|
1652
1653
|
}[];
|
|
1653
1654
|
};
|
|
1654
|
-
kind: "some";
|
|
1655
1655
|
}>]>;
|
|
1656
1656
|
blocked: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1657
1657
|
kind: z.ZodLiteral<"retryable_block">;
|
|
@@ -1691,8 +1691,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1691
1691
|
}>]>;
|
|
1692
1692
|
retryAttemptId: z.ZodString;
|
|
1693
1693
|
validationRef: z.ZodString;
|
|
1694
|
-
blockers: z.ZodObject<{
|
|
1695
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
1694
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
1695
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1696
1696
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
1697
1697
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1698
1698
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -1777,9 +1777,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1777
1777
|
stepId: string;
|
|
1778
1778
|
};
|
|
1779
1779
|
suggestedFix?: string | undefined;
|
|
1780
|
-
}>, "many"
|
|
1780
|
+
}>, "many">>;
|
|
1781
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
blockers: {
|
|
1782
|
+
blockers: readonly {
|
|
1783
1783
|
message: string;
|
|
1784
1784
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1785
1785
|
pointer: {
|
|
@@ -1800,7 +1800,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1800
1800
|
suggestedFix?: string | undefined;
|
|
1801
1801
|
}[];
|
|
1802
1802
|
}, {
|
|
1803
|
-
blockers: {
|
|
1803
|
+
blockers: readonly {
|
|
1804
1804
|
message: string;
|
|
1805
1805
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1806
1806
|
pointer: {
|
|
@@ -1820,9 +1820,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1820
1820
|
};
|
|
1821
1821
|
suggestedFix?: string | undefined;
|
|
1822
1822
|
}[];
|
|
1823
|
-
}
|
|
1823
|
+
}>>;
|
|
1824
1824
|
}, "strict", z.ZodTypeAny, {
|
|
1825
|
-
kind: "retryable_block";
|
|
1826
1825
|
reason: {
|
|
1827
1826
|
kind: "invalid_required_output";
|
|
1828
1827
|
contractRef: string;
|
|
@@ -1835,8 +1834,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1835
1834
|
} | {
|
|
1836
1835
|
kind: "context_budget_exceeded";
|
|
1837
1836
|
};
|
|
1838
|
-
|
|
1839
|
-
|
|
1837
|
+
kind: "retryable_block";
|
|
1838
|
+
blockers: Readonly<{
|
|
1839
|
+
blockers: readonly {
|
|
1840
1840
|
message: string;
|
|
1841
1841
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1842
1842
|
pointer: {
|
|
@@ -1856,11 +1856,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1856
1856
|
};
|
|
1857
1857
|
suggestedFix?: string | undefined;
|
|
1858
1858
|
}[];
|
|
1859
|
-
}
|
|
1859
|
+
}>;
|
|
1860
1860
|
retryAttemptId: string;
|
|
1861
1861
|
validationRef: string;
|
|
1862
1862
|
}, {
|
|
1863
|
-
kind: "retryable_block";
|
|
1864
1863
|
reason: {
|
|
1865
1864
|
kind: "invalid_required_output";
|
|
1866
1865
|
contractRef: string;
|
|
@@ -1873,8 +1872,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1873
1872
|
} | {
|
|
1874
1873
|
kind: "context_budget_exceeded";
|
|
1875
1874
|
};
|
|
1876
|
-
|
|
1877
|
-
|
|
1875
|
+
kind: "retryable_block";
|
|
1876
|
+
blockers: Readonly<{
|
|
1877
|
+
blockers: readonly {
|
|
1878
1878
|
message: string;
|
|
1879
1879
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
1880
1880
|
pointer: {
|
|
@@ -1894,7 +1894,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1894
1894
|
};
|
|
1895
1895
|
suggestedFix?: string | undefined;
|
|
1896
1896
|
}[];
|
|
1897
|
-
}
|
|
1897
|
+
}>;
|
|
1898
1898
|
retryAttemptId: string;
|
|
1899
1899
|
validationRef: string;
|
|
1900
1900
|
}>, z.ZodObject<{
|
|
@@ -1949,8 +1949,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
1949
1949
|
kind: "evaluation_error";
|
|
1950
1950
|
}>]>;
|
|
1951
1951
|
validationRef: z.ZodOptional<z.ZodString>;
|
|
1952
|
-
blockers: z.ZodObject<{
|
|
1953
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
1952
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
1953
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1954
1954
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
1955
1955
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1956
1956
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -2035,9 +2035,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2035
2035
|
stepId: string;
|
|
2036
2036
|
};
|
|
2037
2037
|
suggestedFix?: string | undefined;
|
|
2038
|
-
}>, "many"
|
|
2038
|
+
}>, "many">>;
|
|
2039
2039
|
}, "strip", z.ZodTypeAny, {
|
|
2040
|
-
blockers: {
|
|
2040
|
+
blockers: readonly {
|
|
2041
2041
|
message: string;
|
|
2042
2042
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2043
2043
|
pointer: {
|
|
@@ -2058,7 +2058,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2058
2058
|
suggestedFix?: string | undefined;
|
|
2059
2059
|
}[];
|
|
2060
2060
|
}, {
|
|
2061
|
-
blockers: {
|
|
2061
|
+
blockers: readonly {
|
|
2062
2062
|
message: string;
|
|
2063
2063
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2064
2064
|
pointer: {
|
|
@@ -2078,9 +2078,8 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2078
2078
|
};
|
|
2079
2079
|
suggestedFix?: string | undefined;
|
|
2080
2080
|
}[];
|
|
2081
|
-
}
|
|
2081
|
+
}>>;
|
|
2082
2082
|
}, "strict", z.ZodTypeAny, {
|
|
2083
|
-
kind: "terminal_block";
|
|
2084
2083
|
reason: {
|
|
2085
2084
|
kind: "user_only_dependency";
|
|
2086
2085
|
stepId: string;
|
|
@@ -2098,8 +2097,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2098
2097
|
} | {
|
|
2099
2098
|
kind: "evaluation_error";
|
|
2100
2099
|
};
|
|
2101
|
-
|
|
2102
|
-
|
|
2100
|
+
kind: "terminal_block";
|
|
2101
|
+
blockers: Readonly<{
|
|
2102
|
+
blockers: readonly {
|
|
2103
2103
|
message: string;
|
|
2104
2104
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2105
2105
|
pointer: {
|
|
@@ -2119,10 +2119,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2119
2119
|
};
|
|
2120
2120
|
suggestedFix?: string | undefined;
|
|
2121
2121
|
}[];
|
|
2122
|
-
}
|
|
2122
|
+
}>;
|
|
2123
2123
|
validationRef?: string | undefined;
|
|
2124
2124
|
}, {
|
|
2125
|
-
kind: "terminal_block";
|
|
2126
2125
|
reason: {
|
|
2127
2126
|
kind: "user_only_dependency";
|
|
2128
2127
|
stepId: string;
|
|
@@ -2140,8 +2139,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2140
2139
|
} | {
|
|
2141
2140
|
kind: "evaluation_error";
|
|
2142
2141
|
};
|
|
2143
|
-
|
|
2144
|
-
|
|
2142
|
+
kind: "terminal_block";
|
|
2143
|
+
blockers: Readonly<{
|
|
2144
|
+
blockers: readonly {
|
|
2145
2145
|
message: string;
|
|
2146
2146
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2147
2147
|
pointer: {
|
|
@@ -2161,13 +2161,11 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2161
2161
|
};
|
|
2162
2162
|
suggestedFix?: string | undefined;
|
|
2163
2163
|
}[];
|
|
2164
|
-
}
|
|
2164
|
+
}>;
|
|
2165
2165
|
validationRef?: string | undefined;
|
|
2166
2166
|
}>]>;
|
|
2167
2167
|
}, "strict", z.ZodTypeAny, {
|
|
2168
|
-
kind: "blocked";
|
|
2169
2168
|
blocked: {
|
|
2170
|
-
kind: "retryable_block";
|
|
2171
2169
|
reason: {
|
|
2172
2170
|
kind: "invalid_required_output";
|
|
2173
2171
|
contractRef: string;
|
|
@@ -2180,8 +2178,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2180
2178
|
} | {
|
|
2181
2179
|
kind: "context_budget_exceeded";
|
|
2182
2180
|
};
|
|
2183
|
-
|
|
2184
|
-
|
|
2181
|
+
kind: "retryable_block";
|
|
2182
|
+
blockers: Readonly<{
|
|
2183
|
+
blockers: readonly {
|
|
2185
2184
|
message: string;
|
|
2186
2185
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2187
2186
|
pointer: {
|
|
@@ -2201,11 +2200,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2201
2200
|
};
|
|
2202
2201
|
suggestedFix?: string | undefined;
|
|
2203
2202
|
}[];
|
|
2204
|
-
}
|
|
2203
|
+
}>;
|
|
2205
2204
|
retryAttemptId: string;
|
|
2206
2205
|
validationRef: string;
|
|
2207
2206
|
} | {
|
|
2208
|
-
kind: "terminal_block";
|
|
2209
2207
|
reason: {
|
|
2210
2208
|
kind: "user_only_dependency";
|
|
2211
2209
|
stepId: string;
|
|
@@ -2223,8 +2221,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2223
2221
|
} | {
|
|
2224
2222
|
kind: "evaluation_error";
|
|
2225
2223
|
};
|
|
2226
|
-
|
|
2227
|
-
|
|
2224
|
+
kind: "terminal_block";
|
|
2225
|
+
blockers: Readonly<{
|
|
2226
|
+
blockers: readonly {
|
|
2228
2227
|
message: string;
|
|
2229
2228
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2230
2229
|
pointer: {
|
|
@@ -2244,9 +2243,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2244
2243
|
};
|
|
2245
2244
|
suggestedFix?: string | undefined;
|
|
2246
2245
|
}[];
|
|
2247
|
-
}
|
|
2246
|
+
}>;
|
|
2248
2247
|
validationRef?: string | undefined;
|
|
2249
2248
|
};
|
|
2249
|
+
kind: "blocked";
|
|
2250
2250
|
completed: {
|
|
2251
2251
|
values: StepInstanceKeyV1[];
|
|
2252
2252
|
kind: "set";
|
|
@@ -2261,6 +2261,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2261
2261
|
pending: {
|
|
2262
2262
|
kind: "none";
|
|
2263
2263
|
} | {
|
|
2264
|
+
kind: "some";
|
|
2264
2265
|
step: {
|
|
2265
2266
|
stepId: string & {
|
|
2266
2267
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -2272,12 +2273,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2272
2273
|
iteration: number;
|
|
2273
2274
|
}[];
|
|
2274
2275
|
};
|
|
2275
|
-
kind: "some";
|
|
2276
2276
|
};
|
|
2277
2277
|
}, {
|
|
2278
|
-
kind: "blocked";
|
|
2279
2278
|
blocked: {
|
|
2280
|
-
kind: "retryable_block";
|
|
2281
2279
|
reason: {
|
|
2282
2280
|
kind: "invalid_required_output";
|
|
2283
2281
|
contractRef: string;
|
|
@@ -2290,8 +2288,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2290
2288
|
} | {
|
|
2291
2289
|
kind: "context_budget_exceeded";
|
|
2292
2290
|
};
|
|
2293
|
-
|
|
2294
|
-
|
|
2291
|
+
kind: "retryable_block";
|
|
2292
|
+
blockers: Readonly<{
|
|
2293
|
+
blockers: readonly {
|
|
2295
2294
|
message: string;
|
|
2296
2295
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2297
2296
|
pointer: {
|
|
@@ -2311,11 +2310,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2311
2310
|
};
|
|
2312
2311
|
suggestedFix?: string | undefined;
|
|
2313
2312
|
}[];
|
|
2314
|
-
}
|
|
2313
|
+
}>;
|
|
2315
2314
|
retryAttemptId: string;
|
|
2316
2315
|
validationRef: string;
|
|
2317
2316
|
} | {
|
|
2318
|
-
kind: "terminal_block";
|
|
2319
2317
|
reason: {
|
|
2320
2318
|
kind: "user_only_dependency";
|
|
2321
2319
|
stepId: string;
|
|
@@ -2333,8 +2331,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2333
2331
|
} | {
|
|
2334
2332
|
kind: "evaluation_error";
|
|
2335
2333
|
};
|
|
2336
|
-
|
|
2337
|
-
|
|
2334
|
+
kind: "terminal_block";
|
|
2335
|
+
blockers: Readonly<{
|
|
2336
|
+
blockers: readonly {
|
|
2338
2337
|
message: string;
|
|
2339
2338
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2340
2339
|
pointer: {
|
|
@@ -2354,9 +2353,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2354
2353
|
};
|
|
2355
2354
|
suggestedFix?: string | undefined;
|
|
2356
2355
|
}[];
|
|
2357
|
-
}
|
|
2356
|
+
}>;
|
|
2358
2357
|
validationRef?: string | undefined;
|
|
2359
2358
|
};
|
|
2359
|
+
kind: "blocked";
|
|
2360
2360
|
completed: {
|
|
2361
2361
|
values: string[];
|
|
2362
2362
|
kind: "set";
|
|
@@ -2369,6 +2369,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2369
2369
|
pending: {
|
|
2370
2370
|
kind: "none";
|
|
2371
2371
|
} | {
|
|
2372
|
+
kind: "some";
|
|
2372
2373
|
step: {
|
|
2373
2374
|
stepId: string;
|
|
2374
2375
|
loopPath: {
|
|
@@ -2376,7 +2377,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2376
2377
|
iteration: number;
|
|
2377
2378
|
}[];
|
|
2378
2379
|
};
|
|
2379
|
-
kind: "some";
|
|
2380
2380
|
};
|
|
2381
2381
|
}>, z.ZodObject<{
|
|
2382
2382
|
kind: z.ZodLiteral<"complete">;
|
|
@@ -2402,6 +2402,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2402
2402
|
pending: {
|
|
2403
2403
|
kind: "none";
|
|
2404
2404
|
} | {
|
|
2405
|
+
kind: "some";
|
|
2405
2406
|
step: {
|
|
2406
2407
|
stepId: string & {
|
|
2407
2408
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -2413,12 +2414,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2413
2414
|
iteration: number;
|
|
2414
2415
|
}[];
|
|
2415
2416
|
};
|
|
2416
|
-
kind: "some";
|
|
2417
2417
|
};
|
|
2418
2418
|
} | {
|
|
2419
|
-
kind: "blocked";
|
|
2420
2419
|
blocked: {
|
|
2421
|
-
kind: "retryable_block";
|
|
2422
2420
|
reason: {
|
|
2423
2421
|
kind: "invalid_required_output";
|
|
2424
2422
|
contractRef: string;
|
|
@@ -2431,8 +2429,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2431
2429
|
} | {
|
|
2432
2430
|
kind: "context_budget_exceeded";
|
|
2433
2431
|
};
|
|
2434
|
-
|
|
2435
|
-
|
|
2432
|
+
kind: "retryable_block";
|
|
2433
|
+
blockers: Readonly<{
|
|
2434
|
+
blockers: readonly {
|
|
2436
2435
|
message: string;
|
|
2437
2436
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2438
2437
|
pointer: {
|
|
@@ -2452,11 +2451,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2452
2451
|
};
|
|
2453
2452
|
suggestedFix?: string | undefined;
|
|
2454
2453
|
}[];
|
|
2455
|
-
}
|
|
2454
|
+
}>;
|
|
2456
2455
|
retryAttemptId: string;
|
|
2457
2456
|
validationRef: string;
|
|
2458
2457
|
} | {
|
|
2459
|
-
kind: "terminal_block";
|
|
2460
2458
|
reason: {
|
|
2461
2459
|
kind: "user_only_dependency";
|
|
2462
2460
|
stepId: string;
|
|
@@ -2474,8 +2472,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2474
2472
|
} | {
|
|
2475
2473
|
kind: "evaluation_error";
|
|
2476
2474
|
};
|
|
2477
|
-
|
|
2478
|
-
|
|
2475
|
+
kind: "terminal_block";
|
|
2476
|
+
blockers: Readonly<{
|
|
2477
|
+
blockers: readonly {
|
|
2479
2478
|
message: string;
|
|
2480
2479
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2481
2480
|
pointer: {
|
|
@@ -2495,9 +2494,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2495
2494
|
};
|
|
2496
2495
|
suggestedFix?: string | undefined;
|
|
2497
2496
|
}[];
|
|
2498
|
-
}
|
|
2497
|
+
}>;
|
|
2499
2498
|
validationRef?: string | undefined;
|
|
2500
2499
|
};
|
|
2500
|
+
kind: "blocked";
|
|
2501
2501
|
completed: {
|
|
2502
2502
|
values: StepInstanceKeyV1[];
|
|
2503
2503
|
kind: "set";
|
|
@@ -2512,6 +2512,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2512
2512
|
pending: {
|
|
2513
2513
|
kind: "none";
|
|
2514
2514
|
} | {
|
|
2515
|
+
kind: "some";
|
|
2515
2516
|
step: {
|
|
2516
2517
|
stepId: string & {
|
|
2517
2518
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -2523,7 +2524,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2523
2524
|
iteration: number;
|
|
2524
2525
|
}[];
|
|
2525
2526
|
};
|
|
2526
|
-
kind: "some";
|
|
2527
2527
|
};
|
|
2528
2528
|
} | {
|
|
2529
2529
|
kind: "complete";
|
|
@@ -2543,6 +2543,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2543
2543
|
pending: {
|
|
2544
2544
|
kind: "none";
|
|
2545
2545
|
} | {
|
|
2546
|
+
kind: "some";
|
|
2546
2547
|
step: {
|
|
2547
2548
|
stepId: string;
|
|
2548
2549
|
loopPath: {
|
|
@@ -2550,12 +2551,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2550
2551
|
iteration: number;
|
|
2551
2552
|
}[];
|
|
2552
2553
|
};
|
|
2553
|
-
kind: "some";
|
|
2554
2554
|
};
|
|
2555
2555
|
} | {
|
|
2556
|
-
kind: "blocked";
|
|
2557
2556
|
blocked: {
|
|
2558
|
-
kind: "retryable_block";
|
|
2559
2557
|
reason: {
|
|
2560
2558
|
kind: "invalid_required_output";
|
|
2561
2559
|
contractRef: string;
|
|
@@ -2568,8 +2566,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2568
2566
|
} | {
|
|
2569
2567
|
kind: "context_budget_exceeded";
|
|
2570
2568
|
};
|
|
2571
|
-
|
|
2572
|
-
|
|
2569
|
+
kind: "retryable_block";
|
|
2570
|
+
blockers: Readonly<{
|
|
2571
|
+
blockers: readonly {
|
|
2573
2572
|
message: string;
|
|
2574
2573
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2575
2574
|
pointer: {
|
|
@@ -2589,11 +2588,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2589
2588
|
};
|
|
2590
2589
|
suggestedFix?: string | undefined;
|
|
2591
2590
|
}[];
|
|
2592
|
-
}
|
|
2591
|
+
}>;
|
|
2593
2592
|
retryAttemptId: string;
|
|
2594
2593
|
validationRef: string;
|
|
2595
2594
|
} | {
|
|
2596
|
-
kind: "terminal_block";
|
|
2597
2595
|
reason: {
|
|
2598
2596
|
kind: "user_only_dependency";
|
|
2599
2597
|
stepId: string;
|
|
@@ -2611,8 +2609,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2611
2609
|
} | {
|
|
2612
2610
|
kind: "evaluation_error";
|
|
2613
2611
|
};
|
|
2614
|
-
|
|
2615
|
-
|
|
2612
|
+
kind: "terminal_block";
|
|
2613
|
+
blockers: Readonly<{
|
|
2614
|
+
blockers: readonly {
|
|
2616
2615
|
message: string;
|
|
2617
2616
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2618
2617
|
pointer: {
|
|
@@ -2632,9 +2631,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2632
2631
|
};
|
|
2633
2632
|
suggestedFix?: string | undefined;
|
|
2634
2633
|
}[];
|
|
2635
|
-
}
|
|
2634
|
+
}>;
|
|
2636
2635
|
validationRef?: string | undefined;
|
|
2637
2636
|
};
|
|
2637
|
+
kind: "blocked";
|
|
2638
2638
|
completed: {
|
|
2639
2639
|
values: string[];
|
|
2640
2640
|
kind: "set";
|
|
@@ -2647,6 +2647,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2647
2647
|
pending: {
|
|
2648
2648
|
kind: "none";
|
|
2649
2649
|
} | {
|
|
2650
|
+
kind: "some";
|
|
2650
2651
|
step: {
|
|
2651
2652
|
stepId: string;
|
|
2652
2653
|
loopPath: {
|
|
@@ -2654,7 +2655,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2654
2655
|
iteration: number;
|
|
2655
2656
|
}[];
|
|
2656
2657
|
};
|
|
2657
|
-
kind: "some";
|
|
2658
2658
|
};
|
|
2659
2659
|
} | {
|
|
2660
2660
|
kind: "complete";
|
|
@@ -2679,6 +2679,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2679
2679
|
pending: {
|
|
2680
2680
|
kind: "none";
|
|
2681
2681
|
} | {
|
|
2682
|
+
kind: "some";
|
|
2682
2683
|
step: {
|
|
2683
2684
|
stepId: string & {
|
|
2684
2685
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -2690,12 +2691,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2690
2691
|
iteration: number;
|
|
2691
2692
|
}[];
|
|
2692
2693
|
};
|
|
2693
|
-
kind: "some";
|
|
2694
2694
|
};
|
|
2695
2695
|
} | {
|
|
2696
|
-
kind: "blocked";
|
|
2697
2696
|
blocked: {
|
|
2698
|
-
kind: "retryable_block";
|
|
2699
2697
|
reason: {
|
|
2700
2698
|
kind: "invalid_required_output";
|
|
2701
2699
|
contractRef: string;
|
|
@@ -2708,8 +2706,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2708
2706
|
} | {
|
|
2709
2707
|
kind: "context_budget_exceeded";
|
|
2710
2708
|
};
|
|
2711
|
-
|
|
2712
|
-
|
|
2709
|
+
kind: "retryable_block";
|
|
2710
|
+
blockers: Readonly<{
|
|
2711
|
+
blockers: readonly {
|
|
2713
2712
|
message: string;
|
|
2714
2713
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2715
2714
|
pointer: {
|
|
@@ -2729,11 +2728,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2729
2728
|
};
|
|
2730
2729
|
suggestedFix?: string | undefined;
|
|
2731
2730
|
}[];
|
|
2732
|
-
}
|
|
2731
|
+
}>;
|
|
2733
2732
|
retryAttemptId: string;
|
|
2734
2733
|
validationRef: string;
|
|
2735
2734
|
} | {
|
|
2736
|
-
kind: "terminal_block";
|
|
2737
2735
|
reason: {
|
|
2738
2736
|
kind: "user_only_dependency";
|
|
2739
2737
|
stepId: string;
|
|
@@ -2751,8 +2749,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2751
2749
|
} | {
|
|
2752
2750
|
kind: "evaluation_error";
|
|
2753
2751
|
};
|
|
2754
|
-
|
|
2755
|
-
|
|
2752
|
+
kind: "terminal_block";
|
|
2753
|
+
blockers: Readonly<{
|
|
2754
|
+
blockers: readonly {
|
|
2756
2755
|
message: string;
|
|
2757
2756
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2758
2757
|
pointer: {
|
|
@@ -2772,9 +2771,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2772
2771
|
};
|
|
2773
2772
|
suggestedFix?: string | undefined;
|
|
2774
2773
|
}[];
|
|
2775
|
-
}
|
|
2774
|
+
}>;
|
|
2776
2775
|
validationRef?: string | undefined;
|
|
2777
2776
|
};
|
|
2777
|
+
kind: "blocked";
|
|
2778
2778
|
completed: {
|
|
2779
2779
|
values: StepInstanceKeyV1[];
|
|
2780
2780
|
kind: "set";
|
|
@@ -2789,6 +2789,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2789
2789
|
pending: {
|
|
2790
2790
|
kind: "none";
|
|
2791
2791
|
} | {
|
|
2792
|
+
kind: "some";
|
|
2792
2793
|
step: {
|
|
2793
2794
|
stepId: string & {
|
|
2794
2795
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -2800,7 +2801,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2800
2801
|
iteration: number;
|
|
2801
2802
|
}[];
|
|
2802
2803
|
};
|
|
2803
|
-
kind: "some";
|
|
2804
2804
|
};
|
|
2805
2805
|
} | {
|
|
2806
2806
|
kind: "complete";
|
|
@@ -2823,6 +2823,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2823
2823
|
pending: {
|
|
2824
2824
|
kind: "none";
|
|
2825
2825
|
} | {
|
|
2826
|
+
kind: "some";
|
|
2826
2827
|
step: {
|
|
2827
2828
|
stepId: string;
|
|
2828
2829
|
loopPath: {
|
|
@@ -2830,12 +2831,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2830
2831
|
iteration: number;
|
|
2831
2832
|
}[];
|
|
2832
2833
|
};
|
|
2833
|
-
kind: "some";
|
|
2834
2834
|
};
|
|
2835
2835
|
} | {
|
|
2836
|
-
kind: "blocked";
|
|
2837
2836
|
blocked: {
|
|
2838
|
-
kind: "retryable_block";
|
|
2839
2837
|
reason: {
|
|
2840
2838
|
kind: "invalid_required_output";
|
|
2841
2839
|
contractRef: string;
|
|
@@ -2848,8 +2846,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2848
2846
|
} | {
|
|
2849
2847
|
kind: "context_budget_exceeded";
|
|
2850
2848
|
};
|
|
2851
|
-
|
|
2852
|
-
|
|
2849
|
+
kind: "retryable_block";
|
|
2850
|
+
blockers: Readonly<{
|
|
2851
|
+
blockers: readonly {
|
|
2853
2852
|
message: string;
|
|
2854
2853
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2855
2854
|
pointer: {
|
|
@@ -2869,11 +2868,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2869
2868
|
};
|
|
2870
2869
|
suggestedFix?: string | undefined;
|
|
2871
2870
|
}[];
|
|
2872
|
-
}
|
|
2871
|
+
}>;
|
|
2873
2872
|
retryAttemptId: string;
|
|
2874
2873
|
validationRef: string;
|
|
2875
2874
|
} | {
|
|
2876
|
-
kind: "terminal_block";
|
|
2877
2875
|
reason: {
|
|
2878
2876
|
kind: "user_only_dependency";
|
|
2879
2877
|
stepId: string;
|
|
@@ -2891,8 +2889,9 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2891
2889
|
} | {
|
|
2892
2890
|
kind: "evaluation_error";
|
|
2893
2891
|
};
|
|
2894
|
-
|
|
2895
|
-
|
|
2892
|
+
kind: "terminal_block";
|
|
2893
|
+
blockers: Readonly<{
|
|
2894
|
+
blockers: readonly {
|
|
2896
2895
|
message: string;
|
|
2897
2896
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2898
2897
|
pointer: {
|
|
@@ -2912,9 +2911,10 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2912
2911
|
};
|
|
2913
2912
|
suggestedFix?: string | undefined;
|
|
2914
2913
|
}[];
|
|
2915
|
-
}
|
|
2914
|
+
}>;
|
|
2916
2915
|
validationRef?: string | undefined;
|
|
2917
2916
|
};
|
|
2917
|
+
kind: "blocked";
|
|
2918
2918
|
completed: {
|
|
2919
2919
|
values: string[];
|
|
2920
2920
|
kind: "set";
|
|
@@ -2927,6 +2927,7 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2927
2927
|
pending: {
|
|
2928
2928
|
kind: "none";
|
|
2929
2929
|
} | {
|
|
2930
|
+
kind: "some";
|
|
2930
2931
|
step: {
|
|
2931
2932
|
stepId: string;
|
|
2932
2933
|
loopPath: {
|
|
@@ -2934,7 +2935,6 @@ export declare const EnginePayloadV1Schema: z.ZodObject<{
|
|
|
2934
2935
|
iteration: number;
|
|
2935
2936
|
}[];
|
|
2936
2937
|
};
|
|
2937
|
-
kind: "some";
|
|
2938
2938
|
};
|
|
2939
2939
|
} | {
|
|
2940
2940
|
kind: "complete";
|
|
@@ -3024,6 +3024,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3024
3024
|
}[];
|
|
3025
3025
|
}>;
|
|
3026
3026
|
}, "strict", z.ZodTypeAny, {
|
|
3027
|
+
kind: "some";
|
|
3027
3028
|
step: {
|
|
3028
3029
|
stepId: string & {
|
|
3029
3030
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -3035,8 +3036,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3035
3036
|
iteration: number;
|
|
3036
3037
|
}[];
|
|
3037
3038
|
};
|
|
3038
|
-
kind: "some";
|
|
3039
3039
|
}, {
|
|
3040
|
+
kind: "some";
|
|
3040
3041
|
step: {
|
|
3041
3042
|
stepId: string;
|
|
3042
3043
|
loopPath: {
|
|
@@ -3044,7 +3045,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3044
3045
|
iteration: number;
|
|
3045
3046
|
}[];
|
|
3046
3047
|
};
|
|
3047
|
-
kind: "some";
|
|
3048
3048
|
}>]>;
|
|
3049
3049
|
}, "strict", z.ZodTypeAny, {
|
|
3050
3050
|
kind: "running";
|
|
@@ -3062,6 +3062,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3062
3062
|
pending: {
|
|
3063
3063
|
kind: "none";
|
|
3064
3064
|
} | {
|
|
3065
|
+
kind: "some";
|
|
3065
3066
|
step: {
|
|
3066
3067
|
stepId: string & {
|
|
3067
3068
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -3073,7 +3074,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3073
3074
|
iteration: number;
|
|
3074
3075
|
}[];
|
|
3075
3076
|
};
|
|
3076
|
-
kind: "some";
|
|
3077
3077
|
};
|
|
3078
3078
|
}, {
|
|
3079
3079
|
kind: "running";
|
|
@@ -3089,6 +3089,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3089
3089
|
pending: {
|
|
3090
3090
|
kind: "none";
|
|
3091
3091
|
} | {
|
|
3092
|
+
kind: "some";
|
|
3092
3093
|
step: {
|
|
3093
3094
|
stepId: string;
|
|
3094
3095
|
loopPath: {
|
|
@@ -3096,7 +3097,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3096
3097
|
iteration: number;
|
|
3097
3098
|
}[];
|
|
3098
3099
|
};
|
|
3099
|
-
kind: "some";
|
|
3100
3100
|
};
|
|
3101
3101
|
}>, z.ZodObject<{
|
|
3102
3102
|
kind: z.ZodLiteral<"blocked">;
|
|
@@ -3171,6 +3171,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3171
3171
|
}[];
|
|
3172
3172
|
}>;
|
|
3173
3173
|
}, "strict", z.ZodTypeAny, {
|
|
3174
|
+
kind: "some";
|
|
3174
3175
|
step: {
|
|
3175
3176
|
stepId: string & {
|
|
3176
3177
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -3182,8 +3183,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3182
3183
|
iteration: number;
|
|
3183
3184
|
}[];
|
|
3184
3185
|
};
|
|
3185
|
-
kind: "some";
|
|
3186
3186
|
}, {
|
|
3187
|
+
kind: "some";
|
|
3187
3188
|
step: {
|
|
3188
3189
|
stepId: string;
|
|
3189
3190
|
loopPath: {
|
|
@@ -3191,7 +3192,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3191
3192
|
iteration: number;
|
|
3192
3193
|
}[];
|
|
3193
3194
|
};
|
|
3194
|
-
kind: "some";
|
|
3195
3195
|
}>]>;
|
|
3196
3196
|
blocked: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3197
3197
|
kind: z.ZodLiteral<"retryable_block">;
|
|
@@ -3231,8 +3231,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3231
3231
|
}>]>;
|
|
3232
3232
|
retryAttemptId: z.ZodString;
|
|
3233
3233
|
validationRef: z.ZodString;
|
|
3234
|
-
blockers: z.ZodObject<{
|
|
3235
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
3234
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
3235
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3236
3236
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
3237
3237
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3238
3238
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -3317,9 +3317,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3317
3317
|
stepId: string;
|
|
3318
3318
|
};
|
|
3319
3319
|
suggestedFix?: string | undefined;
|
|
3320
|
-
}>, "many"
|
|
3320
|
+
}>, "many">>;
|
|
3321
3321
|
}, "strip", z.ZodTypeAny, {
|
|
3322
|
-
blockers: {
|
|
3322
|
+
blockers: readonly {
|
|
3323
3323
|
message: string;
|
|
3324
3324
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3325
3325
|
pointer: {
|
|
@@ -3340,7 +3340,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3340
3340
|
suggestedFix?: string | undefined;
|
|
3341
3341
|
}[];
|
|
3342
3342
|
}, {
|
|
3343
|
-
blockers: {
|
|
3343
|
+
blockers: readonly {
|
|
3344
3344
|
message: string;
|
|
3345
3345
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3346
3346
|
pointer: {
|
|
@@ -3360,9 +3360,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3360
3360
|
};
|
|
3361
3361
|
suggestedFix?: string | undefined;
|
|
3362
3362
|
}[];
|
|
3363
|
-
}
|
|
3363
|
+
}>>;
|
|
3364
3364
|
}, "strict", z.ZodTypeAny, {
|
|
3365
|
-
kind: "retryable_block";
|
|
3366
3365
|
reason: {
|
|
3367
3366
|
kind: "invalid_required_output";
|
|
3368
3367
|
contractRef: string;
|
|
@@ -3375,8 +3374,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3375
3374
|
} | {
|
|
3376
3375
|
kind: "context_budget_exceeded";
|
|
3377
3376
|
};
|
|
3378
|
-
|
|
3379
|
-
|
|
3377
|
+
kind: "retryable_block";
|
|
3378
|
+
blockers: Readonly<{
|
|
3379
|
+
blockers: readonly {
|
|
3380
3380
|
message: string;
|
|
3381
3381
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3382
3382
|
pointer: {
|
|
@@ -3396,11 +3396,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3396
3396
|
};
|
|
3397
3397
|
suggestedFix?: string | undefined;
|
|
3398
3398
|
}[];
|
|
3399
|
-
}
|
|
3399
|
+
}>;
|
|
3400
3400
|
retryAttemptId: string;
|
|
3401
3401
|
validationRef: string;
|
|
3402
3402
|
}, {
|
|
3403
|
-
kind: "retryable_block";
|
|
3404
3403
|
reason: {
|
|
3405
3404
|
kind: "invalid_required_output";
|
|
3406
3405
|
contractRef: string;
|
|
@@ -3413,8 +3412,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3413
3412
|
} | {
|
|
3414
3413
|
kind: "context_budget_exceeded";
|
|
3415
3414
|
};
|
|
3416
|
-
|
|
3417
|
-
|
|
3415
|
+
kind: "retryable_block";
|
|
3416
|
+
blockers: Readonly<{
|
|
3417
|
+
blockers: readonly {
|
|
3418
3418
|
message: string;
|
|
3419
3419
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3420
3420
|
pointer: {
|
|
@@ -3434,7 +3434,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3434
3434
|
};
|
|
3435
3435
|
suggestedFix?: string | undefined;
|
|
3436
3436
|
}[];
|
|
3437
|
-
}
|
|
3437
|
+
}>;
|
|
3438
3438
|
retryAttemptId: string;
|
|
3439
3439
|
validationRef: string;
|
|
3440
3440
|
}>, z.ZodObject<{
|
|
@@ -3489,8 +3489,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3489
3489
|
kind: "evaluation_error";
|
|
3490
3490
|
}>]>;
|
|
3491
3491
|
validationRef: z.ZodOptional<z.ZodString>;
|
|
3492
|
-
blockers: z.ZodObject<{
|
|
3493
|
-
blockers: z.ZodArray<z.ZodObject<{
|
|
3492
|
+
blockers: z.ZodReadonly<z.ZodObject<{
|
|
3493
|
+
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3494
3494
|
code: z.ZodEnum<["USER_ONLY_DEPENDENCY", "MISSING_REQUIRED_OUTPUT", "INVALID_REQUIRED_OUTPUT", "REQUIRED_CAPABILITY_UNKNOWN", "REQUIRED_CAPABILITY_UNAVAILABLE", "INVARIANT_VIOLATION", "STORAGE_CORRUPTION_DETECTED"]>;
|
|
3495
3495
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3496
3496
|
kind: z.ZodLiteral<"context_key">;
|
|
@@ -3575,9 +3575,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3575
3575
|
stepId: string;
|
|
3576
3576
|
};
|
|
3577
3577
|
suggestedFix?: string | undefined;
|
|
3578
|
-
}>, "many"
|
|
3578
|
+
}>, "many">>;
|
|
3579
3579
|
}, "strip", z.ZodTypeAny, {
|
|
3580
|
-
blockers: {
|
|
3580
|
+
blockers: readonly {
|
|
3581
3581
|
message: string;
|
|
3582
3582
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3583
3583
|
pointer: {
|
|
@@ -3598,7 +3598,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3598
3598
|
suggestedFix?: string | undefined;
|
|
3599
3599
|
}[];
|
|
3600
3600
|
}, {
|
|
3601
|
-
blockers: {
|
|
3601
|
+
blockers: readonly {
|
|
3602
3602
|
message: string;
|
|
3603
3603
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3604
3604
|
pointer: {
|
|
@@ -3618,9 +3618,8 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3618
3618
|
};
|
|
3619
3619
|
suggestedFix?: string | undefined;
|
|
3620
3620
|
}[];
|
|
3621
|
-
}
|
|
3621
|
+
}>>;
|
|
3622
3622
|
}, "strict", z.ZodTypeAny, {
|
|
3623
|
-
kind: "terminal_block";
|
|
3624
3623
|
reason: {
|
|
3625
3624
|
kind: "user_only_dependency";
|
|
3626
3625
|
stepId: string;
|
|
@@ -3638,8 +3637,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3638
3637
|
} | {
|
|
3639
3638
|
kind: "evaluation_error";
|
|
3640
3639
|
};
|
|
3641
|
-
|
|
3642
|
-
|
|
3640
|
+
kind: "terminal_block";
|
|
3641
|
+
blockers: Readonly<{
|
|
3642
|
+
blockers: readonly {
|
|
3643
3643
|
message: string;
|
|
3644
3644
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3645
3645
|
pointer: {
|
|
@@ -3659,10 +3659,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3659
3659
|
};
|
|
3660
3660
|
suggestedFix?: string | undefined;
|
|
3661
3661
|
}[];
|
|
3662
|
-
}
|
|
3662
|
+
}>;
|
|
3663
3663
|
validationRef?: string | undefined;
|
|
3664
3664
|
}, {
|
|
3665
|
-
kind: "terminal_block";
|
|
3666
3665
|
reason: {
|
|
3667
3666
|
kind: "user_only_dependency";
|
|
3668
3667
|
stepId: string;
|
|
@@ -3680,8 +3679,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3680
3679
|
} | {
|
|
3681
3680
|
kind: "evaluation_error";
|
|
3682
3681
|
};
|
|
3683
|
-
|
|
3684
|
-
|
|
3682
|
+
kind: "terminal_block";
|
|
3683
|
+
blockers: Readonly<{
|
|
3684
|
+
blockers: readonly {
|
|
3685
3685
|
message: string;
|
|
3686
3686
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3687
3687
|
pointer: {
|
|
@@ -3701,13 +3701,11 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3701
3701
|
};
|
|
3702
3702
|
suggestedFix?: string | undefined;
|
|
3703
3703
|
}[];
|
|
3704
|
-
}
|
|
3704
|
+
}>;
|
|
3705
3705
|
validationRef?: string | undefined;
|
|
3706
3706
|
}>]>;
|
|
3707
3707
|
}, "strict", z.ZodTypeAny, {
|
|
3708
|
-
kind: "blocked";
|
|
3709
3708
|
blocked: {
|
|
3710
|
-
kind: "retryable_block";
|
|
3711
3709
|
reason: {
|
|
3712
3710
|
kind: "invalid_required_output";
|
|
3713
3711
|
contractRef: string;
|
|
@@ -3720,8 +3718,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3720
3718
|
} | {
|
|
3721
3719
|
kind: "context_budget_exceeded";
|
|
3722
3720
|
};
|
|
3723
|
-
|
|
3724
|
-
|
|
3721
|
+
kind: "retryable_block";
|
|
3722
|
+
blockers: Readonly<{
|
|
3723
|
+
blockers: readonly {
|
|
3725
3724
|
message: string;
|
|
3726
3725
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3727
3726
|
pointer: {
|
|
@@ -3741,11 +3740,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3741
3740
|
};
|
|
3742
3741
|
suggestedFix?: string | undefined;
|
|
3743
3742
|
}[];
|
|
3744
|
-
}
|
|
3743
|
+
}>;
|
|
3745
3744
|
retryAttemptId: string;
|
|
3746
3745
|
validationRef: string;
|
|
3747
3746
|
} | {
|
|
3748
|
-
kind: "terminal_block";
|
|
3749
3747
|
reason: {
|
|
3750
3748
|
kind: "user_only_dependency";
|
|
3751
3749
|
stepId: string;
|
|
@@ -3763,8 +3761,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3763
3761
|
} | {
|
|
3764
3762
|
kind: "evaluation_error";
|
|
3765
3763
|
};
|
|
3766
|
-
|
|
3767
|
-
|
|
3764
|
+
kind: "terminal_block";
|
|
3765
|
+
blockers: Readonly<{
|
|
3766
|
+
blockers: readonly {
|
|
3768
3767
|
message: string;
|
|
3769
3768
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3770
3769
|
pointer: {
|
|
@@ -3784,9 +3783,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3784
3783
|
};
|
|
3785
3784
|
suggestedFix?: string | undefined;
|
|
3786
3785
|
}[];
|
|
3787
|
-
}
|
|
3786
|
+
}>;
|
|
3788
3787
|
validationRef?: string | undefined;
|
|
3789
3788
|
};
|
|
3789
|
+
kind: "blocked";
|
|
3790
3790
|
completed: {
|
|
3791
3791
|
values: StepInstanceKeyV1[];
|
|
3792
3792
|
kind: "set";
|
|
@@ -3801,6 +3801,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3801
3801
|
pending: {
|
|
3802
3802
|
kind: "none";
|
|
3803
3803
|
} | {
|
|
3804
|
+
kind: "some";
|
|
3804
3805
|
step: {
|
|
3805
3806
|
stepId: string & {
|
|
3806
3807
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -3812,12 +3813,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3812
3813
|
iteration: number;
|
|
3813
3814
|
}[];
|
|
3814
3815
|
};
|
|
3815
|
-
kind: "some";
|
|
3816
3816
|
};
|
|
3817
3817
|
}, {
|
|
3818
|
-
kind: "blocked";
|
|
3819
3818
|
blocked: {
|
|
3820
|
-
kind: "retryable_block";
|
|
3821
3819
|
reason: {
|
|
3822
3820
|
kind: "invalid_required_output";
|
|
3823
3821
|
contractRef: string;
|
|
@@ -3830,8 +3828,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3830
3828
|
} | {
|
|
3831
3829
|
kind: "context_budget_exceeded";
|
|
3832
3830
|
};
|
|
3833
|
-
|
|
3834
|
-
|
|
3831
|
+
kind: "retryable_block";
|
|
3832
|
+
blockers: Readonly<{
|
|
3833
|
+
blockers: readonly {
|
|
3835
3834
|
message: string;
|
|
3836
3835
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3837
3836
|
pointer: {
|
|
@@ -3851,11 +3850,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3851
3850
|
};
|
|
3852
3851
|
suggestedFix?: string | undefined;
|
|
3853
3852
|
}[];
|
|
3854
|
-
}
|
|
3853
|
+
}>;
|
|
3855
3854
|
retryAttemptId: string;
|
|
3856
3855
|
validationRef: string;
|
|
3857
3856
|
} | {
|
|
3858
|
-
kind: "terminal_block";
|
|
3859
3857
|
reason: {
|
|
3860
3858
|
kind: "user_only_dependency";
|
|
3861
3859
|
stepId: string;
|
|
@@ -3873,8 +3871,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3873
3871
|
} | {
|
|
3874
3872
|
kind: "evaluation_error";
|
|
3875
3873
|
};
|
|
3876
|
-
|
|
3877
|
-
|
|
3874
|
+
kind: "terminal_block";
|
|
3875
|
+
blockers: Readonly<{
|
|
3876
|
+
blockers: readonly {
|
|
3878
3877
|
message: string;
|
|
3879
3878
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3880
3879
|
pointer: {
|
|
@@ -3894,9 +3893,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3894
3893
|
};
|
|
3895
3894
|
suggestedFix?: string | undefined;
|
|
3896
3895
|
}[];
|
|
3897
|
-
}
|
|
3896
|
+
}>;
|
|
3898
3897
|
validationRef?: string | undefined;
|
|
3899
3898
|
};
|
|
3899
|
+
kind: "blocked";
|
|
3900
3900
|
completed: {
|
|
3901
3901
|
values: string[];
|
|
3902
3902
|
kind: "set";
|
|
@@ -3909,6 +3909,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3909
3909
|
pending: {
|
|
3910
3910
|
kind: "none";
|
|
3911
3911
|
} | {
|
|
3912
|
+
kind: "some";
|
|
3912
3913
|
step: {
|
|
3913
3914
|
stepId: string;
|
|
3914
3915
|
loopPath: {
|
|
@@ -3916,7 +3917,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3916
3917
|
iteration: number;
|
|
3917
3918
|
}[];
|
|
3918
3919
|
};
|
|
3919
|
-
kind: "some";
|
|
3920
3920
|
};
|
|
3921
3921
|
}>, z.ZodObject<{
|
|
3922
3922
|
kind: z.ZodLiteral<"complete">;
|
|
@@ -3942,6 +3942,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3942
3942
|
pending: {
|
|
3943
3943
|
kind: "none";
|
|
3944
3944
|
} | {
|
|
3945
|
+
kind: "some";
|
|
3945
3946
|
step: {
|
|
3946
3947
|
stepId: string & {
|
|
3947
3948
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -3953,12 +3954,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3953
3954
|
iteration: number;
|
|
3954
3955
|
}[];
|
|
3955
3956
|
};
|
|
3956
|
-
kind: "some";
|
|
3957
3957
|
};
|
|
3958
3958
|
} | {
|
|
3959
|
-
kind: "blocked";
|
|
3960
3959
|
blocked: {
|
|
3961
|
-
kind: "retryable_block";
|
|
3962
3960
|
reason: {
|
|
3963
3961
|
kind: "invalid_required_output";
|
|
3964
3962
|
contractRef: string;
|
|
@@ -3971,8 +3969,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3971
3969
|
} | {
|
|
3972
3970
|
kind: "context_budget_exceeded";
|
|
3973
3971
|
};
|
|
3974
|
-
|
|
3975
|
-
|
|
3972
|
+
kind: "retryable_block";
|
|
3973
|
+
blockers: Readonly<{
|
|
3974
|
+
blockers: readonly {
|
|
3976
3975
|
message: string;
|
|
3977
3976
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3978
3977
|
pointer: {
|
|
@@ -3992,11 +3991,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
3992
3991
|
};
|
|
3993
3992
|
suggestedFix?: string | undefined;
|
|
3994
3993
|
}[];
|
|
3995
|
-
}
|
|
3994
|
+
}>;
|
|
3996
3995
|
retryAttemptId: string;
|
|
3997
3996
|
validationRef: string;
|
|
3998
3997
|
} | {
|
|
3999
|
-
kind: "terminal_block";
|
|
4000
3998
|
reason: {
|
|
4001
3999
|
kind: "user_only_dependency";
|
|
4002
4000
|
stepId: string;
|
|
@@ -4014,8 +4012,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4014
4012
|
} | {
|
|
4015
4013
|
kind: "evaluation_error";
|
|
4016
4014
|
};
|
|
4017
|
-
|
|
4018
|
-
|
|
4015
|
+
kind: "terminal_block";
|
|
4016
|
+
blockers: Readonly<{
|
|
4017
|
+
blockers: readonly {
|
|
4019
4018
|
message: string;
|
|
4020
4019
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4021
4020
|
pointer: {
|
|
@@ -4035,9 +4034,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4035
4034
|
};
|
|
4036
4035
|
suggestedFix?: string | undefined;
|
|
4037
4036
|
}[];
|
|
4038
|
-
}
|
|
4037
|
+
}>;
|
|
4039
4038
|
validationRef?: string | undefined;
|
|
4040
4039
|
};
|
|
4040
|
+
kind: "blocked";
|
|
4041
4041
|
completed: {
|
|
4042
4042
|
values: StepInstanceKeyV1[];
|
|
4043
4043
|
kind: "set";
|
|
@@ -4052,6 +4052,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4052
4052
|
pending: {
|
|
4053
4053
|
kind: "none";
|
|
4054
4054
|
} | {
|
|
4055
|
+
kind: "some";
|
|
4055
4056
|
step: {
|
|
4056
4057
|
stepId: string & {
|
|
4057
4058
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -4063,7 +4064,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4063
4064
|
iteration: number;
|
|
4064
4065
|
}[];
|
|
4065
4066
|
};
|
|
4066
|
-
kind: "some";
|
|
4067
4067
|
};
|
|
4068
4068
|
} | {
|
|
4069
4069
|
kind: "complete";
|
|
@@ -4083,6 +4083,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4083
4083
|
pending: {
|
|
4084
4084
|
kind: "none";
|
|
4085
4085
|
} | {
|
|
4086
|
+
kind: "some";
|
|
4086
4087
|
step: {
|
|
4087
4088
|
stepId: string;
|
|
4088
4089
|
loopPath: {
|
|
@@ -4090,12 +4091,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4090
4091
|
iteration: number;
|
|
4091
4092
|
}[];
|
|
4092
4093
|
};
|
|
4093
|
-
kind: "some";
|
|
4094
4094
|
};
|
|
4095
4095
|
} | {
|
|
4096
|
-
kind: "blocked";
|
|
4097
4096
|
blocked: {
|
|
4098
|
-
kind: "retryable_block";
|
|
4099
4097
|
reason: {
|
|
4100
4098
|
kind: "invalid_required_output";
|
|
4101
4099
|
contractRef: string;
|
|
@@ -4108,8 +4106,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4108
4106
|
} | {
|
|
4109
4107
|
kind: "context_budget_exceeded";
|
|
4110
4108
|
};
|
|
4111
|
-
|
|
4112
|
-
|
|
4109
|
+
kind: "retryable_block";
|
|
4110
|
+
blockers: Readonly<{
|
|
4111
|
+
blockers: readonly {
|
|
4113
4112
|
message: string;
|
|
4114
4113
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4115
4114
|
pointer: {
|
|
@@ -4129,11 +4128,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4129
4128
|
};
|
|
4130
4129
|
suggestedFix?: string | undefined;
|
|
4131
4130
|
}[];
|
|
4132
|
-
}
|
|
4131
|
+
}>;
|
|
4133
4132
|
retryAttemptId: string;
|
|
4134
4133
|
validationRef: string;
|
|
4135
4134
|
} | {
|
|
4136
|
-
kind: "terminal_block";
|
|
4137
4135
|
reason: {
|
|
4138
4136
|
kind: "user_only_dependency";
|
|
4139
4137
|
stepId: string;
|
|
@@ -4151,8 +4149,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4151
4149
|
} | {
|
|
4152
4150
|
kind: "evaluation_error";
|
|
4153
4151
|
};
|
|
4154
|
-
|
|
4155
|
-
|
|
4152
|
+
kind: "terminal_block";
|
|
4153
|
+
blockers: Readonly<{
|
|
4154
|
+
blockers: readonly {
|
|
4156
4155
|
message: string;
|
|
4157
4156
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4158
4157
|
pointer: {
|
|
@@ -4172,9 +4171,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4172
4171
|
};
|
|
4173
4172
|
suggestedFix?: string | undefined;
|
|
4174
4173
|
}[];
|
|
4175
|
-
}
|
|
4174
|
+
}>;
|
|
4176
4175
|
validationRef?: string | undefined;
|
|
4177
4176
|
};
|
|
4177
|
+
kind: "blocked";
|
|
4178
4178
|
completed: {
|
|
4179
4179
|
values: string[];
|
|
4180
4180
|
kind: "set";
|
|
@@ -4187,6 +4187,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4187
4187
|
pending: {
|
|
4188
4188
|
kind: "none";
|
|
4189
4189
|
} | {
|
|
4190
|
+
kind: "some";
|
|
4190
4191
|
step: {
|
|
4191
4192
|
stepId: string;
|
|
4192
4193
|
loopPath: {
|
|
@@ -4194,7 +4195,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4194
4195
|
iteration: number;
|
|
4195
4196
|
}[];
|
|
4196
4197
|
};
|
|
4197
|
-
kind: "some";
|
|
4198
4198
|
};
|
|
4199
4199
|
} | {
|
|
4200
4200
|
kind: "complete";
|
|
@@ -4219,6 +4219,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4219
4219
|
pending: {
|
|
4220
4220
|
kind: "none";
|
|
4221
4221
|
} | {
|
|
4222
|
+
kind: "some";
|
|
4222
4223
|
step: {
|
|
4223
4224
|
stepId: string & {
|
|
4224
4225
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -4230,12 +4231,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4230
4231
|
iteration: number;
|
|
4231
4232
|
}[];
|
|
4232
4233
|
};
|
|
4233
|
-
kind: "some";
|
|
4234
4234
|
};
|
|
4235
4235
|
} | {
|
|
4236
|
-
kind: "blocked";
|
|
4237
4236
|
blocked: {
|
|
4238
|
-
kind: "retryable_block";
|
|
4239
4237
|
reason: {
|
|
4240
4238
|
kind: "invalid_required_output";
|
|
4241
4239
|
contractRef: string;
|
|
@@ -4248,8 +4246,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4248
4246
|
} | {
|
|
4249
4247
|
kind: "context_budget_exceeded";
|
|
4250
4248
|
};
|
|
4251
|
-
|
|
4252
|
-
|
|
4249
|
+
kind: "retryable_block";
|
|
4250
|
+
blockers: Readonly<{
|
|
4251
|
+
blockers: readonly {
|
|
4253
4252
|
message: string;
|
|
4254
4253
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4255
4254
|
pointer: {
|
|
@@ -4269,11 +4268,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4269
4268
|
};
|
|
4270
4269
|
suggestedFix?: string | undefined;
|
|
4271
4270
|
}[];
|
|
4272
|
-
}
|
|
4271
|
+
}>;
|
|
4273
4272
|
retryAttemptId: string;
|
|
4274
4273
|
validationRef: string;
|
|
4275
4274
|
} | {
|
|
4276
|
-
kind: "terminal_block";
|
|
4277
4275
|
reason: {
|
|
4278
4276
|
kind: "user_only_dependency";
|
|
4279
4277
|
stepId: string;
|
|
@@ -4291,8 +4289,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4291
4289
|
} | {
|
|
4292
4290
|
kind: "evaluation_error";
|
|
4293
4291
|
};
|
|
4294
|
-
|
|
4295
|
-
|
|
4292
|
+
kind: "terminal_block";
|
|
4293
|
+
blockers: Readonly<{
|
|
4294
|
+
blockers: readonly {
|
|
4296
4295
|
message: string;
|
|
4297
4296
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4298
4297
|
pointer: {
|
|
@@ -4312,9 +4311,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4312
4311
|
};
|
|
4313
4312
|
suggestedFix?: string | undefined;
|
|
4314
4313
|
}[];
|
|
4315
|
-
}
|
|
4314
|
+
}>;
|
|
4316
4315
|
validationRef?: string | undefined;
|
|
4317
4316
|
};
|
|
4317
|
+
kind: "blocked";
|
|
4318
4318
|
completed: {
|
|
4319
4319
|
values: StepInstanceKeyV1[];
|
|
4320
4320
|
kind: "set";
|
|
@@ -4329,6 +4329,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4329
4329
|
pending: {
|
|
4330
4330
|
kind: "none";
|
|
4331
4331
|
} | {
|
|
4332
|
+
kind: "some";
|
|
4332
4333
|
step: {
|
|
4333
4334
|
stepId: string & {
|
|
4334
4335
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -4340,7 +4341,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4340
4341
|
iteration: number;
|
|
4341
4342
|
}[];
|
|
4342
4343
|
};
|
|
4343
|
-
kind: "some";
|
|
4344
4344
|
};
|
|
4345
4345
|
} | {
|
|
4346
4346
|
kind: "complete";
|
|
@@ -4363,6 +4363,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4363
4363
|
pending: {
|
|
4364
4364
|
kind: "none";
|
|
4365
4365
|
} | {
|
|
4366
|
+
kind: "some";
|
|
4366
4367
|
step: {
|
|
4367
4368
|
stepId: string;
|
|
4368
4369
|
loopPath: {
|
|
@@ -4370,12 +4371,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4370
4371
|
iteration: number;
|
|
4371
4372
|
}[];
|
|
4372
4373
|
};
|
|
4373
|
-
kind: "some";
|
|
4374
4374
|
};
|
|
4375
4375
|
} | {
|
|
4376
|
-
kind: "blocked";
|
|
4377
4376
|
blocked: {
|
|
4378
|
-
kind: "retryable_block";
|
|
4379
4377
|
reason: {
|
|
4380
4378
|
kind: "invalid_required_output";
|
|
4381
4379
|
contractRef: string;
|
|
@@ -4388,8 +4386,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4388
4386
|
} | {
|
|
4389
4387
|
kind: "context_budget_exceeded";
|
|
4390
4388
|
};
|
|
4391
|
-
|
|
4392
|
-
|
|
4389
|
+
kind: "retryable_block";
|
|
4390
|
+
blockers: Readonly<{
|
|
4391
|
+
blockers: readonly {
|
|
4393
4392
|
message: string;
|
|
4394
4393
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4395
4394
|
pointer: {
|
|
@@ -4409,11 +4408,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4409
4408
|
};
|
|
4410
4409
|
suggestedFix?: string | undefined;
|
|
4411
4410
|
}[];
|
|
4412
|
-
}
|
|
4411
|
+
}>;
|
|
4413
4412
|
retryAttemptId: string;
|
|
4414
4413
|
validationRef: string;
|
|
4415
4414
|
} | {
|
|
4416
|
-
kind: "terminal_block";
|
|
4417
4415
|
reason: {
|
|
4418
4416
|
kind: "user_only_dependency";
|
|
4419
4417
|
stepId: string;
|
|
@@ -4431,8 +4429,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4431
4429
|
} | {
|
|
4432
4430
|
kind: "evaluation_error";
|
|
4433
4431
|
};
|
|
4434
|
-
|
|
4435
|
-
|
|
4432
|
+
kind: "terminal_block";
|
|
4433
|
+
blockers: Readonly<{
|
|
4434
|
+
blockers: readonly {
|
|
4436
4435
|
message: string;
|
|
4437
4436
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4438
4437
|
pointer: {
|
|
@@ -4452,9 +4451,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4452
4451
|
};
|
|
4453
4452
|
suggestedFix?: string | undefined;
|
|
4454
4453
|
}[];
|
|
4455
|
-
}
|
|
4454
|
+
}>;
|
|
4456
4455
|
validationRef?: string | undefined;
|
|
4457
4456
|
};
|
|
4457
|
+
kind: "blocked";
|
|
4458
4458
|
completed: {
|
|
4459
4459
|
values: string[];
|
|
4460
4460
|
kind: "set";
|
|
@@ -4467,6 +4467,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4467
4467
|
pending: {
|
|
4468
4468
|
kind: "none";
|
|
4469
4469
|
} | {
|
|
4470
|
+
kind: "some";
|
|
4470
4471
|
step: {
|
|
4471
4472
|
stepId: string;
|
|
4472
4473
|
loopPath: {
|
|
@@ -4474,7 +4475,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4474
4475
|
iteration: number;
|
|
4475
4476
|
}[];
|
|
4476
4477
|
};
|
|
4477
|
-
kind: "some";
|
|
4478
4478
|
};
|
|
4479
4479
|
} | {
|
|
4480
4480
|
kind: "complete";
|
|
@@ -4503,6 +4503,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4503
4503
|
pending: {
|
|
4504
4504
|
kind: "none";
|
|
4505
4505
|
} | {
|
|
4506
|
+
kind: "some";
|
|
4506
4507
|
step: {
|
|
4507
4508
|
stepId: string & {
|
|
4508
4509
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -4514,12 +4515,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4514
4515
|
iteration: number;
|
|
4515
4516
|
}[];
|
|
4516
4517
|
};
|
|
4517
|
-
kind: "some";
|
|
4518
4518
|
};
|
|
4519
4519
|
} | {
|
|
4520
|
-
kind: "blocked";
|
|
4521
4520
|
blocked: {
|
|
4522
|
-
kind: "retryable_block";
|
|
4523
4521
|
reason: {
|
|
4524
4522
|
kind: "invalid_required_output";
|
|
4525
4523
|
contractRef: string;
|
|
@@ -4532,8 +4530,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4532
4530
|
} | {
|
|
4533
4531
|
kind: "context_budget_exceeded";
|
|
4534
4532
|
};
|
|
4535
|
-
|
|
4536
|
-
|
|
4533
|
+
kind: "retryable_block";
|
|
4534
|
+
blockers: Readonly<{
|
|
4535
|
+
blockers: readonly {
|
|
4537
4536
|
message: string;
|
|
4538
4537
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4539
4538
|
pointer: {
|
|
@@ -4553,11 +4552,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4553
4552
|
};
|
|
4554
4553
|
suggestedFix?: string | undefined;
|
|
4555
4554
|
}[];
|
|
4556
|
-
}
|
|
4555
|
+
}>;
|
|
4557
4556
|
retryAttemptId: string;
|
|
4558
4557
|
validationRef: string;
|
|
4559
4558
|
} | {
|
|
4560
|
-
kind: "terminal_block";
|
|
4561
4559
|
reason: {
|
|
4562
4560
|
kind: "user_only_dependency";
|
|
4563
4561
|
stepId: string;
|
|
@@ -4575,8 +4573,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4575
4573
|
} | {
|
|
4576
4574
|
kind: "evaluation_error";
|
|
4577
4575
|
};
|
|
4578
|
-
|
|
4579
|
-
|
|
4576
|
+
kind: "terminal_block";
|
|
4577
|
+
blockers: Readonly<{
|
|
4578
|
+
blockers: readonly {
|
|
4580
4579
|
message: string;
|
|
4581
4580
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4582
4581
|
pointer: {
|
|
@@ -4596,9 +4595,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4596
4595
|
};
|
|
4597
4596
|
suggestedFix?: string | undefined;
|
|
4598
4597
|
}[];
|
|
4599
|
-
}
|
|
4598
|
+
}>;
|
|
4600
4599
|
validationRef?: string | undefined;
|
|
4601
4600
|
};
|
|
4601
|
+
kind: "blocked";
|
|
4602
4602
|
completed: {
|
|
4603
4603
|
values: StepInstanceKeyV1[];
|
|
4604
4604
|
kind: "set";
|
|
@@ -4613,6 +4613,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4613
4613
|
pending: {
|
|
4614
4614
|
kind: "none";
|
|
4615
4615
|
} | {
|
|
4616
|
+
kind: "some";
|
|
4616
4617
|
step: {
|
|
4617
4618
|
stepId: string & {
|
|
4618
4619
|
readonly __brand: "v2.DelimiterSafeIdV1";
|
|
@@ -4624,7 +4625,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4624
4625
|
iteration: number;
|
|
4625
4626
|
}[];
|
|
4626
4627
|
};
|
|
4627
|
-
kind: "some";
|
|
4628
4628
|
};
|
|
4629
4629
|
} | {
|
|
4630
4630
|
kind: "complete";
|
|
@@ -4651,6 +4651,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4651
4651
|
pending: {
|
|
4652
4652
|
kind: "none";
|
|
4653
4653
|
} | {
|
|
4654
|
+
kind: "some";
|
|
4654
4655
|
step: {
|
|
4655
4656
|
stepId: string;
|
|
4656
4657
|
loopPath: {
|
|
@@ -4658,12 +4659,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4658
4659
|
iteration: number;
|
|
4659
4660
|
}[];
|
|
4660
4661
|
};
|
|
4661
|
-
kind: "some";
|
|
4662
4662
|
};
|
|
4663
4663
|
} | {
|
|
4664
|
-
kind: "blocked";
|
|
4665
4664
|
blocked: {
|
|
4666
|
-
kind: "retryable_block";
|
|
4667
4665
|
reason: {
|
|
4668
4666
|
kind: "invalid_required_output";
|
|
4669
4667
|
contractRef: string;
|
|
@@ -4676,8 +4674,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4676
4674
|
} | {
|
|
4677
4675
|
kind: "context_budget_exceeded";
|
|
4678
4676
|
};
|
|
4679
|
-
|
|
4680
|
-
|
|
4677
|
+
kind: "retryable_block";
|
|
4678
|
+
blockers: Readonly<{
|
|
4679
|
+
blockers: readonly {
|
|
4681
4680
|
message: string;
|
|
4682
4681
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4683
4682
|
pointer: {
|
|
@@ -4697,11 +4696,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4697
4696
|
};
|
|
4698
4697
|
suggestedFix?: string | undefined;
|
|
4699
4698
|
}[];
|
|
4700
|
-
}
|
|
4699
|
+
}>;
|
|
4701
4700
|
retryAttemptId: string;
|
|
4702
4701
|
validationRef: string;
|
|
4703
4702
|
} | {
|
|
4704
|
-
kind: "terminal_block";
|
|
4705
4703
|
reason: {
|
|
4706
4704
|
kind: "user_only_dependency";
|
|
4707
4705
|
stepId: string;
|
|
@@ -4719,8 +4717,9 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4719
4717
|
} | {
|
|
4720
4718
|
kind: "evaluation_error";
|
|
4721
4719
|
};
|
|
4722
|
-
|
|
4723
|
-
|
|
4720
|
+
kind: "terminal_block";
|
|
4721
|
+
blockers: Readonly<{
|
|
4722
|
+
blockers: readonly {
|
|
4724
4723
|
message: string;
|
|
4725
4724
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4726
4725
|
pointer: {
|
|
@@ -4740,9 +4739,10 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4740
4739
|
};
|
|
4741
4740
|
suggestedFix?: string | undefined;
|
|
4742
4741
|
}[];
|
|
4743
|
-
}
|
|
4742
|
+
}>;
|
|
4744
4743
|
validationRef?: string | undefined;
|
|
4745
4744
|
};
|
|
4745
|
+
kind: "blocked";
|
|
4746
4746
|
completed: {
|
|
4747
4747
|
values: string[];
|
|
4748
4748
|
kind: "set";
|
|
@@ -4755,6 +4755,7 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4755
4755
|
pending: {
|
|
4756
4756
|
kind: "none";
|
|
4757
4757
|
} | {
|
|
4758
|
+
kind: "some";
|
|
4758
4759
|
step: {
|
|
4759
4760
|
stepId: string;
|
|
4760
4761
|
loopPath: {
|
|
@@ -4762,7 +4763,6 @@ export declare const ExecutionSnapshotFileV1Schema: z.ZodObject<{
|
|
|
4762
4763
|
iteration: number;
|
|
4763
4764
|
}[];
|
|
4764
4765
|
};
|
|
4765
|
-
kind: "some";
|
|
4766
4766
|
};
|
|
4767
4767
|
} | {
|
|
4768
4768
|
kind: "complete";
|