@cleocode/cleo 2026.10.10-canary.2 → 2026.10.10
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-CPTD34FK.js → adapter-2ICZ6JIH.js} +3 -3
- package/dist/cli/{add-LWLCUIKC.js → add-ZQ6GRDAS.js} +3 -3
- package/dist/cli/{add-batch-HD4O65I4.js → add-batch-6Z3NFHMO.js} +3 -3
- package/dist/cli/{admin-C4IBLF66.js → admin-5BYXPC26.js} +3 -3
- package/dist/cli/{admin-AMAV2TN4.js → admin-L3JPPPXN.js} +3 -3
- package/dist/cli/{adr-GHNX5QWM.js → adr-TOIZU2Q2.js} +3 -3
- package/dist/cli/{analyze-X2EIOKF5.js → analyze-NX7ULMBZ.js} +3 -3
- package/dist/cli/{archive-BEIKUZOO.js → archive-XKOLABFP.js} +3 -3
- package/dist/cli/{archive-stats-5DWII4ZZ.js → archive-stats-QGGQ3V5K.js} +3 -3
- package/dist/cli/{attention-VHCNHELF.js → attention-PUGYOGNG.js} +3 -3
- package/dist/cli/{backup-ZJIWPO4V.js → backup-N6GVW3YV.js} +3 -3
- package/dist/cli/{blockers-36T27MZS.js → blockers-DWIO5WPP.js} +3 -3
- package/dist/cli/{briefing-VX57TOFZ.js → briefing-E744YHPS.js} +3 -3
- package/dist/cli/{cancel-XNFMTQEB.js → cancel-NNWVIU2U.js} +3 -3
- package/dist/cli/{check-T3YTCTLP.js → check-5JLNWX33.js} +2 -2
- package/dist/cli/{check-T36DIBMA.js → check-O45MIKFM.js} +3 -3
- package/dist/cli/{chunk-SXN3DUMZ.js → chunk-EY5YB3OK.js} +2 -2
- package/dist/cli/{chunk-DX6TRZV7.js → chunk-HIL7ZFB4.js} +4 -1
- package/dist/cli/{chunk-KKR5BMKV.js → chunk-PXLD2Y6K.js} +12 -12
- package/dist/cli/{chunk-NM7WUNBY.js → chunk-X6S7B64U.js} +2 -2
- package/dist/cli/{claim-523YCZTL.js → claim-XKKCZZB5.js} +3 -3
- package/dist/cli/{cli-HGC4OT64.js → cli-GXNBBIVG.js} +3 -3
- package/dist/cli/{complete-ZLCRSOC5.js → complete-NQPE6S7Q.js} +4 -4
- package/dist/cli/{complexity-23V5DOSY.js → complexity-RQ6ODUYZ.js} +3 -3
- package/dist/cli/{compliance-6RYR24JG.js → compliance-BKH6R25Z.js} +3 -3
- package/dist/cli/{conduit-KRI5H7DO.js → conduit-Q345BH3N.js} +3 -3
- package/dist/cli/{config-SHDHTQKL.js → config-ZOMWLKOC.js} +3 -3
- package/dist/cli/{consensus-NQWKVYTQ.js → consensus-ERIOYHDS.js} +3 -3
- package/dist/cli/{context-JO52QETY.js → context-WRLXPPWK.js} +3 -3
- package/dist/cli/{contribution-PZWQJLAS.js → contribution-223M3RCJ.js} +3 -3
- package/dist/cli/{current-ZVRJMT25.js → current-RNB7BOT7.js} +3 -3
- package/dist/cli/{daemon-LZDGTNOY.js → daemon-7DG36XR2.js} +3 -3
- package/dist/cli/{dash-NEJ7XJAG.js → dash-D53LHXAV.js} +3 -3
- package/dist/cli/{decompose-2AYL2QU6.js → decompose-CNUQVP7E.js} +3 -3
- package/dist/cli/{decomposition-VXRGWQ2Q.js → decomposition-NIMPTQ2F.js} +3 -3
- package/dist/cli/{delete-KOQ72TIM.js → delete-Q372VIDR.js} +3 -3
- package/dist/cli/{deps-L2W6VER7.js → deps-HVU27JBI.js} +3 -3
- package/dist/cli/{detect-O24G4N5S.js → detect-UNZZVOMM.js} +3 -3
- package/dist/cli/{diagnostics-44ARSOPB.js → diagnostics-L5JDEY65.js} +3 -3
- package/dist/cli/{docs-7QSB4NT2.js → docs-27GUUBVH.js} +45 -4
- package/dist/cli/{docs-3CGAL626.js → docs-JQNR27MH.js} +84 -3
- package/dist/cli/{doctor-YAKOPWUS.js → doctor-BZ5LMJW6.js} +4 -4
- package/dist/cli/{doctor-tool-locks-QCBTDZPG.js → doctor-tool-locks-WQX3XUXI.js} +2 -2
- package/dist/cli/{done-ULOLHME6.js → done-NAK5L6MK.js} +4 -4
- package/dist/cli/{export-AKF7XM44.js → export-HPNE7GQL.js} +3 -3
- package/dist/cli/{export-tasks-GO3KXECZ.js → export-tasks-AMXO7TM4.js} +3 -3
- package/dist/cli/{find-M4WXW6QC.js → find-74RIYO67.js} +3 -3
- package/dist/cli/{focus-A7YZ4AFX.js → focus-Q34TK63S.js} +3 -3
- package/dist/cli/{grade-MQHQBHT2.js → grade-C7RSV2F2.js} +3 -3
- package/dist/cli/{graph-YSLZO4ZT.js → graph-IHEUB4D2.js} +3 -3
- package/dist/cli/{history-OJ52PK7W.js → history-COE44BGY.js} +3 -3
- package/dist/cli/{import-P4J5KVMP.js → import-USO2UE4B.js} +3 -3
- package/dist/cli/{import-tasks-K42DVQT6.js → import-tasks-ICAZJHKT.js} +3 -3
- package/dist/cli/index.js +103 -103
- package/dist/cli/{inject-SMJVGCU4.js → inject-IU7UVU6Y.js} +3 -3
- package/dist/cli/{intelligence-W6A7YKPA.js → intelligence-42V6XKW7.js} +3 -3
- package/dist/cli/{issue-3F6EHEVP.js → issue-4WIHHWS7.js} +3 -3
- package/dist/cli/{labels-BLYMQLSB.js → labels-IAVY2KKG.js} +3 -3
- package/dist/cli/{lifecycle-DVULHH7L.js → lifecycle-SAKEWYLU.js} +3 -3
- package/dist/cli/{list-I4MH7DZG.js → list-NKMSZSGM.js} +3 -3
- package/dist/cli/{llm-HRAGPYFT.js → llm-MVNJ3KTN.js} +3 -3
- package/dist/cli/{log-7NA4ULZG.js → log-QF3AKA2B.js} +3 -3
- package/dist/cli/{manifest-ASEXWCV5.js → manifest-QE5BZUH5.js} +3 -3
- package/dist/cli/{map-SB5VOUWI.js → map-3YV7Q27X.js} +3 -3
- package/dist/cli/{memory-434MP4JR.js → memory-APHFPQLR.js} +2 -2
- package/dist/cli/{memory-VZV3YV3D.js → memory-VFCPYFEI.js} +3 -3
- package/dist/cli/{migrate-claude-mem-4DEGUYEP.js → migrate-claude-mem-23GHT2JG.js} +3 -3
- package/dist/cli/{next-3VMGBBP3.js → next-MYTIDLVH.js} +3 -3
- package/dist/cli/{nexus-L6YXCZW7.js → nexus-SUFPNET6.js} +3 -3
- package/dist/cli/{nexus-GJJ2J7RY.js → nexus-ZFENIRAA.js} +2 -2
- package/dist/cli/{ops-ZH36T3WV.js → ops-T6JIOCT7.js} +3 -3
- package/dist/cli/{orchestrate-U54IOTZN.js → orchestrate-PALEMYGX.js} +3 -3
- package/dist/cli/{orchestrate-DMH5NKDD.js → orchestrate-PZCAH5ML.js} +2 -2
- package/dist/cli/{phase-OPMHFKAT.js → phase-XIBIUGT7.js} +3 -3
- package/dist/cli/{pipeline-YCKZZPLM.js → pipeline-IPQHFSNM.js} +2 -2
- package/dist/cli/{pivot-SBT5QNJU.js → pivot-Y2ZQ5EG2.js} +3 -3
- package/dist/cli/{plan-WP2KX2WL.js → plan-TRNWG75U.js} +3 -3
- package/dist/cli/{playbook-RTD55GF2.js → playbook-ZTSK6DGU.js} +3 -3
- package/dist/cli/{promote-KIHCKOHF.js → promote-3RHPBFF7.js} +3 -3
- package/dist/cli/{provenance-V3NQN22W.js → provenance-4D65EDS5.js} +3 -3
- package/dist/cli/{provider-SP2SM6O7.js → provider-H2UJVMM6.js} +3 -3
- package/dist/cli/{reason-PID3Z7CJ.js → reason-WRYS67MU.js} +3 -3
- package/dist/cli/{reconcile-V3MXVCGK.js → reconcile-ARLGUX6B.js} +3 -3
- package/dist/cli/{relates-BPR7MQZO.js → relates-GRBX5NU4.js} +3 -3
- package/dist/cli/{release-3UCVO5F3.js → release-5V577SEN.js} +8 -3
- package/dist/cli/{release-EICHDM6Z.js → release-G6NMHJJD.js} +2 -1
- package/dist/cli/{reorder-KVEMP7YJ.js → reorder-7MCGZHNJ.js} +3 -3
- package/dist/cli/{reparent-5P3XVZVZ.js → reparent-L4BB2YV5.js} +3 -3
- package/dist/cli/{req-WJXG3VMF.js → req-FPEKB4P2.js} +3 -3
- package/dist/cli/{research-7FZVWKBI.js → research-Z4NGSOCI.js} +3 -3
- package/dist/cli/{restore-R62D7EAK.js → restore-FMM3GGLE.js} +3 -3
- package/dist/cli/{roadmap-C7QRRWU6.js → roadmap-T57RLBSJ.js} +3 -3
- package/dist/cli/{safestop-VFWRTRNN.js → safestop-CPFLLXSN.js} +3 -3
- package/dist/cli/{saga-4SWWIV5R.js → saga-B5R4ERNW.js} +3 -3
- package/dist/cli/{selfimprove-PMO4G6M7.js → selfimprove-3U5VJR5S.js} +2 -2
- package/dist/cli/{selfimprove-WD7TE2PE.js → selfimprove-AHEEKYFS.js} +3 -3
- package/dist/cli/{sequence-QBZ5TKFY.js → sequence-3UEHUPCD.js} +3 -3
- package/dist/cli/{service-QW7E2Z4T.js → service-OPOTVPFD.js} +3 -3
- package/dist/cli/{session-ZVQGWRWO.js → session-TDVUNTCO.js} +2 -2
- package/dist/cli/{session-7RPQWXUU.js → session-X6Q7AONO.js} +3 -3
- package/dist/cli/{show-MOWMYKST.js → show-RTYQCYKG.js} +3 -3
- package/dist/cli/{skills-UB2AFNKR.js → skills-6CJRVGD4.js} +3 -3
- package/dist/cli/{snapshot-27IKABDN.js → snapshot-7HKFNPGI.js} +3 -3
- package/dist/cli/{start-MHHLCFLH.js → start-XGO7JDWG.js} +3 -3
- package/dist/cli/{stats-ENTZCGLB.js → stats-GWP3ZTDQ.js} +3 -3
- package/dist/cli/{sticky-P5S6PZW7.js → sticky-3M4BL4NY.js} +3 -3
- package/dist/cli/{stop-ONKFXIA7.js → stop-75NQN575.js} +3 -3
- package/dist/cli/{sync-FJ54PLK5.js → sync-LKVMUODK.js} +3 -3
- package/dist/cli/{tasks-FH7HRNJV.js → tasks-64DUKGI5.js} +3 -3
- package/dist/cli/{tasks-MH5VB26S.js → tasks-XRPUH4XH.js} +2 -2
- package/dist/cli/{testing-LU4WHYU5.js → testing-M5RDFSNW.js} +3 -3
- package/dist/cli/{token-TCRWHVEV.js → token-VPMW75KC.js} +3 -3
- package/dist/cli/{update-OAVS4KKP.js → update-4MAHMO4O.js} +3 -3
- package/dist/cli/{verify-KTSVQOJ2.js → verify-DCC57OJR.js} +3 -3
- package/dist/cli/{worktree-BRPQ7YEP.js → worktree-F2PKT744.js} +3 -3
- package/package.json +14 -17
- package/studio-dist/client/_app/immutable/chunks/BAWHhVXJ.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{ZILf3J30.js → BR-quzeJ.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{CtthiLMf.js → taT-Sr5z.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/wW6a3QWI.js +3 -0
- package/studio-dist/client/_app/immutable/entry/{app.BBlLk234.js → app.DjQkwahs.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.CEJM7uAb.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.XDr79loy.js → 0.JwSwuadJ.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.BIDw-yxW.js → 1.D-BV8A-c.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.CdYN6-h6.js → 15.Ct4LD73W.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.CCdiIukX.js → 16.rUVxA8IN.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DHkN7-R6.js → 17.C7xom6iW.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.jfQddC_d.js → 18.BRpZ2988.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.qspbGvdo.js → 20.DzJBev6L.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.CqtFKd8e.js → 24.BXRnszLT.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{25.D2joWmC2.js → 25.CiNf_3dV.js} +2 -2
- package/studio-dist/client/_app/immutable/nodes/{26.aCZqFGVF.js → 26.DIkPxl4r.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.9B_eO7cp.js → 3.Dzr06CNM.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-fIumNNL0.js → 0-DcpHIU8_.js} +3 -3
- package/studio-dist/server/chunks/1-D5FxeXKW.js +9 -0
- package/studio-dist/server/chunks/{15-DvdOaFcu.js → 15-TdcEahXH.js} +3 -3
- package/studio-dist/server/chunks/{16-D4_PDChB.js → 16-D2FuDp5D.js} +3 -3
- package/studio-dist/server/chunks/{17-DqFEROhE.js → 17-DBKPPXNW.js} +3 -3
- package/studio-dist/server/chunks/{18-CRuy4dru.js → 18-D8y3TS9Y.js} +3 -3
- package/studio-dist/server/chunks/{20-CwVR5tQj.js → 20-B5xIM9Fw.js} +3 -3
- package/studio-dist/server/chunks/{24-supshJdQ.js → 24-MMu1scBc.js} +3 -3
- package/studio-dist/server/chunks/{25-BWNoEZLf.js → 25-DWjVWGFZ.js} +6 -4
- package/studio-dist/server/chunks/{26-Bh5F9FNj.js → 26-B2gvyIv5.js} +3 -3
- package/studio-dist/server/chunks/{3-ChA--E3D.js → 3-PwlKy2jO.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-Cho_nF2v.js → _layout.svelte-3KOdzmTH.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-CM1R_Cba.js → _page.svelte-BA2BtzRT.js} +6 -6
- package/studio-dist/server/chunks/{_page.svelte-Be-gzIo2.js → _page.svelte-BFdPfNFX.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DHjQag3Y.js → _page.svelte-CWqLZtQC.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BW3p3zYk.js → _page.svelte-CeuAJlHJ.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DWxlxvhk.js → _page.svelte-Cl9tPvpj.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-BegmGE3Q.js → _page.svelte-DJ4aY4B2.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DTavcbCx.js → _page.svelte-DiSU5lNH.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CU4necvH.js → _page.svelte-hmKmR4DZ.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CFlt65NR.js → _page.svelte-jxNIjtXm.js} +4 -4
- package/studio-dist/server/chunks/{_server.ts-ClQAnYoJ.js → _server.ts-BhYVlzle.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-4BRxl0b5.js → _server.ts-C4fluMIr.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-B3AyKiRE.js → _server.ts-DWlmf3gd.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-7SxVYTCA.js → _server.ts-Dkru_RhK.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-BghBG7n7.js → _server.ts-pwkGkTSP.js} +3 -3
- package/studio-dist/server/chunks/{client-DBog4VWR.js → client-stZv9QDd.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-AU-DaYrr.js → error.svelte-Ck4oEY5U.js} +3 -3
- package/studio-dist/server/chunks/{http-1glX9355.js → http-yzrjnZCB.js} +2 -2
- package/studio-dist/server/chunks/{internal-BlCMnnlC.js → internal-Bqf-eXdV.js} +2 -2
- package/studio-dist/server/chunks/{operations-registry-cFp6nJCy.js → operations-registry-DwCZAe5R.js} +53 -1
- package/studio-dist/server/chunks/{stores-Cg3JdVLa.js → stores-DWKIs2XF.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/BilLvzh2.js +0 -1
- package/studio-dist/client/_app/immutable/chunks/BzLw5Azy.js +0 -3
- package/studio-dist/client/_app/immutable/entry/start.CIau6KWf.js +0 -1
- package/studio-dist/server/chunks/1-Bn0b72l_.js +0 -9
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.js";
|
|
30
30
|
|
|
31
31
|
// packages/cleo/src/cli/commands/consensus.ts
|
|
32
32
|
var validateCommand = defineCommand({
|
|
@@ -119,4 +119,4 @@ var consensusCommand = defineCommand({
|
|
|
119
119
|
export {
|
|
120
120
|
consensusCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=consensus-
|
|
122
|
+
//# sourceMappingURL=consensus-ERIOYHDS.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
dispatchFromCli,
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-WRLXPPWK.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-223M3RCJ.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-RNB7BOT7.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-EY5YB3OK.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-PXLD2Y6K.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-7DG36XR2.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-EY5YB3OK.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-PXLD2Y6K.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-D53LHXAV.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-EY5YB3OK.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-PXLD2Y6K.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-CNUQVP7E.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-NIMPTQ2F.js.map
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import {
|
|
17
17
|
dispatchRaw,
|
|
18
18
|
handleRawError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-Q372VIDR.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
renderLegend,
|
|
24
24
|
renderSummary,
|
|
25
25
|
renderTree
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-HVU27JBI.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-UNZZVOMM.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-EY5YB3OK.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-PXLD2Y6K.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-L5JDEY65.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
dispatchFromCli,
|
|
26
26
|
dispatchRaw,
|
|
27
27
|
handleRawError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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";
|
|
@@ -116,6 +116,43 @@ var auditCommand = defineCommand({
|
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
+
// packages/cleo/src/cli/commands/docs/decision-link.ts
|
|
120
|
+
var decisionLinkArgs = {
|
|
121
|
+
adrSlug: {
|
|
122
|
+
type: "positional",
|
|
123
|
+
description: "Slug of the ADR doc (e.g. adr-091-sync-journal)",
|
|
124
|
+
required: true
|
|
125
|
+
},
|
|
126
|
+
decisionId: {
|
|
127
|
+
type: "positional",
|
|
128
|
+
description: "The D#### brain ledger decision id",
|
|
129
|
+
required: true
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
function makeDecisionLinkCommand(name, description) {
|
|
133
|
+
return defineCommand({
|
|
134
|
+
meta: { name, description },
|
|
135
|
+
args: decisionLinkArgs,
|
|
136
|
+
async run({ args }) {
|
|
137
|
+
await dispatchFromCli(
|
|
138
|
+
"mutate",
|
|
139
|
+
"docs",
|
|
140
|
+
name,
|
|
141
|
+
{ adrSlug: String(args.adrSlug), decisionId: String(args.decisionId) },
|
|
142
|
+
{ command: `docs ${name}` }
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
var linkDecisionCommand = makeDecisionLinkCommand(
|
|
148
|
+
"link-decision",
|
|
149
|
+
"Link a stored D#### decision to an existing ADR doc that ratifies it; repeating is a no-op, and a revoked pair is refused."
|
|
150
|
+
);
|
|
151
|
+
var unlinkDecisionCommand = makeDecisionLinkCommand(
|
|
152
|
+
"unlink-decision",
|
|
153
|
+
"Revoke a decision-to-ADR link. This cannot be undone: the revoke is a permanent tombstone and the pair can never be re-linked."
|
|
154
|
+
);
|
|
155
|
+
|
|
119
156
|
// packages/cleo/src/cli/commands/docs/graph.ts
|
|
120
157
|
import { ExitCode as ExitCode2 } from "@cleocode/contracts/exit-codes.js";
|
|
121
158
|
import {
|
|
@@ -2372,7 +2409,8 @@ var updateCommand = defineCommand({
|
|
|
2372
2409
|
}
|
|
2373
2410
|
const slug = String(args.slug);
|
|
2374
2411
|
const filePath = typeof args.file === "string" ? args.file : void 0;
|
|
2375
|
-
|
|
2412
|
+
let inlineContent = typeof args.content === "string" ? args.content : void 0;
|
|
2413
|
+
if (inlineContent === "-") inlineContent = await readDocBodyFromStdin();
|
|
2376
2414
|
if (filePath !== void 0 && inlineContent !== void 0) {
|
|
2377
2415
|
cliError("--file and --content are mutually exclusive", ExitCode6.VALIDATION_ERROR, {
|
|
2378
2416
|
name: "E_VALIDATION",
|
|
@@ -3155,6 +3193,9 @@ var docsCommand = defineCommand({
|
|
|
3155
3193
|
graph: graphCommand,
|
|
3156
3194
|
// T11875 — display-alias assignment (`set-alias <slug> <number>`), decoupled from slug.
|
|
3157
3195
|
"set-alias": setAliasCommand,
|
|
3196
|
+
// T13598 — decision_adr_links writers (ADR ↔ D#### trace).
|
|
3197
|
+
"link-decision": linkDecisionCommand,
|
|
3198
|
+
"unlink-decision": unlinkDecisionCommand,
|
|
3158
3199
|
// Legacy aliases (use `query` for new work — retained for backward compatibility)
|
|
3159
3200
|
search: searchCommand,
|
|
3160
3201
|
find: findCommand,
|
|
@@ -3186,4 +3227,4 @@ export {
|
|
|
3186
3227
|
_llmOutputCommand,
|
|
3187
3228
|
docsCommand
|
|
3188
3229
|
};
|
|
3189
|
-
//# sourceMappingURL=docs-
|
|
3230
|
+
//# sourceMappingURL=docs-27GUUBVH.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
lazyOperation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PXLD2Y6K.js";
|
|
19
19
|
import {
|
|
20
20
|
defineTypedHandler,
|
|
21
21
|
lafsError,
|
|
@@ -33,6 +33,7 @@ import { randomUUID } from "node:crypto";
|
|
|
33
33
|
import { readFile } from "node:fs/promises";
|
|
34
34
|
import { join, resolve } from "node:path";
|
|
35
35
|
import { DocKindRegistry } from "@cleocode/contracts/docs-taxonomy.js";
|
|
36
|
+
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
36
37
|
import { LLM_OUTPUT_MODES } from "@cleocode/contracts/operations/docs";
|
|
37
38
|
import { parseChangesetFrontmatter } from "@cleocode/core/changesets/parse-frontmatter";
|
|
38
39
|
import { readAuditLog, verifyAuditTrail, writeAuditEntry } from "@cleocode/core/docs/docs-audit";
|
|
@@ -52,6 +53,7 @@ import {
|
|
|
52
53
|
import { consumeReservedSlug, releaseReservedSlug } from "@cleocode/core/docs/slug-allocator";
|
|
53
54
|
import { SUPERSEDE_NOT_FOUND_CODE, SUPERSEDE_SAME_SLUG_CODE } from "@cleocode/core/docs/supersede";
|
|
54
55
|
import { validateDocBody } from "@cleocode/core/docs/validate-body";
|
|
56
|
+
import { CleoError } from "@cleocode/core/errors";
|
|
55
57
|
import { generateProjectHash } from "@cleocode/core/nexus/hash";
|
|
56
58
|
import { pushWarning } from "@cleocode/core/output";
|
|
57
59
|
import { worktreeScope } from "@cleocode/core/paths.js";
|
|
@@ -61,6 +63,11 @@ import {
|
|
|
61
63
|
createAttachmentStore,
|
|
62
64
|
SlugCollisionError
|
|
63
65
|
} from "@cleocode/core/store/attachment-store";
|
|
66
|
+
import {
|
|
67
|
+
linkDecisionToAdr,
|
|
68
|
+
listDecisionLinksForAdr,
|
|
69
|
+
revokeDecisionAdrLink
|
|
70
|
+
} from "@cleocode/core/store/decision-adr-links.js";
|
|
64
71
|
var allocateAdrSlug = lazyOperation(
|
|
65
72
|
async () => (await import("@cleocode/core/docs/adr-allocator")).allocateAdrSlug
|
|
66
73
|
);
|
|
@@ -239,6 +246,19 @@ function compareByOrderBy(orderBy) {
|
|
|
239
246
|
}
|
|
240
247
|
return (a, b) => b.createdAt.localeCompare(a.createdAt);
|
|
241
248
|
}
|
|
249
|
+
async function decisionLinkResponse(op, write) {
|
|
250
|
+
try {
|
|
251
|
+
return lafsSuccess(await write(), op);
|
|
252
|
+
} catch (err) {
|
|
253
|
+
if (!(err instanceof CleoError)) throw err;
|
|
254
|
+
return lafsError(
|
|
255
|
+
err.toLAFSError().code,
|
|
256
|
+
// @sync-invariant docs.decision-adr-links.revoke-monotonic the accessor's refusal (re-link of a revoked pair, revoke of an unknown link) is surfaced unchanged
|
|
257
|
+
err.message,
|
|
258
|
+
op
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
242
262
|
var _docsTypedHandler = defineTypedHandler("docs", {
|
|
243
263
|
// ── docs.list ──────────────────────────────────────────────────────────────
|
|
244
264
|
list: async (params) => {
|
|
@@ -515,12 +535,14 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
515
535
|
return lafsError("E_NOT_FOUND", `Content not retrievable: ${ref}`, "fetch");
|
|
516
536
|
}
|
|
517
537
|
const backend = await currentAttachmentBackend();
|
|
538
|
+
const linkedDecisions = doc.slug ? (await listDecisionLinksForAdr(getProjectRoot(), doc.slug)).map((link) => link.decisionId) : void 0;
|
|
518
539
|
return lafsSuccess(
|
|
519
540
|
buildDocsFetchResult({
|
|
520
541
|
doc,
|
|
521
542
|
content,
|
|
522
543
|
projectRoot: getProjectRoot(),
|
|
523
|
-
attachmentBackend: backend
|
|
544
|
+
attachmentBackend: backend,
|
|
545
|
+
...linkedDecisions !== void 0 ? { linkedDecisions } : {}
|
|
524
546
|
}),
|
|
525
547
|
"fetch"
|
|
526
548
|
);
|
|
@@ -1211,6 +1233,15 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
1211
1233
|
'Use `cleo docs update <slug> --file ./new.md` OR `cleo docs update <slug> --content "..."`.'
|
|
1212
1234
|
);
|
|
1213
1235
|
}
|
|
1236
|
+
if (hasContent && ["", "-"].includes(inlineContent.trim())) {
|
|
1237
|
+
return lafsError(
|
|
1238
|
+
"E_INVALID_INPUT",
|
|
1239
|
+
// @sync-invariant none:input-shape an empty or bare '-' body is refused before any write
|
|
1240
|
+
`--content is ${inlineContent.trim() === "" ? "empty" : "a bare '-'"}; refusing to replace the document body`,
|
|
1241
|
+
"update",
|
|
1242
|
+
"Pipe the body with `cat new.md | cleo docs update <slug> --content -`, or use `--file ./new.md`."
|
|
1243
|
+
);
|
|
1244
|
+
}
|
|
1214
1245
|
if (statusOnly && rawStatus === void 0) {
|
|
1215
1246
|
return lafsError(
|
|
1216
1247
|
"E_INVALID_INPUT",
|
|
@@ -1306,6 +1337,52 @@ var _docsTypedHandler = defineTypedHandler("docs", {
|
|
|
1306
1337
|
"update"
|
|
1307
1338
|
);
|
|
1308
1339
|
},
|
|
1340
|
+
// ── docs.link-decision / docs.unlink-decision (T13598) ─────────────────────
|
|
1341
|
+
// decision_adr_links writers through the canonical accessors; a revoked
|
|
1342
|
+
// pair is never re-linked (the accessor's one-way tombstone latch).
|
|
1343
|
+
"link-decision": async (params) => {
|
|
1344
|
+
const { adrSlug, decisionId } = params;
|
|
1345
|
+
if (typeof adrSlug !== "string" || adrSlug.length === 0 || typeof decisionId !== "string") {
|
|
1346
|
+
return lafsError(
|
|
1347
|
+
"E_INVALID_INPUT",
|
|
1348
|
+
// @sync-invariant none:input-shape a missing ADR slug or decision id is refused before any write
|
|
1349
|
+
"<adrSlug> and <decisionId> are required",
|
|
1350
|
+
"link-decision"
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1353
|
+
return decisionLinkResponse("link-decision", async () => {
|
|
1354
|
+
if (await createDocsReadModel().resolveLatest(adrSlug) === null)
|
|
1355
|
+
throw new CleoError(ExitCode.NOT_FOUND, `no doc has the slug '${adrSlug}'`);
|
|
1356
|
+
const { recallDecision } = await import("@cleocode/core/memory/decisions");
|
|
1357
|
+
if (await recallDecision(getProjectRoot(), decisionId) === null)
|
|
1358
|
+
throw new CleoError(ExitCode.NOT_FOUND, `no stored decision has the id '${decisionId}'`);
|
|
1359
|
+
const { inserted } = await linkDecisionToAdr(getProjectRoot(), {
|
|
1360
|
+
decisionId,
|
|
1361
|
+
adrSlug,
|
|
1362
|
+
...process.env["CLEO_AGENT_ID"] ? { linkedBy: process.env["CLEO_AGENT_ID"] } : {}
|
|
1363
|
+
});
|
|
1364
|
+
return { adrSlug, decisionId, status: "linked", changed: inserted };
|
|
1365
|
+
});
|
|
1366
|
+
},
|
|
1367
|
+
"unlink-decision": async (params) => {
|
|
1368
|
+
const { adrSlug, decisionId } = params;
|
|
1369
|
+
if (typeof adrSlug !== "string" || adrSlug.length === 0 || typeof decisionId !== "string") {
|
|
1370
|
+
return lafsError(
|
|
1371
|
+
"E_INVALID_INPUT",
|
|
1372
|
+
// @sync-invariant none:input-shape a missing ADR slug or decision id is refused before any write
|
|
1373
|
+
"<adrSlug> and <decisionId> are required",
|
|
1374
|
+
"unlink-decision"
|
|
1375
|
+
);
|
|
1376
|
+
}
|
|
1377
|
+
return decisionLinkResponse("unlink-decision", async () => {
|
|
1378
|
+
const { revoked } = await revokeDecisionAdrLink(getProjectRoot(), {
|
|
1379
|
+
decisionId,
|
|
1380
|
+
adrSlug,
|
|
1381
|
+
...process.env["CLEO_AGENT_ID"] ? { revokedBy: process.env["CLEO_AGENT_ID"] } : {}
|
|
1382
|
+
});
|
|
1383
|
+
return { adrSlug, decisionId, status: "revoked", changed: revoked };
|
|
1384
|
+
});
|
|
1385
|
+
},
|
|
1309
1386
|
// ── docs.supersede ─────────────────────────────────────────────────────────
|
|
1310
1387
|
supersede: async (params) => {
|
|
1311
1388
|
const { oldSlug, newSlug, reason } = params;
|
|
@@ -1421,6 +1498,8 @@ var MUTATE_OPS = /* @__PURE__ */ new Set([
|
|
|
1421
1498
|
"remove",
|
|
1422
1499
|
"update",
|
|
1423
1500
|
"supersede",
|
|
1501
|
+
"link-decision",
|
|
1502
|
+
"unlink-decision",
|
|
1424
1503
|
"publish",
|
|
1425
1504
|
"publish-pr",
|
|
1426
1505
|
"sync",
|
|
@@ -1726,6 +1805,8 @@ var DocsHandler = class {
|
|
|
1726
1805
|
"remove",
|
|
1727
1806
|
"update",
|
|
1728
1807
|
"supersede",
|
|
1808
|
+
"link-decision",
|
|
1809
|
+
"unlink-decision",
|
|
1729
1810
|
"publish",
|
|
1730
1811
|
"publish-pr",
|
|
1731
1812
|
"sync",
|
|
@@ -1738,4 +1819,4 @@ var DocsHandler = class {
|
|
|
1738
1819
|
export {
|
|
1739
1820
|
DocsHandler
|
|
1740
1821
|
};
|
|
1741
|
-
//# sourceMappingURL=docs-
|
|
1822
|
+
//# sourceMappingURL=docs-JQNR27MH.js.map
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-KZTPVED2.js";
|
|
49
49
|
import {
|
|
50
50
|
doctorToolLocksCommand
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HIL7ZFB4.js";
|
|
52
52
|
import {
|
|
53
53
|
doctorMemoryGuardCommand
|
|
54
54
|
} from "./chunk-HXRXT3XU.js";
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
import {
|
|
127
127
|
dispatchFromCli,
|
|
128
128
|
dispatchRaw
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-BZ5LMJW6.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
doctorToolLocksCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HIL7ZFB4.js";
|
|
19
19
|
import "./chunk-C3B7C43W.js";
|
|
20
20
|
import "./chunk-PKKZPOOP.js";
|
|
21
21
|
import "./chunk-4RGSNUUP.js";
|
|
@@ -23,4 +23,4 @@ import "./chunk-6JSJNYH2.js";
|
|
|
23
23
|
export {
|
|
24
24
|
doctorToolLocksCommand
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=doctor-tool-locks-
|
|
26
|
+
//# sourceMappingURL=doctor-tool-locks-WQX3XUXI.js.map
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
import {
|
|
17
17
|
completeCommandArgs,
|
|
18
18
|
completeDispatchParams
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X6S7B64U.js";
|
|
20
20
|
import "./chunk-C3B7C43W.js";
|
|
21
21
|
import {
|
|
22
22
|
dispatchRaw
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.js";
|
|
39
39
|
|
|
40
40
|
// packages/cleo/src/cli/commands/done.ts
|
|
41
41
|
async function batchEntry(taskId, result, args) {
|
|
@@ -201,4 +201,4 @@ var doneCommand = defineCommand({
|
|
|
201
201
|
export {
|
|
202
202
|
doneCommand
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=done-
|
|
204
|
+
//# sourceMappingURL=done-NAK5L6MK.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
dispatchFromCli,
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.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-HPNE7GQL.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
dispatchFromCli,
|
|
18
18
|
dispatchRaw,
|
|
19
19
|
handleRawError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EY5YB3OK.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-PXLD2Y6K.js";
|
|
31
31
|
|
|
32
32
|
// packages/cleo/src/cli/commands/export-tasks.ts
|
|
33
33
|
var exportTasksCommand = defineCommand({
|
|
@@ -94,4 +94,4 @@ var exportTasksCommand = defineCommand({
|
|
|
94
94
|
export {
|
|
95
95
|
exportTasksCommand
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=export-tasks-
|
|
97
|
+
//# sourceMappingURL=export-tasks-AMXO7TM4.js.map
|