@cleocode/cleo 2026.11.6 → 2026.11.7

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 (311) hide show
  1. package/dist/.source-stamp.json +1 -1
  2. package/dist/cli/{adapter-DNIQAUAE.js → adapter-MTLMLKJP.js} +4 -4
  3. package/dist/cli/{add-7G6ZSXGI.js → add-JOSMDYJD.js} +4 -4
  4. package/dist/cli/{add-batch-IYEJNZBB.js → add-batch-7I66U6RD.js} +4 -4
  5. package/dist/cli/{admin-DUSFTIIA.js → admin-2QWJONPJ.js} +3 -3
  6. package/dist/cli/{admin-7OERET6Z.js → admin-ON6ESMI4.js} +4 -4
  7. package/dist/cli/{adr-GTLMVL2S.js → adr-32265IDQ.js} +4 -4
  8. package/dist/cli/{agent-KKMNGKR2.js → agent-7RKJZVOX.js} +2 -2
  9. package/dist/cli/{agent-outputs-ZEKMONK2.js → agent-outputs-IAMBJRFV.js} +2 -2
  10. package/dist/cli/{analyze-ACX45VES.js → analyze-7FRZNENA.js} +4 -4
  11. package/dist/cli/{archive-QBPCJ4D4.js → archive-4CCTHTR5.js} +4 -4
  12. package/dist/cli/{archive-stats-ODIOP6VU.js → archive-stats-MEWFIXFI.js} +4 -4
  13. package/dist/cli/{attention-EL6KUR6J.js → attention-OVXDO4HA.js} +4 -4
  14. package/dist/cli/{audit-JTEHB556.js → audit-4P77KE7F.js} +2 -2
  15. package/dist/cli/{auth-QNFL6SIX.js → auth-NDMRXP6J.js} +5 -5
  16. package/dist/cli/{backfill-QCEV5ZJR.js → backfill-XOLU643T.js} +2 -2
  17. package/dist/cli/{backup-FCZISJKK.js → backup-I6XSO5Y5.js} +6 -6
  18. package/dist/cli/{backup-inspect-YS4HJUFF.js → backup-inspect-A63C67QV.js} +3 -3
  19. package/dist/cli/{backup-recover-6RRWTZUF.js → backup-recover-VYH4XYBB.js} +3 -3
  20. package/dist/cli/{blockers-4HEHQ5RP.js → blockers-OY6KOQI6.js} +4 -4
  21. package/dist/cli/{brain-MPZZ73RR.js → brain-6SP7XFCH.js} +2 -2
  22. package/dist/cli/{briefing-QTDTHQBJ.js → briefing-Z7XLP57Z.js} +4 -4
  23. package/dist/cli/{caamp-6BHIZIRC.js → caamp-IBR6VFKW.js} +2 -2
  24. package/dist/cli/{cancel-LIJLDFEN.js → cancel-XJW4SJ43.js} +4 -4
  25. package/dist/cli/{cant-7YDYKDCE.js → cant-BNYPULV2.js} +2 -2
  26. package/dist/cli/{changeset-XDMWUH4W.js → changeset-PKFFZPI3.js} +2 -2
  27. package/dist/cli/{check-QZW42HWZ.js → check-E4A3WVOJ.js} +4 -4
  28. package/dist/cli/{check-EZQOZ4HQ.js → check-YLYEMNN5.js} +2 -2
  29. package/dist/cli/{checkpoint-WGT5Q4IV.js → checkpoint-TIKXD4YP.js} +2 -2
  30. package/dist/cli/{chunk-M7L5XJYS.js → chunk-2PZJEI6H.js} +2 -2
  31. package/dist/cli/{chunk-TBIXOLSO.js → chunk-2QAZIQAJ.js} +2 -2
  32. package/dist/cli/{chunk-VV65VS2B.js → chunk-3IFNNVLN.js} +2 -2
  33. package/dist/cli/{chunk-TRUE5NCE.js → chunk-4JUOYXHT.js} +2 -2
  34. package/dist/cli/{chunk-YQQXHUUN.js → chunk-6AZNSVWZ.js} +2 -2
  35. package/dist/cli/{chunk-UAHZXF7P.js → chunk-6N2MQ46Y.js} +2 -2
  36. package/dist/cli/{chunk-BSIPR5S5.js → chunk-6W3KEHBQ.js} +2 -2
  37. package/dist/cli/{chunk-UYNMYQIG.js → chunk-7D6HRSCP.js} +2 -2
  38. package/dist/cli/{chunk-OKJRQJVP.js → chunk-A5K6P7BZ.js} +3 -3
  39. package/dist/cli/{chunk-2DRYEF4Q.js → chunk-BFTJRU7B.js} +2 -2
  40. package/dist/cli/{chunk-K3VVRO75.js → chunk-BFUFHSMR.js} +2 -2
  41. package/dist/cli/{chunk-IC33OPZA.js → chunk-C2NIEAVD.js} +2 -2
  42. package/dist/cli/{chunk-ICFMF56Q.js → chunk-C4QUF63I.js} +2 -2
  43. package/dist/cli/{chunk-5OFSGZLM.js → chunk-CADWISGO.js} +2 -2
  44. package/dist/cli/{chunk-AXFIVWJZ.js → chunk-CHQ7EHWA.js} +4 -4
  45. package/dist/cli/{chunk-57YMZSNI.js → chunk-CJU6L2OZ.js} +2 -2
  46. package/dist/cli/{chunk-2FVSEFH6.js → chunk-CWB2DE2T.js} +3 -3
  47. package/dist/cli/{chunk-367CXLZW.js → chunk-DHBNY57L.js} +2 -2
  48. package/dist/cli/{chunk-B3NZQ2Y4.js → chunk-ECMRWMK5.js} +2 -2
  49. package/dist/cli/{chunk-3C4ABVIM.js → chunk-HIH3KGYK.js} +2 -2
  50. package/dist/cli/{chunk-7AEZ35UT.js → chunk-HMXMKGWW.js} +2 -2
  51. package/dist/cli/{chunk-FYS4D5VL.js → chunk-HY2XJKIH.js} +2 -2
  52. package/dist/cli/{chunk-3FLFKMKA.js → chunk-IXWH3DQ6.js} +3 -3
  53. package/dist/cli/{chunk-DA7LGEOB.js → chunk-JMPVSRLW.js} +2 -2
  54. package/dist/cli/{chunk-BELA5D4T.js → chunk-LS42V7KM.js} +2 -2
  55. package/dist/cli/{chunk-IDZSVRTW.js → chunk-MP73DUB5.js} +2 -2
  56. package/dist/cli/{chunk-4C4NJVR3.js → chunk-MPYI7OPJ.js} +2 -2
  57. package/dist/cli/{chunk-HACZVXOL.js → chunk-NPK46IP4.js} +2 -2
  58. package/dist/cli/{chunk-6ZCDCJB4.js → chunk-O66H6MHB.js} +5 -4
  59. package/dist/cli/{chunk-HPRGQCRR.js → chunk-OIHKNG7R.js} +2 -2
  60. package/dist/cli/{chunk-Z24VFMRA.js → chunk-OMC5QTKJ.js} +2 -2
  61. package/dist/cli/{chunk-76QLAP54.js → chunk-P4WXW45I.js} +2 -2
  62. package/dist/cli/{chunk-KA636FBJ.js → chunk-QVDLN5F4.js} +3 -3
  63. package/dist/cli/{chunk-SKQG2E6A.js → chunk-R3XA2Q7Z.js} +2 -2
  64. package/dist/cli/{chunk-6KWKDXMT.js → chunk-RFACFEXX.js} +2 -2
  65. package/dist/cli/{chunk-7VAYYOTQ.js → chunk-RO6ASC74.js} +2 -2
  66. package/dist/cli/{chunk-762STE53.js → chunk-RS2CPJRN.js} +2 -2
  67. package/dist/cli/{chunk-FD6EQLV7.js → chunk-RVTWMNJA.js} +5 -1
  68. package/dist/cli/{chunk-6VT7QNQH.js → chunk-RXSS7UKT.js} +2 -2
  69. package/dist/cli/{chunk-OMLSVE5U.js → chunk-RY72JTHI.js} +2 -2
  70. package/dist/cli/{chunk-7SAEIC7N.js → chunk-S2DNVOHG.js} +55 -35
  71. package/dist/cli/{chunk-QZKOWHXO.js → chunk-SI2PWNTA.js} +2 -2
  72. package/dist/cli/{chunk-LVPOIHUW.js → chunk-T4HIMCVM.js} +2 -2
  73. package/dist/cli/{chunk-FJ5CWNTM.js → chunk-T5VRZN4X.js} +2 -2
  74. package/dist/cli/{chunk-KNHQAYMR.js → chunk-U2SHMLTO.js} +2 -2
  75. package/dist/cli/{chunk-2EBQ2UPV.js → chunk-WE7BH2XX.js} +2 -2
  76. package/dist/cli/{chunk-BJL3MZUI.js → chunk-WOBFHD5N.js} +2 -2
  77. package/dist/cli/{chunk-IDFVCC6T.js → chunk-WPJUAUCS.js} +2 -2
  78. package/dist/cli/{chunk-ZTGCEEWZ.js → chunk-XCUSWQMX.js} +11 -11
  79. package/dist/cli/{chunk-UGEJXSUY.js → chunk-XZCAVKK2.js} +2 -2
  80. package/dist/cli/chunk-Y2QMH46Z.js +71 -0
  81. package/dist/cli/{chunk-5D5EFJTJ.js → chunk-Y6WHDJC3.js} +2 -2
  82. package/dist/cli/{claim-CXVDEVBZ.js → claim-G4SI6DNK.js} +4 -4
  83. package/dist/cli/{classify-KWJ3TFEC.js → classify-TQTY7OLV.js} +2 -2
  84. package/dist/cli/{cli-O7A4G47C.js → cli-QZ75S2DH.js} +4 -4
  85. package/dist/cli/{cloud-2H332MHX.js → cloud-R4ADM3MA.js} +4 -4
  86. package/dist/cli/{code-NB4L5SQS.js → code-47MFC3NB.js} +2 -2
  87. package/dist/cli/{complete-7OECLY6V.js → complete-3KC4VQDV.js} +5 -5
  88. package/dist/cli/{complexity-LK6OXIFS.js → complexity-VPXDA3A4.js} +4 -4
  89. package/dist/cli/{compliance-JYQRYOXD.js → compliance-IZ4Y63QC.js} +4 -4
  90. package/dist/cli/{config-WDXIYPH2.js → config-GWVPGNRX.js} +7 -7
  91. package/dist/cli/{consensus-RHJRHJWG.js → consensus-XNLLAZMS.js} +4 -4
  92. package/dist/cli/{context-KSI7SLJS.js → context-4RVWXUZV.js} +4 -4
  93. package/dist/cli/{contribution-TIPCGLH4.js → contribution-H6TL3IPW.js} +4 -4
  94. package/dist/cli/{curator-O2FXIQFI.js → curator-4QVCTK35.js} +2 -2
  95. package/dist/cli/{current-Z3STR725.js → current-IE5GGEB2.js} +4 -4
  96. package/dist/cli/{daemon-J3QLBT2Q.js → daemon-63O6X2AE.js} +4 -4
  97. package/dist/cli/{dash-GWWMJ6NZ.js → dash-L4HS7JVI.js} +4 -4
  98. package/dist/cli/{decide-7JM6V3MS.js → decide-ZBQIKEQV.js} +2 -2
  99. package/dist/cli/{decompose-4ZZMM42D.js → decompose-CZGR6GIX.js} +4 -4
  100. package/dist/cli/{decomposition-2A2SH7EH.js → decomposition-CZ6TBKLV.js} +4 -4
  101. package/dist/cli/{delete-57SFYAMW.js → delete-4R7CP6PM.js} +4 -4
  102. package/dist/cli/{deps-KIARATVG.js → deps-3EUL5A5O.js} +4 -4
  103. package/dist/cli/{detect-PZYRMXZO.js → detect-NEJGCNWB.js} +4 -4
  104. package/dist/cli/{detect-drift-M5C4RFJ5.js → detect-drift-57TIYJUM.js} +2 -2
  105. package/dist/cli/{diagnostics-JZNIOKHB.js → diagnostics-PSMZN42J.js} +4 -4
  106. package/dist/cli/{docs-QTTLYYWU.js → docs-DHW4SV4M.js} +4 -4
  107. package/dist/cli/{docs-CBL7CZFL.js → docs-K3LEJIEJ.js} +2 -2
  108. package/dist/cli/{doctor-DHKK4XTP.js → doctor-OIXHKG3M.js} +47 -42
  109. package/dist/cli/{doctor-ac-bindings-PBJQ5AS6.js → doctor-ac-bindings-GT2OICWS.js} +3 -3
  110. package/dist/cli/{doctor-acceptance-drift-FIV25NRE.js → doctor-acceptance-drift-MXVC2SHC.js} +3 -3
  111. package/dist/cli/{doctor-credentials-W7EGOG54.js → doctor-credentials-ENH3LILJ.js} +3 -3
  112. package/dist/cli/{doctor-db-substrate-DQJDPL4K.js → doctor-db-substrate-EAX657SM.js} +3 -3
  113. package/dist/cli/{doctor-dep-cycles-2RK2MAHL.js → doctor-dep-cycles-JLYXXBIU.js} +3 -3
  114. package/dist/cli/{doctor-exodus-SCIA5CZ5.js → doctor-exodus-3344EYNK.js} +3 -3
  115. package/dist/cli/{doctor-exodus-residue-N7R3FRC5.js → doctor-exodus-residue-2FS6PBFM.js} +3 -3
  116. package/dist/cli/{doctor-fk-check-5TND2DZH.js → doctor-fk-check-O46NCMGU.js} +3 -3
  117. package/dist/cli/{doctor-global-delivery-ENAHOZF7.js → doctor-global-delivery-WBMVCWI3.js} +3 -3
  118. package/dist/cli/{doctor-goal-runtime-PN6LJFPN.js → doctor-goal-runtime-52XNW5YR.js} +3 -3
  119. package/dist/cli/{doctor-heavy-command-hook-UK3PLJRM.js → doctor-heavy-command-hook-CKONSLPY.js} +3 -3
  120. package/dist/cli/{doctor-hooks-ABHXHN2C.js → doctor-hooks-SDLQYKLK.js} +3 -3
  121. package/dist/cli/{doctor-legacy-backups-6NXVR43I.js → doctor-legacy-backups-UH5THXWX.js} +3 -3
  122. package/dist/cli/{doctor-legacy-reaper-SWQOAPNV.js → doctor-legacy-reaper-O2PCFEOW.js} +3 -3
  123. package/dist/cli/{doctor-malformed-ids-VPZE6A4O.js → doctor-malformed-ids-6BFNYZLP.js} +3 -3
  124. package/dist/cli/{doctor-manifest-rows-GHPAYQ6I.js → doctor-manifest-rows-6DML3WY2.js} +3 -3
  125. package/dist/cli/{doctor-memory-guard-Z6IMLQ5C.js → doctor-memory-guard-IIY6Q356.js} +3 -3
  126. package/dist/cli/{doctor-migrations-6HICMUH5.js → doctor-migrations-E5OZDYCO.js} +3 -3
  127. package/dist/cli/{doctor-nexus-residency-VEOZBSYZ.js → doctor-nexus-residency-O4VZIKLK.js} +3 -3
  128. package/dist/cli/{doctor-project-identity-UPRBKXXU.js → doctor-project-identity-KC4XKKLO.js} +3 -3
  129. package/dist/cli/{doctor-projects-3BKEL6SE.js → doctor-projects-GMTD52MA.js} +3 -3
  130. package/dist/cli/{doctor-projects-registry-JQRWKMRP.js → doctor-projects-registry-3UQT5MHY.js} +3 -3
  131. package/dist/cli/{doctor-release-readiness-ZAK5RKP7.js → doctor-release-readiness-MTBY3SGN.js} +3 -3
  132. package/dist/cli/{doctor-repair-KP66YRVA.js → doctor-repair-SFCRNNN4.js} +3 -3
  133. package/dist/cli/doctor-repair-store-GVDRNDAM.js +26 -0
  134. package/dist/cli/{doctor-row-identity-7BDE6BMR.js → doctor-row-identity-7QDBRL25.js} +3 -3
  135. package/dist/cli/{doctor-skill-fixtures-MJQ7BJRE.js → doctor-skill-fixtures-VTOE6STK.js} +3 -3
  136. package/dist/cli/{doctor-split-brain-FFQ7U2FI.js → doctor-split-brain-34VQN2BH.js} +3 -3
  137. package/dist/cli/{doctor-superseded-store-FQSFKMEX.js → doctor-superseded-store-I3VFC6UY.js} +3 -3
  138. package/dist/cli/{doctor-sync-journal-AM5M5RGO.js → doctor-sync-journal-NJWBZEXX.js} +3 -3
  139. package/dist/cli/{doctor-sync-triggers-4GSCFCL7.js → doctor-sync-triggers-RXZYXELK.js} +3 -3
  140. package/dist/cli/{doctor-system-S7KYSUXW.js → doctor-system-YXMPH2YY.js} +3 -3
  141. package/dist/cli/{doctor-tool-locks-XRRQJ3MK.js → doctor-tool-locks-X3BNIT7L.js} +3 -3
  142. package/dist/cli/{doctor-twin-collapse-SJM5LNAO.js → doctor-twin-collapse-L44B6EV6.js} +3 -3
  143. package/dist/cli/{doctor-type-matrix-6MJXOZI2.js → doctor-type-matrix-3JNZJ4VY.js} +3 -3
  144. package/dist/cli/{doctor-worktree-stores-TIR5ZDJ4.js → doctor-worktree-stores-SB7SJPAS.js} +3 -3
  145. package/dist/cli/{done-QNKQAHBX.js → done-BNDTW7RS.js} +5 -5
  146. package/dist/cli/{event-J2A7PIDI.js → event-AEHEPQMZ.js} +2 -2
  147. package/dist/cli/{exists-NN5QNXFW.js → exists-GLTBRVAU.js} +2 -2
  148. package/dist/cli/{exodus-VIV4AX54.js → exodus-MV3SUX5C.js} +2 -2
  149. package/dist/cli/{export-HA7GTOP2.js → export-Z44N6Q5I.js} +4 -4
  150. package/dist/cli/{export-tasks-PTTWZYJ6.js → export-tasks-GTLLQHZB.js} +4 -4
  151. package/dist/cli/{federation-7WZTYIX7.js → federation-ZZYTZZCN.js} +2 -2
  152. package/dist/cli/{find-A3FLUE5Z.js → find-73C7FJEH.js} +4 -4
  153. package/dist/cli/{focus-A4CNBBHS.js → focus-BFDFQR7C.js} +4 -4
  154. package/dist/cli/{gateway-WVQ3QQFW.js → gateway-R46KV6K7.js} +2 -2
  155. package/dist/cli/{gc-PZGIBTWQ.js → gc-BQXUM6VS.js} +2 -2
  156. package/dist/cli/{go-LK5WEP3M.js → go-JGPRDKM3.js} +2 -2
  157. package/dist/cli/{goal-EATP7C6B.js → goal-3EMKTXZN.js} +3 -3
  158. package/dist/cli/{grade-AJUD4WEU.js → grade-L7VW5UFQ.js} +4 -4
  159. package/dist/cli/{graph-UF5UPR5I.js → graph-4JFIKVXO.js} +4 -4
  160. package/dist/cli/{history-KOS4N4XV.js → history-BOUCC36K.js} +4 -4
  161. package/dist/cli/{hook-VMFPDWVJ.js → hook-JA5PACRR.js} +2 -2
  162. package/dist/cli/{hygiene-NJD3GR56.js → hygiene-JGDH3FGP.js} +52 -9
  163. package/dist/cli/{import-72G5XZGQ.js → import-6PMNKBGZ.js} +4 -4
  164. package/dist/cli/{import-tasks-X4UKG7RR.js → import-tasks-V3PBPKWX.js} +4 -4
  165. package/dist/cli/index.js +206 -200
  166. package/dist/cli/{init-KNRJ22RZ.js → init-HCCO5DDU.js} +5 -5
  167. package/dist/cli/{inject-JTABPC3W.js → inject-HUOZU6NJ.js} +4 -4
  168. package/dist/cli/{install-global-GU4F2KKV.js → install-global-PQEQWUEA.js} +2 -2
  169. package/dist/cli/{intelligence-YKGRN4XL.js → intelligence-3ADO6N3S.js} +4 -4
  170. package/dist/cli/{issue-VVKE3LBM.js → issue-NV7SVJYK.js} +4 -4
  171. package/dist/cli/{janitor-LU6EA55M.js → janitor-F5M5IGK6.js} +2 -2
  172. package/dist/cli/{labels-BDM3JFDL.js → labels-P27BDP7W.js} +4 -4
  173. package/dist/cli/{lean-GXLAUNNG.js → lean-XNVYKNM4.js} +2 -2
  174. package/dist/cli/{lifecycle-GNKSC5PL.js → lifecycle-KDAMF5OV.js} +5 -5
  175. package/dist/cli/{list-2KHRKLCQ.js → list-G73MS5W6.js} +4 -4
  176. package/dist/cli/{llm-GWOD7WRT.js → llm-JWUIFC2S.js} +8 -8
  177. package/dist/cli/{llm-cost-DYY7IC4W.js → llm-cost-KQ7ZPZCE.js} +3 -3
  178. package/dist/cli/{llm-stream-G35ANQKL.js → llm-stream-XN5F5M6T.js} +3 -3
  179. package/dist/cli/{log-CQAQF2AD.js → log-A3CUHT6I.js} +4 -4
  180. package/dist/cli/{login-IRTRPQTX.js → login-NV6HA2DZ.js} +4 -4
  181. package/dist/cli/{logout-XEL6AVVB.js → logout-GMI6SBGI.js} +4 -4
  182. package/dist/cli/{manifest-ZMNIEL4S.js → manifest-P6RP6YO3.js} +4 -4
  183. package/dist/cli/{map-BW7FYKU6.js → map-VVAFO54B.js} +4 -4
  184. package/dist/cli/{memory-IEKGG7R5.js → memory-67H5WQP7.js} +2 -2
  185. package/dist/cli/{memory-42T5WHCD.js → memory-NXSDWZ4G.js} +4 -4
  186. package/dist/cli/{merge-JCDDPQIX.js → merge-HBAKKVJY.js} +2 -2
  187. package/dist/cli/{migrate-agents-v2-4W4ZSHZM.js → migrate-agents-v2-TMAIWFF5.js} +3 -3
  188. package/dist/cli/{migrate-claude-mem-FAGYYGF5.js → migrate-claude-mem-VH7KCIMT.js} +5 -5
  189. package/dist/cli/{next-CAIKE4TQ.js → next-JQVYCUIJ.js} +4 -4
  190. package/dist/cli/{nexus-MXPSQS3M.js → nexus-OV2L7IBR.js} +2 -2
  191. package/dist/cli/{nexus-S4GGTYKE.js → nexus-X5N5CSZA.js} +4 -4
  192. package/dist/cli/{nexus-vault-cli-G7QY446L.js → nexus-vault-cli-MFLBZJ5G.js} +4 -4
  193. package/dist/cli/{ops-TJLSCFYA.js → ops-SKDUL3NN.js} +4 -4
  194. package/dist/cli/{orchestrate-5HTQFEDF.js → orchestrate-262HFLOQ.js} +4 -4
  195. package/dist/cli/{orchestrate-SZAFZMUL.js → orchestrate-ODIYGJK4.js} +2 -2
  196. package/dist/cli/{otel-4AS22352.js → otel-DISCEMMB.js} +2 -2
  197. package/dist/cli/{owner-override-cap-5XAZD23U.js → owner-override-cap-GG2IAH4O.js} +4 -4
  198. package/dist/cli/{owner-password-VBK5RHKP.js → owner-password-C7XQWO45.js} +3 -3
  199. package/dist/cli/{phase-MTKODGXQ.js → phase-W7QVURCM.js} +4 -4
  200. package/dist/cli/{pipeline-GPQRZ4JT.js → pipeline-JBFKZENH.js} +2 -2
  201. package/dist/cli/{pivot-X6XU5CMJ.js → pivot-L3VNIFBY.js} +4 -4
  202. package/dist/cli/{plan-426EWIJC.js → plan-5XHEEJJR.js} +4 -4
  203. package/dist/cli/{playbook-N2TGNXWM.js → playbook-U6SEJD6G.js} +4 -4
  204. package/dist/cli/{project-RCRORK6A.js → project-LALZUK7C.js} +3 -3
  205. package/dist/cli/project-hook-entry.js +1 -1
  206. package/dist/cli/{promote-KTNRDUQF.js → promote-BYF64OLA.js} +4 -4
  207. package/dist/cli/{provenance-IDPOHRPZ.js → provenance-WTIWWPKO.js} +4 -4
  208. package/dist/cli/{provider-47JRHXQ3.js → provider-AEUVJU2I.js} +4 -4
  209. package/dist/cli/{reason-IMVCIHWY.js → reason-754FCILJ.js} +4 -4
  210. package/dist/cli/{reconcile-FSNMLFDA.js → reconcile-MTIGVDSU.js} +4 -4
  211. package/dist/cli/{refresh-memory-XVQE7B7L.js → refresh-memory-B6YAF6RJ.js} +2 -2
  212. package/dist/cli/{relates-TJKMWKRB.js → relates-5AVETQPK.js} +4 -4
  213. package/dist/cli/{release-AMOHZIRS.js → release-TKLOJS5I.js} +5 -5
  214. package/dist/cli/{release-authorize-OPL262T6.js → release-authorize-Q3GH7A2R.js} +4 -4
  215. package/dist/cli/{remote-XJGF5MGU.js → remote-7K3S3KHY.js} +2 -2
  216. package/dist/cli/{renderers-AMSXAXLY.js → renderers-RPNMCACP.js} +2 -2
  217. package/dist/cli/{reorder-7S445OYV.js → reorder-A5LFJZGP.js} +4 -4
  218. package/dist/cli/{reparent-H6MWOYOZ.js → reparent-VX5SPGIL.js} +4 -4
  219. package/dist/cli/{req-6OEVP2DE.js → req-MQV3I2XJ.js} +4 -4
  220. package/dist/cli/{research-2NR5G542.js → research-52EE4BCB.js} +4 -4
  221. package/dist/cli/{restore-576QDDGA.js → restore-FW4BZX5S.js} +4 -4
  222. package/dist/cli/{revert-2F3RPBGW.js → revert-S6XZSOIR.js} +2 -2
  223. package/dist/cli/{review-LTRABBAL.js → review-EYCWYN3K.js} +2 -2
  224. package/dist/cli/{roadmap-SYA4KMKB.js → roadmap-YUDCCBWA.js} +4 -4
  225. package/dist/cli/{run-LH2KI2BV.js → run-SKN2K66R.js} +2 -2
  226. package/dist/cli/{safestop-WSA75DFT.js → safestop-3B65EL7O.js} +4 -4
  227. package/dist/cli/{saga-YTGEINZO.js → saga-LABWVDIG.js} +4 -4
  228. package/dist/cli/{schema-J4UNFL5K.js → schema-HGUYROMZ.js} +2 -2
  229. package/dist/cli/{self-update-OP7X4SV5.js → self-update-6VFXEUMJ.js} +2 -2
  230. package/dist/cli/{selfimprove-6NXLIH6Y.js → selfimprove-JDZMT5D5.js} +2 -2
  231. package/dist/cli/{selfimprove-NKYPUYTS.js → selfimprove-SUJX76LV.js} +4 -4
  232. package/dist/cli/{sentient-B7TXJ2XI.js → sentient-OY2NLA26.js} +2 -2
  233. package/dist/cli/{sequence-JIIZDMNM.js → sequence-D6PHITZ4.js} +4 -4
  234. package/dist/cli/{service-2OTJ7Y5Z.js → service-JXSPQ4XC.js} +4 -4
  235. package/dist/cli/{session-KSLOTSWP.js → session-WTP7DZ3W.js} +5 -5
  236. package/dist/cli/{session-3U6T35Y7.js → session-WZZOEZP7.js} +2 -2
  237. package/dist/cli/{setup-JQ3DFC5Q.js → setup-7B73SPUH.js} +4 -4
  238. package/dist/cli/{show-OQIGSLWF.js → show-34XRKVFX.js} +4 -4
  239. package/dist/cli/{skill-HOUTOSDX.js → skill-IVJIF2JE.js} +2 -2
  240. package/dist/cli/{skills-CRAUHQHZ.js → skills-IGNFGJ7B.js} +6 -6
  241. package/dist/cli/{snapshot-YWKRZ7KC.js → snapshot-RRCWB3SY.js} +4 -4
  242. package/dist/cli/{start-TAQGWAZU.js → start-FOFBWVNU.js} +4 -4
  243. package/dist/cli/{stats-ZBRBQE5A.js → stats-I2HDFMV7.js} +4 -4
  244. package/dist/cli/{status-7BIMUOCS.js → status-DPVBWGAB.js} +2 -2
  245. package/dist/cli/{sticky-I3UJPZET.js → sticky-RRZH6BMH.js} +4 -4
  246. package/dist/cli/{stop-77JH47UX.js → stop-XZZAFK2U.js} +4 -4
  247. package/dist/cli/{sync-2JGN3DKY.js → sync-WSSGTTSK.js} +5 -5
  248. package/dist/cli/{tasks-UIYFRHLG.js → tasks-H5ADEOFR.js} +2 -2
  249. package/dist/cli/{tasks-BAWW7JN4.js → tasks-QLPLW6TT.js} +4 -4
  250. package/dist/cli/{telemetry-DCWQTH2I.js → telemetry-W25YSLIZ.js} +2 -2
  251. package/dist/cli/{templates-Q3QZQZ62.js → templates-4AFS7RFE.js} +2 -2
  252. package/dist/cli/{testing-6UTAX32F.js → testing-IUBEIEKM.js} +4 -4
  253. package/dist/cli/{token-HXLZN5A7.js → token-XEBIAHXY.js} +4 -4
  254. package/dist/cli/{transcript-ZY6UF3TU.js → transcript-ZGEA2AN2.js} +2 -2
  255. package/dist/cli/{update-E35YHRVM.js → update-LKMP5OO4.js} +4 -4
  256. package/dist/cli/{upgrade-E6M4ERKP.js → upgrade-XPFQK3Q7.js} +11 -6
  257. package/dist/cli/{verify-6AS3FY2M.js → verify-PVJ7O6TS.js} +4 -4
  258. package/dist/cli/{web-R7LXSDEG.js → web-EUUGG4VG.js} +2 -2
  259. package/dist/cli/{workgraph-LWSTY3JY.js → workgraph-Z5TQZZG4.js} +6 -6
  260. package/dist/cli/{worktree-YWRTDFCW.js → worktree-S6UX733X.js} +4 -4
  261. package/package.json +14 -14
  262. package/studio-dist/client/_app/immutable/chunks/{jdkAua4j.js → BXqlcsyF.js} +1 -1
  263. package/studio-dist/client/_app/immutable/chunks/{CPu7kJEH.js → CHTZwXmN.js} +1 -1
  264. package/studio-dist/client/_app/immutable/chunks/KgW5Hjv-.js +1 -0
  265. package/studio-dist/client/_app/immutable/chunks/MmoyUk33.js +3 -0
  266. package/studio-dist/client/_app/immutable/entry/{app.BiyvHFqq.js → app.9vhPlCiu.js} +2 -2
  267. package/studio-dist/client/_app/immutable/entry/start.BqA-n5Ir.js +1 -0
  268. package/studio-dist/client/_app/immutable/nodes/{0.D7kTx3SI.js → 0.JF_2AD46.js} +1 -1
  269. package/studio-dist/client/_app/immutable/nodes/{1.BfpCyfNb.js → 1.bOoMrSAz.js} +1 -1
  270. package/studio-dist/client/_app/immutable/nodes/{15.Ba0cs3B4.js → 15.Bs7GKTcb.js} +1 -1
  271. package/studio-dist/client/_app/immutable/nodes/{16.CM9RzJA6.js → 16.qS33aqxT.js} +1 -1
  272. package/studio-dist/client/_app/immutable/nodes/{17.6Q0qCoVs.js → 17.DLGg3y6U.js} +1 -1
  273. package/studio-dist/client/_app/immutable/nodes/{18.dQZQZfyq.js → 18.DO6ofWtb.js} +1 -1
  274. package/studio-dist/client/_app/immutable/nodes/{20.DwTBmvZI.js → 20.CFf6H8QH.js} +1 -1
  275. package/studio-dist/client/_app/immutable/nodes/{24.BoE60WG2.js → 24.C4ctUQAR.js} +1 -1
  276. package/studio-dist/client/_app/immutable/nodes/{25.t7ixM-4I.js → 25.BRvWvMaG.js} +1 -1
  277. package/studio-dist/client/_app/immutable/nodes/{26.DPsfk0Ov.js → 26.DN7zCJnh.js} +1 -1
  278. package/studio-dist/client/_app/immutable/nodes/{3.BgpnEd7A.js → 3.Don9pZqB.js} +1 -1
  279. package/studio-dist/client/_app/version.json +1 -1
  280. package/studio-dist/server/chunks/{0-BMXca_rR.js → 0-Bqkjd-Iw.js} +3 -3
  281. package/studio-dist/server/chunks/1-DSpm65fC.js +9 -0
  282. package/studio-dist/server/chunks/{15-DgEic8hB.js → 15-umSNbMBY.js} +3 -3
  283. package/studio-dist/server/chunks/{16-DcOTm6XF.js → 16-U3ZUNOj_.js} +3 -3
  284. package/studio-dist/server/chunks/{17-CvBPYAwk.js → 17-CdDdtISV.js} +3 -3
  285. package/studio-dist/server/chunks/{18-C7GVe-N_.js → 18-d_no5OG9.js} +3 -3
  286. package/studio-dist/server/chunks/{20-EzDOSw9_.js → 20-Dz66boNu.js} +3 -3
  287. package/studio-dist/server/chunks/{24-DeNl2Il-.js → 24-CKDecbP7.js} +3 -3
  288. package/studio-dist/server/chunks/{25-CivmYTVa.js → 25-Bz1avsde.js} +3 -3
  289. package/studio-dist/server/chunks/{26-BRc2YQIK.js → 26-BUOAUptr.js} +3 -3
  290. package/studio-dist/server/chunks/{3-Cw0tgDDR.js → 3-D64in9e1.js} +3 -3
  291. package/studio-dist/server/chunks/{_layout.svelte-BZCYg0-c.js → _layout.svelte-CIAvKsW9.js} +4 -4
  292. package/studio-dist/server/chunks/{_page.svelte-D08GeFA0.js → _page.svelte-B7HW4ao8.js} +3 -3
  293. package/studio-dist/server/chunks/{_page.svelte-BSz8-RCf.js → _page.svelte-C8yBfg1v.js} +3 -3
  294. package/studio-dist/server/chunks/{_page.svelte-DIqbnrlM.js → _page.svelte-CLkFgceM.js} +3 -3
  295. package/studio-dist/server/chunks/{_page.svelte-CMxqpZm1.js → _page.svelte-DEMZHUVH.js} +3 -3
  296. package/studio-dist/server/chunks/{_page.svelte-DGTqW0ld.js → _page.svelte-DZefryCx.js} +3 -3
  297. package/studio-dist/server/chunks/{_page.svelte-B-DzbrIO.js → _page.svelte-DpGrsTHC.js} +5 -5
  298. package/studio-dist/server/chunks/{_page.svelte-noH6naz-.js → _page.svelte-DpX9Ug67.js} +3 -3
  299. package/studio-dist/server/chunks/{_page.svelte-aMesDAoi.js → _page.svelte-ZZXcB6OY.js} +3 -3
  300. package/studio-dist/server/chunks/{_page.svelte-xcr68qvA.js → _page.svelte-uRJXrZ0C.js} +4 -4
  301. package/studio-dist/server/chunks/{_server.ts-B4OFD_Pv.js → _server.ts-D3bGKKxc.js} +2 -2
  302. package/studio-dist/server/chunks/{client-DFcHL8WV.js → client-BQrpL9L9.js} +2 -2
  303. package/studio-dist/server/chunks/{error.svelte-Dngu5_uP.js → error.svelte-D2-IqXan.js} +3 -3
  304. package/studio-dist/server/chunks/{internal-jX2_61PU.js → internal-HvZ94nVC.js} +2 -2
  305. package/studio-dist/server/chunks/{stores-OtFknz6W.js → stores-CIZB-RjY.js} +2 -2
  306. package/studio-dist/server/index.js +1 -1
  307. package/studio-dist/server/manifest.js +13 -13
  308. package/studio-dist/client/_app/immutable/chunks/DNdlDtG6.js +0 -3
  309. package/studio-dist/client/_app/immutable/chunks/DcWKj8k3.js +0 -1
  310. package/studio-dist/client/_app/immutable/entry/start.awOzLlfd.js +0 -1
  311. package/studio-dist/server/chunks/1-DhZCMYpU.js +0 -9
