@cleocode/cleo 2026.10.8 → 2026.10.9

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.
Files changed (178) hide show
  1. package/bin/cleo.js +9 -0
  2. package/dist/cli/{adapter-CJUZSXBA.js → adapter-GDM2AKLR.js} +3 -3
  3. package/dist/cli/{add-T66ILGKK.js → add-KB753M5X.js} +3 -3
  4. package/dist/cli/{add-batch-DEYCTR2Z.js → add-batch-E75D6YTI.js} +3 -3
  5. package/dist/cli/{admin-73MG7LAS.js → admin-2QQCZIW7.js} +3 -3
  6. package/dist/cli/{admin-3WA33TW4.js → admin-YSKKVF3L.js} +5 -5
  7. package/dist/cli/{adr-N4VVNKYB.js → adr-UMPRIZIB.js} +3 -3
  8. package/dist/cli/{analyze-H2BLBQWF.js → analyze-R4TV7YQ2.js} +3 -3
  9. package/dist/cli/{archive-QHBLYODR.js → archive-QZHTAEPV.js} +3 -3
  10. package/dist/cli/{archive-stats-Q6H6ZFSG.js → archive-stats-GA4ZUWKG.js} +3 -3
  11. package/dist/cli/{attention-YBJI3WYQ.js → attention-O55SETPZ.js} +3 -3
  12. package/dist/cli/{backup-DSZLYUH6.js → backup-TTDK7IOM.js} +3 -3
  13. package/dist/cli/{blockers-M6MVTIVB.js → blockers-EKLFYTJO.js} +3 -3
  14. package/dist/cli/{briefing-5NFD2GD5.js → briefing-5XRHHLAA.js} +3 -3
  15. package/dist/cli/{cancel-WOEDIY2T.js → cancel-ZVN2BAGV.js} +3 -3
  16. package/dist/cli/{check-ROHPOXED.js → check-52ZTN67R.js} +6 -5
  17. package/dist/cli/{check-WLUNOQVL.js → check-YI6QVOBW.js} +3 -3
  18. package/dist/cli/{chunk-4TUBOOUH.js → chunk-CQYMQIMH.js} +78 -3
  19. package/dist/cli/{chunk-FWTSORSA.js → chunk-CVU2C3ZF.js} +2 -2
  20. package/dist/cli/chunk-IJGR4AY4.js +71 -0
  21. package/dist/cli/{chunk-V72T73VU.js → chunk-J6GFQY5V.js} +2 -2
  22. package/dist/cli/{chunk-YM7SWWQX.js → chunk-YI5O7YZO.js} +12 -12
  23. package/dist/cli/{claim-YKXOKBF2.js → claim-KCDK32SF.js} +3 -3
  24. package/dist/cli/{cli-B4M45YP3.js → cli-MWR6QNIQ.js} +3 -3
  25. package/dist/cli/{cloud-Q4EF25BE.js → cloud-3ET4RUEE.js} +20 -3
  26. package/dist/cli/{complete-L5OOUHNR.js → complete-M7Y4ZEWB.js} +4 -4
  27. package/dist/cli/{complexity-YI4SSAQV.js → complexity-K27YZWBY.js} +3 -3
  28. package/dist/cli/{compliance-NE6GAMII.js → compliance-WBUBA773.js} +3 -3
  29. package/dist/cli/{conduit-P2HBLN3F.js → conduit-RL6V2M76.js} +3 -3
  30. package/dist/cli/{config-L4TAOKTC.js → config-O5FUB6R5.js} +3 -3
  31. package/dist/cli/{consensus-2YQHSOAL.js → consensus-GGREGZHH.js} +3 -3
  32. package/dist/cli/{context-4TMGAKEQ.js → context-D5JSCOCF.js} +3 -3
  33. package/dist/cli/{contribution-GPIBWOCD.js → contribution-UMPLZPRR.js} +3 -3
  34. package/dist/cli/{current-HQ74FPKC.js → current-IEXUTK7F.js} +3 -3
  35. package/dist/cli/{daemon-BXBXQ543.js → daemon-HDYMZL3Z.js} +3 -3
  36. package/dist/cli/{dash-7OTBKSAX.js → dash-B6CRGPBL.js} +3 -3
  37. package/dist/cli/{decompose-QQDHU57R.js → decompose-APS4UY5B.js} +3 -3
  38. package/dist/cli/{decomposition-UHPP47WC.js → decomposition-HEHFZHPO.js} +3 -3
  39. package/dist/cli/{delete-DULSLVKJ.js → delete-7AFONFBH.js} +3 -3
  40. package/dist/cli/{deps-YQBUN2FE.js → deps-DZFAUNGC.js} +3 -3
  41. package/dist/cli/{detect-FUC5Y647.js → detect-X3ONN7BF.js} +3 -3
  42. package/dist/cli/{diagnostics-SE2GUEIQ.js → diagnostics-BOQN5BBE.js} +3 -3
  43. package/dist/cli/{docs-DNNQIKRX.js → docs-5VHYBX3P.js} +4 -4
  44. package/dist/cli/{docs-CR46FNQN.js → docs-DMYQCRZF.js} +3 -3
  45. package/dist/cli/{doctor-UADXJBJS.js → doctor-ZSTYV4FJ.js} +25 -21
  46. package/dist/cli/doctor-hooks-VTASOKQO.js +26 -0
  47. package/dist/cli/{done-ZSUWISRY.js → done-OJNI3I7X.js} +13 -5
  48. package/dist/cli/{export-VUSCRB5H.js → export-LH5UJTJ7.js} +3 -3
  49. package/dist/cli/{export-tasks-5OFFZTAW.js → export-tasks-NONTLPDO.js} +3 -3
  50. package/dist/cli/{find-IO57ZCAV.js → find-PMC7RICN.js} +3 -3
  51. package/dist/cli/{focus-BHZPAPVM.js → focus-B6UAE22J.js} +3 -3
  52. package/dist/cli/{grade-BTQY5Y66.js → grade-K4QVKECD.js} +3 -3
  53. package/dist/cli/{graph-6PQZQCM5.js → graph-ACUZZ6UP.js} +3 -3
  54. package/dist/cli/{history-B2FQPJ7F.js → history-OYXAFZLB.js} +3 -3
  55. package/dist/cli/hook-HFMCKPDG.js +197 -0
  56. package/dist/cli/{import-P3PCQ7RG.js → import-OWNNBXHE.js} +3 -3
  57. package/dist/cli/{import-tasks-VBM3PG3Y.js → import-tasks-ALKVWV7O.js} +3 -3
  58. package/dist/cli/index.js +111 -103
  59. package/dist/cli/{inject-OYEUNYKE.js → inject-CJIGOTU2.js} +3 -3
  60. package/dist/cli/{intelligence-ZDINRJ6L.js → intelligence-PIYYLELR.js} +3 -3
  61. package/dist/cli/{issue-6SLGC2WA.js → issue-SKZ3VYSU.js} +3 -3
  62. package/dist/cli/{labels-3VPUVHTW.js → labels-3UWR5CZ2.js} +3 -3
  63. package/dist/cli/{lifecycle-4OWR4VQA.js → lifecycle-QJYPQVQX.js} +3 -3
  64. package/dist/cli/{list-DEWOUSD4.js → list-S3D56SWR.js} +3 -3
  65. package/dist/cli/{llm-KSUDYWTY.js → llm-XLI6DWAT.js} +3 -3
  66. package/dist/cli/{log-QMVCW2VD.js → log-27LATD6P.js} +3 -3
  67. package/dist/cli/{manifest-7TYRMBFO.js → manifest-RGP3GUSZ.js} +3 -3
  68. package/dist/cli/{map-GYBUA3IZ.js → map-4U4O2FRD.js} +3 -3
  69. package/dist/cli/{memory-LCVEGACN.js → memory-A46L6VUK.js} +3 -3
  70. package/dist/cli/{memory-7ZERUVUK.js → memory-SZX5CXYU.js} +2 -2
  71. package/dist/cli/{migrate-claude-mem-W53LP7RD.js → migrate-claude-mem-XJSLS4OP.js} +3 -3
  72. package/dist/cli/{next-JDP45FHE.js → next-T5FYLKHJ.js} +3 -3
  73. package/dist/cli/{nexus-J2MW66ID.js → nexus-I2CGSEXT.js} +7 -5
  74. package/dist/cli/{nexus-DXUDR7T5.js → nexus-LN7IOBHA.js} +22 -6
  75. package/dist/cli/{nexus-vault-cli-SMFRAY2N.js → nexus-vault-cli-YBWVCYMV.js} +2 -2
  76. package/dist/cli/{ops-UOVT64GJ.js → ops-SS2ETL37.js} +3 -3
  77. package/dist/cli/{orchestrate-C56ZTIG6.js → orchestrate-MTWEN2N4.js} +8 -6
  78. package/dist/cli/{orchestrate-GPC7WBZG.js → orchestrate-WM7A3NMZ.js} +12 -4
  79. package/dist/cli/{phase-MSV7F7EZ.js → phase-OWQYB2PT.js} +3 -3
  80. package/dist/cli/{pipeline-3JC25FGQ.js → pipeline-WTCTZJXY.js} +4 -4
  81. package/dist/cli/{pivot-TKTLDEMJ.js → pivot-WSXRRP4T.js} +3 -3
  82. package/dist/cli/{plan-ZP4SZBUL.js → plan-I7PIDCJO.js} +3 -3
  83. package/dist/cli/{playbook-2IJ5IVEP.js → playbook-V3PPWDX7.js} +3 -3
  84. package/dist/cli/project-hook-entry.js +154 -0
  85. package/dist/cli/{promote-4DRDZIZY.js → promote-VVIZYWTO.js} +3 -3
  86. package/dist/cli/{provenance-576YKBQZ.js → provenance-IJDOBC6P.js} +3 -3
  87. package/dist/cli/{provider-VPO2UI4B.js → provider-EO5GE5HH.js} +3 -3
  88. package/dist/cli/{reason-KCIR3YSC.js → reason-6QLPUQOW.js} +3 -3
  89. package/dist/cli/{reconcile-XQEFK2QH.js → reconcile-FKMX3AC4.js} +3 -3
  90. package/dist/cli/{relates-65SWZNDD.js → relates-LLAMIT46.js} +3 -3
  91. package/dist/cli/{release-G2DPSG5M.js → release-EICHDM6Z.js} +2 -1
  92. package/dist/cli/{release-CSUE26SZ.js → release-SSPADPVW.js} +9 -4
  93. package/dist/cli/{reorder-NTNZKIR5.js → reorder-76DK3VKZ.js} +3 -3
  94. package/dist/cli/{reparent-NECPOOPK.js → reparent-5IWOPJHH.js} +3 -3
  95. package/dist/cli/{req-X33DQCVD.js → req-26OBW454.js} +3 -3
  96. package/dist/cli/{research-26QT4GB2.js → research-R53WZQ7Q.js} +3 -3
  97. package/dist/cli/{restore-EL2CROFY.js → restore-6BRSPY6U.js} +3 -3
  98. package/dist/cli/{roadmap-NUGY2TJE.js → roadmap-2TR2JIB7.js} +3 -3
  99. package/dist/cli/{safestop-4OXO7VRT.js → safestop-VJGPDCGC.js} +3 -3
  100. package/dist/cli/{saga-X3BGSE55.js → saga-WXVQZVYW.js} +3 -3
  101. package/dist/cli/{selfimprove-CAJM5KEM.js → selfimprove-5KCF356T.js} +2 -2
  102. package/dist/cli/{selfimprove-NZ6GXSYP.js → selfimprove-TLFS7LGK.js} +3 -3
  103. package/dist/cli/{sequence-VX5Y6LR4.js → sequence-GS36BKUA.js} +3 -3
  104. package/dist/cli/{service-K3O4J24T.js → service-XI7U5HY4.js} +3 -3
  105. package/dist/cli/{session-RMM7ABRO.js → session-A2P65BNC.js} +4 -4
  106. package/dist/cli/{session-TYKF747R.js → session-G2KJOPAP.js} +3 -3
  107. package/dist/cli/{show-ZO57LWIG.js → show-J2IF6U4J.js} +3 -3
  108. package/dist/cli/{skills-DJMKIDYU.js → skills-IPJJZMB7.js} +3 -3
  109. package/dist/cli/{snapshot-OILJVMMI.js → snapshot-ZMAYKGMZ.js} +3 -3
  110. package/dist/cli/{start-LT6KM7L3.js → start-SREEO3QL.js} +3 -3
  111. package/dist/cli/{stats-VZ7OYS7I.js → stats-DPW6K24D.js} +3 -3
  112. package/dist/cli/{sticky-26RIXY25.js → sticky-MS4WJ253.js} +3 -3
  113. package/dist/cli/{stop-H4URBWYA.js → stop-PDDDU3VP.js} +3 -3
  114. package/dist/cli/{sync-TDTVQPJ6.js → sync-MUWOGGOG.js} +4 -4
  115. package/dist/cli/{tasks-HXZGNHKP.js → tasks-KHNOCRHV.js} +3 -3
  116. package/dist/cli/{tasks-SLUW3NHO.js → tasks-QHI734UM.js} +4 -4
  117. package/dist/cli/{testing-5DAKBB4A.js → testing-P4KPPGDB.js} +3 -3
  118. package/dist/cli/{token-YHUG4KQY.js → token-5GFAWYKG.js} +3 -3
  119. package/dist/cli/{update-VMNQN7TL.js → update-44W5NBWH.js} +3 -3
  120. package/dist/cli/{verify-UPCLWNTM.js → verify-GHM23K5B.js} +11 -5
  121. package/dist/cli/{worktree-EUHVTVTE.js → worktree-7WJNLGTP.js} +3 -3
  122. package/package.json +14 -13
  123. package/studio-dist/client/_app/immutable/chunks/{BNQ7NAhS.js → B_Cm0K23.js} +1 -1
  124. package/studio-dist/client/_app/immutable/chunks/X4B6m7ok.js +1 -0
  125. package/studio-dist/client/_app/immutable/chunks/{DE4_7KWV.js → htIkBo3h.js} +1 -1
  126. package/studio-dist/client/_app/immutable/chunks/{CJYX-yxE.js → yeMtPcjs.js} +1 -1
  127. package/studio-dist/client/_app/immutable/entry/{app.BDFZAgrJ.js → app.D_QHaJ3z.js} +2 -2
  128. package/studio-dist/client/_app/immutable/entry/start.N9rktVuA.js +1 -0
  129. package/studio-dist/client/_app/immutable/nodes/{0.DUDoxE7x.js → 0.BVtAKyoD.js} +1 -1
  130. package/studio-dist/client/_app/immutable/nodes/{1.D0pNMdVv.js → 1.x9_HsgB7.js} +1 -1
  131. package/studio-dist/client/_app/immutable/nodes/{15.PF6pOn8S.js → 15.glZ43ttx.js} +1 -1
  132. package/studio-dist/client/_app/immutable/nodes/{16.C0uHS3zR.js → 16.SxXcT51y.js} +1 -1
  133. package/studio-dist/client/_app/immutable/nodes/{17.DLGeTWI_.js → 17.D96OPsSW.js} +1 -1
  134. package/studio-dist/client/_app/immutable/nodes/{18.DWh3GSs3.js → 18.GfqYk8Uu.js} +1 -1
  135. package/studio-dist/client/_app/immutable/nodes/{20.DMnKjbR5.js → 20.B20_ZVFX.js} +1 -1
  136. package/studio-dist/client/_app/immutable/nodes/{24.F7RprAtp.js → 24.DJCSnDKG.js} +1 -1
  137. package/studio-dist/client/_app/immutable/nodes/{25.4TnJbM1n.js → 25.BPu5r2zq.js} +2 -2
  138. package/studio-dist/client/_app/immutable/nodes/{26.CnoMV-8G.js → 26.D4oX5ton.js} +1 -1
  139. package/studio-dist/client/_app/immutable/nodes/{3.EzmJOiIQ.js → 3.DRXAzDuy.js} +1 -1
  140. package/studio-dist/client/_app/version.json +1 -1
  141. package/studio-dist/server/chunks/{0-BcoF6mVE.js → 0-fXXl4eGQ.js} +3 -3
  142. package/studio-dist/server/chunks/1-C3f4PLaZ.js +9 -0
  143. package/studio-dist/server/chunks/{15-BWgs34kd.js → 15-CeLGpJvD.js} +3 -3
  144. package/studio-dist/server/chunks/{16-BF0TbM9s.js → 16-4MHW1-6T.js} +3 -3
  145. package/studio-dist/server/chunks/{17-BA7Qdk00.js → 17-CHSE_reZ.js} +3 -3
  146. package/studio-dist/server/chunks/{18-OYxwOIDf.js → 18-CPdyOX1J.js} +3 -3
  147. package/studio-dist/server/chunks/{20-NoMz43B8.js → 20-BUik9a2i.js} +3 -3
  148. package/studio-dist/server/chunks/{24-DA9ZKbGa.js → 24-DL9CUKkc.js} +3 -3
  149. package/studio-dist/server/chunks/{25-CSbbMnnc.js → 25-DY9iOuEC.js} +27 -7
  150. package/studio-dist/server/chunks/{26-DDAi-8aZ.js → 26-DYALaCse.js} +3 -3
  151. package/studio-dist/server/chunks/{3-CZ0anfls.js → 3-yKa40-Hr.js} +3 -3
  152. package/studio-dist/server/chunks/{_layout.svelte-DPpvwkCW.js → _layout.svelte-DsAVcyEj.js} +4 -4
  153. package/studio-dist/server/chunks/{_page.svelte-sAKE10By.js → _page.svelte-B-YCLhOS.js} +3 -3
  154. package/studio-dist/server/chunks/{_page.svelte-NN-ysLIc.js → _page.svelte-BsXQOOQU.js} +3 -3
  155. package/studio-dist/server/chunks/{_page.svelte-Tf5yX_Q2.js → _page.svelte-COf241FA.js} +6 -6
  156. package/studio-dist/server/chunks/{_page.svelte-CU7rg9O0.js → _page.svelte-CbxJdxQC.js} +3 -3
  157. package/studio-dist/server/chunks/{_page.svelte-C6G1aW3a.js → _page.svelte-CcmiRQ4j.js} +3 -3
  158. package/studio-dist/server/chunks/{_page.svelte-CKuTQZbT.js → _page.svelte-Cf6G1gTh.js} +3 -3
  159. package/studio-dist/server/chunks/{_page.svelte-DSP0pUgr.js → _page.svelte-CjCDXXbC.js} +3 -3
  160. package/studio-dist/server/chunks/{_page.svelte-BwRzrYG3.js → _page.svelte-DTA6Lm_w.js} +3 -3
  161. package/studio-dist/server/chunks/{_page.svelte-DjRC7EhO.js → _page.svelte-OCrVFGoZ.js} +4 -4
  162. package/studio-dist/server/chunks/{_server.ts-B9opaYUF.js → _server.ts-BRr1plRB.js} +2 -2
  163. package/studio-dist/server/chunks/{_server.ts-CsFgN0Xw.js → _server.ts-BcsGXBPF.js} +3 -3
  164. package/studio-dist/server/chunks/{_server.ts-dhfnFFsl.js → _server.ts-CVUVmk-_.js} +3 -3
  165. package/studio-dist/server/chunks/{_server.ts-DlYk1cV4.js → _server.ts-CiYJJ0tA.js} +3 -3
  166. package/studio-dist/server/chunks/{_server.ts-BaNx2iKe.js → _server.ts-DuQtMtgL.js} +3 -3
  167. package/studio-dist/server/chunks/{client-BCCBOJ8I.js → client-BztYKJP1.js} +2 -2
  168. package/studio-dist/server/chunks/{error.svelte-DkkambGi.js → error.svelte-D_iuwUHJ.js} +3 -3
  169. package/studio-dist/server/chunks/{http-xrUffxJm.js → http-DGCHyZuV.js} +2 -2
  170. package/studio-dist/server/chunks/{internal-DjbHVYFr.js → internal-BZdEYjCu.js} +2 -2
  171. package/studio-dist/server/chunks/{operations-registry-ISk1IH0d.js → operations-registry-DmjBRBua.js} +8 -2
  172. package/studio-dist/server/chunks/{stores-CEqXo8K-.js → stores-D3P-ih8A.js} +2 -2
  173. package/studio-dist/server/index.js +1 -1
  174. package/studio-dist/server/manifest.js +17 -17
  175. package/dist/cli/hook-BNQLJ3IB.js +0 -75
  176. package/studio-dist/client/_app/immutable/chunks/jYKRn4J4.js +0 -1
  177. package/studio-dist/client/_app/immutable/entry/start.D11dzsFI.js +0 -1
  178. package/studio-dist/server/chunks/1-DTPDXp1K.js +0 -9
