@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// dist/core/fs/fs-utils.js
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bcdcd911-483c-5908-892f-1986b07ffaae")}catch(e){}}();
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -330,6 +330,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
330
330
|
ownership_enforcement: "none",
|
|
331
331
|
create_mode_default: "progressive",
|
|
332
332
|
close_validation_default: "off",
|
|
333
|
+
require_close_reason: true,
|
|
333
334
|
parent_reference: "warn",
|
|
334
335
|
metadata_profile: "core",
|
|
335
336
|
force_required_for_stale_lock: false
|
|
@@ -338,6 +339,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
338
339
|
ownership_enforcement: "warn",
|
|
339
340
|
create_mode_default: "progressive",
|
|
340
341
|
close_validation_default: "warn",
|
|
342
|
+
require_close_reason: true,
|
|
341
343
|
parent_reference: "warn",
|
|
342
344
|
metadata_profile: "core",
|
|
343
345
|
force_required_for_stale_lock: true
|
|
@@ -346,6 +348,7 @@ var GOVERNANCE_PRESET_DEFAULTS = {
|
|
|
346
348
|
ownership_enforcement: "strict",
|
|
347
349
|
create_mode_default: "strict",
|
|
348
350
|
close_validation_default: "strict",
|
|
351
|
+
require_close_reason: true,
|
|
349
352
|
parent_reference: "strict_error",
|
|
350
353
|
metadata_profile: "strict",
|
|
351
354
|
force_required_for_stale_lock: true
|
|
@@ -452,7 +455,16 @@ var SETTINGS_DEFAULTS = {
|
|
|
452
455
|
embedding_timeout_ms: 3e4,
|
|
453
456
|
scanner_max_batch_retries: 3,
|
|
454
457
|
provider: "",
|
|
455
|
-
mutation_refresh_policy: "semantic_configured"
|
|
458
|
+
mutation_refresh_policy: "semantic_configured",
|
|
459
|
+
query_expansion: {
|
|
460
|
+
enabled: false,
|
|
461
|
+
provider: ""
|
|
462
|
+
},
|
|
463
|
+
rerank: {
|
|
464
|
+
enabled: false,
|
|
465
|
+
model: "",
|
|
466
|
+
top_k: 20
|
|
467
|
+
}
|
|
456
468
|
},
|
|
457
469
|
providers: {
|
|
458
470
|
openai: {
|
|
@@ -482,6 +494,7 @@ var SETTINGS_DEFAULTS = {
|
|
|
482
494
|
},
|
|
483
495
|
vector_store: {
|
|
484
496
|
adapter: "",
|
|
497
|
+
collection_name: "pm_items",
|
|
485
498
|
qdrant: {
|
|
486
499
|
url: "",
|
|
487
500
|
api_key: ""
|
|
@@ -606,12 +619,34 @@ function getSettingsPath(pmRoot) {
|
|
|
606
619
|
return path4.join(pmRoot, SETTINGS_FILENAME);
|
|
607
620
|
}
|
|
608
621
|
function deriveDefaultTypeFolder(type) {
|
|
609
|
-
const normalized = type
|
|
622
|
+
const normalized = toSlugToken(type);
|
|
610
623
|
if (normalized.length === 0) {
|
|
611
624
|
return "items";
|
|
612
625
|
}
|
|
613
626
|
return normalized.endsWith("s") ? normalized : `${normalized}s`;
|
|
614
627
|
}
|
|
628
|
+
function toSlugToken(value) {
|
|
629
|
+
const trimmed = value.trim().toLowerCase();
|
|
630
|
+
let slug = "";
|
|
631
|
+
let pendingDash = false;
|
|
632
|
+
for (const character of trimmed) {
|
|
633
|
+
const code = character.charCodeAt(0);
|
|
634
|
+
const isAlpha = code >= 97 && code <= 122;
|
|
635
|
+
const isDigit = code >= 48 && code <= 57;
|
|
636
|
+
if (isAlpha || isDigit) {
|
|
637
|
+
if (pendingDash && slug.length > 0) {
|
|
638
|
+
slug += "-";
|
|
639
|
+
}
|
|
640
|
+
slug += character;
|
|
641
|
+
pendingDash = false;
|
|
642
|
+
continue;
|
|
643
|
+
}
|
|
644
|
+
if (slug.length > 0) {
|
|
645
|
+
pendingDash = true;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
return slug;
|
|
649
|
+
}
|
|
615
650
|
function getTypeDirPath(pmRoot, type, typeToFolder = TYPE_TO_FOLDER) {
|
|
616
651
|
const folder = typeToFolder[type] ?? deriveDefaultTypeFolder(type);
|
|
617
652
|
return path4.join(pmRoot, folder);
|
|
@@ -685,6 +720,24 @@ function toErrorMessage(error) {
|
|
|
685
720
|
}
|
|
686
721
|
return String(error);
|
|
687
722
|
}
|
|
723
|
+
function coerceFiniteNumber(value) {
|
|
724
|
+
const parsed = typeof value === "number" ? value : typeof value === "string" && value.trim().length > 0 ? Number(value.trim()) : Number.NaN;
|
|
725
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
726
|
+
}
|
|
727
|
+
function coercePositiveInteger(value) {
|
|
728
|
+
const parsed = coerceFiniteNumber(value);
|
|
729
|
+
if (parsed === null || parsed <= 0 || !Number.isInteger(parsed)) {
|
|
730
|
+
return null;
|
|
731
|
+
}
|
|
732
|
+
return parsed;
|
|
733
|
+
}
|
|
734
|
+
function coerceNumberInRange(value, min, max) {
|
|
735
|
+
const parsed = coerceFiniteNumber(value);
|
|
736
|
+
if (parsed === null || parsed < min || parsed > max) {
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
return parsed;
|
|
740
|
+
}
|
|
688
741
|
function asRecordOrNull(value) {
|
|
689
742
|
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
690
743
|
return null;
|
|
@@ -2003,7 +2056,7 @@ async function listExtensionDirectories(extensionsRoot) {
|
|
|
2003
2056
|
}
|
|
2004
2057
|
}
|
|
2005
2058
|
function summarizeCandidate(candidate) {
|
|
2006
|
-
|
|
2059
|
+
const summary = {
|
|
2007
2060
|
layer: candidate.layer,
|
|
2008
2061
|
directory: candidate.directory,
|
|
2009
2062
|
manifest_path: candidate.manifest_path,
|
|
@@ -2025,6 +2078,41 @@ function summarizeCandidate(candidate) {
|
|
|
2025
2078
|
commands: [...candidate.manifest.activation.commands ?? []]
|
|
2026
2079
|
} : void 0
|
|
2027
2080
|
};
|
|
2081
|
+
if (candidate.source_package) {
|
|
2082
|
+
summary.source_package = candidate.source_package;
|
|
2083
|
+
}
|
|
2084
|
+
return summary;
|
|
2085
|
+
}
|
|
2086
|
+
function normalizeManagedSourcePackage(value) {
|
|
2087
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
|
|
2088
|
+
}
|
|
2089
|
+
async function readManagedExtensionSourcePackages(extensionsRoot) {
|
|
2090
|
+
const packages = /* @__PURE__ */ new Map();
|
|
2091
|
+
try {
|
|
2092
|
+
const parsed = JSON.parse(await fs3.readFile(path5.join(extensionsRoot, ".managed-extensions.json"), "utf8"));
|
|
2093
|
+
if (typeof parsed !== "object" || parsed === null || !Array.isArray(parsed.entries)) {
|
|
2094
|
+
return packages;
|
|
2095
|
+
}
|
|
2096
|
+
for (const entry of parsed.entries) {
|
|
2097
|
+
if (typeof entry !== "object" || entry === null) {
|
|
2098
|
+
continue;
|
|
2099
|
+
}
|
|
2100
|
+
const record = entry;
|
|
2101
|
+
const sourcePackage = normalizeManagedSourcePackage(record.source?.package);
|
|
2102
|
+
if (!sourcePackage) {
|
|
2103
|
+
continue;
|
|
2104
|
+
}
|
|
2105
|
+
if (typeof record.directory === "string" && record.directory.trim().length > 0) {
|
|
2106
|
+
packages.set(`directory:${record.directory.trim()}`, sourcePackage);
|
|
2107
|
+
}
|
|
2108
|
+
if (typeof record.name === "string" && record.name.trim().length > 0) {
|
|
2109
|
+
packages.set(`name:${record.name.trim()}`, sourcePackage);
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
} catch {
|
|
2113
|
+
return packages;
|
|
2114
|
+
}
|
|
2115
|
+
return packages;
|
|
2028
2116
|
}
|
|
2029
2117
|
function sortCandidates(candidates) {
|
|
2030
2118
|
return [...candidates].sort((left, right) => {
|
|
@@ -2055,8 +2143,9 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled) {
|
|
|
2055
2143
|
const warnings = [];
|
|
2056
2144
|
const candidates = [];
|
|
2057
2145
|
const directories = await listExtensionDirectories(extensionsRoot);
|
|
2146
|
+
const managedSourcePackages = await readManagedExtensionSourcePackages(extensionsRoot);
|
|
2058
2147
|
for (const directory of directories) {
|
|
2059
|
-
const scanned = await scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled);
|
|
2148
|
+
const scanned = await scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled, managedSourcePackages);
|
|
2060
2149
|
diagnostics.push(scanned.diagnostic);
|
|
2061
2150
|
warnings.push(...scanned.warnings);
|
|
2062
2151
|
if (scanned.candidate) {
|
|
@@ -2065,7 +2154,7 @@ async function scanExtensionLayer(layer, extensionsRoot, enabled, disabled) {
|
|
|
2065
2154
|
}
|
|
2066
2155
|
return { diagnostics, warnings, candidates };
|
|
2067
2156
|
}
|
|
2068
|
-
async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled) {
|
|
2157
|
+
async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled, disabled, managedSourcePackages) {
|
|
2069
2158
|
const extensionDir = path5.join(extensionsRoot, directory);
|
|
2070
2159
|
const manifestPath = path5.join(extensionDir, "manifest.json");
|
|
2071
2160
|
if (!await pathExists(manifestPath)) {
|
|
@@ -2137,6 +2226,7 @@ async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled,
|
|
|
2137
2226
|
extensionWarnings.push(pmMaxVersionCompatibility.warning);
|
|
2138
2227
|
}
|
|
2139
2228
|
const extensionReady = entryWithinDirectory && entryExists && pmVersionCompatibility.allowed && pmMaxVersionCompatibility.allowed;
|
|
2229
|
+
const sourcePackage = managedSourcePackages.get(`directory:${directory}`) ?? managedSourcePackages.get(`name:${manifest.name}`);
|
|
2140
2230
|
return {
|
|
2141
2231
|
diagnostic: {
|
|
2142
2232
|
layer,
|
|
@@ -2156,7 +2246,8 @@ async function scanExtensionDirectory(layer, extensionsRoot, directory, enabled,
|
|
|
2156
2246
|
directory,
|
|
2157
2247
|
manifest_path: manifestPath,
|
|
2158
2248
|
entry_path: entryPath,
|
|
2159
|
-
manifest
|
|
2249
|
+
manifest,
|
|
2250
|
+
source_package: sourcePackage
|
|
2160
2251
|
} : null
|
|
2161
2252
|
};
|
|
2162
2253
|
}
|
|
@@ -2868,6 +2959,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
2868
2959
|
const registration = {
|
|
2869
2960
|
layer: extension.layer,
|
|
2870
2961
|
name: extension.name,
|
|
2962
|
+
source_package: extension.source_package,
|
|
2871
2963
|
command: normalizedCommand,
|
|
2872
2964
|
action,
|
|
2873
2965
|
examples,
|
|
@@ -3047,6 +3139,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
3047
3139
|
const registration = {
|
|
3048
3140
|
layer: extension.layer,
|
|
3049
3141
|
name: extension.name,
|
|
3142
|
+
source_package: extension.source_package,
|
|
3050
3143
|
command: commandPath,
|
|
3051
3144
|
action,
|
|
3052
3145
|
examples,
|
|
@@ -4641,6 +4734,7 @@ var governanceSettings = vOptional(vObject({
|
|
|
4641
4734
|
ownership_enforcement: vOptional(vLiteral("none", "warn", "strict")),
|
|
4642
4735
|
create_mode_default: vOptional(vLiteral("progressive", "strict")),
|
|
4643
4736
|
close_validation_default: vOptional(vLiteral("off", "warn", "strict")),
|
|
4737
|
+
require_close_reason: vOptional(vBoolean),
|
|
4644
4738
|
parent_reference: vOptional(vLiteral("warn", "strict_error")),
|
|
4645
4739
|
metadata_profile: vOptional(vLiteral("core", "strict", "custom")),
|
|
4646
4740
|
force_required_for_stale_lock: vOptional(vBoolean),
|
|
@@ -4747,11 +4841,21 @@ var settingsCheck = vObject({
|
|
|
4747
4841
|
hybrid_semantic_weight: vOptional(vNumber()),
|
|
4748
4842
|
max_results: vNumber({ int: true }),
|
|
4749
4843
|
embedding_model: vString,
|
|
4844
|
+
embedding_corpus_max_characters: vOptional(vNumber()),
|
|
4750
4845
|
embedding_batch_size: vNumber({ int: true }),
|
|
4751
4846
|
embedding_timeout_ms: vOptional(vNumber({ int: true })),
|
|
4752
4847
|
scanner_max_batch_retries: vNumber({ int: true }),
|
|
4753
4848
|
provider: vOptional(vString),
|
|
4754
|
-
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto"))
|
|
4849
|
+
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto")),
|
|
4850
|
+
query_expansion: vOptional(vObject({
|
|
4851
|
+
enabled: vOptional(vBoolean),
|
|
4852
|
+
provider: vOptional(vString)
|
|
4853
|
+
})),
|
|
4854
|
+
rerank: vOptional(vObject({
|
|
4855
|
+
enabled: vOptional(vBoolean),
|
|
4856
|
+
model: vOptional(vString),
|
|
4857
|
+
top_k: vOptional(vNumber({ int: true, positive: true }))
|
|
4858
|
+
}))
|
|
4755
4859
|
}),
|
|
4756
4860
|
providers: vObject({
|
|
4757
4861
|
openai: vObject({ base_url: vString, api_key: vString, model: vString }),
|
|
@@ -4759,6 +4863,7 @@ var settingsCheck = vObject({
|
|
|
4759
4863
|
}),
|
|
4760
4864
|
vector_store: vObject({
|
|
4761
4865
|
adapter: vOptional(vString),
|
|
4866
|
+
collection_name: vOptional(vString),
|
|
4762
4867
|
qdrant: vObject({ url: vString, api_key: vString }),
|
|
4763
4868
|
lancedb: vObject({ path: vString })
|
|
4764
4869
|
})
|
|
@@ -4855,6 +4960,7 @@ function normalizeItemTypeDefinition(definition, options = {}) {
|
|
|
4855
4960
|
// dist/core/store/settings.js
|
|
4856
4961
|
var SETTINGS_WRITE_OP = "settings:write";
|
|
4857
4962
|
var SETTINGS_PERSIST_SOURCE_SYMBOL = /* @__PURE__ */ Symbol("pm.settings.persist_source");
|
|
4963
|
+
var MAX_VECTOR_STORE_COLLECTION_NAME_LENGTH = 128;
|
|
4858
4964
|
function resolveGovernanceKnobsFromPreset(preset) {
|
|
4859
4965
|
return structuredClone(GOVERNANCE_PRESET_DEFAULTS[preset]);
|
|
4860
4966
|
}
|
|
@@ -4872,6 +4978,9 @@ function withGovernanceExtras(base, governance) {
|
|
|
4872
4978
|
if (governance.workflow_enforcement === "off" || governance.workflow_enforcement === "warn" || governance.workflow_enforcement === "strict") {
|
|
4873
4979
|
base.workflow_enforcement = governance.workflow_enforcement;
|
|
4874
4980
|
}
|
|
4981
|
+
if (governance.require_close_reason === false) {
|
|
4982
|
+
base.require_close_reason = false;
|
|
4983
|
+
}
|
|
4875
4984
|
return base;
|
|
4876
4985
|
}
|
|
4877
4986
|
function normalizeGovernanceForPersist(governance) {
|
|
@@ -4892,32 +5001,44 @@ function normalizeGovernanceForPersist(governance) {
|
|
|
4892
5001
|
}
|
|
4893
5002
|
function resolveGovernanceExtras(rawGovernance) {
|
|
4894
5003
|
const createDefaultType = typeof rawGovernance.create_default_type === "string" ? rawGovernance.create_default_type.trim() : void 0;
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
}
|
|
5004
|
+
const extras = {};
|
|
5005
|
+
if (createDefaultType && createDefaultType.length > 0) {
|
|
5006
|
+
extras.create_default_type = createDefaultType;
|
|
5007
|
+
}
|
|
5008
|
+
if (rawGovernance.workflow_enforcement === "off" || rawGovernance.workflow_enforcement === "warn" || rawGovernance.workflow_enforcement === "strict") {
|
|
5009
|
+
extras.workflow_enforcement = rawGovernance.workflow_enforcement;
|
|
5010
|
+
}
|
|
5011
|
+
if (typeof rawGovernance.require_close_reason === "boolean") {
|
|
5012
|
+
extras.require_close_reason = rawGovernance.require_close_reason;
|
|
5013
|
+
}
|
|
5014
|
+
return extras;
|
|
4899
5015
|
}
|
|
4900
5016
|
function resolveGovernanceKnobs(settings) {
|
|
4901
5017
|
const rawGovernance = settings.governance ?? {};
|
|
4902
5018
|
const preset = normalizeGovernancePreset(rawGovernance.preset);
|
|
4903
5019
|
const extras = resolveGovernanceExtras(rawGovernance);
|
|
4904
5020
|
if (preset === "custom") {
|
|
4905
|
-
const
|
|
5021
|
+
const baseline2 = resolveGovernanceKnobsFromPreset("default");
|
|
5022
|
+
const requireCloseReason2 = extras.require_close_reason ?? baseline2.require_close_reason;
|
|
4906
5023
|
return {
|
|
4907
5024
|
preset,
|
|
4908
|
-
ownership_enforcement: rawGovernance.ownership_enforcement ??
|
|
4909
|
-
create_mode_default: rawGovernance.create_mode_default ??
|
|
4910
|
-
close_validation_default: rawGovernance.close_validation_default ??
|
|
4911
|
-
parent_reference: rawGovernance.parent_reference ??
|
|
4912
|
-
metadata_profile: rawGovernance.metadata_profile ??
|
|
4913
|
-
force_required_for_stale_lock: rawGovernance.force_required_for_stale_lock ??
|
|
4914
|
-
...extras
|
|
5025
|
+
ownership_enforcement: rawGovernance.ownership_enforcement ?? baseline2.ownership_enforcement,
|
|
5026
|
+
create_mode_default: rawGovernance.create_mode_default ?? baseline2.create_mode_default,
|
|
5027
|
+
close_validation_default: rawGovernance.close_validation_default ?? baseline2.close_validation_default,
|
|
5028
|
+
parent_reference: rawGovernance.parent_reference ?? baseline2.parent_reference,
|
|
5029
|
+
metadata_profile: rawGovernance.metadata_profile ?? baseline2.metadata_profile,
|
|
5030
|
+
force_required_for_stale_lock: rawGovernance.force_required_for_stale_lock ?? baseline2.force_required_for_stale_lock,
|
|
5031
|
+
...extras,
|
|
5032
|
+
require_close_reason: requireCloseReason2
|
|
4915
5033
|
};
|
|
4916
5034
|
}
|
|
5035
|
+
const baseline = resolveGovernanceKnobsFromPreset(preset);
|
|
5036
|
+
const requireCloseReason = extras.require_close_reason ?? baseline.require_close_reason;
|
|
4917
5037
|
return {
|
|
4918
5038
|
preset,
|
|
4919
|
-
...
|
|
4920
|
-
...extras
|
|
5039
|
+
...baseline,
|
|
5040
|
+
...extras,
|
|
5041
|
+
require_close_reason: requireCloseReason
|
|
4921
5042
|
};
|
|
4922
5043
|
}
|
|
4923
5044
|
function cloneDefaults() {
|
|
@@ -4929,6 +5050,44 @@ function normalizeSearchMutationRefreshPolicy(value) {
|
|
|
4929
5050
|
}
|
|
4930
5051
|
return SETTINGS_DEFAULTS.search.mutation_refresh_policy;
|
|
4931
5052
|
}
|
|
5053
|
+
function normalizeSearchQueryExpansionEnabled(value) {
|
|
5054
|
+
if (typeof value === "boolean") {
|
|
5055
|
+
return value;
|
|
5056
|
+
}
|
|
5057
|
+
return SETTINGS_DEFAULTS.search.query_expansion.enabled;
|
|
5058
|
+
}
|
|
5059
|
+
function normalizeSearchQueryExpansionProvider(value) {
|
|
5060
|
+
if (typeof value !== "string") {
|
|
5061
|
+
return SETTINGS_DEFAULTS.search.query_expansion.provider;
|
|
5062
|
+
}
|
|
5063
|
+
return value.trim();
|
|
5064
|
+
}
|
|
5065
|
+
function normalizeSearchRerankEnabled(value) {
|
|
5066
|
+
if (typeof value === "boolean") {
|
|
5067
|
+
return value;
|
|
5068
|
+
}
|
|
5069
|
+
return SETTINGS_DEFAULTS.search.rerank.enabled;
|
|
5070
|
+
}
|
|
5071
|
+
function normalizeSearchRerankModel(value) {
|
|
5072
|
+
if (typeof value !== "string") {
|
|
5073
|
+
return SETTINGS_DEFAULTS.search.rerank.model;
|
|
5074
|
+
}
|
|
5075
|
+
return value.trim();
|
|
5076
|
+
}
|
|
5077
|
+
function normalizeSearchRerankTopK(value) {
|
|
5078
|
+
if (typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value > 0) {
|
|
5079
|
+
return value;
|
|
5080
|
+
}
|
|
5081
|
+
return SETTINGS_DEFAULTS.search.rerank.top_k;
|
|
5082
|
+
}
|
|
5083
|
+
function normalizeVectorStoreCollectionName(value) {
|
|
5084
|
+
if (typeof value !== "string") {
|
|
5085
|
+
return SETTINGS_DEFAULTS.vector_store.collection_name;
|
|
5086
|
+
}
|
|
5087
|
+
const sanitized = value.trim().replaceAll(/[^a-zA-Z0-9_-]/g, "_");
|
|
5088
|
+
const truncated = sanitized.slice(0, MAX_VECTOR_STORE_COLLECTION_NAME_LENGTH);
|
|
5089
|
+
return truncated.length > 0 ? truncated : SETTINGS_DEFAULTS.vector_store.collection_name;
|
|
5090
|
+
}
|
|
4932
5091
|
function buildSettingsPersistSourceSnapshot(parsedSettings, runtimeSettings) {
|
|
4933
5092
|
const sourceSchema = parsedSettings.schema;
|
|
4934
5093
|
const sourceStatuses = Array.isArray(sourceSchema?.statuses) ? sourceSchema?.statuses : void 0;
|
|
@@ -5219,7 +5378,20 @@ function mergeSettings(settings) {
|
|
|
5219
5378
|
search: {
|
|
5220
5379
|
...defaults.search,
|
|
5221
5380
|
...settings.search,
|
|
5222
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy)
|
|
5381
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy),
|
|
5382
|
+
query_expansion: {
|
|
5383
|
+
...defaults.search.query_expansion,
|
|
5384
|
+
...settings.search?.query_expansion ?? {},
|
|
5385
|
+
enabled: normalizeSearchQueryExpansionEnabled(settings.search?.query_expansion?.enabled),
|
|
5386
|
+
provider: normalizeSearchQueryExpansionProvider(settings.search?.query_expansion?.provider)
|
|
5387
|
+
},
|
|
5388
|
+
rerank: {
|
|
5389
|
+
...defaults.search.rerank,
|
|
5390
|
+
...settings.search?.rerank ?? {},
|
|
5391
|
+
enabled: normalizeSearchRerankEnabled(settings.search?.rerank?.enabled),
|
|
5392
|
+
model: normalizeSearchRerankModel(settings.search?.rerank?.model),
|
|
5393
|
+
top_k: normalizeSearchRerankTopK(settings.search?.rerank?.top_k)
|
|
5394
|
+
}
|
|
5223
5395
|
},
|
|
5224
5396
|
providers: {
|
|
5225
5397
|
openai: { ...defaults.providers.openai, ...settings.providers.openai },
|
|
@@ -5227,6 +5399,7 @@ function mergeSettings(settings) {
|
|
|
5227
5399
|
},
|
|
5228
5400
|
vector_store: {
|
|
5229
5401
|
adapter: settings.vector_store.adapter ?? defaults.vector_store.adapter,
|
|
5402
|
+
collection_name: normalizeVectorStoreCollectionName(settings.vector_store.collection_name),
|
|
5230
5403
|
qdrant: { ...defaults.vector_store.qdrant, ...settings.vector_store.qdrant },
|
|
5231
5404
|
lancedb: { ...defaults.vector_store.lancedb, ...settings.vector_store.lancedb }
|
|
5232
5405
|
}
|
|
@@ -5263,7 +5436,20 @@ function serializeSettings(settings, options = {}) {
|
|
|
5263
5436
|
search: {
|
|
5264
5437
|
...SETTINGS_DEFAULTS.search,
|
|
5265
5438
|
...settings.search,
|
|
5266
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy)
|
|
5439
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(settings.search?.mutation_refresh_policy),
|
|
5440
|
+
query_expansion: {
|
|
5441
|
+
...SETTINGS_DEFAULTS.search.query_expansion,
|
|
5442
|
+
...settings.search?.query_expansion ?? {},
|
|
5443
|
+
enabled: normalizeSearchQueryExpansionEnabled(settings.search?.query_expansion?.enabled),
|
|
5444
|
+
provider: normalizeSearchQueryExpansionProvider(settings.search?.query_expansion?.provider)
|
|
5445
|
+
},
|
|
5446
|
+
rerank: {
|
|
5447
|
+
...SETTINGS_DEFAULTS.search.rerank,
|
|
5448
|
+
...settings.search?.rerank ?? {},
|
|
5449
|
+
enabled: normalizeSearchRerankEnabled(settings.search?.rerank?.enabled),
|
|
5450
|
+
model: normalizeSearchRerankModel(settings.search?.rerank?.model),
|
|
5451
|
+
top_k: normalizeSearchRerankTopK(settings.search?.rerank?.top_k)
|
|
5452
|
+
}
|
|
5267
5453
|
},
|
|
5268
5454
|
context: {
|
|
5269
5455
|
default_depth: settings.context?.default_depth ?? SETTINGS_DEFAULTS.context.default_depth,
|
|
@@ -5278,6 +5464,13 @@ function serializeSettings(settings, options = {}) {
|
|
|
5278
5464
|
enabled: normalizeStringList2(settings.extensions?.enabled),
|
|
5279
5465
|
disabled: normalizeStringList2(settings.extensions?.disabled),
|
|
5280
5466
|
policy: normalizeExtensionPolicySettings(settings.extensions?.policy)
|
|
5467
|
+
},
|
|
5468
|
+
vector_store: {
|
|
5469
|
+
...settings.vector_store ?? {},
|
|
5470
|
+
adapter: settings.vector_store?.adapter ?? SETTINGS_DEFAULTS.vector_store.adapter,
|
|
5471
|
+
collection_name: normalizeVectorStoreCollectionName(settings.vector_store?.collection_name),
|
|
5472
|
+
qdrant: { ...settings.vector_store?.qdrant ?? {} },
|
|
5473
|
+
lancedb: { ...settings.vector_store?.lancedb ?? {} }
|
|
5281
5474
|
}
|
|
5282
5475
|
};
|
|
5283
5476
|
const ordered = orderObject({
|
|
@@ -5323,6 +5516,7 @@ function serializeSettings(settings, options = {}) {
|
|
|
5323
5516
|
"ownership_enforcement",
|
|
5324
5517
|
"create_mode_default",
|
|
5325
5518
|
"close_validation_default",
|
|
5519
|
+
"require_close_reason",
|
|
5326
5520
|
"parent_reference",
|
|
5327
5521
|
"metadata_profile",
|
|
5328
5522
|
"force_required_for_stale_lock",
|
|
@@ -5408,16 +5602,26 @@ function serializeSettings(settings, options = {}) {
|
|
|
5408
5602
|
"hybrid_semantic_weight",
|
|
5409
5603
|
"max_results",
|
|
5410
5604
|
"embedding_model",
|
|
5605
|
+
"embedding_corpus_max_characters",
|
|
5411
5606
|
"embedding_batch_size",
|
|
5412
5607
|
"embedding_timeout_ms",
|
|
5413
5608
|
"scanner_max_batch_retries",
|
|
5414
5609
|
"provider",
|
|
5415
|
-
"mutation_refresh_policy"
|
|
5610
|
+
"mutation_refresh_policy",
|
|
5611
|
+
"query_expansion",
|
|
5612
|
+
"rerank"
|
|
5416
5613
|
]);
|
|
5614
|
+
ordered.search.query_expansion = orderObject(ordered.search.query_expansion ?? {}, ["enabled", "provider"]);
|
|
5615
|
+
ordered.search.rerank = orderObject(ordered.search.rerank ?? {}, ["enabled", "model", "top_k"]);
|
|
5417
5616
|
ordered.providers = orderObject(ordered.providers, ["openai", "ollama"]);
|
|
5418
5617
|
ordered.providers.openai = orderObject(ordered.providers.openai ?? {}, ["base_url", "api_key", "model"]);
|
|
5419
5618
|
ordered.providers.ollama = orderObject(ordered.providers.ollama ?? {}, ["base_url", "model"]);
|
|
5420
|
-
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
5619
|
+
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
5620
|
+
"adapter",
|
|
5621
|
+
"collection_name",
|
|
5622
|
+
"qdrant",
|
|
5623
|
+
"lancedb"
|
|
5624
|
+
]);
|
|
5421
5625
|
ordered.vector_store.qdrant = orderObject(ordered.vector_store.qdrant ?? {}, ["url", "api_key"]);
|
|
5422
5626
|
ordered.vector_store.lancedb = orderObject(ordered.vector_store.lancedb ?? {}, ["path"]);
|
|
5423
5627
|
return `${JSON.stringify(ordered, null, 2)}
|
|
@@ -5539,6 +5743,8 @@ export {
|
|
|
5539
5743
|
trimTrailingSlashes,
|
|
5540
5744
|
isFiniteNumberArray,
|
|
5541
5745
|
toErrorMessage,
|
|
5746
|
+
coercePositiveInteger,
|
|
5747
|
+
coerceNumberInRange,
|
|
5542
5748
|
asRecordOrNull,
|
|
5543
5749
|
parseUnknownExtensionCapabilityWarning,
|
|
5544
5750
|
parseLegacyExtensionCapabilityAliasWarning,
|
|
@@ -5617,6 +5823,6 @@ export {
|
|
|
5617
5823
|
readSettings,
|
|
5618
5824
|
writeSettings
|
|
5619
5825
|
};
|
|
5620
|
-
//# sourceMappingURL=chunk-
|
|
5826
|
+
//# sourceMappingURL=chunk-X4IZKYHP.js.map
|
|
5621
5827
|
|
|
5622
|
-
//# debugId=
|
|
5828
|
+
//# debugId=bcdcd911-483c-5908-892f-1986b07ffaae
|