@unbrained/pm-cli 2026.7.6 → 2026.7.8
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 +50 -0
- package/dist/cli/commands/annotation-command.d.ts +1 -0
- package/dist/cli/commands/annotation-command.js +29 -2
- package/dist/cli/commands/annotation-command.js.map +1 -1
- package/dist/cli/commands/comments.js +3 -4
- package/dist/cli/commands/comments.js.map +1 -1
- package/dist/cli/commands/completion.js +10 -2
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/context.d.ts +1 -0
- package/dist/cli/commands/context.js +4 -4
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/extension/bundled-catalog.d.ts +3 -0
- package/dist/cli/commands/extension/bundled-catalog.js +38 -28
- package/dist/cli/commands/extension/bundled-catalog.js.map +1 -1
- package/dist/cli/commands/extension/install-sources.js +81 -18
- package/dist/cli/commands/extension/install-sources.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +23 -19
- package/dist/cli/commands/extension.js +167 -57
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/health.js +9 -5
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/learnings.js +5 -3
- package/dist/cli/commands/learnings.js.map +1 -1
- package/dist/cli/commands/notes.js +5 -3
- package/dist/cli/commands/notes.js.map +1 -1
- package/dist/cli/commands/reindex.js +4 -3
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/search.js +4 -4
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/test.d.ts +9 -0
- package/dist/cli/commands/test.js +144 -105
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/extension-command-help.js +10 -2
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/help-content.js +28 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/register-list-query.d.ts +1 -1
- package/dist/cli/register-list-query.js +19 -27
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-operations.d.ts +0 -8
- package/dist/cli/register-operations.js +41 -46
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +119 -13
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +5 -1
- package/dist/cli/registration-helpers.js +14 -2
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/append-CDPAYYSB.js +11 -0
- package/dist/cli-bundle/chunks/{gc-2DNMPXMC.js → append-RSPHC423.js} +8 -9
- package/dist/cli-bundle/chunks/{chunk-LK6XLOGP.js → chunk-2BVD4ZD2.js} +288 -233
- package/dist/cli-bundle/chunks/chunk-2BVD4ZD2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TKD5VCTD.js → chunk-2RADY7IB.js} +517 -195
- package/dist/cli-bundle/chunks/chunk-2RADY7IB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-COSPOP7H.js → chunk-3FRNNVWY.js} +518 -196
- package/dist/cli-bundle/chunks/chunk-3FRNNVWY.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-24YG75HI.js → chunk-3FUXM574.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-IWVU4C2F.js → chunk-3SHDAKMF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-O6AWCQRQ.js → chunk-3UXIMY62.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-O6AWCQRQ.js.map → chunk-3UXIMY62.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MUH7A3FD.js → chunk-3V5C7PUH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ALFPSEWO.js → chunk-3YJDIJIE.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-ALFPSEWO.js.map → chunk-3YJDIJIE.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EGY6JBQ3.js → chunk-4I7KS5ES.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-CRVYGJUI.js → chunk-4OCWJ2AP.js} +13 -17
- package/dist/cli-bundle/chunks/{chunk-CRVYGJUI.js.map → chunk-4OCWJ2AP.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-GJ7QC5DJ.js → chunk-5STY7NVM.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-JJP45OEI.js → chunk-5VAZHYVQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-CFB33L7W.js → chunk-6FU5BVRB.js} +12 -14
- package/dist/cli-bundle/chunks/{chunk-CFB33L7W.js.map → chunk-6FU5BVRB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-22KBU3MW.js → chunk-6RR4XM5H.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-K46RF36U.js → chunk-6TD5QGIB.js} +7 -7
- package/dist/cli-bundle/chunks/chunk-6TD5QGIB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IX5BXEMX.js → chunk-6WCXSC5V.js} +12 -16
- package/dist/cli-bundle/chunks/{chunk-IX5BXEMX.js.map → chunk-6WCXSC5V.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ZWBEPGD7.js → chunk-6ZKDMEVT.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-ZWBEPGD7.js.map → chunk-6ZKDMEVT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-KUOOJR35.js → chunk-7QKSLAHB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MVSP7WGJ.js → chunk-7TBUV7XS.js} +8 -12
- package/dist/cli-bundle/chunks/{chunk-MVSP7WGJ.js.map → chunk-7TBUV7XS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-NGXQ3PFT.js → chunk-7UCBLJDF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-F3K4JGFD.js → chunk-AEOFBBWO.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-F3K4JGFD.js.map → chunk-AEOFBBWO.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-ASMRSIDX.js +10498 -0
- package/dist/cli-bundle/chunks/chunk-ASMRSIDX.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7DT4WSH2.js → chunk-BFNFTHWQ.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-BPJ5NYSJ.js +5509 -0
- package/dist/cli-bundle/chunks/chunk-BPJ5NYSJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-Y46GD4IX.js → chunk-C3YU3TXX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VPIM42PC.js → chunk-C6XSTACC.js} +11 -7
- package/dist/cli-bundle/chunks/chunk-C6XSTACC.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AZYGZGGI.js → chunk-CGDUIPJL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FT3QTERD.js → chunk-CXH7EMSB.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-FT3QTERD.js.map → chunk-CXH7EMSB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-DMRNBQOI.js → chunk-D63PEJTB.js} +256 -36
- package/dist/cli-bundle/chunks/chunk-D63PEJTB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RCQZK2GO.js → chunk-D6J5673C.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-RCQZK2GO.js.map → chunk-D6J5673C.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-3UJRFJ5R.js → chunk-DUBC6TI3.js} +28 -34
- package/dist/cli-bundle/chunks/{chunk-3UJRFJ5R.js.map → chunk-DUBC6TI3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-NC33K5ZS.js → chunk-EEJKHF7M.js} +7 -6
- package/dist/cli-bundle/chunks/{chunk-NC33K5ZS.js.map → chunk-EEJKHF7M.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XG625QP4.js → chunk-EP2CKDS7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NZEHECMW.js → chunk-EYPIUFWJ.js} +24 -32
- package/dist/cli-bundle/chunks/{chunk-NZEHECMW.js.map → chunk-EYPIUFWJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-45FYNUFJ.js → chunk-F5DDGY6R.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-45FYNUFJ.js.map → chunk-F5DDGY6R.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-4ZBE5GUN.js → chunk-FFB3WITE.js} +10 -16
- package/dist/cli-bundle/chunks/{chunk-4ZBE5GUN.js.map → chunk-FFB3WITE.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-7D7OOEYG.js → chunk-FJR2S7S4.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-7D7OOEYG.js.map → chunk-FJR2S7S4.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-FL625JJM.js +6792 -0
- package/dist/cli-bundle/chunks/chunk-FL625JJM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-LPSSSDJR.js → chunk-FOJEBRDD.js} +16 -20
- package/dist/cli-bundle/chunks/{chunk-LPSSSDJR.js.map → chunk-FOJEBRDD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EOKXK3R3.js → chunk-G4FKP4ID.js} +1220 -398
- package/dist/cli-bundle/chunks/chunk-G4FKP4ID.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-GE44TQMC.js +6726 -0
- package/dist/cli-bundle/chunks/chunk-GE44TQMC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XUC7PI2H.js → chunk-GLMJLBLR.js} +6 -10
- package/dist/cli-bundle/chunks/{chunk-XUC7PI2H.js.map → chunk-GLMJLBLR.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-GANUTS7W.js → chunk-GO2X6ZRB.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-GANUTS7W.js.map → chunk-GO2X6ZRB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-CFNGIXZP.js → chunk-GQOKFX2G.js} +22 -26
- package/dist/cli-bundle/chunks/{chunk-CFNGIXZP.js.map → chunk-GQOKFX2G.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-XHET7YUZ.js → chunk-GSQVQINP.js} +8 -10
- package/dist/cli-bundle/chunks/{chunk-XHET7YUZ.js.map → chunk-GSQVQINP.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-HI27UADG.js +5434 -0
- package/dist/cli-bundle/chunks/chunk-HI27UADG.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-I36Y7PCE.js → chunk-HZZ3AC27.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-I36Y7PCE.js.map → chunk-HZZ3AC27.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-OGWQ2IEP.js → chunk-IINCZYM3.js} +8 -12
- package/dist/cli-bundle/chunks/{chunk-OGWQ2IEP.js.map → chunk-IINCZYM3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EKFNL33R.js → chunk-INOWVPUD.js} +37 -16
- package/dist/cli-bundle/chunks/chunk-INOWVPUD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4LELACOL.js → chunk-IYRG5AEC.js} +15 -23
- package/dist/cli-bundle/chunks/{chunk-4LELACOL.js.map → chunk-IYRG5AEC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MVYWGY2A.js → chunk-J6AD3GWC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-D2XRLB55.js → chunk-JH5XDDYS.js} +14 -20
- package/dist/cli-bundle/chunks/{chunk-D2XRLB55.js.map → chunk-JH5XDDYS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-HOVCGJSD.js → chunk-JYVPLGOW.js} +9 -11
- package/dist/cli-bundle/chunks/{chunk-HOVCGJSD.js.map → chunk-JYVPLGOW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MA4SM3QZ.js → chunk-K52C6YPA.js} +12 -18
- package/dist/cli-bundle/chunks/{chunk-MA4SM3QZ.js.map → chunk-K52C6YPA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-R5BMJX33.js → chunk-KFL3XHMA.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-KMXVZ2P7.js +10320 -0
- package/dist/cli-bundle/chunks/chunk-KMXVZ2P7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4CJFCTLM.js → chunk-LD2NBQ5T.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-4CJFCTLM.js.map → chunk-LD2NBQ5T.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-6QBJLYBP.js → chunk-LG4N6YOK.js} +8 -7
- package/dist/cli-bundle/chunks/{chunk-6QBJLYBP.js.map → chunk-LG4N6YOK.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-L5PSPMZ4.js → chunk-LHDHS4Z6.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-L5PSPMZ4.js.map → chunk-LHDHS4Z6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-M7JNBQAD.js → chunk-MCH6IKK7.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-M7JNBQAD.js.map → chunk-MCH6IKK7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-57NWPFF2.js → chunk-MFLLULHU.js} +281 -233
- package/dist/cli-bundle/chunks/chunk-MFLLULHU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EGAP5OWD.js → chunk-ML27MHNM.js} +35 -17
- package/dist/cli-bundle/chunks/chunk-ML27MHNM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3N6RRO2Q.js → chunk-MYHFZNBO.js} +20 -24
- package/dist/cli-bundle/chunks/{chunk-3N6RRO2Q.js.map → chunk-MYHFZNBO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-6LLVNJXT.js → chunk-NGBWEYNY.js} +12 -18
- package/dist/cli-bundle/chunks/{chunk-6LLVNJXT.js.map → chunk-NGBWEYNY.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-GDDAGPWJ.js → chunk-NRMDT4OV.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-GDDAGPWJ.js.map → chunk-NRMDT4OV.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-NTOOEVJ4.js +5359 -0
- package/dist/cli-bundle/chunks/chunk-NTOOEVJ4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-W6DYWXPQ.js → chunk-P2WE5KCU.js} +261 -34
- package/dist/cli-bundle/chunks/{chunk-W6DYWXPQ.js.map → chunk-P2WE5KCU.js.map} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YN7Y6DQZ.js → chunk-PAWPLIWW.js} +14 -20
- package/dist/cli-bundle/chunks/{chunk-YN7Y6DQZ.js.map → chunk-PAWPLIWW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MWMVPCIE.js → chunk-PCBZ2VJD.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-ZSUS2OD3.js → chunk-PJPZTE7P.js} +1216 -387
- package/dist/cli-bundle/chunks/chunk-PJPZTE7P.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-B6DUFX6H.js → chunk-Q3CFSOQZ.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-NO442GWJ.js → chunk-QJZM5WO5.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-NO442GWJ.js.map → chunk-QJZM5WO5.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QLMX7SRD.js → chunk-QLEH6FTQ.js} +6 -6
- package/dist/cli-bundle/chunks/chunk-QLEH6FTQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GBAX2ZAQ.js → chunk-QYZMZD4L.js} +10 -12
- package/dist/cli-bundle/chunks/{chunk-GBAX2ZAQ.js.map → chunk-QYZMZD4L.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-W3DSJQIO.js → chunk-RDJXIAJB.js} +7 -11
- package/dist/cli-bundle/chunks/{chunk-W3DSJQIO.js.map → chunk-RDJXIAJB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-7WBAJSS6.js → chunk-RFHLRMLQ.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-7WBAJSS6.js.map → chunk-RFHLRMLQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SGMFPXKR.js → chunk-RL24NAUX.js} +10 -12
- package/dist/cli-bundle/chunks/{chunk-SGMFPXKR.js.map → chunk-RL24NAUX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-46CUF5L6.js → chunk-RLHQ3G4M.js} +99 -51
- package/dist/cli-bundle/chunks/chunk-RLHQ3G4M.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UH7T2DAX.js → chunk-SCJPFQQT.js} +12 -18
- package/dist/cli-bundle/chunks/{chunk-UH7T2DAX.js.map → chunk-SCJPFQQT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-B6XS3R3O.js → chunk-SIQGG335.js} +12 -16
- package/dist/cli-bundle/chunks/{chunk-B6XS3R3O.js.map → chunk-SIQGG335.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-E42XTBSP.js → chunk-SN5X5GTU.js} +8 -12
- package/dist/cli-bundle/chunks/{chunk-E42XTBSP.js.map → chunk-SN5X5GTU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-CL36D4PC.js → chunk-TKWTJGD6.js} +36 -15
- package/dist/cli-bundle/chunks/chunk-TKWTJGD6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VIIUS6N6.js → chunk-TR2C6V5T.js} +37 -19
- package/dist/cli-bundle/chunks/chunk-TR2C6V5T.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-TTCJCKUJ.js +5514 -0
- package/dist/cli-bundle/chunks/chunk-TTCJCKUJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KGFUY7WN.js → chunk-TU5P744I.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-TULGS6X6.js → chunk-TUDAYIO7.js} +529 -46
- package/dist/cli-bundle/chunks/chunk-TUDAYIO7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-MLIYFOE7.js → chunk-U72GF3I2.js} +12 -8
- package/dist/cli-bundle/chunks/chunk-U72GF3I2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZZD4J5XY.js → chunk-UCRYCT5M.js} +30 -36
- package/dist/cli-bundle/chunks/{chunk-ZZD4J5XY.js.map → chunk-UCRYCT5M.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-JDDLOQAE.js → chunk-UEATYUZW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JVH7QBVV.js → chunk-UFNFHCAC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NB7RLQFW.js → chunk-UH6VFRV6.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-NB7RLQFW.js.map → chunk-UH6VFRV6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SQOIV3OQ.js → chunk-UIHDZS6X.js} +11 -15
- package/dist/cli-bundle/chunks/{chunk-SQOIV3OQ.js.map → chunk-UIHDZS6X.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-W572BIEB.js → chunk-UURYLDDC.js} +14 -18
- package/dist/cli-bundle/chunks/{chunk-W572BIEB.js.map → chunk-UURYLDDC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-G64OCSKU.js → chunk-UVFJSKTF.js} +9 -13
- package/dist/cli-bundle/chunks/{chunk-G64OCSKU.js.map → chunk-UVFJSKTF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SMB7RV23.js → chunk-W2VFNVSJ.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-SMB7RV23.js.map → chunk-W2VFNVSJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-HIHMT6WS.js → chunk-WVEMZZCR.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-HIHMT6WS.js.map → chunk-WVEMZZCR.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3VHSI5FL.js → chunk-XN5BEN2B.js} +94 -53
- package/dist/cli-bundle/chunks/chunk-XN5BEN2B.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SCUR7K7N.js → chunk-XPSGJ4IV.js} +541 -44
- package/dist/cli-bundle/chunks/chunk-XPSGJ4IV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZJ262CED.js → chunk-YQEKE4FO.js} +13 -21
- package/dist/cli-bundle/chunks/{chunk-ZJ262CED.js.map → chunk-YQEKE4FO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EBRZZ54H.js → chunk-YR5R4FMQ.js} +26 -34
- package/dist/cli-bundle/chunks/{chunk-EBRZZ54H.js.map → chunk-YR5R4FMQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-XB7KFVFI.js → chunk-YSRXFGNV.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-XB7KFVFI.js.map → chunk-YSRXFGNV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-HFDADVJZ.js → chunk-YUCKM3MD.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-HFDADVJZ.js.map → chunk-YUCKM3MD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SQYJ4HF2.js → chunk-YUMNZS3X.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-SQYJ4HF2.js.map → chunk-YUMNZS3X.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-AGHMOTGM.js → chunk-Z2JQH2MG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZGK4L4JM.js → chunk-Z6RLSNUX.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-ZGK4L4JM.js.map → chunk-Z6RLSNUX.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-Y4M7CPQP.js → chunk-ZMOPZFVT.js} +4 -4
- package/dist/cli-bundle/chunks/close-E3RLZSP2.js +12 -0
- package/dist/cli-bundle/chunks/{close-2SSSHHUZ.js → close-K6BFI3OX.js} +5 -9
- package/dist/cli-bundle/chunks/close-many-6NBL3PM4.js +26 -0
- package/dist/cli-bundle/chunks/close-many-X4YKS3RO.js +22 -0
- package/dist/cli-bundle/chunks/comments-PLFK5ZKK.js +17 -0
- package/dist/cli-bundle/chunks/comments-ZNOD5PTV.js +13 -0
- package/dist/cli-bundle/chunks/copy-F7BUFY4J.js +9 -0
- package/dist/cli-bundle/chunks/{copy-32ROBIDL.js → copy-VH3L4MN2.js} +4 -8
- package/dist/cli-bundle/chunks/create-AMBMYP6F.js +25 -0
- package/dist/cli-bundle/chunks/{create-E77SDCUP.js → create-TRIBYORN.js} +9 -14
- package/dist/cli-bundle/chunks/delete-6KQHZYIP.js +10 -0
- package/dist/cli-bundle/chunks/{delete-RA5KTCLB.js → delete-ZNXUNCZR.js} +4 -8
- package/dist/cli-bundle/chunks/deps-CVDY7FFK.js +13 -0
- package/dist/cli-bundle/chunks/{deps-32SU7HO5.js → deps-SZXQHV73.js} +4 -8
- package/dist/cli-bundle/chunks/{docs-RRUPT7O2.js → docs-DR74ITCD.js} +6 -10
- package/dist/cli-bundle/chunks/docs-WCVYY6I7.js +14 -0
- package/dist/cli-bundle/chunks/files-H5YCA74Z.js +18 -0
- package/dist/cli-bundle/chunks/{files-PYKR2UUG.js → files-QEFQ2M3H.js} +6 -10
- package/dist/cli-bundle/chunks/{contracts-NYPEW2G4.js → focus-55TRYSNA.js} +7 -9
- package/dist/cli-bundle/chunks/focus-N2QGNS5D.js +10 -0
- package/dist/cli-bundle/chunks/history-compact-GWQ4UOEI.js +21 -0
- package/dist/cli-bundle/chunks/{history-compact-3MNXLKAT.js → history-compact-JJZ4EFL3.js} +9 -13
- package/dist/cli-bundle/chunks/history-redact-4GJOLXCM.js +17 -0
- package/dist/cli-bundle/chunks/{history-redact-P6DYF55G.js → history-redact-TPPUT3A5.js} +7 -11
- package/dist/cli-bundle/chunks/history-repair-HVCVCGUF.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-ZJQFMWPD.js → history-repair-J7PIZ6ZP.js} +9 -13
- package/dist/cli-bundle/chunks/{append-BGML6VLD.js → learnings-KB6BT4NR.js} +9 -11
- package/dist/cli-bundle/chunks/learnings-YYY3U2Y7.js +13 -0
- package/dist/cli-bundle/chunks/notes-BGG7VL72.js +13 -0
- package/dist/cli-bundle/chunks/notes-ZTHXVOKM.js +17 -0
- package/dist/cli-bundle/chunks/{plan-CHVE7PBR.js → plan-CJPKFRBK.js} +10 -15
- package/dist/cli-bundle/chunks/plan-MK2QY3GA.js +24 -0
- package/dist/cli-bundle/chunks/{profile-ZXGSKBJD.js → profile-AQNHXOYA.js} +9 -13
- package/dist/cli-bundle/chunks/{profile-LD23PSI6.js → profile-HTBFINKQ.js} +9 -13
- package/dist/cli-bundle/chunks/{register-list-query-B42JCCOI.js → register-list-query-EEF33SUJ.js} +43 -34
- package/dist/cli-bundle/chunks/register-list-query-EEF33SUJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-OEYQHFXO.js → register-list-query-S4FBWIWN.js} +42 -33
- package/dist/cli-bundle/chunks/register-list-query-S4FBWIWN.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-3QXIHCQG.js → register-mutation-L5Q7AUDN.js} +34 -39
- package/dist/cli-bundle/chunks/{register-mutation-3QXIHCQG.js.map → register-mutation-L5Q7AUDN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-mutation-IAEST26S.js → register-mutation-QFLRBCI7.js} +36 -41
- package/dist/cli-bundle/chunks/{register-mutation-IAEST26S.js.map → register-mutation-QFLRBCI7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-5BMM6XQY.js → register-operations-HDE4FVW4.js} +79 -46
- package/dist/cli-bundle/chunks/register-operations-HDE4FVW4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Z3U3U5KD.js → register-operations-QDU43FCG.js} +78 -45
- package/dist/cli-bundle/chunks/register-operations-QDU43FCG.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-Q6KFNIOZ.js → register-setup-EGMTAXDC.js} +134 -32
- package/dist/cli-bundle/chunks/register-setup-EGMTAXDC.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-3ZVVX2VN.js → register-setup-PNIO3L2P.js} +133 -31
- package/dist/cli-bundle/chunks/register-setup-PNIO3L2P.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-5RQHAPMA.js → restore-BTBEZ5CK.js} +7 -11
- package/dist/cli-bundle/chunks/restore-EX4UUZL6.js +15 -0
- package/dist/cli-bundle/chunks/{schema-HBORFC6B.js → schema-DGSTYYQB.js} +6 -10
- package/dist/cli-bundle/chunks/{schema-245WW4G2.js → schema-HAIBEE24.js} +6 -10
- package/dist/cli-bundle/chunks/update-MP4XLU56.js +25 -0
- package/dist/cli-bundle/chunks/update-SDIRJGSY.js +21 -0
- package/dist/cli-bundle/chunks/update-many-34AIU6W7.js +31 -0
- package/dist/cli-bundle/chunks/update-many-JUPCNOKV.js +35 -0
- package/dist/cli-bundle/main.js +56 -32
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/cli-bundle/sdk-runtime.js +161 -107
- package/dist/cli-bundle/sdk-testing.js +7 -8
- package/dist/cli-bundle/sdk.js +154 -117
- package/dist/cli-bundle/sdk.js.map +2 -2
- package/dist/core/extensions/extension-types.d.ts +1 -0
- package/dist/core/extensions/extension-types.js +2 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/loader.js +268 -231
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/history/drift-scan.js +3 -8
- package/dist/core/history/drift-scan.js.map +1 -1
- package/dist/core/output/mutation-projection.js +11 -5
- package/dist/core/output/mutation-projection.js.map +1 -1
- package/dist/core/search/cache.js +3 -3
- package/dist/core/search/cache.js.map +1 -1
- package/dist/core/search/semantic-defaults.d.ts +2 -0
- package/dist/core/search/semantic-defaults.js +11 -4
- package/dist/core/search/semantic-defaults.js.map +1 -1
- package/dist/core/search/vector-stores.d.ts +1 -1
- package/dist/core/search/vector-stores.js +33 -7
- package/dist/core/search/vector-stores.js.map +1 -1
- package/dist/mcp/server.d.ts +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +3 -3
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +12 -8
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +10 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.js +14 -8
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +282 -8
- package/dist/sdk/runtime.js +453 -14
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/start-task-status.d.ts +13 -0
- package/dist/sdk/start-task-status.js +19 -0
- package/dist/sdk/start-task-status.js.map +1 -0
- package/docs/COMMANDS.md +10 -1
- package/docs/EXTENSIONS.md +7 -20
- package/docs/RELEASING.md +6 -0
- package/docs/SDK.md +65 -0
- package/docs/TESTING.md +3 -0
- package/package.json +2 -1
- package/dist/cli-bundle/chunks/activity-WJCGCYPU.js +0 -18
- package/dist/cli-bundle/chunks/activity-Z6QUAUSG.js +0 -22
- package/dist/cli-bundle/chunks/aggregate-BDM6EIAR.js +0 -25
- package/dist/cli-bundle/chunks/aggregate-VQ2DHU3S.js +0 -21
- package/dist/cli-bundle/chunks/append-RKJYPU74.js +0 -15
- package/dist/cli-bundle/chunks/chunk-2XG4IZON.js +0 -218
- package/dist/cli-bundle/chunks/chunk-2XG4IZON.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-37E72CNS.js +0 -217
- package/dist/cli-bundle/chunks/chunk-37E72CNS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3GCS5SKL.js +0 -228
- package/dist/cli-bundle/chunks/chunk-3GCS5SKL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3KTN6IBA.js +0 -2330
- package/dist/cli-bundle/chunks/chunk-3KTN6IBA.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-3VHSI5FL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-425E4QL5.js +0 -278
- package/dist/cli-bundle/chunks/chunk-425E4QL5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-46CUF5L6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4BU75MF4.js +0 -87
- package/dist/cli-bundle/chunks/chunk-4BU75MF4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js +0 -249
- package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4IWYTWGF.js +0 -819
- package/dist/cli-bundle/chunks/chunk-4IWYTWGF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js +0 -279
- package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-57NWPFF2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js +0 -268
- package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5GZ7TDD6.js +0 -1868
- package/dist/cli-bundle/chunks/chunk-5GZ7TDD6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5VAA4YHR.js +0 -1749
- package/dist/cli-bundle/chunks/chunk-5VAA4YHR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-64YKRTSV.js +0 -1961
- package/dist/cli-bundle/chunks/chunk-64YKRTSV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7C2O74AE.js +0 -23
- package/dist/cli-bundle/chunks/chunk-7C2O74AE.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js +0 -421
- package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-C5JBZRPU.js +0 -1985
- package/dist/cli-bundle/chunks/chunk-C5JBZRPU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-CL36D4PC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-COSPOP7H.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-COWTDV6B.js +0 -3461
- package/dist/cli-bundle/chunks/chunk-COWTDV6B.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-DEWEK6AN.js +0 -1858
- package/dist/cli-bundle/chunks/chunk-DEWEK6AN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-E3SZTQ4K.js +0 -1932
- package/dist/cli-bundle/chunks/chunk-E3SZTQ4K.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-EKFNL33R.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ENGQOEUY.js +0 -1704
- package/dist/cli-bundle/chunks/chunk-ENGQOEUY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-EOKXK3R3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FLZSGSQR.js +0 -231
- package/dist/cli-bundle/chunks/chunk-FLZSGSQR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js +0 -2090
- package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-G24G7ZAV.js +0 -1570
- package/dist/cli-bundle/chunks/chunk-G24G7ZAV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js +0 -239
- package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GPLPTGOV.js +0 -530
- package/dist/cli-bundle/chunks/chunk-GPLPTGOV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-GZRDYONU.js +0 -1005
- package/dist/cli-bundle/chunks/chunk-GZRDYONU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js +0 -277
- package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js +0 -309
- package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-JINYH2DB.js +0 -371
- package/dist/cli-bundle/chunks/chunk-JINYH2DB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js +0 -2257
- package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-K46RF36U.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KERMZVY5.js +0 -371
- package/dist/cli-bundle/chunks/chunk-KERMZVY5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js +0 -76
- package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js +0 -140
- package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js +0 -1601
- package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MFAZSEM5.js +0 -1031
- package/dist/cli-bundle/chunks/chunk-MFAZSEM5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MFSCBT5Q.js +0 -995
- package/dist/cli-bundle/chunks/chunk-MFSCBT5Q.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js +0 -296
- package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MLIYFOE7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js +0 -2043
- package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js +0 -2033
- package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-N745W3B3.js +0 -1604
- package/dist/cli-bundle/chunks/chunk-N745W3B3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-NMP5I3I5.js +0 -1615
- package/dist/cli-bundle/chunks/chunk-NMP5I3I5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-NNHHXJB2.js +0 -20
- package/dist/cli-bundle/chunks/chunk-NNHHXJB2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js +0 -143
- package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QLMX7SRD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QX6HM775.js +0 -398
- package/dist/cli-bundle/chunks/chunk-QX6HM775.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QZ342C63.js +0 -220
- package/dist/cli-bundle/chunks/chunk-QZ342C63.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-R2EMWY7Q.js +0 -368
- package/dist/cli-bundle/chunks/chunk-R2EMWY7Q.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RFNYTESG.js +0 -520
- package/dist/cli-bundle/chunks/chunk-RFNYTESG.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js +0 -79
- package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js +0 -282
- package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js +0 -274
- package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SCUR7K7N.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SHQY2IDC.js +0 -1977
- package/dist/cli-bundle/chunks/chunk-SHQY2IDC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SPZ6DOGY.js +0 -1041
- package/dist/cli-bundle/chunks/chunk-SPZ6DOGY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-T42JWV3F.js +0 -822
- package/dist/cli-bundle/chunks/chunk-T42JWV3F.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TULGS6X6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TZXRBVAM.js +0 -2306
- package/dist/cli-bundle/chunks/chunk-TZXRBVAM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-VPIM42PC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-VQRSPVME.js +0 -368
- package/dist/cli-bundle/chunks/chunk-VQRSPVME.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-VY3VQ22F.js +0 -84
- package/dist/cli-bundle/chunks/chunk-VY3VQ22F.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js +0 -3423
- package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WLSM645P.js +0 -2247
- package/dist/cli-bundle/chunks/chunk-WLSM645P.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WRTENIX3.js +0 -215
- package/dist/cli-bundle/chunks/chunk-WRTENIX3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js +0 -388
- package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XC5BURG2.js +0 -306
- package/dist/cli-bundle/chunks/chunk-XC5BURG2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js +0 -424
- package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js +0 -2128
- package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js +0 -299
- package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ZSUS2OD3.js.map +0 -7
- package/dist/cli-bundle/chunks/claim-RFS7BROJ.js +0 -19
- package/dist/cli-bundle/chunks/claim-XP5AWZ5H.js +0 -23
- package/dist/cli-bundle/chunks/close-GEANHQ2J.js +0 -16
- package/dist/cli-bundle/chunks/close-many-CMZW7ITN.js +0 -31
- package/dist/cli-bundle/chunks/close-many-ZFDIG6M7.js +0 -27
- package/dist/cli-bundle/chunks/comments-MFSYVNNU.js +0 -21
- package/dist/cli-bundle/chunks/comments-XUBPXDYX.js +0 -17
- package/dist/cli-bundle/chunks/config-D7XQMONX.js +0 -18
- package/dist/cli-bundle/chunks/config-T4FHBSYN.js +0 -22
- package/dist/cli-bundle/chunks/context-DIU275XI.js +0 -48
- package/dist/cli-bundle/chunks/context-JCOYB4LZ.js +0 -44
- package/dist/cli-bundle/chunks/contracts-BVO7CSLK.js +0 -12
- package/dist/cli-bundle/chunks/copy-NAGLGMHZ.js +0 -13
- package/dist/cli-bundle/chunks/create-4V7SWNBB.js +0 -30
- package/dist/cli-bundle/chunks/delete-NQI5OSKN.js +0 -14
- package/dist/cli-bundle/chunks/deps-T7SCWXEX.js +0 -17
- package/dist/cli-bundle/chunks/docs-WL2IWGWV.js +0 -18
- package/dist/cli-bundle/chunks/eval-NF2J5SHR.js +0 -23
- package/dist/cli-bundle/chunks/eval-SKDT3MZU.js +0 -27
- package/dist/cli-bundle/chunks/extension-LAXKCAYE.js +0 -42
- package/dist/cli-bundle/chunks/extension-ZISPBRBC.js +0 -38
- package/dist/cli-bundle/chunks/files-EWRQHGIS.js +0 -22
- package/dist/cli-bundle/chunks/focus-4T7TM4MT.js +0 -18
- package/dist/cli-bundle/chunks/focus-L3YUASOD.js +0 -14
- package/dist/cli-bundle/chunks/gc-2PCTYYRI.js +0 -12
- package/dist/cli-bundle/chunks/get-7DMITJ3G.js +0 -23
- package/dist/cli-bundle/chunks/get-VKQXCXLL.js +0 -19
- package/dist/cli-bundle/chunks/health-CVSTAR2F.js +0 -31
- package/dist/cli-bundle/chunks/health-TV3GKTFN.js +0 -35
- package/dist/cli-bundle/chunks/history-D4JUX5XV.js +0 -20
- package/dist/cli-bundle/chunks/history-D4JUX5XV.js.map +0 -7
- package/dist/cli-bundle/chunks/history-LQ2UWZTE.js +0 -24
- package/dist/cli-bundle/chunks/history-LQ2UWZTE.js.map +0 -1
- package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js.map +0 -1
- package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js +0 -25
- package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js.map +0 -7
- package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js.map +0 -7
- package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js.map +0 -1
- package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js +0 -23
- package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js.map +0 -7
- package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js.map +0 -1
- package/dist/cli-bundle/chunks/init-C3LJPWQZ.js +0 -30
- package/dist/cli-bundle/chunks/init-C3LJPWQZ.js.map +0 -1
- package/dist/cli-bundle/chunks/init-J3DPGWQI.js +0 -26
- package/dist/cli-bundle/chunks/init-J3DPGWQI.js.map +0 -7
- package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js +0 -21
- package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js.map +0 -1
- package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js +0 -17
- package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js.map +0 -7
- package/dist/cli-bundle/chunks/list-O5NZVSPN.js +0 -36
- package/dist/cli-bundle/chunks/list-O5NZVSPN.js.map +0 -1
- package/dist/cli-bundle/chunks/list-Z55YCNTC.js +0 -32
- package/dist/cli-bundle/chunks/list-Z55YCNTC.js.map +0 -7
- package/dist/cli-bundle/chunks/next-GBNTGXFC.js +0 -28
- package/dist/cli-bundle/chunks/next-GBNTGXFC.js.map +0 -7
- package/dist/cli-bundle/chunks/next-QKW7PTKE.js +0 -32
- package/dist/cli-bundle/chunks/next-QKW7PTKE.js.map +0 -1
- package/dist/cli-bundle/chunks/notes-R5FZTKWF.js +0 -17
- package/dist/cli-bundle/chunks/notes-R5FZTKWF.js.map +0 -7
- package/dist/cli-bundle/chunks/notes-WCGIULVG.js +0 -21
- package/dist/cli-bundle/chunks/notes-WCGIULVG.js.map +0 -1
- package/dist/cli-bundle/chunks/plan-ADISFYH4.js +0 -29
- package/dist/cli-bundle/chunks/plan-ADISFYH4.js.map +0 -7
- package/dist/cli-bundle/chunks/plan-CHVE7PBR.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-LD23PSI6.js.map +0 -7
- package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-B42JCCOI.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-OEYQHFXO.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js +0 -19
- package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js +0 -23
- package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-5RQHAPMA.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-PNEIBBLW.js +0 -19
- package/dist/cli-bundle/chunks/restore-PNEIBBLW.js.map +0 -7
- package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js +0 -29
- package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js.map +0 -1
- package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js +0 -25
- package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js.map +0 -7
- package/dist/cli-bundle/chunks/schema-245WW4G2.js.map +0 -1
- package/dist/cli-bundle/chunks/schema-HBORFC6B.js.map +0 -7
- package/dist/cli-bundle/chunks/search-AOZC5SIK.js +0 -34
- package/dist/cli-bundle/chunks/search-AOZC5SIK.js.map +0 -7
- package/dist/cli-bundle/chunks/search-DRXPGHD7.js +0 -38
- package/dist/cli-bundle/chunks/search-DRXPGHD7.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-NJG4NLHG.js +0 -21
- package/dist/cli-bundle/chunks/stats-NJG4NLHG.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-RG6AG4N2.js +0 -17
- package/dist/cli-bundle/chunks/stats-RG6AG4N2.js.map +0 -7
- package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js +0 -14
- package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js.map +0 -7
- package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js +0 -18
- package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js.map +0 -1
- package/dist/cli-bundle/chunks/test-6CMOCWUC.js +0 -39
- package/dist/cli-bundle/chunks/test-6CMOCWUC.js.map +0 -7
- package/dist/cli-bundle/chunks/test-RI7XHBZL.js +0 -43
- package/dist/cli-bundle/chunks/test-RI7XHBZL.js.map +0 -1
- package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js +0 -29
- package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js.map +0 -7
- package/dist/cli-bundle/chunks/test-all-QEIORFYW.js +0 -33
- package/dist/cli-bundle/chunks/test-all-QEIORFYW.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js +0 -28
- package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js +0 -24
- package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js.map +0 -7
- package/dist/cli-bundle/chunks/update-QVJDFEAP.js +0 -30
- package/dist/cli-bundle/chunks/update-QVJDFEAP.js.map +0 -1
- package/dist/cli-bundle/chunks/update-VQVHAY6X.js +0 -26
- package/dist/cli-bundle/chunks/update-VQVHAY6X.js.map +0 -7
- package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js +0 -37
- package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js.map +0 -7
- package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js +0 -41
- package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js.map +0 -1
- package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js +0 -24
- package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js +0 -28
- package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-4NTXSB62.js +0 -36
- package/dist/cli-bundle/chunks/validate-4NTXSB62.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-MUFXQZMI.js +0 -32
- package/dist/cli-bundle/chunks/validate-MUFXQZMI.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-WJCGCYPU.js.map → append-CDPAYYSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-Z6QUAUSG.js.map → append-RSPHC423.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-24YG75HI.js.map → chunk-3FUXM574.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IWVU4C2F.js.map → chunk-3SHDAKMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MUH7A3FD.js.map → chunk-3V5C7PUH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EGY6JBQ3.js.map → chunk-4I7KS5ES.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GJ7QC5DJ.js.map → chunk-5STY7NVM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JJP45OEI.js.map → chunk-5VAZHYVQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-22KBU3MW.js.map → chunk-6RR4XM5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KUOOJR35.js.map → chunk-7QKSLAHB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NGXQ3PFT.js.map → chunk-7UCBLJDF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7DT4WSH2.js.map → chunk-BFNFTHWQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y46GD4IX.js.map → chunk-C3YU3TXX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AZYGZGGI.js.map → chunk-CGDUIPJL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XG625QP4.js.map → chunk-EP2CKDS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MVYWGY2A.js.map → chunk-J6AD3GWC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R5BMJX33.js.map → chunk-KFL3XHMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MWMVPCIE.js.map → chunk-PCBZ2VJD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B6DUFX6H.js.map → chunk-Q3CFSOQZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KGFUY7WN.js.map → chunk-TU5P744I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JDDLOQAE.js.map → chunk-UEATYUZW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JVH7QBVV.js.map → chunk-UFNFHCAC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AGHMOTGM.js.map → chunk-Z2JQH2MG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y4M7CPQP.js.map → chunk-ZMOPZFVT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-VQ2DHU3S.js.map → close-E3RLZSP2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-BDM6EIAR.js.map → close-K6BFI3OX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-BGML6VLD.js.map → close-many-6NBL3PM4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-RKJYPU74.js.map → close-many-X4YKS3RO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-XP5AWZ5H.js.map → comments-PLFK5ZKK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-RFS7BROJ.js.map → comments-ZNOD5PTV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-GEANHQ2J.js.map → copy-F7BUFY4J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-2SSSHHUZ.js.map → copy-VH3L4MN2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-ZFDIG6M7.js.map → create-AMBMYP6F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-CMZW7ITN.js.map → create-TRIBYORN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-XUBPXDYX.js.map → delete-6KQHZYIP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-MFSYVNNU.js.map → delete-ZNXUNCZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-D7XQMONX.js.map → deps-CVDY7FFK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-T4FHBSYN.js.map → deps-SZXQHV73.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-DIU275XI.js.map → docs-DR74ITCD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-JCOYB4LZ.js.map → docs-WCVYY6I7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-BVO7CSLK.js.map → files-H5YCA74Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-NYPEW2G4.js.map → files-QEFQ2M3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-32ROBIDL.js.map → focus-55TRYSNA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-NAGLGMHZ.js.map → focus-N2QGNS5D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-4V7SWNBB.js.map → history-compact-GWQ4UOEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-E77SDCUP.js.map → history-compact-JJZ4EFL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-NQI5OSKN.js.map → history-redact-4GJOLXCM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-RA5KTCLB.js.map → history-redact-TPPUT3A5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-T7SCWXEX.js.map → history-repair-HVCVCGUF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-32SU7HO5.js.map → history-repair-J7PIZ6ZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-RRUPT7O2.js.map → learnings-KB6BT4NR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-WL2IWGWV.js.map → learnings-YYY3U2Y7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-NF2J5SHR.js.map → notes-BGG7VL72.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-SKDT3MZU.js.map → notes-ZTHXVOKM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-LAXKCAYE.js.map → plan-CJPKFRBK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-ZISPBRBC.js.map → plan-MK2QY3GA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-PYKR2UUG.js.map → profile-AQNHXOYA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-EWRQHGIS.js.map → profile-HTBFINKQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-4T7TM4MT.js.map → restore-BTBEZ5CK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-L3YUASOD.js.map → restore-EX4UUZL6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-2PCTYYRI.js.map → schema-DGSTYYQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-2DNMPXMC.js.map → schema-HAIBEE24.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-7DMITJ3G.js.map → update-MP4XLU56.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-VKQXCXLL.js.map → update-SDIRJGSY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-CVSTAR2F.js.map → update-many-34AIU6W7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-TV3GKTFN.js.map → update-many-JUPCNOKV.js.map} +0 -0
|
@@ -1,819 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3b942722-344b-5a0e-9629-7a60719de19e")}catch(e){}}();
|
|
3
|
-
import {
|
|
4
|
-
refreshSearchArtifactsForMutation,
|
|
5
|
-
shouldRunSearchRefreshInForeground
|
|
6
|
-
} from "./chunk-EOKXK3R3.js";
|
|
7
|
-
import {
|
|
8
|
-
printError,
|
|
9
|
-
writeStdout
|
|
10
|
-
} from "./chunk-MLIYFOE7.js";
|
|
11
|
-
import {
|
|
12
|
-
ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
13
|
-
CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
14
|
-
CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,
|
|
15
|
-
CREATE_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
16
|
-
LIST_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
17
|
-
NEXT_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
18
|
-
SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
19
|
-
UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,
|
|
20
|
-
UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,
|
|
21
|
-
readFirstStringFromCommanderOptions,
|
|
22
|
-
readFirstValueFromCommanderOptions,
|
|
23
|
-
readStringArrayFromCommanderOptions
|
|
24
|
-
} from "./chunk-EGAP5OWD.js";
|
|
25
|
-
import {
|
|
26
|
-
PmCliError,
|
|
27
|
-
readSettings,
|
|
28
|
-
setActiveCommandResult
|
|
29
|
-
} from "./chunk-E3SZTQ4K.js";
|
|
30
|
-
import {
|
|
31
|
-
EXIT_CODE,
|
|
32
|
-
getSettingsPath,
|
|
33
|
-
pathExists,
|
|
34
|
-
resolvePmRoot
|
|
35
|
-
} from "./chunk-57NWPFF2.js";
|
|
36
|
-
|
|
37
|
-
// dist/cli/registration-helpers.js
|
|
38
|
-
var RESOLVED_GLOBAL_OPTIONS = /* @__PURE__ */ Symbol("pm.resolvedGlobalOptions");
|
|
39
|
-
function commandOptionsReader(command) {
|
|
40
|
-
return typeof command === "object" && command !== null ? command : {};
|
|
41
|
-
}
|
|
42
|
-
function resolveCommanderContract(contracts, target) {
|
|
43
|
-
const contract = contracts.find((entry) => entry.target === target);
|
|
44
|
-
return contract ?? { target, keys: [target] };
|
|
45
|
-
}
|
|
46
|
-
function setResolvedGlobalOptions(command, globalOptions) {
|
|
47
|
-
command[RESOLVED_GLOBAL_OPTIONS] = { ...globalOptions };
|
|
48
|
-
}
|
|
49
|
-
function clearResolvedGlobalOptions(command) {
|
|
50
|
-
delete command[RESOLVED_GLOBAL_OPTIONS];
|
|
51
|
-
}
|
|
52
|
-
function getGlobalOptions(command) {
|
|
53
|
-
const resolved = command[RESOLVED_GLOBAL_OPTIONS];
|
|
54
|
-
if (resolved) {
|
|
55
|
-
return { ...resolved };
|
|
56
|
-
}
|
|
57
|
-
const reader = commandOptionsReader(command);
|
|
58
|
-
const opts = typeof reader.optsWithGlobals === "function" ? reader.optsWithGlobals() : typeof reader.opts === "function" ? reader.opts() : {};
|
|
59
|
-
return {
|
|
60
|
-
json: opts.json === true ? true : void 0,
|
|
61
|
-
quiet: Boolean(opts.quiet),
|
|
62
|
-
noChangedFields: opts.changedFields === false,
|
|
63
|
-
idOnly: opts.idOnly === true,
|
|
64
|
-
path: typeof opts.pmPath === "string" ? opts.pmPath : typeof opts.path === "string" ? opts.path : void 0,
|
|
65
|
-
noExtensions: opts.extensions === false,
|
|
66
|
-
noPager: Boolean(opts.noPager),
|
|
67
|
-
profile: Boolean(opts.profile)
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function getCommandPath(command) {
|
|
71
|
-
const parts = [];
|
|
72
|
-
let current = command;
|
|
73
|
-
while (current?.parent) {
|
|
74
|
-
parts.unshift(current.name());
|
|
75
|
-
current = current.parent;
|
|
76
|
-
}
|
|
77
|
-
return parts.join(" ");
|
|
78
|
-
}
|
|
79
|
-
async function applyDefaultOutputFormat(globalOptions) {
|
|
80
|
-
if (globalOptions.json === true) {
|
|
81
|
-
return globalOptions;
|
|
82
|
-
}
|
|
83
|
-
const pmRoot = resolvePmRoot(process.cwd(), globalOptions.path);
|
|
84
|
-
if (!await pathExists(getSettingsPath(pmRoot))) {
|
|
85
|
-
return globalOptions;
|
|
86
|
-
}
|
|
87
|
-
const settings = await readSettings(pmRoot);
|
|
88
|
-
return {
|
|
89
|
-
...globalOptions,
|
|
90
|
-
defaultOutputFormat: settings.output.default_format
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function collect(value, previous) {
|
|
94
|
-
const next = previous ?? [];
|
|
95
|
-
next.push(value);
|
|
96
|
-
return next;
|
|
97
|
-
}
|
|
98
|
-
function pushOptionalValueFlag(args, flag, value) {
|
|
99
|
-
if (typeof value !== "string") {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const trimmed = value.trim();
|
|
103
|
-
if (trimmed.length === 0) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
args.push(flag, trimmed);
|
|
107
|
-
}
|
|
108
|
-
function pushOptionalBooleanFlag(args, flag, value) {
|
|
109
|
-
if (value === true) {
|
|
110
|
-
args.push(flag);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function pushRepeatableValueFlag(args, flag, values) {
|
|
114
|
-
if (!Array.isArray(values)) {
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
for (const value of values) {
|
|
118
|
-
if (typeof value !== "string") {
|
|
119
|
-
continue;
|
|
120
|
-
}
|
|
121
|
-
const trimmed = value.trim();
|
|
122
|
-
if (trimmed.length === 0) {
|
|
123
|
-
continue;
|
|
124
|
-
}
|
|
125
|
-
args.push(flag, trimmed);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function optionTrue(options, key) {
|
|
129
|
-
return options[key] === true ? true : void 0;
|
|
130
|
-
}
|
|
131
|
-
function optionFalse(options, key) {
|
|
132
|
-
return options[key] === false ? true : void 0;
|
|
133
|
-
}
|
|
134
|
-
function readOptionString(options, key) {
|
|
135
|
-
return typeof options[key] === "string" ? options[key] : void 0;
|
|
136
|
-
}
|
|
137
|
-
function anyOptionTrue(options, keys) {
|
|
138
|
-
return keys.some((key) => options[key] === true) ? true : void 0;
|
|
139
|
-
}
|
|
140
|
-
function copyUnknownOptions(target, source) {
|
|
141
|
-
for (const [key, value] of Object.entries(source)) {
|
|
142
|
-
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
143
|
-
continue;
|
|
144
|
-
}
|
|
145
|
-
if (Object.hasOwn(target, key)) {
|
|
146
|
-
continue;
|
|
147
|
-
}
|
|
148
|
-
target[key] = value;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
function buildBackgroundTestCommandArgs(id, options) {
|
|
152
|
-
const args = ["test", id, "--run", "--json", "--progress"];
|
|
153
|
-
pushRepeatableValueFlag(args, "--add", options.add);
|
|
154
|
-
pushRepeatableValueFlag(args, "--add-json", options.addJson);
|
|
155
|
-
pushRepeatableValueFlag(args, "--remove", options.remove);
|
|
156
|
-
pushOptionalValueFlag(args, "--match", options.match);
|
|
157
|
-
pushOptionalValueFlag(args, "--only-index", options.onlyIndex);
|
|
158
|
-
pushOptionalBooleanFlag(args, "--only-last", options.onlyLast);
|
|
159
|
-
pushOptionalValueFlag(args, "--timeout", options.timeout);
|
|
160
|
-
pushRepeatableValueFlag(args, "--env-set", options.envSet);
|
|
161
|
-
pushRepeatableValueFlag(args, "--env-clear", options.envClear);
|
|
162
|
-
pushOptionalBooleanFlag(args, "--shared-host-safe", options.sharedHostSafe);
|
|
163
|
-
pushOptionalValueFlag(args, "--pm-context", options.pmContext);
|
|
164
|
-
pushOptionalBooleanFlag(args, "--override-linked-pm-context", options.overrideLinkedPmContext);
|
|
165
|
-
pushOptionalBooleanFlag(args, "--fail-on-context-mismatch", options.failOnContextMismatch);
|
|
166
|
-
pushOptionalBooleanFlag(args, "--fail-on-skipped", options.failOnSkipped);
|
|
167
|
-
pushOptionalBooleanFlag(args, "--fail-on-empty-test-run", options.failOnEmptyTestRun);
|
|
168
|
-
pushOptionalBooleanFlag(args, "--require-assertions-for-pm", options.requireAssertionsForPm);
|
|
169
|
-
pushOptionalBooleanFlag(args, "--check-context", options.checkContext);
|
|
170
|
-
pushOptionalBooleanFlag(args, "--auto-pm-context", options.autoPmContext);
|
|
171
|
-
pushOptionalValueFlag(args, "--author", options.author);
|
|
172
|
-
pushOptionalValueFlag(args, "--message", options.message);
|
|
173
|
-
pushOptionalBooleanFlag(args, "--force", options.force);
|
|
174
|
-
return args;
|
|
175
|
-
}
|
|
176
|
-
function buildBackgroundTestAllCommandArgs(options) {
|
|
177
|
-
const args = ["test-all", "--json", "--progress"];
|
|
178
|
-
pushOptionalValueFlag(args, "--status", options.status);
|
|
179
|
-
pushOptionalValueFlag(args, "--limit", options.limit);
|
|
180
|
-
pushOptionalValueFlag(args, "--offset", options.offset);
|
|
181
|
-
pushOptionalValueFlag(args, "--timeout", options.timeout);
|
|
182
|
-
pushRepeatableValueFlag(args, "--env-set", options.envSet);
|
|
183
|
-
pushRepeatableValueFlag(args, "--env-clear", options.envClear);
|
|
184
|
-
pushOptionalBooleanFlag(args, "--shared-host-safe", options.sharedHostSafe);
|
|
185
|
-
pushOptionalValueFlag(args, "--pm-context", options.pmContext);
|
|
186
|
-
pushOptionalBooleanFlag(args, "--override-linked-pm-context", options.overrideLinkedPmContext);
|
|
187
|
-
pushOptionalBooleanFlag(args, "--fail-on-context-mismatch", options.failOnContextMismatch);
|
|
188
|
-
pushOptionalBooleanFlag(args, "--fail-on-skipped", options.failOnSkipped);
|
|
189
|
-
pushOptionalBooleanFlag(args, "--fail-on-empty-test-run", options.failOnEmptyTestRun);
|
|
190
|
-
pushOptionalBooleanFlag(args, "--require-assertions-for-pm", options.requireAssertionsForPm);
|
|
191
|
-
pushOptionalBooleanFlag(args, "--check-context", options.checkContext);
|
|
192
|
-
pushOptionalBooleanFlag(args, "--auto-pm-context", options.autoPmContext);
|
|
193
|
-
return args;
|
|
194
|
-
}
|
|
195
|
-
function formatHookWarnings(warnings) {
|
|
196
|
-
return warnings.join(",");
|
|
197
|
-
}
|
|
198
|
-
function normalizeCreateOptions(commandOptions, options = {}) {
|
|
199
|
-
const readCreateString = (target) => readFirstStringFromCommanderOptions(commandOptions, resolveCommanderContract(CREATE_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
200
|
-
const readCreateList = (target) => readStringArrayFromCommanderOptions(commandOptions, resolveCommanderContract(CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, target));
|
|
201
|
-
const type = readCreateString("type");
|
|
202
|
-
if (options.requireType !== false && type === void 0) {
|
|
203
|
-
throw new PmCliError("Missing required option --type <value>. Why required: create resolves runtime schema fields/workflow from item type. Retry: add --type <built-in or configured custom type> (example: --type Task).", EXIT_CODE.USAGE);
|
|
204
|
-
}
|
|
205
|
-
const normalized = {
|
|
206
|
-
title: readCreateString("title"),
|
|
207
|
-
description: readCreateString("description"),
|
|
208
|
-
type,
|
|
209
|
-
template: readCreateString("template"),
|
|
210
|
-
createMode: readCreateString("createMode"),
|
|
211
|
-
schedulePreset: readCreateString("schedulePreset"),
|
|
212
|
-
status: readCreateString("status"),
|
|
213
|
-
priority: readCreateString("priority"),
|
|
214
|
-
tags: readCreateString("tags"),
|
|
215
|
-
addTags: readCreateList("addTags"),
|
|
216
|
-
body: readCreateString("body"),
|
|
217
|
-
deadline: readCreateString("deadline"),
|
|
218
|
-
estimatedMinutes: readCreateString("estimatedMinutes"),
|
|
219
|
-
acceptanceCriteria: readCreateString("acceptanceCriteria"),
|
|
220
|
-
definitionOfReady: readCreateString("definitionOfReady"),
|
|
221
|
-
order: readCreateString("order"),
|
|
222
|
-
rank: readCreateString("rank"),
|
|
223
|
-
goal: readCreateString("goal"),
|
|
224
|
-
objective: readCreateString("objective"),
|
|
225
|
-
value: readCreateString("value"),
|
|
226
|
-
impact: readCreateString("impact"),
|
|
227
|
-
outcome: readCreateString("outcome"),
|
|
228
|
-
whyNow: readCreateString("whyNow"),
|
|
229
|
-
author: readCreateString("author"),
|
|
230
|
-
message: readCreateString("message"),
|
|
231
|
-
assignee: readCreateString("assignee"),
|
|
232
|
-
parent: readCreateString("parent"),
|
|
233
|
-
allowMissingParent: optionTrue(commandOptions, "allowMissingParent") === true,
|
|
234
|
-
reviewer: readCreateString("reviewer"),
|
|
235
|
-
risk: readCreateString("risk"),
|
|
236
|
-
confidence: readCreateString("confidence"),
|
|
237
|
-
sprint: readCreateString("sprint"),
|
|
238
|
-
release: readCreateString("release"),
|
|
239
|
-
blockedBy: readCreateString("blockedBy"),
|
|
240
|
-
blockedReason: readCreateString("blockedReason"),
|
|
241
|
-
unblockNote: readCreateString("unblockNote"),
|
|
242
|
-
reporter: readCreateString("reporter"),
|
|
243
|
-
severity: readCreateString("severity"),
|
|
244
|
-
environment: readCreateString("environment"),
|
|
245
|
-
reproSteps: readCreateString("reproSteps"),
|
|
246
|
-
resolution: readCreateString("resolution"),
|
|
247
|
-
expectedResult: readCreateString("expectedResult"),
|
|
248
|
-
actualResult: readCreateString("actualResult"),
|
|
249
|
-
affectedVersion: readCreateString("affectedVersion"),
|
|
250
|
-
fixedVersion: readCreateString("fixedVersion"),
|
|
251
|
-
component: readCreateString("component"),
|
|
252
|
-
regression: readCreateString("regression"),
|
|
253
|
-
customerImpact: readCreateString("customerImpact"),
|
|
254
|
-
dep: readCreateList("dep"),
|
|
255
|
-
comment: readCreateList("comment"),
|
|
256
|
-
note: readCreateList("note"),
|
|
257
|
-
learning: readCreateList("learning"),
|
|
258
|
-
file: readCreateList("file"),
|
|
259
|
-
test: readCreateList("test"),
|
|
260
|
-
doc: readCreateList("doc"),
|
|
261
|
-
reminder: readCreateList("reminder"),
|
|
262
|
-
event: readCreateList("event"),
|
|
263
|
-
typeOption: readCreateList("typeOption"),
|
|
264
|
-
field: readCreateList("field"),
|
|
265
|
-
unset: readCreateList("unset"),
|
|
266
|
-
clearDeps: optionTrue(commandOptions, "clearDeps"),
|
|
267
|
-
clearComments: optionTrue(commandOptions, "clearComments"),
|
|
268
|
-
clearNotes: optionTrue(commandOptions, "clearNotes"),
|
|
269
|
-
clearLearnings: optionTrue(commandOptions, "clearLearnings"),
|
|
270
|
-
clearFiles: optionTrue(commandOptions, "clearFiles"),
|
|
271
|
-
clearTests: optionTrue(commandOptions, "clearTests"),
|
|
272
|
-
clearDocs: optionTrue(commandOptions, "clearDocs"),
|
|
273
|
-
clearReminders: optionTrue(commandOptions, "clearReminders"),
|
|
274
|
-
clearEvents: optionTrue(commandOptions, "clearEvents"),
|
|
275
|
-
clearTypeOptions: optionTrue(commandOptions, "clearTypeOptions")
|
|
276
|
-
};
|
|
277
|
-
copyUnknownOptions(normalized, commandOptions);
|
|
278
|
-
return normalized;
|
|
279
|
-
}
|
|
280
|
-
function normalizeUpdateOptions(commandOptions) {
|
|
281
|
-
const readUpdateString = (target) => readFirstStringFromCommanderOptions(commandOptions, resolveCommanderContract(UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
282
|
-
const readUpdateList = (target) => readStringArrayFromCommanderOptions(commandOptions, resolveCommanderContract(UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, target));
|
|
283
|
-
const normalized = {
|
|
284
|
-
title: readUpdateString("title"),
|
|
285
|
-
description: readUpdateString("description"),
|
|
286
|
-
body: readUpdateString("body"),
|
|
287
|
-
status: readUpdateString("status"),
|
|
288
|
-
closeReason: readUpdateString("closeReason"),
|
|
289
|
-
priority: readUpdateString("priority"),
|
|
290
|
-
type: readUpdateString("type"),
|
|
291
|
-
tags: readUpdateString("tags"),
|
|
292
|
-
addTags: readUpdateList("addTags"),
|
|
293
|
-
removeTags: readUpdateList("removeTags"),
|
|
294
|
-
deadline: readUpdateString("deadline"),
|
|
295
|
-
estimatedMinutes: readUpdateString("estimatedMinutes"),
|
|
296
|
-
acceptanceCriteria: readUpdateString("acceptanceCriteria"),
|
|
297
|
-
definitionOfReady: readUpdateString("definitionOfReady"),
|
|
298
|
-
order: readUpdateString("order"),
|
|
299
|
-
rank: readUpdateString("rank"),
|
|
300
|
-
goal: readUpdateString("goal"),
|
|
301
|
-
objective: readUpdateString("objective"),
|
|
302
|
-
value: readUpdateString("value"),
|
|
303
|
-
impact: readUpdateString("impact"),
|
|
304
|
-
outcome: readUpdateString("outcome"),
|
|
305
|
-
whyNow: readUpdateString("whyNow"),
|
|
306
|
-
author: readUpdateString("author"),
|
|
307
|
-
message: readUpdateString("message"),
|
|
308
|
-
force: Boolean(commandOptions.force),
|
|
309
|
-
allowAuditUpdate: anyOptionTrue(commandOptions, ["allowAuditUpdate", "allow_audit_update"]),
|
|
310
|
-
allowAuditDepUpdate: anyOptionTrue(commandOptions, ["allowAuditDepUpdate", "allow_audit_dep_update"]),
|
|
311
|
-
assignee: readUpdateString("assignee"),
|
|
312
|
-
parent: readUpdateString("parent"),
|
|
313
|
-
reviewer: readUpdateString("reviewer"),
|
|
314
|
-
risk: readUpdateString("risk"),
|
|
315
|
-
confidence: readUpdateString("confidence"),
|
|
316
|
-
sprint: readUpdateString("sprint"),
|
|
317
|
-
release: readUpdateString("release"),
|
|
318
|
-
blockedBy: readUpdateString("blockedBy"),
|
|
319
|
-
blockedReason: readUpdateString("blockedReason"),
|
|
320
|
-
unblockNote: readUpdateString("unblockNote"),
|
|
321
|
-
reporter: readUpdateString("reporter"),
|
|
322
|
-
severity: readUpdateString("severity"),
|
|
323
|
-
environment: readUpdateString("environment"),
|
|
324
|
-
reproSteps: readUpdateString("reproSteps"),
|
|
325
|
-
resolution: readUpdateString("resolution"),
|
|
326
|
-
expectedResult: readUpdateString("expectedResult"),
|
|
327
|
-
actualResult: readUpdateString("actualResult"),
|
|
328
|
-
affectedVersion: readUpdateString("affectedVersion"),
|
|
329
|
-
fixedVersion: readUpdateString("fixedVersion"),
|
|
330
|
-
component: readUpdateString("component"),
|
|
331
|
-
regression: readUpdateString("regression"),
|
|
332
|
-
customerImpact: readUpdateString("customerImpact"),
|
|
333
|
-
dep: readUpdateList("dep"),
|
|
334
|
-
depRemove: readUpdateList("depRemove"),
|
|
335
|
-
replaceDeps: optionTrue(commandOptions, "replaceDeps"),
|
|
336
|
-
replaceTests: optionTrue(commandOptions, "replaceTests"),
|
|
337
|
-
comment: readUpdateList("comment"),
|
|
338
|
-
note: readUpdateList("note"),
|
|
339
|
-
learning: readUpdateList("learning"),
|
|
340
|
-
file: readUpdateList("file"),
|
|
341
|
-
test: readUpdateList("test"),
|
|
342
|
-
doc: readUpdateList("doc"),
|
|
343
|
-
reminder: readUpdateList("reminder"),
|
|
344
|
-
event: readUpdateList("event"),
|
|
345
|
-
typeOption: readUpdateList("typeOption"),
|
|
346
|
-
field: readUpdateList("field"),
|
|
347
|
-
unset: readUpdateList("unset"),
|
|
348
|
-
clearDeps: optionTrue(commandOptions, "clearDeps"),
|
|
349
|
-
clearComments: optionTrue(commandOptions, "clearComments"),
|
|
350
|
-
clearNotes: optionTrue(commandOptions, "clearNotes"),
|
|
351
|
-
clearLearnings: optionTrue(commandOptions, "clearLearnings"),
|
|
352
|
-
clearFiles: optionTrue(commandOptions, "clearFiles"),
|
|
353
|
-
clearTests: optionTrue(commandOptions, "clearTests"),
|
|
354
|
-
clearDocs: optionTrue(commandOptions, "clearDocs"),
|
|
355
|
-
clearReminders: optionTrue(commandOptions, "clearReminders"),
|
|
356
|
-
clearEvents: optionTrue(commandOptions, "clearEvents"),
|
|
357
|
-
clearTypeOptions: optionTrue(commandOptions, "clearTypeOptions")
|
|
358
|
-
};
|
|
359
|
-
copyUnknownOptions(normalized, commandOptions);
|
|
360
|
-
return normalized;
|
|
361
|
-
}
|
|
362
|
-
var UPDATE_MANY_CONTROL_OPTION_KEYS = /* @__PURE__ */ new Set([
|
|
363
|
-
"filterStatus",
|
|
364
|
-
"filterType",
|
|
365
|
-
"filterTag",
|
|
366
|
-
"filterPriority",
|
|
367
|
-
"filterDeadlineBefore",
|
|
368
|
-
"filterDeadlineAfter",
|
|
369
|
-
"filterUpdatedAfter",
|
|
370
|
-
"filterUpdatedBefore",
|
|
371
|
-
"filterCreatedAfter",
|
|
372
|
-
"filterCreatedBefore",
|
|
373
|
-
"filterAssignee",
|
|
374
|
-
"filterAssigneeFilter",
|
|
375
|
-
"filterAssignee_filter",
|
|
376
|
-
"filterParent",
|
|
377
|
-
"filterSprint",
|
|
378
|
-
"filterRelease",
|
|
379
|
-
"filterAcMissing",
|
|
380
|
-
"filterEstimatesMissing",
|
|
381
|
-
"filterEstimateMissing",
|
|
382
|
-
"filterResolutionMissing",
|
|
383
|
-
"filterMetadataMissing",
|
|
384
|
-
"filterReviewerMissing",
|
|
385
|
-
"filterRiskMissing",
|
|
386
|
-
"filterConfidenceMissing",
|
|
387
|
-
"filterSprintMissing",
|
|
388
|
-
"filterReleaseMissing",
|
|
389
|
-
"filterHasNotes",
|
|
390
|
-
"filterNoNotes",
|
|
391
|
-
"filterHasLearnings",
|
|
392
|
-
"filterNoLearnings",
|
|
393
|
-
"filterHasFiles",
|
|
394
|
-
"filterNoFiles",
|
|
395
|
-
"filterHasDocs",
|
|
396
|
-
"filterNoDocs",
|
|
397
|
-
"filterHasTests",
|
|
398
|
-
"filterNoTests",
|
|
399
|
-
"filterHasComments",
|
|
400
|
-
"filterNoComments",
|
|
401
|
-
"filterHasDeps",
|
|
402
|
-
"filterNoDeps",
|
|
403
|
-
"filterHasBody",
|
|
404
|
-
"filterEmptyBody",
|
|
405
|
-
"filterHasLinkedCommand",
|
|
406
|
-
"filterNoLinkedCommand",
|
|
407
|
-
"ids",
|
|
408
|
-
"limit",
|
|
409
|
-
"offset",
|
|
410
|
-
"dryRun",
|
|
411
|
-
"rollback",
|
|
412
|
-
"checkpoint"
|
|
413
|
-
]);
|
|
414
|
-
function extractUpdateManyMutationOptionSource(commandOptions) {
|
|
415
|
-
const mutationOptions = {};
|
|
416
|
-
for (const [key, value] of Object.entries(commandOptions)) {
|
|
417
|
-
if (UPDATE_MANY_CONTROL_OPTION_KEYS.has(key)) {
|
|
418
|
-
continue;
|
|
419
|
-
}
|
|
420
|
-
mutationOptions[key] = value;
|
|
421
|
-
}
|
|
422
|
-
return mutationOptions;
|
|
423
|
-
}
|
|
424
|
-
function readListOptionString(options, target) {
|
|
425
|
-
const contract = resolveCommanderContract(LIST_COMMANDER_STRING_OPTION_CONTRACTS, target);
|
|
426
|
-
const stringValue = readFirstStringFromCommanderOptions(options, contract);
|
|
427
|
-
if (stringValue !== void 0) {
|
|
428
|
-
return stringValue;
|
|
429
|
-
}
|
|
430
|
-
for (const key of contract.keys) {
|
|
431
|
-
const value = options[key];
|
|
432
|
-
if (target === "ids" && typeof value === "string") {
|
|
433
|
-
return value;
|
|
434
|
-
}
|
|
435
|
-
if (typeof value === "number" && Number.isFinite(value)) {
|
|
436
|
-
return String(value);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
return void 0;
|
|
440
|
-
}
|
|
441
|
-
function readSelectionFilterOptionFields(options) {
|
|
442
|
-
const filterFilesMissing = optionTrue(options, "filterFilesMissing");
|
|
443
|
-
const filterDocsMissing = optionTrue(options, "filterDocsMissing");
|
|
444
|
-
return {
|
|
445
|
-
filterReviewerMissing: optionTrue(options, "filterReviewerMissing"),
|
|
446
|
-
filterRiskMissing: optionTrue(options, "filterRiskMissing"),
|
|
447
|
-
filterConfidenceMissing: optionTrue(options, "filterConfidenceMissing"),
|
|
448
|
-
filterSprintMissing: optionTrue(options, "filterSprintMissing"),
|
|
449
|
-
filterReleaseMissing: optionTrue(options, "filterReleaseMissing"),
|
|
450
|
-
hasNotes: optionTrue(options, "hasNotes"),
|
|
451
|
-
hasLearnings: optionTrue(options, "hasLearnings"),
|
|
452
|
-
hasFiles: optionTrue(options, "hasFiles"),
|
|
453
|
-
hasDocs: optionTrue(options, "hasDocs"),
|
|
454
|
-
hasTests: optionTrue(options, "hasTests"),
|
|
455
|
-
hasComments: optionTrue(options, "hasComments"),
|
|
456
|
-
hasDeps: optionTrue(options, "hasDeps"),
|
|
457
|
-
hasBody: optionTrue(options, "hasBody"),
|
|
458
|
-
hasLinkedCommand: optionTrue(options, "hasLinkedCommand"),
|
|
459
|
-
noNotes: optionFalse(options, "notes"),
|
|
460
|
-
noLearnings: optionFalse(options, "learnings"),
|
|
461
|
-
noFiles: optionFalse(options, "files") ?? filterFilesMissing,
|
|
462
|
-
filterFilesMissing,
|
|
463
|
-
noDocs: optionFalse(options, "docs") ?? filterDocsMissing,
|
|
464
|
-
filterDocsMissing,
|
|
465
|
-
noTests: optionFalse(options, "tests"),
|
|
466
|
-
noComments: optionFalse(options, "comments"),
|
|
467
|
-
noDeps: optionFalse(options, "deps"),
|
|
468
|
-
emptyBody: optionTrue(options, "emptyBody"),
|
|
469
|
-
noLinkedCommand: optionFalse(options, "linkedCommand")
|
|
470
|
-
};
|
|
471
|
-
}
|
|
472
|
-
function normalizeListOptions(options) {
|
|
473
|
-
const normalized = {
|
|
474
|
-
status: readListOptionString(options, "status"),
|
|
475
|
-
type: readListOptionString(options, "type"),
|
|
476
|
-
tag: readListOptionString(options, "tag"),
|
|
477
|
-
priority: readListOptionString(options, "priority"),
|
|
478
|
-
deadlineBefore: readListOptionString(options, "deadlineBefore"),
|
|
479
|
-
deadlineAfter: readListOptionString(options, "deadlineAfter"),
|
|
480
|
-
updatedAfter: readListOptionString(options, "updatedAfter"),
|
|
481
|
-
updatedBefore: readListOptionString(options, "updatedBefore"),
|
|
482
|
-
createdAfter: readListOptionString(options, "createdAfter"),
|
|
483
|
-
createdBefore: readListOptionString(options, "createdBefore"),
|
|
484
|
-
ids: readListOptionString(options, "ids"),
|
|
485
|
-
assignee: readListOptionString(options, "assignee"),
|
|
486
|
-
assigneeFilter: readListOptionString(options, "assigneeFilter"),
|
|
487
|
-
parent: readListOptionString(options, "parent"),
|
|
488
|
-
sprint: readListOptionString(options, "sprint"),
|
|
489
|
-
release: readListOptionString(options, "release"),
|
|
490
|
-
limit: readListOptionString(options, "limit"),
|
|
491
|
-
offset: readListOptionString(options, "offset"),
|
|
492
|
-
// Commander stores --no-truncate as truncate=false; --all is the positive alias.
|
|
493
|
-
noTruncate: optionFalse(options, "truncate") ?? optionTrue(options, "all"),
|
|
494
|
-
includeBody: optionTrue(options, "includeBody"),
|
|
495
|
-
compact: optionTrue(options, "compact"),
|
|
496
|
-
brief: optionTrue(options, "brief"),
|
|
497
|
-
full: optionTrue(options, "full"),
|
|
498
|
-
fields: readListOptionString(options, "fields"),
|
|
499
|
-
sort: readListOptionString(options, "sort"),
|
|
500
|
-
order: readListOptionString(options, "order"),
|
|
501
|
-
tree: optionTrue(options, "tree"),
|
|
502
|
-
treeDepth: readListOptionString(options, "treeDepth"),
|
|
503
|
-
filterAcMissing: optionTrue(options, "filterAcMissing"),
|
|
504
|
-
filterEstimatesMissing: anyOptionTrue(options, ["filterEstimatesMissing", "filterEstimateMissing"]),
|
|
505
|
-
filterResolutionMissing: optionTrue(options, "filterResolutionMissing"),
|
|
506
|
-
filterMetadataMissing: optionTrue(options, "filterMetadataMissing"),
|
|
507
|
-
// Governance-missing (GH-236) + content presence/absence (GH-242) filters.
|
|
508
|
-
...readSelectionFilterOptionFields(options)
|
|
509
|
-
};
|
|
510
|
-
copyUnknownOptions(normalized, options);
|
|
511
|
-
return normalized;
|
|
512
|
-
}
|
|
513
|
-
function normalizeAggregateOptions(options) {
|
|
514
|
-
return {
|
|
515
|
-
groupBy: typeof options.groupBy === "string" ? options.groupBy : void 0,
|
|
516
|
-
count: options.count === true ? true : void 0,
|
|
517
|
-
completion: options.completion === true ? true : void 0,
|
|
518
|
-
sum: typeof options.sum === "string" ? options.sum : void 0,
|
|
519
|
-
avg: typeof options.avg === "string" ? options.avg : void 0,
|
|
520
|
-
includeUnparented: options.includeUnparented === true || options.include_unparented === true,
|
|
521
|
-
status: typeof options.status === "string" ? options.status : void 0,
|
|
522
|
-
type: readListOptionString(options, "type"),
|
|
523
|
-
tag: readListOptionString(options, "tag"),
|
|
524
|
-
priority: readListOptionString(options, "priority"),
|
|
525
|
-
deadlineBefore: readListOptionString(options, "deadlineBefore"),
|
|
526
|
-
deadlineAfter: readListOptionString(options, "deadlineAfter"),
|
|
527
|
-
assignee: readListOptionString(options, "assignee"),
|
|
528
|
-
assigneeFilter: readListOptionString(options, "assigneeFilter"),
|
|
529
|
-
parent: readListOptionString(options, "parent"),
|
|
530
|
-
sprint: readListOptionString(options, "sprint"),
|
|
531
|
-
release: readListOptionString(options, "release")
|
|
532
|
-
};
|
|
533
|
-
}
|
|
534
|
-
function printListJsonStream(commandName, result, globalOptions) {
|
|
535
|
-
setActiveCommandResult(result);
|
|
536
|
-
if (globalOptions.quiet) {
|
|
537
|
-
return;
|
|
538
|
-
}
|
|
539
|
-
const warnings = Array.isArray(result.warnings) ? result.warnings : [];
|
|
540
|
-
const metaPayload = {
|
|
541
|
-
type: "meta",
|
|
542
|
-
command: commandName,
|
|
543
|
-
count: result.count,
|
|
544
|
-
now: result.now,
|
|
545
|
-
filters: result.filters
|
|
546
|
-
};
|
|
547
|
-
if (warnings.length > 0) {
|
|
548
|
-
metaPayload.warnings = warnings;
|
|
549
|
-
}
|
|
550
|
-
if (!writeStdout(`${JSON.stringify(metaPayload)}
|
|
551
|
-
`)) {
|
|
552
|
-
return;
|
|
553
|
-
}
|
|
554
|
-
for (const item of result.items) {
|
|
555
|
-
if (!writeStdout(`${JSON.stringify({ type: "item", command: commandName, item })}
|
|
556
|
-
`)) {
|
|
557
|
-
return;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
writeStdout(`${JSON.stringify({ type: "end", command: commandName, count: result.count })}
|
|
561
|
-
`);
|
|
562
|
-
}
|
|
563
|
-
function printActivityJsonStream(result, options, globalOptions) {
|
|
564
|
-
setActiveCommandResult(result);
|
|
565
|
-
if (globalOptions.quiet) {
|
|
566
|
-
return;
|
|
567
|
-
}
|
|
568
|
-
const metaPayload = {
|
|
569
|
-
type: "meta",
|
|
570
|
-
command: "activity",
|
|
571
|
-
count: result.count,
|
|
572
|
-
filters: {
|
|
573
|
-
id: options.id ?? null,
|
|
574
|
-
op: options.op ?? null,
|
|
575
|
-
author: options.author ?? null,
|
|
576
|
-
from: options.from ?? null,
|
|
577
|
-
to: options.to ?? null,
|
|
578
|
-
limit: options.limit ?? null
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
if (!writeStdout(`${JSON.stringify(metaPayload)}
|
|
582
|
-
`)) {
|
|
583
|
-
return;
|
|
584
|
-
}
|
|
585
|
-
const entries = result.compact && result.compact_activity ? result.compact_activity : result.activity;
|
|
586
|
-
for (const entry of entries) {
|
|
587
|
-
if (!writeStdout(`${JSON.stringify({ type: "entry", command: "activity", entry })}
|
|
588
|
-
`)) {
|
|
589
|
-
return;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
writeStdout(`${JSON.stringify({ type: "end", command: "activity", count: result.count })}
|
|
593
|
-
`);
|
|
594
|
-
}
|
|
595
|
-
function normalizeSearchOptions(options) {
|
|
596
|
-
const readSearchString = (target) => readFirstStringFromCommanderOptions(options, resolveCommanderContract(SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
597
|
-
const readSearchStringOrNumber = (target) => {
|
|
598
|
-
const candidate = readFirstValueFromCommanderOptions(options, resolveCommanderContract(SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
599
|
-
if (typeof candidate === "string") {
|
|
600
|
-
return candidate;
|
|
601
|
-
}
|
|
602
|
-
if (typeof candidate === "number" && Number.isFinite(candidate)) {
|
|
603
|
-
return candidate;
|
|
604
|
-
}
|
|
605
|
-
return void 0;
|
|
606
|
-
};
|
|
607
|
-
const fields = readSearchString("fields");
|
|
608
|
-
const compactRequested = options.compact === true;
|
|
609
|
-
const fullRequested = options.full === true;
|
|
610
|
-
const defaultCompact = !compactRequested && !fullRequested && fields === void 0;
|
|
611
|
-
const mode = options.semantic === true ? "semantic" : options.hybrid === true ? "hybrid" : readSearchString("mode");
|
|
612
|
-
const normalized = {
|
|
613
|
-
mode,
|
|
614
|
-
matchMode: readSearchString("matchMode"),
|
|
615
|
-
minScore: readSearchStringOrNumber("minScore"),
|
|
616
|
-
count: optionTrue(options, "count"),
|
|
617
|
-
semanticWeight: readSearchStringOrNumber("semanticWeight"),
|
|
618
|
-
includeLinked: optionTrue(options, "includeLinked"),
|
|
619
|
-
titleExact: optionTrue(options, "titleExact"),
|
|
620
|
-
phraseExact: optionTrue(options, "phraseExact"),
|
|
621
|
-
highlight: optionTrue(options, "highlight"),
|
|
622
|
-
status: readSearchString("status"),
|
|
623
|
-
type: readSearchString("type"),
|
|
624
|
-
tag: readSearchString("tag"),
|
|
625
|
-
priority: readSearchString("priority"),
|
|
626
|
-
deadlineBefore: readSearchString("deadlineBefore"),
|
|
627
|
-
deadlineAfter: readSearchString("deadlineAfter"),
|
|
628
|
-
updatedAfter: readSearchString("updatedAfter"),
|
|
629
|
-
updatedBefore: readSearchString("updatedBefore"),
|
|
630
|
-
createdAfter: readSearchString("createdAfter"),
|
|
631
|
-
createdBefore: readSearchString("createdBefore"),
|
|
632
|
-
assignee: readSearchString("assignee"),
|
|
633
|
-
sprint: readSearchString("sprint"),
|
|
634
|
-
release: readSearchString("release"),
|
|
635
|
-
parent: readSearchString("parent"),
|
|
636
|
-
limit: readSearchString("limit"),
|
|
637
|
-
fields,
|
|
638
|
-
compact: compactRequested || defaultCompact ? true : void 0,
|
|
639
|
-
full: optionTrue(options, "full"),
|
|
640
|
-
// Governance-missing (GH-236) + content presence/absence (GH-242) filters,
|
|
641
|
-
// mirroring normalizeListOptions via the shared field slice.
|
|
642
|
-
...readSelectionFilterOptionFields(options)
|
|
643
|
-
};
|
|
644
|
-
copyUnknownOptions(normalized, options);
|
|
645
|
-
return normalized;
|
|
646
|
-
}
|
|
647
|
-
function normalizeSearchKeywordsInput(keywords) {
|
|
648
|
-
const query = keywords.map((entry) => entry.trim()).filter((entry) => entry.length > 0).join(" ");
|
|
649
|
-
if (query.length === 0) {
|
|
650
|
-
throw new PmCliError("Search query must not be empty", EXIT_CODE.USAGE);
|
|
651
|
-
}
|
|
652
|
-
return query;
|
|
653
|
-
}
|
|
654
|
-
function normalizeActivityOptions(options) {
|
|
655
|
-
const readActivityString = (target) => readFirstStringFromCommanderOptions(options, resolveCommanderContract(ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
656
|
-
return {
|
|
657
|
-
id: readActivityString("id"),
|
|
658
|
-
op: readActivityString("op"),
|
|
659
|
-
author: readActivityString("author"),
|
|
660
|
-
from: readActivityString("from"),
|
|
661
|
-
to: readActivityString("to"),
|
|
662
|
-
limit: readActivityString("limit"),
|
|
663
|
-
compact: options.full === true ? false : options.compact === false ? false : true
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
var ACTIVITY_STREAM_ENABLED_VALUES = /* @__PURE__ */ new Set(["", "rows", "ndjson", "jsonl", "true", "1", "yes", "on"]);
|
|
667
|
-
var ACTIVITY_STREAM_DISABLED_VALUES = /* @__PURE__ */ new Set(["false", "off", "none", "0"]);
|
|
668
|
-
function resolveActivityStreamMode(raw) {
|
|
669
|
-
if (raw === true) {
|
|
670
|
-
return true;
|
|
671
|
-
}
|
|
672
|
-
if (raw === false || raw === void 0 || raw === null) {
|
|
673
|
-
return false;
|
|
674
|
-
}
|
|
675
|
-
if (typeof raw === "string") {
|
|
676
|
-
const normalized = raw.trim().toLowerCase();
|
|
677
|
-
if (ACTIVITY_STREAM_ENABLED_VALUES.has(normalized)) {
|
|
678
|
-
return true;
|
|
679
|
-
}
|
|
680
|
-
if (ACTIVITY_STREAM_DISABLED_VALUES.has(normalized)) {
|
|
681
|
-
return false;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
throw new PmCliError("Activity --stream accepts rows|ndjson|jsonl (or no value)", EXIT_CODE.USAGE);
|
|
685
|
-
}
|
|
686
|
-
function normalizeContextOptions(options) {
|
|
687
|
-
const readContextString = (target) => readFirstStringFromCommanderOptions(options, resolveCommanderContract(CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
688
|
-
const sectionRaw = options.section;
|
|
689
|
-
const section = Array.isArray(sectionRaw) ? sectionRaw.filter((v) => typeof v === "string" && v.trim().length > 0) : typeof sectionRaw === "string" && sectionRaw.trim().length > 0 ? [sectionRaw] : void 0;
|
|
690
|
-
const normalized = {
|
|
691
|
-
date: readContextString("date"),
|
|
692
|
-
from: readContextString("from"),
|
|
693
|
-
to: readContextString("to"),
|
|
694
|
-
past: options.past === true ? true : void 0,
|
|
695
|
-
type: readContextString("type"),
|
|
696
|
-
tag: readContextString("tag"),
|
|
697
|
-
priority: readContextString("priority"),
|
|
698
|
-
assignee: readContextString("assignee"),
|
|
699
|
-
assigneeFilter: readContextString("assigneeFilter"),
|
|
700
|
-
sprint: readContextString("sprint"),
|
|
701
|
-
release: readContextString("release"),
|
|
702
|
-
parent: readContextString("parent"),
|
|
703
|
-
limit: readContextString("limit"),
|
|
704
|
-
format: readContextString("format"),
|
|
705
|
-
depth: readContextString("depth"),
|
|
706
|
-
fields: readContextString("fields"),
|
|
707
|
-
section: section && section.length > 0 ? section : void 0,
|
|
708
|
-
activityLimit: readContextString("activityLimit"),
|
|
709
|
-
staleThreshold: readContextString("staleThreshold")
|
|
710
|
-
};
|
|
711
|
-
for (const [key, value] of Object.entries(options)) {
|
|
712
|
-
if (Object.hasOwn(normalized, key)) {
|
|
713
|
-
continue;
|
|
714
|
-
}
|
|
715
|
-
normalized[key] = value;
|
|
716
|
-
}
|
|
717
|
-
return normalized;
|
|
718
|
-
}
|
|
719
|
-
function normalizeNextOptions(options) {
|
|
720
|
-
const readNextString = (target) => readFirstStringFromCommanderOptions(options, resolveCommanderContract(NEXT_COMMANDER_STRING_OPTION_CONTRACTS, target));
|
|
721
|
-
const normalized = {
|
|
722
|
-
type: readNextString("type"),
|
|
723
|
-
tag: readNextString("tag"),
|
|
724
|
-
priority: readNextString("priority"),
|
|
725
|
-
assignee: readNextString("assignee"),
|
|
726
|
-
assigneeFilter: readNextString("assigneeFilter"),
|
|
727
|
-
sprint: readNextString("sprint"),
|
|
728
|
-
release: readNextString("release"),
|
|
729
|
-
parent: readNextString("parent"),
|
|
730
|
-
limit: readNextString("limit"),
|
|
731
|
-
blockedLimit: readNextString("blockedLimit"),
|
|
732
|
-
readyOnly: options.readyOnly === true || options.ready_only === true ? true : void 0,
|
|
733
|
-
format: readNextString("format")
|
|
734
|
-
};
|
|
735
|
-
for (const [key, value] of Object.entries(options)) {
|
|
736
|
-
if (Object.hasOwn(normalized, key)) {
|
|
737
|
-
continue;
|
|
738
|
-
}
|
|
739
|
-
normalized[key] = value;
|
|
740
|
-
}
|
|
741
|
-
return normalized;
|
|
742
|
-
}
|
|
743
|
-
function collectMutationItemIds(result) {
|
|
744
|
-
if (!result || typeof result !== "object") {
|
|
745
|
-
return [];
|
|
746
|
-
}
|
|
747
|
-
const record = result;
|
|
748
|
-
const ids = /* @__PURE__ */ new Set();
|
|
749
|
-
const pushId = (value) => {
|
|
750
|
-
if (typeof value !== "string") {
|
|
751
|
-
return;
|
|
752
|
-
}
|
|
753
|
-
const normalized = value.trim();
|
|
754
|
-
if (normalized.length === 0) {
|
|
755
|
-
return;
|
|
756
|
-
}
|
|
757
|
-
ids.add(normalized);
|
|
758
|
-
};
|
|
759
|
-
pushId(record.id);
|
|
760
|
-
const item = record.item;
|
|
761
|
-
if (item && typeof item === "object") {
|
|
762
|
-
pushId(item.id);
|
|
763
|
-
}
|
|
764
|
-
const explicitIds = record.ids;
|
|
765
|
-
if (Array.isArray(explicitIds)) {
|
|
766
|
-
for (const candidate of explicitIds) {
|
|
767
|
-
pushId(candidate);
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
const items = record.items;
|
|
771
|
-
if (Array.isArray(items)) {
|
|
772
|
-
for (const candidate of items) {
|
|
773
|
-
if (!candidate || typeof candidate !== "object") {
|
|
774
|
-
continue;
|
|
775
|
-
}
|
|
776
|
-
pushId(candidate.id);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
return [...ids].sort((left, right) => left.localeCompare(right));
|
|
780
|
-
}
|
|
781
|
-
async function invalidateSearchCachesForMutation(globalOptions, result) {
|
|
782
|
-
const pmRoot = resolvePmRoot(process.cwd(), globalOptions.path);
|
|
783
|
-
const refreshResult = await refreshSearchArtifactsForMutation(pmRoot, collectMutationItemIds(result), {
|
|
784
|
-
background: !shouldRunSearchRefreshInForeground()
|
|
785
|
-
});
|
|
786
|
-
if (globalOptions.profile && refreshResult.warnings.length > 0) {
|
|
787
|
-
printError(`profile:search_refresh_warnings=${formatHookWarnings(refreshResult.warnings)}`);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export {
|
|
792
|
-
setResolvedGlobalOptions,
|
|
793
|
-
clearResolvedGlobalOptions,
|
|
794
|
-
getGlobalOptions,
|
|
795
|
-
getCommandPath,
|
|
796
|
-
applyDefaultOutputFormat,
|
|
797
|
-
collect,
|
|
798
|
-
readOptionString,
|
|
799
|
-
buildBackgroundTestCommandArgs,
|
|
800
|
-
buildBackgroundTestAllCommandArgs,
|
|
801
|
-
formatHookWarnings,
|
|
802
|
-
normalizeCreateOptions,
|
|
803
|
-
normalizeUpdateOptions,
|
|
804
|
-
extractUpdateManyMutationOptionSource,
|
|
805
|
-
normalizeListOptions,
|
|
806
|
-
normalizeAggregateOptions,
|
|
807
|
-
printListJsonStream,
|
|
808
|
-
printActivityJsonStream,
|
|
809
|
-
normalizeSearchOptions,
|
|
810
|
-
normalizeSearchKeywordsInput,
|
|
811
|
-
normalizeActivityOptions,
|
|
812
|
-
resolveActivityStreamMode,
|
|
813
|
-
normalizeContextOptions,
|
|
814
|
-
normalizeNextOptions,
|
|
815
|
-
invalidateSearchCachesForMutation
|
|
816
|
-
};
|
|
817
|
-
//# sourceMappingURL=chunk-4IWYTWGF.js.map
|
|
818
|
-
|
|
819
|
-
//# debugId=3b942722-344b-5a0e-9629-7a60719de19e
|