botmux 2.53.0 → 2.54.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.
Files changed (54) hide show
  1. package/dist/cli.d.ts.map +1 -1
  2. package/dist/cli.js +42 -22
  3. package/dist/cli.js.map +1 -1
  4. package/dist/core/pending-response.d.ts +31 -0
  5. package/dist/core/pending-response.d.ts.map +1 -0
  6. package/dist/core/pending-response.js +87 -0
  7. package/dist/core/pending-response.js.map +1 -0
  8. package/dist/core/session-manager.d.ts.map +1 -1
  9. package/dist/core/session-manager.js +16 -1
  10. package/dist/core/session-manager.js.map +1 -1
  11. package/dist/core/types.d.ts +3 -0
  12. package/dist/core/types.d.ts.map +1 -1
  13. package/dist/core/types.js.map +1 -1
  14. package/dist/core/worker-pool.d.ts +1 -1
  15. package/dist/core/worker-pool.d.ts.map +1 -1
  16. package/dist/core/worker-pool.js +67 -6
  17. package/dist/core/worker-pool.js.map +1 -1
  18. package/dist/core/zellij-adopt-discovery.d.ts.map +1 -1
  19. package/dist/core/zellij-adopt-discovery.js +53 -32
  20. package/dist/core/zellij-adopt-discovery.js.map +1 -1
  21. package/dist/daemon.d.ts.map +1 -1
  22. package/dist/daemon.js +63 -1
  23. package/dist/daemon.js.map +1 -1
  24. package/dist/i18n/en.d.ts.map +1 -1
  25. package/dist/i18n/en.js +4 -0
  26. package/dist/i18n/en.js.map +1 -1
  27. package/dist/i18n/zh.d.ts.map +1 -1
  28. package/dist/i18n/zh.js +4 -0
  29. package/dist/i18n/zh.js.map +1 -1
  30. package/dist/im/lark/card-builder.d.ts +3 -0
  31. package/dist/im/lark/card-builder.d.ts.map +1 -1
  32. package/dist/im/lark/card-builder.js +33 -0
  33. package/dist/im/lark/card-builder.js.map +1 -1
  34. package/dist/im/lark/card-handler.d.ts.map +1 -1
  35. package/dist/im/lark/card-handler.js +13 -1
  36. package/dist/im/lark/card-handler.js.map +1 -1
  37. package/dist/im/lark/event-dispatcher.d.ts +8 -1
  38. package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
  39. package/dist/im/lark/event-dispatcher.js +28 -0
  40. package/dist/im/lark/event-dispatcher.js.map +1 -1
  41. package/dist/services/pending-response-transaction-store.d.ts +12 -0
  42. package/dist/services/pending-response-transaction-store.d.ts.map +1 -0
  43. package/dist/services/pending-response-transaction-store.js +52 -0
  44. package/dist/services/pending-response-transaction-store.js.map +1 -0
  45. package/dist/services/session-store.d.ts.map +1 -1
  46. package/dist/services/session-store.js +15 -1
  47. package/dist/services/session-store.js.map +1 -1
  48. package/dist/types.d.ts +5 -0
  49. package/dist/types.d.ts.map +1 -1
  50. package/dist/worker.js +114 -5
  51. package/dist/worker.js.map +1 -1
  52. package/dist/workflows/events/payloads.d.ts +20 -20
  53. package/dist/workflows/events/schema.d.ts +48 -48
  54. package/package.json +1 -1
@@ -2422,20 +2422,20 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2422
2422
  kind: z.ZodLiteral<"run">;
2423
2423
  runId: z.ZodString;
