botmux 2.95.0 → 2.96.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +4 -4
- package/README.md +3 -3
- package/dist/adapters/backend/tmux-backend.d.ts.map +1 -1
- package/dist/adapters/backend/tmux-backend.js +6 -10
- package/dist/adapters/backend/tmux-backend.js.map +1 -1
- package/dist/adapters/cli/kimi.d.ts +4 -0
- package/dist/adapters/cli/kimi.d.ts.map +1 -0
- package/dist/adapters/cli/kimi.js +54 -0
- package/dist/adapters/cli/kimi.js.map +1 -0
- package/dist/adapters/cli/registry.d.ts +2 -1
- package/dist/adapters/cli/registry.d.ts.map +1 -1
- package/dist/adapters/cli/registry.js +6 -20
- package/dist/adapters/cli/registry.js.map +1 -1
- package/dist/adapters/cli/types.d.ts +1 -1
- package/dist/adapters/cli/types.d.ts.map +1 -1
- package/dist/adapters/hook-installer.d.ts.map +1 -1
- package/dist/adapters/hook-installer.js +138 -28
- package/dist/adapters/hook-installer.js.map +1 -1
- package/dist/bot-registry.d.ts +61 -4
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +164 -3
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli/stdin-encoding.d.ts +21 -0
- package/dist/cli/stdin-encoding.d.ts.map +1 -1
- package/dist/cli/stdin-encoding.js +37 -0
- package/dist/cli/stdin-encoding.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -4
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +18 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +27 -0
- package/dist/config.js.map +1 -1
- package/dist/core/ask-hook/opencode.d.ts +15 -17
- package/dist/core/ask-hook/opencode.d.ts.map +1 -1
- package/dist/core/ask-hook/opencode.js +17 -19
- package/dist/core/ask-hook/opencode.js.map +1 -1
- package/dist/core/command-handler.d.ts.map +1 -1
- package/dist/core/command-handler.js +1 -0
- package/dist/core/command-handler.js.map +1 -1
- package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
- package/dist/core/dashboard-ipc-server.js +193 -5
- package/dist/core/dashboard-ipc-server.js.map +1 -1
- package/dist/core/dashboard-rows.d.ts +2 -0
- package/dist/core/dashboard-rows.d.ts.map +1 -1
- package/dist/core/dashboard-rows.js +2 -0
- package/dist/core/dashboard-rows.js.map +1 -1
- package/dist/core/trigger-session.d.ts.map +1 -1
- package/dist/core/trigger-session.js +99 -7
- package/dist/core/trigger-session.js.map +1 -1
- package/dist/core/types.d.ts +16 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/worker-pool.d.ts +1 -1
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +68 -11
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/dashboard/bot-payload.d.ts +7 -0
- package/dist/dashboard/bot-payload.d.ts.map +1 -1
- package/dist/dashboard/bot-payload.js +7 -1
- package/dist/dashboard/bot-payload.js.map +1 -1
- package/dist/dashboard/session-cleanup.d.ts +1 -0
- package/dist/dashboard/session-cleanup.d.ts.map +1 -1
- package/dist/dashboard/session-cleanup.js +2 -0
- package/dist/dashboard/session-cleanup.js.map +1 -1
- package/dist/dashboard/settings-write-applier.d.ts +2 -1
- package/dist/dashboard/settings-write-applier.d.ts.map +1 -1
- package/dist/dashboard/settings-write-applier.js +6 -0
- package/dist/dashboard/settings-write-applier.js.map +1 -1
- package/dist/dashboard/trigger-api.d.ts +4 -0
- package/dist/dashboard/trigger-api.d.ts.map +1 -1
- package/dist/dashboard/trigger-api.js +20 -0
- package/dist/dashboard/trigger-api.js.map +1 -1
- package/dist/dashboard/web/bot-defaults.d.ts +1 -0
- package/dist/dashboard/web/bot-defaults.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults.js +247 -4
- package/dist/dashboard/web/bot-defaults.js.map +1 -1
- package/dist/dashboard/web/connectors.d.ts +11 -0
- package/dist/dashboard/web/connectors.d.ts.map +1 -1
- package/dist/dashboard/web/connectors.js +45 -1
- package/dist/dashboard/web/connectors.js.map +1 -1
- package/dist/dashboard/web/groups.d.ts +7 -0
- package/dist/dashboard/web/groups.d.ts.map +1 -1
- package/dist/dashboard/web/groups.js +62 -15
- package/dist/dashboard/web/groups.js.map +1 -1
- package/dist/dashboard/web/i18n.d.ts.map +1 -1
- package/dist/dashboard/web/i18n.js +58 -2
- package/dist/dashboard/web/i18n.js.map +1 -1
- package/dist/dashboard/web/sessions.d.ts.map +1 -1
- package/dist/dashboard/web/sessions.js +149 -5
- package/dist/dashboard/web/sessions.js.map +1 -1
- package/dist/dashboard/web/settings.d.ts.map +1 -1
- package/dist/dashboard/web/settings.js +10 -0
- package/dist/dashboard/web/settings.js.map +1 -1
- package/dist/dashboard/webhook-routes.d.ts.map +1 -1
- package/dist/dashboard/webhook-routes.js +126 -6
- package/dist/dashboard/webhook-routes.js.map +1 -1
- package/dist/dashboard-web/app.js +827 -751
- package/dist/dashboard-web/style.css +47 -0
- package/dist/dashboard.js +85 -6
- package/dist/dashboard.js.map +1 -1
- package/dist/global-config.d.ts +4 -0
- package/dist/global-config.d.ts.map +1 -1
- package/dist/global-config.js +2 -0
- package/dist/global-config.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +1 -0
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +1 -0
- package/dist/i18n/zh.js.map +1 -1
- package/dist/im/lark/card-builder.d.ts.map +1 -1
- package/dist/im/lark/card-builder.js +1 -0
- package/dist/im/lark/card-builder.js.map +1 -1
- package/dist/im/lark/client.d.ts +12 -0
- package/dist/im/lark/client.d.ts.map +1 -1
- package/dist/im/lark/client.js +154 -9
- package/dist/im/lark/client.js.map +1 -1
- package/dist/im/lark/event-dispatcher.d.ts +13 -0
- package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
- package/dist/im/lark/event-dispatcher.js +200 -16
- package/dist/im/lark/event-dispatcher.js.map +1 -1
- package/dist/im/lark/message-parser.d.ts +11 -0
- package/dist/im/lark/message-parser.d.ts.map +1 -1
- package/dist/im/lark/message-parser.js +2 -1
- package/dist/im/lark/message-parser.js.map +1 -1
- package/dist/im/lark/summary-command.d.ts +19 -0
- package/dist/im/lark/summary-command.d.ts.map +1 -0
- package/dist/im/lark/summary-command.js +276 -0
- package/dist/im/lark/summary-command.js.map +1 -0
- package/dist/mir-local-runtime.d.ts +40 -0
- package/dist/mir-local-runtime.d.ts.map +1 -1
- package/dist/mir-local-runtime.js +246 -52
- package/dist/mir-local-runtime.js.map +1 -1
- package/dist/mir-runner.js +26 -1
- package/dist/mir-runner.js.map +1 -1
- package/dist/services/card-prefs-store.d.ts +2 -2
- package/dist/services/card-prefs-store.d.ts.map +1 -1
- package/dist/services/card-prefs-store.js +5 -5
- package/dist/services/card-prefs-store.js.map +1 -1
- package/dist/services/chat-reply-mode-store.d.ts +6 -4
- package/dist/services/chat-reply-mode-store.d.ts.map +1 -1
- package/dist/services/chat-reply-mode-store.js +6 -4
- package/dist/services/chat-reply-mode-store.js.map +1 -1
- package/dist/services/pi-transcript.d.ts +19 -0
- package/dist/services/pi-transcript.d.ts.map +1 -0
- package/dist/services/pi-transcript.js +222 -0
- package/dist/services/pi-transcript.js.map +1 -0
- package/dist/services/seen-message-store.d.ts +12 -0
- package/dist/services/seen-message-store.d.ts.map +1 -0
- package/dist/services/seen-message-store.js +119 -0
- package/dist/services/seen-message-store.js.map +1 -0
- package/dist/services/summary-range-store.d.ts +21 -0
- package/dist/services/summary-range-store.d.ts.map +1 -0
- package/dist/services/summary-range-store.js +89 -0
- package/dist/services/summary-range-store.js.map +1 -0
- package/dist/services/trigger-types.d.ts +14 -2
- package/dist/services/trigger-types.d.ts.map +1 -1
- package/dist/services/trigger-types.js +15 -1
- package/dist/services/trigger-types.js.map +1 -1
- package/dist/setup/bot-config-editor.d.ts.map +1 -1
- package/dist/setup/bot-config-editor.js +2 -0
- package/dist/setup/bot-config-editor.js.map +1 -1
- package/dist/types.d.ts +20 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/executable.d.ts +3 -0
- package/dist/utils/executable.d.ts.map +1 -0
- package/dist/utils/executable.js +24 -0
- package/dist/utils/executable.js.map +1 -0
- package/dist/worker.js +75 -6
- 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
|
@@ -220,8 +220,8 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
220
220
|
prompt: string | {
|
|
221
221
|
$ref: string;
|
|
222
222
|
};
|
|
223
|
-
bot: string;
|
|
224
223
|
type: "subagent";
|
|
224
|
+
bot: string;
|
|
225
225
|
workingDir?: string | undefined;
|
|
226
226
|
description?: string | undefined;
|
|
227
227
|
timeoutMs?: number | undefined;
|
|
@@ -257,8 +257,8 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
257
257
|
prompt: string | {
|
|
258
258
|
$ref: string;
|
|
259
259
|
};
|
|
260
|
-
bot: string;
|
|
261
260
|
type: "subagent";
|
|
261
|
+
bot: string;
|
|
262
262
|
workingDir?: string | undefined;
|
|
263
263
|
description?: string | undefined;
|
|
264
264
|
timeoutMs?: number | undefined;
|
|
@@ -648,8 +648,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
648
648
|
prompt: string | {
|
|
649
649
|
$ref: string;
|
|
650
650
|
};
|
|
651
|
-
bot: string;
|
|
652
651
|
type: "subagent";
|
|
652
|
+
bot: string;
|
|
653
653
|
workingDir?: string | undefined;
|
|
654
654
|
description?: string | undefined;
|
|
655
655
|
timeoutMs?: number | undefined;
|
|
@@ -685,8 +685,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
685
685
|
prompt: string | {
|
|
686
686
|
$ref: string;
|
|
687
687
|
};
|
|
688
|
-
bot: string;
|
|
689
688
|
type: "subagent";
|
|
689
|
+
bot: string;
|
|
690
690
|
workingDir?: string | undefined;
|
|
691
691
|
description?: string | undefined;
|
|
692
692
|
timeoutMs?: number | undefined;
|
|
@@ -1134,8 +1134,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1134
1134
|
prompt: string | {
|
|
1135
1135
|
$ref: string;
|
|
1136
1136
|
};
|
|
1137
|
-
bot: string;
|
|
1138
1137
|
type: "subagent";
|
|
1138
|
+
bot: string;
|
|
1139
1139
|
workingDir?: string | undefined;
|
|
1140
1140
|
description?: string | undefined;
|
|
1141
1141
|
timeoutMs?: number | undefined;
|
|
@@ -1171,8 +1171,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1171
1171
|
prompt: string | {
|
|
1172
1172
|
$ref: string;
|
|
1173
1173
|
};
|
|
1174
|
-
bot: string;
|
|
1175
1174
|
type: "subagent";
|
|
1175
|
+
bot: string;
|
|
1176
1176
|
workingDir?: string | undefined;
|
|
1177
1177
|
description?: string | undefined;
|
|
1178
1178
|
timeoutMs?: number | undefined;
|
|
@@ -1441,8 +1441,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1441
1441
|
prompt: string | {
|
|
1442
1442
|
$ref: string;
|
|
1443
1443
|
};
|
|
1444
|
-
bot: string;
|
|
1445
1444
|
type: "subagent";
|
|
1445
|
+
bot: string;
|
|
1446
1446
|
workingDir?: string | undefined;
|
|
1447
1447
|
description?: string | undefined;
|
|
1448
1448
|
timeoutMs?: number | undefined;
|
|
@@ -1553,8 +1553,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1553
1553
|
prompt: string | {
|
|
1554
1554
|
$ref: string;
|
|
1555
1555
|
};
|
|
1556
|
-
bot: string;
|
|
1557
1556
|
type: "subagent";
|
|
1557
|
+
bot: string;
|
|
1558
1558
|
workingDir?: string | undefined;
|
|
1559
1559
|
description?: string | undefined;
|
|
1560
1560
|
timeoutMs?: 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: "fatal" | "manual" | "retryable" | "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: "fatal" | "manual" | "retryable" | "userFault";
|
|
23
23
|
errorMessage: string;
|
|
24
24
|
stackRef?: string | undefined;
|
|
25
25
|
}>;
|
|
@@ -294,11 +294,11 @@ export declare const NodeFailedPayload: z.ZodObject<{
|
|
|
294
294
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
296
|
nodeId: string;
|
|
297
|
-
errorClass: "
|
|
297
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
298
298
|
lastActivityId: string;
|
|
299
299
|
}, {
|
|
300
300
|
nodeId: string;
|
|
301
|
-
errorClass: "
|
|
301
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
302
302
|
lastActivityId: string;
|
|
303
303
|
}>;
|
|
304
304
|
export declare const NodeSkippedPayload: z.ZodObject<{
|
|
@@ -444,7 +444,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
|
|
|
444
444
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
445
445
|
finalIteration: number;
|
|
446
446
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
447
|
-
errorClass?: "
|
|
447
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
448
448
|
outputRef?: {
|
|
449
449
|
outputHash: string;
|
|
450
450
|
outputBytes: number;
|
|
@@ -457,7 +457,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
|
|
|
457
457
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
458
458
|
finalIteration: number;
|
|
459
459
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
460
|
-
errorClass?: "
|
|
460
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
461
461
|
outputRef?: {
|
|
462
462
|
outputHash: string;
|
|
463
463
|
outputBytes: number;
|
|
@@ -679,19 +679,19 @@ export declare const ActivityFailedPayload: z.ZodObject<{
|
|
|
679
679
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
680
680
|
}, "strip", z.ZodTypeAny, {
|
|
681
681
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
682
|
-
errorClass: "
|
|
682
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
683
683
|
errorMessage: string;
|
|
684
684
|
stackRef?: string | undefined;
|
|
685
685
|
}, {
|
|
686
686
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
687
|
-
errorClass: "
|
|
687
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
688
688
|
errorMessage: string;
|
|
689
689
|
stackRef?: string | undefined;
|
|
690
690
|
}>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
error: {
|
|
693
693
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
694
|
-
errorClass: "
|
|
694
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
695
695
|
errorMessage: string;
|
|
696
696
|
stackRef?: string | undefined;
|
|
697
697
|
};
|
|
@@ -700,7 +700,7 @@ export declare const ActivityFailedPayload: z.ZodObject<{
|
|
|
700
700
|
}, {
|
|
701
701
|
error: {
|
|
702
702
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
703
|
-
errorClass: "
|
|
703
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
704
704
|
errorMessage: string;
|
|
705
705
|
stackRef?: string | undefined;
|
|
706
706
|
};
|
|
@@ -654,11 +654,11 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
654
654
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
656
|
nodeId: string;
|
|
657
|
-
errorClass: "
|
|
657
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
658
658
|
lastActivityId: string;
|
|
659
659
|
}, {
|
|
660
660
|
nodeId: string;
|
|
661
|
-
errorClass: "
|
|
661
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
662
662
|
lastActivityId: string;
|
|
663
663
|
}>, z.ZodObject<{
|
|
664
664
|
ref: z.ZodString;
|
|
@@ -685,7 +685,7 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
685
685
|
timestamp: number;
|
|
686
686
|
payload: {
|
|
687
687
|
nodeId: string;
|
|
688
|
-
errorClass: "
|
|
688
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
689
689
|
lastActivityId: string;
|
|
690
690
|
} | {
|
|
691
691
|
ref: string;
|
|
@@ -702,7 +702,7 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
702
702
|
timestamp: number;
|
|
703
703
|
payload: {
|
|
704
704
|
nodeId: string;
|
|
705
|
-
errorClass: "
|
|
705
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
706
706
|
lastActivityId: string;
|
|
707
707
|
} | {
|
|
708
708
|
ref: string;
|
|
@@ -1305,7 +1305,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1305
1305
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1306
1306
|
finalIteration: number;
|
|
1307
1307
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1308
|
-
errorClass?: "
|
|
1308
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
1309
1309
|
outputRef?: {
|
|
1310
1310
|
outputHash: string;
|
|
1311
1311
|
outputBytes: number;
|
|
@@ -1318,7 +1318,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1318
1318
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1319
1319
|
finalIteration: number;
|
|
1320
1320
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1321
|
-
errorClass?: "
|
|
1321
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
1322
1322
|
outputRef?: {
|
|
1323
1323
|
outputHash: string;
|
|
1324
1324
|
outputBytes: number;
|
|
@@ -1354,7 +1354,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1354
1354
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1355
1355
|
finalIteration: number;
|
|
1356
1356
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1357
|
-
errorClass?: "
|
|
1357
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
1358
1358
|
outputRef?: {
|
|
1359
1359
|
outputHash: string;
|
|
1360
1360
|
outputBytes: number;
|
|
@@ -1380,7 +1380,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1380
1380
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
1381
1381
|
finalIteration: number;
|
|
1382
1382
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1383
|
-
errorClass?: "
|
|
1383
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
1384
1384
|
outputRef?: {
|
|
1385
1385
|
outputHash: string;
|
|
1386
1386
|
outputBytes: number;
|
|
@@ -2050,19 +2050,19 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2050
2050
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
2052
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2053
|
-
errorClass: "
|
|
2053
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2054
2054
|
errorMessage: string;
|
|
2055
2055
|
stackRef?: string | undefined;
|
|
2056
2056
|
}, {
|
|
2057
2057
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2058
|
-
errorClass: "
|
|
2058
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2059
2059
|
errorMessage: string;
|
|
2060
2060
|
stackRef?: string | undefined;
|
|
2061
2061
|
}>;
|
|
2062
2062
|
}, "strip", z.ZodTypeAny, {
|
|
2063
2063
|
error: {
|
|
2064
2064
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2065
|
-
errorClass: "
|
|
2065
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2066
2066
|
errorMessage: string;
|
|
2067
2067
|
stackRef?: string | undefined;
|
|
2068
2068
|
};
|
|
@@ -2071,7 +2071,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2071
2071
|
}, {
|
|
2072
2072
|
error: {
|
|
2073
2073
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2074
|
-
errorClass: "
|
|
2074
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2075
2075
|
errorMessage: string;
|
|
2076
2076
|
stackRef?: string | undefined;
|
|
2077
2077
|
};
|
|
@@ -2103,7 +2103,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2103
2103
|
payload: {
|
|
2104
2104
|
error: {
|
|
2105
2105
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2106
|
-
errorClass: "
|
|
2106
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2107
2107
|
errorMessage: string;
|
|
2108
2108
|
stackRef?: string | undefined;
|
|
2109
2109
|
};
|
|
@@ -2125,7 +2125,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2125
2125
|
payload: {
|
|
2126
2126
|
error: {
|
|
2127
2127
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
2128
|
-
errorClass: "
|
|
2128
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
2129
2129
|
errorMessage: string;
|
|
2130
2130
|
stackRef?: string | undefined;
|
|
2131
2131
|
};
|
|
@@ -3590,11 +3590,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3590
3590
|
errorClass: z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>;
|
|
3591
3591
|
}, "strip", z.ZodTypeAny, {
|
|
3592
3592
|
nodeId: string;
|
|
3593
|
-
errorClass: "
|
|
3593
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
3594
3594
|
lastActivityId: string;
|
|
3595
3595
|
}, {
|
|
3596
3596
|
nodeId: string;
|
|
3597
|
-
errorClass: "
|
|
3597
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
3598
3598
|
lastActivityId: string;
|
|
3599
3599
|
}>, z.ZodObject<{
|
|
3600
3600
|
ref: z.ZodString;
|
|
@@ -3621,7 +3621,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3621
3621
|
timestamp: number;
|
|
3622
3622
|
payload: {
|
|
3623
3623
|
nodeId: string;
|
|
3624
|
-
errorClass: "
|
|
3624
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
3625
3625
|
lastActivityId: string;
|
|
3626
3626
|
} | {
|
|
3627
3627
|
ref: string;
|
|
@@ -3638,7 +3638,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3638
3638
|
timestamp: number;
|
|
3639
3639
|
payload: {
|
|
3640
3640
|
nodeId: string;
|
|
3641
|
-
errorClass: "
|
|
3641
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
3642
3642
|
lastActivityId: string;
|
|
3643
3643
|
} | {
|
|
3644
3644
|
ref: string;
|
|
@@ -4232,7 +4232,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4232
4232
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4233
4233
|
finalIteration: number;
|
|
4234
4234
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4235
|
-
errorClass?: "
|
|
4235
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
4236
4236
|
outputRef?: {
|
|
4237
4237
|
outputHash: string;
|
|
4238
4238
|
outputBytes: number;
|
|
@@ -4245,7 +4245,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4245
4245
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4246
4246
|
finalIteration: number;
|
|
4247
4247
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4248
|
-
errorClass?: "
|
|
4248
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
4249
4249
|
outputRef?: {
|
|
4250
4250
|
outputHash: string;
|
|
4251
4251
|
outputBytes: number;
|
|
@@ -4281,7 +4281,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4281
4281
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4282
4282
|
finalIteration: number;
|
|
4283
4283
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4284
|
-
errorClass?: "
|
|
4284
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
4285
4285
|
outputRef?: {
|
|
4286
4286
|
outputHash: string;
|
|
4287
4287
|
outputBytes: number;
|
|
@@ -4307,7 +4307,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4307
4307
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
4308
4308
|
finalIteration: number;
|
|
4309
4309
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4310
|
-
errorClass?: "
|
|
4310
|
+
errorClass?: "fatal" | "manual" | "retryable" | "userFault" | undefined;
|
|
4311
4311
|
outputRef?: {
|
|
4312
4312
|
outputHash: string;
|
|
4313
4313
|
outputBytes: number;
|
|
@@ -4969,19 +4969,19 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4969
4969
|
stackRef: z.ZodOptional<z.ZodString>;
|
|
4970
4970
|
}, "strip", z.ZodTypeAny, {
|
|
4971
4971
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4972
|
-
errorClass: "
|
|
4972
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
4973
4973
|
errorMessage: string;
|
|
4974
4974
|
stackRef?: string | undefined;
|
|
4975
4975
|
}, {
|
|
4976
4976
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4977
|
-
errorClass: "
|
|
4977
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
4978
4978
|
errorMessage: string;
|
|
4979
4979
|
stackRef?: string | undefined;
|
|
4980
4980
|
}>;
|
|
4981
4981
|
}, "strip", z.ZodTypeAny, {
|
|
4982
4982
|
error: {
|
|
4983
4983
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4984
|
-
errorClass: "
|
|
4984
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
4985
4985
|
errorMessage: string;
|
|
4986
4986
|
stackRef?: string | undefined;
|
|
4987
4987
|
};
|
|
@@ -4990,7 +4990,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4990
4990
|
}, {
|
|
4991
4991
|
error: {
|
|
4992
4992
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
4993
|
-
errorClass: "
|
|
4993
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
4994
4994
|
errorMessage: string;
|
|
4995
4995
|
stackRef?: string | undefined;
|
|
4996
4996
|
};
|
|
@@ -5022,7 +5022,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5022
5022
|
payload: {
|
|
5023
5023
|
error: {
|
|
5024
5024
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
5025
|
-
errorClass: "
|
|
5025
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
5026
5026
|
errorMessage: string;
|
|
5027
5027
|
stackRef?: string | undefined;
|
|
5028
5028
|
};
|
|
@@ -5044,7 +5044,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5044
5044
|
payload: {
|
|
5045
5045
|
error: {
|
|
5046
5046
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
5047
|
-
errorClass: "
|
|
5047
|
+
errorClass: "fatal" | "manual" | "retryable" | "userFault";
|
|
5048
5048
|
errorMessage: string;
|
|
5049
5049
|
stackRef?: string | undefined;
|
|
5050
5050
|
};
|