@@ -16,9 +16,21 @@
16
16
  import {
17
17
  createDoctorProgress
18
18
  } from "./chunk-W3JLYKKY.js";
19
+ import {
20
+ doctorTwinCollapseCommand
21
+ } from "./chunk-GKRFH2YG.js";
22
+ import {
23
+ doctorWorktreeStoresCommand
24
+ } from "./chunk-BQK6XTOH.js";
19
25
  import {
20
26
  readMigrationConflicts
21
27
  } from "./chunk-IIOGUY3B.js";
28
+ import {
29
+ doctorRowIdentityCommand
30
+ } from "./chunk-CYSM44YT.js";
31
+ import {
32
+ doctorSkillFixturesCommand
33
+ } from "./chunk-T6GZJYL3.js";
22
34
  import {
23
35
  doctorSplitBrainCommand
24
36
  } from "./chunk-7ACK4EIN.js";
@@ -38,11 +50,11 @@ import {
38
50
  doctorToolLocksCommand
39
51
  } from "./chunk-LLDYX63U.js";
40
52
  import {
41
- doctorTwinCollapseCommand
42
- } from "./chunk-GKRFH2YG.js";
53
+ doctorMemoryGuardCommand
54
+ } from "./chunk-HXRXT3XU.js";
43
55
  import {
44
- doctorWorktreeStoresCommand
45
- } from "./chunk-BQK6XTOH.js";
56
+ doctorMigrationsCommand
57
+ } from "./chunk-7UARFJYS.js";
46
58
  import {
47
59
  doctorNexusResidencyCommand
48
60
  } from "./chunk-XA5WISNV.js";
