agentix-cli 0.214.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.
- package/dist/{App-OUWMH6QG.js → App-YGVVIKZD.js} +2 -2
- package/dist/{ChatApp-EZ5A47FV.js → ChatApp-6TEK2WMU.js} +2 -2
- package/dist/{absorb-eval-WM6JQGYG.js → absorb-eval-MJ475CNV.js} +2 -2
- package/dist/{adapter-W26OC6ET.js → adapter-C6YORAE6.js} +2 -2
- package/dist/{agent-KUCECPSZ.js → agent-44SGRWX2.js} +2 -2
- package/dist/{board-dashboard-SHU4BWRO.js → board-dashboard-TZKV4DFV.js} +13 -13
- package/dist/{board-dashboard-SHU4BWRO.js.map → board-dashboard-TZKV4DFV.js.map} +1 -1
- package/dist/chunk-2KQECT4H.js +42 -0
- package/dist/chunk-2KQECT4H.js.map +1 -0
- package/dist/{chunk-ACPGDZOV.js → chunk-2ZNYIHRB.js} +2 -2
- package/dist/{chunk-CSC45PA7.js → chunk-3UATFGSB.js} +2 -2
- package/dist/chunk-4A6UVU2X.js +134 -0
- package/dist/chunk-4A6UVU2X.js.map +1 -0
- package/dist/{chunk-XHON5WB5.js → chunk-5SQRJUAK.js} +3 -3
- package/dist/{chunk-QR3P5RG7.js → chunk-7OJUZ3L5.js} +2 -2
- package/dist/chunk-7YOLZGB5.js +2 -0
- package/dist/chunk-7YOLZGB5.js.map +1 -0
- package/dist/{chunk-CAH6TNC6.js → chunk-AU7SN4G3.js} +2 -2
- package/dist/{chunk-MIUITI47.js → chunk-BLKXK27S.js} +2 -2
- package/dist/chunk-F2XNWKIL.js +1428 -0
- package/dist/chunk-F2XNWKIL.js.map +1 -0
- package/dist/{chunk-H4DWZIU7.js → chunk-F32VADB7.js} +2 -2
- package/dist/{chunk-SPXXLPAS.js → chunk-GEKJQ7VV.js} +2 -2
- package/dist/chunk-HVMUYEQP.js +4 -0
- package/dist/chunk-HVMUYEQP.js.map +1 -0
- package/dist/chunk-I4E6BH27.js +20 -0
- package/dist/chunk-I4E6BH27.js.map +1 -0
- package/dist/{chunk-PSYHAO57.js → chunk-IKXDCPXS.js} +2 -2
- package/dist/{chunk-ZRBTLW2B.js → chunk-JMWPBZLU.js} +2 -2
- package/dist/{chunk-UNVZUWOY.js → chunk-JNBUJKNG.js} +3 -3
- package/dist/{chunk-UNVZUWOY.js.map → chunk-JNBUJKNG.js.map} +1 -1
- package/dist/{chunk-HY4PE6R3.js → chunk-JTS563OC.js} +2 -2
- package/dist/{chunk-N476XZD3.js → chunk-LDSBFDYB.js} +2 -2
- package/dist/{chunk-B7HDWFKR.js → chunk-LJUBWMPB.js} +2 -2
- package/dist/{chunk-C3O2ER6D.js → chunk-MH7KJQ4N.js} +2 -2
- package/dist/{chunk-UUOCCLIL.js → chunk-MOEXP6U3.js} +2 -2
- package/dist/{chunk-JKMFKNGS.js → chunk-PA7CP74O.js} +2 -2
- package/dist/{chunk-JEBU5JUM.js → chunk-SZXFWCKA.js} +2 -2
- package/dist/{chunk-J2R47R56.js → chunk-T3B7OUDC.js} +2 -2
- package/dist/{chunk-Z7632XS3.js → chunk-T7SD5EVH.js} +2 -2
- package/dist/chunk-TFHJT2AZ.js +4 -0
- package/dist/chunk-TFHJT2AZ.js.map +1 -0
- package/dist/{chunk-IHFOW4JF.js → chunk-TO6T6AQY.js} +2 -2
- package/dist/{chunk-OQNJIIR2.js → chunk-U5DSMDCJ.js} +2 -2
- package/dist/{chunk-SBFMNAJG.js → chunk-WLDRIJQX.js} +88 -88
- package/dist/chunk-WLDRIJQX.js.map +1 -0
- package/dist/{chunk-2KNI7ZRN.js → chunk-XXFVK5D7.js} +2 -2
- package/dist/{chunk-2KNI7ZRN.js.map → chunk-XXFVK5D7.js.map} +1 -1
- package/dist/{chunk-4ZD2C76P.js → chunk-YTWRIIAT.js} +2 -2
- package/dist/chunk-Z5CMA4JN.js +6 -0
- package/dist/chunk-Z5CMA4JN.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/client-SJLHZDIC.js +2 -0
- package/dist/config-Q3ENZQYL.js +2 -0
- package/dist/config-mutate-NNAUMQ2Y.js +2 -0
- package/dist/config-mutator-2F2BJNMA.js +2 -0
- package/dist/{contributions-FXUTKU6R.js → contributions-SOUGZCAH.js} +2 -2
- package/dist/decision-approvals-SWZ4RWFI.js +2 -0
- package/dist/{doctor-GP2KVKWE.js → doctor-H6I433KY.js} +2 -2
- package/dist/{follow-up-tool-C4PLLZIT.js → follow-up-tool-4FX455DL.js} +2 -2
- package/dist/hub-XFZFHLJK.js +2 -0
- package/dist/index.d.ts +438 -294
- package/dist/index.js +1 -1
- package/dist/{org-tool-6PPIGWH2.js → org-tool-OE5QP6W7.js} +2 -2
- package/dist/{program-L3BX5FJ3.js → program-7QFRDJUY.js} +288 -288
- package/dist/program-7QFRDJUY.js.map +1 -0
- package/dist/{promote-CXXMZWWH.js → promote-FQY3HNL6.js} +2 -2
- package/dist/push-bridge-T5HZZRA2.js +1 -1
- package/dist/{query-RPZIRN3X.js → query-LIII4CGT.js} +2 -2
- package/dist/{query-runs-AENEZOM6.js → query-runs-2F6KHFBZ.js} +2 -2
- package/dist/{query-settings-EBOBWOAL.js → query-settings-6LHW2NCF.js} +2 -2
- package/dist/{registry-D727ZQUP.js → registry-WQNBXOUL.js} +2 -2
- package/dist/{request-planner-LNNKTY7K.js → request-planner-HYYT3W7X.js} +2 -2
- package/dist/{review-candidates-HQBKXAJA.js → review-candidates-JOCZEZ2L.js} +2 -2
- package/dist/routing-D7W4BDER.js +2 -0
- package/dist/schedule-tool-B4RDOKCN.js +2 -0
- package/dist/scheduler-JHY767T4.js +2 -0
- package/dist/{seat-BSWBTNCP.js → seat-44NEMWB5.js} +2 -2
- package/dist/{select-T4F42G6W.js → select-5FMPLCCG.js} +2 -2
- package/dist/{set-enabled-UK4TPVC7.js → set-enabled-GVQFNLOS.js} +2 -2
- package/dist/{sprint-tool-DN3BKLUY.js → sprint-tool-X3A5VPJP.js} +2 -2
- package/dist/timers-LAT4ZVXJ.js +2 -0
- package/dist/{tool-ZCSGJ2ZF.js → tool-H7RMHTXM.js} +2 -2
- package/dist/{tool-JJGEGQF3.js → tool-ILYSRPZ5.js} +2 -2
- package/dist/{tool-L3CQUOAZ.js → tool-KCOCIAFM.js} +2 -2
- package/dist/{tool-ZVYUWVJQ.js → tool-QIS3CLU2.js} +2 -2
- package/dist/tool-Z7TIGVEW.js +7 -0
- package/dist/tool-Z7TIGVEW.js.map +1 -0
- package/dist/wiki-UMPPYYFR.js +2 -0
- package/dist/wiki-enrich-UVCZ7GTW.js +2 -0
- package/package.json +1 -1
- package/dist/chunk-35UGFFHA.js +0 -20
- package/dist/chunk-35UGFFHA.js.map +0 -1
- package/dist/chunk-AFRHKA7B.js +0 -2
- package/dist/chunk-AFRHKA7B.js.map +0 -1
- package/dist/chunk-FR4DTMCA.js +0 -42
- package/dist/chunk-FR4DTMCA.js.map +0 -1
- package/dist/chunk-HPRLRD4P.js +0 -6
- package/dist/chunk-HPRLRD4P.js.map +0 -1
- package/dist/chunk-KAM4ZWRE.js +0 -133
- package/dist/chunk-KAM4ZWRE.js.map +0 -1
- package/dist/chunk-LIY5CHUV.js +0 -4
- package/dist/chunk-LIY5CHUV.js.map +0 -1
- package/dist/chunk-RMXG5GNW.js +0 -4
- package/dist/chunk-RMXG5GNW.js.map +0 -1
- package/dist/chunk-SBFMNAJG.js.map +0 -1
- package/dist/chunk-Z4WM7MKP.js +0 -1385
- package/dist/chunk-Z4WM7MKP.js.map +0 -1
- package/dist/client-U3OFNJ5W.js +0 -2
- package/dist/config-S522VXLI.js +0 -2
- package/dist/config-mutate-KBZV2T4X.js +0 -2
- package/dist/config-mutator-YNNEGRV3.js +0 -2
- package/dist/decision-approvals-NJS2ARAF.js +0 -2
- package/dist/hub-PPQGFC35.js +0 -2
- package/dist/program-L3BX5FJ3.js.map +0 -1
- package/dist/routing-XXA7GIBA.js +0 -2
- package/dist/schedule-tool-65TFOUWK.js +0 -2
- package/dist/scheduler-DIPOBJBF.js +0 -2
- package/dist/timers-KK7GF77Y.js +0 -2
- package/dist/wiki-FP4JMCYP.js +0 -2
- package/dist/wiki-enrich-3SPIVYSG.js +0 -2
- /package/dist/{App-OUWMH6QG.js.map → App-YGVVIKZD.js.map} +0 -0
- /package/dist/{ChatApp-EZ5A47FV.js.map → ChatApp-6TEK2WMU.js.map} +0 -0
- /package/dist/{absorb-eval-WM6JQGYG.js.map → absorb-eval-MJ475CNV.js.map} +0 -0
- /package/dist/{adapter-W26OC6ET.js.map → adapter-C6YORAE6.js.map} +0 -0
- /package/dist/{agent-KUCECPSZ.js.map → agent-44SGRWX2.js.map} +0 -0
- /package/dist/{chunk-ACPGDZOV.js.map → chunk-2ZNYIHRB.js.map} +0 -0
- /package/dist/{chunk-CSC45PA7.js.map → chunk-3UATFGSB.js.map} +0 -0
- /package/dist/{chunk-XHON5WB5.js.map → chunk-5SQRJUAK.js.map} +0 -0
- /package/dist/{chunk-QR3P5RG7.js.map → chunk-7OJUZ3L5.js.map} +0 -0
- /package/dist/{chunk-CAH6TNC6.js.map → chunk-AU7SN4G3.js.map} +0 -0
- /package/dist/{chunk-MIUITI47.js.map → chunk-BLKXK27S.js.map} +0 -0
- /package/dist/{chunk-H4DWZIU7.js.map → chunk-F32VADB7.js.map} +0 -0
- /package/dist/{chunk-SPXXLPAS.js.map → chunk-GEKJQ7VV.js.map} +0 -0
- /package/dist/{chunk-PSYHAO57.js.map → chunk-IKXDCPXS.js.map} +0 -0
- /package/dist/{chunk-ZRBTLW2B.js.map → chunk-JMWPBZLU.js.map} +0 -0
- /package/dist/{chunk-HY4PE6R3.js.map → chunk-JTS563OC.js.map} +0 -0
- /package/dist/{chunk-N476XZD3.js.map → chunk-LDSBFDYB.js.map} +0 -0
- /package/dist/{chunk-B7HDWFKR.js.map → chunk-LJUBWMPB.js.map} +0 -0
- /package/dist/{chunk-C3O2ER6D.js.map → chunk-MH7KJQ4N.js.map} +0 -0
- /package/dist/{chunk-UUOCCLIL.js.map → chunk-MOEXP6U3.js.map} +0 -0
- /package/dist/{chunk-JKMFKNGS.js.map → chunk-PA7CP74O.js.map} +0 -0
- /package/dist/{chunk-JEBU5JUM.js.map → chunk-SZXFWCKA.js.map} +0 -0
- /package/dist/{chunk-J2R47R56.js.map → chunk-T3B7OUDC.js.map} +0 -0
- /package/dist/{chunk-Z7632XS3.js.map → chunk-T7SD5EVH.js.map} +0 -0
- /package/dist/{chunk-IHFOW4JF.js.map → chunk-TO6T6AQY.js.map} +0 -0
- /package/dist/{chunk-OQNJIIR2.js.map → chunk-U5DSMDCJ.js.map} +0 -0
- /package/dist/{chunk-4ZD2C76P.js.map → chunk-YTWRIIAT.js.map} +0 -0
- /package/dist/{client-U3OFNJ5W.js.map → client-SJLHZDIC.js.map} +0 -0
- /package/dist/{config-S522VXLI.js.map → config-Q3ENZQYL.js.map} +0 -0
- /package/dist/{config-mutate-KBZV2T4X.js.map → config-mutate-NNAUMQ2Y.js.map} +0 -0
- /package/dist/{config-mutator-YNNEGRV3.js.map → config-mutator-2F2BJNMA.js.map} +0 -0
- /package/dist/{contributions-FXUTKU6R.js.map → contributions-SOUGZCAH.js.map} +0 -0
- /package/dist/{decision-approvals-NJS2ARAF.js.map → decision-approvals-SWZ4RWFI.js.map} +0 -0
- /package/dist/{doctor-GP2KVKWE.js.map → doctor-H6I433KY.js.map} +0 -0
- /package/dist/{follow-up-tool-C4PLLZIT.js.map → follow-up-tool-4FX455DL.js.map} +0 -0
- /package/dist/{hub-PPQGFC35.js.map → hub-XFZFHLJK.js.map} +0 -0
- /package/dist/{org-tool-6PPIGWH2.js.map → org-tool-OE5QP6W7.js.map} +0 -0
- /package/dist/{promote-CXXMZWWH.js.map → promote-FQY3HNL6.js.map} +0 -0
- /package/dist/{query-RPZIRN3X.js.map → query-LIII4CGT.js.map} +0 -0
- /package/dist/{query-runs-AENEZOM6.js.map → query-runs-2F6KHFBZ.js.map} +0 -0
- /package/dist/{query-settings-EBOBWOAL.js.map → query-settings-6LHW2NCF.js.map} +0 -0
- /package/dist/{registry-D727ZQUP.js.map → registry-WQNBXOUL.js.map} +0 -0
- /package/dist/{request-planner-LNNKTY7K.js.map → request-planner-HYYT3W7X.js.map} +0 -0
- /package/dist/{review-candidates-HQBKXAJA.js.map → review-candidates-JOCZEZ2L.js.map} +0 -0
- /package/dist/{routing-XXA7GIBA.js.map → routing-D7W4BDER.js.map} +0 -0
- /package/dist/{schedule-tool-65TFOUWK.js.map → schedule-tool-B4RDOKCN.js.map} +0 -0
- /package/dist/{scheduler-DIPOBJBF.js.map → scheduler-JHY767T4.js.map} +0 -0
- /package/dist/{seat-BSWBTNCP.js.map → seat-44NEMWB5.js.map} +0 -0
- /package/dist/{select-T4F42G6W.js.map → select-5FMPLCCG.js.map} +0 -0
- /package/dist/{set-enabled-UK4TPVC7.js.map → set-enabled-GVQFNLOS.js.map} +0 -0
- /package/dist/{sprint-tool-DN3BKLUY.js.map → sprint-tool-X3A5VPJP.js.map} +0 -0
- /package/dist/{timers-KK7GF77Y.js.map → timers-LAT4ZVXJ.js.map} +0 -0
- /package/dist/{tool-ZCSGJ2ZF.js.map → tool-H7RMHTXM.js.map} +0 -0
- /package/dist/{tool-JJGEGQF3.js.map → tool-ILYSRPZ5.js.map} +0 -0
- /package/dist/{tool-L3CQUOAZ.js.map → tool-KCOCIAFM.js.map} +0 -0
- /package/dist/{tool-ZVYUWVJQ.js.map → tool-QIS3CLU2.js.map} +0 -0
- /package/dist/{wiki-FP4JMCYP.js.map → wiki-UMPPYYFR.js.map} +0 -0
- /package/dist/{wiki-enrich-3SPIVYSG.js.map → wiki-enrich-UVCZ7GTW.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1207,6 +1207,13 @@ declare class HookRegistry {
|
|
|
1207
1207
|
* Priority follows the same rule as register(): lower runs first.
|
|
1208
1208
|
*/
|
|
1209
1209
|
registerHandler(event: HookEvent, name: string, handler: HookHandler, priority?: number): void;
|
|
1210
|
+
/**
|
|
1211
|
+
* Remove the hooks loaded from disk and keep the in-process handlers.
|
|
1212
|
+
* The config reload uses this before loading the disk hooks again: the
|
|
1213
|
+
* workflow engine registers its handlers once, at start, so clearing them
|
|
1214
|
+
* would stop every workflow trigger until the next restart.
|
|
1215
|
+
*/
|
|
1216
|
+
clearLoaded(): void;
|
|
1210
1217
|
/**
|
|
1211
1218
|
* Check if any hooks are registered for an event.
|
|
1212
1219
|
*/
|
|
@@ -1564,16 +1571,16 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1564
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1565
1572
|
type: "http";
|
|
1566
1573
|
url: string;
|
|
1574
|
+
headers?: Record<string, string> | undefined;
|
|
1567
1575
|
allowTools?: string[] | undefined;
|
|
1568
1576
|
readTools?: string[] | undefined;
|
|
1569
|
-
headers?: Record<string, string> | undefined;
|
|
1570
1577
|
headersEnv?: Record<string, string> | undefined;
|
|
1571
1578
|
}, {
|
|
1572
1579
|
type: "http";
|
|
1573
1580
|
url: string;
|
|
1581
|
+
headers?: Record<string, string> | undefined;
|
|
1574
1582
|
allowTools?: string[] | undefined;
|
|
1575
1583
|
readTools?: string[] | undefined;
|
|
1576
|
-
headers?: Record<string, string> | undefined;
|
|
1577
1584
|
headersEnv?: Record<string, string> | undefined;
|
|
1578
1585
|
}>, z.ZodObject<{
|
|
1579
1586
|
type: z.ZodOptional<z.ZodLiteral<"stdio">>;
|
|
@@ -1608,9 +1615,9 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1608
1615
|
} | {
|
|
1609
1616
|
type: "http";
|
|
1610
1617
|
url: string;
|
|
1618
|
+
headers?: Record<string, string> | undefined;
|
|
1611
1619
|
allowTools?: string[] | undefined;
|
|
1612
1620
|
readTools?: string[] | undefined;
|
|
1613
|
-
headers?: Record<string, string> | undefined;
|
|
1614
1621
|
headersEnv?: Record<string, string> | undefined;
|
|
1615
1622
|
}> | undefined, Record<string, {
|
|
1616
1623
|
command: string;
|
|
@@ -1622,9 +1629,9 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1622
1629
|
} | {
|
|
1623
1630
|
type: "http";
|
|
1624
1631
|
url: string;
|
|
1632
|
+
headers?: Record<string, string> | undefined;
|
|
1625
1633
|
allowTools?: string[] | undefined;
|
|
1626
1634
|
readTools?: string[] | undefined;
|
|
1627
|
-
headers?: Record<string, string> | undefined;
|
|
1628
1635
|
headersEnv?: Record<string, string> | undefined;
|
|
1629
1636
|
}> | undefined>;
|
|
1630
1637
|
/** Enable CodeGraph (https://github.com/colbymchenry/codegraph) for this
|
|
@@ -2184,9 +2191,9 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
2184
2191
|
} | {
|
|
2185
2192
|
type: "http";
|
|
2186
2193
|
url: string;
|
|
2194
|
+
headers?: Record<string, string> | undefined;
|
|
2187
2195
|
allowTools?: string[] | undefined;
|
|
2188
2196
|
readTools?: string[] | undefined;
|
|
2189
|
-
headers?: Record<string, string> | undefined;
|
|
2190
2197
|
headersEnv?: Record<string, string> | undefined;
|
|
2191
2198
|
}> | undefined;
|
|
2192
2199
|
admin?: boolean | undefined;
|
|
@@ -2248,9 +2255,9 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
2248
2255
|
} | {
|
|
2249
2256
|
type: "http";
|
|
2250
2257
|
url: string;
|
|
2258
|
+
headers?: Record<string, string> | undefined;
|
|
2251
2259
|
allowTools?: string[] | undefined;
|
|
2252
2260
|
readTools?: string[] | undefined;
|
|
2253
|
-
headers?: Record<string, string> | undefined;
|
|
2254
2261
|
headersEnv?: Record<string, string> | undefined;
|
|
2255
2262
|
}> | undefined;
|
|
2256
2263
|
heartbeat?: {
|
|
@@ -2332,12 +2339,15 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2332
2339
|
value: z.ZodOptional<z.ZodObject<{
|
|
2333
2340
|
why: z.ZodString;
|
|
2334
2341
|
metric: z.ZodString;
|
|
2342
|
+
number: z.ZodOptional<z.ZodString>;
|
|
2335
2343
|
}, "strip", z.ZodTypeAny, {
|
|
2336
2344
|
why: string;
|
|
2337
2345
|
metric: string;
|
|
2346
|
+
number?: string | undefined;
|
|
2338
2347
|
}, {
|
|
2339
2348
|
why: string;
|
|
2340
2349
|
metric: string;
|
|
2350
|
+
number?: string | undefined;
|
|
2341
2351
|
}>>;
|
|
2342
2352
|
/** The goal record it serves (#1568), by id. Once the goal is done or
|
|
2343
2353
|
* dropped the job stops running (its config is left as it is: the Wall
|
|
@@ -2452,6 +2462,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2452
2462
|
value?: {
|
|
2453
2463
|
why: string;
|
|
2454
2464
|
metric: string;
|
|
2465
|
+
number?: string | undefined;
|
|
2455
2466
|
} | undefined;
|
|
2456
2467
|
report?: "always" | "exceptions" | undefined;
|
|
2457
2468
|
command?: string | undefined;
|
|
@@ -2481,6 +2492,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2481
2492
|
value?: {
|
|
2482
2493
|
why: string;
|
|
2483
2494
|
metric: string;
|
|
2495
|
+
number?: string | undefined;
|
|
2484
2496
|
} | undefined;
|
|
2485
2497
|
enabled?: boolean | undefined;
|
|
2486
2498
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -2520,6 +2532,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2520
2532
|
value?: {
|
|
2521
2533
|
why: string;
|
|
2522
2534
|
metric: string;
|
|
2535
|
+
number?: string | undefined;
|
|
2523
2536
|
} | undefined;
|
|
2524
2537
|
report?: "always" | "exceptions" | undefined;
|
|
2525
2538
|
command?: string | undefined;
|
|
@@ -2549,6 +2562,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2549
2562
|
value?: {
|
|
2550
2563
|
why: string;
|
|
2551
2564
|
metric: string;
|
|
2565
|
+
number?: string | undefined;
|
|
2552
2566
|
} | undefined;
|
|
2553
2567
|
enabled?: boolean | undefined;
|
|
2554
2568
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -2588,6 +2602,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2588
2602
|
value?: {
|
|
2589
2603
|
why: string;
|
|
2590
2604
|
metric: string;
|
|
2605
|
+
number?: string | undefined;
|
|
2591
2606
|
} | undefined;
|
|
2592
2607
|
report?: "always" | "exceptions" | undefined;
|
|
2593
2608
|
command?: string | undefined;
|
|
@@ -2617,6 +2632,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2617
2632
|
value?: {
|
|
2618
2633
|
why: string;
|
|
2619
2634
|
metric: string;
|
|
2635
|
+
number?: string | undefined;
|
|
2620
2636
|
} | undefined;
|
|
2621
2637
|
enabled?: boolean | undefined;
|
|
2622
2638
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -2656,6 +2672,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2656
2672
|
value?: {
|
|
2657
2673
|
why: string;
|
|
2658
2674
|
metric: string;
|
|
2675
|
+
number?: string | undefined;
|
|
2659
2676
|
} | undefined;
|
|
2660
2677
|
report?: "always" | "exceptions" | undefined;
|
|
2661
2678
|
command?: string | undefined;
|
|
@@ -2685,6 +2702,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2685
2702
|
value?: {
|
|
2686
2703
|
why: string;
|
|
2687
2704
|
metric: string;
|
|
2705
|
+
number?: string | undefined;
|
|
2688
2706
|
} | undefined;
|
|
2689
2707
|
enabled?: boolean | undefined;
|
|
2690
2708
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -2821,16 +2839,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2821
2839
|
}, "strip", z.ZodTypeAny, {
|
|
2822
2840
|
type: "http";
|
|
2823
2841
|
url: string;
|
|
2842
|
+
headers?: Record<string, string> | undefined;
|
|
2824
2843
|
allowTools?: string[] | undefined;
|
|
2825
2844
|
readTools?: string[] | undefined;
|
|
2826
|
-
headers?: Record<string, string> | undefined;
|
|
2827
2845
|
headersEnv?: Record<string, string> | undefined;
|
|
2828
2846
|
}, {
|
|
2829
2847
|
type: "http";
|
|
2830
2848
|
url: string;
|
|
2849
|
+
headers?: Record<string, string> | undefined;
|
|
2831
2850
|
allowTools?: string[] | undefined;
|
|
2832
2851
|
readTools?: string[] | undefined;
|
|
2833
|
-
headers?: Record<string, string> | undefined;
|
|
2834
2852
|
headersEnv?: Record<string, string> | undefined;
|
|
2835
2853
|
}>, z.ZodObject<{
|
|
2836
2854
|
type: z.ZodOptional<z.ZodLiteral<"stdio">>;
|
|
@@ -2865,9 +2883,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2865
2883
|
} | {
|
|
2866
2884
|
type: "http";
|
|
2867
2885
|
url: string;
|
|
2886
|
+
headers?: Record<string, string> | undefined;
|
|
2868
2887
|
allowTools?: string[] | undefined;
|
|
2869
2888
|
readTools?: string[] | undefined;
|
|
2870
|
-
headers?: Record<string, string> | undefined;
|
|
2871
2889
|
headersEnv?: Record<string, string> | undefined;
|
|
2872
2890
|
}> | undefined, Record<string, {
|
|
2873
2891
|
command: string;
|
|
@@ -2879,9 +2897,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2879
2897
|
} | {
|
|
2880
2898
|
type: "http";
|
|
2881
2899
|
url: string;
|
|
2900
|
+
headers?: Record<string, string> | undefined;
|
|
2882
2901
|
allowTools?: string[] | undefined;
|
|
2883
2902
|
readTools?: string[] | undefined;
|
|
2884
|
-
headers?: Record<string, string> | undefined;
|
|
2885
2903
|
headersEnv?: Record<string, string> | undefined;
|
|
2886
2904
|
}> | undefined>;
|
|
2887
2905
|
/** Enable CodeGraph (https://github.com/colbymchenry/codegraph) for this
|
|
@@ -3441,9 +3459,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3441
3459
|
} | {
|
|
3442
3460
|
type: "http";
|
|
3443
3461
|
url: string;
|
|
3462
|
+
headers?: Record<string, string> | undefined;
|
|
3444
3463
|
allowTools?: string[] | undefined;
|
|
3445
3464
|
readTools?: string[] | undefined;
|
|
3446
|
-
headers?: Record<string, string> | undefined;
|
|
3447
3465
|
headersEnv?: Record<string, string> | undefined;
|
|
3448
3466
|
}> | undefined;
|
|
3449
3467
|
admin?: boolean | undefined;
|
|
@@ -3505,9 +3523,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3505
3523
|
} | {
|
|
3506
3524
|
type: "http";
|
|
3507
3525
|
url: string;
|
|
3526
|
+
headers?: Record<string, string> | undefined;
|
|
3508
3527
|
allowTools?: string[] | undefined;
|
|
3509
3528
|
readTools?: string[] | undefined;
|
|
3510
|
-
headers?: Record<string, string> | undefined;
|
|
3511
3529
|
headersEnv?: Record<string, string> | undefined;
|
|
3512
3530
|
}> | undefined;
|
|
3513
3531
|
heartbeat?: {
|
|
@@ -5085,6 +5103,33 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5085
5103
|
allowFrom?: string[] | undefined;
|
|
5086
5104
|
}>;
|
|
5087
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
|
+
};
|
|
5088
5133
|
gitlab: {
|
|
5089
5134
|
enabled: boolean;
|
|
5090
5135
|
host: string;
|
|
@@ -5148,33 +5193,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5148
5193
|
allowFrom?: string[] | undefined;
|
|
5149
5194
|
defaultAgent?: string | undefined;
|
|
5150
5195
|
};
|
|
5151
|
-
github: {
|
|
5152
|
-
enabled: boolean;
|
|
5153
|
-
cloudSessions: boolean;
|
|
5154
|
-
routes: {
|
|
5155
|
-
agent: string;
|
|
5156
|
-
repo: string;
|
|
5157
|
-
}[];
|
|
5158
|
-
autoReplyLegacy: boolean;
|
|
5159
|
-
agentMappings: {
|
|
5160
|
-
agentId: string;
|
|
5161
|
-
githubUsernames: string[];
|
|
5162
|
-
token?: string | undefined;
|
|
5163
|
-
node?: string | undefined;
|
|
5164
|
-
tokenFile?: string | undefined;
|
|
5165
|
-
}[];
|
|
5166
|
-
issueActions: string[];
|
|
5167
|
-
pullRequestActions: string[];
|
|
5168
|
-
ignoreOwnChanges: boolean;
|
|
5169
|
-
debounceSeconds: number;
|
|
5170
|
-
triggerLabel: string;
|
|
5171
|
-
token?: string | undefined;
|
|
5172
|
-
webhookSecret?: string | undefined;
|
|
5173
|
-
tokenFile?: string | undefined;
|
|
5174
|
-
appId?: number | undefined;
|
|
5175
|
-
clientId?: string | undefined;
|
|
5176
|
-
privateKeyFile?: string | undefined;
|
|
5177
|
-
};
|
|
5178
5196
|
webrtc: {
|
|
5179
5197
|
enabled: boolean;
|
|
5180
5198
|
camera: {
|
|
@@ -5265,6 +5283,33 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5265
5283
|
pollSeconds?: number | undefined;
|
|
5266
5284
|
}> | undefined;
|
|
5267
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;
|
|
5268
5313
|
gitlab?: {
|
|
5269
5314
|
enabled?: boolean | undefined;
|
|
5270
5315
|
token?: string | undefined;
|
|
@@ -5328,33 +5373,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5328
5373
|
contact?: string | undefined;
|
|
5329
5374
|
}[] | undefined;
|
|
5330
5375
|
} | undefined;
|
|
5331
|
-
github?: {
|
|
5332
|
-
enabled?: boolean | undefined;
|
|
5333
|
-
token?: string | undefined;
|
|
5334
|
-
cloudSessions?: boolean | undefined;
|
|
5335
|
-
routes?: {
|
|
5336
|
-
agent: string;
|
|
5337
|
-
repo: string;
|
|
5338
|
-
}[] | undefined;
|
|
5339
|
-
webhookSecret?: string | undefined;
|
|
5340
|
-
autoReplyLegacy?: boolean | undefined;
|
|
5341
|
-
agentMappings?: {
|
|
5342
|
-
agentId: string;
|
|
5343
|
-
token?: string | undefined;
|
|
5344
|
-
node?: string | undefined;
|
|
5345
|
-
tokenFile?: string | undefined;
|
|
5346
|
-
githubUsernames?: string[] | undefined;
|
|
5347
|
-
}[] | undefined;
|
|
5348
|
-
tokenFile?: string | undefined;
|
|
5349
|
-
appId?: number | undefined;
|
|
5350
|
-
clientId?: string | undefined;
|
|
5351
|
-
privateKeyFile?: string | undefined;
|
|
5352
|
-
issueActions?: string[] | undefined;
|
|
5353
|
-
pullRequestActions?: string[] | undefined;
|
|
5354
|
-
ignoreOwnChanges?: boolean | undefined;
|
|
5355
|
-
debounceSeconds?: number | undefined;
|
|
5356
|
-
triggerLabel?: string | undefined;
|
|
5357
|
-
} | undefined;
|
|
5358
5376
|
webrtc?: {
|
|
5359
5377
|
enabled?: boolean | undefined;
|
|
5360
5378
|
camera?: {
|
|
@@ -5417,12 +5435,15 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5417
5435
|
value: z.ZodOptional<z.ZodObject<{
|
|
5418
5436
|
why: z.ZodString;
|
|
5419
5437
|
metric: z.ZodString;
|
|
5438
|
+
number: z.ZodOptional<z.ZodString>;
|
|
5420
5439
|
}, "strip", z.ZodTypeAny, {
|
|
5421
5440
|
why: string;
|
|
5422
5441
|
metric: string;
|
|
5442
|
+
number?: string | undefined;
|
|
5423
5443
|
}, {
|
|
5424
5444
|
why: string;
|
|
5425
5445
|
metric: string;
|
|
5446
|
+
number?: string | undefined;
|
|
5426
5447
|
}>>;
|
|
5427
5448
|
/** The goal record it serves (#1568), by id. Once the goal is done or
|
|
5428
5449
|
* dropped the job stops running (its config is left as it is: the Wall
|
|
@@ -5537,6 +5558,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5537
5558
|
value?: {
|
|
5538
5559
|
why: string;
|
|
5539
5560
|
metric: string;
|
|
5561
|
+
number?: string | undefined;
|
|
5540
5562
|
} | undefined;
|
|
5541
5563
|
report?: "always" | "exceptions" | undefined;
|
|
5542
5564
|
command?: string | undefined;
|
|
@@ -5566,6 +5588,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5566
5588
|
value?: {
|
|
5567
5589
|
why: string;
|
|
5568
5590
|
metric: string;
|
|
5591
|
+
number?: string | undefined;
|
|
5569
5592
|
} | undefined;
|
|
5570
5593
|
enabled?: boolean | undefined;
|
|
5571
5594
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -5605,6 +5628,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5605
5628
|
value?: {
|
|
5606
5629
|
why: string;
|
|
5607
5630
|
metric: string;
|
|
5631
|
+
number?: string | undefined;
|
|
5608
5632
|
} | undefined;
|
|
5609
5633
|
report?: "always" | "exceptions" | undefined;
|
|
5610
5634
|
command?: string | undefined;
|
|
@@ -5634,6 +5658,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5634
5658
|
value?: {
|
|
5635
5659
|
why: string;
|
|
5636
5660
|
metric: string;
|
|
5661
|
+
number?: string | undefined;
|
|
5637
5662
|
} | undefined;
|
|
5638
5663
|
enabled?: boolean | undefined;
|
|
5639
5664
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -5673,6 +5698,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5673
5698
|
value?: {
|
|
5674
5699
|
why: string;
|
|
5675
5700
|
metric: string;
|
|
5701
|
+
number?: string | undefined;
|
|
5676
5702
|
} | undefined;
|
|
5677
5703
|
report?: "always" | "exceptions" | undefined;
|
|
5678
5704
|
command?: string | undefined;
|
|
@@ -5702,6 +5728,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5702
5728
|
value?: {
|
|
5703
5729
|
why: string;
|
|
5704
5730
|
metric: string;
|
|
5731
|
+
number?: string | undefined;
|
|
5705
5732
|
} | undefined;
|
|
5706
5733
|
enabled?: boolean | undefined;
|
|
5707
5734
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -5741,6 +5768,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5741
5768
|
value?: {
|
|
5742
5769
|
why: string;
|
|
5743
5770
|
metric: string;
|
|
5771
|
+
number?: string | undefined;
|
|
5744
5772
|
} | undefined;
|
|
5745
5773
|
report?: "always" | "exceptions" | undefined;
|
|
5746
5774
|
command?: string | undefined;
|
|
@@ -5770,6 +5798,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5770
5798
|
value?: {
|
|
5771
5799
|
why: string;
|
|
5772
5800
|
metric: string;
|
|
5801
|
+
number?: string | undefined;
|
|
5773
5802
|
} | undefined;
|
|
5774
5803
|
enabled?: boolean | undefined;
|
|
5775
5804
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -6621,8 +6650,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6621
6650
|
}, "strip", z.ZodTypeAny, {
|
|
6622
6651
|
enabled: boolean;
|
|
6623
6652
|
style: "card" | "dialog";
|
|
6624
|
-
sound: string;
|
|
6625
6653
|
timeoutSeconds: number;
|
|
6654
|
+
sound: string;
|
|
6626
6655
|
volume: number;
|
|
6627
6656
|
theme: "system" | "light" | "dark";
|
|
6628
6657
|
speak: boolean;
|
|
@@ -6630,9 +6659,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6630
6659
|
}, {
|
|
6631
6660
|
enabled?: boolean | undefined;
|
|
6632
6661
|
style?: "card" | "dialog" | undefined;
|
|
6662
|
+
timeoutSeconds?: number | undefined;
|
|
6633
6663
|
voice?: string | undefined;
|
|
6634
6664
|
sound?: string | undefined;
|
|
6635
|
-
timeoutSeconds?: number | undefined;
|
|
6636
6665
|
volume?: number | undefined;
|
|
6637
6666
|
theme?: "system" | "light" | "dark" | undefined;
|
|
6638
6667
|
speak?: boolean | undefined;
|
|
@@ -6684,8 +6713,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6684
6713
|
popup: {
|
|
6685
6714
|
enabled: boolean;
|
|
6686
6715
|
style: "card" | "dialog";
|
|
6687
|
-
sound: string;
|
|
6688
6716
|
timeoutSeconds: number;
|
|
6717
|
+
sound: string;
|
|
6689
6718
|
volume: number;
|
|
6690
6719
|
theme: "system" | "light" | "dark";
|
|
6691
6720
|
speak: boolean;
|
|
@@ -6721,9 +6750,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6721
6750
|
popup?: {
|
|
6722
6751
|
enabled?: boolean | undefined;
|
|
6723
6752
|
style?: "card" | "dialog" | undefined;
|
|
6753
|
+
timeoutSeconds?: number | undefined;
|
|
6724
6754
|
voice?: string | undefined;
|
|
6725
6755
|
sound?: string | undefined;
|
|
6726
|
-
timeoutSeconds?: number | undefined;
|
|
6727
6756
|
volume?: number | undefined;
|
|
6728
6757
|
theme?: "system" | "light" | "dark" | undefined;
|
|
6729
6758
|
speak?: boolean | undefined;
|
|
@@ -6975,7 +7004,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6975
7004
|
maxReviewsPerPrPerDay: number;
|
|
6976
7005
|
ciWaitMinutes: number;
|
|
6977
7006
|
maxDiffKb: number;
|
|
6978
|
-
forges: ("
|
|
7007
|
+
forges: ("github" | "gitlab")[];
|
|
6979
7008
|
tests: Record<string, {
|
|
6980
7009
|
command: string;
|
|
6981
7010
|
timeoutMinutes: number;
|
|
@@ -6994,7 +7023,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6994
7023
|
maxReviewsPerPrPerDay?: number | undefined;
|
|
6995
7024
|
ciWaitMinutes?: number | undefined;
|
|
6996
7025
|
maxDiffKb?: number | undefined;
|
|
6997
|
-
forges?: ("
|
|
7026
|
+
forges?: ("github" | "gitlab")[] | undefined;
|
|
6998
7027
|
tests?: Record<string, {
|
|
6999
7028
|
command: string;
|
|
7000
7029
|
checkout: string;
|
|
@@ -7073,7 +7102,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7073
7102
|
maxReviewsPerPrPerDay: number;
|
|
7074
7103
|
ciWaitMinutes: number;
|
|
7075
7104
|
maxDiffKb: number;
|
|
7076
|
-
forges: ("
|
|
7105
|
+
forges: ("github" | "gitlab")[];
|
|
7077
7106
|
tests: Record<string, {
|
|
7078
7107
|
command: string;
|
|
7079
7108
|
timeoutMinutes: number;
|
|
@@ -7122,7 +7151,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7122
7151
|
maxReviewsPerPrPerDay?: number | undefined;
|
|
7123
7152
|
ciWaitMinutes?: number | undefined;
|
|
7124
7153
|
maxDiffKb?: number | undefined;
|
|
7125
|
-
forges?: ("
|
|
7154
|
+
forges?: ("github" | "gitlab")[] | undefined;
|
|
7126
7155
|
tests?: Record<string, {
|
|
7127
7156
|
command: string;
|
|
7128
7157
|
checkout: string;
|
|
@@ -7163,11 +7192,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7163
7192
|
}, "strip", z.ZodTypeAny, {
|
|
7164
7193
|
windowWaitMinutes: number;
|
|
7165
7194
|
forbidOnTimeoutRestart: boolean;
|
|
7166
|
-
allowBy?: string | undefined;
|
|
7167
7195
|
window?: string | undefined;
|
|
7168
|
-
}, {
|
|
7169
7196
|
allowBy?: string | undefined;
|
|
7197
|
+
}, {
|
|
7170
7198
|
window?: string | undefined;
|
|
7199
|
+
allowBy?: string | undefined;
|
|
7171
7200
|
windowWaitMinutes?: number | undefined;
|
|
7172
7201
|
forbidOnTimeoutRestart?: boolean | undefined;
|
|
7173
7202
|
}>>;
|
|
@@ -7175,14 +7204,14 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7175
7204
|
restart: {
|
|
7176
7205
|
windowWaitMinutes: number;
|
|
7177
7206
|
forbidOnTimeoutRestart: boolean;
|
|
7178
|
-
allowBy?: string | undefined;
|
|
7179
7207
|
window?: string | undefined;
|
|
7208
|
+
allowBy?: string | undefined;
|
|
7180
7209
|
};
|
|
7181
7210
|
drainTimeoutSeconds?: number | undefined;
|
|
7182
7211
|
}, {
|
|
7183
7212
|
restart?: {
|
|
7184
|
-
allowBy?: string | undefined;
|
|
7185
7213
|
window?: string | undefined;
|
|
7214
|
+
allowBy?: string | undefined;
|
|
7186
7215
|
windowWaitMinutes?: number | undefined;
|
|
7187
7216
|
forbidOnTimeoutRestart?: boolean | undefined;
|
|
7188
7217
|
} | undefined;
|
|
@@ -7598,16 +7627,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7598
7627
|
provider: string;
|
|
7599
7628
|
model: string;
|
|
7600
7629
|
enabled: boolean;
|
|
7630
|
+
timeoutSeconds: number;
|
|
7601
7631
|
dailyCap: number;
|
|
7602
7632
|
waitingOwner: boolean;
|
|
7603
|
-
timeoutSeconds: number;
|
|
7604
7633
|
}, {
|
|
7605
7634
|
provider?: string | undefined;
|
|
7606
7635
|
model?: string | undefined;
|
|
7607
7636
|
enabled?: boolean | undefined;
|
|
7637
|
+
timeoutSeconds?: number | undefined;
|
|
7608
7638
|
dailyCap?: number | undefined;
|
|
7609
7639
|
waitingOwner?: boolean | undefined;
|
|
7610
|
-
timeoutSeconds?: number | undefined;
|
|
7611
7640
|
}>>;
|
|
7612
7641
|
/** The owner-words check (src/requests/owner-check.ts): a request closed
|
|
7613
7642
|
* by anyone but the owner (an agent, a plan, a check) is read against
|
|
@@ -7797,29 +7826,29 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7797
7826
|
url?: string | undefined;
|
|
7798
7827
|
}>>;
|
|
7799
7828
|
}, "strip", z.ZodTypeAny, {
|
|
7800
|
-
enabled: ("reply" | "url" | "
|
|
7829
|
+
enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
|
|
7801
7830
|
repos: Record<string, string>;
|
|
7802
7831
|
checkEveryMinutes: number;
|
|
7803
|
-
gitlab?: {
|
|
7804
|
-
token?: string | undefined;
|
|
7805
|
-
url?: string | undefined;
|
|
7806
|
-
} | undefined;
|
|
7807
7832
|
github?: {
|
|
7808
7833
|
apiUrl: string;
|
|
7809
7834
|
token?: string | undefined;
|
|
7810
7835
|
} | undefined;
|
|
7811
|
-
}, {
|
|
7812
|
-
enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
|
|
7813
7836
|
gitlab?: {
|
|
7814
7837
|
token?: string | undefined;
|
|
7815
7838
|
url?: string | undefined;
|
|
7816
7839
|
} | undefined;
|
|
7840
|
+
}, {
|
|
7841
|
+
enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
|
|
7817
7842
|
repos?: Record<string, string> | undefined;
|
|
7843
|
+
checkEveryMinutes?: number | undefined;
|
|
7818
7844
|
github?: {
|
|
7819
7845
|
token?: string | undefined;
|
|
7820
7846
|
apiUrl?: string | undefined;
|
|
7821
7847
|
} | undefined;
|
|
7822
|
-
|
|
7848
|
+
gitlab?: {
|
|
7849
|
+
token?: string | undefined;
|
|
7850
|
+
url?: string | undefined;
|
|
7851
|
+
} | undefined;
|
|
7823
7852
|
}>>;
|
|
7824
7853
|
/** Status follows the work (src/requests/drift, #1138 step F): merged
|
|
7825
7854
|
* merge requests are mapped to the issues they close, and an issue
|
|
@@ -7846,12 +7875,12 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7846
7875
|
* git there instead of asking the forge. */
|
|
7847
7876
|
repo: z.ZodOptional<z.ZodString>;
|
|
7848
7877
|
}, "strip", z.ZodTypeAny, {
|
|
7849
|
-
provider: "
|
|
7878
|
+
provider: "github" | "gitlab";
|
|
7850
7879
|
project: string;
|
|
7851
7880
|
live: string[];
|
|
7852
7881
|
repo?: string | undefined;
|
|
7853
7882
|
}, {
|
|
7854
|
-
provider: "
|
|
7883
|
+
provider: "github" | "gitlab";
|
|
7855
7884
|
project: string;
|
|
7856
7885
|
repo?: string | undefined;
|
|
7857
7886
|
live?: string[] | undefined;
|
|
@@ -7887,40 +7916,40 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7887
7916
|
writeProjects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7888
7917
|
}, "strip", z.ZodTypeAny, {
|
|
7889
7918
|
enabled: boolean;
|
|
7890
|
-
|
|
7891
|
-
provider: "gitlab" | "github";
|
|
7892
|
-
project: string;
|
|
7893
|
-
live: string[];
|
|
7894
|
-
repo?: string | undefined;
|
|
7895
|
-
}[];
|
|
7919
|
+
checkEveryMinutes: number;
|
|
7896
7920
|
labels: {
|
|
7897
7921
|
done: string[];
|
|
7898
7922
|
todo: string[];
|
|
7899
7923
|
doing: string[];
|
|
7900
7924
|
review: string[];
|
|
7901
7925
|
};
|
|
7926
|
+
projects: {
|
|
7927
|
+
provider: "github" | "gitlab";
|
|
7928
|
+
project: string;
|
|
7929
|
+
live: string[];
|
|
7930
|
+
repo?: string | undefined;
|
|
7931
|
+
}[];
|
|
7902
7932
|
write: boolean;
|
|
7903
|
-
checkEveryMinutes: number;
|
|
7904
7933
|
lookbackDays: number;
|
|
7905
7934
|
liveField: string;
|
|
7906
7935
|
doneNotLiveAfterHours: number;
|
|
7907
7936
|
writeProjects: string[];
|
|
7908
7937
|
}, {
|
|
7909
7938
|
enabled?: boolean | undefined;
|
|
7910
|
-
|
|
7911
|
-
provider: "gitlab" | "github";
|
|
7912
|
-
project: string;
|
|
7913
|
-
repo?: string | undefined;
|
|
7914
|
-
live?: string[] | undefined;
|
|
7915
|
-
}[] | undefined;
|
|
7939
|
+
checkEveryMinutes?: number | undefined;
|
|
7916
7940
|
labels?: {
|
|
7917
7941
|
done?: string[] | undefined;
|
|
7918
7942
|
todo?: string[] | undefined;
|
|
7919
7943
|
doing?: string[] | undefined;
|
|
7920
7944
|
review?: string[] | undefined;
|
|
7921
7945
|
} | undefined;
|
|
7946
|
+
projects?: {
|
|
7947
|
+
provider: "github" | "gitlab";
|
|
7948
|
+
project: string;
|
|
7949
|
+
repo?: string | undefined;
|
|
7950
|
+
live?: string[] | undefined;
|
|
7951
|
+
}[] | undefined;
|
|
7922
7952
|
write?: boolean | undefined;
|
|
7923
|
-
checkEveryMinutes?: number | undefined;
|
|
7924
7953
|
lookbackDays?: number | undefined;
|
|
7925
7954
|
liveField?: string | undefined;
|
|
7926
7955
|
doneNotLiveAfterHours?: number | undefined;
|
|
@@ -7978,17 +8007,17 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7978
8007
|
staleAfterHours: number;
|
|
7979
8008
|
retentionDays: number;
|
|
7980
8009
|
checkers: {
|
|
7981
|
-
enabled: ("reply" | "url" | "
|
|
8010
|
+
enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
|
|
7982
8011
|
repos: Record<string, string>;
|
|
7983
8012
|
checkEveryMinutes: number;
|
|
7984
|
-
gitlab?: {
|
|
7985
|
-
token?: string | undefined;
|
|
7986
|
-
url?: string | undefined;
|
|
7987
|
-
} | undefined;
|
|
7988
8013
|
github?: {
|
|
7989
8014
|
apiUrl: string;
|
|
7990
8015
|
token?: string | undefined;
|
|
7991
8016
|
} | undefined;
|
|
8017
|
+
gitlab?: {
|
|
8018
|
+
token?: string | undefined;
|
|
8019
|
+
url?: string | undefined;
|
|
8020
|
+
} | undefined;
|
|
7992
8021
|
};
|
|
7993
8022
|
headlines: {
|
|
7994
8023
|
provider: string;
|
|
@@ -8002,20 +8031,20 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8002
8031
|
releaseOnOwnerTurn: boolean;
|
|
8003
8032
|
statusDrift: {
|
|
8004
8033
|
enabled: boolean;
|
|
8005
|
-
|
|
8006
|
-
provider: "gitlab" | "github";
|
|
8007
|
-
project: string;
|
|
8008
|
-
live: string[];
|
|
8009
|
-
repo?: string | undefined;
|
|
8010
|
-
}[];
|
|
8034
|
+
checkEveryMinutes: number;
|
|
8011
8035
|
labels: {
|
|
8012
8036
|
done: string[];
|
|
8013
8037
|
todo: string[];
|
|
8014
8038
|
doing: string[];
|
|
8015
8039
|
review: string[];
|
|
8016
8040
|
};
|
|
8041
|
+
projects: {
|
|
8042
|
+
provider: "github" | "gitlab";
|
|
8043
|
+
project: string;
|
|
8044
|
+
live: string[];
|
|
8045
|
+
repo?: string | undefined;
|
|
8046
|
+
}[];
|
|
8017
8047
|
write: boolean;
|
|
8018
|
-
checkEveryMinutes: number;
|
|
8019
8048
|
lookbackDays: number;
|
|
8020
8049
|
liveField: string;
|
|
8021
8050
|
doneNotLiveAfterHours: number;
|
|
@@ -8032,9 +8061,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8032
8061
|
provider: string;
|
|
8033
8062
|
model: string;
|
|
8034
8063
|
enabled: boolean;
|
|
8064
|
+
timeoutSeconds: number;
|
|
8035
8065
|
dailyCap: number;
|
|
8036
8066
|
waitingOwner: boolean;
|
|
8037
|
-
timeoutSeconds: number;
|
|
8038
8067
|
};
|
|
8039
8068
|
autoResend: {
|
|
8040
8069
|
enabled: boolean;
|
|
@@ -8079,17 +8108,17 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8079
8108
|
staleAfterHours?: number | undefined;
|
|
8080
8109
|
retentionDays?: number | undefined;
|
|
8081
8110
|
checkers?: {
|
|
8082
|
-
enabled?: ("reply" | "url" | "
|
|
8083
|
-
gitlab?: {
|
|
8084
|
-
token?: string | undefined;
|
|
8085
|
-
url?: string | undefined;
|
|
8086
|
-
} | undefined;
|
|
8111
|
+
enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
|
|
8087
8112
|
repos?: Record<string, string> | undefined;
|
|
8113
|
+
checkEveryMinutes?: number | undefined;
|
|
8088
8114
|
github?: {
|
|
8089
8115
|
token?: string | undefined;
|
|
8090
8116
|
apiUrl?: string | undefined;
|
|
8091
8117
|
} | undefined;
|
|
8092
|
-
|
|
8118
|
+
gitlab?: {
|
|
8119
|
+
token?: string | undefined;
|
|
8120
|
+
url?: string | undefined;
|
|
8121
|
+
} | undefined;
|
|
8093
8122
|
} | undefined;
|
|
8094
8123
|
headlines?: {
|
|
8095
8124
|
provider?: string | undefined;
|
|
@@ -8103,20 +8132,20 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8103
8132
|
releaseOnOwnerTurn?: boolean | undefined;
|
|
8104
8133
|
statusDrift?: {
|
|
8105
8134
|
enabled?: boolean | undefined;
|
|
8106
|
-
|
|
8107
|
-
provider: "gitlab" | "github";
|
|
8108
|
-
project: string;
|
|
8109
|
-
repo?: string | undefined;
|
|
8110
|
-
live?: string[] | undefined;
|
|
8111
|
-
}[] | undefined;
|
|
8135
|
+
checkEveryMinutes?: number | undefined;
|
|
8112
8136
|
labels?: {
|
|
8113
8137
|
done?: string[] | undefined;
|
|
8114
8138
|
todo?: string[] | undefined;
|
|
8115
8139
|
doing?: string[] | undefined;
|
|
8116
8140
|
review?: string[] | undefined;
|
|
8117
8141
|
} | undefined;
|
|
8142
|
+
projects?: {
|
|
8143
|
+
provider: "github" | "gitlab";
|
|
8144
|
+
project: string;
|
|
8145
|
+
repo?: string | undefined;
|
|
8146
|
+
live?: string[] | undefined;
|
|
8147
|
+
}[] | undefined;
|
|
8118
8148
|
write?: boolean | undefined;
|
|
8119
|
-
checkEveryMinutes?: number | undefined;
|
|
8120
8149
|
lookbackDays?: number | undefined;
|
|
8121
8150
|
liveField?: string | undefined;
|
|
8122
8151
|
doneNotLiveAfterHours?: number | undefined;
|
|
@@ -8133,9 +8162,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8133
8162
|
provider?: string | undefined;
|
|
8134
8163
|
model?: string | undefined;
|
|
8135
8164
|
enabled?: boolean | undefined;
|
|
8165
|
+
timeoutSeconds?: number | undefined;
|
|
8136
8166
|
dailyCap?: number | undefined;
|
|
8137
8167
|
waitingOwner?: boolean | undefined;
|
|
8138
|
-
timeoutSeconds?: number | undefined;
|
|
8139
8168
|
} | undefined;
|
|
8140
8169
|
autoResend?: {
|
|
8141
8170
|
enabled?: boolean | undefined;
|
|
@@ -8151,6 +8180,19 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8151
8180
|
idleMinutes?: number | undefined;
|
|
8152
8181
|
} | undefined;
|
|
8153
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
|
+
}>>;
|
|
8154
8196
|
/** Task watchers (src/watchers, #1030): every task start decides whether
|
|
8155
8197
|
* the task needs a watcher and attaches one. Off by default. */
|
|
8156
8198
|
watchers: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
@@ -8317,7 +8359,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8317
8359
|
skills: string[];
|
|
8318
8360
|
tools: string[];
|
|
8319
8361
|
};
|
|
8320
|
-
role: "
|
|
8362
|
+
role: "owner" | "client" | "guest" | "member";
|
|
8321
8363
|
identities: string[];
|
|
8322
8364
|
say?: string | undefined;
|
|
8323
8365
|
}, {
|
|
@@ -8328,7 +8370,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8328
8370
|
skills?: string[] | undefined;
|
|
8329
8371
|
tools?: string[] | undefined;
|
|
8330
8372
|
} | undefined;
|
|
8331
|
-
role?: "
|
|
8373
|
+
role?: "owner" | "client" | "guest" | "member" | undefined;
|
|
8332
8374
|
say?: string | undefined;
|
|
8333
8375
|
identities?: string[] | undefined;
|
|
8334
8376
|
}>, "many">>, {
|
|
@@ -8339,7 +8381,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8339
8381
|
skills: string[];
|
|
8340
8382
|
tools: string[];
|
|
8341
8383
|
};
|
|
8342
|
-
role: "
|
|
8384
|
+
role: "owner" | "client" | "guest" | "member";
|
|
8343
8385
|
identities: string[];
|
|
8344
8386
|
say?: string | undefined;
|
|
8345
8387
|
}[], {
|
|
@@ -8350,7 +8392,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8350
8392
|
skills?: string[] | undefined;
|
|
8351
8393
|
tools?: string[] | undefined;
|
|
8352
8394
|
} | undefined;
|
|
8353
|
-
role?: "
|
|
8395
|
+
role?: "owner" | "client" | "guest" | "member" | undefined;
|
|
8354
8396
|
say?: string | undefined;
|
|
8355
8397
|
identities?: string[] | undefined;
|
|
8356
8398
|
}[] | undefined>;
|
|
@@ -8416,8 +8458,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8416
8458
|
}, "strip", z.ZodTypeAny, {
|
|
8417
8459
|
enabled: boolean;
|
|
8418
8460
|
command: string[];
|
|
8419
|
-
time: string;
|
|
8420
8461
|
timeoutSeconds: number;
|
|
8462
|
+
time: string;
|
|
8421
8463
|
baseline: string;
|
|
8422
8464
|
gates: {
|
|
8423
8465
|
id: string;
|
|
@@ -8426,16 +8468,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8426
8468
|
until?: string | undefined;
|
|
8427
8469
|
}[];
|
|
8428
8470
|
repo?: string | undefined;
|
|
8429
|
-
timezone?: string | undefined;
|
|
8430
8471
|
issue?: number | undefined;
|
|
8472
|
+
timezone?: string | undefined;
|
|
8431
8473
|
}, {
|
|
8432
8474
|
enabled?: boolean | undefined;
|
|
8433
8475
|
command?: string[] | undefined;
|
|
8434
8476
|
repo?: string | undefined;
|
|
8435
|
-
timezone?: string | undefined;
|
|
8436
|
-
time?: string | undefined;
|
|
8437
8477
|
issue?: number | undefined;
|
|
8438
8478
|
timeoutSeconds?: number | undefined;
|
|
8479
|
+
timezone?: string | undefined;
|
|
8480
|
+
time?: string | undefined;
|
|
8439
8481
|
baseline?: string | undefined;
|
|
8440
8482
|
gates?: {
|
|
8441
8483
|
id: string;
|
|
@@ -8446,8 +8488,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8446
8488
|
}>>, {
|
|
8447
8489
|
enabled: boolean;
|
|
8448
8490
|
command: string[];
|
|
8449
|
-
time: string;
|
|
8450
8491
|
timeoutSeconds: number;
|
|
8492
|
+
time: string;
|
|
8451
8493
|
baseline: string;
|
|
8452
8494
|
gates: {
|
|
8453
8495
|
id: string;
|
|
@@ -8456,16 +8498,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8456
8498
|
until?: string | undefined;
|
|
8457
8499
|
}[];
|
|
8458
8500
|
repo?: string | undefined;
|
|
8459
|
-
timezone?: string | undefined;
|
|
8460
8501
|
issue?: number | undefined;
|
|
8502
|
+
timezone?: string | undefined;
|
|
8461
8503
|
}, {
|
|
8462
8504
|
enabled?: boolean | undefined;
|
|
8463
8505
|
command?: string[] | undefined;
|
|
8464
8506
|
repo?: string | undefined;
|
|
8465
|
-
timezone?: string | undefined;
|
|
8466
|
-
time?: string | undefined;
|
|
8467
8507
|
issue?: number | undefined;
|
|
8468
8508
|
timeoutSeconds?: number | undefined;
|
|
8509
|
+
timezone?: string | undefined;
|
|
8510
|
+
time?: string | undefined;
|
|
8469
8511
|
baseline?: string | undefined;
|
|
8470
8512
|
gates?: {
|
|
8471
8513
|
id: string;
|
|
@@ -9378,9 +9420,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9378
9420
|
path?: string | undefined;
|
|
9379
9421
|
}>, z.ZodObject<{
|
|
9380
9422
|
type: z.ZodLiteral<"gitlab">;
|
|
9381
|
-
/** A list of agentx MCP tool names (session.lean.agentxTools). An unknown
|
|
9382
|
-
* name is an error, not ignored: a misspelt `agentx_channel_reply` would
|
|
9383
|
-
* otherwise leave a lean GitHub session with no way to reply. */
|
|
9384
9423
|
projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
9385
9424
|
}, "strip", z.ZodTypeAny, {
|
|
9386
9425
|
type: "gitlab";
|
|
@@ -9436,8 +9475,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9436
9475
|
}>>;
|
|
9437
9476
|
}, "strip", z.ZodTypeAny, {
|
|
9438
9477
|
end: string;
|
|
9439
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9440
9478
|
start: string;
|
|
9479
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9441
9480
|
lunch?: {
|
|
9442
9481
|
end: string;
|
|
9443
9482
|
start: string;
|
|
@@ -9456,8 +9495,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9456
9495
|
role: string;
|
|
9457
9496
|
schedule: {
|
|
9458
9497
|
end: string;
|
|
9459
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9460
9498
|
start: string;
|
|
9499
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9461
9500
|
lunch?: {
|
|
9462
9501
|
end: string;
|
|
9463
9502
|
start: string;
|
|
@@ -9550,16 +9589,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9550
9589
|
channel?: string | undefined;
|
|
9551
9590
|
chatId?: string | undefined;
|
|
9552
9591
|
username?: string | undefined;
|
|
9553
|
-
senderId?: string | undefined;
|
|
9554
9592
|
project?: string | undefined;
|
|
9593
|
+
senderId?: string | undefined;
|
|
9555
9594
|
displayName?: string | undefined;
|
|
9556
9595
|
}, {
|
|
9557
9596
|
client: string;
|
|
9558
9597
|
channel?: string | undefined;
|
|
9559
9598
|
chatId?: string | undefined;
|
|
9560
9599
|
username?: string | undefined;
|
|
9561
|
-
senderId?: string | undefined;
|
|
9562
9600
|
project?: string | undefined;
|
|
9601
|
+
senderId?: string | undefined;
|
|
9563
9602
|
displayName?: string | undefined;
|
|
9564
9603
|
}>, "many">>;
|
|
9565
9604
|
clients: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -9602,8 +9641,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9602
9641
|
role: string;
|
|
9603
9642
|
schedule: {
|
|
9604
9643
|
end: string;
|
|
9605
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9606
9644
|
start: string;
|
|
9645
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9607
9646
|
lunch?: {
|
|
9608
9647
|
end: string;
|
|
9609
9648
|
start: string;
|
|
@@ -9657,8 +9696,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9657
9696
|
channel?: string | undefined;
|
|
9658
9697
|
chatId?: string | undefined;
|
|
9659
9698
|
username?: string | undefined;
|
|
9660
|
-
senderId?: string | undefined;
|
|
9661
9699
|
project?: string | undefined;
|
|
9700
|
+
senderId?: string | undefined;
|
|
9662
9701
|
displayName?: string | undefined;
|
|
9663
9702
|
}[];
|
|
9664
9703
|
clients: Record<string, {
|
|
@@ -9746,8 +9785,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9746
9785
|
channel?: string | undefined;
|
|
9747
9786
|
chatId?: string | undefined;
|
|
9748
9787
|
username?: string | undefined;
|
|
9749
|
-
senderId?: string | undefined;
|
|
9750
9788
|
project?: string | undefined;
|
|
9789
|
+
senderId?: string | undefined;
|
|
9751
9790
|
displayName?: string | undefined;
|
|
9752
9791
|
}[] | undefined;
|
|
9753
9792
|
clients?: Record<string, {
|
|
@@ -9770,8 +9809,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9770
9809
|
role: string;
|
|
9771
9810
|
schedule: {
|
|
9772
9811
|
end: string;
|
|
9773
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9774
9812
|
start: string;
|
|
9813
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
9775
9814
|
lunch?: {
|
|
9776
9815
|
end: string;
|
|
9777
9816
|
start: string;
|
|
@@ -9825,8 +9864,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9825
9864
|
channel?: string | undefined;
|
|
9826
9865
|
chatId?: string | undefined;
|
|
9827
9866
|
username?: string | undefined;
|
|
9828
|
-
senderId?: string | undefined;
|
|
9829
9867
|
project?: string | undefined;
|
|
9868
|
+
senderId?: string | undefined;
|
|
9830
9869
|
displayName?: string | undefined;
|
|
9831
9870
|
}[];
|
|
9832
9871
|
clients: Record<string, {
|
|
@@ -9914,8 +9953,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9914
9953
|
channel?: string | undefined;
|
|
9915
9954
|
chatId?: string | undefined;
|
|
9916
9955
|
username?: string | undefined;
|
|
9917
|
-
senderId?: string | undefined;
|
|
9918
9956
|
project?: string | undefined;
|
|
9957
|
+
senderId?: string | undefined;
|
|
9919
9958
|
displayName?: string | undefined;
|
|
9920
9959
|
}[] | undefined;
|
|
9921
9960
|
clients?: Record<string, {
|
|
@@ -9970,8 +10009,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9970
10009
|
accent: z.ZodOptional<z.ZodString>;
|
|
9971
10010
|
}, "strip", z.ZodTypeAny, {
|
|
9972
10011
|
id: string;
|
|
10012
|
+
kind: "label" | "closed" | "open-backlog" | "scoped-label";
|
|
9973
10013
|
title: string;
|
|
9974
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
9975
10014
|
scopedPrefix: string;
|
|
9976
10015
|
mapsToLabel?: string | undefined;
|
|
9977
10016
|
scopedLabel?: string | undefined;
|
|
@@ -9979,7 +10018,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9979
10018
|
}, {
|
|
9980
10019
|
id: string;
|
|
9981
10020
|
title: string;
|
|
9982
|
-
kind?: "label" | "open-backlog" | "scoped-label" |
|
|
10021
|
+
kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
|
|
9983
10022
|
mapsToLabel?: string | undefined;
|
|
9984
10023
|
scopedLabel?: string | undefined;
|
|
9985
10024
|
scopedPrefix?: string | undefined;
|
|
@@ -10020,8 +10059,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10020
10059
|
}[];
|
|
10021
10060
|
columns: {
|
|
10022
10061
|
id: string;
|
|
10062
|
+
kind: "label" | "closed" | "open-backlog" | "scoped-label";
|
|
10023
10063
|
title: string;
|
|
10024
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
10025
10064
|
scopedPrefix: string;
|
|
10026
10065
|
mapsToLabel?: string | undefined;
|
|
10027
10066
|
scopedLabel?: string | undefined;
|
|
@@ -10044,16 +10083,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10044
10083
|
type: "gitlab";
|
|
10045
10084
|
projects: string[];
|
|
10046
10085
|
};
|
|
10047
|
-
primaryToolLabel?: string | undefined;
|
|
10048
10086
|
labels?: {
|
|
10049
10087
|
name: string;
|
|
10050
10088
|
description?: string | undefined;
|
|
10051
10089
|
color?: string | undefined;
|
|
10052
10090
|
}[] | undefined;
|
|
10091
|
+
primaryToolLabel?: string | undefined;
|
|
10053
10092
|
columns?: {
|
|
10054
10093
|
id: string;
|
|
10055
10094
|
title: string;
|
|
10056
|
-
kind?: "label" | "open-backlog" | "scoped-label" |
|
|
10095
|
+
kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
|
|
10057
10096
|
mapsToLabel?: string | undefined;
|
|
10058
10097
|
scopedLabel?: string | undefined;
|
|
10059
10098
|
scopedPrefix?: string | undefined;
|
|
@@ -10126,8 +10165,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10126
10165
|
}, {
|
|
10127
10166
|
name: string;
|
|
10128
10167
|
agents?: string[] | undefined;
|
|
10129
|
-
rhythmHours?: number | undefined;
|
|
10130
10168
|
repos?: string[] | undefined;
|
|
10169
|
+
rhythmHours?: number | undefined;
|
|
10131
10170
|
workspaces?: string[] | undefined;
|
|
10132
10171
|
budget?: {
|
|
10133
10172
|
monthlyUsd?: number | undefined;
|
|
@@ -10161,8 +10200,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10161
10200
|
projects?: {
|
|
10162
10201
|
name: string;
|
|
10163
10202
|
agents?: string[] | undefined;
|
|
10164
|
-
rhythmHours?: number | undefined;
|
|
10165
10203
|
repos?: string[] | undefined;
|
|
10204
|
+
rhythmHours?: number | undefined;
|
|
10166
10205
|
workspaces?: string[] | undefined;
|
|
10167
10206
|
budget?: {
|
|
10168
10207
|
monthlyUsd?: number | undefined;
|
|
@@ -10223,8 +10262,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10223
10262
|
projects?: {
|
|
10224
10263
|
name: string;
|
|
10225
10264
|
agents?: string[] | undefined;
|
|
10226
|
-
rhythmHours?: number | undefined;
|
|
10227
10265
|
repos?: string[] | undefined;
|
|
10266
|
+
rhythmHours?: number | undefined;
|
|
10228
10267
|
workspaces?: string[] | undefined;
|
|
10229
10268
|
budget?: {
|
|
10230
10269
|
monthlyUsd?: number | undefined;
|
|
@@ -10248,24 +10287,24 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10248
10287
|
forge: z.ZodEnum<["github", "gitlab"]>;
|
|
10249
10288
|
project: z.ZodString;
|
|
10250
10289
|
}, "strip", z.ZodTypeAny, {
|
|
10290
|
+
forge: "github" | "gitlab";
|
|
10251
10291
|
project: string;
|
|
10252
|
-
forge: "gitlab" | "github";
|
|
10253
10292
|
}, {
|
|
10293
|
+
forge: "github" | "gitlab";
|
|
10254
10294
|
project: string;
|
|
10255
|
-
forge: "gitlab" | "github";
|
|
10256
10295
|
}>, "many">;
|
|
10257
10296
|
}, "strip", z.ZodTypeAny, {
|
|
10258
10297
|
label: string;
|
|
10259
10298
|
sources: {
|
|
10299
|
+
forge: "github" | "gitlab";
|
|
10260
10300
|
project: string;
|
|
10261
|
-
forge: "gitlab" | "github";
|
|
10262
10301
|
}[];
|
|
10263
10302
|
titleSignature?: string | undefined;
|
|
10264
10303
|
}, {
|
|
10265
10304
|
label: string;
|
|
10266
10305
|
sources: {
|
|
10306
|
+
forge: "github" | "gitlab";
|
|
10267
10307
|
project: string;
|
|
10268
|
-
forge: "gitlab" | "github";
|
|
10269
10308
|
}[];
|
|
10270
10309
|
titleSignature?: string | undefined;
|
|
10271
10310
|
}>>;
|
|
@@ -10327,8 +10366,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10327
10366
|
reportedIssues?: {
|
|
10328
10367
|
label: string;
|
|
10329
10368
|
sources: {
|
|
10369
|
+
forge: "github" | "gitlab";
|
|
10330
10370
|
project: string;
|
|
10331
|
-
forge: "gitlab" | "github";
|
|
10332
10371
|
}[];
|
|
10333
10372
|
titleSignature?: string | undefined;
|
|
10334
10373
|
} | undefined;
|
|
@@ -10347,8 +10386,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10347
10386
|
reportedIssues?: {
|
|
10348
10387
|
label: string;
|
|
10349
10388
|
sources: {
|
|
10389
|
+
forge: "github" | "gitlab";
|
|
10350
10390
|
project: string;
|
|
10351
|
-
forge: "gitlab" | "github";
|
|
10352
10391
|
}[];
|
|
10353
10392
|
titleSignature?: string | undefined;
|
|
10354
10393
|
} | undefined;
|
|
@@ -11568,9 +11607,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11568
11607
|
} | {
|
|
11569
11608
|
type: "http";
|
|
11570
11609
|
url: string;
|
|
11610
|
+
headers?: Record<string, string> | undefined;
|
|
11571
11611
|
allowTools?: string[] | undefined;
|
|
11572
11612
|
readTools?: string[] | undefined;
|
|
11573
|
-
headers?: Record<string, string> | undefined;
|
|
11574
11613
|
headersEnv?: Record<string, string> | undefined;
|
|
11575
11614
|
}> | undefined;
|
|
11576
11615
|
admin?: boolean | undefined;
|
|
@@ -11664,17 +11703,17 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11664
11703
|
staleAfterHours: number;
|
|
11665
11704
|
retentionDays: number;
|
|
11666
11705
|
checkers: {
|
|
11667
|
-
enabled: ("reply" | "url" | "
|
|
11706
|
+
enabled: ("reply" | "url" | "git-ancestor" | "issue")[];
|
|
11668
11707
|
repos: Record<string, string>;
|
|
11669
11708
|
checkEveryMinutes: number;
|
|
11670
|
-
gitlab?: {
|
|
11671
|
-
token?: string | undefined;
|
|
11672
|
-
url?: string | undefined;
|
|
11673
|
-
} | undefined;
|
|
11674
11709
|
github?: {
|
|
11675
11710
|
apiUrl: string;
|
|
11676
11711
|
token?: string | undefined;
|
|
11677
11712
|
} | undefined;
|
|
11713
|
+
gitlab?: {
|
|
11714
|
+
token?: string | undefined;
|
|
11715
|
+
url?: string | undefined;
|
|
11716
|
+
} | undefined;
|
|
11678
11717
|
};
|
|
11679
11718
|
headlines: {
|
|
11680
11719
|
provider: string;
|
|
@@ -11688,20 +11727,20 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11688
11727
|
releaseOnOwnerTurn: boolean;
|
|
11689
11728
|
statusDrift: {
|
|
11690
11729
|
enabled: boolean;
|
|
11691
|
-
|
|
11692
|
-
provider: "gitlab" | "github";
|
|
11693
|
-
project: string;
|
|
11694
|
-
live: string[];
|
|
11695
|
-
repo?: string | undefined;
|
|
11696
|
-
}[];
|
|
11730
|
+
checkEveryMinutes: number;
|
|
11697
11731
|
labels: {
|
|
11698
11732
|
done: string[];
|
|
11699
11733
|
todo: string[];
|
|
11700
11734
|
doing: string[];
|
|
11701
11735
|
review: string[];
|
|
11702
11736
|
};
|
|
11737
|
+
projects: {
|
|
11738
|
+
provider: "github" | "gitlab";
|
|
11739
|
+
project: string;
|
|
11740
|
+
live: string[];
|
|
11741
|
+
repo?: string | undefined;
|
|
11742
|
+
}[];
|
|
11703
11743
|
write: boolean;
|
|
11704
|
-
checkEveryMinutes: number;
|
|
11705
11744
|
lookbackDays: number;
|
|
11706
11745
|
liveField: string;
|
|
11707
11746
|
doneNotLiveAfterHours: number;
|
|
@@ -11718,9 +11757,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11718
11757
|
provider: string;
|
|
11719
11758
|
model: string;
|
|
11720
11759
|
enabled: boolean;
|
|
11760
|
+
timeoutSeconds: number;
|
|
11721
11761
|
dailyCap: number;
|
|
11722
11762
|
waitingOwner: boolean;
|
|
11723
|
-
timeoutSeconds: number;
|
|
11724
11763
|
};
|
|
11725
11764
|
autoResend: {
|
|
11726
11765
|
enabled: boolean;
|
|
@@ -11747,7 +11786,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11747
11786
|
skills: string[];
|
|
11748
11787
|
tools: string[];
|
|
11749
11788
|
};
|
|
11750
|
-
role: "
|
|
11789
|
+
role: "owner" | "client" | "guest" | "member";
|
|
11751
11790
|
identities: string[];
|
|
11752
11791
|
say?: string | undefined;
|
|
11753
11792
|
}[];
|
|
@@ -11828,8 +11867,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11828
11867
|
reportedIssues?: {
|
|
11829
11868
|
label: string;
|
|
11830
11869
|
sources: {
|
|
11870
|
+
forge: "github" | "gitlab";
|
|
11831
11871
|
project: string;
|
|
11832
|
-
forge: "gitlab" | "github";
|
|
11833
11872
|
}[];
|
|
11834
11873
|
titleSignature?: string | undefined;
|
|
11835
11874
|
} | undefined;
|
|
@@ -11993,8 +12032,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11993
12032
|
popup: {
|
|
11994
12033
|
enabled: boolean;
|
|
11995
12034
|
style: "card" | "dialog";
|
|
11996
|
-
sound: string;
|
|
11997
12035
|
timeoutSeconds: number;
|
|
12036
|
+
sound: string;
|
|
11998
12037
|
volume: number;
|
|
11999
12038
|
theme: "system" | "light" | "dark";
|
|
12000
12039
|
speak: boolean;
|
|
@@ -12063,6 +12102,33 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12063
12102
|
allowFrom?: string[] | undefined;
|
|
12064
12103
|
}>;
|
|
12065
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
|
+
};
|
|
12066
12132
|
gitlab: {
|
|
12067
12133
|
enabled: boolean;
|
|
12068
12134
|
host: string;
|
|
@@ -12126,33 +12192,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12126
12192
|
allowFrom?: string[] | undefined;
|
|
12127
12193
|
defaultAgent?: string | undefined;
|
|
12128
12194
|
};
|
|
12129
|
-
github: {
|
|
12130
|
-
enabled: boolean;
|
|
12131
|
-
cloudSessions: boolean;
|
|
12132
|
-
routes: {
|
|
12133
|
-
agent: string;
|
|
12134
|
-
repo: string;
|
|
12135
|
-
}[];
|
|
12136
|
-
autoReplyLegacy: boolean;
|
|
12137
|
-
agentMappings: {
|
|
12138
|
-
agentId: string;
|
|
12139
|
-
githubUsernames: string[];
|
|
12140
|
-
token?: string | undefined;
|
|
12141
|
-
node?: string | undefined;
|
|
12142
|
-
tokenFile?: string | undefined;
|
|
12143
|
-
}[];
|
|
12144
|
-
issueActions: string[];
|
|
12145
|
-
pullRequestActions: string[];
|
|
12146
|
-
ignoreOwnChanges: boolean;
|
|
12147
|
-
debounceSeconds: number;
|
|
12148
|
-
triggerLabel: string;
|
|
12149
|
-
token?: string | undefined;
|
|
12150
|
-
webhookSecret?: string | undefined;
|
|
12151
|
-
tokenFile?: string | undefined;
|
|
12152
|
-
appId?: number | undefined;
|
|
12153
|
-
clientId?: string | undefined;
|
|
12154
|
-
privateKeyFile?: string | undefined;
|
|
12155
|
-
};
|
|
12156
12195
|
webrtc: {
|
|
12157
12196
|
enabled: boolean;
|
|
12158
12197
|
camera: {
|
|
@@ -12259,6 +12298,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12259
12298
|
value?: {
|
|
12260
12299
|
why: string;
|
|
12261
12300
|
metric: string;
|
|
12301
|
+
number?: string | undefined;
|
|
12262
12302
|
} | undefined;
|
|
12263
12303
|
report?: "always" | "exceptions" | undefined;
|
|
12264
12304
|
command?: string | undefined;
|
|
@@ -12348,7 +12388,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12348
12388
|
maxReviewsPerPrPerDay: number;
|
|
12349
12389
|
ciWaitMinutes: number;
|
|
12350
12390
|
maxDiffKb: number;
|
|
12351
|
-
forges: ("
|
|
12391
|
+
forges: ("github" | "gitlab")[];
|
|
12352
12392
|
tests: Record<string, {
|
|
12353
12393
|
command: string;
|
|
12354
12394
|
timeoutMinutes: number;
|
|
@@ -12492,8 +12532,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12492
12532
|
restart: {
|
|
12493
12533
|
windowWaitMinutes: number;
|
|
12494
12534
|
forbidOnTimeoutRestart: boolean;
|
|
12495
|
-
allowBy?: string | undefined;
|
|
12496
12535
|
window?: string | undefined;
|
|
12536
|
+
allowBy?: string | undefined;
|
|
12497
12537
|
};
|
|
12498
12538
|
drainTimeoutSeconds?: number | undefined;
|
|
12499
12539
|
};
|
|
@@ -12552,14 +12592,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12552
12592
|
maxPerRoot: number;
|
|
12553
12593
|
saveBuilderWork: boolean;
|
|
12554
12594
|
};
|
|
12595
|
+
numbers: {
|
|
12596
|
+
items: Record<string, Record<string, unknown>>;
|
|
12597
|
+
retryMinutes: number;
|
|
12598
|
+
};
|
|
12555
12599
|
requestStatus: {
|
|
12556
12600
|
channels: string[];
|
|
12557
12601
|
};
|
|
12558
12602
|
qualityReport: {
|
|
12559
12603
|
enabled: boolean;
|
|
12560
12604
|
command: string[];
|
|
12561
|
-
time: string;
|
|
12562
12605
|
timeoutSeconds: number;
|
|
12606
|
+
time: string;
|
|
12563
12607
|
baseline: string;
|
|
12564
12608
|
gates: {
|
|
12565
12609
|
id: string;
|
|
@@ -12568,8 +12612,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12568
12612
|
until?: string | undefined;
|
|
12569
12613
|
}[];
|
|
12570
12614
|
repo?: string | undefined;
|
|
12571
|
-
timezone?: string | undefined;
|
|
12572
12615
|
issue?: number | undefined;
|
|
12616
|
+
timezone?: string | undefined;
|
|
12573
12617
|
};
|
|
12574
12618
|
improve: {
|
|
12575
12619
|
enabled: boolean;
|
|
@@ -12610,8 +12654,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12610
12654
|
}[];
|
|
12611
12655
|
columns: {
|
|
12612
12656
|
id: string;
|
|
12657
|
+
kind: "label" | "closed" | "open-backlog" | "scoped-label";
|
|
12613
12658
|
title: string;
|
|
12614
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
12615
12659
|
scopedPrefix: string;
|
|
12616
12660
|
mapsToLabel?: string | undefined;
|
|
12617
12661
|
scopedLabel?: string | undefined;
|
|
@@ -12799,8 +12843,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12799
12843
|
role: string;
|
|
12800
12844
|
schedule: {
|
|
12801
12845
|
end: string;
|
|
12802
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
12803
12846
|
start: string;
|
|
12847
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
12804
12848
|
lunch?: {
|
|
12805
12849
|
end: string;
|
|
12806
12850
|
start: string;
|
|
@@ -12854,8 +12898,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12854
12898
|
channel?: string | undefined;
|
|
12855
12899
|
chatId?: string | undefined;
|
|
12856
12900
|
username?: string | undefined;
|
|
12857
|
-
senderId?: string | undefined;
|
|
12858
12901
|
project?: string | undefined;
|
|
12902
|
+
senderId?: string | undefined;
|
|
12859
12903
|
displayName?: string | undefined;
|
|
12860
12904
|
}[];
|
|
12861
12905
|
clients: Record<string, {
|
|
@@ -12940,9 +12984,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12940
12984
|
} | {
|
|
12941
12985
|
type: "http";
|
|
12942
12986
|
url: string;
|
|
12987
|
+
headers?: Record<string, string> | undefined;
|
|
12943
12988
|
allowTools?: string[] | undefined;
|
|
12944
12989
|
readTools?: string[] | undefined;
|
|
12945
|
-
headers?: Record<string, string> | undefined;
|
|
12946
12990
|
headersEnv?: Record<string, string> | undefined;
|
|
12947
12991
|
}> | undefined;
|
|
12948
12992
|
heartbeat?: {
|
|
@@ -13095,17 +13139,17 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13095
13139
|
staleAfterHours?: number | undefined;
|
|
13096
13140
|
retentionDays?: number | undefined;
|
|
13097
13141
|
checkers?: {
|
|
13098
|
-
enabled?: ("reply" | "url" | "
|
|
13099
|
-
gitlab?: {
|
|
13100
|
-
token?: string | undefined;
|
|
13101
|
-
url?: string | undefined;
|
|
13102
|
-
} | undefined;
|
|
13142
|
+
enabled?: ("reply" | "url" | "git-ancestor" | "issue")[] | undefined;
|
|
13103
13143
|
repos?: Record<string, string> | undefined;
|
|
13144
|
+
checkEveryMinutes?: number | undefined;
|
|
13104
13145
|
github?: {
|
|
13105
13146
|
token?: string | undefined;
|
|
13106
13147
|
apiUrl?: string | undefined;
|
|
13107
13148
|
} | undefined;
|
|
13108
|
-
|
|
13149
|
+
gitlab?: {
|
|
13150
|
+
token?: string | undefined;
|
|
13151
|
+
url?: string | undefined;
|
|
13152
|
+
} | undefined;
|
|
13109
13153
|
} | undefined;
|
|
13110
13154
|
headlines?: {
|
|
13111
13155
|
provider?: string | undefined;
|
|
@@ -13119,20 +13163,20 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13119
13163
|
releaseOnOwnerTurn?: boolean | undefined;
|
|
13120
13164
|
statusDrift?: {
|
|
13121
13165
|
enabled?: boolean | undefined;
|
|
13122
|
-
|
|
13123
|
-
provider: "gitlab" | "github";
|
|
13124
|
-
project: string;
|
|
13125
|
-
repo?: string | undefined;
|
|
13126
|
-
live?: string[] | undefined;
|
|
13127
|
-
}[] | undefined;
|
|
13166
|
+
checkEveryMinutes?: number | undefined;
|
|
13128
13167
|
labels?: {
|
|
13129
13168
|
done?: string[] | undefined;
|
|
13130
13169
|
todo?: string[] | undefined;
|
|
13131
13170
|
doing?: string[] | undefined;
|
|
13132
13171
|
review?: string[] | undefined;
|
|
13133
13172
|
} | undefined;
|
|
13173
|
+
projects?: {
|
|
13174
|
+
provider: "github" | "gitlab";
|
|
13175
|
+
project: string;
|
|
13176
|
+
repo?: string | undefined;
|
|
13177
|
+
live?: string[] | undefined;
|
|
13178
|
+
}[] | undefined;
|
|
13134
13179
|
write?: boolean | undefined;
|
|
13135
|
-
checkEveryMinutes?: number | undefined;
|
|
13136
13180
|
lookbackDays?: number | undefined;
|
|
13137
13181
|
liveField?: string | undefined;
|
|
13138
13182
|
doneNotLiveAfterHours?: number | undefined;
|
|
@@ -13149,9 +13193,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13149
13193
|
provider?: string | undefined;
|
|
13150
13194
|
model?: string | undefined;
|
|
13151
13195
|
enabled?: boolean | undefined;
|
|
13196
|
+
timeoutSeconds?: number | undefined;
|
|
13152
13197
|
dailyCap?: number | undefined;
|
|
13153
13198
|
waitingOwner?: boolean | undefined;
|
|
13154
|
-
timeoutSeconds?: number | undefined;
|
|
13155
13199
|
} | undefined;
|
|
13156
13200
|
autoResend?: {
|
|
13157
13201
|
enabled?: boolean | undefined;
|
|
@@ -13236,8 +13280,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13236
13280
|
channel?: string | undefined;
|
|
13237
13281
|
chatId?: string | undefined;
|
|
13238
13282
|
username?: string | undefined;
|
|
13239
|
-
senderId?: string | undefined;
|
|
13240
13283
|
project?: string | undefined;
|
|
13284
|
+
senderId?: string | undefined;
|
|
13241
13285
|
displayName?: string | undefined;
|
|
13242
13286
|
}[] | undefined;
|
|
13243
13287
|
clients?: Record<string, {
|
|
@@ -13263,7 +13307,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13263
13307
|
skills?: string[] | undefined;
|
|
13264
13308
|
tools?: string[] | undefined;
|
|
13265
13309
|
} | undefined;
|
|
13266
|
-
role?: "
|
|
13310
|
+
role?: "owner" | "client" | "guest" | "member" | undefined;
|
|
13267
13311
|
say?: string | undefined;
|
|
13268
13312
|
identities?: string[] | undefined;
|
|
13269
13313
|
}[] | undefined;
|
|
@@ -13348,8 +13392,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13348
13392
|
reportedIssues?: {
|
|
13349
13393
|
label: string;
|
|
13350
13394
|
sources: {
|
|
13395
|
+
forge: "github" | "gitlab";
|
|
13351
13396
|
project: string;
|
|
13352
|
-
forge: "gitlab" | "github";
|
|
13353
13397
|
}[];
|
|
13354
13398
|
titleSignature?: string | undefined;
|
|
13355
13399
|
} | undefined;
|
|
@@ -13453,8 +13497,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13453
13497
|
projects?: {
|
|
13454
13498
|
name: string;
|
|
13455
13499
|
agents?: string[] | undefined;
|
|
13456
|
-
rhythmHours?: number | undefined;
|
|
13457
13500
|
repos?: string[] | undefined;
|
|
13501
|
+
rhythmHours?: number | undefined;
|
|
13458
13502
|
workspaces?: string[] | undefined;
|
|
13459
13503
|
budget?: {
|
|
13460
13504
|
monthlyUsd?: number | undefined;
|
|
@@ -13506,9 +13550,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13506
13550
|
popup?: {
|
|
13507
13551
|
enabled?: boolean | undefined;
|
|
13508
13552
|
style?: "card" | "dialog" | undefined;
|
|
13553
|
+
timeoutSeconds?: number | undefined;
|
|
13509
13554
|
voice?: string | undefined;
|
|
13510
13555
|
sound?: string | undefined;
|
|
13511
|
-
timeoutSeconds?: number | undefined;
|
|
13512
13556
|
volume?: number | undefined;
|
|
13513
13557
|
theme?: "system" | "light" | "dark" | undefined;
|
|
13514
13558
|
speak?: boolean | undefined;
|
|
@@ -13576,6 +13620,33 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13576
13620
|
pollSeconds?: number | undefined;
|
|
13577
13621
|
}> | undefined;
|
|
13578
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;
|
|
13579
13650
|
gitlab?: {
|
|
13580
13651
|
enabled?: boolean | undefined;
|
|
13581
13652
|
token?: string | undefined;
|
|
@@ -13639,33 +13710,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13639
13710
|
contact?: string | undefined;
|
|
13640
13711
|
}[] | undefined;
|
|
13641
13712
|
} | undefined;
|
|
13642
|
-
github?: {
|
|
13643
|
-
enabled?: boolean | undefined;
|
|
13644
|
-
token?: string | undefined;
|
|
13645
|
-
cloudSessions?: boolean | undefined;
|
|
13646
|
-
routes?: {
|
|
13647
|
-
agent: string;
|
|
13648
|
-
repo: string;
|
|
13649
|
-
}[] | undefined;
|
|
13650
|
-
webhookSecret?: string | undefined;
|
|
13651
|
-
autoReplyLegacy?: boolean | undefined;
|
|
13652
|
-
agentMappings?: {
|
|
13653
|
-
agentId: string;
|
|
13654
|
-
token?: string | undefined;
|
|
13655
|
-
node?: string | undefined;
|
|
13656
|
-
tokenFile?: string | undefined;
|
|
13657
|
-
githubUsernames?: string[] | undefined;
|
|
13658
|
-
}[] | undefined;
|
|
13659
|
-
tokenFile?: string | undefined;
|
|
13660
|
-
appId?: number | undefined;
|
|
13661
|
-
clientId?: string | undefined;
|
|
13662
|
-
privateKeyFile?: string | undefined;
|
|
13663
|
-
issueActions?: string[] | undefined;
|
|
13664
|
-
pullRequestActions?: string[] | undefined;
|
|
13665
|
-
ignoreOwnChanges?: boolean | undefined;
|
|
13666
|
-
debounceSeconds?: number | undefined;
|
|
13667
|
-
triggerLabel?: string | undefined;
|
|
13668
|
-
} | undefined;
|
|
13669
13713
|
webrtc?: {
|
|
13670
13714
|
enabled?: boolean | undefined;
|
|
13671
13715
|
camera?: {
|
|
@@ -13767,6 +13811,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13767
13811
|
value?: {
|
|
13768
13812
|
why: string;
|
|
13769
13813
|
metric: string;
|
|
13814
|
+
number?: string | undefined;
|
|
13770
13815
|
} | undefined;
|
|
13771
13816
|
enabled?: boolean | undefined;
|
|
13772
13817
|
report?: "always" | "exceptions" | undefined;
|
|
@@ -13861,7 +13906,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13861
13906
|
maxReviewsPerPrPerDay?: number | undefined;
|
|
13862
13907
|
ciWaitMinutes?: number | undefined;
|
|
13863
13908
|
maxDiffKb?: number | undefined;
|
|
13864
|
-
forges?: ("
|
|
13909
|
+
forges?: ("github" | "gitlab")[] | undefined;
|
|
13865
13910
|
tests?: Record<string, {
|
|
13866
13911
|
command: string;
|
|
13867
13912
|
checkout: string;
|
|
@@ -14003,8 +14048,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
14003
14048
|
} | undefined;
|
|
14004
14049
|
shutdown?: {
|
|
14005
14050
|
restart?: {
|
|
14006
|
-
allowBy?: string | undefined;
|
|
14007
14051
|
window?: string | undefined;
|
|
14052
|
+
allowBy?: string | undefined;
|
|
14008
14053
|
windowWaitMinutes?: number | undefined;
|
|
14009
14054
|
forbidOnTimeoutRestart?: boolean | undefined;
|
|
14010
14055
|
} | undefined;
|
|
@@ -14065,6 +14110,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
14065
14110
|
maxPerRoot?: number | undefined;
|
|
14066
14111
|
saveBuilderWork?: boolean | undefined;
|
|
14067
14112
|
} | undefined;
|
|
14113
|
+
numbers?: {
|
|
14114
|
+
items?: Record<string, Record<string, unknown>> | undefined;
|
|
14115
|
+
retryMinutes?: number | undefined;
|
|
14116
|
+
} | undefined;
|
|
14068
14117
|
requestStatus?: {
|
|
14069
14118
|
channels?: string[] | undefined;
|
|
14070
14119
|
} | undefined;
|
|
@@ -14072,10 +14121,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
14072
14121
|
enabled?: boolean | undefined;
|
|
14073
14122
|
command?: string[] | undefined;
|
|
14074
14123
|
repo?: string | undefined;
|
|
14075
|
-
timezone?: string | undefined;
|
|
14076
|
-
time?: string | undefined;
|
|
14077
14124
|
issue?: number | undefined;
|
|
14078
14125
|
timeoutSeconds?: number | undefined;
|
|
14126
|
+
timezone?: string | undefined;
|
|
14127
|
+
time?: string | undefined;
|
|
14079
14128
|
baseline?: string | undefined;
|
|
14080
14129
|
gates?: {
|
|
14081
14130
|
id: string;
|
|
@@ -14116,16 +14165,16 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
14116
14165
|
type: "gitlab";
|
|
14117
14166
|
projects: string[];
|
|
14118
14167
|
};
|
|
14119
|
-
primaryToolLabel?: string | undefined;
|
|
14120
14168
|
labels?: {
|
|
14121
14169
|
name: string;
|
|
14122
14170
|
description?: string | undefined;
|
|
14123
14171
|
color?: string | undefined;
|
|
14124
14172
|
}[] | undefined;
|
|
14173
|
+
primaryToolLabel?: string | undefined;
|
|
14125
14174
|
columns?: {
|
|
14126
14175
|
id: string;
|
|
14127
14176
|
title: string;
|
|
14128
|
-
kind?: "label" | "open-backlog" | "scoped-label" |
|
|
14177
|
+
kind?: "label" | "closed" | "open-backlog" | "scoped-label" | undefined;
|
|
14129
14178
|
mapsToLabel?: string | undefined;
|
|
14130
14179
|
scopedLabel?: string | undefined;
|
|
14131
14180
|
scopedPrefix?: string | undefined;
|
|
@@ -15337,6 +15386,11 @@ declare class AgentXDaemon {
|
|
|
15337
15386
|
/** Goals with a check close by themselves when it is met (#1568), at
|
|
15338
15387
|
* the loop checkers' pace. */
|
|
15339
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;
|
|
15340
15394
|
/** What the loop checkers read (#1039): the forges through the
|
|
15341
15395
|
* configured connectors, the local clones under requests.checkers.repos,
|
|
15342
15396
|
* and this node's own record of inbound turns. Built per check, so a
|
|
@@ -15561,6 +15615,11 @@ declare class AgentXDaemon {
|
|
|
15561
15615
|
private workspaceFor;
|
|
15562
15616
|
/** Agent-memory HTTP surface — see memory-api.ts. */
|
|
15563
15617
|
private handleMemoryApi;
|
|
15618
|
+
/** A note or label change seen by this node's GitLab channel: wake the
|
|
15619
|
+
* timer waits that watch it here, and tell every healthy peer, since the
|
|
15620
|
+
* run may live on another node. A peer applies it locally and never
|
|
15621
|
+
* passes it on. */
|
|
15622
|
+
private wakeWorkflows;
|
|
15564
15623
|
private handleWorkflowEvent;
|
|
15565
15624
|
/** POSTs to the mesh peer hosting the phone app: /channel/send for
|
|
15566
15625
|
* PushRelayAdapter, /push/app for phones paired here (#711). */
|
|
@@ -17674,8 +17733,8 @@ declare const classificationSchema: z.ZodObject<{
|
|
|
17674
17733
|
};
|
|
17675
17734
|
channel?: string | undefined;
|
|
17676
17735
|
preview?: string | undefined;
|
|
17677
|
-
agentId?: string | undefined;
|
|
17678
17736
|
chatId?: string | undefined;
|
|
17737
|
+
agentId?: string | undefined;
|
|
17679
17738
|
sender?: string | undefined;
|
|
17680
17739
|
confidence?: number | undefined;
|
|
17681
17740
|
}, {
|
|
@@ -17686,8 +17745,8 @@ declare const classificationSchema: z.ZodObject<{
|
|
|
17686
17745
|
msgHash: string;
|
|
17687
17746
|
channel?: string | undefined;
|
|
17688
17747
|
preview?: string | undefined;
|
|
17689
|
-
agentId?: string | undefined;
|
|
17690
17748
|
chatId?: string | undefined;
|
|
17749
|
+
agentId?: string | undefined;
|
|
17691
17750
|
sender?: string | undefined;
|
|
17692
17751
|
confidence?: number | undefined;
|
|
17693
17752
|
proposedAxes?: Record<string, Record<string, string>> | undefined;
|
|
@@ -18189,8 +18248,8 @@ declare const nodeExecutionEntrySchema: z.ZodObject<{
|
|
|
18189
18248
|
nodeId: string;
|
|
18190
18249
|
inputKeys: string[];
|
|
18191
18250
|
output?: Record<string, unknown> | undefined;
|
|
18192
|
-
durationMs?: number | undefined;
|
|
18193
18251
|
note?: string | undefined;
|
|
18252
|
+
durationMs?: number | undefined;
|
|
18194
18253
|
startedAt?: string | undefined;
|
|
18195
18254
|
}, {
|
|
18196
18255
|
at: string;
|
|
@@ -18198,8 +18257,8 @@ declare const nodeExecutionEntrySchema: z.ZodObject<{
|
|
|
18198
18257
|
idempotencyKey: string;
|
|
18199
18258
|
nodeId: string;
|
|
18200
18259
|
output?: Record<string, unknown> | undefined;
|
|
18201
|
-
durationMs?: number | undefined;
|
|
18202
18260
|
note?: string | undefined;
|
|
18261
|
+
durationMs?: number | undefined;
|
|
18203
18262
|
startedAt?: string | undefined;
|
|
18204
18263
|
inputKeys?: string[] | undefined;
|
|
18205
18264
|
}>;
|
|
@@ -18273,14 +18332,43 @@ declare const pausedAtSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
18273
18332
|
nodeId: z.ZodString;
|
|
18274
18333
|
/** ISO-8601 instant when the timer should fire. */
|
|
18275
18334
|
fireAt: z.ZodString;
|
|
18335
|
+
/** The node's `wake` config, rendered at this pause (src/workflows/wake.ts). */
|
|
18336
|
+
wake: z.ZodOptional<z.ZodObject<{
|
|
18337
|
+
on: z.ZodArray<z.ZodEnum<["note", "label"]>, "many">;
|
|
18338
|
+
refs: z.ZodArray<z.ZodString, "many">;
|
|
18339
|
+
minGapSec: z.ZodNumber;
|
|
18340
|
+
selfLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18341
|
+
}, "strip", z.ZodTypeAny, {
|
|
18342
|
+
on: ("label" | "note")[];
|
|
18343
|
+
refs: string[];
|
|
18344
|
+
minGapSec: number;
|
|
18345
|
+
selfLabels?: string[] | undefined;
|
|
18346
|
+
}, {
|
|
18347
|
+
on: ("label" | "note")[];
|
|
18348
|
+
refs: string[];
|
|
18349
|
+
minGapSec: number;
|
|
18350
|
+
selfLabels?: string[] | undefined;
|
|
18351
|
+
}>>;
|
|
18276
18352
|
}, "strip", z.ZodTypeAny, {
|
|
18277
18353
|
kind: "timerWait";
|
|
18278
18354
|
nodeId: string;
|
|
18279
18355
|
fireAt: string;
|
|
18356
|
+
wake?: {
|
|
18357
|
+
on: ("label" | "note")[];
|
|
18358
|
+
refs: string[];
|
|
18359
|
+
minGapSec: number;
|
|
18360
|
+
selfLabels?: string[] | undefined;
|
|
18361
|
+
} | undefined;
|
|
18280
18362
|
}, {
|
|
18281
18363
|
kind: "timerWait";
|
|
18282
18364
|
nodeId: string;
|
|
18283
18365
|
fireAt: string;
|
|
18366
|
+
wake?: {
|
|
18367
|
+
on: ("label" | "note")[];
|
|
18368
|
+
refs: string[];
|
|
18369
|
+
minGapSec: number;
|
|
18370
|
+
selfLabels?: string[] | undefined;
|
|
18371
|
+
} | undefined;
|
|
18284
18372
|
}>, z.ZodObject<{
|
|
18285
18373
|
kind: z.ZodLiteral<"ownerDecision">;
|
|
18286
18374
|
nodeId: z.ZodString;
|
|
@@ -18553,6 +18641,8 @@ declare const runMetaSchema: z.ZodObject<{
|
|
|
18553
18641
|
/** The run this one continues (#870): a wrapped task that was stopped,
|
|
18554
18642
|
* then resumed, gets a new run that names the one the stop closed. */
|
|
18555
18643
|
continues: z.ZodOptional<z.ZodString>;
|
|
18644
|
+
/** When a work-item event last moved this run's timer to now. */
|
|
18645
|
+
lastWakeAt: z.ZodOptional<z.ZodString>;
|
|
18556
18646
|
}, "strip", z.ZodTypeAny, {
|
|
18557
18647
|
followUp: boolean;
|
|
18558
18648
|
tags: string[];
|
|
@@ -18591,6 +18681,7 @@ declare const runMetaSchema: z.ZodObject<{
|
|
|
18591
18681
|
agentId: string;
|
|
18592
18682
|
taskId?: string | undefined;
|
|
18593
18683
|
} | undefined;
|
|
18684
|
+
lastWakeAt?: string | undefined;
|
|
18594
18685
|
}, {
|
|
18595
18686
|
followUp?: boolean | undefined;
|
|
18596
18687
|
tags?: string[] | undefined;
|
|
@@ -18629,6 +18720,7 @@ declare const runMetaSchema: z.ZodObject<{
|
|
|
18629
18720
|
agentId: string;
|
|
18630
18721
|
taskId?: string | undefined;
|
|
18631
18722
|
} | undefined;
|
|
18723
|
+
lastWakeAt?: string | undefined;
|
|
18632
18724
|
}>;
|
|
18633
18725
|
type RunMeta = z.infer<typeof runMetaSchema>;
|
|
18634
18726
|
declare const workflowRunSchema: z.ZodObject<{
|
|
@@ -18693,14 +18785,43 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
18693
18785
|
nodeId: z.ZodString;
|
|
18694
18786
|
/** ISO-8601 instant when the timer should fire. */
|
|
18695
18787
|
fireAt: z.ZodString;
|
|
18788
|
+
/** The node's `wake` config, rendered at this pause (src/workflows/wake.ts). */
|
|
18789
|
+
wake: z.ZodOptional<z.ZodObject<{
|
|
18790
|
+
on: z.ZodArray<z.ZodEnum<["note", "label"]>, "many">;
|
|
18791
|
+
refs: z.ZodArray<z.ZodString, "many">;
|
|
18792
|
+
minGapSec: z.ZodNumber;
|
|
18793
|
+
selfLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18794
|
+
}, "strip", z.ZodTypeAny, {
|
|
18795
|
+
on: ("label" | "note")[];
|
|
18796
|
+
refs: string[];
|
|
18797
|
+
minGapSec: number;
|
|
18798
|
+
selfLabels?: string[] | undefined;
|
|
18799
|
+
}, {
|
|
18800
|
+
on: ("label" | "note")[];
|
|
18801
|
+
refs: string[];
|
|
18802
|
+
minGapSec: number;
|
|
18803
|
+
selfLabels?: string[] | undefined;
|
|
18804
|
+
}>>;
|
|
18696
18805
|
}, "strip", z.ZodTypeAny, {
|
|
18697
18806
|
kind: "timerWait";
|
|
18698
18807
|
nodeId: string;
|
|
18699
18808
|
fireAt: string;
|
|
18809
|
+
wake?: {
|
|
18810
|
+
on: ("label" | "note")[];
|
|
18811
|
+
refs: string[];
|
|
18812
|
+
minGapSec: number;
|
|
18813
|
+
selfLabels?: string[] | undefined;
|
|
18814
|
+
} | undefined;
|
|
18700
18815
|
}, {
|
|
18701
18816
|
kind: "timerWait";
|
|
18702
18817
|
nodeId: string;
|
|
18703
18818
|
fireAt: string;
|
|
18819
|
+
wake?: {
|
|
18820
|
+
on: ("label" | "note")[];
|
|
18821
|
+
refs: string[];
|
|
18822
|
+
minGapSec: number;
|
|
18823
|
+
selfLabels?: string[] | undefined;
|
|
18824
|
+
} | undefined;
|
|
18704
18825
|
}>, z.ZodObject<{
|
|
18705
18826
|
kind: z.ZodLiteral<"ownerDecision">;
|
|
18706
18827
|
nodeId: z.ZodString;
|
|
@@ -18886,8 +19007,8 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
18886
19007
|
nodeId: string;
|
|
18887
19008
|
inputKeys: string[];
|
|
18888
19009
|
output?: Record<string, unknown> | undefined;
|
|
18889
|
-
durationMs?: number | undefined;
|
|
18890
19010
|
note?: string | undefined;
|
|
19011
|
+
durationMs?: number | undefined;
|
|
18891
19012
|
startedAt?: string | undefined;
|
|
18892
19013
|
}, {
|
|
18893
19014
|
at: string;
|
|
@@ -18895,8 +19016,8 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
18895
19016
|
idempotencyKey: string;
|
|
18896
19017
|
nodeId: string;
|
|
18897
19018
|
output?: Record<string, unknown> | undefined;
|
|
18898
|
-
durationMs?: number | undefined;
|
|
18899
19019
|
note?: string | undefined;
|
|
19020
|
+
durationMs?: number | undefined;
|
|
18900
19021
|
startedAt?: string | undefined;
|
|
18901
19022
|
inputKeys?: string[] | undefined;
|
|
18902
19023
|
}>, "many">>;
|
|
@@ -19049,6 +19170,8 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19049
19170
|
/** The run this one continues (#870): a wrapped task that was stopped,
|
|
19050
19171
|
* then resumed, gets a new run that names the one the stop closed. */
|
|
19051
19172
|
continues: z.ZodOptional<z.ZodString>;
|
|
19173
|
+
/** When a work-item event last moved this run's timer to now. */
|
|
19174
|
+
lastWakeAt: z.ZodOptional<z.ZodString>;
|
|
19052
19175
|
}, "strip", z.ZodTypeAny, {
|
|
19053
19176
|
followUp: boolean;
|
|
19054
19177
|
tags: string[];
|
|
@@ -19087,6 +19210,7 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19087
19210
|
agentId: string;
|
|
19088
19211
|
taskId?: string | undefined;
|
|
19089
19212
|
} | undefined;
|
|
19213
|
+
lastWakeAt?: string | undefined;
|
|
19090
19214
|
}, {
|
|
19091
19215
|
followUp?: boolean | undefined;
|
|
19092
19216
|
tags?: string[] | undefined;
|
|
@@ -19125,6 +19249,7 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19125
19249
|
agentId: string;
|
|
19126
19250
|
taskId?: string | undefined;
|
|
19127
19251
|
} | undefined;
|
|
19252
|
+
lastWakeAt?: string | undefined;
|
|
19128
19253
|
}>>;
|
|
19129
19254
|
createdAt: z.ZodString;
|
|
19130
19255
|
updatedAt: z.ZodString;
|
|
@@ -19142,8 +19267,8 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19142
19267
|
nodeId: string;
|
|
19143
19268
|
inputKeys: string[];
|
|
19144
19269
|
output?: Record<string, unknown> | undefined;
|
|
19145
|
-
durationMs?: number | undefined;
|
|
19146
19270
|
note?: string | undefined;
|
|
19271
|
+
durationMs?: number | undefined;
|
|
19147
19272
|
startedAt?: string | undefined;
|
|
19148
19273
|
}[];
|
|
19149
19274
|
workflowVersion: 2;
|
|
@@ -19196,6 +19321,7 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19196
19321
|
agentId: string;
|
|
19197
19322
|
taskId?: string | undefined;
|
|
19198
19323
|
} | undefined;
|
|
19324
|
+
lastWakeAt?: string | undefined;
|
|
19199
19325
|
} | undefined;
|
|
19200
19326
|
pausedAt?: {
|
|
19201
19327
|
kind: "checkpoint";
|
|
@@ -19217,6 +19343,12 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19217
19343
|
kind: "timerWait";
|
|
19218
19344
|
nodeId: string;
|
|
19219
19345
|
fireAt: string;
|
|
19346
|
+
wake?: {
|
|
19347
|
+
on: ("label" | "note")[];
|
|
19348
|
+
refs: string[];
|
|
19349
|
+
minGapSec: number;
|
|
19350
|
+
selfLabels?: string[] | undefined;
|
|
19351
|
+
} | undefined;
|
|
19220
19352
|
} | {
|
|
19221
19353
|
kind: "ownerDecision";
|
|
19222
19354
|
cardId: string;
|
|
@@ -19278,8 +19410,8 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19278
19410
|
idempotencyKey: string;
|
|
19279
19411
|
nodeId: string;
|
|
19280
19412
|
output?: Record<string, unknown> | undefined;
|
|
19281
|
-
durationMs?: number | undefined;
|
|
19282
19413
|
note?: string | undefined;
|
|
19414
|
+
durationMs?: number | undefined;
|
|
19283
19415
|
startedAt?: string | undefined;
|
|
19284
19416
|
inputKeys?: string[] | undefined;
|
|
19285
19417
|
}[] | undefined;
|
|
@@ -19321,6 +19453,7 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19321
19453
|
agentId: string;
|
|
19322
19454
|
taskId?: string | undefined;
|
|
19323
19455
|
} | undefined;
|
|
19456
|
+
lastWakeAt?: string | undefined;
|
|
19324
19457
|
} | undefined;
|
|
19325
19458
|
pausedAt?: {
|
|
19326
19459
|
kind: "checkpoint";
|
|
@@ -19342,6 +19475,12 @@ declare const workflowRunSchema: z.ZodObject<{
|
|
|
19342
19475
|
kind: "timerWait";
|
|
19343
19476
|
nodeId: string;
|
|
19344
19477
|
fireAt: string;
|
|
19478
|
+
wake?: {
|
|
19479
|
+
on: ("label" | "note")[];
|
|
19480
|
+
refs: string[];
|
|
19481
|
+
minGapSec: number;
|
|
19482
|
+
selfLabels?: string[] | undefined;
|
|
19483
|
+
} | undefined;
|
|
19345
19484
|
} | {
|
|
19346
19485
|
kind: "ownerDecision";
|
|
19347
19486
|
cardId: string;
|
|
@@ -19465,6 +19604,7 @@ declare class RunStore {
|
|
|
19465
19604
|
patch(runId: string, patch: {
|
|
19466
19605
|
meta?: Partial<RunMeta>;
|
|
19467
19606
|
pending?: string[];
|
|
19607
|
+
pausedAt?: PausedAt;
|
|
19468
19608
|
}): WorkflowRun | null;
|
|
19469
19609
|
/** Remove a run and its entity index entry, as if it never ran (#858: a
|
|
19470
19610
|
* plain question exempted from workflows.required). */
|
|
@@ -20568,8 +20708,8 @@ declare const orgEntrySchema: z.ZodObject<{
|
|
|
20568
20708
|
}>>;
|
|
20569
20709
|
}, "strip", z.ZodTypeAny, {
|
|
20570
20710
|
end: string;
|
|
20571
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20572
20711
|
start: string;
|
|
20712
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20573
20713
|
lunch?: {
|
|
20574
20714
|
end: string;
|
|
20575
20715
|
start: string;
|
|
@@ -20588,8 +20728,8 @@ declare const orgEntrySchema: z.ZodObject<{
|
|
|
20588
20728
|
role: string;
|
|
20589
20729
|
schedule: {
|
|
20590
20730
|
end: string;
|
|
20591
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20592
20731
|
start: string;
|
|
20732
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20593
20733
|
lunch?: {
|
|
20594
20734
|
end: string;
|
|
20595
20735
|
start: string;
|
|
@@ -20695,8 +20835,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
20695
20835
|
}>>;
|
|
20696
20836
|
}, "strip", z.ZodTypeAny, {
|
|
20697
20837
|
end: string;
|
|
20698
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20699
20838
|
start: string;
|
|
20839
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20700
20840
|
lunch?: {
|
|
20701
20841
|
end: string;
|
|
20702
20842
|
start: string;
|
|
@@ -20715,8 +20855,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
20715
20855
|
role: string;
|
|
20716
20856
|
schedule: {
|
|
20717
20857
|
end: string;
|
|
20718
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20719
20858
|
start: string;
|
|
20859
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20720
20860
|
lunch?: {
|
|
20721
20861
|
end: string;
|
|
20722
20862
|
start: string;
|
|
@@ -20846,16 +20986,16 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
20846
20986
|
channel?: string | undefined;
|
|
20847
20987
|
chatId?: string | undefined;
|
|
20848
20988
|
username?: string | undefined;
|
|
20849
|
-
senderId?: string | undefined;
|
|
20850
20989
|
project?: string | undefined;
|
|
20990
|
+
senderId?: string | undefined;
|
|
20851
20991
|
displayName?: string | undefined;
|
|
20852
20992
|
}, {
|
|
20853
20993
|
client: string;
|
|
20854
20994
|
channel?: string | undefined;
|
|
20855
20995
|
chatId?: string | undefined;
|
|
20856
20996
|
username?: string | undefined;
|
|
20857
|
-
senderId?: string | undefined;
|
|
20858
20997
|
project?: string | undefined;
|
|
20998
|
+
senderId?: string | undefined;
|
|
20859
20999
|
displayName?: string | undefined;
|
|
20860
21000
|
}>, "many">>;
|
|
20861
21001
|
/** Overrides for derived clients. Keyed by client id; absent entries get
|
|
@@ -20925,8 +21065,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
20925
21065
|
role: string;
|
|
20926
21066
|
schedule: {
|
|
20927
21067
|
end: string;
|
|
20928
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20929
21068
|
start: string;
|
|
21069
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
20930
21070
|
lunch?: {
|
|
20931
21071
|
end: string;
|
|
20932
21072
|
start: string;
|
|
@@ -20980,8 +21120,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
20980
21120
|
channel?: string | undefined;
|
|
20981
21121
|
chatId?: string | undefined;
|
|
20982
21122
|
username?: string | undefined;
|
|
20983
|
-
senderId?: string | undefined;
|
|
20984
21123
|
project?: string | undefined;
|
|
21124
|
+
senderId?: string | undefined;
|
|
20985
21125
|
displayName?: string | undefined;
|
|
20986
21126
|
}[];
|
|
20987
21127
|
clients: Record<string, {
|
|
@@ -21069,8 +21209,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21069
21209
|
channel?: string | undefined;
|
|
21070
21210
|
chatId?: string | undefined;
|
|
21071
21211
|
username?: string | undefined;
|
|
21072
|
-
senderId?: string | undefined;
|
|
21073
21212
|
project?: string | undefined;
|
|
21213
|
+
senderId?: string | undefined;
|
|
21074
21214
|
displayName?: string | undefined;
|
|
21075
21215
|
}[] | undefined;
|
|
21076
21216
|
clients?: Record<string, {
|
|
@@ -21093,8 +21233,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21093
21233
|
role: string;
|
|
21094
21234
|
schedule: {
|
|
21095
21235
|
end: string;
|
|
21096
|
-
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
21097
21236
|
start: string;
|
|
21237
|
+
days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
|
|
21098
21238
|
lunch?: {
|
|
21099
21239
|
end: string;
|
|
21100
21240
|
start: string;
|
|
@@ -21148,8 +21288,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21148
21288
|
channel?: string | undefined;
|
|
21149
21289
|
chatId?: string | undefined;
|
|
21150
21290
|
username?: string | undefined;
|
|
21151
|
-
senderId?: string | undefined;
|
|
21152
21291
|
project?: string | undefined;
|
|
21292
|
+
senderId?: string | undefined;
|
|
21153
21293
|
displayName?: string | undefined;
|
|
21154
21294
|
}[];
|
|
21155
21295
|
clients: Record<string, {
|
|
@@ -21237,8 +21377,8 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21237
21377
|
channel?: string | undefined;
|
|
21238
21378
|
chatId?: string | undefined;
|
|
21239
21379
|
username?: string | undefined;
|
|
21240
|
-
senderId?: string | undefined;
|
|
21241
21380
|
project?: string | undefined;
|
|
21381
|
+
senderId?: string | undefined;
|
|
21242
21382
|
displayName?: string | undefined;
|
|
21243
21383
|
}[] | undefined;
|
|
21244
21384
|
clients?: Record<string, {
|
|
@@ -22465,12 +22605,16 @@ declare class WhatsAppAdapter implements ChannelAdapter {
|
|
|
22465
22605
|
declare const cronValueSchema: z.ZodObject<{
|
|
22466
22606
|
why: z.ZodString;
|
|
22467
22607
|
metric: z.ZodString;
|
|
22608
|
+
/** The id of the tracked number that measures it (#1826). */
|
|
22609
|
+
number: z.ZodOptional<z.ZodString>;
|
|
22468
22610
|
}, "strip", z.ZodTypeAny, {
|
|
22469
22611
|
why: string;
|
|
22470
22612
|
metric: string;
|
|
22613
|
+
number?: string | undefined;
|
|
22471
22614
|
}, {
|
|
22472
22615
|
why: string;
|
|
22473
22616
|
metric: string;
|
|
22617
|
+
number?: string | undefined;
|
|
22474
22618
|
}>;
|
|
22475
22619
|
type CronValue = z.infer<typeof cronValueSchema>;
|
|
22476
22620
|
|