@@ -899,6 +899,10 @@ function isHumanOutput() {
899
899
  return humanEnabled();
900
900
  }
901
901
  function cliError(message, code, details, meta, options) {
902
+ if (/E_DB_CORRUPT|SQLITE_CORRUPT|database.*malformed|malformed.*(?:database|schema)/i.test(message)) {
903
+ code = 3;
904
+ details = { ...details, name: "E_DB_CORRUPT", fix: "cleo doctor repair-store" };
905
+ }
902
906
  const ctx = getFormatContext();
903
907
  const outputMode = getOutputMode();
904
908
  if (outputMode === "silent") {
@@ -960,4 +964,4 @@ export {
960
964
  isHumanOutput,
961
965
  cliError
962
966
  };
963
- //# sourceMappingURL=chunk-FD6EQLV7.js.map
967
+ //# sourceMappingURL=chunk-RVTWMNJA.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-project-identity.ts
24
24
  import {
@@ -63,4 +63,4 @@ var doctorProjectIdentityCommand = defineCommand({
63
63
  export {
64
64
  doctorProjectIdentityCommand
65
65
  };
66
- //# sourceMappingURL=chunk-6VT7QNQH.js.map
66
+ //# sourceMappingURL=chunk-RXSS7UKT.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-split-brain.ts
24
24
  import { writeFileSync } from "node:fs";
@@ -89,4 +89,4 @@ var doctorSplitBrainCommand = defineCommand({
89
89
  export {
90
90
  doctorSplitBrainCommand
91
91
  };
92
- //# sourceMappingURL=chunk-OMLSVE5U.js.map
92
+ //# sourceMappingURL=chunk-RY72JTHI.js.map
@@ -30,7 +30,7 @@ import {
30
30
  cliError,
31
31
  cliOutput,
32
32
  loadEsmSync
33
- } from "./chunk-FD6EQLV7.js";
33
+ } from "./chunk-RVTWMNJA.js";
34
34
  import {
35
35
  getFieldContext,
36
36
  getFormatContext
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-D7BAQNV2.js";
41
41
  import {
42
42
  createLazyDomainHandlers
43
- } from "./chunk-ZTGCEEWZ.js";
43
+ } from "./chunk-XCUSWQMX.js";
44
44
 
45
45
  // packages/cleo/src/dispatch/adapters/cli.ts
46
46
  import { randomUUID as randomUUID2 } from "node:crypto";
@@ -2104,6 +2104,9 @@ function createWriteActor() {
2104
2104
  }
2105
2105
 
2106
2106
  // packages/cleo/src/dispatch/adapters/cli.ts
2107
+ function trackDeferredHook(work) {
2108
+ void trackBackgroundOp(work, void 0, { kind: "best-effort" });
2109
+ }
2107
2110
  var ERROR_CODE_TO_EXIT = {
2108
2111
  E_NOT_FOUND: 4,
2109
2112
  E_INVALID_INPUT: 2,
@@ -2311,23 +2314,40 @@ function maybeEmitDescribe(gateway, domain, operation, outputOpts) {
2311
2314
  }
2312
2315
  async function dispatchFromCli(gateway, domain, operation, params, outputOpts) {
2313
2316
  if (maybeEmitDescribe(gateway, domain, operation, outputOpts)) return;
2317
+ if (gateway === "query" && domain === "admin" && operation === "health") {
2318
+ const { assertDoctorStoreIntegrity } = await import("@cleocode/core/store/open-cleo-db.js");
2319
+ try {
2320
+ assertDoctorStoreIntegrity();
2321
+ } catch (error) {
2322
+ if (!(error instanceof Error && "codeName" in error && error.codeName === "E_DB_CORRUPT"))
2323
+ throw error;
2324
+ cliError(
2325
+ error.message,
2326
+ 3,
2327
+ { name: "E_DB_CORRUPT", fix: "cleo doctor repair-store" },
2328
+ { operation: outputOpts?.operation ?? `${domain}.${operation}` }
2329
+ );
2330
+ process.exitCode = 3;
2331
+ return;
2332
+ }
2333
+ }
2314
2334
  await prepareCoreFor(gateway, domain, operation);
2315
2335
  const dispatcher = getCliDispatcher();
2316
2336
  const projectRoot = getProjectRoot();
2317
2337
  const dispatchStart = Date.now();
2318
- void trackBackgroundOp(
2319
- hooks.dispatch("PromptSubmit", projectRoot, {
2338
+ await hooks.dispatch(
2339
+ "PromptSubmit",
2340
+ projectRoot,
2341
+ {
2320
2342
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
2321
2343
  gateway,
2322
2344
  domain,
2323
2345
  operation,
2324
2346
  source: "cli"
2325
- }).catch(() => {
2326
- }),
2327
- void 0,
2328
- // T14284: a hook dispatch is best-effort: teardown never waits on it to close.
2329
- { kind: "best-effort" }
2330
- );
2347
+ },
2348
+ trackDeferredHook
2349
+ ).catch(() => {
2350
+ });
2331
2351
  const spinner = createDispatchSpinner(domain, operation);
2332
2352
  spinner.start();
2333
2353
  let response;
@@ -2344,8 +2364,10 @@ async function dispatchFromCli(gateway, domain, operation, params, outputOpts) {
2344
2364
  } finally {
2345
2365
  spinner.stop();
2346
2366
  }
2347
- void trackBackgroundOp(
2348
- hooks.dispatch("ResponseComplete", projectRoot, {
2367
+ await hooks.dispatch(
2368
+ "ResponseComplete",
2369
+ projectRoot,
2370
+ {
2349
2371
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
2350
2372
  gateway,
2351
2373
  domain,
@@ -2353,12 +2375,10 @@ async function dispatchFromCli(gateway, domain, operation, params, outputOpts) {
2353
2375
  success: response.success,
2354
2376
  durationMs: Date.now() - dispatchStart,
2355
2377
  errorCode: response.error?.code
2356
- }).catch(() => {
2357
- }),
2358
- void 0,
2359
- // T14284: a hook dispatch is best-effort: teardown never waits on it to close.
2360
- { kind: "best-effort" }
2361
- );
2378
+ },
2379
+ trackDeferredHook
2380
+ ).catch(() => {
2381
+ });
2362
2382
  if (response.success) {
2363
2383
  if (gateway === "mutate") {
2364
2384
  const { autoRecordDispatchTokenUsage } = await import("@cleocode/core/metrics/token-service");
@@ -2451,19 +2471,19 @@ async function dispatchRaw(gateway, domain, operation, params) {
2451
2471
  const dispatcher = getCliDispatcher();
2452
2472
  const projectRoot = getProjectRoot();
2453
2473
  const dispatchStart = Date.now();
2454
- void trackBackgroundOp(
2455
- hooks.dispatch("PromptSubmit", projectRoot, {
2474
+ await hooks.dispatch(
2475
+ "PromptSubmit",
2476
+ projectRoot,
2477
+ {
2456
2478
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
2457
2479
  gateway,
2458
2480
  domain,
2459
2481
  operation,
2460
2482
  source: "cli"
2461
- }).catch(() => {
2462
- }),
2463
- void 0,
2464
- // T14284: a hook dispatch is best-effort: teardown never waits on it to close.
2465
- { kind: "best-effort" }
2466
- );
2483
+ },
2484
+ trackDeferredHook
2485
+ ).catch(() => {
2486
+ });
2467
2487
  const spinner = createDispatchSpinner(domain, operation);
2468
2488
  spinner.start();
2469
2489
  let response;
@@ -2480,8 +2500,10 @@ async function dispatchRaw(gateway, domain, operation, params) {
2480
2500
  } finally {
2481
2501
  spinner.stop();
2482
2502
  }
2483
- void trackBackgroundOp(
2484
- hooks.dispatch("ResponseComplete", projectRoot, {
2503
+ await hooks.dispatch(
2504
+ "ResponseComplete",
2505
+ projectRoot,
2506
+ {
2485
2507
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
2486
2508
  gateway,
2487
2509
  domain,
@@ -2489,12 +2511,10 @@ async function dispatchRaw(gateway, domain, operation, params) {
2489
2511
  success: response.success,
2490
2512
  durationMs: Date.now() - dispatchStart,
2491
2513
  errorCode: response.error?.code
2492
- }).catch(() => {
2493
- }),
2494
- void 0,
2495
- // T14284: a hook dispatch is best-effort: teardown never waits on it to close.
2496
- { kind: "best-effort" }
2497
- );
2514
+ },
2515
+ trackDeferredHook
2516
+ ).catch(() => {
2517
+ });
2498
2518
  if (!response.success) {
2499
2519
  const { settleBeforeExit } = await import("@cleocode/core/shutdown");
2500
2520
  await settleBeforeExit();
@@ -2527,4 +2547,4 @@ export {
2527
2547
  handleRawError,
2528
2548
  dispatchRaw
2529
2549
  };
2530
- //# sourceMappingURL=chunk-7SAEIC7N.js.map
2550
+ //# sourceMappingURL=chunk-S2DNVOHG.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  cliError,
21
21
  cliOutput
22
- } from "./chunk-FD6EQLV7.js";
22
+ } from "./chunk-RVTWMNJA.js";
23
23
 
24
24
  // packages/cleo/src/cli/commands/llm-cost.ts
25
25
  import { getProjectRoot } from "@cleocode/core/internal";
@@ -121,4 +121,4 @@ var costCommand = defineCommand({
121
121
  export {
122
122
  costCommand
123
123
  };
124
- //# sourceMappingURL=chunk-QZKOWHXO.js.map
124
+ //# sourceMappingURL=chunk-SI2PWNTA.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  cliError
18
- } from "./chunk-FD6EQLV7.js";
18
+ } from "./chunk-RVTWMNJA.js";
19
19
 
20
20
  // packages/cleo/src/cli/lib/owner-password.ts
21
21
  import { ExitCode } from "@cleocode/contracts/exit-codes.js";
@@ -62,4 +62,4 @@ async function readOwnerPassword(purpose, operation) {
62
62
  export {
63
63
  readOwnerPassword
64
64
  };
65
- //# sourceMappingURL=chunk-LVPOIHUW.js.map
65
+ //# sourceMappingURL=chunk-T4HIMCVM.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  cliError,
21
21
  cliOutput
22
- } from "./chunk-FD6EQLV7.js";
22
+ } from "./chunk-RVTWMNJA.js";
23
23
 
24
24
  // packages/cleo/src/cli/commands/doctor-twin-collapse.ts
25
25
  import {
@@ -168,4 +168,4 @@ function twinCollapseActions(args) {
168
168
  export {
169
169
  doctorTwinCollapseCommand
170
170
  };
171
- //# sourceMappingURL=chunk-FJ5CWNTM.js.map
171
+ //# sourceMappingURL=chunk-T5VRZN4X.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-dep-cycles.ts
24
24
  import { scanDependencyCycles } from "@cleocode/core/doctor/dependency-cycles.js";
@@ -45,4 +45,4 @@ var doctorDepCyclesCommand = defineCommand({
45
45
  export {
46
46
  doctorDepCyclesCommand
47
47
  };
48
- //# sourceMappingURL=chunk-KNHQAYMR.js.map
48
+ //# sourceMappingURL=chunk-U2SHMLTO.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-sync-triggers.ts
24
24
  import {
@@ -57,4 +57,4 @@ var doctorSyncTriggersCommand = defineCommand({
57
57
  export {
58
58
  doctorSyncTriggersCommand
59
59
  };
60
- //# sourceMappingURL=chunk-2EBQ2UPV.js.map
60
+ //# sourceMappingURL=chunk-WE7BH2XX.js.map
@@ -22,7 +22,7 @@ import {
22
22
  humanInfo,
23
23
  humanLine,
24
24
  humanWarn
25
- } from "./chunk-FD6EQLV7.js";
25
+ } from "./chunk-RVTWMNJA.js";
26
26
 
27
27
  // packages/cleo/src/cli/commands/migrate-agents-v2.ts
28
28
  import { createHash } from "node:crypto";
@@ -255,4 +255,4 @@ export {
255
255
  readMigrationConflicts,
256
256
  migrateAgentsV2Command
257
257
  };
258
- //# sourceMappingURL=chunk-BJL3MZUI.js.map
258
+ //# sourceMappingURL=chunk-WOBFHD5N.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-legacy-backups.ts
24
24
  import { pruneLegacyBackups, scanLegacyBackups } from "@cleocode/core/doctor/legacy-backups.js";
@@ -87,4 +87,4 @@ var doctorLegacyBackupsCommand = defineCommand({
87
87
  export {
88
88
  doctorLegacyBackupsCommand
89
89
  };
90
- //# sourceMappingURL=chunk-IDFVCC6T.js.map
90
+ //# sourceMappingURL=chunk-WPJUAUCS.js.map
@@ -17,26 +17,26 @@
17
17
  // packages/cleo/src/dispatch/domains/lazy.ts
18
18
  import { OPERATIONS } from "@cleocode/contracts/dispatch/operations-registry.js";
19
19
  var DOMAIN_LOADERS = [
20
- ["tasks", async () => new (await import("./tasks-UIYFRHLG.js")).TasksHandler()],
21
- ["session", async () => new (await import("./session-3U6T35Y7.js")).SessionHandler()],
20
+ ["tasks", async () => new (await import("./tasks-H5ADEOFR.js")).TasksHandler()],
21
+ ["session", async () => new (await import("./session-WZZOEZP7.js")).SessionHandler()],
22
22
  ["attention", async () => new (await import("./attention-BVRGUJJQ.js")).AttentionHandler()],
23
- ["memory", async () => new (await import("./memory-IEKGG7R5.js")).MemoryHandler()],
23
+ ["memory", async () => new (await import("./memory-67H5WQP7.js")).MemoryHandler()],
24
24
  ["intelligence", async () => new (await import("./intelligence-SEARRRBF.js")).IntelligenceHandler()],
25
- ["check", async () => new (await import("./check-EZQOZ4HQ.js")).CheckHandler()],
26
- ["pipeline", async () => new (await import("./pipeline-GPQRZ4JT.js")).PipelineHandler()],
27
- ["orchestrate", async () => new (await import("./orchestrate-SZAFZMUL.js")).OrchestrateHandler()],
25
+ ["check", async () => new (await import("./check-YLYEMNN5.js")).CheckHandler()],
26
+ ["pipeline", async () => new (await import("./pipeline-JBFKZENH.js")).PipelineHandler()],
27
+ ["orchestrate", async () => new (await import("./orchestrate-ODIYGJK4.js")).OrchestrateHandler()],
28
28
  ["tools", async () => new (await import("./tools-UM3OZKEH.js")).ToolsHandler()],
29
- ["admin", async () => new (await import("./admin-DUSFTIIA.js")).AdminHandler()],
30
- ["nexus", async () => new (await import("./nexus-MXPSQS3M.js")).NexusHandler()],
29
+ ["admin", async () => new (await import("./admin-2QWJONPJ.js")).AdminHandler()],
30
+ ["nexus", async () => new (await import("./nexus-OV2L7IBR.js")).NexusHandler()],
31
31
  ["sticky", async () => new (await import("./sticky-Z2BMRSAB.js")).StickyHandler()],
32
32
  ["diagnostics", async () => new (await import("./diagnostics-BT3HGJPT.js")).DiagnosticsHandler()],
33
- ["docs", async () => new (await import("./docs-CBL7CZFL.js")).DocsHandler()],
33
+ ["docs", async () => new (await import("./docs-K3LEJIEJ.js")).DocsHandler()],
34
34
  ["focus", async () => new (await import("./focus-6ZYKBB3X.js")).FocusHandler()],
35
35
  ["playbook", async () => new (await import("./playbook-JDDX5F3H.js")).PlaybookHandler()],
36
36
  ["sentient", async () => new (await import("./sentient-W3D6ATW5.js")).SentientHandler()],
37
37
  ["release", async () => new (await import("./release-EI72GMAM.js")).ReleaseHandler()],
38
38
  ["provenance", async () => new (await import("./provenance-3YCF7G7L.js")).ProvenanceHandler()],
39
- ["selfimprove", async () => new (await import("./selfimprove-6NXLIH6Y.js")).SelfimproveHandler()],
39
+ ["selfimprove", async () => new (await import("./selfimprove-JDZMT5D5.js")).SelfimproveHandler()],
40
40
  ["service", async () => new (await import("./service-5SQKAABN.js")).ServiceHandler()],
41
41
  ["llm", async () => new (await import("./llm-J3SYJEGB.js")).LlmHandler()],
42
42
  ["account", async () => new (await import("./entities-JYA4L2OV.js")).AccountHandler()],
@@ -96,4 +96,4 @@ export {
96
96
  createLazyDomainHandlers,
97
97
  lazyOperation
98
98
  };
99
- //# sourceMappingURL=chunk-ZTGCEEWZ.js.map
99
+ //# sourceMappingURL=chunk-XCUSWQMX.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  cliError,
21
21
  cliOutput
22
- } from "./chunk-FD6EQLV7.js";
22
+ } from "./chunk-RVTWMNJA.js";
23
23
 
24
24
  // packages/cleo/src/cli/commands/doctor-skill-fixtures.ts
25
25
  import {
@@ -105,4 +105,4 @@ var doctorSkillFixturesCommand = defineCommand({
105
105
  export {
106
106
  doctorSkillFixturesCommand
107
107
  };
108
- //# sourceMappingURL=chunk-UGEJXSUY.js.map
108
+ //# sourceMappingURL=chunk-XZCAVKK2.js.map
@@ -0,0 +1,71 @@
1
+ (() => {
2
+ const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
3
+ if (globalThis[_installed]) return;
4
+ globalThis[_installed] = true;
5
+ const _origEmitWarning = process.emitWarning;
6
+ process.emitWarning = function(warning, type, code, ctor) {
7
+ if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
8
+ return;
9
+ }
10
+ if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
11
+ return;
12
+ }
13
+ return _origEmitWarning.call(process, warning, type, code, ctor);
14
+ };
15
+ })();
16
+ import {
17
+ defineCommand
18
+ } from "./chunk-IVN46UST.js";
19
+ import {
20
+ cliOutput
21
+ } from "./chunk-RVTWMNJA.js";
22
+
23
+ // packages/cleo/src/cli/commands/doctor-repair-store.ts
24
+ import { getProjectRoot, isMissingProjectError } from "@cleocode/core/project-scope";
25
+ var doctorRepairStoreCommand = defineCommand({
26
+ meta: {
27
+ name: "repair-store",
28
+ description: "Losslessly repair a damaged cleo.db, preserving originals and a recovery receipt"
29
+ },
30
+ args: {
31
+ global: {
32
+ type: "boolean",
33
+ description: "Repair the global store instead of this project",
34
+ default: false
35
+ },
36
+ "dry-run": {
37
+ type: "boolean",
38
+ description: "Salvage and validate temporary copies without writing to .cleo",
39
+ default: false
40
+ },
41
+ "confirm-owner-store": {
42
+ type: "boolean",
43
+ description: "Allow a worktree invocation to repair its owning project store",
44
+ default: false
45
+ }
46
+ },
47
+ async run({ args }) {
48
+ let projectRoot = process.cwd();
49
+ if (!args.global) {
50
+ try {
51
+ projectRoot = getProjectRoot();
52
+ } catch (error) {
53
+ if (!isMissingProjectError(error)) throw error;
54
+ }
55
+ }
56
+ const { repairStoresFromDoctor } = await import("@cleocode/core/store/repair-store.js");
57
+ const stores = await repairStoresFromDoctor({
58
+ projectRoot,
59
+ cwd: process.cwd(),
60
+ scope: args.global ? "global" : "project",
61
+ dryRun: args["dry-run"] === true,
62
+ confirmOwnerStore: args["confirm-owner-store"] === true
63
+ });
64
+ cliOutput({ stores }, { command: "doctor", operation: "doctor.repair-store" });
65
+ }
66
+ });
67
+
68
+ export {
69
+ doctorRepairStoreCommand
70
+ };
71
+ //# sourceMappingURL=chunk-Y2QMH46Z.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-IVN46UST.js";
19
19
  import {
20
20
  cliOutput
21
- } from "./chunk-FD6EQLV7.js";
21
+ } from "./chunk-RVTWMNJA.js";
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-nexus-residency.ts
24
24
  import { getCleoHome } from "@cleocode/core/core-paths";
@@ -49,4 +49,4 @@ var doctorNexusResidencyCommand = defineCommand({
49
49
  export {
50
50
  doctorNexusResidencyCommand
51
51
  };
52
- //# sourceMappingURL=chunk-5D5EFJTJ.js.map
52
+ //# sourceMappingURL=chunk-Y6WHDJC3.js.map
@@ -15,17 +15,17 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-7SAEIC7N.js";
18
+ } from "./chunk-S2DNVOHG.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
22
22
  defineCommand
23
23
  } from "./chunk-IVN46UST.js";
24
24
  import "./chunk-QKMBWYAS.js";
25
- import "./chunk-FD6EQLV7.js";
25
+ import "./chunk-RVTWMNJA.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-ZTGCEEWZ.js";
28
+ import "./chunk-XCUSWQMX.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/claim.ts
31
31
  var claimCommand = defineCommand({
@@ -94,4 +94,4 @@ export {
94
94
  claimCommand,
95
95
  unclaimCommand
96
96
  };
97
- //# sourceMappingURL=claim-CXVDEVBZ.js.map
97
+ //# sourceMappingURL=claim-G4SI6DNK.js.map
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-IVN46UST.js";
20
20
  import {
21
21
  cliOutput
22
- } from "./chunk-FD6EQLV7.js";
22
+ } from "./chunk-RVTWMNJA.js";
23
23
  import "./chunk-6JSJNYH2.js";
24
24
 
25
25
  // packages/cleo/src/cli/commands/classify.ts
@@ -114,4 +114,4 @@ var classifyCommand = defineCommand({
114
114
  export {
115
115
  classifyCommand
116
116
  };
117
- //# sourceMappingURL=classify-KWJ3TFEC.js.map
117
+ //# sourceMappingURL=classify-TQTY7OLV.js.map
@@ -27,14 +27,14 @@ import {
27
27
  reportRawError,
28
28
  resetCliDispatcher,
29
29
  warnUnboundMutation
30
- } from "./chunk-7SAEIC7N.js";
30
+ } from "./chunk-S2DNVOHG.js";
31
31
  import "./chunk-4VASFLUW.js";
32
32
  import "./chunk-2NXQCE4N.js";
33
33
  import "./chunk-QKMBWYAS.js";
34
- import "./chunk-FD6EQLV7.js";
34
+ import "./chunk-RVTWMNJA.js";
35
35
  import "./chunk-6JSJNYH2.js";
36
36
  import "./chunk-D7BAQNV2.js";
37
- import "./chunk-ZTGCEEWZ.js";
37
+ import "./chunk-XCUSWQMX.js";
38
38
  export {
39
39
  createCliDispatcher,
40
40
  createCliGatewayHandler,
@@ -50,4 +50,4 @@ export {
50
50
  resetCliDispatcher,
51
51
  warnUnboundMutation
52
52
  };
53
- //# sourceMappingURL=cli-O7A4G47C.js.map
53
+ //# sourceMappingURL=cli-QZ75S2DH.js.map
@@ -27,16 +27,16 @@ import {
27
27
  runCloudVault,
28
28
  runCloudVerify,
29
29
  runCloudWhoami
30
- } from "./chunk-5OFSGZLM.js";
30
+ } from "./chunk-CADWISGO.js";
31
31
  import {
32
32
  NEXUS_API_URL_ARG
33
- } from "./chunk-7VAYYOTQ.js";
33
+ } from "./chunk-RO6ASC74.js";
34
34
  import "./chunk-47JYZAMS.js";
35
35
  import "./chunk-VIZSF3NL.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-IVN46UST.js";
39
- import "./chunk-FD6EQLV7.js";
39
+ import "./chunk-RVTWMNJA.js";
40
40
  import "./chunk-6JSJNYH2.js";
41
41
 
42
42
  // packages/cleo/src/cli/commands/cloud.ts
@@ -335,4 +335,4 @@ var cloudCommand = defineCommand({
335
335
  export {
336
336
  cloudCommand
337
337
  };
338
- //# sourceMappingURL=cloud-2H332MHX.js.map
338
+ //# sourceMappingURL=cloud-R4ADM3MA.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  cliError,
21
21
  humanLine
22
- } from "./chunk-FD6EQLV7.js";
22
+ } from "./chunk-RVTWMNJA.js";
23
23
  import "./chunk-6JSJNYH2.js";
24
24
 
25
25
  // packages/cleo/src/cli/commands/code.ts
@@ -175,4 +175,4 @@ var codeCommand = defineCommand({
175
175
  export {
176
176
  codeCommand
177
177
  };
178
- //# sourceMappingURL=code-NB4L5SQS.js.map
178
+ //# sourceMappingURL=code-47MFC3NB.js.map
@@ -17,20 +17,20 @@ import {
17
17
  completeCommand,
18
18
  completeCommandArgs,
19
19
  completeDispatchParams
20
- } from "./chunk-OKJRQJVP.js";
20
+ } from "./chunk-A5K6P7BZ.js";
21
21
  import "./chunk-47JYZAMS.js";
22
- import "./chunk-7SAEIC7N.js";
22
+ import "./chunk-S2DNVOHG.js";
23
23
  import "./chunk-4VASFLUW.js";
24
24
  import "./chunk-2NXQCE4N.js";
25
25
  import "./chunk-IVN46UST.js";
26
26
  import "./chunk-QKMBWYAS.js";
27
- import "./chunk-FD6EQLV7.js";
27
+ import "./chunk-RVTWMNJA.js";
28
28
  import "./chunk-6JSJNYH2.js";
29
29
  import "./chunk-D7BAQNV2.js";
30
- import "./chunk-ZTGCEEWZ.js";
30
+ import "./chunk-XCUSWQMX.js";
31
31
  export {
32
32
  completeCommand,
33
33
  completeCommandArgs,
34
34
  completeDispatchParams
35
35
  };
36
- //# sourceMappingURL=complete-7OECLY6V.js.map
36
+ //# sourceMappingURL=complete-3KC4VQDV.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-7SAEIC7N.js";
18
+ } from "./chunk-S2DNVOHG.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -23,10 +23,10 @@ import {
23
23
  showUsage
24
24
  } from "./chunk-IVN46UST.js";
25
25
  import "./chunk-QKMBWYAS.js";
26
- import "./chunk-FD6EQLV7.js";
26
+ import "./chunk-RVTWMNJA.js";
27
27
  import "./chunk-6JSJNYH2.js";
28
28
  import "./chunk-D7BAQNV2.js";
29
- import "./chunk-ZTGCEEWZ.js";
29
+ import "./chunk-XCUSWQMX.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/complexity.ts
32
32
  var complexityEstimateCommand = defineCommand({
@@ -54,4 +54,4 @@ var complexityCommand = defineCommand({
54
54
  export {
55
55
  complexityCommand
56
56
  };
57
- //# sourceMappingURL=complexity-LK6OXIFS.js.map
57
+ //# sourceMappingURL=complexity-VPXDA3A4.js.map