@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,1152 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runActivity
|
|
3
|
-
} from "./chunk-KLG4ZULO.js";
|
|
4
|
-
import {
|
|
5
|
-
runCalendar
|
|
6
|
-
} from "./chunk-OBA2WH65.js";
|
|
7
|
-
import {
|
|
8
|
-
runList
|
|
9
|
-
} from "./chunk-7EQNAZX2.js";
|
|
10
|
-
import {
|
|
11
|
-
parseIntegerLimit
|
|
12
|
-
} from "./chunk-EEY54JMF.js";
|
|
13
|
-
import {
|
|
14
|
-
isTerminalStatus,
|
|
15
|
-
normalizeStatusForRegistry,
|
|
16
|
-
normalizeStatusInput
|
|
17
|
-
} from "./chunk-EZFKWSC7.js";
|
|
18
|
-
import {
|
|
19
|
-
compareTimestampStrings
|
|
20
|
-
} from "./chunk-DRBV5UC2.js";
|
|
21
|
-
import {
|
|
22
|
-
PmCliError,
|
|
23
|
-
readSettings
|
|
24
|
-
} from "./chunk-P5YORJRH.js";
|
|
25
|
-
import {
|
|
26
|
-
CONTEXT_DEPTH_VALUES,
|
|
27
|
-
CONTEXT_SECTION_VALUES,
|
|
28
|
-
EXIT_CODE,
|
|
29
|
-
SETTINGS_DEFAULTS,
|
|
30
|
-
resolvePmRoot,
|
|
31
|
-
resolveRuntimeStatusRegistry
|
|
32
|
-
} from "./chunk-5VVUKE3U.js";
|
|
33
|
-
|
|
34
|
-
// dist/cli/commands/context.js
|
|
35
|
-
!(function() {
|
|
36
|
-
try {
|
|
37
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
38
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f244506b-038b-5a3d-8184-f0b73e30f300");
|
|
39
|
-
} catch (e2) {
|
|
40
|
-
}
|
|
41
|
-
})();
|
|
42
|
-
var CONTEXT_OUTPUT_VALUES = ["markdown", "toon", "json"];
|
|
43
|
-
var HIGH_LEVEL_TYPES = /* @__PURE__ */ new Set(["Epic", "Feature"]);
|
|
44
|
-
var DEFAULT_CONTEXT_LIMIT = 10;
|
|
45
|
-
var STANDARD_SECTIONS = ["hierarchy", "activity", "progress", "recently_created", "unparented", "workload"];
|
|
46
|
-
var DEEP_SECTIONS = [
|
|
47
|
-
...STANDARD_SECTIONS,
|
|
48
|
-
"blockers",
|
|
49
|
-
"files",
|
|
50
|
-
"staleness",
|
|
51
|
-
"tests"
|
|
52
|
-
];
|
|
53
|
-
var LEADING_HYPHEN_DATE = /^(\d{4})-(\d{2})-(\d{2})/;
|
|
54
|
-
var LEADING_COMPACT_DATE = /^(\d{4})(\d{2})(\d{2})(?:[T ]?\d{2}|$)/;
|
|
55
|
-
var COMPACT_DATE = /^(\d{4})(\d{2})(\d{2})$/;
|
|
56
|
-
var COMPACT_DATETIME = /^(\d{4})(\d{2})(\d{2})(?:[T\s]?)(\d{2})(\d{2})(\d{2})?(Z|[+-]\d{2}:?\d{2})?$/i;
|
|
57
|
-
function parseOutputFormat(raw) {
|
|
58
|
-
if (!raw)
|
|
59
|
-
return void 0;
|
|
60
|
-
const normalized = raw.trim().toLowerCase();
|
|
61
|
-
if (!CONTEXT_OUTPUT_VALUES.includes(normalized)) {
|
|
62
|
-
throw new PmCliError("Context format must be one of markdown|toon|json", EXIT_CODE.USAGE);
|
|
63
|
-
}
|
|
64
|
-
return normalized;
|
|
65
|
-
}
|
|
66
|
-
var FOCUS_PROJECTION_FIELDS = /* @__PURE__ */ new Set([
|
|
67
|
-
"id",
|
|
68
|
-
"title",
|
|
69
|
-
"type",
|
|
70
|
-
"status",
|
|
71
|
-
"priority",
|
|
72
|
-
"order",
|
|
73
|
-
"deadline",
|
|
74
|
-
"assignee",
|
|
75
|
-
"tags",
|
|
76
|
-
"updated_at",
|
|
77
|
-
"parent",
|
|
78
|
-
"children_total",
|
|
79
|
-
"children_closed",
|
|
80
|
-
"completion_pct",
|
|
81
|
-
"created_at"
|
|
82
|
-
]);
|
|
83
|
-
function parseContextFocusFields(raw) {
|
|
84
|
-
if (raw === void 0)
|
|
85
|
-
return void 0;
|
|
86
|
-
const fields = [];
|
|
87
|
-
for (const token of raw.split(",")) {
|
|
88
|
-
const normalized = token.trim().toLowerCase();
|
|
89
|
-
if (normalized.length === 0)
|
|
90
|
-
continue;
|
|
91
|
-
if (!FOCUS_PROJECTION_FIELDS.has(normalized)) {
|
|
92
|
-
throw new PmCliError(`Context --fields value not projectable: ${normalized} (valid: ${[...FOCUS_PROJECTION_FIELDS].join(", ")})`, EXIT_CODE.USAGE);
|
|
93
|
-
}
|
|
94
|
-
if (!fields.includes(normalized))
|
|
95
|
-
fields.push(normalized);
|
|
96
|
-
}
|
|
97
|
-
if (fields.length === 0) {
|
|
98
|
-
throw new PmCliError("Context --fields requires at least one field name", EXIT_CODE.USAGE);
|
|
99
|
-
}
|
|
100
|
-
return fields;
|
|
101
|
-
}
|
|
102
|
-
function projectContextFocusRows(rows, fields) {
|
|
103
|
-
return rows.map((row) => {
|
|
104
|
-
const projected = {};
|
|
105
|
-
const source = row;
|
|
106
|
-
for (const field of fields) {
|
|
107
|
-
projected[field] = source[field] ?? null;
|
|
108
|
-
}
|
|
109
|
-
return projected;
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
function resolveContextOutputFormat(options, global2) {
|
|
113
|
-
const commandFormat = parseOutputFormat(options.format);
|
|
114
|
-
if (global2.json && commandFormat && commandFormat !== "json") {
|
|
115
|
-
throw new PmCliError("Cannot combine --json with --format markdown|toon", EXIT_CODE.USAGE);
|
|
116
|
-
}
|
|
117
|
-
if (global2.json) {
|
|
118
|
-
return "json";
|
|
119
|
-
}
|
|
120
|
-
return commandFormat ?? "toon";
|
|
121
|
-
}
|
|
122
|
-
function parseContextLimit(raw, depth) {
|
|
123
|
-
return parseIntegerLimit(raw, "--limit") ?? (depth === "full" ? Number.MAX_SAFE_INTEGER : DEFAULT_CONTEXT_LIMIT);
|
|
124
|
-
}
|
|
125
|
-
function parseContextDepth(raw, settings) {
|
|
126
|
-
if (!raw)
|
|
127
|
-
return settings.default_depth;
|
|
128
|
-
const normalized = raw.trim().toLowerCase();
|
|
129
|
-
if (!CONTEXT_DEPTH_VALUES.includes(normalized)) {
|
|
130
|
-
throw new PmCliError(`Context --depth must be one of ${CONTEXT_DEPTH_VALUES.join("|")}`, EXIT_CODE.USAGE);
|
|
131
|
-
}
|
|
132
|
-
return normalized;
|
|
133
|
-
}
|
|
134
|
-
function parseContextSections(raw, depth, settings) {
|
|
135
|
-
if (raw && raw.length > 0) {
|
|
136
|
-
const sections = [];
|
|
137
|
-
for (const value of raw) {
|
|
138
|
-
const normalized = value.trim().toLowerCase();
|
|
139
|
-
if (!CONTEXT_SECTION_VALUES.includes(normalized)) {
|
|
140
|
-
throw new PmCliError(`Context --section must be one of ${CONTEXT_SECTION_VALUES.join("|")}`, EXIT_CODE.USAGE);
|
|
141
|
-
}
|
|
142
|
-
if (!sections.includes(normalized)) {
|
|
143
|
-
sections.push(normalized);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
return sections;
|
|
147
|
-
}
|
|
148
|
-
if (depth === "brief")
|
|
149
|
-
return [];
|
|
150
|
-
if (depth === "full")
|
|
151
|
-
return [...CONTEXT_SECTION_VALUES];
|
|
152
|
-
const pool = depth === "deep" ? DEEP_SECTIONS : STANDARD_SECTIONS;
|
|
153
|
-
return pool.filter((section) => settings.sections[section]);
|
|
154
|
-
}
|
|
155
|
-
function parseActivityLimit(raw, settings) {
|
|
156
|
-
if (!raw)
|
|
157
|
-
return settings.activity_limit;
|
|
158
|
-
const parsed = parseIntegerLimit(raw, "--activity-limit");
|
|
159
|
-
return parsed ?? settings.activity_limit;
|
|
160
|
-
}
|
|
161
|
-
function parseStaleThresholdDays(raw, settings) {
|
|
162
|
-
if (!raw)
|
|
163
|
-
return settings.stale_threshold_days;
|
|
164
|
-
const trimmed = raw.trim().toLowerCase();
|
|
165
|
-
const match = /^(\d+)d?$/.exec(trimmed);
|
|
166
|
-
if (!match) {
|
|
167
|
-
throw new PmCliError("--stale-threshold must be a number of days (e.g. 7 or 7d)", EXIT_CODE.USAGE);
|
|
168
|
-
}
|
|
169
|
-
const days = parseInt(match[1], 10);
|
|
170
|
-
if (days <= 0) {
|
|
171
|
-
throw new PmCliError("--stale-threshold must be positive", EXIT_CODE.USAGE);
|
|
172
|
-
}
|
|
173
|
-
return days;
|
|
174
|
-
}
|
|
175
|
-
function statusRank(status, statusRegistry) {
|
|
176
|
-
const normalizedStatus = normalizeStatusForRegistry(status, statusRegistry);
|
|
177
|
-
const inProgressStatus = normalizeStatusInput("in_progress", statusRegistry);
|
|
178
|
-
const openStatus = normalizeStatusInput("open", statusRegistry);
|
|
179
|
-
const blockedStatus = normalizeStatusInput("blocked", statusRegistry);
|
|
180
|
-
const draftStatus = normalizeStatusInput("draft", statusRegistry);
|
|
181
|
-
if (inProgressStatus && normalizedStatus === inProgressStatus)
|
|
182
|
-
return 0;
|
|
183
|
-
if (openStatus && normalizedStatus === openStatus)
|
|
184
|
-
return 1;
|
|
185
|
-
if (blockedStatus && normalizedStatus === blockedStatus)
|
|
186
|
-
return 2;
|
|
187
|
-
if (draftStatus && normalizedStatus === draftStatus)
|
|
188
|
-
return 3;
|
|
189
|
-
if (statusRegistry.active_statuses.has(normalizedStatus))
|
|
190
|
-
return 4;
|
|
191
|
-
if (statusRegistry.blocked_statuses.has(normalizedStatus))
|
|
192
|
-
return 5;
|
|
193
|
-
if (statusRegistry.terminal_statuses.has(normalizedStatus))
|
|
194
|
-
return 7;
|
|
195
|
-
return 6;
|
|
196
|
-
}
|
|
197
|
-
function isClosedStatus(status, statusRegistry) {
|
|
198
|
-
const closeStatus = normalizeStatusInput("closed", statusRegistry);
|
|
199
|
-
return normalizeStatusForRegistry(status, statusRegistry) === closeStatus;
|
|
200
|
-
}
|
|
201
|
-
function isInProgressStatus(status, statusRegistry) {
|
|
202
|
-
const inProgressStatus = normalizeStatusInput("in_progress", statusRegistry);
|
|
203
|
-
return normalizeStatusForRegistry(status, statusRegistry) === inProgressStatus;
|
|
204
|
-
}
|
|
205
|
-
function isOpenStatus(status, statusRegistry) {
|
|
206
|
-
const openStatus = normalizeStatusInput("open", statusRegistry);
|
|
207
|
-
return normalizeStatusForRegistry(status, statusRegistry) === openStatus;
|
|
208
|
-
}
|
|
209
|
-
function isBlockedStatus(status, statusRegistry) {
|
|
210
|
-
return statusRegistry.blocked_statuses.has(normalizeStatusForRegistry(status, statusRegistry));
|
|
211
|
-
}
|
|
212
|
-
var LIST_PROJECTION_FLAGS = ["compact", "brief", "fields", "includeBody", "include_body", "parent"];
|
|
213
|
-
function stripListProjectionFlags(options) {
|
|
214
|
-
const copy = { ...options };
|
|
215
|
-
for (const key of LIST_PROJECTION_FLAGS) {
|
|
216
|
-
delete copy[key];
|
|
217
|
-
}
|
|
218
|
-
return copy;
|
|
219
|
-
}
|
|
220
|
-
function collectSubtreeIds(corpus, parentId) {
|
|
221
|
-
const target = parentId.trim().toLowerCase();
|
|
222
|
-
const anchor = corpus.find((item) => item.id.trim().toLowerCase() === target);
|
|
223
|
-
if (!anchor) {
|
|
224
|
-
return { ids: /* @__PURE__ */ new Set(), found: false };
|
|
225
|
-
}
|
|
226
|
-
const childrenByParent = buildChildrenByParent(corpus);
|
|
227
|
-
const descendants = collectDescendants(anchor.id, childrenByParent);
|
|
228
|
-
const ids = new Set([anchor.id, ...descendants.map((item) => item.id)].map((id) => id.trim().toLowerCase()));
|
|
229
|
-
return { ids, found: true };
|
|
230
|
-
}
|
|
231
|
-
function parseContextParent(raw) {
|
|
232
|
-
if (raw === void 0)
|
|
233
|
-
return void 0;
|
|
234
|
-
const trimmed = raw.trim();
|
|
235
|
-
if (trimmed.length === 0) {
|
|
236
|
-
throw new PmCliError("Context --parent requires an item id", EXIT_CODE.USAGE);
|
|
237
|
-
}
|
|
238
|
-
return trimmed;
|
|
239
|
-
}
|
|
240
|
-
function compareOptionalOrder(left, right) {
|
|
241
|
-
const leftValue = left ?? null;
|
|
242
|
-
const rightValue = right ?? null;
|
|
243
|
-
if (leftValue === null && rightValue === null)
|
|
244
|
-
return 0;
|
|
245
|
-
if (leftValue === null)
|
|
246
|
-
return 1;
|
|
247
|
-
if (rightValue === null)
|
|
248
|
-
return -1;
|
|
249
|
-
return leftValue - rightValue;
|
|
250
|
-
}
|
|
251
|
-
function compareOptionalDeadline(left, right) {
|
|
252
|
-
const leftValue = left ?? null;
|
|
253
|
-
const rightValue = right ?? null;
|
|
254
|
-
if (leftValue === null && rightValue === null)
|
|
255
|
-
return 0;
|
|
256
|
-
if (leftValue === null)
|
|
257
|
-
return 1;
|
|
258
|
-
if (rightValue === null)
|
|
259
|
-
return -1;
|
|
260
|
-
return compareTimestampStrings(leftValue, rightValue);
|
|
261
|
-
}
|
|
262
|
-
function daysInUtcMonth(year, monthIndex) {
|
|
263
|
-
return new Date(Date.UTC(year, monthIndex + 1, 0)).getUTCDate();
|
|
264
|
-
}
|
|
265
|
-
function hasNoInvalidDatePrefix(value) {
|
|
266
|
-
const match = LEADING_HYPHEN_DATE.exec(value) ?? LEADING_COMPACT_DATE.exec(value);
|
|
267
|
-
if (!match) {
|
|
268
|
-
return true;
|
|
269
|
-
}
|
|
270
|
-
const year = Number.parseInt(match[1], 10);
|
|
271
|
-
const month = Number.parseInt(match[2], 10);
|
|
272
|
-
const day = Number.parseInt(match[3], 10);
|
|
273
|
-
return month >= 1 && month <= 12 && day >= 1 && day <= daysInUtcMonth(year, month - 1);
|
|
274
|
-
}
|
|
275
|
-
function normalizeTimestampCandidate(value) {
|
|
276
|
-
const compactDate = COMPACT_DATE.exec(value);
|
|
277
|
-
if (compactDate) {
|
|
278
|
-
return `${compactDate[1]}-${compactDate[2]}-${compactDate[3]}`;
|
|
279
|
-
}
|
|
280
|
-
const compactDateTime = COMPACT_DATETIME.exec(value);
|
|
281
|
-
if (compactDateTime) {
|
|
282
|
-
const [, year, month, day, hour, minute, secondRaw, offsetRaw] = compactDateTime;
|
|
283
|
-
const second = secondRaw ? `:${secondRaw}` : "";
|
|
284
|
-
const offset = offsetRaw && offsetRaw.length === 5 && offsetRaw !== "Z" ? `${offsetRaw.slice(0, 3)}:${offsetRaw.slice(3)}` : offsetRaw ?? "";
|
|
285
|
-
return `${year}-${month}-${day}T${hour}:${minute}${second}${offset}`;
|
|
286
|
-
}
|
|
287
|
-
return value;
|
|
288
|
-
}
|
|
289
|
-
function parseContextTimestampMs(value) {
|
|
290
|
-
if (typeof value !== "string") {
|
|
291
|
-
return Number.NaN;
|
|
292
|
-
}
|
|
293
|
-
const trimmed = value.trim();
|
|
294
|
-
if (trimmed.length === 0 || !hasNoInvalidDatePrefix(trimmed)) {
|
|
295
|
-
return Number.NaN;
|
|
296
|
-
}
|
|
297
|
-
const parsed = Date.parse(normalizeTimestampCandidate(trimmed));
|
|
298
|
-
return Number.isFinite(parsed) ? parsed : Number.NaN;
|
|
299
|
-
}
|
|
300
|
-
function sortableTimestamp(value) {
|
|
301
|
-
const parsed = parseContextTimestampMs(value);
|
|
302
|
-
return Number.isFinite(parsed) ? new Date(parsed).toISOString() : "";
|
|
303
|
-
}
|
|
304
|
-
function dateTokenForTimestamp(value) {
|
|
305
|
-
const parsed = parseContextTimestampMs(value);
|
|
306
|
-
return Number.isFinite(parsed) ? new Date(parsed).toISOString().slice(0, 10) : "unknown";
|
|
307
|
-
}
|
|
308
|
-
function normalizedParentId(value) {
|
|
309
|
-
if (typeof value !== "string") {
|
|
310
|
-
return null;
|
|
311
|
-
}
|
|
312
|
-
const trimmed = value.trim();
|
|
313
|
-
return trimmed.length > 0 ? trimmed : null;
|
|
314
|
-
}
|
|
315
|
-
function compareCriticalItems(left, right, statusRegistry) {
|
|
316
|
-
const byStatus = statusRank(left.status, statusRegistry) - statusRank(right.status, statusRegistry);
|
|
317
|
-
if (byStatus !== 0)
|
|
318
|
-
return byStatus;
|
|
319
|
-
const byPriority = left.priority - right.priority;
|
|
320
|
-
if (byPriority !== 0)
|
|
321
|
-
return byPriority;
|
|
322
|
-
const byOrder = compareOptionalOrder(left.order, right.order);
|
|
323
|
-
if (byOrder !== 0)
|
|
324
|
-
return byOrder;
|
|
325
|
-
const byDeadline = compareOptionalDeadline(left.deadline, right.deadline);
|
|
326
|
-
if (byDeadline !== 0)
|
|
327
|
-
return byDeadline;
|
|
328
|
-
const byUpdated = compareTimestampStrings(sortableTimestamp(right.updated_at), sortableTimestamp(left.updated_at));
|
|
329
|
-
const byId = left.id.localeCompare(right.id);
|
|
330
|
-
return byUpdated !== 0 ? byUpdated : byId;
|
|
331
|
-
}
|
|
332
|
-
function completionPct(closed, total) {
|
|
333
|
-
return total > 0 ? Math.round(closed / total * 100) : 0;
|
|
334
|
-
}
|
|
335
|
-
function buildChildrenByParent(allItems) {
|
|
336
|
-
const childrenByParent = /* @__PURE__ */ new Map();
|
|
337
|
-
for (const item of allItems) {
|
|
338
|
-
const parent = normalizedParentId(item.parent);
|
|
339
|
-
if (!parent)
|
|
340
|
-
continue;
|
|
341
|
-
const children = childrenByParent.get(parent) ?? [];
|
|
342
|
-
children.push(item);
|
|
343
|
-
childrenByParent.set(parent, children);
|
|
344
|
-
}
|
|
345
|
-
return childrenByParent;
|
|
346
|
-
}
|
|
347
|
-
function toContextFocusItem(item, statusRegistry, childrenByParent) {
|
|
348
|
-
const focus = {
|
|
349
|
-
id: item.id,
|
|
350
|
-
title: item.title,
|
|
351
|
-
type: item.type,
|
|
352
|
-
status: item.status,
|
|
353
|
-
priority: item.priority,
|
|
354
|
-
order: item.order ?? null,
|
|
355
|
-
deadline: item.deadline ?? null,
|
|
356
|
-
assignee: item.assignee ?? null,
|
|
357
|
-
tags: Array.isArray(item.tags) ? [...item.tags] : [],
|
|
358
|
-
updated_at: item.updated_at,
|
|
359
|
-
parent: normalizedParentId(item.parent)
|
|
360
|
-
};
|
|
361
|
-
if (statusRegistry && childrenByParent) {
|
|
362
|
-
const descendants = collectDescendants(item.id, childrenByParent);
|
|
363
|
-
const total = descendants.length;
|
|
364
|
-
if (total > 0) {
|
|
365
|
-
const closed = descendants.filter((desc) => isClosedStatus(desc.status, statusRegistry)).length;
|
|
366
|
-
focus.children_total = total;
|
|
367
|
-
focus.children_closed = closed;
|
|
368
|
-
focus.completion_pct = completionPct(closed, total);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
return focus;
|
|
372
|
-
}
|
|
373
|
-
function summarizeAgenda(events) {
|
|
374
|
-
let deadlines = 0;
|
|
375
|
-
let reminders = 0;
|
|
376
|
-
let scheduled = 0;
|
|
377
|
-
const itemIds = /* @__PURE__ */ new Set();
|
|
378
|
-
for (const event of events) {
|
|
379
|
-
itemIds.add(event.item_id);
|
|
380
|
-
if (event.kind === "deadline") {
|
|
381
|
-
deadlines += 1;
|
|
382
|
-
continue;
|
|
383
|
-
}
|
|
384
|
-
if (event.kind === "reminder") {
|
|
385
|
-
reminders += 1;
|
|
386
|
-
continue;
|
|
387
|
-
}
|
|
388
|
-
scheduled += 1;
|
|
389
|
-
}
|
|
390
|
-
return {
|
|
391
|
-
events: events.length,
|
|
392
|
-
items: itemIds.size,
|
|
393
|
-
deadlines,
|
|
394
|
-
reminders,
|
|
395
|
-
scheduled
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
function mergeSortedWarnings(...warningGroups) {
|
|
399
|
-
return [...new Set(warningGroups.flatMap((group) => group ?? []))].sort((left, right) => left.localeCompare(right));
|
|
400
|
-
}
|
|
401
|
-
function filterTerminalCalendarEvents(events, statusRegistry) {
|
|
402
|
-
return events.filter((event) => !statusRegistry.terminal_statuses.has(normalizeStatusForRegistry(event.item_status, statusRegistry)));
|
|
403
|
-
}
|
|
404
|
-
function buildHierarchy(allItems, activeItems, statusRegistry, limit) {
|
|
405
|
-
const itemMap = /* @__PURE__ */ new Map();
|
|
406
|
-
for (const item of allItems) {
|
|
407
|
-
itemMap.set(item.id, item);
|
|
408
|
-
}
|
|
409
|
-
const childrenByParent = buildChildrenByParent(allItems);
|
|
410
|
-
const activeHighLevelIds = new Set(activeItems.filter((item) => HIGH_LEVEL_TYPES.has(item.type)).map((item) => item.id));
|
|
411
|
-
const nodes = [];
|
|
412
|
-
for (const parentId of activeHighLevelIds) {
|
|
413
|
-
const parent = itemMap.get(parentId);
|
|
414
|
-
if (!parent)
|
|
415
|
-
continue;
|
|
416
|
-
const allDescendants = collectDescendants(parentId, childrenByParent);
|
|
417
|
-
const childItems = childrenByParent.get(parentId) ?? [];
|
|
418
|
-
let closedCount = 0;
|
|
419
|
-
let openCount = 0;
|
|
420
|
-
let inProgressCount = 0;
|
|
421
|
-
let blockedCount = 0;
|
|
422
|
-
for (const desc of allDescendants) {
|
|
423
|
-
if (isClosedStatus(desc.status, statusRegistry))
|
|
424
|
-
closedCount++;
|
|
425
|
-
else if (isInProgressStatus(desc.status, statusRegistry))
|
|
426
|
-
inProgressCount++;
|
|
427
|
-
else if (isBlockedStatus(desc.status, statusRegistry))
|
|
428
|
-
blockedCount++;
|
|
429
|
-
else if (isOpenStatus(desc.status, statusRegistry))
|
|
430
|
-
openCount++;
|
|
431
|
-
}
|
|
432
|
-
const children = childItems.sort((a, b) => compareCriticalItems(a, b, statusRegistry)).slice(0, limit).map((child) => {
|
|
433
|
-
const grandchildren = collectDescendants(child.id, childrenByParent);
|
|
434
|
-
const gcClosed = grandchildren.filter((gc) => isClosedStatus(gc.status, statusRegistry)).length;
|
|
435
|
-
return {
|
|
436
|
-
id: child.id,
|
|
437
|
-
title: child.title,
|
|
438
|
-
type: child.type,
|
|
439
|
-
status: child.status,
|
|
440
|
-
children_total: grandchildren.length,
|
|
441
|
-
children_closed: gcClosed
|
|
442
|
-
};
|
|
443
|
-
});
|
|
444
|
-
nodes.push({
|
|
445
|
-
id: parent.id,
|
|
446
|
-
title: parent.title,
|
|
447
|
-
type: parent.type,
|
|
448
|
-
status: parent.status,
|
|
449
|
-
children_total: allDescendants.length,
|
|
450
|
-
children_closed: closedCount,
|
|
451
|
-
children_open: openCount,
|
|
452
|
-
children_in_progress: inProgressCount,
|
|
453
|
-
children_blocked: blockedCount,
|
|
454
|
-
children
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
return nodes.sort((a, b) => {
|
|
458
|
-
const aParent = itemMap.get(a.id);
|
|
459
|
-
const bParent = itemMap.get(b.id);
|
|
460
|
-
return compareCriticalItems(aParent, bParent, statusRegistry);
|
|
461
|
-
}).slice(0, limit);
|
|
462
|
-
}
|
|
463
|
-
function collectDescendants(parentId, childrenByParent) {
|
|
464
|
-
const result = [];
|
|
465
|
-
const stack = [parentId];
|
|
466
|
-
const visited = /* @__PURE__ */ new Set();
|
|
467
|
-
while (stack.length > 0) {
|
|
468
|
-
const current = stack.pop();
|
|
469
|
-
if (visited.has(current))
|
|
470
|
-
continue;
|
|
471
|
-
visited.add(current);
|
|
472
|
-
const children = childrenByParent.get(current) ?? [];
|
|
473
|
-
for (const child of children) {
|
|
474
|
-
result.push(child);
|
|
475
|
-
stack.push(child.id);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
return result;
|
|
479
|
-
}
|
|
480
|
-
var _testOnly = {
|
|
481
|
-
buildActivity,
|
|
482
|
-
buildBlockers,
|
|
483
|
-
buildChildrenByParent,
|
|
484
|
-
buildHierarchy,
|
|
485
|
-
buildHotFiles,
|
|
486
|
-
buildProgress,
|
|
487
|
-
buildRecentlyCreated,
|
|
488
|
-
buildStaleness,
|
|
489
|
-
buildTestHealth,
|
|
490
|
-
buildUnparented,
|
|
491
|
-
buildWorkload,
|
|
492
|
-
collectDescendants,
|
|
493
|
-
collectSubtreeIds,
|
|
494
|
-
compareCriticalItems,
|
|
495
|
-
compareOptionalDeadline,
|
|
496
|
-
compareOptionalOrder,
|
|
497
|
-
completionPct,
|
|
498
|
-
dateTokenForTimestamp,
|
|
499
|
-
filterTerminalCalendarEvents,
|
|
500
|
-
isBlockedStatus,
|
|
501
|
-
isClosedStatus,
|
|
502
|
-
isInProgressStatus,
|
|
503
|
-
isOpenStatus,
|
|
504
|
-
mergeSortedWarnings,
|
|
505
|
-
normalizedParentId,
|
|
506
|
-
parseActivityLimit,
|
|
507
|
-
parseContextLimit,
|
|
508
|
-
parseContextParent,
|
|
509
|
-
parseContextTimestampMs,
|
|
510
|
-
parseStaleThresholdDays,
|
|
511
|
-
sortableTimestamp,
|
|
512
|
-
statusRank,
|
|
513
|
-
stripListProjectionFlags,
|
|
514
|
-
summarizeAgenda,
|
|
515
|
-
toContextFocusItem
|
|
516
|
-
};
|
|
517
|
-
async function buildActivity(activityLimit, global2) {
|
|
518
|
-
const result = await runActivity({ compact: true, limit: String(activityLimit) }, global2);
|
|
519
|
-
return result.compact_activity ?? [];
|
|
520
|
-
}
|
|
521
|
-
function buildProgress(allItems, activeItems, statusRegistry, limit) {
|
|
522
|
-
const childrenByParent = /* @__PURE__ */ new Map();
|
|
523
|
-
for (const item of allItems) {
|
|
524
|
-
if (!item.parent)
|
|
525
|
-
continue;
|
|
526
|
-
const children = childrenByParent.get(item.parent) ?? [];
|
|
527
|
-
children.push(item);
|
|
528
|
-
childrenByParent.set(item.parent, children);
|
|
529
|
-
}
|
|
530
|
-
const activeHighLevel = activeItems.filter((item) => HIGH_LEVEL_TYPES.has(item.type));
|
|
531
|
-
const entries = [];
|
|
532
|
-
for (const parent of activeHighLevel) {
|
|
533
|
-
const descendants = collectDescendants(parent.id, childrenByParent);
|
|
534
|
-
const total = descendants.length;
|
|
535
|
-
if (total === 0)
|
|
536
|
-
continue;
|
|
537
|
-
let closed = 0;
|
|
538
|
-
let open = 0;
|
|
539
|
-
let inProgress = 0;
|
|
540
|
-
let blocked = 0;
|
|
541
|
-
for (const desc of descendants) {
|
|
542
|
-
if (isClosedStatus(desc.status, statusRegistry))
|
|
543
|
-
closed++;
|
|
544
|
-
else if (isInProgressStatus(desc.status, statusRegistry))
|
|
545
|
-
inProgress++;
|
|
546
|
-
else if (isBlockedStatus(desc.status, statusRegistry))
|
|
547
|
-
blocked++;
|
|
548
|
-
else if (isOpenStatus(desc.status, statusRegistry))
|
|
549
|
-
open++;
|
|
550
|
-
}
|
|
551
|
-
entries.push({
|
|
552
|
-
id: parent.id,
|
|
553
|
-
title: parent.title,
|
|
554
|
-
type: parent.type,
|
|
555
|
-
total,
|
|
556
|
-
closed,
|
|
557
|
-
open,
|
|
558
|
-
in_progress: inProgress,
|
|
559
|
-
blocked,
|
|
560
|
-
completion_pct: completionPct(closed, total)
|
|
561
|
-
});
|
|
562
|
-
}
|
|
563
|
-
return entries.sort((a, b) => a.completion_pct - b.completion_pct).slice(0, limit);
|
|
564
|
-
}
|
|
565
|
-
function buildBlockers(blockedItems, itemMap, limit) {
|
|
566
|
-
return blockedItems.slice(0, limit).map((item) => {
|
|
567
|
-
const blockerItem = item.blocked_by ? itemMap.get(item.blocked_by) : void 0;
|
|
568
|
-
return {
|
|
569
|
-
id: item.id,
|
|
570
|
-
title: item.title,
|
|
571
|
-
blocked_by: item.blocked_by ?? null,
|
|
572
|
-
blocked_by_title: blockerItem?.title ?? null,
|
|
573
|
-
blocked_by_status: blockerItem?.status ?? null,
|
|
574
|
-
blocked_reason: item.blocked_reason ?? null,
|
|
575
|
-
unblock_note: item.unblock_note ?? null
|
|
576
|
-
};
|
|
577
|
-
});
|
|
578
|
-
}
|
|
579
|
-
function buildHotFiles(activeItems, limit) {
|
|
580
|
-
const fileMap = /* @__PURE__ */ new Map();
|
|
581
|
-
for (const item of activeItems) {
|
|
582
|
-
for (const file of item.files ?? []) {
|
|
583
|
-
const existing = fileMap.get(file.path) ?? /* @__PURE__ */ new Set();
|
|
584
|
-
existing.add(item.id);
|
|
585
|
-
fileMap.set(file.path, existing);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
return [...fileMap.entries()].map(([filePath, itemIds]) => ({
|
|
589
|
-
path: filePath,
|
|
590
|
-
references: itemIds.size,
|
|
591
|
-
items: [...itemIds].sort()
|
|
592
|
-
})).sort((a, b) => b.references - a.references).slice(0, limit);
|
|
593
|
-
}
|
|
594
|
-
function buildWorkload(activeItems, statusRegistry, limit) {
|
|
595
|
-
const groups = /* @__PURE__ */ new Map();
|
|
596
|
-
for (const item of activeItems) {
|
|
597
|
-
const key = item.assignee ?? null;
|
|
598
|
-
const existing = groups.get(key) ?? [];
|
|
599
|
-
existing.push(item);
|
|
600
|
-
groups.set(key, existing);
|
|
601
|
-
}
|
|
602
|
-
return [...groups.entries()].map(([assignee, items]) => ({
|
|
603
|
-
assignee,
|
|
604
|
-
active: items.length,
|
|
605
|
-
in_progress: items.filter((item) => isInProgressStatus(item.status, statusRegistry)).length,
|
|
606
|
-
items: items.map((item) => item.id).sort()
|
|
607
|
-
})).sort((a, b) => b.active - a.active).slice(0, limit);
|
|
608
|
-
}
|
|
609
|
-
function buildStaleness(allNonTerminal, staleThresholdDays, now, limit) {
|
|
610
|
-
const cutoffMs = new Date(now).getTime() - staleThresholdDays * 24 * 60 * 60 * 1e3;
|
|
611
|
-
return allNonTerminal.filter((item) => new Date(item.updated_at).getTime() < cutoffMs).map((item) => ({
|
|
612
|
-
id: item.id,
|
|
613
|
-
title: item.title,
|
|
614
|
-
status: item.status,
|
|
615
|
-
updated_at: item.updated_at,
|
|
616
|
-
stale_days: Math.floor((new Date(now).getTime() - new Date(item.updated_at).getTime()) / (24 * 60 * 60 * 1e3))
|
|
617
|
-
})).sort((a, b) => b.stale_days - a.stale_days).slice(0, limit);
|
|
618
|
-
}
|
|
619
|
-
function buildRecentlyCreated(allNonTerminal, statusRegistry, childrenByParent, limit) {
|
|
620
|
-
return allNonTerminal.map((item) => ({ item, sortKey: sortableTimestamp(item.created_at) })).sort((left, right) => {
|
|
621
|
-
const byCreated = compareTimestampStrings(right.sortKey, left.sortKey);
|
|
622
|
-
return byCreated !== 0 ? byCreated : left.item.id.localeCompare(right.item.id);
|
|
623
|
-
}).slice(0, limit).map(({ item }) => ({
|
|
624
|
-
...toContextFocusItem(item, statusRegistry, childrenByParent),
|
|
625
|
-
created_at: item.created_at
|
|
626
|
-
}));
|
|
627
|
-
}
|
|
628
|
-
function buildUnparented(allNonTerminal, statusRegistry, childrenByParent, limit) {
|
|
629
|
-
return allNonTerminal.filter((item) => !normalizedParentId(item.parent) && !HIGH_LEVEL_TYPES.has(item.type)).sort((left, right) => compareCriticalItems(left, right, statusRegistry)).slice(0, limit).map((item) => toContextFocusItem(item, statusRegistry, childrenByParent));
|
|
630
|
-
}
|
|
631
|
-
function buildTestHealth(activeItems) {
|
|
632
|
-
let itemsWithTests = 0;
|
|
633
|
-
let itemsWithRecentRuns = 0;
|
|
634
|
-
let passed = 0;
|
|
635
|
-
let failed = 0;
|
|
636
|
-
let skipped = 0;
|
|
637
|
-
const itemsFailing = [];
|
|
638
|
-
for (const item of activeItems) {
|
|
639
|
-
if ((item.tests ?? []).length > 0) {
|
|
640
|
-
itemsWithTests++;
|
|
641
|
-
}
|
|
642
|
-
const runs = item.test_runs ?? [];
|
|
643
|
-
if (runs.length > 0) {
|
|
644
|
-
itemsWithRecentRuns++;
|
|
645
|
-
let itemHasFailure = false;
|
|
646
|
-
for (const run of runs) {
|
|
647
|
-
passed += run.passed ?? 0;
|
|
648
|
-
failed += run.failed ?? 0;
|
|
649
|
-
skipped += run.skipped ?? 0;
|
|
650
|
-
if ((run.failed ?? 0) > 0) {
|
|
651
|
-
itemHasFailure = true;
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
if (itemHasFailure) {
|
|
655
|
-
itemsFailing.push(item.id);
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
return {
|
|
660
|
-
items_with_tests: itemsWithTests,
|
|
661
|
-
items_with_recent_runs: itemsWithRecentRuns,
|
|
662
|
-
recent_runs: { passed, failed, skipped },
|
|
663
|
-
items_failing: itemsFailing.sort()
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
function formatClock(timestamp) {
|
|
667
|
-
return `${new Date(timestamp).toISOString().slice(11, 16)}Z`;
|
|
668
|
-
}
|
|
669
|
-
function formatFocusLine(item) {
|
|
670
|
-
const orderToken = item.order === null ? "-" : String(item.order);
|
|
671
|
-
const deadlineToken = item.deadline ?? "-";
|
|
672
|
-
const parentToken = item.parent ? ` parent:${item.parent}` : "";
|
|
673
|
-
const progressToken = item.children_total !== void 0 && item.children_closed !== void 0 && item.completion_pct !== void 0 ? ` children:${item.children_closed}/${item.children_total} done:${item.completion_pct}%` : "";
|
|
674
|
-
return `${item.id} p${item.priority} ${item.status} ${item.type} order:${orderToken} deadline:${deadlineToken}${parentToken}${progressToken} ${item.title}`;
|
|
675
|
-
}
|
|
676
|
-
function formatProjectedFocusLine(item, fields) {
|
|
677
|
-
const source = item;
|
|
678
|
-
return fields.map((field) => {
|
|
679
|
-
const value = source[field];
|
|
680
|
-
if (Array.isArray(value))
|
|
681
|
-
return `${field}:${value.join(",")}`;
|
|
682
|
-
return `${field}:${value ?? "-"}`;
|
|
683
|
-
}).join(" ");
|
|
684
|
-
}
|
|
685
|
-
function formatAgendaLine(event) {
|
|
686
|
-
const base = `${formatClock(event.at)} [${event.kind}] ${event.item_id} p${event.item_priority} ${event.item_status} ${event.item_title}`;
|
|
687
|
-
if (event.kind === "reminder") {
|
|
688
|
-
return `${base} \u2014 ${event.reminder_text}`;
|
|
689
|
-
}
|
|
690
|
-
if (event.kind === "event") {
|
|
691
|
-
const recurringSuffix = event.event_recurring ? " (recurring)" : "";
|
|
692
|
-
const title = event.event_title ?? event.item_title;
|
|
693
|
-
return `${base} \u2014 ${title}${recurringSuffix}`;
|
|
694
|
-
}
|
|
695
|
-
return base;
|
|
696
|
-
}
|
|
697
|
-
function pushContextFocusSection(lines, title, rows, emptyText, renderFocus) {
|
|
698
|
-
lines.push(`## ${title}`);
|
|
699
|
-
if (rows.length === 0) {
|
|
700
|
-
lines.push(emptyText);
|
|
701
|
-
} else {
|
|
702
|
-
for (const item of rows) {
|
|
703
|
-
lines.push(`- ${renderFocus(item)}`);
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
lines.push("");
|
|
707
|
-
}
|
|
708
|
-
function pushBlockedFallbackSection(lines, result, renderFocus) {
|
|
709
|
-
if (result.blocked_fallback.length === 0) {
|
|
710
|
-
return;
|
|
711
|
-
}
|
|
712
|
-
lines.push("## Blocked fallback");
|
|
713
|
-
for (const item of result.blocked_fallback) {
|
|
714
|
-
lines.push(`- ${renderFocus(item)}`);
|
|
715
|
-
}
|
|
716
|
-
lines.push("");
|
|
717
|
-
}
|
|
718
|
-
function pushAgendaSection(lines, result) {
|
|
719
|
-
lines.push("## Agenda");
|
|
720
|
-
lines.push(`- events: ${result.agenda.summary.events} (deadlines: ${result.agenda.summary.deadlines}, reminders: ${result.agenda.summary.reminders}, scheduled: ${result.agenda.summary.scheduled})`);
|
|
721
|
-
if (result.agenda.events.length === 0) {
|
|
722
|
-
lines.push("No agenda events matched the selected filters.");
|
|
723
|
-
} else {
|
|
724
|
-
for (const event of result.agenda.events) {
|
|
725
|
-
lines.push(`- ${formatAgendaLine(event)}`);
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
lines.push("");
|
|
729
|
-
}
|
|
730
|
-
function pushHierarchySection(lines, result) {
|
|
731
|
-
if (!result.hierarchy || result.hierarchy.length === 0) {
|
|
732
|
-
return;
|
|
733
|
-
}
|
|
734
|
-
lines.push("## Hierarchy");
|
|
735
|
-
for (const node of result.hierarchy) {
|
|
736
|
-
const pct = node.children_total > 0 ? Math.round(node.children_closed / node.children_total * 100) : 0;
|
|
737
|
-
lines.push(`- ${node.id} ${node.type} ${node.status} "${node.title}" [${node.children_closed}/${node.children_total} done ${pct}%]`);
|
|
738
|
-
for (const child of node.children) {
|
|
739
|
-
const cpct = child.children_total > 0 ? Math.round(child.children_closed / child.children_total * 100) : 0;
|
|
740
|
-
lines.push(` - ${child.id} ${child.type} ${child.status} "${child.title}" [${child.children_closed}/${child.children_total} done ${cpct}%]`);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
lines.push("");
|
|
744
|
-
}
|
|
745
|
-
function pushProgressSection(lines, result) {
|
|
746
|
-
if (!result.progress || result.progress.length === 0) {
|
|
747
|
-
return;
|
|
748
|
-
}
|
|
749
|
-
lines.push("## Progress");
|
|
750
|
-
for (const entry of result.progress) {
|
|
751
|
-
lines.push(`- ${entry.id} "${entry.title}" ${entry.completion_pct}% (${entry.closed}/${entry.total} closed, ${entry.in_progress} wip, ${entry.open} open, ${entry.blocked} blocked)`);
|
|
752
|
-
}
|
|
753
|
-
lines.push("");
|
|
754
|
-
}
|
|
755
|
-
function pushRecentlyCreatedSection(lines, result, focusFields, renderFocus) {
|
|
756
|
-
if (!result.recently_created || result.recently_created.length === 0) {
|
|
757
|
-
return;
|
|
758
|
-
}
|
|
759
|
-
lines.push("## Recently created");
|
|
760
|
-
for (const item of result.recently_created) {
|
|
761
|
-
lines.push(focusFields ? `- ${renderFocus(item)}` : `- ${dateTokenForTimestamp(item.created_at)} ${formatFocusLine(item)}`);
|
|
762
|
-
}
|
|
763
|
-
lines.push("");
|
|
764
|
-
}
|
|
765
|
-
function pushUnparentedSection(lines, result, renderFocus) {
|
|
766
|
-
if (!result.unparented || result.unparented.length === 0) {
|
|
767
|
-
return;
|
|
768
|
-
}
|
|
769
|
-
lines.push("## Unparented");
|
|
770
|
-
for (const item of result.unparented) {
|
|
771
|
-
lines.push(`- ${renderFocus(item)}`);
|
|
772
|
-
}
|
|
773
|
-
lines.push("");
|
|
774
|
-
}
|
|
775
|
-
function pushActivitySection(lines, result) {
|
|
776
|
-
if (!result.activity || result.activity.length === 0) {
|
|
777
|
-
return;
|
|
778
|
-
}
|
|
779
|
-
lines.push("## Recent activity");
|
|
780
|
-
for (const entry of result.activity) {
|
|
781
|
-
const msg = entry.msg ? ` ${entry.msg}` : "";
|
|
782
|
-
lines.push(`- ${entry.ts.slice(0, 16)}Z ${entry.id} ${entry.op} by:${entry.author}${msg}`);
|
|
783
|
-
}
|
|
784
|
-
lines.push("");
|
|
785
|
-
}
|
|
786
|
-
function pushBlockersSection(lines, result) {
|
|
787
|
-
if (!result.blockers || result.blockers.length === 0) {
|
|
788
|
-
return;
|
|
789
|
-
}
|
|
790
|
-
lines.push("## Blockers");
|
|
791
|
-
for (const entry of result.blockers) {
|
|
792
|
-
const by = entry.blocked_by ? `blocked_by:${entry.blocked_by}(${entry.blocked_by_status ?? "?"})` : "blocked_by:-";
|
|
793
|
-
const reason = entry.blocked_reason ? ` reason:"${entry.blocked_reason}"` : "";
|
|
794
|
-
const note = entry.unblock_note ? ` unblock:"${entry.unblock_note}"` : "";
|
|
795
|
-
lines.push(`- ${entry.id} "${entry.title}" ${by}${reason}${note}`);
|
|
796
|
-
}
|
|
797
|
-
lines.push("");
|
|
798
|
-
}
|
|
799
|
-
function pushFilesSection(lines, result) {
|
|
800
|
-
if (!result.files || result.files.length === 0) {
|
|
801
|
-
return;
|
|
802
|
-
}
|
|
803
|
-
lines.push("## Hot files");
|
|
804
|
-
for (const file of result.files) {
|
|
805
|
-
lines.push(`- ${file.path} refs:${file.references} items:[${file.items.join(",")}]`);
|
|
806
|
-
}
|
|
807
|
-
lines.push("");
|
|
808
|
-
}
|
|
809
|
-
function pushWorkloadSection(lines, result) {
|
|
810
|
-
if (!result.workload || result.workload.length === 0) {
|
|
811
|
-
return;
|
|
812
|
-
}
|
|
813
|
-
lines.push("## Workload");
|
|
814
|
-
for (const entry of result.workload) {
|
|
815
|
-
const who = entry.assignee ?? "(unassigned)";
|
|
816
|
-
lines.push(`- ${who} active:${entry.active} wip:${entry.in_progress} items:[${entry.items.join(",")}]`);
|
|
817
|
-
}
|
|
818
|
-
lines.push("");
|
|
819
|
-
}
|
|
820
|
-
function pushStalenessSection(lines, result) {
|
|
821
|
-
if (!result.staleness || result.staleness.length === 0) {
|
|
822
|
-
return;
|
|
823
|
-
}
|
|
824
|
-
lines.push("## Stale items");
|
|
825
|
-
for (const entry of result.staleness) {
|
|
826
|
-
lines.push(`- ${entry.id} ${entry.status} stale:${entry.stale_days}d last:${entry.updated_at.slice(0, 10)} "${entry.title}"`);
|
|
827
|
-
}
|
|
828
|
-
lines.push("");
|
|
829
|
-
}
|
|
830
|
-
function pushTestHealthSection(lines, result) {
|
|
831
|
-
if (!result.tests) {
|
|
832
|
-
return;
|
|
833
|
-
}
|
|
834
|
-
lines.push("## Test health");
|
|
835
|
-
lines.push(`- items_with_tests: ${result.tests.items_with_tests}`);
|
|
836
|
-
lines.push(`- items_with_recent_runs: ${result.tests.items_with_recent_runs}`);
|
|
837
|
-
lines.push(`- passed: ${result.tests.recent_runs.passed}, failed: ${result.tests.recent_runs.failed}, skipped: ${result.tests.recent_runs.skipped}`);
|
|
838
|
-
if (result.tests.items_failing.length > 0) {
|
|
839
|
-
lines.push(`- items_failing: [${result.tests.items_failing.join(",")}]`);
|
|
840
|
-
}
|
|
841
|
-
lines.push("");
|
|
842
|
-
}
|
|
843
|
-
function pushEmptyContextSuggestions(lines, result) {
|
|
844
|
-
const isEmpty = result.summary.active_items === 0 && result.summary.blocked === 0 && result.agenda.summary.events === 0;
|
|
845
|
-
if (!isEmpty) {
|
|
846
|
-
return;
|
|
847
|
-
}
|
|
848
|
-
lines.push("## Suggestions");
|
|
849
|
-
lines.push("No active work items or upcoming events. Consider:");
|
|
850
|
-
lines.push('- `pm create --type Task --title "..."` to add a new work item');
|
|
851
|
-
lines.push("- `pm list --status closed --limit 5` to review recent completions");
|
|
852
|
-
lines.push("- `pm search <keywords>` to find related past work");
|
|
853
|
-
lines.push("- `pm aggregate` for a full project status overview");
|
|
854
|
-
}
|
|
855
|
-
function renderContextMarkdown(result) {
|
|
856
|
-
const lines = [];
|
|
857
|
-
const focusFields = result.focus_fields;
|
|
858
|
-
const renderFocus = (item) => focusFields ? formatProjectedFocusLine(item, focusFields) : formatFocusLine(item);
|
|
859
|
-
lines.push("# pm context");
|
|
860
|
-
lines.push("");
|
|
861
|
-
lines.push(`- now: ${result.now}`);
|
|
862
|
-
lines.push(`- depth: ${result.depth}`);
|
|
863
|
-
if (result.filters.parent) {
|
|
864
|
-
lines.push(`- scope: subtree of ${result.filters.parent}`);
|
|
865
|
-
}
|
|
866
|
-
lines.push(`- active_items: ${result.summary.active_items} (in_progress: ${result.summary.in_progress}, open: ${result.summary.open})`);
|
|
867
|
-
if (result.summary.total_items !== void 0) {
|
|
868
|
-
lines.push(`- total_items: ${result.summary.total_items} (closed: ${result.summary.closed ?? 0}, canceled: ${result.summary.canceled ?? 0})`);
|
|
869
|
-
}
|
|
870
|
-
lines.push(`- agenda_events: ${result.summary.agenda_events}`);
|
|
871
|
-
lines.push(`- blocked_fallback_used: ${result.summary.blocked_fallback_used}`);
|
|
872
|
-
const renderedSections = result.sections_included.filter((section) => section !== "blockers" || (result.blockers?.length ?? 0) > 0);
|
|
873
|
-
if (renderedSections.length > 0) {
|
|
874
|
-
lines.push(`- sections: ${renderedSections.join(", ")}`);
|
|
875
|
-
}
|
|
876
|
-
lines.push("");
|
|
877
|
-
pushContextFocusSection(lines, "High-level focus", result.high_level, "No high-level active items.", renderFocus);
|
|
878
|
-
pushContextFocusSection(lines, "Low-level focus", result.low_level, "No low-level active items.", renderFocus);
|
|
879
|
-
pushBlockedFallbackSection(lines, result, renderFocus);
|
|
880
|
-
pushAgendaSection(lines, result);
|
|
881
|
-
pushHierarchySection(lines, result);
|
|
882
|
-
pushProgressSection(lines, result);
|
|
883
|
-
pushRecentlyCreatedSection(lines, result, focusFields, renderFocus);
|
|
884
|
-
pushUnparentedSection(lines, result, renderFocus);
|
|
885
|
-
pushActivitySection(lines, result);
|
|
886
|
-
pushBlockersSection(lines, result);
|
|
887
|
-
pushFilesSection(lines, result);
|
|
888
|
-
pushWorkloadSection(lines, result);
|
|
889
|
-
pushStalenessSection(lines, result);
|
|
890
|
-
pushTestHealthSection(lines, result);
|
|
891
|
-
pushEmptyContextSuggestions(lines, result);
|
|
892
|
-
return lines.join("\n");
|
|
893
|
-
}
|
|
894
|
-
async function resolveContextRuntime(options, global2) {
|
|
895
|
-
const pmRoot = resolvePmRoot(process.cwd(), global2.path);
|
|
896
|
-
const settings = await readSettings(pmRoot);
|
|
897
|
-
const contextSettings = settings.context ?? SETTINGS_DEFAULTS.context;
|
|
898
|
-
const statusRegistry = resolveRuntimeStatusRegistry(settings.schema);
|
|
899
|
-
const depth = parseContextDepth(options.depth, contextSettings);
|
|
900
|
-
return {
|
|
901
|
-
settings,
|
|
902
|
-
contextSettings,
|
|
903
|
-
statusRegistry,
|
|
904
|
-
depth,
|
|
905
|
-
limit: parseContextLimit(options.limit, depth),
|
|
906
|
-
sectionsIncluded: parseContextSections(options.section, depth, contextSettings),
|
|
907
|
-
activityLimit: parseActivityLimit(options.activityLimit, contextSettings),
|
|
908
|
-
staleThresholdDays: parseStaleThresholdDays(options.staleThreshold, contextSettings),
|
|
909
|
-
parentScope: parseContextParent(options.parent),
|
|
910
|
-
focusFields: parseContextFocusFields(options.fields),
|
|
911
|
-
baseListOptions: stripListProjectionFlags(options)
|
|
912
|
-
};
|
|
913
|
-
}
|
|
914
|
-
function contextNeedsAllItems(sectionsIncluded) {
|
|
915
|
-
return sectionsIncluded.some((section) => ["hierarchy", "progress", "blockers", "staleness", "recently_created", "unparented"].includes(section));
|
|
916
|
-
}
|
|
917
|
-
function buildUnpaginatedContextListOptions(baseListOptions, extra) {
|
|
918
|
-
return {
|
|
919
|
-
...baseListOptions,
|
|
920
|
-
...extra,
|
|
921
|
-
noTruncate: true,
|
|
922
|
-
limit: void 0,
|
|
923
|
-
offset: void 0
|
|
924
|
-
};
|
|
925
|
-
}
|
|
926
|
-
async function loadContextCorpus(options, global2, runtime) {
|
|
927
|
-
const needsAllItems = contextNeedsAllItems(runtime.sectionsIncluded);
|
|
928
|
-
const listOptions = runtime.parentScope === void 0 ? { ...runtime.baseListOptions, excludeTerminal: true } : buildUnpaginatedContextListOptions(runtime.baseListOptions, { excludeTerminal: true });
|
|
929
|
-
const listed = await runList(void 0, listOptions, global2);
|
|
930
|
-
let listedFrontMatter = listed.items;
|
|
931
|
-
let allItems = listedFrontMatter;
|
|
932
|
-
if (needsAllItems || runtime.parentScope !== void 0) {
|
|
933
|
-
const allListed = await runList(void 0, buildUnpaginatedContextListOptions(runtime.baseListOptions, { excludeTerminal: false }), global2);
|
|
934
|
-
allItems = allListed.items;
|
|
935
|
-
}
|
|
936
|
-
const fullCorpus = allItems;
|
|
937
|
-
const subtreeIds = resolveContextSubtreeIds(runtime.parentScope, fullCorpus);
|
|
938
|
-
if (subtreeIds) {
|
|
939
|
-
listedFrontMatter = listedFrontMatter.filter((item) => subtreeIds.has(item.id.trim().toLowerCase()));
|
|
940
|
-
allItems = allItems.filter((item) => subtreeIds.has(item.id.trim().toLowerCase()));
|
|
941
|
-
}
|
|
942
|
-
return { listed, listedFrontMatter, allItems, fullCorpus, subtreeIds };
|
|
943
|
-
}
|
|
944
|
-
function resolveContextSubtreeIds(parentScope, fullCorpus) {
|
|
945
|
-
if (parentScope === void 0) {
|
|
946
|
-
return void 0;
|
|
947
|
-
}
|
|
948
|
-
const subtree = collectSubtreeIds(fullCorpus, parentScope);
|
|
949
|
-
if (!subtree.found) {
|
|
950
|
-
throw new PmCliError(`Context --parent item not found: ${parentScope}`, EXIT_CODE.NOT_FOUND);
|
|
951
|
-
}
|
|
952
|
-
return subtree.ids;
|
|
953
|
-
}
|
|
954
|
-
function resolveContextFocusGroups(listedFrontMatter, allItems, statusRegistry, sectionsIncluded, limit) {
|
|
955
|
-
const ranked = [...listedFrontMatter].sort((left, right) => compareCriticalItems(left, right, statusRegistry));
|
|
956
|
-
const activeStatuses = statusRegistry.active_statuses;
|
|
957
|
-
const activeItems = ranked.filter((item) => activeStatuses.has(normalizeStatusForRegistry(item.status, statusRegistry)));
|
|
958
|
-
const blockedItems = ranked.filter((item) => statusRegistry.blocked_statuses.has(normalizeStatusForRegistry(item.status, statusRegistry)));
|
|
959
|
-
const childrenByParent = buildChildrenByParent(allItems);
|
|
960
|
-
const focusChildrenByParent = contextNeedsAllItems(sectionsIncluded) ? childrenByParent : void 0;
|
|
961
|
-
const highLevel = activeItems.filter((item) => HIGH_LEVEL_TYPES.has(item.type)).slice(0, limit).map((item) => toContextFocusItem(item, statusRegistry, focusChildrenByParent));
|
|
962
|
-
const lowLevel = activeItems.filter((item) => !HIGH_LEVEL_TYPES.has(item.type)).slice(0, limit).map((item) => toContextFocusItem(item, statusRegistry, focusChildrenByParent));
|
|
963
|
-
const blockedFallbackUsed = activeItems.length === 0;
|
|
964
|
-
return {
|
|
965
|
-
activeItems,
|
|
966
|
-
blockedItems,
|
|
967
|
-
highLevel,
|
|
968
|
-
lowLevel,
|
|
969
|
-
blockedFallback: blockedFallbackUsed ? blockedItems.slice(0, limit).map((item) => toContextFocusItem(item, statusRegistry, focusChildrenByParent)) : [],
|
|
970
|
-
blockedFallbackUsed
|
|
971
|
-
};
|
|
972
|
-
}
|
|
973
|
-
async function buildContextAgenda(options, global2, runtime, subtreeIds) {
|
|
974
|
-
const calendarOptions = {
|
|
975
|
-
...runtime.baseListOptions,
|
|
976
|
-
view: "agenda",
|
|
977
|
-
include: "all",
|
|
978
|
-
limit: runtime.parentScope === void 0 ? String(runtime.limit) : void 0
|
|
979
|
-
};
|
|
980
|
-
const agenda = await runCalendar(calendarOptions, global2);
|
|
981
|
-
const scopedAgenda = subtreeIds === void 0 ? agenda.events : agenda.events.filter((event) => subtreeIds.has(event.item_id.trim().toLowerCase()));
|
|
982
|
-
const agendaEvents = filterTerminalCalendarEvents(scopedAgenda, runtime.statusRegistry).slice(0, runtime.limit);
|
|
983
|
-
return { agenda, agendaEvents, agendaSummary: summarizeAgenda(agendaEvents) };
|
|
984
|
-
}
|
|
985
|
-
function countContextStatus(items, status, statusRegistry) {
|
|
986
|
-
const targetStatus = String(status);
|
|
987
|
-
return items.filter((item) => normalizeStatusForRegistry(item.status, statusRegistry) === targetStatus).length;
|
|
988
|
-
}
|
|
989
|
-
async function buildOptionalContextSections(params) {
|
|
990
|
-
const { runtime, allItems, fullCorpus, focusGroups, now, global: global2 } = params;
|
|
991
|
-
const childrenByParent = buildChildrenByParent(allItems);
|
|
992
|
-
const itemMap = new Map(fullCorpus.map((item) => [item.id, item]));
|
|
993
|
-
const allNonTerminal = allItems.filter((item) => !isTerminalStatus(item.status, runtime.statusRegistry));
|
|
994
|
-
const has = (section) => runtime.sectionsIncluded.includes(section);
|
|
995
|
-
return {
|
|
996
|
-
hierarchy: has("hierarchy") ? buildHierarchy(allItems, focusGroups.activeItems, runtime.statusRegistry, runtime.limit) : void 0,
|
|
997
|
-
activity: has("activity") ? await buildActivity(runtime.activityLimit, global2) : void 0,
|
|
998
|
-
progress: has("progress") ? buildProgress(allItems, focusGroups.activeItems, runtime.statusRegistry, runtime.limit) : void 0,
|
|
999
|
-
blockersSection: has("blockers") ? buildBlockers(focusGroups.blockedItems, itemMap, runtime.limit) : void 0,
|
|
1000
|
-
recentlyCreated: has("recently_created") ? buildRecentlyCreated(allNonTerminal, runtime.statusRegistry, childrenByParent, runtime.limit) : void 0,
|
|
1001
|
-
unparented: has("unparented") ? buildUnparented(allNonTerminal, runtime.statusRegistry, childrenByParent, runtime.limit) : void 0,
|
|
1002
|
-
filesSection: has("files") ? buildHotFiles(focusGroups.activeItems, runtime.limit) : void 0,
|
|
1003
|
-
workload: has("workload") ? buildWorkload(focusGroups.activeItems, runtime.statusRegistry, runtime.limit) : void 0,
|
|
1004
|
-
staleness: has("staleness") ? buildStaleness(allNonTerminal, runtime.staleThresholdDays, now, runtime.limit) : void 0,
|
|
1005
|
-
tests: has("tests") ? buildTestHealth(focusGroups.activeItems) : void 0
|
|
1006
|
-
};
|
|
1007
|
-
}
|
|
1008
|
-
function buildContextSummaryExtras(needsAllItems, allItems, statusRegistry) {
|
|
1009
|
-
if (!needsAllItems) {
|
|
1010
|
-
return {};
|
|
1011
|
-
}
|
|
1012
|
-
const canceledStatus = normalizeStatusInput("canceled", statusRegistry);
|
|
1013
|
-
return {
|
|
1014
|
-
total_items: allItems.length,
|
|
1015
|
-
closed: allItems.filter((item) => isClosedStatus(item.status, statusRegistry)).length,
|
|
1016
|
-
canceled: allItems.filter((item) => normalizeStatusForRegistry(item.status, statusRegistry) === canceledStatus).length
|
|
1017
|
-
};
|
|
1018
|
-
}
|
|
1019
|
-
function attachOptionalContextSections(result, sections) {
|
|
1020
|
-
if (sections.hierarchy)
|
|
1021
|
-
result.hierarchy = sections.hierarchy;
|
|
1022
|
-
if (sections.activity)
|
|
1023
|
-
result.activity = sections.activity;
|
|
1024
|
-
if (sections.progress)
|
|
1025
|
-
result.progress = sections.progress;
|
|
1026
|
-
if (sections.blockersSection)
|
|
1027
|
-
result.blockers = sections.blockersSection;
|
|
1028
|
-
if (sections.recentlyCreated)
|
|
1029
|
-
result.recently_created = sections.recentlyCreated;
|
|
1030
|
-
if (sections.unparented)
|
|
1031
|
-
result.unparented = sections.unparented;
|
|
1032
|
-
if (sections.filesSection)
|
|
1033
|
-
result.files = sections.filesSection;
|
|
1034
|
-
if (sections.workload)
|
|
1035
|
-
result.workload = sections.workload;
|
|
1036
|
-
if (sections.staleness)
|
|
1037
|
-
result.staleness = sections.staleness;
|
|
1038
|
-
if (sections.tests)
|
|
1039
|
-
result.tests = sections.tests;
|
|
1040
|
-
}
|
|
1041
|
-
function applyContextFocusProjection(result, focusFields) {
|
|
1042
|
-
if (!focusFields) {
|
|
1043
|
-
return;
|
|
1044
|
-
}
|
|
1045
|
-
result.focus_fields = focusFields;
|
|
1046
|
-
result.high_level = projectContextFocusRows(result.high_level, focusFields);
|
|
1047
|
-
result.low_level = projectContextFocusRows(result.low_level, focusFields);
|
|
1048
|
-
result.blocked_fallback = projectContextFocusRows(result.blocked_fallback, focusFields);
|
|
1049
|
-
if (result.recently_created) {
|
|
1050
|
-
result.recently_created = projectContextFocusRows(result.recently_created, focusFields);
|
|
1051
|
-
}
|
|
1052
|
-
if (result.unparented) {
|
|
1053
|
-
result.unparented = projectContextFocusRows(result.unparented, focusFields);
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
function maybeAttachEmptyContextSuggestions(result, activeItems, blockedItems) {
|
|
1057
|
-
if (activeItems.length > 0 || blockedItems.length > 0 || result.agenda.events.length > 0) {
|
|
1058
|
-
return;
|
|
1059
|
-
}
|
|
1060
|
-
result.suggestions = [
|
|
1061
|
-
'pm create --type Task --title "..." to add a new work item',
|
|
1062
|
-
"pm list --status closed --limit 5 to review recent completions",
|
|
1063
|
-
"pm search <keywords> to find related past work",
|
|
1064
|
-
"pm aggregate for a full project status overview"
|
|
1065
|
-
];
|
|
1066
|
-
}
|
|
1067
|
-
async function runContext(options, global2) {
|
|
1068
|
-
const runtime = await resolveContextRuntime(options, global2);
|
|
1069
|
-
const corpus = await loadContextCorpus(options, global2, runtime);
|
|
1070
|
-
const focusGroups = resolveContextFocusGroups(corpus.listedFrontMatter, corpus.allItems, runtime.statusRegistry, runtime.sectionsIncluded, runtime.limit);
|
|
1071
|
-
const agendaContext = await buildContextAgenda(options, global2, runtime, corpus.subtreeIds);
|
|
1072
|
-
const warnings = mergeSortedWarnings(corpus.listed.warnings, agendaContext.agenda.warnings);
|
|
1073
|
-
const inProgressCount = countContextStatus(focusGroups.activeItems, normalizeStatusInput("in_progress", runtime.statusRegistry), runtime.statusRegistry);
|
|
1074
|
-
const openCount = countContextStatus(focusGroups.activeItems, normalizeStatusInput("open", runtime.statusRegistry), runtime.statusRegistry);
|
|
1075
|
-
const sections = await buildOptionalContextSections({
|
|
1076
|
-
runtime,
|
|
1077
|
-
allItems: corpus.allItems,
|
|
1078
|
-
fullCorpus: corpus.fullCorpus,
|
|
1079
|
-
focusGroups,
|
|
1080
|
-
now: agendaContext.agenda.now,
|
|
1081
|
-
global: global2
|
|
1082
|
-
});
|
|
1083
|
-
const summaryExtras = buildContextSummaryExtras(contextNeedsAllItems(runtime.sectionsIncluded), corpus.allItems, runtime.statusRegistry);
|
|
1084
|
-
const result = {
|
|
1085
|
-
output_default: "toon",
|
|
1086
|
-
now: agendaContext.agenda.now,
|
|
1087
|
-
depth: runtime.depth,
|
|
1088
|
-
sections_included: runtime.sectionsIncluded,
|
|
1089
|
-
window: {
|
|
1090
|
-
anchor: agendaContext.agenda.anchor,
|
|
1091
|
-
start: agendaContext.agenda.range.start,
|
|
1092
|
-
end: agendaContext.agenda.range.end,
|
|
1093
|
-
past: agendaContext.agenda.range.past,
|
|
1094
|
-
from: agendaContext.agenda.range.from,
|
|
1095
|
-
to: agendaContext.agenda.range.to
|
|
1096
|
-
},
|
|
1097
|
-
filters: {
|
|
1098
|
-
type: options.type ?? null,
|
|
1099
|
-
tag: options.tag ?? null,
|
|
1100
|
-
priority: options.priority ?? null,
|
|
1101
|
-
assignee: options.assignee ?? null,
|
|
1102
|
-
assignee_filter: options.assigneeFilter ?? null,
|
|
1103
|
-
sprint: options.sprint ?? null,
|
|
1104
|
-
release: options.release ?? null,
|
|
1105
|
-
limit: options.limit ?? null,
|
|
1106
|
-
parent: runtime.parentScope ?? null,
|
|
1107
|
-
/* c8 ignore next -- listed/calendar runtime filters are always materialized by their command handlers */
|
|
1108
|
-
runtime_filters: corpus.listed.filters.runtime_filters ?? agendaContext.agenda.filters.runtime_filters ?? {}
|
|
1109
|
-
},
|
|
1110
|
-
summary: {
|
|
1111
|
-
active_items: focusGroups.activeItems.length,
|
|
1112
|
-
in_progress: inProgressCount,
|
|
1113
|
-
open: openCount,
|
|
1114
|
-
blocked: focusGroups.blockedItems.length,
|
|
1115
|
-
blocked_fallback_used: focusGroups.blockedFallbackUsed,
|
|
1116
|
-
high_level: focusGroups.highLevel.length,
|
|
1117
|
-
low_level: focusGroups.lowLevel.length,
|
|
1118
|
-
agenda_events: agendaContext.agendaSummary.events,
|
|
1119
|
-
...summaryExtras
|
|
1120
|
-
},
|
|
1121
|
-
high_level: focusGroups.highLevel,
|
|
1122
|
-
low_level: focusGroups.lowLevel,
|
|
1123
|
-
blocked_fallback: focusGroups.blockedFallback,
|
|
1124
|
-
agenda: {
|
|
1125
|
-
summary: agendaContext.agendaSummary,
|
|
1126
|
-
events: agendaContext.agendaEvents
|
|
1127
|
-
}
|
|
1128
|
-
};
|
|
1129
|
-
attachOptionalContextSections(result, sections);
|
|
1130
|
-
applyContextFocusProjection(result, runtime.focusFields);
|
|
1131
|
-
if (warnings.length > 0)
|
|
1132
|
-
result.warnings = warnings;
|
|
1133
|
-
maybeAttachEmptyContextSuggestions(result, focusGroups.activeItems, focusGroups.blockedItems);
|
|
1134
|
-
return result;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
export {
|
|
1138
|
-
CONTEXT_OUTPUT_VALUES,
|
|
1139
|
-
parseContextFocusFields,
|
|
1140
|
-
projectContextFocusRows,
|
|
1141
|
-
resolveContextOutputFormat,
|
|
1142
|
-
parseContextDepth,
|
|
1143
|
-
parseContextSections,
|
|
1144
|
-
collectSubtreeIds,
|
|
1145
|
-
compareCriticalItems,
|
|
1146
|
-
buildChildrenByParent,
|
|
1147
|
-
toContextFocusItem,
|
|
1148
|
-
_testOnly,
|
|
1149
|
-
renderContextMarkdown,
|
|
1150
|
-
runContext
|
|
1151
|
-
};
|
|
1152
|
-
//# sourceMappingURL=chunk-XQCG2JGW.js.map
|