@cleocode/cleo 2026.10.27 → 2026.11.1-canary.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -365
- package/dist/.source-stamp.json +4 -0
- package/dist/cli/{adapter-ZIB3OAPD.js → adapter-JZET3CDA.js} +5 -5
- package/dist/cli/{add-TBJUMJW7.js → add-W23ZQJ2U.js} +5 -5
- package/dist/cli/{add-batch-GGKVPTS5.js → add-batch-MNLEUT24.js} +5 -5
- package/dist/cli/{admin-NGPG2LSO.js → admin-3NN6QIJE.js} +5 -5
- package/dist/cli/{admin-PEYBYMZN.js → admin-LOGL2TBY.js} +16 -6
- package/dist/cli/{adr-2XVNDYZ7.js → adr-QYUJRVHW.js} +5 -5
- package/dist/cli/{agent-B23GPWYM.js → agent-KKMNGKR2.js} +3 -548
- package/dist/cli/{agent-outputs-SZ45UZVC.js → agent-outputs-ZEKMONK2.js} +2 -2
- package/dist/cli/{analyze-A44RDCSX.js → analyze-VUEJUV24.js} +5 -5
- package/dist/cli/{archive-QQB6M2RF.js → archive-I2XT6DGU.js} +5 -5
- package/dist/cli/{archive-stats-K4YKKYQV.js → archive-stats-J5AMTF7W.js} +5 -5
- package/dist/cli/{attention-KAHDF6KD.js → attention-736TGLSO.js} +5 -5
- package/dist/cli/{audit-ALSFSHEI.js → audit-JTEHB556.js} +2 -2
- package/dist/cli/{auth-5L3XPCXL.js → auth-QNFL6SIX.js} +5 -5
- package/dist/cli/{backfill-5B2FWBIB.js → backfill-QCEV5ZJR.js} +2 -2
- package/dist/cli/{backup-IYFULQTM.js → backup-6D6Y7S4X.js} +39 -10
- package/dist/cli/{backup-inspect-SYI6JWYI.js → backup-inspect-YS4HJUFF.js} +3 -3
- package/dist/cli/{backup-recover-I64KKABA.js → backup-recover-6RRWTZUF.js} +3 -3
- package/dist/cli/{blockers-KYNJJKZQ.js → blockers-TXOHUIQZ.js} +5 -5
- package/dist/cli/{brain-3E6GWG33.js → brain-MPZZ73RR.js} +2 -2
- package/dist/cli/{briefing-J6PDDZ2C.js → briefing-HR7WKAP7.js} +5 -5
- package/dist/cli/{caamp-4GLHZPAB.js → caamp-6BHIZIRC.js} +2 -2
- package/dist/cli/{cancel-A4OCUVDI.js → cancel-RPBL7XNS.js} +16 -6
- package/dist/cli/{canon-NPF5RODM.js → canon-UQKCAL3J.js} +13 -8
- package/dist/cli/{chunk-SXXOC6KZ.js → canon-docs-ZXWC4AFI.js} +51 -4
- package/dist/cli/{cant-JZXHRLE2.js → cant-7YDYKDCE.js} +2 -2
- package/dist/cli/{changeset-WTR2KKML.js → changeset-XDMWUH4W.js} +2 -2
- package/dist/cli/{check-HHT4J5ZM.js → check-ALYB2DED.js} +43 -5
- package/dist/cli/{check-ZT6O5JDS.js → check-BNV2Z7NL.js} +45 -23
- package/dist/cli/{checkpoint-THR2KML7.js → checkpoint-WGT5Q4IV.js} +2 -2
- package/dist/cli/{chunk-6G43T2BO.js → chunk-2DRYEF4Q.js} +2 -2
- package/dist/cli/{chunk-4FO2MCCU.js → chunk-2EBQ2UPV.js} +2 -2
- package/dist/cli/{chunk-G63BB37P.js → chunk-2FVSEFH6.js} +3 -3
- package/dist/cli/{chunk-6N6WGLXE.js → chunk-2NXQCE4N.js} +10 -2
- package/dist/cli/{chunk-BXEMLY6P.js → chunk-367CXLZW.js} +2 -2
- package/dist/cli/{chunk-DNR7ZPOW.js → chunk-3C4ABVIM.js} +2 -2
- package/dist/cli/{chunk-YJQL26VS.js → chunk-3FLFKMKA.js} +3 -3
- package/dist/cli/{chunk-FBR2NQW4.js → chunk-4C4NJVR3.js} +2 -2
- package/dist/cli/{chunk-QITYNI2H.js → chunk-57YMZSNI.js} +2 -2
- package/dist/cli/{chunk-HQG5YZCJ.js → chunk-5D5EFJTJ.js} +2 -2
- package/dist/cli/{chunk-2LFWGSPE.js → chunk-5OFSGZLM.js} +2 -2
- package/dist/cli/{chunk-Y6FHWDNX.js → chunk-6KWKDXMT.js} +2 -2
- package/dist/cli/{chunk-RX5F2FUP.js → chunk-6VT7QNQH.js} +2 -2
- package/dist/cli/{chunk-D7QZ4WSJ.js → chunk-6ZCDCJB4.js} +2 -2
- package/dist/cli/{chunk-4QI7JOPI.js → chunk-762STE53.js} +2 -2
- package/dist/cli/{chunk-SP66YNWA.js → chunk-76QLAP54.js} +2 -2
- package/dist/cli/{chunk-7VRIP4MD.js → chunk-7AEZ35UT.js} +2 -2
- package/dist/cli/{chunk-64OLQ6OH.js → chunk-7VAYYOTQ.js} +2 -2
- package/dist/cli/{chunk-YM7QMFFW.js → chunk-AXFIVWJZ.js} +2 -2
- package/dist/cli/{chunk-AI4BE3MJ.js → chunk-B3NZQ2Y4.js} +2 -2
- package/dist/cli/{chunk-MLUCI3JC.js → chunk-BELA5D4T.js} +15 -6
- package/dist/cli/{chunk-2UQB3DWD.js → chunk-BJL3MZUI.js} +2 -2
- package/dist/cli/{chunk-UPFW3DRJ.js → chunk-BSIPR5S5.js} +2 -2
- package/dist/cli/{chunk-JRDAITPC.js → chunk-D75KPNMP.js} +18 -19
- package/dist/cli/{chunk-NBFD6HZX.js → chunk-DA7LGEOB.js} +2 -2
- package/dist/cli/{chunk-ESI6Q4OS.js → chunk-FD6EQLV7.js} +1 -2
- package/dist/cli/{chunk-5IFMSDWF.js → chunk-FJ5CWNTM.js} +2 -2
- package/dist/cli/{chunk-XSURVN6Y.js → chunk-FYS4D5VL.js} +2 -2
- package/dist/cli/chunk-HACZVXOL.js +92 -0
- package/dist/cli/{chunk-JBLHNKSK.js → chunk-HPRGQCRR.js} +2 -2
- package/dist/cli/{chunk-362WHUCT.js → chunk-IC33OPZA.js} +2 -2
- package/dist/cli/{chunk-TVNXFYOJ.js → chunk-ICFMF56Q.js} +4 -4
- package/dist/cli/{chunk-Y7ZNHNVQ.js → chunk-IDFVCC6T.js} +2 -2
- package/dist/cli/{chunk-NDN5LU2T.js → chunk-IDZSVRTW.js} +2 -2
- package/dist/cli/{chunk-SLNCIDY5.js → chunk-K3VVRO75.js} +2 -2
- package/dist/cli/{owner-override-cap-53HYZHIL.js → chunk-KA636FBJ.js} +45 -5
- package/dist/cli/{chunk-GNASLIE2.js → chunk-KNHQAYMR.js} +2 -2
- package/dist/cli/{chunk-THHPBHFL.js → chunk-LVPOIHUW.js} +2 -2
- package/dist/cli/{chunk-IYP3ACPP.js → chunk-M7L5XJYS.js} +2 -2
- package/dist/cli/{chunk-PGR4RWQL.js → chunk-MYBFLQT4.js} +8 -5
- package/dist/cli/{chunk-W56TDRLF.js → chunk-OMLSVE5U.js} +2 -2
- package/dist/cli/{chunk-TNLB7XJO.js → chunk-QZKOWHXO.js} +2 -2
- package/dist/cli/{chunk-5KN6IF7F.js → chunk-SKQG2E6A.js} +2 -2
- package/dist/cli/{chunk-J4ZSHCUO.js → chunk-TBIXOLSO.js} +2 -2
- package/dist/cli/{chunk-QWNKLLLG.js → chunk-TM72T27J.js} +2 -20
- package/dist/cli/{chunk-SHRGWWE2.js → chunk-TRUE5NCE.js} +12 -5
- package/dist/cli/{chunk-T2TE45UH.js → chunk-UAHZXF7P.js} +2 -2
- package/dist/cli/{chunk-3SWQFMWN.js → chunk-UGEJXSUY.js} +2 -2
- package/dist/cli/{chunk-NPEWU2LO.js → chunk-UYNMYQIG.js} +2 -2
- package/dist/cli/{chunk-S2IS4DXJ.js → chunk-VR6TPIRF.js} +2 -2
- package/dist/cli/{chunk-GL5GCK7T.js → chunk-VV65VS2B.js} +2 -2
- package/dist/cli/{chunk-OIS3BDSL.js → chunk-YNBEP6TJ.js} +23 -11
- package/dist/cli/{chunk-TUUKU4H7.js → chunk-YQQXHUUN.js} +15 -5
- package/dist/cli/{chunk-RBI6IBDF.js → chunk-Z24VFMRA.js} +2 -2
- package/dist/cli/{claim-MFFSWD64.js → claim-NJMCYE4S.js} +5 -5
- package/dist/cli/{classify-H3W4U76E.js → classify-KWJ3TFEC.js} +2 -2
- package/dist/cli/{cli-5PJ2B6ZH.js → cli-FIW3KVGU.js} +5 -5
- package/dist/cli/{cloud-IEDKFMLI.js → cloud-2H332MHX.js} +4 -4
- package/dist/cli/{code-IUDQNALE.js → code-NB4L5SQS.js} +2 -2
- package/dist/cli/{complete-2IN4YEWL.js → complete-ZVXR5WFT.js} +6 -6
- package/dist/cli/{complexity-JVEIZE5M.js → complexity-J7QTUVEQ.js} +5 -5
- package/dist/cli/{compliance-MC3X2M34.js → compliance-JA6VK45M.js} +5 -5
- package/dist/cli/{config-Z5BXGRZB.js → config-G7L2NAIX.js} +12 -7
- package/dist/cli/{consensus-T6UARQTD.js → consensus-TMDIZHXI.js} +5 -5
- package/dist/cli/{context-M4F3YXZE.js → context-6GLTMU2N.js} +5 -5
- package/dist/cli/{contribution-76FJYJKR.js → contribution-HPVDMKN6.js} +5 -5
- package/dist/cli/{curator-3YXUY4N7.js → curator-O2FXIQFI.js} +2 -2
- package/dist/cli/{current-EFRCVSWL.js → current-QFANPTZ4.js} +5 -5
- package/dist/cli/{daemon-UAAMDN6C.js → daemon-XTMW67JG.js} +5 -5
- package/dist/cli/{dash-ZEBYLYPV.js → dash-K25EK3MM.js} +5 -5
- package/dist/cli/{decide-GQTJOC55.js → decide-7JM6V3MS.js} +2 -2
- package/dist/cli/{decompose-XTK2DXSM.js → decompose-D2CI6H4Z.js} +5 -5
- package/dist/cli/{decomposition-ZDACSPOU.js → decomposition-HM2POZII.js} +5 -5
- package/dist/cli/{delete-6YZADILS.js → delete-WKIEMXKN.js} +5 -5
- package/dist/cli/{deps-WTASB2GB.js → deps-2X5EWRGY.js} +5 -5
- package/dist/cli/{detect-IITE5EBW.js → detect-SWEMXU4U.js} +5 -5
- package/dist/cli/{detect-drift-PVC7IPHL.js → detect-drift-M5C4RFJ5.js} +15 -12
- package/dist/cli/{diagnostics-MFUOSLSQ.js → diagnostics-6STQBKON.js} +5 -5
- package/dist/cli/{docs-AIZLN3ZE.js → docs-O5A34WJY.js} +172 -101
- package/dist/cli/{docs-NF5COLOB.js → docs-SI2YNPSG.js} +216 -30
- package/dist/cli/{doctor-4DWCNDOP.js → doctor-45UUXTVQ.js} +57 -52
- package/dist/cli/{doctor-ac-bindings-HPTG3DDJ.js → doctor-ac-bindings-PBJQ5AS6.js} +3 -3
- package/dist/cli/{doctor-acceptance-drift-P7DOAY54.js → doctor-acceptance-drift-FIV25NRE.js} +3 -3
- package/dist/cli/{doctor-credentials-TBRT7RAV.js → doctor-credentials-W7EGOG54.js} +3 -3
- package/dist/cli/{doctor-db-substrate-ZMLTPGQF.js → doctor-db-substrate-DQJDPL4K.js} +3 -3
- package/dist/cli/{doctor-dep-cycles-QWFYH2JK.js → doctor-dep-cycles-2RK2MAHL.js} +3 -3
- package/dist/cli/{doctor-exodus-FYBTDXNQ.js → doctor-exodus-SCIA5CZ5.js} +3 -3
- package/dist/cli/{doctor-exodus-residue-S7EKSTZS.js → doctor-exodus-residue-N7R3FRC5.js} +3 -3
- package/dist/cli/{doctor-fk-check-CNZCA74C.js → doctor-fk-check-5TND2DZH.js} +3 -3
- package/dist/cli/{doctor-global-delivery-FICIWVP6.js → doctor-global-delivery-ENAHOZF7.js} +3 -3
- package/dist/cli/{doctor-goal-runtime-UIPZRP5Y.js → doctor-goal-runtime-PN6LJFPN.js} +3 -3
- package/dist/cli/{doctor-heavy-command-hook-SJHLYWEI.js → doctor-heavy-command-hook-UK3PLJRM.js} +3 -3
- package/dist/cli/{doctor-hooks-GHQIAFOY.js → doctor-hooks-ABHXHN2C.js} +3 -3
- package/dist/cli/{doctor-legacy-backups-USISQQ5C.js → doctor-legacy-backups-6NXVR43I.js} +3 -3
- package/dist/cli/{doctor-legacy-reaper-54BUE5RK.js → doctor-legacy-reaper-SWQOAPNV.js} +3 -3
- package/dist/cli/{doctor-malformed-ids-LZNVED2E.js → doctor-malformed-ids-VPZE6A4O.js} +3 -3
- package/dist/cli/{doctor-manifest-rows-3L6RUH3C.js → doctor-manifest-rows-GHPAYQ6I.js} +3 -3
- package/dist/cli/{doctor-memory-guard-Z62J6U3O.js → doctor-memory-guard-Z6IMLQ5C.js} +3 -3
- package/dist/cli/{doctor-migrations-EYB6XSZ2.js → doctor-migrations-6HICMUH5.js} +3 -3
- package/dist/cli/{doctor-nexus-residency-GFS37HCL.js → doctor-nexus-residency-VEOZBSYZ.js} +3 -3
- package/dist/cli/{doctor-project-identity-A3C6ZWUQ.js → doctor-project-identity-UPRBKXXU.js} +3 -3
- package/dist/cli/{doctor-projects-73UHVECZ.js → doctor-projects-3BKEL6SE.js} +3 -3
- package/dist/cli/{doctor-projects-registry-5RGRJMCE.js → doctor-projects-registry-JQRWKMRP.js} +3 -3
- package/dist/cli/{doctor-release-readiness-7G3OGH2R.js → doctor-release-readiness-ZAK5RKP7.js} +3 -3
- package/dist/cli/{doctor-repair-IK6OSUHA.js → doctor-repair-KP66YRVA.js} +3 -3
- package/dist/cli/{doctor-row-identity-2CULRXQ2.js → doctor-row-identity-7BDE6BMR.js} +3 -3
- package/dist/cli/{doctor-skill-fixtures-OQ2RMIR6.js → doctor-skill-fixtures-MJQ7BJRE.js} +3 -3
- package/dist/cli/{doctor-split-brain-5YQGDVTY.js → doctor-split-brain-FFQ7U2FI.js} +3 -3
- package/dist/cli/{doctor-superseded-store-JLATIXXP.js → doctor-superseded-store-FQSFKMEX.js} +3 -3
- package/dist/cli/{doctor-sync-journal-MZM3WUIT.js → doctor-sync-journal-AM5M5RGO.js} +3 -3
- package/dist/cli/{doctor-sync-triggers-IZFC62D7.js → doctor-sync-triggers-4GSCFCL7.js} +3 -3
- package/dist/cli/{doctor-system-TJINX2M3.js → doctor-system-S7KYSUXW.js} +3 -3
- package/dist/cli/{doctor-tool-locks-VXKJZKAY.js → doctor-tool-locks-XRRQJ3MK.js} +3 -3
- package/dist/cli/{doctor-twin-collapse-C5GLUSAO.js → doctor-twin-collapse-SJM5LNAO.js} +3 -3
- package/dist/cli/doctor-type-matrix-6MJXOZI2.js +26 -0
- package/dist/cli/{doctor-worktree-stores-WZMB4ZHG.js → doctor-worktree-stores-TIR5ZDJ4.js} +3 -3
- package/dist/cli/{done-A7ITQSJT.js → done-TXCQGNT7.js} +91 -8
- package/dist/cli/{event-RD4EI52P.js → event-J2A7PIDI.js} +2 -2
- package/dist/cli/{exists-U33AFKXF.js → exists-NN5QNXFW.js} +2 -2
- package/dist/cli/{exodus-QHAQC5SH.js → exodus-VIV4AX54.js} +2 -2
- package/dist/cli/{export-OTDQUAQQ.js → export-T4YD6Q3U.js} +5 -5
- package/dist/cli/{export-tasks-BKVXMFLD.js → export-tasks-VB5U3YMC.js} +5 -5
- package/dist/cli/{federation-GZCJIYMK.js → federation-7WZTYIX7.js} +2 -2
- package/dist/cli/{find-BWKYKZEN.js → find-KMTKZ7FY.js} +5 -5
- package/dist/cli/{focus-772SYK7Z.js → focus-3BLWBLBG.js} +5 -5
- package/dist/cli/{focus-H5CBCFFV.js → focus-6ZYKBB3X.js} +2 -2
- package/dist/cli/{gateway-PJ2A6TNM.js → gateway-WVQ3QQFW.js} +2 -2
- package/dist/cli/{gc-KG3D2PSR.js → gc-PZGIBTWQ.js} +3 -3
- package/dist/cli/{go-AEDN2TNP.js → go-LK5WEP3M.js} +2 -2
- package/dist/cli/{goal-TG74GKBK.js → goal-IRTYU7XD.js} +3 -3
- package/dist/cli/{grade-BZYBWDA7.js → grade-GIXFAUVP.js} +5 -5
- package/dist/cli/{graph-LB2TBRH6.js → graph-SVPHG4VG.js} +8 -33
- package/dist/cli/{history-XIYAXOUF.js → history-LPGGTRI7.js} +5 -5
- package/dist/cli/{hook-GS5ZZX46.js → hook-VMFPDWVJ.js} +2 -2
- package/dist/cli/hook-entry.js +105 -7
- package/dist/cli/hygiene-NJD3GR56.js +142 -0
- package/dist/cli/{import-C2QISQC7.js → import-55RUOSXO.js} +5 -5
- package/dist/cli/{import-tasks-P6FYXAAS.js → import-tasks-RXPNEFPW.js} +5 -5
- package/dist/cli/index.js +256 -204
- package/dist/cli/{init-XLIT5JVO.js → init-KNRJ22RZ.js} +5 -5
- package/dist/cli/{inject-EDZVSPTW.js → inject-43VJCL2Y.js} +5 -5
- package/dist/cli/{install-global-FFNYQ366.js → install-global-GU4F2KKV.js} +2 -2
- package/dist/cli/{intelligence-OE7SIVR5.js → intelligence-36SGMEHH.js} +5 -5
- package/dist/cli/{issue-S67EZXN7.js → issue-VYWZG6BR.js} +5 -5
- package/dist/cli/{janitor-GMTGHNOZ.js → janitor-LU6EA55M.js} +2 -2
- package/dist/cli/{labels-M7GIBYAQ.js → labels-X6BEE5ZZ.js} +5 -5
- package/dist/cli/{lean-FNQ3D4VT.js → lean-GXLAUNNG.js} +2 -2
- package/dist/cli/{lifecycle-NO5QDJ2J.js → lifecycle-5P7AVPSI.js} +6 -6
- package/dist/cli/{list-VH6DPZ4V.js → list-5N73FV7H.js} +5 -5
- package/dist/cli/{llm-P35U52I5.js → llm-IO53XETC.js} +9 -9
- package/dist/cli/{llm-YVC5HL7D.js → llm-J3SYJEGB.js} +2 -2
- package/dist/cli/{llm-cost-CRIA3VMB.js → llm-cost-DYY7IC4W.js} +3 -3
- package/dist/cli/{llm-stream-YBT4FNWZ.js → llm-stream-G35ANQKL.js} +3 -3
- package/dist/cli/{log-XIPOX6UM.js → log-E7XZBG7W.js} +5 -5
- package/dist/cli/{login-SYEMTZXY.js → login-IRTRPQTX.js} +4 -4
- package/dist/cli/{logout-FVWR2AXZ.js → logout-XEL6AVVB.js} +4 -4
- package/dist/cli/{manifest-A5F2YD35.js → manifest-UZDHLWAN.js} +5 -5
- package/dist/cli/{map-AOMU72RY.js → map-6J27ZMSH.js} +5 -5
- package/dist/cli/{memory-4WNZWJG7.js → memory-CFG7P3MM.js} +65 -18
- package/dist/cli/{memory-GK5WDYWT.js → memory-Y2C7HYDJ.js} +4 -3
- package/dist/cli/merge-JCDDPQIX.js +65 -0
- package/dist/cli/{migrate-agents-v2-IX3IBBIT.js → migrate-agents-v2-4W4ZSHZM.js} +3 -3
- package/dist/cli/{migrate-claude-mem-OTSYHYBZ.js → migrate-claude-mem-MDBLLJ22.js} +6 -6
- package/dist/cli/{next-YUZ4X7NB.js → next-MSGFEI7M.js} +5 -5
- package/dist/cli/{nexus-RYH4IAG3.js → nexus-IK7QLEDF.js} +3 -11
- package/dist/cli/{nexus-YHPP3RZU.js → nexus-XULYITP6.js} +98 -63
- package/dist/cli/{nexus-vault-cli-2R6ALKUP.js → nexus-vault-cli-G7QY446L.js} +4 -4
- package/dist/cli/{ops-XPJK3WBN.js → ops-2XDAGO4L.js} +5 -5
- package/dist/cli/{orchestrate-AYBDAVOQ.js → orchestrate-BDU4ZLDN.js} +77 -346
- package/dist/cli/{orchestrate-TWV43SAR.js → orchestrate-SUOWHPIU.js} +147 -140
- package/dist/cli/{otel-TR54MLYU.js → otel-4AS22352.js} +2 -2
- package/dist/cli/owner-override-cap-5XAZD23U.js +31 -0
- package/dist/cli/{owner-password-GQO37FBV.js → owner-password-VBK5RHKP.js} +3 -3
- package/dist/cli/{phase-CFH2NZU5.js → phase-FF6OMRTY.js} +5 -5
- package/dist/cli/{pipeline-LW5HWLBI.js → pipeline-4ATMN26D.js} +3 -3
- package/dist/cli/{pivot-LEBKDG22.js → pivot-S6JDBRK4.js} +5 -5
- package/dist/cli/{plan-6VK5I4BT.js → plan-AY6CF5VB.js} +5 -5
- package/dist/cli/{playbook-YPGSNILZ.js → playbook-JDDX5F3H.js} +3 -3
- package/dist/cli/{playbook-4GKDYZYW.js → playbook-LJOLT6MX.js} +5 -5
- package/dist/cli/{project-QJM7P2HG.js → project-RCRORK6A.js} +3 -3
- package/dist/cli/project-hook-entry.js +1 -1
- package/dist/cli/{promote-4V4ZLAL3.js → promote-YAFPAZEH.js} +5 -5
- package/dist/cli/{provenance-2SFRY42O.js → provenance-2WVSVXNS.js} +5 -5
- package/dist/cli/{provider-G6MBFVHR.js → provider-GJD2MZOF.js} +5 -5
- package/dist/cli/{reason-2AYZ6SGZ.js → reason-QJZGRMSL.js} +5 -5
- package/dist/cli/{reconcile-7CBD7AHH.js → reconcile-JMYN3BON.js} +6 -5
- package/dist/cli/{refresh-memory-JTQYFIC7.js → refresh-memory-XVQE7B7L.js} +2 -2
- package/dist/cli/{relates-FP43JAOK.js → relates-NNOSVBIM.js} +5 -5
- package/dist/cli/{release-NW7XHRVB.js → release-DB23AFID.js} +136 -6
- package/dist/cli/{release-OWPFPUQG.js → release-EI72GMAM.js} +79 -96
- package/dist/cli/release-authorize-OPL262T6.js +84 -0
- package/dist/cli/{remote-ZCCQGM5A.js → remote-XJGF5MGU.js} +2 -2
- package/dist/cli/{renderers-37XPXD3K.js → renderers-AMSXAXLY.js} +2 -2
- package/dist/cli/{reorder-M457CQRR.js → reorder-HFTIHYBZ.js} +5 -5
- package/dist/cli/{reparent-53T6IUUS.js → reparent-JOBADCH5.js} +5 -5
- package/dist/cli/{req-ORMMU5PV.js → req-6JXMXBNA.js} +38 -5
- package/dist/cli/{research-LFGCGIEP.js → research-5GRWQLHM.js} +6 -6
- package/dist/cli/{restore-ZYRIZQUJ.js → restore-ZZH5EUTG.js} +12 -6
- package/dist/cli/{revert-XB7K5DR7.js → revert-2F3RPBGW.js} +2 -2
- package/dist/cli/review-LTRABBAL.js +162 -0
- package/dist/cli/{roadmap-EK6LXBQ4.js → roadmap-THEKOZ3A.js} +5 -5
- package/dist/cli/{run-PZJCIRFD.js → run-LH2KI2BV.js} +57 -4
- package/dist/cli/{safestop-NO57J3RK.js → safestop-3BH4GLOW.js} +5 -5
- package/dist/cli/{saga-NIJMIJE5.js → saga-SMAWF37G.js} +5 -5
- package/dist/cli/{schema-5SBTATBP.js → schema-J4UNFL5K.js} +2 -2
- package/dist/cli/{self-update-7747XBHR.js → self-update-OP7X4SV5.js} +2 -2
- package/dist/cli/{selfimprove-6HSEV3RG.js → selfimprove-MJXG7BIB.js} +5 -5
- package/dist/cli/{selfimprove-IYKG5PF4.js → selfimprove-MQ5WGGVO.js} +2 -2
- package/dist/cli/{sentient-U56VMS6D.js → sentient-B7TXJ2XI.js} +2 -2
- package/dist/cli/{sentient-Z7W7WO74.js → sentient-W3D6ATW5.js} +2 -2
- package/dist/cli/{sequence-T42KPEEQ.js → sequence-VUPNLIB3.js} +5 -5
- package/dist/cli/{service-CBEZWGHC.js → service-ZBMCSGAO.js} +5 -5
- package/dist/cli/{session-XDADM7O4.js → session-5JTABSZR.js} +6 -6
- package/dist/cli/{session-TFVW42XK.js → session-NN655K5R.js} +3 -3
- package/dist/cli/{setup-WZVYP7QA.js → setup-JQ3DFC5Q.js} +4 -4
- package/dist/cli/{show-I2TEU6MP.js → show-OKAPY3KE.js} +5 -6
- package/dist/cli/{skill-YUWT2LC6.js → skill-HOUTOSDX.js} +2 -2
- package/dist/cli/{skills-ZBYRPFRL.js → skills-CJ4UY4VG.js} +7 -7
- package/dist/cli/{snapshot-GMN7LZ4A.js → snapshot-5AUXE72Q.js} +5 -5
- package/dist/cli/{start-FQWDRGJE.js → start-ZB263BD4.js} +5 -5
- package/dist/cli/{stats-D2AU77GH.js → stats-QKNT3RCZ.js} +5 -5
- package/dist/cli/{status-TNLDBR7K.js → status-7BIMUOCS.js} +2 -2
- package/dist/cli/{sticky-FKZFQYNV.js → sticky-IDNWN3F6.js} +5 -5
- package/dist/cli/{sticky-EKL5FD2D.js → sticky-Z2BMRSAB.js} +2 -2
- package/dist/cli/{stop-ZCL7RZPH.js → stop-OCEFE7PM.js} +5 -5
- package/dist/cli/{sync-WM4JLGXF.js → sync-6DQ2OAMG.js} +6 -6
- package/dist/cli/{tasks-RU6AAJKD.js → tasks-BIZI4QJF.js} +30 -5
- package/dist/cli/{tasks-54WNYQZS.js → tasks-Q2XYKLX6.js} +5 -5
- package/dist/cli/{telemetry-RQFRJRBZ.js → telemetry-DCWQTH2I.js} +2 -2
- package/dist/cli/{templates-6H4CTUCW.js → templates-Q3QZQZ62.js} +2 -2
- package/dist/cli/{testing-S7FCPHW5.js → testing-PTDKLHX3.js} +5 -5
- package/dist/cli/{token-BDRGEO3E.js → token-BZEEYQHF.js} +5 -5
- package/dist/cli/{transcript-DVV4EFPG.js → transcript-ZY6UF3TU.js} +2 -2
- package/dist/cli/{update-BD77ORMO.js → update-E5PECNWK.js} +5 -5
- package/dist/cli/{upgrade-EDQ7F6OX.js → upgrade-E6M4ERKP.js} +5 -5
- package/dist/cli/{verify-VOJRQQE2.js → verify-474GA75M.js} +12 -7
- package/dist/cli/{web-BPCE3X2V.js → web-R7LXSDEG.js} +2 -2
- package/dist/cli/{workgraph-ZKOFWUUE.js → workgraph-LWSTY3JY.js} +6 -6
- package/dist/cli/{worktree-2UEPNBJC.js → worktree-3B5JR6N7.js} +4 -5
- package/dist/cli/{worktree-2HHJT5BS.js → worktree-ZCJAH23Z.js} +12 -14
- package/package.json +16 -14
- package/studio-dist/client/_app/immutable/chunks/{CwQ8nAoh.js → 6tOJRYtC.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{C87Q3uxm.js → Bb5_AOYB.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/C2a5FdIt.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{Dv66614U.js → DdIqZ0F-.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{Js_lZuOv.js → DtBpLaMM.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{EZwHPWle.js → h4IOtB0S.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.C2oQiIiz.js → app.Bu2fyKEV.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.CBBzjkal.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DaE6eVaG.js → 0.D0Q67wN6.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.D0Mb3i_7.js → 1.Cx9rAK7i.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.ChRO-4dz.js → 15.DnOsli29.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.fltF2wse.js → 16.CrxwCKGy.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DnYjMhyj.js → 17.Cdh0_9mm.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.DYVIAC9a.js → 18.8GsoNI5O.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.CVBcbjBW.js → 20.BJG6Nl3w.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.Bfswm8Y5.js → 24.j8WC-gjA.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/25.BlW7cJd4.js +39 -0
- package/studio-dist/client/_app/immutable/nodes/{26.D3RoTHoD.js → 26.C5RluMQM.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{28.D64RBcfs.js → 28.B9m_UNTl.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{29.yfuBeH1x.js → 29.BLFaoK4P.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.ezhkaJvt.js → 3.BhtcETod.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BKQLYEeE.js → 0-3ISI_Jd4.js} +3 -3
- package/studio-dist/server/chunks/1-CM2aVyEP.js +9 -0
- package/studio-dist/server/chunks/{15-DuSvkmiZ.js → 15-3X9-99yQ.js} +3 -3
- package/studio-dist/server/chunks/{16-DJVePzvS.js → 16-CpB7uymk.js} +3 -3
- package/studio-dist/server/chunks/{17-D8K9-EPJ.js → 17-BwPBOkXY.js} +3 -3
- package/studio-dist/server/chunks/{18-D5FUPGnv.js → 18-4rPYGgn2.js} +3 -3
- package/studio-dist/server/chunks/{2-DQaIET_o.js → 2-q7c9jKfs.js} +6 -6
- package/studio-dist/server/chunks/{20-CmHgNZFV.js → 20-BRURJXYm.js} +3 -3
- package/studio-dist/server/chunks/{23-D194DGVi.js → 23-DEuC4HS6.js} +3 -2
- package/studio-dist/server/chunks/{24-CfuHWHgd.js → 24-guuvcnQd.js} +5 -4
- package/studio-dist/server/chunks/{25-bm3BDSum.js → 25-Cu45aO6X.js} +618 -36
- package/studio-dist/server/chunks/{26-DRlhAbrf.js → 26-CbjqXxSv.js} +15 -14
- package/studio-dist/server/chunks/{28-DeYe2rpm.js → 28-CiVv4jji.js} +3 -3
- package/studio-dist/server/chunks/{29-d_lZvJg3.js → 29-CHrYKy9L.js} +6 -5
- package/studio-dist/server/chunks/{3-BrE1-gTA.js → 3-dGuWwuGL.js} +4 -4
- package/studio-dist/server/chunks/30-CZYg7-qi.js +94 -0
- package/studio-dist/server/chunks/{_layout.svelte-BeqNMCvk.js → _layout.svelte-BtFiGIEp.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-Dm8y5a8S.js → _page.svelte-Bazc0M-R.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-V7BTZinR.js → _page.svelte-C3zGtsso.js} +9 -8
- package/studio-dist/server/chunks/{_page.svelte-CJVF_ySt.js → _page.svelte-C7HQSp26.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Bchzzf-O.js → _page.svelte-CGmJXo2R.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CkXCx1iz.js → _page.svelte-CQVvPMmQ.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DIx7Hcw-.js → _page.svelte-CndKFWTU.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Ds0GMs_q.js → _page.svelte-CpWAUdOW.js} +5 -5
- package/studio-dist/server/chunks/{_page.svelte-DM-MP-Vl.js → _page.svelte-DWXNbjU9.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-B7xxx6BP.js → _page.svelte-DciYSvHg.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DnmZYECG.js → _page.svelte-FsmVvOW2.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Cx9Ptecp.js → _page.svelte-_ePwQLv-.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-B5vYKkI6.js → _server.ts--7OuOtTn.js} +1 -2
- package/studio-dist/server/chunks/{_server.ts-Cd_KHxRr.js → _server.ts-BDyyTu-K.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-YtGAClvW.js → _server.ts-Bqqug0HB.js} +10 -8
- package/studio-dist/server/chunks/{_server.ts-CcQ0AQoo.js → _server.ts-C_2-lCv8.js} +6 -5
- package/studio-dist/server/chunks/{_server.ts-6A72NyG7.js → _server.ts-Cr0M7RVU.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-BKZlM7rp.js → _server.ts-Csp0H96s.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-DdCviCsN.js → _server.ts-CyTTBEcl.js} +4 -4
- package/studio-dist/server/chunks/{_server.ts-Ck-oreiA.js → _server.ts-D6VzZhEs.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-b2YIpIsi.js → _server.ts-D9u8o_fg.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-XLV5SvjH.js → _server.ts-NPYD7LXS.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-CqO357sV.js → _server.ts-Te-2tjen.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-OPrTc7WI.js → _server.ts-ZJufMUl-.js} +2 -2
- package/studio-dist/server/chunks/{client-DR3j81J8.js → client-DKCgIuPq.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-NY-X_Qdt.js → error.svelte-gYXatkJM.js} +3 -3
- package/studio-dist/server/chunks/{explorer-loader-CP09K03H.js → explorer-loader-fHkiu8Z4.js} +8 -6
- package/studio-dist/server/chunks/{http-Dz72j56i.js → http-elrAoEmj.js} +2 -2
- package/studio-dist/server/chunks/{internal-y7btLoII.js → internal-C4t8_O0Q.js} +2 -2
- package/studio-dist/server/chunks/{lane-transition-lM2ngbbc.js → lane-transition-tca216Ny.js} +10 -3
- package/studio-dist/server/chunks/{operations-registry-DKEHmggR.js → operations-registry-C9N47F53.js} +350 -471
- package/studio-dist/server/chunks/{stores-Cm-Qj76R.js → stores-CLlSxFBW.js} +2 -2
- package/studio-dist/server/chunks/{tasks-sWuEmiGW.js → tasks-Ch-fdBjA.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +29 -29
- package/dist/cli/canon-docs-2GTOLF7Y.js +0 -26
- package/dist/cli/chunk-IGM44F43.js +0 -33
- package/dist/cli/conduit-STEBYJTU.js +0 -535
- package/dist/cli/conduit-XYYPJYUF.js +0 -319
- package/dist/cli/hygiene-QVIG57RZ.js +0 -55
- package/studio-dist/client/_app/immutable/chunks/BXnpxR_0.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.BolRa540.js +0 -1
- package/studio-dist/client/_app/immutable/nodes/25.B_7VqHJ6.js +0 -39
- package/studio-dist/server/chunks/1-ClOr3JN3.js +0 -9
- package/studio-dist/server/chunks/30-BHsj4oeh.js +0 -105
|
@@ -17,34 +17,33 @@
|
|
|
17
17
|
// packages/cleo/src/dispatch/domains/lazy.ts
|
|
18
18
|
import { OPERATIONS } from "@cleocode/contracts/dispatch/operations-registry.js";
|
|
19
19
|
var DOMAIN_LOADERS = [
|
|
20
|
-
["tasks", async () => new (await import("./tasks-
|
|
21
|
-
["session", async () => new (await import("./session-
|
|
20
|
+
["tasks", async () => new (await import("./tasks-BIZI4QJF.js")).TasksHandler()],
|
|
21
|
+
["session", async () => new (await import("./session-NN655K5R.js")).SessionHandler()],
|
|
22
22
|
["attention", async () => new (await import("./attention-BVRGUJJQ.js")).AttentionHandler()],
|
|
23
|
-
["memory", async () => new (await import("./memory-
|
|
23
|
+
["memory", async () => new (await import("./memory-Y2C7HYDJ.js")).MemoryHandler()],
|
|
24
24
|
["intelligence", async () => new (await import("./intelligence-SEARRRBF.js")).IntelligenceHandler()],
|
|
25
|
-
["check", async () => new (await import("./check-
|
|
26
|
-
["pipeline", async () => new (await import("./pipeline-
|
|
27
|
-
["orchestrate", async () => new (await import("./orchestrate-
|
|
25
|
+
["check", async () => new (await import("./check-BNV2Z7NL.js")).CheckHandler()],
|
|
26
|
+
["pipeline", async () => new (await import("./pipeline-4ATMN26D.js")).PipelineHandler()],
|
|
27
|
+
["orchestrate", async () => new (await import("./orchestrate-BDU4ZLDN.js")).OrchestrateHandler()],
|
|
28
28
|
["tools", async () => new (await import("./tools-UM3OZKEH.js")).ToolsHandler()],
|
|
29
|
-
["admin", async () => new (await import("./admin-
|
|
30
|
-
["nexus", async () => new (await import("./nexus-
|
|
31
|
-
["sticky", async () => new (await import("./sticky-
|
|
29
|
+
["admin", async () => new (await import("./admin-LOGL2TBY.js")).AdminHandler()],
|
|
30
|
+
["nexus", async () => new (await import("./nexus-IK7QLEDF.js")).NexusHandler()],
|
|
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-
|
|
34
|
-
["focus", async () => new (await import("./focus-
|
|
35
|
-
["playbook", async () => new (await import("./playbook-
|
|
36
|
-
["
|
|
37
|
-
["
|
|
38
|
-
["release", async () => new (await import("./release-OWPFPUQG.js")).ReleaseHandler()],
|
|
33
|
+
["docs", async () => new (await import("./docs-SI2YNPSG.js")).DocsHandler()],
|
|
34
|
+
["focus", async () => new (await import("./focus-6ZYKBB3X.js")).FocusHandler()],
|
|
35
|
+
["playbook", async () => new (await import("./playbook-JDDX5F3H.js")).PlaybookHandler()],
|
|
36
|
+
["sentient", async () => new (await import("./sentient-W3D6ATW5.js")).SentientHandler()],
|
|
37
|
+
["release", async () => new (await import("./release-EI72GMAM.js")).ReleaseHandler()],
|
|
39
38
|
["provenance", async () => new (await import("./provenance-3YCF7G7L.js")).ProvenanceHandler()],
|
|
40
|
-
["selfimprove", async () => new (await import("./selfimprove-
|
|
39
|
+
["selfimprove", async () => new (await import("./selfimprove-MQ5WGGVO.js")).SelfimproveHandler()],
|
|
41
40
|
["service", async () => new (await import("./service-5SQKAABN.js")).ServiceHandler()],
|
|
42
|
-
["llm", async () => new (await import("./llm-
|
|
41
|
+
["llm", async () => new (await import("./llm-J3SYJEGB.js")).LlmHandler()],
|
|
43
42
|
["account", async () => new (await import("./entities-JYA4L2OV.js")).AccountHandler()],
|
|
44
43
|
["provider", async () => new (await import("./entities-JYA4L2OV.js")).ProviderHandler()],
|
|
45
44
|
["model", async () => new (await import("./entities-JYA4L2OV.js")).ModelHandler()],
|
|
46
45
|
["profile", async () => new (await import("./entities-JYA4L2OV.js")).ProfileHandler()],
|
|
47
|
-
["worktree", async () => new (await import("./worktree-
|
|
46
|
+
["worktree", async () => new (await import("./worktree-3B5JR6N7.js")).WorktreeHandler()],
|
|
48
47
|
["upgrade", async () => new (await import("./upgrade-27CBXUXH.js")).UpgradeHandler()]
|
|
49
48
|
];
|
|
50
49
|
var LazyDomainHandler = class {
|
|
@@ -97,4 +96,4 @@ export {
|
|
|
97
96
|
createLazyDomainHandlers,
|
|
98
97
|
lazyOperation
|
|
99
98
|
};
|
|
100
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-D75KPNMP.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
23
23
|
|
|
24
24
|
// packages/cleo/src/cli/commands/doctor-ac-bindings.ts
|
|
25
25
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -74,4 +74,4 @@ var doctorAcBindingsCommand = defineCommand({
|
|
|
74
74
|
export {
|
|
75
75
|
doctorAcBindingsCommand
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-DA7LGEOB.js.map
|
|
@@ -598,7 +598,6 @@ function humanRenderers() {
|
|
|
598
598
|
"nexus-brain-anchors": r.renderNexusBrainAnchors,
|
|
599
599
|
"nexus-why": r.renderNexusWhy,
|
|
600
600
|
"nexus-impact-full": r.renderNexusImpactFull,
|
|
601
|
-
"nexus-conduit-scan": r.renderNexusConduitScan,
|
|
602
601
|
"nexus-task-symbols": r.renderNexusTaskSymbols,
|
|
603
602
|
"nexus-search-code": r.renderNexusSearchCode,
|
|
604
603
|
"nexus-contracts-sync": r.renderNexusContractsSync,
|
|
@@ -961,4 +960,4 @@ export {
|
|
|
961
960
|
isHumanOutput,
|
|
962
961
|
cliError
|
|
963
962
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
963
|
+
//# sourceMappingURL=chunk-FD6EQLV7.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.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-
|
|
171
|
+
//# sourceMappingURL=chunk-FJ5CWNTM.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
23
23
|
|
|
24
24
|
// packages/cleo/src/cli/commands/doctor-superseded-store.ts
|
|
25
25
|
import { scanSupersededStores } from "@cleocode/core/doctor/superseded-store.js";
|
|
@@ -126,4 +126,4 @@ var doctorSupersededStoreCommand = defineCommand({
|
|
|
126
126
|
export {
|
|
127
127
|
doctorSupersededStoreCommand
|
|
128
128
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
129
|
+
//# sourceMappingURL=chunk-FYS4D5VL.js.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import {
|
|
17
|
+
defineCommand
|
|
18
|
+
} from "./chunk-IVN46UST.js";
|
|
19
|
+
import {
|
|
20
|
+
cliError,
|
|
21
|
+
cliOutput
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
23
|
+
|
|
24
|
+
// packages/cleo/src/cli/commands/doctor-type-matrix.ts
|
|
25
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
26
|
+
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
27
|
+
import { getProjectRoot } from "@cleocode/core/paths.js";
|
|
28
|
+
var doctorTypeMatrixCommand = defineCommand({
|
|
29
|
+
meta: {
|
|
30
|
+
name: "type-matrix",
|
|
31
|
+
description: "Repair parent/child pairs that break the type matrix (dry run; --apply, --rollback <receipt>)"
|
|
32
|
+
},
|
|
33
|
+
args: {
|
|
34
|
+
apply: {
|
|
35
|
+
type: "boolean",
|
|
36
|
+
description: "Apply the proposals and the --resolutions operations in one transaction."
|
|
37
|
+
},
|
|
38
|
+
resolutions: {
|
|
39
|
+
type: "string",
|
|
40
|
+
description: 'JSON file of operations for ambiguous pairs: [{"kind":"retype","taskId":"T1","to":"epic"}, {"kind":"reparent","taskId":"T2","toParentId":"T3"}]; toParentId null moves to the root; one task may take one re-type and one reparent.'
|
|
41
|
+
},
|
|
42
|
+
plan: {
|
|
43
|
+
type: "string",
|
|
44
|
+
description: "With --apply: the reviewed dry run (its JSON output). The apply runs only those operations, and only on rows unchanged since that plan read them (E_CONFLICT otherwise)."
|
|
45
|
+
},
|
|
46
|
+
rollback: {
|
|
47
|
+
type: "string",
|
|
48
|
+
description: "Receipt id of an applied repair to undo."
|
|
49
|
+
},
|
|
50
|
+
json: { type: "boolean", description: "Output as JSON" },
|
|
51
|
+
human: { type: "boolean", description: "Force human-readable output" },
|
|
52
|
+
quiet: { type: "boolean", description: "Suppress non-essential output" }
|
|
53
|
+
},
|
|
54
|
+
async run({ args }) {
|
|
55
|
+
const root = getProjectRoot();
|
|
56
|
+
const repair = await import("@cleocode/core/doctor/type-matrix-repair.js");
|
|
57
|
+
if (typeof args.rollback === "string" && args.rollback !== "") {
|
|
58
|
+
const result = await repair.rollbackTypeMatrixRepair(root, args.rollback);
|
|
59
|
+
cliOutput(result, { command: "doctor", operation: "doctor.type-matrix.rollback" });
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const fromFile = (flag, path, parse) => {
|
|
63
|
+
if (typeof path !== "string" || path === "") return { ok: true, value: void 0 };
|
|
64
|
+
const parsed = existsSync(path) ? parse(readFileSync(path, "utf-8")) : { ok: false, reason: "no such file" };
|
|
65
|
+
if (parsed.ok) return parsed;
|
|
66
|
+
cliError(`--${flag} ${path}: ${parsed.reason}`, ExitCode.VALIDATION_ERROR, {
|
|
67
|
+
name: "E_VALIDATION"
|
|
68
|
+
});
|
|
69
|
+
return { ok: false };
|
|
70
|
+
};
|
|
71
|
+
const resolutions = fromFile("resolutions", args.resolutions, (text) => {
|
|
72
|
+
const r = repair.parseTypeMatrixResolutions(text);
|
|
73
|
+
return r.ok ? { ok: true, value: r.operations } : r;
|
|
74
|
+
});
|
|
75
|
+
const plan = fromFile("plan", args.plan, repair.parseTypeMatrixPlan);
|
|
76
|
+
if (!resolutions.ok || !plan.ok) return;
|
|
77
|
+
const ops = resolutions.value ?? [];
|
|
78
|
+
const report = args.apply === true ? plan.value ? await repair.applyTypeMatrixRepair(root, ops, { plan: plan.value }) : await repair.applyTypeMatrixRepair(root, ops) : await repair.planTypeMatrixRepair(root, ops);
|
|
79
|
+
cliOutput(report, {
|
|
80
|
+
command: "doctor",
|
|
81
|
+
operation: args.apply === true ? "doctor.type-matrix.apply" : "doctor.type-matrix.plan"
|
|
82
|
+
});
|
|
83
|
+
if (report.unresolved.length > 0 && (process.exitCode === void 0 || process.exitCode === 0)) {
|
|
84
|
+
process.exitCode = 1;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
doctorTypeMatrixCommand
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=chunk-HACZVXOL.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput,
|
|
22
22
|
humanLine
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FD6EQLV7.js";
|
|
24
24
|
|
|
25
25
|
// packages/cleo/src/cli/commands/backup-inspect.ts
|
|
26
26
|
import fs from "node:fs";
|
|
@@ -285,4 +285,4 @@ var backupInspectSubCommand = defineCommand({
|
|
|
285
285
|
export {
|
|
286
286
|
backupInspectSubCommand
|
|
287
287
|
};
|
|
288
|
-
//# sourceMappingURL=chunk-
|
|
288
|
+
//# sourceMappingURL=chunk-HPRGQCRR.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-hooks.ts
|
|
24
24
|
var doctorHooksCommand = defineCommand({
|
|
@@ -68,4 +68,4 @@ var doctorHooksCommand = defineCommand({
|
|
|
68
68
|
export {
|
|
69
69
|
doctorHooksCommand
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-IC33OPZA.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
23
23
|
|
|
24
24
|
// packages/cleo/src/cli/commands/doctor-global-delivery.ts
|
|
25
25
|
import {
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
var doctorGlobalDeliveryCommand = defineCommand({
|
|
30
30
|
meta: {
|
|
31
31
|
name: "global-delivery",
|
|
32
|
-
description: "Check that ~/.cleo, the global hub reference and every harness CLEO skill install resolve. Read-only; --repair relinks them with a receipt (--dry-run to preview)."
|
|
32
|
+
description: "Check that ~/.cleo, the global hub reference and every harness CLEO skill install resolve, and that every managed instruction block hashes to the current template. Read-only; --repair relinks them and refreshes only stale managed blocks, with a receipt (--dry-run to preview)."
|
|
33
33
|
},
|
|
34
34
|
args: {
|
|
35
35
|
repair: {
|
|
36
36
|
type: "boolean",
|
|
37
|
-
description: "Relink ~/.cleo to the OS data dir and every dangling or ~/.cleo-routed skill entry to the physical skills dir (verified symlink, else copy). Appends a receipt."
|
|
37
|
+
description: "Relink ~/.cleo to the OS data dir and every dangling or ~/.cleo-routed skill entry to the physical skills dir (verified symlink, else copy), and rewrite only the stale CAAMP block of each provider instruction file. Appends a receipt."
|
|
38
38
|
},
|
|
39
39
|
"dry-run": {
|
|
40
40
|
type: "boolean",
|
|
@@ -80,4 +80,4 @@ var doctorGlobalDeliveryCommand = defineCommand({
|
|
|
80
80
|
export {
|
|
81
81
|
doctorGlobalDeliveryCommand
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=chunk-
|
|
83
|
+
//# sourceMappingURL=chunk-ICFMF56Q.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.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-
|
|
90
|
+
//# sourceMappingURL=chunk-IDFVCC6T.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliOutput,
|
|
21
21
|
humanLine
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
23
23
|
|
|
24
24
|
// packages/cleo/src/cli/commands/doctor-release-readiness.ts
|
|
25
25
|
import { existsSync } from "node:fs";
|
|
@@ -275,4 +275,4 @@ var doctorReleaseReadinessCommand = defineCommand({
|
|
|
275
275
|
export {
|
|
276
276
|
doctorReleaseReadinessCommand
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
278
|
+
//# sourceMappingURL=chunk-IDZSVRTW.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-migrations.ts
|
|
24
24
|
import { inspectMigrations } from "@cleocode/core/doctor/migrations.js";
|
|
@@ -43,4 +43,4 @@ var doctorMigrationsCommand = defineCommand({
|
|
|
43
43
|
export {
|
|
44
44
|
doctorMigrationsCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-K3VVRO75.js.map
|
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
readOwnerPassword
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LVPOIHUW.js";
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-6JSJNYH2.js";
|
|
22
|
+
} from "./chunk-FD6EQLV7.js";
|
|
24
23
|
|
|
25
24
|
// packages/cleo/src/cli/lib/owner-override-cap.ts
|
|
26
25
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -83,8 +82,49 @@ async function runOwnerOverrideCapSet(rawValue) {
|
|
|
83
82
|
{ command: "config-set", operation: "config.set" }
|
|
84
83
|
);
|
|
85
84
|
}
|
|
85
|
+
async function runOwnerReviewWorkersCountedSet(rawValue) {
|
|
86
|
+
const raw = rawValue.trim().toLowerCase();
|
|
87
|
+
if (raw !== "true" && raw !== "false") {
|
|
88
|
+
cliError(
|
|
89
|
+
`review.workers.counted takes true or false (got "${rawValue}")`,
|
|
90
|
+
ExitCode.VALIDATION_ERROR,
|
|
91
|
+
{ name: "E_VALIDATION" },
|
|
92
|
+
{ operation: "config.set" }
|
|
93
|
+
);
|
|
94
|
+
process.exit(ExitCode.VALIDATION_ERROR);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
const { core, root, caller } = await ownerCaller("review.workers.counted");
|
|
98
|
+
const result = await core.setOwnerReviewWorkersCounted(root, {
|
|
99
|
+
...caller,
|
|
100
|
+
value: raw === "true"
|
|
101
|
+
});
|
|
102
|
+
if (!result.ok) {
|
|
103
|
+
cliError(
|
|
104
|
+
result.message,
|
|
105
|
+
ExitCode.GENERAL_ERROR,
|
|
106
|
+
{ name: result.code },
|
|
107
|
+
{ operation: "config.set" }
|
|
108
|
+
);
|
|
109
|
+
process.exit(ExitCode.GENERAL_ERROR);
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
cliOutput(
|
|
113
|
+
{
|
|
114
|
+
scope: "project",
|
|
115
|
+
key: core.REVIEW_WORKERS_COUNTED_KEY,
|
|
116
|
+
value: result.value,
|
|
117
|
+
previous: result.previous,
|
|
118
|
+
sealed: true
|
|
119
|
+
},
|
|
120
|
+
{ command: "config-set", operation: "config.set" }
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
86
124
|
export {
|
|
125
|
+
ownerCaller,
|
|
87
126
|
runOwnerEnroll,
|
|
88
|
-
runOwnerOverrideCapSet
|
|
127
|
+
runOwnerOverrideCapSet,
|
|
128
|
+
runOwnerReviewWorkersCountedSet
|
|
89
129
|
};
|
|
90
|
-
//# sourceMappingURL=
|
|
130
|
+
//# sourceMappingURL=chunk-KA636FBJ.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.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-
|
|
48
|
+
//# sourceMappingURL=chunk-KNHQAYMR.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
cliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FD6EQLV7.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-
|
|
65
|
+
//# sourceMappingURL=chunk-LVPOIHUW.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-legacy-reaper.ts
|
|
24
24
|
import { scanLegacyReaper } from "@cleocode/core/doctor/legacy-reaper.js";
|
|
@@ -45,4 +45,4 @@ var doctorLegacyReaperCommand = defineCommand({
|
|
|
45
45
|
export {
|
|
46
46
|
doctorLegacyReaperCommand
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-M7L5XJYS.js.map
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
dispatchRaw,
|
|
21
21
|
handleRawError,
|
|
22
22
|
maybeEmitDescribe
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-IVN46UST.js";
|
|
27
27
|
import {
|
|
28
28
|
cliOutput
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FD6EQLV7.js";
|
|
30
30
|
|
|
31
31
|
// packages/cleo/src/cli/commands/complete.ts
|
|
32
32
|
var completeCommandArgs = {
|
|
@@ -79,11 +79,11 @@ var completeCommandArgs = {
|
|
|
79
79
|
type: "string",
|
|
80
80
|
description: "Fail with E_CONFLICT unless the task updatedAt still equals this version (from cleo show). Guards against completing over a concurrent edit."
|
|
81
81
|
},
|
|
82
|
-
//
|
|
82
|
+
// --no-integrate skips merging; terminal-task cleanup retains branches.
|
|
83
83
|
integrate: {
|
|
84
84
|
type: "boolean",
|
|
85
85
|
default: true,
|
|
86
|
-
description: "Merge a CLEO-provisioned task/<id> worktree into the local default branch on completion (never pushed). --no-integrate (or CLEO_NO_AUTO_WORKTREE_COMPLETE=1)
|
|
86
|
+
description: "Merge a CLEO-provisioned task/<id> worktree into the local default branch on completion (never pushed). --no-integrate (or CLEO_NO_AUTO_WORKTREE_COMPLETE=1) skips merging; proven-safe worktree cleanup still runs and retains branches. cleo done --plan shows the decision."
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
function completeDispatchParams(args) {
|
|
@@ -148,6 +148,9 @@ var completeCommand = defineCommand({
|
|
|
148
148
|
if (data?.integration && typeof data.integration === "object") {
|
|
149
149
|
output["integration"] = data.integration;
|
|
150
150
|
}
|
|
151
|
+
if (Array.isArray(data?.worktreeRelease) && data.worktreeRelease.length > 0) {
|
|
152
|
+
output["worktreeRelease"] = data.worktreeRelease;
|
|
153
|
+
}
|
|
151
154
|
cliOutput(output, { command: "complete", operation: "tasks.complete" });
|
|
152
155
|
}
|
|
153
156
|
});
|
|
@@ -157,4 +160,4 @@ export {
|
|
|
157
160
|
completeDispatchParams,
|
|
158
161
|
completeCommand
|
|
159
162
|
};
|
|
160
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-MYBFLQT4.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.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-
|
|
92
|
+
//# sourceMappingURL=chunk-OMLSVE5U.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FD6EQLV7.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-
|
|
124
|
+
//# sourceMappingURL=chunk-QZKOWHXO.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-goal-runtime.ts
|
|
24
24
|
import { getProjectRoot } from "@cleocode/core/paths.js";
|
|
@@ -46,4 +46,4 @@ var doctorGoalRuntimeCommand = defineCommand({
|
|
|
46
46
|
export {
|
|
47
47
|
doctorGoalRuntimeCommand
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-SKQG2E6A.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
cliError,
|
|
24
24
|
cliOutput
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FD6EQLV7.js";
|
|
26
26
|
|
|
27
27
|
// packages/cleo/src/cli/commands/doctor-db-substrate.ts
|
|
28
28
|
import { dirname } from "node:path";
|
|
@@ -207,4 +207,4 @@ var doctorDbSubstrateCommand = defineCommand({
|
|
|
207
207
|
export {
|
|
208
208
|
doctorDbSubstrateCommand
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-TBIXOLSO.js.map
|
|
@@ -55,30 +55,12 @@ function wrapCoreResult(result, opName, fallback) {
|
|
|
55
55
|
}
|
|
56
56
|
return lafsSuccess(result.data ?? fallback, opName);
|
|
57
57
|
}
|
|
58
|
-
async function wrapConduitImpl(fn, opName) {
|
|
59
|
-
try {
|
|
60
|
-
const result = await fn();
|
|
61
|
-
if (!result.success) {
|
|
62
|
-
return lafsError(
|
|
63
|
-
String(result.error?.code ?? "E_CONDUIT"),
|
|
64
|
-
result.error?.message ?? "Unknown error",
|
|
65
|
-
opName
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
return lafsSuccess(result.data ?? {}, opName);
|
|
69
|
-
} catch (error) {
|
|
70
|
-
if (!(error instanceof Error)) return lafsError("E_CONDUIT", String(error), opName);
|
|
71
|
-
const code = "code" in error && typeof error.code === "string" ? error.code : "";
|
|
72
|
-
return lafsError(/^E_[A-Z0-9_]+$/.test(code) ? code : "E_CONDUIT", error.message, opName);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
58
|
|
|
76
59
|
export {
|
|
77
60
|
typedDispatch,
|
|
78
61
|
defineTypedHandler,
|
|
79
62
|
lafsSuccess,
|
|
80
63
|
lafsError,
|
|
81
|
-
wrapCoreResult
|
|
82
|
-
wrapConduitImpl
|
|
64
|
+
wrapCoreResult
|
|
83
65
|
};
|
|
84
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-TM72T27J.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-malformed-ids.ts
|
|
24
24
|
import { scanMalformedTaskIds } from "@cleocode/core/doctor/malformed-task-ids.js";
|
|
@@ -26,24 +26,31 @@ import { getProjectRoot } from "@cleocode/core/project-scope";
|
|
|
26
26
|
var doctorMalformedIdsCommand = defineCommand({
|
|
27
27
|
meta: {
|
|
28
28
|
name: "malformed-ids",
|
|
29
|
-
description: "Report task rows whose id is not a valid task identifier \u2014 rows that `cleo list` returns but `show`/`update`/`delete` cannot address. Read-only unless --fix is given; --fix
|
|
29
|
+
description: "Report task rows whose id is not a valid task identifier \u2014 rows that `cleo list` returns but `show`/`update`/`delete` cannot address. Rows that are tasks (a legacy T-RECONCILE-FOLLOWUP-* id, or a title, description, criteria or relation) are listed with the T#### each would take. Read-only unless --fix is given; --fix re-keys those (after a snapshot, one receipt per row, the old id kept as an alias), never deleting them, and deletes the remaining rows only when nothing references them."
|
|
30
30
|
},
|
|
31
31
|
args: {
|
|
32
32
|
fix: {
|
|
33
33
|
type: "boolean",
|
|
34
34
|
description: "Delete unaddressable rows in one transaction. Refuses any row still referenced by another table \u2014 deleting those would manufacture the orphans `doctor fk-check` detects."
|
|
35
35
|
},
|
|
36
|
+
"dry-run": {
|
|
37
|
+
type: "boolean",
|
|
38
|
+
description: "List what --fix would do (each task row and its new id); write nothing"
|
|
39
|
+
},
|
|
36
40
|
json: { type: "boolean", description: "Output as JSON" },
|
|
37
41
|
human: { type: "boolean", description: "Force human-readable output" },
|
|
38
42
|
quiet: { type: "boolean", description: "Suppress non-essential output" }
|
|
39
43
|
},
|
|
40
44
|
async run({ args }) {
|
|
41
|
-
const report = await scanMalformedTaskIds(getProjectRoot(), {
|
|
45
|
+
const report = await scanMalformedTaskIds(getProjectRoot(), {
|
|
46
|
+
fix: args.fix === true,
|
|
47
|
+
dryRun: args["dry-run"] === true
|
|
48
|
+
});
|
|
42
49
|
cliOutput(report, {
|
|
43
50
|
command: "doctor",
|
|
44
51
|
operation: "doctor.malformed-ids.run"
|
|
45
52
|
});
|
|
46
|
-
const unresolved = report.rows.length > 0 && !report.deleted;
|
|
53
|
+
const unresolved = report.rows.length > 0 && !report.deleted || report.rekeys.rows.length > 0 && !report.rekeys.applied;
|
|
47
54
|
if (unresolved && (process.exitCode === void 0 || process.exitCode === 0)) {
|
|
48
55
|
process.exitCode = 1;
|
|
49
56
|
}
|
|
@@ -53,4 +60,4 @@ var doctorMalformedIdsCommand = defineCommand({
|
|
|
53
60
|
export {
|
|
54
61
|
doctorMalformedIdsCommand
|
|
55
62
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-TRUE5NCE.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-IVN46UST.js";
|
|
19
19
|
import {
|
|
20
20
|
cliOutput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FD6EQLV7.js";
|
|
22
22
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-worktree-stores.ts
|
|
24
24
|
import { scanWorktreeStores } from "@cleocode/core/doctor/worktree-stores.js";
|
|
@@ -54,4 +54,4 @@ var doctorWorktreeStoresCommand = defineCommand({
|
|
|
54
54
|
export {
|
|
55
55
|
doctorWorktreeStoresCommand
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-UAHZXF7P.js.map
|