@unbrained/pm-cli 2026.7.5 → 2026.7.6
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/CHANGELOG.md +10 -0
- package/dist/cli-bundle/chunks/activity-WJCGCYPU.js +18 -0
- package/dist/cli-bundle/chunks/activity-Z6QUAUSG.js +22 -0
- package/dist/cli-bundle/chunks/aggregate-BDM6EIAR.js +25 -0
- package/dist/cli-bundle/chunks/aggregate-VQ2DHU3S.js +21 -0
- package/dist/cli-bundle/chunks/append-BGML6VLD.js +19 -0
- package/dist/cli-bundle/chunks/append-RKJYPU74.js +15 -0
- package/dist/cli-bundle/chunks/chunk-22KBU3MW.js +57 -0
- package/dist/cli-bundle/chunks/chunk-24YG75HI.js +634 -0
- package/dist/cli-bundle/chunks/chunk-2XG4IZON.js +218 -0
- package/dist/cli-bundle/chunks/chunk-3GCS5SKL.js +228 -0
- package/dist/cli-bundle/chunks/chunk-3KTN6IBA.js +2330 -0
- package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js +808 -0
- package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-3UJRFJ5R.js +1573 -0
- package/dist/cli-bundle/chunks/chunk-3VHSI5FL.js +1001 -0
- package/dist/cli-bundle/chunks/chunk-425E4QL5.js +278 -0
- package/dist/cli-bundle/chunks/chunk-425E4QL5.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js +38 -0
- package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-46CUF5L6.js +1018 -0
- package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js +222 -0
- package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js +249 -0
- package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-4IWYTWGF.js +819 -0
- package/dist/cli-bundle/chunks/chunk-4LELACOL.js +391 -0
- package/dist/cli-bundle/chunks/chunk-4LELACOL.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js +279 -0
- package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js +184 -0
- package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-57NWPFF2.js +5640 -0
- package/dist/cli-bundle/chunks/chunk-57NWPFF2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js +268 -0
- package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js +508 -0
- package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-5GZ7TDD6.js +1868 -0
- package/dist/cli-bundle/chunks/chunk-5VAA4YHR.js +1749 -0
- package/dist/cli-bundle/chunks/chunk-64YKRTSV.js +1961 -0
- package/dist/cli-bundle/chunks/chunk-6LLVNJXT.js +429 -0
- package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js +120 -0
- package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js +278 -0
- package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-7DT4WSH2.js +60 -0
- package/dist/cli-bundle/chunks/chunk-7WBAJSS6.js +102 -0
- package/dist/cli-bundle/chunks/chunk-AGHMOTGM.js +150 -0
- package/dist/cli-bundle/chunks/chunk-ALFPSEWO.js +112 -0
- package/dist/cli-bundle/chunks/chunk-AZYGZGGI.js +361 -0
- package/dist/cli-bundle/chunks/chunk-B6DUFX6H.js +1413 -0
- package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js +275 -0
- package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js +421 -0
- package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-C5JBZRPU.js +1985 -0
- package/dist/cli-bundle/chunks/chunk-CFB33L7W.js +398 -0
- package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js +784 -0
- package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-CL36D4PC.js +225 -0
- package/dist/cli-bundle/chunks/chunk-COSPOP7H.js +6677 -0
- package/dist/cli-bundle/chunks/chunk-COSPOP7H.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-COWTDV6B.js +3461 -0
- package/dist/cli-bundle/chunks/chunk-COWTDV6B.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js +553 -0
- package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-D2XRLB55.js +645 -0
- package/dist/cli-bundle/chunks/chunk-DEWEK6AN.js +1858 -0
- package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js +1063 -0
- package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-E3SZTQ4K.js +1932 -0
- package/dist/cli-bundle/chunks/chunk-E42XTBSP.js +1359 -0
- package/dist/cli-bundle/chunks/chunk-E42XTBSP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js +655 -0
- package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js +4712 -0
- package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-EGY6JBQ3.js +160 -0
- package/dist/cli-bundle/chunks/chunk-EKFNL33R.js +222 -0
- package/dist/cli-bundle/chunks/chunk-ENGQOEUY.js +1704 -0
- package/dist/cli-bundle/chunks/chunk-EOKXK3R3.js +2046 -0
- package/dist/cli-bundle/chunks/chunk-F3K4JGFD.js +121 -0
- package/dist/cli-bundle/chunks/chunk-FLZSGSQR.js +231 -0
- package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js +2090 -0
- package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-FT3QTERD.js +550 -0
- package/dist/cli-bundle/chunks/chunk-G24G7ZAV.js +1570 -0
- package/dist/cli-bundle/chunks/chunk-G64OCSKU.js +444 -0
- package/dist/cli-bundle/chunks/chunk-GANUTS7W.js +1775 -0
- package/dist/cli-bundle/chunks/chunk-GBAX2ZAQ.js +401 -0
- package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js +105 -0
- package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js +239 -0
- package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-GJ7QC5DJ.js +624 -0
- package/dist/cli-bundle/chunks/chunk-GPLPTGOV.js +530 -0
- package/dist/cli-bundle/chunks/chunk-GZRDYONU.js +1005 -0
- package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js +1356 -0
- package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js +41 -0
- package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js +277 -0
- package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js +293 -0
- package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js +38 -0
- package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js +309 -0
- package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-IWVU4C2F.js +358 -0
- package/dist/cli-bundle/chunks/chunk-IX5BXEMX.js +267 -0
- package/dist/cli-bundle/chunks/chunk-JDDLOQAE.js +265 -0
- package/dist/cli-bundle/chunks/chunk-JJP45OEI.js +119 -0
- package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js +2257 -0
- package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js +24 -0
- package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-K46RF36U.js +207 -0
- package/dist/cli-bundle/chunks/chunk-KERMZVY5.js +371 -0
- package/dist/cli-bundle/chunks/chunk-KERMZVY5.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-KGFUY7WN.js +814 -0
- package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js +76 -0
- package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-KUOOJR35.js +260 -0
- package/dist/cli-bundle/chunks/chunk-L5PSPMZ4.js +277 -0
- package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js +5799 -0
- package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js +140 -0
- package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-LPSSSDJR.js +1239 -0
- package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js +225 -0
- package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-MA4SM3QZ.js +655 -0
- package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js +1601 -0
- package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-MFAZSEM5.js +1031 -0
- package/dist/cli-bundle/chunks/chunk-MFSCBT5Q.js +995 -0
- package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js +296 -0
- package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-MLIYFOE7.js +357 -0
- package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js +2043 -0
- package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-MUH7A3FD.js +61 -0
- package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js +108 -0
- package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-MVYWGY2A.js +262 -0
- package/dist/cli-bundle/chunks/chunk-MWMVPCIE.js +1423 -0
- package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js +2033 -0
- package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-N745W3B3.js +1604 -0
- package/dist/cli-bundle/chunks/chunk-N745W3B3.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js +57 -0
- package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js +123 -0
- package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-NGXQ3PFT.js +263 -0
- package/dist/cli-bundle/chunks/chunk-NMP5I3I5.js +1615 -0
- package/dist/cli-bundle/chunks/chunk-NO442GWJ.js +41 -0
- package/dist/cli-bundle/chunks/chunk-NO442GWJ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-NZEHECMW.js +658 -0
- package/dist/cli-bundle/chunks/chunk-NZEHECMW.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-O6AWCQRQ.js +124 -0
- package/dist/cli-bundle/chunks/chunk-OGWQ2IEP.js +240 -0
- package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js +143 -0
- package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-QLMX7SRD.js +210 -0
- package/dist/cli-bundle/chunks/chunk-QX6HM775.js +398 -0
- package/dist/cli-bundle/chunks/chunk-QX6HM775.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-R5BMJX33.js +27 -0
- package/dist/cli-bundle/chunks/chunk-R5BMJX33.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js +296 -0
- package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-RFNYTESG.js +520 -0
- package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js +79 -0
- package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js +282 -0
- package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js +274 -0
- package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-SCUR7K7N.js +2198 -0
- package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js +68 -0
- package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-SHQY2IDC.js +1977 -0
- package/dist/cli-bundle/chunks/chunk-SMB7RV23.js +130 -0
- package/dist/cli-bundle/chunks/chunk-SPZ6DOGY.js +1041 -0
- package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js +563 -0
- package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-SQYJ4HF2.js +1765 -0
- package/dist/cli-bundle/chunks/chunk-T42JWV3F.js +822 -0
- package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js +6567 -0
- package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-TULGS6X6.js +2132 -0
- package/dist/cli-bundle/chunks/chunk-TZXRBVAM.js +2306 -0
- package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js +181 -0
- package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js +4773 -0
- package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-VPIM42PC.js +367 -0
- package/dist/cli-bundle/chunks/chunk-VQRSPVME.js +368 -0
- package/dist/cli-bundle/chunks/chunk-VQRSPVME.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-W3DSJQIO.js +447 -0
- package/dist/cli-bundle/chunks/chunk-W572BIEB.js +1249 -0
- package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js +1073 -0
- package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js +3423 -0
- package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-WLSM645P.js +2247 -0
- package/dist/cli-bundle/chunks/chunk-WLSM645P.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-WRTENIX3.js +215 -0
- package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js +388 -0
- package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-XB7KFVFI.js +533 -0
- package/dist/cli-bundle/chunks/chunk-XC5BURG2.js +306 -0
- package/dist/cli-bundle/chunks/chunk-XC5BURG2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js +424 -0
- package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-XG625QP4.js +58 -0
- package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js +71 -0
- package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-XUC7PI2H.js +243 -0
- package/dist/cli-bundle/chunks/chunk-Y46GD4IX.js +116 -0
- package/dist/cli-bundle/chunks/chunk-Y4M7CPQP.js +804 -0
- package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js +2128 -0
- package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-YN7Y6DQZ.js +426 -0
- package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js +511 -0
- package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-ZGK4L4JM.js +133 -0
- package/dist/cli-bundle/chunks/chunk-ZJ262CED.js +394 -0
- package/dist/cli-bundle/chunks/chunk-ZJ262CED.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js +299 -0
- package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-ZSUS2OD3.js +2105 -0
- package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js +54 -0
- package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-ZZD4J5XY.js +1570 -0
- package/dist/cli-bundle/chunks/claim-RFS7BROJ.js +19 -0
- package/dist/cli-bundle/chunks/claim-XP5AWZ5H.js +23 -0
- package/dist/cli-bundle/chunks/close-2SSSHHUZ.js +20 -0
- package/dist/cli-bundle/chunks/close-GEANHQ2J.js +16 -0
- package/dist/cli-bundle/chunks/close-many-CMZW7ITN.js +31 -0
- package/dist/cli-bundle/chunks/close-many-ZFDIG6M7.js +27 -0
- package/dist/cli-bundle/chunks/comments-MFSYVNNU.js +21 -0
- package/dist/cli-bundle/chunks/comments-XUBPXDYX.js +17 -0
- package/dist/cli-bundle/chunks/config-D7XQMONX.js +18 -0
- package/dist/cli-bundle/chunks/config-T4FHBSYN.js +22 -0
- package/dist/cli-bundle/chunks/context-DIU275XI.js +48 -0
- package/dist/cli-bundle/chunks/context-JCOYB4LZ.js +44 -0
- package/dist/cli-bundle/chunks/contracts-BVO7CSLK.js +12 -0
- package/dist/cli-bundle/chunks/contracts-NYPEW2G4.js +16 -0
- package/dist/cli-bundle/chunks/copy-32ROBIDL.js +17 -0
- package/dist/cli-bundle/chunks/copy-NAGLGMHZ.js +13 -0
- package/dist/cli-bundle/chunks/create-4V7SWNBB.js +30 -0
- package/dist/cli-bundle/chunks/create-E77SDCUP.js +34 -0
- package/dist/cli-bundle/chunks/delete-NQI5OSKN.js +14 -0
- package/dist/cli-bundle/chunks/delete-RA5KTCLB.js +18 -0
- package/dist/cli-bundle/chunks/deps-32SU7HO5.js +21 -0
- package/dist/cli-bundle/chunks/deps-T7SCWXEX.js +17 -0
- package/dist/cli-bundle/chunks/docs-RRUPT7O2.js +22 -0
- package/dist/cli-bundle/chunks/docs-WL2IWGWV.js +18 -0
- package/dist/cli-bundle/chunks/eval-NF2J5SHR.js +23 -0
- package/dist/cli-bundle/chunks/eval-SKDT3MZU.js +27 -0
- package/dist/cli-bundle/chunks/extension-LAXKCAYE.js +42 -0
- package/dist/cli-bundle/chunks/extension-LAXKCAYE.js.map +1 -0
- package/dist/cli-bundle/chunks/extension-ZISPBRBC.js +38 -0
- package/dist/cli-bundle/chunks/extension-ZISPBRBC.js.map +7 -0
- package/dist/cli-bundle/chunks/files-EWRQHGIS.js +22 -0
- package/dist/cli-bundle/chunks/files-EWRQHGIS.js.map +7 -0
- package/dist/cli-bundle/chunks/files-PYKR2UUG.js +26 -0
- package/dist/cli-bundle/chunks/files-PYKR2UUG.js.map +1 -0
- package/dist/cli-bundle/chunks/focus-4T7TM4MT.js +18 -0
- package/dist/cli-bundle/chunks/focus-4T7TM4MT.js.map +1 -0
- package/dist/cli-bundle/chunks/focus-L3YUASOD.js +14 -0
- package/dist/cli-bundle/chunks/focus-L3YUASOD.js.map +7 -0
- package/dist/cli-bundle/chunks/gc-2DNMPXMC.js +16 -0
- package/dist/cli-bundle/chunks/gc-2DNMPXMC.js.map +1 -0
- package/dist/cli-bundle/chunks/gc-2PCTYYRI.js +12 -0
- package/dist/cli-bundle/chunks/gc-2PCTYYRI.js.map +7 -0
- package/dist/cli-bundle/chunks/get-7DMITJ3G.js +23 -0
- package/dist/cli-bundle/chunks/get-7DMITJ3G.js.map +1 -0
- package/dist/cli-bundle/chunks/get-VKQXCXLL.js +19 -0
- package/dist/cli-bundle/chunks/get-VKQXCXLL.js.map +7 -0
- package/dist/cli-bundle/chunks/health-CVSTAR2F.js +31 -0
- package/dist/cli-bundle/chunks/health-CVSTAR2F.js.map +7 -0
- package/dist/cli-bundle/chunks/health-TV3GKTFN.js +35 -0
- package/dist/cli-bundle/chunks/health-TV3GKTFN.js.map +1 -0
- package/dist/cli-bundle/chunks/history-D4JUX5XV.js +20 -0
- package/dist/cli-bundle/chunks/history-D4JUX5XV.js.map +7 -0
- package/dist/cli-bundle/chunks/history-LQ2UWZTE.js +24 -0
- package/dist/cli-bundle/chunks/history-LQ2UWZTE.js.map +1 -0
- package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js +29 -0
- package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js.map +1 -0
- package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js +25 -0
- package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js.map +7 -0
- package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js +21 -0
- package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js.map +7 -0
- package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js +25 -0
- package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js.map +1 -0
- package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js +23 -0
- package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js.map +7 -0
- package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js +27 -0
- package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js.map +1 -0
- package/dist/cli-bundle/chunks/init-C3LJPWQZ.js +30 -0
- package/dist/cli-bundle/chunks/init-C3LJPWQZ.js.map +1 -0
- package/dist/cli-bundle/chunks/init-J3DPGWQI.js +26 -0
- package/dist/cli-bundle/chunks/init-J3DPGWQI.js.map +7 -0
- package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js +21 -0
- package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js.map +1 -0
- package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js +17 -0
- package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js.map +7 -0
- package/dist/cli-bundle/chunks/list-O5NZVSPN.js +36 -0
- package/dist/cli-bundle/chunks/list-O5NZVSPN.js.map +1 -0
- package/dist/cli-bundle/chunks/list-Z55YCNTC.js +32 -0
- package/dist/cli-bundle/chunks/list-Z55YCNTC.js.map +7 -0
- package/dist/cli-bundle/chunks/next-GBNTGXFC.js +28 -0
- package/dist/cli-bundle/chunks/next-GBNTGXFC.js.map +7 -0
- package/dist/cli-bundle/chunks/next-QKW7PTKE.js +32 -0
- package/dist/cli-bundle/chunks/next-QKW7PTKE.js.map +1 -0
- package/dist/cli-bundle/chunks/notes-R5FZTKWF.js +17 -0
- package/dist/cli-bundle/chunks/notes-R5FZTKWF.js.map +7 -0
- package/dist/cli-bundle/chunks/notes-WCGIULVG.js +21 -0
- package/dist/cli-bundle/chunks/notes-WCGIULVG.js.map +1 -0
- package/dist/cli-bundle/chunks/plan-ADISFYH4.js +29 -0
- package/dist/cli-bundle/chunks/plan-ADISFYH4.js.map +7 -0
- package/dist/cli-bundle/chunks/plan-CHVE7PBR.js +33 -0
- package/dist/cli-bundle/chunks/plan-CHVE7PBR.js.map +1 -0
- package/dist/cli-bundle/chunks/profile-LD23PSI6.js +37 -0
- package/dist/cli-bundle/chunks/profile-LD23PSI6.js.map +7 -0
- package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js +41 -0
- package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js.map +1 -0
- package/dist/cli-bundle/chunks/register-list-query-B42JCCOI.js +409 -0
- package/dist/cli-bundle/chunks/register-list-query-OEYQHFXO.js +419 -0
- package/dist/cli-bundle/chunks/register-mutation-3QXIHCQG.js +1273 -0
- package/dist/cli-bundle/chunks/register-mutation-IAEST26S.js +1256 -0
- package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js +19 -0
- package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js.map +7 -0
- package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js +23 -0
- package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js.map +1 -0
- package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js +324 -0
- package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js.map +7 -0
- package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js +321 -0
- package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js.map +1 -0
- package/dist/cli-bundle/chunks/restore-5RQHAPMA.js +23 -0
- package/dist/cli-bundle/chunks/restore-5RQHAPMA.js.map +1 -0
- package/dist/cli-bundle/chunks/restore-PNEIBBLW.js +19 -0
- package/dist/cli-bundle/chunks/restore-PNEIBBLW.js.map +7 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js +29 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js.map +1 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js +25 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js.map +7 -0
- package/dist/cli-bundle/chunks/schema-245WW4G2.js +78 -0
- package/dist/cli-bundle/chunks/schema-245WW4G2.js.map +1 -0
- package/dist/cli-bundle/chunks/schema-HBORFC6B.js +74 -0
- package/dist/cli-bundle/chunks/schema-HBORFC6B.js.map +7 -0
- package/dist/cli-bundle/chunks/search-AOZC5SIK.js +34 -0
- package/dist/cli-bundle/chunks/search-AOZC5SIK.js.map +7 -0
- package/dist/cli-bundle/chunks/search-DRXPGHD7.js +38 -0
- package/dist/cli-bundle/chunks/search-DRXPGHD7.js.map +1 -0
- package/dist/cli-bundle/chunks/stats-NJG4NLHG.js +21 -0
- package/dist/cli-bundle/chunks/stats-NJG4NLHG.js.map +1 -0
- package/dist/cli-bundle/chunks/stats-RG6AG4N2.js +17 -0
- package/dist/cli-bundle/chunks/stats-RG6AG4N2.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js +14 -0
- package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js +18 -0
- package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js.map +1 -0
- package/dist/cli-bundle/chunks/test-6CMOCWUC.js +39 -0
- package/dist/cli-bundle/chunks/test-6CMOCWUC.js.map +7 -0
- package/dist/cli-bundle/chunks/test-RI7XHBZL.js +43 -0
- package/dist/cli-bundle/chunks/test-RI7XHBZL.js.map +1 -0
- package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js +29 -0
- package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js.map +7 -0
- package/dist/cli-bundle/chunks/test-all-QEIORFYW.js +33 -0
- package/dist/cli-bundle/chunks/test-all-QEIORFYW.js.map +1 -0
- package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js +28 -0
- package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js.map +1 -0
- package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js +24 -0
- package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js.map +7 -0
- package/dist/cli-bundle/chunks/update-QVJDFEAP.js +30 -0
- package/dist/cli-bundle/chunks/update-QVJDFEAP.js.map +1 -0
- package/dist/cli-bundle/chunks/update-VQVHAY6X.js +26 -0
- package/dist/cli-bundle/chunks/update-VQVHAY6X.js.map +7 -0
- package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js +37 -0
- package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js.map +7 -0
- package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js +41 -0
- package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js.map +1 -0
- package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js +24 -0
- package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js.map +7 -0
- package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js +28 -0
- package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js.map +1 -0
- package/dist/cli-bundle/chunks/validate-4NTXSB62.js +36 -0
- package/dist/cli-bundle/chunks/validate-4NTXSB62.js.map +1 -0
- package/dist/cli-bundle/chunks/validate-MUFXQZMI.js +32 -0
- package/dist/cli-bundle/chunks/validate-MUFXQZMI.js.map +7 -0
- package/dist/cli-bundle/main.js +16 -16
- package/dist/cli-bundle/sdk-runtime.js +88 -28
- package/dist/cli-bundle/sdk-testing.js +6 -6
- package/dist/cli-bundle/sdk.js +92 -49
- package/dist/cli-bundle/sdk.js.map +2 -2
- package/dist/mcp/server.d.ts +22 -50
- package/dist/mcp/server.js +62 -916
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/index.d.ts +4 -2
- package/dist/sdk/index.js +4 -4
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +168 -4
- package/dist/sdk/runtime.js +1149 -25
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/workspace-contracts-cache.d.ts +17 -0
- package/dist/sdk/workspace-contracts-cache.js +36 -0
- package/dist/sdk/workspace-contracts-cache.js.map +1 -0
- package/docs/RELEASING.md +3 -1
- package/docs/SDK.md +46 -0
- package/docs/examples/sdk-app-embedding/run-embedded-pm.mjs +16 -2
- package/docs/examples/sdk-contract-consumer/inspect-contracts.mjs +16 -1
- package/package.json +1 -1
- package/dist/cli-bundle/chunks/activity-4XQIDNM5.js +0 -18
- package/dist/cli-bundle/chunks/activity-YKAKZTZ4.js +0 -22
- package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js +0 -375
- package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js.map +0 -7
- package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js +0 -372
- package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js.map +0 -1
- package/dist/cli-bundle/chunks/append-CZGUZ45Q.js +0 -73
- package/dist/cli-bundle/chunks/append-CZGUZ45Q.js.map +0 -7
- package/dist/cli-bundle/chunks/append-NSQBCXZJ.js +0 -70
- package/dist/cli-bundle/chunks/append-NSQBCXZJ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3JZNEQBA.js +0 -1413
- package/dist/cli-bundle/chunks/chunk-3PL6LEKP.js +0 -1961
- package/dist/cli-bundle/chunks/chunk-3U3VEWK6.js +0 -1749
- package/dist/cli-bundle/chunks/chunk-3Y4OESPP.js +0 -277
- package/dist/cli-bundle/chunks/chunk-4LRVSBO6.js +0 -822
- package/dist/cli-bundle/chunks/chunk-4OFLJHX6.js +0 -356
- package/dist/cli-bundle/chunks/chunk-4QQ6PM7M.js +0 -1249
- package/dist/cli-bundle/chunks/chunk-53BTLLAF.js +0 -2181
- package/dist/cli-bundle/chunks/chunk-53BTLLAF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-57C2RLW5.js +0 -1704
- package/dist/cli-bundle/chunks/chunk-5B3X4Y22.js +0 -2330
- package/dist/cli-bundle/chunks/chunk-5J2XPTAD.js +0 -225
- package/dist/cli-bundle/chunks/chunk-5JE6SMYS.js +0 -262
- package/dist/cli-bundle/chunks/chunk-5JZ7APJU.js +0 -995
- package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js +0 -5789
- package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-75U6M5ZD.js +0 -819
- package/dist/cli-bundle/chunks/chunk-7EQNAZX2.js +0 -1018
- package/dist/cli-bundle/chunks/chunk-7MDXZAZS.js +0 -102
- package/dist/cli-bundle/chunks/chunk-7QH7DHUB.js +0 -2046
- package/dist/cli-bundle/chunks/chunk-7WYXBPYQ.js +0 -358
- package/dist/cli-bundle/chunks/chunk-AAEQMOC6.js +0 -150
- package/dist/cli-bundle/chunks/chunk-ABRA3BHY.js +0 -429
- package/dist/cli-bundle/chunks/chunk-BFVHCAOO.js +0 -240
- package/dist/cli-bundle/chunks/chunk-BVEUCSH2.js +0 -530
- package/dist/cli-bundle/chunks/chunk-C3PMDWGX.js +0 -160
- package/dist/cli-bundle/chunks/chunk-D3UCE7RW.js +0 -243
- package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js +0 -275
- package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-DLQ4ZTCU.js +0 -634
- package/dist/cli-bundle/chunks/chunk-DRBV5UC2.js +0 -231
- package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js +0 -2184
- package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EEY54JMF.js +0 -60
- package/dist/cli-bundle/chunks/chunk-EZFKWSC7.js +0 -1615
- package/dist/cli-bundle/chunks/chunk-FDBARR33.js +0 -655
- package/dist/cli-bundle/chunks/chunk-FGQKEDE4.js +0 -447
- package/dist/cli-bundle/chunks/chunk-FJRKQREY.js +0 -228
- package/dist/cli-bundle/chunks/chunk-FUM6UMY4.js +0 -804
- package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js +0 -3237
- package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HBYZDSK5.js +0 -426
- package/dist/cli-bundle/chunks/chunk-HJE4JTKQ.js +0 -124
- package/dist/cli-bundle/chunks/chunk-HK72NWAD.js +0 -1570
- package/dist/cli-bundle/chunks/chunk-IJ6CO3JV.js +0 -645
- package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js +0 -3206
- package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JLA7EVYV.js +0 -222
- package/dist/cli-bundle/chunks/chunk-K32L7HZO.js +0 -76
- package/dist/cli-bundle/chunks/chunk-K32L7HZO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-K3AGVXSF.js +0 -444
- package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js +0 -79
- package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KL22PY6L.js +0 -915
- package/dist/cli-bundle/chunks/chunk-KL22PY6L.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KLG4ZULO.js +0 -218
- package/dist/cli-bundle/chunks/chunk-LEKT4K7I.js +0 -2105
- package/dist/cli-bundle/chunks/chunk-MNZ7DRNC.js +0 -1858
- package/dist/cli-bundle/chunks/chunk-MTTXDAK4.js +0 -2198
- package/dist/cli-bundle/chunks/chunk-MZ7VNEVY.js +0 -520
- package/dist/cli-bundle/chunks/chunk-N6DNM2FA.js +0 -116
- package/dist/cli-bundle/chunks/chunk-N7X4WP6L.js +0 -1041
- package/dist/cli-bundle/chunks/chunk-NBFCNJ7Q.js +0 -2132
- package/dist/cli-bundle/chunks/chunk-NER3KUUS.js +0 -260
- package/dist/cli-bundle/chunks/chunk-OBA2WH65.js +0 -918
- package/dist/cli-bundle/chunks/chunk-OBA2WH65.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-OESSOFJ4.js +0 -1985
- package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js +0 -238
- package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OWTIRHX4.js +0 -112
- package/dist/cli-bundle/chunks/chunk-P3VRG72Q.js +0 -1765
- package/dist/cli-bundle/chunks/chunk-P5TFTLWW.js +0 -1423
- package/dist/cli-bundle/chunks/chunk-P5YORJRH.js +0 -1977
- package/dist/cli-bundle/chunks/chunk-PDXT6Q55.js +0 -58
- package/dist/cli-bundle/chunks/chunk-PJ3A56YF.js +0 -1239
- package/dist/cli-bundle/chunks/chunk-PPAJG4GB.js +0 -1031
- package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js +0 -4725
- package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QHZO65XW.js +0 -1775
- package/dist/cli-bundle/chunks/chunk-R3ZBLGTC.js +0 -814
- package/dist/cli-bundle/chunks/chunk-RCT3YJOK.js +0 -624
- package/dist/cli-bundle/chunks/chunk-RX3HQSYG.js +0 -265
- package/dist/cli-bundle/chunks/chunk-S4APD35C.js +0 -210
- package/dist/cli-bundle/chunks/chunk-S5AYOUT5.js +0 -130
- package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js +0 -1149
- package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-T35XLYZF.js +0 -263
- package/dist/cli-bundle/chunks/chunk-T3ABIMGW.js +0 -361
- package/dist/cli-bundle/chunks/chunk-T3F4DF23.js +0 -267
- package/dist/cli-bundle/chunks/chunk-T4MX77AK.js +0 -272
- package/dist/cli-bundle/chunks/chunk-T4MX77AK.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js +0 -5354
- package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TSPKZRRW.js +0 -1570
- package/dist/cli-bundle/chunks/chunk-TT42JUMF.js +0 -207
- package/dist/cli-bundle/chunks/chunk-UHKX7I75.js +0 -165
- package/dist/cli-bundle/chunks/chunk-UHKX7I75.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js +0 -4786
- package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-US3T3W5J.js +0 -1932
- package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js +0 -175
- package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-VZIYHZDX.js +0 -1868
- package/dist/cli-bundle/chunks/chunk-WISPVC2E.js +0 -401
- package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js +0 -5434
- package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js +0 -1152
- package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Y76TWC45.js +0 -550
- package/dist/cli-bundle/chunks/chunk-YD5FML7K.js +0 -5630
- package/dist/cli-bundle/chunks/chunk-YD5FML7K.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YFIE7YK6.js +0 -57
- package/dist/cli-bundle/chunks/chunk-YMABYTNG.js +0 -1573
- package/dist/cli-bundle/chunks/chunk-YOF5VPKM.js +0 -119
- package/dist/cli-bundle/chunks/chunk-YPPVU5GX.js +0 -398
- package/dist/cli-bundle/chunks/chunk-YQMMMONE.js +0 -133
- package/dist/cli-bundle/chunks/chunk-YSAH5FY5.js +0 -1001
- package/dist/cli-bundle/chunks/chunk-YZIR4R3U.js +0 -1005
- package/dist/cli-bundle/chunks/chunk-Z2CRRZYF.js +0 -215
- package/dist/cli-bundle/chunks/chunk-ZAHXPXVY.js +0 -533
- package/dist/cli-bundle/chunks/chunk-ZCJAA3JK.js +0 -121
- package/dist/cli-bundle/chunks/chunk-ZD34OFFQ.js +0 -366
- package/dist/cli-bundle/chunks/chunk-ZJB3UV5U.js +0 -2306
- package/dist/cli-bundle/chunks/chunk-ZMD35NYG.js +0 -61
- package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js +0 -241
- package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js.map +0 -7
- package/dist/cli-bundle/chunks/claim-4DROPSIS.js +0 -144
- package/dist/cli-bundle/chunks/claim-4DROPSIS.js.map +0 -1
- package/dist/cli-bundle/chunks/claim-VX54TV5U.js +0 -147
- package/dist/cli-bundle/chunks/claim-VX54TV5U.js.map +0 -7
- package/dist/cli-bundle/chunks/close-3YRR3XY6.js +0 -20
- package/dist/cli-bundle/chunks/close-OB2Y4QP5.js +0 -16
- package/dist/cli-bundle/chunks/close-many-AP4MWU36.js +0 -397
- package/dist/cli-bundle/chunks/close-many-AP4MWU36.js.map +0 -1
- package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js +0 -400
- package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js.map +0 -7
- package/dist/cli-bundle/chunks/comments-MIW5MZOX.js +0 -128
- package/dist/cli-bundle/chunks/comments-MIW5MZOX.js.map +0 -7
- package/dist/cli-bundle/chunks/comments-SAG5LSKL.js +0 -125
- package/dist/cli-bundle/chunks/comments-SAG5LSKL.js.map +0 -1
- package/dist/cli-bundle/chunks/config-DJJKZB5R.js +0 -1075
- package/dist/cli-bundle/chunks/config-DJJKZB5R.js.map +0 -7
- package/dist/cli-bundle/chunks/config-V57QD47V.js +0 -1065
- package/dist/cli-bundle/chunks/config-V57QD47V.js.map +0 -1
- package/dist/cli-bundle/chunks/context-4OQGIPSO.js +0 -45
- package/dist/cli-bundle/chunks/context-WLA6IAWE.js +0 -49
- package/dist/cli-bundle/chunks/contracts-HXJLKCRI.js +0 -12
- package/dist/cli-bundle/chunks/contracts-OJEXMKVW.js +0 -16
- package/dist/cli-bundle/chunks/copy-LEE6P6EM.js +0 -184
- package/dist/cli-bundle/chunks/copy-LEE6P6EM.js.map +0 -7
- package/dist/cli-bundle/chunks/copy-OTJOWFL6.js +0 -181
- package/dist/cli-bundle/chunks/copy-OTJOWFL6.js.map +0 -1
- package/dist/cli-bundle/chunks/create-WKOZKPQR.js +0 -30
- package/dist/cli-bundle/chunks/create-XWWQFQ6S.js +0 -34
- package/dist/cli-bundle/chunks/delete-62JQTYT4.js +0 -59
- package/dist/cli-bundle/chunks/delete-62JQTYT4.js.map +0 -7
- package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js +0 -56
- package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js.map +0 -1
- package/dist/cli-bundle/chunks/deps-55FTG6Z5.js +0 -224
- package/dist/cli-bundle/chunks/deps-55FTG6Z5.js.map +0 -1
- package/dist/cli-bundle/chunks/deps-L2FPIAD3.js +0 -227
- package/dist/cli-bundle/chunks/deps-L2FPIAD3.js.map +0 -7
- package/dist/cli-bundle/chunks/docs-6CRCSVKK.js +0 -33
- package/dist/cli-bundle/chunks/docs-6CRCSVKK.js.map +0 -1
- package/dist/cli-bundle/chunks/docs-S6UTOTO5.js +0 -36
- package/dist/cli-bundle/chunks/docs-S6UTOTO5.js.map +0 -7
- package/dist/cli-bundle/chunks/eval-N6UHFWVO.js +0 -288
- package/dist/cli-bundle/chunks/eval-N6UHFWVO.js.map +0 -7
- package/dist/cli-bundle/chunks/eval-PHOTWYHI.js +0 -278
- package/dist/cli-bundle/chunks/eval-PHOTWYHI.js.map +0 -1
- package/dist/cli-bundle/chunks/extension-NBAH62ML.js +0 -40
- package/dist/cli-bundle/chunks/extension-ZF6ZZPOU.js +0 -44
- package/dist/cli-bundle/chunks/files-6P57MRKL.js +0 -301
- package/dist/cli-bundle/chunks/files-6P57MRKL.js.map +0 -7
- package/dist/cli-bundle/chunks/files-JPU3FNJ7.js +0 -298
- package/dist/cli-bundle/chunks/files-JPU3FNJ7.js.map +0 -1
- package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js +0 -106
- package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js.map +0 -1
- package/dist/cli-bundle/chunks/focus-WNMYCVYA.js +0 -109
- package/dist/cli-bundle/chunks/focus-WNMYCVYA.js.map +0 -7
- package/dist/cli-bundle/chunks/gc-AETFKZ44.js +0 -398
- package/dist/cli-bundle/chunks/gc-AETFKZ44.js.map +0 -7
- package/dist/cli-bundle/chunks/gc-RLBP4QVN.js +0 -388
- package/dist/cli-bundle/chunks/gc-RLBP4QVN.js.map +0 -1
- package/dist/cli-bundle/chunks/get-NH2MPBCI.js +0 -283
- package/dist/cli-bundle/chunks/get-NH2MPBCI.js.map +0 -1
- package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js +0 -286
- package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js.map +0 -7
- package/dist/cli-bundle/chunks/health-3GVPMQBL.js +0 -1612
- package/dist/cli-bundle/chunks/health-3GVPMQBL.js.map +0 -1
- package/dist/cli-bundle/chunks/health-DNTM72GJ.js +0 -1615
- package/dist/cli-bundle/chunks/health-DNTM72GJ.js.map +0 -7
- package/dist/cli-bundle/chunks/history-RYKLC72X.js +0 -20
- package/dist/cli-bundle/chunks/history-SGPYRAFT.js +0 -24
- package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js +0 -565
- package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js.map +0 -7
- package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js +0 -555
- package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js.map +0 -1
- package/dist/cli-bundle/chunks/history-redact-4H3FCKF3.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-54ICFKXM.js +0 -25
- package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js +0 -281
- package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js.map +0 -7
- package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js +0 -278
- package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js.map +0 -1
- package/dist/cli-bundle/chunks/init-RPIPQUNV.js +0 -32
- package/dist/cli-bundle/chunks/init-SKQAESQS.js +0 -28
- package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js +0 -48
- package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js.map +0 -7
- package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js +0 -45
- package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js.map +0 -1
- package/dist/cli-bundle/chunks/list-64LHZ3HM.js +0 -32
- package/dist/cli-bundle/chunks/list-7LXBTEKI.js +0 -36
- package/dist/cli-bundle/chunks/next-7ODPAQ4U.js +0 -306
- package/dist/cli-bundle/chunks/next-7ODPAQ4U.js.map +0 -7
- package/dist/cli-bundle/chunks/next-ODJUM4ZM.js +0 -303
- package/dist/cli-bundle/chunks/next-ODJUM4ZM.js.map +0 -1
- package/dist/cli-bundle/chunks/notes-72YXN5JX.js +0 -48
- package/dist/cli-bundle/chunks/notes-72YXN5JX.js.map +0 -7
- package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js +0 -45
- package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js.map +0 -1
- package/dist/cli-bundle/chunks/plan-R4NDQ27E.js +0 -1366
- package/dist/cli-bundle/chunks/plan-R4NDQ27E.js.map +0 -7
- package/dist/cli-bundle/chunks/plan-XWY5T67S.js +0 -1363
- package/dist/cli-bundle/chunks/plan-XWY5T67S.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-XQWEQKS3.js +0 -397
- package/dist/cli-bundle/chunks/profile-XQWEQKS3.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-YRDHLMRO.js +0 -400
- package/dist/cli-bundle/chunks/profile-YRDHLMRO.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-5H66WFYF.js +0 -419
- package/dist/cli-bundle/chunks/register-list-query-FB3FNDLZ.js +0 -409
- package/dist/cli-bundle/chunks/register-mutation-UJO23C7R.js +0 -1256
- package/dist/cli-bundle/chunks/register-mutation-Z2ETYHKS.js +0 -1273
- package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js +0 -513
- package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js +0 -516
- package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js +0 -323
- package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js +0 -326
- package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-PXOFL6AM.js +0 -19
- package/dist/cli-bundle/chunks/restore-YJ2ET6AT.js +0 -23
- package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js +0 -91
- package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js.map +0 -7
- package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js +0 -88
- package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js.map +0 -1
- package/dist/cli-bundle/chunks/schema-2PUXCZ25.js +0 -74
- package/dist/cli-bundle/chunks/schema-Y6DXXK2F.js +0 -78
- package/dist/cli-bundle/chunks/search-3S72CTD6.js +0 -38
- package/dist/cli-bundle/chunks/search-WNUNBQXO.js +0 -34
- package/dist/cli-bundle/chunks/stats-IJYTRQGV.js +0 -250
- package/dist/cli-bundle/chunks/stats-IJYTRQGV.js.map +0 -7
- package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js +0 -240
- package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js.map +0 -1
- package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js +0 -309
- package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js.map +0 -7
- package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js +0 -306
- package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js.map +0 -1
- package/dist/cli-bundle/chunks/test-DQ2QFJ7W.js +0 -45
- package/dist/cli-bundle/chunks/test-W7QBLVJS.js +0 -41
- package/dist/cli-bundle/chunks/test-all-636NTRTT.js +0 -434
- package/dist/cli-bundle/chunks/test-all-636NTRTT.js.map +0 -1
- package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js +0 -437
- package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js.map +0 -7
- package/dist/cli-bundle/chunks/test-runs-245OINZR.js +0 -28
- package/dist/cli-bundle/chunks/test-runs-ZRD4GCTT.js +0 -24
- package/dist/cli-bundle/chunks/update-SFLZPJXX.js +0 -30
- package/dist/cli-bundle/chunks/update-SJZ6S77U.js +0 -26
- package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js +0 -671
- package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js.map +0 -7
- package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js +0 -668
- package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js.map +0 -1
- package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js +0 -290
- package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js +0 -287
- package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-PA4FDTOV.js +0 -2143
- package/dist/cli-bundle/chunks/validate-PA4FDTOV.js.map +0 -7
- package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js +0 -2105
- package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js.map +0 -1
- /package/dist/cli-bundle/chunks/{activity-4XQIDNM5.js.map → activity-WJCGCYPU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-YKAKZTZ4.js.map → activity-Z6QUAUSG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-3YRR3XY6.js.map → aggregate-BDM6EIAR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-OB2Y4QP5.js.map → aggregate-VQ2DHU3S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-WLA6IAWE.js.map → append-BGML6VLD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-4OQGIPSO.js.map → append-RKJYPU74.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YFIE7YK6.js.map → chunk-22KBU3MW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DLQ4ZTCU.js.map → chunk-24YG75HI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KLG4ZULO.js.map → chunk-2XG4IZON.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FJRKQREY.js.map → chunk-3GCS5SKL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5B3X4Y22.js.map → chunk-3KTN6IBA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YMABYTNG.js.map → chunk-3UJRFJ5R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YSAH5FY5.js.map → chunk-3VHSI5FL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7EQNAZX2.js.map → chunk-46CUF5L6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-75U6M5ZD.js.map → chunk-4IWYTWGF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VZIYHZDX.js.map → chunk-5GZ7TDD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3U3VEWK6.js.map → chunk-5VAA4YHR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3PL6LEKP.js.map → chunk-64YKRTSV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ABRA3BHY.js.map → chunk-6LLVNJXT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EEY54JMF.js.map → chunk-7DT4WSH2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7MDXZAZS.js.map → chunk-7WBAJSS6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AAEQMOC6.js.map → chunk-AGHMOTGM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OWTIRHX4.js.map → chunk-ALFPSEWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T3ABIMGW.js.map → chunk-AZYGZGGI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3JZNEQBA.js.map → chunk-B6DUFX6H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OESSOFJ4.js.map → chunk-C5JBZRPU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YPPVU5GX.js.map → chunk-CFB33L7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5J2XPTAD.js.map → chunk-CL36D4PC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IJ6CO3JV.js.map → chunk-D2XRLB55.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MNZ7DRNC.js.map → chunk-DEWEK6AN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-US3T3W5J.js.map → chunk-E3SZTQ4K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-C3PMDWGX.js.map → chunk-EGY6JBQ3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JLA7EVYV.js.map → chunk-EKFNL33R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-57C2RLW5.js.map → chunk-ENGQOEUY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7QH7DHUB.js.map → chunk-EOKXK3R3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZCJAA3JK.js.map → chunk-F3K4JGFD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DRBV5UC2.js.map → chunk-FLZSGSQR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y76TWC45.js.map → chunk-FT3QTERD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HK72NWAD.js.map → chunk-G24G7ZAV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K3AGVXSF.js.map → chunk-G64OCSKU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QHZO65XW.js.map → chunk-GANUTS7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WISPVC2E.js.map → chunk-GBAX2ZAQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RCT3YJOK.js.map → chunk-GJ7QC5DJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BVEUCSH2.js.map → chunk-GPLPTGOV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YZIR4R3U.js.map → chunk-GZRDYONU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7WYXBPYQ.js.map → chunk-IWVU4C2F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T3F4DF23.js.map → chunk-IX5BXEMX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RX3HQSYG.js.map → chunk-JDDLOQAE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YOF5VPKM.js.map → chunk-JJP45OEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TT42JUMF.js.map → chunk-K46RF36U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R3ZBLGTC.js.map → chunk-KGFUY7WN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NER3KUUS.js.map → chunk-KUOOJR35.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3Y4OESPP.js.map → chunk-L5PSPMZ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PJ3A56YF.js.map → chunk-LPSSSDJR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FDBARR33.js.map → chunk-MA4SM3QZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PPAJG4GB.js.map → chunk-MFAZSEM5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5JZ7APJU.js.map → chunk-MFSCBT5Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4OFLJHX6.js.map → chunk-MLIYFOE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZMD35NYG.js.map → chunk-MUH7A3FD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5JE6SMYS.js.map → chunk-MVYWGY2A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P5TFTLWW.js.map → chunk-MWMVPCIE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T35XLYZF.js.map → chunk-NGXQ3PFT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EZFKWSC7.js.map → chunk-NMP5I3I5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HJE4JTKQ.js.map → chunk-O6AWCQRQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BFVHCAOO.js.map → chunk-OGWQ2IEP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S4APD35C.js.map → chunk-QLMX7SRD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MZ7VNEVY.js.map → chunk-RFNYTESG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MTTXDAK4.js.map → chunk-SCUR7K7N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P5YORJRH.js.map → chunk-SHQY2IDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S5AYOUT5.js.map → chunk-SMB7RV23.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N7X4WP6L.js.map → chunk-SPZ6DOGY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P3VRG72Q.js.map → chunk-SQYJ4HF2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4LRVSBO6.js.map → chunk-T42JWV3F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NBFCNJ7Q.js.map → chunk-TULGS6X6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZJB3UV5U.js.map → chunk-TZXRBVAM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZD34OFFQ.js.map → chunk-VPIM42PC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FGQKEDE4.js.map → chunk-W3DSJQIO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4QQ6PM7M.js.map → chunk-W572BIEB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Z2CRRZYF.js.map → chunk-WRTENIX3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZAHXPXVY.js.map → chunk-XB7KFVFI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PDXT6Q55.js.map → chunk-XG625QP4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D3UCE7RW.js.map → chunk-XUC7PI2H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N6DNM2FA.js.map → chunk-Y46GD4IX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FUM6UMY4.js.map → chunk-Y4M7CPQP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HBYZDSK5.js.map → chunk-YN7Y6DQZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YQMMMONE.js.map → chunk-ZGK4L4JM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LEKT4K7I.js.map → chunk-ZSUS2OD3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TSPKZRRW.js.map → chunk-ZZD4J5XY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-HXJLKCRI.js.map → claim-RFS7BROJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-OJEXMKVW.js.map → claim-XP5AWZ5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-XWWQFQ6S.js.map → close-2SSSHHUZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-WKOZKPQR.js.map → close-GEANHQ2J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-ZF6ZZPOU.js.map → close-many-CMZW7ITN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-NBAH62ML.js.map → close-many-ZFDIG6M7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-SGPYRAFT.js.map → comments-MFSYVNNU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-RYKLC72X.js.map → comments-XUBPXDYX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-4H3FCKF3.js.map → config-D7XQMONX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-54ICFKXM.js.map → config-T4FHBSYN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-RPIPQUNV.js.map → context-DIU275XI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-SKQAESQS.js.map → context-JCOYB4LZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-64LHZ3HM.js.map → contracts-BVO7CSLK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-7LXBTEKI.js.map → contracts-NYPEW2G4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-YJ2ET6AT.js.map → copy-32ROBIDL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-PXOFL6AM.js.map → copy-NAGLGMHZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-2PUXCZ25.js.map → create-4V7SWNBB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-Y6DXXK2F.js.map → create-E77SDCUP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-WNUNBQXO.js.map → delete-NQI5OSKN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-3S72CTD6.js.map → delete-RA5KTCLB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-DQ2QFJ7W.js.map → deps-32SU7HO5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-W7QBLVJS.js.map → deps-T7SCWXEX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-245OINZR.js.map → docs-RRUPT7O2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-ZRD4GCTT.js.map → docs-WL2IWGWV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-SJZ6S77U.js.map → eval-NF2J5SHR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-SFLZPJXX.js.map → eval-SKDT3MZU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-FB3FNDLZ.js.map → register-list-query-B42JCCOI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-list-query-5H66WFYF.js.map → register-list-query-OEYQHFXO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-Z2ETYHKS.js.map → register-mutation-3QXIHCQG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-UJO23C7R.js.map → register-mutation-IAEST26S.js.map} +0 -0
|
@@ -1,1041 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
parseLimit
|
|
3
|
-
} from "./chunk-EEY54JMF.js";
|
|
4
|
-
import {
|
|
5
|
-
nowIso
|
|
6
|
-
} from "./chunk-DRBV5UC2.js";
|
|
7
|
-
import {
|
|
8
|
-
PmCliError,
|
|
9
|
-
readSettings
|
|
10
|
-
} from "./chunk-P5YORJRH.js";
|
|
11
|
-
import {
|
|
12
|
-
EXIT_CODE,
|
|
13
|
-
ensureDir,
|
|
14
|
-
getSettingsPath,
|
|
15
|
-
getTestRunRecordPath,
|
|
16
|
-
getTestRunResultPath,
|
|
17
|
-
getTestRunStderrPath,
|
|
18
|
-
getTestRunStdoutPath,
|
|
19
|
-
getTestRunsPath,
|
|
20
|
-
getTestRunsRecordsPath,
|
|
21
|
-
getTestRunsResultsPath,
|
|
22
|
-
getTestRunsStderrPath,
|
|
23
|
-
getTestRunsStdoutPath,
|
|
24
|
-
pathExists,
|
|
25
|
-
readFileIfExists,
|
|
26
|
-
resolveGlobalPmRoot,
|
|
27
|
-
resolvePmRoot,
|
|
28
|
-
writeFileAtomic
|
|
29
|
-
} from "./chunk-5VVUKE3U.js";
|
|
30
|
-
|
|
31
|
-
// dist/cli/commands/test-runs.js
|
|
32
|
-
import os from "node:os";
|
|
33
|
-
|
|
34
|
-
// dist/core/test/background-runs.js
|
|
35
|
-
import fs from "node:fs/promises";
|
|
36
|
-
import { spawn } from "node:child_process";
|
|
37
|
-
import { createHash, randomBytes } from "node:crypto";
|
|
38
|
-
import path from "node:path";
|
|
39
|
-
!(function() {
|
|
40
|
-
try {
|
|
41
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
42
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aefbe330-eaa9-5b52-a406-b796df6bff8b");
|
|
43
|
-
} catch (e2) {
|
|
44
|
-
}
|
|
45
|
-
})();
|
|
46
|
-
var BACKGROUND_RUN_ACTIVE_STATUSES = /* @__PURE__ */ new Set(["queued", "running"]);
|
|
47
|
-
var BACKGROUND_RUN_TERMINAL_STATUSES = /* @__PURE__ */ new Set(["passed", "failed", "stopped", "canceled"]);
|
|
48
|
-
var DEFAULT_BACKGROUND_RUN_RESOURCE_SNAPSHOT_INTERVAL_MS = 3e3;
|
|
49
|
-
var DEFAULT_BACKGROUND_RUN_FORCE_KILL_DELAY_MS = 3e3;
|
|
50
|
-
var DEFAULT_BACKGROUND_RUN_HEARTBEAT_STALE_MS = 3e4;
|
|
51
|
-
var DEFAULT_BACKGROUND_RUN_LOG_TAIL_LINES = 100;
|
|
52
|
-
var PROC_STAT_TICKS_PER_SECOND = 100;
|
|
53
|
-
function nowMs() {
|
|
54
|
-
return Date.now();
|
|
55
|
-
}
|
|
56
|
-
function normalizeCommandArgs(args) {
|
|
57
|
-
return args.map((entry) => entry.trim()).filter((entry) => entry.length > 0);
|
|
58
|
-
}
|
|
59
|
-
function summarizeCommandLabel(args) {
|
|
60
|
-
const joined = args.join(" ").replaceAll(/\s+/g, " ").trim();
|
|
61
|
-
if (joined.length <= 180) {
|
|
62
|
-
return joined;
|
|
63
|
-
}
|
|
64
|
-
return `${joined.slice(0, 177)}...`;
|
|
65
|
-
}
|
|
66
|
-
function buildRunId() {
|
|
67
|
-
const timePart = Date.now().toString(36);
|
|
68
|
-
const randomPart = randomBytes(3).toString("hex");
|
|
69
|
-
return `tr-${timePart}-${randomPart}`;
|
|
70
|
-
}
|
|
71
|
-
function buildBackgroundTestRunFingerprint(kind, commandArgs, pmRoot) {
|
|
72
|
-
const payload = {
|
|
73
|
-
kind,
|
|
74
|
-
command: normalizeCommandArgs(commandArgs),
|
|
75
|
-
pm_root: path.resolve(pmRoot)
|
|
76
|
-
};
|
|
77
|
-
return createHash("sha256").update(JSON.stringify(payload)).digest("hex");
|
|
78
|
-
}
|
|
79
|
-
function isPidRunning(pid) {
|
|
80
|
-
if (!Number.isInteger(pid) || !pid || pid <= 0) {
|
|
81
|
-
return false;
|
|
82
|
-
}
|
|
83
|
-
try {
|
|
84
|
-
process.kill(pid, 0);
|
|
85
|
-
return true;
|
|
86
|
-
} catch (error) {
|
|
87
|
-
const code = typeof error === "object" && error !== null && "code" in error ? error.code : void 0;
|
|
88
|
-
return code === "EPERM";
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
async function ensureBackgroundRunStorage(pmRoot) {
|
|
92
|
-
await ensureDir(getTestRunsPath(pmRoot));
|
|
93
|
-
await ensureDir(getTestRunsRecordsPath(pmRoot));
|
|
94
|
-
await ensureDir(getTestRunsStdoutPath(pmRoot));
|
|
95
|
-
await ensureDir(getTestRunsStderrPath(pmRoot));
|
|
96
|
-
await ensureDir(getTestRunsResultsPath(pmRoot));
|
|
97
|
-
}
|
|
98
|
-
async function parseBackgroundRunRecord(raw, recordPath) {
|
|
99
|
-
try {
|
|
100
|
-
const parsed = JSON.parse(raw);
|
|
101
|
-
if (!parsed || typeof parsed !== "object" || typeof parsed.id !== "string") {
|
|
102
|
-
throw new Error("invalid run record payload");
|
|
103
|
-
}
|
|
104
|
-
return parsed;
|
|
105
|
-
} catch (error) {
|
|
106
|
-
throw new PmCliError(`Failed to parse background test run record at ${recordPath}: ${error instanceof Error ? error.message : String(error)}`, EXIT_CODE.GENERIC_FAILURE);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
async function writeBackgroundRunRecord(pmRoot, record) {
|
|
110
|
-
const next = {
|
|
111
|
-
...record,
|
|
112
|
-
updated_at: nowIso()
|
|
113
|
-
};
|
|
114
|
-
await writeFileAtomic(getTestRunRecordPath(pmRoot, record.id), `${JSON.stringify(next, null, 2)}
|
|
115
|
-
`);
|
|
116
|
-
}
|
|
117
|
-
async function readBackgroundTestRunRecord(pmRoot, runId) {
|
|
118
|
-
const recordPath = getTestRunRecordPath(pmRoot, runId);
|
|
119
|
-
const raw = await readFileIfExists(recordPath);
|
|
120
|
-
if (!raw) {
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
return parseBackgroundRunRecord(raw, recordPath);
|
|
124
|
-
}
|
|
125
|
-
async function listBackgroundRunRecordPaths(pmRoot) {
|
|
126
|
-
const recordsRoot = getTestRunsRecordsPath(pmRoot);
|
|
127
|
-
if (!await pathExists(recordsRoot)) {
|
|
128
|
-
return [];
|
|
129
|
-
}
|
|
130
|
-
const entries = await fs.readdir(recordsRoot, { withFileTypes: true });
|
|
131
|
-
return entries.filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => path.join(recordsRoot, entry.name)).sort((left, right) => right.localeCompare(left));
|
|
132
|
-
}
|
|
133
|
-
function parseLinuxRssStatus(raw) {
|
|
134
|
-
const match = raw.match(/^VmRSS:\s+(\d+)\s+kB$/m);
|
|
135
|
-
if (!match) {
|
|
136
|
-
return void 0;
|
|
137
|
-
}
|
|
138
|
-
return Number.parseInt(match[1], 10) * 1024;
|
|
139
|
-
}
|
|
140
|
-
async function readLinuxRssBytes(pid) {
|
|
141
|
-
if (process.platform !== "linux") {
|
|
142
|
-
return void 0;
|
|
143
|
-
}
|
|
144
|
-
try {
|
|
145
|
-
const raw = await fs.readFile(`/proc/${pid}/status`, "utf8");
|
|
146
|
-
return parseLinuxRssStatus(raw);
|
|
147
|
-
} catch {
|
|
148
|
-
return void 0;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
function parseLinuxCpuStat(raw) {
|
|
152
|
-
const closeParenIndex = raw.lastIndexOf(")");
|
|
153
|
-
if (closeParenIndex < 0) {
|
|
154
|
-
return {};
|
|
155
|
-
}
|
|
156
|
-
const remainder = raw.slice(closeParenIndex + 2).trim();
|
|
157
|
-
const parts = remainder.split(/\s+/);
|
|
158
|
-
const utimeTicks = Number.parseInt(parts[11], 10);
|
|
159
|
-
const stimeTicks = Number.parseInt(parts[12], 10);
|
|
160
|
-
if (!Number.isFinite(utimeTicks) || !Number.isFinite(stimeTicks)) {
|
|
161
|
-
return {};
|
|
162
|
-
}
|
|
163
|
-
return {
|
|
164
|
-
cpu_user_seconds: utimeTicks / PROC_STAT_TICKS_PER_SECOND,
|
|
165
|
-
cpu_system_seconds: stimeTicks / PROC_STAT_TICKS_PER_SECOND
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
async function readLinuxCpuSeconds(pid) {
|
|
169
|
-
if (process.platform !== "linux") {
|
|
170
|
-
return {};
|
|
171
|
-
}
|
|
172
|
-
try {
|
|
173
|
-
const raw = await fs.readFile(`/proc/${pid}/stat`, "utf8");
|
|
174
|
-
return parseLinuxCpuStat(raw);
|
|
175
|
-
} catch {
|
|
176
|
-
return {};
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
async function buildResourceSnapshot(record) {
|
|
180
|
-
const pid = record.child_pid ?? record.worker_pid;
|
|
181
|
-
if (!isPidRunning(pid)) {
|
|
182
|
-
return void 0;
|
|
183
|
-
}
|
|
184
|
-
const rssBytes = await readLinuxRssBytes(pid);
|
|
185
|
-
const cpu = await readLinuxCpuSeconds(pid);
|
|
186
|
-
const startedAtMs = record.started_at ? Date.parse(record.started_at) : Number.NaN;
|
|
187
|
-
const uptimeSeconds = Number.isFinite(startedAtMs) ? Math.max(0, (nowMs() - startedAtMs) / 1e3) : void 0;
|
|
188
|
-
return {
|
|
189
|
-
recorded_at: nowIso(),
|
|
190
|
-
rss_bytes: rssBytes,
|
|
191
|
-
cpu_user_seconds: cpu.cpu_user_seconds,
|
|
192
|
-
cpu_system_seconds: cpu.cpu_system_seconds,
|
|
193
|
-
uptime_seconds: uptimeSeconds
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
function readCount(value) {
|
|
197
|
-
return typeof value === "number" && Number.isFinite(value) ? value : 0;
|
|
198
|
-
}
|
|
199
|
-
function evaluateWorkerResult(kind, payload) {
|
|
200
|
-
if (!payload || typeof payload !== "object") {
|
|
201
|
-
return {
|
|
202
|
-
summary: {
|
|
203
|
-
passed: 0,
|
|
204
|
-
failed: 1,
|
|
205
|
-
skipped: 0
|
|
206
|
-
},
|
|
207
|
-
parsedResult: null
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
const record = payload;
|
|
211
|
-
if (kind === "test-all") {
|
|
212
|
-
const totals = record.totals ?? {};
|
|
213
|
-
return {
|
|
214
|
-
summary: {
|
|
215
|
-
items: typeof totals.items === "number" ? totals.items : void 0,
|
|
216
|
-
linked_tests: typeof totals.linked_tests === "number" ? totals.linked_tests : void 0,
|
|
217
|
-
passed: readCount(totals.passed),
|
|
218
|
-
failed: readCount(totals.failed),
|
|
219
|
-
skipped: readCount(totals.skipped),
|
|
220
|
-
fail_on_skipped_triggered: record.fail_on_skipped_triggered === true ? true : void 0
|
|
221
|
-
},
|
|
222
|
-
parsedResult: payload
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
const runResults = Array.isArray(record.run_results) ? record.run_results : [];
|
|
226
|
-
let passed = 0;
|
|
227
|
-
let failed = 0;
|
|
228
|
-
let skipped = 0;
|
|
229
|
-
for (const entry of runResults) {
|
|
230
|
-
if (!entry || typeof entry !== "object") {
|
|
231
|
-
continue;
|
|
232
|
-
}
|
|
233
|
-
const status = entry.status;
|
|
234
|
-
if (status === "passed") {
|
|
235
|
-
passed += 1;
|
|
236
|
-
continue;
|
|
237
|
-
}
|
|
238
|
-
if (status === "failed") {
|
|
239
|
-
failed += 1;
|
|
240
|
-
continue;
|
|
241
|
-
}
|
|
242
|
-
skipped += 1;
|
|
243
|
-
}
|
|
244
|
-
return {
|
|
245
|
-
summary: {
|
|
246
|
-
passed,
|
|
247
|
-
failed,
|
|
248
|
-
skipped,
|
|
249
|
-
fail_on_skipped_triggered: record.fail_on_skipped_triggered === true ? true : void 0
|
|
250
|
-
},
|
|
251
|
-
parsedResult: payload
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
function parseProgressLine(stderrLine) {
|
|
255
|
-
const line = stderrLine.trim();
|
|
256
|
-
if (line.length === 0) {
|
|
257
|
-
return null;
|
|
258
|
-
}
|
|
259
|
-
const testAllMatch = line.match(/\[pm test-all\]\s+item\s+(\d+)\/(\d+)\s+(start|end)\s+id=([^\s]+)/i);
|
|
260
|
-
if (testAllMatch) {
|
|
261
|
-
const itemIndex = Number.parseInt(testAllMatch[1], 10);
|
|
262
|
-
const itemTotal = Number.parseInt(testAllMatch[2], 10);
|
|
263
|
-
return {
|
|
264
|
-
item_index: itemIndex,
|
|
265
|
-
item_total: itemTotal,
|
|
266
|
-
item_id: testAllMatch[4],
|
|
267
|
-
linked_test_index: void 0,
|
|
268
|
-
linked_test_total: void 0,
|
|
269
|
-
current_command: void 0,
|
|
270
|
-
elapsed_ms: void 0,
|
|
271
|
-
heartbeat_at: nowIso(),
|
|
272
|
-
phase: testAllMatch[3]?.toLowerCase() === "end" ? "finished" : "running"
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
const linkedTestMatch = line.match(/\[pm test\]\s+linked-test\s+(\d+)\/(\d+)\s+(start|running|end)(?:.*elapsed_ms=(\d+))?/i);
|
|
276
|
-
if (!linkedTestMatch) {
|
|
277
|
-
return null;
|
|
278
|
-
}
|
|
279
|
-
const index = Number.parseInt(linkedTestMatch[1], 10);
|
|
280
|
-
const total = Number.parseInt(linkedTestMatch[2], 10);
|
|
281
|
-
const elapsed = linkedTestMatch[4] ? Number.parseInt(linkedTestMatch[4], 10) : void 0;
|
|
282
|
-
const commandMatch = line.match(/\scommand="((?:\\.|[^"\\])*)"/);
|
|
283
|
-
const currentCommand = commandMatch ? commandMatch[1].replaceAll('\\"', '"').replaceAll("\\\\", "\\") : void 0;
|
|
284
|
-
return {
|
|
285
|
-
linked_test_index: index,
|
|
286
|
-
linked_test_total: total,
|
|
287
|
-
current_command: currentCommand,
|
|
288
|
-
elapsed_ms: Number.isFinite(elapsed) ? elapsed : void 0,
|
|
289
|
-
heartbeat_at: nowIso(),
|
|
290
|
-
phase: linkedTestMatch[3]?.toLowerCase() === "end" ? "finished" : "running"
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
function splitLines(value) {
|
|
294
|
-
return value.split(/\r?\n/).map((entry) => entry.trimEnd()).filter((entry) => entry.length > 0);
|
|
295
|
-
}
|
|
296
|
-
function tailLines(value, limit) {
|
|
297
|
-
if (limit <= 0) {
|
|
298
|
-
return [];
|
|
299
|
-
}
|
|
300
|
-
const lines = splitLines(value);
|
|
301
|
-
if (lines.length <= limit) {
|
|
302
|
-
return lines;
|
|
303
|
-
}
|
|
304
|
-
return lines.slice(lines.length - limit);
|
|
305
|
-
}
|
|
306
|
-
async function resolveBackgroundCliEntry(cwd) {
|
|
307
|
-
const configured = process.env.PM_BACKGROUND_CLI_ENTRY?.trim();
|
|
308
|
-
if (configured && configured.length > 0) {
|
|
309
|
-
const resolvedConfigured = path.resolve(cwd, configured);
|
|
310
|
-
if (await pathExists(resolvedConfigured)) {
|
|
311
|
-
return resolvedConfigured;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
const distEntry = path.resolve(cwd, "dist", "cli.js");
|
|
315
|
-
if (await pathExists(distEntry)) {
|
|
316
|
-
return distEntry;
|
|
317
|
-
}
|
|
318
|
-
const argvEntry = process.argv[1]?.trim();
|
|
319
|
-
if (argvEntry && argvEntry.length > 0) {
|
|
320
|
-
const resolvedArgvEntry = path.resolve(cwd, argvEntry);
|
|
321
|
-
if (await pathExists(resolvedArgvEntry)) {
|
|
322
|
-
return resolvedArgvEntry;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
throw new PmCliError("Unable to resolve a CLI entrypoint for background test runs. Build the project or set PM_BACKGROUND_CLI_ENTRY.", EXIT_CODE.GENERIC_FAILURE);
|
|
326
|
-
}
|
|
327
|
-
async function refreshRunIfStale(pmRoot, record) {
|
|
328
|
-
if (!BACKGROUND_RUN_ACTIVE_STATUSES.has(record.status)) {
|
|
329
|
-
return record;
|
|
330
|
-
}
|
|
331
|
-
const workerAlive = isPidRunning(record.worker_pid);
|
|
332
|
-
if (workerAlive) {
|
|
333
|
-
return record;
|
|
334
|
-
}
|
|
335
|
-
if (record.finished_at) {
|
|
336
|
-
return record;
|
|
337
|
-
}
|
|
338
|
-
const next = {
|
|
339
|
-
...record,
|
|
340
|
-
status: "failed",
|
|
341
|
-
finished_at: nowIso(),
|
|
342
|
-
error: record.error ?? "Background test run worker exited before writing terminal status."
|
|
343
|
-
};
|
|
344
|
-
await writeBackgroundRunRecord(pmRoot, next);
|
|
345
|
-
return next;
|
|
346
|
-
}
|
|
347
|
-
async function startBackgroundTestRun(options) {
|
|
348
|
-
await ensureBackgroundRunStorage(options.pmRoot);
|
|
349
|
-
const normalizedArgs = normalizeCommandArgs(options.commandArgs);
|
|
350
|
-
if (normalizedArgs.length === 0) {
|
|
351
|
-
throw new PmCliError("Background test run requires command arguments.", EXIT_CODE.USAGE);
|
|
352
|
-
}
|
|
353
|
-
const fingerprint = buildBackgroundTestRunFingerprint(options.kind, normalizedArgs, options.pmRoot);
|
|
354
|
-
const existingRuns = await listBackgroundTestRuns(options.pmRoot, {});
|
|
355
|
-
for (const existing of existingRuns) {
|
|
356
|
-
const refreshed = await refreshRunIfStale(options.pmRoot, existing);
|
|
357
|
-
if (refreshed.fingerprint !== fingerprint) {
|
|
358
|
-
continue;
|
|
359
|
-
}
|
|
360
|
-
if (!BACKGROUND_RUN_ACTIVE_STATUSES.has(refreshed.status) || !isPidRunning(refreshed.worker_pid)) {
|
|
361
|
-
continue;
|
|
362
|
-
}
|
|
363
|
-
return {
|
|
364
|
-
started: false,
|
|
365
|
-
run: {
|
|
366
|
-
...refreshed,
|
|
367
|
-
duplicate_of: refreshed.id
|
|
368
|
-
},
|
|
369
|
-
duplicate_of: refreshed.id
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
const runId = buildRunId();
|
|
373
|
-
const createdAt = nowIso();
|
|
374
|
-
const stdoutPath = getTestRunStdoutPath(options.pmRoot, runId);
|
|
375
|
-
const stderrPath = getTestRunStderrPath(options.pmRoot, runId);
|
|
376
|
-
const resultPath = getTestRunResultPath(options.pmRoot, runId);
|
|
377
|
-
await fs.writeFile(stdoutPath, "", "utf8");
|
|
378
|
-
await fs.writeFile(stderrPath, "", "utf8");
|
|
379
|
-
const record = {
|
|
380
|
-
id: runId,
|
|
381
|
-
kind: options.kind,
|
|
382
|
-
status: "queued",
|
|
383
|
-
created_at: createdAt,
|
|
384
|
-
updated_at: createdAt,
|
|
385
|
-
requested_by: options.requestedBy,
|
|
386
|
-
fingerprint,
|
|
387
|
-
command_args: normalizedArgs,
|
|
388
|
-
command_label: summarizeCommandLabel(normalizedArgs),
|
|
389
|
-
pm_root: options.pmRoot,
|
|
390
|
-
global_pm_root: options.globalPmRoot,
|
|
391
|
-
target_id: options.targetId,
|
|
392
|
-
status_filter: options.statusFilter,
|
|
393
|
-
attempt: typeof options.attempt === "number" && Number.isFinite(options.attempt) && options.attempt >= 1 ? Math.floor(options.attempt) : 1,
|
|
394
|
-
resumed_from: options.resumedFrom,
|
|
395
|
-
resumed_by: options.resumedBy,
|
|
396
|
-
stdout_path: stdoutPath,
|
|
397
|
-
stderr_path: stderrPath,
|
|
398
|
-
result_path: resultPath,
|
|
399
|
-
progress: {
|
|
400
|
-
phase: "queued",
|
|
401
|
-
message: "Queued for background execution.",
|
|
402
|
-
heartbeat_at: createdAt
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
await writeBackgroundRunRecord(options.pmRoot, record);
|
|
406
|
-
return {
|
|
407
|
-
started: true,
|
|
408
|
-
run: record
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
async function spawnBackgroundTestRunWorker(options) {
|
|
412
|
-
const record = await readBackgroundTestRunRecord(options.pmRoot, options.runId);
|
|
413
|
-
if (!record) {
|
|
414
|
-
throw new PmCliError(`Background test run ${options.runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
415
|
-
}
|
|
416
|
-
if (BACKGROUND_RUN_TERMINAL_STATUSES.has(record.status)) {
|
|
417
|
-
throw new PmCliError(`Background test run ${record.id} is already terminal (${record.status}).`, EXIT_CODE.CONFLICT);
|
|
418
|
-
}
|
|
419
|
-
const cliEntry = await resolveBackgroundCliEntry(process.cwd());
|
|
420
|
-
const args = [];
|
|
421
|
-
if (options.noExtensions === true) {
|
|
422
|
-
args.push("--no-extensions");
|
|
423
|
-
}
|
|
424
|
-
args.push("--path", record.pm_root, "test-runs-worker", record.id);
|
|
425
|
-
const env = {
|
|
426
|
-
...process.env,
|
|
427
|
-
PM_PATH: record.pm_root,
|
|
428
|
-
PM_GLOBAL_PATH: record.global_pm_root,
|
|
429
|
-
PM_BACKGROUND_TEST_RUN_ID: record.id,
|
|
430
|
-
PM_BACKGROUND_TEST_RUN_ATTEMPT: String(record.attempt),
|
|
431
|
-
PM_BACKGROUND_TEST_RUN_RESUMED_FROM: record.resumed_from ?? "",
|
|
432
|
-
FORCE_COLOR: "0"
|
|
433
|
-
};
|
|
434
|
-
const child = spawn(process.execPath, [cliEntry, ...args], {
|
|
435
|
-
cwd: process.cwd(),
|
|
436
|
-
env,
|
|
437
|
-
detached: true,
|
|
438
|
-
stdio: "ignore",
|
|
439
|
-
windowsHide: true
|
|
440
|
-
});
|
|
441
|
-
child.unref();
|
|
442
|
-
const next = {
|
|
443
|
-
...record,
|
|
444
|
-
status: "queued",
|
|
445
|
-
worker_pid: child.pid,
|
|
446
|
-
progress: {
|
|
447
|
-
phase: "queued",
|
|
448
|
-
message: "Worker process started.",
|
|
449
|
-
heartbeat_at: nowIso()
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
await writeBackgroundRunRecord(options.pmRoot, next);
|
|
453
|
-
return next;
|
|
454
|
-
}
|
|
455
|
-
async function appendFileOrdered(queue, filePath, text) {
|
|
456
|
-
await queue;
|
|
457
|
-
await fs.appendFile(filePath, text, "utf8");
|
|
458
|
-
}
|
|
459
|
-
function resolvePositiveEnvInteger(name, fallback) {
|
|
460
|
-
const parsed = Number.parseInt(process.env[name] ?? "", 10);
|
|
461
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;
|
|
462
|
-
}
|
|
463
|
-
function buildBackgroundWorkerEnv(record) {
|
|
464
|
-
return {
|
|
465
|
-
...process.env,
|
|
466
|
-
PM_PATH: record.pm_root,
|
|
467
|
-
PM_GLOBAL_PATH: record.global_pm_root,
|
|
468
|
-
FORCE_COLOR: "0"
|
|
469
|
-
};
|
|
470
|
-
}
|
|
471
|
-
function buildBackgroundWorkerChildArgs(record, noExtensions) {
|
|
472
|
-
return noExtensions ? ["--no-extensions", ...record.command_args] : [...record.command_args];
|
|
473
|
-
}
|
|
474
|
-
function createBackgroundRunRecordWriteScheduler(pmRoot, record) {
|
|
475
|
-
let writeQueue = Promise.resolve();
|
|
476
|
-
return {
|
|
477
|
-
schedule() {
|
|
478
|
-
writeQueue = writeQueue.then(async () => {
|
|
479
|
-
try {
|
|
480
|
-
await writeBackgroundRunRecord(pmRoot, record);
|
|
481
|
-
} catch {
|
|
482
|
-
}
|
|
483
|
-
});
|
|
484
|
-
},
|
|
485
|
-
async flush() {
|
|
486
|
-
await writeQueue;
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
|
-
function requestChildSignal(child, signal) {
|
|
491
|
-
try {
|
|
492
|
-
child.kill(signal);
|
|
493
|
-
} catch {
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
async function requestBackgroundWorkerStop(record, child, state, scheduleRecordWrite) {
|
|
497
|
-
if (state.stopRequested) {
|
|
498
|
-
return;
|
|
499
|
-
}
|
|
500
|
-
state.stopRequested = true;
|
|
501
|
-
record.stop_requested_at = nowIso();
|
|
502
|
-
record.progress = {
|
|
503
|
-
...record.progress,
|
|
504
|
-
phase: "stopping",
|
|
505
|
-
message: "Stop requested for background run.",
|
|
506
|
-
heartbeat_at: nowIso()
|
|
507
|
-
};
|
|
508
|
-
scheduleRecordWrite();
|
|
509
|
-
requestChildSignal(child, "SIGTERM");
|
|
510
|
-
const forceTimer = setTimeout(() => requestChildSignal(child, "SIGKILL"), resolvePositiveEnvInteger("PM_BACKGROUND_RUN_FORCE_KILL_DELAY_MS", DEFAULT_BACKGROUND_RUN_FORCE_KILL_DELAY_MS));
|
|
511
|
-
forceTimer.unref?.();
|
|
512
|
-
}
|
|
513
|
-
function buildItemBackgroundProgress(line, progressPatch, phase) {
|
|
514
|
-
return {
|
|
515
|
-
phase,
|
|
516
|
-
message: line,
|
|
517
|
-
heartbeat_at: nowIso(),
|
|
518
|
-
item_index: progressPatch.item_index,
|
|
519
|
-
item_total: progressPatch.item_total,
|
|
520
|
-
item_id: progressPatch.item_id,
|
|
521
|
-
linked_test_index: void 0,
|
|
522
|
-
linked_test_total: void 0,
|
|
523
|
-
current_command: void 0,
|
|
524
|
-
elapsed_ms: void 0
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
function buildLinkedTestBackgroundProgress(line, record, progressPatch, phase) {
|
|
528
|
-
return {
|
|
529
|
-
phase,
|
|
530
|
-
message: line,
|
|
531
|
-
heartbeat_at: nowIso(),
|
|
532
|
-
item_index: progressPatch.item_index ?? record.progress?.item_index,
|
|
533
|
-
item_total: progressPatch.item_total ?? record.progress?.item_total,
|
|
534
|
-
item_id: progressPatch.item_id ?? record.progress?.item_id,
|
|
535
|
-
linked_test_index: progressPatch.linked_test_index,
|
|
536
|
-
linked_test_total: progressPatch.linked_test_total,
|
|
537
|
-
current_command: progressPatch.current_command,
|
|
538
|
-
elapsed_ms: progressPatch.elapsed_ms
|
|
539
|
-
};
|
|
540
|
-
}
|
|
541
|
-
function applyBackgroundWorkerProgressLine(record, line, stopRequested) {
|
|
542
|
-
const progressPatch = parseProgressLine(line);
|
|
543
|
-
if (!progressPatch) {
|
|
544
|
-
return false;
|
|
545
|
-
}
|
|
546
|
-
const phase = record.progress?.phase === "stopping" ? "stopping" : "running";
|
|
547
|
-
record.progress = progressPatch.item_id ? buildItemBackgroundProgress(line, progressPatch, phase) : buildLinkedTestBackgroundProgress(line, record, progressPatch, phase);
|
|
548
|
-
if (progressPatch.phase === "finished" && !stopRequested) {
|
|
549
|
-
record.progress.phase = "running";
|
|
550
|
-
}
|
|
551
|
-
return true;
|
|
552
|
-
}
|
|
553
|
-
function parseBackgroundWorkerStdout(stdoutBuffer) {
|
|
554
|
-
if (stdoutBuffer.trim().length === 0) {
|
|
555
|
-
return null;
|
|
556
|
-
}
|
|
557
|
-
try {
|
|
558
|
-
return JSON.parse(stdoutBuffer);
|
|
559
|
-
} catch {
|
|
560
|
-
return null;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
function resolveBackgroundWorkerFinalStatus(record, stopRequested) {
|
|
564
|
-
if (stopRequested) {
|
|
565
|
-
return "stopped";
|
|
566
|
-
}
|
|
567
|
-
const passed = record.exit_code === 0 && (record.summary?.failed ?? 0) === 0 && record.summary?.fail_on_skipped_triggered !== true;
|
|
568
|
-
return passed ? "passed" : "failed";
|
|
569
|
-
}
|
|
570
|
-
function buildFinishedBackgroundProgress(record, stopRequested) {
|
|
571
|
-
return {
|
|
572
|
-
phase: "finished",
|
|
573
|
-
message: stopRequested ? "Background run stopped." : `Background run finished with status=${record.status}.`,
|
|
574
|
-
heartbeat_at: nowIso(),
|
|
575
|
-
item_index: record.progress?.item_index,
|
|
576
|
-
item_total: record.progress?.item_total,
|
|
577
|
-
item_id: record.progress?.item_id,
|
|
578
|
-
linked_test_index: record.progress?.linked_test_index,
|
|
579
|
-
linked_test_total: record.progress?.linked_test_total,
|
|
580
|
-
current_command: record.progress?.current_command,
|
|
581
|
-
elapsed_ms: record.progress?.elapsed_ms
|
|
582
|
-
};
|
|
583
|
-
}
|
|
584
|
-
async function writeBackgroundWorkerResult(record, parsedResult, stdoutBuffer) {
|
|
585
|
-
if (parsedResult !== null) {
|
|
586
|
-
await writeFileAtomic(record.result_path, `${JSON.stringify(parsedResult, null, 2)}
|
|
587
|
-
`);
|
|
588
|
-
return;
|
|
589
|
-
}
|
|
590
|
-
await writeFileAtomic(record.result_path, `${JSON.stringify({
|
|
591
|
-
parse_error: "Background run output was not valid JSON.",
|
|
592
|
-
stdout_excerpt: tailLines(stdoutBuffer, DEFAULT_BACKGROUND_RUN_LOG_TAIL_LINES)
|
|
593
|
-
}, null, 2)}
|
|
594
|
-
`);
|
|
595
|
-
}
|
|
596
|
-
async function runBackgroundTestRunWorker(pmRoot, runId, noExtensions = false) {
|
|
597
|
-
const loaded = await readBackgroundTestRunRecord(pmRoot, runId);
|
|
598
|
-
if (!loaded) {
|
|
599
|
-
throw new PmCliError(`Background test run ${runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
600
|
-
}
|
|
601
|
-
const record = {
|
|
602
|
-
...loaded,
|
|
603
|
-
status: "running",
|
|
604
|
-
started_at: loaded.started_at ?? nowIso(),
|
|
605
|
-
worker_pid: process.pid,
|
|
606
|
-
progress: {
|
|
607
|
-
phase: "running",
|
|
608
|
-
message: "Worker started.",
|
|
609
|
-
heartbeat_at: nowIso()
|
|
610
|
-
}
|
|
611
|
-
};
|
|
612
|
-
const cliEntry = await resolveBackgroundCliEntry(process.cwd());
|
|
613
|
-
const env = buildBackgroundWorkerEnv(record);
|
|
614
|
-
await writeBackgroundRunRecord(pmRoot, record);
|
|
615
|
-
const childArgs = buildBackgroundWorkerChildArgs(record, noExtensions);
|
|
616
|
-
const child = spawn(process.execPath, [cliEntry, ...childArgs], {
|
|
617
|
-
cwd: process.cwd(),
|
|
618
|
-
env,
|
|
619
|
-
detached: false,
|
|
620
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
621
|
-
windowsHide: true
|
|
622
|
-
});
|
|
623
|
-
record.child_pid = child.pid;
|
|
624
|
-
const recordWriteScheduler = createBackgroundRunRecordWriteScheduler(pmRoot, record);
|
|
625
|
-
const scheduleRecordWrite = recordWriteScheduler.schedule;
|
|
626
|
-
let stdoutWriteQueue = Promise.resolve();
|
|
627
|
-
let stderrWriteQueue = Promise.resolve();
|
|
628
|
-
let stdoutBuffer = "";
|
|
629
|
-
let stderrBuffer = "";
|
|
630
|
-
const stopState = { stopRequested: false };
|
|
631
|
-
const onSignal = () => {
|
|
632
|
-
void requestBackgroundWorkerStop(record, child, stopState, scheduleRecordWrite);
|
|
633
|
-
};
|
|
634
|
-
process.on("SIGTERM", onSignal);
|
|
635
|
-
process.on("SIGINT", onSignal);
|
|
636
|
-
const resourceTimer = setInterval(() => {
|
|
637
|
-
void (async () => {
|
|
638
|
-
record.resource = await buildResourceSnapshot(record);
|
|
639
|
-
record.progress.heartbeat_at = nowIso();
|
|
640
|
-
scheduleRecordWrite();
|
|
641
|
-
})();
|
|
642
|
-
}, resolvePositiveEnvInteger("PM_BACKGROUND_RUN_RESOURCE_INTERVAL_MS", DEFAULT_BACKGROUND_RUN_RESOURCE_SNAPSHOT_INTERVAL_MS));
|
|
643
|
-
resourceTimer.unref?.();
|
|
644
|
-
child.stdout?.on("data", (chunk) => {
|
|
645
|
-
const text = chunk.toString("utf8");
|
|
646
|
-
stdoutBuffer += text;
|
|
647
|
-
stdoutWriteQueue = appendFileOrdered(stdoutWriteQueue, record.stdout_path, text);
|
|
648
|
-
});
|
|
649
|
-
child.stderr?.on("data", (chunk) => {
|
|
650
|
-
const text = chunk.toString("utf8");
|
|
651
|
-
stderrWriteQueue = appendFileOrdered(stderrWriteQueue, record.stderr_path, text);
|
|
652
|
-
stderrBuffer += text;
|
|
653
|
-
const parts = stderrBuffer.split(/\r?\n/);
|
|
654
|
-
stderrBuffer = parts.pop();
|
|
655
|
-
let progressChanged = false;
|
|
656
|
-
for (const part of parts) {
|
|
657
|
-
const line = part.trimEnd();
|
|
658
|
-
if (line.length > 0 && applyBackgroundWorkerProgressLine(record, line, stopState.stopRequested)) {
|
|
659
|
-
progressChanged = true;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
if (progressChanged) {
|
|
663
|
-
scheduleRecordWrite();
|
|
664
|
-
}
|
|
665
|
-
});
|
|
666
|
-
let exitCode = null;
|
|
667
|
-
let signal = null;
|
|
668
|
-
try {
|
|
669
|
-
({ code: exitCode, signal } = await new Promise((resolve) => {
|
|
670
|
-
child.on("close", (code, closeSignal) => {
|
|
671
|
-
resolve({ code, signal: closeSignal });
|
|
672
|
-
});
|
|
673
|
-
}));
|
|
674
|
-
} finally {
|
|
675
|
-
clearInterval(resourceTimer);
|
|
676
|
-
process.off("SIGTERM", onSignal);
|
|
677
|
-
process.off("SIGINT", onSignal);
|
|
678
|
-
}
|
|
679
|
-
await stdoutWriteQueue;
|
|
680
|
-
await stderrWriteQueue;
|
|
681
|
-
const trailingStderrLine = stderrBuffer.trimEnd();
|
|
682
|
-
if (trailingStderrLine.length > 0 && applyBackgroundWorkerProgressLine(record, trailingStderrLine, stopState.stopRequested)) {
|
|
683
|
-
scheduleRecordWrite();
|
|
684
|
-
}
|
|
685
|
-
stderrBuffer = "";
|
|
686
|
-
const parsedResult = parseBackgroundWorkerStdout(stdoutBuffer);
|
|
687
|
-
const evaluated = evaluateWorkerResult(record.kind, parsedResult);
|
|
688
|
-
record.summary = evaluated.summary;
|
|
689
|
-
record.exit_code = typeof exitCode === "number" ? exitCode : void 0;
|
|
690
|
-
record.signal = signal ?? void 0;
|
|
691
|
-
record.finished_at = nowIso();
|
|
692
|
-
record.status = resolveBackgroundWorkerFinalStatus(record, stopState.stopRequested);
|
|
693
|
-
record.progress = buildFinishedBackgroundProgress(record, stopState.stopRequested);
|
|
694
|
-
record.resource = await buildResourceSnapshot(record);
|
|
695
|
-
await writeBackgroundWorkerResult(record, parsedResult, stdoutBuffer);
|
|
696
|
-
await writeBackgroundRunRecord(pmRoot, record);
|
|
697
|
-
await recordWriteScheduler.flush();
|
|
698
|
-
return record;
|
|
699
|
-
}
|
|
700
|
-
async function listBackgroundTestRuns(pmRoot, options) {
|
|
701
|
-
const recordPaths = await listBackgroundRunRecordPaths(pmRoot);
|
|
702
|
-
const runs = [];
|
|
703
|
-
for (const recordPath of recordPaths) {
|
|
704
|
-
const raw = await readFileIfExists(recordPath);
|
|
705
|
-
if (!raw) {
|
|
706
|
-
continue;
|
|
707
|
-
}
|
|
708
|
-
const parsed = await parseBackgroundRunRecord(raw, recordPath);
|
|
709
|
-
runs.push(parsed);
|
|
710
|
-
}
|
|
711
|
-
const refreshed = [];
|
|
712
|
-
for (const run of runs) {
|
|
713
|
-
refreshed.push(await refreshRunIfStale(pmRoot, run));
|
|
714
|
-
}
|
|
715
|
-
const filtered = options.status ? refreshed.filter((entry) => entry.status === options.status) : refreshed;
|
|
716
|
-
const sorted = filtered.sort((left, right) => {
|
|
717
|
-
const byUpdated = Date.parse(right.updated_at) - Date.parse(left.updated_at);
|
|
718
|
-
if (Number.isFinite(byUpdated) && byUpdated !== 0) {
|
|
719
|
-
return byUpdated;
|
|
720
|
-
}
|
|
721
|
-
return right.id.localeCompare(left.id);
|
|
722
|
-
});
|
|
723
|
-
const limit = typeof options.limit === "number" && options.limit >= 0 ? options.limit : void 0;
|
|
724
|
-
return limit === void 0 ? sorted : sorted.slice(0, limit);
|
|
725
|
-
}
|
|
726
|
-
async function getBackgroundTestRunStatus(pmRoot, runId) {
|
|
727
|
-
const loaded = await readBackgroundTestRunRecord(pmRoot, runId);
|
|
728
|
-
if (!loaded) {
|
|
729
|
-
throw new PmCliError(`Background test run ${runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
730
|
-
}
|
|
731
|
-
const refreshed = await refreshRunIfStale(pmRoot, loaded);
|
|
732
|
-
const workerAlive = isPidRunning(refreshed.worker_pid);
|
|
733
|
-
const childAlive = isPidRunning(refreshed.child_pid);
|
|
734
|
-
if (refreshed.status === "running" && !childAlive && !refreshed.finished_at && !workerAlive) {
|
|
735
|
-
refreshed.status = "failed";
|
|
736
|
-
refreshed.finished_at = nowIso();
|
|
737
|
-
refreshed.error = refreshed.error ?? "Background run process exited unexpectedly.";
|
|
738
|
-
await writeBackgroundRunRecord(pmRoot, refreshed);
|
|
739
|
-
}
|
|
740
|
-
if (refreshed.status === "running") {
|
|
741
|
-
refreshed.resource = await buildResourceSnapshot(refreshed);
|
|
742
|
-
await writeBackgroundRunRecord(pmRoot, refreshed);
|
|
743
|
-
}
|
|
744
|
-
const heartbeatAt = refreshed.progress?.heartbeat_at;
|
|
745
|
-
const heartbeatAtMs = heartbeatAt ? Date.parse(heartbeatAt) : Number.NaN;
|
|
746
|
-
const lagMs = Number.isFinite(heartbeatAtMs) ? Math.max(0, nowMs() - heartbeatAtMs) : void 0;
|
|
747
|
-
const staleMs = Number.parseInt(process.env.PM_BACKGROUND_RUN_HEARTBEAT_STALE_MS ?? "", 10);
|
|
748
|
-
const staleThresholdMs = Number.isFinite(staleMs) && staleMs > 0 ? staleMs : DEFAULT_BACKGROUND_RUN_HEARTBEAT_STALE_MS;
|
|
749
|
-
const healthState = refreshed.status === "running" ? lagMs !== void 0 && lagMs > staleThresholdMs ? "stale" : "healthy" : "inactive";
|
|
750
|
-
return {
|
|
751
|
-
run: refreshed,
|
|
752
|
-
health: {
|
|
753
|
-
state: healthState,
|
|
754
|
-
last_heartbeat_at: heartbeatAt,
|
|
755
|
-
heartbeat_lag_ms: lagMs,
|
|
756
|
-
worker_alive: workerAlive,
|
|
757
|
-
child_alive: childAlive
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
|
-
}
|
|
761
|
-
function sendBackgroundRunStopSignal(record, force) {
|
|
762
|
-
const signal = force ? "SIGKILL" : "SIGTERM";
|
|
763
|
-
if (!isPidRunning(record.worker_pid) || !record.worker_pid) {
|
|
764
|
-
return "none";
|
|
765
|
-
}
|
|
766
|
-
try {
|
|
767
|
-
process.kill(record.worker_pid, signal);
|
|
768
|
-
return signal;
|
|
769
|
-
} catch {
|
|
770
|
-
return "none";
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
function buildStoppingBackgroundProgress(record, signalSent) {
|
|
774
|
-
return {
|
|
775
|
-
phase: "stopping",
|
|
776
|
-
message: signalSent === "none" ? "Run marked stopped." : `Stop requested via ${signalSent}.`,
|
|
777
|
-
heartbeat_at: nowIso(),
|
|
778
|
-
item_index: record.progress?.item_index,
|
|
779
|
-
item_total: record.progress?.item_total,
|
|
780
|
-
item_id: record.progress?.item_id,
|
|
781
|
-
linked_test_index: record.progress?.linked_test_index,
|
|
782
|
-
linked_test_total: record.progress?.linked_test_total,
|
|
783
|
-
current_command: record.progress?.current_command,
|
|
784
|
-
elapsed_ms: record.progress?.elapsed_ms
|
|
785
|
-
};
|
|
786
|
-
}
|
|
787
|
-
async function stopBackgroundTestRun(pmRoot, runId, force = false) {
|
|
788
|
-
const loaded = await readBackgroundTestRunRecord(pmRoot, runId);
|
|
789
|
-
if (!loaded) {
|
|
790
|
-
throw new PmCliError(`Background test run ${runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
791
|
-
}
|
|
792
|
-
const refreshed = await refreshRunIfStale(pmRoot, loaded);
|
|
793
|
-
if (BACKGROUND_RUN_TERMINAL_STATUSES.has(refreshed.status)) {
|
|
794
|
-
return {
|
|
795
|
-
run: refreshed,
|
|
796
|
-
signal_sent: "none"
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
const signalSent = sendBackgroundRunStopSignal(refreshed, force);
|
|
800
|
-
if (signalSent === "none") {
|
|
801
|
-
refreshed.status = "stopped";
|
|
802
|
-
refreshed.finished_at = refreshed.finished_at ?? nowIso();
|
|
803
|
-
}
|
|
804
|
-
refreshed.stop_requested_at = nowIso();
|
|
805
|
-
refreshed.progress = buildStoppingBackgroundProgress(refreshed, signalSent);
|
|
806
|
-
await writeBackgroundRunRecord(pmRoot, refreshed);
|
|
807
|
-
return {
|
|
808
|
-
run: refreshed,
|
|
809
|
-
signal_sent: signalSent
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
async function resumeBackgroundTestRun(pmRoot, runId, requestedBy, noExtensions = false) {
|
|
813
|
-
const loaded = await readBackgroundTestRunRecord(pmRoot, runId);
|
|
814
|
-
if (!loaded) {
|
|
815
|
-
throw new PmCliError(`Background test run ${runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
816
|
-
}
|
|
817
|
-
const refreshed = await refreshRunIfStale(pmRoot, loaded);
|
|
818
|
-
if (!BACKGROUND_RUN_TERMINAL_STATUSES.has(refreshed.status)) {
|
|
819
|
-
throw new PmCliError(`Background test run ${runId} is not terminal and cannot be resumed.`, EXIT_CODE.CONFLICT);
|
|
820
|
-
}
|
|
821
|
-
const started = await startBackgroundTestRun({
|
|
822
|
-
pmRoot: refreshed.pm_root,
|
|
823
|
-
globalPmRoot: refreshed.global_pm_root,
|
|
824
|
-
kind: refreshed.kind,
|
|
825
|
-
commandArgs: refreshed.command_args,
|
|
826
|
-
requestedBy,
|
|
827
|
-
targetId: refreshed.target_id,
|
|
828
|
-
statusFilter: refreshed.status_filter,
|
|
829
|
-
resumedFrom: refreshed.id,
|
|
830
|
-
resumedBy: requestedBy,
|
|
831
|
-
attempt: refreshed.attempt + 1
|
|
832
|
-
});
|
|
833
|
-
if (!started.started) {
|
|
834
|
-
return started.run;
|
|
835
|
-
}
|
|
836
|
-
const spawned = await spawnBackgroundTestRunWorker({
|
|
837
|
-
pmRoot,
|
|
838
|
-
runId: started.run.id,
|
|
839
|
-
noExtensions
|
|
840
|
-
});
|
|
841
|
-
const prior = {
|
|
842
|
-
...refreshed,
|
|
843
|
-
resumed_by: spawned.id
|
|
844
|
-
};
|
|
845
|
-
await writeBackgroundRunRecord(pmRoot, prior);
|
|
846
|
-
return spawned;
|
|
847
|
-
}
|
|
848
|
-
async function readBackgroundTestRunLogs(pmRoot, runId, stream, tail) {
|
|
849
|
-
const loaded = await readBackgroundTestRunRecord(pmRoot, runId);
|
|
850
|
-
if (!loaded) {
|
|
851
|
-
throw new PmCliError(`Background test run ${runId} not found`, EXIT_CODE.NOT_FOUND);
|
|
852
|
-
}
|
|
853
|
-
const resolvedTail = typeof tail === "number" && Number.isFinite(tail) && tail >= 0 ? Math.floor(tail) : DEFAULT_BACKGROUND_RUN_LOG_TAIL_LINES;
|
|
854
|
-
const stdoutRaw = stream === "stdout" || stream === "both" ? await readFileIfExists(loaded.stdout_path) ?? "" : "";
|
|
855
|
-
const stderrRaw = stream === "stderr" || stream === "both" ? await readFileIfExists(loaded.stderr_path) ?? "" : "";
|
|
856
|
-
return {
|
|
857
|
-
run: loaded,
|
|
858
|
-
stream,
|
|
859
|
-
tail: resolvedTail,
|
|
860
|
-
stdout: stream === "stdout" || stream === "both" ? tailLines(stdoutRaw, resolvedTail) : [],
|
|
861
|
-
stderr: stream === "stderr" || stream === "both" ? tailLines(stderrRaw, resolvedTail) : []
|
|
862
|
-
};
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
// dist/cli/commands/test-runs.js
|
|
866
|
-
!(function() {
|
|
867
|
-
try {
|
|
868
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
869
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6fc484d6-7f46-535e-a938-af333d42bb4f");
|
|
870
|
-
} catch (e2) {
|
|
871
|
-
}
|
|
872
|
-
})();
|
|
873
|
-
var BACKGROUND_STATUS_VALUES = ["queued", "running", "passed", "failed", "stopped", "canceled"];
|
|
874
|
-
var BACKGROUND_STREAM_VALUES = ["stdout", "stderr", "both"];
|
|
875
|
-
function normalizeStatus(value) {
|
|
876
|
-
if (value === void 0) {
|
|
877
|
-
return void 0;
|
|
878
|
-
}
|
|
879
|
-
const normalized = value.trim().toLowerCase();
|
|
880
|
-
if (BACKGROUND_STATUS_VALUES.includes(normalized)) {
|
|
881
|
-
return normalized;
|
|
882
|
-
}
|
|
883
|
-
throw new PmCliError(`Invalid --status value "${value}"`, EXIT_CODE.USAGE);
|
|
884
|
-
}
|
|
885
|
-
function normalizeStream(value) {
|
|
886
|
-
if (value === void 0 || value.trim().length === 0) {
|
|
887
|
-
return "stderr";
|
|
888
|
-
}
|
|
889
|
-
const normalized = value.trim().toLowerCase();
|
|
890
|
-
if (BACKGROUND_STREAM_VALUES.includes(normalized)) {
|
|
891
|
-
return normalized;
|
|
892
|
-
}
|
|
893
|
-
throw new PmCliError(`Invalid --stream value "${value}"`, EXIT_CODE.USAGE);
|
|
894
|
-
}
|
|
895
|
-
function resolveWhoamiFallback() {
|
|
896
|
-
try {
|
|
897
|
-
const username = os.userInfo().username.trim();
|
|
898
|
-
if (username.length > 0) {
|
|
899
|
-
return username;
|
|
900
|
-
}
|
|
901
|
-
} catch {
|
|
902
|
-
}
|
|
903
|
-
return void 0;
|
|
904
|
-
}
|
|
905
|
-
function resolveRequestedBy(author, fallback) {
|
|
906
|
-
const candidates = [
|
|
907
|
-
author,
|
|
908
|
-
process.env.PM_AUTHOR,
|
|
909
|
-
fallback,
|
|
910
|
-
process.env.USER,
|
|
911
|
-
process.env.LOGNAME,
|
|
912
|
-
process.env.USERNAME,
|
|
913
|
-
resolveWhoamiFallback()
|
|
914
|
-
];
|
|
915
|
-
for (const candidate of candidates) {
|
|
916
|
-
if (typeof candidate !== "string") {
|
|
917
|
-
continue;
|
|
918
|
-
}
|
|
919
|
-
const trimmed = candidate.trim();
|
|
920
|
-
if (trimmed.length > 0) {
|
|
921
|
-
return trimmed;
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
return "unknown";
|
|
925
|
-
}
|
|
926
|
-
async function ensureInitialized(pmRoot) {
|
|
927
|
-
if (!await pathExists(getSettingsPath(pmRoot))) {
|
|
928
|
-
throw new PmCliError(`Tracker is not initialized at ${pmRoot}. Run pm init first.`, EXIT_CODE.NOT_FOUND);
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
async function runStartBackgroundRun(options, global2) {
|
|
932
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
933
|
-
const globalPmRoot = resolveGlobalPmRoot(process.cwd());
|
|
934
|
-
await ensureInitialized(pmRoot);
|
|
935
|
-
const settings = await readSettings(pmRoot);
|
|
936
|
-
const requestedBy = resolveRequestedBy(options.author, settings.author_default);
|
|
937
|
-
const started = await startBackgroundTestRun({
|
|
938
|
-
pmRoot,
|
|
939
|
-
globalPmRoot,
|
|
940
|
-
kind: options.kind,
|
|
941
|
-
commandArgs: options.commandArgs,
|
|
942
|
-
requestedBy,
|
|
943
|
-
targetId: options.targetId,
|
|
944
|
-
statusFilter: options.statusFilter
|
|
945
|
-
});
|
|
946
|
-
if (!started.started) {
|
|
947
|
-
return {
|
|
948
|
-
started: false,
|
|
949
|
-
duplicate_of: started.duplicate_of,
|
|
950
|
-
run: started.run
|
|
951
|
-
};
|
|
952
|
-
}
|
|
953
|
-
const spawned = await spawnBackgroundTestRunWorker({
|
|
954
|
-
pmRoot,
|
|
955
|
-
runId: started.run.id,
|
|
956
|
-
noExtensions: options.noExtensions === true
|
|
957
|
-
});
|
|
958
|
-
return {
|
|
959
|
-
started: true,
|
|
960
|
-
run: spawned
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
async function runTestRunsList(options, global2) {
|
|
964
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
965
|
-
await ensureInitialized(pmRoot);
|
|
966
|
-
const status = normalizeStatus(options.status);
|
|
967
|
-
const limit = parseLimit(options.limit, "limit");
|
|
968
|
-
const runs = await listBackgroundTestRuns(pmRoot, { status, limit });
|
|
969
|
-
return {
|
|
970
|
-
runs,
|
|
971
|
-
count: runs.length,
|
|
972
|
-
filters: {
|
|
973
|
-
status,
|
|
974
|
-
limit
|
|
975
|
-
}
|
|
976
|
-
};
|
|
977
|
-
}
|
|
978
|
-
async function runTestRunsStatus(runId, global2) {
|
|
979
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
980
|
-
await ensureInitialized(pmRoot);
|
|
981
|
-
const status = await getBackgroundTestRunStatus(pmRoot, runId);
|
|
982
|
-
return {
|
|
983
|
-
run: status.run,
|
|
984
|
-
health: status.health
|
|
985
|
-
};
|
|
986
|
-
}
|
|
987
|
-
async function runTestRunsLogs(runId, options, global2) {
|
|
988
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
989
|
-
await ensureInitialized(pmRoot);
|
|
990
|
-
const stream = normalizeStream(options.stream);
|
|
991
|
-
const tail = parseLimit(options.tail, "tail");
|
|
992
|
-
const logs = await readBackgroundTestRunLogs(pmRoot, runId, stream, tail);
|
|
993
|
-
return {
|
|
994
|
-
run: logs.run,
|
|
995
|
-
stream: logs.stream,
|
|
996
|
-
tail: logs.tail,
|
|
997
|
-
stdout: logs.stdout,
|
|
998
|
-
stderr: logs.stderr
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
async function runTestRunsStop(runId, options, global2) {
|
|
1002
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
1003
|
-
await ensureInitialized(pmRoot);
|
|
1004
|
-
const stopped = await stopBackgroundTestRun(pmRoot, runId, options.force === true);
|
|
1005
|
-
return {
|
|
1006
|
-
run: stopped.run,
|
|
1007
|
-
signal_sent: stopped.signal_sent
|
|
1008
|
-
};
|
|
1009
|
-
}
|
|
1010
|
-
async function runTestRunsResume(runId, options, global2) {
|
|
1011
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
1012
|
-
await ensureInitialized(pmRoot);
|
|
1013
|
-
const settings = await readSettings(pmRoot);
|
|
1014
|
-
const requestedBy = resolveRequestedBy(options.author, settings.author_default);
|
|
1015
|
-
const resumed = await resumeBackgroundTestRun(pmRoot, runId, requestedBy, options.noExtensions === true);
|
|
1016
|
-
return {
|
|
1017
|
-
resumed_from: runId,
|
|
1018
|
-
run: resumed
|
|
1019
|
-
};
|
|
1020
|
-
}
|
|
1021
|
-
async function runTestRunsWorker(runId, global2) {
|
|
1022
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
1023
|
-
await ensureInitialized(pmRoot);
|
|
1024
|
-
const finished = await runBackgroundTestRunWorker(pmRoot, runId, global2.noExtensions === true);
|
|
1025
|
-
return {
|
|
1026
|
-
id: finished.id,
|
|
1027
|
-
status: finished.status,
|
|
1028
|
-
exit_code: finished.exit_code
|
|
1029
|
-
};
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
export {
|
|
1033
|
-
runStartBackgroundRun,
|
|
1034
|
-
runTestRunsList,
|
|
1035
|
-
runTestRunsStatus,
|
|
1036
|
-
runTestRunsLogs,
|
|
1037
|
-
runTestRunsStop,
|
|
1038
|
-
runTestRunsResume,
|
|
1039
|
-
runTestRunsWorker
|
|
1040
|
-
};
|
|
1041
|
-
//# sourceMappingURL=chunk-N7X4WP6L.js.map
|