agentix-cli 0.215.0 → 0.216.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 (153) hide show
  1. package/dist/{App-OUWMH6QG.js → App-YGVVIKZD.js} +2 -2
  2. package/dist/{ChatApp-EZ5A47FV.js → ChatApp-6TEK2WMU.js} +2 -2
  3. package/dist/{absorb-eval-WM6JQGYG.js → absorb-eval-MJ475CNV.js} +2 -2
  4. package/dist/{adapter-W26OC6ET.js → adapter-C6YORAE6.js} +2 -2
  5. package/dist/{agent-KOKQSRAH.js → agent-44SGRWX2.js} +2 -2
  6. package/dist/{board-dashboard-NVQUQSWI.js → board-dashboard-TZKV4DFV.js} +13 -13
  7. package/dist/{board-dashboard-NVQUQSWI.js.map → board-dashboard-TZKV4DFV.js.map} +1 -1
  8. package/dist/{chunk-GGAEFVXL.js → chunk-2KQECT4H.js} +2 -2
  9. package/dist/{chunk-ACPGDZOV.js → chunk-2ZNYIHRB.js} +2 -2
  10. package/dist/{chunk-CSC45PA7.js → chunk-3UATFGSB.js} +2 -2
  11. package/dist/chunk-4A6UVU2X.js +134 -0
  12. package/dist/chunk-4A6UVU2X.js.map +1 -0
  13. package/dist/{chunk-XHON5WB5.js → chunk-5SQRJUAK.js} +3 -3
  14. package/dist/{chunk-QR3P5RG7.js → chunk-7OJUZ3L5.js} +2 -2
  15. package/dist/{chunk-CAH6TNC6.js → chunk-AU7SN4G3.js} +2 -2
  16. package/dist/{chunk-MIUITI47.js → chunk-BLKXK27S.js} +2 -2
  17. package/dist/{chunk-QOGZD6Z3.js → chunk-F2XNWKIL.js} +443 -400
  18. package/dist/chunk-F2XNWKIL.js.map +1 -0
  19. package/dist/{chunk-H4DWZIU7.js → chunk-F32VADB7.js} +2 -2
  20. package/dist/{chunk-4DCQIHWU.js → chunk-GEKJQ7VV.js} +2 -2
  21. package/dist/chunk-I4E6BH27.js +20 -0
  22. package/dist/chunk-I4E6BH27.js.map +1 -0
  23. package/dist/{chunk-PSYHAO57.js → chunk-IKXDCPXS.js} +2 -2
  24. package/dist/{chunk-ZRBTLW2B.js → chunk-JMWPBZLU.js} +2 -2
  25. package/dist/{chunk-QMICGPM6.js → chunk-JNBUJKNG.js} +2 -2
  26. package/dist/{chunk-HY4PE6R3.js → chunk-JTS563OC.js} +2 -2
  27. package/dist/{chunk-N476XZD3.js → chunk-LDSBFDYB.js} +2 -2
  28. package/dist/{chunk-B7HDWFKR.js → chunk-LJUBWMPB.js} +2 -2
  29. package/dist/{chunk-Q7Y5VQGX.js → chunk-MH7KJQ4N.js} +2 -2
  30. package/dist/{chunk-UUOCCLIL.js → chunk-MOEXP6U3.js} +2 -2
  31. package/dist/{chunk-JKMFKNGS.js → chunk-PA7CP74O.js} +2 -2
  32. package/dist/{chunk-JEBU5JUM.js → chunk-SZXFWCKA.js} +2 -2
  33. package/dist/{chunk-J2R47R56.js → chunk-T3B7OUDC.js} +2 -2
  34. package/dist/{chunk-Z7632XS3.js → chunk-T7SD5EVH.js} +2 -2
  35. package/dist/{chunk-4BYJN2A3.js → chunk-TFHJT2AZ.js} +2 -2
  36. package/dist/{chunk-IHFOW4JF.js → chunk-TO6T6AQY.js} +2 -2
  37. package/dist/{chunk-OQNJIIR2.js → chunk-U5DSMDCJ.js} +2 -2
  38. package/dist/{chunk-JLH73NRM.js → chunk-WLDRIJQX.js} +5 -5
  39. package/dist/{chunk-JLH73NRM.js.map → chunk-WLDRIJQX.js.map} +1 -1
  40. package/dist/{chunk-7AFXLWWW.js → chunk-XXFVK5D7.js} +2 -2
  41. package/dist/{chunk-7AFXLWWW.js.map → chunk-XXFVK5D7.js.map} +1 -1
  42. package/dist/{chunk-4ZD2C76P.js → chunk-YTWRIIAT.js} +2 -2
  43. package/dist/cli.js +1 -1
  44. package/dist/client-SJLHZDIC.js +2 -0
  45. package/dist/config-Q3ENZQYL.js +2 -0
  46. package/dist/config-mutate-NNAUMQ2Y.js +2 -0
  47. package/dist/config-mutator-2F2BJNMA.js +2 -0
  48. package/dist/{contributions-FXUTKU6R.js → contributions-SOUGZCAH.js} +2 -2
  49. package/dist/{doctor-GP2KVKWE.js → doctor-H6I433KY.js} +2 -2
  50. package/dist/{follow-up-tool-C4PLLZIT.js → follow-up-tool-4FX455DL.js} +2 -2
  51. package/dist/hub-XFZFHLJK.js +2 -0
  52. package/dist/index.d.ts +345 -294
  53. package/dist/index.js +1 -1
  54. package/dist/{org-tool-6PPIGWH2.js → org-tool-OE5QP6W7.js} +2 -2
  55. package/dist/{program-WSGVQTFM.js → program-7QFRDJUY.js} +291 -291
  56. package/dist/program-7QFRDJUY.js.map +1 -0
  57. package/dist/{promote-CXXMZWWH.js → promote-FQY3HNL6.js} +2 -2
  58. package/dist/push-bridge-T5HZZRA2.js +1 -1
  59. package/dist/{query-RPZIRN3X.js → query-LIII4CGT.js} +2 -2
  60. package/dist/{query-settings-EBOBWOAL.js → query-settings-6LHW2NCF.js} +2 -2
  61. package/dist/{registry-KRU6AWVW.js → registry-WQNBXOUL.js} +2 -2
  62. package/dist/{request-planner-LNNKTY7K.js → request-planner-HYYT3W7X.js} +2 -2
  63. package/dist/{review-candidates-HQBKXAJA.js → review-candidates-JOCZEZ2L.js} +2 -2
  64. package/dist/routing-D7W4BDER.js +2 -0
  65. package/dist/schedule-tool-B4RDOKCN.js +2 -0
  66. package/dist/scheduler-JHY767T4.js +2 -0
  67. package/dist/{seat-BSWBTNCP.js → seat-44NEMWB5.js} +2 -2
  68. package/dist/{select-T4F42G6W.js → select-5FMPLCCG.js} +2 -2
  69. package/dist/{set-enabled-UK4TPVC7.js → set-enabled-GVQFNLOS.js} +2 -2
  70. package/dist/{sprint-tool-DN3BKLUY.js → sprint-tool-X3A5VPJP.js} +2 -2
  71. package/dist/{tool-ZCSGJ2ZF.js → tool-H7RMHTXM.js} +2 -2
  72. package/dist/{tool-JJGEGQF3.js → tool-ILYSRPZ5.js} +2 -2
  73. package/dist/{tool-L3CQUOAZ.js → tool-KCOCIAFM.js} +2 -2
  74. package/dist/{tool-ZVYUWVJQ.js → tool-QIS3CLU2.js} +2 -2
  75. package/dist/tool-Z7TIGVEW.js +7 -0
  76. package/dist/tool-Z7TIGVEW.js.map +1 -0
  77. package/dist/wiki-UMPPYYFR.js +2 -0
  78. package/dist/wiki-enrich-UVCZ7GTW.js +2 -0
  79. package/package.json +1 -1
  80. package/dist/chunk-35UGFFHA.js +0 -20
  81. package/dist/chunk-35UGFFHA.js.map +0 -1
  82. package/dist/chunk-KAM4ZWRE.js +0 -133
  83. package/dist/chunk-KAM4ZWRE.js.map +0 -1
  84. package/dist/chunk-QOGZD6Z3.js.map +0 -1
  85. package/dist/client-U3OFNJ5W.js +0 -2
  86. package/dist/config-S522VXLI.js +0 -2
  87. package/dist/config-mutate-KBZV2T4X.js +0 -2
  88. package/dist/config-mutator-YNNEGRV3.js +0 -2
  89. package/dist/hub-V2AGLA7T.js +0 -2
  90. package/dist/program-WSGVQTFM.js.map +0 -1
  91. package/dist/routing-XXA7GIBA.js +0 -2
  92. package/dist/schedule-tool-65TFOUWK.js +0 -2
  93. package/dist/scheduler-DIPOBJBF.js +0 -2
  94. package/dist/wiki-IDLRJ6WL.js +0 -2
  95. package/dist/wiki-enrich-XWLDJAZI.js +0 -2
  96. /package/dist/{App-OUWMH6QG.js.map → App-YGVVIKZD.js.map} +0 -0
  97. /package/dist/{ChatApp-EZ5A47FV.js.map → ChatApp-6TEK2WMU.js.map} +0 -0
  98. /package/dist/{absorb-eval-WM6JQGYG.js.map → absorb-eval-MJ475CNV.js.map} +0 -0
  99. /package/dist/{adapter-W26OC6ET.js.map → adapter-C6YORAE6.js.map} +0 -0
  100. /package/dist/{agent-KOKQSRAH.js.map → agent-44SGRWX2.js.map} +0 -0
  101. /package/dist/{chunk-GGAEFVXL.js.map → chunk-2KQECT4H.js.map} +0 -0
  102. /package/dist/{chunk-ACPGDZOV.js.map → chunk-2ZNYIHRB.js.map} +0 -0
  103. /package/dist/{chunk-CSC45PA7.js.map → chunk-3UATFGSB.js.map} +0 -0
  104. /package/dist/{chunk-XHON5WB5.js.map → chunk-5SQRJUAK.js.map} +0 -0
  105. /package/dist/{chunk-QR3P5RG7.js.map → chunk-7OJUZ3L5.js.map} +0 -0
  106. /package/dist/{chunk-CAH6TNC6.js.map → chunk-AU7SN4G3.js.map} +0 -0
  107. /package/dist/{chunk-MIUITI47.js.map → chunk-BLKXK27S.js.map} +0 -0
  108. /package/dist/{chunk-H4DWZIU7.js.map → chunk-F32VADB7.js.map} +0 -0
  109. /package/dist/{chunk-4DCQIHWU.js.map → chunk-GEKJQ7VV.js.map} +0 -0
  110. /package/dist/{chunk-PSYHAO57.js.map → chunk-IKXDCPXS.js.map} +0 -0
  111. /package/dist/{chunk-ZRBTLW2B.js.map → chunk-JMWPBZLU.js.map} +0 -0
  112. /package/dist/{chunk-QMICGPM6.js.map → chunk-JNBUJKNG.js.map} +0 -0
  113. /package/dist/{chunk-HY4PE6R3.js.map → chunk-JTS563OC.js.map} +0 -0
  114. /package/dist/{chunk-N476XZD3.js.map → chunk-LDSBFDYB.js.map} +0 -0
  115. /package/dist/{chunk-B7HDWFKR.js.map → chunk-LJUBWMPB.js.map} +0 -0
  116. /package/dist/{chunk-Q7Y5VQGX.js.map → chunk-MH7KJQ4N.js.map} +0 -0
  117. /package/dist/{chunk-UUOCCLIL.js.map → chunk-MOEXP6U3.js.map} +0 -0
  118. /package/dist/{chunk-JKMFKNGS.js.map → chunk-PA7CP74O.js.map} +0 -0
  119. /package/dist/{chunk-JEBU5JUM.js.map → chunk-SZXFWCKA.js.map} +0 -0
  120. /package/dist/{chunk-J2R47R56.js.map → chunk-T3B7OUDC.js.map} +0 -0
  121. /package/dist/{chunk-Z7632XS3.js.map → chunk-T7SD5EVH.js.map} +0 -0
  122. /package/dist/{chunk-4BYJN2A3.js.map → chunk-TFHJT2AZ.js.map} +0 -0
  123. /package/dist/{chunk-IHFOW4JF.js.map → chunk-TO6T6AQY.js.map} +0 -0
  124. /package/dist/{chunk-OQNJIIR2.js.map → chunk-U5DSMDCJ.js.map} +0 -0
  125. /package/dist/{chunk-4ZD2C76P.js.map → chunk-YTWRIIAT.js.map} +0 -0
  126. /package/dist/{client-U3OFNJ5W.js.map → client-SJLHZDIC.js.map} +0 -0
  127. /package/dist/{config-S522VXLI.js.map → config-Q3ENZQYL.js.map} +0 -0
  128. /package/dist/{config-mutate-KBZV2T4X.js.map → config-mutate-NNAUMQ2Y.js.map} +0 -0
  129. /package/dist/{config-mutator-YNNEGRV3.js.map → config-mutator-2F2BJNMA.js.map} +0 -0
  130. /package/dist/{contributions-FXUTKU6R.js.map → contributions-SOUGZCAH.js.map} +0 -0
  131. /package/dist/{doctor-GP2KVKWE.js.map → doctor-H6I433KY.js.map} +0 -0
  132. /package/dist/{follow-up-tool-C4PLLZIT.js.map → follow-up-tool-4FX455DL.js.map} +0 -0
  133. /package/dist/{hub-V2AGLA7T.js.map → hub-XFZFHLJK.js.map} +0 -0
  134. /package/dist/{org-tool-6PPIGWH2.js.map → org-tool-OE5QP6W7.js.map} +0 -0
  135. /package/dist/{promote-CXXMZWWH.js.map → promote-FQY3HNL6.js.map} +0 -0
  136. /package/dist/{query-RPZIRN3X.js.map → query-LIII4CGT.js.map} +0 -0
  137. /package/dist/{query-settings-EBOBWOAL.js.map → query-settings-6LHW2NCF.js.map} +0 -0
  138. /package/dist/{registry-KRU6AWVW.js.map → registry-WQNBXOUL.js.map} +0 -0
  139. /package/dist/{request-planner-LNNKTY7K.js.map → request-planner-HYYT3W7X.js.map} +0 -0
  140. /package/dist/{review-candidates-HQBKXAJA.js.map → review-candidates-JOCZEZ2L.js.map} +0 -0
  141. /package/dist/{routing-XXA7GIBA.js.map → routing-D7W4BDER.js.map} +0 -0
  142. /package/dist/{schedule-tool-65TFOUWK.js.map → schedule-tool-B4RDOKCN.js.map} +0 -0
  143. /package/dist/{scheduler-DIPOBJBF.js.map → scheduler-JHY767T4.js.map} +0 -0
  144. /package/dist/{seat-BSWBTNCP.js.map → seat-44NEMWB5.js.map} +0 -0
  145. /package/dist/{select-T4F42G6W.js.map → select-5FMPLCCG.js.map} +0 -0
  146. /package/dist/{set-enabled-UK4TPVC7.js.map → set-enabled-GVQFNLOS.js.map} +0 -0
  147. /package/dist/{sprint-tool-DN3BKLUY.js.map → sprint-tool-X3A5VPJP.js.map} +0 -0
  148. /package/dist/{tool-ZCSGJ2ZF.js.map → tool-H7RMHTXM.js.map} +0 -0
  149. /package/dist/{tool-JJGEGQF3.js.map → tool-ILYSRPZ5.js.map} +0 -0
  150. /package/dist/{tool-L3CQUOAZ.js.map → tool-KCOCIAFM.js.map} +0 -0
  151. /package/dist/{tool-ZVYUWVJQ.js.map → tool-QIS3CLU2.js.map} +0 -0
  152. /package/dist/{wiki-IDLRJ6WL.js.map → wiki-UMPPYYFR.js.map} +0 -0
  153. /package/dist/{wiki-enrich-XWLDJAZI.js.map → wiki-enrich-UVCZ7GTW.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1571,16 +1571,16 @@ declare const agentConfigSchema: z.ZodObject<{
1571
1571
  }, "strip", z.ZodTypeAny, {
1572
1572
  type: "http";
1573
1573
  url: string;
1574
+ headers?: Record<string, string> | undefined;
1574
1575
  allowTools?: string[] | undefined;
1575
1576
  readTools?: string[] | undefined;
1576
- headers?: Record<string, string> | undefined;
1577
1577
  headersEnv?: Record<string, string> | undefined;
1578
1578
  }, {
1579
1579
  type: "http";
1580
1580
  url: string;
1581
+ headers?: Record<string, string> | undefined;
1581
1582
  allowTools?: string[] | undefined;
1582
1583
  readTools?: string[] | undefined;
1583
- headers?: Record<string, string> | undefined;
1584
1584
  headersEnv?: Record<string, string> | undefined;
1585
1585
  }>, z.ZodObject<{
1586
1586
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -1615,9 +1615,9 @@ declare const agentConfigSchema: z.ZodObject<{
1615
1615
  } | {
1616
1616
  type: "http";
1617
1617
  url: string;
1618
+ headers?: Record<string, string> | undefined;
1618
1619
  allowTools?: string[] | undefined;
1619
1620
  readTools?: string[] | undefined;
1620
- headers?: Record<string, string> | undefined;
1621
1621
  headersEnv?: Record<string, string> | undefined;
1622
1622
  }> | undefined, Record<string, {
1623
1623
  command: string;
@@ -1629,9 +1629,9 @@ declare const agentConfigSchema: z.ZodObject<{
1629
1629
  } | {
1630
1630
  type: "http";
1631
1631
  url: string;
1632
+ headers?: Record<string, string> | undefined;
1632
1633
  allowTools?: string[] | undefined;
1633
1634
  readTools?: string[] | undefined;
1634
- headers?: Record<string, string> | undefined;
1635
1635
  headersEnv?: Record<string, string> | undefined;
1636
1636
  }> | undefined>;
1637
1637
  /** Enable CodeGraph (https://github.com/colbymchenry/codegraph) for this
@@ -2191,9 +2191,9 @@ declare const agentConfigSchema: z.ZodObject<{
2191
2191
  } | {
2192
2192
  type: "http";
2193
2193
  url: string;
2194
+ headers?: Record<string, string> | undefined;
2194
2195
  allowTools?: string[] | undefined;
2195
2196
  readTools?: string[] | undefined;
2196
- headers?: Record<string, string> | undefined;
2197
2197
  headersEnv?: Record<string, string> | undefined;
2198
2198
  }> | undefined;
2199
2199
  admin?: boolean | undefined;
@@ -2255,9 +2255,9 @@ declare const agentConfigSchema: z.ZodObject<{
2255
2255
  } | {
2256
2256
  type: "http";
2257
2257
  url: string;
2258
+ headers?: Record<string, string> | undefined;
2258
2259
  allowTools?: string[] | undefined;
2259
2260
  readTools?: string[] | undefined;
2260
- headers?: Record<string, string> | undefined;
2261
2261
  headersEnv?: Record<string, string> | undefined;
2262
2262
  }> | undefined;
2263
2263
  heartbeat?: {
@@ -2339,12 +2339,15 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2339
2339
  value: z.ZodOptional<z.ZodObject<{
2340
2340
  why: z.ZodString;
2341
2341
  metric: z.ZodString;
2342
+ number: z.ZodOptional<z.ZodString>;
2342
2343
  }, "strip", z.ZodTypeAny, {
2343
2344
  why: string;
2344
2345
  metric: string;
2346
+ number?: string | undefined;
2345
2347
  }, {
2346
2348
  why: string;
2347
2349
  metric: string;
2350
+ number?: string | undefined;
2348
2351
  }>>;
2349
2352
  /** The goal record it serves (#1568), by id. Once the goal is done or
2350
2353
  * dropped the job stops running (its config is left as it is: the Wall
@@ -2459,6 +2462,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2459
2462
  value?: {
2460
2463
  why: string;
2461
2464
  metric: string;
2465
+ number?: string | undefined;
2462
2466
  } | undefined;
2463
2467
  report?: "always" | "exceptions" | undefined;
2464
2468
  command?: string | undefined;
@@ -2488,6 +2492,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2488
2492
  value?: {
2489
2493
  why: string;
2490
2494
  metric: string;
2495
+ number?: string | undefined;
2491
2496
  } | undefined;
2492
2497
  enabled?: boolean | undefined;
2493
2498
  report?: "always" | "exceptions" | undefined;
@@ -2527,6 +2532,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2527
2532
  value?: {
2528
2533
  why: string;
2529
2534
  metric: string;
2535
+ number?: string | undefined;
2530
2536
  } | undefined;
2531
2537
  report?: "always" | "exceptions" | undefined;
2532
2538
  command?: string | undefined;
@@ -2556,6 +2562,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2556
2562
  value?: {
2557
2563
  why: string;
2558
2564
  metric: string;
2565
+ number?: string | undefined;
2559
2566
  } | undefined;
2560
2567
  enabled?: boolean | undefined;
2561
2568
  report?: "always" | "exceptions" | undefined;
@@ -2595,6 +2602,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2595
2602
  value?: {
2596
2603
  why: string;
2597
2604
  metric: string;
2605
+ number?: string | undefined;
2598
2606
  } | undefined;
2599
2607
  report?: "always" | "exceptions" | undefined;
2600
2608
  command?: string | undefined;
@@ -2624,6 +2632,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2624
2632
  value?: {
2625
2633
  why: string;
2626
2634
  metric: string;
2635
+ number?: string | undefined;
2627
2636
  } | undefined;
2628
2637
  enabled?: boolean | undefined;
2629
2638
  report?: "always" | "exceptions" | undefined;
@@ -2663,6 +2672,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2663
2672
  value?: {
2664
2673
  why: string;
2665
2674
  metric: string;
2675
+ number?: string | undefined;
2666
2676
  } | undefined;
2667
2677
  report?: "always" | "exceptions" | undefined;
2668
2678
  command?: string | undefined;
@@ -2692,6 +2702,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
2692
2702
  value?: {
2693
2703
  why: string;
2694
2704
  metric: string;
2705
+ number?: string | undefined;
2695
2706
  } | undefined;
2696
2707
  enabled?: boolean | undefined;
2697
2708
  report?: "always" | "exceptions" | undefined;
@@ -2828,16 +2839,16 @@ declare const daemonConfigSchema: z.ZodObject<{
2828
2839
  }, "strip", z.ZodTypeAny, {
2829
2840
  type: "http";
2830
2841
  url: string;
2842
+ headers?: Record<string, string> | undefined;
2831
2843
  allowTools?: string[] | undefined;
2832
2844
  readTools?: string[] | undefined;
2833
- headers?: Record<string, string> | undefined;
2834
2845
  headersEnv?: Record<string, string> | undefined;
2835
2846
  }, {
2836
2847
  type: "http";
2837
2848
  url: string;
2849
+ headers?: Record<string, string> | undefined;
2838
2850
  allowTools?: string[] | undefined;
2839
2851
  readTools?: string[] | undefined;
2840
- headers?: Record<string, string> | undefined;
2841
2852
  headersEnv?: Record<string, string> | undefined;
2842
2853
  }>, z.ZodObject<{
2843
2854
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -2872,9 +2883,9 @@ declare const daemonConfigSchema: z.ZodObject<{
2872
2883
  } | {
2873
2884
  type: "http";
2874
2885
  url: string;
2886
+ headers?: Record<string, string> | undefined;
2875
2887
  allowTools?: string[] | undefined;
2876
2888
  readTools?: string[] | undefined;
2877
- headers?: Record<string, string> | undefined;
2878
2889
  headersEnv?: Record<string, string> | undefined;
2879
2890
  }> | undefined, Record<string, {
2880
2891
  command: string;
@@ -2886,9 +2897,9 @@ declare const daemonConfigSchema: z.ZodObject<{
2886
2897
  } | {
2887
2898
  type: "http";
2888
2899
  url: string;
2900
+ headers?: Record<string, string> | undefined;
2889
2901
  allowTools?: string[] | undefined;
2890
2902
  readTools?: string[] | undefined;
2891
- headers?: Record<string, string> | undefined;
2892
2903
  headersEnv?: Record<string, string> | undefined;
2893
2904
  }> | undefined>;
2894
2905
  /** Enable CodeGraph (https://github.com/colbymchenry/codegraph) for this
@@ -3448,9 +3459,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3448
3459
  } | {
3449
3460
  type: "http";
3450
3461
  url: string;
3462
+ headers?: Record<string, string> | undefined;
3451
3463
  allowTools?: string[] | undefined;
3452
3464
  readTools?: string[] | undefined;
3453
- headers?: Record<string, string> | undefined;
3454
3465
  headersEnv?: Record<string, string> | undefined;
3455
3466
  }> | undefined;
3456
3467
  admin?: boolean | undefined;
@@ -3512,9 +3523,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3512
3523
  } | {
3513
3524
  type: "http";
3514
3525
  url: string;
3526
+ headers?: Record<string, string> | undefined;
3515
3527
  allowTools?: string[] | undefined;
3516
3528
  readTools?: string[] | undefined;
3517
- headers?: Record<string, string> | undefined;
3518
3529
  headersEnv?: Record<string, string> | undefined;
3519
3530
  }> | undefined;
3520
3531
  heartbeat?: {
@@ -5092,6 +5103,33 @@ declare const daemonConfigSchema: z.ZodObject<{
5092
5103
  allowFrom?: string[] | undefined;
5093
5104
  }>;
5094
5105
  };
5106
+ github: {
5107
+ enabled: boolean;
5108
+ cloudSessions: boolean;
5109
+ routes: {
5110
+ agent: string;
5111
+ repo: string;
5112
+ }[];
5113
+ autoReplyLegacy: boolean;
5114
+ agentMappings: {
5115
+ agentId: string;
5116
+ githubUsernames: string[];
5117
+ token?: string | undefined;
5118
+ node?: string | undefined;
5119
+ tokenFile?: string | undefined;
5120
+ }[];
5121
+ issueActions: string[];
5122
+ pullRequestActions: string[];
5123
+ ignoreOwnChanges: boolean;
5124
+ debounceSeconds: number;
5125
+ triggerLabel: string;
5126
+ token?: string | undefined;
5127
+ webhookSecret?: string | undefined;
5128
+ tokenFile?: string | undefined;
5129
+ appId?: number | undefined;
5130
+ clientId?: string | undefined;
5131
+ privateKeyFile?: string | undefined;
5132
+ };
5095
5133
  gitlab: {
5096
5134
  enabled: boolean;
5097
5135
  host: string;
@@ -5155,33 +5193,6 @@ declare const daemonConfigSchema: z.ZodObject<{
5155
5193
  allowFrom?: string[] | undefined;
5156
5194
  defaultAgent?: string | undefined;
5157
5195
  };
5158
- github: {
5159
- enabled: boolean;
5160
- cloudSessions: boolean;
5161
- routes: {
5162
- agent: string;
5163
- repo: string;
5164
- }[];
5165
- autoReplyLegacy: boolean;
5166
- agentMappings: {
5167
- agentId: string;
5168
- githubUsernames: string[];
5169
- token?: string | undefined;
5170
- node?: string | undefined;
5171
- tokenFile?: string | undefined;
5172
- }[];
5173
- issueActions: string[];
5174
- pullRequestActions: string[];
5175
- ignoreOwnChanges: boolean;
5176
- debounceSeconds: number;
5177
- triggerLabel: string;
5178
- token?: string | undefined;
5179
- webhookSecret?: string | undefined;
5180
- tokenFile?: string | undefined;
5181
- appId?: number | undefined;
5182
- clientId?: string | undefined;
5183
- privateKeyFile?: string | undefined;
5184
- };
5185
5196
  webrtc: {
5186
5197
  enabled: boolean;
5187
5198
  camera: {
@@ -5272,6 +5283,33 @@ declare const daemonConfigSchema: z.ZodObject<{
5272
5283
  pollSeconds?: number | undefined;
5273
5284
  }> | undefined;
5274
5285
  } | undefined;
5286
+ github?: {
5287
+ enabled?: boolean | undefined;
5288
+ token?: string | undefined;
5289
+ cloudSessions?: boolean | undefined;
5290
+ routes?: {
5291
+ agent: string;
5292
+ repo: string;
5293
+ }[] | undefined;
5294
+ webhookSecret?: string | undefined;
5295
+ autoReplyLegacy?: boolean | undefined;
5296
+ agentMappings?: {
5297
+ agentId: string;
5298
+ token?: string | undefined;
5299
+ node?: string | undefined;
5300
+ tokenFile?: string | undefined;
5301
+ githubUsernames?: string[] | undefined;
5302
+ }[] | undefined;
5303
+ tokenFile?: string | undefined;
5304
+ appId?: number | undefined;
5305
+ clientId?: string | undefined;
5306
+ privateKeyFile?: string | undefined;
5307
+ issueActions?: string[] | undefined;
5308
+ pullRequestActions?: string[] | undefined;
5309
+ ignoreOwnChanges?: boolean | undefined;
5310
+ debounceSeconds?: number | undefined;
5311
+ triggerLabel?: string | undefined;
5312
+ } | undefined;
5275
5313
  gitlab?: {
5276
5314
  enabled?: boolean | undefined;
5277
5315
  token?: string | undefined;
@@ -5335,33 +5373,6 @@ declare const daemonConfigSchema: z.ZodObject<{
5335
5373
  contact?: string | undefined;
5336
5374
  }[] | undefined;
5337
5375
  } | undefined;
5338
- github?: {
5339
- enabled?: boolean | undefined;
5340
- token?: string | undefined;
5341
- cloudSessions?: boolean | undefined;
5342
- routes?: {
5343
- agent: string;
5344
- repo: string;
5345
- }[] | undefined;
5346
- webhookSecret?: string | undefined;
5347
- autoReplyLegacy?: boolean | undefined;
5348
- agentMappings?: {
5349
- agentId: string;
5350
- token?: string | undefined;
5351
- node?: string | undefined;
5352
- tokenFile?: string | undefined;
5353
- githubUsernames?: string[] | undefined;
5354
- }[] | undefined;
5355
- tokenFile?: string | undefined;
5356
- appId?: number | undefined;
5357
- clientId?: string | undefined;
5358
- privateKeyFile?: string | undefined;
5359
- issueActions?: string[] | undefined;
5360
- pullRequestActions?: string[] | undefined;
5361
- ignoreOwnChanges?: boolean | undefined;
5362
- debounceSeconds?: number | undefined;
5363
- triggerLabel?: string | undefined;
5364
- } | undefined;
5365
5376
  webrtc?: {
5366
5377
  enabled?: boolean | undefined;
5367
5378
  camera?: {
@@ -5424,12 +5435,15 @@ declare const daemonConfigSchema: z.ZodObject<{
5424
5435
  value: z.ZodOptional<z.ZodObject<{
5425
5436
  why: z.ZodString;
5426
5437
  metric: z.ZodString;
5438
+ number: z.ZodOptional<z.ZodString>;
5427
5439
  }, "strip", z.ZodTypeAny, {
5428
5440
  why: string;
5429
5441
  metric: string;
5442
+ number?: string | undefined;
5430
5443
  }, {
5431
5444
  why: string;
5432
5445
  metric: string;
5446
+ number?: string | undefined;
5433
5447
  }>>;
5434
5448
  /** The goal record it serves (#1568), by id. Once the goal is done or
5435
5449
  * dropped the job stops running (its config is left as it is: the Wall
@@ -5544,6 +5558,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5544
5558
  value?: {
5545
5559
  why: string;
5546
5560
  metric: string;
5561
+ number?: string | undefined;
5547
5562
  } | undefined;
5548
5563
  report?: "always" | "exceptions" | undefined;
5549
5564
  command?: string | undefined;
@@ -5573,6 +5588,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5573
5588
  value?: {
5574
5589
  why: string;
5575
5590
  metric: string;
5591
+ number?: string | undefined;
5576
5592
  } | undefined;
5577
5593
  enabled?: boolean | undefined;
5578
5594
  report?: "always" | "exceptions" | undefined;
@@ -5612,6 +5628,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5612
5628
  value?: {
5613
5629
  why: string;
5614
5630
  metric: string;
5631
+ number?: string | undefined;
5615
5632
  } | undefined;
5616
5633
  report?: "always" | "exceptions" | undefined;
5617
5634
  command?: string | undefined;
@@ -5641,6 +5658,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5641
5658
  value?: {
5642
5659
  why: string;
5643
5660
  metric: string;
5661
+ number?: string | undefined;
5644
5662
  } | undefined;
5645
5663
  enabled?: boolean | undefined;
5646
5664
  report?: "always" | "exceptions" | undefined;
@@ -5680,6 +5698,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5680
5698
  value?: {
5681
5699
  why: string;
5682
5700
  metric: string;
5701
+ number?: string | undefined;
5683
5702
  } | undefined;
5684
5703
  report?: "always" | "exceptions" | undefined;
5685
5704
  command?: string | undefined;
@@ -5709,6 +5728,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5709
5728
  value?: {
5710
5729
  why: string;
5711
5730
  metric: string;
5731
+ number?: string | undefined;
5712
5732
  } | undefined;
5713
5733
  enabled?: boolean | undefined;
5714
5734
  report?: "always" | "exceptions" | undefined;
@@ -5748,6 +5768,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5748
5768
  value?: {
5749
5769
  why: string;
5750
5770
  metric: string;
5771
+ number?: string | undefined;
5751
5772
  } | undefined;
5752
5773
  report?: "always" | "exceptions" | undefined;
5753
5774
  command?: string | undefined;
@@ -5777,6 +5798,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5777
5798
  value?: {
5778
5799
  why: string;
5779
5800
  metric: string;
5801
+ number?: string | undefined;
5780
5802
  } | undefined;
5781
5803
  enabled?: boolean | undefined;
5782
5804
  report?: "always" | "exceptions" | undefined;
@@ -6628,8 +6650,8 @@ declare const daemonConfigSchema: z.ZodObject<{
6628
6650
  }, "strip", z.ZodTypeAny, {
6629
6651
  enabled: boolean;
6630
6652
  style: "card" | "dialog";
6631
- sound: string;
6632
6653
  timeoutSeconds: number;
6654
+ sound: string;
6633
6655
  volume: number;
6634
6656
  theme: "system" | "light" | "dark";
6635
6657
  speak: boolean;
@@ -6637,9 +6659,9 @@ declare const daemonConfigSchema: z.ZodObject<{
6637
6659
  }, {
6638
6660
  enabled?: boolean | undefined;
6639
6661
  style?: "card" | "dialog" | undefined;
6662
+ timeoutSeconds?: number | undefined;
6640
6663
  voice?: string | undefined;
6641
6664
  sound?: string | undefined;
6642
- timeoutSeconds?: number | undefined;
6643
6665
  volume?: number | undefined;
6644
6666
  theme?: "system" | "light" | "dark" | undefined;
6645
6667
  speak?: boolean | undefined;
@@ -6691,8 +6713,8 @@ declare const daemonConfigSchema: z.ZodObject<{
6691
6713
  popup: {
6692
6714
  enabled: boolean;
6693
6715
  style: "card" | "dialog";
6694
- sound: string;
6695
6716
  timeoutSeconds: number;
6717
+ sound: string;
6696
6718
  volume: number;
6697
6719
  theme: "system" | "light" | "dark";
6698
6720
  speak: boolean;
@@ -6728,9 +6750,9 @@ declare const daemonConfigSchema: z.ZodObject<{
6728
6750
  popup?: {
6729
6751
  enabled?: boolean | undefined;
6730
6752
  style?: "card" | "dialog" | undefined;
6753
+ timeoutSeconds?: number | undefined;
6731
6754
  voice?: string | undefined;
6732
6755
  sound?: string | undefined;
6733
- timeoutSeconds?: number | undefined;
6734
6756
  volume?: number | undefined;
6735
6757
  theme?: "system" | "light" | "dark" | undefined;
6736
6758
  speak?: boolean | undefined;
@@ -6982,7 +7004,7 @@ declare const daemonConfigSchema: z.ZodObject<{
6982
7004
  maxReviewsPerPrPerDay: number;
6983
7005
  ciWaitMinutes: number;
6984
7006
  maxDiffKb: number;
6985
- forges: ("gitlab" | "github")[];
7007
+ forges: ("github" | "gitlab")[];
6986
7008
  tests: Record<string, {
6987
7009
  command: string;
6988
7010
  timeoutMinutes: number;
@@ -7001,7 +7023,7 @@ declare const daemonConfigSchema: z.ZodObject<{
7001
7023
  maxReviewsPerPrPerDay?: number | undefined;
7002
7024
  ciWaitMinutes?: number | undefined;
7003
7025
  maxDiffKb?: number | undefined;
7004
- forges?: ("gitlab" | "github")[] | undefined;
7026
+ forges?: ("github" | "gitlab")[] | undefined;
7005
7027
  tests?: Record<string, {
7006
7028
  command: string;
7007
7029
  checkout: string;
@@ -7080,7 +7102,7 @@ declare const daemonConfigSchema: z.ZodObject<{
7080
7102
  maxReviewsPerPrPerDay: number;
7081
7103
  ciWaitMinutes: number;
7082
7104
  maxDiffKb: number;
7083
- forges: ("gitlab" | "github")[];
7105
+ forges: ("github" | "gitlab")[];
7084
7106
  tests: Record<string, {
7085
7107
  command: string;
7086
7108
  timeoutMinutes: number;
@@ -7129,7 +7151,7 @@ declare const daemonConfigSchema: z.ZodObject<{
7129
7151
  maxReviewsPerPrPerDay?: number | undefined;
7130
7152
  ciWaitMinutes?: number | undefined;
7131
7153
  maxDiffKb?: number | undefined;
7132
- forges?: ("gitlab" | "github")[] | undefined;
7154
+ forges?: ("github" | "gitlab")[] | undefined;
7133
7155
  tests?: Record<string, {
7134
7156
  command: string;
7135
7157
  checkout: string;
@@ -7170,11 +7192,11 @@ declare const daemonConfigSchema: z.ZodObject<{
7170
7192
  }, "strip", z.ZodTypeAny, {
7171
7193
  windowWaitMinutes: number;
7172
7194
  forbidOnTimeoutRestart: boolean;
7173
- allowBy?: string | undefined;
7174
7195
  window?: string | undefined;
7175
- }, {
7176
7196
  allowBy?: string | undefined;
7197
+ }, {
7177
7198
  window?: string | undefined;
7199
+ allowBy?: string | undefined;
7178
7200
  windowWaitMinutes?: number | undefined;
7179
7201
  forbidOnTimeoutRestart?: boolean | undefined;
7180
7202
  }>>;
@@ -7182,14 +7204,14 @@ declare const daemonConfigSchema: z.ZodObject<{
7182
7204
  restart: {
7183
7205
  windowWaitMinutes: number;
7184
7206
  forbidOnTimeoutRestart: boolean;
7185
- allowBy?: string | undefined;
7186
7207
  window?: string | undefined;
7208
+ allowBy?: string | undefined;
7187
7209
  };
7188
7210
  drainTimeoutSeconds?: number | undefined;
7189
7211
  }, {
7190
7212
  restart?: {
7191
- allowBy?: string | undefined;
7192
7213
  window?: string | undefined;
7214
+ allowBy?: string | undefined;
7193
7215
  windowWaitMinutes?: number | undefined;
7194
7216
  forbidOnTimeoutRestart?: boolean | undefined;
7195
7217
  } | undefined;
@@ -7605,16 +7627,16 @@ declare const daemonConfigSchema: z.ZodObject<{
7605
7627
  provider: string;
7606
7628
  model: string;
7607
7629
  enabled: boolean;
7630
+ timeoutSeconds: number;
7608
7631
  dailyCap: number;
7609
7632
  waitingOwner: boolean;
7610
- timeoutSeconds: number;
7611
7633
  }, {
7612
7634
  provider?: string | undefined;
7613
7635
  model?: string | undefined;
7614
7636
  enabled?: boolean | undefined;
7637
+ timeoutSeconds?: number | undefined;
7615
7638
  dailyCap?: number | undefined;
7616
7639
  waitingOwner?: boolean | undefined;
7617
- timeoutSeconds?: number | undefined;
7618
7640
  }>>;
7619
7641
  /** The owner-words check (src/requests/owner-check.ts): a request closed
7620
7642
  * by anyone but the owner (an agent, a plan, a check) is read against
@@ -7804,29 +7826,29 @@ declare const daemonConfigSchema: z.ZodObject<{
7804
7826
  url?: string | undefined;
7805
7827
  }>>;
7806
7828
  }, "strip", z.ZodTypeAny, {
7807
- enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
7829
+ enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
7808
7830
  repos: Record<string, string>;
7809
7831
  checkEveryMinutes: number;
7810
- gitlab?: {
7811
- token?: string | undefined;
7812
- url?: string | undefined;
7813
- } | undefined;
7814
7832
  github?: {
7815
7833
  apiUrl: string;
7816
7834
  token?: string | undefined;
7817
7835
  } | undefined;
7818
- }, {
7819
- enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
7820
7836
  gitlab?: {
7821
7837
  token?: string | undefined;
7822
7838
  url?: string | undefined;
7823
7839
  } | undefined;
7840
+ }, {
7841
+ enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
7824
7842
  repos?: Record<string, string> | undefined;
7843
+ checkEveryMinutes?: number | undefined;
7825
7844
  github?: {
7826
7845
  token?: string | undefined;
7827
7846
  apiUrl?: string | undefined;
7828
7847
  } | undefined;
7829
- checkEveryMinutes?: number | undefined;
7848
+ gitlab?: {
7849
+ token?: string | undefined;
7850
+ url?: string | undefined;
7851
+ } | undefined;
7830
7852
  }>>;
7831
7853
  /** Status follows the work (src/requests/drift, #1138 step F): merged
7832
7854
  * merge requests are mapped to the issues they close, and an issue
@@ -7853,12 +7875,12 @@ declare const daemonConfigSchema: z.ZodObject<{
7853
7875
  * git there instead of asking the forge. */
7854
7876
  repo: z.ZodOptional<z.ZodString>;
7855
7877
  }, "strip", z.ZodTypeAny, {
7856
- provider: "gitlab" | "github";
7878
+ provider: "github" | "gitlab";
7857
7879
  project: string;
7858
7880
  live: string[];
7859
7881
  repo?: string | undefined;
7860
7882
  }, {
7861
- provider: "gitlab" | "github";
7883
+ provider: "github" | "gitlab";
7862
7884
  project: string;
7863
7885
  repo?: string | undefined;
7864
7886
  live?: string[] | undefined;
@@ -7894,40 +7916,40 @@ declare const daemonConfigSchema: z.ZodObject<{
7894
7916
  writeProjects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
7895
7917
  }, "strip", z.ZodTypeAny, {
7896
7918
  enabled: boolean;
7897
- projects: {
7898
- provider: "gitlab" | "github";
7899
- project: string;
7900
- live: string[];
7901
- repo?: string | undefined;
7902
- }[];
7919
+ checkEveryMinutes: number;
7903
7920
  labels: {
7904
7921
  done: string[];
7905
7922
  todo: string[];
7906
7923
  doing: string[];
7907
7924
  review: string[];
7908
7925
  };
7926
+ projects: {
7927
+ provider: "github" | "gitlab";
7928
+ project: string;
7929
+ live: string[];
7930
+ repo?: string | undefined;
7931
+ }[];
7909
7932
  write: boolean;
7910
- checkEveryMinutes: number;
7911
7933
  lookbackDays: number;
7912
7934
  liveField: string;
7913
7935
  doneNotLiveAfterHours: number;
7914
7936
  writeProjects: string[];
7915
7937
  }, {
7916
7938
  enabled?: boolean | undefined;
7917
- projects?: {
7918
- provider: "gitlab" | "github";
7919
- project: string;
7920
- repo?: string | undefined;
7921
- live?: string[] | undefined;
7922
- }[] | undefined;
7939
+ checkEveryMinutes?: number | undefined;
7923
7940
  labels?: {
7924
7941
  done?: string[] | undefined;
7925
7942
  todo?: string[] | undefined;
7926
7943
  doing?: string[] | undefined;
7927
7944
  review?: string[] | undefined;
7928
7945
  } | undefined;
7946
+ projects?: {
7947
+ provider: "github" | "gitlab";
7948
+ project: string;
7949
+ repo?: string | undefined;
7950
+ live?: string[] | undefined;
7951
+ }[] | undefined;
7929
7952
  write?: boolean | undefined;
7930
- checkEveryMinutes?: number | undefined;
7931
7953
  lookbackDays?: number | undefined;
7932
7954
  liveField?: string | undefined;
7933
7955
  doneNotLiveAfterHours?: number | undefined;
@@ -7985,17 +8007,17 @@ declare const daemonConfigSchema: z.ZodObject<{
7985
8007
  staleAfterHours: number;
7986
8008
  retentionDays: number;
7987
8009
  checkers: {
7988
- enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
8010
+ enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
7989
8011
  repos: Record<string, string>;
7990
8012
  checkEveryMinutes: number;
7991
- gitlab?: {
7992
- token?: string | undefined;
7993
- url?: string | undefined;
7994
- } | undefined;
7995
8013
  github?: {
7996
8014
  apiUrl: string;
7997
8015
  token?: string | undefined;
7998
8016
  } | undefined;
8017
+ gitlab?: {
8018
+ token?: string | undefined;
8019
+ url?: string | undefined;
8020
+ } | undefined;
7999
8021
  };
8000
8022
  headlines: {
8001
8023
  provider: string;
@@ -8009,20 +8031,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8009
8031
  releaseOnOwnerTurn: boolean;
8010
8032
  statusDrift: {
8011
8033
  enabled: boolean;
8012
- projects: {
8013
- provider: "gitlab" | "github";
8014
- project: string;
8015
- live: string[];
8016
- repo?: string | undefined;
8017
- }[];
8034
+ checkEveryMinutes: number;
8018
8035
  labels: {
8019
8036
  done: string[];
8020
8037
  todo: string[];
8021
8038
  doing: string[];
8022
8039
  review: string[];
8023
8040
  };
8041
+ projects: {
8042
+ provider: "github" | "gitlab";
8043
+ project: string;
8044
+ live: string[];
8045
+ repo?: string | undefined;
8046
+ }[];
8024
8047
  write: boolean;
8025
- checkEveryMinutes: number;
8026
8048
  lookbackDays: number;
8027
8049
  liveField: string;
8028
8050
  doneNotLiveAfterHours: number;
@@ -8039,9 +8061,9 @@ declare const daemonConfigSchema: z.ZodObject<{
8039
8061
  provider: string;
8040
8062
  model: string;
8041
8063
  enabled: boolean;
8064
+ timeoutSeconds: number;
8042
8065
  dailyCap: number;
8043
8066
  waitingOwner: boolean;
8044
- timeoutSeconds: number;
8045
8067
  };
8046
8068
  autoResend: {
8047
8069
  enabled: boolean;
@@ -8086,17 +8108,17 @@ declare const daemonConfigSchema: z.ZodObject<{
8086
8108
  staleAfterHours?: number | undefined;
8087
8109
  retentionDays?: number | undefined;
8088
8110
  checkers?: {
8089
- enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
8090
- gitlab?: {
8091
- token?: string | undefined;
8092
- url?: string | undefined;
8093
- } | undefined;
8111
+ enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
8094
8112
  repos?: Record<string, string> | undefined;
8113
+ checkEveryMinutes?: number | undefined;
8095
8114
  github?: {
8096
8115
  token?: string | undefined;
8097
8116
  apiUrl?: string | undefined;
8098
8117
  } | undefined;
8099
- checkEveryMinutes?: number | undefined;
8118
+ gitlab?: {
8119
+ token?: string | undefined;
8120
+ url?: string | undefined;
8121
+ } | undefined;
8100
8122
  } | undefined;
8101
8123
  headlines?: {
8102
8124
  provider?: string | undefined;
@@ -8110,20 +8132,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8110
8132
  releaseOnOwnerTurn?: boolean | undefined;
8111
8133
  statusDrift?: {
8112
8134
  enabled?: boolean | undefined;
8113
- projects?: {
8114
- provider: "gitlab" | "github";
8115
- project: string;
8116
- repo?: string | undefined;
8117
- live?: string[] | undefined;
8118
- }[] | undefined;
8135
+ checkEveryMinutes?: number | undefined;
8119
8136
  labels?: {
8120
8137
  done?: string[] | undefined;
8121
8138
  todo?: string[] | undefined;
8122
8139
  doing?: string[] | undefined;
8123
8140
  review?: string[] | undefined;
8124
8141
  } | undefined;
8142
+ projects?: {
8143
+ provider: "github" | "gitlab";
8144
+ project: string;
8145
+ repo?: string | undefined;
8146
+ live?: string[] | undefined;
8147
+ }[] | undefined;
8125
8148
  write?: boolean | undefined;
8126
- checkEveryMinutes?: number | undefined;
8127
8149
  lookbackDays?: number | undefined;
8128
8150
  liveField?: string | undefined;
8129
8151
  doneNotLiveAfterHours?: number | undefined;
@@ -8140,9 +8162,9 @@ declare const daemonConfigSchema: z.ZodObject<{
8140
8162
  provider?: string | undefined;
8141
8163
  model?: string | undefined;
8142
8164
  enabled?: boolean | undefined;
8165
+ timeoutSeconds?: number | undefined;
8143
8166
  dailyCap?: number | undefined;
8144
8167
  waitingOwner?: boolean | undefined;
8145
- timeoutSeconds?: number | undefined;
8146
8168
  } | undefined;
8147
8169
  autoResend?: {
8148
8170
  enabled?: boolean | undefined;
@@ -8158,6 +8180,19 @@ declare const daemonConfigSchema: z.ZodObject<{
8158
8180
  idleMinutes?: number | undefined;
8159
8181
  } | undefined;
8160
8182
  }>>;
8183
+ numbers: z.ZodDefault<z.ZodObject<{
8184
+ /** Numbers by id: name, owner, unit, target, direction (up or down),
8185
+ * rhythm (daily, weekly, monthly), tags, source. */
8186
+ items: z.ZodEffects<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, Record<string, unknown>>, Record<string, Record<string, unknown>> | undefined>;
8187
+ /** Minutes before a failed read is tried again. */
8188
+ retryMinutes: z.ZodDefault<z.ZodNumber>;
8189
+ }, "strip", z.ZodTypeAny, {
8190
+ items: Record<string, Record<string, unknown>>;
8191
+ retryMinutes: number;
8192
+ }, {
8193
+ items?: Record<string, Record<string, unknown>> | undefined;
8194
+ retryMinutes?: number | undefined;
8195
+ }>>;
8161
8196
  /** Task watchers (src/watchers, #1030): every task start decides whether
8162
8197
  * the task needs a watcher and attaches one. Off by default. */
8163
8198
  watchers: z.ZodEffects<z.ZodDefault<z.ZodObject<{
@@ -8324,7 +8359,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8324
8359
  skills: string[];
8325
8360
  tools: string[];
8326
8361
  };
8327
- role: "client" | "owner" | "guest" | "member";
8362
+ role: "owner" | "client" | "guest" | "member";
8328
8363
  identities: string[];
8329
8364
  say?: string | undefined;
8330
8365
  }, {
@@ -8335,7 +8370,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8335
8370
  skills?: string[] | undefined;
8336
8371
  tools?: string[] | undefined;
8337
8372
  } | undefined;
8338
- role?: "client" | "owner" | "guest" | "member" | undefined;
8373
+ role?: "owner" | "client" | "guest" | "member" | undefined;
8339
8374
  say?: string | undefined;
8340
8375
  identities?: string[] | undefined;
8341
8376
  }>, "many">>, {
@@ -8346,7 +8381,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8346
8381
  skills: string[];
8347
8382
  tools: string[];
8348
8383
  };
8349
- role: "client" | "owner" | "guest" | "member";
8384
+ role: "owner" | "client" | "guest" | "member";
8350
8385
  identities: string[];
8351
8386
  say?: string | undefined;
8352
8387
  }[], {
@@ -8357,7 +8392,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8357
8392
  skills?: string[] | undefined;
8358
8393
  tools?: string[] | undefined;
8359
8394
  } | undefined;
8360
- role?: "client" | "owner" | "guest" | "member" | undefined;
8395
+ role?: "owner" | "client" | "guest" | "member" | undefined;
8361
8396
  say?: string | undefined;
8362
8397
  identities?: string[] | undefined;
8363
8398
  }[] | undefined>;
@@ -8423,8 +8458,8 @@ declare const daemonConfigSchema: z.ZodObject<{
8423
8458
  }, "strip", z.ZodTypeAny, {
8424
8459
  enabled: boolean;
8425
8460
  command: string[];
8426
- time: string;
8427
8461
  timeoutSeconds: number;
8462
+ time: string;
8428
8463
  baseline: string;
8429
8464
  gates: {
8430
8465
  id: string;
@@ -8433,16 +8468,16 @@ declare const daemonConfigSchema: z.ZodObject<{
8433
8468
  until?: string | undefined;
8434
8469
  }[];
8435
8470
  repo?: string | undefined;
8436
- timezone?: string | undefined;
8437
8471
  issue?: number | undefined;
8472
+ timezone?: string | undefined;
8438
8473
  }, {
8439
8474
  enabled?: boolean | undefined;
8440
8475
  command?: string[] | undefined;
8441
8476
  repo?: string | undefined;
8442
- timezone?: string | undefined;
8443
- time?: string | undefined;
8444
8477
  issue?: number | undefined;
8445
8478
  timeoutSeconds?: number | undefined;
8479
+ timezone?: string | undefined;
8480
+ time?: string | undefined;
8446
8481
  baseline?: string | undefined;
8447
8482
  gates?: {
8448
8483
  id: string;
@@ -8453,8 +8488,8 @@ declare const daemonConfigSchema: z.ZodObject<{
8453
8488
  }>>, {
8454
8489
  enabled: boolean;
8455
8490
  command: string[];
8456
- time: string;
8457
8491
  timeoutSeconds: number;
8492
+ time: string;
8458
8493
  baseline: string;
8459
8494
  gates: {
8460
8495
  id: string;
@@ -8463,16 +8498,16 @@ declare const daemonConfigSchema: z.ZodObject<{
8463
8498
  until?: string | undefined;
8464
8499
  }[];
8465
8500
  repo?: string | undefined;
8466
- timezone?: string | undefined;
8467
8501
  issue?: number | undefined;
8502
+ timezone?: string | undefined;
8468
8503
  }, {
8469
8504
  enabled?: boolean | undefined;
8470
8505
  command?: string[] | undefined;
8471
8506
  repo?: string | undefined;
8472
- timezone?: string | undefined;
8473
- time?: string | undefined;
8474
8507
  issue?: number | undefined;
8475
8508
  timeoutSeconds?: number | undefined;
8509
+ timezone?: string | undefined;
8510
+ time?: string | undefined;
8476
8511
  baseline?: string | undefined;
8477
8512
  gates?: {
8478
8513
  id: string;
@@ -9385,9 +9420,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9385
9420
  path?: string | undefined;
9386
9421
  }>, z.ZodObject<{
9387
9422
  type: z.ZodLiteral<"gitlab">;
9388
- /** A list of agentx MCP tool names (session.lean.agentxTools). An unknown
9389
- * name is an error, not ignored: a misspelt `agentx_channel_reply` would
9390
- * otherwise leave a lean GitHub session with no way to reply. */
9391
9423
  projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
9392
9424
  }, "strip", z.ZodTypeAny, {
9393
9425
  type: "gitlab";
@@ -9443,8 +9475,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9443
9475
  }>>;
9444
9476
  }, "strip", z.ZodTypeAny, {
9445
9477
  end: string;
9446
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9447
9478
  start: string;
9479
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9448
9480
  lunch?: {
9449
9481
  end: string;
9450
9482
  start: string;
@@ -9463,8 +9495,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9463
9495
  role: string;
9464
9496
  schedule: {
9465
9497
  end: string;
9466
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9467
9498
  start: string;
9499
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9468
9500
  lunch?: {
9469
9501
  end: string;
9470
9502
  start: string;
@@ -9557,16 +9589,16 @@ declare const daemonConfigSchema: z.ZodObject<{
9557
9589
  channel?: string | undefined;
9558
9590
  chatId?: string | undefined;
9559
9591
  username?: string | undefined;
9560
- senderId?: string | undefined;
9561
9592
  project?: string | undefined;
9593
+ senderId?: string | undefined;
9562
9594
  displayName?: string | undefined;
9563
9595
  }, {
9564
9596
  client: string;
9565
9597
  channel?: string | undefined;
9566
9598
  chatId?: string | undefined;
9567
9599
  username?: string | undefined;
9568
- senderId?: string | undefined;
9569
9600
  project?: string | undefined;
9601
+ senderId?: string | undefined;
9570
9602
  displayName?: string | undefined;
9571
9603
  }>, "many">>;
9572
9604
  clients: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9609,8 +9641,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9609
9641
  role: string;
9610
9642
  schedule: {
9611
9643
  end: string;
9612
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9613
9644
  start: string;
9645
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9614
9646
  lunch?: {
9615
9647
  end: string;
9616
9648
  start: string;
@@ -9664,8 +9696,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9664
9696
  channel?: string | undefined;
9665
9697
  chatId?: string | undefined;
9666
9698
  username?: string | undefined;
9667
- senderId?: string | undefined;
9668
9699
  project?: string | undefined;
9700
+ senderId?: string | undefined;
9669
9701
  displayName?: string | undefined;
9670
9702
  }[];
9671
9703
  clients: Record<string, {
@@ -9753,8 +9785,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9753
9785
  channel?: string | undefined;
9754
9786
  chatId?: string | undefined;
9755
9787
  username?: string | undefined;
9756
- senderId?: string | undefined;
9757
9788
  project?: string | undefined;
9789
+ senderId?: string | undefined;
9758
9790
  displayName?: string | undefined;
9759
9791
  }[] | undefined;
9760
9792
  clients?: Record<string, {
@@ -9777,8 +9809,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9777
9809
  role: string;
9778
9810
  schedule: {
9779
9811
  end: string;
9780
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9781
9812
  start: string;
9813
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
9782
9814
  lunch?: {
9783
9815
  end: string;
9784
9816
  start: string;
@@ -9832,8 +9864,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9832
9864
  channel?: string | undefined;
9833
9865
  chatId?: string | undefined;
9834
9866
  username?: string | undefined;
9835
- senderId?: string | undefined;
9836
9867
  project?: string | undefined;
9868
+ senderId?: string | undefined;
9837
9869
  displayName?: string | undefined;
9838
9870
  }[];
9839
9871
  clients: Record<string, {
@@ -9921,8 +9953,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9921
9953
  channel?: string | undefined;
9922
9954
  chatId?: string | undefined;
9923
9955
  username?: string | undefined;
9924
- senderId?: string | undefined;
9925
9956
  project?: string | undefined;
9957
+ senderId?: string | undefined;
9926
9958
  displayName?: string | undefined;
9927
9959
  }[] | undefined;
9928
9960
  clients?: Record<string, {
@@ -9977,8 +10009,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9977
10009
  accent: z.ZodOptional<z.ZodString>;
9978
10010
  }, "strip", z.ZodTypeAny, {
9979
10011
  id: string;
10012
+ kind: "label" | "closed" | "open-backlog" | "scoped-label";
9980
10013
  title: string;
9981
- kind: "label" | "open-backlog" | "scoped-label" | "closed";
9982
10014
  scopedPrefix: string;
9983
10015
  mapsToLabel?: string | undefined;
9984
10016
  scopedLabel?: string | undefined;
@@ -9986,7 +10018,7 @@ declare const daemonConfigSchema: z.ZodObject<{
9986
10018
  }, {
9987
10019
  id: string;
9988
10020
  title: string;
9989
- kind?: "label" | "open-backlog" | "scoped-label" | "closed" | undefined;
10021
+ kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
9990
10022
  mapsToLabel?: string | undefined;
9991
10023
  scopedLabel?: string | undefined;
9992
10024
  scopedPrefix?: string | undefined;
@@ -10027,8 +10059,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10027
10059
  }[];
10028
10060
  columns: {
10029
10061
  id: string;
10062
+ kind: "label" | "closed" | "open-backlog" | "scoped-label";
10030
10063
  title: string;
10031
- kind: "label" | "open-backlog" | "scoped-label" | "closed";
10032
10064
  scopedPrefix: string;
10033
10065
  mapsToLabel?: string | undefined;
10034
10066
  scopedLabel?: string | undefined;
@@ -10051,16 +10083,16 @@ declare const daemonConfigSchema: z.ZodObject<{
10051
10083
  type: "gitlab";
10052
10084
  projects: string[];
10053
10085
  };
10054
- primaryToolLabel?: string | undefined;
10055
10086
  labels?: {
10056
10087
  name: string;
10057
10088
  description?: string | undefined;
10058
10089
  color?: string | undefined;
10059
10090
  }[] | undefined;
10091
+ primaryToolLabel?: string | undefined;
10060
10092
  columns?: {
10061
10093
  id: string;
10062
10094
  title: string;
10063
- kind?: "label" | "open-backlog" | "scoped-label" | "closed" | undefined;
10095
+ kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
10064
10096
  mapsToLabel?: string | undefined;
10065
10097
  scopedLabel?: string | undefined;
10066
10098
  scopedPrefix?: string | undefined;
@@ -10133,8 +10165,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10133
10165
  }, {
10134
10166
  name: string;
10135
10167
  agents?: string[] | undefined;
10136
- rhythmHours?: number | undefined;
10137
10168
  repos?: string[] | undefined;
10169
+ rhythmHours?: number | undefined;
10138
10170
  workspaces?: string[] | undefined;
10139
10171
  budget?: {
10140
10172
  monthlyUsd?: number | undefined;
@@ -10168,8 +10200,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10168
10200
  projects?: {
10169
10201
  name: string;
10170
10202
  agents?: string[] | undefined;
10171
- rhythmHours?: number | undefined;
10172
10203
  repos?: string[] | undefined;
10204
+ rhythmHours?: number | undefined;
10173
10205
  workspaces?: string[] | undefined;
10174
10206
  budget?: {
10175
10207
  monthlyUsd?: number | undefined;
@@ -10230,8 +10262,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10230
10262
  projects?: {
10231
10263
  name: string;
10232
10264
  agents?: string[] | undefined;
10233
- rhythmHours?: number | undefined;
10234
10265
  repos?: string[] | undefined;
10266
+ rhythmHours?: number | undefined;
10235
10267
  workspaces?: string[] | undefined;
10236
10268
  budget?: {
10237
10269
  monthlyUsd?: number | undefined;
@@ -10255,24 +10287,24 @@ declare const daemonConfigSchema: z.ZodObject<{
10255
10287
  forge: z.ZodEnum<["github", "gitlab"]>;
10256
10288
  project: z.ZodString;
10257
10289
  }, "strip", z.ZodTypeAny, {
10290
+ forge: "github" | "gitlab";
10258
10291
  project: string;
10259
- forge: "gitlab" | "github";
10260
10292
  }, {
10293
+ forge: "github" | "gitlab";
10261
10294
  project: string;
10262
- forge: "gitlab" | "github";
10263
10295
  }>, "many">;
10264
10296
  }, "strip", z.ZodTypeAny, {
10265
10297
  label: string;
10266
10298
  sources: {
10299
+ forge: "github" | "gitlab";
10267
10300
  project: string;
10268
- forge: "gitlab" | "github";
10269
10301
  }[];
10270
10302
  titleSignature?: string | undefined;
10271
10303
  }, {
10272
10304
  label: string;
10273
10305
  sources: {
10306
+ forge: "github" | "gitlab";
10274
10307
  project: string;
10275
- forge: "gitlab" | "github";
10276
10308
  }[];
10277
10309
  titleSignature?: string | undefined;
10278
10310
  }>>;
@@ -10334,8 +10366,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10334
10366
  reportedIssues?: {
10335
10367
  label: string;
10336
10368
  sources: {
10369
+ forge: "github" | "gitlab";
10337
10370
  project: string;
10338
- forge: "gitlab" | "github";
10339
10371
  }[];
10340
10372
  titleSignature?: string | undefined;
10341
10373
  } | undefined;
@@ -10354,8 +10386,8 @@ declare const daemonConfigSchema: z.ZodObject<{
10354
10386
  reportedIssues?: {
10355
10387
  label: string;
10356
10388
  sources: {
10389
+ forge: "github" | "gitlab";
10357
10390
  project: string;
10358
- forge: "gitlab" | "github";
10359
10391
  }[];
10360
10392
  titleSignature?: string | undefined;
10361
10393
  } | undefined;
@@ -11575,9 +11607,9 @@ declare const daemonConfigSchema: z.ZodObject<{
11575
11607
  } | {
11576
11608
  type: "http";
11577
11609
  url: string;
11610
+ headers?: Record<string, string> | undefined;
11578
11611
  allowTools?: string[] | undefined;
11579
11612
  readTools?: string[] | undefined;
11580
- headers?: Record<string, string> | undefined;
11581
11613
  headersEnv?: Record<string, string> | undefined;
11582
11614
  }> | undefined;
11583
11615
  admin?: boolean | undefined;
@@ -11671,17 +11703,17 @@ declare const daemonConfigSchema: z.ZodObject<{
11671
11703
  staleAfterHours: number;
11672
11704
  retentionDays: number;
11673
11705
  checkers: {
11674
- enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
11706
+ enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
11675
11707
  repos: Record<string, string>;
11676
11708
  checkEveryMinutes: number;
11677
- gitlab?: {
11678
- token?: string | undefined;
11679
- url?: string | undefined;
11680
- } | undefined;
11681
11709
  github?: {
11682
11710
  apiUrl: string;
11683
11711
  token?: string | undefined;
11684
11712
  } | undefined;
11713
+ gitlab?: {
11714
+ token?: string | undefined;
11715
+ url?: string | undefined;
11716
+ } | undefined;
11685
11717
  };
11686
11718
  headlines: {
11687
11719
  provider: string;
@@ -11695,20 +11727,20 @@ declare const daemonConfigSchema: z.ZodObject<{
11695
11727
  releaseOnOwnerTurn: boolean;
11696
11728
  statusDrift: {
11697
11729
  enabled: boolean;
11698
- projects: {
11699
- provider: "gitlab" | "github";
11700
- project: string;
11701
- live: string[];
11702
- repo?: string | undefined;
11703
- }[];
11730
+ checkEveryMinutes: number;
11704
11731
  labels: {
11705
11732
  done: string[];
11706
11733
  todo: string[];
11707
11734
  doing: string[];
11708
11735
  review: string[];
11709
11736
  };
11737
+ projects: {
11738
+ provider: "github" | "gitlab";
11739
+ project: string;
11740
+ live: string[];
11741
+ repo?: string | undefined;
11742
+ }[];
11710
11743
  write: boolean;
11711
- checkEveryMinutes: number;
11712
11744
  lookbackDays: number;
11713
11745
  liveField: string;
11714
11746
  doneNotLiveAfterHours: number;
@@ -11725,9 +11757,9 @@ declare const daemonConfigSchema: z.ZodObject<{
11725
11757
  provider: string;
11726
11758
  model: string;
11727
11759
  enabled: boolean;
11760
+ timeoutSeconds: number;
11728
11761
  dailyCap: number;
11729
11762
  waitingOwner: boolean;
11730
- timeoutSeconds: number;
11731
11763
  };
11732
11764
  autoResend: {
11733
11765
  enabled: boolean;
@@ -11754,7 +11786,7 @@ declare const daemonConfigSchema: z.ZodObject<{
11754
11786
  skills: string[];
11755
11787
  tools: string[];
11756
11788
  };
11757
- role: "client" | "owner" | "guest" | "member";
11789
+ role: "owner" | "client" | "guest" | "member";
11758
11790
  identities: string[];
11759
11791
  say?: string | undefined;
11760
11792
  }[];
@@ -11835,8 +11867,8 @@ declare const daemonConfigSchema: z.ZodObject<{
11835
11867
  reportedIssues?: {
11836
11868
  label: string;
11837
11869
  sources: {
11870
+ forge: "github" | "gitlab";
11838
11871
  project: string;
11839
- forge: "gitlab" | "github";
11840
11872
  }[];
11841
11873
  titleSignature?: string | undefined;
11842
11874
  } | undefined;
@@ -12000,8 +12032,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12000
12032
  popup: {
12001
12033
  enabled: boolean;
12002
12034
  style: "card" | "dialog";
12003
- sound: string;
12004
12035
  timeoutSeconds: number;
12036
+ sound: string;
12005
12037
  volume: number;
12006
12038
  theme: "system" | "light" | "dark";
12007
12039
  speak: boolean;
@@ -12070,6 +12102,33 @@ declare const daemonConfigSchema: z.ZodObject<{
12070
12102
  allowFrom?: string[] | undefined;
12071
12103
  }>;
12072
12104
  };
12105
+ github: {
12106
+ enabled: boolean;
12107
+ cloudSessions: boolean;
12108
+ routes: {
12109
+ agent: string;
12110
+ repo: string;
12111
+ }[];
12112
+ autoReplyLegacy: boolean;
12113
+ agentMappings: {
12114
+ agentId: string;
12115
+ githubUsernames: string[];
12116
+ token?: string | undefined;
12117
+ node?: string | undefined;
12118
+ tokenFile?: string | undefined;
12119
+ }[];
12120
+ issueActions: string[];
12121
+ pullRequestActions: string[];
12122
+ ignoreOwnChanges: boolean;
12123
+ debounceSeconds: number;
12124
+ triggerLabel: string;
12125
+ token?: string | undefined;
12126
+ webhookSecret?: string | undefined;
12127
+ tokenFile?: string | undefined;
12128
+ appId?: number | undefined;
12129
+ clientId?: string | undefined;
12130
+ privateKeyFile?: string | undefined;
12131
+ };
12073
12132
  gitlab: {
12074
12133
  enabled: boolean;
12075
12134
  host: string;
@@ -12133,33 +12192,6 @@ declare const daemonConfigSchema: z.ZodObject<{
12133
12192
  allowFrom?: string[] | undefined;
12134
12193
  defaultAgent?: string | undefined;
12135
12194
  };
12136
- github: {
12137
- enabled: boolean;
12138
- cloudSessions: boolean;
12139
- routes: {
12140
- agent: string;
12141
- repo: string;
12142
- }[];
12143
- autoReplyLegacy: boolean;
12144
- agentMappings: {
12145
- agentId: string;
12146
- githubUsernames: string[];
12147
- token?: string | undefined;
12148
- node?: string | undefined;
12149
- tokenFile?: string | undefined;
12150
- }[];
12151
- issueActions: string[];
12152
- pullRequestActions: string[];
12153
- ignoreOwnChanges: boolean;
12154
- debounceSeconds: number;
12155
- triggerLabel: string;
12156
- token?: string | undefined;
12157
- webhookSecret?: string | undefined;
12158
- tokenFile?: string | undefined;
12159
- appId?: number | undefined;
12160
- clientId?: string | undefined;
12161
- privateKeyFile?: string | undefined;
12162
- };
12163
12195
  webrtc: {
12164
12196
  enabled: boolean;
12165
12197
  camera: {
@@ -12266,6 +12298,7 @@ declare const daemonConfigSchema: z.ZodObject<{
12266
12298
  value?: {
12267
12299
  why: string;
12268
12300
  metric: string;
12301
+ number?: string | undefined;
12269
12302
  } | undefined;
12270
12303
  report?: "always" | "exceptions" | undefined;
12271
12304
  command?: string | undefined;
@@ -12355,7 +12388,7 @@ declare const daemonConfigSchema: z.ZodObject<{
12355
12388
  maxReviewsPerPrPerDay: number;
12356
12389
  ciWaitMinutes: number;
12357
12390
  maxDiffKb: number;
12358
- forges: ("gitlab" | "github")[];
12391
+ forges: ("github" | "gitlab")[];
12359
12392
  tests: Record<string, {
12360
12393
  command: string;
12361
12394
  timeoutMinutes: number;
@@ -12499,8 +12532,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12499
12532
  restart: {
12500
12533
  windowWaitMinutes: number;
12501
12534
  forbidOnTimeoutRestart: boolean;
12502
- allowBy?: string | undefined;
12503
12535
  window?: string | undefined;
12536
+ allowBy?: string | undefined;
12504
12537
  };
12505
12538
  drainTimeoutSeconds?: number | undefined;
12506
12539
  };
@@ -12559,14 +12592,18 @@ declare const daemonConfigSchema: z.ZodObject<{
12559
12592
  maxPerRoot: number;
12560
12593
  saveBuilderWork: boolean;
12561
12594
  };
12595
+ numbers: {
12596
+ items: Record<string, Record<string, unknown>>;
12597
+ retryMinutes: number;
12598
+ };
12562
12599
  requestStatus: {
12563
12600
  channels: string[];
12564
12601
  };
12565
12602
  qualityReport: {
12566
12603
  enabled: boolean;
12567
12604
  command: string[];
12568
- time: string;
12569
12605
  timeoutSeconds: number;
12606
+ time: string;
12570
12607
  baseline: string;
12571
12608
  gates: {
12572
12609
  id: string;
@@ -12575,8 +12612,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12575
12612
  until?: string | undefined;
12576
12613
  }[];
12577
12614
  repo?: string | undefined;
12578
- timezone?: string | undefined;
12579
12615
  issue?: number | undefined;
12616
+ timezone?: string | undefined;
12580
12617
  };
12581
12618
  improve: {
12582
12619
  enabled: boolean;
@@ -12617,8 +12654,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12617
12654
  }[];
12618
12655
  columns: {
12619
12656
  id: string;
12657
+ kind: "label" | "closed" | "open-backlog" | "scoped-label";
12620
12658
  title: string;
12621
- kind: "label" | "open-backlog" | "scoped-label" | "closed";
12622
12659
  scopedPrefix: string;
12623
12660
  mapsToLabel?: string | undefined;
12624
12661
  scopedLabel?: string | undefined;
@@ -12806,8 +12843,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12806
12843
  role: string;
12807
12844
  schedule: {
12808
12845
  end: string;
12809
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
12810
12846
  start: string;
12847
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
12811
12848
  lunch?: {
12812
12849
  end: string;
12813
12850
  start: string;
@@ -12861,8 +12898,8 @@ declare const daemonConfigSchema: z.ZodObject<{
12861
12898
  channel?: string | undefined;
12862
12899
  chatId?: string | undefined;
12863
12900
  username?: string | undefined;
12864
- senderId?: string | undefined;
12865
12901
  project?: string | undefined;
12902
+ senderId?: string | undefined;
12866
12903
  displayName?: string | undefined;
12867
12904
  }[];
12868
12905
  clients: Record<string, {
@@ -12947,9 +12984,9 @@ declare const daemonConfigSchema: z.ZodObject<{
12947
12984
  } | {
12948
12985
  type: "http";
12949
12986
  url: string;
12987
+ headers?: Record<string, string> | undefined;
12950
12988
  allowTools?: string[] | undefined;
12951
12989
  readTools?: string[] | undefined;
12952
- headers?: Record<string, string> | undefined;
12953
12990
  headersEnv?: Record<string, string> | undefined;
12954
12991
  }> | undefined;
12955
12992
  heartbeat?: {
@@ -13102,17 +13139,17 @@ declare const daemonConfigSchema: z.ZodObject<{
13102
13139
  staleAfterHours?: number | undefined;
13103
13140
  retentionDays?: number | undefined;
13104
13141
  checkers?: {
13105
- enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
13106
- gitlab?: {
13107
- token?: string | undefined;
13108
- url?: string | undefined;
13109
- } | undefined;
13142
+ enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
13110
13143
  repos?: Record<string, string> | undefined;
13144
+ checkEveryMinutes?: number | undefined;
13111
13145
  github?: {
13112
13146
  token?: string | undefined;
13113
13147
  apiUrl?: string | undefined;
13114
13148
  } | undefined;
13115
- checkEveryMinutes?: number | undefined;
13149
+ gitlab?: {
13150
+ token?: string | undefined;
13151
+ url?: string | undefined;
13152
+ } | undefined;
13116
13153
  } | undefined;
13117
13154
  headlines?: {
13118
13155
  provider?: string | undefined;
@@ -13126,20 +13163,20 @@ declare const daemonConfigSchema: z.ZodObject<{
13126
13163
  releaseOnOwnerTurn?: boolean | undefined;
13127
13164
  statusDrift?: {
13128
13165
  enabled?: boolean | undefined;
13129
- projects?: {
13130
- provider: "gitlab" | "github";
13131
- project: string;
13132
- repo?: string | undefined;
13133
- live?: string[] | undefined;
13134
- }[] | undefined;
13166
+ checkEveryMinutes?: number | undefined;
13135
13167
  labels?: {
13136
13168
  done?: string[] | undefined;
13137
13169
  todo?: string[] | undefined;
13138
13170
  doing?: string[] | undefined;
13139
13171
  review?: string[] | undefined;
13140
13172
  } | undefined;
13173
+ projects?: {
13174
+ provider: "github" | "gitlab";
13175
+ project: string;
13176
+ repo?: string | undefined;
13177
+ live?: string[] | undefined;
13178
+ }[] | undefined;
13141
13179
  write?: boolean | undefined;
13142
- checkEveryMinutes?: number | undefined;
13143
13180
  lookbackDays?: number | undefined;
13144
13181
  liveField?: string | undefined;
13145
13182
  doneNotLiveAfterHours?: number | undefined;
@@ -13156,9 +13193,9 @@ declare const daemonConfigSchema: z.ZodObject<{
13156
13193
  provider?: string | undefined;
13157
13194
  model?: string | undefined;
13158
13195
  enabled?: boolean | undefined;
13196
+ timeoutSeconds?: number | undefined;
13159
13197
  dailyCap?: number | undefined;
13160
13198
  waitingOwner?: boolean | undefined;
13161
- timeoutSeconds?: number | undefined;
13162
13199
  } | undefined;
13163
13200
  autoResend?: {
13164
13201
  enabled?: boolean | undefined;
@@ -13243,8 +13280,8 @@ declare const daemonConfigSchema: z.ZodObject<{
13243
13280
  channel?: string | undefined;
13244
13281
  chatId?: string | undefined;
13245
13282
  username?: string | undefined;
13246
- senderId?: string | undefined;
13247
13283
  project?: string | undefined;
13284
+ senderId?: string | undefined;
13248
13285
  displayName?: string | undefined;
13249
13286
  }[] | undefined;
13250
13287
  clients?: Record<string, {
@@ -13270,7 +13307,7 @@ declare const daemonConfigSchema: z.ZodObject<{
13270
13307
  skills?: string[] | undefined;
13271
13308
  tools?: string[] | undefined;
13272
13309
  } | undefined;
13273
- role?: "client" | "owner" | "guest" | "member" | undefined;
13310
+ role?: "owner" | "client" | "guest" | "member" | undefined;
13274
13311
  say?: string | undefined;
13275
13312
  identities?: string[] | undefined;
13276
13313
  }[] | undefined;
@@ -13355,8 +13392,8 @@ declare const daemonConfigSchema: z.ZodObject<{
13355
13392
  reportedIssues?: {
13356
13393
  label: string;
13357
13394
  sources: {
13395
+ forge: "github" | "gitlab";
13358
13396
  project: string;
13359
- forge: "gitlab" | "github";
13360
13397
  }[];
13361
13398
  titleSignature?: string | undefined;
13362
13399
  } | undefined;
@@ -13460,8 +13497,8 @@ declare const daemonConfigSchema: z.ZodObject<{
13460
13497
  projects?: {
13461
13498
  name: string;
13462
13499
  agents?: string[] | undefined;
13463
- rhythmHours?: number | undefined;
13464
13500
  repos?: string[] | undefined;
13501
+ rhythmHours?: number | undefined;
13465
13502
  workspaces?: string[] | undefined;
13466
13503
  budget?: {
13467
13504
  monthlyUsd?: number | undefined;
@@ -13513,9 +13550,9 @@ declare const daemonConfigSchema: z.ZodObject<{
13513
13550
  popup?: {
13514
13551
  enabled?: boolean | undefined;
13515
13552
  style?: "card" | "dialog" | undefined;
13553
+ timeoutSeconds?: number | undefined;
13516
13554
  voice?: string | undefined;
13517
13555
  sound?: string | undefined;
13518
- timeoutSeconds?: number | undefined;
13519
13556
  volume?: number | undefined;
13520
13557
  theme?: "system" | "light" | "dark" | undefined;
13521
13558
  speak?: boolean | undefined;
@@ -13583,6 +13620,33 @@ declare const daemonConfigSchema: z.ZodObject<{
13583
13620
  pollSeconds?: number | undefined;
13584
13621
  }> | undefined;
13585
13622
  } | undefined;
13623
+ github?: {
13624
+ enabled?: boolean | undefined;
13625
+ token?: string | undefined;
13626
+ cloudSessions?: boolean | undefined;
13627
+ routes?: {
13628
+ agent: string;
13629
+ repo: string;
13630
+ }[] | undefined;
13631
+ webhookSecret?: string | undefined;
13632
+ autoReplyLegacy?: boolean | undefined;
13633
+ agentMappings?: {
13634
+ agentId: string;
13635
+ token?: string | undefined;
13636
+ node?: string | undefined;
13637
+ tokenFile?: string | undefined;
13638
+ githubUsernames?: string[] | undefined;
13639
+ }[] | undefined;
13640
+ tokenFile?: string | undefined;
13641
+ appId?: number | undefined;
13642
+ clientId?: string | undefined;
13643
+ privateKeyFile?: string | undefined;
13644
+ issueActions?: string[] | undefined;
13645
+ pullRequestActions?: string[] | undefined;
13646
+ ignoreOwnChanges?: boolean | undefined;
13647
+ debounceSeconds?: number | undefined;
13648
+ triggerLabel?: string | undefined;
13649
+ } | undefined;
13586
13650
  gitlab?: {
13587
13651
  enabled?: boolean | undefined;
13588
13652
  token?: string | undefined;
@@ -13646,33 +13710,6 @@ declare const daemonConfigSchema: z.ZodObject<{
13646
13710
  contact?: string | undefined;
13647
13711
  }[] | undefined;
13648
13712
  } | undefined;
13649
- github?: {
13650
- enabled?: boolean | undefined;
13651
- token?: string | undefined;
13652
- cloudSessions?: boolean | undefined;
13653
- routes?: {
13654
- agent: string;
13655
- repo: string;
13656
- }[] | undefined;
13657
- webhookSecret?: string | undefined;
13658
- autoReplyLegacy?: boolean | undefined;
13659
- agentMappings?: {
13660
- agentId: string;
13661
- token?: string | undefined;
13662
- node?: string | undefined;
13663
- tokenFile?: string | undefined;
13664
- githubUsernames?: string[] | undefined;
13665
- }[] | undefined;
13666
- tokenFile?: string | undefined;
13667
- appId?: number | undefined;
13668
- clientId?: string | undefined;
13669
- privateKeyFile?: string | undefined;
13670
- issueActions?: string[] | undefined;
13671
- pullRequestActions?: string[] | undefined;
13672
- ignoreOwnChanges?: boolean | undefined;
13673
- debounceSeconds?: number | undefined;
13674
- triggerLabel?: string | undefined;
13675
- } | undefined;
13676
13713
  webrtc?: {
13677
13714
  enabled?: boolean | undefined;
13678
13715
  camera?: {
@@ -13774,6 +13811,7 @@ declare const daemonConfigSchema: z.ZodObject<{
13774
13811
  value?: {
13775
13812
  why: string;
13776
13813
  metric: string;
13814
+ number?: string | undefined;
13777
13815
  } | undefined;
13778
13816
  enabled?: boolean | undefined;
13779
13817
  report?: "always" | "exceptions" | undefined;
@@ -13868,7 +13906,7 @@ declare const daemonConfigSchema: z.ZodObject<{
13868
13906
  maxReviewsPerPrPerDay?: number | undefined;
13869
13907
  ciWaitMinutes?: number | undefined;
13870
13908
  maxDiffKb?: number | undefined;
13871
- forges?: ("gitlab" | "github")[] | undefined;
13909
+ forges?: ("github" | "gitlab")[] | undefined;
13872
13910
  tests?: Record<string, {
13873
13911
  command: string;
13874
13912
  checkout: string;
@@ -14010,8 +14048,8 @@ declare const daemonConfigSchema: z.ZodObject<{
14010
14048
  } | undefined;
14011
14049
  shutdown?: {
14012
14050
  restart?: {
14013
- allowBy?: string | undefined;
14014
14051
  window?: string | undefined;
14052
+ allowBy?: string | undefined;
14015
14053
  windowWaitMinutes?: number | undefined;
14016
14054
  forbidOnTimeoutRestart?: boolean | undefined;
14017
14055
  } | undefined;
@@ -14072,6 +14110,10 @@ declare const daemonConfigSchema: z.ZodObject<{
14072
14110
  maxPerRoot?: number | undefined;
14073
14111
  saveBuilderWork?: boolean | undefined;
14074
14112
  } | undefined;
14113
+ numbers?: {
14114
+ items?: Record<string, Record<string, unknown>> | undefined;
14115
+ retryMinutes?: number | undefined;
14116
+ } | undefined;
14075
14117
  requestStatus?: {
14076
14118
  channels?: string[] | undefined;
14077
14119
  } | undefined;
@@ -14079,10 +14121,10 @@ declare const daemonConfigSchema: z.ZodObject<{
14079
14121
  enabled?: boolean | undefined;
14080
14122
  command?: string[] | undefined;
14081
14123
  repo?: string | undefined;
14082
- timezone?: string | undefined;
14083
- time?: string | undefined;
14084
14124
  issue?: number | undefined;
14085
14125
  timeoutSeconds?: number | undefined;
14126
+ timezone?: string | undefined;
14127
+ time?: string | undefined;
14086
14128
  baseline?: string | undefined;
14087
14129
  gates?: {
14088
14130
  id: string;
@@ -14123,16 +14165,16 @@ declare const daemonConfigSchema: z.ZodObject<{
14123
14165
  type: "gitlab";
14124
14166
  projects: string[];
14125
14167
  };
14126
- primaryToolLabel?: string | undefined;
14127
14168
  labels?: {
14128
14169
  name: string;
14129
14170
  description?: string | undefined;
14130
14171
  color?: string | undefined;
14131
14172
  }[] | undefined;
14173
+ primaryToolLabel?: string | undefined;
14132
14174
  columns?: {
14133
14175
  id: string;
14134
14176
  title: string;
14135
- kind?: "label" | "open-backlog" | "scoped-label" | "closed" | undefined;
14177
+ kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
14136
14178
  mapsToLabel?: string | undefined;
14137
14179
  scopedLabel?: string | undefined;
14138
14180
  scopedPrefix?: string | undefined;
@@ -15344,6 +15386,11 @@ declare class AgentXDaemon {
15344
15386
  /** Goals with a check close by themselves when it is met (#1568), at
15345
15387
  * the loop checkers' pace. */
15346
15388
  private checkGoalRecords;
15389
+ private numberConfigErrors;
15390
+ private numbersReading;
15391
+ /** Numbers (#1826): the ones of agentx.json written to the store, then
15392
+ * every number whose last whole period has no reading yet is read. */
15393
+ private readNumbers;
15347
15394
  /** What the loop checkers read (#1039): the forges through the
15348
15395
  * configured connectors, the local clones under requests.checkers.repos,
15349
15396
  * and this node's own record of inbound turns. Built per check, so a
@@ -17686,8 +17733,8 @@ declare const classificationSchema: z.ZodObject<{
17686
17733
  };
17687
17734
  channel?: string | undefined;
17688
17735
  preview?: string | undefined;
17689
- agentId?: string | undefined;
17690
17736
  chatId?: string | undefined;
17737
+ agentId?: string | undefined;
17691
17738
  sender?: string | undefined;
17692
17739
  confidence?: number | undefined;
17693
17740
  }, {
@@ -17698,8 +17745,8 @@ declare const classificationSchema: z.ZodObject<{
17698
17745
  msgHash: string;
17699
17746
  channel?: string | undefined;
17700
17747
  preview?: string | undefined;
17701
- agentId?: string | undefined;
17702
17748
  chatId?: string | undefined;
17749
+ agentId?: string | undefined;
17703
17750
  sender?: string | undefined;
17704
17751
  confidence?: number | undefined;
17705
17752
  proposedAxes?: Record<string, Record<string, string>> | undefined;
@@ -18201,8 +18248,8 @@ declare const nodeExecutionEntrySchema: z.ZodObject<{
18201
18248
  nodeId: string;
18202
18249
  inputKeys: string[];
18203
18250
  output?: Record<string, unknown> | undefined;
18204
- durationMs?: number | undefined;
18205
18251
  note?: string | undefined;
18252
+ durationMs?: number | undefined;
18206
18253
  startedAt?: string | undefined;
18207
18254
  }, {
18208
18255
  at: string;
@@ -18210,8 +18257,8 @@ declare const nodeExecutionEntrySchema: z.ZodObject<{
18210
18257
  idempotencyKey: string;
18211
18258
  nodeId: string;
18212
18259
  output?: Record<string, unknown> | undefined;
18213
- durationMs?: number | undefined;
18214
18260
  note?: string | undefined;
18261
+ durationMs?: number | undefined;
18215
18262
  startedAt?: string | undefined;
18216
18263
  inputKeys?: string[] | undefined;
18217
18264
  }>;
@@ -18960,8 +19007,8 @@ declare const workflowRunSchema: z.ZodObject<{
18960
19007
  nodeId: string;
18961
19008
  inputKeys: string[];
18962
19009
  output?: Record<string, unknown> | undefined;
18963
- durationMs?: number | undefined;
18964
19010
  note?: string | undefined;
19011
+ durationMs?: number | undefined;
18965
19012
  startedAt?: string | undefined;
18966
19013
  }, {
18967
19014
  at: string;
@@ -18969,8 +19016,8 @@ declare const workflowRunSchema: z.ZodObject<{
18969
19016
  idempotencyKey: string;
18970
19017
  nodeId: string;
18971
19018
  output?: Record<string, unknown> | undefined;
18972
- durationMs?: number | undefined;
18973
19019
  note?: string | undefined;
19020
+ durationMs?: number | undefined;
18974
19021
  startedAt?: string | undefined;
18975
19022
  inputKeys?: string[] | undefined;
18976
19023
  }>, "many">>;
@@ -19220,8 +19267,8 @@ declare const workflowRunSchema: z.ZodObject<{
19220
19267
  nodeId: string;
19221
19268
  inputKeys: string[];
19222
19269
  output?: Record<string, unknown> | undefined;
19223
- durationMs?: number | undefined;
19224
19270
  note?: string | undefined;
19271
+ durationMs?: number | undefined;
19225
19272
  startedAt?: string | undefined;
19226
19273
  }[];
19227
19274
  workflowVersion: 2;
@@ -19363,8 +19410,8 @@ declare const workflowRunSchema: z.ZodObject<{
19363
19410
  idempotencyKey: string;
19364
19411
  nodeId: string;
19365
19412
  output?: Record<string, unknown> | undefined;
19366
- durationMs?: number | undefined;
19367
19413
  note?: string | undefined;
19414
+ durationMs?: number | undefined;
19368
19415
  startedAt?: string | undefined;
19369
19416
  inputKeys?: string[] | undefined;
19370
19417
  }[] | undefined;
@@ -20661,8 +20708,8 @@ declare const orgEntrySchema: z.ZodObject<{
20661
20708
  }>>;
20662
20709
  }, "strip", z.ZodTypeAny, {
20663
20710
  end: string;
20664
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20665
20711
  start: string;
20712
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20666
20713
  lunch?: {
20667
20714
  end: string;
20668
20715
  start: string;
@@ -20681,8 +20728,8 @@ declare const orgEntrySchema: z.ZodObject<{
20681
20728
  role: string;
20682
20729
  schedule: {
20683
20730
  end: string;
20684
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20685
20731
  start: string;
20732
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20686
20733
  lunch?: {
20687
20734
  end: string;
20688
20735
  start: string;
@@ -20788,8 +20835,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
20788
20835
  }>>;
20789
20836
  }, "strip", z.ZodTypeAny, {
20790
20837
  end: string;
20791
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20792
20838
  start: string;
20839
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20793
20840
  lunch?: {
20794
20841
  end: string;
20795
20842
  start: string;
@@ -20808,8 +20855,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
20808
20855
  role: string;
20809
20856
  schedule: {
20810
20857
  end: string;
20811
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20812
20858
  start: string;
20859
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
20813
20860
  lunch?: {
20814
20861
  end: string;
20815
20862
  start: string;
@@ -20939,16 +20986,16 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
20939
20986
  channel?: string | undefined;
20940
20987
  chatId?: string | undefined;
20941
20988
  username?: string | undefined;
20942
- senderId?: string | undefined;
20943
20989
  project?: string | undefined;
20990
+ senderId?: string | undefined;
20944
20991
  displayName?: string | undefined;
20945
20992
  }, {
20946
20993
  client: string;
20947
20994
  channel?: string | undefined;
20948
20995
  chatId?: string | undefined;
20949
20996
  username?: string | undefined;
20950
- senderId?: string | undefined;
20951
20997
  project?: string | undefined;
20998
+ senderId?: string | undefined;
20952
20999
  displayName?: string | undefined;
20953
21000
  }>, "many">>;
20954
21001
  /** Overrides for derived clients. Keyed by client id; absent entries get
@@ -21018,8 +21065,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21018
21065
  role: string;
21019
21066
  schedule: {
21020
21067
  end: string;
21021
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
21022
21068
  start: string;
21069
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
21023
21070
  lunch?: {
21024
21071
  end: string;
21025
21072
  start: string;
@@ -21073,8 +21120,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21073
21120
  channel?: string | undefined;
21074
21121
  chatId?: string | undefined;
21075
21122
  username?: string | undefined;
21076
- senderId?: string | undefined;
21077
21123
  project?: string | undefined;
21124
+ senderId?: string | undefined;
21078
21125
  displayName?: string | undefined;
21079
21126
  }[];
21080
21127
  clients: Record<string, {
@@ -21162,8 +21209,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21162
21209
  channel?: string | undefined;
21163
21210
  chatId?: string | undefined;
21164
21211
  username?: string | undefined;
21165
- senderId?: string | undefined;
21166
21212
  project?: string | undefined;
21213
+ senderId?: string | undefined;
21167
21214
  displayName?: string | undefined;
21168
21215
  }[] | undefined;
21169
21216
  clients?: Record<string, {
@@ -21186,8 +21233,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21186
21233
  role: string;
21187
21234
  schedule: {
21188
21235
  end: string;
21189
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
21190
21236
  start: string;
21237
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
21191
21238
  lunch?: {
21192
21239
  end: string;
21193
21240
  start: string;
@@ -21241,8 +21288,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21241
21288
  channel?: string | undefined;
21242
21289
  chatId?: string | undefined;
21243
21290
  username?: string | undefined;
21244
- senderId?: string | undefined;
21245
21291
  project?: string | undefined;
21292
+ senderId?: string | undefined;
21246
21293
  displayName?: string | undefined;
21247
21294
  }[];
21248
21295
  clients: Record<string, {
@@ -21330,8 +21377,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
21330
21377
  channel?: string | undefined;
21331
21378
  chatId?: string | undefined;
21332
21379
  username?: string | undefined;
21333
- senderId?: string | undefined;
21334
21380
  project?: string | undefined;
21381
+ senderId?: string | undefined;
21335
21382
  displayName?: string | undefined;
21336
21383
  }[] | undefined;
21337
21384
  clients?: Record<string, {
@@ -22558,12 +22605,16 @@ declare class WhatsAppAdapter implements ChannelAdapter {
22558
22605
  declare const cronValueSchema: z.ZodObject<{
22559
22606
  why: z.ZodString;
22560
22607
  metric: z.ZodString;
22608
+ /** The id of the tracked number that measures it (#1826). */
22609
+ number: z.ZodOptional<z.ZodString>;
22561
22610
  }, "strip", z.ZodTypeAny, {
22562
22611
  why: string;
22563
22612
  metric: string;
22613
+ number?: string | undefined;
22564
22614
  }, {
22565
22615
  why: string;
22566
22616
  metric: string;
22617
+ number?: string | undefined;
22567
22618
  }>;
22568
22619
  type CronValue = z.infer<typeof cronValueSchema>;
22569
22620