@cleocode/cleo 2026.10.12 → 2026.10.13-rc.ci.682
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/cli/{adapter-OAURWJES.js → adapter-MP36LCQX.js} +3 -3
- package/dist/cli/{add-WBM5XNM4.js → add-2BOTGOXC.js} +3 -3
- package/dist/cli/{add-batch-QH2QNBCJ.js → add-batch-YXTZWCBE.js} +3 -3
- package/dist/cli/{admin-WY4RPYYR.js → admin-2ETY4RFV.js} +3 -3
- package/dist/cli/{admin-SJA3HLSZ.js → admin-4ITN6N52.js} +3 -3
- package/dist/cli/{adr-HLXO7OSE.js → adr-VAILHQE3.js} +3 -3
- package/dist/cli/{analyze-ZO2LR3FL.js → analyze-PGI2UHWX.js} +3 -3
- package/dist/cli/{archive-Z5NHBEYA.js → archive-EBLFW76H.js} +3 -3
- package/dist/cli/{archive-stats-O2BMUVN2.js → archive-stats-L7QCDJ2S.js} +3 -3
- package/dist/cli/{attention-UK5MZPLU.js → attention-37XTHU7H.js} +3 -3
- package/dist/cli/{backup-X7ZOPCVN.js → backup-S33RY53H.js} +3 -3
- package/dist/cli/{blockers-3K6H4CG2.js → blockers-TXYCDZVE.js} +3 -3
- package/dist/cli/{briefing-DBVLJJMH.js → briefing-6O6F2FQ4.js} +3 -3
- package/dist/cli/{cancel-FV3Q43T2.js → cancel-FAZA5RRF.js} +3 -3
- package/dist/cli/{check-5JSXE4N6.js → check-HYID35FV.js} +2 -2
- package/dist/cli/{check-QY7LWTKD.js → check-OAT7EX7K.js} +3 -3
- package/dist/cli/{chunk-RIJNJKQJ.js → chunk-J3NQONHJ.js} +2 -2
- package/dist/cli/{chunk-YAKWUB4J.js → chunk-RCZVA6E6.js} +2 -2
- package/dist/cli/{chunk-J76TS67V.js → chunk-WTP5FO4A.js} +11 -11
- package/dist/cli/{claim-NJP4WOMM.js → claim-YRCEMPHL.js} +3 -3
- package/dist/cli/{cli-4TJKRNY3.js → cli-2F7MUW3G.js} +3 -3
- package/dist/cli/{complete-4BFT4JNQ.js → complete-6IR4G7Y4.js} +4 -4
- package/dist/cli/{complexity-IR7JWGOL.js → complexity-2X74RJ26.js} +3 -3
- package/dist/cli/{compliance-SGPZVQT7.js → compliance-5C47AB7C.js} +3 -3
- package/dist/cli/{conduit-VF2ON6CL.js → conduit-CT64YUC6.js} +3 -3
- package/dist/cli/{config-DH6SYZ5Y.js → config-OPIBLE34.js} +3 -3
- package/dist/cli/{consensus-PMDGU63B.js → consensus-ZYT7Y3NU.js} +3 -3
- package/dist/cli/{context-NPOCCDYU.js → context-ULY3365D.js} +3 -3
- package/dist/cli/{contribution-OFEBQYQS.js → contribution-G4WD5HD7.js} +3 -3
- package/dist/cli/{current-NL7OMKXP.js → current-64QYQURQ.js} +3 -3
- package/dist/cli/{daemon-ZZTC475S.js → daemon-L4M6DMXL.js} +3 -3
- package/dist/cli/{dash-RTFOE2GL.js → dash-SAPS4TMX.js} +3 -3
- package/dist/cli/{decompose-CHNHPEVP.js → decompose-QOB4WQEM.js} +3 -3
- package/dist/cli/{decomposition-ZR2PXXZF.js → decomposition-2F4E7PWO.js} +3 -3
- package/dist/cli/{delete-ZPWWK3BT.js → delete-DBB3YVOZ.js} +3 -3
- package/dist/cli/{deps-2AC2UHTE.js → deps-ZVGLNONP.js} +3 -3
- package/dist/cli/{detect-JAYIERC6.js → detect-VCH63Q3U.js} +3 -3
- package/dist/cli/{diagnostics-4L76U6UG.js → diagnostics-HIHXEUWC.js} +3 -3
- package/dist/cli/{docs-QLDL3V32.js → docs-IVQAL6ZI.js} +45 -8
- package/dist/cli/{docs-W6SF4HRS.js → docs-RD5GJP3U.js} +81 -10
- package/dist/cli/{doctor-IR52QRCO.js → doctor-WCPTKJ4M.js} +3 -3
- package/dist/cli/{done-CP2IO47C.js → done-NUIGWK6L.js} +6 -5
- package/dist/cli/{export-MO7GIYDH.js → export-GYR7Y6NH.js} +3 -3
- package/dist/cli/{export-tasks-ZGWCGO4P.js → export-tasks-E7M43U3W.js} +3 -3
- package/dist/cli/{find-R57LAH5Y.js → find-NIYBK3B2.js} +3 -3
- package/dist/cli/{focus-Z7PX5WJO.js → focus-2WNHSPCQ.js} +3 -3
- package/dist/cli/{gc-CTOQLUSA.js → gc-NHY47U7I.js} +2 -2
- package/dist/cli/{grade-UEUVTLH3.js → grade-ZJZDE3WQ.js} +3 -3
- package/dist/cli/{graph-PG6BSRTH.js → graph-5TC2SZ6H.js} +3 -3
- package/dist/cli/{history-AE2KYFZH.js → history-UQJK65DL.js} +3 -3
- package/dist/cli/{import-3MDKS2XQ.js → import-FIHZCIB5.js} +3 -3
- package/dist/cli/{import-tasks-RD3VR2DZ.js → import-tasks-X7EXARLN.js} +3 -3
- package/dist/cli/index.js +108 -102
- package/dist/cli/{inject-SZYY6NXV.js → inject-HAOZJRXW.js} +3 -3
- package/dist/cli/{intelligence-454FFO2S.js → intelligence-OUVK4YKK.js} +3 -3
- package/dist/cli/{issue-LWCKVRO5.js → issue-OOPX4U7R.js} +3 -3
- package/dist/cli/{labels-GLBIHTDN.js → labels-ZKTM3W5G.js} +3 -3
- package/dist/cli/lean-M45QLCSD.js +94 -0
- package/dist/cli/{lifecycle-THJXC277.js → lifecycle-ABVQ6ZEX.js} +3 -3
- package/dist/cli/{list-QVPQISCO.js → list-TIAVHDZF.js} +3 -3
- package/dist/cli/{llm-BIGVM7RM.js → llm-SH567EA6.js} +3 -3
- package/dist/cli/{log-BFKPYDIJ.js → log-Q3OFBT2L.js} +3 -3
- package/dist/cli/{manifest-JO3HLMAL.js → manifest-M2SVURFJ.js} +3 -3
- package/dist/cli/{map-JRMZKIQT.js → map-DZUZG6BB.js} +3 -3
- package/dist/cli/{memory-S7JZ4BJX.js → memory-DUJ67BA2.js} +3 -3
- package/dist/cli/{memory-ULWLCEZB.js → memory-YYR3FDVW.js} +2 -2
- package/dist/cli/{migrate-claude-mem-ENUEKSO6.js → migrate-claude-mem-KFSLWV3N.js} +3 -3
- package/dist/cli/{next-XE5QMMBK.js → next-ARB6C7GK.js} +3 -3
- package/dist/cli/{nexus-43UP55M7.js → nexus-KHPNJKLR.js} +2 -2
- package/dist/cli/{nexus-JTYXIVNY.js → nexus-WMPKMMR4.js} +3 -3
- package/dist/cli/{ops-TEAFCRNN.js → ops-JNTTNQNN.js} +3 -3
- package/dist/cli/{orchestrate-DXGYINJJ.js → orchestrate-I5JPWEWC.js} +2 -2
- package/dist/cli/{orchestrate-VSUDW3EQ.js → orchestrate-JZ6FWFHH.js} +3 -3
- package/dist/cli/{phase-V5ZHDE6E.js → phase-UDIOUQME.js} +3 -3
- package/dist/cli/{pipeline-I75JWGNJ.js → pipeline-2SX3373F.js} +16 -2
- package/dist/cli/{pivot-VA6STBMM.js → pivot-562W2WCH.js} +3 -3
- package/dist/cli/{plan-HB4PKGCA.js → plan-IHSFFYTT.js} +3 -3
- package/dist/cli/{playbook-NB4P3J2J.js → playbook-RXOJDB2S.js} +3 -3
- package/dist/cli/{promote-KJSLHXAH.js → promote-EA6CZ2D5.js} +3 -3
- package/dist/cli/{provenance-E6TMVXQL.js → provenance-7ZRUAFQZ.js} +3 -3
- package/dist/cli/{provider-L2KLDPOW.js → provider-366AZCIT.js} +3 -3
- package/dist/cli/{reason-44I62AZG.js → reason-DQIVQSHA.js} +3 -3
- package/dist/cli/{reconcile-M7BNC5T4.js → reconcile-PJRUTWZ7.js} +3 -3
- package/dist/cli/{relates-FRDSEPET.js → relates-QLED53VO.js} +3 -3
- package/dist/cli/{release-VTN4SIHL.js → release-M5QNGYHM.js} +3 -3
- package/dist/cli/{reorder-RSX5SKAQ.js → reorder-BRDFXZ33.js} +3 -3
- package/dist/cli/{reparent-BLM5QDC5.js → reparent-MUJ6U7EB.js} +3 -3
- package/dist/cli/{req-B7XCMZLD.js → req-MSYMQ4LW.js} +3 -3
- package/dist/cli/{research-GW6GGVCJ.js → research-ZJI2DZZB.js} +12 -39
- package/dist/cli/{restore-7KBIJ3ZD.js → restore-UOE77J7A.js} +3 -3
- package/dist/cli/{roadmap-2SPZKEJ5.js → roadmap-GDOEU27E.js} +3 -3
- package/dist/cli/{run-SMAKJ7Y7.js → run-N2URAGAR.js} +18 -3
- package/dist/cli/{safestop-QCSSC4IM.js → safestop-XLOUDW4V.js} +3 -3
- package/dist/cli/{saga-LNWMWHUF.js → saga-RSY37SLM.js} +3 -3
- package/dist/cli/{selfimprove-BHZXNSMK.js → selfimprove-3XI46MTG.js} +2 -2
- package/dist/cli/{selfimprove-XB3S5TOJ.js → selfimprove-5PYLCCJ7.js} +3 -3
- package/dist/cli/{sequence-OVIAHOW3.js → sequence-WXLKPINO.js} +3 -3
- package/dist/cli/{service-K44YBPT2.js → service-ANXN4K3D.js} +3 -3
- package/dist/cli/{session-ER4DJTOE.js → session-G7742MPV.js} +3 -3
- package/dist/cli/{session-X7DOOMHU.js → session-QZF5XGKL.js} +2 -2
- package/dist/cli/{show-WH4JZZAL.js → show-CMFXYUHR.js} +3 -3
- package/dist/cli/{skills-GOYO3YUP.js → skills-MMEIDA76.js} +3 -3
- package/dist/cli/{snapshot-N2KRX5T2.js → snapshot-WMSYNZWR.js} +3 -3
- package/dist/cli/{start-ZG5OQNCC.js → start-V6WZFMOB.js} +3 -3
- package/dist/cli/{stats-YRJXD3QW.js → stats-H5BAVCEE.js} +3 -3
- package/dist/cli/{sticky-7QRW5CKS.js → sticky-4XPIJNHC.js} +3 -3
- package/dist/cli/{stop-QBG4GNXI.js → stop-YCSMIIAN.js} +3 -3
- package/dist/cli/{sync-K6567PGU.js → sync-FIPOENTI.js} +3 -3
- package/dist/cli/{tasks-2H4JICEK.js → tasks-NVA3FWLC.js} +3 -3
- package/dist/cli/{tasks-YU6D3D6P.js → tasks-XIMINJFH.js} +2 -2
- package/dist/cli/{testing-36NA6TN5.js → testing-AWXMTRJS.js} +3 -3
- package/dist/cli/{token-3YZQBZQO.js → token-COQKYKDM.js} +3 -3
- package/dist/cli/{update-NHWWGFZG.js → update-AYOSFI2L.js} +3 -3
- package/dist/cli/{verify-7RNN5FJB.js → verify-AXERXCVB.js} +3 -3
- package/dist/cli/{worktree-WEF6KGP7.js → worktree-DKAX4PCY.js} +3 -3
- package/package.json +14 -14
- package/studio-dist/client/_app/immutable/chunks/{DHXYKXFh.js → Bgxia-_M.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/D8PQete1.js +3 -0
- package/studio-dist/client/_app/immutable/chunks/{R-EI-DAy.js → Df1HYrkf.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/no0gTfqj.js +1 -0
- package/studio-dist/client/_app/immutable/entry/{app.9VhzDfQN.js → app.Bkj0liwv.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.BikKOyNz.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DoYZlfU1.js → 0.CAmBXqaa.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.DImG27yu.js → 1.BWG-RP-s.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.Cr0Q3SgA.js → 15.BvWYrHE0.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.WPBbEkI_.js → 16.DGdJIvrw.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.CTbdVj-4.js → 17.Q9Qmxp8P.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.DTOFo_z5.js → 18.C0JK7LLB.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.yrJ_l2zV.js → 20.D-w5RTM3.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.C7YvHZhj.js → 24.DrK6wVCx.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.BaC9JRZz.js → 25.c-P2vmIV.js} +2 -2
- package/studio-dist/client/_app/immutable/nodes/{26.ClMZ6Im1.js → 26.3KR_y08s.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.CuwoaMpR.js → 3.DCccWLXP.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-b1QZFDxR.js → 0-fC_9Wdo0.js} +3 -3
- package/studio-dist/server/chunks/1-Do3cx5qF.js +9 -0
- package/studio-dist/server/chunks/{15-foGA1b6a.js → 15-CMJ-b3Hn.js} +3 -3
- package/studio-dist/server/chunks/{16-e5ZntBPl.js → 16-7bwhJPsi.js} +3 -3
- package/studio-dist/server/chunks/{17-hOJL5--4.js → 17-BZHjFzQr.js} +3 -3
- package/studio-dist/server/chunks/{18-CXzKNKJ7.js → 18-DrLOTPRZ.js} +3 -3
- package/studio-dist/server/chunks/{20-BF63QFsC.js → 20-BrY__C2L.js} +3 -3
- package/studio-dist/server/chunks/{24-nOkviSb3.js → 24-BYG2QLia.js} +3 -3
- package/studio-dist/server/chunks/{25-Ji_r6hgm.js → 25-6JV76-v_.js} +33 -11
- package/studio-dist/server/chunks/{26-BjUvpUM-.js → 26-DoGkhjca.js} +3 -3
- package/studio-dist/server/chunks/{3-Wh-qsK3H.js → 3-IxAA-kIi.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-C9ZDt0fW.js → _layout.svelte-BN8xnDns.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-B54ZHWrq.js → _page.svelte-B6rGvD-f.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-Oyyu1__c.js → _page.svelte-BPnzZheC.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-B7mgSUAf.js → _page.svelte-Bx5_XvsA.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CT_nF_Cb.js → _page.svelte-CAGhMxZ0.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-hiaRKZXb.js → _page.svelte-Ckzt3Wu_.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-C5chiwIp.js → _page.svelte-DDYKsSFo.js} +6 -6
- package/studio-dist/server/chunks/{_page.svelte-BIASUDvn.js → _page.svelte-DFfT1eLt.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Buf_FVdw.js → _page.svelte-DVlbVW1R.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BIzaYVHu.js → _page.svelte-SIl5aGBs.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-pwkGkTSP.js → _server.ts-B25oDuXL.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Dkru_RhK.js → _server.ts-CZqZaGpN.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-byVaiLMs.js → _server.ts-VIQWsSwW.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-DWlmf3gd.js → _server.ts-YavRX_Bd.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-BhYVlzle.js → _server.ts-hjyT8UsI.js} +3 -3
- package/studio-dist/server/chunks/{client-YjJjGUe-.js → client-Do9Dzjvl.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-tDgdRgSC.js → error.svelte-CYwS_Wkv.js} +3 -3
- package/studio-dist/server/chunks/{http-yzrjnZCB.js → http-B5CuKZQq.js} +2 -2
- package/studio-dist/server/chunks/{internal-mSdv4BOm.js → internal-2M_0OxzW.js} +2 -2
- package/studio-dist/server/chunks/{operations-registry-DwCZAe5R.js → operations-registry-lxDIKuSk.js} +99 -13
- package/studio-dist/server/chunks/{stores-BCgCTYQ5.js → stores-CjhCUqcL.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/CzuCwBmp.js +0 -3
- package/studio-dist/client/_app/immutable/chunks/DMkLai4c.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.5Jt_HRGm.js +0 -1
- package/studio-dist/server/chunks/1-iZc1GbY0.js +0 -9
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
dispatchFromCli,
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J3NQONHJ.js";
|
|
21
21
|
import "./chunk-6N6WGLXE.js";
|
|
22
22
|
import "./chunk-4VASFLUW.js";
|
|
23
23
|
import {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-4RGSNUUP.js";
|
|
30
30
|
import "./chunk-6JSJNYH2.js";
|
|
31
31
|
import "./chunk-D7BAQNV2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-WTP5FO4A.js";
|
|
33
33
|
|
|
34
34
|
// packages/cleo/src/cli/commands/context.ts
|
|
35
35
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -139,4 +139,4 @@ var contextCommand = defineCommand({
|
|
|
139
139
|
export {
|
|
140
140
|
contextCommand
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=context-
|
|
142
|
+
//# sourceMappingURL=context-ULY3365D.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3NQONHJ.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-4RGSNUUP.js";
|
|
27
27
|
import "./chunk-6JSJNYH2.js";
|
|
28
28
|
import "./chunk-D7BAQNV2.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WTP5FO4A.js";
|
|
30
30
|
|
|
31
31
|
// packages/cleo/src/cli/commands/contribution.ts
|
|
32
32
|
var validateCommand = defineCommand({
|
|
@@ -109,4 +109,4 @@ var contributionCommand = defineCommand({
|
|
|
109
109
|
export {
|
|
110
110
|
contributionCommand
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=contribution-
|
|
112
|
+
//# sourceMappingURL=contribution-G4WD5HD7.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3NQONHJ.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-4RGSNUUP.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WTP5FO4A.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/current.ts
|
|
31
31
|
var currentCommand = defineCommand({
|
|
@@ -40,4 +40,4 @@ var currentCommand = defineCommand({
|
|
|
40
40
|
export {
|
|
41
41
|
currentCommand
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=current-
|
|
43
|
+
//# sourceMappingURL=current-64QYQURQ.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-YY66LFZF.js";
|
|
22
22
|
import {
|
|
23
23
|
createCliGatewayHandler
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-J3NQONHJ.js";
|
|
25
25
|
import "./chunk-6N6WGLXE.js";
|
|
26
26
|
import "./chunk-4VASFLUW.js";
|
|
27
27
|
import {
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk-4RGSNUUP.js";
|
|
35
35
|
import "./chunk-6JSJNYH2.js";
|
|
36
36
|
import "./chunk-D7BAQNV2.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-WTP5FO4A.js";
|
|
38
38
|
|
|
39
39
|
// packages/cleo/src/cli/commands/daemon.ts
|
|
40
40
|
import { existsSync } from "node:fs";
|
|
@@ -449,4 +449,4 @@ var daemonCommand = defineCommand({
|
|
|
449
449
|
export {
|
|
450
450
|
daemonCommand
|
|
451
451
|
};
|
|
452
|
-
//# sourceMappingURL=daemon-
|
|
452
|
+
//# sourceMappingURL=daemon-L4M6DMXL.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-47JYZAMS.js";
|
|
19
19
|
import {
|
|
20
20
|
dispatchFromCli
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-J3NQONHJ.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.js";
|
|
24
24
|
import {
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-4RGSNUUP.js";
|
|
31
31
|
import "./chunk-6JSJNYH2.js";
|
|
32
32
|
import "./chunk-D7BAQNV2.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-WTP5FO4A.js";
|
|
34
34
|
|
|
35
35
|
// packages/cleo/src/cli/commands/dash.ts
|
|
36
36
|
var dashCommand = defineCommand({
|
|
@@ -68,4 +68,4 @@ var dashCommand = defineCommand({
|
|
|
68
68
|
export {
|
|
69
69
|
dashCommand
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=dash-
|
|
71
|
+
//# sourceMappingURL=dash-SAPS4TMX.js.map
|
|
@@ -17,7 +17,7 @@ import "./chunk-C3B7C43W.js";
|
|
|
17
17
|
import {
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J3NQONHJ.js";
|
|
21
21
|
import "./chunk-6N6WGLXE.js";
|
|
22
22
|
import "./chunk-4VASFLUW.js";
|
|
23
23
|
import {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-4RGSNUUP.js";
|
|
30
30
|
import "./chunk-6JSJNYH2.js";
|
|
31
31
|
import "./chunk-D7BAQNV2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-WTP5FO4A.js";
|
|
33
33
|
|
|
34
34
|
// packages/cleo/src/cli/commands/decompose.ts
|
|
35
35
|
var decomposeCommand = defineCommand({
|
|
@@ -75,4 +75,4 @@ var decomposeCommand = defineCommand({
|
|
|
75
75
|
export {
|
|
76
76
|
decomposeCommand
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=decompose-
|
|
78
|
+
//# sourceMappingURL=decompose-QOB4WQEM.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3NQONHJ.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-4RGSNUUP.js";
|
|
27
27
|
import "./chunk-6JSJNYH2.js";
|
|
28
28
|
import "./chunk-D7BAQNV2.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WTP5FO4A.js";
|
|
30
30
|
|
|
31
31
|
// packages/cleo/src/cli/commands/decomposition.ts
|
|
32
32
|
var validateCommand = defineCommand({
|
|
@@ -119,4 +119,4 @@ var decompositionCommand = defineCommand({
|
|
|
119
119
|
export {
|
|
120
120
|
decompositionCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=decomposition-
|
|
122
|
+
//# sourceMappingURL=decomposition-2F4E7PWO.js.map
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import {
|
|
17
17
|
dispatchRaw,
|
|
18
18
|
handleRawError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-J3NQONHJ.js";
|
|
20
20
|
import "./chunk-6N6WGLXE.js";
|
|
21
21
|
import "./chunk-4VASFLUW.js";
|
|
22
22
|
import {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-4RGSNUUP.js";
|
|
29
29
|
import "./chunk-6JSJNYH2.js";
|
|
30
30
|
import "./chunk-D7BAQNV2.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-WTP5FO4A.js";
|
|
32
32
|
|
|
33
33
|
// packages/cleo/src/cli/commands/delete.ts
|
|
34
34
|
var deleteCommand = defineCommand({
|
|
@@ -66,4 +66,4 @@ var deleteCommand = defineCommand({
|
|
|
66
66
|
export {
|
|
67
67
|
deleteCommand
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=delete-
|
|
69
|
+
//# sourceMappingURL=delete-DBB3YVOZ.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
renderLegend,
|
|
24
24
|
renderSummary,
|
|
25
25
|
renderTree
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J3NQONHJ.js";
|
|
27
27
|
import "./chunk-6N6WGLXE.js";
|
|
28
28
|
import "./chunk-4VASFLUW.js";
|
|
29
29
|
import {
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
isQuiet
|
|
42
42
|
} from "./chunk-6JSJNYH2.js";
|
|
43
43
|
import "./chunk-D7BAQNV2.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-WTP5FO4A.js";
|
|
45
45
|
|
|
46
46
|
// packages/cleo/src/cli/commands/deps.ts
|
|
47
47
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -459,4 +459,4 @@ export {
|
|
|
459
459
|
depsCommand,
|
|
460
460
|
treeCommand
|
|
461
461
|
};
|
|
462
|
-
//# sourceMappingURL=deps-
|
|
462
|
+
//# sourceMappingURL=deps-ZVGLNONP.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3NQONHJ.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-4RGSNUUP.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WTP5FO4A.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/detect.ts
|
|
31
31
|
var detectCommand = defineCommand({
|
|
@@ -43,4 +43,4 @@ var detectCommand = defineCommand({
|
|
|
43
43
|
export {
|
|
44
44
|
detectCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=detect-
|
|
46
|
+
//# sourceMappingURL=detect-VCH63Q3U.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-47JYZAMS.js";
|
|
19
19
|
import {
|
|
20
20
|
dispatchFromCli
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-J3NQONHJ.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.js";
|
|
24
24
|
import {
|
|
@@ -29,7 +29,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
29
29
|
import "./chunk-4RGSNUUP.js";
|
|
30
30
|
import "./chunk-6JSJNYH2.js";
|
|
31
31
|
import "./chunk-D7BAQNV2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-WTP5FO4A.js";
|
|
33
33
|
|
|
34
34
|
// packages/cleo/src/cli/commands/diagnostics.ts
|
|
35
35
|
var enableCommand = defineCommand({
|
|
@@ -130,4 +130,4 @@ var diagnosticsCommand = defineCommand({
|
|
|
130
130
|
export {
|
|
131
131
|
diagnosticsCommand
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=diagnostics-
|
|
133
|
+
//# sourceMappingURL=diagnostics-HIHXEUWC.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
dispatchFromCli,
|
|
26
26
|
dispatchRaw,
|
|
27
27
|
handleRawError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-J3NQONHJ.js";
|
|
29
29
|
import "./chunk-6N6WGLXE.js";
|
|
30
30
|
import {
|
|
31
31
|
resolve
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-4RGSNUUP.js";
|
|
50
50
|
import "./chunk-6JSJNYH2.js";
|
|
51
51
|
import "./chunk-D7BAQNV2.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-WTP5FO4A.js";
|
|
53
53
|
|
|
54
54
|
// packages/cleo/src/cli/commands/docs.ts
|
|
55
55
|
import { appendFile, mkdir as mkdir3, readdir, readFile as readFile2, writeFile as writeFile2 } from "node:fs/promises";
|
|
@@ -237,6 +237,18 @@ function parseFormat(raw) {
|
|
|
237
237
|
return candidate;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
// packages/cleo/src/cli/commands/docs/migrate.ts
|
|
241
|
+
var migrateCommand = defineCommand({
|
|
242
|
+
meta: {
|
|
243
|
+
name: "migrate",
|
|
244
|
+
description: "Migrate legacy docs + history into the re-keyed store (T13360, spec \xA75): runs inside the migration safety harness (backup \u2192 verify \u2192 commit/rollback), labels imported rows origin:migrated, content-captures or records dangling docs, and is idempotent (re-runs are verified no-ops)."
|
|
245
|
+
},
|
|
246
|
+
args: {},
|
|
247
|
+
async run() {
|
|
248
|
+
await dispatchFromCli("mutate", "docs", "migrate", {}, { command: "docs migrate" });
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
|
|
240
252
|
// packages/cleo/src/cli/commands/docs/set-alias.ts
|
|
241
253
|
import { ExitCode as ExitCode3 } from "@cleocode/contracts/exit-codes.js";
|
|
242
254
|
import { setDisplayAlias } from "@cleocode/core/docs/display-alias";
|
|
@@ -314,6 +326,18 @@ var setAliasCommand = defineCommand({
|
|
|
314
326
|
}
|
|
315
327
|
});
|
|
316
328
|
|
|
329
|
+
// packages/cleo/src/cli/commands/docs/stats.ts
|
|
330
|
+
var statsCommand = defineCommand({
|
|
331
|
+
meta: {
|
|
332
|
+
name: "stats",
|
|
333
|
+
description: "Per-project CleoDocs adoption metrics (read-only, T13363): add:update ratio from the docs audit log, loose-markdown count with scanned/excluded dirs, docs_wikilinks edge count, and live decision_adr_links count. Emitted for the Council pilot baseline comparisons."
|
|
334
|
+
},
|
|
335
|
+
args: {},
|
|
336
|
+
async run() {
|
|
337
|
+
await dispatchFromCli("query", "docs", "stats", {}, { command: "docs stats" });
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
|
|
317
341
|
// packages/cleo/src/cli/commands/docs/triage.ts
|
|
318
342
|
import { ExitCode as ExitCode4 } from "@cleocode/contracts/exit-codes.js";
|
|
319
343
|
function parseLimit(raw) {
|
|
@@ -1579,7 +1603,7 @@ var fetchCommand = defineCommand({
|
|
|
1579
1603
|
} else {
|
|
1580
1604
|
cliError(`Content not retrievable: ${ref}`, ExitCode6.NOT_FOUND, {
|
|
1581
1605
|
name: "E_NOT_FOUND",
|
|
1582
|
-
fix: "The doc metadata exists but its
|
|
1606
|
+
fix: "The doc metadata exists but its bytes are not in the blob store. Try: cleo docs doctor --repair"
|
|
1583
1607
|
});
|
|
1584
1608
|
}
|
|
1585
1609
|
process.exit(ExitCode6.NOT_FOUND);
|
|
@@ -2165,7 +2189,11 @@ var updateCommand = defineCommand({
|
|
|
2165
2189
|
...typeof args.status === "string" ? { status: args.status } : {},
|
|
2166
2190
|
...args["dry-run"] === true ? { dryRun: true } : {},
|
|
2167
2191
|
...args.strict === true ? { strict: true } : {},
|
|
2168
|
-
...typeof args["attached-by"] === "string" ? { attachedBy: args["attached-by"] } : {}
|
|
2192
|
+
...typeof args["attached-by"] === "string" ? { attachedBy: args["attached-by"] } : {},
|
|
2193
|
+
// T13674: the version the edit was authored against (the fetch
|
|
2194
|
+
// envelope's metadata.headVersionUid). A stale base merges or
|
|
2195
|
+
// conflicts instead of silently dropping a concurrent writer's edit.
|
|
2196
|
+
...typeof args["base-version-uid"] === "string" ? { baseVersionUid: args["base-version-uid"] } : {}
|
|
2169
2197
|
},
|
|
2170
2198
|
{ command: "docs update" }
|
|
2171
2199
|
);
|
|
@@ -2497,13 +2525,17 @@ function parseOlderThanDays(raw) {
|
|
|
2497
2525
|
var doctorCommand = defineCommand({
|
|
2498
2526
|
meta: {
|
|
2499
2527
|
name: "doctor",
|
|
2500
|
-
description: "Docs store health diagnostics + safe repairs: dangling local-file pointers, docVersion skew vs the audit log, empty topics/related_tasks provenance, docs_wikilinks drift, legacy store surfaces, stale drafts. Dry-run by default; --apply executes repairs (a fresh backup is created automatically first)."
|
|
2528
|
+
description: "Docs store health diagnostics + safe repairs: dangling local-file pointers, docVersion skew vs the audit log, empty topics/related_tasks provenance, docs_wikilinks drift, legacy store surfaces, blob-store coverage, stale drafts. Dry-run by default; --apply executes repairs (a fresh backup is created automatically first); --repair runs only the hash-verified legacy-bytes \u2192 blob-store backfill (T13653)."
|
|
2501
2529
|
},
|
|
2502
2530
|
args: {
|
|
2503
2531
|
apply: {
|
|
2504
2532
|
type: "boolean",
|
|
2505
2533
|
description: "Execute the repairs (default: dry-run plan only)"
|
|
2506
2534
|
},
|
|
2535
|
+
repair: {
|
|
2536
|
+
type: "boolean",
|
|
2537
|
+
description: "Backfill hash-verified legacy bytes into the blob store so unmigrated docs become readable again (T13653); runs only this repair, with the same backup gate"
|
|
2538
|
+
},
|
|
2507
2539
|
"older-than-days": {
|
|
2508
2540
|
type: "string",
|
|
2509
2541
|
description: "Age threshold in days for the stale-drafts check (default 30)"
|
|
@@ -2512,12 +2544,13 @@ var doctorCommand = defineCommand({
|
|
|
2512
2544
|
},
|
|
2513
2545
|
async run({ args }) {
|
|
2514
2546
|
const apply = args.apply === true;
|
|
2547
|
+
const repair = args.repair === true;
|
|
2515
2548
|
const olderThanDays = parseOlderThanDays(args["older-than-days"]);
|
|
2516
2549
|
await dispatchFromCli(
|
|
2517
|
-
apply ? "mutate" : "query",
|
|
2550
|
+
apply || repair ? "mutate" : "query",
|
|
2518
2551
|
"docs",
|
|
2519
2552
|
"doctor",
|
|
2520
|
-
{ apply, ...olderThanDays !== void 0 ? { olderThanDays } : {} },
|
|
2553
|
+
{ apply, repair, ...olderThanDays !== void 0 ? { olderThanDays } : {} },
|
|
2521
2554
|
{ command: "docs doctor" }
|
|
2522
2555
|
);
|
|
2523
2556
|
}
|
|
@@ -2803,6 +2836,10 @@ var docsCommand = defineCommand({
|
|
|
2803
2836
|
audit: auditCommand,
|
|
2804
2837
|
// T13446 — docs.triage batch triage (proposals only; --record persists D#### verdicts)
|
|
2805
2838
|
triage: triageCommand,
|
|
2839
|
+
// T13363 — docs.stats adoption metrics (read-only)
|
|
2840
|
+
stats: statsCommand,
|
|
2841
|
+
// T13360 — docs.migrate legacy docs import (harness-bracketed, idempotent)
|
|
2842
|
+
migrate: migrateCommand,
|
|
2806
2843
|
// Drift status — agent-facing, kept per cleodocs-rearch-design §6 (T13361 retired gap-check only)
|
|
2807
2844
|
status: statusCommand,
|
|
2808
2845
|
// T9645 reingest — retained: the docs-reingest workflow invokes `docs sync --from/--for/--name`
|
|
@@ -2823,4 +2860,4 @@ export {
|
|
|
2823
2860
|
_llmOutputCommand,
|
|
2824
2861
|
docsCommand
|
|
2825
2862
|
};
|
|
2826
|
-
//# sourceMappingURL=docs-
|
|
2863
|
+
//# sourceMappingURL=docs-IVQAL6ZI.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
lazyOperation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WTP5FO4A.js";
|
|
19
19
|
import {
|
|
20
20
|
defineTypedHandler,
|
|
21
21
|
lafsError,
|
|
@@ -126,6 +126,17 @@ var supersedeDoc = lazyOperation(
|
|
|
126
126
|
var triageDocs = lazyOperation(
|
|
127
127
|
async () => (await import("@cleocode/core/docs/triage")).triageDocs
|
|
128
128
|
);
|
|
129
|
+
var computeDocsStats = lazyOperation(
|
|
130
|
+
async () => (await import("@cleocode/core/docs/stats")).computeDocsStats
|
|
131
|
+
);
|
|
132
|
+
var runLegacyDocMigration = lazyOperation(
|
|
133
|
+
async () => (await import("@cleocode/core/docs/legacy-doc-migration")).runLegacyDocMigration
|
|
134
|
+
);
|
|
135
|
+
var sqliteModuleForMigration = null;
|
|
136
|
+
async function sqliteForMigration() {
|
|
137
|
+
sqliteModuleForMigration ??= await import("@cleocode/core/store/sqlite.js");
|
|
138
|
+
return sqliteModuleForMigration;
|
|
139
|
+
}
|
|
129
140
|
var syncFromGit = lazyOperation(
|
|
130
141
|
async () => (await import("@cleocode/core/docs/docs-ops")).syncFromGit
|
|
131
142
|
);
|
|
@@ -532,12 +543,16 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
532
543
|
}
|
|
533
544
|
const content = await model.fetchContent(doc);
|
|
534
545
|
if (content === null) {
|
|
535
|
-
return lafsError(
|
|
546
|
+
return lafsError(
|
|
547
|
+
"E_NOT_FOUND",
|
|
548
|
+
`Content not retrievable: ${ref} \u2014 the doc's bytes are not in the blob store; run \`cleo docs doctor --repair\` to backfill hash-verified legacy bytes (T13653)`,
|
|
549
|
+
"fetch"
|
|
550
|
+
);
|
|
536
551
|
}
|
|
537
552
|
const backend = await currentAttachmentBackend();
|
|
538
553
|
const linkedDecisions = doc.slug ? (await listDecisionLinksForAdr(getProjectRoot(), doc.slug)).map((link) => link.decisionId) : void 0;
|
|
539
554
|
return lafsSuccess(
|
|
540
|
-
buildDocsFetchResult({
|
|
555
|
+
await buildDocsFetchResult({
|
|
541
556
|
doc,
|
|
542
557
|
content,
|
|
543
558
|
projectRoot: getProjectRoot(),
|
|
@@ -550,12 +565,13 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
550
565
|
// ── docs.doctor ────────────────────────────────────────────────────────────
|
|
551
566
|
doctor: async (params) => {
|
|
552
567
|
const apply = params.apply === true;
|
|
568
|
+
const repair = params.repair === true;
|
|
553
569
|
const projectRoot = getProjectRoot();
|
|
554
570
|
let backupReceiptPath;
|
|
555
|
-
if (apply) {
|
|
571
|
+
if (apply || repair) {
|
|
556
572
|
const backup = await createSystemBackup(projectRoot, {
|
|
557
573
|
type: "snapshot",
|
|
558
|
-
note:
|
|
574
|
+
note: `docs doctor pre-repair (T13447${repair ? "/T13653" : ""})`
|
|
559
575
|
});
|
|
560
576
|
const STORE_FILE = "cleo.db";
|
|
561
577
|
if (!backup.files.includes(STORE_FILE)) {
|
|
@@ -570,6 +586,7 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
570
586
|
}
|
|
571
587
|
const result = await runDocsDoctor(projectRoot, {
|
|
572
588
|
apply,
|
|
589
|
+
repair,
|
|
573
590
|
...params.olderThanDays !== void 0 ? { olderThanDays: params.olderThanDays } : {},
|
|
574
591
|
...backupReceiptPath !== void 0 ? { backupReceiptPath } : {}
|
|
575
592
|
});
|
|
@@ -578,6 +595,43 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
578
595
|
}
|
|
579
596
|
return lafsSuccess(result.report, "doctor");
|
|
580
597
|
},
|
|
598
|
+
// ── docs.migrate (T13360 — spec §5 honest legacy docs import) ─────────────
|
|
599
|
+
migrate: async (_params) => {
|
|
600
|
+
const projectRoot = getProjectRoot();
|
|
601
|
+
const { getDb, getNativeDb } = await sqliteForMigration();
|
|
602
|
+
await getDb(projectRoot);
|
|
603
|
+
const native = getNativeDb(projectRoot);
|
|
604
|
+
if (native === null) {
|
|
605
|
+
return lafsError(
|
|
606
|
+
"E_DOCS_MIGRATE_NO_STORE",
|
|
607
|
+
// @sync-invariant none:input-shape the project store could not be opened; nothing was written
|
|
608
|
+
"docs migrate requires an open project store \u2014 the migration wrote nothing",
|
|
609
|
+
"migrate"
|
|
610
|
+
);
|
|
611
|
+
}
|
|
612
|
+
const result = await runLegacyDocMigration({
|
|
613
|
+
projectRoot,
|
|
614
|
+
db: native,
|
|
615
|
+
cwd: projectRoot
|
|
616
|
+
});
|
|
617
|
+
const step = result.report.steps[0];
|
|
618
|
+
const summary = result.report.status === "completed" ? `legacy docs migration: ${result.counts.toCapture} captured, ${result.counts.toMarkDangling} dangling, ${result.counts.toSkip} already migrated, ${result.counts.nativeConflicts} native-conflict skips (${result.counts.versions} history rows)` : `legacy docs migration ${result.report.status}: ${result.report.failure ?? "step failed"}`;
|
|
619
|
+
return lafsSuccess(
|
|
620
|
+
{
|
|
621
|
+
status: result.report.status,
|
|
622
|
+
captured: result.counts.toCapture,
|
|
623
|
+
dangling: result.counts.toMarkDangling,
|
|
624
|
+
skipped: result.counts.toSkip,
|
|
625
|
+
nativeConflicts: result.counts.nativeConflicts,
|
|
626
|
+
versionsImported: result.counts.versions,
|
|
627
|
+
failure: result.report.failure,
|
|
628
|
+
backupId: step?.backup?.backupId ?? null,
|
|
629
|
+
transaction: step?.transaction ?? "none",
|
|
630
|
+
summary
|
|
631
|
+
},
|
|
632
|
+
"migrate"
|
|
633
|
+
);
|
|
634
|
+
},
|
|
581
635
|
// ── docs.add ───────────────────────────────────────────────────────────────
|
|
582
636
|
add: async (params) => {
|
|
583
637
|
const {
|
|
@@ -1327,6 +1381,17 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
1327
1381
|
docVersion: outcome.result.docVersion,
|
|
1328
1382
|
squashed: outcome.result.squashed,
|
|
1329
1383
|
summary: outcome.result.summary,
|
|
1384
|
+
// T13604 — recorded CRDT section conflicts reach the envelope (AC1):
|
|
1385
|
+
// the projection names the sections + both version refs.
|
|
1386
|
+
...outcome.result.sectionConflicts !== void 0 ? { sectionConflicts: outcome.result.sectionConflicts } : {},
|
|
1387
|
+
// T13356 — advisory lease notices reach the envelope too: sections
|
|
1388
|
+
// leased by other sessions; the edit proceeded anyway.
|
|
1389
|
+
...outcome.result.leaseNotices !== void 0 ? { leaseNotices: outcome.result.leaseNotices } : {},
|
|
1390
|
+
// T13674 — a stale declared base was merged, not blindly applied:
|
|
1391
|
+
// the head carries a concurrent writer's edit too; the caller must
|
|
1392
|
+
// re-fetch before its next edit.
|
|
1393
|
+
...outcome.result.staleBaseMerged !== void 0 ? { staleBaseMerged: outcome.result.staleBaseMerged } : {},
|
|
1394
|
+
...outcome.result.headVersionUid !== void 0 ? { headVersionUid: outcome.result.headVersionUid } : {},
|
|
1330
1395
|
// T11053 — surface which backend stored the updated blob so
|
|
1331
1396
|
// observability consumers can confirm the V2 mirror succeeded.
|
|
1332
1397
|
attachmentBackend: backend,
|
|
@@ -1491,7 +1556,8 @@ var QUERY_OPS = /* @__PURE__ */ new Set([
|
|
|
1491
1556
|
"status",
|
|
1492
1557
|
"audit",
|
|
1493
1558
|
"doctor",
|
|
1494
|
-
"triage"
|
|
1559
|
+
"triage",
|
|
1560
|
+
"stats"
|
|
1495
1561
|
]);
|
|
1496
1562
|
var MUTATE_OPS = /* @__PURE__ */ new Set([
|
|
1497
1563
|
"add",
|
|
@@ -1504,7 +1570,8 @@ var MUTATE_OPS = /* @__PURE__ */ new Set([
|
|
|
1504
1570
|
"publish-pr",
|
|
1505
1571
|
"sync",
|
|
1506
1572
|
"import",
|
|
1507
|
-
"doctor"
|
|
1573
|
+
"doctor",
|
|
1574
|
+
"migrate"
|
|
1508
1575
|
]);
|
|
1509
1576
|
async function dispatchDocsLegacyQuery(operation, params) {
|
|
1510
1577
|
const projectRoot = getProjectRoot();
|
|
@@ -1572,6 +1639,8 @@ async function dispatchDocsLegacyQuery(operation, params) {
|
|
|
1572
1639
|
record: params["record"] === true,
|
|
1573
1640
|
projectRoot
|
|
1574
1641
|
});
|
|
1642
|
+
case "stats":
|
|
1643
|
+
return computeDocsStats({ projectRoot });
|
|
1575
1644
|
default:
|
|
1576
1645
|
throw new Error(`Unsupported docs query operation: ${operation}`);
|
|
1577
1646
|
}
|
|
@@ -1798,7 +1867,8 @@ var DocsHandler = class {
|
|
|
1798
1867
|
"status",
|
|
1799
1868
|
"audit",
|
|
1800
1869
|
"doctor",
|
|
1801
|
-
"triage"
|
|
1870
|
+
"triage",
|
|
1871
|
+
"stats"
|
|
1802
1872
|
],
|
|
1803
1873
|
mutate: [
|
|
1804
1874
|
"add",
|
|
@@ -1811,7 +1881,8 @@ var DocsHandler = class {
|
|
|
1811
1881
|
"publish-pr",
|
|
1812
1882
|
"sync",
|
|
1813
1883
|
"import",
|
|
1814
|
-
"doctor"
|
|
1884
|
+
"doctor",
|
|
1885
|
+
"migrate"
|
|
1815
1886
|
]
|
|
1816
1887
|
};
|
|
1817
1888
|
}
|
|
@@ -1819,4 +1890,4 @@ var DocsHandler = class {
|
|
|
1819
1890
|
export {
|
|
1820
1891
|
DocsHandler
|
|
1821
1892
|
};
|
|
1822
|
-
//# sourceMappingURL=docs-
|
|
1893
|
+
//# sourceMappingURL=docs-RD5GJP3U.js.map
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
import {
|
|
127
127
|
dispatchFromCli,
|
|
128
128
|
dispatchRaw
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-J3NQONHJ.js";
|
|
130
130
|
import "./chunk-6N6WGLXE.js";
|
|
131
131
|
import "./chunk-4VASFLUW.js";
|
|
132
132
|
import {
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
} from "./chunk-4RGSNUUP.js";
|
|
141
141
|
import "./chunk-6JSJNYH2.js";
|
|
142
142
|
import "./chunk-D7BAQNV2.js";
|
|
143
|
-
import "./chunk-
|
|
143
|
+
import "./chunk-WTP5FO4A.js";
|
|
144
144
|
|
|
145
145
|
// packages/cleo/src/cli/commands/doctor.ts
|
|
146
146
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -1276,4 +1276,4 @@ Dependency cycles: check skipped (${msg})`);
|
|
|
1276
1276
|
export {
|
|
1277
1277
|
doctorCommand
|
|
1278
1278
|
};
|
|
1279
|
-
//# sourceMappingURL=doctor-
|
|
1279
|
+
//# sourceMappingURL=doctor-WCPTKJ4M.js.map
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
import {
|
|
17
17
|
completeCommandArgs,
|
|
18
18
|
completeDispatchParams
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RCZVA6E6.js";
|
|
20
20
|
import "./chunk-C3B7C43W.js";
|
|
21
21
|
import {
|
|
22
22
|
dispatchRaw
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-J3NQONHJ.js";
|
|
24
24
|
import "./chunk-6N6WGLXE.js";
|
|
25
25
|
import "./chunk-4VASFLUW.js";
|
|
26
26
|
import {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
withoutOutputPointer
|
|
36
36
|
} from "./chunk-6JSJNYH2.js";
|
|
37
37
|
import "./chunk-D7BAQNV2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-WTP5FO4A.js";
|
|
39
39
|
|
|
40
40
|
// packages/cleo/src/cli/commands/done.ts
|
|
41
41
|
async function batchEntry(taskId, result, args) {
|
|
@@ -179,7 +179,8 @@ var doneCommand = defineCommand({
|
|
|
179
179
|
blocker: "completion-refused",
|
|
180
180
|
cause: completed.error?.code,
|
|
181
181
|
next: {
|
|
182
|
-
|
|
182
|
+
// T13648: keep the explicit PR carrier; `cleo complete` has no --pr.
|
|
183
|
+
command: completed.error?.fix ?? (args.pr === void 0 ? `cleo complete ${args.taskId}` : `cleo done ${args.taskId} --pr ${args.pr}`),
|
|
183
184
|
why: "Every gate is recorded; completion itself was refused."
|
|
184
185
|
},
|
|
185
186
|
recordedGates: recorded.data.recordedGates
|
|
@@ -201,4 +202,4 @@ var doneCommand = defineCommand({
|
|
|
201
202
|
export {
|
|
202
203
|
doneCommand
|
|
203
204
|
};
|
|
204
|
-
//# sourceMappingURL=done-
|
|
205
|
+
//# sourceMappingURL=done-NUIGWK6L.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
dispatchFromCli,
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J3NQONHJ.js";
|
|
21
21
|
import "./chunk-6N6WGLXE.js";
|
|
22
22
|
import "./chunk-4VASFLUW.js";
|
|
23
23
|
import {
|
|
@@ -27,7 +27,7 @@ import "./chunk-QKMBWYAS.js";
|
|
|
27
27
|
import "./chunk-4RGSNUUP.js";
|
|
28
28
|
import "./chunk-6JSJNYH2.js";
|
|
29
29
|
import "./chunk-D7BAQNV2.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-WTP5FO4A.js";
|
|
31
31
|
|
|
32
32
|
// packages/cleo/src/cli/commands/export.ts
|
|
33
33
|
var exportCommand = defineCommand({
|
|
@@ -90,4 +90,4 @@ var exportCommand = defineCommand({
|
|
|
90
90
|
export {
|
|
91
91
|
exportCommand
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=export-
|
|
93
|
+
//# sourceMappingURL=export-GYR7Y6NH.js.map
|