2424
2424
  }, "strip", z.ZodTypeAny, {
2425
- runId: string;
2426
2425
  kind: "run";
2427
- }, {
2428
2426
  runId: string;
2427
+ }, {
2429
2428
  kind: "run";
2429
+ runId: string;
2430
2430
  }>, z.ZodObject<{
2431
2431
  kind: z.ZodLiteral<"node">;
2432
2432
  nodeId: z.ZodString;
2433
2433
  }, "strip", z.ZodTypeAny, {
2434
- nodeId: string;
2435
2434
  kind: "node";
2436
- }, {
2437
2435
  nodeId: string;
2436
+ }, {
2438
2437
  kind: "node";
2438
+ nodeId: string;
2439
2439
  }>, z.ZodObject<{
2440
2440
  kind: z.ZodLiteral<"activity">;
2441
2441
  activityId: z.ZodString;
@@ -2452,11 +2452,11 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2452
2452
  reason: string;
2453
2453
  by: string;
2454
2454
  target: {
2455
- runId: string;
2456
2455
  kind: "run";
2456
+ runId: string;
2457
2457
  } | {
2458
- nodeId: string;
2459
2458
  kind: "node";
2459
+ nodeId: string;
2460
2460
  } | {
2461
2461
  kind: "activity";
2462
2462
  activityId: string;
@@ -2465,11 +2465,11 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2465
2465
  reason: string;
2466
2466
  by: string;
2467
2467
  target: {
2468
- runId: string;
2469
2468
  kind: "run";
2469
+ runId: string;
2470
2470
  } | {
2471
- nodeId: string;
2472
2471
  kind: "node";
2472
+ nodeId: string;
2473
2473
  } | {
2474
2474
  kind: "activity";
2475
2475
  activityId: string;
@@ -2502,11 +2502,11 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2502
2502
  reason: string;
2503
2503
  by: string;
2504
2504
  target: {
2505
- runId: string;
2506
2505
  kind: "run";
2506
+ runId: string;
2507
2507
  } | {
2508
- nodeId: string;
2509
2508
  kind: "node";
2509
+ nodeId: string;
2510
2510
  } | {
2511
2511
  kind: "activity";
2512
2512
  activityId: string;
@@ -2528,11 +2528,11 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2528
2528
  reason: string;
2529
2529
  by: string;
2530
2530
  target: {
2531
- runId: string;
2532
2531
  kind: "run";
2532
+ runId: string;
2533
2533
  } | {
2534
- nodeId: string;
2535
2534
  kind: "node";
2535
+ nodeId: string;
2536
2536
  } | {
2537
2537
  kind: "activity";
2538
2538
  activityId: string;
@@ -2553,20 +2553,20 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2553
2553
  kind: z.ZodLiteral<"run">;
2554
2554
  runId: z.ZodString;
2555
2555
  }, "strip", z.ZodTypeAny, {
2556
- runId: string;
2557
2556
  kind: "run";
2558
- }, {
2559
2557
  runId: string;
2558
+ }, {
2560
2559
  kind: "run";
2560
+ runId: string;
2561
2561
  }>, z.ZodObject<{
2562
2562
  kind: z.ZodLiteral<"node">;
2563
2563
  nodeId: z.ZodString;
2564
2564
  }, "strip", z.ZodTypeAny, {
2565
- nodeId: string;
2566
2565
  kind: "node";
2567
- }, {
2568
2566
  nodeId: string;
2567
+ }, {
2569
2568
  kind: "node";
2569
+ nodeId: string;
2570
2570
  }>, z.ZodObject<{
2571
2571
  kind: z.ZodLiteral<"activity">;
2572
2572
  activityId: z.ZodString;
@@ -2581,11 +2581,11 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2581
2581
  }, "strip", z.ZodTypeAny, {
2582
2582
  activityId: string;
2583
2583
  target: {
2584
- runId: string;
2585
2584
  kind: "run";
2585
+ runId: string;
2586
2586
  } | {
2587
- nodeId: string;
2588
2587
  kind: "node";
2588
+ nodeId: string;
2589
2589
  } | {
2590
2590
  kind: "activity";
2591
2591
  activityId: string;
@@ -2593,11 +2593,11 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2593
2593
  }, {
2594
2594
  activityId: string;
2595
2595
  target: {
2596
- runId: string;
2597
2596
  kind: "run";
2597
+ runId: string;
2598
2598
  } | {
2599
- nodeId: string;
2600
2599
  kind: "node";
2600
+ nodeId: string;
2601
2601
  } | {
2602
2602
  kind: "activity";
2603
2603
  activityId: string;
@@ -2629,11 +2629,11 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2629
2629
  payload: {
2630
2630
  activityId: string;
2631
2631
  target: {
2632
- runId: string;
2633
2632
  kind: "run";
2633
+ runId: string;
2634
2634
  } | {
2635
- nodeId: string;
2636
2635
  kind: "node";
2636
+ nodeId: string;
2637
2637
  } | {
2638
2638
  kind: "activity";
2639
2639
  activityId: string;
@@ -2654,11 +2654,11 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2654
2654
  payload: {
2655
2655
  activityId: string;
2656
2656
  target: {
2657
- runId: string;
2658
2657
  kind: "run";
2658
+ runId: string;
2659
2659
  } | {
2660
- nodeId: string;
2661
2660
  kind: "node";
2661
+ nodeId: string;
2662
2662
  } | {
2663
2663
  kind: "activity";
2664
2664
  activityId: string;
@@ -5330,20 +5330,20 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5330
5330
  kind: z.ZodLiteral<"run">;
5331
5331
  runId: z.ZodString;
5332
5332
  }, "strip", z.ZodTypeAny, {
5333
- runId: string;
5334
5333
  kind: "run";
5335
- }, {
5336
5334
  runId: string;
5335
+ }, {
5337
5336
  kind: "run";
5337
+ runId: string;
5338
5338
  }>, z.ZodObject<{
5339
5339
  kind: z.ZodLiteral<"node">;
5340
5340
  nodeId: z.ZodString;
5341
5341
  }, "strip", z.ZodTypeAny, {
5342
- nodeId: string;
5343
5342
  kind: "node";
5344
- }, {
5345
5343
  nodeId: string;
5344
+ }, {
5346
5345
  kind: "node";
5346
+ nodeId: string;
5347
5347
  }>, z.ZodObject<{
5348
5348
  kind: z.ZodLiteral<"activity">;
5349
5349
  activityId: z.ZodString;
@@ -5360,11 +5360,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5360
5360
  reason: string;
5361
5361
  by: string;
5362
5362
  target: {
5363
- runId: string;
5364
5363
  kind: "run";
5364
+ runId: string;
5365
5365
  } | {
5366
- nodeId: string;
5367
5366
  kind: "node";
5367
+ nodeId: string;
5368
5368
  } | {
5369
5369
  kind: "activity";
5370
5370
  activityId: string;
@@ -5373,11 +5373,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5373
5373
  reason: string;
5374
5374
  by: string;
5375
5375
  target: {
5376
- runId: string;
5377
5376
  kind: "run";
5377
+ runId: string;
5378
5378
  } | {
5379
- nodeId: string;
5380
5379
  kind: "node";
5380
+ nodeId: string;
5381
5381
  } | {
5382
5382
  kind: "activity";
5383
5383
  activityId: string;
@@ -5410,11 +5410,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5410
5410
  reason: string;
5411
5411
  by: string;
5412
5412
  target: {
5413
- runId: string;
5414
5413
  kind: "run";
5414
+ runId: string;
5415
5415
  } | {
5416
- nodeId: string;
5417
5416
  kind: "node";
5417
+ nodeId: string;
5418
5418
  } | {
5419
5419
  kind: "activity";
5420
5420
  activityId: string;
@@ -5436,11 +5436,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5436
5436
  reason: string;
5437
5437
  by: string;
5438
5438
  target: {
5439
- runId: string;
5440
5439
  kind: "run";
5440
+ runId: string;
5441
5441
  } | {
5442
- nodeId: string;
5443
5442
  kind: "node";
5443
+ nodeId: string;
5444
5444
  } | {
5445
5445
  kind: "activity";
5446
5446
  activityId: string;
@@ -5460,20 +5460,20 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5460
5460
  kind: z.ZodLiteral<"run">;
5461
5461
  runId: z.ZodString;
5462
5462
  }, "strip", z.ZodTypeAny, {
5463
- runId: string;
5464
5463
  kind: "run";
5465
- }, {
5466
5464
  runId: string;
5465
+ }, {
5467
5466
  kind: "run";
5467
+ runId: string;
5468
5468
  }>, z.ZodObject<{
5469
5469
  kind: z.ZodLiteral<"node">;
5470
5470
  nodeId: z.ZodString;
5471
5471
  }, "strip", z.ZodTypeAny, {
5472
- nodeId: string;
5473
5472
  kind: "node";
5474
- }, {
5475
5473
  nodeId: string;
5474
+ }, {
5476
5475
  kind: "node";
5476
+ nodeId: string;
5477
5477
  }>, z.ZodObject<{
5478
5478
  kind: z.ZodLiteral<"activity">;
5479
5479
  activityId: z.ZodString;
@@ -5488,11 +5488,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5488
5488
  }, "strip", z.ZodTypeAny, {
5489
5489
  activityId: string;
5490
5490
  target: {
5491
- runId: string;
5492
5491
  kind: "run";
5492
+ runId: string;
5493
5493
  } | {
5494
- nodeId: string;
5495
5494
  kind: "node";
5495
+ nodeId: string;
5496
5496
  } | {
5497
5497
  kind: "activity";
5498
5498
  activityId: string;
@@ -5500,11 +5500,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5500
5500
  }, {
5501
5501
  activityId: string;
5502
5502
  target: {
5503
- runId: string;
5504
5503
  kind: "run";
5504
+ runId: string;
5505
5505
  } | {
5506
- nodeId: string;
5507
5506
  kind: "node";
5507
+ nodeId: string;
5508
5508
  } | {
5509
5509
  kind: "activity";
5510
5510
  activityId: string;
@@ -5536,11 +5536,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5536
5536
  payload: {
5537
5537
  activityId: string;
5538
5538
  target: {
5539
- runId: string;
5540
5539
  kind: "run";
5540
+ runId: string;
5541
5541
  } | {
5542
- nodeId: string;
5543
5542
  kind: "node";
5543
+ nodeId: string;
5544
5544
  } | {
5545
5545
  kind: "activity";
5546
5546
  activityId: string;
@@ -5561,11 +5561,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5561
5561
  payload: {
5562
5562
  activityId: string;
5563
5563
  target: {
5564
- runId: string;
5565
5564
  kind: "run";
5565
+ runId: string;
5566
5566
  } | {
5567
- nodeId: string;
5568
5567
  kind: "node";
5568
+ nodeId: string;
5569
5569
  } | {
5570
5570
  kind: "activity";
5571
5571
  activityId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botmux",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
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",