@unbrained/pm-cli 2026.6.6 → 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 +37 -0
- package/README.md +5 -1
- 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 +68 -13
- 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 +4 -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/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/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/index.d.ts +2 -0
- package/dist/cli/commands/index.js +4 -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/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 +10 -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 +19 -4
- 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 +31 -7
- 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-JM6DTDND.js → activity-YVB3QRTE.js} +11 -11
- package/dist/cli-bundle/chunks/{aggregate-VNAHUNNF.js → aggregate-LH66F75F.js} +87 -17
- package/dist/cli-bundle/chunks/aggregate-LH66F75F.js.map +7 -0
- package/dist/cli-bundle/chunks/{aggregate-GI7WSZPH.js → aggregate-OHSWFQJM.js} +88 -18
- package/dist/cli-bundle/chunks/aggregate-OHSWFQJM.js.map +1 -0
- package/dist/cli-bundle/chunks/{append-WMKRXKCE.js → append-2PPYFAG5.js} +8 -8
- package/dist/cli-bundle/chunks/{append-7H5N64R2.js → append-AUGT5W6J.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-6P6GGMOG.js → chunk-2IF7WLB7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-T3LC5LKB.js → chunk-2IXCHCLM.js} +5 -6
- package/dist/cli-bundle/chunks/chunk-2IXCHCLM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KAG77BY3.js → chunk-2OJHLWBZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GXSUPCBV.js → chunk-3A2CMEM7.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-UM2GBHS4.js → chunk-3EOBJOF4.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-Q7SPNHLW.js → chunk-42LOFGJS.js} +91 -16
- package/dist/cli-bundle/chunks/chunk-42LOFGJS.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PRJCELV4.js → chunk-4CHEG6UK.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-4LL6TK5B.js → chunk-4GHZR3BA.js} +56 -28
- package/dist/cli-bundle/chunks/chunk-4GHZR3BA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OZ7NSQHL.js → chunk-5AXMRKN5.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-GCOQW437.js → chunk-6J4K6JLA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2RSPZI5H.js → chunk-6RZXO5M2.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-KJ33AOCY.js → chunk-AVJD6VTA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TCD3R2PF.js → chunk-B2KZGPM2.js} +39 -8
- package/dist/cli-bundle/chunks/chunk-B2KZGPM2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-I6BNFU5X.js → chunk-B5RF3IP7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RZN6VURO.js → chunk-C5W2UH56.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-3LB74A67.js → chunk-CKLBZHS7.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-KWU6HG75.js → chunk-CLD3XNCH.js} +91 -10
- package/dist/cli-bundle/chunks/chunk-CLD3XNCH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QO7EBBOM.js → chunk-FHHBD7PN.js} +38 -7
- package/dist/cli-bundle/chunks/chunk-FHHBD7PN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3VAM3NNM.js → chunk-FY6Z3FYY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RWPSOIEE.js → chunk-GNIUOLZ2.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-MITFDD35.js → chunk-GPXQBR3H.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-2VBQ6ZXS.js → chunk-GUZBNB3G.js} +27 -5
- package/dist/cli-bundle/chunks/chunk-GUZBNB3G.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-I2HSTRJF.js → chunk-H7EO3QA3.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-77GFDHGF.js → chunk-HLC3KTLP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OVQCEJPG.js → chunk-HMMMWBK2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KJE2FOS4.js → chunk-HRMHZ4RV.js} +26 -4
- package/dist/cli-bundle/chunks/chunk-HRMHZ4RV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XLTD2HN3.js → chunk-HV5SSZXF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GU2ZJ2VV.js → chunk-IMCJBN2Q.js} +23 -14
- package/dist/cli-bundle/chunks/chunk-IMCJBN2Q.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2HVRUSQA.js → chunk-KNGVP5WJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ECCMVXGM.js → chunk-KR6R465K.js} +304 -215
- package/dist/cli-bundle/chunks/chunk-KR6R465K.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3BWOVLTH.js → chunk-LI65XLJR.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-NUZ5HKR4.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-N7ACFE26.js → chunk-LQHBENVW.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-23YFZ3IG.js → chunk-LXO6V66E.js} +14 -14
- package/dist/cli-bundle/chunks/{chunk-PDDFYW4X.js → chunk-M2PW7EZU.js} +26 -7
- package/dist/cli-bundle/chunks/chunk-M2PW7EZU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PIU6RSL3.js → chunk-MOYM2C3J.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-PROOHX4K.js → chunk-MWRS7Z4P.js} +94 -13
- package/dist/cli-bundle/chunks/chunk-MWRS7Z4P.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FRAUKRU2.js → chunk-NHR2QXXZ.js} +24 -15
- package/dist/cli-bundle/chunks/chunk-NHR2QXXZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IJGCZSIQ.js → chunk-NQL32HQ5.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-52MAOQ6J.js → chunk-O7HSSFCC.js} +65 -16
- package/dist/cli-bundle/chunks/chunk-O7HSSFCC.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6ER6DXH5.js → chunk-OKSKJKHX.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-IOR7LGF4.js → chunk-QQL5QSTZ.js} +88 -7
- package/dist/cli-bundle/chunks/chunk-QQL5QSTZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2VVCGBNV.js → chunk-R3V3YCMH.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-UBOPJT3S.js → chunk-RVPTZKBC.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-WKY2IBOQ.js → chunk-SFFVGNHC.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WSMOSYRD.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-W7XABV4H.js → chunk-TINUJMWN.js} +92 -17
- package/dist/cli-bundle/chunks/chunk-TINUJMWN.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YL2DJGYS.js → chunk-TNPBPNII.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-XTGLRY2Y.js → chunk-TP4DDY27.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-AY43SBIN.js → chunk-TYJJOTUA.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-LCM63IXU.js → chunk-UAQOQ7IE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BQHUILZS.js → chunk-UEWA73ZZ.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-PO3GSVFV.js → chunk-UIIQC5YO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-U5SXYXSY.js → chunk-UJUT6AHZ.js} +241 -35
- package/dist/cli-bundle/chunks/chunk-UJUT6AHZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HZGUAH22.js → chunk-UT6WFXW2.js} +6 -7
- package/dist/cli-bundle/chunks/chunk-UT6WFXW2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LB3RUL2N.js → chunk-UYQ7HXH4.js} +10 -6
- package/dist/cli-bundle/chunks/chunk-UYQ7HXH4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-R6UFP2GE.js → chunk-V6EYFTRL.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3FI4SEFT.js → chunk-WAA7UI6M.js} +58 -30
- package/dist/cli-bundle/chunks/chunk-WAA7UI6M.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AO442XLN.js → chunk-WCQZBDDH.js} +10 -6
- package/dist/cli-bundle/chunks/{chunk-AO442XLN.js.map → chunk-WCQZBDDH.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SKJWX3QB.js → chunk-WR5567FH.js} +87 -6
- package/dist/cli-bundle/chunks/chunk-WR5567FH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XSJCLN2R.js → chunk-WYEXLDDY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-5SFCOO6B.js → chunk-X4IZKYHP.js} +234 -28
- package/dist/cli-bundle/chunks/chunk-X4IZKYHP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-E5FJNAZA.js → chunk-X7UHMKPE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WOPXVEZP.js → chunk-XS3O2TFJ.js} +27 -8
- package/dist/cli-bundle/chunks/chunk-XS3O2TFJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TPH5XEVD.js → chunk-XYNT7UFP.js} +303 -207
- package/dist/cli-bundle/chunks/chunk-XYNT7UFP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GGYWB3Y2.js → chunk-YBZW2QQ7.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-ME2YH6FN.js → chunk-YO3THIJF.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-5FDATVEZ.js → chunk-YPH4ESA2.js} +66 -17
- package/dist/cli-bundle/chunks/chunk-YPH4ESA2.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-X2P4IB7J.js → claim-BJ4QMPJC.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-4DBF6RVG.js → claim-KW743OSW.js} +10 -10
- package/dist/cli-bundle/chunks/close-P4ZBKODL.js +13 -0
- package/dist/cli-bundle/chunks/{close-PTYFA45H.js → close-SYHSRZDC.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-7CGIDPTJ.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-ERFO6LHR.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-QKBYCWKD.js → comments-JEO6HHVM.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-OONGABK5.js → comments-YT2PQ5DD.js} +10 -10
- package/dist/cli-bundle/chunks/{config-6FXCQKIF.js → config-RZRVS3ZV.js} +127 -11
- package/dist/cli-bundle/chunks/config-RZRVS3ZV.js.map +1 -0
- package/dist/cli-bundle/chunks/{config-U4RZ4CQB.js → config-YJSAAADD.js} +128 -12
- package/dist/cli-bundle/chunks/config-YJSAAADD.js.map +7 -0
- package/dist/cli-bundle/chunks/{context-FYYJGFWS.js → context-LGYEEKAW.js} +14 -14
- package/dist/cli-bundle/chunks/{context-FYYJGFWS.js.map → context-LGYEEKAW.js.map} +2 -2
- package/dist/cli-bundle/chunks/{context-YMJ3Z2HQ.js → context-ZUH5IOOI.js} +15 -15
- package/dist/cli-bundle/chunks/context-ZUH5IOOI.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-RFSPGVVJ.js → contracts-YXJ6NXKH.js} +7 -5
- package/dist/cli-bundle/chunks/contracts-YXJ6NXKH.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-QDB6OMLQ.js → contracts-ZIBXROPE.js} +8 -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-I5L4EYYZ.js → create-CF7EVRX7.js} +13 -13
- package/dist/cli-bundle/chunks/{delete-7HPGI4GZ.js → delete-KR4VBWVE.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-VXUPH5RS.js → delete-XLZRTRKR.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-JSRRWC3Z.js → deps-2YTXD3VM.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-SCZIFK2Z.js → deps-GZMFMTGS.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-GJK6K4VP.js → docs-SLROFEQ4.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-WW4N3MBM.js → docs-ZHISRR2D.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-J7IBMFTD.js → extension-3C7OOI4F.js} +8 -6
- package/dist/cli-bundle/chunks/{extension-VDY2U33M.js → extension-XYCUXICD.js} +8 -6
- package/dist/cli-bundle/chunks/{files-ISZJGILQ.js → files-FUWF2FYJ.js} +9 -9
- package/dist/cli-bundle/chunks/{files-WKOD326U.js → files-J4I5IU4O.js} +9 -9
- package/dist/cli-bundle/chunks/{gc-JDVJ6OQ2.js → gc-34NXSNSN.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-ULPVWMTN.js → gc-SPIIZX3A.js} +3 -3
- package/dist/cli-bundle/chunks/{get-RV37HT3G.js → get-SZKNRHMA.js} +34 -12
- package/dist/cli-bundle/chunks/get-SZKNRHMA.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-WXU6WI5P.js → get-VITKYP6S.js} +33 -11
- package/dist/cli-bundle/chunks/get-VITKYP6S.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-6L6EH4WR.js → health-4SNTA2TF.js} +12 -11
- package/dist/cli-bundle/chunks/{health-6L6EH4WR.js.map → health-4SNTA2TF.js.map} +1 -1
- package/dist/cli-bundle/chunks/{health-LOI2HHKB.js → health-7G3EPM57.js} +14 -13
- package/dist/cli-bundle/chunks/{health-LOI2HHKB.js.map → health-7G3EPM57.js.map} +1 -1
- package/dist/cli-bundle/chunks/{history-PKN67D5O.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-V4FOJGS7.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-SDMHR7JT.js → history-repair-IJ7LLBET.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-HIBCBIKK.js → history-repair-YNESJRT6.js} +11 -11
- package/dist/cli-bundle/chunks/init-IGSS4GNH.js +17 -0
- package/dist/cli-bundle/chunks/{init-P56QYWJF.js → init-YHVBTEET.js} +9 -8
- package/dist/cli-bundle/chunks/{learnings-GDFRG5J7.js → learnings-4YBMIVCZ.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-MIXSESLK.js → learnings-T4PF24YN.js} +10 -10
- package/dist/cli-bundle/chunks/{list-FGOWQMSM.js → list-3KEVBOYW.js} +10 -10
- package/dist/cli-bundle/chunks/list-E44O2K64.js +20 -0
- package/dist/cli-bundle/chunks/{notes-4XVSH2AZ.js → notes-FLUCNJSH.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-5UK3GEH2.js → notes-GJKALVZM.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-SLMODHWX.js → plan-T5MMZLI3.js} +13 -13
- package/dist/cli-bundle/chunks/{plan-DUMBV3QB.js → plan-YYMIL3HV.js} +13 -13
- package/dist/cli-bundle/chunks/{register-list-query-POCFZ5JW.js → register-list-query-I65EZ3HB.js} +29 -25
- package/dist/cli-bundle/chunks/register-list-query-I65EZ3HB.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-WST76HSQ.js → register-list-query-OECMHO4G.js} +28 -24
- package/dist/cli-bundle/chunks/register-list-query-OECMHO4G.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-N5GSUZJV.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-OA675SOU.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-GNHBE5I3.js → register-operations-BNGAUMGK.js} +58 -35
- package/dist/cli-bundle/chunks/register-operations-BNGAUMGK.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-N3PMHXH5.js → register-operations-GQKT35H5.js} +57 -34
- package/dist/cli-bundle/chunks/register-operations-GQKT35H5.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-JIMPKJKV.js → register-setup-DNDCGZ4O.js} +18 -18
- package/dist/cli-bundle/chunks/{register-setup-JIMPKJKV.js.map → register-setup-DNDCGZ4O.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-ZHJI2DI3.js → register-setup-EJY44FPH.js} +17 -17
- package/dist/cli-bundle/chunks/{register-setup-ZHJI2DI3.js.map → register-setup-EJY44FPH.js.map} +2 -2
- package/dist/cli-bundle/chunks/{restore-PBL6T5TW.js → restore-DDJGVZIN.js} +11 -11
- package/dist/cli-bundle/chunks/restore-SJSASGZP.js +17 -0
- package/dist/cli-bundle/chunks/{schema-2NOO6NGB.js → schema-B7NQ6XVP.js} +8 -8
- package/dist/cli-bundle/chunks/{schema-EBI4NLUO.js → schema-HEGYH6CE.js} +8 -8
- package/dist/cli-bundle/chunks/{search-JPUQTVCY.js → search-DVVQ4UO2.js} +421 -42
- package/dist/cli-bundle/chunks/search-DVVQ4UO2.js.map +1 -0
- package/dist/cli-bundle/chunks/{search-OA6JX27A.js → search-JNEZJV7H.js} +427 -41
- package/dist/cli-bundle/chunks/search-JNEZJV7H.js.map +7 -0
- package/dist/cli-bundle/chunks/{stats-CV54BAWY.js → stats-7JDIJRDH.js} +7 -7
- package/dist/cli-bundle/chunks/{stats-XYB6KTFG.js → stats-SYTJRR4Z.js} +7 -7
- package/dist/cli-bundle/chunks/{telemetry-LMJ7PFUO.js → telemetry-4HHWD5Y7.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-NCMEPJNR.js → telemetry-EGWP7ZUX.js} +4 -4
- package/dist/cli-bundle/chunks/{test-WBROAJIE.js → test-IIELLSZX.js} +14 -13
- package/dist/cli-bundle/chunks/test-ML5RLWXE.js +32 -0
- package/dist/cli-bundle/chunks/{test-all-NTOZ7C3M.js → test-all-7DNCMML7.js} +14 -13
- package/dist/cli-bundle/chunks/{test-all-NTOZ7C3M.js.map → test-all-7DNCMML7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-all-N6NSRDTV.js → test-all-IHTUJRRC.js} +16 -15
- package/dist/cli-bundle/chunks/{test-all-N6NSRDTV.js.map → test-all-IHTUJRRC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-runs-V6A7LPWZ.js → test-runs-5FEMBV3A.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-WMVTQU3Y.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-KGGEYABR.js → update-many-BSZZZYXY.js} +22 -22
- package/dist/cli-bundle/chunks/{update-many-EM6OXYGO.js → update-many-BWKJJEBF.js} +22 -22
- package/dist/cli-bundle/chunks/{upgrade-LXPOQKFV.js → upgrade-RSE5PC44.js} +7 -6
- package/dist/cli-bundle/chunks/{upgrade-LXPOQKFV.js.map → upgrade-RSE5PC44.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-BLI7XBAJ.js → upgrade-YWI5DJFA.js} +5 -4
- package/dist/cli-bundle/chunks/{upgrade-BLI7XBAJ.js.map → upgrade-YWI5DJFA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-AGOAUOVW.js → validate-NK3WKB7C.js} +18 -17
- package/dist/cli-bundle/chunks/{validate-AGOAUOVW.js.map → validate-NK3WKB7C.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-L5J6A7YO.js → validate-UCEOB7S6.js} +20 -19
- package/dist/cli-bundle/chunks/{validate-L5J6A7YO.js.map → validate-UCEOB7S6.js.map} +1 -1
- package/dist/cli-bundle/main.js +127 -43
- package/dist/cli-bundle/main.js.map +3 -3
- 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/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/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/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.js +109 -12
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/runtime.js +85 -4
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/mcp/server.js +36 -9
- 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 +6 -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 +31 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +3 -1
- package/dist/sdk/cli-contracts.js +36 -6
- 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/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/CODEX_PLUGIN.md +1 -1
- package/docs/COMMANDS.md +9 -2
- package/docs/CONFIGURATION.md +22 -1
- package/docs/EXTENSIONS.md +22 -9
- package/docs/QUICKSTART.md +1 -1
- package/docs/SDK.md +66 -0
- package/docs/TESTING.md +14 -0
- package/package.json +2 -1
- 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/README.md +4 -4
- package/plugins/pm-codex/README.md +1 -1
- package/dist/cli-bundle/chunks/activity-CVXTCHYY.js +0 -16
- package/dist/cli-bundle/chunks/aggregate-GI7WSZPH.js.map +0 -1
- package/dist/cli-bundle/chunks/aggregate-VNAHUNNF.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-2VBQ6ZXS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3FI4SEFT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4LL6TK5B.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-52MAOQ6J.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5FDATVEZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5SFCOO6B.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ECCMVXGM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FRAUKRU2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GU2ZJ2VV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HZGUAH22.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IOR7LGF4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KJE2FOS4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KWU6HG75.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LB3RUL2N.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PDDFYW4X.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PROOHX4K.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-Q7SPNHLW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-QO7EBBOM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SKJWX3QB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-T3LC5LKB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TCD3R2PF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TPH5XEVD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-U5SXYXSY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-W7XABV4H.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WOPXVEZP.js.map +0 -1
- package/dist/cli-bundle/chunks/close-3HDWDA3L.js +0 -13
- package/dist/cli-bundle/chunks/close-many-7CGIDPTJ.js.map +0 -7
- package/dist/cli-bundle/chunks/close-many-ERFO6LHR.js.map +0 -1
- package/dist/cli-bundle/chunks/config-6FXCQKIF.js.map +0 -1
- package/dist/cli-bundle/chunks/config-U4RZ4CQB.js.map +0 -7
- package/dist/cli-bundle/chunks/context-YMJ3Z2HQ.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-RFSPGVVJ.js.map +0 -7
- package/dist/cli-bundle/chunks/create-JTZNCTQC.js +0 -27
- package/dist/cli-bundle/chunks/get-RV37HT3G.js.map +0 -1
- package/dist/cli-bundle/chunks/get-WXU6WI5P.js.map +0 -7
- package/dist/cli-bundle/chunks/history-2BA3T5AE.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-JBZNXHGR.js +0 -19
- package/dist/cli-bundle/chunks/init-HIVSNX3O.js +0 -16
- package/dist/cli-bundle/chunks/list-MUSQNMTD.js +0 -20
- package/dist/cli-bundle/chunks/register-list-query-POCFZ5JW.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-WST76HSQ.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-N5GSUZJV.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-OA675SOU.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-N3PMHXH5.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-D4RGNX33.js +0 -17
- package/dist/cli-bundle/chunks/search-JPUQTVCY.js.map +0 -1
- package/dist/cli-bundle/chunks/search-OA6JX27A.js.map +0 -7
- package/dist/cli-bundle/chunks/test-MXX3E5JL.js +0 -31
- package/dist/cli-bundle/chunks/update-OSV3NAQB.js +0 -25
- package/dist/cli-bundle/chunks/update-YRXSUGYQ.js +0 -21
- /package/dist/cli-bundle/chunks/{activity-CVXTCHYY.js.map → activity-5UROHJ3D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-JM6DTDND.js.map → activity-YVB3QRTE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-WMKRXKCE.js.map → append-2PPYFAG5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-7H5N64R2.js.map → append-AUGT5W6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6P6GGMOG.js.map → chunk-2IF7WLB7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KAG77BY3.js.map → chunk-2OJHLWBZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GXSUPCBV.js.map → chunk-3A2CMEM7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UM2GBHS4.js.map → chunk-3EOBJOF4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PRJCELV4.js.map → chunk-4CHEG6UK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OZ7NSQHL.js.map → chunk-5AXMRKN5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GCOQW437.js.map → chunk-6J4K6JLA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2RSPZI5H.js.map → chunk-6RZXO5M2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KJ33AOCY.js.map → chunk-AVJD6VTA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I6BNFU5X.js.map → chunk-B5RF3IP7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RZN6VURO.js.map → chunk-C5W2UH56.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3LB74A67.js.map → chunk-CKLBZHS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3VAM3NNM.js.map → chunk-FY6Z3FYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RWPSOIEE.js.map → chunk-GNIUOLZ2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MITFDD35.js.map → chunk-GPXQBR3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I2HSTRJF.js.map → chunk-H7EO3QA3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-77GFDHGF.js.map → chunk-HLC3KTLP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OVQCEJPG.js.map → chunk-HMMMWBK2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XLTD2HN3.js.map → chunk-HV5SSZXF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2HVRUSQA.js.map → chunk-KNGVP5WJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3BWOVLTH.js.map → chunk-LI65XLJR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NUZ5HKR4.js.map → chunk-LIN2BPJ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N7ACFE26.js.map → chunk-LQHBENVW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-23YFZ3IG.js.map → chunk-LXO6V66E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PIU6RSL3.js.map → chunk-MOYM2C3J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IJGCZSIQ.js.map → chunk-NQL32HQ5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6ER6DXH5.js.map → chunk-OKSKJKHX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2VVCGBNV.js.map → chunk-R3V3YCMH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UBOPJT3S.js.map → chunk-RVPTZKBC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WKY2IBOQ.js.map → chunk-SFFVGNHC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WSMOSYRD.js.map → chunk-SQPKRA54.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YL2DJGYS.js.map → chunk-TNPBPNII.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XTGLRY2Y.js.map → chunk-TP4DDY27.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AY43SBIN.js.map → chunk-TYJJOTUA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LCM63IXU.js.map → chunk-UAQOQ7IE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BQHUILZS.js.map → chunk-UEWA73ZZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PO3GSVFV.js.map → chunk-UIIQC5YO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R6UFP2GE.js.map → chunk-V6EYFTRL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XSJCLN2R.js.map → chunk-WYEXLDDY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E5FJNAZA.js.map → chunk-X7UHMKPE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GGYWB3Y2.js.map → chunk-YBZW2QQ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ME2YH6FN.js.map → chunk-YO3THIJF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-X2P4IB7J.js.map → claim-BJ4QMPJC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-4DBF6RVG.js.map → claim-KW743OSW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-3HDWDA3L.js.map → close-P4ZBKODL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-PTYFA45H.js.map → close-SYHSRZDC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-QKBYCWKD.js.map → comments-JEO6HHVM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-OONGABK5.js.map → comments-YT2PQ5DD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-JTZNCTQC.js.map → create-4DS2QWQC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-I5L4EYYZ.js.map → create-CF7EVRX7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-7HPGI4GZ.js.map → delete-KR4VBWVE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-VXUPH5RS.js.map → delete-XLZRTRKR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-JSRRWC3Z.js.map → deps-2YTXD3VM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-SCZIFK2Z.js.map → deps-GZMFMTGS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-GJK6K4VP.js.map → docs-SLROFEQ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-WW4N3MBM.js.map → docs-ZHISRR2D.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-J7IBMFTD.js.map → extension-3C7OOI4F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-VDY2U33M.js.map → extension-XYCUXICD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-ISZJGILQ.js.map → files-FUWF2FYJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-WKOD326U.js.map → files-J4I5IU4O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-JDVJ6OQ2.js.map → gc-34NXSNSN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-ULPVWMTN.js.map → gc-SPIIZX3A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-PKN67D5O.js.map → history-SDAWYZR3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-2BA3T5AE.js.map → history-YDUEILKP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-V4FOJGS7.js.map → history-redact-EPJ7GENL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-JBZNXHGR.js.map → history-redact-KASLLPE7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-SDMHR7JT.js.map → history-repair-IJ7LLBET.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-HIBCBIKK.js.map → history-repair-YNESJRT6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-HIVSNX3O.js.map → init-IGSS4GNH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-P56QYWJF.js.map → init-YHVBTEET.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-GDFRG5J7.js.map → learnings-4YBMIVCZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-MIXSESLK.js.map → learnings-T4PF24YN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-FGOWQMSM.js.map → list-3KEVBOYW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-MUSQNMTD.js.map → list-E44O2K64.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-4XVSH2AZ.js.map → notes-FLUCNJSH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-5UK3GEH2.js.map → notes-GJKALVZM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-SLMODHWX.js.map → plan-T5MMZLI3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-DUMBV3QB.js.map → plan-YYMIL3HV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-PBL6T5TW.js.map → restore-DDJGVZIN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-D4RGNX33.js.map → restore-SJSASGZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-2NOO6NGB.js.map → schema-B7NQ6XVP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-EBI4NLUO.js.map → schema-HEGYH6CE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-CV54BAWY.js.map → stats-7JDIJRDH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-XYB6KTFG.js.map → stats-SYTJRR4Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-LMJ7PFUO.js.map → telemetry-4HHWD5Y7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-NCMEPJNR.js.map → telemetry-EGWP7ZUX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-WBROAJIE.js.map → test-IIELLSZX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-MXX3E5JL.js.map → test-ML5RLWXE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-V6A7LPWZ.js.map → test-runs-5FEMBV3A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-WMVTQU3Y.js.map → test-runs-RNKZ37PS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-YRXSUGYQ.js.map → update-6C67X4KS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-OSV3NAQB.js.map → update-VF26YPT3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-KGGEYABR.js.map → update-many-BSZZZYXY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-EM6OXYGO.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,12 +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";
|
|
5011
5116
|
var SETTINGS_PERSIST_SOURCE_SYMBOL = /* @__PURE__ */ Symbol("pm.settings.persist_source");
|
|
5117
|
+
var MAX_VECTOR_STORE_COLLECTION_NAME_LENGTH = 128;
|
|
5012
5118
|
function resolveGovernanceKnobsFromPreset(preset) {
|
|
5013
5119
|
return structuredClone(GOVERNANCE_PRESET_DEFAULTS[preset]);
|
|
5014
5120
|
}
|
|
@@ -5026,6 +5132,9 @@ function withGovernanceExtras(base, governance) {
|
|
|
5026
5132
|
if (governance.workflow_enforcement === "off" || governance.workflow_enforcement === "warn" || governance.workflow_enforcement === "strict") {
|
|
5027
5133
|
base.workflow_enforcement = governance.workflow_enforcement;
|
|
5028
5134
|
}
|
|
5135
|
+
if (governance.require_close_reason === false) {
|
|
5136
|
+
base.require_close_reason = false;
|
|
5137
|
+
}
|
|
5029
5138
|
return base;
|
|
5030
5139
|
}
|
|
5031
5140
|
function normalizeGovernanceForPersist(governance) {
|
|
@@ -5046,32 +5155,44 @@ function normalizeGovernanceForPersist(governance) {
|
|
|
5046
5155
|
}
|
|
5047
5156
|
function resolveGovernanceExtras(rawGovernance) {
|
|
5048
5157
|
const createDefaultType = typeof rawGovernance.create_default_type === "string" ? rawGovernance.create_default_type.trim() : void 0;
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
}
|
|
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;
|
|
5053
5169
|
}
|
|
5054
5170
|
function resolveGovernanceKnobs(settings) {
|
|
5055
5171
|
const rawGovernance = settings.governance ?? {};
|
|
5056
5172
|
const preset = normalizeGovernancePreset(rawGovernance.preset);
|
|
5057
5173
|
const extras = resolveGovernanceExtras(rawGovernance);
|
|
5058
5174
|
if (preset === "custom") {
|
|
5059
|
-
const
|
|
5175
|
+
const baseline2 = resolveGovernanceKnobsFromPreset("default");
|
|
5176
|
+
const requireCloseReason2 = extras.require_close_reason ?? baseline2.require_close_reason;
|
|
5060
5177
|
return {
|
|
5061
5178
|
preset,
|
|
5062
|
-
ownership_enforcement: rawGovernance.ownership_enforcement ??
|
|
5063
|
-
create_mode_default: rawGovernance.create_mode_default ??
|
|
5064
|
-
close_validation_default: rawGovernance.close_validation_default ??
|
|
5065
|
-
parent_reference: rawGovernance.parent_reference ??
|
|
5066
|
-
metadata_profile: rawGovernance.metadata_profile ??
|
|
5067
|
-
force_required_for_stale_lock: rawGovernance.force_required_for_stale_lock ??
|
|
5068
|
-
...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
|
|
5069
5187
|
};
|
|
5070
5188
|
}
|
|
5189
|
+
const baseline = resolveGovernanceKnobsFromPreset(preset);
|
|
5190
|
+
const requireCloseReason = extras.require_close_reason ?? baseline.require_close_reason;
|
|
5071
5191
|
return {
|
|
5072
5192
|
preset,
|
|
5073
|
-
...
|
|
5074
|
-
...extras
|
|
5193
|
+
...baseline,
|
|
5194
|
+
...extras,
|
|
5195
|
+
require_close_reason: requireCloseReason
|
|
5075
5196
|
};
|
|
5076
5197
|
}
|
|
5077
5198
|
function cloneDefaults() {
|
|
@@ -5083,6 +5204,44 @@ function normalizeSearchMutationRefreshPolicy(value) {
|
|
|
5083
5204
|
}
|
|
5084
5205
|
return SETTINGS_DEFAULTS.search.mutation_refresh_policy;
|
|
5085
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
|
+
}
|
|
5086
5245
|
function buildSettingsPersistSourceSnapshot(parsedSettings, runtimeSettings) {
|
|
5087
5246
|
const sourceSchema = parsedSettings.schema;
|
|
5088
5247
|
const sourceStatuses = Array.isArray(sourceSchema?.statuses) ? sourceSchema?.statuses : void 0;
|
|
@@ -5373,7 +5532,20 @@ function mergeSettings(settings) {
|
|
|
5373
5532
|
search: {
|
|
5374
5533
|
...defaults.search,
|
|
5375
5534
|
...settings.search,
|
|
5376
|
-
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
|
+
}
|
|
5377
5549
|
},
|
|
5378
5550
|
providers: {
|
|
5379
5551
|
openai: { ...defaults.providers.openai, ...settings.providers.openai },
|
|
@@ -5381,6 +5553,7 @@ function mergeSettings(settings) {
|
|
|
5381
5553
|
},
|
|
5382
5554
|
vector_store: {
|
|
5383
5555
|
adapter: settings.vector_store.adapter ?? defaults.vector_store.adapter,
|
|
5556
|
+
collection_name: normalizeVectorStoreCollectionName(settings.vector_store.collection_name),
|
|
5384
5557
|
qdrant: { ...defaults.vector_store.qdrant, ...settings.vector_store.qdrant },
|
|
5385
5558
|
lancedb: { ...defaults.vector_store.lancedb, ...settings.vector_store.lancedb }
|
|
5386
5559
|
}
|
|
@@ -5417,7 +5590,20 @@ function serializeSettings(settings, options = {}) {
|
|
|
5417
5590
|
search: {
|
|
5418
5591
|
...SETTINGS_DEFAULTS.search,
|
|
5419
5592
|
...settings.search,
|
|
5420
|
-
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
|
+
}
|
|
5421
5607
|
},
|
|
5422
5608
|
context: {
|
|
5423
5609
|
default_depth: settings.context?.default_depth ?? SETTINGS_DEFAULTS.context.default_depth,
|
|
@@ -5432,6 +5618,13 @@ function serializeSettings(settings, options = {}) {
|
|
|
5432
5618
|
enabled: normalizeStringList2(settings.extensions?.enabled),
|
|
5433
5619
|
disabled: normalizeStringList2(settings.extensions?.disabled),
|
|
5434
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 ?? {} }
|
|
5435
5628
|
}
|
|
5436
5629
|
};
|
|
5437
5630
|
const ordered = orderObject({
|
|
@@ -5477,6 +5670,7 @@ function serializeSettings(settings, options = {}) {
|
|
|
5477
5670
|
"ownership_enforcement",
|
|
5478
5671
|
"create_mode_default",
|
|
5479
5672
|
"close_validation_default",
|
|
5673
|
+
"require_close_reason",
|
|
5480
5674
|
"parent_reference",
|
|
5481
5675
|
"metadata_profile",
|
|
5482
5676
|
"force_required_for_stale_lock",
|
|
@@ -5562,16 +5756,26 @@ function serializeSettings(settings, options = {}) {
|
|
|
5562
5756
|
"hybrid_semantic_weight",
|
|
5563
5757
|
"max_results",
|
|
5564
5758
|
"embedding_model",
|
|
5759
|
+
"embedding_corpus_max_characters",
|
|
5565
5760
|
"embedding_batch_size",
|
|
5566
5761
|
"embedding_timeout_ms",
|
|
5567
5762
|
"scanner_max_batch_retries",
|
|
5568
5763
|
"provider",
|
|
5569
|
-
"mutation_refresh_policy"
|
|
5764
|
+
"mutation_refresh_policy",
|
|
5765
|
+
"query_expansion",
|
|
5766
|
+
"rerank"
|
|
5570
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"]);
|
|
5571
5770
|
ordered.providers = orderObject(ordered.providers, ["openai", "ollama"]);
|
|
5572
5771
|
ordered.providers.openai = orderObject(ordered.providers.openai ?? {}, ["base_url", "api_key", "model"]);
|
|
5573
5772
|
ordered.providers.ollama = orderObject(ordered.providers.ollama ?? {}, ["base_url", "model"]);
|
|
5574
|
-
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
|
+
]);
|
|
5575
5779
|
ordered.vector_store.qdrant = orderObject(ordered.vector_store.qdrant ?? {}, ["url", "api_key"]);
|
|
5576
5780
|
ordered.vector_store.lancedb = orderObject(ordered.vector_store.lancedb ?? {}, ["path"]);
|
|
5577
5781
|
return `${JSON.stringify(ordered, null, 2)}
|
|
@@ -5693,6 +5897,8 @@ export {
|
|
|
5693
5897
|
trimTrailingSlashes,
|
|
5694
5898
|
isFiniteNumberArray,
|
|
5695
5899
|
toErrorMessage,
|
|
5900
|
+
coercePositiveInteger,
|
|
5901
|
+
coerceNumberInRange,
|
|
5696
5902
|
asRecordOrNull,
|
|
5697
5903
|
parseUnknownExtensionCapabilityWarning,
|
|
5698
5904
|
parseLegacyExtensionCapabilityAliasWarning,
|
|
@@ -5771,4 +5977,4 @@ export {
|
|
|
5771
5977
|
readSettings,
|
|
5772
5978
|
writeSettings
|
|
5773
5979
|
};
|
|
5774
|
-
//# sourceMappingURL=chunk-
|
|
5980
|
+
//# sourceMappingURL=chunk-UJUT6AHZ.js.map
|