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.
Files changed (175) hide show
  1. package/README.en.md +4 -4
  2. package/README.md +3 -3
  3. package/dist/adapters/backend/tmux-backend.d.ts.map +1 -1
  4. package/dist/adapters/backend/tmux-backend.js +6 -10
  5. package/dist/adapters/backend/tmux-backend.js.map +1 -1
  6. package/dist/adapters/cli/kimi.d.ts +4 -0
  7. package/dist/adapters/cli/kimi.d.ts.map +1 -0
  8. package/dist/adapters/cli/kimi.js +54 -0
  9. package/dist/adapters/cli/kimi.js.map +1 -0
  10. package/dist/adapters/cli/registry.d.ts +2 -1
  11. package/dist/adapters/cli/registry.d.ts.map +1 -1
  12. package/dist/adapters/cli/registry.js +6 -20
  13. package/dist/adapters/cli/registry.js.map +1 -1
  14. package/dist/adapters/cli/types.d.ts +1 -1
  15. package/dist/adapters/cli/types.d.ts.map +1 -1
  16. package/dist/adapters/hook-installer.d.ts.map +1 -1
  17. package/dist/adapters/hook-installer.js +138 -28
  18. package/dist/adapters/hook-installer.js.map +1 -1
  19. package/dist/bot-registry.d.ts +61 -4
  20. package/dist/bot-registry.d.ts.map +1 -1
  21. package/dist/bot-registry.js +164 -3
  22. package/dist/bot-registry.js.map +1 -1
  23. package/dist/cli/stdin-encoding.d.ts +21 -0
  24. package/dist/cli/stdin-encoding.d.ts.map +1 -1
  25. package/dist/cli/stdin-encoding.js +37 -0
  26. package/dist/cli/stdin-encoding.js.map +1 -1
  27. package/dist/cli.d.ts.map +1 -1
  28. package/dist/cli.js +14 -4
  29. package/dist/cli.js.map +1 -1
  30. package/dist/config.d.ts +18 -0
  31. package/dist/config.d.ts.map +1 -1
  32. package/dist/config.js +27 -0
  33. package/dist/config.js.map +1 -1
  34. package/dist/core/ask-hook/opencode.d.ts +15 -17
  35. package/dist/core/ask-hook/opencode.d.ts.map +1 -1
  36. package/dist/core/ask-hook/opencode.js +17 -19
  37. package/dist/core/ask-hook/opencode.js.map +1 -1
  38. package/dist/core/command-handler.d.ts.map +1 -1
  39. package/dist/core/command-handler.js +1 -0
  40. package/dist/core/command-handler.js.map +1 -1
  41. package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
  42. package/dist/core/dashboard-ipc-server.js +193 -5
  43. package/dist/core/dashboard-ipc-server.js.map +1 -1
  44. package/dist/core/dashboard-rows.d.ts +2 -0
  45. package/dist/core/dashboard-rows.d.ts.map +1 -1
  46. package/dist/core/dashboard-rows.js +2 -0
  47. package/dist/core/dashboard-rows.js.map +1 -1
  48. package/dist/core/trigger-session.d.ts.map +1 -1
  49. package/dist/core/trigger-session.js +99 -7
  50. package/dist/core/trigger-session.js.map +1 -1
  51. package/dist/core/types.d.ts +16 -0
  52. package/dist/core/types.d.ts.map +1 -1
  53. package/dist/core/types.js.map +1 -1
  54. package/dist/core/worker-pool.d.ts +1 -1
  55. package/dist/core/worker-pool.d.ts.map +1 -1
  56. package/dist/core/worker-pool.js +68 -11
  57. package/dist/core/worker-pool.js.map +1 -1
  58. package/dist/dashboard/bot-payload.d.ts +7 -0
  59. package/dist/dashboard/bot-payload.d.ts.map +1 -1
  60. package/dist/dashboard/bot-payload.js +7 -1
  61. package/dist/dashboard/bot-payload.js.map +1 -1
  62. package/dist/dashboard/session-cleanup.d.ts +1 -0
  63. package/dist/dashboard/session-cleanup.d.ts.map +1 -1
  64. package/dist/dashboard/session-cleanup.js +2 -0
  65. package/dist/dashboard/session-cleanup.js.map +1 -1
  66. package/dist/dashboard/settings-write-applier.d.ts +2 -1
  67. package/dist/dashboard/settings-write-applier.d.ts.map +1 -1
  68. package/dist/dashboard/settings-write-applier.js +6 -0
  69. package/dist/dashboard/settings-write-applier.js.map +1 -1
  70. package/dist/dashboard/trigger-api.d.ts +4 -0
  71. package/dist/dashboard/trigger-api.d.ts.map +1 -1
  72. package/dist/dashboard/trigger-api.js +20 -0
  73. package/dist/dashboard/trigger-api.js.map +1 -1
  74. package/dist/dashboard/web/bot-defaults.d.ts +1 -0
  75. package/dist/dashboard/web/bot-defaults.d.ts.map +1 -1
  76. package/dist/dashboard/web/bot-defaults.js +247 -4
  77. package/dist/dashboard/web/bot-defaults.js.map +1 -1
  78. package/dist/dashboard/web/connectors.d.ts +11 -0
  79. package/dist/dashboard/web/connectors.d.ts.map +1 -1
  80. package/dist/dashboard/web/connectors.js +45 -1
  81. package/dist/dashboard/web/connectors.js.map +1 -1
  82. package/dist/dashboard/web/groups.d.ts +7 -0
  83. package/dist/dashboard/web/groups.d.ts.map +1 -1
  84. package/dist/dashboard/web/groups.js +62 -15
  85. package/dist/dashboard/web/groups.js.map +1 -1
  86. package/dist/dashboard/web/i18n.d.ts.map +1 -1
  87. package/dist/dashboard/web/i18n.js +58 -2
  88. package/dist/dashboard/web/i18n.js.map +1 -1
  89. package/dist/dashboard/web/sessions.d.ts.map +1 -1
  90. package/dist/dashboard/web/sessions.js +149 -5
  91. package/dist/dashboard/web/sessions.js.map +1 -1
  92. package/dist/dashboard/web/settings.d.ts.map +1 -1
  93. package/dist/dashboard/web/settings.js +10 -0
  94. package/dist/dashboard/web/settings.js.map +1 -1
  95. package/dist/dashboard/webhook-routes.d.ts.map +1 -1
  96. package/dist/dashboard/webhook-routes.js +126 -6
  97. package/dist/dashboard/webhook-routes.js.map +1 -1
  98. package/dist/dashboard-web/app.js +827 -751
  99. package/dist/dashboard-web/style.css +47 -0
  100. package/dist/dashboard.js +85 -6
  101. package/dist/dashboard.js.map +1 -1
  102. package/dist/global-config.d.ts +4 -0
  103. package/dist/global-config.d.ts.map +1 -1
  104. package/dist/global-config.js +2 -0
  105. package/dist/global-config.js.map +1 -1
  106. package/dist/i18n/en.d.ts.map +1 -1
  107. package/dist/i18n/en.js +1 -0
  108. package/dist/i18n/en.js.map +1 -1
  109. package/dist/i18n/zh.d.ts.map +1 -1
  110. package/dist/i18n/zh.js +1 -0
  111. package/dist/i18n/zh.js.map +1 -1
  112. package/dist/im/lark/card-builder.d.ts.map +1 -1
  113. package/dist/im/lark/card-builder.js +1 -0
  114. package/dist/im/lark/card-builder.js.map +1 -1
  115. package/dist/im/lark/client.d.ts +12 -0
  116. package/dist/im/lark/client.d.ts.map +1 -1
  117. package/dist/im/lark/client.js +154 -9
  118. package/dist/im/lark/client.js.map +1 -1
  119. package/dist/im/lark/event-dispatcher.d.ts +13 -0
  120. package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
  121. package/dist/im/lark/event-dispatcher.js +200 -16
  122. package/dist/im/lark/event-dispatcher.js.map +1 -1
  123. package/dist/im/lark/message-parser.d.ts +11 -0
  124. package/dist/im/lark/message-parser.d.ts.map +1 -1
  125. package/dist/im/lark/message-parser.js +2 -1
  126. package/dist/im/lark/message-parser.js.map +1 -1
  127. package/dist/im/lark/summary-command.d.ts +19 -0
  128. package/dist/im/lark/summary-command.d.ts.map +1 -0
  129. package/dist/im/lark/summary-command.js +276 -0
  130. package/dist/im/lark/summary-command.js.map +1 -0
  131. package/dist/mir-local-runtime.d.ts +40 -0
  132. package/dist/mir-local-runtime.d.ts.map +1 -1
  133. package/dist/mir-local-runtime.js +246 -52
  134. package/dist/mir-local-runtime.js.map +1 -1
  135. package/dist/mir-runner.js +26 -1
  136. package/dist/mir-runner.js.map +1 -1
  137. package/dist/services/card-prefs-store.d.ts +2 -2
  138. package/dist/services/card-prefs-store.d.ts.map +1 -1
  139. package/dist/services/card-prefs-store.js +5 -5
  140. package/dist/services/card-prefs-store.js.map +1 -1
  141. package/dist/services/chat-reply-mode-store.d.ts +6 -4
  142. package/dist/services/chat-reply-mode-store.d.ts.map +1 -1
  143. package/dist/services/chat-reply-mode-store.js +6 -4
  144. package/dist/services/chat-reply-mode-store.js.map +1 -1
  145. package/dist/services/pi-transcript.d.ts +19 -0
  146. package/dist/services/pi-transcript.d.ts.map +1 -0
  147. package/dist/services/pi-transcript.js +222 -0
  148. package/dist/services/pi-transcript.js.map +1 -0
  149. package/dist/services/seen-message-store.d.ts +12 -0
  150. package/dist/services/seen-message-store.d.ts.map +1 -0
  151. package/dist/services/seen-message-store.js +119 -0
  152. package/dist/services/seen-message-store.js.map +1 -0
  153. package/dist/services/summary-range-store.d.ts +21 -0
  154. package/dist/services/summary-range-store.d.ts.map +1 -0
  155. package/dist/services/summary-range-store.js +89 -0
  156. package/dist/services/summary-range-store.js.map +1 -0
  157. package/dist/services/trigger-types.d.ts +14 -2
  158. package/dist/services/trigger-types.d.ts.map +1 -1
  159. package/dist/services/trigger-types.js +15 -1
  160. package/dist/services/trigger-types.js.map +1 -1
  161. package/dist/setup/bot-config-editor.d.ts.map +1 -1
  162. package/dist/setup/bot-config-editor.js +2 -0
  163. package/dist/setup/bot-config-editor.js.map +1 -1
  164. package/dist/types.d.ts +20 -1
  165. package/dist/types.d.ts.map +1 -1
  166. package/dist/utils/executable.d.ts +3 -0
  167. package/dist/utils/executable.d.ts.map +1 -0
  168. package/dist/utils/executable.js +24 -0
  169. package/dist/utils/executable.js.map +1 -0
  170. package/dist/worker.js +75 -6
  171. package/dist/worker.js.map +1 -1
  172. package/dist/workflows/definition.d.ts +8 -8
  173. package/dist/workflows/events/payloads.d.ts +10 -10
  174. package/dist/workflows/events/schema.d.ts +28 -28
  175. 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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
