@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,6 +1,6 @@
|
|
|
1
1
|
// dist/core/fs/fs-utils.js
|
|
2
2
|
|
|
3
|
-
!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]="
|
|
3
|
+
!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]="e9729333-6db5-59ee-8259-e1cba10d635f")}catch(e){}}();
|
|
4
4
|
import * as fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -3277,6 +3277,9 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled, pmMa
|
|
|
3277
3277
|
}
|
|
3278
3278
|
return { diagnostics, warnings, candidates };
|
|
3279
3279
|
}
|
|
3280
|
+
function emptyExtensionLayerScan() {
|
|
3281
|
+
return { diagnostics: [], warnings: [], candidates: [] };
|
|
3282
|
+
}
|
|
3280
3283
|
function buildUnavailableExtensionScan(layer, directory, manifestPath, warning) {
|
|
3281
3284
|
return {
|
|
3282
3285
|
diagnostic: {
|
|
@@ -3386,7 +3389,7 @@ async function discoverExtensions(options) {
|
|
|
3386
3389
|
}
|
|
3387
3390
|
const enabled = new Set(configured_enabled);
|
|
3388
3391
|
const disabled = new Set(configured_disabled);
|
|
3389
|
-
const globalScan = await scanExtensionLayer("global", roots.global, enabled, disabled, policy.pmMaxVersionExceededMode.global);
|
|
3392
|
+
const globalScan = options.ignoreGlobalExtensions === true ? emptyExtensionLayerScan() : await scanExtensionLayer("global", roots.global, enabled, disabled, policy.pmMaxVersionExceededMode.global);
|
|
3390
3393
|
const projectScan = await scanExtensionLayer("project", roots.project, enabled, disabled, policy.pmMaxVersionExceededMode.project);
|
|
3391
3394
|
const policyWarnings = [...policy.warnings];
|
|
3392
3395
|
const effectiveCandidates = buildEffectiveExtensions(globalScan.candidates, projectScan.candidates);
|
|
@@ -4109,8 +4112,8 @@ function assertExtensionCapability(extension, capability, method) {
|
|
|
4109
4112
|
});
|
|
4110
4113
|
}
|
|
4111
4114
|
}
|
|
4112
|
-
function
|
|
4113
|
-
|
|
4115
|
+
function buildExtensionSelfIdentity(extension) {
|
|
4116
|
+
return Object.freeze({
|
|
4114
4117
|
name: extension.name,
|
|
4115
4118
|
layer: extension.layer,
|
|
4116
4119
|
version: extension.version,
|
|
@@ -4119,7 +4122,9 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4119
4122
|
pm_max_version: extension.pm_max_version,
|
|
4120
4123
|
source_package: extension.source_package
|
|
4121
4124
|
});
|
|
4122
|
-
|
|
4125
|
+
}
|
|
4126
|
+
function buildPolicyExtensionRef(extension) {
|
|
4127
|
+
return {
|
|
4123
4128
|
layer: extension.layer,
|
|
4124
4129
|
name: extension.name,
|
|
4125
4130
|
trusted: extension.trusted === true,
|
|
@@ -4134,65 +4139,114 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4134
4139
|
process_spawn: extension.permissions.process_spawn
|
|
4135
4140
|
} : void 0
|
|
4136
4141
|
};
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4142
|
+
}
|
|
4143
|
+
var ExtensionApiRegistrar = class {
|
|
4144
|
+
extension;
|
|
4145
|
+
hooks;
|
|
4146
|
+
#loadedExtension;
|
|
4147
|
+
#extensionRef;
|
|
4148
|
+
#hookRegistry;
|
|
4149
|
+
#commandRegistry;
|
|
4150
|
+
#parserRegistry;
|
|
4151
|
+
#preflightRegistry;
|
|
4152
|
+
#serviceRegistry;
|
|
4153
|
+
#rendererRegistry;
|
|
4154
|
+
#registrationRegistry;
|
|
4155
|
+
#activationWarnings;
|
|
4156
|
+
#policy;
|
|
4157
|
+
constructor(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy) {
|
|
4158
|
+
this.#loadedExtension = extension;
|
|
4159
|
+
this.extension = buildExtensionSelfIdentity(extension);
|
|
4160
|
+
this.#extensionRef = buildPolicyExtensionRef(extension);
|
|
4161
|
+
this.#hookRegistry = hooks;
|
|
4162
|
+
this.#commandRegistry = commands;
|
|
4163
|
+
this.#parserRegistry = parsers;
|
|
4164
|
+
this.#preflightRegistry = preflight;
|
|
4165
|
+
this.#serviceRegistry = services;
|
|
4166
|
+
this.#rendererRegistry = renderers;
|
|
4167
|
+
this.#registrationRegistry = registrations;
|
|
4168
|
+
this.#activationWarnings = activationWarnings;
|
|
4169
|
+
this.#policy = policy;
|
|
4170
|
+
this.registerCommand = this.registerCommand.bind(this);
|
|
4171
|
+
this.registerParser = this.registerParser.bind(this);
|
|
4172
|
+
this.registerPreflight = this.registerPreflight.bind(this);
|
|
4173
|
+
this.registerService = this.registerService.bind(this);
|
|
4174
|
+
this.registerFlags = this.registerFlags.bind(this);
|
|
4175
|
+
this.registerItemFields = this.registerItemFields.bind(this);
|
|
4176
|
+
this.registerItemTypes = this.registerItemTypes.bind(this);
|
|
4177
|
+
this.registerMigration = this.registerMigration.bind(this);
|
|
4178
|
+
this.registerProfile = this.registerProfile.bind(this);
|
|
4179
|
+
this.registerRenderer = this.registerRenderer.bind(this);
|
|
4180
|
+
this.registerImporter = this.registerImporter.bind(this);
|
|
4181
|
+
this.registerExporter = this.registerExporter.bind(this);
|
|
4182
|
+
this.registerSearchProvider = this.registerSearchProvider.bind(this);
|
|
4183
|
+
this.registerVectorStoreAdapter = this.registerVectorStoreAdapter.bind(this);
|
|
4184
|
+
this.hooks = {
|
|
4185
|
+
beforeCommand: (hook) => this.registerBeforeCommand(hook),
|
|
4186
|
+
afterCommand: (hook) => this.registerAfterCommand(hook),
|
|
4187
|
+
onWrite: (hook) => this.registerOnWrite(hook),
|
|
4188
|
+
onRead: (hook) => this.registerOnRead(hook),
|
|
4189
|
+
onIndex: (hook) => this.registerOnIndex(hook)
|
|
4190
|
+
};
|
|
4191
|
+
}
|
|
4192
|
+
allowRegistration(surface, method, capability, details) {
|
|
4193
|
+
const decision = evaluateExtensionPolicyForRegistration(this.#policy, this.#extensionRef, surface, method, capability, details);
|
|
4194
|
+
if (decision.warning) {
|
|
4195
|
+
this.#activationWarnings.push(decision.warning);
|
|
4140
4196
|
}
|
|
4141
|
-
};
|
|
4142
|
-
const allowRegistration = (surface, method, capability, details) => {
|
|
4143
|
-
const decision = evaluateExtensionPolicyForRegistration(policy, extensionRef, surface, method, capability, details);
|
|
4144
|
-
pushPolicyWarning(decision.warning);
|
|
4145
4197
|
return decision.allowed;
|
|
4146
|
-
}
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4198
|
+
}
|
|
4199
|
+
registerCommandTrace(mode, command, expectedSchema, received, hint) {
|
|
4200
|
+
return {
|
|
4201
|
+
method: "registerCommand",
|
|
4202
|
+
registration_index: mode === "override" ? this.#commandRegistry.overrides.length : this.#commandRegistry.handlers.length,
|
|
4203
|
+
command,
|
|
4204
|
+
expected_schema: expectedSchema,
|
|
4205
|
+
received: sanitizeRegistrationValue(received),
|
|
4206
|
+
hint
|
|
4207
|
+
};
|
|
4208
|
+
}
|
|
4209
|
+
registerCommandOverride(command, override) {
|
|
4156
4210
|
const normalizedCommand = normalizeCommandName(command);
|
|
4157
4211
|
if (normalizedCommand.length === 0) {
|
|
4158
|
-
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."));
|
|
4212
|
+
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."));
|
|
4159
4213
|
}
|
|
4160
4214
|
if (typeof override !== "function") {
|
|
4161
|
-
const trace = registerCommandTrace("override", normalizedCommand, 'registerCommand("<command>", (context) => unknown)',
|
|
4215
|
+
const trace = this.registerCommandTrace("override", normalizedCommand, 'registerCommand("<command>", (context) => unknown)', override, "Provide a function as the second registerCommand argument.");
|
|
4162
4216
|
throw createRegistrationValidationError(`registerCommand requires an override function when command name is provided (command="${normalizedCommand}", registration_index=${trace.registration_index})`, trace);
|
|
4163
4217
|
}
|
|
4164
|
-
if (!allowRegistration("commands.override", "registerCommand", "commands", { command: normalizedCommand })) {
|
|
4218
|
+
if (!this.allowRegistration("commands.override", "registerCommand", "commands", { command: normalizedCommand })) {
|
|
4165
4219
|
return;
|
|
4166
4220
|
}
|
|
4167
|
-
|
|
4168
|
-
layer:
|
|
4169
|
-
name:
|
|
4221
|
+
this.#commandRegistry.overrides.push({
|
|
4222
|
+
layer: this.#loadedExtension.layer,
|
|
4223
|
+
name: this.#loadedExtension.name,
|
|
4170
4224
|
command: normalizedCommand,
|
|
4171
4225
|
run: override
|
|
4172
4226
|
});
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4227
|
+
}
|
|
4228
|
+
resolveCommandDefinitionRunHandler(definition, normalizedCommand) {
|
|
4175
4229
|
const runHandler = typeof definition.run === "function" ? definition.run : void 0;
|
|
4176
4230
|
const legacyHandler = typeof definition.handler === "function" ? definition.handler : void 0;
|
|
4177
4231
|
if (!runHandler && legacyHandler) {
|
|
4178
|
-
activationWarnings.push(`extension_command_definition_legacy_handler_alias:${
|
|
4232
|
+
this.#activationWarnings.push(`extension_command_definition_legacy_handler_alias:${this.#loadedExtension.layer}:${this.#loadedExtension.name}:${normalizedCommand}`);
|
|
4179
4233
|
}
|
|
4180
4234
|
return runHandler ?? legacyHandler;
|
|
4181
|
-
}
|
|
4182
|
-
|
|
4235
|
+
}
|
|
4236
|
+
registerCommandDefinition(definition) {
|
|
4183
4237
|
if (typeof definition !== "object" || definition === null) {
|
|
4184
|
-
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) => ... }).'));
|
|
4238
|
+
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) => ... }).'));
|
|
4185
4239
|
}
|
|
4186
4240
|
if (typeof definition.name !== "string") {
|
|
4187
|
-
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."));
|
|
4241
|
+
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."));
|
|
4188
4242
|
}
|
|
4189
4243
|
const normalizedCommand = normalizeCommandName(definition.name);
|
|
4190
4244
|
if (normalizedCommand.length === 0) {
|
|
4191
|
-
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."));
|
|
4245
|
+
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."));
|
|
4192
4246
|
}
|
|
4193
|
-
const resolvedHandler = resolveCommandDefinitionRunHandler(definition, normalizedCommand);
|
|
4247
|
+
const resolvedHandler = this.resolveCommandDefinitionRunHandler(definition, normalizedCommand);
|
|
4194
4248
|
if (typeof resolvedHandler !== "function") {
|
|
4195
|
-
const trace = registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; }",
|
|
4249
|
+
const trace = this.registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; }", resolvedHandler, "Define command definition.run as a function.");
|
|
4196
4250
|
throw createRegistrationValidationError(`registerCommand requires a command definition run handler (command="${normalizedCommand}", registration_index=${trace.registration_index})`, trace);
|
|
4197
4251
|
}
|
|
4198
4252
|
try {
|
|
@@ -4200,7 +4254,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4200
4254
|
assertOptionalStringField("registerCommand definition.description", definition.description);
|
|
4201
4255
|
assertOptionalStringField("registerCommand definition.intent", definition.intent);
|
|
4202
4256
|
const action = resolveCommandDefinitionAction(normalizedCommand, definition.action);
|
|
4203
|
-
if (!allowRegistration("commands.handler", "registerCommand", "commands", { command: normalizedCommand, action })) {
|
|
4257
|
+
if (!this.allowRegistration("commands.handler", "registerCommand", "commands", { command: normalizedCommand, action })) {
|
|
4204
4258
|
return;
|
|
4205
4259
|
}
|
|
4206
4260
|
const description = definition.description?.trim();
|
|
@@ -4209,19 +4263,21 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4209
4263
|
const failureHints = normalizeOptionalStringArrayField("registerCommand definition.failure_hints", definition.failure_hints);
|
|
4210
4264
|
const argumentsDefinition = normalizeCommandDefinitionArguments(definition.arguments);
|
|
4211
4265
|
if (definition.flags !== void 0) {
|
|
4212
|
-
assertExtensionCapability(
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4266
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerCommand flags");
|
|
4267
|
+
if (this.allowRegistration("schema.flags", "registerCommand flags", "schema")) {
|
|
4268
|
+
validateFlagDefinitions(definition.flags);
|
|
4269
|
+
this.#registrationRegistry.flags.push({
|
|
4270
|
+
layer: this.#loadedExtension.layer,
|
|
4271
|
+
name: this.#loadedExtension.name,
|
|
4272
|
+
target_command: normalizedCommand,
|
|
4273
|
+
flags: normalizeRegistrationRecordList("registerCommand definition.flags", definition.flags)
|
|
4274
|
+
});
|
|
4275
|
+
}
|
|
4220
4276
|
}
|
|
4221
4277
|
const registration = {
|
|
4222
|
-
layer:
|
|
4223
|
-
name:
|
|
4224
|
-
source_package:
|
|
4278
|
+
layer: this.#loadedExtension.layer,
|
|
4279
|
+
name: this.#loadedExtension.name,
|
|
4280
|
+
source_package: this.#loadedExtension.source_package,
|
|
4225
4281
|
command: normalizedCommand,
|
|
4226
4282
|
action,
|
|
4227
4283
|
examples,
|
|
@@ -4234,73 +4290,73 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4234
4290
|
if (intent) {
|
|
4235
4291
|
registration.intent = intent;
|
|
4236
4292
|
}
|
|
4237
|
-
|
|
4293
|
+
this.#registrationRegistry.commands.push(registration);
|
|
4238
4294
|
} catch (error) {
|
|
4239
4295
|
const reason = formatUnknownError(error);
|
|
4240
|
-
const trace = registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; action?: string; arguments?: object[]; flags?: object[]; }", definition,
|
|
4296
|
+
const trace = this.registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; action?: string; arguments?: object[]; flags?: object[]; }", definition, reason);
|
|
4241
4297
|
throw createRegistrationValidationError(`registerCommand definition metadata invalid (command="${normalizedCommand}", registration_index=${trace.registration_index}): ${reason}`, trace);
|
|
4242
4298
|
}
|
|
4243
|
-
|
|
4244
|
-
layer:
|
|
4245
|
-
name:
|
|
4299
|
+
this.#commandRegistry.handlers.push({
|
|
4300
|
+
layer: this.#loadedExtension.layer,
|
|
4301
|
+
name: this.#loadedExtension.name,
|
|
4246
4302
|
command: normalizedCommand,
|
|
4247
4303
|
run: resolvedHandler
|
|
4248
4304
|
});
|
|
4249
|
-
}
|
|
4250
|
-
|
|
4251
|
-
assertExtensionCapability(
|
|
4305
|
+
}
|
|
4306
|
+
registerCommand(commandOrDefinition, override) {
|
|
4307
|
+
assertExtensionCapability(this.#loadedExtension, "commands", "registerCommand");
|
|
4252
4308
|
if (typeof commandOrDefinition === "string") {
|
|
4253
|
-
registerCommandOverride(commandOrDefinition, override);
|
|
4309
|
+
this.registerCommandOverride(commandOrDefinition, override);
|
|
4254
4310
|
return;
|
|
4255
4311
|
}
|
|
4256
|
-
registerCommandDefinition(commandOrDefinition);
|
|
4257
|
-
}
|
|
4258
|
-
|
|
4259
|
-
assertExtensionCapability(
|
|
4260
|
-
if (!allowRegistration("parser.override", "registerParser", "parser")) {
|
|
4312
|
+
this.registerCommandDefinition(commandOrDefinition);
|
|
4313
|
+
}
|
|
4314
|
+
registerParser(command, override) {
|
|
4315
|
+
assertExtensionCapability(this.#loadedExtension, "parser", "registerParser");
|
|
4316
|
+
if (!this.allowRegistration("parser.override", "registerParser", "parser")) {
|
|
4261
4317
|
return;
|
|
4262
4318
|
}
|
|
4263
4319
|
const normalizedCommand = normalizeCommandName(assertNonEmptyString("registerParser command", command));
|
|
4264
4320
|
assertFunctionHandler("registerParser override", override);
|
|
4265
|
-
|
|
4266
|
-
layer:
|
|
4267
|
-
name:
|
|
4321
|
+
this.#parserRegistry.overrides.push({
|
|
4322
|
+
layer: this.#loadedExtension.layer,
|
|
4323
|
+
name: this.#loadedExtension.name,
|
|
4268
4324
|
command: normalizedCommand,
|
|
4269
4325
|
run: override
|
|
4270
4326
|
});
|
|
4271
|
-
}
|
|
4272
|
-
|
|
4273
|
-
assertExtensionCapability(
|
|
4274
|
-
if (!allowRegistration("preflight.override", "registerPreflight", "preflight")) {
|
|
4327
|
+
}
|
|
4328
|
+
registerPreflight(override) {
|
|
4329
|
+
assertExtensionCapability(this.#loadedExtension, "preflight", "registerPreflight");
|
|
4330
|
+
if (!this.allowRegistration("preflight.override", "registerPreflight", "preflight")) {
|
|
4275
4331
|
return;
|
|
4276
4332
|
}
|
|
4277
4333
|
assertFunctionHandler("registerPreflight override", override);
|
|
4278
|
-
|
|
4279
|
-
layer:
|
|
4280
|
-
name:
|
|
4334
|
+
this.#preflightRegistry.overrides.push({
|
|
4335
|
+
layer: this.#loadedExtension.layer,
|
|
4336
|
+
name: this.#loadedExtension.name,
|
|
4281
4337
|
run: override
|
|
4282
4338
|
});
|
|
4283
|
-
}
|
|
4284
|
-
|
|
4285
|
-
assertExtensionCapability(
|
|
4339
|
+
}
|
|
4340
|
+
registerService(service, override) {
|
|
4341
|
+
assertExtensionCapability(this.#loadedExtension, "services", "registerService");
|
|
4286
4342
|
const normalizedService = String(service).trim().toLowerCase();
|
|
4287
4343
|
if (!isExtensionServiceName(normalizedService)) {
|
|
4288
4344
|
throw new TypeError(`registerService service must be one of: ${KNOWN_EXTENSION_SERVICE_NAMES.join(", ")}`);
|
|
4289
4345
|
}
|
|
4290
|
-
if (!allowRegistration("services.override", "registerService", "services", { service: normalizedService })) {
|
|
4346
|
+
if (!this.allowRegistration("services.override", "registerService", "services", { service: normalizedService })) {
|
|
4291
4347
|
return;
|
|
4292
4348
|
}
|
|
4293
4349
|
assertFunctionHandler("registerService override", override);
|
|
4294
|
-
|
|
4295
|
-
layer:
|
|
4296
|
-
name:
|
|
4350
|
+
this.#serviceRegistry.overrides.push({
|
|
4351
|
+
layer: this.#loadedExtension.layer,
|
|
4352
|
+
name: this.#loadedExtension.name,
|
|
4297
4353
|
service: normalizedService,
|
|
4298
4354
|
run: override
|
|
4299
4355
|
});
|
|
4300
|
-
}
|
|
4301
|
-
|
|
4302
|
-
assertExtensionCapability(
|
|
4303
|
-
if (!allowRegistration("renderers.override", "registerRenderer", "renderers")) {
|
|
4356
|
+
}
|
|
4357
|
+
registerRenderer(format, renderer) {
|
|
4358
|
+
assertExtensionCapability(this.#loadedExtension, "renderers", "registerRenderer");
|
|
4359
|
+
if (!this.allowRegistration("renderers.override", "registerRenderer", "renderers")) {
|
|
4304
4360
|
return;
|
|
4305
4361
|
}
|
|
4306
4362
|
if (typeof renderer !== "function") {
|
|
@@ -4310,16 +4366,16 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4310
4366
|
if (!isOutputRendererFormat(normalizedFormat)) {
|
|
4311
4367
|
throw new Error(`registerRenderer format must be toon|json, received: ${String(format)}`);
|
|
4312
4368
|
}
|
|
4313
|
-
|
|
4314
|
-
layer:
|
|
4315
|
-
name:
|
|
4369
|
+
this.#rendererRegistry.overrides.push({
|
|
4370
|
+
layer: this.#loadedExtension.layer,
|
|
4371
|
+
name: this.#loadedExtension.name,
|
|
4316
4372
|
format: normalizedFormat,
|
|
4317
4373
|
run: renderer
|
|
4318
4374
|
});
|
|
4319
|
-
}
|
|
4320
|
-
|
|
4321
|
-
assertExtensionCapability(
|
|
4322
|
-
if (!allowRegistration("schema.flags", "registerFlags", "schema")) {
|
|
4375
|
+
}
|
|
4376
|
+
registerFlags(targetCommand, flags) {
|
|
4377
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerFlags");
|
|
4378
|
+
if (!this.allowRegistration("schema.flags", "registerFlags", "schema")) {
|
|
4323
4379
|
return;
|
|
4324
4380
|
}
|
|
4325
4381
|
const normalizedTargetCommand = normalizeCommandName(assertNonEmptyString("registerFlags targetCommand", targetCommand));
|
|
@@ -4328,16 +4384,16 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4328
4384
|
if (normalizedFlags.length === 0) {
|
|
4329
4385
|
throw new TypeError("registerFlags requires at least one flag definition");
|
|
4330
4386
|
}
|
|
4331
|
-
|
|
4332
|
-
layer:
|
|
4333
|
-
name:
|
|
4387
|
+
this.#registrationRegistry.flags.push({
|
|
4388
|
+
layer: this.#loadedExtension.layer,
|
|
4389
|
+
name: this.#loadedExtension.name,
|
|
4334
4390
|
target_command: normalizedTargetCommand,
|
|
4335
4391
|
flags: normalizedFlags
|
|
4336
4392
|
});
|
|
4337
|
-
}
|
|
4338
|
-
|
|
4339
|
-
assertExtensionCapability(
|
|
4340
|
-
if (!allowRegistration("schema.itemfields", "registerItemFields", "schema")) {
|
|
4393
|
+
}
|
|
4394
|
+
registerItemFields(fields) {
|
|
4395
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerItemFields");
|
|
4396
|
+
if (!this.allowRegistration("schema.itemfields", "registerItemFields", "schema")) {
|
|
4341
4397
|
return;
|
|
4342
4398
|
}
|
|
4343
4399
|
validateItemFieldDefinitions(fields);
|
|
@@ -4345,15 +4401,15 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4345
4401
|
if (normalizedFields.length === 0) {
|
|
4346
4402
|
throw new TypeError("registerItemFields requires at least one field definition");
|
|
4347
4403
|
}
|
|
4348
|
-
|
|
4349
|
-
layer:
|
|
4350
|
-
name:
|
|
4404
|
+
this.#registrationRegistry.item_fields.push({
|
|
4405
|
+
layer: this.#loadedExtension.layer,
|
|
4406
|
+
name: this.#loadedExtension.name,
|
|
4351
4407
|
fields: normalizedFields
|
|
4352
4408
|
});
|
|
4353
|
-
}
|
|
4354
|
-
|
|
4355
|
-
assertExtensionCapability(
|
|
4356
|
-
if (!allowRegistration("schema.itemtypes", "registerItemTypes", "schema")) {
|
|
4409
|
+
}
|
|
4410
|
+
registerItemTypes(types) {
|
|
4411
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerItemTypes");
|
|
4412
|
+
if (!this.allowRegistration("schema.itemtypes", "registerItemTypes", "schema")) {
|
|
4357
4413
|
return;
|
|
4358
4414
|
}
|
|
4359
4415
|
validateItemTypeDefinitions(types);
|
|
@@ -4361,39 +4417,39 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4361
4417
|
if (normalizedTypes.length === 0) {
|
|
4362
4418
|
throw new TypeError("registerItemTypes requires at least one type definition");
|
|
4363
4419
|
}
|
|
4364
|
-
|
|
4365
|
-
layer:
|
|
4366
|
-
name:
|
|
4420
|
+
this.#registrationRegistry.item_types.push({
|
|
4421
|
+
layer: this.#loadedExtension.layer,
|
|
4422
|
+
name: this.#loadedExtension.name,
|
|
4367
4423
|
types: normalizedTypes
|
|
4368
4424
|
});
|
|
4369
|
-
}
|
|
4370
|
-
|
|
4371
|
-
assertExtensionCapability(
|
|
4372
|
-
if (!allowRegistration("schema.migrations", "registerMigration", "schema")) {
|
|
4425
|
+
}
|
|
4426
|
+
registerMigration(definition) {
|
|
4427
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerMigration");
|
|
4428
|
+
if (!this.allowRegistration("schema.migrations", "registerMigration", "schema")) {
|
|
4373
4429
|
return;
|
|
4374
4430
|
}
|
|
4375
4431
|
validateMigrationDefinition(definition);
|
|
4376
4432
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerMigration definition", definition);
|
|
4377
|
-
|
|
4378
|
-
layer:
|
|
4379
|
-
name:
|
|
4433
|
+
this.#registrationRegistry.migrations.push(attachRuntimeDefinition({
|
|
4434
|
+
layer: this.#loadedExtension.layer,
|
|
4435
|
+
name: this.#loadedExtension.name,
|
|
4380
4436
|
definition: normalizeRegistrationRecord("registerMigration definition", definition)
|
|
4381
4437
|
}, runtimeDefinition));
|
|
4382
|
-
}
|
|
4383
|
-
|
|
4384
|
-
assertExtensionCapability(
|
|
4385
|
-
if (!allowRegistration("schema.profiles", "registerProfile", "schema")) {
|
|
4438
|
+
}
|
|
4439
|
+
registerProfile(profile) {
|
|
4440
|
+
assertExtensionCapability(this.#loadedExtension, "schema", "registerProfile");
|
|
4441
|
+
if (!this.allowRegistration("schema.profiles", "registerProfile", "schema")) {
|
|
4386
4442
|
return;
|
|
4387
4443
|
}
|
|
4388
4444
|
const snapshot = cloneRuntimeRegistrationValue(profile);
|
|
4389
4445
|
validateProjectProfileDefinition(snapshot);
|
|
4390
|
-
|
|
4391
|
-
layer:
|
|
4392
|
-
name:
|
|
4446
|
+
this.#registrationRegistry.profiles.push({
|
|
4447
|
+
layer: this.#loadedExtension.layer,
|
|
4448
|
+
name: this.#loadedExtension.name,
|
|
4393
4449
|
profile: applyProjectProfileDefaults(snapshot)
|
|
4394
4450
|
});
|
|
4395
|
-
}
|
|
4396
|
-
|
|
4451
|
+
}
|
|
4452
|
+
applyImportExportCommandMetadata(method, commandPath, options) {
|
|
4397
4453
|
if (options === void 0) {
|
|
4398
4454
|
return;
|
|
4399
4455
|
}
|
|
@@ -4408,21 +4464,21 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4408
4464
|
const failureHints = normalizeOptionalStringArrayField(`${method} options.failure_hints`, options.failure_hints);
|
|
4409
4465
|
const argumentsDefinition = normalizeCommandDefinitionArguments(options.arguments);
|
|
4410
4466
|
if (options.flags !== void 0) {
|
|
4411
|
-
assertExtensionCapability(
|
|
4412
|
-
if (allowRegistration("schema.flags", `${method} options.flags`, "schema")) {
|
|
4467
|
+
assertExtensionCapability(this.#loadedExtension, "schema", `${method} options.flags`);
|
|
4468
|
+
if (this.allowRegistration("schema.flags", `${method} options.flags`, "schema")) {
|
|
4413
4469
|
validateFlagDefinitions(options.flags);
|
|
4414
|
-
|
|
4415
|
-
layer:
|
|
4416
|
-
name:
|
|
4470
|
+
this.#registrationRegistry.flags.push({
|
|
4471
|
+
layer: this.#loadedExtension.layer,
|
|
4472
|
+
name: this.#loadedExtension.name,
|
|
4417
4473
|
target_command: commandPath,
|
|
4418
4474
|
flags: normalizeRegistrationRecordList(`${method} options.flags`, options.flags)
|
|
4419
4475
|
});
|
|
4420
4476
|
}
|
|
4421
4477
|
}
|
|
4422
4478
|
const registration = {
|
|
4423
|
-
layer:
|
|
4424
|
-
name:
|
|
4425
|
-
source_package:
|
|
4479
|
+
layer: this.#loadedExtension.layer,
|
|
4480
|
+
name: this.#loadedExtension.name,
|
|
4481
|
+
source_package: this.#loadedExtension.source_package,
|
|
4426
4482
|
command: commandPath,
|
|
4427
4483
|
action,
|
|
4428
4484
|
examples,
|
|
@@ -4437,25 +4493,25 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4437
4493
|
if (intent) {
|
|
4438
4494
|
registration.intent = intent;
|
|
4439
4495
|
}
|
|
4440
|
-
|
|
4441
|
-
}
|
|
4442
|
-
|
|
4443
|
-
assertExtensionCapability(
|
|
4444
|
-
if (!allowRegistration("importers.importer", "registerImporter", "importers")) {
|
|
4496
|
+
this.#registrationRegistry.commands.push(registration);
|
|
4497
|
+
}
|
|
4498
|
+
registerImporter(name, importer, options) {
|
|
4499
|
+
assertExtensionCapability(this.#loadedExtension, "importers", "registerImporter");
|
|
4500
|
+
if (!this.allowRegistration("importers.importer", "registerImporter", "importers")) {
|
|
4445
4501
|
return;
|
|
4446
4502
|
}
|
|
4447
4503
|
const normalizedName = normalizeRegistrationName(assertNonEmptyString("registerImporter name", name));
|
|
4448
4504
|
assertFunctionHandler("registerImporter importer", importer);
|
|
4449
4505
|
const commandPath = toRegistrationCommandPath(normalizedName, "import");
|
|
4450
|
-
applyImportExportCommandMetadata("registerImporter", commandPath, options);
|
|
4451
|
-
|
|
4452
|
-
layer:
|
|
4453
|
-
name:
|
|
4506
|
+
this.applyImportExportCommandMetadata("registerImporter", commandPath, options);
|
|
4507
|
+
this.#registrationRegistry.importers.push({
|
|
4508
|
+
layer: this.#loadedExtension.layer,
|
|
4509
|
+
name: this.#loadedExtension.name,
|
|
4454
4510
|
importer: normalizedName
|
|
4455
4511
|
});
|
|
4456
|
-
|
|
4457
|
-
layer:
|
|
4458
|
-
name:
|
|
4512
|
+
this.#commandRegistry.handlers.push({
|
|
4513
|
+
layer: this.#loadedExtension.layer,
|
|
4514
|
+
name: this.#loadedExtension.name,
|
|
4459
4515
|
command: commandPath,
|
|
4460
4516
|
run: async (context) => importer({
|
|
4461
4517
|
registration: normalizedName,
|
|
@@ -4467,24 +4523,24 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4467
4523
|
pm_root: context.pm_root
|
|
4468
4524
|
})
|
|
4469
4525
|
});
|
|
4470
|
-
}
|
|
4471
|
-
|
|
4472
|
-
assertExtensionCapability(
|
|
4473
|
-
if (!allowRegistration("importers.exporter", "registerExporter", "importers")) {
|
|
4526
|
+
}
|
|
4527
|
+
registerExporter(name, exporter, options) {
|
|
4528
|
+
assertExtensionCapability(this.#loadedExtension, "importers", "registerExporter");
|
|
4529
|
+
if (!this.allowRegistration("importers.exporter", "registerExporter", "importers")) {
|
|
4474
4530
|
return;
|
|
4475
4531
|
}
|
|
4476
4532
|
const normalizedName = normalizeRegistrationName(assertNonEmptyString("registerExporter name", name));
|
|
4477
4533
|
assertFunctionHandler("registerExporter exporter", exporter);
|
|
4478
4534
|
const commandPath = toRegistrationCommandPath(normalizedName, "export");
|
|
4479
|
-
applyImportExportCommandMetadata("registerExporter", commandPath, options);
|
|
4480
|
-
|
|
4481
|
-
layer:
|
|
4482
|
-
name:
|
|
4535
|
+
this.applyImportExportCommandMetadata("registerExporter", commandPath, options);
|
|
4536
|
+
this.#registrationRegistry.exporters.push({
|
|
4537
|
+
layer: this.#loadedExtension.layer,
|
|
4538
|
+
name: this.#loadedExtension.name,
|
|
4483
4539
|
exporter: normalizedName
|
|
4484
4540
|
});
|
|
4485
|
-
|
|
4486
|
-
layer:
|
|
4487
|
-
name:
|
|
4541
|
+
this.#commandRegistry.handlers.push({
|
|
4542
|
+
layer: this.#loadedExtension.layer,
|
|
4543
|
+
name: this.#loadedExtension.name,
|
|
4488
4544
|
command: commandPath,
|
|
4489
4545
|
run: async (context) => exporter({
|
|
4490
4546
|
registration: normalizedName,
|
|
@@ -4496,115 +4552,94 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
4496
4552
|
pm_root: context.pm_root
|
|
4497
4553
|
})
|
|
4498
4554
|
});
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
assertExtensionCapability(
|
|
4502
|
-
if (!allowRegistration("search.provider", "registerSearchProvider", "search")) {
|
|
4555
|
+
}
|
|
4556
|
+
registerSearchProvider(provider) {
|
|
4557
|
+
assertExtensionCapability(this.#loadedExtension, "search", "registerSearchProvider");
|
|
4558
|
+
if (!this.allowRegistration("search.provider", "registerSearchProvider", "search")) {
|
|
4503
4559
|
return;
|
|
4504
4560
|
}
|
|
4505
4561
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerSearchProvider provider", provider);
|
|
4506
|
-
|
|
4507
|
-
layer:
|
|
4508
|
-
name:
|
|
4562
|
+
this.#registrationRegistry.search_providers.push(attachRuntimeDefinition({
|
|
4563
|
+
layer: this.#loadedExtension.layer,
|
|
4564
|
+
name: this.#loadedExtension.name,
|
|
4509
4565
|
definition: normalizeRegistrationRecord("registerSearchProvider provider", provider)
|
|
4510
4566
|
}, runtimeDefinition));
|
|
4511
|
-
}
|
|
4512
|
-
|
|
4513
|
-
assertExtensionCapability(
|
|
4514
|
-
if (!allowRegistration("search.vectorstore", "registerVectorStoreAdapter", "search")) {
|
|
4567
|
+
}
|
|
4568
|
+
registerVectorStoreAdapter(adapter) {
|
|
4569
|
+
assertExtensionCapability(this.#loadedExtension, "search", "registerVectorStoreAdapter");
|
|
4570
|
+
if (!this.allowRegistration("search.vectorstore", "registerVectorStoreAdapter", "search")) {
|
|
4515
4571
|
return;
|
|
4516
4572
|
}
|
|
4517
4573
|
const runtimeDefinition = normalizeRuntimeRegistrationRecord("registerVectorStoreAdapter adapter", adapter);
|
|
4518
|
-
|
|
4519
|
-
layer:
|
|
4520
|
-
name:
|
|
4574
|
+
this.#registrationRegistry.vector_store_adapters.push(attachRuntimeDefinition({
|
|
4575
|
+
layer: this.#loadedExtension.layer,
|
|
4576
|
+
name: this.#loadedExtension.name,
|
|
4521
4577
|
definition: normalizeRegistrationRecord("registerVectorStoreAdapter adapter", adapter)
|
|
4522
4578
|
}, runtimeDefinition));
|
|
4523
|
-
}
|
|
4524
|
-
|
|
4525
|
-
assertExtensionCapability(
|
|
4526
|
-
if (!allowRegistration("hooks.beforecommand", "api.hooks.beforeCommand", "hooks")) {
|
|
4579
|
+
}
|
|
4580
|
+
registerBeforeCommand(hook) {
|
|
4581
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.beforeCommand");
|
|
4582
|
+
if (!this.allowRegistration("hooks.beforecommand", "api.hooks.beforeCommand", "hooks")) {
|
|
4527
4583
|
return;
|
|
4528
4584
|
}
|
|
4529
4585
|
assertHookHandler("beforeCommand", hook);
|
|
4530
|
-
|
|
4531
|
-
layer:
|
|
4532
|
-
name:
|
|
4586
|
+
this.#hookRegistry.beforeCommand.push({
|
|
4587
|
+
layer: this.#loadedExtension.layer,
|
|
4588
|
+
name: this.#loadedExtension.name,
|
|
4533
4589
|
run: hook
|
|
4534
4590
|
});
|
|
4535
|
-
}
|
|
4536
|
-
|
|
4537
|
-
assertExtensionCapability(
|
|
4538
|
-
if (!allowRegistration("hooks.aftercommand", "api.hooks.afterCommand", "hooks")) {
|
|
4591
|
+
}
|
|
4592
|
+
registerAfterCommand(hook) {
|
|
4593
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.afterCommand");
|
|
4594
|
+
if (!this.allowRegistration("hooks.aftercommand", "api.hooks.afterCommand", "hooks")) {
|
|
4539
4595
|
return;
|
|
4540
4596
|
}
|
|
4541
4597
|
assertHookHandler("afterCommand", hook);
|
|
4542
|
-
|
|
4543
|
-
layer:
|
|
4544
|
-
name:
|
|
4598
|
+
this.#hookRegistry.afterCommand.push({
|
|
4599
|
+
layer: this.#loadedExtension.layer,
|
|
4600
|
+
name: this.#loadedExtension.name,
|
|
4545
4601
|
run: hook
|
|
4546
4602
|
});
|
|
4547
|
-
}
|
|
4548
|
-
|
|
4549
|
-
assertExtensionCapability(
|
|
4550
|
-
if (!allowRegistration("hooks.onwrite", "api.hooks.onWrite", "hooks")) {
|
|
4603
|
+
}
|
|
4604
|
+
registerOnWrite(hook) {
|
|
4605
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onWrite");
|
|
4606
|
+
if (!this.allowRegistration("hooks.onwrite", "api.hooks.onWrite", "hooks")) {
|
|
4551
4607
|
return;
|
|
4552
4608
|
}
|
|
4553
4609
|
assertHookHandler("onWrite", hook);
|
|
4554
|
-
|
|
4555
|
-
layer:
|
|
4556
|
-
name:
|
|
4610
|
+
this.#hookRegistry.onWrite.push({
|
|
4611
|
+
layer: this.#loadedExtension.layer,
|
|
4612
|
+
name: this.#loadedExtension.name,
|
|
4557
4613
|
run: hook
|
|
4558
4614
|
});
|
|
4559
|
-
}
|
|
4560
|
-
|
|
4561
|
-
assertExtensionCapability(
|
|
4562
|
-
if (!allowRegistration("hooks.onread", "api.hooks.onRead", "hooks")) {
|
|
4615
|
+
}
|
|
4616
|
+
registerOnRead(hook) {
|
|
4617
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onRead");
|
|
4618
|
+
if (!this.allowRegistration("hooks.onread", "api.hooks.onRead", "hooks")) {
|
|
4563
4619
|
return;
|
|
4564
4620
|
}
|
|
4565
4621
|
assertHookHandler("onRead", hook);
|
|
4566
|
-
|
|
4567
|
-
layer:
|
|
4568
|
-
name:
|
|
4622
|
+
this.#hookRegistry.onRead.push({
|
|
4623
|
+
layer: this.#loadedExtension.layer,
|
|
4624
|
+
name: this.#loadedExtension.name,
|
|
4569
4625
|
run: hook
|
|
4570
4626
|
});
|
|
4571
|
-
}
|
|
4572
|
-
|
|
4573
|
-
assertExtensionCapability(
|
|
4574
|
-
if (!allowRegistration("hooks.onindex", "api.hooks.onIndex", "hooks")) {
|
|
4627
|
+
}
|
|
4628
|
+
registerOnIndex(hook) {
|
|
4629
|
+
assertExtensionCapability(this.#loadedExtension, "hooks", "api.hooks.onIndex");
|
|
4630
|
+
if (!this.allowRegistration("hooks.onindex", "api.hooks.onIndex", "hooks")) {
|
|
4575
4631
|
return;
|
|
4576
4632
|
}
|
|
4577
4633
|
assertHookHandler("onIndex", hook);
|
|
4578
|
-
|
|
4579
|
-
layer:
|
|
4580
|
-
name:
|
|
4634
|
+
this.#hookRegistry.onIndex.push({
|
|
4635
|
+
layer: this.#loadedExtension.layer,
|
|
4636
|
+
name: this.#loadedExtension.name,
|
|
4581
4637
|
run: hook
|
|
4582
4638
|
});
|
|
4583
|
-
}
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
registerParser,
|
|
4588
|
-
registerPreflight,
|
|
4589
|
-
registerService,
|
|
4590
|
-
registerFlags,
|
|
4591
|
-
registerItemFields,
|
|
4592
|
-
registerItemTypes,
|
|
4593
|
-
registerMigration,
|
|
4594
|
-
registerProfile,
|
|
4595
|
-
registerRenderer,
|
|
4596
|
-
registerImporter,
|
|
4597
|
-
registerExporter,
|
|
4598
|
-
registerSearchProvider,
|
|
4599
|
-
registerVectorStoreAdapter,
|
|
4600
|
-
hooks: {
|
|
4601
|
-
beforeCommand: registerBeforeCommand,
|
|
4602
|
-
afterCommand: registerAfterCommand,
|
|
4603
|
-
onWrite: registerOnWrite,
|
|
4604
|
-
onRead: registerOnRead,
|
|
4605
|
-
onIndex: registerOnIndex
|
|
4606
|
-
}
|
|
4607
|
-
};
|
|
4639
|
+
}
|
|
4640
|
+
};
|
|
4641
|
+
function createExtensionApi(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy) {
|
|
4642
|
+
return new ExtensionApiRegistrar(extension, hooks, commands, parsers, preflight, services, renderers, registrations, activationWarnings, policy);
|
|
4608
4643
|
}
|
|
4609
4644
|
function getRegistrationCounts(registrations) {
|
|
4610
4645
|
const commandCount = registrations.commands.length;
|
|
@@ -5484,6 +5519,18 @@ function statusIsTerminal(status, registry) {
|
|
|
5484
5519
|
return registry.terminal_statuses.has(normalized);
|
|
5485
5520
|
}
|
|
5486
5521
|
|
|
5522
|
+
// dist/core/shared/memo.js
|
|
5523
|
+
function evictOldestMemoEntries(memo) {
|
|
5524
|
+
let remaining = Math.ceil(memo.size / 2);
|
|
5525
|
+
for (const key of memo.keys()) {
|
|
5526
|
+
if (remaining === 0) {
|
|
5527
|
+
return;
|
|
5528
|
+
}
|
|
5529
|
+
memo.delete(key);
|
|
5530
|
+
remaining -= 1;
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5487
5534
|
export {
|
|
5488
5535
|
ensureDir,
|
|
5489
5536
|
pathExists,
|
|
@@ -5633,8 +5680,9 @@ export {
|
|
|
5633
5680
|
normalizeStatusInputWithRegistry,
|
|
5634
5681
|
resolveRuntimeFieldRegistry,
|
|
5635
5682
|
runtimeFieldOptionTarget,
|
|
5636
|
-
statusIsTerminal
|
|
5683
|
+
statusIsTerminal,
|
|
5684
|
+
evictOldestMemoEntries
|
|
5637
5685
|
};
|
|
5638
|
-
//# sourceMappingURL=chunk-
|
|
5686
|
+
//# sourceMappingURL=chunk-MFLLULHU.js.map
|
|
5639
5687
|
|
|
5640
|
-
//# debugId=
|
|
5688
|
+
//# debugId=e9729333-6db5-59ee-8259-e1cba10d635f
|