@unbrained/pm-cli 2026.7.7 → 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 +18 -0
- 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.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/search.js +3 -3
- package/dist/cli/commands/search.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.js +3 -2
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-setup.js +8 -2
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli-bundle/chunks/append-CDPAYYSB.js +11 -0
- package/dist/cli-bundle/chunks/{append-PVCTBVJG.js → append-RSPHC423.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-LCFJ7XAM.js → chunk-2BVD4ZD2.js} +267 -232
- package/dist/cli-bundle/chunks/chunk-2BVD4ZD2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-MHNMCDWR.js → chunk-2RADY7IB.js} +212 -38
- package/dist/cli-bundle/chunks/chunk-2RADY7IB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-S547WBYG.js → chunk-3FRNNVWY.js} +212 -38
- package/dist/cli-bundle/chunks/chunk-3FRNNVWY.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js → chunk-3FUXM574.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js → chunk-3SHDAKMF.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js → chunk-3UXIMY62.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js → chunk-3V5C7PUH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-43YSKY75.js → chunk-3YJDIJIE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js → chunk-4I7KS5ES.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js → chunk-4OCWJ2AP.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js → chunk-5STY7NVM.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js → chunk-5VAZHYVQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js → chunk-6FU5BVRB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js → chunk-6RR4XM5H.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js → chunk-6TD5QGIB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-565WYS5W.js → chunk-6WCXSC5V.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js → chunk-6ZKDMEVT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js → chunk-7QKSLAHB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js → chunk-7TBUV7XS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js → chunk-7UCBLJDF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js → chunk-AEOFBBWO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TZLYO4PP.js → chunk-ASMRSIDX.js} +16 -16
- package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js → chunk-BFNFTHWQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js → chunk-BPJ5NYSJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js → chunk-C3YU3TXX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js → chunk-C6XSTACC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js → chunk-CGDUIPJL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js → chunk-CXH7EMSB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js → chunk-D63PEJTB.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js → chunk-D6J5673C.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js → chunk-DUBC6TI3.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js → chunk-EEJKHF7M.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js → chunk-EP2CKDS7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js → chunk-EYPIUFWJ.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js → chunk-F5DDGY6R.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js → chunk-FFB3WITE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-43UQN754.js → chunk-FJR2S7S4.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-X47MKQXU.js → chunk-FL625JJM.js} +166 -64
- package/dist/cli-bundle/chunks/chunk-FL625JJM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js → chunk-FOJEBRDD.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-XZWL7VNE.js → chunk-G4FKP4ID.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-Y5IKRUEM.js → chunk-GE44TQMC.js} +167 -65
- package/dist/cli-bundle/chunks/chunk-GE44TQMC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js → chunk-GLMJLBLR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js → chunk-GO2X6ZRB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js → chunk-GQOKFX2G.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js → chunk-GSQVQINP.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-7ML7JONU.js → chunk-HI27UADG.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-HI27UADG.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js → chunk-HZZ3AC27.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js → chunk-IINCZYM3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js → chunk-INOWVPUD.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js → chunk-IYRG5AEC.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js → chunk-J6AD3GWC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js → chunk-JH5XDDYS.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js → chunk-JYVPLGOW.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js → chunk-K52C6YPA.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js → chunk-KFL3XHMA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J2VGADNG.js → chunk-KMXVZ2P7.js} +16 -16
- package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js → chunk-LD2NBQ5T.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js → chunk-LG4N6YOK.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js → chunk-LHDHS4Z6.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js → chunk-MCH6IKK7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UO7XAZK6.js → chunk-MFLLULHU.js} +267 -232
- package/dist/cli-bundle/chunks/chunk-MFLLULHU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2APXX4TZ.js → chunk-ML27MHNM.js} +23 -7
- package/dist/cli-bundle/chunks/chunk-ML27MHNM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js → chunk-MYHFZNBO.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js → chunk-NGBWEYNY.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js → chunk-NRMDT4OV.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js → chunk-NTOOEVJ4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js → chunk-P2WE5KCU.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js → chunk-PAWPLIWW.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js → chunk-PCBZ2VJD.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6XTSYPPO.js → chunk-PJPZTE7P.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-3X542TEY.js → chunk-Q3CFSOQZ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js → chunk-QJZM5WO5.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js → chunk-QLEH6FTQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js → chunk-QYZMZD4L.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-F6YC2A6X.js → chunk-RDJXIAJB.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js → chunk-RFHLRMLQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js → chunk-RL24NAUX.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-C5ACVMOI.js → chunk-RLHQ3G4M.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js → chunk-SCJPFQQT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js → chunk-SIQGG335.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js → chunk-SN5X5GTU.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-43SIHQND.js → chunk-TKWTJGD6.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-YCVWWIKY.js → chunk-TR2C6V5T.js} +25 -9
- package/dist/cli-bundle/chunks/chunk-TR2C6V5T.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FILL6BB2.js → chunk-TTCJCKUJ.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-TTCJCKUJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js → chunk-TU5P744I.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js → chunk-TUDAYIO7.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js → chunk-U72GF3I2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js → chunk-UCRYCT5M.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js → chunk-UEATYUZW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js → chunk-UFNFHCAC.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js → chunk-UH6VFRV6.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js → chunk-UIHDZS6X.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js → chunk-UURYLDDC.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-6LCJRGPD.js → chunk-UVFJSKTF.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js → chunk-W2VFNVSJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js → chunk-WVEMZZCR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RY7PTTUB.js → chunk-XN5BEN2B.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js → chunk-XPSGJ4IV.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js → chunk-YQEKE4FO.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js → chunk-YR5R4FMQ.js} +10 -10
- package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js → chunk-YSRXFGNV.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js → chunk-YUCKM3MD.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js → chunk-YUMNZS3X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js → chunk-Z2JQH2MG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js → chunk-Z6RLSNUX.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js → chunk-ZMOPZFVT.js} +4 -4
- package/dist/cli-bundle/chunks/close-E3RLZSP2.js +12 -0
- package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js → close-K6BFI3OX.js} +5 -5
- package/dist/cli-bundle/chunks/{close-many-D366FTIG.js → close-many-6NBL3PM4.js} +13 -13
- package/dist/cli-bundle/chunks/close-many-X4YKS3RO.js +22 -0
- package/dist/cli-bundle/chunks/{comments-54XDJNFE.js → comments-PLFK5ZKK.js} +7 -7
- 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-44RT5GDW.js → copy-VH3L4MN2.js} +4 -4
- package/dist/cli-bundle/chunks/create-AMBMYP6F.js +25 -0
- package/dist/cli-bundle/chunks/{create-4GWJWPXG.js → create-TRIBYORN.js} +9 -9
- package/dist/cli-bundle/chunks/delete-6KQHZYIP.js +10 -0
- package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js → delete-ZNXUNCZR.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-FMANWFRP.js → deps-CVDY7FFK.js} +4 -4
- package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js → deps-SZXQHV73.js} +4 -4
- package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js → docs-DR74ITCD.js} +6 -6
- package/dist/cli-bundle/chunks/docs-WCVYY6I7.js +14 -0
- package/dist/cli-bundle/chunks/{files-72HZEBOE.js → files-H5YCA74Z.js} +6 -6
- package/dist/cli-bundle/chunks/{files-HTSB2KJG.js → files-QEFQ2M3H.js} +6 -6
- package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js → focus-55TRYSNA.js} +5 -5
- 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-M6IFAMBP.js → history-compact-JJZ4EFL3.js} +9 -9
- package/dist/cli-bundle/chunks/history-redact-4GJOLXCM.js +17 -0
- package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js → history-redact-TPPUT3A5.js} +7 -7
- package/dist/cli-bundle/chunks/history-repair-HVCVCGUF.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js → history-repair-J7PIZ6ZP.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js → learnings-KB6BT4NR.js} +7 -7
- 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-U7L6HQQ2.js → notes-ZTHXVOKM.js} +7 -7
- package/dist/cli-bundle/chunks/{plan-TN537L24.js → plan-CJPKFRBK.js} +10 -10
- package/dist/cli-bundle/chunks/plan-MK2QY3GA.js +24 -0
- package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js → profile-AQNHXOYA.js} +9 -9
- package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js → profile-HTBFINKQ.js} +9 -9
- package/dist/cli-bundle/chunks/{register-list-query-ZCRABAPN.js → register-list-query-EEF33SUJ.js} +16 -15
- package/dist/cli-bundle/chunks/{register-list-query-ZCRABAPN.js.map → register-list-query-EEF33SUJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-list-query-OHXD7G5N.js → register-list-query-S4FBWIWN.js} +15 -14
- package/dist/cli-bundle/chunks/{register-list-query-OHXD7G5N.js.map → register-list-query-S4FBWIWN.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js → register-mutation-L5Q7AUDN.js} +29 -29
- package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js → register-mutation-QFLRBCI7.js} +29 -29
- package/dist/cli-bundle/chunks/{register-operations-V6PIYEDU.js → register-operations-HDE4FVW4.js} +26 -26
- package/dist/cli-bundle/chunks/{register-operations-V6VKTG54.js → register-operations-QDU43FCG.js} +26 -26
- package/dist/cli-bundle/chunks/{register-setup-6YVUSQYD.js → register-setup-EGMTAXDC.js} +21 -19
- package/dist/cli-bundle/chunks/register-setup-EGMTAXDC.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-6RVAWT6W.js → register-setup-PNIO3L2P.js} +20 -18
- package/dist/cli-bundle/chunks/register-setup-PNIO3L2P.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js → restore-BTBEZ5CK.js} +7 -7
- package/dist/cli-bundle/chunks/restore-EX4UUZL6.js +15 -0
- package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js → schema-DGSTYYQB.js} +6 -6
- package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js → schema-HAIBEE24.js} +6 -6
- package/dist/cli-bundle/chunks/{update-LKD64AFP.js → update-MP4XLU56.js} +12 -12
- 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 +39 -13
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/cli-bundle/sdk-runtime.js +85 -53
- package/dist/cli-bundle/sdk-testing.js +6 -6
- package/dist/cli-bundle/sdk.js +87 -55
- 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/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 +7 -3
- 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 +7 -3
- 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 +132 -1
- package/dist/sdk/runtime.js +200 -2
- package/dist/sdk/runtime.js.map +1 -1
- package/docs/EXTENSIONS.md +7 -20
- package/docs/RELEASING.md +6 -0
- package/docs/SDK.md +30 -0
- package/package.json +2 -1
- package/dist/cli-bundle/chunks/append-F7WPGIQL.js +0 -11
- package/dist/cli-bundle/chunks/chunk-2APXX4TZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7ML7JONU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FILL6BB2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LCFJ7XAM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MHNMCDWR.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-S547WBYG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UO7XAZK6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-X47MKQXU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Y5IKRUEM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YCVWWIKY.js.map +0 -7
- package/dist/cli-bundle/chunks/close-Z3Q4U7TS.js +0 -12
- package/dist/cli-bundle/chunks/close-many-3L2RXH3M.js +0 -22
- package/dist/cli-bundle/chunks/comments-HGHC2PN6.js +0 -13
- package/dist/cli-bundle/chunks/copy-UGMUGHZA.js +0 -9
- package/dist/cli-bundle/chunks/create-AZXCUYKP.js +0 -25
- package/dist/cli-bundle/chunks/delete-Y6SXIQ4X.js +0 -10
- package/dist/cli-bundle/chunks/docs-VNPBZXEL.js +0 -14
- package/dist/cli-bundle/chunks/focus-SUTMKXGX.js +0 -10
- package/dist/cli-bundle/chunks/history-compact-NEXRPP2O.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-WQJBZ3PX.js +0 -17
- package/dist/cli-bundle/chunks/history-repair-CBHMHAJO.js +0 -19
- package/dist/cli-bundle/chunks/learnings-M64NTSOR.js +0 -13
- package/dist/cli-bundle/chunks/notes-73WE2UV2.js +0 -13
- package/dist/cli-bundle/chunks/plan-OSCNYFGC.js +0 -24
- package/dist/cli-bundle/chunks/register-setup-6RVAWT6W.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-6YVUSQYD.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-LFAMMRYZ.js +0 -15
- package/dist/cli-bundle/chunks/update-CJGG5WMV.js +0 -21
- package/dist/cli-bundle/chunks/update-many-G4SM7BHC.js +0 -31
- package/dist/cli-bundle/chunks/update-many-VLIV3D7R.js +0 -35
- /package/dist/cli-bundle/chunks/{append-F7WPGIQL.js.map → append-CDPAYYSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-PVCTBVJG.js.map → append-RSPHC423.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js.map → chunk-3FUXM574.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js.map → chunk-3SHDAKMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js.map → chunk-3UXIMY62.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js.map → chunk-3V5C7PUH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43YSKY75.js.map → chunk-3YJDIJIE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js.map → chunk-4I7KS5ES.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js.map → chunk-4OCWJ2AP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js.map → chunk-5STY7NVM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js.map → chunk-5VAZHYVQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js.map → chunk-6FU5BVRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js.map → chunk-6RR4XM5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js.map → chunk-6TD5QGIB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-565WYS5W.js.map → chunk-6WCXSC5V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js.map → chunk-6ZKDMEVT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js.map → chunk-7QKSLAHB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js.map → chunk-7TBUV7XS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js.map → chunk-7UCBLJDF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js.map → chunk-AEOFBBWO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TZLYO4PP.js.map → chunk-ASMRSIDX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js.map → chunk-BFNFTHWQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js.map → chunk-BPJ5NYSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js.map → chunk-C3YU3TXX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js.map → chunk-C6XSTACC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js.map → chunk-CGDUIPJL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js.map → chunk-CXH7EMSB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js.map → chunk-D63PEJTB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js.map → chunk-D6J5673C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js.map → chunk-DUBC6TI3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js.map → chunk-EEJKHF7M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js.map → chunk-EP2CKDS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js.map → chunk-EYPIUFWJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js.map → chunk-F5DDGY6R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js.map → chunk-FFB3WITE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43UQN754.js.map → chunk-FJR2S7S4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js.map → chunk-FOJEBRDD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XZWL7VNE.js.map → chunk-G4FKP4ID.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js.map → chunk-GLMJLBLR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js.map → chunk-GO2X6ZRB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js.map → chunk-GQOKFX2G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js.map → chunk-GSQVQINP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js.map → chunk-HZZ3AC27.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js.map → chunk-IINCZYM3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js.map → chunk-INOWVPUD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js.map → chunk-IYRG5AEC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js.map → chunk-J6AD3GWC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js.map → chunk-JH5XDDYS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js.map → chunk-JYVPLGOW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js.map → chunk-K52C6YPA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js.map → chunk-KFL3XHMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-J2VGADNG.js.map → chunk-KMXVZ2P7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js.map → chunk-LD2NBQ5T.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js.map → chunk-LG4N6YOK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js.map → chunk-LHDHS4Z6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js.map → chunk-MCH6IKK7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js.map → chunk-MYHFZNBO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js.map → chunk-NGBWEYNY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js.map → chunk-NRMDT4OV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js.map → chunk-NTOOEVJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js.map → chunk-P2WE5KCU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js.map → chunk-PAWPLIWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js.map → chunk-PCBZ2VJD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6XTSYPPO.js.map → chunk-PJPZTE7P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3X542TEY.js.map → chunk-Q3CFSOQZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js.map → chunk-QJZM5WO5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js.map → chunk-QLEH6FTQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js.map → chunk-QYZMZD4L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F6YC2A6X.js.map → chunk-RDJXIAJB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js.map → chunk-RFHLRMLQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js.map → chunk-RL24NAUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-C5ACVMOI.js.map → chunk-RLHQ3G4M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js.map → chunk-SCJPFQQT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js.map → chunk-SIQGG335.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js.map → chunk-SN5X5GTU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-43SIHQND.js.map → chunk-TKWTJGD6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js.map → chunk-TU5P744I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js.map → chunk-TUDAYIO7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js.map → chunk-U72GF3I2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js.map → chunk-UCRYCT5M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js.map → chunk-UEATYUZW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js.map → chunk-UFNFHCAC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js.map → chunk-UH6VFRV6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js.map → chunk-UIHDZS6X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js.map → chunk-UURYLDDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6LCJRGPD.js.map → chunk-UVFJSKTF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js.map → chunk-W2VFNVSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js.map → chunk-WVEMZZCR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RY7PTTUB.js.map → chunk-XN5BEN2B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js.map → chunk-XPSGJ4IV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js.map → chunk-YQEKE4FO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js.map → chunk-YR5R4FMQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js.map → chunk-YSRXFGNV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js.map → chunk-YUCKM3MD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js.map → chunk-YUMNZS3X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js.map → chunk-Z2JQH2MG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js.map → chunk-Z6RLSNUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js.map → chunk-ZMOPZFVT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-Z3Q4U7TS.js.map → close-E3RLZSP2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js.map → close-K6BFI3OX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-D366FTIG.js.map → close-many-6NBL3PM4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-3L2RXH3M.js.map → close-many-X4YKS3RO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-54XDJNFE.js.map → comments-PLFK5ZKK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-HGHC2PN6.js.map → comments-ZNOD5PTV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-UGMUGHZA.js.map → copy-F7BUFY4J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-44RT5GDW.js.map → copy-VH3L4MN2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-AZXCUYKP.js.map → create-AMBMYP6F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-4GWJWPXG.js.map → create-TRIBYORN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-Y6SXIQ4X.js.map → delete-6KQHZYIP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js.map → delete-ZNXUNCZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-FMANWFRP.js.map → deps-CVDY7FFK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js.map → deps-SZXQHV73.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js.map → docs-DR74ITCD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-VNPBZXEL.js.map → docs-WCVYY6I7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-72HZEBOE.js.map → files-H5YCA74Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-HTSB2KJG.js.map → files-QEFQ2M3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js.map → focus-55TRYSNA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-SUTMKXGX.js.map → focus-N2QGNS5D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-NEXRPP2O.js.map → history-compact-GWQ4UOEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-M6IFAMBP.js.map → history-compact-JJZ4EFL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-WQJBZ3PX.js.map → history-redact-4GJOLXCM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js.map → history-redact-TPPUT3A5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-CBHMHAJO.js.map → history-repair-HVCVCGUF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js.map → history-repair-J7PIZ6ZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js.map → learnings-KB6BT4NR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-M64NTSOR.js.map → learnings-YYY3U2Y7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-73WE2UV2.js.map → notes-BGG7VL72.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-U7L6HQQ2.js.map → notes-ZTHXVOKM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-TN537L24.js.map → plan-CJPKFRBK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-OSCNYFGC.js.map → plan-MK2QY3GA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js.map → profile-AQNHXOYA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js.map → profile-HTBFINKQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js.map → register-mutation-L5Q7AUDN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js.map → register-mutation-QFLRBCI7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-operations-V6PIYEDU.js.map → register-operations-HDE4FVW4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-operations-V6VKTG54.js.map → register-operations-QDU43FCG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js.map → restore-BTBEZ5CK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-LFAMMRYZ.js.map → restore-EX4UUZL6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js.map → schema-DGSTYYQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js.map → schema-HAIBEE24.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-LKD64AFP.js.map → update-MP4XLU56.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-CJGG5WMV.js.map → update-SDIRJGSY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-G4SM7BHC.js.map → update-many-34AIU6W7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-VLIV3D7R.js.map → update-many-JUPCNOKV.js.map} +0 -0
|
@@ -53,6 +53,8 @@ export interface ExtensionCommandOptions {
|
|
|
53
53
|
watch?: boolean;
|
|
54
54
|
runtimeProbe?: boolean;
|
|
55
55
|
fixManagedState?: boolean;
|
|
56
|
+
isolated?: boolean;
|
|
57
|
+
ignoreGlobal?: boolean;
|
|
56
58
|
fields?: string;
|
|
57
59
|
capability?: string;
|
|
58
60
|
declarative?: boolean;
|
|
@@ -171,7 +173,24 @@ interface ExtensionUpdateCheckResolution {
|
|
|
171
173
|
* Restricts extension doctor detail mode values accepted by command, SDK, and storage contracts.
|
|
172
174
|
*/
|
|
173
175
|
export type ExtensionDoctorDetailMode = "summary" | "deep";
|
|
174
|
-
|
|
176
|
+
interface ExtensionPolicyOverrideDetails {
|
|
177
|
+
name: string;
|
|
178
|
+
disabled?: boolean;
|
|
179
|
+
require_trusted?: boolean;
|
|
180
|
+
require_provenance?: boolean;
|
|
181
|
+
sandbox_profile?: "none" | "restricted" | "strict";
|
|
182
|
+
allowed_capabilities?: string[];
|
|
183
|
+
blocked_capabilities?: string[];
|
|
184
|
+
allowed_surfaces?: string[];
|
|
185
|
+
blocked_surfaces?: string[];
|
|
186
|
+
allowed_commands?: string[];
|
|
187
|
+
blocked_commands?: string[];
|
|
188
|
+
allowed_actions?: string[];
|
|
189
|
+
blocked_actions?: string[];
|
|
190
|
+
allowed_services?: string[];
|
|
191
|
+
blocked_services?: string[];
|
|
192
|
+
}
|
|
193
|
+
interface ExtensionPolicyDetails {
|
|
175
194
|
mode: "off" | "warn" | "enforce";
|
|
176
195
|
trust_mode: "off" | "warn" | "enforce";
|
|
177
196
|
require_provenance: boolean;
|
|
@@ -189,24 +208,9 @@ declare function buildExtensionPolicyDetails(policy: PmSettings["extensions"]["p
|
|
|
189
208
|
blocked_actions: string[];
|
|
190
209
|
allowed_services: string[];
|
|
191
210
|
blocked_services: string[];
|
|
192
|
-
extension_overrides:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
require_trusted?: boolean;
|
|
196
|
-
require_provenance?: boolean;
|
|
197
|
-
sandbox_profile?: "none" | "restricted" | "strict";
|
|
198
|
-
allowed_capabilities?: string[];
|
|
199
|
-
blocked_capabilities?: string[];
|
|
200
|
-
allowed_surfaces?: string[];
|
|
201
|
-
blocked_surfaces?: string[];
|
|
202
|
-
allowed_commands?: string[];
|
|
203
|
-
blocked_commands?: string[];
|
|
204
|
-
allowed_actions?: string[];
|
|
205
|
-
blocked_actions?: string[];
|
|
206
|
-
allowed_services?: string[];
|
|
207
|
-
blocked_services?: string[];
|
|
208
|
-
}>;
|
|
209
|
-
};
|
|
211
|
+
extension_overrides: ExtensionPolicyOverrideDetails[];
|
|
212
|
+
}
|
|
213
|
+
declare function buildExtensionPolicyDetails(policy: PmSettings["extensions"]["policy"] | null | undefined): ExtensionPolicyDetails;
|
|
210
214
|
declare function isRetriableExtensionInstallCopyError(error: unknown): boolean;
|
|
211
215
|
declare function isErrnoCode(error: unknown, code: string): boolean;
|
|
212
216
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Implements the pm extension command surface and its agent-facing runtime behavior.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!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]="
|
|
7
|
+
!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]="0489ce7c-9aeb-586f-a972-70cb1bfa6fc8")}catch(e){}}();
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import os from "node:os";
|
|
@@ -77,62 +77,119 @@ const LIFECYCLE_ACTION_FLAGS = {
|
|
|
77
77
|
init: "--init",
|
|
78
78
|
};
|
|
79
79
|
const NATIVE_OUTPUT_MARKER = "__pm_native_output";
|
|
80
|
+
const EXTENSION_POLICY_ROOT_LIST_FIELDS = [
|
|
81
|
+
"trusted_extensions",
|
|
82
|
+
"allowed_extensions",
|
|
83
|
+
"blocked_extensions",
|
|
84
|
+
"allowed_capabilities",
|
|
85
|
+
"blocked_capabilities",
|
|
86
|
+
"allowed_surfaces",
|
|
87
|
+
"blocked_surfaces",
|
|
88
|
+
"allowed_commands",
|
|
89
|
+
"blocked_commands",
|
|
90
|
+
"allowed_actions",
|
|
91
|
+
"blocked_actions",
|
|
92
|
+
"allowed_services",
|
|
93
|
+
"blocked_services",
|
|
94
|
+
];
|
|
95
|
+
const EXTENSION_POLICY_OVERRIDE_LIST_FIELDS = [
|
|
96
|
+
"allowed_capabilities",
|
|
97
|
+
"blocked_capabilities",
|
|
98
|
+
"allowed_surfaces",
|
|
99
|
+
"blocked_surfaces",
|
|
100
|
+
"allowed_commands",
|
|
101
|
+
"blocked_commands",
|
|
102
|
+
"allowed_actions",
|
|
103
|
+
"blocked_actions",
|
|
104
|
+
"allowed_services",
|
|
105
|
+
"blocked_services",
|
|
106
|
+
];
|
|
107
|
+
const DEFAULT_EXTENSION_POLICY_DETAILS = {
|
|
108
|
+
mode: "off",
|
|
109
|
+
trust_mode: "off",
|
|
110
|
+
require_provenance: false,
|
|
111
|
+
trusted_extensions: [],
|
|
112
|
+
default_sandbox_profile: "none",
|
|
113
|
+
allowed_extensions: [],
|
|
114
|
+
blocked_extensions: [],
|
|
115
|
+
allowed_capabilities: [],
|
|
116
|
+
blocked_capabilities: [],
|
|
117
|
+
allowed_surfaces: [],
|
|
118
|
+
blocked_surfaces: [],
|
|
119
|
+
allowed_commands: [],
|
|
120
|
+
blocked_commands: [],
|
|
121
|
+
allowed_actions: [],
|
|
122
|
+
blocked_actions: [],
|
|
123
|
+
allowed_services: [],
|
|
124
|
+
blocked_services: [],
|
|
125
|
+
extension_overrides: [],
|
|
126
|
+
};
|
|
127
|
+
function normalizePolicyRootLists(policy) {
|
|
128
|
+
const safePolicy = policy ?? DEFAULT_EXTENSION_POLICY_DETAILS;
|
|
129
|
+
const lists = {};
|
|
130
|
+
for (const field of EXTENSION_POLICY_ROOT_LIST_FIELDS) {
|
|
131
|
+
lists[field] = normalizeStringList(safePolicy[field] ?? []);
|
|
132
|
+
}
|
|
133
|
+
return lists;
|
|
134
|
+
}
|
|
135
|
+
function appendNonEmptyPolicyLists(target, lists) {
|
|
136
|
+
for (const field of EXTENSION_POLICY_OVERRIDE_LIST_FIELDS) {
|
|
137
|
+
if (lists[field].length > 0) {
|
|
138
|
+
target[field] = lists[field];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return target;
|
|
142
|
+
}
|
|
143
|
+
function buildExtensionPolicyOverrideDetails(override) {
|
|
144
|
+
const name = typeof override.name === "string" ? override.name.trim() : "";
|
|
145
|
+
if (name.length === 0) {
|
|
146
|
+
return null;
|
|
147
|
+
}
|
|
148
|
+
const details = { name };
|
|
149
|
+
if (override.disabled === true) {
|
|
150
|
+
details.disabled = true;
|
|
151
|
+
}
|
|
152
|
+
if (override.require_trusted === true) {
|
|
153
|
+
details.require_trusted = true;
|
|
154
|
+
}
|
|
155
|
+
if (override.require_provenance === true) {
|
|
156
|
+
details.require_provenance = true;
|
|
157
|
+
}
|
|
158
|
+
if (override.sandbox_profile) {
|
|
159
|
+
details.sandbox_profile = override.sandbox_profile;
|
|
160
|
+
}
|
|
161
|
+
const lists = {};
|
|
162
|
+
for (const field of EXTENSION_POLICY_OVERRIDE_LIST_FIELDS) {
|
|
163
|
+
lists[field] = normalizeStringList(override[field] ?? []);
|
|
164
|
+
}
|
|
165
|
+
return appendNonEmptyPolicyLists(details, lists);
|
|
166
|
+
}
|
|
80
167
|
function buildExtensionPolicyDetails(policy) {
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
require_provenance: override.require_provenance === true ? true : undefined,
|
|
87
|
-
sandbox_profile: override.sandbox_profile,
|
|
88
|
-
allowed_capabilities: normalizeStringList(override.allowed_capabilities ?? []),
|
|
89
|
-
blocked_capabilities: normalizeStringList(override.blocked_capabilities ?? []),
|
|
90
|
-
allowed_surfaces: normalizeStringList(override.allowed_surfaces ?? []),
|
|
91
|
-
blocked_surfaces: normalizeStringList(override.blocked_surfaces ?? []),
|
|
92
|
-
allowed_commands: normalizeStringList(override.allowed_commands ?? []),
|
|
93
|
-
blocked_commands: normalizeStringList(override.blocked_commands ?? []),
|
|
94
|
-
allowed_actions: normalizeStringList(override.allowed_actions ?? []),
|
|
95
|
-
blocked_actions: normalizeStringList(override.blocked_actions ?? []),
|
|
96
|
-
allowed_services: normalizeStringList(override.allowed_services ?? []),
|
|
97
|
-
blocked_services: normalizeStringList(override.blocked_services ?? []),
|
|
98
|
-
}))
|
|
99
|
-
.filter((override) => override.name.length > 0)
|
|
168
|
+
const safePolicy = policy ?? DEFAULT_EXTENSION_POLICY_DETAILS;
|
|
169
|
+
const rootLists = normalizePolicyRootLists(policy);
|
|
170
|
+
const overrides = (safePolicy.extension_overrides ?? [])
|
|
171
|
+
.map((override) => buildExtensionPolicyOverrideDetails(override))
|
|
172
|
+
.filter((override) => override !== null)
|
|
100
173
|
.sort((left, right) => left.name.localeCompare(right.name));
|
|
101
174
|
return {
|
|
102
|
-
mode:
|
|
103
|
-
trust_mode:
|
|
104
|
-
require_provenance:
|
|
105
|
-
trusted_extensions:
|
|
106
|
-
default_sandbox_profile:
|
|
107
|
-
allowed_extensions:
|
|
108
|
-
blocked_extensions:
|
|
109
|
-
allowed_capabilities:
|
|
110
|
-
blocked_capabilities:
|
|
111
|
-
allowed_surfaces:
|
|
112
|
-
blocked_surfaces:
|
|
113
|
-
allowed_commands:
|
|
114
|
-
blocked_commands:
|
|
115
|
-
allowed_actions:
|
|
116
|
-
blocked_actions:
|
|
117
|
-
allowed_services:
|
|
118
|
-
blocked_services:
|
|
119
|
-
extension_overrides: overrides
|
|
120
|
-
name: override.name,
|
|
121
|
-
...(override.disabled === true ? { disabled: true } : {}),
|
|
122
|
-
...(override.require_trusted === true ? { require_trusted: true } : {}),
|
|
123
|
-
...(override.require_provenance === true ? { require_provenance: true } : {}),
|
|
124
|
-
...(override.sandbox_profile ? { sandbox_profile: override.sandbox_profile } : {}),
|
|
125
|
-
...(override.allowed_capabilities.length > 0 ? { allowed_capabilities: override.allowed_capabilities } : {}),
|
|
126
|
-
...(override.blocked_capabilities.length > 0 ? { blocked_capabilities: override.blocked_capabilities } : {}),
|
|
127
|
-
...(override.allowed_surfaces.length > 0 ? { allowed_surfaces: override.allowed_surfaces } : {}),
|
|
128
|
-
...(override.blocked_surfaces.length > 0 ? { blocked_surfaces: override.blocked_surfaces } : {}),
|
|
129
|
-
...(override.allowed_commands.length > 0 ? { allowed_commands: override.allowed_commands } : {}),
|
|
130
|
-
...(override.blocked_commands.length > 0 ? { blocked_commands: override.blocked_commands } : {}),
|
|
131
|
-
...(override.allowed_actions.length > 0 ? { allowed_actions: override.allowed_actions } : {}),
|
|
132
|
-
...(override.blocked_actions.length > 0 ? { blocked_actions: override.blocked_actions } : {}),
|
|
133
|
-
...(override.allowed_services.length > 0 ? { allowed_services: override.allowed_services } : {}),
|
|
134
|
-
...(override.blocked_services.length > 0 ? { blocked_services: override.blocked_services } : {}),
|
|
135
|
-
})),
|
|
175
|
+
mode: safePolicy.mode ?? DEFAULT_EXTENSION_POLICY_DETAILS.mode,
|
|
176
|
+
trust_mode: safePolicy.trust_mode ?? DEFAULT_EXTENSION_POLICY_DETAILS.trust_mode,
|
|
177
|
+
require_provenance: safePolicy.require_provenance === true,
|
|
178
|
+
trusted_extensions: rootLists.trusted_extensions,
|
|
179
|
+
default_sandbox_profile: safePolicy.default_sandbox_profile ?? "none",
|
|
180
|
+
allowed_extensions: rootLists.allowed_extensions,
|
|
181
|
+
blocked_extensions: rootLists.blocked_extensions,
|
|
182
|
+
allowed_capabilities: rootLists.allowed_capabilities,
|
|
183
|
+
blocked_capabilities: rootLists.blocked_capabilities,
|
|
184
|
+
allowed_surfaces: rootLists.allowed_surfaces,
|
|
185
|
+
blocked_surfaces: rootLists.blocked_surfaces,
|
|
186
|
+
allowed_commands: rootLists.allowed_commands,
|
|
187
|
+
blocked_commands: rootLists.blocked_commands,
|
|
188
|
+
allowed_actions: rootLists.allowed_actions,
|
|
189
|
+
blocked_actions: rootLists.blocked_actions,
|
|
190
|
+
allowed_services: rootLists.allowed_services,
|
|
191
|
+
blocked_services: rootLists.blocked_services,
|
|
192
|
+
extension_overrides: overrides,
|
|
136
193
|
};
|
|
137
194
|
}
|
|
138
195
|
function isRetriableExtensionInstallCopyError(error) {
|
|
@@ -906,6 +963,11 @@ function assertExtensionActionOptionScope(action, options) {
|
|
|
906
963
|
allowed: action === "manage" || action === "doctor",
|
|
907
964
|
message: "--fix-managed-state is only valid with --manage or --doctor.",
|
|
908
965
|
},
|
|
966
|
+
{
|
|
967
|
+
triggered: options.isolated === true || options.ignoreGlobal === true,
|
|
968
|
+
allowed: action === "doctor",
|
|
969
|
+
message: "--isolated and --ignore-global are only valid with --doctor.",
|
|
970
|
+
},
|
|
909
971
|
{
|
|
910
972
|
triggered: options.capability !== undefined,
|
|
911
973
|
allowed: action === "init",
|
|
@@ -1517,10 +1579,11 @@ async function runExtensionActivateDeactivateAction(ctx) {
|
|
|
1517
1579
|
* managed-state fix adopted entries. Blank entries are trimmed and the list is
|
|
1518
1580
|
* de-duplicated.
|
|
1519
1581
|
*/
|
|
1520
|
-
function buildDoctorRemediation(baseRemediation, loadFailureCount, activationFailureCount, vocabulary, managedStateFix) {
|
|
1582
|
+
function buildDoctorRemediation(baseRemediation, loadFailureCount, activationFailureCount, vocabulary, managedStateFix, isolationHint) {
|
|
1521
1583
|
return [
|
|
1522
1584
|
...new Set([
|
|
1523
1585
|
...baseRemediation,
|
|
1586
|
+
...(isolationHint === null ? [] : [isolationHint]),
|
|
1524
1587
|
/* c8 ignore start -- vocabulary-specific remediation branches are copy-only variants */
|
|
1525
1588
|
...(loadFailureCount > 0
|
|
1526
1589
|
? [
|
|
@@ -1543,11 +1606,53 @@ function buildDoctorRemediation(baseRemediation, loadFailureCount, activationFai
|
|
|
1543
1606
|
].map((entry) => entry.trim()).filter((entry) => entry.length > 0)),
|
|
1544
1607
|
];
|
|
1545
1608
|
}
|
|
1609
|
+
function hasGlobalLayerDiagnostics(loadResult) {
|
|
1610
|
+
return (loadResult.loaded.some((entry) => entry.layer === "global") ||
|
|
1611
|
+
loadResult.failed.some((entry) => entry.layer === "global") ||
|
|
1612
|
+
loadResult.warnings.some((warning) => warning.includes(":global:")));
|
|
1613
|
+
}
|
|
1614
|
+
function buildDoctorIsolationHint(scope, isolated, vocabulary, loadResult) {
|
|
1615
|
+
if (scope !== "project" || isolated || !hasGlobalLayerDiagnostics(loadResult)) {
|
|
1616
|
+
return null;
|
|
1617
|
+
}
|
|
1618
|
+
const noun = vocabulary === "package" ? "package" : "extension";
|
|
1619
|
+
return (`Global ${noun} registrations are included in project diagnostics. ` +
|
|
1620
|
+
`For hermetic ${noun} smoke tests, rerun pm ${noun} doctor --project --isolated --detail deep --trace, ` +
|
|
1621
|
+
"or set PM_GLOBAL_PATH to a temporary directory for the whole test process.");
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Build the doctor isolation block shared by summary and details output so the
|
|
1625
|
+
* over-the-wire payload stays identical for extension and package vocabulary.
|
|
1626
|
+
*/
|
|
1627
|
+
function buildDoctorIsolationMetadata(scope, isolated, vocabulary, loadResult) {
|
|
1628
|
+
const noun = vocabulary === "package" ? "package" : "extension";
|
|
1629
|
+
if (scope !== "project") {
|
|
1630
|
+
return {
|
|
1631
|
+
isolated,
|
|
1632
|
+
global_extensions_included: false,
|
|
1633
|
+
global_diagnostics_present: hasGlobalLayerDiagnostics(loadResult),
|
|
1634
|
+
rerun_command: null,
|
|
1635
|
+
pm_global_path_recipe: null,
|
|
1636
|
+
};
|
|
1637
|
+
}
|
|
1638
|
+
const isolatedCommand = `pm ${noun} doctor --project --isolated --detail deep --trace`;
|
|
1639
|
+
return {
|
|
1640
|
+
isolated,
|
|
1641
|
+
global_extensions_included: !isolated,
|
|
1642
|
+
global_diagnostics_present: hasGlobalLayerDiagnostics(loadResult),
|
|
1643
|
+
rerun_command: isolated ? null : isolatedCommand,
|
|
1644
|
+
pm_global_path_recipe: `PM_GLOBAL_PATH=$(mktemp -d) pm ${noun} doctor --project --detail deep --trace`,
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1546
1647
|
async function runExtensionDoctorAction(ctx) {
|
|
1547
1648
|
const { normalizedTarget, scope, resolvedRoots, warnings, options, global, withResult } = ctx;
|
|
1548
1649
|
if (normalizedTarget && normalizedTarget.trim().length > 0) {
|
|
1549
1650
|
throw new PmCliError('Action "doctor" does not accept a target argument.', EXIT_CODE.USAGE);
|
|
1550
1651
|
}
|
|
1652
|
+
const isolated = options.isolated === true || options.ignoreGlobal === true;
|
|
1653
|
+
if (isolated && scope === "global") {
|
|
1654
|
+
throw new PmCliError("--isolated and --ignore-global are only valid with project-scope doctor diagnostics.", EXIT_CODE.USAGE);
|
|
1655
|
+
}
|
|
1551
1656
|
const detailMode = parseDoctorDetailMode(options.detail);
|
|
1552
1657
|
const includeTrace = options.trace === true;
|
|
1553
1658
|
if (includeTrace && detailMode !== "deep") {
|
|
@@ -1572,6 +1677,7 @@ async function runExtensionDoctorAction(ctx) {
|
|
|
1572
1677
|
settings,
|
|
1573
1678
|
cwd: process.cwd(),
|
|
1574
1679
|
noExtensions: global.noExtensions === true,
|
|
1680
|
+
ignoreGlobalExtensions: isolated,
|
|
1575
1681
|
});
|
|
1576
1682
|
const activationResult = await activateExtensions({
|
|
1577
1683
|
...loadResult,
|
|
@@ -1619,7 +1725,9 @@ async function runExtensionDoctorAction(ctx) {
|
|
|
1619
1725
|
const capabilityGuidance = collectUnknownCapabilityGuidance(normalizedWarnings);
|
|
1620
1726
|
const capabilityContract = buildCapabilityContractMetadata();
|
|
1621
1727
|
const warningCodes = triage.warning_codes;
|
|
1622
|
-
const
|
|
1728
|
+
const isolationHint = buildDoctorIsolationHint(scope, isolated, options.vocabulary, loadResult);
|
|
1729
|
+
const remediation = buildDoctorRemediation(triage.remediation, loadResult.failed.length, activationResult.failed.length, options.vocabulary, managedStateFix, isolationHint);
|
|
1730
|
+
const isolation = buildDoctorIsolationMetadata(scope, isolated, options.vocabulary, loadResult);
|
|
1623
1731
|
const summary = {
|
|
1624
1732
|
status: triage.status,
|
|
1625
1733
|
scope,
|
|
@@ -1651,6 +1759,7 @@ async function runExtensionDoctorAction(ctx) {
|
|
|
1651
1759
|
has_blocking_failures: loadResult.failed.length + activationResult.failed.length > 0,
|
|
1652
1760
|
consistency_warning_count: doctorConsistency.warnings.length,
|
|
1653
1761
|
trace_enabled: includeTrace,
|
|
1762
|
+
isolation,
|
|
1654
1763
|
policy: policySummary,
|
|
1655
1764
|
remediation,
|
|
1656
1765
|
};
|
|
@@ -1677,6 +1786,7 @@ async function runExtensionDoctorAction(ctx) {
|
|
|
1677
1786
|
capability_contract: capabilityContract,
|
|
1678
1787
|
capability_guidance: capabilityGuidance,
|
|
1679
1788
|
managed_state_fix: managedStateFixSummary,
|
|
1789
|
+
isolation,
|
|
1680
1790
|
policy: loadResult.policy,
|
|
1681
1791
|
};
|
|
1682
1792
|
if (detailMode === "deep") {
|
|
@@ -1942,4 +2052,4 @@ export const _testOnly = {
|
|
|
1942
2052
|
withExtensionInstallLock,
|
|
1943
2053
|
};
|
|
1944
2054
|
//# sourceMappingURL=extension.js.map
|
|
1945
|
-
//# debugId=
|
|
2055
|
+
//# debugId=0489ce7c-9aeb-586f-a972-70cb1bfa6fc8
|