botmux 2.105.0 → 2.105.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.
@@ -23,14 +23,14 @@ export declare const ParamDefSchema: z.ZodObject<{
23
23
  type: "string" | "number" | "boolean" | "object" | "array";
24
24
  default?: unknown;
25
25
  description?: string | undefined;
26
- format?: string | undefined;
27
26
  required?: boolean | undefined;
27
+ format?: string | undefined;
28
28
  }, {
29
29
  type: "string" | "number" | "boolean" | "object" | "array";
30
30
  default?: unknown;
31
31
  description?: string | undefined;
32
- format?: string | undefined;
33
32
  required?: boolean | undefined;
33
+ format?: string | undefined;
34
34
  }>;
35
35
  export type ParamDef = z.infer<typeof ParamDefSchema>;
36
36
  export declare const RetryPolicySchema: z.ZodObject<{
@@ -461,8 +461,8 @@ export declare const LoopNodeSchema: z.ZodObject<{
461
461
  }>>;
462
462
  }, "strict", z.ZodTypeAny, {
463
463
  type: "loop";
464
- body: string[];
465
464
  maxIterations: number;
465
+ body: string[];
466
466
  terminate: {
467
467
  node: string;
468
468
  via: "humanGate";
@@ -474,8 +474,8 @@ export declare const LoopNodeSchema: z.ZodObject<{
474
474
  } | undefined;
475
475
  }, {
476
476
  type: "loop";
477
- body: string[];
478
477
  maxIterations: number;
478
+ body: string[];
479
479
  terminate: {
480
480
  node: string;
481
481
  via: "humanGate";
@@ -864,8 +864,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
864
864
  }>>;
865
865
  }, "strict", z.ZodTypeAny, {
866
866
  type: "loop";
867
- body: string[];
868
867
  maxIterations: number;
868
+ body: string[];
869
869
  terminate: {
870
870
  node: string;
871
871
  via: "humanGate";
@@ -877,8 +877,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
877
877
  } | undefined;
878
878
  }, {
879
879
  type: "loop";
880
- body: string[];
881
880
  maxIterations: number;
881
+ body: string[];
882
882
  terminate: {
883
883
  node: string;
884
884
  via: "humanGate";
@@ -969,14 +969,14 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
969
969
  type: "string" | "number" | "boolean" | "object" | "array";
970
970
  default?: unknown;
971
971
  description?: string | undefined;
972
- format?: string | undefined;
973
972
  required?: boolean | undefined;
973
+ format?: string | undefined;
974
974
  }, {
975
975
  type: "string" | "number" | "boolean" | "object" | "array";
976
976
  default?: unknown;
977
977
  description?: string | undefined;
978
- format?: string | undefined;
979
978
  required?: boolean | undefined;
979
+ format?: string | undefined;
980
980
  }>>>;
981
981
  defaults: z.ZodOptional<z.ZodObject<{
982
982
  retryPolicy: z.ZodOptional<z.ZodObject<{
@@ -1350,8 +1350,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1350
1350
  }>>;
1351
1351
  }, "strict", z.ZodTypeAny, {
1352
1352
  type: "loop";
1353
- body: string[];
1354
1353
  maxIterations: number;
1354
+ body: string[];
1355
1355
  terminate: {
1356
1356
  node: string;
1357
1357
  via: "humanGate";
@@ -1363,8 +1363,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1363
1363
  } | undefined;
1364
1364
  }, {
1365
1365
  type: "loop";
1366
- body: string[];
1367
1366
  maxIterations: number;
1367
+ body: string[];
1368
1368
  terminate: {
1369
1369
  node: string;
1370
1370
  via: "humanGate";
@@ -1502,8 +1502,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1502
1502
  unsafeAllowUngated?: boolean | undefined;
1503
1503
  } | {
1504
1504
  type: "loop";
1505
- body: string[];
1506
1505
  maxIterations: number;
1506
+ body: string[];
1507
1507
  terminate: {
1508
1508
  node: string;
1509
1509
  via: "humanGate";
@@ -1531,8 +1531,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1531
1531
  type: "string" | "number" | "boolean" | "object" | "array";
1532
1532
  default?: unknown;
1533
1533
  description?: string | undefined;
1534
- format?: string | undefined;
1535
1534
  required?: boolean | undefined;
1535
+ format?: string | undefined;
1536
1536
  }> | undefined;
1537
1537
  defaults?: {
1538
1538
  timeoutMs?: number | undefined;
@@ -1614,8 +1614,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1614
1614
  unsafeAllowUngated?: boolean | undefined;
1615
1615
  } | {
1616
1616
  type: "loop";
1617
- body: string[];
1618
1617
  maxIterations: number;
1618
+ body: string[];
1619
1619
  terminate: {
1620
1620
  node: string;
1621
1621
  via: "humanGate";
@@ -1643,8 +1643,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
1643
1643
  type: "string" | "number" | "boolean" | "object" | "array";
1644
1644
  default?: unknown;
1645
1645
  description?: string | undefined;
1646
- format?: string | undefined;
1647
1646
  required?: boolean | undefined;
1647
+ format?: string | undefined;
1648
1648
  }> | undefined;
1649
1649
  defaults?: {
1650
1650
  timeoutMs?: number | undefined;
@@ -473,7 +473,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
473
473
  errorClass: z.ZodOptional<z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>>;
474
474
  }, "strip", z.ZodTypeAny, {
475
475
  loopId: string;
476
- resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
476
+ resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
477
477
  finalIteration: number;
478
478
  errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
479
479
  errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
@@ -486,7 +486,7 @@ export declare const LoopFinishedPayload: z.ZodObject<{
486
486
  } | undefined;
487
487
  }, {
488
488
  loopId: string;
489
- resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
489
+ resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
490
490
  finalIteration: number;
491
491
  errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
492
492
  errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
@@ -870,7 +870,6 @@ export declare const CancelRequestedPayload: z.ZodObject<{
870
870
  by: z.ZodString;
871
871
  }, "strip", z.ZodTypeAny, {
872
872
  reason: string;
873
- by: string;
874
873
  target: {
875
874
  kind: "run";
876
875
  runId: string;
@@ -881,9 +880,9 @@ export declare const CancelRequestedPayload: z.ZodObject<{
881
880
  kind: "activity";
882
881
  activityId: string;
883
882
  };
883
+ by: string;
884
884
  }, {
885
885
  reason: string;
886
- by: string;
887
886
  target: {
888
887
  kind: "run";
889
888
  runId: string;
@@ -894,6 +893,7 @@ export declare const CancelRequestedPayload: z.ZodObject<{
894
893
  kind: "activity";
895
894
  activityId: string;
896
895
  };
896
+ by: string;
897
897
  }>;
898
898
  export declare const CancelDeliveredPayload: z.ZodObject<{
899
899
  target: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -926,7 +926,6 @@ export declare const CancelDeliveredPayload: z.ZodObject<{
926
926
  }>]>;
927
927
  activityId: z.ZodString;
928
928
  }, "strip", z.ZodTypeAny, {
929
- activityId: string;
930
929
  target: {
931
930
  kind: "run";
932
931
  runId: string;
@@ -937,8 +936,8 @@ export declare const CancelDeliveredPayload: z.ZodObject<{
937
936
  kind: "activity";
938
937
  activityId: string;
939
938
  };
940
- }, {
941
939
  activityId: string;
940
+ }, {
942
941
  target: {
943
942
  kind: "run";
944
943
  runId: string;
@@ -949,6 +948,7 @@ export declare const CancelDeliveredPayload: z.ZodObject<{
949
948
  kind: "activity";
950
949
  activityId: string;
951
950
  };
951
+ activityId: string;
952
952
  }>;
953
953
  export declare const ActivityCanceledPayload: z.ZodObject<{
954
954
  activityId: z.ZodString;
@@ -1047,14 +1047,14 @@ export declare const ReconcileResultPayload: z.ZodObject<{
1047
1047
  }, "strip", z.ZodTypeAny, {
1048
1048
  capability: "none" | "readOnlyLookup" | "idempotentSubmit";
1049
1049
  decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
1050
+ evidence: Record<string, unknown>;
1050
1051
  activityId: string;
1051
1052
  idempotencyKey: string;
1052
- evidence: Record<string, unknown>;
1053
1053
  }, {
1054
1054
  capability: "none" | "readOnlyLookup" | "idempotentSubmit";
1055
1055
  decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
1056
+ evidence: Record<string, unknown>;
1056
1057
  activityId: string;
1057
1058
  idempotencyKey: string;
1058
- evidence: Record<string, unknown>;
1059
1059
  }>;
1060
1060
  //# sourceMappingURL=payloads.d.ts.map