@@ -62,17 +74,17 @@ import {
62
74
  doctorRepairCommand
63
75
  } from "./chunk-CAPAGD5E.js";
64
76
  import {
65
- doctorRowIdentityCommand
66
- } from "./chunk-CYSM44YT.js";
67
- import {
68
- doctorSkillFixturesCommand
69
- } from "./chunk-T6GZJYL3.js";
77
+ doctorFkCheckCommand
78
+ } from "./chunk-FSKN4DWC.js";
70
79
  import {
71
80
  doctorGlobalDeliveryCommand
72
81
  } from "./chunk-HFLLZE6A.js";
73
82
  import {
74
83
  doctorHeavyCommandHookCommand
75
84
  } from "./chunk-COXFJ3PT.js";
85
+ import {
86
+ doctorHooksCommand
87
+ } from "./chunk-IJGR4AY4.js";
76
88
  import {
77
89
  doctorLegacyBackupsCommand
78
90
  } from "./chunk-7ZYPQV4N.js";
@@ -85,12 +97,6 @@ import {
85
97
  import {
86
98
  doctorManifestRowsCommand
87
99
  } from "./chunk-22YPFZYB.js";
88
- import {
89
- doctorMemoryGuardCommand
90
- } from "./chunk-HXRXT3XU.js";
91
- import {
92
- doctorMigrationsCommand
93
- } from "./chunk-7UARFJYS.js";
94
100
  import {
95
101
  doctorAcBindingsCommand
96
102
  } from "./chunk-CHGEDCKG.js";
@@ -112,9 +118,6 @@ import {
112
118
  import {
113
119
  doctorExodusCommand
114
120
  } from "./chunk-VKANU4TX.js";
115
- import {
116
- doctorFkCheckCommand
117
- } from "./chunk-FSKN4DWC.js";
118
121
  import "./chunk-47JYZAMS.js";
119
122
  import "./chunk-C3B7C43W.js";
120
123
  import {
@@ -123,7 +126,7 @@ import {
123
126
  import {
124
127
  dispatchFromCli,
125
128
  dispatchRaw
126
- } from "./chunk-V72T73VU.js";
129
+ } from "./chunk-J6GFQY5V.js";
127
130
  import "./chunk-6N6WGLXE.js";
128
131
  import "./chunk-4VASFLUW.js";
129
132
  import {
@@ -137,7 +140,7 @@ import {
137
140
  } from "./chunk-4RGSNUUP.js";
138
141
  import "./chunk-6JSJNYH2.js";
139
142
  import "./chunk-D7BAQNV2.js";
140
- import "./chunk-YM7SWWQX.js";
143
+ import "./chunk-YI5O7YZO.js";
141
144
 
142
145
  // packages/cleo/src/cli/commands/doctor.ts
143
146
  import { mkdirSync, writeFileSync } from "node:fs";
@@ -522,6 +525,7 @@ var doctorCommand = defineCommand({
522
525
  system: doctorSystemCommand,
523
526
  // T13124 — the heavy-command hook per agent harness in use (+ --fix installs it)
524
527
  "heavy-command-hook": doctorHeavyCommandHookCommand,
528
+ hooks: doctorHooksCommand,
525
529
  // T12353 · T12716 — tracked .cleo/project.json / project-id vs project-info.json (+ --resolve migrate / re-key)
526
530
  "project-identity": doctorProjectIdentityCommand,
527
531
  // T12596 · T12598 — ~/.cleo, the global hub and every harness skill install must resolve
@@ -1272,4 +1276,4 @@ Dependency cycles: check skipped (${msg})`);
1272
1276
  export {
1273
1277
  doctorCommand
1274
1278
  };
1275
- //# sourceMappingURL=doctor-UADXJBJS.js.map
1279
+ //# sourceMappingURL=doctor-ZSTYV4FJ.js.map
@@ -0,0 +1,26 @@
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
+ doctorHooksCommand
18
+ } from "./chunk-IJGR4AY4.js";
19
+ import "./chunk-C3B7C43W.js";
20
+ import "./chunk-PKKZPOOP.js";
21
+ import "./chunk-4RGSNUUP.js";
22
+ import "./chunk-6JSJNYH2.js";
23
+ export {
24
+ doctorHooksCommand
25
+ };
26
+ //# sourceMappingURL=doctor-hooks-VTASOKQO.js.map
@@ -16,11 +16,11 @@
16
16
  import {
17
17
  completeCommandArgs,
18
18
  completeDispatchParams
19
- } from "./chunk-FWTSORSA.js";
19
+ } from "./chunk-CVU2C3ZF.js";
20
20
  import "./chunk-C3B7C43W.js";
21
21
  import {
22
22
  dispatchRaw
23
- } from "./chunk-V72T73VU.js";
23
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
38
+ import "./chunk-YI5O7YZO.js";
39
39
 
40
40
  // packages/cleo/src/cli/commands/done.ts
41
41
  async function batchEntry(taskId, result, args) {
@@ -97,6 +97,10 @@ var doneCommand = defineCommand({
97
97
  pr: {
98
98
  type: "string",
99
99
  description: "The merged PR that implements the task (skips PR selection)"
100
+ },
101
+ "run-typed": {
102
+ type: "boolean",
103
+ description: "Execute the task's typed gates before recording. Without it cleo done executes no typed gate command: it uses passes cached by `cleo verify --run` (T13521)."
100
104
  }
101
105
  },
102
106
  async run({ args }) {
@@ -108,7 +112,11 @@ var doneCommand = defineCommand({
108
112
  return;
109
113
  }
110
114
  const { getProjectRoot } = await import("@cleocode/core/paths.js");
111
- const options = { projectRoot: getProjectRoot(), ...parsed.options };
115
+ const options = {
116
+ projectRoot: getProjectRoot(),
117
+ ...parsed.options,
118
+ ...args["run-typed"] === true ? { runTyped: true } : {}
119
+ };
112
120
  const requested = [
113
121
  ...new Set([args.taskId, ...args._ ?? []].map(String))
114
122
  ];
@@ -193,4 +201,4 @@ var doneCommand = defineCommand({
193
201
  export {
194
202
  doneCommand
195
203
  };
196
- //# sourceMappingURL=done-ZSUWISRY.js.map
204
+ //# sourceMappingURL=done-OJNI3I7X.js.map
@@ -17,7 +17,7 @@ import {
17
17
  dispatchFromCli,
18
18
  dispatchRaw,
19
19
  handleRawError
20
- } from "./chunk-V72T73VU.js";
20
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
30
+ import "./chunk-YI5O7YZO.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-VUSCRB5H.js.map
93
+ //# sourceMappingURL=export-LH5UJTJ7.js.map
@@ -17,7 +17,7 @@ import {
17
17
  dispatchFromCli,
18
18
  dispatchRaw,
19
19
  handleRawError
20
- } from "./chunk-V72T73VU.js";
20
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
30
+ import "./chunk-YI5O7YZO.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-5OFFZTAW.js.map
97
+ //# sourceMappingURL=export-tasks-NONTLPDO.js.map
@@ -17,7 +17,7 @@ import {
17
17
  dispatchRaw,
18
18
  handleRawError,
19
19
  maybeEmitDescribe
20
- } from "./chunk-V72T73VU.js";
20
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
32
+ import "./chunk-YI5O7YZO.js";
33
33
 
34
34
  // packages/cleo/src/cli/commands/find.ts
35
35
  import { ExitCode } from "@cleocode/contracts/exit-codes.js";
@@ -175,4 +175,4 @@ var findCommand = defineCommand({
175
175
  export {
176
176
  findCommand
177
177
  };
178
- //# sourceMappingURL=find-IO57ZCAV.js.map
178
+ //# sourceMappingURL=find-PMC7RICN.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-V72T73VU.js";
18
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
28
+ import "./chunk-YI5O7YZO.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/focus.ts
31
31
  var focusCommand = defineCommand({
@@ -53,4 +53,4 @@ var focusCommand = defineCommand({
53
53
  export {
54
54
  focusCommand
55
55
  };
56
- //# sourceMappingURL=focus-BHZPAPVM.js.map
56
+ //# sourceMappingURL=focus-B6UAE22J.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-V72T73VU.js";
18
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
28
+ import "./chunk-YI5O7YZO.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/grade.ts
31
31
  var gradeCommand = defineCommand({
@@ -54,4 +54,4 @@ var gradeCommand = defineCommand({
54
54
  export {
55
55
  gradeCommand
56
56
  };
57
- //# sourceMappingURL=grade-BTQY5Y66.js.map
57
+ //# sourceMappingURL=grade-K4QVKECD.js.map
@@ -16,7 +16,7 @@
16
16
  import {
17
17
  dispatchFromCli,
18
18
  dispatchRaw
19
- } from "./chunk-V72T73VU.js";
19
+ } from "./chunk-J6GFQY5V.js";
20
20
  import "./chunk-6N6WGLXE.js";
21
21
  import "./chunk-4VASFLUW.js";
22
22
  import {
@@ -34,7 +34,7 @@ import {
34
34
  setFormatContext
35
35
  } from "./chunk-6JSJNYH2.js";
36
36
  import "./chunk-D7BAQNV2.js";
37
- import "./chunk-YM7SWWQX.js";
37
+ import "./chunk-YI5O7YZO.js";
38
38
 
39
39
  // packages/cleo/src/cli/commands/graph.ts
40
40
  import path from "node:path";
@@ -876,4 +876,4 @@ var graphCommand = defineCommand({
876
876
  export {
877
877
  graphCommand
878
878
  };
879
- //# sourceMappingURL=graph-6PQZQCM5.js.map
879
+ //# sourceMappingURL=graph-ACUZZ6UP.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-V72T73VU.js";
18
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
29
+ import "./chunk-YI5O7YZO.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/history.ts
32
32
  var logCommand = defineCommand({
@@ -135,4 +135,4 @@ var historyCommand = defineCommand({
135
135
  export {
136
136
  historyCommand
137
137
  };
138
- //# sourceMappingURL=history-B2FQPJ7F.js.map
138
+ //# sourceMappingURL=history-OYXAFZLB.js.map
@@ -0,0 +1,197 @@
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 "./chunk-C3B7C43W.js";
17
+ import {
18
+ defineCommand,
19
+ showUsage
20
+ } from "./chunk-PKKZPOOP.js";
21
+ import {
22
+ cliError,
23
+ cliOutput
24
+ } from "./chunk-4RGSNUUP.js";
25
+ import "./chunk-6JSJNYH2.js";
26
+
27
+ // packages/cleo/src/cli/commands/hook.ts
28
+ var heavyCommandSubcommand = defineCommand({
29
+ meta: {
30
+ name: "heavy-command",
31
+ description: "PreToolUse hook: route heavy shell commands (tests, builds, typechecks, installs) through cleo run. Reads the hook JSON on stdin; prints the harness answer."
32
+ },
33
+ args: {
34
+ provider: {
35
+ type: "string",
36
+ description: "Harness protocol to answer in: claude-code (default), codex, kimi, opencode"
37
+ }
38
+ },
39
+ async run({ args }) {
40
+ const { runHookCli } = await import("./hook-entry.js");
41
+ const provider = typeof args.provider === "string" ? args.provider : "claude-code";
42
+ process.exitCode = await runHookCli(["heavy-command", "--provider", provider]);
43
+ }
44
+ });
45
+ var syncSubcommand = defineCommand({
46
+ meta: {
47
+ name: "sync",
48
+ description: "Preview or explicitly activate hash-bound project hooks; never grants native trust"
49
+ },
50
+ args: {
51
+ "dry-run": { type: "boolean", description: "Validate and preview without writing files" },
52
+ activate: {
53
+ type: "boolean",
54
+ description: "Explicitly activate current definition and handler hashes"
55
+ },
56
+ disable: {
57
+ type: "boolean",
58
+ description: "Disable execution and remove only unmodified receipt-owned entries"
59
+ },
60
+ providers: {
61
+ type: "string",
62
+ description: "Comma-separated harness IDs; otherwise detect project providers"
63
+ }
64
+ },
65
+ async run({ args }) {
66
+ if ([args.activate, args.disable, args["dry-run"]].filter(Boolean).length > 1) {
67
+ cliError("Choose one of --dry-run, --activate or --disable", "E_VALIDATION");
68
+ process.exitCode = 1;
69
+ return;
70
+ }
71
+ const state = await import("@cleocode/core/hooks/project-state");
72
+ if (args.activate === true) {
73
+ try {
74
+ await state.activateProjectHooks(process.cwd());
75
+ } catch (error) {
76
+ if (!(error instanceof state.HooksV1UnreleasedError)) throw error;
77
+ cliError(error.message, error.code, void 0, { operation: "hook.sync" });
78
+ process.exitCode = 1;
79
+ return;
80
+ }
81
+ }
82
+ if (args.disable === true) await state.disableProjectHooks(process.cwd());
83
+ const inspection = await state.inspectProjectHooks(process.cwd());
84
+ const { syncProjectHookProviders, hasUnsupportedProjectHookDelivery } = await import("@cleocode/adapters/project-hook-delivery");
85
+ const providers = await syncProjectHookProviders({
86
+ ...inspection.context,
87
+ services: state.createProjectHookDeliveryServices(),
88
+ events: inspection.manifest.hooks.flatMap(
89
+ (hook) => hook.bindings.filter((binding) => binding.source === "agent").map((binding) => binding.event)
90
+ ),
91
+ enabled: args.activate === true || args["dry-run"] === true || inspection.activation === "active",
92
+ dryRun: args.activate !== true && args.disable !== true,
93
+ rollback: args.disable === true,
94
+ providers: typeof args.providers === "string" ? args.providers.split(",") : void 0
95
+ });
96
+ const { installCleoHooks } = await import("@cleocode/core/git/hooks-install");
97
+ const git = await installCleoHooks(inspection.context.projectRoot, {
98
+ dryRun: args.activate !== true
99
+ });
100
+ const conflict = providers.some((provider) => provider.state === "conflict") || Object.keys(git.skipReasons).length > 0;
101
+ cliOutput(
102
+ {
103
+ inspection,
104
+ providers,
105
+ git,
106
+ deliveryStatus: conflict ? "conflict" : hasUnsupportedProjectHookDelivery(providers) ? "unsupported" : "complete"
107
+ },
108
+ { command: "hook", operation: "hook.sync" }
109
+ );
110
+ if (conflict) process.exitCode = 1;
111
+ }
112
+ });
113
+ var runSubcommand = defineCommand({
114
+ meta: {
115
+ name: "run",
116
+ description: "Native project hook adapter: advisory agents, authoritative Git verdicts"
117
+ },
118
+ args: {
119
+ source: { type: "string", description: "agent or git" },
120
+ provider: { type: "string", description: "Harness protocol identifier" },
121
+ event: { type: "string", description: "Canonical manifest event" },
122
+ "remote-name": { type: "string", description: "Git remote name" },
123
+ "remote-location": { type: "string", description: "Git remote location" },
124
+ probe: {
125
+ type: "boolean",
126
+ description: "Print lightweight runner capability token without stdin"
127
+ }
128
+ },
129
+ async run({ rawArgs }) {
130
+ const { runProjectHookCli } = await import("./project-hook-entry.js");
131
+ process.exitCode = await runProjectHookCli(rawArgs ?? []);
132
+ }
133
+ });
134
+ var checkSubcommand = defineCommand({
135
+ meta: {
136
+ name: "check",
137
+ description: "Run one activated project check with a LAFS result; --ci fails unavailable checks"
138
+ },
139
+ args: {
140
+ id: { type: "positional", required: true, description: "Manifest hook ID" },
141
+ ci: { type: "boolean", description: "Require verifiable CI outcomes" },
142
+ input: { type: "string", description: "Bounded JSON request file passed as toolInput" },
143
+ candidate: {
144
+ type: "string",
145
+ description: "Explicit committed candidate SHA (toolInput.candidate)"
146
+ }
147
+ },
148
+ async run({ args }) {
149
+ const { checkProjectHookCli } = await import("./project-hook-entry.js");
150
+ await checkProjectHookCli(
151
+ String(args.id),
152
+ args.ci === true ? "ci" : "direct",
153
+ process.cwd(),
154
+ args.input,
155
+ args.candidate
156
+ );
157
+ }
158
+ });
159
+ var askEnforceSubcommand = defineCommand({
160
+ meta: {
161
+ name: "ask-enforce",
162
+ description: "Stop hook (T13420): block a turn that ends asking the owner in prose without an ask-tool call, and tell the agent to re-ask with its ask tool. Reads the Stop JSON on stdin; prints the harness answer."
163
+ },
164
+ args: {
165
+ provider: {
166
+ type: "string",
167
+ description: "Harness protocol to answer in: claude-code (default), codex, copilot-cli, gemini-cli, cursor, opencode, kimi"
168
+ }
169
+ },
170
+ async run({ args }) {
171
+ const { runHookCli } = await import("./hook-entry.js");
172
+ const provider = typeof args.provider === "string" ? args.provider : "claude-code";
173
+ process.exitCode = await runHookCli(["ask-enforce", "--provider", provider]);
174
+ }
175
+ });
176
+ var hookCommand = defineCommand({
177
+ meta: {
178
+ name: "hook",
179
+ description: "Agent-harness hooks installed by cleo init/upgrade; stdout is the harness hook protocol, not LAFS: cleo hook heavy-command --provider claude-code|codex|kimi|opencode"
180
+ },
181
+ subCommands: {
182
+ "heavy-command": heavyCommandSubcommand,
183
+ "ask-enforce": askEnforceSubcommand,
184
+ sync: syncSubcommand,
185
+ run: runSubcommand,
186
+ check: checkSubcommand
187
+ },
188
+ async run({ cmd, rawArgs }) {
189
+ const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
190
+ if (firstArg && cmd.subCommands && firstArg in cmd.subCommands) return;
191
+ await showUsage(cmd);
192
+ }
193
+ });
194
+ export {
195
+ hookCommand
196
+ };
197
+ //# sourceMappingURL=hook-HFMCKPDG.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-V72T73VU.js";
18
+ } from "./chunk-J6GFQY5V.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-YM7SWWQX.js";
29
+ import "./chunk-YI5O7YZO.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/import.ts
32
32
  var importCommand = defineCommand({
@@ -86,4 +86,4 @@ var importCommand = defineCommand({
86
86
  export {
87
87
  importCommand
88
88
  };
89
- //# sourceMappingURL=import-P3PCQ7RG.js.map
89
+ //# sourceMappingURL=import-OWNNBXHE.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-47JYZAMS.js";
19
19
  import {
20
20
  dispatchFromCli
21
- } from "./chunk-V72T73VU.js";
21
+ } from "./chunk-J6GFQY5V.js";
22
22
  import "./chunk-6N6WGLXE.js";
23
23
  import "./chunk-4VASFLUW.js";
24
24
  import {
@@ -28,7 +28,7 @@ import "./chunk-QKMBWYAS.js";
28
28
  import "./chunk-4RGSNUUP.js";
29
29
  import "./chunk-6JSJNYH2.js";
30
30
  import "./chunk-D7BAQNV2.js";
31
- import "./chunk-YM7SWWQX.js";
31
+ import "./chunk-YI5O7YZO.js";
32
32
 
33
33
  // packages/cleo/src/cli/commands/import-tasks.ts
34
34
  var importTasksCommand = defineCommand({
@@ -106,4 +106,4 @@ var importTasksCommand = defineCommand({
106
106
  export {
107
107
  importTasksCommand
108
108
  };
109
- //# sourceMappingURL=import-tasks-VBM3PG3Y.js.map
109
+ //# sourceMappingURL=import-tasks-ALKVWV7O.js.map