297
+ errorClass: "fatal" | "manual" | "retryable" | "userFault";
298
298
  lastActivityId: string;
299
299
  }, {
300
300
  nodeId: string;
301
- errorClass: "manual" | "retryable" | "fatal" | "userFault";
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
657
+ errorClass: "fatal" | "manual" | "retryable" | "userFault";
658
658
  lastActivityId: string;
659
659
  }, {
660
660
  nodeId: string;
661
- errorClass: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
3593
+ errorClass: "fatal" | "manual" | "retryable" | "userFault";
3594
3594
  lastActivityId: string;
3595
3595
  }, {
3596
3596
  nodeId: string;
3597
- errorClass: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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?: "manual" | "retryable" | "fatal" | "userFault" | undefined;
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
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: "manual" | "retryable" | "fatal" | "userFault";
5047
+ errorClass: "fatal" | "manual" | "retryable" | "userFault";
5048
5048
  errorMessage: string;
5049
5049
  stackRef?: string | undefined;
5050
5050
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botmux",
3
- "version": "2.95.0",
3
+ "version": "2.96.1",
4
4
  "description": "Bridge between IM platforms and AI coding CLIs — one topic, one CLI session with live streaming",
5
5
  "type": "module",
6
6
  "main": "dist/index-daemon.js",