@cleocode/cleo 2026.10.27 → 2026.11.1-canary.3
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/README.md +28 -365
- package/dist/.source-stamp.json +4 -0
- package/dist/cli/{adapter-ZIB3OAPD.js → adapter-H6LGOEXR.js} +3 -3
- package/dist/cli/{add-TBJUMJW7.js → add-JTLUT54D.js} +3 -3
- package/dist/cli/{add-batch-GGKVPTS5.js → add-batch-ZK7SIYA5.js} +3 -3
- package/dist/cli/{admin-PEYBYMZN.js → admin-AA4M7JBW.js} +15 -5
- package/dist/cli/{admin-NGPG2LSO.js → admin-EPHDAQHU.js} +3 -3
- package/dist/cli/{adr-2XVNDYZ7.js → adr-6DUCKEGZ.js} +3 -3
- package/dist/cli/{analyze-A44RDCSX.js → analyze-C7PDKTLW.js} +3 -3
- package/dist/cli/{archive-QQB6M2RF.js → archive-4XUV2TNE.js} +3 -3
- package/dist/cli/{archive-stats-K4YKKYQV.js → archive-stats-P35RNTOG.js} +3 -3
- package/dist/cli/{attention-KAHDF6KD.js → attention-CRI2XJ62.js} +3 -3
- package/dist/cli/{backup-IYFULQTM.js → backup-JMHKBESP.js} +6 -5
- package/dist/cli/{blockers-KYNJJKZQ.js → blockers-GIYEINJM.js} +3 -3
- package/dist/cli/{briefing-J6PDDZ2C.js → briefing-CS6JNKV7.js} +3 -3
- package/dist/cli/{cancel-A4OCUVDI.js → cancel-I5WG5BR4.js} +3 -3
- package/dist/cli/{chunk-SXXOC6KZ.js → canon-docs-ZXWC4AFI.js} +51 -4
- package/dist/cli/{check-HHT4J5ZM.js → check-3KDTDUNQ.js} +3 -3
- package/dist/cli/{check-ZT6O5JDS.js → check-4XUOQNLG.js} +15 -19
- package/dist/cli/{chunk-PGR4RWQL.js → chunk-2AT5ALNQ.js} +2 -2
- package/dist/cli/{chunk-TUUKU4H7.js → chunk-5AL6B3J2.js} +7 -3
- package/dist/cli/{owner-override-cap-53HYZHIL.js → chunk-6C5X2J6S.js} +3 -2
- package/dist/cli/{chunk-OIS3BDSL.js → chunk-K6I66OSL.js} +2 -2
- package/dist/cli/chunk-RYGY5LG4.js +89 -0
- package/dist/cli/{chunk-JRDAITPC.js → chunk-V3ZUZYBZ.js} +12 -12
- package/dist/cli/{claim-MFFSWD64.js → claim-XGA4LKYO.js} +3 -3
- package/dist/cli/{cli-5PJ2B6ZH.js → cli-2U6BPCPH.js} +3 -3
- package/dist/cli/{complete-2IN4YEWL.js → complete-NCS2BCZB.js} +4 -4
- package/dist/cli/{complexity-JVEIZE5M.js → complexity-KJHXAWTC.js} +3 -3
- package/dist/cli/{compliance-MC3X2M34.js → compliance-GP6P63ZI.js} +3 -3
- package/dist/cli/{conduit-XYYPJYUF.js → conduit-NJL4YUDZ.js} +3 -3
- package/dist/cli/{config-Z5BXGRZB.js → config-FMLBYCVS.js} +5 -5
- package/dist/cli/{consensus-T6UARQTD.js → consensus-ALD6ADOC.js} +3 -3
- package/dist/cli/{context-M4F3YXZE.js → context-CVZBNZUZ.js} +3 -3
- package/dist/cli/{contribution-76FJYJKR.js → contribution-YQG6IHME.js} +3 -3
- package/dist/cli/{current-EFRCVSWL.js → current-GNHA4AK3.js} +3 -3
- package/dist/cli/{daemon-UAAMDN6C.js → daemon-VGOWNKWU.js} +3 -3
- package/dist/cli/{dash-ZEBYLYPV.js → dash-EP46P2SO.js} +3 -3
- package/dist/cli/{decompose-XTK2DXSM.js → decompose-J2RHLS4P.js} +3 -3
- package/dist/cli/{decomposition-ZDACSPOU.js → decomposition-RILQKAX7.js} +3 -3
- package/dist/cli/{delete-6YZADILS.js → delete-CBMXPES6.js} +3 -3
- package/dist/cli/{deps-WTASB2GB.js → deps-GPBTDYTW.js} +3 -3
- package/dist/cli/{detect-IITE5EBW.js → detect-OGQCROVY.js} +3 -3
- package/dist/cli/{diagnostics-MFUOSLSQ.js → diagnostics-4I2JUW5R.js} +3 -3
- package/dist/cli/{docs-NF5COLOB.js → docs-MNOBMDNV.js} +148 -16
- package/dist/cli/{docs-AIZLN3ZE.js → docs-YI47KPN7.js} +150 -93
- package/dist/cli/{doctor-4DWCNDOP.js → doctor-AYEY3IAL.js} +9 -4
- package/dist/cli/{doctor-tool-locks-VXKJZKAY.js → doctor-tool-locks-3ZT2LXRY.js} +2 -2
- package/dist/cli/{canon-docs-2GTOLF7Y.js → doctor-type-matrix-DD233VK2.js} +8 -8
- package/dist/cli/{done-A7ITQSJT.js → done-TZ5KBKEY.js} +73 -5
- package/dist/cli/{export-OTDQUAQQ.js → export-2PN64KYZ.js} +3 -3
- package/dist/cli/{export-tasks-BKVXMFLD.js → export-tasks-VDM7OZG5.js} +3 -3
- package/dist/cli/{find-BWKYKZEN.js → find-5XG5EKE3.js} +3 -3
- package/dist/cli/{focus-772SYK7Z.js → focus-ZL4LN3ME.js} +3 -3
- package/dist/cli/{goal-TG74GKBK.js → goal-TIQWF5PH.js} +2 -2
- package/dist/cli/{grade-BZYBWDA7.js → grade-4Q4VAS6D.js} +3 -3
- package/dist/cli/{graph-LB2TBRH6.js → graph-T5NO6IO5.js} +3 -3
- package/dist/cli/{history-XIYAXOUF.js → history-LMP6PSUW.js} +3 -3
- package/dist/cli/{import-C2QISQC7.js → import-RDVVHET4.js} +3 -3
- package/dist/cli/{import-tasks-P6FYXAAS.js → import-tasks-GQAD4JBU.js} +3 -3
- package/dist/cli/index.js +141 -103
- package/dist/cli/{inject-EDZVSPTW.js → inject-Y4LSXMTC.js} +3 -3
- package/dist/cli/{intelligence-OE7SIVR5.js → intelligence-HCB3COXY.js} +3 -3
- package/dist/cli/{issue-S67EZXN7.js → issue-7NLECBVN.js} +3 -3
- package/dist/cli/{labels-M7GIBYAQ.js → labels-BEKX5LIS.js} +3 -3
- package/dist/cli/{lifecycle-NO5QDJ2J.js → lifecycle-NXFDMNMA.js} +3 -3
- package/dist/cli/{list-VH6DPZ4V.js → list-H4DJHDQR.js} +3 -3
- package/dist/cli/{llm-P35U52I5.js → llm-24YWOGPN.js} +3 -3
- package/dist/cli/{log-XIPOX6UM.js → log-DKATGXVT.js} +3 -3
- package/dist/cli/{manifest-A5F2YD35.js → manifest-6W3LB3O4.js} +3 -3
- package/dist/cli/{map-AOMU72RY.js → map-LQUG4G6N.js} +3 -3
- package/dist/cli/{memory-4WNZWJG7.js → memory-FQKOIV43.js} +3 -3
- package/dist/cli/{memory-GK5WDYWT.js → memory-Z47B7XNL.js} +2 -2
- package/dist/cli/{migrate-claude-mem-OTSYHYBZ.js → migrate-claude-mem-MSXQ33SR.js} +3 -3
- package/dist/cli/{next-YUZ4X7NB.js → next-OU44ZHDS.js} +3 -3
- package/dist/cli/{nexus-YHPP3RZU.js → nexus-2O3D5KBD.js} +23 -15
- package/dist/cli/{nexus-RYH4IAG3.js → nexus-X6YLFJLZ.js} +2 -2
- package/dist/cli/{ops-XPJK3WBN.js → ops-MKGFUA4I.js} +3 -3
- package/dist/cli/{orchestrate-TWV43SAR.js → orchestrate-CIYXIPWJ.js} +3 -3
- package/dist/cli/{orchestrate-AYBDAVOQ.js → orchestrate-HSYARDD4.js} +2 -2
- package/dist/cli/owner-override-cap-3B7UXQXA.js +29 -0
- package/dist/cli/{phase-CFH2NZU5.js → phase-NJDN3EIY.js} +3 -3
- package/dist/cli/{pipeline-LW5HWLBI.js → pipeline-KQGUL5BQ.js} +2 -2
- package/dist/cli/{pivot-LEBKDG22.js → pivot-K3FL4H4Z.js} +3 -3
- package/dist/cli/{plan-6VK5I4BT.js → plan-TDBKUPE6.js} +3 -3
- package/dist/cli/{playbook-4GKDYZYW.js → playbook-UF7FCJ4U.js} +3 -3
- package/dist/cli/{promote-4V4ZLAL3.js → promote-Q3A7C7GI.js} +3 -3
- package/dist/cli/{provenance-2SFRY42O.js → provenance-J7OB5YAT.js} +3 -3
- package/dist/cli/{provider-G6MBFVHR.js → provider-T37WWONR.js} +3 -3
- package/dist/cli/{reason-2AYZ6SGZ.js → reason-D6W5GCAS.js} +3 -3
- package/dist/cli/{reconcile-7CBD7AHH.js → reconcile-FK2AVHTK.js} +3 -3
- package/dist/cli/{relates-FP43JAOK.js → relates-4UYF5ZTG.js} +3 -3
- package/dist/cli/{release-NW7XHRVB.js → release-NHPX6QOO.js} +128 -3
- package/dist/cli/{release-OWPFPUQG.js → release-XT2L6BZ6.js} +80 -4
- package/dist/cli/release-authorize-IV4MF6OV.js +84 -0
- package/dist/cli/{reorder-M457CQRR.js → reorder-3WRIRG5F.js} +3 -3
- package/dist/cli/{reparent-53T6IUUS.js → reparent-OBDMBMHO.js} +3 -3
- package/dist/cli/{req-ORMMU5PV.js → req-IC66XI36.js} +3 -3
- package/dist/cli/{research-LFGCGIEP.js → research-637G66T4.js} +3 -3
- package/dist/cli/{restore-ZYRIZQUJ.js → restore-VJ6UVTFO.js} +3 -3
- package/dist/cli/review-2VXZEKW6.js +131 -0
- package/dist/cli/{roadmap-EK6LXBQ4.js → roadmap-H26JEE34.js} +3 -3
- package/dist/cli/{run-PZJCIRFD.js → run-SUK5J7SL.js} +42 -2
- package/dist/cli/{safestop-NO57J3RK.js → safestop-G5LYH3B6.js} +3 -3
- package/dist/cli/{saga-NIJMIJE5.js → saga-CPNWFLGG.js} +3 -3
- package/dist/cli/{selfimprove-6HSEV3RG.js → selfimprove-T2IZGLE5.js} +3 -3
- package/dist/cli/{selfimprove-IYKG5PF4.js → selfimprove-UI4KV3LE.js} +2 -2
- package/dist/cli/{sequence-T42KPEEQ.js → sequence-DRHAPZP5.js} +3 -3
- package/dist/cli/{service-CBEZWGHC.js → service-L3XGRXZZ.js} +3 -3
- package/dist/cli/{session-XDADM7O4.js → session-WYKXKKPM.js} +3 -3
- package/dist/cli/{session-TFVW42XK.js → session-XGFWBFKH.js} +2 -2
- package/dist/cli/{show-I2TEU6MP.js → show-244XCU7Q.js} +3 -3
- package/dist/cli/{skills-ZBYRPFRL.js → skills-V4IH2LVI.js} +3 -3
- package/dist/cli/{snapshot-GMN7LZ4A.js → snapshot-BM2YSX23.js} +3 -3
- package/dist/cli/{start-FQWDRGJE.js → start-OUWHVDCT.js} +3 -3
- package/dist/cli/{stats-D2AU77GH.js → stats-SNANUIE4.js} +3 -3
- package/dist/cli/{sticky-FKZFQYNV.js → sticky-AXOXP64I.js} +3 -3
- package/dist/cli/{stop-ZCL7RZPH.js → stop-7XU7WJZP.js} +3 -3
- package/dist/cli/{sync-WM4JLGXF.js → sync-I7D4OMS5.js} +3 -3
- package/dist/cli/{tasks-RU6AAJKD.js → tasks-S4UR3OMN.js} +2 -2
- package/dist/cli/{tasks-54WNYQZS.js → tasks-VI633MO2.js} +3 -3
- package/dist/cli/{testing-S7FCPHW5.js → testing-444KOW72.js} +3 -3
- package/dist/cli/{token-BDRGEO3E.js → token-LEAY3YMC.js} +3 -3
- package/dist/cli/{update-BD77ORMO.js → update-2FKKXUZ5.js} +3 -3
- package/dist/cli/{verify-VOJRQQE2.js → verify-FJPE666T.js} +4 -4
- package/dist/cli/{worktree-2HHJT5BS.js → worktree-MRP3XN33.js} +3 -3
- package/package.json +16 -13
- package/studio-dist/client/_app/immutable/chunks/BBz_Ewst.js +3 -0
- package/studio-dist/client/_app/immutable/chunks/{CwQ8nAoh.js → BaXJwlsi.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/CERVObi_.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{Dv66614U.js → D4A9lkPs.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.C2oQiIiz.js → app.BxBC-th_.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.Dm43jY1A.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DaE6eVaG.js → 0.D7Aem8uF.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.D0Mb3i_7.js → 1.Cf9AgcGX.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.ChRO-4dz.js → 15.C1O3unvk.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.fltF2wse.js → 16.DTsmQMdQ.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DnYjMhyj.js → 17.C7L1u1QT.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.DYVIAC9a.js → 18.DJGn1-Wv.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.CVBcbjBW.js → 20.CN2uQb5o.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.Bfswm8Y5.js → 24.Bpbm5FXA.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/25.B91AFY13.js +39 -0
- package/studio-dist/client/_app/immutable/nodes/{26.D3RoTHoD.js → 26.3enLLx87.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.ezhkaJvt.js → 3.yCO3XTid.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BKQLYEeE.js → 0-DEtAbPw-.js} +3 -3
- package/studio-dist/server/chunks/1-h2LMUAHs.js +9 -0
- package/studio-dist/server/chunks/{15-DuSvkmiZ.js → 15-BiobEJ2m.js} +3 -3
- package/studio-dist/server/chunks/{16-DJVePzvS.js → 16-6xqNydr5.js} +3 -3
- package/studio-dist/server/chunks/{17-D8K9-EPJ.js → 17-DUBxUGhx.js} +3 -3
- package/studio-dist/server/chunks/{18-D5FUPGnv.js → 18-CENJ-ItU.js} +3 -3
- package/studio-dist/server/chunks/{20-CmHgNZFV.js → 20-CEgw_UdZ.js} +3 -3
- package/studio-dist/server/chunks/{24-CfuHWHgd.js → 24-6ZDsPicw.js} +3 -3
- package/studio-dist/server/chunks/{25-bm3BDSum.js → 25-Cyivs_zg.js} +207 -6
- package/studio-dist/server/chunks/{26-DRlhAbrf.js → 26-D2WIE_xK.js} +3 -3
- package/studio-dist/server/chunks/{3-BrE1-gTA.js → 3-cYpnCm5s.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-BeqNMCvk.js → _layout.svelte-DCokBVYx.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DnmZYECG.js → _page.svelte-4E3K3DKC.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Bchzzf-O.js → _page.svelte-BHV_avWv.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CJVF_ySt.js → _page.svelte-BKKxE82V.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DIx7Hcw-.js → _page.svelte-BT9WBxAM.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Ds0GMs_q.js → _page.svelte-Bk7asdHX.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-V7BTZinR.js → _page.svelte-DG8jeXro.js} +6 -6
- package/studio-dist/server/chunks/{_page.svelte-DM-MP-Vl.js → _page.svelte-DdYeG19n.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CkXCx1iz.js → _page.svelte-NTbWZ5Ki.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-B7xxx6BP.js → _page.svelte-QmZ5QQQz.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-DdCviCsN.js → _server.ts-B66SEpEd.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Ck-oreiA.js → _server.ts-C1Eh35Y2.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-b2YIpIsi.js → _server.ts-C2pAmHkw.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Cd_KHxRr.js → _server.ts-DFYxm8-q.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-YtGAClvW.js → _server.ts-DWzrbU8h.js} +3 -3
- package/studio-dist/server/chunks/{client-DR3j81J8.js → client-BHWQAkS2.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-NY-X_Qdt.js → error.svelte-IFrcuYEO.js} +3 -3
- package/studio-dist/server/chunks/{http-Dz72j56i.js → http-BkrDO_qh.js} +2 -2
- package/studio-dist/server/chunks/{internal-y7btLoII.js → internal-DftpbYWE.js} +2 -2
- package/studio-dist/server/chunks/{operations-registry-DKEHmggR.js → operations-registry-zTLuSrVZ.js} +194 -1
- package/studio-dist/server/chunks/{stores-Cm-Qj76R.js → stores-BW6MI1eb.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +17 -17
- package/studio-dist/client/_app/immutable/chunks/BXnpxR_0.js +0 -1
- package/studio-dist/client/_app/immutable/chunks/Js_lZuOv.js +0 -3
- package/studio-dist/client/_app/immutable/entry/start.BolRa540.js +0 -1
- package/studio-dist/client/_app/immutable/nodes/25.B_7VqHJ6.js +0 -39
- package/studio-dist/server/chunks/1-ClOr3JN3.js +0 -9
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-YY66LFZF.js";
|
|
27
27
|
import {
|
|
28
28
|
dispatchFromCli
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-K6I66OSL.js";
|
|
30
30
|
import {
|
|
31
31
|
CLEO_DIR_NAME,
|
|
32
32
|
CLI_GLOBAL_BACKUP_FILES,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-ESI6Q4OS.js";
|
|
49
49
|
import "./chunk-6JSJNYH2.js";
|
|
50
50
|
import "./chunk-D7BAQNV2.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
52
52
|
|
|
53
53
|
// packages/cleo/src/cli/commands/backup.ts
|
|
54
54
|
import crypto from "node:crypto";
|
|
@@ -147,7 +147,7 @@ var addCommand = defineCommand({
|
|
|
147
147
|
args: {
|
|
148
148
|
destination: {
|
|
149
149
|
type: "string",
|
|
150
|
-
description: "
|
|
150
|
+
description: "Write the backup into this directory (global copy under <dir>/global) instead of the rotating backup dirs; it never rotates or is rotated (T13209)"
|
|
151
151
|
},
|
|
152
152
|
note: {
|
|
153
153
|
type: "string",
|
|
@@ -166,7 +166,8 @@ var addCommand = defineCommand({
|
|
|
166
166
|
{
|
|
167
167
|
type: "snapshot",
|
|
168
168
|
note: args.note ?? (args.destination ? `destination:${args.destination}` : void 0),
|
|
169
|
-
includeGlobal: args.global === true
|
|
169
|
+
includeGlobal: args.global === true,
|
|
170
|
+
...typeof args.destination === "string" ? { destination: args.destination } : {}
|
|
170
171
|
},
|
|
171
172
|
{ command: "backup" }
|
|
172
173
|
);
|
|
@@ -589,4 +590,4 @@ function sha256OfMachineKey(cleoHome) {
|
|
|
589
590
|
export {
|
|
590
591
|
backupCommand
|
|
591
592
|
};
|
|
592
|
-
//# sourceMappingURL=backup-
|
|
593
|
+
//# sourceMappingURL=backup-JMHKBESP.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K6I66OSL.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.js";
|
|
21
21
|
import {
|
|
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
25
25
|
import "./chunk-ESI6Q4OS.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/blockers.ts
|
|
31
31
|
var blockersCommand = defineCommand({
|
|
@@ -52,4 +52,4 @@ var blockersCommand = defineCommand({
|
|
|
52
52
|
export {
|
|
53
53
|
blockersCommand
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=blockers-
|
|
55
|
+
//# sourceMappingURL=blockers-GIYEINJM.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YY66LFZF.js";
|
|
19
19
|
import {
|
|
20
20
|
dispatchFromCli
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K6I66OSL.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.js";
|
|
24
24
|
import {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-ESI6Q4OS.js";
|
|
32
32
|
import "./chunk-6JSJNYH2.js";
|
|
33
33
|
import "./chunk-D7BAQNV2.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
35
35
|
|
|
36
36
|
// packages/cleo/src/cli/commands/briefing.ts
|
|
37
37
|
import { pushWarning } from "@cleocode/core/output";
|
|
@@ -210,4 +210,4 @@ var briefingCommand = defineCommand({
|
|
|
210
210
|
export {
|
|
211
211
|
briefingCommand
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=briefing-
|
|
213
|
+
//# sourceMappingURL=briefing-CS6JNKV7.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K6I66OSL.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.js";
|
|
21
21
|
import {
|
|
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
25
25
|
import "./chunk-ESI6Q4OS.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/cancel.ts
|
|
31
31
|
var cancelCommand = defineCommand({
|
|
@@ -82,4 +82,4 @@ var cancelCommand = defineCommand({
|
|
|
82
82
|
export {
|
|
83
83
|
cancelCommand
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=cancel-
|
|
85
|
+
//# sourceMappingURL=cancel-I5WG5BR4.js.map
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
import { execFileSync } from "node:child_process";
|
|
19
19
|
import { existsSync, readFileSync } from "node:fs";
|
|
20
20
|
import { join, sep } from "node:path";
|
|
21
|
+
import {
|
|
22
|
+
checkDocNames,
|
|
23
|
+
readDocNameBaseline
|
|
24
|
+
} from "@cleocode/core/docs/doc-name-rule";
|
|
21
25
|
import { resolveCanonDocPathPolicy } from "@cleocode/core/session/canon-lint";
|
|
22
26
|
import { parse as parseYaml } from "yaml";
|
|
23
27
|
var CanonDocsDiffError = class extends Error {
|
|
@@ -67,6 +71,23 @@ function listAddedMarkdownFiles(projectRoot, baseRef) {
|
|
|
67
71
|
);
|
|
68
72
|
}
|
|
69
73
|
}
|
|
74
|
+
function listTrackedDocs(projectRoot) {
|
|
75
|
+
try {
|
|
76
|
+
const out = execFileSync("git", ["ls-files", "-z", "--", "docs"], {
|
|
77
|
+
cwd: projectRoot,
|
|
78
|
+
encoding: "utf8",
|
|
79
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
80
|
+
timeout: 3e4
|
|
81
|
+
});
|
|
82
|
+
return out.split("\0").filter((line) => line.length > 0);
|
|
83
|
+
} catch (error) {
|
|
84
|
+
throw new CanonDocsDiffError(
|
|
85
|
+
projectRoot,
|
|
86
|
+
"HEAD",
|
|
87
|
+
error instanceof Error ? error : new Error(String(error))
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
70
91
|
function validateCanonRegistry(raw, source) {
|
|
71
92
|
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) {
|
|
72
93
|
throw new Error(`${source}: top-level value must be an object`);
|
|
@@ -167,7 +188,7 @@ function loadCanonRegistry(projectRoot) {
|
|
|
167
188
|
return validateCanonRegistry(parsed, path);
|
|
168
189
|
}
|
|
169
190
|
function runCanonDocsCheck(params) {
|
|
170
|
-
const { projectRoot, baseRef = "origin/main", candidateFiles } = params;
|
|
191
|
+
const { projectRoot, baseRef = "origin/main", candidateFiles, trackedFiles } = params;
|
|
171
192
|
const registry = loadCanonRegistry(projectRoot);
|
|
172
193
|
if (!registry) {
|
|
173
194
|
return {
|
|
@@ -175,6 +196,8 @@ function runCanonDocsCheck(params) {
|
|
|
175
196
|
baseRef,
|
|
176
197
|
scanned: 0,
|
|
177
198
|
violations: [],
|
|
199
|
+
nameViolations: [],
|
|
200
|
+
staleBaseline: [],
|
|
178
201
|
mode: "no-canon"
|
|
179
202
|
};
|
|
180
203
|
}
|
|
@@ -192,18 +215,42 @@ function runCanonDocsCheck(params) {
|
|
|
192
215
|
});
|
|
193
216
|
}
|
|
194
217
|
}
|
|
218
|
+
const names = checkDocNames(
|
|
219
|
+
trackedFiles ?? (candidateFiles !== void 0 ? [] : listTrackedDocs(projectRoot)),
|
|
220
|
+
readDocNameBaseline(projectRoot)
|
|
221
|
+
);
|
|
195
222
|
return {
|
|
196
|
-
passed: violations.length === 0,
|
|
223
|
+
passed: violations.length === 0 && names.violations.length === 0 && names.stale.length === 0,
|
|
197
224
|
baseRef,
|
|
198
225
|
scanned: candidates.length,
|
|
199
226
|
violations,
|
|
227
|
+
nameViolations: names.violations,
|
|
228
|
+
staleBaseline: names.stale,
|
|
200
229
|
mode: "enforced"
|
|
201
230
|
};
|
|
202
231
|
}
|
|
203
|
-
|
|
232
|
+
function canonDocsFailure(result) {
|
|
233
|
+
const parts = [];
|
|
234
|
+
if (result.violations.length > 0)
|
|
235
|
+
parts.push(
|
|
236
|
+
`${result.violations.length} raw *.md addition(s) bypass the SSoT \u2014 ${result.violations.map((v) => `${v.file} (kind=${v.kind})`).join(", ")}`
|
|
237
|
+
);
|
|
238
|
+
if (result.nameViolations.length > 0)
|
|
239
|
+
parts.push(
|
|
240
|
+
`${result.nameViolations.length} doc name(s) break the naming rule (lowercase kebab-case; no task id, session id or date; links and dates go in doc metadata) \u2014 ${result.nameViolations.map((v) => `${v.file} (${v.reasons.join(", ")}; rename to ${v.suggestion}.md)`).join(", ")}`
|
|
241
|
+
);
|
|
242
|
+
if (result.staleBaseline.length > 0)
|
|
243
|
+
parts.push(
|
|
244
|
+
`${result.staleBaseline.length} entry(ies) in scripts/.docs-name-baseline.json are renamed or gone; remove them \u2014 ${result.staleBaseline.join(", ")}`
|
|
245
|
+
);
|
|
246
|
+
const firstName = result.nameViolations[0];
|
|
247
|
+
const fix = result.violations[0] !== void 0 ? `Route through SSoT instead: ${result.violations[0].fix}` : firstName !== void 0 ? `git mv ${firstName.file} ${firstName.file.replace(/[^/]+\.md$/, `${firstName.suggestion}.md`)}` : "Delete the stale entries from scripts/.docs-name-baseline.json";
|
|
248
|
+
return { message: `Docs canon violation: ${parts.join("; ")}`, fix };
|
|
249
|
+
}
|
|
204
250
|
export {
|
|
205
251
|
CanonDocsDiffError,
|
|
252
|
+
canonDocsFailure,
|
|
206
253
|
loadCanonRegistry,
|
|
207
254
|
runCanonDocsCheck
|
|
208
255
|
};
|
|
209
|
-
//# sourceMappingURL=
|
|
256
|
+
//# sourceMappingURL=canon-docs-ZXWC4AFI.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-47JYZAMS.js";
|
|
23
23
|
import {
|
|
24
24
|
dispatchFromCli
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-K6I66OSL.js";
|
|
26
26
|
import "./chunk-6N6WGLXE.js";
|
|
27
27
|
import "./chunk-4VASFLUW.js";
|
|
28
28
|
import {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-ESI6Q4OS.js";
|
|
36
36
|
import "./chunk-6JSJNYH2.js";
|
|
37
37
|
import "./chunk-D7BAQNV2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
39
39
|
|
|
40
40
|
// packages/cleo/src/cli/commands/check.ts
|
|
41
41
|
import { formatPrGateSummary, runPrGate } from "@cleocode/core/check/pr-gate";
|
|
@@ -921,4 +921,4 @@ var checkCommand = defineCommand({
|
|
|
921
921
|
export {
|
|
922
922
|
checkCommand
|
|
923
923
|
};
|
|
924
|
-
//# sourceMappingURL=check-
|
|
924
|
+
//# sourceMappingURL=check-3KDTDUNQ.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
lazyOperation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V3ZUZYBZ.js";
|
|
19
19
|
import {
|
|
20
20
|
defineTypedHandler,
|
|
21
21
|
lafsError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-XD25OCUE.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/dispatch/domains/check.ts
|
|
31
|
-
import { resolveWorktreeRouting } from "@cleocode/core/core-paths";
|
|
31
|
+
import { resolveInvokingCheckout, resolveWorktreeRouting } from "@cleocode/core/core-paths";
|
|
32
32
|
import { getLogger } from "@cleocode/core/logger";
|
|
33
33
|
import { getProjectRoot } from "@cleocode/core/project-scope";
|
|
34
34
|
import {
|
|
@@ -158,7 +158,7 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
output: async (params) => {
|
|
161
|
-
const projectRoot =
|
|
161
|
+
const projectRoot = resolveInvokingCheckout();
|
|
162
162
|
if (!params.filePath) {
|
|
163
163
|
return lafsError("E_INVALID_INPUT", "filePath is required", "output");
|
|
164
164
|
}
|
|
@@ -192,7 +192,7 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
test: async (params) => {
|
|
195
|
-
const projectRoot =
|
|
195
|
+
const projectRoot = resolveInvokingCheckout();
|
|
196
196
|
if (params?.format === "coverage") {
|
|
197
197
|
try {
|
|
198
198
|
const result = checkTestCoverage(projectRoot, {});
|
|
@@ -531,14 +531,14 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
531
531
|
}
|
|
532
532
|
},
|
|
533
533
|
canon: async (_params) => {
|
|
534
|
-
const projectRoot =
|
|
534
|
+
const projectRoot = resolveInvokingCheckout();
|
|
535
535
|
const { runCanonCheck } = await import("./canon-NPF5RODM.js");
|
|
536
536
|
const result = runCanonCheck({ projectRoot });
|
|
537
537
|
return lafsSuccess(result, "canon");
|
|
538
538
|
},
|
|
539
539
|
"canon.docs": async (params) => {
|
|
540
|
-
const projectRoot =
|
|
541
|
-
const { runCanonDocsCheck } = await import("./canon-docs-
|
|
540
|
+
const projectRoot = resolveInvokingCheckout();
|
|
541
|
+
const { runCanonDocsCheck } = await import("./canon-docs-ZXWC4AFI.js");
|
|
542
542
|
try {
|
|
543
543
|
const result = runCanonDocsCheck({
|
|
544
544
|
projectRoot,
|
|
@@ -546,15 +546,11 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
546
546
|
...params.candidateFiles !== void 0 ? { candidateFiles: params.candidateFiles } : {}
|
|
547
547
|
});
|
|
548
548
|
if (!result.passed) {
|
|
549
|
-
const
|
|
550
|
-
const
|
|
551
|
-
return lafsError(
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
"canon.docs",
|
|
555
|
-
`Route through SSoT instead: ${firstFix}`,
|
|
556
|
-
{ result }
|
|
557
|
-
);
|
|
549
|
+
const { canonDocsFailure } = await import("./canon-docs-ZXWC4AFI.js");
|
|
550
|
+
const failure = canonDocsFailure(result);
|
|
551
|
+
return lafsError("E_CANON_VIOLATION", failure.message, "canon.docs", failure.fix, {
|
|
552
|
+
result
|
|
553
|
+
});
|
|
558
554
|
}
|
|
559
555
|
return lafsSuccess(result, "canon.docs");
|
|
560
556
|
} catch (err) {
|
|
@@ -598,7 +594,7 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
598
594
|
}
|
|
599
595
|
},
|
|
600
596
|
"test.run": async (params) => {
|
|
601
|
-
const projectRoot =
|
|
597
|
+
const projectRoot = resolveInvokingCheckout();
|
|
602
598
|
try {
|
|
603
599
|
const result = checkTestRun(projectRoot, params);
|
|
604
600
|
return lafsSuccess(result, "test.run");
|
|
@@ -607,7 +603,7 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
607
603
|
}
|
|
608
604
|
},
|
|
609
605
|
"test.coverage": async (params) => {
|
|
610
|
-
const projectRoot =
|
|
606
|
+
const projectRoot = resolveInvokingCheckout();
|
|
611
607
|
try {
|
|
612
608
|
const result = checkTestCoverage(projectRoot, params ?? {});
|
|
613
609
|
return lafsSuccess(result, "test.coverage");
|
|
@@ -757,4 +753,4 @@ var CheckHandler = class {
|
|
|
757
753
|
export {
|
|
758
754
|
CheckHandler
|
|
759
755
|
};
|
|
760
|
-
//# sourceMappingURL=check-
|
|
756
|
+
//# sourceMappingURL=check-4XUOQNLG.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
dispatchRaw,
|
|
21
21
|
handleRawError,
|
|
22
22
|
maybeEmitDescribe
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-K6I66OSL.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-IVN46UST.js";
|
|
@@ -157,4 +157,4 @@ export {
|
|
|
157
157
|
completeDispatchParams,
|
|
158
158
|
completeCommand
|
|
159
159
|
};
|
|
160
|
-
//# sourceMappingURL=chunk-
|
|
160
|
+
//# sourceMappingURL=chunk-2AT5ALNQ.js.map
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-tool-locks.ts
|
|
24
24
|
import {
|
|
25
25
|
admissionCapacityBytes,
|
|
26
|
+
entryCharge,
|
|
26
27
|
entryVerdict,
|
|
27
28
|
readForeignEntries,
|
|
28
29
|
readLedger,
|
|
@@ -81,6 +82,8 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
81
82
|
command: e.command,
|
|
82
83
|
cwd: e.cwd,
|
|
83
84
|
footprintBytes: e.footprintBytes,
|
|
85
|
+
// T14116: the charge it holds now, its plan and its measured peak.
|
|
86
|
+
...entryCharge(e),
|
|
84
87
|
// T13367: why the run is charged that much (its real scope).
|
|
85
88
|
footprintReason: e.footprintReason ?? null,
|
|
86
89
|
// T13132: what the run covers (`full` = a whole-suite run) and its task.
|
|
@@ -98,7 +101,8 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
98
101
|
run: ((r) => r === void 0 ? null : {
|
|
99
102
|
sessionId: r.sessionId,
|
|
100
103
|
childPid: r.childPid,
|
|
101
|
-
chargedBytes: e.
|
|
104
|
+
chargedBytes: entryCharge(e).chargedBytes,
|
|
105
|
+
plannedBytes: e.footprintBytes,
|
|
102
106
|
measuredRssBytes: r.measuredRssBytes ?? null,
|
|
103
107
|
cpuMs: r.cpuMs ?? null,
|
|
104
108
|
elapsedMs: now - r.startedAtMs,
|
|
@@ -116,7 +120,7 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
116
120
|
capacityBytes: admissionCapacityBytes(),
|
|
117
121
|
// T13572: the share pressure leaves and the light/heavy budgets it sets.
|
|
118
122
|
budget: readLedgerBudget(),
|
|
119
|
-
usedBytes: held.reduce((n, e) => n + e.
|
|
123
|
+
usedBytes: held.reduce((n, e) => n + e.chargedBytes, 0),
|
|
120
124
|
entries,
|
|
121
125
|
heldCount: held.length,
|
|
122
126
|
waitingCount: entries.length - held.length,
|
|
@@ -139,4 +143,4 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
139
143
|
export {
|
|
140
144
|
doctorToolLocksCommand
|
|
141
145
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-5AL6B3J2.js.map
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
22
|
} from "./chunk-ESI6Q4OS.js";
|
|
23
|
-
import "./chunk-6JSJNYH2.js";
|
|
24
23
|
|
|
25
24
|
// packages/cleo/src/cli/lib/owner-override-cap.ts
|
|
26
25
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -83,8 +82,10 @@ async function runOwnerOverrideCapSet(rawValue) {
|
|
|
83
82
|
{ command: "config-set", operation: "config.set" }
|
|
84
83
|
);
|
|
85
84
|
}
|
|
85
|
+
|
|
86
86
|
export {
|
|
87
|
+
ownerCaller,
|
|
87
88
|
runOwnerEnroll,
|
|
88
89
|
runOwnerOverrideCapSet
|
|
89
90
|
};
|
|
90
|
-
//# sourceMappingURL=
|
|
91
|
+
//# sourceMappingURL=chunk-6C5X2J6S.js.map
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-D7BAQNV2.js";
|
|
41
41
|
import {
|
|
42
42
|
createLazyDomainHandlers
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-V3ZUZYBZ.js";
|
|
44
44
|
|
|
45
45
|
// packages/cleo/src/dispatch/adapters/cli.ts
|
|
46
46
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
@@ -2511,4 +2511,4 @@ export {
|
|
|
2511
2511
|
handleRawError,
|
|
2512
2512
|
dispatchRaw
|
|
2513
2513
|
};
|
|
2514
|
-
//# sourceMappingURL=chunk-
|
|
2514
|
+
//# sourceMappingURL=chunk-K6I66OSL.js.map
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
defineCommand
|
|
18
|
+
} from "./chunk-IVN46UST.js";
|
|
19
|
+
import {
|
|
20
|
+
cliError,
|
|
21
|
+
cliOutput
|
|
22
|
+
} from "./chunk-ESI6Q4OS.js";
|
|
23
|
+
|
|
24
|
+
// packages/cleo/src/cli/commands/doctor-type-matrix.ts
|
|
25
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
26
|
+
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
27
|
+
import { getProjectRoot } from "@cleocode/core/paths.js";
|
|
28
|
+
var doctorTypeMatrixCommand = defineCommand({
|
|
29
|
+
meta: {
|
|
30
|
+
name: "type-matrix",
|
|
31
|
+
description: "Repair parent/child pairs that break the type matrix (dry run; --apply, --rollback <receipt>)"
|
|
32
|
+
},
|
|
33
|
+
args: {
|
|
34
|
+
apply: {
|
|
35
|
+
type: "boolean",
|
|
36
|
+
description: "Apply the proposals and the --resolutions operations in one transaction."
|
|
37
|
+
},
|
|
38
|
+
resolutions: {
|
|
39
|
+
type: "string",
|
|
40
|
+
description: 'JSON file of operations for ambiguous pairs: [{"kind":"retype","taskId":"T1","to":"epic"}, {"kind":"reparent","taskId":"T2","toParentId":"T3"}].'
|
|
41
|
+
},
|
|
42
|
+
rollback: {
|
|
43
|
+
type: "string",
|
|
44
|
+
description: "Receipt id of an applied repair to undo."
|
|
45
|
+
},
|
|
46
|
+
json: { type: "boolean", description: "Output as JSON" },
|
|
47
|
+
human: { type: "boolean", description: "Force human-readable output" },
|
|
48
|
+
quiet: { type: "boolean", description: "Suppress non-essential output" }
|
|
49
|
+
},
|
|
50
|
+
async run({ args }) {
|
|
51
|
+
const root = getProjectRoot();
|
|
52
|
+
const repair = await import("@cleocode/core/doctor/type-matrix-repair.js");
|
|
53
|
+
if (typeof args.rollback === "string" && args.rollback !== "") {
|
|
54
|
+
const result = await repair.rollbackTypeMatrixRepair(root, args.rollback);
|
|
55
|
+
cliOutput(result, { command: "doctor", operation: "doctor.type-matrix.rollback" });
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let resolutions = [];
|
|
59
|
+
if (typeof args.resolutions === "string" && args.resolutions !== "") {
|
|
60
|
+
if (!existsSync(args.resolutions)) {
|
|
61
|
+
cliError(`--resolutions ${args.resolutions}: no such file`, ExitCode.VALIDATION_ERROR, {
|
|
62
|
+
name: "E_VALIDATION"
|
|
63
|
+
});
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const parsed = repair.parseTypeMatrixResolutions(readFileSync(args.resolutions, "utf-8"));
|
|
67
|
+
if (!parsed.ok) {
|
|
68
|
+
cliError(`--resolutions ${args.resolutions}: ${parsed.reason}`, ExitCode.VALIDATION_ERROR, {
|
|
69
|
+
name: "E_VALIDATION"
|
|
70
|
+
});
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
resolutions = parsed.operations;
|
|
74
|
+
}
|
|
75
|
+
const report = args.apply === true ? await repair.applyTypeMatrixRepair(root, resolutions) : await repair.planTypeMatrixRepair(root, resolutions);
|
|
76
|
+
cliOutput(report, {
|
|
77
|
+
command: "doctor",
|
|
78
|
+
operation: args.apply === true ? "doctor.type-matrix.apply" : "doctor.type-matrix.plan"
|
|
79
|
+
});
|
|
80
|
+
if (report.unresolved.length > 0 && (process.exitCode === void 0 || process.exitCode === 0)) {
|
|
81
|
+
process.exitCode = 1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
doctorTypeMatrixCommand
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=chunk-RYGY5LG4.js.map
|
|
@@ -17,27 +17,27 @@
|
|
|
17
17
|
// packages/cleo/src/dispatch/domains/lazy.ts
|
|
18
18
|
import { OPERATIONS } from "@cleocode/contracts/dispatch/operations-registry.js";
|
|
19
19
|
var DOMAIN_LOADERS = [
|
|
20
|
-
["tasks", async () => new (await import("./tasks-
|
|
21
|
-
["session", async () => new (await import("./session-
|
|
20
|
+
["tasks", async () => new (await import("./tasks-S4UR3OMN.js")).TasksHandler()],
|
|
21
|
+
["session", async () => new (await import("./session-XGFWBFKH.js")).SessionHandler()],
|
|
22
22
|
["attention", async () => new (await import("./attention-BVRGUJJQ.js")).AttentionHandler()],
|
|
23
|
-
["memory", async () => new (await import("./memory-
|
|
23
|
+
["memory", async () => new (await import("./memory-Z47B7XNL.js")).MemoryHandler()],
|
|
24
24
|
["intelligence", async () => new (await import("./intelligence-SEARRRBF.js")).IntelligenceHandler()],
|
|
25
|
-
["check", async () => new (await import("./check-
|
|
26
|
-
["pipeline", async () => new (await import("./pipeline-
|
|
27
|
-
["orchestrate", async () => new (await import("./orchestrate-
|
|
25
|
+
["check", async () => new (await import("./check-4XUOQNLG.js")).CheckHandler()],
|
|
26
|
+
["pipeline", async () => new (await import("./pipeline-KQGUL5BQ.js")).PipelineHandler()],
|
|
27
|
+
["orchestrate", async () => new (await import("./orchestrate-HSYARDD4.js")).OrchestrateHandler()],
|
|
28
28
|
["tools", async () => new (await import("./tools-UM3OZKEH.js")).ToolsHandler()],
|
|
29
|
-
["admin", async () => new (await import("./admin-
|
|
30
|
-
["nexus", async () => new (await import("./nexus-
|
|
29
|
+
["admin", async () => new (await import("./admin-AA4M7JBW.js")).AdminHandler()],
|
|
30
|
+
["nexus", async () => new (await import("./nexus-X6YLFJLZ.js")).NexusHandler()],
|
|
31
31
|
["sticky", async () => new (await import("./sticky-EKL5FD2D.js")).StickyHandler()],
|
|
32
32
|
["diagnostics", async () => new (await import("./diagnostics-BT3HGJPT.js")).DiagnosticsHandler()],
|
|
33
|
-
["docs", async () => new (await import("./docs-
|
|
33
|
+
["docs", async () => new (await import("./docs-MNOBMDNV.js")).DocsHandler()],
|
|
34
34
|
["focus", async () => new (await import("./focus-H5CBCFFV.js")).FocusHandler()],
|
|
35
35
|
["playbook", async () => new (await import("./playbook-YPGSNILZ.js")).PlaybookHandler()],
|
|
36
36
|
["conduit", async () => new (await import("./conduit-STEBYJTU.js")).ConduitHandler()],
|
|
37
37
|
["sentient", async () => new (await import("./sentient-Z7W7WO74.js")).SentientHandler()],
|
|
38
|
-
["release", async () => new (await import("./release-
|
|
38
|
+
["release", async () => new (await import("./release-XT2L6BZ6.js")).ReleaseHandler()],
|
|
39
39
|
["provenance", async () => new (await import("./provenance-3YCF7G7L.js")).ProvenanceHandler()],
|
|
40
|
-
["selfimprove", async () => new (await import("./selfimprove-
|
|
40
|
+
["selfimprove", async () => new (await import("./selfimprove-UI4KV3LE.js")).SelfimproveHandler()],
|
|
41
41
|
["service", async () => new (await import("./service-5SQKAABN.js")).ServiceHandler()],
|
|
42
42
|
["llm", async () => new (await import("./llm-YVC5HL7D.js")).LlmHandler()],
|
|
43
43
|
["account", async () => new (await import("./entities-JYA4L2OV.js")).AccountHandler()],
|
|
@@ -97,4 +97,4 @@ export {
|
|
|
97
97
|
createLazyDomainHandlers,
|
|
98
98
|
lazyOperation
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=chunk-
|
|
100
|
+
//# sourceMappingURL=chunk-V3ZUZYBZ.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K6I66OSL.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.js";
|
|
21
21
|
import {
|
|
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
25
25
|
import "./chunk-ESI6Q4OS.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/claim.ts
|
|
31
31
|
var claimCommand = defineCommand({
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
claimCommand,
|
|
95
95
|
unclaimCommand
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=claim-
|
|
97
|
+
//# sourceMappingURL=claim-XGA4LKYO.js.map
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
reportRawError,
|
|
28
28
|
resetCliDispatcher,
|
|
29
29
|
warnUnboundMutation
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K6I66OSL.js";
|
|
31
31
|
import "./chunk-6N6WGLXE.js";
|
|
32
32
|
import "./chunk-4VASFLUW.js";
|
|
33
33
|
import "./chunk-QKMBWYAS.js";
|
|
34
34
|
import "./chunk-ESI6Q4OS.js";
|
|
35
35
|
import "./chunk-6JSJNYH2.js";
|
|
36
36
|
import "./chunk-D7BAQNV2.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
38
38
|
export {
|
|
39
39
|
createCliDispatcher,
|
|
40
40
|
createCliGatewayHandler,
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
resetCliDispatcher,
|
|
51
51
|
warnUnboundMutation
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=cli-
|
|
53
|
+
//# sourceMappingURL=cli-2U6BPCPH.js.map
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
completeCommand,
|
|
18
18
|
completeCommandArgs,
|
|
19
19
|
completeDispatchParams
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2AT5ALNQ.js";
|
|
21
21
|
import "./chunk-47JYZAMS.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-K6I66OSL.js";
|
|
23
23
|
import "./chunk-6N6WGLXE.js";
|
|
24
24
|
import "./chunk-4VASFLUW.js";
|
|
25
25
|
import "./chunk-IVN46UST.js";
|
|
@@ -27,10 +27,10 @@ import "./chunk-QKMBWYAS.js";
|
|
|
27
27
|
import "./chunk-ESI6Q4OS.js";
|
|
28
28
|
import "./chunk-6JSJNYH2.js";
|
|
29
29
|
import "./chunk-D7BAQNV2.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
31
31
|
export {
|
|
32
32
|
completeCommand,
|
|
33
33
|
completeCommandArgs,
|
|
34
34
|
completeDispatchParams
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=complete-
|
|
36
|
+
//# sourceMappingURL=complete-NCS2BCZB.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K6I66OSL.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.js";
|
|
21
21
|
import {
|
|
@@ -26,7 +26,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
26
26
|
import "./chunk-ESI6Q4OS.js";
|
|
27
27
|
import "./chunk-6JSJNYH2.js";
|
|
28
28
|
import "./chunk-D7BAQNV2.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-V3ZUZYBZ.js";
|
|
30
30
|
|
|
31
31
|
// packages/cleo/src/cli/commands/complexity.ts
|
|
32
32
|
var complexityEstimateCommand = defineCommand({
|
|
@@ -54,4 +54,4 @@ var complexityCommand = defineCommand({
|
|
|
54
54
|
export {
|
|
55
55
|
complexityCommand
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=complexity-
|
|
57
|
+
//# sourceMappingURL=complexity-KJHXAWTC.js.map
|