agentix-cli 0.145.0 → 0.146.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-MYHUCIKZ.js → App-EU2AJWW5.js} +2 -2
- package/dist/{ChatApp-D6QN6HJP.js → ChatApp-ORR3U3AN.js} +2 -2
- package/dist/{absorb-eval-UAGD42BG.js → absorb-eval-3VGPDRWS.js} +2 -2
- package/dist/{agent-HEGEDDUE.js → agent-NVJNOK5L.js} +2 -2
- package/dist/{board-dashboard-4KIFLAFO.js → board-dashboard-JV2JNRWD.js} +31 -18
- package/dist/board-dashboard-JV2JNRWD.js.map +1 -0
- package/dist/{chunk-5E37FADJ.js → chunk-3BMIZY6X.js} +2 -2
- package/dist/{chunk-YUY35PY7.js → chunk-5TFXFLMN.js} +3 -3
- package/dist/{chunk-VDJZ2Q3M.js → chunk-5YAUENDI.js} +2 -2
- package/dist/{chunk-TM3I6C4V.js → chunk-7O7VDA3J.js} +2 -2
- package/dist/{chunk-OFJKTKRM.js → chunk-DTWBB7B7.js} +2 -2
- package/dist/{chunk-EV76NT3E.js → chunk-GECGRCYC.js} +2 -2
- package/dist/{chunk-4NKPVTVP.js → chunk-IBK7AG4S.js} +8 -8
- package/dist/chunk-IBK7AG4S.js.map +1 -0
- package/dist/{chunk-42BEORFZ.js → chunk-J723FL3J.js} +2 -2
- package/dist/{chunk-VMMCT27Z.js → chunk-K3QDK4BX.js} +2 -2
- package/dist/{chunk-VXBL2DET.js → chunk-MO7DH5L6.js} +3 -3
- package/dist/chunk-MO7DH5L6.js.map +1 -0
- package/dist/chunk-MOCKFVYE.js +128 -0
- package/dist/chunk-MOCKFVYE.js.map +1 -0
- package/dist/{chunk-HCSIM2QW.js → chunk-NBDYBTI6.js} +279 -278
- package/dist/chunk-NBDYBTI6.js.map +1 -0
- package/dist/{chunk-P42M6CYF.js → chunk-O7ZJS33Z.js} +2 -2
- package/dist/{chunk-HSRNH4NR.js → chunk-OEB6RTRA.js} +2 -2
- package/dist/{chunk-KAGLCJA3.js → chunk-OT5KLHUT.js} +2 -2
- package/dist/{chunk-GMVWDQFF.js → chunk-QNS3WHGU.js} +2 -2
- package/dist/{chunk-YEFEUSB2.js → chunk-SK24JFEK.js} +2 -2
- package/dist/{chunk-YWDXRGVC.js → chunk-SNCRLEH3.js} +78 -78
- package/dist/chunk-SNCRLEH3.js.map +1 -0
- package/dist/{chunk-JTDQO4LI.js → chunk-TYONASHA.js} +2 -2
- package/dist/{chunk-SH5TNMS5.js → chunk-TZVJP4H3.js} +2 -2
- package/dist/{chunk-VTVEJ3RA.js → chunk-UFX6INNI.js} +2 -2
- package/dist/{chunk-SANYTBHX.js → chunk-USTNT7P7.js} +2 -2
- package/dist/{chunk-BPOMIEEE.js → chunk-UTYNYG7M.js} +2 -2
- package/dist/{chunk-HP2NWDCS.js → chunk-UVJLIHLL.js} +2 -2
- package/dist/{chunk-QXPMWP4R.js → chunk-UYLVSS6I.js} +2 -2
- package/dist/{chunk-WUBSX6S5.js → chunk-WCOT35YG.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/{client-ZU5AWBXQ.js → client-6KZZKCN2.js} +2 -2
- package/dist/{config-Q4MNOHRI.js → config-W6JNVPBY.js} +2 -2
- package/dist/{config-mutate-DVARJ4KM.js → config-mutate-57YT7BNB.js} +2 -2
- package/dist/config-mutator-6NWQPE7K.js +2 -0
- package/dist/{contributions-HKWDGIQV.js → contributions-Y6B6LG7X.js} +2 -2
- package/dist/{doctor-RTVGZP3X.js → doctor-ZP4KADAD.js} +2 -2
- package/dist/{follow-up-tool-2T4SIFY2.js → follow-up-tool-5AMZKVI4.js} +2 -2
- package/dist/{hub-3LDKRLTH.js → hub-BZF3ZYQ5.js} +2 -2
- package/dist/index.d.ts +106 -0
- package/dist/index.js +1 -1
- package/dist/{program-MAM4NX5P.js → program-MO7HLAP5.js} +190 -190
- package/dist/program-MO7HLAP5.js.map +1 -0
- package/dist/{promote-YOV5ELNF.js → promote-IJANZNQK.js} +2 -2
- package/dist/{query-LTKK3M2Y.js → query-DC74NB3R.js} +2 -2
- package/dist/{query-settings-ACXSGMDU.js → query-settings-RXFOATOZ.js} +2 -2
- package/dist/{registry-NIAPKDQF.js → registry-24IXRDWX.js} +2 -2
- package/dist/{request-planner-433C7M3L.js → request-planner-33CWWCJU.js} +2 -2
- package/dist/{review-candidates-SI3QBYNH.js → review-candidates-ENWB6LHD.js} +2 -2
- package/dist/{routing-CXT77HBF.js → routing-AUFJ4MNP.js} +2 -2
- package/dist/schedule-tool-NAMOBMZE.js +2 -0
- package/dist/{scheduler-SFHWPWCA.js → scheduler-KWSBBZKW.js} +2 -2
- package/dist/{seat-CJVTUIM2.js → seat-YGMLJ6KS.js} +2 -2
- package/dist/{select-JHGDG4H2.js → select-JJGBM6ZT.js} +2 -2
- package/dist/{set-enabled-NOJGCJAL.js → set-enabled-THE7QIGQ.js} +2 -2
- package/dist/{tool-ERK543LL.js → tool-4ACTSFKC.js} +2 -2
- package/dist/{tool-YOSMTSJM.js → tool-6LR6VORJ.js} +4 -4
- package/dist/tool-6LR6VORJ.js.map +1 -0
- package/dist/{wiki-2LLXQUEP.js → wiki-YAW7UEOQ.js} +2 -2
- package/dist/wiki-enrich-6ANFA2VB.js +2 -0
- package/package.json +1 -1
- package/dist/board-dashboard-4KIFLAFO.js.map +0 -1
- package/dist/chunk-4NKPVTVP.js.map +0 -1
- package/dist/chunk-HCSIM2QW.js.map +0 -1
- package/dist/chunk-LJ62ABOZ.js +0 -128
- package/dist/chunk-LJ62ABOZ.js.map +0 -1
- package/dist/chunk-VXBL2DET.js.map +0 -1
- package/dist/chunk-YWDXRGVC.js.map +0 -1
- package/dist/config-mutator-5NYGSUJD.js +0 -2
- package/dist/program-MAM4NX5P.js.map +0 -1
- package/dist/schedule-tool-3R4ISM5R.js +0 -2
- package/dist/tool-YOSMTSJM.js.map +0 -1
- package/dist/wiki-enrich-6C2O2MNV.js +0 -2
- /package/dist/{App-MYHUCIKZ.js.map → App-EU2AJWW5.js.map} +0 -0
- /package/dist/{ChatApp-D6QN6HJP.js.map → ChatApp-ORR3U3AN.js.map} +0 -0
- /package/dist/{absorb-eval-UAGD42BG.js.map → absorb-eval-3VGPDRWS.js.map} +0 -0
- /package/dist/{agent-HEGEDDUE.js.map → agent-NVJNOK5L.js.map} +0 -0
- /package/dist/{chunk-5E37FADJ.js.map → chunk-3BMIZY6X.js.map} +0 -0
- /package/dist/{chunk-YUY35PY7.js.map → chunk-5TFXFLMN.js.map} +0 -0
- /package/dist/{chunk-VDJZ2Q3M.js.map → chunk-5YAUENDI.js.map} +0 -0
- /package/dist/{chunk-TM3I6C4V.js.map → chunk-7O7VDA3J.js.map} +0 -0
- /package/dist/{chunk-OFJKTKRM.js.map → chunk-DTWBB7B7.js.map} +0 -0
- /package/dist/{chunk-EV76NT3E.js.map → chunk-GECGRCYC.js.map} +0 -0
- /package/dist/{chunk-42BEORFZ.js.map → chunk-J723FL3J.js.map} +0 -0
- /package/dist/{chunk-VMMCT27Z.js.map → chunk-K3QDK4BX.js.map} +0 -0
- /package/dist/{chunk-P42M6CYF.js.map → chunk-O7ZJS33Z.js.map} +0 -0
- /package/dist/{chunk-HSRNH4NR.js.map → chunk-OEB6RTRA.js.map} +0 -0
- /package/dist/{chunk-KAGLCJA3.js.map → chunk-OT5KLHUT.js.map} +0 -0
- /package/dist/{chunk-GMVWDQFF.js.map → chunk-QNS3WHGU.js.map} +0 -0
- /package/dist/{chunk-YEFEUSB2.js.map → chunk-SK24JFEK.js.map} +0 -0
- /package/dist/{chunk-JTDQO4LI.js.map → chunk-TYONASHA.js.map} +0 -0
- /package/dist/{chunk-SH5TNMS5.js.map → chunk-TZVJP4H3.js.map} +0 -0
- /package/dist/{chunk-VTVEJ3RA.js.map → chunk-UFX6INNI.js.map} +0 -0
- /package/dist/{chunk-SANYTBHX.js.map → chunk-USTNT7P7.js.map} +0 -0
- /package/dist/{chunk-BPOMIEEE.js.map → chunk-UTYNYG7M.js.map} +0 -0
- /package/dist/{chunk-HP2NWDCS.js.map → chunk-UVJLIHLL.js.map} +0 -0
- /package/dist/{chunk-QXPMWP4R.js.map → chunk-UYLVSS6I.js.map} +0 -0
- /package/dist/{chunk-WUBSX6S5.js.map → chunk-WCOT35YG.js.map} +0 -0
- /package/dist/{client-ZU5AWBXQ.js.map → client-6KZZKCN2.js.map} +0 -0
- /package/dist/{config-Q4MNOHRI.js.map → config-W6JNVPBY.js.map} +0 -0
- /package/dist/{config-mutate-DVARJ4KM.js.map → config-mutate-57YT7BNB.js.map} +0 -0
- /package/dist/{config-mutator-5NYGSUJD.js.map → config-mutator-6NWQPE7K.js.map} +0 -0
- /package/dist/{contributions-HKWDGIQV.js.map → contributions-Y6B6LG7X.js.map} +0 -0
- /package/dist/{doctor-RTVGZP3X.js.map → doctor-ZP4KADAD.js.map} +0 -0
- /package/dist/{follow-up-tool-2T4SIFY2.js.map → follow-up-tool-5AMZKVI4.js.map} +0 -0
- /package/dist/{hub-3LDKRLTH.js.map → hub-BZF3ZYQ5.js.map} +0 -0
- /package/dist/{promote-YOV5ELNF.js.map → promote-IJANZNQK.js.map} +0 -0
- /package/dist/{query-LTKK3M2Y.js.map → query-DC74NB3R.js.map} +0 -0
- /package/dist/{query-settings-ACXSGMDU.js.map → query-settings-RXFOATOZ.js.map} +0 -0
- /package/dist/{registry-NIAPKDQF.js.map → registry-24IXRDWX.js.map} +0 -0
- /package/dist/{request-planner-433C7M3L.js.map → request-planner-33CWWCJU.js.map} +0 -0
- /package/dist/{review-candidates-SI3QBYNH.js.map → review-candidates-ENWB6LHD.js.map} +0 -0
- /package/dist/{routing-CXT77HBF.js.map → routing-AUFJ4MNP.js.map} +0 -0
- /package/dist/{schedule-tool-3R4ISM5R.js.map → schedule-tool-NAMOBMZE.js.map} +0 -0
- /package/dist/{scheduler-SFHWPWCA.js.map → scheduler-KWSBBZKW.js.map} +0 -0
- /package/dist/{seat-CJVTUIM2.js.map → seat-YGMLJ6KS.js.map} +0 -0
- /package/dist/{select-JHGDG4H2.js.map → select-JJGBM6ZT.js.map} +0 -0
- /package/dist/{set-enabled-NOJGCJAL.js.map → set-enabled-THE7QIGQ.js.map} +0 -0
- /package/dist/{tool-ERK543LL.js.map → tool-4ACTSFKC.js.map} +0 -0
- /package/dist/{wiki-2LLXQUEP.js.map → wiki-YAW7UEOQ.js.map} +0 -0
- /package/dist/{wiki-enrich-6C2O2MNV.js.map → wiki-enrich-6ANFA2VB.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2195,6 +2195,10 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2195
2195
|
* but appending an instruction to the prompt is reliably honored. Use
|
|
2196
2196
|
* 1500 for briefs, 500 for status pings, 300 for pure classifiers. */
|
|
2197
2197
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2198
|
+
/** The task type of each run (`context.taskType`): picks the evidence a
|
|
2199
|
+
* watcher's done needs (`watchers.evidence.<type>`, #1049). Unset: the
|
|
2200
|
+
* `cron` rule, if there is one. */
|
|
2201
|
+
taskType: z.ZodOptional<z.ZodString>;
|
|
2198
2202
|
/** How much this routine may do: `report` (read-only), `propose` (branch,
|
|
2199
2203
|
* commit, MR/draft; never merge/deploy/delete) or `act` (the agent's full
|
|
2200
2204
|
* permissions — the default). Enforced per run by the guard, not by the
|
|
@@ -2265,6 +2269,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2265
2269
|
requestedAt: string;
|
|
2266
2270
|
} | undefined;
|
|
2267
2271
|
maxOutputTokens?: number | undefined;
|
|
2272
|
+
taskType?: string | undefined;
|
|
2268
2273
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2269
2274
|
deliverResult?: boolean | undefined;
|
|
2270
2275
|
fireToken?: string | undefined;
|
|
@@ -2289,6 +2294,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2289
2294
|
requestedAt: string;
|
|
2290
2295
|
} | undefined;
|
|
2291
2296
|
maxOutputTokens?: number | undefined;
|
|
2297
|
+
taskType?: string | undefined;
|
|
2292
2298
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2293
2299
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
2294
2300
|
deliverResult?: boolean | undefined;
|
|
@@ -2315,6 +2321,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2315
2321
|
requestedAt: string;
|
|
2316
2322
|
} | undefined;
|
|
2317
2323
|
maxOutputTokens?: number | undefined;
|
|
2324
|
+
taskType?: string | undefined;
|
|
2318
2325
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2319
2326
|
deliverResult?: boolean | undefined;
|
|
2320
2327
|
fireToken?: string | undefined;
|
|
@@ -2339,6 +2346,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2339
2346
|
requestedAt: string;
|
|
2340
2347
|
} | undefined;
|
|
2341
2348
|
maxOutputTokens?: number | undefined;
|
|
2349
|
+
taskType?: string | undefined;
|
|
2342
2350
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2343
2351
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
2344
2352
|
deliverResult?: boolean | undefined;
|
|
@@ -2365,6 +2373,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2365
2373
|
requestedAt: string;
|
|
2366
2374
|
} | undefined;
|
|
2367
2375
|
maxOutputTokens?: number | undefined;
|
|
2376
|
+
taskType?: string | undefined;
|
|
2368
2377
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2369
2378
|
deliverResult?: boolean | undefined;
|
|
2370
2379
|
fireToken?: string | undefined;
|
|
@@ -2389,6 +2398,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2389
2398
|
requestedAt: string;
|
|
2390
2399
|
} | undefined;
|
|
2391
2400
|
maxOutputTokens?: number | undefined;
|
|
2401
|
+
taskType?: string | undefined;
|
|
2392
2402
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
2393
2403
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
2394
2404
|
deliverResult?: boolean | undefined;
|
|
@@ -4739,6 +4749,10 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4739
4749
|
* but appending an instruction to the prompt is reliably honored. Use
|
|
4740
4750
|
* 1500 for briefs, 500 for status pings, 300 for pure classifiers. */
|
|
4741
4751
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
4752
|
+
/** The task type of each run (`context.taskType`): picks the evidence a
|
|
4753
|
+
* watcher's done needs (`watchers.evidence.<type>`, #1049). Unset: the
|
|
4754
|
+
* `cron` rule, if there is one. */
|
|
4755
|
+
taskType: z.ZodOptional<z.ZodString>;
|
|
4742
4756
|
/** How much this routine may do: `report` (read-only), `propose` (branch,
|
|
4743
4757
|
* commit, MR/draft; never merge/deploy/delete) or `act` (the agent's full
|
|
4744
4758
|
* permissions — the default). Enforced per run by the guard, not by the
|
|
@@ -4809,6 +4823,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4809
4823
|
requestedAt: string;
|
|
4810
4824
|
} | undefined;
|
|
4811
4825
|
maxOutputTokens?: number | undefined;
|
|
4826
|
+
taskType?: string | undefined;
|
|
4812
4827
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4813
4828
|
deliverResult?: boolean | undefined;
|
|
4814
4829
|
fireToken?: string | undefined;
|
|
@@ -4833,6 +4848,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4833
4848
|
requestedAt: string;
|
|
4834
4849
|
} | undefined;
|
|
4835
4850
|
maxOutputTokens?: number | undefined;
|
|
4851
|
+
taskType?: string | undefined;
|
|
4836
4852
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4837
4853
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
4838
4854
|
deliverResult?: boolean | undefined;
|
|
@@ -4859,6 +4875,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4859
4875
|
requestedAt: string;
|
|
4860
4876
|
} | undefined;
|
|
4861
4877
|
maxOutputTokens?: number | undefined;
|
|
4878
|
+
taskType?: string | undefined;
|
|
4862
4879
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4863
4880
|
deliverResult?: boolean | undefined;
|
|
4864
4881
|
fireToken?: string | undefined;
|
|
@@ -4883,6 +4900,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4883
4900
|
requestedAt: string;
|
|
4884
4901
|
} | undefined;
|
|
4885
4902
|
maxOutputTokens?: number | undefined;
|
|
4903
|
+
taskType?: string | undefined;
|
|
4886
4904
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4887
4905
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
4888
4906
|
deliverResult?: boolean | undefined;
|
|
@@ -4909,6 +4927,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4909
4927
|
requestedAt: string;
|
|
4910
4928
|
} | undefined;
|
|
4911
4929
|
maxOutputTokens?: number | undefined;
|
|
4930
|
+
taskType?: string | undefined;
|
|
4912
4931
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4913
4932
|
deliverResult?: boolean | undefined;
|
|
4914
4933
|
fireToken?: string | undefined;
|
|
@@ -4933,6 +4952,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
4933
4952
|
requestedAt: string;
|
|
4934
4953
|
} | undefined;
|
|
4935
4954
|
maxOutputTokens?: number | undefined;
|
|
4955
|
+
taskType?: string | undefined;
|
|
4936
4956
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
4937
4957
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
4938
4958
|
deliverResult?: boolean | undefined;
|
|
@@ -6000,18 +6020,29 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6000
6020
|
approveKinds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6001
6021
|
/** Agents that may not open a plan. */
|
|
6002
6022
|
disabledAgents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6023
|
+
/** The plan gate (#1048): kinds of work an agent must plan before it
|
|
6024
|
+
* starts. An accept that names one of these as its `work` is refused
|
|
6025
|
+
* without steps. Empty: no kind needs a plan. */
|
|
6026
|
+
requireForWork: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6027
|
+
/** An accept whose `estimateMinutes` is over this needs a plan too.
|
|
6028
|
+
* 0: no estimate needs one. */
|
|
6029
|
+
requireOverMinutes: z.ZodDefault<z.ZodNumber>;
|
|
6003
6030
|
}, "strip", z.ZodTypeAny, {
|
|
6004
6031
|
enabled: boolean;
|
|
6005
6032
|
stallMinutes: number;
|
|
6006
6033
|
maxNudges: number;
|
|
6007
6034
|
approveKinds: string[];
|
|
6008
6035
|
disabledAgents: string[];
|
|
6036
|
+
requireForWork: string[];
|
|
6037
|
+
requireOverMinutes: number;
|
|
6009
6038
|
}, {
|
|
6010
6039
|
enabled?: boolean | undefined;
|
|
6011
6040
|
stallMinutes?: number | undefined;
|
|
6012
6041
|
maxNudges?: number | undefined;
|
|
6013
6042
|
approveKinds?: string[] | undefined;
|
|
6014
6043
|
disabledAgents?: string[] | undefined;
|
|
6044
|
+
requireForWork?: string[] | undefined;
|
|
6045
|
+
requireOverMinutes?: number | undefined;
|
|
6015
6046
|
}>>;
|
|
6016
6047
|
/** Checkers that close an open loop on evidence (src/requests/checkers,
|
|
6017
6048
|
* #1039). A loop with a `closeWhen` closes when its check is met; an
|
|
@@ -6082,6 +6113,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6082
6113
|
maxNudges: number;
|
|
6083
6114
|
approveKinds: string[];
|
|
6084
6115
|
disabledAgents: string[];
|
|
6116
|
+
requireForWork: string[];
|
|
6117
|
+
requireOverMinutes: number;
|
|
6085
6118
|
};
|
|
6086
6119
|
checkers: {
|
|
6087
6120
|
enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
|
|
@@ -6108,6 +6141,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6108
6141
|
maxNudges?: number | undefined;
|
|
6109
6142
|
approveKinds?: string[] | undefined;
|
|
6110
6143
|
disabledAgents?: string[] | undefined;
|
|
6144
|
+
requireForWork?: string[] | undefined;
|
|
6145
|
+
requireOverMinutes?: number | undefined;
|
|
6111
6146
|
} | undefined;
|
|
6112
6147
|
checkers?: {
|
|
6113
6148
|
enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
|
|
@@ -6158,12 +6193,38 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6158
6193
|
* delegation answers. "explicit": only POST /watchers/:id/done, so a
|
|
6159
6194
|
* reply that only promises ("I'll publish at 18:00") keeps it open. */
|
|
6160
6195
|
doneSignal: z.ZodDefault<z.ZodEnum<["result", "explicit"]>>;
|
|
6196
|
+
/** Evidence a done needs, by task type (#1049): the caller's
|
|
6197
|
+
* `context.taskType`, else the watcher's kind (dispatch, delegation,
|
|
6198
|
+
* cron). A task of a type with a rule closes only on a done whose
|
|
6199
|
+
* evidence the rule accepts; its reply never closes it. Types with no
|
|
6200
|
+
* rule close as `doneSignal` says. */
|
|
6201
|
+
evidence: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6202
|
+
/** The kinds of proof that count: any one of them closes the task. */
|
|
6203
|
+
accept: z.ZodArray<z.ZodEnum<["test", "output", "link"]>, "many">;
|
|
6204
|
+
/** The shortest output text accepted. */
|
|
6205
|
+
minOutputChars: z.ZodDefault<z.ZodNumber>;
|
|
6206
|
+
/** Hosts a link must be on (or a subdomain of). Empty: any host. */
|
|
6207
|
+
linkHosts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6208
|
+
}, "strip", z.ZodTypeAny, {
|
|
6209
|
+
accept: ("output" | "test" | "link")[];
|
|
6210
|
+
minOutputChars: number;
|
|
6211
|
+
linkHosts: string[];
|
|
6212
|
+
}, {
|
|
6213
|
+
accept: ("output" | "test" | "link")[];
|
|
6214
|
+
minOutputChars?: number | undefined;
|
|
6215
|
+
linkHosts?: string[] | undefined;
|
|
6216
|
+
}>>>;
|
|
6161
6217
|
}, "strip", z.ZodTypeAny, {
|
|
6162
6218
|
enabled: boolean;
|
|
6163
6219
|
owner: {
|
|
6164
6220
|
channel?: string | undefined;
|
|
6165
6221
|
chatId?: string | undefined;
|
|
6166
6222
|
};
|
|
6223
|
+
evidence: Record<string, {
|
|
6224
|
+
accept: ("output" | "test" | "link")[];
|
|
6225
|
+
minOutputChars: number;
|
|
6226
|
+
linkHosts: string[];
|
|
6227
|
+
}>;
|
|
6167
6228
|
retentionDays: number;
|
|
6168
6229
|
skipChannels: string[];
|
|
6169
6230
|
defaultDueMinutes: number;
|
|
@@ -6177,6 +6238,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6177
6238
|
channel?: string | undefined;
|
|
6178
6239
|
chatId?: string | undefined;
|
|
6179
6240
|
} | undefined;
|
|
6241
|
+
evidence?: Record<string, {
|
|
6242
|
+
accept: ("output" | "test" | "link")[];
|
|
6243
|
+
minOutputChars?: number | undefined;
|
|
6244
|
+
linkHosts?: string[] | undefined;
|
|
6245
|
+
}> | undefined;
|
|
6180
6246
|
retentionDays?: number | undefined;
|
|
6181
6247
|
skipChannels?: string[] | undefined;
|
|
6182
6248
|
defaultDueMinutes?: number | undefined;
|
|
@@ -6190,6 +6256,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6190
6256
|
channel?: string | undefined;
|
|
6191
6257
|
chatId?: string | undefined;
|
|
6192
6258
|
};
|
|
6259
|
+
evidence: Record<string, {
|
|
6260
|
+
accept: ("output" | "test" | "link")[];
|
|
6261
|
+
minOutputChars: number;
|
|
6262
|
+
linkHosts: string[];
|
|
6263
|
+
}>;
|
|
6193
6264
|
retentionDays: number;
|
|
6194
6265
|
skipChannels: string[];
|
|
6195
6266
|
defaultDueMinutes: number;
|
|
@@ -6203,6 +6274,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
6203
6274
|
channel?: string | undefined;
|
|
6204
6275
|
chatId?: string | undefined;
|
|
6205
6276
|
} | undefined;
|
|
6277
|
+
evidence?: Record<string, {
|
|
6278
|
+
accept: ("output" | "test" | "link")[];
|
|
6279
|
+
minOutputChars?: number | undefined;
|
|
6280
|
+
linkHosts?: string[] | undefined;
|
|
6281
|
+
}> | undefined;
|
|
6206
6282
|
retentionDays?: number | undefined;
|
|
6207
6283
|
skipChannels?: string[] | undefined;
|
|
6208
6284
|
defaultDueMinutes?: number | undefined;
|
|
@@ -8957,6 +9033,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8957
9033
|
maxNudges: number;
|
|
8958
9034
|
approveKinds: string[];
|
|
8959
9035
|
disabledAgents: string[];
|
|
9036
|
+
requireForWork: string[];
|
|
9037
|
+
requireOverMinutes: number;
|
|
8960
9038
|
};
|
|
8961
9039
|
checkers: {
|
|
8962
9040
|
enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
|
|
@@ -9153,6 +9231,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9153
9231
|
requestedAt: string;
|
|
9154
9232
|
} | undefined;
|
|
9155
9233
|
maxOutputTokens?: number | undefined;
|
|
9234
|
+
taskType?: string | undefined;
|
|
9156
9235
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
9157
9236
|
deliverResult?: boolean | undefined;
|
|
9158
9237
|
fireToken?: string | undefined;
|
|
@@ -9387,6 +9466,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
9387
9466
|
channel?: string | undefined;
|
|
9388
9467
|
chatId?: string | undefined;
|
|
9389
9468
|
};
|
|
9469
|
+
evidence: Record<string, {
|
|
9470
|
+
accept: ("output" | "test" | "link")[];
|
|
9471
|
+
minOutputChars: number;
|
|
9472
|
+
linkHosts: string[];
|
|
9473
|
+
}>;
|
|
9390
9474
|
retentionDays: number;
|
|
9391
9475
|
skipChannels: string[];
|
|
9392
9476
|
defaultDueMinutes: number;
|
|
@@ -10091,6 +10175,8 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10091
10175
|
maxNudges?: number | undefined;
|
|
10092
10176
|
approveKinds?: string[] | undefined;
|
|
10093
10177
|
disabledAgents?: string[] | undefined;
|
|
10178
|
+
requireForWork?: string[] | undefined;
|
|
10179
|
+
requireOverMinutes?: number | undefined;
|
|
10094
10180
|
} | undefined;
|
|
10095
10181
|
checkers?: {
|
|
10096
10182
|
enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
|
|
@@ -10279,6 +10365,7 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10279
10365
|
requestedAt: string;
|
|
10280
10366
|
} | undefined;
|
|
10281
10367
|
maxOutputTokens?: number | undefined;
|
|
10368
|
+
taskType?: string | undefined;
|
|
10282
10369
|
autonomy?: "report" | "propose" | "act" | undefined;
|
|
10283
10370
|
onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
|
|
10284
10371
|
deliverResult?: boolean | undefined;
|
|
@@ -10514,6 +10601,11 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
10514
10601
|
channel?: string | undefined;
|
|
10515
10602
|
chatId?: string | undefined;
|
|
10516
10603
|
} | undefined;
|
|
10604
|
+
evidence?: Record<string, {
|
|
10605
|
+
accept: ("output" | "test" | "link")[];
|
|
10606
|
+
minOutputChars?: number | undefined;
|
|
10607
|
+
linkHosts?: string[] | undefined;
|
|
10608
|
+
}> | undefined;
|
|
10517
10609
|
retentionDays?: number | undefined;
|
|
10518
10610
|
skipChannels?: string[] | undefined;
|
|
10519
10611
|
defaultDueMinutes?: number | undefined;
|
|
@@ -10941,6 +11033,9 @@ declare class A2AMesh {
|
|
|
10941
11033
|
/** This node checked its own operator key on the forward: tell the
|
|
10942
11034
|
* peer the turn is the owner's (requests/operator, #407). */
|
|
10943
11035
|
vouchOwner?: boolean;
|
|
11036
|
+
/** The task's type (#1049): picks the evidence the peer's watcher
|
|
11037
|
+
* asks for before the task counts as done. */
|
|
11038
|
+
taskType?: string;
|
|
10944
11039
|
}): Promise<string>;
|
|
10945
11040
|
/**
|
|
10946
11041
|
* Streaming variant of `sendTask`. POSTs to the peer's `/task` with
|
|
@@ -11174,6 +11269,9 @@ interface AgentXEvents {
|
|
|
11174
11269
|
/** When the task is due (ms), when the caller gave one in the run's
|
|
11175
11270
|
* context as `dueAt` (watchers, #1030). */
|
|
11176
11271
|
dueAt?: number;
|
|
11272
|
+
/** The task's type, when the caller gave one in the run's context as
|
|
11273
|
+
* `taskType`: it picks the evidence a done needs (watchers, #1049). */
|
|
11274
|
+
taskType?: string;
|
|
11177
11275
|
};
|
|
11178
11276
|
/** A single step inside an in-flight task — typically a tool call or
|
|
11179
11277
|
* tool result inside the Claude streaming response. Producer is the
|
|
@@ -15730,6 +15828,8 @@ declare class AgentRegistry {
|
|
|
15730
15828
|
* the requested agent before returning "Unknown agent". Duck-typed so
|
|
15731
15829
|
* we don't create a circular import with src/a2a/mesh.ts. */
|
|
15732
15830
|
private meshFallback?;
|
|
15831
|
+
/** See setRunNote. */
|
|
15832
|
+
private runNote?;
|
|
15733
15833
|
/** Workflow auto-runner — invoked when workflow matching is in `mode: "auto"`
|
|
15734
15834
|
* and a candidate workflow's confidence ≥ autoRunThreshold. Wired by the
|
|
15735
15835
|
* daemon after the workflow dispatcher is constructed. Returns the runId of
|
|
@@ -15808,6 +15908,10 @@ declare class AgentRegistry {
|
|
|
15808
15908
|
* after WorkflowDispatcher boot. Pass undefined to detach (e.g. during
|
|
15809
15909
|
* reload). */
|
|
15810
15910
|
setWorkflowRunStore(runs: RunStore | undefined): void;
|
|
15911
|
+
/** Wire the watcher's note for a run's prompt (#1049): how to close the
|
|
15912
|
+
* watcher only that run can close. The daemon calls this once watchers
|
|
15913
|
+
* attach; unset, no note is added. */
|
|
15914
|
+
setRunNote(note: ((started: AgentXEvents["task:started"]) => string | undefined) | undefined): void;
|
|
15811
15915
|
setWorkflowAutoRunner(runner: NonNullable<AgentRegistry["workflowAutoRunner"]> | undefined): void;
|
|
15812
15916
|
/** Hot-swap the provider map. Daemon reload calls this after agentx.json
|
|
15813
15917
|
* changes — the next task that executes will resolve credentials through
|
|
@@ -17793,6 +17897,8 @@ interface CronJobState {
|
|
|
17793
17897
|
* via the prompt tail; reliably honored and keeps cache-hit intact
|
|
17794
17898
|
* (hint text is per-job, not per-run). */
|
|
17795
17899
|
maxOutputTokens?: number;
|
|
17900
|
+
/** The run's `context.taskType` (watchers' evidence rules, #1049). */
|
|
17901
|
+
taskType?: string;
|
|
17796
17902
|
/** Routine autonomy level; unset = act (full agent permissions). */
|
|
17797
17903
|
autonomy?: AutonomyLevel;
|
|
17798
17904
|
onError: Array<"log" | "notify" | "disable">;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Aa as Tt,Ba as Mt,a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt}from"./chunk-
|
|
1
|
+
import{Aa as Tt,Ba as Mt,a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt}from"./chunk-NBDYBTI6.js";import"./chunk-MO7DH5L6.js";import"./chunk-GTJIKXDB.js";import"./chunk-WCOT35YG.js";import"./chunk-S2GAEH2F.js";import"./chunk-7LN4VKDU.js";import"./chunk-IMLAPB7G.js";import"./chunk-ZVP6GB4G.js";import"./chunk-2D3RYIDU.js";import"./chunk-MRIVENBY.js";import"./chunk-MMBFAVBR.js";import"./chunk-TJZGAKIB.js";import"./chunk-PPUN7YHA.js";import"./chunk-VZLIBDLH.js";import"./chunk-EKJG63EJ.js";import"./chunk-UYLVSS6I.js";import"./chunk-AQASR6KR.js";import"./chunk-EMGB23H5.js";import"./chunk-JAML6222.js";import"./chunk-YMX3QCV7.js";import"./chunk-JWDJMFU6.js";import"./chunk-5HLD66CW.js";import"./chunk-IS2IWRP7.js";import"./chunk-LQE73AZR.js";import"./chunk-VY7TBMJU.js";import"./chunk-DG2DC43E.js";import"./chunk-WBG6NA7R.js";import"./chunk-USTNT7P7.js";import"./chunk-A5GYG56I.js";import"./chunk-2AXFYDWF.js";import{m as lt,n as ct,o as dt,p as mt,pa as yt,q as pt}from"./chunk-SNCRLEH3.js";import"./chunk-O7ZJS33Z.js";import"./chunk-MEFPXHQJ.js";import{a as L}from"./chunk-UG2OF2EI.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-QNS3WHGU.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-6TTGRTDO.js";import"./chunk-SZDACK6O.js";import"./chunk-VE3SSOQX.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import"./chunk-5TTHN7DP.js";import{s as ut}from"./chunk-MOCKFVYE.js";import"./chunk-K3QDK4BX.js";import"./chunk-3UOTLMXD.js";import"./chunk-36AXN6ZB.js";import"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-VWTBHLMX.js";import"./chunk-UFX6INNI.js";import{a as ht}from"./chunk-UVJLIHLL.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-5TFXFLMN.js";import"./chunk-SKSYII3K.js";import{f as gt,g as ft}from"./chunk-UTYNYG7M.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-OT5KLHUT.js";import{j as it,k as rt,l as at}from"./chunk-TZVJP4H3.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-MYVHVJWZ.js";import"./chunk-6TURWSMN.js";import"./chunk-AV7T3SYT.js";import"./chunk-Y5MFVVTM.js";import"./chunk-QD6IICK7.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-2PJKGZWP.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{Ja as tt,La as st,Ma as ot,Ta as nt}from"./chunk-IBK7AG4S.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
|
|
2
2
|
`)}
|
|
3
3
|
|
|
4
4
|
${t}`}async function It(o){let{loadLocalSkills:e}=await import("./loader-YFVSSYSL.js");return e(o)}async function Ot(o,e,t,s,i){let a=[{role:"system",content:`You are a skill author for the Agent Skills ecosystem (skills.sh).
|