@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
|
@@ -187,7 +187,7 @@ function resolveConfiguredPmPackageRoot(env = process.env, envName = "PM_CLI_PAC
|
|
|
187
187
|
!(function() {
|
|
188
188
|
try {
|
|
189
189
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
190
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
190
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3e44d901-11ef-5bb5-b0bf-37576240fe79");
|
|
191
191
|
} catch (e2) {
|
|
192
192
|
}
|
|
193
193
|
})();
|
|
@@ -3033,7 +3033,7 @@ function evaluateExtensionPolicyForRegistration(policy, extension, surface, meth
|
|
|
3033
3033
|
!(function() {
|
|
3034
3034
|
try {
|
|
3035
3035
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3036
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3036
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b7735a57-30b2-58a3-9d53-6805e011fd12");
|
|
3037
3037
|
} catch (e2) {
|
|
3038
3038
|
}
|
|
3039
3039
|
})();
|
|
@@ -3424,6 +3424,9 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled, pmMa
|
|
|
3424
3424
|
}
|
|
3425
3425
|
return { diagnostics, warnings, candidates };
|
|
3426
3426
|
}
|
|
3427
|
+
function emptyExtensionLayerScan() {
|
|
3428
|
+
return { diagnostics: [], warnings: [], candidates: [] };
|
|
3429
|
+
}
|
|
3427
3430
|
function buildUnavailableExtensionScan(layer, directory, manifestPath, warning) {
|
|
3428
3431
|
return {
|
|
3429
3432
|
diagnostic: {
|
|
@@ -3533,7 +3536,7 @@ async function discoverExtensions(options) {
|
|
|
3533
3536
|
}
|
|
3534
3537
|
const enabled = new Set(configured_enabled);
|
|
3535
3538
|
const disabled = new Set(configured_disabled);
|
|
3536
|
-
const globalScan = await scanExtensionLayer("global", roots.global, enabled, disabled, policy.pmMaxVersionExceededMode.global);
|
|
3539
|
+
const globalScan = options.ignoreGlobalExtensions === true ? emptyExtensionLayerScan() : await scanExtensionLayer("global", roots.global, enabled, disabled, policy.pmMaxVersionExceededMode.global);
|
|
3537
3540
|
const projectScan = await scanExtensionLayer("project", roots.project, enabled, disabled, policy.pmMaxVersionExceededMode.project);
|
|
3538
3541
|
const policyWarnings = [...policy.warnings];
|
|
3539
3542
|
const effectiveCandidates = buildEffectiveExtensions(globalScan.candidates, projectScan.candidates);
|
|
@@ -4256,8 +4259,8 @@ function assertExtensionCapability(extension, capability, method) {
|
|
|
4256
4259
|
});
|
|
4257
4260
|
}
|
|
4258
4261
|
}
|
|
4259
|
-
function
|
|
4260
|
-
|
|
4262
|
+
function buildExtensionSelfIdentity(extension) {
|
|
4263
|
+
return Object.freeze({
|
|
4261
4264
|
name: extension.name,
|
|
4262
4265
|
layer: extension.layer,
|
|
4263
4266
|
version: extension.version,
|
|
@@ -4266,7 +4269,9 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4266
4269
|
pm_max_version: extension.pm_max_version,
|
|
4267
4270
|
source_package: extension.source_package
|
|
4268
4271
|
});
|
|
4269
|
-
|
|
4272
|
+
}
|
|
4273
|
+
function buildPolicyExtensionRef(extension) {
|
|
4274
|
+
return {
|
|
4270
4275
|
layer: extension.layer,
|
|
4271
4276
|
name: extension.name,
|
|
4272
4277
|
trusted: extension.trusted === true,
|
|
@@ -4281,65 +4286,114 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4281
4286
|
process_spawn: extension.permissions.process_spawn
|
|
4282
4287
|
} : void 0
|
|
4283
4288
|
};
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4289
|
+
}
|
|
4290
|
+
var ExtensionApiRegistrar = class {
|
|
4291
|
+
extension;
|
|
4292
|
+
hooks;
|
|
4293
|
+
#loadedExtension;
|
|
4294
|
+
#extensionRef;
|
|
4295
|
+
#hookRegistry;
|
|
4296
|
+
#commandRegistry;
|
|
4297
|
+
#parserRegistry;
|
|
4298
|
+
#preflightRegistry;
|
|
4299
|
+
#serviceRegistry;
|
|
4300
|
+
#rendererRegistry;
|
|
4301
|
+
#registrationRegistry;
|
|
4302
|
+
#activationWarnings;
|
|
4303
|
+
#policy;
|
|
4304
|
+
constructor(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy) {
|
|
4305
|
+
this.#loadedExtension = extension;
|
|
4306
|
+
this.extension = buildExtensionSelfIdentity(extension);
|
|
4307
|
+
this.#extensionRef = buildPolicyExtensionRef(extension);
|
|
4308
|
+
this.#hookRegistry = hooks;
|
|
4309
|
+
this.#commandRegistry = commands;
|
|
4310
|
+
this.#parserRegistry = parsers;
|
|
4311
|
+
this.#preflightRegistry = preflight;
|
|
4312
|
+
this.#serviceRegistry = services;
|
|
4313
|
+
this.#rendererRegistry = renderers;
|
|
4314
|
+
this.#registrationRegistry = registrations;
|
|
4315
|
+
this.#activationWarnings = activationWarnings;
|
|
4316
|
+
this.#policy = policy;
|
|
4317
|
+
this.registerCommand = this.registerCommand.bind(this);
|
|
4318
|
+
this.registerParser = this.registerParser.bind(this);
|
|
4319
|
+
this.registerPreflight = this.registerPreflight.bind(this);
|
|
4320
|
+
this.registerService = this.registerService.bind(this);
|
|
4321
|
+
this.registerFlags = this.registerFlags.bind(this);
|
|
4322
|
+
this.registerItemFields = this.registerItemFields.bind(this);
|
|
4323
|
+
this.registerItemTypes = this.registerItemTypes.bind(this);
|
|
4324
|
+
this.registerMigration = this.registerMigration.bind(this);
|
|
4325
|
+
this.registerProfile = this.registerProfile.bind(this);
|
|
4326
|
+
this.registerRenderer = this.registerRenderer.bind(this);
|
|
4327
|
+
this.registerImporter = this.registerImporter.bind(this);
|
|
4328
|
+
this.registerExporter = this.registerExporter.bind(this);
|
|
4329
|
+
this.registerSearchProvider = this.registerSearchProvider.bind(this);
|
|
4330
|
+
this.registerVectorStoreAdapter = this.registerVectorStoreAdapter.bind(this);
|
|
4331
|
+
this.hooks = {
|
|
4332
|
+
beforeCommand: (hook) => this.registerBeforeCommand(hook),
|
|
4333
|
+
afterCommand: (hook) => this.registerAfterCommand(hook),
|
|
4334
|
+
onWrite: (hook) => this.registerOnWrite(hook),
|
|
4335
|
+
onRead: (hook) => this.registerOnRead(hook),
|
|
4336
|
+
onIndex: (hook) => this.registerOnIndex(hook)
|
|
4337
|
+
};
|
|
4338
|
+
}
|
|
4339
|
+
allowRegistration(surface, method, capability, details) {
|
|
4340
|
+
const decision = evaluateExtensionPolicyForRegistration(this.#policy, this.#extensionRef, surface, method, capability, details);
|
|
4341
|
+
if (decision.warning) {
|
|
4342
|
+
this.#activationWarnings.push(decision.warning);
|
|
4287
4343
|
}
|
|
4288
|
-
};
|
|
4289
|
-
const allowRegistration = (surface, method, capability, details) => {
|
|
4290
|
-
const decision = evaluateExtensionPolicyForRegistration(policy, extensionRef, surface, method, capability, details);
|
|
4291
|
-
pushPolicyWarning(decision.warning);
|
|
4292
4344
|
return decision.allowed;
|
|
4293
|
-
}
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4345
|
+
}
|
|
4346
|
+
registerCommandTrace(mode, command, expectedSchema, received, hint) {
|
|
4347
|
+
return {
|
|
4348
|
+
method: "registerCommand",
|
|
4349
|
+
registration_index: mode === "override" ? this.#commandRegistry.overrides.length : this.#commandRegistry.handlers.length,
|
|
4350
|
+
command,
|
|
4351
|
+
expected_schema: expectedSchema,
|
|
4352
|
+
received: sanitizeRegistrationValue(received),
|
|
4353
|
+
hint
|
|
4354
|
+
};
|
|
4355
|
+
}
|
|
4356
|
+
registerCommandOverride(command, override) {
|
|
4303
4357
|
const normalizedCommand = normalizeCommandName(command);
|
|
4304
4358
|
if (normalizedCommand.length === 0) {
|
|
4305
|
-
throw createRegistrationValidationError("registerCommand requires a non-empty command name", registerCommandTrace("override", command, 'registerCommand("<command>", (context) => unknown)', command, "Provide a non-empty command path as the first argument."));
|
|
4359
|
+
throw createRegistrationValidationError("registerCommand requires a non-empty command name", this.registerCommandTrace("override", command, 'registerCommand("<command>", (context) => unknown)', command, "Provide a non-empty command path as the first argument."));
|
|
4306
4360
|
}
|
|
4307
4361
|
if (typeof override !== "function") {
|
|
4308
|
-
const trace = registerCommandTrace("override", normalizedCommand, 'registerCommand("<command>", (context) => unknown)',
|
|
4362
|
+
const trace = this.registerCommandTrace("override", normalizedCommand, 'registerCommand("<command>", (context) => unknown)', override, "Provide a function as the second registerCommand argument.");
|
|
4309
4363
|
throw createRegistrationValidationError(`registerCommand requires an override function when command name is provided (command="${normalizedCommand}", registration_index=${trace.registration_index})`, trace);
|
|
4310
4364
|
}
|
|
4311
|
-
if (!allowRegistration("commands.override", "registerCommand", "commands", { command: normalizedCommand })) {
|
|
4365
|
+
if (!this.allowRegistration("commands.override", "registerCommand", "commands", { command: normalizedCommand })) {
|
|
4312
4366
|
return;
|
|
4313
4367
|
}
|
|
4314
|
-
|
|
4315
|
-
layer:
|
|
4316
|
-
name:
|
|
4368
|
+
this.#commandRegistry.overrides.push({
|
|
4369
|
+
layer: this.#loadedExtension.layer,
|
|
4370
|
+
name: this.#loadedExtension.name,
|
|
4317
4371
|
command: normalizedCommand,
|
|
4318
4372
|
run: override
|
|
4319
4373
|
});
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4374
|
+
}
|
|
4375
|
+
resolveCommandDefinitionRunHandler(definition, normalizedCommand) {
|
|
4322
4376
|
const runHandler = typeof definition.run === "function" ? definition.run : void 0;
|
|
4323
4377
|
const legacyHandler = typeof definition.handler === "function" ? definition.handler : void 0;
|
|
4324
4378
|
if (!runHandler && legacyHandler) {
|
|
4325
|
-
activationWarnings.push(`extension_command_definition_legacy_handler_alias:${
|
|
4379
|
+
this.#activationWarnings.push(`extension_command_definition_legacy_handler_alias:${this.#loadedExtension.layer}:${this.#loadedExtension.name}:${normalizedCommand}`);
|
|
4326
4380
|
}
|
|
4327
4381
|
return runHandler ?? legacyHandler;
|
|
4328
|
-
}
|
|
4329
|
-
|
|
4382
|
+
}
|
|
4383
|
+
registerCommandDefinition(definition) {
|
|
4330
4384
|
if (typeof definition !== "object" || definition === null) {
|
|
4331
|
-
throw createRegistrationValidationError("registerCommand requires a command definition object", registerCommandTrace("definition", void 0, "{ name: string; run: (context) => unknown; }", definition, 'Use registerCommand({ name: "command path", run: (context) => ... }).'));
|
|
4385
|
+
throw createRegistrationValidationError("registerCommand requires a command definition object", this.registerCommandTrace("definition", void 0, "{ name: string; run: (context) => unknown; }", definition, 'Use registerCommand({ name: "command path", run: (context) => ... }).'));
|
|
4332
4386
|
}
|
|
4333
4387
|
if (typeof definition.name !== "string") {
|
|
4334
|
-
throw createRegistrationValidationError("registerCommand requires a command definition name", registerCommandTrace("definition", void 0, "{ name: string; run: (context) => unknown; }", definition, "Set command definition.name to a non-empty string command path."));
|
|
4388
|
+
throw createRegistrationValidationError("registerCommand requires a command definition name", this.registerCommandTrace("definition", void 0, "{ name: string; run: (context) => unknown; }", definition, "Set command definition.name to a non-empty string command path."));
|
|
4335
4389
|
}
|
|
4336
4390
|
const normalizedCommand = normalizeCommandName(definition.name);
|
|
4337
4391
|
if (normalizedCommand.length === 0) {
|
|
4338
|
-
throw createRegistrationValidationError("registerCommand requires a non-empty command definition name", registerCommandTrace("definition", definition.name, "{ name: string; run: (context) => unknown; }", definition, "Ensure command definition.name contains a non-empty command path."));
|
|
4392
|
+
throw createRegistrationValidationError("registerCommand requires a non-empty command definition name", this.registerCommandTrace("definition", definition.name, "{ name: string; run: (context) => unknown; }", definition, "Ensure command definition.name contains a non-empty command path."));
|
|
4339
4393
|
}
|
|
4340
|
-
const resolvedHandler = resolveCommandDefinitionRunHandler(definition, normalizedCommand);
|
|
4394
|
+
const resolvedHandler = this.resolveCommandDefinitionRunHandler(definition, normalizedCommand);
|
|
4341
4395
|
if (typeof resolvedHandler !== "function") {
|
|
4342
|
-
const trace = registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; }",
|
|
4396
|
+
const trace = this.registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; }", resolvedHandler, "Define command definition.run as a function.");
|
|
4343
4397
|
throw createRegistrationValidationError(`registerCommand requires a command definition run handler (command="${normalizedCommand}", registration_index=${trace.registration_index})`, trace);
|
|
4344
4398
|
}
|
|
4345
4399
|
try {
|
|
@@ -4347,7 +4401,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4347
4401
|
assertOptionalStringField("registerCommand definition.description", definition.description);
|
|
4348
4402
|
assertOptionalStringField("registerCommand definition.intent", definition.intent);
|
|
4349
4403
|
const action = resolveCommandDefinitionAction(normalizedCommand, definition.action);
|
|
4350
|
-
if (!allowRegistration("commands.handler", "registerCommand", "commands", { command: normalizedCommand, action })) {
|
|
4404
|
+
if (!this.allowRegistration("commands.handler", "registerCommand", "commands", { command: normalizedCommand, action })) {
|
|
4351
4405
|
return;
|
|
4352
4406
|
}
|
|
4353
4407
|
const description = definition.description?.trim();
|
|
@@ -4356,19 +4410,21 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4356
4410
|
const failureHints = normalizeOptionalStringArrayField("registerCommand definition.failure_hints", definition.failure_hints);
|
|
4357
4411
|
const argumentsDefinition = normalizeCommandDefinitionArguments(definition.arguments);
|
|
4358
4412
|
if (definition.flags !== void 0) {
|
|
4359
|
-
assertExtensionCapability(
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4413
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerCommand flags");
|
|
4414
|
+
if (this.allowRegistration("schema.flags", "registerCommand flags", "schema")) {
|
|
4415
|
+
validateFlagDefinitions(definition.flags);
|
|
4416
|
+
this.#registrationRegistry.flags.push({
|
|
4417
|
+
layer: this.#loadedExtension.layer,
|
|
4418
|
+
name: this.#loadedExtension.name,
|
|
4419
|
+
target_command: normalizedCommand,
|
|
4420
|
+
flags: normalizeRegistrationRecordList("registerCommand definition.flags", definition.flags)
|
|
4421
|
+
});
|
|
4422
|
+
}
|
|
4367
4423
|
}
|
|
4368
4424
|
const registration = {
|
|
4369
|
-
layer:
|
|
4370
|
-
name:
|
|
4371
|
-
source_package:
|
|
4425
|
+
layer: this.#loadedExtension.layer,
|
|
4426
|
+
name: this.#loadedExtension.name,
|
|
4427
|
+
source_package: this.#loadedExtension.source_package,
|
|
4372
4428
|
command: normalizedCommand,
|
|
4373
4429
|
action,
|
|
4374
4430
|
examples,
|
|
@@ -4381,73 +4437,73 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4381
4437
|
if (intent) {
|
|
4382
4438
|
registration.intent = intent;
|
|
4383
4439
|
}
|
|
4384
|
-
|
|
4440
|
+
this.#registrationRegistry.commands.push(registration);
|
|
4385
4441
|
} catch (error) {
|
|
4386
4442
|
const reason = formatUnknownError(error);
|
|
4387
|
-
const trace = registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; action?: string; arguments?: object[]; flags?: object[]; }", definition,
|
|
4443
|
+
const trace = this.registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; action?: string; arguments?: object[]; flags?: object[]; }", definition, reason);
|
|
4388
4444
|
throw createRegistrationValidationError(`registerCommand definition metadata invalid (command="${normalizedCommand}", registration_index=${trace.registration_index}): ${reason}`, trace);
|
|
4389
4445
|
}
|
|
4390
|
-
|
|
4391
|
-
layer:
|
|
4392
|
-
name:
|
|
4446
|
+
this.#commandRegistry.handlers.push({
|
|
4447
|
+
layer: this.#loadedExtension.layer,
|
|
4448
|
+
name: this.#loadedExtension.name,
|
|
4393
4449
|
command: normalizedCommand,
|
|
4394
4450
|
run: resolvedHandler
|
|
4395
4451
|
});
|
|
4396
|
-
}
|
|
4397
|
-
|
|
4398
|
-
assertExtensionCapability(
|
|
4452
|
+
}
|
|
4453
|
+
registerCommand(commandOrDefinition, override) {
|
|
4454
|
+
assertExtensionCapability(this.#loadedExtension, "commands", "registerCommand");
|
|
4399
4455
|
if (typeof commandOrDefinition === "string") {
|
|
4400
|
-
registerCommandOverride(commandOrDefinition, override);
|
|
4456
|
+
this.registerCommandOverride(commandOrDefinition, override);
|
|
4401
4457
|
return;
|
|
4402
4458
|
}
|
|
4403
|
-
registerCommandDefinition(commandOrDefinition);
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4406
|
-
assertExtensionCapability(
|
|
4407
|
-
if (!allowRegistration("parser.override", "registerParser", "parser")) {
|
|
4459
|
+
this.registerCommandDefinition(commandOrDefinition);
|
|
4460
|
+
}
|
|
4461
|
+
registerParser(command, override) {
|
|
4462
|
+
assertExtensionCapability(this.#loadedExtension, "parser", "registerParser");
|
|
4463
|
+
if (!this.allowRegistration("parser.override", "registerParser", "parser")) {
|
|
4408
4464
|
return;
|
|
4409
4465
|
}
|
|
4410
4466
|
const normalizedCommand = normalizeCommandName(assertNonEmptyString("registerParser command", command));
|
|
4411
4467
|
assertFunctionHandler("registerParser override", override);
|
|
4412
|
-
|
|
4413
|
-
layer:
|
|
4414
|
-
name:
|
|
4468
|
+
this.#parserRegistry.overrides.push({
|
|
4469
|
+
layer: this.#loadedExtension.layer,
|
|
4470
|
+
name: this.#loadedExtension.name,
|
|
4415
4471
|
command: normalizedCommand,
|
|
4416
4472
|
run: override
|
|
4417
4473
|
});
|
|
4418
|
-
}
|
|
4419
|
-
|
|
4420
|
-
assertExtensionCapability(
|
|
4421
|
-
if (!allowRegistration("preflight.override", "registerPreflight", "preflight")) {
|
|
4474
|
+
}
|
|
4475
|
+
registerPreflight(override) {
|
|
4476
|
+
assertExtensionCapability(this.#loadedExtension, "preflight", "registerPreflight");
|
|
4477
|
+
if (!this.allowRegistration("preflight.override", "registerPreflight", "preflight")) {
|
|
4422
4478
|
return;
|
|
4423
4479
|
}
|
|
4424
4480
|
assertFunctionHandler("registerPreflight override", override);
|
|
4425
|
-
|
|
4426
|
-
layer:
|
|
4427
|
-
name:
|
|
4481
|
+
this.#preflightRegistry.overrides.push({
|
|
4482
|
+
layer: this.#loadedExtension.layer,
|
|
4483
|
+
name: this.#loadedExtension.name,
|
|
4428
4484
|
run: override
|
|
4429
4485
|
});
|
|
4430
|
-
}
|
|
4431
|
-
|
|
4432
|
-
assertExtensionCapability(
|
|
4486
|
+
}
|
|
4487
|
+
registerService(service, override) {
|
|
4488
|
+
assertExtensionCapability(this.#loadedExtension, "services", "registerService");
|
|
4433
4489
|
const normalizedService = String(service).trim().toLowerCase();
|
|
4434
4490
|
if (!isExtensionServiceName(normalizedService)) {
|
|
4435
4491
|
throw new TypeError(`registerService service must be one of: ${KNOWN_EXTENSION_SERVICE_NAMES.join(", ")}`);
|
|
4436
4492
|
}
|
|
4437
|
-
if (!allowRegistration("services.override", "registerService", "services", { service: normalizedService })) {
|
|
4493
|
+
if (!this.allowRegistration("services.override", "registerService", "services", { service: normalizedService })) {
|
|
4438
4494
|
return;
|
|
4439
4495
|
}
|
|
4440
4496
|
assertFunctionHandler("registerService override", override);
|
|
4441
|
-
|
|
4442
|
-
layer:
|
|
4443
|
-
name:
|
|
4497
|
+
this.#serviceRegistry.overrides.push({
|
|
4498
|
+
layer: this.#loadedExtension.layer,
|
|
4499
|
+
name: this.#loadedExtension.name,
|
|
4444
4500
|
service: normalizedService,
|
|
4445
4501
|
run: override
|
|
4446
4502
|
});
|
|
4447
|
-
}
|
|
4448
|
-
|
|
4449
|
-
assertExtensionCapability(
|
|
4450
|
-
if (!allowRegistration("renderers.override", "registerRenderer", "renderers")) {
|
|
4503
|
+
}
|
|
4504
|
+
registerRenderer(format, renderer) {
|
|
4505
|
+
assertExtensionCapability(this.#loadedExtension, "renderers", "registerRenderer");
|
|
4506
|
+
if (!this.allowRegistration("renderers.override", "registerRenderer", "renderers")) {
|
|
4451
4507
|
return;
|
|
4452
4508
|
}
|
|
4453
4509
|
if (typeof renderer !== "function") {
|
|
@@ -4457,16 +4513,16 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4457
4513
|
if (!isOutputRendererFormat(normalizedFormat)) {
|
|
4458
4514
|
throw new Error(`registerRenderer format must be toon|json, received: ${String(format)}`);
|
|
4459
4515
|
}
|
|
4460
|
-
|
|
4461
|
-
layer:
|
|
4462
|
-
name:
|
|
4516
|
+
this.#rendererRegistry.overrides.push({
|
|
4517
|
+
layer: this.#loadedExtension.layer,
|
|
4518
|
+
name: this.#loadedExtension.name,
|
|
4463
4519
|
format: normalizedFormat,
|
|
4464
4520
|
run: renderer
|
|
4465
4521
|
});
|
|
4466
|
-
}
|
|
4467
|
-
|
|
4468
|
-
assertExtensionCapability(
|
|
4469
|
-
if (!allowRegistration("schema.flags", "registerFlags", "schema")) {
|
|
4522
|
+
}
|
|
4523
|
+
registerFlags(targetCommand, flags) {
|
|
4524
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerFlags");
|
|
4525
|
+
if (!this.allowRegistration("schema.flags", "registerFlags", "schema")) {
|
|
4470
4526
|
return;
|
|
4471
4527
|
}
|
|
4472
4528
|
const normalizedTargetCommand = normalizeCommandName(assertNonEmptyString("registerFlags targetCommand", targetCommand));
|
|
@@ -4475,16 +4531,16 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4475
4531
|
if (normalizedFlags.length === 0) {
|
|
4476
4532
|
throw new TypeError("registerFlags requires at least one flag definition");
|
|
4477
4533
|
}
|
|
4478
|
-
|
|
4479
|
-
layer:
|
|
4480
|
-
name:
|
|
4534
|
+
this.#registrationRegistry.flags.push({
|
|
4535
|
+
layer: this.#loadedExtension.layer,
|
|
4536
|
+
name: this.#loadedExtension.name,
|
|
4481
4537
|
target_command: normalizedTargetCommand,
|
|
4482
4538
|
flags: normalizedFlags
|
|
4483
4539
|
});
|
|
4484
|
-
}
|
|
4485
|
-
|
|
4486
|
-
assertExtensionCapability(
|
|
4487
|
-
if (!allowRegistration("schema.itemfields", "registerItemFields", "schema")) {
|
|
4540
|
+
}
|
|
4541
|
+
registerItemFields(fields) {
|
|
4542
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerItemFields");
|
|
4543
|
+
if (!this.allowRegistration("schema.itemfields", "registerItemFields", "schema")) {
|
|
4488
4544
|
return;
|
|
4489
4545
|
}
|
|
4490
4546
|
validateItemFieldDefinitions(fields);
|
|
@@ -4492,15 +4548,15 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4492
4548
|
if (normalizedFields.length === 0) {
|
|
4493
4549
|
throw new TypeError("registerItemFields requires at least one field definition");
|
|
4494
4550
|
}
|
|
4495
|
-
|
|
4496
|
-
layer:
|
|
4497
|
-
name:
|
|
4551
|
+
this.#registrationRegistry.item_fields.push({
|
|
4552
|
+
layer: this.#loadedExtension.layer,
|
|
4553
|
+
name: this.#loadedExtension.name,
|
|
4498
4554
|
fields: normalizedFields
|
|
4499
4555
|
});
|
|
4500
|
-
}
|
|
4501
|
-
|
|
4502
|
-
assertExtensionCapability(
|
|
4503
|
-
if (!allowRegistration("schema.itemtypes", "registerItemTypes", "schema")) {
|
|
4556
|
+
}
|
|
4557
|
+
registerItemTypes(types) {
|
|
4558
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerItemTypes");
|
|
4559
|
+
if (!this.allowRegistration("schema.itemtypes", "registerItemTypes", "schema")) {
|
|
4504
4560
|
return;
|
|
4505
4561
|
}
|
|
4506
4562
|
validateItemTypeDefinitions(types);
|
|
@@ -4508,39 +4564,39 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4508
4564
|
if (normalizedTypes.length === 0) {
|
|
4509
4565
|
throw new TypeError("registerItemTypes requires at least one type definition");
|
|
4510
4566
|
}
|
|
4511
|
-
|
|
4512
|
-
layer:
|
|
4513
|
-
name:
|
|
4567
|
+
this.#registrationRegistry.item_types.push({
|
|
4568
|
+
layer: this.#loadedExtension.layer,
|
|
4569
|
+
name: this.#loadedExtension.name,
|
|
4514
4570
|
types: normalizedTypes
|
|
4515
4571
|
});
|
|
4516
|
-
}
|
|
4517
|
-
|
|
4518
|
-
assertExtensionCapability(
|
|
4519
|
-
if (!allowRegistration("schema.migrations", "registerMigration", "schema")) {
|
|
4572
|
+
}
|
|
4573
|
+
registerMigration(definition) {
|
|
4574
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerMigration");
|
|
4575
|
+
if (!this.allowRegistration("schema.migrations", "registerMigration", "schema")) {
|
|
4520
4576
|
return;
|
|
4521
4577
|
}
|
|
4522
4578
|
validateMigrationDefinition(definition);
|
|
4523
4579
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerMigration definition", definition);
|
|
4524
|
-
|
|
4525
|
-
layer:
|
|
4526
|
-
name:
|
|
4580
|
+
this.#registrationRegistry.migrations.push(attachRuntimeDefinition({
|
|
4581
|
+
layer: this.#loadedExtension.layer,
|
|
4582
|
+
name: this.#loadedExtension.name,
|
|
4527
4583
|
definition: normalizeRegistrationRecord("registerMigration definition", definition)
|
|
4528
4584
|
}, runtimeDefinition));
|
|
4529
|
-
}
|
|
4530
|
-
|
|
4531
|
-
assertExtensionCapability(
|
|
4532
|
-
if (!allowRegistration("schema.profiles", "registerProfile", "schema")) {
|
|
4585
|
+
}
|
|
4586
|
+
registerProfile(profile) {
|
|
4587
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerProfile");
|
|
4588
|
+
if (!this.allowRegistration("schema.profiles", "registerProfile", "schema")) {
|
|
4533
4589
|
return;
|
|
4534
4590
|
}
|
|
4535
4591
|
const snapshot = cloneRuntimeRegistrationValue(profile);
|
|
4536
4592
|
validateProjectProfileDefinition(snapshot);
|
|
4537
|
-
|
|
4538
|
-
layer:
|
|
4539
|
-
name:
|
|
4593
|
+
this.#registrationRegistry.profiles.push({
|
|
4594
|
+
layer: this.#loadedExtension.layer,
|
|
4595
|
+
name: this.#loadedExtension.name,
|
|
4540
4596
|
profile: applyProjectProfileDefaults(snapshot)
|
|
4541
4597
|
});
|
|
4542
|
-
}
|
|
4543
|
-
|
|
4598
|
+
}
|
|
4599
|
+
applyImportExportCommandMetadata(method, commandPath, options) {
|
|
4544
4600
|
if (options === void 0) {
|
|
4545
4601
|
return;
|
|
4546
4602
|
}
|
|
@@ -4555,21 +4611,21 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4555
4611
|
const failureHints = normalizeOptionalStringArrayField(`${method} options.failure_hints`, options.failure_hints);
|
|
4556
4612
|
const argumentsDefinition = normalizeCommandDefinitionArguments(options.arguments);
|
|
4557
4613
|
if (options.flags !== void 0) {
|
|
4558
|
-
assertExtensionCapability(
|
|
4559
|
-
if (allowRegistration("schema.flags", `${method} options.flags`, "schema")) {
|
|
4614
|
+
assertExtensionCapability(this.#loadedExtension, "schema", `${method} options.flags`);
|
|
4615
|
+
if (this.allowRegistration("schema.flags", `${method} options.flags`, "schema")) {
|
|
4560
4616
|
validateFlagDefinitions(options.flags);
|
|
4561
|
-
|
|
4562
|
-
layer:
|
|
4563
|
-
name:
|
|
4617
|
+
this.#registrationRegistry.flags.push({
|
|
4618
|
+
layer: this.#loadedExtension.layer,
|
|
4619
|
+
name: this.#loadedExtension.name,
|
|
4564
4620
|
target_command: commandPath,
|
|
4565
4621
|
flags: normalizeRegistrationRecordList(`${method} options.flags`, options.flags)
|
|
4566
4622
|
});
|
|
4567
4623
|
}
|
|
4568
4624
|
}
|
|
4569
4625
|
const registration = {
|
|
4570
|
-
layer:
|
|
4571
|
-
name:
|
|
4572
|
-
source_package:
|
|
4626
|
+
layer: this.#loadedExtension.layer,
|
|
4627
|
+
name: this.#loadedExtension.name,
|
|
4628
|
+
source_package: this.#loadedExtension.source_package,
|
|
4573
4629
|
command: commandPath,
|
|
4574
4630
|
action,
|
|
4575
4631
|
examples,
|
|
@@ -4584,25 +4640,25 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4584
4640
|
if (intent) {
|
|
4585
4641
|
registration.intent = intent;
|
|
4586
4642
|
}
|
|
4587
|
-
|
|
4588
|
-
}
|
|
4589
|
-
|
|
4590
|
-
assertExtensionCapability(
|
|
4591
|
-
if (!allowRegistration("importers.importer", "registerImporter", "importers")) {
|
|
4643
|
+
this.#registrationRegistry.commands.push(registration);
|
|
4644
|
+
}
|
|
4645
|
+
registerImporter(name, importer, options) {
|
|
4646
|
+
assertExtensionCapability(this.#loadedExtension, "importers", "registerImporter");
|
|
4647
|
+
if (!this.allowRegistration("importers.importer", "registerImporter", "importers")) {
|
|
4592
4648
|
return;
|
|
4593
4649
|
}
|
|
4594
4650
|
const normalizedName = normalizeRegistrationName(assertNonEmptyString("registerImporter name", name));
|
|
4595
4651
|
assertFunctionHandler("registerImporter importer", importer);
|
|
4596
4652
|
const commandPath = toRegistrationCommandPath(normalizedName, "import");
|
|
4597
|
-
applyImportExportCommandMetadata("registerImporter", commandPath, options);
|
|
4598
|
-
|
|
4599
|
-
layer:
|
|
4600
|
-
name:
|
|
4653
|
+
this.applyImportExportCommandMetadata("registerImporter", commandPath, options);
|
|
4654
|
+
this.#registrationRegistry.importers.push({
|
|
4655
|
+
layer: this.#loadedExtension.layer,
|
|
4656
|
+
name: this.#loadedExtension.name,
|
|
4601
4657
|
importer: normalizedName
|
|
4602
4658
|
});
|
|
4603
|
-
|
|
4604
|
-
layer:
|
|
4605
|
-
name:
|
|
4659
|
+
this.#commandRegistry.handlers.push({
|
|
4660
|
+
layer: this.#loadedExtension.layer,
|
|
4661
|
+
name: this.#loadedExtension.name,
|
|
4606
4662
|
command: commandPath,
|
|
4607
4663
|
run: async (context) => importer({
|
|
4608
4664
|
registration: normalizedName,
|
|
@@ -4614,24 +4670,24 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4614
4670
|
pm_root: context.pm_root
|
|
4615
4671
|
})
|
|
4616
4672
|
});
|
|
4617
|
-
}
|
|
4618
|
-
|
|
4619
|
-
assertExtensionCapability(
|
|
4620
|
-
if (!allowRegistration("importers.exporter", "registerExporter", "importers")) {
|
|
4673
|
+
}
|
|
4674
|
+
registerExporter(name, exporter, options) {
|
|
4675
|
+
assertExtensionCapability(this.#loadedExtension, "importers", "registerExporter");
|
|
4676
|
+
if (!this.allowRegistration("importers.exporter", "registerExporter", "importers")) {
|
|
4621
4677
|
return;
|
|
4622
4678
|
}
|
|
4623
4679
|
const normalizedName = normalizeRegistrationName(assertNonEmptyString("registerExporter name", name));
|
|
4624
4680
|
assertFunctionHandler("registerExporter exporter", exporter);
|
|
4625
4681
|
const commandPath = toRegistrationCommandPath(normalizedName, "export");
|
|
4626
|
-
applyImportExportCommandMetadata("registerExporter", commandPath, options);
|
|
4627
|
-
|
|
4628
|
-
layer:
|
|
4629
|
-
name:
|
|
4682
|
+
this.applyImportExportCommandMetadata("registerExporter", commandPath, options);
|
|
4683
|
+
this.#registrationRegistry.exporters.push({
|
|
4684
|
+
layer: this.#loadedExtension.layer,
|
|
4685
|
+
name: this.#loadedExtension.name,
|
|
4630
4686
|
exporter: normalizedName
|
|
4631
4687
|
});
|
|
4632
|
-
|
|
4633
|
-
layer:
|
|
4634
|
-
name:
|
|
4688
|
+
this.#commandRegistry.handlers.push({
|
|
4689
|
+
layer: this.#loadedExtension.layer,
|
|
4690
|
+
name: this.#loadedExtension.name,
|
|
4635
4691
|
command: commandPath,
|
|
4636
4692
|
run: async (context) => exporter({
|
|
4637
4693
|
registration: normalizedName,
|
|
@@ -4643,115 +4699,94 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4643
4699
|
pm_root: context.pm_root
|
|
4644
4700
|
})
|
|
4645
4701
|
});
|
|
4646
|
-
}
|
|
4647
|
-
|
|
4648
|
-
assertExtensionCapability(
|
|
4649
|
-
if (!allowRegistration("search.provider", "registerSearchProvider", "search")) {
|
|
4702
|
+
}
|
|
4703
|
+
registerSearchProvider(provider) {
|
|
4704
|
+
assertExtensionCapability(this.#loadedExtension, "search", "registerSearchProvider");
|
|
4705
|
+
if (!this.allowRegistration("search.provider", "registerSearchProvider", "search")) {
|
|
4650
4706
|
return;
|
|
4651
4707
|
}
|
|
4652
4708
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerSearchProvider provider", provider);
|
|
4653
|
-
|
|
4654
|
-
layer:
|
|
4655
|
-
name:
|
|
4709
|
+
this.#registrationRegistry.search_providers.push(attachRuntimeDefinition({
|
|
4710
|
+
layer: this.#loadedExtension.layer,
|
|
4711
|
+
name: this.#loadedExtension.name,
|
|
4656
4712
|
definition: normalizeRegistrationRecord("registerSearchProvider provider", provider)
|
|
4657
4713
|
}, runtimeDefinition));
|
|
4658
|
-
}
|
|
4659
|
-
|
|
4660
|
-
assertExtensionCapability(
|
|
4661
|
-
if (!allowRegistration("search.vectorstore", "registerVectorStoreAdapter", "search")) {
|
|
4714
|
+
}
|
|
4715
|
+
registerVectorStoreAdapter(adapter) {
|
|
4716
|
+
assertExtensionCapability(this.#loadedExtension, "search", "registerVectorStoreAdapter");
|
|
4717
|
+
if (!this.allowRegistration("search.vectorstore", "registerVectorStoreAdapter", "search")) {
|
|
4662
4718
|
return;
|
|
4663
4719
|
}
|
|
4664
4720
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerVectorStoreAdapter adapter", adapter);
|
|
4665
|
-
|
|
4666
|
-
layer:
|
|
4667
|
-
name:
|
|
4721
|
+
this.#registrationRegistry.vector_store_adapters.push(attachRuntimeDefinition({
|
|
4722
|
+
layer: this.#loadedExtension.layer,
|
|
4723
|
+
name: this.#loadedExtension.name,
|
|
4668
4724
|
definition: normalizeRegistrationRecord("registerVectorStoreAdapter adapter", adapter)
|
|
4669
4725
|
}, runtimeDefinition));
|
|
4670
|
-
}
|
|
4671
|
-
|
|
4672
|
-
assertExtensionCapability(
|
|
4673
|
-
if (!allowRegistration("hooks.beforecommand", "api.hooks.beforeCommand", "hooks")) {
|
|
4726
|
+
}
|
|
4727
|
+
registerBeforeCommand(hook) {
|
|
4728
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.beforeCommand");
|
|
4729
|
+
if (!this.allowRegistration("hooks.beforecommand", "api.hooks.beforeCommand", "hooks")) {
|
|
4674
4730
|
return;
|
|
4675
4731
|
}
|
|
4676
4732
|
assertHookHandler("beforeCommand", hook);
|
|
4677
|
-
|
|
4678
|
-
layer:
|
|
4679
|
-
name:
|
|
4733
|
+
this.#hookRegistry.beforeCommand.push({
|
|
4734
|
+
layer: this.#loadedExtension.layer,
|
|
4735
|
+
name: this.#loadedExtension.name,
|
|
4680
4736
|
run: hook
|
|
4681
4737
|
});
|
|
4682
|
-
}
|
|
4683
|
-
|
|
4684
|
-
assertExtensionCapability(
|
|
4685
|
-
if (!allowRegistration("hooks.aftercommand", "api.hooks.afterCommand", "hooks")) {
|
|
4738
|
+
}
|
|
4739
|
+
registerAfterCommand(hook) {
|
|
4740
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.afterCommand");
|
|
4741
|
+
if (!this.allowRegistration("hooks.aftercommand", "api.hooks.afterCommand", "hooks")) {
|
|
4686
4742
|
return;
|
|
4687
4743
|
}
|
|
4688
4744
|
assertHookHandler("afterCommand", hook);
|
|
4689
|
-
|
|
4690
|
-
layer:
|
|
4691
|
-
name:
|
|
4745
|
+
this.#hookRegistry.afterCommand.push({
|
|
4746
|
+
layer: this.#loadedExtension.layer,
|
|
4747
|
+
name: this.#loadedExtension.name,
|
|
4692
4748
|
run: hook
|
|
4693
4749
|
});
|
|
4694
|
-
}
|
|
4695
|
-
|
|
4696
|
-
assertExtensionCapability(
|
|
4697
|
-
if (!allowRegistration("hooks.onwrite", "api.hooks.onWrite", "hooks")) {
|
|
4750
|
+
}
|
|
4751
|
+
registerOnWrite(hook) {
|
|
4752
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onWrite");
|
|
4753
|
+
if (!this.allowRegistration("hooks.onwrite", "api.hooks.onWrite", "hooks")) {
|
|
4698
4754
|
return;
|
|
4699
4755
|
}
|
|
4700
4756
|
assertHookHandler("onWrite", hook);
|
|
4701
|
-
|
|
4702
|
-
layer:
|
|
4703
|
-
name:
|
|
4757
|
+
this.#hookRegistry.onWrite.push({
|
|
4758
|
+
layer: this.#loadedExtension.layer,
|
|
4759
|
+
name: this.#loadedExtension.name,
|
|
4704
4760
|
run: hook
|
|
4705
4761
|
});
|
|
4706
|
-
}
|
|
4707
|
-
|
|
4708
|
-
assertExtensionCapability(
|
|
4709
|
-
if (!allowRegistration("hooks.onread", "api.hooks.onRead", "hooks")) {
|
|
4762
|
+
}
|
|
4763
|
+
registerOnRead(hook) {
|
|
4764
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onRead");
|
|
4765
|
+
if (!this.allowRegistration("hooks.onread", "api.hooks.onRead", "hooks")) {
|
|
4710
4766
|
return;
|
|
4711
4767
|
}
|
|
4712
4768
|
assertHookHandler("onRead", hook);
|
|
4713
|
-
|
|
4714
|
-
layer:
|
|
4715
|
-
name:
|
|
4769
|
+
this.#hookRegistry.onRead.push({
|
|
4770
|
+
layer: this.#loadedExtension.layer,
|
|
4771
|
+
name: this.#loadedExtension.name,
|
|
4716
4772
|
run: hook
|
|
4717
4773
|
});
|
|
4718
|
-
}
|
|
4719
|
-
|
|
4720
|
-
assertExtensionCapability(
|
|
4721
|
-
if (!allowRegistration("hooks.onindex", "api.hooks.onIndex", "hooks")) {
|
|
4774
|
+
}
|
|
4775
|
+
registerOnIndex(hook) {
|
|
4776
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onIndex");
|
|
4777
|
+
if (!this.allowRegistration("hooks.onindex", "api.hooks.onIndex", "hooks")) {
|
|
4722
4778
|
return;
|
|
4723
4779
|
}
|
|
4724
4780
|
assertHookHandler("onIndex", hook);
|
|
4725
|
-
|
|
4726
|
-
layer:
|
|
4727
|
-
name:
|
|
4781
|
+
this.#hookRegistry.onIndex.push({
|
|
4782
|
+
layer: this.#loadedExtension.layer,
|
|
4783
|
+
name: this.#loadedExtension.name,
|
|
4728
4784
|
run: hook
|
|
4729
4785
|
});
|
|
4730
|
-
}
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
registerParser,
|
|
4735
|
-
registerPreflight,
|
|
4736
|
-
registerService,
|
|
4737
|
-
registerFlags,
|
|
4738
|
-
registerItemFields,
|
|
4739
|
-
registerItemTypes,
|
|
4740
|
-
registerMigration,
|
|
4741
|
-
registerProfile,
|
|
4742
|
-
registerRenderer,
|
|
4743
|
-
registerImporter,
|
|
4744
|
-
registerExporter,
|
|
4745
|
-
registerSearchProvider,
|
|
4746
|
-
registerVectorStoreAdapter,
|
|
4747
|
-
hooks: {
|
|
4748
|
-
beforeCommand: registerBeforeCommand,
|
|
4749
|
-
afterCommand: registerAfterCommand,
|
|
4750
|
-
onWrite: registerOnWrite,
|
|
4751
|
-
onRead: registerOnRead,
|
|
4752
|
-
onIndex: registerOnIndex
|
|
4753
|
-
}
|
|
4754
|
-
};
|
|
4786
|
+
}
|
|
4787
|
+
};
|
|
4788
|
+
function createExtensionApi(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy) {
|
|
4789
|
+
return new ExtensionApiRegistrar(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy);
|
|
4755
4790
|
}
|
|
4756
4791
|
function getRegistrationCounts(registrations) {
|
|
4757
4792
|
const commandCount = registrations.commands.length;
|
|
@@ -5645,6 +5680,25 @@ function statusIsTerminal(status, registry) {
|
|
|
5645
5680
|
return registry.terminal_statuses.has(normalized);
|
|
5646
5681
|
}
|
|
5647
5682
|
|
|
5683
|
+
// dist/core/shared/memo.js
|
|
5684
|
+
!(function() {
|
|
5685
|
+
try {
|
|
5686
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5687
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6994d548-06c7-57d3-810a-6164e2001577");
|
|
5688
|
+
} catch (e2) {
|
|
5689
|
+
}
|
|
5690
|
+
})();
|
|
5691
|
+
function evictOldestMemoEntries(memo) {
|
|
5692
|
+
let remaining = Math.ceil(memo.size / 2);
|
|
5693
|
+
for (const key of memo.keys()) {
|
|
5694
|
+
if (remaining === 0) {
|
|
5695
|
+
return;
|
|
5696
|
+
}
|
|
5697
|
+
memo.delete(key);
|
|
5698
|
+
remaining -= 1;
|
|
5699
|
+
}
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5648
5702
|
export {
|
|
5649
5703
|
ensureDir,
|
|
5650
5704
|
pathExists,
|
|
@@ -5794,6 +5848,7 @@ export {
|
|
|
5794
5848
|
normalizeStatusInputWithRegistry,
|
|
5795
5849
|
resolveRuntimeFieldRegistry,
|
|
5796
5850
|
runtimeFieldOptionTarget,
|
|
5797
|
-
statusIsTerminal
|
|
5851
|
+
statusIsTerminal,
|
|
5852
|
+
evictOldestMemoEntries
|
|
5798
5853
|
};
|
|
5799
|
-
//# sourceMappingURL=chunk-
|
|
5854
|
+
//# sourceMappingURL=chunk-2BVD4ZD2.js.map
|