agentix-cli 0.196.0 → 0.198.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-HBM52GXI.js → App-ODMLQITV.js} +2 -2
- package/dist/{App-HBM52GXI.js.map → App-ODMLQITV.js.map} +1 -1
- package/dist/ChatApp-MJBOQWUM.js +7 -0
- package/dist/{ChatApp-N4P7M2TD.js.map → ChatApp-MJBOQWUM.js.map} +1 -1
- package/dist/absorb-eval-QSUGLOOO.js +2 -0
- package/dist/{adapter-X6T3YBUB.js → adapter-BJLSEQ6M.js} +2 -2
- package/dist/{adapter-X6T3YBUB.js.map → adapter-BJLSEQ6M.js.map} +1 -1
- package/dist/{agent-3B4RMEDI.js → agent-QJPWZDTL.js} +2 -2
- package/dist/{board-dashboard-Y2X7GNAS.js → board-dashboard-LZRJJ3DZ.js} +856 -395
- package/dist/board-dashboard-LZRJJ3DZ.js.map +1 -0
- package/dist/chunk-2AP2F6S5.js +934 -0
- package/dist/chunk-2AP2F6S5.js.map +1 -0
- package/dist/chunk-2P5NP4H6.js +2 -0
- package/dist/chunk-2P5NP4H6.js.map +1 -0
- package/dist/{chunk-RW5FKJRE.js → chunk-3KHXOLF5.js} +2 -2
- package/dist/{chunk-6V5JBHUN.js → chunk-3Q6MRG3P.js} +2 -2
- package/dist/{chunk-FO762MEC.js → chunk-4FY2NOCD.js} +2 -2
- package/dist/chunk-7AB3QUGH.js +2 -0
- package/dist/{chunk-3FZ6WHKX.js.map → chunk-7AB3QUGH.js.map} +1 -1
- package/dist/chunk-B4KQC3DG.js +4 -0
- package/dist/chunk-B4KQC3DG.js.map +1 -0
- package/dist/{chunk-LQIF2OHS.js → chunk-BIJ3JIWG.js} +2 -2
- package/dist/{chunk-HNZEXUNM.js → chunk-BZ3AXEZW.js} +2 -2
- package/dist/{chunk-VX4PSOKU.js → chunk-C3LKB4N7.js} +2 -2
- package/dist/chunk-C5QQW2L7.js +145 -0
- package/dist/chunk-C5QQW2L7.js.map +1 -0
- package/dist/{chunk-V7FZBETJ.js → chunk-CAYGWXWJ.js} +2 -2
- package/dist/{chunk-MB5CBY2C.js → chunk-D64VFKUU.js} +27 -27
- package/dist/chunk-D64VFKUU.js.map +1 -0
- package/dist/{chunk-PX7PWXBI.js → chunk-GB7NAOZ4.js} +2 -2
- package/dist/{chunk-F3CMNSON.js → chunk-GGFL7HVN.js} +2 -2
- package/dist/{chunk-K2BEV3BD.js → chunk-GL26HRDW.js} +2 -2
- package/dist/{chunk-KE6BF4ZJ.js → chunk-GMP2IB4E.js} +2 -2
- package/dist/{chunk-ZALVAXQ4.js → chunk-H3NGVXOL.js} +2 -2
- package/dist/chunk-H7SPRPDG.js +116 -0
- package/dist/chunk-H7SPRPDG.js.map +1 -0
- package/dist/chunk-HYJWN6L5.js +20 -0
- package/dist/chunk-HYJWN6L5.js.map +1 -0
- package/dist/{chunk-BOCLWYWL.js → chunk-I5KOLVB6.js} +2 -2
- package/dist/chunk-IFUAP7UD.js +11 -0
- package/dist/chunk-IFUAP7UD.js.map +1 -0
- package/dist/{chunk-M2E3CNFS.js → chunk-IJYCPFLZ.js} +2 -2
- package/dist/{chunk-KXJRXRSD.js → chunk-KQ5UJTQR.js} +2 -2
- package/dist/{chunk-XH36J3Z2.js → chunk-LOFMZHJN.js} +2 -2
- package/dist/{chunk-HOZZUN47.js → chunk-MA5ZF4YY.js} +2 -2
- package/dist/{chunk-2GCPSAXQ.js → chunk-PIY23C2Z.js} +2 -2
- package/dist/{chunk-PO2SORKY.js → chunk-PM4Y6ZBW.js} +2 -2
- package/dist/{chunk-NT3DGEBE.js → chunk-QF5B5O7K.js} +346 -345
- package/dist/chunk-QF5B5O7K.js.map +1 -0
- package/dist/{chunk-F2FJXKDG.js → chunk-QHICHZFK.js} +2 -2
- package/dist/{chunk-7L54Z4EH.js → chunk-SHNGAN3L.js} +2 -2
- package/dist/{chunk-2KYGPVTX.js → chunk-SUVJA67A.js} +2 -2
- package/dist/{chunk-PMSL4A5Y.js → chunk-V2DCI2JL.js} +3 -3
- package/dist/{chunk-UOIWIVU3.js → chunk-VX3IZAF6.js} +2 -2
- package/dist/{chunk-6NQ7KYJH.js → chunk-XRCWM7JA.js} +2 -2
- package/dist/chunk-YSCT6DPR.js +2 -0
- package/dist/chunk-YSCT6DPR.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/client-WAPDTJ5B.js +2 -0
- package/dist/config-NYFW5P4W.js +2 -0
- package/dist/config-mutate-ZADHR76X.js +2 -0
- package/dist/config-mutator-GJFZWC43.js +2 -0
- package/dist/{contributions-6VZ4OXJ5.js → contributions-RROXRQEV.js} +2 -2
- package/dist/{contributions-6VZ4OXJ5.js.map → contributions-RROXRQEV.js.map} +1 -1
- package/dist/doctor-DKUDMNK3.js +2 -0
- package/dist/{follow-up-tool-NVP56W7E.js → follow-up-tool-OKKSNVCJ.js} +2 -2
- package/dist/{follow-up-tool-NVP56W7E.js.map → follow-up-tool-OKKSNVCJ.js.map} +1 -1
- package/dist/hub-5X33WEIO.js +2 -0
- package/dist/index.d.ts +245 -95
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{note-tool-ANQWBBZE.js → note-tool-KVH3YBTX.js} +2 -2
- package/dist/ntfy-LSFROBMD.js +2 -0
- package/dist/{program-W7ZO7UDB.js → program-4QVJE2JD.js} +246 -246
- package/dist/program-4QVJE2JD.js.map +1 -0
- package/dist/promote-YETAZYXW.js +2 -0
- package/dist/push-VMY34YND.js +2 -0
- package/dist/push-bridge-T5HZZRA2.js +2 -0
- package/dist/query-IE5EVVY4.js +2 -0
- package/dist/{query-settings-C5UBKJMN.js → query-settings-TF4H7EZS.js} +2 -2
- package/dist/registry-OBQMRAYY.js +2 -0
- package/dist/request-planner-V6J5EISV.js +6 -0
- package/dist/{request-planner-G6IAUMSE.js.map → request-planner-V6J5EISV.js.map} +1 -1
- package/dist/review-candidates-MTZEBOP5.js +4 -0
- package/dist/{review-candidates-ZL2SJXWC.js.map → review-candidates-MTZEBOP5.js.map} +1 -1
- package/dist/routing-KWZ3X6ZV.js +2 -0
- package/dist/schedule-tool-ZSQTA3IW.js +2 -0
- package/dist/scheduler-ST37UR5V.js +2 -0
- package/dist/seat-RFFUE7RT.js +2 -0
- package/dist/select-DCG457CP.js +2 -0
- package/dist/{select-MU52ACKG.js.map → select-DCG457CP.js.map} +1 -1
- package/dist/self-HICJTWYO.js +2 -0
- package/dist/set-enabled-TD3MPUDH.js +2 -0
- package/dist/{set-enabled-XRNSYEI3.js.map → set-enabled-TD3MPUDH.js.map} +1 -1
- package/dist/{sprint-tool-E4MABD2N.js → sprint-tool-OQ55FHX3.js} +2 -2
- package/dist/{sprint-tool-E4MABD2N.js.map → sprint-tool-OQ55FHX3.js.map} +1 -1
- package/dist/tool-FQE7ZGBT.js +10 -0
- package/dist/tool-FQE7ZGBT.js.map +1 -0
- package/dist/{tool-V5Z4KWK7.js → tool-JIRXLLQN.js} +2 -2
- package/dist/{tool-V5Z4KWK7.js.map → tool-JIRXLLQN.js.map} +1 -1
- package/dist/{tool-ZYVT4VUU.js → tool-RJJKMW5D.js} +2 -2
- package/dist/{tool-ZYVT4VUU.js.map → tool-RJJKMW5D.js.map} +1 -1
- package/dist/wiki-OAWT7LND.js +2 -0
- package/dist/wiki-enrich-QVZMYHVY.js +2 -0
- package/package.json +1 -1
- package/dist/ChatApp-N4P7M2TD.js +0 -7
- package/dist/absorb-eval-HRWWPKT3.js +0 -2
- package/dist/board-dashboard-Y2X7GNAS.js.map +0 -1
- package/dist/chunk-3FZ6WHKX.js +0 -2
- package/dist/chunk-5HLD66CW.js +0 -2
- package/dist/chunk-5HLD66CW.js.map +0 -1
- package/dist/chunk-AJ5HMDRW.js +0 -11
- package/dist/chunk-AJ5HMDRW.js.map +0 -1
- package/dist/chunk-IS2IWRP7.js +0 -4
- package/dist/chunk-IS2IWRP7.js.map +0 -1
- package/dist/chunk-MB5CBY2C.js.map +0 -1
- package/dist/chunk-MC3ZZA5G.js +0 -143
- package/dist/chunk-MC3ZZA5G.js.map +0 -1
- package/dist/chunk-NT3DGEBE.js.map +0 -1
- package/dist/chunk-P6WSD2UR.js +0 -116
- package/dist/chunk-P6WSD2UR.js.map +0 -1
- package/dist/chunk-UOYIC7XN.js +0 -3
- package/dist/chunk-UOYIC7XN.js.map +0 -1
- package/dist/chunk-YWAJNF2A.js +0 -934
- package/dist/chunk-YWAJNF2A.js.map +0 -1
- package/dist/client-YN3T56NM.js +0 -2
- package/dist/config-G7T3TMWE.js +0 -2
- package/dist/config-mutate-6CRKZQVQ.js +0 -2
- package/dist/config-mutator-7VS3J5BY.js +0 -2
- package/dist/doctor-GFZZTK7C.js +0 -2
- package/dist/hub-B434CABZ.js +0 -2
- package/dist/ntfy-Q4YHFKWW.js +0 -2
- package/dist/program-W7ZO7UDB.js.map +0 -1
- package/dist/promote-3P6PGJOW.js +0 -2
- package/dist/push-PRFZMCIK.js +0 -2
- package/dist/push-bridge-NR7SLHGX.js +0 -2
- package/dist/query-E4V7TS5S.js +0 -2
- package/dist/registry-IG324PR3.js +0 -2
- package/dist/request-planner-G6IAUMSE.js +0 -6
- package/dist/review-candidates-ZL2SJXWC.js +0 -4
- package/dist/routing-2IBIZYQU.js +0 -2
- package/dist/schedule-tool-QCTT2R3B.js +0 -2
- package/dist/scheduler-ZGB7IKZQ.js +0 -2
- package/dist/seat-CFY7LMPS.js +0 -2
- package/dist/select-MU52ACKG.js +0 -2
- package/dist/self-ELWZIMVY.js +0 -2
- package/dist/set-enabled-XRNSYEI3.js +0 -2
- package/dist/tool-W6M7GYRZ.js +0 -8
- package/dist/tool-W6M7GYRZ.js.map +0 -1
- package/dist/wiki-VP6XRWIS.js +0 -2
- package/dist/wiki-enrich-LUFXPUYY.js +0 -2
- /package/dist/{absorb-eval-HRWWPKT3.js.map → absorb-eval-QSUGLOOO.js.map} +0 -0
- /package/dist/{agent-3B4RMEDI.js.map → agent-QJPWZDTL.js.map} +0 -0
- /package/dist/{chunk-RW5FKJRE.js.map → chunk-3KHXOLF5.js.map} +0 -0
- /package/dist/{chunk-6V5JBHUN.js.map → chunk-3Q6MRG3P.js.map} +0 -0
- /package/dist/{chunk-FO762MEC.js.map → chunk-4FY2NOCD.js.map} +0 -0
- /package/dist/{chunk-LQIF2OHS.js.map → chunk-BIJ3JIWG.js.map} +0 -0
- /package/dist/{chunk-HNZEXUNM.js.map → chunk-BZ3AXEZW.js.map} +0 -0
- /package/dist/{chunk-VX4PSOKU.js.map → chunk-C3LKB4N7.js.map} +0 -0
- /package/dist/{chunk-V7FZBETJ.js.map → chunk-CAYGWXWJ.js.map} +0 -0
- /package/dist/{chunk-PX7PWXBI.js.map → chunk-GB7NAOZ4.js.map} +0 -0
- /package/dist/{chunk-F3CMNSON.js.map → chunk-GGFL7HVN.js.map} +0 -0
- /package/dist/{chunk-K2BEV3BD.js.map → chunk-GL26HRDW.js.map} +0 -0
- /package/dist/{chunk-KE6BF4ZJ.js.map → chunk-GMP2IB4E.js.map} +0 -0
- /package/dist/{chunk-ZALVAXQ4.js.map → chunk-H3NGVXOL.js.map} +0 -0
- /package/dist/{chunk-BOCLWYWL.js.map → chunk-I5KOLVB6.js.map} +0 -0
- /package/dist/{chunk-M2E3CNFS.js.map → chunk-IJYCPFLZ.js.map} +0 -0
- /package/dist/{chunk-KXJRXRSD.js.map → chunk-KQ5UJTQR.js.map} +0 -0
- /package/dist/{chunk-XH36J3Z2.js.map → chunk-LOFMZHJN.js.map} +0 -0
- /package/dist/{chunk-HOZZUN47.js.map → chunk-MA5ZF4YY.js.map} +0 -0
- /package/dist/{chunk-2GCPSAXQ.js.map → chunk-PIY23C2Z.js.map} +0 -0
- /package/dist/{chunk-PO2SORKY.js.map → chunk-PM4Y6ZBW.js.map} +0 -0
- /package/dist/{chunk-F2FJXKDG.js.map → chunk-QHICHZFK.js.map} +0 -0
- /package/dist/{chunk-7L54Z4EH.js.map → chunk-SHNGAN3L.js.map} +0 -0
- /package/dist/{chunk-2KYGPVTX.js.map → chunk-SUVJA67A.js.map} +0 -0
- /package/dist/{chunk-PMSL4A5Y.js.map → chunk-V2DCI2JL.js.map} +0 -0
- /package/dist/{chunk-UOIWIVU3.js.map → chunk-VX3IZAF6.js.map} +0 -0
- /package/dist/{chunk-6NQ7KYJH.js.map → chunk-XRCWM7JA.js.map} +0 -0
- /package/dist/{client-YN3T56NM.js.map → client-WAPDTJ5B.js.map} +0 -0
- /package/dist/{config-G7T3TMWE.js.map → config-NYFW5P4W.js.map} +0 -0
- /package/dist/{config-mutate-6CRKZQVQ.js.map → config-mutate-ZADHR76X.js.map} +0 -0
- /package/dist/{config-mutator-7VS3J5BY.js.map → config-mutator-GJFZWC43.js.map} +0 -0
- /package/dist/{doctor-GFZZTK7C.js.map → doctor-DKUDMNK3.js.map} +0 -0
- /package/dist/{hub-B434CABZ.js.map → hub-5X33WEIO.js.map} +0 -0
- /package/dist/{note-tool-ANQWBBZE.js.map → note-tool-KVH3YBTX.js.map} +0 -0
- /package/dist/{ntfy-Q4YHFKWW.js.map → ntfy-LSFROBMD.js.map} +0 -0
- /package/dist/{promote-3P6PGJOW.js.map → promote-YETAZYXW.js.map} +0 -0
- /package/dist/{push-PRFZMCIK.js.map → push-VMY34YND.js.map} +0 -0
- /package/dist/{push-bridge-NR7SLHGX.js.map → push-bridge-T5HZZRA2.js.map} +0 -0
- /package/dist/{query-E4V7TS5S.js.map → query-IE5EVVY4.js.map} +0 -0
- /package/dist/{query-settings-C5UBKJMN.js.map → query-settings-TF4H7EZS.js.map} +0 -0
- /package/dist/{registry-IG324PR3.js.map → registry-OBQMRAYY.js.map} +0 -0
- /package/dist/{routing-2IBIZYQU.js.map → routing-KWZ3X6ZV.js.map} +0 -0
- /package/dist/{schedule-tool-QCTT2R3B.js.map → schedule-tool-ZSQTA3IW.js.map} +0 -0
- /package/dist/{scheduler-ZGB7IKZQ.js.map → scheduler-ST37UR5V.js.map} +0 -0
- /package/dist/{seat-CFY7LMPS.js.map → seat-RFFUE7RT.js.map} +0 -0
- /package/dist/{self-ELWZIMVY.js.map → self-HICJTWYO.js.map} +0 -0
- /package/dist/{wiki-VP6XRWIS.js.map → wiki-OAWT7LND.js.map} +0 -0
- /package/dist/{wiki-enrich-LUFXPUYY.js.map → wiki-enrich-QVZMYHVY.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1814,6 +1814,10 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1814
1814
|
/** wake only: what to do next when this event arrives. Added to the
|
|
1815
1815
|
* woken turn's message after the event itself (#1284). */
|
|
1816
1816
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
/** wake only: drop the wake when its turn has not started this many
|
|
1818
|
+
* minutes after the event, for example because the agent stayed busy
|
|
1819
|
+
* (#1596). An event's own `expiresAt` applies too; the earlier wins. */
|
|
1820
|
+
maxDelayMin: z.ZodOptional<z.ZodNumber>;
|
|
1817
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1818
1822
|
kinds: string[];
|
|
1819
1823
|
delivery: "pull" | "digest" | "wake";
|
|
@@ -1822,6 +1826,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1822
1826
|
agents?: string[] | undefined;
|
|
1823
1827
|
prompt?: string | undefined;
|
|
1824
1828
|
nodes?: string[] | undefined;
|
|
1829
|
+
maxDelayMin?: number | undefined;
|
|
1825
1830
|
}, {
|
|
1826
1831
|
kinds: string[];
|
|
1827
1832
|
match?: string | undefined;
|
|
@@ -1830,6 +1835,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1830
1835
|
nodes?: string[] | undefined;
|
|
1831
1836
|
delivery?: "pull" | "digest" | "wake" | undefined;
|
|
1832
1837
|
maxPerHour?: number | undefined;
|
|
1838
|
+
maxDelayMin?: number | undefined;
|
|
1833
1839
|
}>, "many">>;
|
|
1834
1840
|
/** Per-agent third-party integrations registry. Declares which services
|
|
1835
1841
|
* this agent has credentials for (telegram-bot, hubspot, gitlab-user,
|
|
@@ -2043,6 +2049,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
2043
2049
|
agents?: string[] | undefined;
|
|
2044
2050
|
prompt?: string | undefined;
|
|
2045
2051
|
nodes?: string[] | undefined;
|
|
2052
|
+
maxDelayMin?: number | undefined;
|
|
2046
2053
|
}[];
|
|
2047
2054
|
integrations: {
|
|
2048
2055
|
enabled: boolean;
|
|
@@ -2209,6 +2216,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
2209
2216
|
nodes?: string[] | undefined;
|
|
2210
2217
|
delivery?: "pull" | "digest" | "wake" | undefined;
|
|
2211
2218
|
maxPerHour?: number | undefined;
|
|
2219
|
+
maxDelayMin?: number | undefined;
|
|
2212
2220
|
}[] | undefined;
|
|
2213
2221
|
integrations?: {
|
|
2214
2222
|
label: string;
|
|
@@ -2248,6 +2256,11 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2248
2256
|
why: string;
|
|
2249
2257
|
metric: string;
|
|
2250
2258
|
}>>;
|
|
2259
|
+
/** The goal record it serves (#1568), by id. Once the goal is done or
|
|
2260
|
+
* dropped the job stops running (its config is left as it is: the Wall
|
|
2261
|
+
* asks whether to turn it off), and each run's prompt starts with the
|
|
2262
|
+
* goal's current state instead of numbers written into the prompt. */
|
|
2263
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
2251
2264
|
schedule: z.ZodString;
|
|
2252
2265
|
timezone: z.ZodDefault<z.ZodString>;
|
|
2253
2266
|
agent: z.ZodString;
|
|
@@ -2366,6 +2379,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2366
2379
|
} | undefined;
|
|
2367
2380
|
taskType?: string | undefined;
|
|
2368
2381
|
createdBy?: string | undefined;
|
|
2382
|
+
goal?: string | undefined;
|
|
2369
2383
|
approval?: {
|
|
2370
2384
|
action: "delete" | "create";
|
|
2371
2385
|
requestedBy: string;
|
|
@@ -2398,6 +2412,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2398
2412
|
} | undefined;
|
|
2399
2413
|
taskType?: string | undefined;
|
|
2400
2414
|
createdBy?: string | undefined;
|
|
2415
|
+
goal?: string | undefined;
|
|
2401
2416
|
approval?: {
|
|
2402
2417
|
action: "delete" | "create";
|
|
2403
2418
|
requestedBy: string;
|
|
@@ -2432,6 +2447,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2432
2447
|
} | undefined;
|
|
2433
2448
|
taskType?: string | undefined;
|
|
2434
2449
|
createdBy?: string | undefined;
|
|
2450
|
+
goal?: string | undefined;
|
|
2435
2451
|
approval?: {
|
|
2436
2452
|
action: "delete" | "create";
|
|
2437
2453
|
requestedBy: string;
|
|
@@ -2464,6 +2480,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2464
2480
|
} | undefined;
|
|
2465
2481
|
taskType?: string | undefined;
|
|
2466
2482
|
createdBy?: string | undefined;
|
|
2483
|
+
goal?: string | undefined;
|
|
2467
2484
|
approval?: {
|
|
2468
2485
|
action: "delete" | "create";
|
|
2469
2486
|
requestedBy: string;
|
|
@@ -2498,6 +2515,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2498
2515
|
} | undefined;
|
|
2499
2516
|
taskType?: string | undefined;
|
|
2500
2517
|
createdBy?: string | undefined;
|
|
2518
|
+
goal?: string | undefined;
|
|
2501
2519
|
approval?: {
|
|
2502
2520
|
action: "delete" | "create";
|
|
2503
2521
|
requestedBy: string;
|
|
@@ -2530,6 +2548,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2530
2548
|
} | undefined;
|
|
2531
2549
|
taskType?: string | undefined;
|
|
2532
2550
|
createdBy?: string | undefined;
|
|
2551
|
+
goal?: string | undefined;
|
|
2533
2552
|
approval?: {
|
|
2534
2553
|
action: "delete" | "create";
|
|
2535
2554
|
requestedBy: string;
|
|
@@ -2564,6 +2583,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2564
2583
|
} | undefined;
|
|
2565
2584
|
taskType?: string | undefined;
|
|
2566
2585
|
createdBy?: string | undefined;
|
|
2586
|
+
goal?: string | undefined;
|
|
2567
2587
|
approval?: {
|
|
2568
2588
|
action: "delete" | "create";
|
|
2569
2589
|
requestedBy: string;
|
|
@@ -2596,6 +2616,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<
|
|
|
2596
2616
|
} | undefined;
|
|
2597
2617
|
taskType?: string | undefined;
|
|
2598
2618
|
createdBy?: string | undefined;
|
|
2619
|
+
goal?: string | undefined;
|
|
2599
2620
|
approval?: {
|
|
2600
2621
|
action: "delete" | "create";
|
|
2601
2622
|
requestedBy: string;
|
|
@@ -2990,6 +3011,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2990
3011
|
/** wake only: what to do next when this event arrives. Added to the
|
|
2991
3012
|
* woken turn's message after the event itself (#1284). */
|
|
2992
3013
|
prompt: z.ZodOptional<z.ZodString>;
|
|
3014
|
+
/** wake only: drop the wake when its turn has not started this many
|
|
3015
|
+
* minutes after the event, for example because the agent stayed busy
|
|
3016
|
+
* (#1596). An event's own `expiresAt` applies too; the earlier wins. */
|
|
3017
|
+
maxDelayMin: z.ZodOptional<z.ZodNumber>;
|
|
2993
3018
|
}, "strip", z.ZodTypeAny, {
|
|
2994
3019
|
kinds: string[];
|
|
2995
3020
|
delivery: "pull" | "digest" | "wake";
|
|
@@ -2998,6 +3023,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2998
3023
|
agents?: string[] | undefined;
|
|
2999
3024
|
prompt?: string | undefined;
|
|
3000
3025
|
nodes?: string[] | undefined;
|
|
3026
|
+
maxDelayMin?: number | undefined;
|
|
3001
3027
|
}, {
|
|
3002
3028
|
kinds: string[];
|
|
3003
3029
|
match?: string | undefined;
|
|
@@ -3006,6 +3032,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3006
3032
|
nodes?: string[] | undefined;
|
|
3007
3033
|
delivery?: "pull" | "digest" | "wake" | undefined;
|
|
3008
3034
|
maxPerHour?: number | undefined;
|
|
3035
|
+
maxDelayMin?: number | undefined;
|
|
3009
3036
|
}>, "many">>;
|
|
3010
3037
|
/** Per-agent third-party integrations registry. Declares which services
|
|
3011
3038
|
* this agent has credentials for (telegram-bot, hubspot, gitlab-user,
|
|
@@ -3219,6 +3246,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3219
3246
|
agents?: string[] | undefined;
|
|
3220
3247
|
prompt?: string | undefined;
|
|
3221
3248
|
nodes?: string[] | undefined;
|
|
3249
|
+
maxDelayMin?: number | undefined;
|
|
3222
3250
|
}[];
|
|
3223
3251
|
integrations: {
|
|
3224
3252
|
enabled: boolean;
|
|
@@ -3385,6 +3413,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3385
3413
|
nodes?: string[] | undefined;
|
|
3386
3414
|
delivery?: "pull" | "digest" | "wake" | undefined;
|
|
3387
3415
|
maxPerHour?: number | undefined;
|
|
3416
|
+
maxDelayMin?: number | undefined;
|
|
3388
3417
|
}[] | undefined;
|
|
3389
3418
|
integrations?: {
|
|
3390
3419
|
label: string;
|
|
@@ -5220,6 +5249,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5220
5249
|
why: string;
|
|
5221
5250
|
metric: string;
|
|
5222
5251
|
}>>;
|
|
5252
|
+
/** The goal record it serves (#1568), by id. Once the goal is done or
|
|
5253
|
+
* dropped the job stops running (its config is left as it is: the Wall
|
|
5254
|
+
* asks whether to turn it off), and each run's prompt starts with the
|
|
5255
|
+
* goal's current state instead of numbers written into the prompt. */
|
|
5256
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
5223
5257
|
schedule: z.ZodString;
|
|
5224
5258
|
timezone: z.ZodDefault<z.ZodString>;
|
|
5225
5259
|
agent: z.ZodString;
|
|
@@ -5338,6 +5372,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5338
5372
|
} | undefined;
|
|
5339
5373
|
taskType?: string | undefined;
|
|
5340
5374
|
createdBy?: string | undefined;
|
|
5375
|
+
goal?: string | undefined;
|
|
5341
5376
|
approval?: {
|
|
5342
5377
|
action: "delete" | "create";
|
|
5343
5378
|
requestedBy: string;
|
|
@@ -5370,6 +5405,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5370
5405
|
} | undefined;
|
|
5371
5406
|
taskType?: string | undefined;
|
|
5372
5407
|
createdBy?: string | undefined;
|
|
5408
|
+
goal?: string | undefined;
|
|
5373
5409
|
approval?: {
|
|
5374
5410
|
action: "delete" | "create";
|
|
5375
5411
|
requestedBy: string;
|
|
@@ -5404,6 +5440,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5404
5440
|
} | undefined;
|
|
5405
5441
|
taskType?: string | undefined;
|
|
5406
5442
|
createdBy?: string | undefined;
|
|
5443
|
+
goal?: string | undefined;
|
|
5407
5444
|
approval?: {
|
|
5408
5445
|
action: "delete" | "create";
|
|
5409
5446
|
requestedBy: string;
|
|
@@ -5436,6 +5473,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5436
5473
|
} | undefined;
|
|
5437
5474
|
taskType?: string | undefined;
|
|
5438
5475
|
createdBy?: string | undefined;
|
|
5476
|
+
goal?: string | undefined;
|
|
5439
5477
|
approval?: {
|
|
5440
5478
|
action: "delete" | "create";
|
|
5441
5479
|
requestedBy: string;
|
|
@@ -5470,6 +5508,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5470
5508
|
} | undefined;
|
|
5471
5509
|
taskType?: string | undefined;
|
|
5472
5510
|
createdBy?: string | undefined;
|
|
5511
|
+
goal?: string | undefined;
|
|
5473
5512
|
approval?: {
|
|
5474
5513
|
action: "delete" | "create";
|
|
5475
5514
|
requestedBy: string;
|
|
@@ -5502,6 +5541,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5502
5541
|
} | undefined;
|
|
5503
5542
|
taskType?: string | undefined;
|
|
5504
5543
|
createdBy?: string | undefined;
|
|
5544
|
+
goal?: string | undefined;
|
|
5505
5545
|
approval?: {
|
|
5506
5546
|
action: "delete" | "create";
|
|
5507
5547
|
requestedBy: string;
|
|
@@ -5536,6 +5576,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5536
5576
|
} | undefined;
|
|
5537
5577
|
taskType?: string | undefined;
|
|
5538
5578
|
createdBy?: string | undefined;
|
|
5579
|
+
goal?: string | undefined;
|
|
5539
5580
|
approval?: {
|
|
5540
5581
|
action: "delete" | "create";
|
|
5541
5582
|
requestedBy: string;
|
|
@@ -5568,6 +5609,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5568
5609
|
} | undefined;
|
|
5569
5610
|
taskType?: string | undefined;
|
|
5570
5611
|
createdBy?: string | undefined;
|
|
5612
|
+
goal?: string | undefined;
|
|
5571
5613
|
approval?: {
|
|
5572
5614
|
action: "delete" | "create";
|
|
5573
5615
|
requestedBy: string;
|
|
@@ -5757,6 +5799,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5757
5799
|
* Unset: `push` (the phone app) when channels.push is enabled, else
|
|
5758
5800
|
* `ntfy`, so upgrading never points notify at a channel that is off. */
|
|
5759
5801
|
channel: z.ZodOptional<z.ZodString>;
|
|
5802
|
+
/** The address the phone opens the Hub at, such as
|
|
5803
|
+
* https://my-mac.example.ts.net (#1652). A tap on an ntfy push opens
|
|
5804
|
+
* its own link, else its request on the Hub, else the Hub. Unset: a
|
|
5805
|
+
* push without a link of its own opens nothing. */
|
|
5806
|
+
publicUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5760
5807
|
/** Notify on these events */
|
|
5761
5808
|
on: z.ZodDefault<z.ZodObject<{
|
|
5762
5809
|
taskComplete: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -5905,6 +5952,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5905
5952
|
chatId: string;
|
|
5906
5953
|
accountId?: string | undefined;
|
|
5907
5954
|
} | undefined;
|
|
5955
|
+
publicUrl?: string | undefined;
|
|
5908
5956
|
}, {
|
|
5909
5957
|
local?: {
|
|
5910
5958
|
sound?: boolean | undefined;
|
|
@@ -5926,6 +5974,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5926
5974
|
chatId: string;
|
|
5927
5975
|
accountId?: string | undefined;
|
|
5928
5976
|
} | undefined;
|
|
5977
|
+
publicUrl?: string | undefined;
|
|
5929
5978
|
told?: {
|
|
5930
5979
|
enabled?: boolean | undefined;
|
|
5931
5980
|
channels?: string[] | undefined;
|
|
@@ -5982,6 +6031,24 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5982
6031
|
retryMinutes?: number | undefined;
|
|
5983
6032
|
maxWaitMinutes?: number | undefined;
|
|
5984
6033
|
}>>;
|
|
6034
|
+
/** Ringing the phone (#1605). A voice call also goes to the phone as a
|
|
6035
|
+
* call push (ntfy at priority 5 when urgent, else 4, tagged as a call;
|
|
6036
|
+
* Web Push that stays on screen), and the phone app answers it. */
|
|
6037
|
+
phone: z.ZodDefault<z.ZodObject<{
|
|
6038
|
+
/** "always": the phone rings with the widget, and the first to answer
|
|
6039
|
+
* takes the call. "away": only when AgentX Voice is not running. */
|
|
6040
|
+
ring: z.ZodDefault<z.ZodEnum<["always", "away"]>>;
|
|
6041
|
+
/** The address the phone opens the app at, such as
|
|
6042
|
+
* https://my-mac.example.ts.net (what `agentx app pair` showed). ntfy
|
|
6043
|
+
* needs it so a tap opens the call; Web Push does not. */
|
|
6044
|
+
appUrl: z.ZodOptional<z.ZodString>;
|
|
6045
|
+
}, "strip", z.ZodTypeAny, {
|
|
6046
|
+
ring: "always" | "away";
|
|
6047
|
+
appUrl?: string | undefined;
|
|
6048
|
+
}, {
|
|
6049
|
+
ring?: "always" | "away" | undefined;
|
|
6050
|
+
appUrl?: string | undefined;
|
|
6051
|
+
}>>;
|
|
5985
6052
|
}, "strip", z.ZodTypeAny, {
|
|
5986
6053
|
summary: boolean;
|
|
5987
6054
|
allow: string[];
|
|
@@ -5995,6 +6062,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5995
6062
|
maxCallMinutes: number;
|
|
5996
6063
|
ringSeconds: number;
|
|
5997
6064
|
ringSound: string;
|
|
6065
|
+
phone: {
|
|
6066
|
+
ring: "always" | "away";
|
|
6067
|
+
appUrl?: string | undefined;
|
|
6068
|
+
};
|
|
5998
6069
|
}, {
|
|
5999
6070
|
summary?: boolean | undefined;
|
|
6000
6071
|
allow?: string[] | undefined;
|
|
@@ -6008,6 +6079,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6008
6079
|
maxCallMinutes?: number | undefined;
|
|
6009
6080
|
ringSeconds?: number | undefined;
|
|
6010
6081
|
ringSound?: string | undefined;
|
|
6082
|
+
phone?: {
|
|
6083
|
+
ring?: "always" | "away" | undefined;
|
|
6084
|
+
appUrl?: string | undefined;
|
|
6085
|
+
} | undefined;
|
|
6011
6086
|
}>>;
|
|
6012
6087
|
/** Watched WhatsApp chats triaged by an agent (src/whatsapp-triage). */
|
|
6013
6088
|
whatsappTriage: z.ZodDefault<z.ZodObject<{
|
|
@@ -8914,6 +8989,9 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8914
8989
|
path?: string | undefined;
|
|
8915
8990
|
}>, z.ZodObject<{
|
|
8916
8991
|
type: z.ZodLiteral<"gitlab">;
|
|
8992
|
+
/** A list of agentx MCP tool names (session.lean.agentxTools). An unknown
|
|
8993
|
+
* name is an error, not ignored: a misspelt `agentx_channel_reply` would
|
|
8994
|
+
* otherwise leave a lean GitHub session with no way to reply. */
|
|
8917
8995
|
projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8918
8996
|
}, "strip", z.ZodTypeAny, {
|
|
8919
8997
|
type: "gitlab";
|
|
@@ -9442,8 +9520,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9442
9520
|
accent: z.ZodOptional<z.ZodString>;
|
|
9443
9521
|
}, "strip", z.ZodTypeAny, {
|
|
9444
9522
|
id: string;
|
|
9445
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
9446
9523
|
title: string;
|
|
9524
|
+
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
9447
9525
|
scopedPrefix: string;
|
|
9448
9526
|
mapsToLabel?: string | undefined;
|
|
9449
9527
|
scopedLabel?: string | undefined;
|
|
@@ -9492,8 +9570,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9492
9570
|
}[];
|
|
9493
9571
|
columns: {
|
|
9494
9572
|
id: string;
|
|
9495
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
9496
9573
|
title: string;
|
|
9574
|
+
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
9497
9575
|
scopedPrefix: string;
|
|
9498
9576
|
mapsToLabel?: string | undefined;
|
|
9499
9577
|
scopedLabel?: string | undefined;
|
|
@@ -9550,7 +9628,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9550
9628
|
daemons: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9551
9629
|
name: z.ZodString;
|
|
9552
9630
|
url: z.ZodString;
|
|
9553
|
-
dashboardUrl: z.ZodOptional<z.ZodString>;
|
|
9631
|
+
dashboardUrl: z.ZodOptional<z.ZodString>;
|
|
9554
9632
|
token: z.ZodOptional<z.ZodString>;
|
|
9555
9633
|
dashboardToken: z.ZodOptional<z.ZodString>;
|
|
9556
9634
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9612,7 +9690,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9612
9690
|
threshold?: number | undefined;
|
|
9613
9691
|
}, {
|
|
9614
9692
|
threshold?: number | undefined;
|
|
9615
|
-
}>>;
|
|
9693
|
+
}>>; /** See systemVoiceSchema. Unset: one is assigned, of the agent's
|
|
9694
|
+
* gender when set, different from every other agent's. */
|
|
9616
9695
|
}, "strip", z.ZodTypeAny, {
|
|
9617
9696
|
projects: {
|
|
9618
9697
|
agents: string[];
|
|
@@ -10896,6 +10975,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10896
10975
|
agents?: string[] | undefined;
|
|
10897
10976
|
prompt?: string | undefined;
|
|
10898
10977
|
nodes?: string[] | undefined;
|
|
10978
|
+
maxDelayMin?: number | undefined;
|
|
10899
10979
|
}[];
|
|
10900
10980
|
integrations: {
|
|
10901
10981
|
enabled: boolean;
|
|
@@ -11195,6 +11275,13 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11195
11275
|
events: {
|
|
11196
11276
|
ringSize: number;
|
|
11197
11277
|
};
|
|
11278
|
+
node: {
|
|
11279
|
+
id: string;
|
|
11280
|
+
name: string;
|
|
11281
|
+
bind: string;
|
|
11282
|
+
connectAttemptTimeoutMs: number;
|
|
11283
|
+
defaultAgent?: string | undefined;
|
|
11284
|
+
};
|
|
11198
11285
|
native: {
|
|
11199
11286
|
notes: {
|
|
11200
11287
|
enabled: boolean;
|
|
@@ -11361,13 +11448,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11361
11448
|
};
|
|
11362
11449
|
forwardTo?: string | undefined;
|
|
11363
11450
|
};
|
|
11364
|
-
node: {
|
|
11365
|
-
id: string;
|
|
11366
|
-
name: string;
|
|
11367
|
-
bind: string;
|
|
11368
|
-
connectAttemptTimeoutMs: number;
|
|
11369
|
-
defaultAgent?: string | undefined;
|
|
11370
|
-
};
|
|
11371
11451
|
channels: {
|
|
11372
11452
|
push: {
|
|
11373
11453
|
enabled: boolean;
|
|
@@ -11547,6 +11627,45 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11547
11627
|
defaultTitle?: string | undefined;
|
|
11548
11628
|
};
|
|
11549
11629
|
};
|
|
11630
|
+
notifications: {
|
|
11631
|
+
local: {
|
|
11632
|
+
sound: boolean;
|
|
11633
|
+
banner: boolean;
|
|
11634
|
+
soundName: string;
|
|
11635
|
+
volume: number;
|
|
11636
|
+
quietWaitSeconds: number;
|
|
11637
|
+
icon?: string | undefined;
|
|
11638
|
+
};
|
|
11639
|
+
on: {
|
|
11640
|
+
taskComplete: boolean;
|
|
11641
|
+
taskError: boolean;
|
|
11642
|
+
taskQueued: boolean;
|
|
11643
|
+
};
|
|
11644
|
+
longTaskThreshold: number;
|
|
11645
|
+
told: {
|
|
11646
|
+
enabled: boolean;
|
|
11647
|
+
channels: string[];
|
|
11648
|
+
repeatWindowHours: number;
|
|
11649
|
+
addresses: string[];
|
|
11650
|
+
digestNags: boolean;
|
|
11651
|
+
};
|
|
11652
|
+
reach: {
|
|
11653
|
+
enabled: boolean;
|
|
11654
|
+
escalateAfterMinutes: number;
|
|
11655
|
+
ladder: string[];
|
|
11656
|
+
};
|
|
11657
|
+
desk: {
|
|
11658
|
+
phone: "all" | "off" | "urgent";
|
|
11659
|
+
computer?: "all" | "off" | "urgent" | undefined;
|
|
11660
|
+
};
|
|
11661
|
+
channel?: string | undefined;
|
|
11662
|
+
destination?: {
|
|
11663
|
+
channel: string;
|
|
11664
|
+
chatId: string;
|
|
11665
|
+
accountId?: string | undefined;
|
|
11666
|
+
} | undefined;
|
|
11667
|
+
publicUrl?: string | undefined;
|
|
11668
|
+
};
|
|
11550
11669
|
crons: Record<string, {
|
|
11551
11670
|
enabled: boolean;
|
|
11552
11671
|
agent: string;
|
|
@@ -11569,6 +11688,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11569
11688
|
} | undefined;
|
|
11570
11689
|
taskType?: string | undefined;
|
|
11571
11690
|
createdBy?: string | undefined;
|
|
11691
|
+
goal?: string | undefined;
|
|
11572
11692
|
approval?: {
|
|
11573
11693
|
action: "delete" | "create";
|
|
11574
11694
|
requestedBy: string;
|
|
@@ -11705,44 +11825,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11705
11825
|
} | undefined;
|
|
11706
11826
|
allowedContacts?: string[] | undefined;
|
|
11707
11827
|
}>;
|
|
11708
|
-
notifications: {
|
|
11709
|
-
local: {
|
|
11710
|
-
sound: boolean;
|
|
11711
|
-
banner: boolean;
|
|
11712
|
-
soundName: string;
|
|
11713
|
-
volume: number;
|
|
11714
|
-
quietWaitSeconds: number;
|
|
11715
|
-
icon?: string | undefined;
|
|
11716
|
-
};
|
|
11717
|
-
on: {
|
|
11718
|
-
taskComplete: boolean;
|
|
11719
|
-
taskError: boolean;
|
|
11720
|
-
taskQueued: boolean;
|
|
11721
|
-
};
|
|
11722
|
-
longTaskThreshold: number;
|
|
11723
|
-
told: {
|
|
11724
|
-
enabled: boolean;
|
|
11725
|
-
channels: string[];
|
|
11726
|
-
repeatWindowHours: number;
|
|
11727
|
-
addresses: string[];
|
|
11728
|
-
digestNags: boolean;
|
|
11729
|
-
};
|
|
11730
|
-
reach: {
|
|
11731
|
-
enabled: boolean;
|
|
11732
|
-
escalateAfterMinutes: number;
|
|
11733
|
-
ladder: string[];
|
|
11734
|
-
};
|
|
11735
|
-
desk: {
|
|
11736
|
-
phone: "all" | "off" | "urgent";
|
|
11737
|
-
computer?: "all" | "off" | "urgent" | undefined;
|
|
11738
|
-
};
|
|
11739
|
-
channel?: string | undefined;
|
|
11740
|
-
destination?: {
|
|
11741
|
-
channel: string;
|
|
11742
|
-
chatId: string;
|
|
11743
|
-
accountId?: string | undefined;
|
|
11744
|
-
} | undefined;
|
|
11745
|
-
};
|
|
11746
11828
|
calls: {
|
|
11747
11829
|
summary: boolean;
|
|
11748
11830
|
allow: string[];
|
|
@@ -11756,6 +11838,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11756
11838
|
maxCallMinutes: number;
|
|
11757
11839
|
ringSeconds: number;
|
|
11758
11840
|
ringSound: string;
|
|
11841
|
+
phone: {
|
|
11842
|
+
ring: "always" | "away";
|
|
11843
|
+
appUrl?: string | undefined;
|
|
11844
|
+
};
|
|
11759
11845
|
};
|
|
11760
11846
|
whatsappTriage: {
|
|
11761
11847
|
enabled: boolean;
|
|
@@ -11933,8 +12019,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
11933
12019
|
}[];
|
|
11934
12020
|
columns: {
|
|
11935
12021
|
id: string;
|
|
11936
|
-
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
11937
12022
|
title: string;
|
|
12023
|
+
kind: "label" | "open-backlog" | "scoped-label" | "closed";
|
|
11938
12024
|
scopedPrefix: string;
|
|
11939
12025
|
mapsToLabel?: string | undefined;
|
|
11940
12026
|
scopedLabel?: string | undefined;
|
|
@@ -12299,6 +12385,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12299
12385
|
nodes?: string[] | undefined;
|
|
12300
12386
|
delivery?: "pull" | "digest" | "wake" | undefined;
|
|
12301
12387
|
maxPerHour?: number | undefined;
|
|
12388
|
+
maxDelayMin?: number | undefined;
|
|
12302
12389
|
}[] | undefined;
|
|
12303
12390
|
integrations?: {
|
|
12304
12391
|
label: string;
|
|
@@ -12974,6 +13061,45 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12974
13061
|
defaultTitle?: string | undefined;
|
|
12975
13062
|
} | undefined;
|
|
12976
13063
|
} | undefined;
|
|
13064
|
+
notifications?: {
|
|
13065
|
+
local?: {
|
|
13066
|
+
sound?: boolean | undefined;
|
|
13067
|
+
banner?: boolean | undefined;
|
|
13068
|
+
soundName?: string | undefined;
|
|
13069
|
+
volume?: number | undefined;
|
|
13070
|
+
icon?: string | undefined;
|
|
13071
|
+
quietWaitSeconds?: number | undefined;
|
|
13072
|
+
} | undefined;
|
|
13073
|
+
channel?: string | undefined;
|
|
13074
|
+
on?: {
|
|
13075
|
+
taskComplete?: boolean | undefined;
|
|
13076
|
+
taskError?: boolean | undefined;
|
|
13077
|
+
taskQueued?: boolean | undefined;
|
|
13078
|
+
} | undefined;
|
|
13079
|
+
longTaskThreshold?: number | undefined;
|
|
13080
|
+
destination?: {
|
|
13081
|
+
channel: string;
|
|
13082
|
+
chatId: string;
|
|
13083
|
+
accountId?: string | undefined;
|
|
13084
|
+
} | undefined;
|
|
13085
|
+
publicUrl?: string | undefined;
|
|
13086
|
+
told?: {
|
|
13087
|
+
enabled?: boolean | undefined;
|
|
13088
|
+
channels?: string[] | undefined;
|
|
13089
|
+
repeatWindowHours?: number | undefined;
|
|
13090
|
+
addresses?: string[] | undefined;
|
|
13091
|
+
digestNags?: boolean | undefined;
|
|
13092
|
+
} | undefined;
|
|
13093
|
+
reach?: {
|
|
13094
|
+
enabled?: boolean | undefined;
|
|
13095
|
+
escalateAfterMinutes?: number | undefined;
|
|
13096
|
+
ladder?: string[] | undefined;
|
|
13097
|
+
} | undefined;
|
|
13098
|
+
desk?: {
|
|
13099
|
+
phone?: "all" | "off" | "urgent" | undefined;
|
|
13100
|
+
computer?: "all" | "off" | "urgent" | undefined;
|
|
13101
|
+
} | undefined;
|
|
13102
|
+
} | undefined;
|
|
12977
13103
|
crons?: Record<string, {
|
|
12978
13104
|
agent: string;
|
|
12979
13105
|
schedule: string;
|
|
@@ -12995,6 +13121,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
12995
13121
|
} | undefined;
|
|
12996
13122
|
taskType?: string | undefined;
|
|
12997
13123
|
createdBy?: string | undefined;
|
|
13124
|
+
goal?: string | undefined;
|
|
12998
13125
|
approval?: {
|
|
12999
13126
|
action: "delete" | "create";
|
|
13000
13127
|
requestedBy: string;
|
|
@@ -13132,44 +13259,6 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13132
13259
|
} | undefined;
|
|
13133
13260
|
allowedContacts?: string[] | undefined;
|
|
13134
13261
|
}> | undefined;
|
|
13135
|
-
notifications?: {
|
|
13136
|
-
local?: {
|
|
13137
|
-
sound?: boolean | undefined;
|
|
13138
|
-
banner?: boolean | undefined;
|
|
13139
|
-
soundName?: string | undefined;
|
|
13140
|
-
volume?: number | undefined;
|
|
13141
|
-
icon?: string | undefined;
|
|
13142
|
-
quietWaitSeconds?: number | undefined;
|
|
13143
|
-
} | undefined;
|
|
13144
|
-
channel?: string | undefined;
|
|
13145
|
-
on?: {
|
|
13146
|
-
taskComplete?: boolean | undefined;
|
|
13147
|
-
taskError?: boolean | undefined;
|
|
13148
|
-
taskQueued?: boolean | undefined;
|
|
13149
|
-
} | undefined;
|
|
13150
|
-
longTaskThreshold?: number | undefined;
|
|
13151
|
-
destination?: {
|
|
13152
|
-
channel: string;
|
|
13153
|
-
chatId: string;
|
|
13154
|
-
accountId?: string | undefined;
|
|
13155
|
-
} | undefined;
|
|
13156
|
-
told?: {
|
|
13157
|
-
enabled?: boolean | undefined;
|
|
13158
|
-
channels?: string[] | undefined;
|
|
13159
|
-
repeatWindowHours?: number | undefined;
|
|
13160
|
-
addresses?: string[] | undefined;
|
|
13161
|
-
digestNags?: boolean | undefined;
|
|
13162
|
-
} | undefined;
|
|
13163
|
-
reach?: {
|
|
13164
|
-
enabled?: boolean | undefined;
|
|
13165
|
-
escalateAfterMinutes?: number | undefined;
|
|
13166
|
-
ladder?: string[] | undefined;
|
|
13167
|
-
} | undefined;
|
|
13168
|
-
desk?: {
|
|
13169
|
-
phone?: "all" | "off" | "urgent" | undefined;
|
|
13170
|
-
computer?: "all" | "off" | "urgent" | undefined;
|
|
13171
|
-
} | undefined;
|
|
13172
|
-
} | undefined;
|
|
13173
13262
|
calls?: {
|
|
13174
13263
|
summary?: boolean | undefined;
|
|
13175
13264
|
allow?: string[] | undefined;
|
|
@@ -13183,6 +13272,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
13183
13272
|
maxCallMinutes?: number | undefined;
|
|
13184
13273
|
ringSeconds?: number | undefined;
|
|
13185
13274
|
ringSound?: string | undefined;
|
|
13275
|
+
phone?: {
|
|
13276
|
+
ring?: "always" | "away" | undefined;
|
|
13277
|
+
appUrl?: string | undefined;
|
|
13278
|
+
} | undefined;
|
|
13186
13279
|
} | undefined;
|
|
13187
13280
|
whatsappTriage?: {
|
|
13188
13281
|
enabled?: boolean | undefined;
|
|
@@ -13577,6 +13670,10 @@ interface EventEnvelope {
|
|
|
13577
13670
|
summary: string;
|
|
13578
13671
|
/** Pointer to the durable record: a trace id, run id or task id. */
|
|
13579
13672
|
ref?: string;
|
|
13673
|
+
/** ISO time after which the event is no longer worth acting on, for
|
|
13674
|
+
* example a "restarts in 1 minute" warning. A wake that has not started
|
|
13675
|
+
* by then is dropped (#1596). */
|
|
13676
|
+
expiresAt?: string;
|
|
13580
13677
|
}
|
|
13581
13678
|
interface RecentQuery {
|
|
13582
13679
|
/** An event id (returns events after it) or an ISO timestamp. */
|
|
@@ -14082,6 +14179,7 @@ interface PublishInput {
|
|
|
14082
14179
|
summary: string;
|
|
14083
14180
|
agentId?: string;
|
|
14084
14181
|
ref?: string;
|
|
14182
|
+
expiresAt?: string;
|
|
14085
14183
|
id?: string;
|
|
14086
14184
|
at?: string;
|
|
14087
14185
|
rootId?: string;
|
|
@@ -14258,6 +14356,8 @@ declare class AgentXDaemon {
|
|
|
14258
14356
|
private landscape;
|
|
14259
14357
|
private heartbeat;
|
|
14260
14358
|
private stopEventWaker?;
|
|
14359
|
+
/** What each event wake did, for the Hub's events feed (#1648). */
|
|
14360
|
+
private readonly wakeJournal;
|
|
14261
14361
|
/** Stop and resume signals (agents/signals, #857). */
|
|
14262
14362
|
private signals;
|
|
14263
14363
|
private stopAllReporter;
|
|
@@ -14556,6 +14656,9 @@ declare class AgentXDaemon {
|
|
|
14556
14656
|
* the requests check, at its own pace, since each check reads the
|
|
14557
14657
|
* forges. Reports drift to the owner; writes a label only in write mode. */
|
|
14558
14658
|
private statusDriftTick;
|
|
14659
|
+
/** Goals with a check close by themselves when it is met (#1568), at
|
|
14660
|
+
* the loop checkers' pace. */
|
|
14661
|
+
private checkGoalRecords;
|
|
14559
14662
|
/** What the loop checkers read (#1039): the forges through the
|
|
14560
14663
|
* configured connectors, the local clones under requests.checkers.repos,
|
|
14561
14664
|
* and this node's own record of inbound turns. Built per check, so a
|
|
@@ -15047,7 +15150,10 @@ interface FriendlyError {
|
|
|
15047
15150
|
| "agent_held"
|
|
15048
15151
|
/** A cold dispatch held by the plan window, overage gate or local
|
|
15049
15152
|
* dispatch cap; it goes through once the window frees up (#1284). */
|
|
15050
|
-
| "dispatch_hold"
|
|
15153
|
+
| "dispatch_hold"
|
|
15154
|
+
/** Every slot of the agent stayed busy for the whole slot wait; the
|
|
15155
|
+
* message did not run. An event wake retries it (#1596). */
|
|
15156
|
+
| "agent_busy" | "auth" | "permission" | "rate_limit" | "overloaded" | "context_too_large" | "invalid_request" | "upstream_api" | "timeout" | "cancelled" | "interrupted"
|
|
15051
15157
|
/** Ended by a stop signal; its resume plan is saved (#857). */
|
|
15052
15158
|
| "stopped" | "unknown";
|
|
15053
15159
|
/** Whether this error is transient — a retry has a reasonable chance of succeeding. */
|
|
@@ -15188,6 +15294,23 @@ interface OutgoingMessage {
|
|
|
15188
15294
|
from?: string;
|
|
15189
15295
|
passed?: boolean;
|
|
15190
15296
|
};
|
|
15297
|
+
/** Where a tap on a phone notification opens when the message has no
|
|
15298
|
+
* link of its own (#1652): a path on this node, such as a request on
|
|
15299
|
+
* the Hub. A channel that can open links makes it absolute with
|
|
15300
|
+
* `notifications.publicUrl`. */
|
|
15301
|
+
open?: string;
|
|
15302
|
+
/** A voice call on the phone (#1605). "ringing": ntfy sends it as a
|
|
15303
|
+
* call (priority 5 when urgent, else 4, a phone tag, a tap that opens
|
|
15304
|
+
* `url`); Web Push keeps it on screen until tapped. "missed": the same
|
|
15305
|
+
* notification on the phone is replaced where the channel can. */
|
|
15306
|
+
ring?: CallRing;
|
|
15307
|
+
}
|
|
15308
|
+
interface CallRing {
|
|
15309
|
+
callId: string;
|
|
15310
|
+
state: "ringing" | "missed";
|
|
15311
|
+
urgent: boolean;
|
|
15312
|
+
/** Absolute link that opens the call in the phone app, for ntfy. */
|
|
15313
|
+
url?: string;
|
|
15191
15314
|
}
|
|
15192
15315
|
interface ChannelAdapter {
|
|
15193
15316
|
readonly name: string;
|
|
@@ -16765,17 +16888,17 @@ declare const graphNodeSchema: z.ZodObject<{
|
|
|
16765
16888
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
16766
16889
|
}, "strip", z.ZodTypeAny, {
|
|
16767
16890
|
id: string;
|
|
16891
|
+
parentId: string | null;
|
|
16768
16892
|
createdAt: string;
|
|
16769
16893
|
axes: Record<string, string>;
|
|
16770
16894
|
level: string;
|
|
16771
|
-
parentId: string | null;
|
|
16772
16895
|
createdBy?: string | undefined;
|
|
16773
16896
|
}, {
|
|
16774
16897
|
id: string;
|
|
16898
|
+
parentId: string | null;
|
|
16775
16899
|
createdAt: string;
|
|
16776
16900
|
axes: Record<string, string>;
|
|
16777
16901
|
level: string;
|
|
16778
|
-
parentId: string | null;
|
|
16779
16902
|
createdBy?: string | undefined;
|
|
16780
16903
|
}>;
|
|
16781
16904
|
type GraphNode = z.infer<typeof graphNodeSchema>;
|
|
@@ -16901,37 +17024,37 @@ declare const nodesFileSchema: z.ZodObject<{
|
|
|
16901
17024
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
16902
17025
|
}, "strip", z.ZodTypeAny, {
|
|
16903
17026
|
id: string;
|
|
17027
|
+
parentId: string | null;
|
|
16904
17028
|
createdAt: string;
|
|
16905
17029
|
axes: Record<string, string>;
|
|
16906
17030
|
level: string;
|
|
16907
|
-
parentId: string | null;
|
|
16908
17031
|
createdBy?: string | undefined;
|
|
16909
17032
|
}, {
|
|
16910
17033
|
id: string;
|
|
17034
|
+
parentId: string | null;
|
|
16911
17035
|
createdAt: string;
|
|
16912
17036
|
axes: Record<string, string>;
|
|
16913
17037
|
level: string;
|
|
16914
|
-
parentId: string | null;
|
|
16915
17038
|
createdBy?: string | undefined;
|
|
16916
17039
|
}>, "many">>;
|
|
16917
17040
|
}, "strip", z.ZodTypeAny, {
|
|
16918
17041
|
version: number;
|
|
16919
17042
|
nodes: {
|
|
16920
17043
|
id: string;
|
|
17044
|
+
parentId: string | null;
|
|
16921
17045
|
createdAt: string;
|
|
16922
17046
|
axes: Record<string, string>;
|
|
16923
17047
|
level: string;
|
|
16924
|
-
parentId: string | null;
|
|
16925
17048
|
createdBy?: string | undefined;
|
|
16926
17049
|
}[];
|
|
16927
17050
|
}, {
|
|
16928
17051
|
version?: number | undefined;
|
|
16929
17052
|
nodes?: {
|
|
16930
17053
|
id: string;
|
|
17054
|
+
parentId: string | null;
|
|
16931
17055
|
createdAt: string;
|
|
16932
17056
|
axes: Record<string, string>;
|
|
16933
17057
|
level: string;
|
|
16934
|
-
parentId: string | null;
|
|
16935
17058
|
createdBy?: string | undefined;
|
|
16936
17059
|
}[] | undefined;
|
|
16937
17060
|
}>;
|
|
@@ -21504,6 +21627,15 @@ interface CronJobState {
|
|
|
21504
21627
|
onError: Array<"log" | "notify" | "disable">;
|
|
21505
21628
|
/** Why it runs and the number that proves it (#1183). */
|
|
21506
21629
|
value?: CronValue;
|
|
21630
|
+
/** The goal it serves (#1568): once that goal is done or dropped, the
|
|
21631
|
+
* job stops running, and each run gets the goal's current state. */
|
|
21632
|
+
goal?: string;
|
|
21633
|
+
/** Set when a run was skipped because its goal is closed: the Wall
|
|
21634
|
+
* shows "goal done, disable?". */
|
|
21635
|
+
goalClosed?: {
|
|
21636
|
+
state: string;
|
|
21637
|
+
at: Date;
|
|
21638
|
+
};
|
|
21507
21639
|
/** Send each successful run's answer to the job's `notify` target.
|
|
21508
21640
|
* True whenever the job has `notify`, unless `deliverResult: false`. */
|
|
21509
21641
|
deliverResult?: boolean;
|
|
@@ -21561,6 +21693,15 @@ interface CronRunResult {
|
|
|
21561
21693
|
unsourced?: number;
|
|
21562
21694
|
}
|
|
21563
21695
|
|
|
21696
|
+
interface CronGoalView {
|
|
21697
|
+
/** active, done or dropped. */
|
|
21698
|
+
state: string;
|
|
21699
|
+
/** The goal's state in a few lines, for the prompt. */
|
|
21700
|
+
brief: string;
|
|
21701
|
+
}
|
|
21702
|
+
/** Reads a goal by id; null when this node has no record of it. */
|
|
21703
|
+
type CronGoalSource = (goalId: string) => CronGoalView | null;
|
|
21704
|
+
|
|
21564
21705
|
type FireNowResult = {
|
|
21565
21706
|
ok: true;
|
|
21566
21707
|
runId: string;
|
|
@@ -21587,6 +21728,7 @@ declare class CronScheduler {
|
|
|
21587
21728
|
private notifyCallback?;
|
|
21588
21729
|
private deliverCallback?;
|
|
21589
21730
|
private wikiNotes?;
|
|
21731
|
+
private goalSource?;
|
|
21590
21732
|
private log;
|
|
21591
21733
|
constructor(config: DaemonConfig, registry: AgentRegistry, hooks?: HookRegistry, log?: (...args: unknown[]) => void);
|
|
21592
21734
|
/** Whether a job with this id exists. */
|
|
@@ -21606,6 +21748,12 @@ declare class CronScheduler {
|
|
|
21606
21748
|
* Called when onError is "notify" or after multiple consecutive failures.
|
|
21607
21749
|
*/
|
|
21608
21750
|
setNotifyCallback(cb: CronNotifyCallback): void;
|
|
21751
|
+
/** Where `crons.<id>.goal` is read (#1568): the goal records. */
|
|
21752
|
+
setGoalSource(source: CronGoalSource): void;
|
|
21753
|
+
/** The job's goal before a run: skip it when the goal is closed, else
|
|
21754
|
+
* the goal's state for the prompt. A skip is kept on the job, so the
|
|
21755
|
+
* Wall can ask whether to turn it off. */
|
|
21756
|
+
private goalGate;
|
|
21609
21757
|
/**
|
|
21610
21758
|
* Set the callback that sends a successful run's answer to the job's
|
|
21611
21759
|
* `notify` target. Not called for jobs with `deliverResult: false`.
|
|
@@ -21632,6 +21780,8 @@ declare class CronScheduler {
|
|
|
21632
21780
|
private armTimer;
|
|
21633
21781
|
private scheduleNext;
|
|
21634
21782
|
private scheduleRetry;
|
|
21783
|
+
/** The ledger row for a run skipped because its goal is closed (#1568). */
|
|
21784
|
+
private recordGoalHalt;
|
|
21635
21785
|
/**
|
|
21636
21786
|
* Phase 1 commit 6.d — record one cron-fire decision in the ledger
|
|
21637
21787
|
* when the source is enabled. Wrapped in try/catch so a ledger
|