agentix-cli 0.130.0 → 0.132.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-DWSHIDN6.js → App-VPYWOTTH.js} +2 -2
- package/dist/{ChatApp-CROSI7JM.js → ChatApp-SNED4KJB.js} +2 -2
- package/dist/absorb-eval-WGO4JWTO.js +2 -0
- package/dist/{agent-4AQOFPRD.js → agent-HXQYYLWZ.js} +2 -2
- package/dist/article-sync-4NOPOQU7.js +2 -0
- package/dist/{board-dashboard-54A3XTV5.js → board-dashboard-44JPXA7J.js} +330 -235
- package/dist/board-dashboard-44JPXA7J.js.map +1 -0
- package/dist/{builtin-W6KNX7RS.js → builtin-YD7MC572.js} +2 -2
- package/dist/chunk-2ZDV3DCT.js +52 -0
- package/dist/chunk-2ZDV3DCT.js.map +1 -0
- package/dist/{chunk-QXZLYCEZ.js → chunk-3K35L73A.js} +3 -3
- package/dist/chunk-3K35L73A.js.map +1 -0
- package/dist/chunk-3UOTLMXD.js +4 -0
- package/dist/chunk-3UOTLMXD.js.map +1 -0
- package/dist/{chunk-LJWEJ6UZ.js → chunk-3WYLK3SX.js} +2 -2
- package/dist/chunk-5BI2T3WD.js +3 -0
- package/dist/chunk-5BI2T3WD.js.map +1 -0
- package/dist/{chunk-UBA2QJCY.js → chunk-62NXS7PT.js} +272 -247
- package/dist/chunk-62NXS7PT.js.map +1 -0
- package/dist/chunk-6TURWSMN.js +3 -0
- package/dist/{chunk-VD7IO653.js.map → chunk-6TURWSMN.js.map} +1 -1
- package/dist/{chunk-I4GT27UO.js → chunk-724IBN5Y.js} +2 -2
- package/dist/{chunk-NR7WLMNI.js → chunk-74LPAKQY.js} +2 -2
- package/dist/chunk-7D3RJSN4.js +156 -0
- package/dist/chunk-7D3RJSN4.js.map +1 -0
- package/dist/{chunk-BGG3ZSMW.js → chunk-7LN4VKDU.js} +14 -16
- package/dist/chunk-7LN4VKDU.js.map +1 -0
- package/dist/chunk-7VLLZQ3N.js +2 -0
- package/dist/chunk-7VLLZQ3N.js.map +1 -0
- package/dist/{chunk-LLLBH2HH.js → chunk-A6QJ4VFT.js} +2 -2
- package/dist/{chunk-SCJ5ZXEN.js → chunk-B2QYMUTD.js} +2 -2
- package/dist/{chunk-SCJ5ZXEN.js.map → chunk-B2QYMUTD.js.map} +1 -1
- package/dist/chunk-BIJHMWXK.js +21 -0
- package/dist/chunk-BIJHMWXK.js.map +1 -0
- package/dist/{chunk-4VDA4UM7.js → chunk-BKHIR2YJ.js} +2 -2
- package/dist/{chunk-5VKFIBXY.js → chunk-CM74OUXW.js} +2 -2
- package/dist/chunk-EQ33PFXP.js +55 -0
- package/dist/chunk-EQ33PFXP.js.map +1 -0
- package/dist/chunk-HF5EF335.js +8 -0
- package/dist/chunk-HF5EF335.js.map +1 -0
- package/dist/chunk-IMLAPB7G.js +4 -0
- package/dist/chunk-IMLAPB7G.js.map +1 -0
- package/dist/{chunk-U2EHJZAZ.js → chunk-JNKATLF7.js} +2 -2
- package/dist/{chunk-3PGPN323.js → chunk-JP5OAMWQ.js} +1 -1
- package/dist/chunk-JP5OAMWQ.js.map +1 -0
- package/dist/chunk-JRVJXAVC.js +861 -0
- package/dist/chunk-JRVJXAVC.js.map +1 -0
- package/dist/{chunk-J4I5ZJ2V.js → chunk-KDQI5S7F.js} +2 -2
- package/dist/chunk-KFIJDLQ5.js +3 -0
- package/dist/chunk-KFIJDLQ5.js.map +1 -0
- package/dist/{chunk-MZJY26FW.js → chunk-KKQPV6SO.js} +2 -2
- package/dist/{chunk-WX67I2KN.js → chunk-KQH4LPYC.js} +2 -2
- package/dist/chunk-MCBTVNPX.js +152 -0
- package/dist/chunk-MCBTVNPX.js.map +1 -0
- package/dist/{chunk-YHCPBMRH.js → chunk-MDGYSHO5.js} +2 -2
- package/dist/chunk-MRIVENBY.js +2 -0
- package/dist/{article-sync-TLZTHRZB.js.map → chunk-MRIVENBY.js.map} +1 -1
- package/dist/{chunk-242MPMJX.js → chunk-QNKSRROH.js} +2 -2
- package/dist/{chunk-GLQLCBJS.js → chunk-QSKG754X.js} +6 -3
- package/dist/chunk-QSKG754X.js.map +1 -0
- package/dist/{chunk-HF4OXA5L.js → chunk-RH3J4LCP.js} +3 -3
- package/dist/{chunk-QPYN2UTV.js → chunk-RYGVTAP4.js} +2 -2
- package/dist/chunk-S2RRPTS3.js +54 -0
- package/dist/chunk-S2RRPTS3.js.map +1 -0
- package/dist/{chunk-5KKXJZZ4.js → chunk-UDMI4TYM.js} +2 -2
- package/dist/{chunk-TJDNS5G6.js → chunk-VCQVF44A.js} +2 -2
- package/dist/{chunk-TN5A7PLU.js → chunk-WWNZL7XB.js} +2 -2
- package/dist/{chunk-Q5FEWCS5.js → chunk-XWVBLISN.js} +2 -2
- package/dist/{chunk-AD4QZZVN.js → chunk-YXFTUOZR.js} +2 -2
- package/dist/{chunk-RKB7FQJF.js → chunk-Z7RJ3K3J.js} +2 -2
- package/dist/{chunk-N2YSVZML.js → chunk-ZG4G6BFP.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/{client-KGWYROLX.js → client-TXZF32NO.js} +2 -2
- package/dist/config-ZIXIH23X.js +2 -0
- package/dist/{config-mutate-7BLOYRZF.js → config-mutate-KDBXIN7R.js} +2 -2
- package/dist/config-mutator-HKFGPJMG.js +2 -0
- package/dist/{contributions-DLUQEAGL.js → contributions-FBVULRR4.js} +2 -2
- package/dist/{contributions-DLUQEAGL.js.map → contributions-FBVULRR4.js.map} +1 -1
- package/dist/{doctor-32YP26SJ.js → doctor-NBWYG743.js} +2 -2
- package/dist/enrich-NH3WHKD6.js +16 -0
- package/dist/enrich-NH3WHKD6.js.map +1 -0
- package/dist/{failure-candidates-JNGUVBDG.js → failure-candidates-XZSZP4HT.js} +2 -2
- package/dist/{follow-up-tool-AQ7NYZZR.js → follow-up-tool-E5XKSPKA.js} +2 -2
- package/dist/graph-EXDH7EPZ.js +2 -0
- package/dist/hub-3QTJ7E3O.js +2 -0
- package/dist/index.d.ts +577 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/load-5DNMGHFW.js +2 -0
- package/dist/model-call-BGTDPWZD.js +2 -0
- package/dist/notes-WJJEJ4CJ.js +2 -0
- package/dist/processes-M3N3S7V5.js +2 -0
- package/dist/program-SA5O6IQ3.js +776 -0
- package/dist/program-SA5O6IQ3.js.map +1 -0
- package/dist/{promote-R7FKN5SY.js → promote-4XHYWHLA.js} +2 -2
- package/dist/query-ZGD32CE2.js +2 -0
- package/dist/query-settings-BSDXFS3V.js +3 -0
- package/dist/query-settings-BSDXFS3V.js.map +1 -0
- package/dist/registry-LM35AE2P.js +2 -0
- package/dist/{request-planner-LEUMSI2K.js → request-planner-4BAAOUBH.js} +2 -2
- package/dist/{review-candidates-MOSGA4IS.js → review-candidates-TM53WR7G.js} +2 -2
- package/dist/roster-IRXP32XF.js +2 -0
- package/dist/{rotation-memo-7VLREGS6.js → rotation-memo-2G6N3VF3.js} +2 -2
- package/dist/{routing-FSJ42RZH.js → routing-QLS6UMLM.js} +2 -2
- package/dist/schedule-tool-TTCWBAQ4.js +2 -0
- package/dist/{scheduler-6AQDHQI4.js → scheduler-PVXLF2VJ.js} +2 -2
- package/dist/scheduler-PVXLF2VJ.js.map +1 -0
- package/dist/{seat-O37EQRHE.js → seat-OUUN3F45.js} +2 -2
- package/dist/seat-OUUN3F45.js.map +1 -0
- package/dist/{select-XO2STSQN.js → select-D7UUSODY.js} +2 -2
- package/dist/{set-enabled-ZNEPEFGF.js → set-enabled-FDNS6KW6.js} +2 -2
- package/dist/summaries-BIRSNWGH.js +2 -0
- package/dist/summaries-BIRSNWGH.js.map +1 -0
- package/dist/{tool-PH45YCO5.js → tool-J5FM3OPM.js} +2 -2
- package/dist/{tool-6KMEAY4U.js → tool-SCBQYDI3.js} +2 -2
- package/dist/wiki-IGRRQL6H.js +2 -0
- package/dist/wiki-IGRRQL6H.js.map +1 -0
- package/dist/workspace-env-ROH45HXN.js +2 -0
- package/dist/workspace-env-ROH45HXN.js.map +1 -0
- package/package.json +1 -1
- package/dist/absorb-eval-MNGQ752C.js +0 -2
- package/dist/article-sync-TLZTHRZB.js +0 -2
- package/dist/board-dashboard-54A3XTV5.js.map +0 -1
- package/dist/chunk-3PGPN323.js.map +0 -1
- package/dist/chunk-76Z4VHDX.js +0 -8
- package/dist/chunk-76Z4VHDX.js.map +0 -1
- package/dist/chunk-AERIU4AH.js +0 -892
- package/dist/chunk-AERIU4AH.js.map +0 -1
- package/dist/chunk-BGG3ZSMW.js.map +0 -1
- package/dist/chunk-EO4DEEXL.js +0 -2
- package/dist/chunk-EO4DEEXL.js.map +0 -1
- package/dist/chunk-GLQLCBJS.js.map +0 -1
- package/dist/chunk-I4OQQRY2.js +0 -55
- package/dist/chunk-I4OQQRY2.js.map +0 -1
- package/dist/chunk-JE5EJGGD.js +0 -4
- package/dist/chunk-JE5EJGGD.js.map +0 -1
- package/dist/chunk-QX2B4TJU.js +0 -3
- package/dist/chunk-QX2B4TJU.js.map +0 -1
- package/dist/chunk-QXZLYCEZ.js.map +0 -1
- package/dist/chunk-UBA2QJCY.js.map +0 -1
- package/dist/chunk-UUFJQMHE.js +0 -54
- package/dist/chunk-UUFJQMHE.js.map +0 -1
- package/dist/chunk-VD7IO653.js +0 -3
- package/dist/chunk-W2HEJKJR.js +0 -156
- package/dist/chunk-W2HEJKJR.js.map +0 -1
- package/dist/config-FNTLKUGA.js +0 -2
- package/dist/config-mutator-NCLHYPJ3.js +0 -2
- package/dist/graph-5ZJ7YACP.js +0 -2
- package/dist/hub-Q3I4ALQ2.js +0 -2
- package/dist/load-NK3MIYXP.js +0 -2
- package/dist/notes-TMAGEDUS.js +0 -2
- package/dist/processes-5MP32QZT.js +0 -2
- package/dist/program-FESSM5TY.js +0 -766
- package/dist/program-FESSM5TY.js.map +0 -1
- package/dist/query-YTKTNXCQ.js +0 -2
- package/dist/registry-7L4RUATA.js +0 -2
- package/dist/schedule-tool-4T2VZIDW.js +0 -2
- package/dist/wiki-4HD4FZ4W.js +0 -2
- /package/dist/{App-DWSHIDN6.js.map → App-VPYWOTTH.js.map} +0 -0
- /package/dist/{ChatApp-CROSI7JM.js.map → ChatApp-SNED4KJB.js.map} +0 -0
- /package/dist/{absorb-eval-MNGQ752C.js.map → absorb-eval-WGO4JWTO.js.map} +0 -0
- /package/dist/{agent-4AQOFPRD.js.map → agent-HXQYYLWZ.js.map} +0 -0
- /package/dist/{builtin-W6KNX7RS.js.map → article-sync-4NOPOQU7.js.map} +0 -0
- /package/dist/{client-KGWYROLX.js.map → builtin-YD7MC572.js.map} +0 -0
- /package/dist/{chunk-LJWEJ6UZ.js.map → chunk-3WYLK3SX.js.map} +0 -0
- /package/dist/{chunk-I4GT27UO.js.map → chunk-724IBN5Y.js.map} +0 -0
- /package/dist/{chunk-NR7WLMNI.js.map → chunk-74LPAKQY.js.map} +0 -0
- /package/dist/{chunk-LLLBH2HH.js.map → chunk-A6QJ4VFT.js.map} +0 -0
- /package/dist/{chunk-4VDA4UM7.js.map → chunk-BKHIR2YJ.js.map} +0 -0
- /package/dist/{chunk-5VKFIBXY.js.map → chunk-CM74OUXW.js.map} +0 -0
- /package/dist/{chunk-U2EHJZAZ.js.map → chunk-JNKATLF7.js.map} +0 -0
- /package/dist/{chunk-J4I5ZJ2V.js.map → chunk-KDQI5S7F.js.map} +0 -0
- /package/dist/{chunk-MZJY26FW.js.map → chunk-KKQPV6SO.js.map} +0 -0
- /package/dist/{chunk-WX67I2KN.js.map → chunk-KQH4LPYC.js.map} +0 -0
- /package/dist/{chunk-YHCPBMRH.js.map → chunk-MDGYSHO5.js.map} +0 -0
- /package/dist/{chunk-242MPMJX.js.map → chunk-QNKSRROH.js.map} +0 -0
- /package/dist/{chunk-HF4OXA5L.js.map → chunk-RH3J4LCP.js.map} +0 -0
- /package/dist/{chunk-QPYN2UTV.js.map → chunk-RYGVTAP4.js.map} +0 -0
- /package/dist/{chunk-5KKXJZZ4.js.map → chunk-UDMI4TYM.js.map} +0 -0
- /package/dist/{chunk-TJDNS5G6.js.map → chunk-VCQVF44A.js.map} +0 -0
- /package/dist/{chunk-TN5A7PLU.js.map → chunk-WWNZL7XB.js.map} +0 -0
- /package/dist/{chunk-Q5FEWCS5.js.map → chunk-XWVBLISN.js.map} +0 -0
- /package/dist/{chunk-AD4QZZVN.js.map → chunk-YXFTUOZR.js.map} +0 -0
- /package/dist/{chunk-RKB7FQJF.js.map → chunk-Z7RJ3K3J.js.map} +0 -0
- /package/dist/{chunk-N2YSVZML.js.map → chunk-ZG4G6BFP.js.map} +0 -0
- /package/dist/{config-FNTLKUGA.js.map → client-TXZF32NO.js.map} +0 -0
- /package/dist/{config-mutate-7BLOYRZF.js.map → config-ZIXIH23X.js.map} +0 -0
- /package/dist/{config-mutator-NCLHYPJ3.js.map → config-mutate-KDBXIN7R.js.map} +0 -0
- /package/dist/{doctor-32YP26SJ.js.map → config-mutator-HKFGPJMG.js.map} +0 -0
- /package/dist/{failure-candidates-JNGUVBDG.js.map → doctor-NBWYG743.js.map} +0 -0
- /package/dist/{graph-5ZJ7YACP.js.map → failure-candidates-XZSZP4HT.js.map} +0 -0
- /package/dist/{follow-up-tool-AQ7NYZZR.js.map → follow-up-tool-E5XKSPKA.js.map} +0 -0
- /package/dist/{hub-Q3I4ALQ2.js.map → graph-EXDH7EPZ.js.map} +0 -0
- /package/dist/{load-NK3MIYXP.js.map → hub-3QTJ7E3O.js.map} +0 -0
- /package/dist/{notes-TMAGEDUS.js.map → load-5DNMGHFW.js.map} +0 -0
- /package/dist/{processes-5MP32QZT.js.map → model-call-BGTDPWZD.js.map} +0 -0
- /package/dist/{promote-R7FKN5SY.js.map → notes-WJJEJ4CJ.js.map} +0 -0
- /package/dist/{query-YTKTNXCQ.js.map → processes-M3N3S7V5.js.map} +0 -0
- /package/dist/{registry-7L4RUATA.js.map → promote-4XHYWHLA.js.map} +0 -0
- /package/dist/{routing-FSJ42RZH.js.map → query-ZGD32CE2.js.map} +0 -0
- /package/dist/{schedule-tool-4T2VZIDW.js.map → registry-LM35AE2P.js.map} +0 -0
- /package/dist/{request-planner-LEUMSI2K.js.map → request-planner-4BAAOUBH.js.map} +0 -0
- /package/dist/{review-candidates-MOSGA4IS.js.map → review-candidates-TM53WR7G.js.map} +0 -0
- /package/dist/{scheduler-6AQDHQI4.js.map → roster-IRXP32XF.js.map} +0 -0
- /package/dist/{rotation-memo-7VLREGS6.js.map → rotation-memo-2G6N3VF3.js.map} +0 -0
- /package/dist/{seat-O37EQRHE.js.map → routing-QLS6UMLM.js.map} +0 -0
- /package/dist/{wiki-4HD4FZ4W.js.map → schedule-tool-TTCWBAQ4.js.map} +0 -0
- /package/dist/{select-XO2STSQN.js.map → select-D7UUSODY.js.map} +0 -0
- /package/dist/{set-enabled-ZNEPEFGF.js.map → set-enabled-FDNS6KW6.js.map} +0 -0
- /package/dist/{tool-PH45YCO5.js.map → tool-J5FM3OPM.js.map} +0 -0
- /package/dist/{tool-6KMEAY4U.js.map → tool-SCBQYDI3.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3111,14 +3111,338 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3111
3111
|
/** `wiki query` also searches other agents' readable pages and the
|
|
3112
3112
|
* root wiki's own pages. */
|
|
3113
3113
|
shared: z.ZodDefault<z.ZodBoolean>;
|
|
3114
|
+
/** How pages are picked (#855). `summaries`: from the one-line page
|
|
3115
|
+
* summaries `agentx wiki summarize` writes, then a live read.
|
|
3116
|
+
* `catalog`: from titles, then a walk along the pages' links.
|
|
3117
|
+
* `auto`: `summaries` once summaries exist, `catalog` until then. */
|
|
3118
|
+
method: z.ZodDefault<z.ZodEnum<["auto", "summaries", "catalog"]>>;
|
|
3119
|
+
/** The agent's own pages shown to the model that picks. */
|
|
3120
|
+
candidates: z.ZodDefault<z.ZodNumber>;
|
|
3121
|
+
/** Other agents' pages shown beside them. */
|
|
3122
|
+
sharedCandidates: z.ZodDefault<z.ZodNumber>;
|
|
3123
|
+
/** Most pages opened for one answer. */
|
|
3124
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
3125
|
+
/** Characters of each opened page given to the answer. */
|
|
3126
|
+
pageChars: z.ZodDefault<z.ZodNumber>;
|
|
3127
|
+
/** Model that picks pages from the summary lines. */
|
|
3128
|
+
navigatorModel: z.ZodDefault<z.ZodString>;
|
|
3129
|
+
/** Model that writes the answer. */
|
|
3130
|
+
answerModel: z.ZodDefault<z.ZodString>;
|
|
3131
|
+
/** Before the answer, confirm at the source what may have changed
|
|
3132
|
+
* since the pages were written. A model names the reads; code runs
|
|
3133
|
+
* them, and each is one HTTP GET. Nothing runs until `sources`
|
|
3134
|
+
* lists where to read. */
|
|
3135
|
+
live: z.ZodDefault<z.ZodObject<{
|
|
3136
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3137
|
+
/** Most reads for one question. */
|
|
3138
|
+
maxReads: z.ZodDefault<z.ZodNumber>;
|
|
3139
|
+
/** Timeout of one read, in milliseconds. */
|
|
3140
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
3141
|
+
/** Model that names the reads. */
|
|
3142
|
+
plannerModel: z.ZodDefault<z.ZodString>;
|
|
3143
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3144
|
+
repos: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3145
|
+
repo: z.ZodString;
|
|
3146
|
+
/** What lives there, shown to the model so it names the right one. */
|
|
3147
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
}, "strip", z.ZodTypeAny, {
|
|
3149
|
+
repo: string;
|
|
3150
|
+
about?: string | undefined;
|
|
3151
|
+
}, {
|
|
3152
|
+
repo: string;
|
|
3153
|
+
about?: string | undefined;
|
|
3154
|
+
}>]>, "many">;
|
|
3155
|
+
/** Name of the environment variable that holds the token. */
|
|
3156
|
+
tokenEnv: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
/** File whose first line is the token. */
|
|
3158
|
+
tokenFile: z.ZodOptional<z.ZodString>;
|
|
3159
|
+
type: z.ZodLiteral<"github">;
|
|
3160
|
+
apiUrl: z.ZodDefault<z.ZodString>;
|
|
3161
|
+
}, "strip", z.ZodTypeAny, {
|
|
3162
|
+
type: "github";
|
|
3163
|
+
apiUrl: string;
|
|
3164
|
+
repos: (string | {
|
|
3165
|
+
repo: string;
|
|
3166
|
+
about?: string | undefined;
|
|
3167
|
+
})[];
|
|
3168
|
+
tokenEnv?: string | undefined;
|
|
3169
|
+
tokenFile?: string | undefined;
|
|
3170
|
+
}, {
|
|
3171
|
+
type: "github";
|
|
3172
|
+
repos: (string | {
|
|
3173
|
+
repo: string;
|
|
3174
|
+
about?: string | undefined;
|
|
3175
|
+
})[];
|
|
3176
|
+
tokenEnv?: string | undefined;
|
|
3177
|
+
tokenFile?: string | undefined;
|
|
3178
|
+
apiUrl?: string | undefined;
|
|
3179
|
+
}>, z.ZodObject<{
|
|
3180
|
+
repos: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3181
|
+
repo: z.ZodString;
|
|
3182
|
+
/** What lives there, shown to the model so it names the right one. */
|
|
3183
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3184
|
+
}, "strip", z.ZodTypeAny, {
|
|
3185
|
+
repo: string;
|
|
3186
|
+
about?: string | undefined;
|
|
3187
|
+
}, {
|
|
3188
|
+
repo: string;
|
|
3189
|
+
about?: string | undefined;
|
|
3190
|
+
}>]>, "many">;
|
|
3191
|
+
/** Name of the environment variable that holds the token. */
|
|
3192
|
+
tokenEnv: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
/** File whose first line is the token. */
|
|
3194
|
+
tokenFile: z.ZodOptional<z.ZodString>;
|
|
3195
|
+
type: z.ZodLiteral<"gitlab">;
|
|
3196
|
+
/** The GitLab host. Unset: `channels.gitlab.host`. */
|
|
3197
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
}, "strip", z.ZodTypeAny, {
|
|
3199
|
+
type: "gitlab";
|
|
3200
|
+
repos: (string | {
|
|
3201
|
+
repo: string;
|
|
3202
|
+
about?: string | undefined;
|
|
3203
|
+
})[];
|
|
3204
|
+
url?: string | undefined;
|
|
3205
|
+
tokenEnv?: string | undefined;
|
|
3206
|
+
tokenFile?: string | undefined;
|
|
3207
|
+
}, {
|
|
3208
|
+
type: "gitlab";
|
|
3209
|
+
repos: (string | {
|
|
3210
|
+
repo: string;
|
|
3211
|
+
about?: string | undefined;
|
|
3212
|
+
})[];
|
|
3213
|
+
url?: string | undefined;
|
|
3214
|
+
tokenEnv?: string | undefined;
|
|
3215
|
+
tokenFile?: string | undefined;
|
|
3216
|
+
}>, z.ZodObject<{
|
|
3217
|
+
type: z.ZodLiteral<"agentx">;
|
|
3218
|
+
/** The daemon to ask. Unset: this node. */
|
|
3219
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3220
|
+
/** Also ask each mesh peer the daemon lists. */
|
|
3221
|
+
peers: z.ZodDefault<z.ZodBoolean>;
|
|
3222
|
+
}, "strip", z.ZodTypeAny, {
|
|
3223
|
+
type: "agentx";
|
|
3224
|
+
peers: boolean;
|
|
3225
|
+
url?: string | undefined;
|
|
3226
|
+
}, {
|
|
3227
|
+
type: "agentx";
|
|
3228
|
+
url?: string | undefined;
|
|
3229
|
+
peers?: boolean | undefined;
|
|
3230
|
+
}>]>, "many">>;
|
|
3231
|
+
}, "strip", z.ZodTypeAny, {
|
|
3232
|
+
enabled: boolean;
|
|
3233
|
+
timeoutMs: number;
|
|
3234
|
+
maxReads: number;
|
|
3235
|
+
plannerModel: string;
|
|
3236
|
+
sources: ({
|
|
3237
|
+
type: "github";
|
|
3238
|
+
apiUrl: string;
|
|
3239
|
+
repos: (string | {
|
|
3240
|
+
repo: string;
|
|
3241
|
+
about?: string | undefined;
|
|
3242
|
+
})[];
|
|
3243
|
+
tokenEnv?: string | undefined;
|
|
3244
|
+
tokenFile?: string | undefined;
|
|
3245
|
+
} | {
|
|
3246
|
+
type: "gitlab";
|
|
3247
|
+
repos: (string | {
|
|
3248
|
+
repo: string;
|
|
3249
|
+
about?: string | undefined;
|
|
3250
|
+
})[];
|
|
3251
|
+
url?: string | undefined;
|
|
3252
|
+
tokenEnv?: string | undefined;
|
|
3253
|
+
tokenFile?: string | undefined;
|
|
3254
|
+
} | {
|
|
3255
|
+
type: "agentx";
|
|
3256
|
+
peers: boolean;
|
|
3257
|
+
url?: string | undefined;
|
|
3258
|
+
})[];
|
|
3259
|
+
}, {
|
|
3260
|
+
enabled?: boolean | undefined;
|
|
3261
|
+
timeoutMs?: number | undefined;
|
|
3262
|
+
maxReads?: number | undefined;
|
|
3263
|
+
plannerModel?: string | undefined;
|
|
3264
|
+
sources?: ({
|
|
3265
|
+
type: "github";
|
|
3266
|
+
repos: (string | {
|
|
3267
|
+
repo: string;
|
|
3268
|
+
about?: string | undefined;
|
|
3269
|
+
})[];
|
|
3270
|
+
tokenEnv?: string | undefined;
|
|
3271
|
+
tokenFile?: string | undefined;
|
|
3272
|
+
apiUrl?: string | undefined;
|
|
3273
|
+
} | {
|
|
3274
|
+
type: "gitlab";
|
|
3275
|
+
repos: (string | {
|
|
3276
|
+
repo: string;
|
|
3277
|
+
about?: string | undefined;
|
|
3278
|
+
})[];
|
|
3279
|
+
url?: string | undefined;
|
|
3280
|
+
tokenEnv?: string | undefined;
|
|
3281
|
+
tokenFile?: string | undefined;
|
|
3282
|
+
} | {
|
|
3283
|
+
type: "agentx";
|
|
3284
|
+
url?: string | undefined;
|
|
3285
|
+
peers?: boolean | undefined;
|
|
3286
|
+
})[] | undefined;
|
|
3287
|
+
}>>;
|
|
3114
3288
|
}, "strip", z.ZodTypeAny, {
|
|
3289
|
+
method: "auto" | "summaries" | "catalog";
|
|
3115
3290
|
shared: boolean;
|
|
3291
|
+
candidates: number;
|
|
3292
|
+
sharedCandidates: number;
|
|
3293
|
+
maxPages: number;
|
|
3294
|
+
pageChars: number;
|
|
3295
|
+
navigatorModel: string;
|
|
3296
|
+
answerModel: string;
|
|
3297
|
+
live: {
|
|
3298
|
+
enabled: boolean;
|
|
3299
|
+
timeoutMs: number;
|
|
3300
|
+
maxReads: number;
|
|
3301
|
+
plannerModel: string;
|
|
3302
|
+
sources: ({
|
|
3303
|
+
type: "github";
|
|
3304
|
+
apiUrl: string;
|
|
3305
|
+
repos: (string | {
|
|
3306
|
+
repo: string;
|
|
3307
|
+
about?: string | undefined;
|
|
3308
|
+
})[];
|
|
3309
|
+
tokenEnv?: string | undefined;
|
|
3310
|
+
tokenFile?: string | undefined;
|
|
3311
|
+
} | {
|
|
3312
|
+
type: "gitlab";
|
|
3313
|
+
repos: (string | {
|
|
3314
|
+
repo: string;
|
|
3315
|
+
about?: string | undefined;
|
|
3316
|
+
})[];
|
|
3317
|
+
url?: string | undefined;
|
|
3318
|
+
tokenEnv?: string | undefined;
|
|
3319
|
+
tokenFile?: string | undefined;
|
|
3320
|
+
} | {
|
|
3321
|
+
type: "agentx";
|
|
3322
|
+
peers: boolean;
|
|
3323
|
+
url?: string | undefined;
|
|
3324
|
+
})[];
|
|
3325
|
+
};
|
|
3116
3326
|
}, {
|
|
3327
|
+
method?: "auto" | "summaries" | "catalog" | undefined;
|
|
3117
3328
|
shared?: boolean | undefined;
|
|
3329
|
+
candidates?: number | undefined;
|
|
3330
|
+
sharedCandidates?: number | undefined;
|
|
3331
|
+
maxPages?: number | undefined;
|
|
3332
|
+
pageChars?: number | undefined;
|
|
3333
|
+
navigatorModel?: string | undefined;
|
|
3334
|
+
answerModel?: string | undefined;
|
|
3335
|
+
live?: {
|
|
3336
|
+
enabled?: boolean | undefined;
|
|
3337
|
+
timeoutMs?: number | undefined;
|
|
3338
|
+
maxReads?: number | undefined;
|
|
3339
|
+
plannerModel?: string | undefined;
|
|
3340
|
+
sources?: ({
|
|
3341
|
+
type: "github";
|
|
3342
|
+
repos: (string | {
|
|
3343
|
+
repo: string;
|
|
3344
|
+
about?: string | undefined;
|
|
3345
|
+
})[];
|
|
3346
|
+
tokenEnv?: string | undefined;
|
|
3347
|
+
tokenFile?: string | undefined;
|
|
3348
|
+
apiUrl?: string | undefined;
|
|
3349
|
+
} | {
|
|
3350
|
+
type: "gitlab";
|
|
3351
|
+
repos: (string | {
|
|
3352
|
+
repo: string;
|
|
3353
|
+
about?: string | undefined;
|
|
3354
|
+
})[];
|
|
3355
|
+
url?: string | undefined;
|
|
3356
|
+
tokenEnv?: string | undefined;
|
|
3357
|
+
tokenFile?: string | undefined;
|
|
3358
|
+
} | {
|
|
3359
|
+
type: "agentx";
|
|
3360
|
+
url?: string | undefined;
|
|
3361
|
+
peers?: boolean | undefined;
|
|
3362
|
+
})[] | undefined;
|
|
3363
|
+
} | undefined;
|
|
3364
|
+
}>>;
|
|
3365
|
+
/** One-line page summaries `wiki query` picks pages from (#855). */
|
|
3366
|
+
summaries: z.ZodDefault<z.ZodObject<{
|
|
3367
|
+
model: z.ZodDefault<z.ZodString>;
|
|
3368
|
+
/** Pages per model call. */
|
|
3369
|
+
batchSize: z.ZodDefault<z.ZodNumber>;
|
|
3370
|
+
/** Longest summary, in words. */
|
|
3371
|
+
maxWords: z.ZodDefault<z.ZodNumber>;
|
|
3372
|
+
/** When `agentx wiki summarize` runs on its own (cron, 5 fields).
|
|
3373
|
+
* Unset: no job is added. */
|
|
3374
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
3375
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
3376
|
+
/** Agent the job is filed under. Unset: `node.defaultAgent`, else
|
|
3377
|
+
* the first agent. */
|
|
3378
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
3379
|
+
}, "strip", z.ZodTypeAny, {
|
|
3380
|
+
model: string;
|
|
3381
|
+
timezone: string;
|
|
3382
|
+
batchSize: number;
|
|
3383
|
+
maxWords: number;
|
|
3384
|
+
agent?: string | undefined;
|
|
3385
|
+
schedule?: string | undefined;
|
|
3386
|
+
}, {
|
|
3387
|
+
model?: string | undefined;
|
|
3388
|
+
agent?: string | undefined;
|
|
3389
|
+
schedule?: string | undefined;
|
|
3390
|
+
timezone?: string | undefined;
|
|
3391
|
+
batchSize?: number | undefined;
|
|
3392
|
+
maxWords?: number | undefined;
|
|
3393
|
+
}>>;
|
|
3394
|
+
/** The chat bubble on every wiki page: the owner types an instruction and
|
|
3395
|
+
* an agent researches it and edits the open page. */
|
|
3396
|
+
curator: z.ZodDefault<z.ZodObject<{
|
|
3397
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3398
|
+
/** Agent that answers. Unset: the page's owner agent. */
|
|
3399
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
3400
|
+
}, "strip", z.ZodTypeAny, {
|
|
3401
|
+
enabled: boolean;
|
|
3402
|
+
agent?: string | undefined;
|
|
3403
|
+
}, {
|
|
3404
|
+
enabled?: boolean | undefined;
|
|
3405
|
+
agent?: string | undefined;
|
|
3118
3406
|
}>>;
|
|
3119
3407
|
}, "strip", z.ZodTypeAny, {
|
|
3120
3408
|
query: {
|
|
3409
|
+
method: "auto" | "summaries" | "catalog";
|
|
3121
3410
|
shared: boolean;
|
|
3411
|
+
candidates: number;
|
|
3412
|
+
sharedCandidates: number;
|
|
3413
|
+
maxPages: number;
|
|
3414
|
+
pageChars: number;
|
|
3415
|
+
navigatorModel: string;
|
|
3416
|
+
answerModel: string;
|
|
3417
|
+
live: {
|
|
3418
|
+
enabled: boolean;
|
|
3419
|
+
timeoutMs: number;
|
|
3420
|
+
maxReads: number;
|
|
3421
|
+
plannerModel: string;
|
|
3422
|
+
sources: ({
|
|
3423
|
+
type: "github";
|
|
3424
|
+
apiUrl: string;
|
|
3425
|
+
repos: (string | {
|
|
3426
|
+
repo: string;
|
|
3427
|
+
about?: string | undefined;
|
|
3428
|
+
})[];
|
|
3429
|
+
tokenEnv?: string | undefined;
|
|
3430
|
+
tokenFile?: string | undefined;
|
|
3431
|
+
} | {
|
|
3432
|
+
type: "gitlab";
|
|
3433
|
+
repos: (string | {
|
|
3434
|
+
repo: string;
|
|
3435
|
+
about?: string | undefined;
|
|
3436
|
+
})[];
|
|
3437
|
+
url?: string | undefined;
|
|
3438
|
+
tokenEnv?: string | undefined;
|
|
3439
|
+
tokenFile?: string | undefined;
|
|
3440
|
+
} | {
|
|
3441
|
+
type: "agentx";
|
|
3442
|
+
peers: boolean;
|
|
3443
|
+
url?: string | undefined;
|
|
3444
|
+
})[];
|
|
3445
|
+
};
|
|
3122
3446
|
};
|
|
3123
3447
|
contributions: {
|
|
3124
3448
|
model: string;
|
|
@@ -3127,9 +3451,57 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3127
3451
|
maxCostUsd: number;
|
|
3128
3452
|
mergeSchedule: string;
|
|
3129
3453
|
};
|
|
3454
|
+
summaries: {
|
|
3455
|
+
model: string;
|
|
3456
|
+
timezone: string;
|
|
3457
|
+
batchSize: number;
|
|
3458
|
+
maxWords: number;
|
|
3459
|
+
agent?: string | undefined;
|
|
3460
|
+
schedule?: string | undefined;
|
|
3461
|
+
};
|
|
3462
|
+
curator: {
|
|
3463
|
+
enabled: boolean;
|
|
3464
|
+
agent?: string | undefined;
|
|
3465
|
+
};
|
|
3130
3466
|
}, {
|
|
3131
3467
|
query?: {
|
|
3468
|
+
method?: "auto" | "summaries" | "catalog" | undefined;
|
|
3132
3469
|
shared?: boolean | undefined;
|
|
3470
|
+
candidates?: number | undefined;
|
|
3471
|
+
sharedCandidates?: number | undefined;
|
|
3472
|
+
maxPages?: number | undefined;
|
|
3473
|
+
pageChars?: number | undefined;
|
|
3474
|
+
navigatorModel?: string | undefined;
|
|
3475
|
+
answerModel?: string | undefined;
|
|
3476
|
+
live?: {
|
|
3477
|
+
enabled?: boolean | undefined;
|
|
3478
|
+
timeoutMs?: number | undefined;
|
|
3479
|
+
maxReads?: number | undefined;
|
|
3480
|
+
plannerModel?: string | undefined;
|
|
3481
|
+
sources?: ({
|
|
3482
|
+
type: "github";
|
|
3483
|
+
repos: (string | {
|
|
3484
|
+
repo: string;
|
|
3485
|
+
about?: string | undefined;
|
|
3486
|
+
})[];
|
|
3487
|
+
tokenEnv?: string | undefined;
|
|
3488
|
+
tokenFile?: string | undefined;
|
|
3489
|
+
apiUrl?: string | undefined;
|
|
3490
|
+
} | {
|
|
3491
|
+
type: "gitlab";
|
|
3492
|
+
repos: (string | {
|
|
3493
|
+
repo: string;
|
|
3494
|
+
about?: string | undefined;
|
|
3495
|
+
})[];
|
|
3496
|
+
url?: string | undefined;
|
|
3497
|
+
tokenEnv?: string | undefined;
|
|
3498
|
+
tokenFile?: string | undefined;
|
|
3499
|
+
} | {
|
|
3500
|
+
type: "agentx";
|
|
3501
|
+
url?: string | undefined;
|
|
3502
|
+
peers?: boolean | undefined;
|
|
3503
|
+
})[] | undefined;
|
|
3504
|
+
} | undefined;
|
|
3133
3505
|
} | undefined;
|
|
3134
3506
|
contributions?: {
|
|
3135
3507
|
model?: string | undefined;
|
|
@@ -3138,6 +3510,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
3138
3510
|
maxCostUsd?: number | undefined;
|
|
3139
3511
|
mergeSchedule?: string | undefined;
|
|
3140
3512
|
} | undefined;
|
|
3513
|
+
summaries?: {
|
|
3514
|
+
model?: string | undefined;
|
|
3515
|
+
agent?: string | undefined;
|
|
3516
|
+
schedule?: string | undefined;
|
|
3517
|
+
timezone?: string | undefined;
|
|
3518
|
+
batchSize?: number | undefined;
|
|
3519
|
+
maxWords?: number | undefined;
|
|
3520
|
+
} | undefined;
|
|
3521
|
+
curator?: {
|
|
3522
|
+
enabled?: boolean | undefined;
|
|
3523
|
+
agent?: string | undefined;
|
|
3524
|
+
} | undefined;
|
|
3141
3525
|
}>>;
|
|
3142
3526
|
channels: z.ZodDefault<z.ZodObject<{
|
|
3143
3527
|
telegram: z.ZodDefault<z.ZodObject<{
|
|
@@ -5142,6 +5526,34 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
5142
5526
|
windowMinutes?: number | undefined;
|
|
5143
5527
|
} | undefined;
|
|
5144
5528
|
}>>;
|
|
5529
|
+
/** Stop and resume signals (agents/signals, #857): stop a running task
|
|
5530
|
+
* cleanly, keep the agent's resume plan, resume it later. The owner may
|
|
5531
|
+
* always signal; an agent may signal tasks it dispatched, or any task
|
|
5532
|
+
* when listed in allowAgents; a mesh peer only when listed in allowPeers. */
|
|
5533
|
+
signals: z.ZodDefault<z.ZodObject<{
|
|
5534
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5535
|
+
/** How long the stopped agent gets to write its resume plan. Past it,
|
|
5536
|
+
* the wind-down is stopped and a plan is built from the trace. */
|
|
5537
|
+
windDownSeconds: z.ZodDefault<z.ZodNumber>;
|
|
5538
|
+
/** Agents that may stop or resume any agent's task here ("*" for all). */
|
|
5539
|
+
allowAgents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5540
|
+
/** Mesh peers (node names) whose stop and resume signals are accepted. */
|
|
5541
|
+
allowPeers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5542
|
+
/** Loop brake: most signals one root id may carry in a day. */
|
|
5543
|
+
maxPerRoot: z.ZodDefault<z.ZodNumber>;
|
|
5544
|
+
}, "strip", z.ZodTypeAny, {
|
|
5545
|
+
enabled: boolean;
|
|
5546
|
+
windDownSeconds: number;
|
|
5547
|
+
allowAgents: string[];
|
|
5548
|
+
allowPeers: string[];
|
|
5549
|
+
maxPerRoot: number;
|
|
5550
|
+
}, {
|
|
5551
|
+
enabled?: boolean | undefined;
|
|
5552
|
+
windDownSeconds?: number | undefined;
|
|
5553
|
+
allowAgents?: string[] | undefined;
|
|
5554
|
+
allowPeers?: string[] | undefined;
|
|
5555
|
+
maxPerRoot?: number | undefined;
|
|
5556
|
+
}>>;
|
|
5145
5557
|
/** Open requests (src/requests, #356): what a person asked an agent for
|
|
5146
5558
|
* is recorded and followed until it is done, declined or dropped. Off
|
|
5147
5559
|
* by default. */
|
|
@@ -7641,7 +8053,43 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7641
8053
|
};
|
|
7642
8054
|
wiki: {
|
|
7643
8055
|
query: {
|
|
8056
|
+
method: "auto" | "summaries" | "catalog";
|
|
7644
8057
|
shared: boolean;
|
|
8058
|
+
candidates: number;
|
|
8059
|
+
sharedCandidates: number;
|
|
8060
|
+
maxPages: number;
|
|
8061
|
+
pageChars: number;
|
|
8062
|
+
navigatorModel: string;
|
|
8063
|
+
answerModel: string;
|
|
8064
|
+
live: {
|
|
8065
|
+
enabled: boolean;
|
|
8066
|
+
timeoutMs: number;
|
|
8067
|
+
maxReads: number;
|
|
8068
|
+
plannerModel: string;
|
|
8069
|
+
sources: ({
|
|
8070
|
+
type: "github";
|
|
8071
|
+
apiUrl: string;
|
|
8072
|
+
repos: (string | {
|
|
8073
|
+
repo: string;
|
|
8074
|
+
about?: string | undefined;
|
|
8075
|
+
})[];
|
|
8076
|
+
tokenEnv?: string | undefined;
|
|
8077
|
+
tokenFile?: string | undefined;
|
|
8078
|
+
} | {
|
|
8079
|
+
type: "gitlab";
|
|
8080
|
+
repos: (string | {
|
|
8081
|
+
repo: string;
|
|
8082
|
+
about?: string | undefined;
|
|
8083
|
+
})[];
|
|
8084
|
+
url?: string | undefined;
|
|
8085
|
+
tokenEnv?: string | undefined;
|
|
8086
|
+
tokenFile?: string | undefined;
|
|
8087
|
+
} | {
|
|
8088
|
+
type: "agentx";
|
|
8089
|
+
peers: boolean;
|
|
8090
|
+
url?: string | undefined;
|
|
8091
|
+
})[];
|
|
8092
|
+
};
|
|
7645
8093
|
};
|
|
7646
8094
|
contributions: {
|
|
7647
8095
|
model: string;
|
|
@@ -7650,6 +8098,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7650
8098
|
maxCostUsd: number;
|
|
7651
8099
|
mergeSchedule: string;
|
|
7652
8100
|
};
|
|
8101
|
+
summaries: {
|
|
8102
|
+
model: string;
|
|
8103
|
+
timezone: string;
|
|
8104
|
+
batchSize: number;
|
|
8105
|
+
maxWords: number;
|
|
8106
|
+
agent?: string | undefined;
|
|
8107
|
+
schedule?: string | undefined;
|
|
8108
|
+
};
|
|
8109
|
+
curator: {
|
|
8110
|
+
enabled: boolean;
|
|
8111
|
+
agent?: string | undefined;
|
|
8112
|
+
};
|
|
7653
8113
|
};
|
|
7654
8114
|
app: {
|
|
7655
8115
|
android: {
|
|
@@ -8088,6 +8548,13 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8088
8548
|
};
|
|
8089
8549
|
drainTimeoutSeconds?: number | undefined;
|
|
8090
8550
|
};
|
|
8551
|
+
signals: {
|
|
8552
|
+
enabled: boolean;
|
|
8553
|
+
windDownSeconds: number;
|
|
8554
|
+
allowAgents: string[];
|
|
8555
|
+
allowPeers: string[];
|
|
8556
|
+
maxPerRoot: number;
|
|
8557
|
+
};
|
|
8091
8558
|
people: {
|
|
8092
8559
|
agents: string[];
|
|
8093
8560
|
id: string;
|
|
@@ -8536,7 +9003,43 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8536
9003
|
} | undefined;
|
|
8537
9004
|
wiki?: {
|
|
8538
9005
|
query?: {
|
|
9006
|
+
method?: "auto" | "summaries" | "catalog" | undefined;
|
|
8539
9007
|
shared?: boolean | undefined;
|
|
9008
|
+
candidates?: number | undefined;
|
|
9009
|
+
sharedCandidates?: number | undefined;
|
|
9010
|
+
maxPages?: number | undefined;
|
|
9011
|
+
pageChars?: number | undefined;
|
|
9012
|
+
navigatorModel?: string | undefined;
|
|
9013
|
+
answerModel?: string | undefined;
|
|
9014
|
+
live?: {
|
|
9015
|
+
enabled?: boolean | undefined;
|
|
9016
|
+
timeoutMs?: number | undefined;
|
|
9017
|
+
maxReads?: number | undefined;
|
|
9018
|
+
plannerModel?: string | undefined;
|
|
9019
|
+
sources?: ({
|
|
9020
|
+
type: "github";
|
|
9021
|
+
repos: (string | {
|
|
9022
|
+
repo: string;
|
|
9023
|
+
about?: string | undefined;
|
|
9024
|
+
})[];
|
|
9025
|
+
tokenEnv?: string | undefined;
|
|
9026
|
+
tokenFile?: string | undefined;
|
|
9027
|
+
apiUrl?: string | undefined;
|
|
9028
|
+
} | {
|
|
9029
|
+
type: "gitlab";
|
|
9030
|
+
repos: (string | {
|
|
9031
|
+
repo: string;
|
|
9032
|
+
about?: string | undefined;
|
|
9033
|
+
})[];
|
|
9034
|
+
url?: string | undefined;
|
|
9035
|
+
tokenEnv?: string | undefined;
|
|
9036
|
+
tokenFile?: string | undefined;
|
|
9037
|
+
} | {
|
|
9038
|
+
type: "agentx";
|
|
9039
|
+
url?: string | undefined;
|
|
9040
|
+
peers?: boolean | undefined;
|
|
9041
|
+
})[] | undefined;
|
|
9042
|
+
} | undefined;
|
|
8540
9043
|
} | undefined;
|
|
8541
9044
|
contributions?: {
|
|
8542
9045
|
model?: string | undefined;
|
|
@@ -8545,6 +9048,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8545
9048
|
maxCostUsd?: number | undefined;
|
|
8546
9049
|
mergeSchedule?: string | undefined;
|
|
8547
9050
|
} | undefined;
|
|
9051
|
+
summaries?: {
|
|
9052
|
+
model?: string | undefined;
|
|
9053
|
+
agent?: string | undefined;
|
|
9054
|
+
schedule?: string | undefined;
|
|
9055
|
+
timezone?: string | undefined;
|
|
9056
|
+
batchSize?: number | undefined;
|
|
9057
|
+
maxWords?: number | undefined;
|
|
9058
|
+
} | undefined;
|
|
9059
|
+
curator?: {
|
|
9060
|
+
enabled?: boolean | undefined;
|
|
9061
|
+
agent?: string | undefined;
|
|
9062
|
+
} | undefined;
|
|
8548
9063
|
} | undefined;
|
|
8549
9064
|
app?: {
|
|
8550
9065
|
android?: {
|
|
@@ -9045,6 +9560,13 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9045
9560
|
} | undefined;
|
|
9046
9561
|
drainTimeoutSeconds?: number | undefined;
|
|
9047
9562
|
} | undefined;
|
|
9563
|
+
signals?: {
|
|
9564
|
+
enabled?: boolean | undefined;
|
|
9565
|
+
windDownSeconds?: number | undefined;
|
|
9566
|
+
allowAgents?: string[] | undefined;
|
|
9567
|
+
allowPeers?: string[] | undefined;
|
|
9568
|
+
maxPerRoot?: number | undefined;
|
|
9569
|
+
} | undefined;
|
|
9048
9570
|
people?: {
|
|
9049
9571
|
id: string;
|
|
9050
9572
|
name: string;
|
|
@@ -9722,6 +10244,8 @@ interface AgentXEvents {
|
|
|
9722
10244
|
/** A daemon shutdown stopped the run. Its trace stays in flight so the
|
|
9723
10245
|
* next boot can resume it. */
|
|
9724
10246
|
interrupted?: boolean;
|
|
10247
|
+
/** Ended by a stop signal (agents/signals, #857): status `stopped`. */
|
|
10248
|
+
stopped?: boolean;
|
|
9725
10249
|
inputTokens?: number;
|
|
9726
10250
|
outputTokens?: number;
|
|
9727
10251
|
cacheReadTokens?: number;
|
|
@@ -9955,6 +10479,8 @@ declare class AgentXDaemon {
|
|
|
9955
10479
|
private landscape;
|
|
9956
10480
|
private heartbeat;
|
|
9957
10481
|
private stopEventWaker?;
|
|
10482
|
+
/** Stop and resume signals (agents/signals, #857). */
|
|
10483
|
+
private signals;
|
|
9958
10484
|
private business?;
|
|
9959
10485
|
private httpServer?;
|
|
9960
10486
|
private attachSweep?;
|
|
@@ -9977,6 +10503,8 @@ declare class AgentXDaemon {
|
|
|
9977
10503
|
/** Watched WhatsApp chats (src/whatsapp-triage). Null without SQLite. */
|
|
9978
10504
|
private waTriage;
|
|
9979
10505
|
private assistantStore;
|
|
10506
|
+
/** The chat bubble on wiki pages (#818). */
|
|
10507
|
+
private wikiCurate;
|
|
9980
10508
|
/** Workflow health for the monitor. Cached for a minute: the dashboard
|
|
9981
10509
|
* polls every 15s and dormancy does not change on that timescale. */
|
|
9982
10510
|
private workflowHealth;
|
|
@@ -10043,6 +10571,12 @@ declare class AgentXDaemon {
|
|
|
10043
10571
|
private bootTimes;
|
|
10044
10572
|
/** Every start on record with who stopped the one before (boot-record.ts). */
|
|
10045
10573
|
private bootLog;
|
|
10574
|
+
/** The resumers that re-enter a run where it came from: used by the boot
|
|
10575
|
+
* resume pass and by resume signals (agents/signals, #857). */
|
|
10576
|
+
private resumeCoordinatorInstance?;
|
|
10577
|
+
private resumeCoordinator;
|
|
10578
|
+
/** Stop a running task with a resume plan, and resume it later (#857). */
|
|
10579
|
+
private createSignalService;
|
|
10046
10580
|
/** Resume, report or skip each run the last restart cut off. Never throws. */
|
|
10047
10581
|
private resumeInterruptedRuns;
|
|
10048
10582
|
/**
|
|
@@ -10542,7 +11076,9 @@ interface FriendlyError {
|
|
|
10542
11076
|
/** Optional next step the user can take. */
|
|
10543
11077
|
fix?: string;
|
|
10544
11078
|
/** Machine-readable error category for routing / retries. */
|
|
10545
|
-
kind: "out_of_credits" | "overage_disabled" | "usage_cap" | "auth" | "permission" | "rate_limit" | "overloaded" | "context_too_large" | "invalid_request" | "upstream_api" | "timeout" | "cancelled" | "interrupted"
|
|
11079
|
+
kind: "out_of_credits" | "overage_disabled" | "usage_cap" | "auth" | "permission" | "rate_limit" | "overloaded" | "context_too_large" | "invalid_request" | "upstream_api" | "timeout" | "cancelled" | "interrupted"
|
|
11080
|
+
/** Ended by a stop signal; its resume plan is saved (#857). */
|
|
11081
|
+
| "stopped" | "unknown";
|
|
10546
11082
|
/** Whether this error is transient — a retry has a reasonable chance of succeeding. */
|
|
10547
11083
|
retryable: boolean;
|
|
10548
11084
|
/** Source error text retained for logs / debugging. */
|
|
@@ -10637,10 +11173,12 @@ interface IncomingMessage {
|
|
|
10637
11173
|
runbookFiles?: string[];
|
|
10638
11174
|
/** Set when this message re-runs one a restart cut off (agents/resume):
|
|
10639
11175
|
* the note for the agent, the attempt number, and the run it continues. */
|
|
11176
|
+
/** `rootId`: a task resumed after a stop signal keeps its root (#857). */
|
|
10640
11177
|
resume?: {
|
|
10641
11178
|
note: string;
|
|
10642
11179
|
attempt: number;
|
|
10643
11180
|
resumedFrom: string;
|
|
11181
|
+
rootId?: string;
|
|
10644
11182
|
};
|
|
10645
11183
|
}
|
|
10646
11184
|
interface OutgoingMessage {
|
|
@@ -11501,6 +12039,8 @@ interface WikiStatement {
|
|
|
11501
12039
|
status?: "proposed" | "confirmed";
|
|
11502
12040
|
confirmed_by?: string;
|
|
11503
12041
|
checked_at?: string;
|
|
12042
|
+
/** The job that wrote it, e.g. "wiki-enrich"; its next run replaces it. */
|
|
12043
|
+
by?: string;
|
|
11504
12044
|
note?: string;
|
|
11505
12045
|
}
|
|
11506
12046
|
|
|
@@ -12747,8 +13287,9 @@ interface TaskRecord {
|
|
|
12747
13287
|
durationMs: number;
|
|
12748
13288
|
ok: boolean;
|
|
12749
13289
|
error?: string;
|
|
12750
|
-
/** Set when a deadline ended the run: `timeout`, with the step it was in
|
|
12751
|
-
|
|
13290
|
+
/** Set when a deadline ended the run: `timeout`, with the step it was in;
|
|
13291
|
+
* `stopped` when a stop signal ended it (#857). */
|
|
13292
|
+
status?: "timeout" | "stopped";
|
|
12752
13293
|
step?: string;
|
|
12753
13294
|
/** Final agent text (one-shot, may be empty if streaming captured it). */
|
|
12754
13295
|
responseText: string;
|
|
@@ -12827,6 +13368,10 @@ declare class AgentRegistry {
|
|
|
12827
13368
|
private taskAborts;
|
|
12828
13369
|
/** Runs a daemon shutdown stopped, with the reason each one reports. */
|
|
12829
13370
|
private interruptedRuns;
|
|
13371
|
+
/** Runs a stop signal ended, with the reason each one reports (#857). */
|
|
13372
|
+
private stoppedRuns;
|
|
13373
|
+
/** Callers waiting for a run to let go of its slot (whenRunEnds). */
|
|
13374
|
+
private runEndWaiters;
|
|
12830
13375
|
/** Claude cloud sessions this node launched (#622), by issue. Created on
|
|
12831
13376
|
* first use so a fleet with the setting off never touches the file. */
|
|
12832
13377
|
private cloudSessions?;
|
|
@@ -13101,6 +13646,34 @@ declare class AgentRegistry {
|
|
|
13101
13646
|
channel: string;
|
|
13102
13647
|
chatId: string;
|
|
13103
13648
|
} | null;
|
|
13649
|
+
/**
|
|
13650
|
+
* Stop signal (#857). Aborts the run like an operator stop, but it ends
|
|
13651
|
+
* with status `stopped` and errorKind "stopped" instead of cancelled, so
|
|
13652
|
+
* nothing reports it as a failure. False when no live run matches.
|
|
13653
|
+
*/
|
|
13654
|
+
stopRunningTask(taskId: string, reason: string): boolean;
|
|
13655
|
+
/** Resolves once the run `taskId` has let go of its slot (at once when it
|
|
13656
|
+
* is not running), or after `timeoutMs`. */
|
|
13657
|
+
whenRunEnds(taskId: string, timeoutMs: number): Promise<void>;
|
|
13658
|
+
/** A running task a stop signal can address: by its id, or the only run
|
|
13659
|
+
* of `agentId` on a chat. Null when none (or several) match. */
|
|
13660
|
+
signalTarget(by: {
|
|
13661
|
+
taskId?: string;
|
|
13662
|
+
agentId?: string;
|
|
13663
|
+
channel?: string;
|
|
13664
|
+
chatId?: string;
|
|
13665
|
+
}): {
|
|
13666
|
+
taskId: string;
|
|
13667
|
+
traceId?: string;
|
|
13668
|
+
agentId: string;
|
|
13669
|
+
channel: string;
|
|
13670
|
+
chatId: string;
|
|
13671
|
+
sender?: string;
|
|
13672
|
+
rootId?: string;
|
|
13673
|
+
originalMessage: string;
|
|
13674
|
+
origin: RunOrigin | null;
|
|
13675
|
+
workflowRunId?: string;
|
|
13676
|
+
} | null;
|
|
13104
13677
|
/**
|
|
13105
13678
|
* Daemon shutdown: stop every run still going once the drain limit is
|
|
13106
13679
|
* spent. Each one ends as `interrupted` with `reason` rather than as a
|
|
@@ -14082,6 +14655,7 @@ interface Resumer {
|
|
|
14082
14655
|
run: InterruptedRun;
|
|
14083
14656
|
note: string;
|
|
14084
14657
|
attempt: number;
|
|
14658
|
+
rootId?: string;
|
|
14085
14659
|
}): Promise<void>;
|
|
14086
14660
|
/** One line to the chat the run came from. */
|
|
14087
14661
|
tell?(origin: RunOrigin, text: string): Promise<void>;
|