agentix-cli 0.127.0 → 0.128.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-FF66N2KH.js → App-BOLQUKCN.js} +2 -2
- package/dist/{ChatApp-HMHQZVVD.js → ChatApp-72HXQV24.js} +2 -2
- package/dist/absorb-eval-O3HA6XA5.js +2 -0
- package/dist/{agent-UAWDO3I2.js → agent-S2DXXALS.js} +2 -2
- package/dist/{board-dashboard-Y2OECKDG.js → board-dashboard-ZKXXK5CG.js} +4 -4
- package/dist/{chunk-COWAAE54.js → chunk-2SV4RKRW.js} +2 -2
- package/dist/{chunk-YV22EOGL.js → chunk-4V7SWL2S.js} +2 -2
- package/dist/chunk-5DAEJF5S.js +36 -0
- package/dist/chunk-5DAEJF5S.js.map +1 -0
- package/dist/{chunk-VBJTGTF5.js → chunk-6GGGXCOY.js} +2 -2
- package/dist/{chunk-4WZGZ2Z6.js → chunk-6KIUVVKX.js} +2 -2
- package/dist/{chunk-NUSROFTJ.js → chunk-C5MTLW7O.js} +2 -2
- package/dist/{chunk-73WQ42PO.js → chunk-D2WX3BET.js} +2 -2
- package/dist/chunk-DN3RLR5Z.js +17 -0
- package/dist/chunk-DN3RLR5Z.js.map +1 -0
- package/dist/{chunk-EJT3F6QM.js → chunk-DQ2LNQ2D.js} +2 -2
- package/dist/{chunk-HYRBBH6T.js → chunk-EJT4MA3J.js} +9 -9
- package/dist/chunk-EJT4MA3J.js.map +1 -0
- package/dist/chunk-FSW4FUMW.js +55 -0
- package/dist/chunk-FSW4FUMW.js.map +1 -0
- package/dist/chunk-FXBMFGOV.js +6 -0
- package/dist/chunk-FXBMFGOV.js.map +1 -0
- package/dist/{chunk-PH43FUU7.js → chunk-HKW56YZK.js} +2 -2
- package/dist/{chunk-LTH3AYXC.js → chunk-LDS4SZBU.js} +2 -2
- package/dist/chunk-MRYA4J5F.js +54 -0
- package/dist/chunk-MRYA4J5F.js.map +1 -0
- package/dist/{chunk-HNBW5Q47.js → chunk-O2BS6N3T.js} +2 -2
- package/dist/{chunk-EHLTZ6IB.js → chunk-P4XGM7ZM.js} +2 -2
- package/dist/{chunk-QWQOI4G4.js → chunk-QACEFESP.js} +6 -6
- package/dist/{chunk-CKYPQMUD.js → chunk-QFZU5CEO.js} +2 -2
- package/dist/{chunk-XX5QKBX4.js → chunk-QQFURUMS.js} +2 -2
- package/dist/{chunk-I4DGMFQG.js → chunk-TG6CT54D.js} +2 -2
- package/dist/{chunk-O6FP3LPC.js → chunk-TPNTFCSQ.js} +2 -2
- package/dist/{chunk-56KNKUFF.js → chunk-VD7IO653.js} +3 -3
- package/dist/{chunk-56KNKUFF.js.map → chunk-VD7IO653.js.map} +1 -1
- package/dist/{chunk-3KYZOC7N.js → chunk-YWKLUQDC.js} +2 -2
- package/dist/chunk-Z3W7D5RR.js +4 -0
- package/dist/chunk-Z3W7D5RR.js.map +1 -0
- package/dist/{chunk-XYT6XY7G.js → chunk-ZLC4TSXF.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/{client-2VVRJ3UF.js → client-VBV7Q43P.js} +2 -2
- package/dist/config-52C3DJD2.js +2 -0
- package/dist/{config-mutate-47WZDZBO.js → config-mutate-DKQESY6F.js} +2 -2
- package/dist/config-mutator-BF4D4QGN.js +2 -0
- package/dist/contributions-5OEZWYXI.js +57 -0
- package/dist/contributions-5OEZWYXI.js.map +1 -0
- package/dist/{doctor-Q3QNZVLC.js → doctor-VLRC4HW2.js} +2 -2
- package/dist/{follow-up-tool-GKZVG4L2.js → follow-up-tool-235LDEMP.js} +2 -2
- package/dist/{hub-DNPINTIF.js → hub-5QK7KYTZ.js} +2 -2
- package/dist/index.d.ts +224 -0
- package/dist/index.js +1 -1
- package/dist/{program-4QWUOJE3.js → program-MVD57PKP.js} +226 -222
- package/dist/program-MVD57PKP.js.map +1 -0
- package/dist/{promote-PETKX7KR.js → promote-UPPQ4BQE.js} +2 -2
- package/dist/query-XQS5JN6E.js +2 -0
- package/dist/{registry-2XDO53AJ.js → registry-MOMTLJ6R.js} +2 -2
- package/dist/{request-planner-A3WJNPXO.js → request-planner-QGZJEAKY.js} +2 -2
- package/dist/{review-candidates-A6ID2RDX.js → review-candidates-PAKF2JQF.js} +2 -2
- package/dist/{rotation-memo-6UW6DTBQ.js → rotation-memo-7VLREGS6.js} +2 -2
- package/dist/{routing-NPP3MEUW.js → routing-JG3EV4O4.js} +2 -2
- package/dist/schedule-tool-O7ZZ2A7X.js +2 -0
- package/dist/{scheduler-T6VLBM3U.js → scheduler-LMPBAA34.js} +2 -2
- package/dist/score-KDNIUTNV.js +3 -0
- package/dist/score-KDNIUTNV.js.map +1 -0
- package/dist/{seat-D3DBYTSC.js → seat-JN3IVZ3G.js} +2 -2
- package/dist/{select-RFY64RY7.js → select-ZMMRFMNO.js} +2 -2
- package/dist/{set-enabled-AU66DR5C.js → set-enabled-7Y3TW6Z4.js} +2 -2
- package/dist/{tool-F3YA2ZZQ.js → tool-OCYXCDOK.js} +2 -2
- package/dist/{tool-PCHIVR27.js → tool-S7QI6HRA.js} +2 -2
- package/dist/wiki-OCLFFZG6.js +2 -0
- package/package.json +1 -1
- package/dist/absorb-eval-ERKVVTGG.js +0 -2
- package/dist/chunk-HYRBBH6T.js.map +0 -1
- package/dist/chunk-PLIT25TH.js +0 -51
- package/dist/chunk-PLIT25TH.js.map +0 -1
- package/dist/chunk-TJ4P4WW2.js +0 -4
- package/dist/chunk-TJ4P4WW2.js.map +0 -1
- package/dist/chunk-UJXS4MS3.js +0 -49
- package/dist/chunk-UJXS4MS3.js.map +0 -1
- package/dist/chunk-Y27RUOD2.js +0 -54
- package/dist/chunk-Y27RUOD2.js.map +0 -1
- package/dist/config-YSKHOV44.js +0 -2
- package/dist/config-mutator-7DIEQUB5.js +0 -2
- package/dist/program-4QWUOJE3.js.map +0 -1
- package/dist/query-D44BUTH3.js +0 -2
- package/dist/schedule-tool-ZECUQMQK.js +0 -2
- package/dist/wiki-NI3ZPUZS.js +0 -2
- /package/dist/{App-FF66N2KH.js.map → App-BOLQUKCN.js.map} +0 -0
- /package/dist/{ChatApp-HMHQZVVD.js.map → ChatApp-72HXQV24.js.map} +0 -0
- /package/dist/{absorb-eval-ERKVVTGG.js.map → absorb-eval-O3HA6XA5.js.map} +0 -0
- /package/dist/{agent-UAWDO3I2.js.map → agent-S2DXXALS.js.map} +0 -0
- /package/dist/{board-dashboard-Y2OECKDG.js.map → board-dashboard-ZKXXK5CG.js.map} +0 -0
- /package/dist/{chunk-COWAAE54.js.map → chunk-2SV4RKRW.js.map} +0 -0
- /package/dist/{chunk-YV22EOGL.js.map → chunk-4V7SWL2S.js.map} +0 -0
- /package/dist/{chunk-VBJTGTF5.js.map → chunk-6GGGXCOY.js.map} +0 -0
- /package/dist/{chunk-4WZGZ2Z6.js.map → chunk-6KIUVVKX.js.map} +0 -0
- /package/dist/{chunk-NUSROFTJ.js.map → chunk-C5MTLW7O.js.map} +0 -0
- /package/dist/{chunk-73WQ42PO.js.map → chunk-D2WX3BET.js.map} +0 -0
- /package/dist/{chunk-EJT3F6QM.js.map → chunk-DQ2LNQ2D.js.map} +0 -0
- /package/dist/{chunk-PH43FUU7.js.map → chunk-HKW56YZK.js.map} +0 -0
- /package/dist/{chunk-LTH3AYXC.js.map → chunk-LDS4SZBU.js.map} +0 -0
- /package/dist/{chunk-HNBW5Q47.js.map → chunk-O2BS6N3T.js.map} +0 -0
- /package/dist/{chunk-EHLTZ6IB.js.map → chunk-P4XGM7ZM.js.map} +0 -0
- /package/dist/{chunk-QWQOI4G4.js.map → chunk-QACEFESP.js.map} +0 -0
- /package/dist/{chunk-CKYPQMUD.js.map → chunk-QFZU5CEO.js.map} +0 -0
- /package/dist/{chunk-XX5QKBX4.js.map → chunk-QQFURUMS.js.map} +0 -0
- /package/dist/{chunk-I4DGMFQG.js.map → chunk-TG6CT54D.js.map} +0 -0
- /package/dist/{chunk-O6FP3LPC.js.map → chunk-TPNTFCSQ.js.map} +0 -0
- /package/dist/{chunk-3KYZOC7N.js.map → chunk-YWKLUQDC.js.map} +0 -0
- /package/dist/{chunk-XYT6XY7G.js.map → chunk-ZLC4TSXF.js.map} +0 -0
- /package/dist/{client-2VVRJ3UF.js.map → client-VBV7Q43P.js.map} +0 -0
- /package/dist/{config-YSKHOV44.js.map → config-52C3DJD2.js.map} +0 -0
- /package/dist/{config-mutate-47WZDZBO.js.map → config-mutate-DKQESY6F.js.map} +0 -0
- /package/dist/{config-mutator-7DIEQUB5.js.map → config-mutator-BF4D4QGN.js.map} +0 -0
- /package/dist/{doctor-Q3QNZVLC.js.map → doctor-VLRC4HW2.js.map} +0 -0
- /package/dist/{follow-up-tool-GKZVG4L2.js.map → follow-up-tool-235LDEMP.js.map} +0 -0
- /package/dist/{hub-DNPINTIF.js.map → hub-5QK7KYTZ.js.map} +0 -0
- /package/dist/{promote-PETKX7KR.js.map → promote-UPPQ4BQE.js.map} +0 -0
- /package/dist/{query-D44BUTH3.js.map → query-XQS5JN6E.js.map} +0 -0
- /package/dist/{registry-2XDO53AJ.js.map → registry-MOMTLJ6R.js.map} +0 -0
- /package/dist/{request-planner-A3WJNPXO.js.map → request-planner-QGZJEAKY.js.map} +0 -0
- /package/dist/{review-candidates-A6ID2RDX.js.map → review-candidates-PAKF2JQF.js.map} +0 -0
- /package/dist/{rotation-memo-6UW6DTBQ.js.map → rotation-memo-7VLREGS6.js.map} +0 -0
- /package/dist/{routing-NPP3MEUW.js.map → routing-JG3EV4O4.js.map} +0 -0
- /package/dist/{schedule-tool-ZECUQMQK.js.map → schedule-tool-O7ZZ2A7X.js.map} +0 -0
- /package/dist/{scheduler-T6VLBM3U.js.map → scheduler-LMPBAA34.js.map} +0 -0
- /package/dist/{seat-D3DBYTSC.js.map → seat-JN3IVZ3G.js.map} +0 -0
- /package/dist/{select-RFY64RY7.js.map → select-ZMMRFMNO.js.map} +0 -0
- /package/dist/{set-enabled-AU66DR5C.js.map → set-enabled-7Y3TW6Z4.js.map} +0 -0
- /package/dist/{tool-F3YA2ZZQ.js.map → tool-OCYXCDOK.js.map} +0 -0
- /package/dist/{tool-PCHIVR27.js.map → tool-S7QI6HRA.js.map} +0 -0
- /package/dist/{wiki-NI3ZPUZS.js.map → wiki-OCLFFZG6.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1585,6 +1585,43 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1585
1585
|
* them off, when that is longer than shutdown.drainTimeoutSeconds. For
|
|
1586
1586
|
* agents whose runs are long (renders, builds). */
|
|
1587
1587
|
drainTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1588
|
+
/** Wiki settings for this agent. `contribute` turns on its daily wiki
|
|
1589
|
+
* contribution (#824): `agentx wiki contribute --all` reviews the
|
|
1590
|
+
* agent's work since its last run and queues sourced patches for the
|
|
1591
|
+
* daily merge. Off by default. `maxPatches` and `maxCostUsd` cap one
|
|
1592
|
+
* run; `model` overrides the wiki-wide model. */
|
|
1593
|
+
wiki: z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
contribute: z.ZodDefault<z.ZodObject<{
|
|
1595
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1596
|
+
maxPatches: z.ZodDefault<z.ZodNumber>;
|
|
1597
|
+
maxCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
1598
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
}, "strip", z.ZodTypeAny, {
|
|
1600
|
+
enabled: boolean;
|
|
1601
|
+
maxPatches: number;
|
|
1602
|
+
model?: string | undefined;
|
|
1603
|
+
maxCostUsd?: number | undefined;
|
|
1604
|
+
}, {
|
|
1605
|
+
model?: string | undefined;
|
|
1606
|
+
enabled?: boolean | undefined;
|
|
1607
|
+
maxPatches?: number | undefined;
|
|
1608
|
+
maxCostUsd?: number | undefined;
|
|
1609
|
+
}>>;
|
|
1610
|
+
}, "strip", z.ZodTypeAny, {
|
|
1611
|
+
contribute: {
|
|
1612
|
+
enabled: boolean;
|
|
1613
|
+
maxPatches: number;
|
|
1614
|
+
model?: string | undefined;
|
|
1615
|
+
maxCostUsd?: number | undefined;
|
|
1616
|
+
};
|
|
1617
|
+
}, {
|
|
1618
|
+
contribute?: {
|
|
1619
|
+
model?: string | undefined;
|
|
1620
|
+
enabled?: boolean | undefined;
|
|
1621
|
+
maxPatches?: number | undefined;
|
|
1622
|
+
maxCostUsd?: number | undefined;
|
|
1623
|
+
} | undefined;
|
|
1624
|
+
}>>;
|
|
1588
1625
|
permissionMode: z.ZodDefault<z.ZodString>;
|
|
1589
1626
|
/** How this agent's `claude` CLI is billed (claude-code tier). Default
|
|
1590
1627
|
* "subscription": the shared OAuth login, ANTHROPIC_API_KEY stripped.
|
|
@@ -1936,6 +1973,14 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1936
1973
|
}[];
|
|
1937
1974
|
provider?: string | undefined;
|
|
1938
1975
|
model?: string | undefined;
|
|
1976
|
+
wiki?: {
|
|
1977
|
+
contribute: {
|
|
1978
|
+
enabled: boolean;
|
|
1979
|
+
maxPatches: number;
|
|
1980
|
+
model?: string | undefined;
|
|
1981
|
+
maxCostUsd?: number | undefined;
|
|
1982
|
+
};
|
|
1983
|
+
} | undefined;
|
|
1939
1984
|
voice?: {
|
|
1940
1985
|
system?: string | Record<string, string> | undefined;
|
|
1941
1986
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -1976,6 +2021,14 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
1976
2021
|
workspace: string;
|
|
1977
2022
|
provider?: string | undefined;
|
|
1978
2023
|
model?: string | undefined;
|
|
2024
|
+
wiki?: {
|
|
2025
|
+
contribute?: {
|
|
2026
|
+
model?: string | undefined;
|
|
2027
|
+
enabled?: boolean | undefined;
|
|
2028
|
+
maxPatches?: number | undefined;
|
|
2029
|
+
maxCostUsd?: number | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
} | undefined;
|
|
1979
2032
|
voice?: {
|
|
1980
2033
|
system?: string | Record<string, string> | undefined;
|
|
1981
2034
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -2446,6 +2499,43 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2446
2499
|
* them off, when that is longer than shutdown.drainTimeoutSeconds. For
|
|
2447
2500
|
* agents whose runs are long (renders, builds). */
|
|
2448
2501
|
drainTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2502
|
+
/** Wiki settings for this agent. `contribute` turns on its daily wiki
|
|
2503
|
+
* contribution (#824): `agentx wiki contribute --all` reviews the
|
|
2504
|
+
* agent's work since its last run and queues sourced patches for the
|
|
2505
|
+
* daily merge. Off by default. `maxPatches` and `maxCostUsd` cap one
|
|
2506
|
+
* run; `model` overrides the wiki-wide model. */
|
|
2507
|
+
wiki: z.ZodOptional<z.ZodObject<{
|
|
2508
|
+
contribute: z.ZodDefault<z.ZodObject<{
|
|
2509
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2510
|
+
maxPatches: z.ZodDefault<z.ZodNumber>;
|
|
2511
|
+
maxCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2512
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2513
|
+
}, "strip", z.ZodTypeAny, {
|
|
2514
|
+
enabled: boolean;
|
|
2515
|
+
maxPatches: number;
|
|
2516
|
+
model?: string | undefined;
|
|
2517
|
+
maxCostUsd?: number | undefined;
|
|
2518
|
+
}, {
|
|
2519
|
+
model?: string | undefined;
|
|
2520
|
+
enabled?: boolean | undefined;
|
|
2521
|
+
maxPatches?: number | undefined;
|
|
2522
|
+
maxCostUsd?: number | undefined;
|
|
2523
|
+
}>>;
|
|
2524
|
+
}, "strip", z.ZodTypeAny, {
|
|
2525
|
+
contribute: {
|
|
2526
|
+
enabled: boolean;
|
|
2527
|
+
maxPatches: number;
|
|
2528
|
+
model?: string | undefined;
|
|
2529
|
+
maxCostUsd?: number | undefined;
|
|
2530
|
+
};
|
|
2531
|
+
}, {
|
|
2532
|
+
contribute?: {
|
|
2533
|
+
model?: string | undefined;
|
|
2534
|
+
enabled?: boolean | undefined;
|
|
2535
|
+
maxPatches?: number | undefined;
|
|
2536
|
+
maxCostUsd?: number | undefined;
|
|
2537
|
+
} | undefined;
|
|
2538
|
+
}>>;
|
|
2449
2539
|
permissionMode: z.ZodDefault<z.ZodString>;
|
|
2450
2540
|
/** How this agent's `claude` CLI is billed (claude-code tier). Default
|
|
2451
2541
|
* "subscription": the shared OAuth login, ANTHROPIC_API_KEY stripped.
|
|
@@ -2797,6 +2887,14 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2797
2887
|
}[];
|
|
2798
2888
|
provider?: string | undefined;
|
|
2799
2889
|
model?: string | undefined;
|
|
2890
|
+
wiki?: {
|
|
2891
|
+
contribute: {
|
|
2892
|
+
enabled: boolean;
|
|
2893
|
+
maxPatches: number;
|
|
2894
|
+
model?: string | undefined;
|
|
2895
|
+
maxCostUsd?: number | undefined;
|
|
2896
|
+
};
|
|
2897
|
+
} | undefined;
|
|
2800
2898
|
voice?: {
|
|
2801
2899
|
system?: string | Record<string, string> | undefined;
|
|
2802
2900
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -2837,6 +2935,14 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2837
2935
|
workspace: string;
|
|
2838
2936
|
provider?: string | undefined;
|
|
2839
2937
|
model?: string | undefined;
|
|
2938
|
+
wiki?: {
|
|
2939
|
+
contribute?: {
|
|
2940
|
+
model?: string | undefined;
|
|
2941
|
+
enabled?: boolean | undefined;
|
|
2942
|
+
maxPatches?: number | undefined;
|
|
2943
|
+
maxCostUsd?: number | undefined;
|
|
2944
|
+
} | undefined;
|
|
2945
|
+
} | undefined;
|
|
2840
2946
|
voice?: {
|
|
2841
2947
|
system?: string | Record<string, string> | undefined;
|
|
2842
2948
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -2925,6 +3031,66 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
2925
3031
|
allowActions?: boolean | undefined;
|
|
2926
3032
|
} | undefined;
|
|
2927
3033
|
}>>>;
|
|
3034
|
+
/** Wiki-wide settings (#824). */
|
|
3035
|
+
wiki: z.ZodDefault<z.ZodObject<{
|
|
3036
|
+
/** The daily per-agent contribution and the merge that applies it.
|
|
3037
|
+
* Both jobs are added to the schedule when at least one agent has
|
|
3038
|
+
* `wiki.contribute.enabled`; a cron with the same id overrides them. */
|
|
3039
|
+
contributions: z.ZodDefault<z.ZodObject<{
|
|
3040
|
+
/** When each enabled agent reviews its day (cron, 5 fields). */
|
|
3041
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
3042
|
+
/** When the queued patches are applied. */
|
|
3043
|
+
mergeSchedule: z.ZodDefault<z.ZodString>;
|
|
3044
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
3045
|
+
/** Default per-agent, per-run model spend cap in USD. */
|
|
3046
|
+
maxCostUsd: z.ZodDefault<z.ZodNumber>;
|
|
3047
|
+
/** Default model for the contribution call. */
|
|
3048
|
+
model: z.ZodDefault<z.ZodString>;
|
|
3049
|
+
}, "strip", z.ZodTypeAny, {
|
|
3050
|
+
model: string;
|
|
3051
|
+
schedule: string;
|
|
3052
|
+
timezone: string;
|
|
3053
|
+
maxCostUsd: number;
|
|
3054
|
+
mergeSchedule: string;
|
|
3055
|
+
}, {
|
|
3056
|
+
model?: string | undefined;
|
|
3057
|
+
schedule?: string | undefined;
|
|
3058
|
+
timezone?: string | undefined;
|
|
3059
|
+
maxCostUsd?: number | undefined;
|
|
3060
|
+
mergeSchedule?: string | undefined;
|
|
3061
|
+
}>>;
|
|
3062
|
+
query: z.ZodDefault<z.ZodObject<{
|
|
3063
|
+
/** `wiki query` also searches other agents' readable pages and the
|
|
3064
|
+
* root wiki's own pages. */
|
|
3065
|
+
shared: z.ZodDefault<z.ZodBoolean>;
|
|
3066
|
+
}, "strip", z.ZodTypeAny, {
|
|
3067
|
+
shared: boolean;
|
|
3068
|
+
}, {
|
|
3069
|
+
shared?: boolean | undefined;
|
|
3070
|
+
}>>;
|
|
3071
|
+
}, "strip", z.ZodTypeAny, {
|
|
3072
|
+
query: {
|
|
3073
|
+
shared: boolean;
|
|
3074
|
+
};
|
|
3075
|
+
contributions: {
|
|
3076
|
+
model: string;
|
|
3077
|
+
schedule: string;
|
|
3078
|
+
timezone: string;
|
|
3079
|
+
maxCostUsd: number;
|
|
3080
|
+
mergeSchedule: string;
|
|
3081
|
+
};
|
|
3082
|
+
}, {
|
|
3083
|
+
query?: {
|
|
3084
|
+
shared?: boolean | undefined;
|
|
3085
|
+
} | undefined;
|
|
3086
|
+
contributions?: {
|
|
3087
|
+
model?: string | undefined;
|
|
3088
|
+
schedule?: string | undefined;
|
|
3089
|
+
timezone?: string | undefined;
|
|
3090
|
+
maxCostUsd?: number | undefined;
|
|
3091
|
+
mergeSchedule?: string | undefined;
|
|
3092
|
+
} | undefined;
|
|
3093
|
+
}>>;
|
|
2928
3094
|
channels: z.ZodDefault<z.ZodObject<{
|
|
2929
3095
|
telegram: z.ZodDefault<z.ZodObject<{
|
|
2930
3096
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -7322,6 +7488,14 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7322
7488
|
}[];
|
|
7323
7489
|
provider?: string | undefined;
|
|
7324
7490
|
model?: string | undefined;
|
|
7491
|
+
wiki?: {
|
|
7492
|
+
contribute: {
|
|
7493
|
+
enabled: boolean;
|
|
7494
|
+
maxPatches: number;
|
|
7495
|
+
model?: string | undefined;
|
|
7496
|
+
maxCostUsd?: number | undefined;
|
|
7497
|
+
};
|
|
7498
|
+
} | undefined;
|
|
7325
7499
|
voice?: {
|
|
7326
7500
|
system?: string | Record<string, string> | undefined;
|
|
7327
7501
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -7395,6 +7569,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
7395
7569
|
skipTypes: string[];
|
|
7396
7570
|
};
|
|
7397
7571
|
};
|
|
7572
|
+
wiki: {
|
|
7573
|
+
query: {
|
|
7574
|
+
shared: boolean;
|
|
7575
|
+
};
|
|
7576
|
+
contributions: {
|
|
7577
|
+
model: string;
|
|
7578
|
+
schedule: string;
|
|
7579
|
+
timezone: string;
|
|
7580
|
+
maxCostUsd: number;
|
|
7581
|
+
mergeSchedule: string;
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
7398
7584
|
app: {
|
|
7399
7585
|
android: {
|
|
7400
7586
|
packageName: string;
|
|
@@ -8140,6 +8326,14 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8140
8326
|
workspace: string;
|
|
8141
8327
|
provider?: string | undefined;
|
|
8142
8328
|
model?: string | undefined;
|
|
8329
|
+
wiki?: {
|
|
8330
|
+
contribute?: {
|
|
8331
|
+
model?: string | undefined;
|
|
8332
|
+
enabled?: boolean | undefined;
|
|
8333
|
+
maxPatches?: number | undefined;
|
|
8334
|
+
maxCostUsd?: number | undefined;
|
|
8335
|
+
} | undefined;
|
|
8336
|
+
} | undefined;
|
|
8143
8337
|
voice?: {
|
|
8144
8338
|
system?: string | Record<string, string> | undefined;
|
|
8145
8339
|
provider?: "system" | "elevenlabs" | undefined;
|
|
@@ -8265,6 +8459,18 @@ declare const daemonConfigSchema: z.ZodObject<{
|
|
|
8265
8459
|
skipTypes?: string[] | undefined;
|
|
8266
8460
|
} | undefined;
|
|
8267
8461
|
} | undefined;
|
|
8462
|
+
wiki?: {
|
|
8463
|
+
query?: {
|
|
8464
|
+
shared?: boolean | undefined;
|
|
8465
|
+
} | undefined;
|
|
8466
|
+
contributions?: {
|
|
8467
|
+
model?: string | undefined;
|
|
8468
|
+
schedule?: string | undefined;
|
|
8469
|
+
timezone?: string | undefined;
|
|
8470
|
+
maxCostUsd?: number | undefined;
|
|
8471
|
+
mergeSchedule?: string | undefined;
|
|
8472
|
+
} | undefined;
|
|
8473
|
+
} | undefined;
|
|
8268
8474
|
app?: {
|
|
8269
8475
|
android?: {
|
|
8270
8476
|
packageName?: string | undefined;
|
|
@@ -11500,6 +11706,15 @@ declare class WikiStore {
|
|
|
11500
11706
|
private walkDir;
|
|
11501
11707
|
}
|
|
11502
11708
|
|
|
11709
|
+
/** A wiki searched alongside the requester's own. */
|
|
11710
|
+
interface SharedWikiStore {
|
|
11711
|
+
/** Shown in citations as `@<id>/<path>`: an agent id, or "shared". */
|
|
11712
|
+
id: string;
|
|
11713
|
+
store: WikiStore;
|
|
11714
|
+
/** Paths to leave out, e.g. the agents/ tree under the root store. */
|
|
11715
|
+
skip?: (path: string) => boolean;
|
|
11716
|
+
}
|
|
11717
|
+
|
|
11503
11718
|
type WikiMode = "flat" | "graph" | "unified";
|
|
11504
11719
|
/**
|
|
11505
11720
|
* WikiHub: manages per-agent wikis with a shared raw entry pool.
|
|
@@ -11529,6 +11744,15 @@ declare class WikiHub {
|
|
|
11529
11744
|
/** The wiki root: shared sidecars (_facts.json, _questions.json) live here. */
|
|
11530
11745
|
getBaseDir(): string;
|
|
11531
11746
|
getSharedStore(): WikiStore;
|
|
11747
|
+
/**
|
|
11748
|
+
* The wikis a query by `agentId` reads besides its own: every other
|
|
11749
|
+
* agent's articles and the root store's own (promoted lessons). Which
|
|
11750
|
+
* articles of theirs it may read is still decided per article by access.
|
|
11751
|
+
* Without this an agent's query missed answers the shared wiki had (#824).
|
|
11752
|
+
*/
|
|
11753
|
+
sharedScope(agentId: string): SharedWikiStore[];
|
|
11754
|
+
/** Agents with a wiki folder here, without reading the raw entries. */
|
|
11755
|
+
private listAgentDirs;
|
|
11532
11756
|
listAgents(entries?: WikiEntry[]): string[];
|
|
11533
11757
|
getAgentEntries(agentId: string): WikiEntry[];
|
|
11534
11758
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-
|
|
1
|
+
import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-EJT4MA3J.js";import"./chunk-C5MTLW7O.js";import"./chunk-GTJIKXDB.js";import"./chunk-6KIUVVKX.js";import"./chunk-BGG3ZSMW.js";import"./chunk-ZVP6GB4G.js";import"./chunk-S2GAEH2F.js";import"./chunk-PPUN7YHA.js";import"./chunk-VZLIBDLH.js";import"./chunk-EKJG63EJ.js";import"./chunk-EMGB23H5.js";import"./chunk-XGOBZCYC.js";import"./chunk-WCXXXAHV.js";import"./chunk-JWDJMFU6.js";import"./chunk-GRMCAO3Q.js";import"./chunk-KZKDVIOE.js";import"./chunk-LQE73AZR.js";import"./chunk-2D3RYIDU.js";import"./chunk-WEPON4FP.js";import"./chunk-AKLZ4YO2.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-4V7SWL2S.js";import"./chunk-Y4CYQV7G.js";import"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-ZLC4TSXF.js";import"./chunk-6GGGXCOY.js";import"./chunk-2AXFYDWF.js";import"./chunk-AQASR6KR.js";import{ca as yt,m as lt,n as ct,o as dt,p as mt,q as pt}from"./chunk-QACEFESP.js";import"./chunk-O2BS6N3T.js";import"./chunk-GLQLCBJS.js";import"./chunk-6W74CHNW.js";import{s as ut}from"./chunk-2SV4RKRW.js";import{a as L}from"./chunk-UG2OF2EI.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-X5C5W3E4.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-SZDACK6O.js";import"./chunk-76Z4VHDX.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import"./chunk-HKW56YZK.js";import"./chunk-52SIHG45.js";import"./chunk-VWTBHLMX.js";import"./chunk-Z3W7D5RR.js";import{a as ht}from"./chunk-P4XGM7ZM.js";import"./chunk-3PGPN323.js";import"./chunk-FSW4FUMW.js";import"./chunk-VD7IO653.js";import{f as gt,g as ft}from"./chunk-LDS4SZBU.js";import"./chunk-WPNRDEHW.js";import"./chunk-36AXN6ZB.js";import"./chunk-KA2UIZXG.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-QQFURUMS.js";import{j as it,k as rt,l as at}from"./chunk-YWKLUQDC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-MYVHVJWZ.js";import"./chunk-AV7T3SYT.js";import"./chunk-Y5MFVVTM.js";import"./chunk-QD6IICK7.js";import"./chunk-QOYAX2FT.js";import"./chunk-4VVHGR7H.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{ma as tt,oa as st,pa as ot,ua as nt}from"./chunk-MRYA4J5F.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).
|