botmux 2.49.0 → 2.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +48 -46
- package/README.md +44 -42
- package/dist/adapters/cli/aiden.js +3 -2
- package/dist/adapters/cli/aiden.js.map +1 -1
- package/dist/adapters/cli/antigravity.js +2 -2
- package/dist/adapters/cli/antigravity.js.map +1 -1
- package/dist/adapters/cli/claude-code.d.ts.map +1 -1
- package/dist/adapters/cli/claude-code.js +12 -10
- package/dist/adapters/cli/claude-code.js.map +1 -1
- package/dist/adapters/cli/coco.js +3 -2
- package/dist/adapters/cli/coco.js.map +1 -1
- package/dist/adapters/cli/codex.js +2 -2
- package/dist/adapters/cli/codex.js.map +1 -1
- package/dist/adapters/cli/cursor.js +2 -2
- package/dist/adapters/cli/cursor.js.map +1 -1
- package/dist/adapters/cli/gemini.js +2 -2
- package/dist/adapters/cli/gemini.js.map +1 -1
- package/dist/adapters/cli/hermes.d.ts.map +1 -1
- package/dist/adapters/cli/hermes.js +4 -2
- package/dist/adapters/cli/hermes.js.map +1 -1
- package/dist/adapters/cli/types.d.ts +2 -0
- package/dist/adapters/cli/types.d.ts.map +1 -1
- package/dist/bot-registry.d.ts +5 -0
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +1 -0
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +60 -6
- package/dist/cli.js.map +1 -1
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +2 -0
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/setup/open-platform-automation.d.ts +149 -0
- package/dist/setup/open-platform-automation.d.ts.map +1 -0
- package/dist/setup/open-platform-automation.js +845 -0
- package/dist/setup/open-platform-automation.js.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/worker.js +1 -0
- package/dist/worker.js.map +1 -1
- package/dist/workflows/definition.d.ts +8 -8
- package/dist/workflows/events/payloads.d.ts +10 -10
- package/dist/workflows/events/schema.d.ts +28 -28
- package/package.json +1 -1
|
@@ -218,10 +218,10 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
218
218
|
unsafeAllowUngated: z.ZodOptional<z.ZodBoolean>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
220
|
type: "subagent";
|
|
221
|
+
bot: string;
|
|
221
222
|
prompt: string | {
|
|
222
223
|
$ref: string;
|
|
223
224
|
};
|
|
224
|
-
bot: string;
|
|
225
225
|
workingDir?: string | undefined;
|
|
226
226
|
timeoutMs?: number | undefined;
|
|
227
227
|
maxOutputBytes?: number | undefined;
|
|
@@ -255,10 +255,10 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
255
255
|
unsafeAllowUngated?: boolean | undefined;
|
|
256
256
|
}, {
|
|
257
257
|
type: "subagent";
|
|
258
|
+
bot: string;
|
|
258
259
|
prompt: string | {
|
|
259
260
|
$ref: string;
|
|
260
261
|
};
|
|
261
|
-
bot: string;
|
|
262
262
|
workingDir?: string | undefined;
|
|
263
263
|
timeoutMs?: number | undefined;
|
|
264
264
|
maxOutputBytes?: number | undefined;
|
|
@@ -646,10 +646,10 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
646
646
|
unsafeAllowUngated: z.ZodOptional<z.ZodBoolean>;
|
|
647
647
|
}, "strip", z.ZodTypeAny, {
|
|
648
648
|
type: "subagent";
|
|
649
|
+
bot: string;
|
|
649
650
|
prompt: string | {
|
|
650
651
|
$ref: string;
|
|
651
652
|
};
|
|
652
|
-
bot: string;
|
|
653
653
|
workingDir?: string | undefined;
|
|
654
654
|
timeoutMs?: number | undefined;
|
|
655
655
|
maxOutputBytes?: number | undefined;
|
|
@@ -683,10 +683,10 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
683
683
|
unsafeAllowUngated?: boolean | undefined;
|
|
684
684
|
}, {
|
|
685
685
|
type: "subagent";
|
|
686
|
+
bot: string;
|
|
686
687
|
prompt: string | {
|
|
687
688
|
$ref: string;
|
|
688
689
|
};
|
|
689
|
-
bot: string;
|
|
690
690
|
workingDir?: string | undefined;
|
|
691
691
|
timeoutMs?: number | undefined;
|
|
692
692
|
maxOutputBytes?: number | undefined;
|
|
@@ -1132,10 +1132,10 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1132
1132
|
unsafeAllowUngated: z.ZodOptional<z.ZodBoolean>;
|
|
1133
1133
|
}, "strip", z.ZodTypeAny, {
|
|
1134
1134
|
type: "subagent";
|
|
1135
|
+
bot: string;
|
|
1135
1136
|
prompt: string | {
|
|
1136
1137
|
$ref: string;
|
|
1137
1138
|
};
|
|
1138
|
-
bot: string;
|
|
1139
1139
|
workingDir?: string | undefined;
|
|
1140
1140
|
timeoutMs?: number | undefined;
|
|
1141
1141
|
maxOutputBytes?: number | undefined;
|
|
@@ -1169,10 +1169,10 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1169
1169
|
unsafeAllowUngated?: boolean | undefined;
|
|
1170
1170
|
}, {
|
|
1171
1171
|
type: "subagent";
|
|
1172
|
+
bot: string;
|
|
1172
1173
|
prompt: string | {
|
|
1173
1174
|
$ref: string;
|
|
1174
1175
|
};
|
|
1175
|
-
bot: string;
|
|
1176
1176
|
workingDir?: string | undefined;
|
|
1177
1177
|
timeoutMs?: number | undefined;
|
|
1178
1178
|
maxOutputBytes?: number | undefined;
|
|
@@ -1439,10 +1439,10 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1439
1439
|
workflowId: string;
|
|
1440
1440
|
nodes: Record<string, {
|
|
1441
1441
|
type: "subagent";
|
|
1442
|
+
bot: string;
|
|
1442
1443
|
prompt: string | {
|
|
1443
1444
|
$ref: string;
|
|
1444
1445
|
};
|
|
1445
|
-
bot: string;
|
|
1446
1446
|
workingDir?: string | undefined;
|
|
1447
1447
|
timeoutMs?: number | undefined;
|
|
1448
1448
|
maxOutputBytes?: number | undefined;
|
|
@@ -1551,10 +1551,10 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1551
1551
|
workflowId: string;
|
|
1552
1552
|
nodes: Record<string, {
|
|
1553
1553
|
type: "subagent";
|
|
1554
|
+
bot: string;
|
|
1554
1555
|
prompt: string | {
|
|
1555
1556
|
$ref: string;
|
|
1556
1557
|
};
|
|
1557
|
-
bot: string;
|
|
1558
1558
|
workingDir?: string | undefined;
|
|
1559
1559
|
timeoutMs?: number | undefined;
|
|
1560
1560
|
maxOutputBytes?: number | undefined;
|
|
@@ -14,12 +14,12 @@ export declare const ErrorPayloadSchema: z.ZodObject<{
|
|
|
14
14
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
17
|
-
errorClass: "
|
|
17
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
18
18
|
errorMessage: string;
|
|
19
19
|
stackRef?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
22
|
-
errorClass: "
|
|
22
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
23
23
|
errorMessage: string;
|
|
24
24
|
stackRef?: string | undefined;
|
|
25
25
|
}>;
|
|
@@ -286,11 +286,11 @@ export declare const NodeFailedPayload: z.ZodObject<{
|
|
|
286
286
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
288
|
nodeId: string;
|
|
289
|
-
errorClass: "
|
|
289
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
290
290
|
lastActivityId: string;
|
|
291
291
|
}, {
|
|
292
292
|
nodeId: string;
|
|
293
|
-
errorClass: "
|
|
293
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
294
294
|
lastActivityId: string;
|
|
295
295
|
}>;
|
|
296
296
|
export declare const NodeSkippedPayload: z.ZodObject<{
|
|
@@ -436,7 +436,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
|
|
|
436
436
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
437
437
|
finalIteration: number;
|
|
438
438
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
439
|
-
errorClass?: "
|
|
439
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
440
440
|
outputRef?: {
|
|
441
441
|
outputHash: string;
|
|
442
442
|
outputBytes: number;
|
|
@@ -449,7 +449,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
|
|
|
449
449
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
450
450
|
finalIteration: number;
|
|
451
451
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
452
|
-
errorClass?: "
|
|
452
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
453
453
|
outputRef?: {
|
|
454
454
|
outputHash: string;
|
|
455
455
|
outputBytes: number;
|
|
@@ -671,19 +671,19 @@ export declare const ActivityFailedPayload: z.ZodObject<{
|
|
|
671
671
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
673
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
674
|
-
errorClass: "
|
|
674
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
675
675
|
errorMessage: string;
|
|
676
676
|
stackRef?: string | undefined;
|
|
677
677
|
}, {
|
|
678
678
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
679
|
-
errorClass: "
|
|
679
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
680
680
|
errorMessage: string;
|
|
681
681
|
stackRef?: string | undefined;
|
|
682
682
|
}>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
error: {
|
|
685
685
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
686
|
-
errorClass: "
|
|
686
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
687
687
|
errorMessage: string;
|
|
688
688
|
stackRef?: string | undefined;
|
|
689
689
|
};
|
|
@@ -692,7 +692,7 @@ export declare const ActivityFailedPayload: z.ZodObject<{
|
|
|
692
692
|
}, {
|
|
693
693
|
error: {
|
|
694
694
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
695
|
-
errorClass: "
|
|
695
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
696
696
|
errorMessage: string;
|
|
697
697
|
stackRef?: string | undefined;
|
|
698
698
|
};
|
|
@@ -647,11 +647,11 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
647
647
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
649
|
nodeId: string;
|
|
650
|
-
errorClass: "
|
|
650
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
651
651
|
lastActivityId: string;
|
|
652
652
|
}, {
|
|
653
653
|
nodeId: string;
|
|
654
|
-
errorClass: "
|
|
654
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
655
655
|
lastActivityId: string;
|
|
656
656
|
}>, z.ZodObject<{
|
|
657
657
|
ref: z.ZodString;
|
|
@@ -679,7 +679,7 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
679
679
|
eventId: string;
|
|
680
680
|
payload: {
|
|
681
681
|
nodeId: string;
|
|
682
|
-
errorClass: "
|
|
682
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
683
683
|
lastActivityId: string;
|
|
684
684
|
} | {
|
|
685
685
|
ref: string;
|
|
@@ -696,7 +696,7 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
696
696
|
eventId: string;
|
|
697
697
|
payload: {
|
|
698
698
|
nodeId: string;
|
|
699
|
-
errorClass: "
|
|
699
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
700
700
|
lastActivityId: string;
|
|
701
701
|
} | {
|
|
702
702
|
ref: string;
|
|
@@ -1298,7 +1298,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1298
1298
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1299
1299
|
finalIteration: number;
|
|
1300
1300
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1301
|
-
errorClass?: "
|
|
1301
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
1302
1302
|
outputRef?: {
|
|
1303
1303
|
outputHash: string;
|
|
1304
1304
|
outputBytes: number;
|
|
@@ -1311,7 +1311,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1311
1311
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1312
1312
|
finalIteration: number;
|
|
1313
1313
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1314
|
-
errorClass?: "
|
|
1314
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
1315
1315
|
outputRef?: {
|
|
1316
1316
|
outputHash: string;
|
|
1317
1317
|
outputBytes: number;
|
|
@@ -1348,7 +1348,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1348
1348
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1349
1349
|
finalIteration: number;
|
|
1350
1350
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1351
|
-
errorClass?: "
|
|
1351
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
1352
1352
|
outputRef?: {
|
|
1353
1353
|
outputHash: string;
|
|
1354
1354
|
outputBytes: number;
|
|
@@ -1374,7 +1374,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1374
1374
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1375
1375
|
finalIteration: number;
|
|
1376
1376
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1377
|
-
errorClass?: "
|
|
1377
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
1378
1378
|
outputRef?: {
|
|
1379
1379
|
outputHash: string;
|
|
1380
1380
|
outputBytes: number;
|
|
@@ -2043,19 +2043,19 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2043
2043
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
2044
2044
|
}, "strip", z.ZodTypeAny, {
|
|
2045
2045
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2046
|
-
errorClass: "
|
|
2046
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2047
2047
|
errorMessage: string;
|
|
2048
2048
|
stackRef?: string | undefined;
|
|
2049
2049
|
}, {
|
|
2050
2050
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2051
|
-
errorClass: "
|
|
2051
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2052
2052
|
errorMessage: string;
|
|
2053
2053
|
stackRef?: string | undefined;
|
|
2054
2054
|
}>;
|
|
2055
2055
|
}, "strip", z.ZodTypeAny, {
|
|
2056
2056
|
error: {
|
|
2057
2057
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2058
|
-
errorClass: "
|
|
2058
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2059
2059
|
errorMessage: string;
|
|
2060
2060
|
stackRef?: string | undefined;
|
|
2061
2061
|
};
|
|
@@ -2064,7 +2064,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2064
2064
|
}, {
|
|
2065
2065
|
error: {
|
|
2066
2066
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2067
|
-
errorClass: "
|
|
2067
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2068
2068
|
errorMessage: string;
|
|
2069
2069
|
stackRef?: string | undefined;
|
|
2070
2070
|
};
|
|
@@ -2097,7 +2097,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2097
2097
|
payload: {
|
|
2098
2098
|
error: {
|
|
2099
2099
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2100
|
-
errorClass: "
|
|
2100
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2101
2101
|
errorMessage: string;
|
|
2102
2102
|
stackRef?: string | undefined;
|
|
2103
2103
|
};
|
|
@@ -2119,7 +2119,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2119
2119
|
payload: {
|
|
2120
2120
|
error: {
|
|
2121
2121
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2122
|
-
errorClass: "
|
|
2122
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
2123
2123
|
errorMessage: string;
|
|
2124
2124
|
stackRef?: string | undefined;
|
|
2125
2125
|
};
|
|
@@ -3576,11 +3576,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3576
3576
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
3577
3577
|
}, "strip", z.ZodTypeAny, {
|
|
3578
3578
|
nodeId: string;
|
|
3579
|
-
errorClass: "
|
|
3579
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
3580
3580
|
lastActivityId: string;
|
|
3581
3581
|
}, {
|
|
3582
3582
|
nodeId: string;
|
|
3583
|
-
errorClass: "
|
|
3583
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
3584
3584
|
lastActivityId: string;
|
|
3585
3585
|
}>, z.ZodObject<{
|
|
3586
3586
|
ref: z.ZodString;
|
|
@@ -3608,7 +3608,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3608
3608
|
eventId: string;
|
|
3609
3609
|
payload: {
|
|
3610
3610
|
nodeId: string;
|
|
3611
|
-
errorClass: "
|
|
3611
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
3612
3612
|
lastActivityId: string;
|
|
3613
3613
|
} | {
|
|
3614
3614
|
ref: string;
|
|
@@ -3625,7 +3625,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3625
3625
|
eventId: string;
|
|
3626
3626
|
payload: {
|
|
3627
3627
|
nodeId: string;
|
|
3628
|
-
errorClass: "
|
|
3628
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
3629
3629
|
lastActivityId: string;
|
|
3630
3630
|
} | {
|
|
3631
3631
|
ref: string;
|
|
@@ -4218,7 +4218,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4218
4218
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4219
4219
|
finalIteration: number;
|
|
4220
4220
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4221
|
-
errorClass?: "
|
|
4221
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
4222
4222
|
outputRef?: {
|
|
4223
4223
|
outputHash: string;
|
|
4224
4224
|
outputBytes: number;
|
|
@@ -4231,7 +4231,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4231
4231
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4232
4232
|
finalIteration: number;
|
|
4233
4233
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4234
|
-
errorClass?: "
|
|
4234
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
4235
4235
|
outputRef?: {
|
|
4236
4236
|
outputHash: string;
|
|
4237
4237
|
outputBytes: number;
|
|
@@ -4268,7 +4268,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4268
4268
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4269
4269
|
finalIteration: number;
|
|
4270
4270
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4271
|
-
errorClass?: "
|
|
4271
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
4272
4272
|
outputRef?: {
|
|
4273
4273
|
outputHash: string;
|
|
4274
4274
|
outputBytes: number;
|
|
@@ -4294,7 +4294,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4294
4294
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4295
4295
|
finalIteration: number;
|
|
4296
4296
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4297
|
-
errorClass?: "
|
|
4297
|
+
errorClass?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
|
|
4298
4298
|
outputRef?: {
|
|
4299
4299
|
outputHash: string;
|
|
4300
4300
|
outputBytes: number;
|
|
@@ -4955,19 +4955,19 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4955
4955
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
4956
4956
|
}, "strip", z.ZodTypeAny, {
|
|
4957
4957
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4958
|
-
errorClass: "
|
|
4958
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
4959
4959
|
errorMessage: string;
|
|
4960
4960
|
stackRef?: string | undefined;
|
|
4961
4961
|
}, {
|
|
4962
4962
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4963
|
-
errorClass: "
|
|
4963
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
4964
4964
|
errorMessage: string;
|
|
4965
4965
|
stackRef?: string | undefined;
|
|
4966
4966
|
}>;
|
|
4967
4967
|
}, "strip", z.ZodTypeAny, {
|
|
4968
4968
|
error: {
|
|
4969
4969
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4970
|
-
errorClass: "
|
|
4970
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
4971
4971
|
errorMessage: string;
|
|
4972
4972
|
stackRef?: string | undefined;
|
|
4973
4973
|
};
|
|
@@ -4976,7 +4976,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4976
4976
|
}, {
|
|
4977
4977
|
error: {
|
|
4978
4978
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4979
|
-
errorClass: "
|
|
4979
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
4980
4980
|
errorMessage: string;
|
|
4981
4981
|
stackRef?: string | undefined;
|
|
4982
4982
|
};
|
|
@@ -5009,7 +5009,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5009
5009
|
payload: {
|
|
5010
5010
|
error: {
|
|
5011
5011
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
5012
|
-
errorClass: "
|
|
5012
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
5013
5013
|
errorMessage: string;
|
|
5014
5014
|
stackRef?: string | undefined;
|
|
5015
5015
|
};
|
|
@@ -5031,7 +5031,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5031
5031
|
payload: {
|
|
5032
5032
|
error: {
|
|
5033
5033
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
5034
|
-
errorClass: "
|
|
5034
|
+
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
5035
5035
|
errorMessage: string;
|
|
5036
5036
|
stackRef?: string | undefined;
|
|
5037
5037
|
};
|