@unbrained/pm-cli 2026.6.5 → 2026.6.7
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 +77 -0
- package/CONTRIBUTING.md +1 -0
- package/README.md +17 -5
- package/dist/cli/commander-usage.js +74 -4
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/aggregate.d.ts +8 -0
- package/dist/cli/commands/aggregate.js +84 -7
- package/dist/cli/commands/aggregate.js.map +1 -1
- package/dist/cli/commands/calendar.js +10 -3
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/close-many.js +13 -10
- package/dist/cli/commands/close-many.js.map +1 -1
- package/dist/cli/commands/close.d.ts +1 -1
- package/dist/cli/commands/close.js +20 -10
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +87 -18
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.d.ts +5 -4
- package/dist/cli/commands/config.js +50 -2
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/contracts.js +6 -3
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/copy.d.ts +14 -0
- package/dist/cli/commands/copy.js +153 -0
- package/dist/cli/commands/copy.js.map +1 -0
- package/dist/cli/commands/extension/doctor.js +62 -2
- package/dist/cli/commands/extension/doctor.js.map +1 -1
- package/dist/cli/commands/extension/install-sources.d.ts +8 -0
- package/dist/cli/commands/extension/install-sources.js +82 -2
- package/dist/cli/commands/extension/install-sources.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +29 -0
- package/dist/cli/commands/extension.js +61 -2
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/gc.d.ts +8 -1
- package/dist/cli/commands/gc.js +26 -3
- package/dist/cli/commands/gc.js.map +1 -1
- package/dist/cli/commands/get.d.ts +9 -0
- package/dist/cli/commands/get.js +23 -2
- package/dist/cli/commands/get.js.map +1 -1
- package/dist/cli/commands/health.js +15 -2
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-compact.d.ts +39 -0
- package/dist/cli/commands/history-compact.js +262 -0
- package/dist/cli/commands/history-compact.js.map +1 -0
- package/dist/cli/commands/history.d.ts +4 -1
- package/dist/cli/commands/history.js +12 -24
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +3 -0
- package/dist/cli/commands/index.js +5 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/list.d.ts +2 -0
- package/dist/cli/commands/list.js +87 -9
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/reindex.js +8 -4
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/search.d.ts +1 -0
- package/dist/cli/commands/search.js +232 -35
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/stats.d.ts +8 -1
- package/dist/cli/commands/stats.js +18 -17
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/telemetry.d.ts +8 -0
- package/dist/cli/commands/telemetry.js +253 -0
- package/dist/cli/commands/telemetry.js.map +1 -0
- package/dist/cli/error-guidance.js +26 -2
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.d.ts +1 -0
- package/dist/cli/extension-command-help.js +3 -2
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/help-content.js +19 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.js +13 -21
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +24 -6
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +52 -17
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +55 -8
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +5 -5
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.js +21 -3
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-5UROHJ3D.js +16 -0
- package/dist/cli-bundle/chunks/{activity-3RWRRNOW.js → activity-YVB3QRTE.js} +11 -11
- package/dist/cli-bundle/chunks/{aggregate-OOAGKWRG.js → aggregate-LH66F75F.js} +87 -17
- package/dist/cli-bundle/chunks/aggregate-LH66F75F.js.map +7 -0
- package/dist/cli-bundle/chunks/{aggregate-J35K7WZB.js → aggregate-OHSWFQJM.js} +88 -18
- package/dist/cli-bundle/chunks/aggregate-OHSWFQJM.js.map +1 -0
- package/dist/cli-bundle/chunks/{append-PNN6UIBZ.js → append-2PPYFAG5.js} +8 -8
- package/dist/cli-bundle/chunks/{append-5JE3YGXU.js → append-AUGT5W6J.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-26KTVXJW.js → chunk-2IF7WLB7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KA24HME7.js → chunk-2IXCHCLM.js} +5 -6
- package/dist/cli-bundle/chunks/chunk-2IXCHCLM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XX5LRINW.js → chunk-2OJHLWBZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ASQM3IF5.js → chunk-3A2CMEM7.js} +5 -4
- package/dist/cli-bundle/chunks/{chunk-S3CV7JGJ.js → chunk-3EOBJOF4.js} +5 -4
- package/dist/cli-bundle/chunks/{chunk-N5YF3VFN.js → chunk-42LOFGJS.js} +91 -16
- package/dist/cli-bundle/chunks/chunk-42LOFGJS.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WIKR7KFL.js → chunk-4CHEG6UK.js} +108 -21
- package/dist/cli-bundle/chunks/chunk-4CHEG6UK.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-4QCR4QW3.js → chunk-4GHZR3BA.js} +56 -28
- package/dist/cli-bundle/chunks/chunk-4GHZR3BA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-B3N4TKNL.js → chunk-5AXMRKN5.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-JQI2HE55.js → chunk-6J4K6JLA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-V3JQ4IPL.js → chunk-6RZXO5M2.js} +102 -22
- package/dist/cli-bundle/chunks/chunk-6RZXO5M2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-BNL6S7QH.js → chunk-AVJD6VTA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-NQP3ECKF.js → chunk-B2KZGPM2.js} +39 -8
- package/dist/cli-bundle/chunks/chunk-B2KZGPM2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RQAWLSUU.js → chunk-B5RF3IP7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UFCG3SWR.js → chunk-C5W2UH56.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-3OH4DAEB.js → chunk-CKLBZHS7.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-GNHVV4SY.js → chunk-CLD3XNCH.js} +124 -20
- package/dist/cli-bundle/chunks/chunk-CLD3XNCH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RANZIID5.js → chunk-FHHBD7PN.js} +38 -7
- package/dist/cli-bundle/chunks/chunk-FHHBD7PN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GFWHHMVV.js → chunk-FY6Z3FYY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CCUFLH4J.js → chunk-GNIUOLZ2.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-ZRVSMOMR.js → chunk-GPXQBR3H.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-SZQCER6S.js → chunk-GUZBNB3G.js} +27 -5
- package/dist/cli-bundle/chunks/chunk-GUZBNB3G.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GPGAYASV.js → chunk-H7EO3QA3.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-MISYRLEP.js → chunk-HLC3KTLP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KK6YPGH3.js → chunk-HMMMWBK2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4PJQSECJ.js → chunk-HRMHZ4RV.js} +26 -4
- package/dist/cli-bundle/chunks/chunk-HRMHZ4RV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-CJDQB2ED.js → chunk-HV5SSZXF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ATBVS6WW.js → chunk-IMCJBN2Q.js} +23 -14
- package/dist/cli-bundle/chunks/chunk-IMCJBN2Q.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FVXM3GKS.js → chunk-KNGVP5WJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OIQIXTNB.js → chunk-KR6R465K.js} +304 -215
- package/dist/cli-bundle/chunks/chunk-KR6R465K.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UOVLWB47.js → chunk-LI65XLJR.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-AXXKLVTW.js → chunk-LIN2BPJ7.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-LMTOY5HE.js +112 -0
- package/dist/cli-bundle/chunks/chunk-LMTOY5HE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Y2AKE2HS.js → chunk-LQHBENVW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-D5X7N6FI.js → chunk-LXO6V66E.js} +14 -14
- package/dist/cli-bundle/chunks/{chunk-TK633IVD.js → chunk-M2PW7EZU.js} +26 -7
- package/dist/cli-bundle/chunks/chunk-M2PW7EZU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-DFIZGAI5.js → chunk-MOYM2C3J.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-ZQ4F6EC4.js → chunk-MWRS7Z4P.js} +127 -23
- package/dist/cli-bundle/chunks/chunk-MWRS7Z4P.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5PAOPUZX.js → chunk-NHR2QXXZ.js} +24 -15
- package/dist/cli-bundle/chunks/chunk-NHR2QXXZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OUF3ARDX.js → chunk-NQL32HQ5.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-TBQVUNVH.js → chunk-O7HSSFCC.js} +65 -16
- package/dist/cli-bundle/chunks/chunk-O7HSSFCC.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GCAVRLGE.js → chunk-OKSKJKHX.js} +9 -9
- package/dist/cli-bundle/chunks/chunk-QQL5QSTZ.js +1572 -0
- package/dist/cli-bundle/chunks/chunk-QQL5QSTZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-A6PEXMYN.js → chunk-R3V3YCMH.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-T2ORWB6D.js → chunk-RVPTZKBC.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-K47WAYQV.js → chunk-SFFVGNHC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DFUSXJDE.js → chunk-SQPKRA54.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-THDEID2Z.js +115 -0
- package/dist/cli-bundle/chunks/chunk-THDEID2Z.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-G5BACLYH.js → chunk-TINUJMWN.js} +92 -17
- package/dist/cli-bundle/chunks/chunk-TINUJMWN.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JB4RGL4V.js → chunk-TNPBPNII.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-XG7RJYHV.js → chunk-TP4DDY27.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-ORTLYVA4.js → chunk-TYJJOTUA.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-HZOS2UG5.js → chunk-UAQOQ7IE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-D3WUNETC.js → chunk-UEWA73ZZ.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-O5IBJE6S.js → chunk-UIIQC5YO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SRVKTWPR.js → chunk-UJUT6AHZ.js} +314 -39
- package/dist/cli-bundle/chunks/chunk-UJUT6AHZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SSFMJCPF.js → chunk-UT6WFXW2.js} +6 -7
- package/dist/cli-bundle/chunks/chunk-UT6WFXW2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KBG47ZOY.js → chunk-UYQ7HXH4.js} +10 -6
- package/dist/cli-bundle/chunks/chunk-UYQ7HXH4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LDJK7SHN.js → chunk-V6EYFTRL.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-5IRA6IYD.js → chunk-WAA7UI6M.js} +58 -30
- package/dist/cli-bundle/chunks/chunk-WAA7UI6M.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HPH6X4ZZ.js → chunk-WCQZBDDH.js} +10 -6
- package/dist/cli-bundle/chunks/{chunk-HPH6X4ZZ.js.map → chunk-WCQZBDDH.js.map} +2 -2
- package/dist/cli-bundle/chunks/chunk-WR5567FH.js +1582 -0
- package/dist/cli-bundle/chunks/chunk-WR5567FH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TQ3ZK6VD.js → chunk-WYEXLDDY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4LTBNUYT.js → chunk-X4IZKYHP.js} +307 -32
- package/dist/cli-bundle/chunks/chunk-X4IZKYHP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KCMIYKTA.js → chunk-X7UHMKPE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7K24QB23.js → chunk-XS3O2TFJ.js} +27 -8
- package/dist/cli-bundle/chunks/chunk-XS3O2TFJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-EHXPIKKP.js → chunk-XYNT7UFP.js} +303 -207
- package/dist/cli-bundle/chunks/chunk-XYNT7UFP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CWT53EYT.js → chunk-YBZW2QQ7.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-VGO2T3TY.js → chunk-YO3THIJF.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-5KB4X7YY.js → chunk-YPH4ESA2.js} +66 -17
- package/dist/cli-bundle/chunks/chunk-YPH4ESA2.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-ZFA7HKU4.js → claim-BJ4QMPJC.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-AZLP7YFO.js → claim-KW743OSW.js} +10 -10
- package/dist/cli-bundle/chunks/close-P4ZBKODL.js +13 -0
- package/dist/cli-bundle/chunks/{close-65DFYAVS.js → close-SYHSRZDC.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-UKZSQGM7.js → close-many-DBLEYFOY.js} +29 -26
- package/dist/cli-bundle/chunks/close-many-DBLEYFOY.js.map +7 -0
- package/dist/cli-bundle/chunks/{close-many-AKPZNSGI.js → close-many-LAC5VR4G.js} +30 -27
- package/dist/cli-bundle/chunks/close-many-LAC5VR4G.js.map +1 -0
- package/dist/cli-bundle/chunks/{comments-AGBNSJJH.js → comments-JEO6HHVM.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-CJWXQI7X.js → comments-YT2PQ5DD.js} +10 -10
- package/dist/cli-bundle/chunks/{config-DDPYIA6J.js → config-RZRVS3ZV.js} +127 -11
- package/dist/cli-bundle/chunks/config-RZRVS3ZV.js.map +1 -0
- package/dist/cli-bundle/chunks/{config-5ON3ADRH.js → config-YJSAAADD.js} +128 -12
- package/dist/cli-bundle/chunks/config-YJSAAADD.js.map +7 -0
- package/dist/cli-bundle/chunks/{context-E6U3DWVM.js → context-LGYEEKAW.js} +14 -14
- package/dist/cli-bundle/chunks/{context-E6U3DWVM.js.map → context-LGYEEKAW.js.map} +2 -2
- package/dist/cli-bundle/chunks/{context-ZOJEN5VT.js → context-ZUH5IOOI.js} +15 -15
- package/dist/cli-bundle/chunks/context-ZUH5IOOI.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-CXSFM45B.js → contracts-YXJ6NXKH.js} +11 -5
- package/dist/cli-bundle/chunks/contracts-YXJ6NXKH.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-LCSX5R53.js → contracts-ZIBXROPE.js} +12 -6
- package/dist/cli-bundle/chunks/contracts-ZIBXROPE.js.map +1 -0
- package/dist/cli-bundle/chunks/copy-BZALX5MQ.js +182 -0
- package/dist/cli-bundle/chunks/copy-BZALX5MQ.js.map +1 -0
- package/dist/cli-bundle/chunks/copy-YPWEIAPD.js +185 -0
- package/dist/cli-bundle/chunks/copy-YPWEIAPD.js.map +7 -0
- package/dist/cli-bundle/chunks/create-4DS2QWQC.js +27 -0
- package/dist/cli-bundle/chunks/{create-WYFKN2U4.js → create-CF7EVRX7.js} +13 -13
- package/dist/cli-bundle/chunks/{delete-ZXWC56WO.js → delete-KR4VBWVE.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-RONNH4F4.js → delete-XLZRTRKR.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-WII3O4HB.js → deps-2YTXD3VM.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-EHXIFOZR.js → deps-GZMFMTGS.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-PDREIMLS.js → docs-SLROFEQ4.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-JMVCFNHH.js → docs-ZHISRR2D.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-G6UXSM5S.js → extension-3C7OOI4F.js} +8 -6
- package/dist/cli-bundle/chunks/{extension-B4ROVWJD.js → extension-XYCUXICD.js} +8 -6
- package/dist/cli-bundle/chunks/{files-2PN7UM2D.js → files-FUWF2FYJ.js} +9 -9
- package/dist/cli-bundle/chunks/{files-MXYS5W4M.js → files-J4I5IU4O.js} +9 -9
- package/dist/cli-bundle/chunks/gc-34NXSNSN.js +362 -0
- package/dist/cli-bundle/chunks/gc-34NXSNSN.js.map +1 -0
- package/dist/cli-bundle/chunks/gc-SPIIZX3A.js +372 -0
- package/dist/cli-bundle/chunks/gc-SPIIZX3A.js.map +7 -0
- package/dist/cli-bundle/chunks/{get-WXMLRG7M.js → get-SZKNRHMA.js} +34 -12
- package/dist/cli-bundle/chunks/get-SZKNRHMA.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-CINFEUIY.js → get-VITKYP6S.js} +33 -11
- package/dist/cli-bundle/chunks/get-VITKYP6S.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-IT5DBPRJ.js → health-4SNTA2TF.js} +27 -13
- package/dist/cli-bundle/chunks/health-4SNTA2TF.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-5VPOJQ53.js → health-7G3EPM57.js} +28 -14
- package/dist/cli-bundle/chunks/health-7G3EPM57.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-FLZIP7PM.js → history-SDAWYZR3.js} +10 -10
- package/dist/cli-bundle/chunks/history-YDUEILKP.js +20 -0
- package/dist/cli-bundle/chunks/history-compact-DMW536VH.js +287 -0
- package/dist/cli-bundle/chunks/history-compact-DMW536VH.js.map +1 -0
- package/dist/cli-bundle/chunks/history-compact-POTZGG7K.js +290 -0
- package/dist/cli-bundle/chunks/history-compact-POTZGG7K.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-redact-SSZBAD76.js → history-redact-EPJ7GENL.js} +11 -11
- package/dist/cli-bundle/chunks/history-redact-KASLLPE7.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-X7CO5JJZ.js → history-repair-IJ7LLBET.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-KC5ZOJRZ.js → history-repair-YNESJRT6.js} +11 -11
- package/dist/cli-bundle/chunks/init-IGSS4GNH.js +17 -0
- package/dist/cli-bundle/chunks/{init-6MRFVOLH.js → init-YHVBTEET.js} +9 -8
- package/dist/cli-bundle/chunks/{learnings-DCX55BNX.js → learnings-4YBMIVCZ.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-A3CLB5CO.js → learnings-T4PF24YN.js} +10 -10
- package/dist/cli-bundle/chunks/{list-DBRECOG4.js → list-3KEVBOYW.js} +10 -10
- package/dist/cli-bundle/chunks/list-E44O2K64.js +20 -0
- package/dist/cli-bundle/chunks/{notes-42LIC3UE.js → notes-FLUCNJSH.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-P5O3VMQ3.js → notes-GJKALVZM.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-HDQXEUKD.js → plan-T5MMZLI3.js} +13 -13
- package/dist/cli-bundle/chunks/{plan-IGTE3WOJ.js → plan-YYMIL3HV.js} +13 -13
- package/dist/cli-bundle/chunks/{register-list-query-EMNSIUO4.js → register-list-query-I65EZ3HB.js} +33 -27
- package/dist/cli-bundle/chunks/register-list-query-I65EZ3HB.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-AG3XKXWL.js → register-list-query-OECMHO4G.js} +32 -26
- package/dist/cli-bundle/chunks/register-list-query-OECMHO4G.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-M3YS6XDO.js → register-mutation-2FLXORLR.js} +65 -47
- package/dist/cli-bundle/chunks/register-mutation-2FLXORLR.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-RSMT6DPK.js → register-mutation-5GPDEKHR.js} +64 -46
- package/dist/cli-bundle/chunks/register-mutation-5GPDEKHR.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-KYUOOOOD.js → register-operations-BNGAUMGK.js} +71 -35
- package/dist/cli-bundle/chunks/register-operations-BNGAUMGK.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-Q54JQZUN.js → register-operations-GQKT35H5.js} +70 -34
- package/dist/cli-bundle/chunks/register-operations-GQKT35H5.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-DI6P7X75.js → register-setup-DNDCGZ4O.js} +18 -18
- package/dist/cli-bundle/chunks/{register-setup-DI6P7X75.js.map → register-setup-DNDCGZ4O.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-YJKIQRKA.js → register-setup-EJY44FPH.js} +17 -17
- package/dist/cli-bundle/chunks/{register-setup-YJKIQRKA.js.map → register-setup-EJY44FPH.js.map} +2 -2
- package/dist/cli-bundle/chunks/{restore-2XVTBLKQ.js → restore-DDJGVZIN.js} +11 -11
- package/dist/cli-bundle/chunks/restore-SJSASGZP.js +17 -0
- package/dist/cli-bundle/chunks/{schema-V6BX65Q2.js → schema-B7NQ6XVP.js} +8 -8
- package/dist/cli-bundle/chunks/{schema-LVXZWFGY.js → schema-HEGYH6CE.js} +8 -8
- package/dist/cli-bundle/chunks/{search-C7NPB7G7.js → search-DVVQ4UO2.js} +421 -42
- package/dist/cli-bundle/chunks/search-DVVQ4UO2.js.map +1 -0
- package/dist/cli-bundle/chunks/{search-5A3BMFA7.js → search-JNEZJV7H.js} +427 -41
- package/dist/cli-bundle/chunks/search-JNEZJV7H.js.map +7 -0
- package/dist/cli-bundle/chunks/stats-7JDIJRDH.js +202 -0
- package/dist/cli-bundle/chunks/stats-7JDIJRDH.js.map +1 -0
- package/dist/cli-bundle/chunks/stats-SYTJRR4Z.js +212 -0
- package/dist/cli-bundle/chunks/stats-SYTJRR4Z.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-4HHWD5Y7.js +251 -0
- package/dist/cli-bundle/chunks/telemetry-4HHWD5Y7.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-EGWP7ZUX.js +248 -0
- package/dist/cli-bundle/chunks/telemetry-EGWP7ZUX.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-OFYONO3C.js → test-IIELLSZX.js} +14 -13
- package/dist/cli-bundle/chunks/test-ML5RLWXE.js +32 -0
- package/dist/cli-bundle/chunks/{test-all-EEMKNTGU.js → test-all-7DNCMML7.js} +14 -13
- package/dist/cli-bundle/chunks/{test-all-EEMKNTGU.js.map → test-all-7DNCMML7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-all-OJE6CIO7.js → test-all-IHTUJRRC.js} +16 -15
- package/dist/cli-bundle/chunks/{test-all-OJE6CIO7.js.map → test-all-IHTUJRRC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-runs-IPOPFOAF.js → test-runs-5FEMBV3A.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-L2M7WKH7.js → test-runs-RNKZ37PS.js} +5 -5
- package/dist/cli-bundle/chunks/update-6C67X4KS.js +21 -0
- package/dist/cli-bundle/chunks/update-VF26YPT3.js +25 -0
- package/dist/cli-bundle/chunks/{update-many-322CCH2L.js → update-many-BSZZZYXY.js} +22 -22
- package/dist/cli-bundle/chunks/{update-many-DYWGW57M.js → update-many-BWKJJEBF.js} +22 -22
- package/dist/cli-bundle/chunks/{upgrade-3W3RVSNM.js → upgrade-RSE5PC44.js} +7 -6
- package/dist/cli-bundle/chunks/{upgrade-3W3RVSNM.js.map → upgrade-RSE5PC44.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-2U727SAM.js → upgrade-YWI5DJFA.js} +5 -4
- package/dist/cli-bundle/chunks/{upgrade-2U727SAM.js.map → upgrade-YWI5DJFA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-ZFVWPEEN.js → validate-NK3WKB7C.js} +18 -17
- package/dist/cli-bundle/chunks/{validate-ZFVWPEEN.js.map → validate-NK3WKB7C.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-GZ24NYHO.js → validate-UCEOB7S6.js} +20 -19
- package/dist/cli-bundle/chunks/{validate-GZ24NYHO.js.map → validate-UCEOB7S6.js.map} +1 -1
- package/dist/cli-bundle/main.js +198 -1523
- package/dist/cli-bundle/main.js.map +4 -4
- package/dist/core/config/nested-settings.d.ts +8 -6
- package/dist/core/config/nested-settings.js +71 -5
- package/dist/core/config/nested-settings.js.map +1 -1
- package/dist/core/config/positional-value.js +4 -2
- package/dist/core/config/positional-value.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +36 -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 +46 -5
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/history/drift-scan.d.ts +3 -4
- package/dist/core/history/drift-scan.js +71 -18
- package/dist/core/history/drift-scan.js.map +1 -1
- package/dist/core/history/history-diff.d.ts +47 -0
- package/dist/core/history/history-diff.js +152 -0
- package/dist/core/history/history-diff.js.map +1 -0
- package/dist/core/history/history-storage-stats.d.ts +31 -0
- package/dist/core/history/history-storage-stats.js +101 -0
- package/dist/core/history/history-storage-stats.js.map +1 -0
- package/dist/core/item/id.js +4 -5
- package/dist/core/item/id.js.map +1 -1
- package/dist/core/item/item-format.js +7 -3
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/item/toon-decode.d.ts +7 -0
- package/dist/core/item/toon-decode.js +11 -2
- package/dist/core/item/toon-decode.js.map +1 -1
- package/dist/core/item/type-registry.js +25 -7
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/lock/lock-gc.d.ts +46 -0
- package/dist/core/lock/lock-gc.js +194 -0
- package/dist/core/lock/lock-gc.js.map +1 -0
- package/dist/core/search/cache.js +5 -3
- package/dist/core/search/cache.js.map +1 -1
- package/dist/core/search/corpus.d.ts +6 -0
- package/dist/core/search/corpus.js +22 -9
- package/dist/core/search/corpus.js.map +1 -1
- package/dist/core/search/embedding-batches.js +10 -7
- package/dist/core/search/embedding-batches.js.map +1 -1
- package/dist/core/search/relevance.d.ts +29 -0
- package/dist/core/search/relevance.js +226 -0
- package/dist/core/search/relevance.js.map +1 -0
- package/dist/core/search/vector-stores.d.ts +3 -0
- package/dist/core/search/vector-stores.js +23 -10
- package/dist/core/search/vector-stores.js.map +1 -1
- package/dist/core/shared/constants.js +15 -2
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/core/shared/errors.d.ts +6 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/shared/primitives.d.ts +8 -0
- package/dist/core/shared/primitives.js +29 -2
- package/dist/core/shared/primitives.js.map +1 -1
- package/dist/core/shared/serial-queue.d.ts +12 -0
- package/dist/core/shared/serial-queue.js +43 -0
- package/dist/core/shared/serial-queue.js.map +1 -0
- package/dist/core/shared/time.js +42 -6
- package/dist/core/shared/time.js.map +1 -1
- package/dist/core/store/paths.js +25 -7
- package/dist/core/store/paths.js.map +1 -1
- package/dist/core/store/settings-validator.d.ts +11 -0
- package/dist/core/store/settings-validator.js +14 -2
- package/dist/core/store/settings-validator.js.map +1 -1
- package/dist/core/store/settings.d.ts +19 -1
- package/dist/core/store/settings.js +199 -17
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/observability.js +3 -3
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.js +99 -6
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +187 -42
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.d.ts +1 -0
- package/dist/sdk/cli-contracts/commander-types.js +13 -2
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts/enum-contracts.js +8 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +7 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +39 -7
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +26 -1
- package/dist/sdk/cli-contracts.js +75 -11
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/testing.d.ts +51 -1
- package/dist/sdk/testing.js +93 -2
- package/dist/sdk/testing.js.map +1 -1
- package/dist/types.d.ts +14 -0
- package/dist/types.js +2 -2
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +1 -1
- package/docs/ARCHITECTURE.md +11 -1
- package/docs/CLAUDE_CODE_PLUGIN.md +4 -4
- package/docs/CODEX_PLUGIN.md +1 -1
- package/docs/COMMANDS.md +42 -4
- package/docs/CONFIGURATION.md +31 -2
- package/docs/EXTENSIONS.md +28 -8
- package/docs/EXTENSION_AUTHOR_CONTRACTS.md +73 -0
- package/docs/ONBOARDING.md +165 -0
- package/docs/QUICKSTART.md +2 -2
- package/docs/README.md +12 -4
- package/docs/RELEASING.md +36 -1
- package/docs/SDK.md +66 -0
- package/docs/TESTING.md +33 -1
- package/package.json +6 -2
- package/packages/pm-governance-audit/README.md +14 -0
- package/packages/pm-governance-audit/extensions/governance-audit/index.js +39 -1
- package/packages/pm-governance-audit/extensions/governance-audit/index.ts +40 -2
- package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +1 -1
- package/packages/pm-governance-audit/package.json +4 -2
- package/packages/pm-lifecycle-hooks/README.md +21 -0
- package/packages/pm-search-advanced/README.md +38 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +17 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +17 -0
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.js +216 -1
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.ts +271 -2
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/README.md +11 -8
- package/plugins/pm-claude/agents/pm-coordinator.md +1 -1
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/plugins/pm-codex/README.md +1 -1
- package/dist/cli-bundle/chunks/activity-P5BUMWP3.js +0 -16
- package/dist/cli-bundle/chunks/aggregate-J35K7WZB.js.map +0 -1
- package/dist/cli-bundle/chunks/aggregate-OOAGKWRG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4LTBNUYT.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4PJQSECJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4QCR4QW3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5IRA6IYD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5KB4X7YY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5PAOPUZX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7K24QB23.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ATBVS6WW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EHXPIKKP.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-G5BACLYH.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GNHVV4SY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KA24HME7.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KBG47ZOY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-N5YF3VFN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-NQP3ECKF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OIQIXTNB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RANZIID5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SRVKTWPR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SSFMJCPF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SZQCER6S.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TBQVUNVH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TK633IVD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-V3JQ4IPL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WIKR7KFL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ZQ4F6EC4.js.map +0 -7
- package/dist/cli-bundle/chunks/close-RMHQ3KWH.js +0 -13
- package/dist/cli-bundle/chunks/close-many-AKPZNSGI.js.map +0 -1
- package/dist/cli-bundle/chunks/close-many-UKZSQGM7.js.map +0 -7
- package/dist/cli-bundle/chunks/config-5ON3ADRH.js.map +0 -7
- package/dist/cli-bundle/chunks/config-DDPYIA6J.js.map +0 -1
- package/dist/cli-bundle/chunks/context-ZOJEN5VT.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-CXSFM45B.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-LCSX5R53.js.map +0 -1
- package/dist/cli-bundle/chunks/create-ATONSAZW.js +0 -27
- package/dist/cli-bundle/chunks/gc-GT552UJH.js +0 -178
- package/dist/cli-bundle/chunks/gc-GT552UJH.js.map +0 -1
- package/dist/cli-bundle/chunks/gc-QNBRJG6H.js +0 -181
- package/dist/cli-bundle/chunks/gc-QNBRJG6H.js.map +0 -7
- package/dist/cli-bundle/chunks/get-CINFEUIY.js.map +0 -7
- package/dist/cli-bundle/chunks/get-WXMLRG7M.js.map +0 -1
- package/dist/cli-bundle/chunks/health-5VPOJQ53.js.map +0 -1
- package/dist/cli-bundle/chunks/health-IT5DBPRJ.js.map +0 -7
- package/dist/cli-bundle/chunks/history-6FC4H6HI.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-XKYEZDBL.js +0 -19
- package/dist/cli-bundle/chunks/init-KHX3FEEM.js +0 -16
- package/dist/cli-bundle/chunks/list-53LZ2AEO.js +0 -20
- package/dist/cli-bundle/chunks/register-list-query-AG3XKXWL.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-EMNSIUO4.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-M3YS6XDO.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-RSMT6DPK.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-KYUOOOOD.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-Q54JQZUN.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-JL5QIH7H.js +0 -17
- package/dist/cli-bundle/chunks/search-5A3BMFA7.js.map +0 -7
- package/dist/cli-bundle/chunks/search-C7NPB7G7.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-FNLYVXTB.js +0 -120
- package/dist/cli-bundle/chunks/stats-FNLYVXTB.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-Y2CBTZSL.js +0 -123
- package/dist/cli-bundle/chunks/stats-Y2CBTZSL.js.map +0 -7
- package/dist/cli-bundle/chunks/test-RJ4ZF35X.js +0 -31
- package/dist/cli-bundle/chunks/update-6YEHPVXH.js +0 -25
- package/dist/cli-bundle/chunks/update-PYLVHMRD.js +0 -21
- /package/dist/cli-bundle/chunks/{activity-P5BUMWP3.js.map → activity-5UROHJ3D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-3RWRRNOW.js.map → activity-YVB3QRTE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-PNN6UIBZ.js.map → append-2PPYFAG5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-5JE3YGXU.js.map → append-AUGT5W6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-26KTVXJW.js.map → chunk-2IF7WLB7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XX5LRINW.js.map → chunk-2OJHLWBZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ASQM3IF5.js.map → chunk-3A2CMEM7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S3CV7JGJ.js.map → chunk-3EOBJOF4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B3N4TKNL.js.map → chunk-5AXMRKN5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JQI2HE55.js.map → chunk-6J4K6JLA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BNL6S7QH.js.map → chunk-AVJD6VTA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RQAWLSUU.js.map → chunk-B5RF3IP7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UFCG3SWR.js.map → chunk-C5W2UH56.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3OH4DAEB.js.map → chunk-CKLBZHS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GFWHHMVV.js.map → chunk-FY6Z3FYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CCUFLH4J.js.map → chunk-GNIUOLZ2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZRVSMOMR.js.map → chunk-GPXQBR3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GPGAYASV.js.map → chunk-H7EO3QA3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MISYRLEP.js.map → chunk-HLC3KTLP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KK6YPGH3.js.map → chunk-HMMMWBK2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CJDQB2ED.js.map → chunk-HV5SSZXF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FVXM3GKS.js.map → chunk-KNGVP5WJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UOVLWB47.js.map → chunk-LI65XLJR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AXXKLVTW.js.map → chunk-LIN2BPJ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y2AKE2HS.js.map → chunk-LQHBENVW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D5X7N6FI.js.map → chunk-LXO6V66E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DFIZGAI5.js.map → chunk-MOYM2C3J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OUF3ARDX.js.map → chunk-NQL32HQ5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GCAVRLGE.js.map → chunk-OKSKJKHX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A6PEXMYN.js.map → chunk-R3V3YCMH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T2ORWB6D.js.map → chunk-RVPTZKBC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K47WAYQV.js.map → chunk-SFFVGNHC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DFUSXJDE.js.map → chunk-SQPKRA54.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JB4RGL4V.js.map → chunk-TNPBPNII.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XG7RJYHV.js.map → chunk-TP4DDY27.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ORTLYVA4.js.map → chunk-TYJJOTUA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HZOS2UG5.js.map → chunk-UAQOQ7IE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D3WUNETC.js.map → chunk-UEWA73ZZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-O5IBJE6S.js.map → chunk-UIIQC5YO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LDJK7SHN.js.map → chunk-V6EYFTRL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TQ3ZK6VD.js.map → chunk-WYEXLDDY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KCMIYKTA.js.map → chunk-X7UHMKPE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CWT53EYT.js.map → chunk-YBZW2QQ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VGO2T3TY.js.map → chunk-YO3THIJF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-ZFA7HKU4.js.map → claim-BJ4QMPJC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-AZLP7YFO.js.map → claim-KW743OSW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-RMHQ3KWH.js.map → close-P4ZBKODL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-65DFYAVS.js.map → close-SYHSRZDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-AGBNSJJH.js.map → comments-JEO6HHVM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-CJWXQI7X.js.map → comments-YT2PQ5DD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-ATONSAZW.js.map → create-4DS2QWQC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-WYFKN2U4.js.map → create-CF7EVRX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ZXWC56WO.js.map → delete-KR4VBWVE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-RONNH4F4.js.map → delete-XLZRTRKR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-WII3O4HB.js.map → deps-2YTXD3VM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-EHXIFOZR.js.map → deps-GZMFMTGS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-PDREIMLS.js.map → docs-SLROFEQ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-JMVCFNHH.js.map → docs-ZHISRR2D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-G6UXSM5S.js.map → extension-3C7OOI4F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-B4ROVWJD.js.map → extension-XYCUXICD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-2PN7UM2D.js.map → files-FUWF2FYJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-MXYS5W4M.js.map → files-J4I5IU4O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-FLZIP7PM.js.map → history-SDAWYZR3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-6FC4H6HI.js.map → history-YDUEILKP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-SSZBAD76.js.map → history-redact-EPJ7GENL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-XKYEZDBL.js.map → history-redact-KASLLPE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-X7CO5JJZ.js.map → history-repair-IJ7LLBET.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-KC5ZOJRZ.js.map → history-repair-YNESJRT6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-KHX3FEEM.js.map → init-IGSS4GNH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-6MRFVOLH.js.map → init-YHVBTEET.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-DCX55BNX.js.map → learnings-4YBMIVCZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-A3CLB5CO.js.map → learnings-T4PF24YN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-DBRECOG4.js.map → list-3KEVBOYW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-53LZ2AEO.js.map → list-E44O2K64.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-42LIC3UE.js.map → notes-FLUCNJSH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-P5O3VMQ3.js.map → notes-GJKALVZM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-HDQXEUKD.js.map → plan-T5MMZLI3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-IGTE3WOJ.js.map → plan-YYMIL3HV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-2XVTBLKQ.js.map → restore-DDJGVZIN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-JL5QIH7H.js.map → restore-SJSASGZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-V6BX65Q2.js.map → schema-B7NQ6XVP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-LVXZWFGY.js.map → schema-HEGYH6CE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-OFYONO3C.js.map → test-IIELLSZX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-RJ4ZF35X.js.map → test-ML5RLWXE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-IPOPFOAF.js.map → test-runs-5FEMBV3A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-L2M7WKH7.js.map → test-runs-RNKZ37PS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-PYLVHMRD.js.map → update-6C67X4KS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-6YEHPVXH.js.map → update-VF26YPT3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-322CCH2L.js.map → update-many-BSZZZYXY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-DYWGW57M.js.map → update-many-BWKJJEBF.js.map} +0 -0
|
@@ -125,7 +125,7 @@ function resolvePmPackageRootFromModule(metaUrl, fallbackRelativeSegments = [])
|
|
|
125
125
|
!(function() {
|
|
126
126
|
try {
|
|
127
127
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
128
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
128
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93175dd3-3dce-5323-91cf-446f2ea6e7d8");
|
|
129
129
|
} catch (e2) {
|
|
130
130
|
}
|
|
131
131
|
})();
|
|
@@ -211,7 +211,7 @@ function createDefaultExtensionGovernancePolicy() {
|
|
|
211
211
|
!(function() {
|
|
212
212
|
try {
|
|
213
213
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
214
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
214
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "359fb424-9ab2-53d9-8aec-7fd76c9a074b");
|
|
215
215
|
} catch (e2) {
|
|
216
216
|
}
|
|
217
217
|
})();
|
|
@@ -363,6 +363,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
363
363
|
ownership_enforcement: "none",
|
|
364
364
|
create_mode_default: "progressive",
|
|
365
365
|
close_validation_default: "off",
|
|
366
|
+
require_close_reason: true,
|
|
366
367
|
parent_reference: "warn",
|
|
367
368
|
metadata_profile: "core",
|
|
368
369
|
force_required_for_stale_lock: false
|
|
@@ -371,6 +372,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
371
372
|
ownership_enforcement: "warn",
|
|
372
373
|
create_mode_default: "progressive",
|
|
373
374
|
close_validation_default: "warn",
|
|
375
|
+
require_close_reason: true,
|
|
374
376
|
parent_reference: "warn",
|
|
375
377
|
metadata_profile: "core",
|
|
376
378
|
force_required_for_stale_lock: true
|
|
@@ -379,6 +381,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
379
381
|
ownership_enforcement: "strict",
|
|
380
382
|
create_mode_default: "strict",
|
|
381
383
|
close_validation_default: "strict",
|
|
384
|
+
require_close_reason: true,
|
|
382
385
|
parent_reference: "strict_error",
|
|
383
386
|
metadata_profile: "strict",
|
|
384
387
|
force_required_for_stale_lock: true
|
|
@@ -485,7 +488,16 @@ var SETTINGS_DEFAULTS = {
|
|
|
485
488
|
embedding_timeout_ms: 3e4,
|
|
486
489
|
scanner_max_batch_retries: 3,
|
|
487
490
|
provider: "",
|
|
488
|
-
mutation_refresh_policy: "semantic_configured"
|
|
491
|
+
mutation_refresh_policy: "semantic_configured",
|
|
492
|
+
query_expansion: {
|
|
493
|
+
enabled: false,
|
|
494
|
+
provider: ""
|
|
495
|
+
},
|
|
496
|
+
rerank: {
|
|
497
|
+
enabled: false,
|
|
498
|
+
model: "",
|
|
499
|
+
top_k: 20
|
|
500
|
+
}
|
|
489
501
|
},
|
|
490
502
|
providers: {
|
|
491
503
|
openai: {
|
|
@@ -515,6 +527,7 @@ var SETTINGS_DEFAULTS = {
|
|
|
515
527
|
},
|
|
516
528
|
vector_store: {
|
|
517
529
|
adapter: "",
|
|
530
|
+
collection_name: "pm_items",
|
|
518
531
|
qdrant: {
|
|
519
532
|
url: "",
|
|
520
533
|
api_key: ""
|
|
@@ -588,7 +601,7 @@ import path4 from "node:path";
|
|
|
588
601
|
!(function() {
|
|
589
602
|
try {
|
|
590
603
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
591
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
604
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "69c3e476-e726-5f10-8c7d-89914dcc7a59");
|
|
592
605
|
} catch (e2) {
|
|
593
606
|
}
|
|
594
607
|
})();
|
|
@@ -646,12 +659,34 @@ function getSettingsPath(pmRoot) {
|
|
|
646
659
|
return path4.join(pmRoot, SETTINGS_FILENAME);
|
|
647
660
|
}
|
|
648
661
|
function deriveDefaultTypeFolder(type) {
|
|
649
|
-
const normalized = type
|
|
662
|
+
const normalized = toSlugToken(type);
|
|
650
663
|
if (normalized.length === 0) {
|
|
651
664
|
return "items";
|
|
652
665
|
}
|
|
653
666
|
return normalized.endsWith("s") ? normalized : `${normalized}s`;
|
|
654
667
|
}
|
|
668
|
+
function toSlugToken(value) {
|
|
669
|
+
const trimmed = value.trim().toLowerCase();
|
|
670
|
+
let slug = "";
|
|
671
|
+
let pendingDash = false;
|
|
672
|
+
for (const character of trimmed) {
|
|
673
|
+
const code = character.charCodeAt(0);
|
|
674
|
+
const isAlpha = code >= 97 && code <= 122;
|
|
675
|
+
const isDigit = code >= 48 && code <= 57;
|
|
676
|
+
if (isAlpha || isDigit) {
|
|
677
|
+
if (pendingDash && slug.length > 0) {
|
|
678
|
+
slug += "-";
|
|
679
|
+
}
|
|
680
|
+
slug += character;
|
|
681
|
+
pendingDash = false;
|
|
682
|
+
continue;
|
|
683
|
+
}
|
|
684
|
+
if (slug.length > 0) {
|
|
685
|
+
pendingDash = true;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
return slug;
|
|
689
|
+
}
|
|
655
690
|
function getTypeDirPath(pmRoot, type, typeToFolder = TYPE_TO_FOLDER) {
|
|
656
691
|
const folder = typeToFolder[type] ?? deriveDefaultTypeFolder(type);
|
|
657
692
|
return path4.join(pmRoot, folder);
|
|
@@ -704,7 +739,7 @@ function getTestRunResultPath(pmRoot, runId) {
|
|
|
704
739
|
!(function() {
|
|
705
740
|
try {
|
|
706
741
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
707
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
742
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "24387234-eb4b-5237-907e-92bec249d2e5");
|
|
708
743
|
} catch (e2) {
|
|
709
744
|
}
|
|
710
745
|
})();
|
|
@@ -732,6 +767,24 @@ function toErrorMessage(error) {
|
|
|
732
767
|
}
|
|
733
768
|
return String(error);
|
|
734
769
|
}
|
|
770
|
+
function coerceFiniteNumber(value) {
|
|
771
|
+
const parsed = typeof value === "number" ? value : typeof value === "string" && value.trim().length > 0 ? Number(value.trim()) : Number.NaN;
|
|
772
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
773
|
+
}
|
|
774
|
+
function coercePositiveInteger(value) {
|
|
775
|
+
const parsed = coerceFiniteNumber(value);
|
|
776
|
+
if (parsed === null || parsed <= 0 || !Number.isInteger(parsed)) {
|
|
777
|
+
return null;
|
|
778
|
+
}
|
|
779
|
+
return parsed;
|
|
780
|
+
}
|
|
781
|
+
function coerceNumberInRange(value, min, max) {
|
|
782
|
+
const parsed = coerceFiniteNumber(value);
|
|
783
|
+
if (parsed === null || parsed < min || parsed > max) {
|
|
784
|
+
return null;
|
|
785
|
+
}
|
|
786
|
+
return parsed;
|
|
787
|
+
}
|
|
735
788
|
function asRecordOrNull(value) {
|
|
736
789
|
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
737
790
|
return null;
|
|
@@ -1861,7 +1914,7 @@ function evaluateExtensionPolicyForRegistration(policy, extension, surface, meth
|
|
|
1861
1914
|
!(function() {
|
|
1862
1915
|
try {
|
|
1863
1916
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1864
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1917
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "54365547-c7be-5bd4-be2e-ca02f27aa365");
|
|
1865
1918
|
} catch (e2) {
|
|
1866
1919
|
}
|
|
1867
1920
|
})();
|
|
@@ -2092,7 +2145,7 @@ async function listExtensionDirectories(extensionsRoot) {
|
|
|
2092
2145
|
}
|
|
2093
2146
|
}
|
|
2094
2147
|
function summarizeCandidate(candidate) {
|
|
2095
|
-
|
|
2148
|
+
const summary = {
|
|
2096
2149
|
layer: candidate.layer,
|
|
2097
2150
|
directory: candidate.directory,
|
|
2098
2151
|
manifest_path: candidate.manifest_path,
|
|
@@ -2114,6 +2167,41 @@ function summarizeCandidate(candidate) {
|
|
|
2114
2167
|
commands: [...candidate.manifest.activation.commands ?? []]
|
|
2115
2168
|
} : void 0
|
|
2116
2169
|
};
|
|
2170
|
+
if (candidate.source_package) {
|
|
2171
|
+
summary.source_package = candidate.source_package;
|
|
2172
|
+
}
|
|
2173
|
+
return summary;
|
|
2174
|
+
}
|
|
2175
|
+
function normalizeManagedSourcePackage(value) {
|
|
2176
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
|
|
2177
|
+
}
|
|
2178
|
+
async function readManagedExtensionSourcePackages(extensionsRoot) {
|
|
2179
|
+
const packages = /* @__PURE__ */ new Map();
|
|
2180
|
+
try {
|
|
2181
|
+
const parsed = JSON.parse(await fs3.readFile(path5.join(extensionsRoot, ".managed-extensions.json"), "utf8"));
|
|
2182
|
+
if (typeof parsed !== "object" || parsed === null || !Array.isArray(parsed.entries)) {
|
|
2183
|
+
return packages;
|
|
2184
|
+
}
|
|
2185
|
+
for (const entry of parsed.entries) {
|
|
2186
|
+
if (typeof entry !== "object" || entry === null) {
|
|
2187
|
+
continue;
|
|
2188
|
+
}
|
|
2189
|
+
const record = entry;
|
|
2190
|
+
const sourcePackage = normalizeManagedSourcePackage(record.source?.package);
|
|
2191
|
+
if (!sourcePackage) {
|
|
2192
|
+
continue;
|
|
2193
|
+
}
|
|
2194
|
+
if (typeof record.directory === "string" && record.directory.trim().length > 0) {
|
|
2195
|
+
packages.set(`directory:${record.directory.trim()}`, sourcePackage);
|
|
2196
|
+
}
|
|
2197
|
+
if (typeof record.name === "string" && record.name.trim().length > 0) {
|
|
2198
|
+
packages.set(`name:${record.name.trim()}`, sourcePackage);
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
} catch {
|
|
2202
|
+
return packages;
|
|
2203
|
+
}
|
|
2204
|
+
return packages;
|
|
2117
2205
|
}
|
|
2118
2206
|
function sortCandidates(candidates) {
|
|
2119
2207
|
return [...candidates].sort((left, right) => {
|
|
@@ -2144,8 +2232,9 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled) {
|
|
|
2144
2232
|
const warnings = [];
|
|
2145
2233
|
const candidates = [];
|
|
2146
2234
|
const directories = await listExtensionDirectories(extensionsRoot);
|
|
2235
|
+
const managedSourcePackages = await readManagedExtensionSourcePackages(extensionsRoot);
|
|
2147
2236
|
for (const directory of directories) {
|
|
2148
|
-
const scanned = await scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled);
|
|
2237
|
+
const scanned = await scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled, managedSourcePackages);
|
|
2149
2238
|
diagnostics.push(scanned.diagnostic);
|
|
2150
2239
|
warnings.push(...scanned.warnings);
|
|
2151
2240
|
if (scanned.candidate) {
|
|
@@ -2154,7 +2243,7 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled) {
|
|
|
2154
2243
|
}
|
|
2155
2244
|
return { diagnostics, warnings, candidates };
|
|
2156
2245
|
}
|
|
2157
|
-
async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled) {
|
|
2246
|
+
async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled, managedSourcePackages) {
|
|
2158
2247
|
const extensionDir = path5.join(extensionsRoot, directory);
|
|
2159
2248
|
const manifestPath = path5.join(extensionDir, "manifest.json");
|
|
2160
2249
|
if (!await pathExists(manifestPath)) {
|
|
@@ -2226,6 +2315,7 @@ async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled,
|
|
|
2226
2315
|
extensionWarnings.push(pmMaxVersionCompatibility.warning);
|
|
2227
2316
|
}
|
|
2228
2317
|
const extensionReady = entryWithinDirectory && entryExists && pmVersionCompatibility.allowed && pmMaxVersionCompatibility.allowed;
|
|
2318
|
+
const sourcePackage = managedSourcePackages.get(`directory:${directory}`) ?? managedSourcePackages.get(`name:${manifest.name}`);
|
|
2229
2319
|
return {
|
|
2230
2320
|
diagnostic: {
|
|
2231
2321
|
layer,
|
|
@@ -2245,7 +2335,8 @@ async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled,
|
|
|
2245
2335
|
directory,
|
|
2246
2336
|
manifest_path: manifestPath,
|
|
2247
2337
|
entry_path: entryPath,
|
|
2248
|
-
manifest
|
|
2338
|
+
manifest,
|
|
2339
|
+
source_package: sourcePackage
|
|
2249
2340
|
} : null
|
|
2250
2341
|
};
|
|
2251
2342
|
}
|
|
@@ -2957,6 +3048,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
2957
3048
|
const registration = {
|
|
2958
3049
|
layer: extension.layer,
|
|
2959
3050
|
name: extension.name,
|
|
3051
|
+
source_package: extension.source_package,
|
|
2960
3052
|
command: normalizedCommand,
|
|
2961
3053
|
action,
|
|
2962
3054
|
examples,
|
|
@@ -3136,6 +3228,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
3136
3228
|
const registration = {
|
|
3137
3229
|
layer: extension.layer,
|
|
3138
3230
|
name: extension.name,
|
|
3231
|
+
source_package: extension.source_package,
|
|
3139
3232
|
command: commandPath,
|
|
3140
3233
|
action,
|
|
3141
3234
|
examples,
|
|
@@ -3759,7 +3852,7 @@ function runActiveServiceOverrideSync(service, payload) {
|
|
|
3759
3852
|
!(function() {
|
|
3760
3853
|
try {
|
|
3761
3854
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3762
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3855
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f62a6f2b-d501-5db4-97cd-8a97131d0db4");
|
|
3763
3856
|
} catch (e2) {
|
|
3764
3857
|
}
|
|
3765
3858
|
})();
|
|
@@ -4451,7 +4544,7 @@ function statusIsTerminal(status, registry) {
|
|
|
4451
4544
|
!(function() {
|
|
4452
4545
|
try {
|
|
4453
4546
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4454
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4547
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ccc616c5-4a01-545e-8792-77f4be9f9810");
|
|
4455
4548
|
} catch (e2) {
|
|
4456
4549
|
}
|
|
4457
4550
|
})();
|
|
@@ -4630,7 +4723,7 @@ function orderObject(value, keyOrder) {
|
|
|
4630
4723
|
!(function() {
|
|
4631
4724
|
try {
|
|
4632
4725
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4633
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4726
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8c23714-d252-5943-afc6-86b87a92a240");
|
|
4634
4727
|
} catch (e2) {
|
|
4635
4728
|
}
|
|
4636
4729
|
})();
|
|
@@ -4781,6 +4874,7 @@ var governanceSettings = vOptional(vObject({
|
|
|
4781
4874
|
ownership_enforcement: vOptional(vLiteral("none", "warn", "strict")),
|
|
4782
4875
|
create_mode_default: vOptional(vLiteral("progressive", "strict")),
|
|
4783
4876
|
close_validation_default: vOptional(vLiteral("off", "warn", "strict")),
|
|
4877
|
+
require_close_reason: vOptional(vBoolean),
|
|
4784
4878
|
parent_reference: vOptional(vLiteral("warn", "strict_error")),
|
|
4785
4879
|
metadata_profile: vOptional(vLiteral("core", "strict", "custom")),
|
|
4786
4880
|
force_required_for_stale_lock: vOptional(vBoolean),
|
|
@@ -4887,11 +4981,21 @@ var settingsCheck = vObject({
|
|
|
4887
4981
|
hybrid_semantic_weight: vOptional(vNumber()),
|
|
4888
4982
|
max_results: vNumber({ int: true }),
|
|
4889
4983
|
embedding_model: vString,
|
|
4984
|
+
embedding_corpus_max_characters: vOptional(vNumber()),
|
|
4890
4985
|
embedding_batch_size: vNumber({ int: true }),
|
|
4891
4986
|
embedding_timeout_ms: vOptional(vNumber({ int: true })),
|
|
4892
4987
|
scanner_max_batch_retries: vNumber({ int: true }),
|
|
4893
4988
|
provider: vOptional(vString),
|
|
4894
|
-
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto"))
|
|
4989
|
+
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto")),
|
|
4990
|
+
query_expansion: vOptional(vObject({
|
|
4991
|
+
enabled: vOptional(vBoolean),
|
|
4992
|
+
provider: vOptional(vString)
|
|
4993
|
+
})),
|
|
4994
|
+
rerank: vOptional(vObject({
|
|
4995
|
+
enabled: vOptional(vBoolean),
|
|
4996
|
+
model: vOptional(vString),
|
|
4997
|
+
top_k: vOptional(vNumber({ int: true, positive: true }))
|
|
4998
|
+
}))
|
|
4895
4999
|
}),
|
|
4896
5000
|
providers: vObject({
|
|
4897
5001
|
openai: vObject({ base_url: vString, api_key: vString, model: vString }),
|
|
@@ -4899,6 +5003,7 @@ var settingsCheck = vObject({
|
|
|
4899
5003
|
}),
|
|
4900
5004
|
vector_store: vObject({
|
|
4901
5005
|
adapter: vOptional(vString),
|
|
5006
|
+
collection_name: vOptional(vString),
|
|
4902
5007
|
qdrant: vObject({ url: vString, api_key: vString }),
|
|
4903
5008
|
lancedb: vObject({ path: vString })
|
|
4904
5009
|
})
|
|
@@ -5003,11 +5108,13 @@ function normalizeItemTypeDefinition(definition, options = {}) {
|
|
|
5003
5108
|
!(function() {
|
|
5004
5109
|
try {
|
|
5005
5110
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5006
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5111
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40eb6325-776d-5b33-887f-abbdee742b52");
|
|
5007
5112
|
} catch (e2) {
|
|
5008
5113
|
}
|
|
5009
5114
|
})();
|
|
5010
5115
|
var SETTINGS_WRITE_OP = "settings:write";
|
|
5116
|
+
var SETTINGS_PERSIST_SOURCE_SYMBOL = /* @__PURE__ */ Symbol("pm.settings.persist_source");
|
|
5117
|
+
var MAX_VECTOR_STORE_COLLECTION_NAME_LENGTH = 128;
|
|
5011
5118
|
function resolveGovernanceKnobsFromPreset(preset) {
|
|
5012
5119
|
return structuredClone(GOVERNANCE_PRESET_DEFAULTS[preset]);
|
|
5013
5120
|
}
|
|
@@ -5025,6 +5132,9 @@ function withGovernanceExtras(base, governance) {
|
|
|
5025
5132
|
if (governance.workflow_enforcement === "off" || governance.workflow_enforcement === "warn" || governance.workflow_enforcement === "strict") {
|
|
5026
5133
|
base.workflow_enforcement = governance.workflow_enforcement;
|
|
5027
5134
|
}
|
|
5135
|
+
if (governance.require_close_reason === false) {
|
|
5136
|
+
base.require_close_reason = false;
|
|
5137
|
+
}
|
|
5028
5138
|
return base;
|
|
5029
5139
|
}
|
|
5030
5140
|
function normalizeGovernanceForPersist(governance) {
|
|
@@ -5045,32 +5155,44 @@ function normalizeGovernanceForPersist(governance) {
|
|
|
5045
5155
|
}
|
|
5046
5156
|
function resolveGovernanceExtras(rawGovernance) {
|
|
5047
5157
|
const createDefaultType = typeof rawGovernance.create_default_type === "string" ? rawGovernance.create_default_type.trim() : void 0;
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
}
|
|
5158
|
+
const extras = {};
|
|
5159
|
+
if (createDefaultType && createDefaultType.length > 0) {
|
|
5160
|
+
extras.create_default_type = createDefaultType;
|
|
5161
|
+
}
|
|
5162
|
+
if (rawGovernance.workflow_enforcement === "off" || rawGovernance.workflow_enforcement === "warn" || rawGovernance.workflow_enforcement === "strict") {
|
|
5163
|
+
extras.workflow_enforcement = rawGovernance.workflow_enforcement;
|
|
5164
|
+
}
|
|
5165
|
+
if (typeof rawGovernance.require_close_reason === "boolean") {
|
|
5166
|
+
extras.require_close_reason = rawGovernance.require_close_reason;
|
|
5167
|
+
}
|
|
5168
|
+
return extras;
|
|
5052
5169
|
}
|
|
5053
5170
|
function resolveGovernanceKnobs(settings) {
|
|
5054
5171
|
const rawGovernance = settings.governance ?? {};
|
|
5055
5172
|
const preset = normalizeGovernancePreset(rawGovernance.preset);
|
|
5056
5173
|
const extras = resolveGovernanceExtras(rawGovernance);
|
|
5057
5174
|
if (preset === "custom") {
|
|
5058
|
-
const
|
|
5175
|
+
const baseline2 = resolveGovernanceKnobsFromPreset("default");
|
|
5176
|
+
const requireCloseReason2 = extras.require_close_reason ?? baseline2.require_close_reason;
|
|
5059
5177
|
return {
|
|
5060
5178
|
preset,
|
|
5061
|
-
ownership_enforcement: rawGovernance.ownership_enforcement ??
|
|
5062
|
-
create_mode_default: rawGovernance.create_mode_default ??
|
|
5063
|
-
close_validation_default: rawGovernance.close_validation_default ??
|
|
5064
|
-
parent_reference: rawGovernance.parent_reference ??
|
|
5065
|
-
metadata_profile: rawGovernance.metadata_profile ??
|
|
5066
|
-
force_required_for_stale_lock: rawGovernance.force_required_for_stale_lock ??
|
|
5067
|
-
...extras
|
|
5179
|
+
ownership_enforcement: rawGovernance.ownership_enforcement ?? baseline2.ownership_enforcement,
|
|
5180
|
+
create_mode_default: rawGovernance.create_mode_default ?? baseline2.create_mode_default,
|
|
5181
|
+
close_validation_default: rawGovernance.close_validation_default ?? baseline2.close_validation_default,
|
|
5182
|
+
parent_reference: rawGovernance.parent_reference ?? baseline2.parent_reference,
|
|
5183
|
+
metadata_profile: rawGovernance.metadata_profile ?? baseline2.metadata_profile,
|
|
5184
|
+
force_required_for_stale_lock: rawGovernance.force_required_for_stale_lock ?? baseline2.force_required_for_stale_lock,
|
|
5185
|
+
...extras,
|
|
5186
|
+
require_close_reason: requireCloseReason2
|
|
5068
5187
|
};
|
|
5069
5188
|
}
|
|
5189
|
+
const baseline = resolveGovernanceKnobsFromPreset(preset);
|
|
5190
|
+
const requireCloseReason = extras.require_close_reason ?? baseline.require_close_reason;
|
|
5070
5191
|
return {
|
|
5071
5192
|
preset,
|
|
5072
|
-
...
|
|
5073
|
-
...extras
|
|
5193
|
+
...baseline,
|
|
5194
|
+
...extras,
|
|
5195
|
+
require_close_reason: requireCloseReason
|
|
5074
5196
|
};
|
|
5075
5197
|
}
|
|
5076
5198
|
function cloneDefaults() {
|
|
@@ -5082,6 +5204,102 @@ function normalizeSearchMutationRefreshPolicy(value) {
|
|
|
5082
5204
|
}
|
|
5083
5205
|
return SETTINGS_DEFAULTS.search.mutation_refresh_policy;
|
|
5084
5206
|
}
|
|
5207
|
+
function normalizeSearchQueryExpansionEnabled(value) {
|
|
5208
|
+
if (typeof value === "boolean") {
|
|
5209
|
+
return value;
|
|
5210
|
+
}
|
|
5211
|
+
return SETTINGS_DEFAULTS.search.query_expansion.enabled;
|
|
5212
|
+
}
|
|
5213
|
+
function normalizeSearchQueryExpansionProvider(value) {
|
|
5214
|
+
if (typeof value !== "string") {
|
|
5215
|
+
return SETTINGS_DEFAULTS.search.query_expansion.provider;
|
|
5216
|
+
}
|
|
5217
|
+
return value.trim();
|
|
5218
|
+
}
|
|
5219
|
+
function normalizeSearchRerankEnabled(value) {
|
|
5220
|
+
if (typeof value === "boolean") {
|
|
5221
|
+
return value;
|
|
5222
|
+
}
|
|
5223
|
+
return SETTINGS_DEFAULTS.search.rerank.enabled;
|
|
5224
|
+
}
|
|
5225
|
+
function normalizeSearchRerankModel(value) {
|
|
5226
|
+
if (typeof value !== "string") {
|
|
5227
|
+
return SETTINGS_DEFAULTS.search.rerank.model;
|
|
5228
|
+
}
|
|
5229
|
+
return value.trim();
|
|
5230
|
+
}
|
|
5231
|
+
function normalizeSearchRerankTopK(value) {
|
|
5232
|
+
if (typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value > 0) {
|
|
5233
|
+
return value;
|
|
5234
|
+
}
|
|
5235
|
+
return SETTINGS_DEFAULTS.search.rerank.top_k;
|
|
5236
|
+
}
|
|
5237
|
+
function normalizeVectorStoreCollectionName(value) {
|
|
5238
|
+
if (typeof value !== "string") {
|
|
5239
|
+
return SETTINGS_DEFAULTS.vector_store.collection_name;
|
|
5240
|
+
}
|
|
5241
|
+
const sanitized = value.trim().replaceAll(/[^a-zA-Z0-9_-]/g, "_");
|
|
5242
|
+
const truncated = sanitized.slice(0, MAX_VECTOR_STORE_COLLECTION_NAME_LENGTH);
|
|
5243
|
+
return truncated.length > 0 ? truncated : SETTINGS_DEFAULTS.vector_store.collection_name;
|
|
5244
|
+
}
|
|
5245
|
+
function buildSettingsPersistSourceSnapshot(parsedSettings, runtimeSettings) {
|
|
5246
|
+
const sourceSchema = parsedSettings.schema;
|
|
5247
|
+
const sourceStatuses = Array.isArray(sourceSchema?.statuses) ? sourceSchema?.statuses : void 0;
|
|
5248
|
+
const sourceFields = Array.isArray(sourceSchema?.fields) ? sourceSchema?.fields : void 0;
|
|
5249
|
+
const sourceTypeWorkflows = Array.isArray(sourceSchema?.type_workflows) ? sourceSchema?.type_workflows : void 0;
|
|
5250
|
+
return {
|
|
5251
|
+
has_source_item_type_definitions: Array.isArray(parsedSettings.item_types?.definitions),
|
|
5252
|
+
source_item_type_definitions: normalizeItemTypeDefinitions(parsedSettings.item_types?.definitions),
|
|
5253
|
+
has_source_schema_statuses: sourceStatuses !== void 0,
|
|
5254
|
+
source_schema_statuses: sourceStatuses ? structuredClone(sourceStatuses) : [],
|
|
5255
|
+
has_source_schema_fields: sourceFields !== void 0,
|
|
5256
|
+
source_schema_fields: sourceFields ? structuredClone(sourceFields) : [],
|
|
5257
|
+
has_source_schema_type_workflows: sourceTypeWorkflows !== void 0,
|
|
5258
|
+
source_schema_type_workflows: sourceTypeWorkflows ? structuredClone(sourceTypeWorkflows) : [],
|
|
5259
|
+
runtime_item_type_definitions: normalizeItemTypeDefinitions(runtimeSettings.item_types?.definitions),
|
|
5260
|
+
runtime_schema_statuses: structuredClone(runtimeSettings.schema.statuses),
|
|
5261
|
+
runtime_schema_fields: structuredClone(runtimeSettings.schema.fields),
|
|
5262
|
+
runtime_schema_type_workflows: structuredClone(runtimeSettings.schema.type_workflows ?? [])
|
|
5263
|
+
};
|
|
5264
|
+
}
|
|
5265
|
+
function attachSettingsPersistSourceSnapshot(settings, source) {
|
|
5266
|
+
Object.defineProperty(settings, SETTINGS_PERSIST_SOURCE_SYMBOL, {
|
|
5267
|
+
value: source,
|
|
5268
|
+
writable: true,
|
|
5269
|
+
configurable: true,
|
|
5270
|
+
enumerable: false
|
|
5271
|
+
});
|
|
5272
|
+
}
|
|
5273
|
+
function getSettingsPersistSourceSnapshot(settings) {
|
|
5274
|
+
const candidate = settings[SETTINGS_PERSIST_SOURCE_SYMBOL];
|
|
5275
|
+
if (!candidate || typeof candidate !== "object") {
|
|
5276
|
+
return void 0;
|
|
5277
|
+
}
|
|
5278
|
+
return candidate;
|
|
5279
|
+
}
|
|
5280
|
+
function resolvePersistedFileBackedSchemaSections(settings, source) {
|
|
5281
|
+
const normalizedSchema = normalizeRuntimeSchemaSettings(settings.schema);
|
|
5282
|
+
const currentItemTypeDefinitions = normalizeItemTypeDefinitions(settings.item_types?.definitions);
|
|
5283
|
+
if (!source) {
|
|
5284
|
+
return {
|
|
5285
|
+
item_type_definitions: currentItemTypeDefinitions,
|
|
5286
|
+
schema_statuses: normalizedSchema.statuses,
|
|
5287
|
+
schema_fields: normalizedSchema.fields,
|
|
5288
|
+
schema_type_workflows: normalizedSchema.type_workflows
|
|
5289
|
+
};
|
|
5290
|
+
}
|
|
5291
|
+
const currentTypeWorkflows = normalizedSchema.type_workflows ?? [];
|
|
5292
|
+
const itemTypeDefinitionsUnchanged = stableValueEquals(currentItemTypeDefinitions, source.runtime_item_type_definitions);
|
|
5293
|
+
const schemaStatusesUnchanged = stableValueEquals(normalizedSchema.statuses, source.runtime_schema_statuses);
|
|
5294
|
+
const schemaFieldsUnchanged = stableValueEquals(normalizedSchema.fields, source.runtime_schema_fields);
|
|
5295
|
+
const schemaTypeWorkflowsUnchanged = stableValueEquals(currentTypeWorkflows, source.runtime_schema_type_workflows);
|
|
5296
|
+
return {
|
|
5297
|
+
item_type_definitions: itemTypeDefinitionsUnchanged ? source.has_source_item_type_definitions ? normalizeItemTypeDefinitions(source.source_item_type_definitions) : [] : currentItemTypeDefinitions,
|
|
5298
|
+
schema_statuses: schemaStatusesUnchanged ? source.has_source_schema_statuses ? structuredClone(source.source_schema_statuses) : [] : normalizedSchema.statuses,
|
|
5299
|
+
schema_fields: schemaFieldsUnchanged ? source.has_source_schema_fields ? structuredClone(source.source_schema_fields) : [] : normalizedSchema.fields,
|
|
5300
|
+
schema_type_workflows: schemaTypeWorkflowsUnchanged ? source.has_source_schema_type_workflows ? structuredClone(source.source_schema_type_workflows) : void 0 : normalizedSchema.type_workflows
|
|
5301
|
+
};
|
|
5302
|
+
}
|
|
5085
5303
|
function buildFallbackSettingsReadResult(warning) {
|
|
5086
5304
|
return {
|
|
5087
5305
|
settings: cloneDefaults(),
|
|
@@ -5314,7 +5532,20 @@ function mergeSettings(settings) {
|
|
|
5314
5532
|
search: {
|
|
5315
5533
|
...defaults.search,
|
|
5316
5534
|
...settings.search,
|
|
5317
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy)
|
|
5535
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy),
|
|
5536
|
+
query_expansion: {
|
|
5537
|
+
...defaults.search.query_expansion,
|
|
5538
|
+
...settings.search?.query_expansion ?? {},
|
|
5539
|
+
enabled: normalizeSearchQueryExpansionEnabled(settings.search?.query_expansion?.enabled),
|
|
5540
|
+
provider: normalizeSearchQueryExpansionProvider(settings.search?.query_expansion?.provider)
|
|
5541
|
+
},
|
|
5542
|
+
rerank: {
|
|
5543
|
+
...defaults.search.rerank,
|
|
5544
|
+
...settings.search?.rerank ?? {},
|
|
5545
|
+
enabled: normalizeSearchRerankEnabled(settings.search?.rerank?.enabled),
|
|
5546
|
+
model: normalizeSearchRerankModel(settings.search?.rerank?.model),
|
|
5547
|
+
top_k: normalizeSearchRerankTopK(settings.search?.rerank?.top_k)
|
|
5548
|
+
}
|
|
5318
5549
|
},
|
|
5319
5550
|
providers: {
|
|
5320
5551
|
openai: { ...defaults.providers.openai, ...settings.providers.openai },
|
|
@@ -5322,13 +5553,16 @@ function mergeSettings(settings) {
|
|
|
5322
5553
|
},
|
|
5323
5554
|
vector_store: {
|
|
5324
5555
|
adapter: settings.vector_store.adapter ?? defaults.vector_store.adapter,
|
|
5556
|
+
collection_name: normalizeVectorStoreCollectionName(settings.vector_store.collection_name),
|
|
5325
5557
|
qdrant: { ...defaults.vector_store.qdrant, ...settings.vector_store.qdrant },
|
|
5326
5558
|
lancedb: { ...defaults.vector_store.lancedb, ...settings.vector_store.lancedb }
|
|
5327
5559
|
}
|
|
5328
5560
|
};
|
|
5329
5561
|
}
|
|
5330
|
-
function serializeSettings(settings) {
|
|
5562
|
+
function serializeSettings(settings, options = {}) {
|
|
5331
5563
|
const governance = resolveGovernanceKnobs(settings);
|
|
5564
|
+
const normalizedSchema = normalizeRuntimeSchemaSettings(settings.schema);
|
|
5565
|
+
const persistedFileBackedSections = resolvePersistedFileBackedSchemaSections(settings, options.persist_source);
|
|
5332
5566
|
const normalizedSettings = {
|
|
5333
5567
|
...settings,
|
|
5334
5568
|
item_format: "toon",
|
|
@@ -5345,13 +5579,31 @@ function serializeSettings(settings) {
|
|
|
5345
5579
|
governance,
|
|
5346
5580
|
agent_guidance: normalizeAgentGuidanceSettings(settings.agent_guidance),
|
|
5347
5581
|
item_types: {
|
|
5348
|
-
definitions:
|
|
5582
|
+
definitions: persistedFileBackedSections.item_type_definitions
|
|
5583
|
+
},
|
|
5584
|
+
schema: {
|
|
5585
|
+
...normalizedSchema,
|
|
5586
|
+
statuses: persistedFileBackedSections.schema_statuses,
|
|
5587
|
+
fields: persistedFileBackedSections.schema_fields,
|
|
5588
|
+
type_workflows: persistedFileBackedSections.schema_type_workflows
|
|
5349
5589
|
},
|
|
5350
|
-
schema: normalizeRuntimeSchemaSettings(settings.schema),
|
|
5351
5590
|
search: {
|
|
5352
5591
|
...SETTINGS_DEFAULTS.search,
|
|
5353
5592
|
...settings.search,
|
|
5354
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy)
|
|
5593
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy),
|
|
5594
|
+
query_expansion: {
|
|
5595
|
+
...SETTINGS_DEFAULTS.search.query_expansion,
|
|
5596
|
+
...settings.search?.query_expansion ?? {},
|
|
5597
|
+
enabled: normalizeSearchQueryExpansionEnabled(settings.search?.query_expansion?.enabled),
|
|
5598
|
+
provider: normalizeSearchQueryExpansionProvider(settings.search?.query_expansion?.provider)
|
|
5599
|
+
},
|
|
5600
|
+
rerank: {
|
|
5601
|
+
...SETTINGS_DEFAULTS.search.rerank,
|
|
5602
|
+
...settings.search?.rerank ?? {},
|
|
5603
|
+
enabled: normalizeSearchRerankEnabled(settings.search?.rerank?.enabled),
|
|
5604
|
+
model: normalizeSearchRerankModel(settings.search?.rerank?.model),
|
|
5605
|
+
top_k: normalizeSearchRerankTopK(settings.search?.rerank?.top_k)
|
|
5606
|
+
}
|
|
5355
5607
|
},
|
|
5356
5608
|
context: {
|
|
5357
5609
|
default_depth: settings.context?.default_depth ?? SETTINGS_DEFAULTS.context.default_depth,
|
|
@@ -5366,6 +5618,13 @@ function serializeSettings(settings) {
|
|
|
5366
5618
|
enabled: normalizeStringList2(settings.extensions?.enabled),
|
|
5367
5619
|
disabled: normalizeStringList2(settings.extensions?.disabled),
|
|
5368
5620
|
policy: normalizeExtensionPolicySettings(settings.extensions?.policy)
|
|
5621
|
+
},
|
|
5622
|
+
vector_store: {
|
|
5623
|
+
...settings.vector_store ?? {},
|
|
5624
|
+
adapter: settings.vector_store?.adapter ?? SETTINGS_DEFAULTS.vector_store.adapter,
|
|
5625
|
+
collection_name: normalizeVectorStoreCollectionName(settings.vector_store?.collection_name),
|
|
5626
|
+
qdrant: { ...settings.vector_store?.qdrant ?? {} },
|
|
5627
|
+
lancedb: { ...settings.vector_store?.lancedb ?? {} }
|
|
5369
5628
|
}
|
|
5370
5629
|
};
|
|
5371
5630
|
const ordered = orderObject({
|
|
@@ -5411,6 +5670,7 @@ function serializeSettings(settings) {
|
|
|
5411
5670
|
"ownership_enforcement",
|
|
5412
5671
|
"create_mode_default",
|
|
5413
5672
|
"close_validation_default",
|
|
5673
|
+
"require_close_reason",
|
|
5414
5674
|
"parent_reference",
|
|
5415
5675
|
"metadata_profile",
|
|
5416
5676
|
"force_required_for_stale_lock",
|
|
@@ -5496,16 +5756,26 @@ function serializeSettings(settings) {
|
|
|
5496
5756
|
"hybrid_semantic_weight",
|
|
5497
5757
|
"max_results",
|
|
5498
5758
|
"embedding_model",
|
|
5759
|
+
"embedding_corpus_max_characters",
|
|
5499
5760
|
"embedding_batch_size",
|
|
5500
5761
|
"embedding_timeout_ms",
|
|
5501
5762
|
"scanner_max_batch_retries",
|
|
5502
5763
|
"provider",
|
|
5503
|
-
"mutation_refresh_policy"
|
|
5764
|
+
"mutation_refresh_policy",
|
|
5765
|
+
"query_expansion",
|
|
5766
|
+
"rerank"
|
|
5504
5767
|
]);
|
|
5768
|
+
ordered.search.query_expansion = orderObject(ordered.search.query_expansion ?? {}, ["enabled", "provider"]);
|
|
5769
|
+
ordered.search.rerank = orderObject(ordered.search.rerank ?? {}, ["enabled", "model", "top_k"]);
|
|
5505
5770
|
ordered.providers = orderObject(ordered.providers, ["openai", "ollama"]);
|
|
5506
5771
|
ordered.providers.openai = orderObject(ordered.providers.openai ?? {}, ["base_url", "api_key", "model"]);
|
|
5507
5772
|
ordered.providers.ollama = orderObject(ordered.providers.ollama ?? {}, ["base_url", "model"]);
|
|
5508
|
-
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
5773
|
+
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
5774
|
+
"adapter",
|
|
5775
|
+
"collection_name",
|
|
5776
|
+
"qdrant",
|
|
5777
|
+
"lancedb"
|
|
5778
|
+
]);
|
|
5509
5779
|
ordered.vector_store.qdrant = orderObject(ordered.vector_store.qdrant ?? {}, ["url", "api_key"]);
|
|
5510
5780
|
ordered.vector_store.lancedb = orderObject(ordered.vector_store.lancedb ?? {}, ["path"]);
|
|
5511
5781
|
return `${JSON.stringify(ordered, null, 2)}
|
|
@@ -5545,6 +5815,7 @@ async function readSettingsWithMetadata(pmRoot) {
|
|
|
5545
5815
|
},
|
|
5546
5816
|
schema: loadedSchemaSections.schema
|
|
5547
5817
|
};
|
|
5818
|
+
attachSettingsPersistSourceSnapshot(settings, buildSettingsPersistSourceSnapshot(validated.data, settings));
|
|
5548
5819
|
return {
|
|
5549
5820
|
settings,
|
|
5550
5821
|
metadata: {
|
|
@@ -5565,7 +5836,9 @@ async function readSettings(pmRoot) {
|
|
|
5565
5836
|
}
|
|
5566
5837
|
async function writeSettings(pmRoot, settings, op = SETTINGS_WRITE_OP) {
|
|
5567
5838
|
const settingsPath = getSettingsPath(pmRoot);
|
|
5568
|
-
await writeFileAtomic(settingsPath, serializeSettings(settings
|
|
5839
|
+
await writeFileAtomic(settingsPath, serializeSettings(settings, {
|
|
5840
|
+
persist_source: getSettingsPersistSourceSnapshot(settings)
|
|
5841
|
+
}));
|
|
5569
5842
|
await runActiveOnWriteHooks({
|
|
5570
5843
|
path: settingsPath,
|
|
5571
5844
|
scope: "project",
|
|
@@ -5624,6 +5897,8 @@ export {
|
|
|
5624
5897
|
trimTrailingSlashes,
|
|
5625
5898
|
isFiniteNumberArray,
|
|
5626
5899
|
toErrorMessage,
|
|
5900
|
+
coercePositiveInteger,
|
|
5901
|
+
coerceNumberInRange,
|
|
5627
5902
|
asRecordOrNull,
|
|
5628
5903
|
parseUnknownExtensionCapabilityWarning,
|
|
5629
5904
|
parseLegacyExtensionCapabilityAliasWarning,
|
|
@@ -5702,4 +5977,4 @@ export {
|
|
|
5702
5977
|
readSettings,
|
|
5703
5978
|
writeSettings
|
|
5704
5979
|
};
|
|
5705
|
-
//# sourceMappingURL=chunk-
|
|
5980
|
+
//# sourceMappingURL=chunk-UJUT6AHZ.js.map
|