@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
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
ownerCaller
|
|
18
|
+
} from "./chunk-KA636FBJ.js";
|
|
19
|
+
import "./chunk-LVPOIHUW.js";
|
|
20
|
+
import {
|
|
21
|
+
cliError,
|
|
22
|
+
cliOutput
|
|
23
|
+
} from "./chunk-FD6EQLV7.js";
|
|
24
|
+
import "./chunk-6JSJNYH2.js";
|
|
25
|
+
|
|
26
|
+
// packages/cleo/src/cli/lib/release-authorize.ts
|
|
27
|
+
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
28
|
+
async function runReleaseAuthorize(args) {
|
|
29
|
+
const meta = { command: "release-authorize", operation: "release.authorize" };
|
|
30
|
+
const fail = (code, message, exit = ExitCode.GENERAL_ERROR) => {
|
|
31
|
+
cliError(message, exit, { name: code }, { operation: meta.operation });
|
|
32
|
+
process.exit(exit);
|
|
33
|
+
};
|
|
34
|
+
const [core, { getProjectRoot }] = await Promise.all([
|
|
35
|
+
import("@cleocode/core/internal"),
|
|
36
|
+
import("@cleocode/core/project-scope")
|
|
37
|
+
]);
|
|
38
|
+
const root = getProjectRoot();
|
|
39
|
+
if (args.list) {
|
|
40
|
+
cliOutput({ grants: await core.listReleaseAuthorizations(root) }, meta);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (args.revoke) {
|
|
44
|
+
const { caller: caller2 } = await ownerCaller("release authorization revoke");
|
|
45
|
+
const result2 = await core.revokeReleaseAuthorization(root, { ...caller2, id: args.revoke });
|
|
46
|
+
if (!result2.ok) return fail(result2.code, result2.message);
|
|
47
|
+
cliOutput(
|
|
48
|
+
{
|
|
49
|
+
revoked: result2.grant.id,
|
|
50
|
+
scope: result2.grant.scope,
|
|
51
|
+
next: "Commit .cleo/owner-settings.json: it seals the revocation count."
|
|
52
|
+
},
|
|
53
|
+
meta
|
|
54
|
+
);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (!args.scope || !args.expires || !args.reason) {
|
|
58
|
+
return fail(
|
|
59
|
+
"E_VALIDATION",
|
|
60
|
+
"Grant with --scope <canary|prerelease|stable|version> --expires <30m|24h|30d> --reason <why> [--uses <n>], or use --list / --revoke <id>",
|
|
61
|
+
ExitCode.VALIDATION_ERROR
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
const { caller } = await ownerCaller("release authorization");
|
|
65
|
+
const result = await core.grantReleaseAuthorization(root, {
|
|
66
|
+
...caller,
|
|
67
|
+
scope: args.scope,
|
|
68
|
+
expires: args.expires,
|
|
69
|
+
reason: args.reason,
|
|
70
|
+
...args.uses !== void 0 ? { uses: Number(args.uses) } : {}
|
|
71
|
+
});
|
|
72
|
+
if (!result.ok) {
|
|
73
|
+
return fail(
|
|
74
|
+
result.code,
|
|
75
|
+
result.message,
|
|
76
|
+
result.code === "E_VALIDATION" ? ExitCode.VALIDATION_ERROR : ExitCode.GENERAL_ERROR
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
cliOutput({ grant: result.grant }, meta);
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
runReleaseAuthorize
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=release-authorize-OPL262T6.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
cliError,
|
|
22
22
|
cliOutput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FD6EQLV7.js";
|
|
24
24
|
import "./chunk-6JSJNYH2.js";
|
|
25
25
|
|
|
26
26
|
// packages/cleo/src/cli/commands/remote.ts
|
|
@@ -276,4 +276,4 @@ export {
|
|
|
276
276
|
pushCommand,
|
|
277
277
|
remoteCommand
|
|
278
278
|
};
|
|
279
|
-
//# sourceMappingURL=remote-
|
|
279
|
+
//# sourceMappingURL=remote-XJGF5MGU.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
humanWarn,
|
|
23
23
|
isHumanOutput,
|
|
24
24
|
renderWaves
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FD6EQLV7.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
export {
|
|
28
28
|
cliError,
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
isHumanOutput,
|
|
35
35
|
renderWaves
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=renderers-
|
|
37
|
+
//# sourceMappingURL=renderers-AMSXAXLY.js.map
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-6N6WGLXE.js";
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
20
19
|
import "./chunk-4VASFLUW.js";
|
|
20
|
+
import "./chunk-2NXQCE4N.js";
|
|
21
21
|
import {
|
|
22
22
|
defineCommand
|
|
23
23
|
} from "./chunk-IVN46UST.js";
|
|
24
24
|
import "./chunk-QKMBWYAS.js";
|
|
25
25
|
import {
|
|
26
26
|
cliError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FD6EQLV7.js";
|
|
28
28
|
import "./chunk-6JSJNYH2.js";
|
|
29
29
|
import "./chunk-D7BAQNV2.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-D75KPNMP.js";
|
|
31
31
|
|
|
32
32
|
// packages/cleo/src/cli/commands/reorder.ts
|
|
33
33
|
var BOTTOM_POSITION = 999999;
|
|
@@ -84,4 +84,4 @@ var reorderCommand = defineCommand({
|
|
|
84
84
|
export {
|
|
85
85
|
reorderCommand
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=reorder-
|
|
87
|
+
//# sourceMappingURL=reorder-HFTIHYBZ.js.map
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-6N6WGLXE.js";
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
20
19
|
import "./chunk-4VASFLUW.js";
|
|
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-
|
|
25
|
+
import "./chunk-FD6EQLV7.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-D75KPNMP.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/reparent.ts
|
|
31
31
|
var reparentCommand = defineCommand({
|
|
@@ -56,4 +56,4 @@ var reparentCommand = defineCommand({
|
|
|
56
56
|
export {
|
|
57
57
|
reparentCommand
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=reparent-
|
|
59
|
+
//# sourceMappingURL=reparent-JOBADCH5.js.map
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-6N6WGLXE.js";
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
20
19
|
import "./chunk-4VASFLUW.js";
|
|
20
|
+
import "./chunk-2NXQCE4N.js";
|
|
21
21
|
import {
|
|
22
22
|
defineCommand,
|
|
23
23
|
showUsage
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import "./chunk-QKMBWYAS.js";
|
|
26
26
|
import {
|
|
27
27
|
cliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FD6EQLV7.js";
|
|
29
29
|
import "./chunk-6JSJNYH2.js";
|
|
30
30
|
import "./chunk-D7BAQNV2.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-D75KPNMP.js";
|
|
32
32
|
|
|
33
33
|
// packages/cleo/src/cli/commands/req.ts
|
|
34
34
|
var addCommand = defineCommand({
|
|
@@ -107,6 +107,38 @@ var replaceCommand = defineCommand({
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
+
var moveCommand = defineCommand({
|
|
111
|
+
meta: {
|
|
112
|
+
name: "move",
|
|
113
|
+
description: "Move one acceptance criterion to another open task, which gains it as its next AC<n>. It keeps its identity and history: the source records a move, not a removal, and an audit row is written on both tasks. Refused for a done target and for a criterion with recorded evidence."
|
|
114
|
+
},
|
|
115
|
+
args: {
|
|
116
|
+
"task-id": {
|
|
117
|
+
type: "positional",
|
|
118
|
+
description: "Task the criterion leaves",
|
|
119
|
+
required: true
|
|
120
|
+
},
|
|
121
|
+
criterion: {
|
|
122
|
+
type: "positional",
|
|
123
|
+
description: "The criterion, as AC<n>",
|
|
124
|
+
required: true
|
|
125
|
+
},
|
|
126
|
+
to: {
|
|
127
|
+
type: "string",
|
|
128
|
+
description: "Task that gains the criterion",
|
|
129
|
+
required: true
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
async run({ args }) {
|
|
133
|
+
await dispatchFromCli(
|
|
134
|
+
"mutate",
|
|
135
|
+
"tasks",
|
|
136
|
+
"req.move",
|
|
137
|
+
{ taskId: args["task-id"], criterion: args.criterion, to: args.to },
|
|
138
|
+
{ command: "req move" }
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
110
142
|
var listCommand = defineCommand({
|
|
111
143
|
meta: { name: "list", description: "List all REQ-ID-addressed acceptance gates on a task" },
|
|
112
144
|
args: {
|
|
@@ -157,6 +189,7 @@ var reqCommand = defineCommand({
|
|
|
157
189
|
subCommands: {
|
|
158
190
|
add: addCommand,
|
|
159
191
|
replace: replaceCommand,
|
|
192
|
+
move: moveCommand,
|
|
160
193
|
list: listCommand,
|
|
161
194
|
migrate: migrateCommand
|
|
162
195
|
},
|
|
@@ -169,4 +202,4 @@ var reqCommand = defineCommand({
|
|
|
169
202
|
export {
|
|
170
203
|
reqCommand
|
|
171
204
|
};
|
|
172
|
-
//# sourceMappingURL=req-
|
|
205
|
+
//# sourceMappingURL=req-6JXMXBNA.js.map
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-6N6WGLXE.js";
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
20
19
|
import "./chunk-4VASFLUW.js";
|
|
20
|
+
import "./chunk-2NXQCE4N.js";
|
|
21
21
|
import {
|
|
22
22
|
defineCommand,
|
|
23
23
|
showUsage
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import "./chunk-QKMBWYAS.js";
|
|
26
26
|
import {
|
|
27
27
|
humanWarn
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FD6EQLV7.js";
|
|
29
29
|
import "./chunk-6JSJNYH2.js";
|
|
30
30
|
import "./chunk-D7BAQNV2.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-D75KPNMP.js";
|
|
32
32
|
|
|
33
33
|
// packages/cleo/src/cli/commands/research.ts
|
|
34
34
|
function generateResearchId() {
|
|
@@ -296,7 +296,7 @@ var manifestCommand = defineCommand({
|
|
|
296
296
|
},
|
|
297
297
|
async run({ args }) {
|
|
298
298
|
humanWarn(
|
|
299
|
-
"DEPRECATED: `cleo research manifest` is deprecated and will be removed in v2026.6.x.\nUse `cleo manifest list` instead. See docs/
|
|
299
|
+
"DEPRECATED: `cleo research manifest` is deprecated and will be removed in v2026.6.x.\nUse `cleo manifest list` instead. See docs/spec/cleo-manifest-schema.md"
|
|
300
300
|
);
|
|
301
301
|
await dispatchFromCli(
|
|
302
302
|
"query",
|
|
@@ -336,4 +336,4 @@ var researchCommand = defineCommand({
|
|
|
336
336
|
export {
|
|
337
337
|
researchCommand
|
|
338
338
|
};
|
|
339
|
-
//# sourceMappingURL=research-
|
|
339
|
+
//# sourceMappingURL=research-5GRWQLHM.js.map
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchRaw
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
19
|
+
import "./chunk-4VASFLUW.js";
|
|
19
20
|
import {
|
|
20
21
|
CLEO_DIR_NAME,
|
|
21
22
|
RESTORE_CONFLICTS_MD,
|
|
22
23
|
RESTORE_DEFAULT_FILE
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-4VASFLUW.js";
|
|
24
|
+
} from "./chunk-2NXQCE4N.js";
|
|
25
25
|
import {
|
|
26
26
|
defineCommand,
|
|
27
27
|
showUsage
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
cliError,
|
|
32
32
|
cliOutput,
|
|
33
33
|
humanLine
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FD6EQLV7.js";
|
|
35
35
|
import "./chunk-6JSJNYH2.js";
|
|
36
36
|
import "./chunk-D7BAQNV2.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-D75KPNMP.js";
|
|
38
38
|
|
|
39
39
|
// packages/cleo/src/cli/commands/restore.ts
|
|
40
40
|
import fs from "node:fs";
|
|
@@ -326,6 +326,8 @@ var taskSubCommand = defineCommand({
|
|
|
326
326
|
const resultData = response.data;
|
|
327
327
|
cliOutput(
|
|
328
328
|
{
|
|
329
|
+
// T14220: the standard mutation buckets (`/data/updated/0`) come first.
|
|
330
|
+
...resultData,
|
|
329
331
|
restored: true,
|
|
330
332
|
taskId: resultData?.task,
|
|
331
333
|
count: resultData?.count,
|
|
@@ -368,6 +370,8 @@ var taskSubCommand = defineCommand({
|
|
|
368
370
|
const resultData = response.data;
|
|
369
371
|
cliOutput(
|
|
370
372
|
{
|
|
373
|
+
// T14220: the standard mutation buckets (`/data/updated/0`) come first.
|
|
374
|
+
...resultData,
|
|
371
375
|
restored: true,
|
|
372
376
|
taskId: resultData?.task,
|
|
373
377
|
previousStatus: resultData?.previousStatus,
|
|
@@ -433,6 +437,8 @@ var taskSubCommand = defineCommand({
|
|
|
433
437
|
const resultData = response.data;
|
|
434
438
|
cliOutput(
|
|
435
439
|
{
|
|
440
|
+
// T14220: the standard mutation buckets (`/data/updated/0`) come first.
|
|
441
|
+
...resultData,
|
|
436
442
|
restored: true,
|
|
437
443
|
taskId: resultData?.task,
|
|
438
444
|
title: resultData?.title,
|
|
@@ -479,4 +485,4 @@ export {
|
|
|
479
485
|
parseConflictReport2 as parseConflictReport,
|
|
480
486
|
restoreCommand
|
|
481
487
|
};
|
|
482
|
-
//# sourceMappingURL=restore-
|
|
488
|
+
//# sourceMappingURL=restore-ZZH5EUTG.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
|
import "./chunk-6JSJNYH2.js";
|
|
24
24
|
|
|
25
25
|
// packages/cleo/src/cli/commands/revert.ts
|
|
@@ -237,4 +237,4 @@ ${lines}`
|
|
|
237
237
|
export {
|
|
238
238
|
revertCommand
|
|
239
239
|
};
|
|
240
|
-
//# sourceMappingURL=revert-
|
|
240
|
+
//# sourceMappingURL=revert-2F3RPBGW.js.map
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
|
|
3
|
+
if (globalThis[_installed]) return;
|
|
4
|
+
globalThis[_installed] = true;
|
|
5
|
+
const _origEmitWarning = process.emitWarning;
|
|
6
|
+
process.emitWarning = function(warning, type, code, ctor) {
|
|
7
|
+
if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return _origEmitWarning.call(process, warning, type, code, ctor);
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import "./chunk-VIZSF3NL.js";
|
|
17
|
+
import {
|
|
18
|
+
defineCommand
|
|
19
|
+
} from "./chunk-IVN46UST.js";
|
|
20
|
+
import {
|
|
21
|
+
cliError,
|
|
22
|
+
cliOutput
|
|
23
|
+
} from "./chunk-FD6EQLV7.js";
|
|
24
|
+
import "./chunk-6JSJNYH2.js";
|
|
25
|
+
|
|
26
|
+
// packages/cleo/src/cli/commands/review.ts
|
|
27
|
+
import { getProjectRoot } from "@cleocode/core/paths.js";
|
|
28
|
+
import { runReviewDispatch } from "@cleocode/core/tasks/review-dispatch.js";
|
|
29
|
+
import {
|
|
30
|
+
buildReviewPacket,
|
|
31
|
+
checkPrReviews,
|
|
32
|
+
recordReviewVerdict
|
|
33
|
+
} from "@cleocode/core/tasks/review-verdict.js";
|
|
34
|
+
function prOf(raw) {
|
|
35
|
+
const n = Number(raw);
|
|
36
|
+
return Number.isInteger(n) && n > 0 ? n : null;
|
|
37
|
+
}
|
|
38
|
+
function invalid(message) {
|
|
39
|
+
cliError(message, 6, { name: "E_VALIDATION" });
|
|
40
|
+
process.exitCode = 6;
|
|
41
|
+
}
|
|
42
|
+
var prArg = { type: "positional", description: "PR number", required: true };
|
|
43
|
+
var taskArg = { type: "string", description: "Task id", required: true };
|
|
44
|
+
var packetCommand = defineCommand({
|
|
45
|
+
meta: {
|
|
46
|
+
name: "packet",
|
|
47
|
+
description: "Print a PR's review packet for one task: the diff at the PR head and the task's criteria, with the PR title, body, comments, commit messages and changesets withheld"
|
|
48
|
+
},
|
|
49
|
+
args: { pr: prArg, task: taskArg },
|
|
50
|
+
async run({ args }) {
|
|
51
|
+
const pr = prOf(args.pr);
|
|
52
|
+
if (pr === null) return invalid("PR must be a positive number");
|
|
53
|
+
cliOutput(await buildReviewPacket(getProjectRoot(), pr, String(args.task)), {
|
|
54
|
+
command: "review",
|
|
55
|
+
operation: "review.packet"
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
var verdictCommand = defineCommand({
|
|
60
|
+
meta: {
|
|
61
|
+
name: "verdict",
|
|
62
|
+
description: "Record a reviewer's verdict on one criterion, under the reviewer's own CLEO session and bound to the PR head; refused from an author of the task or on a changed packet"
|
|
63
|
+
},
|
|
64
|
+
args: {
|
|
65
|
+
pr: prArg,
|
|
66
|
+
task: taskArg,
|
|
67
|
+
ac: { type: "string", description: "Criterion alias (AC1, AC2, \u2026)", required: true },
|
|
68
|
+
met: { type: "boolean", description: "The diff implements the criterion" },
|
|
69
|
+
unmet: { type: "boolean", description: "The diff does not implement the criterion" },
|
|
70
|
+
reason: {
|
|
71
|
+
type: "string",
|
|
72
|
+
description: "What in the diff does or does not implement it",
|
|
73
|
+
required: true
|
|
74
|
+
},
|
|
75
|
+
packet: { type: "string", description: "packetSha256 of the packet reviewed", required: true },
|
|
76
|
+
answers: {
|
|
77
|
+
type: "string",
|
|
78
|
+
description: "With --met: the id of the earlier unmet verdict on this head it answers (an unanswered unmet keeps the criterion unmet)"
|
|
79
|
+
},
|
|
80
|
+
shadow: {
|
|
81
|
+
type: "boolean",
|
|
82
|
+
description: "Record a shadow verdict: every check applies, it never counts toward a merge, and `review check` shows it next to the counted one"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
async run({ args }) {
|
|
86
|
+
const pr = prOf(args.pr);
|
|
87
|
+
if (pr === null) return invalid("PR must be a positive number");
|
|
88
|
+
if (args.met === true === (args.unmet === true)) {
|
|
89
|
+
return invalid("Give exactly one of --met or --unmet");
|
|
90
|
+
}
|
|
91
|
+
const verdict = await recordReviewVerdict(getProjectRoot(), {
|
|
92
|
+
prNumber: pr,
|
|
93
|
+
taskId: String(args.task),
|
|
94
|
+
ac: String(args.ac),
|
|
95
|
+
verdict: args.met === true ? "met" : "unmet",
|
|
96
|
+
reason: String(args.reason),
|
|
97
|
+
packetSha256: String(args.packet),
|
|
98
|
+
...typeof args.answers === "string" && args.answers !== "" ? { answers: args.answers } : {},
|
|
99
|
+
...args.shadow === true ? { shadow: true } : {}
|
|
100
|
+
});
|
|
101
|
+
cliOutput(verdict, { command: "review", operation: "review.verdict" });
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
var checkCommand = defineCommand({
|
|
105
|
+
meta: {
|
|
106
|
+
name: "check",
|
|
107
|
+
description: "Before merge: each task criterion's review state on the PR's current head (met, or missing / unmet / stale with why); exits 1 when any criterion lacks a met verdict"
|
|
108
|
+
},
|
|
109
|
+
args: {
|
|
110
|
+
pr: prArg,
|
|
111
|
+
task: { type: "string", description: "Task ids, comma-separated", required: true },
|
|
112
|
+
ac: { type: "string", description: "Only these criteria, comma-separated (default: all)" }
|
|
113
|
+
},
|
|
114
|
+
async run({ args }) {
|
|
115
|
+
const pr = prOf(args.pr);
|
|
116
|
+
if (pr === null) return invalid("PR must be a positive number");
|
|
117
|
+
const list = (raw) => String(raw ?? "").split(",").map((s) => s.trim()).filter((s) => s !== "");
|
|
118
|
+
const acs = typeof args.ac === "string" ? list(args.ac) : void 0;
|
|
119
|
+
const checks = await checkPrReviews(getProjectRoot(), pr, list(args.task), {
|
|
120
|
+
...acs !== void 0 ? { acs } : {}
|
|
121
|
+
});
|
|
122
|
+
const ready = checks.every((c) => c.gaps.length === 0);
|
|
123
|
+
cliOutput({ prNumber: pr, ready, checks }, { command: "review", operation: "review.check" });
|
|
124
|
+
if (!ready) process.exitCode = 1;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
var dispatchCommand = defineCommand({
|
|
128
|
+
meta: {
|
|
129
|
+
name: "dispatch",
|
|
130
|
+
description: "Dispatch one non-author shadow reviewer per routine open PR head that lacks verdicts; lead-reserved PRs (migrations, store/sync, gates, deletions, evidence, review integrity) are listed, never dispatched. Dry run by default"
|
|
131
|
+
},
|
|
132
|
+
args: {
|
|
133
|
+
execute: { type: "boolean", description: "Record the dispatches (default: dry run)" },
|
|
134
|
+
counted: {
|
|
135
|
+
type: "boolean",
|
|
136
|
+
description: "Send reviewers whose verdicts count; refused unless the owner set review.workers.counted"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
async run({ args }) {
|
|
140
|
+
const result = await runReviewDispatch(getProjectRoot(), {
|
|
141
|
+
execute: args.execute === true,
|
|
142
|
+
counted: args.counted === true
|
|
143
|
+
});
|
|
144
|
+
cliOutput(result, { command: "review", operation: "review.dispatch" });
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
var reviewCommand = defineCommand({
|
|
148
|
+
meta: {
|
|
149
|
+
name: "review",
|
|
150
|
+
description: "Independent per-criterion PR review by a non-author, bound to the PR head (packet | verdict | check | dispatch)"
|
|
151
|
+
},
|
|
152
|
+
subCommands: {
|
|
153
|
+
packet: packetCommand,
|
|
154
|
+
verdict: verdictCommand,
|
|
155
|
+
check: checkCommand,
|
|
156
|
+
dispatch: dispatchCommand
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
export {
|
|
160
|
+
reviewCommand
|
|
161
|
+
};
|
|
162
|
+
//# sourceMappingURL=review-LTRABBAL.js.map
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-6N6WGLXE.js";
|
|
18
|
+
} from "./chunk-YNBEP6TJ.js";
|
|
20
19
|
import "./chunk-4VASFLUW.js";
|
|
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-
|
|
25
|
+
import "./chunk-FD6EQLV7.js";
|
|
26
26
|
import "./chunk-6JSJNYH2.js";
|
|
27
27
|
import "./chunk-D7BAQNV2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-D75KPNMP.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/roadmap.ts
|
|
31
31
|
var roadmapCommand = defineCommand({
|
|
@@ -59,4 +59,4 @@ var roadmapCommand = defineCommand({
|
|
|
59
59
|
export {
|
|
60
60
|
roadmapCommand
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=roadmap-
|
|
62
|
+
//# sourceMappingURL=roadmap-THEKOZ3A.js.map
|
|
@@ -23,17 +23,19 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
cliError,
|
|
25
25
|
cliOutput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FD6EQLV7.js";
|
|
27
27
|
import "./chunk-6JSJNYH2.js";
|
|
28
28
|
|
|
29
29
|
// packages/cleo/src/cli/commands/run.ts
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
import {
|
|
32
32
|
RESOURCE_DEFERRED_CODE,
|
|
33
|
+
RESOURCE_EXTERNAL_PRESSURE_CODE,
|
|
33
34
|
RUN_COMMAND_FAILED_CODE,
|
|
34
35
|
RUN_DEFERRED_EXIT_CODE,
|
|
35
36
|
RUN_INTERRUPTED_CODE
|
|
36
37
|
} from "@cleocode/contracts/resource-governor.js";
|
|
38
|
+
import { getProjectRoot } from "@cleocode/core/paths.js";
|
|
37
39
|
import { describeCharge, planRunFootprint } from "@cleocode/core/resources/admission-ledger.js";
|
|
38
40
|
import {
|
|
39
41
|
isWatchCommand,
|
|
@@ -180,8 +182,40 @@ var runCommand = defineCommand({
|
|
|
180
182
|
process.stderr.write(`[cleo run] ${line}
|
|
181
183
|
`);
|
|
182
184
|
};
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
if (cls === "test-run") {
|
|
186
|
+
const {
|
|
187
|
+
borrowedBuildWarning,
|
|
188
|
+
unstampedDistWarning,
|
|
189
|
+
workspaceResolutionError,
|
|
190
|
+
workspaceResolutionForTestRun
|
|
191
|
+
} = await import("@cleocode/core/tasks/workspace-resolution.js");
|
|
192
|
+
const report = workspaceResolutionForTestRun(process.cwd(), argv);
|
|
193
|
+
const err = report === null ? null : workspaceResolutionError(report);
|
|
194
|
+
if (err !== null) {
|
|
195
|
+
cliError(
|
|
196
|
+
err.message,
|
|
197
|
+
err.codeName,
|
|
198
|
+
{ name: err.codeName, fix: err.fix, details: err.details },
|
|
199
|
+
{ operation: "resources.run" },
|
|
200
|
+
{ stderr: passthrough }
|
|
201
|
+
);
|
|
202
|
+
process.exit(err.code);
|
|
203
|
+
}
|
|
204
|
+
for (const warning of report === null ? [] : [borrowedBuildWarning(report), unstampedDistWarning(report)])
|
|
205
|
+
if (warning !== null) notice(warning, "warn");
|
|
206
|
+
}
|
|
207
|
+
const plan = planRunFootprint(
|
|
208
|
+
cls,
|
|
209
|
+
argv,
|
|
210
|
+
process.env,
|
|
211
|
+
void 0,
|
|
212
|
+
void 0,
|
|
213
|
+
void 0,
|
|
214
|
+
void 0,
|
|
215
|
+
void 0,
|
|
216
|
+
{ explicitClass: args.class !== void 0, ...projectRootOption() }
|
|
217
|
+
);
|
|
218
|
+
const { overlay, resources, footprintBytes, footprintReason, namedFiles, hookKey, planBytes } = plan;
|
|
185
219
|
if (resources !== null) {
|
|
186
220
|
notice(
|
|
187
221
|
`planned resources: ${resources.summary}`,
|
|
@@ -215,6 +249,7 @@ var runCommand = defineCommand({
|
|
|
215
249
|
foreground: passthrough && process.stdin.isTTY === true,
|
|
216
250
|
notice,
|
|
217
251
|
...footprintBytes !== void 0 ? { footprintBytes } : {},
|
|
252
|
+
...planBytes !== void 0 ? { planBytes } : {},
|
|
218
253
|
footprintReason,
|
|
219
254
|
...namedFiles !== null ? { scope: "narrowed" } : {}
|
|
220
255
|
});
|
|
@@ -253,6 +288,17 @@ var runCommand = defineCommand({
|
|
|
253
288
|
);
|
|
254
289
|
process.exit(RUN_DEFERRED_EXIT_CODE);
|
|
255
290
|
}
|
|
291
|
+
if (result.kind === "external-pressure") {
|
|
292
|
+
const { kind: _external, fix, ...details } = result;
|
|
293
|
+
cliError(
|
|
294
|
+
`not started: ${fix}`,
|
|
295
|
+
RESOURCE_EXTERNAL_PRESSURE_CODE,
|
|
296
|
+
{ name: RESOURCE_EXTERNAL_PRESSURE_CODE, details, fix },
|
|
297
|
+
{ operation: "resources.run" },
|
|
298
|
+
{ stderr: passthrough }
|
|
299
|
+
);
|
|
300
|
+
process.exit(RUN_DEFERRED_EXIT_CODE);
|
|
301
|
+
}
|
|
256
302
|
if (result.kind === "interrupted") {
|
|
257
303
|
const { kind: _interrupted, ...details } = result;
|
|
258
304
|
cliError(
|
|
@@ -277,8 +323,15 @@ var runCommand = defineCommand({
|
|
|
277
323
|
});
|
|
278
324
|
}
|
|
279
325
|
});
|
|
326
|
+
function projectRootOption() {
|
|
327
|
+
try {
|
|
328
|
+
return { projectRoot: getProjectRoot() };
|
|
329
|
+
} catch {
|
|
330
|
+
return {};
|
|
331
|
+
}
|
|
332
|
+
}
|
|
280
333
|
export {
|
|
281
334
|
runCommand,
|
|
282
335
|
runExitCode
|
|
283
336
|
};
|
|
284
|
-
//# sourceMappingURL=run-
|
|
337
|
+
//# sourceMappingURL=run-LH2KI2BV.js.map
|