@unbrained/pm-cli 2026.5.31 → 2026.6.6
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 +167 -0
- package/CONTRIBUTING.md +1 -0
- package/README.md +12 -4
- package/dist/cli/argv-utils.js +7 -3
- package/dist/cli/argv-utils.js.map +1 -1
- package/dist/cli/bootstrap-args.d.ts +1 -0
- package/dist/cli/bootstrap-args.js +23 -3
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commands/calendar.js +17 -3
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/close-many.d.ts +63 -0
- package/dist/cli/commands/close-many.js +302 -0
- package/dist/cli/commands/close-many.js.map +1 -0
- package/dist/cli/commands/completion.d.ts +1 -0
- package/dist/cli/commands/completion.js +260 -32
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.d.ts +4 -4
- package/dist/cli/commands/config.js +115 -3
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/contracts.js +193 -162
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.d.ts +1 -0
- package/dist/cli/commands/create.js +77 -114
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension/doctor.d.ts +12 -0
- package/dist/cli/commands/extension/doctor.js +97 -2
- package/dist/cli/commands/extension/doctor.js.map +1 -1
- package/dist/cli/commands/extension/scaffold.js +49 -48
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension.js +51 -23
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/gc.d.ts +8 -1
- package/dist/cli/commands/gc.js +26 -3
- package/dist/cli/commands/gc.js.map +1 -1
- package/dist/cli/commands/get.js +7 -7
- package/dist/cli/commands/get.js.map +1 -1
- package/dist/cli/commands/health.js +51 -3
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history.d.ts +4 -1
- package/dist/cli/commands/history.js +12 -24
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +3 -1
- package/dist/cli/commands/index.js +5 -3
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts +10 -0
- package/dist/cli/commands/init.js +107 -4
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/list.d.ts +5 -0
- package/dist/cli/commands/list.js +58 -26
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/reindex.js +163 -47
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/repeatable-metadata-parsers.d.ts +15 -0
- package/dist/cli/commands/repeatable-metadata-parsers.js +120 -0
- package/dist/cli/commands/repeatable-metadata-parsers.js.map +1 -0
- package/dist/cli/commands/restore.js +25 -4
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +122 -1
- package/dist/cli/commands/schema.js +536 -6
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/search.d.ts +1 -0
- package/dist/cli/commands/search.js +18 -4
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/stats.d.ts +8 -1
- package/dist/cli/commands/stats.js +18 -17
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/telemetry.d.ts +8 -0
- package/dist/cli/commands/telemetry.js +253 -0
- package/dist/cli/commands/telemetry.js.map +1 -0
- package/dist/cli/commands/test.js +4 -3
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/update-many.js +69 -140
- package/dist/cli/commands/update-many.js.map +1 -1
- package/dist/cli/commands/update.d.ts +2 -0
- package/dist/cli/commands/update.js +138 -119
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +1 -0
- package/dist/cli/commands/validate.js +63 -33
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.js +26 -3
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/help-content.js +91 -3
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/main.js +377 -23
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +14 -5
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +200 -28
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +31 -6
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +4 -2
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.js +31 -4
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-CVXTCHYY.js +16 -0
- package/dist/cli-bundle/chunks/activity-JM6DTDND.js +20 -0
- package/dist/cli-bundle/chunks/activity-JM6DTDND.js.map +1 -0
- package/dist/cli-bundle/chunks/aggregate-GI7WSZPH.js +206 -0
- package/dist/cli-bundle/chunks/aggregate-GI7WSZPH.js.map +1 -0
- package/dist/cli-bundle/chunks/{aggregate-ADUOSFRO.js → aggregate-VNAHUNNF.js} +11 -11
- package/dist/cli-bundle/chunks/{append-JD2DETU7.js → append-7H5N64R2.js} +8 -9
- package/dist/cli-bundle/chunks/{append-JD2DETU7.js.map → append-7H5N64R2.js.map} +1 -1
- package/dist/cli-bundle/chunks/append-WMKRXKCE.js +69 -0
- package/dist/cli-bundle/chunks/append-WMKRXKCE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3M73P3G6.js → chunk-23YFZ3IG.js} +210 -132
- package/dist/cli-bundle/chunks/chunk-23YFZ3IG.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-2HVRUSQA.js +128 -0
- package/dist/cli-bundle/chunks/chunk-2HVRUSQA.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-2RSPZI5H.js +266 -0
- package/dist/cli-bundle/chunks/chunk-2RSPZI5H.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-2VBQ6ZXS.js +631 -0
- package/dist/cli-bundle/chunks/chunk-2VBQ6ZXS.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-2VVCGBNV.js +380 -0
- package/dist/cli-bundle/chunks/chunk-2VVCGBNV.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-3BWOVLTH.js +1664 -0
- package/dist/cli-bundle/chunks/chunk-3BWOVLTH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-6HT2F4TK.js → chunk-3FI4SEFT.js} +175 -54
- package/dist/cli-bundle/chunks/chunk-3FI4SEFT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-JULRTHJQ.js → chunk-3LB74A67.js} +119 -6
- package/dist/cli-bundle/chunks/chunk-3LB74A67.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-3VAM3NNM.js +57 -0
- package/dist/cli-bundle/chunks/chunk-3VAM3NNM.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4LL6TK5B.js +1832 -0
- package/dist/cli-bundle/chunks/chunk-4LL6TK5B.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-52MAOQ6J.js +422 -0
- package/dist/cli-bundle/chunks/chunk-52MAOQ6J.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-5FDATVEZ.js +412 -0
- package/dist/cli-bundle/chunks/chunk-5FDATVEZ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-5SFCOO6B.js +5622 -0
- package/dist/cli-bundle/chunks/chunk-5SFCOO6B.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-U7FMKRXH.js → chunk-6ER6DXH5.js} +37 -16
- package/dist/cli-bundle/chunks/chunk-6ER6DXH5.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-6P6GGMOG.js +218 -0
- package/dist/cli-bundle/chunks/chunk-6P6GGMOG.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-77GFDHGF.js +80 -0
- package/dist/cli-bundle/chunks/chunk-77GFDHGF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-MD7K4JYF.js → chunk-AO442XLN.js} +26 -15
- package/dist/cli-bundle/chunks/chunk-AO442XLN.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-AY43SBIN.js +751 -0
- package/dist/cli-bundle/chunks/chunk-AY43SBIN.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-D7AOMPRH.js → chunk-BQHUILZS.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-E5FJNAZA.js +242 -0
- package/dist/cli-bundle/chunks/chunk-E5FJNAZA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OGZEG5TT.js → chunk-ECCMVXGM.js} +164 -53
- package/dist/cli-bundle/chunks/chunk-ECCMVXGM.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-FRAUKRU2.js +182 -0
- package/dist/cli-bundle/chunks/chunk-FRAUKRU2.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-GCOQW437.js +130 -0
- package/dist/cli-bundle/chunks/chunk-GCOQW437.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-GGYWB3Y2.js +1340 -0
- package/dist/cli-bundle/chunks/chunk-GGYWB3Y2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-G57E5D7T.js → chunk-GU2ZJ2VV.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-GXSUPCBV.js +231 -0
- package/dist/cli-bundle/chunks/chunk-GXSUPCBV.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-HZGUAH22.js +76 -0
- package/dist/cli-bundle/chunks/chunk-HZGUAH22.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-I2HSTRJF.js +346 -0
- package/dist/cli-bundle/chunks/chunk-I2HSTRJF.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-I6BNFU5X.js +140 -0
- package/dist/cli-bundle/chunks/chunk-I6BNFU5X.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-JTWRXG4B.js → chunk-IJGCZSIQ.js} +251 -251
- package/dist/cli-bundle/chunks/chunk-IJGCZSIQ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-IOR7LGF4.js +1491 -0
- package/dist/cli-bundle/chunks/chunk-IOR7LGF4.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-IUV734HF.js +17 -0
- package/dist/cli-bundle/chunks/chunk-IUV734HF.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-J27KIHTG.js +15 -0
- package/dist/cli-bundle/chunks/chunk-J27KIHTG.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-AKOOMO3T.js → chunk-KAG77BY3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KBQY3YG5.js → chunk-KJ33AOCY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WDPXDQFG.js → chunk-KJE2FOS4.js} +6 -4
- package/dist/cli-bundle/chunks/chunk-KJE2FOS4.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-KWU6HG75.js +3883 -0
- package/dist/cli-bundle/chunks/chunk-KWU6HG75.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-LB3RUL2N.js +1325 -0
- package/dist/cli-bundle/chunks/chunk-LB3RUL2N.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5HSEP75M.js → chunk-LCM63IXU.js} +18 -6
- package/dist/cli-bundle/chunks/chunk-LCM63IXU.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-LXYVKYMQ.js +24 -0
- package/dist/cli-bundle/chunks/chunk-LXYVKYMQ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-ME2YH6FN.js +182 -0
- package/dist/cli-bundle/chunks/chunk-ME2YH6FN.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-MITFDD35.js +1809 -0
- package/dist/cli-bundle/chunks/chunk-MITFDD35.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-WJ2NAC37.js → chunk-N7ACFE26.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-NUZ5HKR4.js +332 -0
- package/dist/cli-bundle/chunks/chunk-NUZ5HKR4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7Y53ZJIQ.js → chunk-OVQCEJPG.js} +22 -3
- package/dist/cli-bundle/chunks/chunk-OVQCEJPG.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PXUAZUUY.js → chunk-OZ7NSQHL.js} +12 -11
- package/dist/cli-bundle/chunks/chunk-OZ7NSQHL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-P53TN6IA.js → chunk-PDDFYW4X.js} +35 -8
- package/dist/cli-bundle/chunks/chunk-PDDFYW4X.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6YCV7WSL.js → chunk-PIU6RSL3.js} +10 -12
- package/dist/cli-bundle/chunks/{chunk-6YCV7WSL.js.map → chunk-PIU6RSL3.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-PO3GSVFV.js +338 -0
- package/dist/cli-bundle/chunks/chunk-PO3GSVFV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LRBOHPUE.js → chunk-PRJCELV4.js} +108 -21
- package/dist/cli-bundle/chunks/chunk-PRJCELV4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GN7IJPCD.js → chunk-PROOHX4K.js} +332 -32
- package/dist/cli-bundle/chunks/chunk-PROOHX4K.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FQE6XZDB.js → chunk-Q7SPNHLW.js} +54 -32
- package/dist/cli-bundle/chunks/chunk-Q7SPNHLW.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PVNQLCIS.js → chunk-QO7EBBOM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-A7E7PUVX.js → chunk-R6UFP2GE.js} +7 -7
- package/dist/cli-bundle/chunks/chunk-RWPSOIEE.js +154 -0
- package/dist/cli-bundle/chunks/chunk-RWPSOIEE.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-RZN6VURO.js +119 -0
- package/dist/cli-bundle/chunks/chunk-RZN6VURO.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-SKJWX3QB.js +1501 -0
- package/dist/cli-bundle/chunks/chunk-SKJWX3QB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-CEFIVZPG.js → chunk-T3LC5LKB.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-TCD3R2PF.js +173 -0
- package/dist/cli-bundle/chunks/chunk-TCD3R2PF.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-TPH5XEVD.js +2988 -0
- package/dist/cli-bundle/chunks/chunk-TPH5XEVD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LSXGH6NE.js → chunk-U5SXYXSY.js} +821 -200
- package/dist/cli-bundle/chunks/chunk-U5SXYXSY.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-UBOPJT3S.js +540 -0
- package/dist/cli-bundle/chunks/chunk-UBOPJT3S.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JFWUHHS2.js → chunk-UM2GBHS4.js} +5 -4
- package/dist/cli-bundle/chunks/chunk-W7XABV4H.js +454 -0
- package/dist/cli-bundle/chunks/chunk-W7XABV4H.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SEXQN4KL.js → chunk-WKY2IBOQ.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-WOPXVEZP.js +698 -0
- package/dist/cli-bundle/chunks/chunk-WOPXVEZP.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-WSMOSYRD.js +1704 -0
- package/dist/cli-bundle/chunks/chunk-WSMOSYRD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-NGN7UV5K.js → chunk-XLTD2HN3.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-XSJCLN2R.js +131 -0
- package/dist/cli-bundle/chunks/chunk-XSJCLN2R.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js +53 -0
- package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-BUPWJ3IJ.js → chunk-XTGLRY2Y.js} +484 -49
- package/dist/cli-bundle/chunks/chunk-XTGLRY2Y.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-L2FXEKDB.js → chunk-YL2DJGYS.js} +7 -7
- package/dist/cli-bundle/chunks/{claim-EE4TKKCV.js → claim-4DBF6RVG.js} +10 -11
- package/dist/cli-bundle/chunks/{claim-EE4TKKCV.js.map → claim-4DBF6RVG.js.map} +1 -1
- package/dist/cli-bundle/chunks/claim-X2P4IB7J.js +129 -0
- package/dist/cli-bundle/chunks/claim-X2P4IB7J.js.map +1 -0
- package/dist/cli-bundle/chunks/close-3HDWDA3L.js +13 -0
- package/dist/cli-bundle/chunks/close-PTYFA45H.js +17 -0
- package/dist/cli-bundle/chunks/close-PTYFA45H.js.map +1 -0
- package/dist/cli-bundle/chunks/close-many-7CGIDPTJ.js +314 -0
- package/dist/cli-bundle/chunks/close-many-7CGIDPTJ.js.map +7 -0
- package/dist/cli-bundle/chunks/close-many-ERFO6LHR.js +311 -0
- package/dist/cli-bundle/chunks/close-many-ERFO6LHR.js.map +1 -0
- package/dist/cli-bundle/chunks/comments-OONGABK5.js +100 -0
- package/dist/cli-bundle/chunks/comments-OONGABK5.js.map +1 -0
- package/dist/cli-bundle/chunks/{comments-AAKJQ6LW.js → comments-QKBYCWKD.js} +10 -11
- package/dist/cli-bundle/chunks/{comments-AAKJQ6LW.js.map → comments-QKBYCWKD.js.map} +1 -1
- package/dist/cli-bundle/chunks/config-6FXCQKIF.js +1671 -0
- package/dist/cli-bundle/chunks/config-6FXCQKIF.js.map +1 -0
- package/dist/cli-bundle/chunks/{config-V3FZOKLI.js → config-U4RZ4CQB.js} +121 -10
- package/dist/cli-bundle/chunks/config-U4RZ4CQB.js.map +7 -0
- package/dist/cli-bundle/chunks/{context-RZ5QPNJB.js → context-FYYJGFWS.js} +32 -19
- package/dist/cli-bundle/chunks/{context-RZ5QPNJB.js.map → context-FYYJGFWS.js.map} +2 -2
- package/dist/cli-bundle/chunks/context-YMJ3Z2HQ.js +1461 -0
- package/dist/cli-bundle/chunks/context-YMJ3Z2HQ.js.map +1 -0
- package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js +1278 -0
- package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-YLMH33VU.js → contracts-RFSPGVVJ.js} +198 -162
- package/dist/cli-bundle/chunks/contracts-RFSPGVVJ.js.map +7 -0
- package/dist/cli-bundle/chunks/create-I5L4EYYZ.js +31 -0
- package/dist/cli-bundle/chunks/create-I5L4EYYZ.js.map +1 -0
- package/dist/cli-bundle/chunks/create-JTZNCTQC.js +27 -0
- package/dist/cli-bundle/chunks/delete-7HPGI4GZ.js +55 -0
- package/dist/cli-bundle/chunks/delete-7HPGI4GZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{delete-RHCTEORS.js → delete-VXUPH5RS.js} +7 -8
- package/dist/cli-bundle/chunks/{delete-RHCTEORS.js.map → delete-VXUPH5RS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{deps-MZYCMLAO.js → deps-JSRRWC3Z.js} +7 -8
- package/dist/cli-bundle/chunks/{deps-MZYCMLAO.js.map → deps-JSRRWC3Z.js.map} +1 -1
- package/dist/cli-bundle/chunks/deps-SCZIFK2Z.js +225 -0
- package/dist/cli-bundle/chunks/deps-SCZIFK2Z.js.map +1 -0
- package/dist/cli-bundle/chunks/docs-GJK6K4VP.js +31 -0
- package/dist/cli-bundle/chunks/docs-GJK6K4VP.js.map +1 -0
- package/dist/cli-bundle/chunks/{docs-FXXUCZYU.js → docs-WW4N3MBM.js} +9 -10
- package/dist/cli-bundle/chunks/{docs-FXXUCZYU.js.map → docs-WW4N3MBM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{extension-B4WL7BQU.js → extension-J7IBMFTD.js} +4 -5
- package/dist/cli-bundle/chunks/extension-VDY2U33M.js +28 -0
- package/dist/cli-bundle/chunks/extension-VDY2U33M.js.map +1 -0
- package/dist/cli-bundle/chunks/files-ISZJGILQ.js +282 -0
- package/dist/cli-bundle/chunks/files-ISZJGILQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{files-WVOX67PE.js → files-WKOD326U.js} +9 -10
- package/dist/cli-bundle/chunks/{files-WVOX67PE.js.map → files-WKOD326U.js.map} +1 -1
- package/dist/cli-bundle/chunks/gc-JDVJ6OQ2.js +362 -0
- package/dist/cli-bundle/chunks/gc-JDVJ6OQ2.js.map +1 -0
- package/dist/cli-bundle/chunks/gc-ULPVWMTN.js +372 -0
- package/dist/cli-bundle/chunks/gc-ULPVWMTN.js.map +7 -0
- package/dist/cli-bundle/chunks/get-RV37HT3G.js +194 -0
- package/dist/cli-bundle/chunks/get-RV37HT3G.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-LTK3HOCQ.js → get-WXU6WI5P.js} +16 -17
- package/dist/cli-bundle/chunks/get-WXU6WI5P.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-TCWL55KM.js → health-6L6EH4WR.js} +57 -16
- package/dist/cli-bundle/chunks/health-6L6EH4WR.js.map +7 -0
- package/dist/cli-bundle/chunks/health-LOI2HHKB.js +1271 -0
- package/dist/cli-bundle/chunks/health-LOI2HHKB.js.map +1 -0
- package/dist/cli-bundle/chunks/history-2BA3T5AE.js +20 -0
- package/dist/cli-bundle/chunks/history-PKN67D5O.js +24 -0
- package/dist/cli-bundle/chunks/history-PKN67D5O.js.map +1 -0
- package/dist/cli-bundle/chunks/history-redact-JBZNXHGR.js +19 -0
- package/dist/cli-bundle/chunks/history-redact-V4FOJGS7.js +23 -0
- package/dist/cli-bundle/chunks/history-redact-V4FOJGS7.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-repair-ZWSTDRH2.js → history-repair-HIBCBIKK.js} +12 -14
- package/dist/cli-bundle/chunks/{history-repair-ZWSTDRH2.js.map → history-repair-HIBCBIKK.js.map} +1 -1
- package/dist/cli-bundle/chunks/history-repair-SDMHR7JT.js +193 -0
- package/dist/cli-bundle/chunks/history-repair-SDMHR7JT.js.map +1 -0
- package/dist/cli-bundle/chunks/init-HIVSNX3O.js +16 -0
- package/dist/cli-bundle/chunks/init-P56QYWJF.js +20 -0
- package/dist/cli-bundle/chunks/init-P56QYWJF.js.map +1 -0
- package/dist/cli-bundle/chunks/learnings-GDFRG5J7.js +44 -0
- package/dist/cli-bundle/chunks/learnings-GDFRG5J7.js.map +1 -0
- package/dist/cli-bundle/chunks/{learnings-NXTWE3FR.js → learnings-MIXSESLK.js} +10 -11
- package/dist/cli-bundle/chunks/{learnings-NXTWE3FR.js.map → learnings-MIXSESLK.js.map} +1 -1
- package/dist/cli-bundle/chunks/list-FGOWQMSM.js +24 -0
- package/dist/cli-bundle/chunks/list-FGOWQMSM.js.map +1 -0
- package/dist/cli-bundle/chunks/list-MUSQNMTD.js +20 -0
- package/dist/cli-bundle/chunks/{notes-DFS5ZGOO.js → notes-4XVSH2AZ.js} +10 -11
- package/dist/cli-bundle/chunks/{notes-DFS5ZGOO.js.map → notes-4XVSH2AZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/notes-5UK3GEH2.js +44 -0
- package/dist/cli-bundle/chunks/notes-5UK3GEH2.js.map +1 -0
- package/dist/cli-bundle/chunks/plan-DUMBV3QB.js +1171 -0
- package/dist/cli-bundle/chunks/plan-DUMBV3QB.js.map +1 -0
- package/dist/cli-bundle/chunks/{plan-67AB2PLM.js → plan-SLMODHWX.js} +13 -14
- package/dist/cli-bundle/chunks/{plan-67AB2PLM.js.map → plan-SLMODHWX.js.map} +1 -1
- package/dist/cli-bundle/chunks/register-list-query-POCFZ5JW.js +229 -0
- package/dist/cli-bundle/chunks/register-list-query-POCFZ5JW.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-UP3VRUFS.js → register-list-query-WST76HSQ.js} +26 -26
- package/dist/cli-bundle/chunks/register-list-query-WST76HSQ.js.map +7 -0
- package/dist/cli-bundle/chunks/register-mutation-N5GSUZJV.js +813 -0
- package/dist/cli-bundle/chunks/register-mutation-N5GSUZJV.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-YWSBF545.js → register-mutation-OA675SOU.js} +154 -43
- package/dist/cli-bundle/chunks/register-mutation-OA675SOU.js.map +7 -0
- package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js +383 -0
- package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-3BDTGSDH.js → register-operations-N3PMHXH5.js} +49 -37
- package/dist/cli-bundle/chunks/register-operations-N3PMHXH5.js.map +7 -0
- package/dist/cli-bundle/chunks/register-setup-JIMPKJKV.js +242 -0
- package/dist/cli-bundle/chunks/register-setup-JIMPKJKV.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-V56GDRUS.js → register-setup-ZHJI2DI3.js} +18 -19
- package/dist/cli-bundle/chunks/{register-setup-V56GDRUS.js.map → register-setup-ZHJI2DI3.js.map} +2 -2
- package/dist/cli-bundle/chunks/restore-D4RGNX33.js +17 -0
- package/dist/cli-bundle/chunks/restore-PBL6T5TW.js +21 -0
- package/dist/cli-bundle/chunks/restore-PBL6T5TW.js.map +1 -0
- package/dist/cli-bundle/chunks/schema-2NOO6NGB.js +780 -0
- package/dist/cli-bundle/chunks/schema-2NOO6NGB.js.map +7 -0
- package/dist/cli-bundle/chunks/schema-EBI4NLUO.js +770 -0
- package/dist/cli-bundle/chunks/schema-EBI4NLUO.js.map +1 -0
- package/dist/cli-bundle/chunks/search-JPUQTVCY.js +1127 -0
- package/dist/cli-bundle/chunks/search-JPUQTVCY.js.map +1 -0
- package/dist/cli-bundle/chunks/{search-HENBL456.js → search-OA6JX27A.js} +25 -16
- package/dist/cli-bundle/chunks/search-OA6JX27A.js.map +7 -0
- package/dist/cli-bundle/chunks/stats-CV54BAWY.js +202 -0
- package/dist/cli-bundle/chunks/stats-CV54BAWY.js.map +1 -0
- package/dist/cli-bundle/chunks/stats-XYB6KTFG.js +212 -0
- package/dist/cli-bundle/chunks/stats-XYB6KTFG.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-LMJ7PFUO.js +251 -0
- package/dist/cli-bundle/chunks/telemetry-LMJ7PFUO.js.map +7 -0
- package/dist/cli-bundle/chunks/telemetry-NCMEPJNR.js +248 -0
- package/dist/cli-bundle/chunks/telemetry-NCMEPJNR.js.map +1 -0
- package/dist/cli-bundle/chunks/test-MXX3E5JL.js +31 -0
- package/dist/cli-bundle/chunks/test-WBROAJIE.js +35 -0
- package/dist/cli-bundle/chunks/test-WBROAJIE.js.map +1 -0
- package/dist/cli-bundle/chunks/test-all-N6NSRDTV.js +328 -0
- package/dist/cli-bundle/chunks/test-all-N6NSRDTV.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-all-G2AZOHXI.js → test-all-NTOZ7C3M.js} +13 -14
- package/dist/cli-bundle/chunks/{test-all-G2AZOHXI.js.map → test-all-NTOZ7C3M.js.map} +1 -1
- package/dist/cli-bundle/chunks/test-runs-V6A7LPWZ.js +929 -0
- package/dist/cli-bundle/chunks/test-runs-V6A7LPWZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-runs-GX5HTPSF.js → test-runs-WMVTQU3Y.js} +5 -5
- package/dist/cli-bundle/chunks/update-OSV3NAQB.js +25 -0
- package/dist/cli-bundle/chunks/update-OSV3NAQB.js.map +1 -0
- package/dist/cli-bundle/chunks/update-YRXSUGYQ.js +21 -0
- package/dist/cli-bundle/chunks/update-many-EM6OXYGO.js +605 -0
- package/dist/cli-bundle/chunks/update-many-EM6OXYGO.js.map +1 -0
- package/dist/cli-bundle/chunks/{update-many-46HRSP2Q.js → update-many-KGGEYABR.js} +78 -146
- package/dist/cli-bundle/chunks/update-many-KGGEYABR.js.map +7 -0
- package/dist/cli-bundle/chunks/{upgrade-H5HHM5UV.js → upgrade-BLI7XBAJ.js} +5 -7
- package/dist/cli-bundle/chunks/{upgrade-H5HHM5UV.js.map → upgrade-BLI7XBAJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/upgrade-LXPOQKFV.js +266 -0
- package/dist/cli-bundle/chunks/upgrade-LXPOQKFV.js.map +1 -0
- package/dist/cli-bundle/chunks/{validate-TMCVKIGZ.js → validate-AGOAUOVW.js} +61 -48
- package/dist/cli-bundle/chunks/validate-AGOAUOVW.js.map +7 -0
- package/dist/cli-bundle/chunks/validate-L5J6A7YO.js +1120 -0
- package/dist/cli-bundle/chunks/validate-L5J6A7YO.js.map +1 -0
- package/dist/cli-bundle/main.js +534 -1505
- package/dist/cli-bundle/main.js.map +4 -4
- package/dist/core/checkpoint/mutation-checkpoint.d.ts +44 -0
- package/dist/core/checkpoint/mutation-checkpoint.js +119 -0
- package/dist/core/checkpoint/mutation-checkpoint.js.map +1 -0
- package/dist/core/config/positional-value.js +4 -2
- package/dist/core/config/positional-value.js.map +1 -1
- package/dist/core/diagnostics/remediation.d.ts +73 -0
- package/dist/core/diagnostics/remediation.js +328 -0
- package/dist/core/diagnostics/remediation.js.map +1 -0
- package/dist/core/extensions/extension-hook-runtime.js +9 -2
- package/dist/core/extensions/extension-hook-runtime.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +60 -4
- package/dist/core/extensions/extension-types.js +2 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +5 -1
- package/dist/core/extensions/index.js +61 -2
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/item-fields.d.ts +5 -1
- package/dist/core/extensions/item-fields.js +126 -4
- package/dist/core/extensions/item-fields.js.map +1 -1
- package/dist/core/extensions/loader.js +283 -8
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/history/history-diff.d.ts +47 -0
- package/dist/core/history/history-diff.js +152 -0
- package/dist/core/history/history-diff.js.map +1 -0
- package/dist/core/history/history-storage-stats.d.ts +31 -0
- package/dist/core/history/history-storage-stats.js +101 -0
- package/dist/core/history/history-storage-stats.js.map +1 -0
- package/dist/core/item/item-format.d.ts +3 -2
- package/dist/core/item/item-format.js +15 -10
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/item/status-filter.d.ts +29 -0
- package/dist/core/item/status-filter.js +97 -0
- package/dist/core/item/status-filter.js.map +1 -0
- package/dist/core/item/type-registry.js +4 -2
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/lock/lock-gc.d.ts +46 -0
- package/dist/core/lock/lock-gc.js +194 -0
- package/dist/core/lock/lock-gc.js.map +1 -0
- package/dist/core/output/output.js +17 -5
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/schema/item-types-file.d.ts +15 -0
- package/dist/core/schema/item-types-file.js +27 -2
- package/dist/core/schema/item-types-file.js.map +1 -1
- package/dist/core/schema/runtime-field-filters.js +4 -3
- package/dist/core/schema/runtime-field-filters.js.map +1 -1
- package/dist/core/schema/runtime-field-values.d.ts +1 -1
- package/dist/core/schema/runtime-field-values.js +10 -4
- package/dist/core/schema/runtime-field-values.js.map +1 -1
- package/dist/core/schema/runtime-schema.js +75 -2
- package/dist/core/schema/runtime-schema.js.map +1 -1
- package/dist/core/schema/status-defs-file.d.ts +113 -0
- package/dist/core/schema/status-defs-file.js +260 -0
- package/dist/core/schema/status-defs-file.js.map +1 -0
- package/dist/core/schema/type-workflows.d.ts +64 -0
- package/dist/core/schema/type-workflows.js +98 -0
- package/dist/core/schema/type-workflows.js.map +1 -0
- package/dist/core/search/cache.d.ts +3 -1
- package/dist/core/search/cache.js +104 -28
- package/dist/core/search/cache.js.map +1 -1
- package/dist/core/search/http-client.d.ts +2 -2
- package/dist/core/search/http-client.js +2 -2
- package/dist/core/search/http-client.js.map +1 -1
- package/dist/core/search/vector-stores.d.ts +1 -0
- package/dist/core/search/vector-stores.js +64 -14
- package/dist/core/search/vector-stores.js.map +1 -1
- package/dist/core/search/vectorization-metadata.d.ts +13 -0
- package/dist/core/search/vectorization-metadata.js +65 -0
- package/dist/core/search/vectorization-metadata.js.map +1 -0
- package/dist/core/shared/serial-queue.d.ts +12 -0
- package/dist/core/shared/serial-queue.js +43 -0
- package/dist/core/shared/serial-queue.js.map +1 -0
- package/dist/core/shared/serialization.d.ts +1 -0
- package/dist/core/shared/serialization.js +86 -2
- package/dist/core/shared/serialization.js.map +1 -1
- package/dist/core/store/front-matter-cache.js +14 -5
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/core/store/item-store.d.ts +2 -0
- package/dist/core/store/item-store.js +61 -6
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/settings-validator.js +18 -2
- package/dist/core/store/settings-validator.js.map +1 -1
- package/dist/core/store/settings.d.ts +19 -1
- package/dist/core/store/settings.js +130 -10
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/consent.js +3 -3
- package/dist/core/telemetry/consent.js.map +1 -1
- package/dist/core/telemetry/observability.js +5 -4
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.js +16 -4
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +372 -45
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.js +16 -2
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +7 -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.d.ts +1 -0
- package/dist/sdk/cli-contracts/tool-option-contracts.js +53 -3
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +42 -10
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +42 -1
- package/dist/sdk/cli-contracts.js +225 -19
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/errors.d.ts +22 -0
- package/dist/sdk/errors.js +46 -0
- package/dist/sdk/errors.js.map +1 -0
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +3 -2
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/package-import-adapters.js +14 -3
- package/dist/sdk/package-import-adapters.js.map +1 -1
- package/dist/sdk/runtime.d.ts +1 -0
- package/dist/sdk/runtime.js +3 -2
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/sdk/testing.d.ts +77 -0
- package/dist/sdk/testing.js +239 -0
- package/dist/sdk/testing.js.map +1 -0
- package/dist/types.d.ts +19 -0
- package/dist/types.js +3 -2
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +22 -3
- package/docs/ARCHITECTURE.md +11 -1
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +118 -7
- package/docs/CONFIGURATION.md +57 -2
- package/docs/EXTENSIONS.md +125 -6
- package/docs/EXTENSION_AUTHOR_CONTRACTS.md +73 -0
- package/docs/ONBOARDING.md +165 -0
- package/docs/QUICKSTART.md +3 -1
- package/docs/README.md +12 -4
- package/docs/RELEASING.md +38 -3
- package/docs/SDK.md +273 -1
- package/docs/TESTING.md +36 -1
- package/docs/examples/policy-restricted-extension/manifest.json +1 -0
- package/docs/examples/starter-extension/index.js +9 -1
- package/docs/examples/starter-extension/manifest.json +1 -0
- package/package.json +16 -7
- package/packages/pm-beads/extensions/beads/index.js +2 -4
- package/packages/pm-beads/extensions/beads/index.ts +43 -33
- package/packages/pm-beads/extensions/beads/manifest.json +12 -1
- package/packages/pm-calendar/README.md +6 -0
- package/packages/pm-calendar/extensions/calendar/index.js +6 -1
- package/packages/pm-calendar/extensions/calendar/index.ts +6 -1
- package/packages/pm-calendar/extensions/calendar/manifest.json +6 -1
- package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +6 -1
- package/packages/pm-guide-shell/README.md +4 -0
- package/packages/pm-guide-shell/extensions/guide-shell/index.js +22 -0
- package/packages/pm-guide-shell/extensions/guide-shell/index.ts +22 -0
- package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +6 -1
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.js +74 -3
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +84 -4
- package/packages/pm-lifecycle-hooks/README.md +29 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.js +18 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.ts +20 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/manifest.json +9 -0
- package/packages/pm-lifecycle-hooks/package.json +52 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +13 -1
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +69 -1
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +91 -2
- package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +13 -1
- package/packages/pm-templates/extensions/templates/manifest.json +6 -1
- package/packages/pm-todos/extensions/todos/index.js +3 -7
- package/packages/pm-todos/extensions/todos/index.ts +55 -42
- package/packages/pm-todos/extensions/todos/manifest.json +13 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/README.md +7 -4
- package/plugins/pm-claude/agents/pm-coordinator.md +1 -1
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/scripts/bundle-cli.mjs +121 -17
- package/dist/cli-bundle/chunks/activity-OWYSUZOY.js +0 -17
- package/dist/cli-bundle/chunks/chunk-3M73P3G6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4AEZR5EJ.js +0 -189
- package/dist/cli-bundle/chunks/chunk-4AEZR5EJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5HSEP75M.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6HT2F4TK.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7Y53ZJIQ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BUPWJ3IJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EGUGFSNX.js +0 -47
- package/dist/cli-bundle/chunks/chunk-EGUGFSNX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FM26RGSU.js +0 -56
- package/dist/cli-bundle/chunks/chunk-FM26RGSU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FQE6XZDB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-GN7IJPCD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-JTWRXG4B.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-JULRTHJQ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LRBOHPUE.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LSXGH6NE.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MD7K4JYF.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-OGZEG5TT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-P53TN6IA.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PXUAZUUY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-U7FMKRXH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-VGICHR7D.js +0 -141
- package/dist/cli-bundle/chunks/chunk-VGICHR7D.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-WDPXDQFG.js.map +0 -7
- package/dist/cli-bundle/chunks/close-XY4CSAYF.js +0 -14
- package/dist/cli-bundle/chunks/config-V3FZOKLI.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-YLMH33VU.js.map +0 -7
- package/dist/cli-bundle/chunks/create-PZVHRIZQ.js +0 -28
- package/dist/cli-bundle/chunks/gc-JWNF66EC.js +0 -181
- package/dist/cli-bundle/chunks/gc-JWNF66EC.js.map +0 -7
- package/dist/cli-bundle/chunks/get-LTK3HOCQ.js.map +0 -7
- package/dist/cli-bundle/chunks/health-TCWL55KM.js.map +0 -7
- package/dist/cli-bundle/chunks/history-A2JUDXUE.js +0 -21
- package/dist/cli-bundle/chunks/history-redact-ED6RFCPL.js +0 -20
- package/dist/cli-bundle/chunks/init-M2WUB4YH.js +0 -16
- package/dist/cli-bundle/chunks/list-OGWQPC26.js +0 -20
- package/dist/cli-bundle/chunks/register-list-query-UP3VRUFS.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-YWSBF545.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-3BDTGSDH.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-MB2ISME7.js +0 -18
- package/dist/cli-bundle/chunks/schema-Q622KC46.js +0 -119
- package/dist/cli-bundle/chunks/schema-Q622KC46.js.map +0 -7
- package/dist/cli-bundle/chunks/search-HENBL456.js.map +0 -7
- package/dist/cli-bundle/chunks/stats-N6H3YP2F.js +0 -124
- package/dist/cli-bundle/chunks/stats-N6H3YP2F.js.map +0 -7
- package/dist/cli-bundle/chunks/test-VNBDRJ4Z.js +0 -32
- package/dist/cli-bundle/chunks/update-H6SCWNMA.js +0 -22
- package/dist/cli-bundle/chunks/update-many-46HRSP2Q.js.map +0 -7
- package/dist/cli-bundle/chunks/validate-TMCVKIGZ.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-OWYSUZOY.js.map → activity-CVXTCHYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-ADUOSFRO.js.map → aggregate-VNAHUNNF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D7AOMPRH.js.map → chunk-BQHUILZS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-G57E5D7T.js.map → chunk-GU2ZJ2VV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AKOOMO3T.js.map → chunk-KAG77BY3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KBQY3YG5.js.map → chunk-KJ33AOCY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WJ2NAC37.js.map → chunk-N7ACFE26.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PVNQLCIS.js.map → chunk-QO7EBBOM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A7E7PUVX.js.map → chunk-R6UFP2GE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CEFIVZPG.js.map → chunk-T3LC5LKB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JFWUHHS2.js.map → chunk-UM2GBHS4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SEXQN4KL.js.map → chunk-WKY2IBOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NGN7UV5K.js.map → chunk-XLTD2HN3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-L2FXEKDB.js.map → chunk-YL2DJGYS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-XY4CSAYF.js.map → close-3HDWDA3L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-PZVHRIZQ.js.map → create-JTZNCTQC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-B4WL7BQU.js.map → extension-J7IBMFTD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-A2JUDXUE.js.map → history-2BA3T5AE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-ED6RFCPL.js.map → history-redact-JBZNXHGR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-M2WUB4YH.js.map → init-HIVSNX3O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-OGWQPC26.js.map → list-MUSQNMTD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-MB2ISME7.js.map → restore-D4RGNX33.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-VNBDRJ4Z.js.map → test-MXX3E5JL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-GX5HTPSF.js.map → test-runs-WMVTQU3Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-H6SCWNMA.js.map → update-YRXSUGYQ.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!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]="
|
|
2
|
+
!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]="ed7e453d-9d75-5c91-8de4-990f9ddf155d")}catch(e){}}();
|
|
3
3
|
export { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, readFirstStringFromCommanderOptions, readStringArrayFromCommanderOptions, } from "./cli-contracts/commander-types.js";
|
|
4
4
|
export { CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, } from "./cli-contracts/commander-mutation-options.js";
|
|
5
5
|
// PM_* enum/guard contracts and the bulk tool-parameter property/metadata data
|
|
@@ -7,9 +7,9 @@ export { CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, CREATE_COMMANDER_REPEAT
|
|
|
7
7
|
// sites (sdk/index.ts, mcp/server.ts, commands/contracts.ts, completion.ts, …)
|
|
8
8
|
// keep importing everything from "./cli-contracts.js" unchanged.
|
|
9
9
|
export { PM_EXTENSION_CAPABILITY_CONTRACTS, PM_EXTENSION_SERVICE_NAME_CONTRACTS, PM_EXTENSION_POLICY_MODE_CONTRACTS, PM_EXTENSION_TRUST_MODE_CONTRACTS, PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS, PM_EXTENSION_POLICY_SURFACE_CONTRACTS, PM_CORE_COMMAND_NAMES, PM_TOOL_ACTIONS, isPmToolAction, isPmExtensionCapabilityContract, isPmExtensionServiceNameContract, isPmExtensionPolicyModeContract, isPmExtensionPolicySurfaceContract, } from "./cli-contracts/enum-contracts.js";
|
|
10
|
-
export { TOOL_LIST_FILTER_OPTION_CONTRACTS, TOOL_AGGREGATE_OPTION_CONTRACTS, TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS, TOOL_SEARCH_FILTER_OPTION_CONTRACTS, TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS, TOOL_CREATE_OPTION_CONTRACTS, TOOL_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS, TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS, TOOL_CALENDAR_OPTION_CONTRACTS, TOOL_ACTIVITY_OPTION_CONTRACTS, TOOL_CONTEXT_OPTION_CONTRACTS, TOOL_DEPS_OPTION_CONTRACTS, } from "./cli-contracts/tool-option-contracts.js";
|
|
10
|
+
export { TOOL_LIST_FILTER_OPTION_CONTRACTS, TOOL_AGGREGATE_OPTION_CONTRACTS, TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS, TOOL_SEARCH_FILTER_OPTION_CONTRACTS, TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS, TOOL_CREATE_OPTION_CONTRACTS, TOOL_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS, TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS, TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS, TOOL_CALENDAR_OPTION_CONTRACTS, TOOL_ACTIVITY_OPTION_CONTRACTS, TOOL_CONTEXT_OPTION_CONTRACTS, TOOL_DEPS_OPTION_CONTRACTS, } from "./cli-contracts/tool-option-contracts.js";
|
|
11
11
|
import { PM_TOOL_ACTIONS } from "./cli-contracts/enum-contracts.js";
|
|
12
|
-
import { TOOL_CREATE_OPTION_CONTRACTS, TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS, TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS, TOOL_CONTEXT_OPTION_CONTRACTS, TOOL_ACTIVITY_OPTION_CONTRACTS, TOOL_LIST_FILTER_OPTION_CONTRACTS, TOOL_AGGREGATE_OPTION_CONTRACTS, TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS, TOOL_SEARCH_FILTER_OPTION_CONTRACTS, } from "./cli-contracts/tool-option-contracts.js";
|
|
12
|
+
import { TOOL_CREATE_OPTION_CONTRACTS, TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_OPTION_CONTRACTS, TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS, TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS, TOOL_CONTEXT_OPTION_CONTRACTS, TOOL_ACTIVITY_OPTION_CONTRACTS, TOOL_LIST_FILTER_OPTION_CONTRACTS, TOOL_AGGREGATE_OPTION_CONTRACTS, TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS, TOOL_SEARCH_FILTER_OPTION_CONTRACTS, TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS, } from "./cli-contracts/tool-option-contracts.js";
|
|
13
13
|
import { PM_TOOL_PARAMETER_PROPERTIES, PM_TOOL_PARAMETER_METADATA, PLAN_ACTION_PARAMETER_PROPERTIES, PLAN_ACTION_PARAMETER_METADATA, } from "./cli-contracts/tool-parameter-tables.js";
|
|
14
14
|
function normalizeUniqueStringList(values) {
|
|
15
15
|
return [...new Set(Array.from(values).filter((value) => value.trim().length > 0))];
|
|
@@ -79,6 +79,11 @@ export const LIST_FILTER_FLAG_CONTRACTS = [
|
|
|
79
79
|
{ flag: "--priority" },
|
|
80
80
|
{ flag: "--deadline-before" },
|
|
81
81
|
{ flag: "--deadline-after" },
|
|
82
|
+
{ flag: "--updated-after" },
|
|
83
|
+
{ flag: "--updated-before" },
|
|
84
|
+
{ flag: "--created-after" },
|
|
85
|
+
{ flag: "--created-before" },
|
|
86
|
+
{ flag: "--ids", list: true },
|
|
82
87
|
{ flag: "--assignee" },
|
|
83
88
|
{ flag: "--assignee-filter" },
|
|
84
89
|
{ flag: "--assignee_filter" },
|
|
@@ -204,6 +209,7 @@ export const HISTORY_FLAG_CONTRACTS = [
|
|
|
204
209
|
{ flag: "--compact" },
|
|
205
210
|
{ flag: "--full" },
|
|
206
211
|
{ flag: "--diff" },
|
|
212
|
+
{ flag: "--field" },
|
|
207
213
|
{ flag: "--verify" },
|
|
208
214
|
];
|
|
209
215
|
export const HISTORY_REDACT_FLAG_CONTRACTS = [
|
|
@@ -226,6 +232,11 @@ export const SCHEMA_FLAG_CONTRACTS = [
|
|
|
226
232
|
{ flag: "--default-status", aliases: ["--default_status"] },
|
|
227
233
|
{ flag: "--folder" },
|
|
228
234
|
{ flag: "--alias" },
|
|
235
|
+
// --role is a repeatable Commander collect flag (NOT a comma-list contract),
|
|
236
|
+
// mirroring --alias; list:false keeps the bootstrap coalescer from corrupting
|
|
237
|
+
// values.
|
|
238
|
+
{ flag: "--role" },
|
|
239
|
+
{ flag: "--order" },
|
|
229
240
|
{ flag: "--author" },
|
|
230
241
|
{ flag: "--force" },
|
|
231
242
|
];
|
|
@@ -240,7 +251,7 @@ export const PLAN_FLAG_CONTRACTS = [
|
|
|
240
251
|
{ flag: "--harness" },
|
|
241
252
|
{ flag: "--mode" },
|
|
242
253
|
{ flag: "--resume-context", aliases: ["--resume_context"] },
|
|
243
|
-
{ flag: "--tags", list: true },
|
|
254
|
+
{ flag: "--tags", aliases: ["--tag"], list: true },
|
|
244
255
|
{ flag: "--priority" },
|
|
245
256
|
{ flag: "--body" },
|
|
246
257
|
{ flag: "--claim" },
|
|
@@ -280,6 +291,7 @@ export const PLAN_FLAG_CONTRACTS = [
|
|
|
280
291
|
];
|
|
281
292
|
export const INIT_FLAG_CONTRACTS = [
|
|
282
293
|
{ flag: "--preset" },
|
|
294
|
+
{ flag: "--type-preset" },
|
|
283
295
|
{ flag: "--defaults", short: "-y", aliases: ["--yes"] },
|
|
284
296
|
{ flag: "--author" },
|
|
285
297
|
{ flag: "--agent-guidance" },
|
|
@@ -332,6 +344,51 @@ export const EXTENSION_FLAG_CONTRACTS = [
|
|
|
332
344
|
{ flag: "--strict-exit" },
|
|
333
345
|
{ flag: "--fail-on-warn" },
|
|
334
346
|
];
|
|
347
|
+
export const EXTENSION_INIT_FLAG_CONTRACTS = [
|
|
348
|
+
{ flag: "--project" },
|
|
349
|
+
{ flag: "--local" },
|
|
350
|
+
{ flag: "--global" },
|
|
351
|
+
];
|
|
352
|
+
export const EXTENSION_INSTALL_FLAG_CONTRACTS = [
|
|
353
|
+
{ flag: "--project" },
|
|
354
|
+
{ flag: "--local" },
|
|
355
|
+
{ flag: "--global" },
|
|
356
|
+
{ flag: "--gh" },
|
|
357
|
+
{ flag: "--github" },
|
|
358
|
+
{ flag: "--ref" },
|
|
359
|
+
];
|
|
360
|
+
export const EXTENSION_UNINSTALL_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
|
|
361
|
+
export const EXTENSION_EXPLORE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
|
|
362
|
+
export const EXTENSION_ADOPT_ALL_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
|
|
363
|
+
export const EXTENSION_ACTIVATE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
|
|
364
|
+
export const EXTENSION_DEACTIVATE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
|
|
365
|
+
export const EXTENSION_MANAGE_FLAG_CONTRACTS = [
|
|
366
|
+
...EXTENSION_INIT_FLAG_CONTRACTS,
|
|
367
|
+
{ flag: "--runtime-probe" },
|
|
368
|
+
{ flag: "--fix-managed-state" },
|
|
369
|
+
];
|
|
370
|
+
export const EXTENSION_RELOAD_FLAG_CONTRACTS = [
|
|
371
|
+
...EXTENSION_INIT_FLAG_CONTRACTS,
|
|
372
|
+
{ flag: "--watch" },
|
|
373
|
+
];
|
|
374
|
+
export const EXTENSION_DOCTOR_FLAG_CONTRACTS = [
|
|
375
|
+
...EXTENSION_INIT_FLAG_CONTRACTS,
|
|
376
|
+
{ flag: "--detail" },
|
|
377
|
+
{ flag: "--trace" },
|
|
378
|
+
{ flag: "--fix-managed-state" },
|
|
379
|
+
{ flag: "--strict-exit" },
|
|
380
|
+
{ flag: "--fail-on-warn" },
|
|
381
|
+
];
|
|
382
|
+
export const EXTENSION_CATALOG_FLAG_CONTRACTS = [
|
|
383
|
+
...EXTENSION_INIT_FLAG_CONTRACTS,
|
|
384
|
+
{ flag: "--fields", list: true },
|
|
385
|
+
];
|
|
386
|
+
export const EXTENSION_ADOPT_FLAG_CONTRACTS = [
|
|
387
|
+
...EXTENSION_INIT_FLAG_CONTRACTS,
|
|
388
|
+
{ flag: "--gh" },
|
|
389
|
+
{ flag: "--github" },
|
|
390
|
+
{ flag: "--ref" },
|
|
391
|
+
];
|
|
335
392
|
export const INSTALL_FLAG_CONTRACTS = [
|
|
336
393
|
{ flag: "--project" },
|
|
337
394
|
{ flag: "--local" },
|
|
@@ -370,6 +427,41 @@ export const CLOSE_FLAG_CONTRACTS = [
|
|
|
370
427
|
{ flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
|
|
371
428
|
{ flag: "--force" },
|
|
372
429
|
];
|
|
430
|
+
// close-many shares update-many's `--filter-*` scoping family and close's
|
|
431
|
+
// inline closure-validation fields. The shared close reason is required for the
|
|
432
|
+
// audited bulk close (each matched item routes through runClose semantics).
|
|
433
|
+
export const CLOSE_MANY_FLAG_CONTRACTS = [
|
|
434
|
+
{ flag: "--filter-status", list: true },
|
|
435
|
+
{ flag: "--filter-type" },
|
|
436
|
+
{ flag: "--filter-tag" },
|
|
437
|
+
{ flag: "--filter-priority" },
|
|
438
|
+
{ flag: "--filter-deadline-before" },
|
|
439
|
+
{ flag: "--filter-deadline-after" },
|
|
440
|
+
{ flag: "--filter-updated-after" },
|
|
441
|
+
{ flag: "--filter-updated-before" },
|
|
442
|
+
{ flag: "--filter-created-after" },
|
|
443
|
+
{ flag: "--filter-created-before" },
|
|
444
|
+
{ flag: "--filter-assignee" },
|
|
445
|
+
{ flag: "--filter-assignee-filter" },
|
|
446
|
+
{ flag: "--filter-assignee_filter" },
|
|
447
|
+
{ flag: "--filter-parent" },
|
|
448
|
+
{ flag: "--filter-sprint" },
|
|
449
|
+
{ flag: "--filter-release" },
|
|
450
|
+
{ flag: "--ids", list: true },
|
|
451
|
+
{ flag: "--limit" },
|
|
452
|
+
{ flag: "--offset" },
|
|
453
|
+
{ flag: "--reason" },
|
|
454
|
+
{ flag: "--resolution" },
|
|
455
|
+
{ flag: "--expected-result", aliases: ["--expected_result", "--expected"] },
|
|
456
|
+
{ flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
|
|
457
|
+
{ flag: "--validate-close" },
|
|
458
|
+
{ flag: "--author" },
|
|
459
|
+
{ flag: "--message" },
|
|
460
|
+
{ flag: "--force" },
|
|
461
|
+
{ flag: "--dry-run" },
|
|
462
|
+
{ flag: "--rollback" },
|
|
463
|
+
{ flag: "--no-checkpoint" },
|
|
464
|
+
];
|
|
373
465
|
export const APPEND_FLAG_CONTRACTS = [
|
|
374
466
|
{ flag: "--body", short: "-b" },
|
|
375
467
|
{ flag: "--author" },
|
|
@@ -455,6 +547,9 @@ export const TEST_ALL_FLAG_CONTRACTS = [
|
|
|
455
547
|
{ flag: "--check-context" },
|
|
456
548
|
{ flag: "--auto-pm-context" },
|
|
457
549
|
];
|
|
550
|
+
export const TELEMETRY_FLAG_CONTRACTS = [
|
|
551
|
+
{ flag: "--limit" },
|
|
552
|
+
];
|
|
458
553
|
export const TEST_RUNS_FLAG_CONTRACTS = [
|
|
459
554
|
{ flag: "--status" },
|
|
460
555
|
{ flag: "--limit" },
|
|
@@ -467,6 +562,9 @@ export const GC_FLAG_CONTRACTS = [
|
|
|
467
562
|
{ flag: "--dry-run" },
|
|
468
563
|
{ flag: "--scope" },
|
|
469
564
|
];
|
|
565
|
+
export const STATS_FLAG_CONTRACTS = [
|
|
566
|
+
{ flag: "--storage" },
|
|
567
|
+
];
|
|
470
568
|
export const HEALTH_FLAG_CONTRACTS = [
|
|
471
569
|
{ flag: "--strict-directories" },
|
|
472
570
|
{ flag: "--strict-exit" },
|
|
@@ -497,6 +595,7 @@ export const VALIDATE_FLAG_CONTRACTS = [
|
|
|
497
595
|
{ flag: "--verbose-diagnostics" },
|
|
498
596
|
{ flag: "--strict-exit" },
|
|
499
597
|
{ flag: "--fail-on-warn" },
|
|
598
|
+
{ flag: "--fix-hints" },
|
|
500
599
|
{ flag: "--check-history-drift" },
|
|
501
600
|
{ flag: "--check-command-references" },
|
|
502
601
|
];
|
|
@@ -511,7 +610,7 @@ export const CREATE_FLAG_CONTRACTS = [
|
|
|
511
610
|
{ flag: "--schedule_preset" },
|
|
512
611
|
{ short: "-s", flag: "--status" },
|
|
513
612
|
{ short: "-p", flag: "--priority" },
|
|
514
|
-
{ flag: "--tags", list: true },
|
|
613
|
+
{ flag: "--tags", aliases: ["--tag"], list: true },
|
|
515
614
|
// NOT list:true — these use Commander's repeatable collector. Marking them
|
|
516
615
|
// list:true would make the bootstrap coalescer comma-join repeated
|
|
517
616
|
// occurrences (`--add-tags '["a","b"]' --add-tags c` -> `["a","b"],c`),
|
|
@@ -574,6 +673,7 @@ export const CREATE_FLAG_CONTRACTS = [
|
|
|
574
673
|
{ flag: "--dep" },
|
|
575
674
|
{ flag: "--type-option" },
|
|
576
675
|
{ flag: "--type_option" },
|
|
676
|
+
{ flag: "--field" },
|
|
577
677
|
{ flag: "--reminder" },
|
|
578
678
|
{ flag: "--event" },
|
|
579
679
|
{ flag: "--comment" },
|
|
@@ -603,7 +703,7 @@ export const UPDATE_FLAG_CONTRACTS = [
|
|
|
603
703
|
{ flag: "--close_reason" },
|
|
604
704
|
{ short: "-p", flag: "--priority" },
|
|
605
705
|
{ flag: "--type" },
|
|
606
|
-
{ flag: "--tags", list: true },
|
|
706
|
+
{ flag: "--tags", aliases: ["--tag"], list: true },
|
|
607
707
|
// NOT list:true — Commander's repeatable collector accumulates these, so
|
|
608
708
|
// bootstrap coalescing must not comma-join repeated occurrences (it would
|
|
609
709
|
// corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
|
|
@@ -677,6 +777,7 @@ export const UPDATE_FLAG_CONTRACTS = [
|
|
|
677
777
|
{ flag: "--event" },
|
|
678
778
|
{ flag: "--type-option" },
|
|
679
779
|
{ flag: "--type_option" },
|
|
780
|
+
{ flag: "--field" },
|
|
680
781
|
{ flag: "--unset" },
|
|
681
782
|
{ flag: "--clear-deps" },
|
|
682
783
|
{ flag: "--clear-comments" },
|
|
@@ -701,12 +802,17 @@ export const UPDATE_MANY_FLAG_CONTRACTS = [
|
|
|
701
802
|
{ flag: "--filter-priority" },
|
|
702
803
|
{ flag: "--filter-deadline-before" },
|
|
703
804
|
{ flag: "--filter-deadline-after" },
|
|
805
|
+
{ flag: "--filter-updated-after" },
|
|
806
|
+
{ flag: "--filter-updated-before" },
|
|
807
|
+
{ flag: "--filter-created-after" },
|
|
808
|
+
{ flag: "--filter-created-before" },
|
|
704
809
|
{ flag: "--filter-assignee" },
|
|
705
810
|
{ flag: "--filter-assignee-filter" },
|
|
706
811
|
{ flag: "--filter-assignee_filter" },
|
|
707
812
|
{ flag: "--filter-parent" },
|
|
708
813
|
{ flag: "--filter-sprint" },
|
|
709
814
|
{ flag: "--filter-release" },
|
|
815
|
+
{ flag: "--ids", list: true },
|
|
710
816
|
{ flag: "--limit" },
|
|
711
817
|
{ flag: "--offset" },
|
|
712
818
|
{ flag: "--dry-run" },
|
|
@@ -717,7 +823,7 @@ export const UPDATE_MANY_FLAG_CONTRACTS = [
|
|
|
717
823
|
{ short: "-b", flag: "--body" },
|
|
718
824
|
{ short: "-p", flag: "--priority" },
|
|
719
825
|
{ flag: "--type" },
|
|
720
|
-
{ flag: "--tags", list: true },
|
|
826
|
+
{ flag: "--tags", aliases: ["--tag"], list: true },
|
|
721
827
|
// NOT list:true — Commander's repeatable collector accumulates these, so
|
|
722
828
|
// bootstrap coalescing must not comma-join repeated occurrences (it would
|
|
723
829
|
// corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
|
|
@@ -905,6 +1011,7 @@ export const SEARCH_FLAG_CONTRACTS = [
|
|
|
905
1011
|
{ flag: "--full" },
|
|
906
1012
|
{ flag: "--fields", list: true },
|
|
907
1013
|
{ flag: "--limit" },
|
|
1014
|
+
{ flag: "--status", list: true },
|
|
908
1015
|
{ flag: "--type" },
|
|
909
1016
|
{ flag: "--tag" },
|
|
910
1017
|
{ flag: "--priority" },
|
|
@@ -952,7 +1059,6 @@ const LIST_COMMAND_NAME_CONTRACTS = new Set([
|
|
|
952
1059
|
"list-canceled",
|
|
953
1060
|
]);
|
|
954
1061
|
const NO_SURFACE_COMMAND_NAME_CONTRACTS = new Set([
|
|
955
|
-
"stats",
|
|
956
1062
|
"reindex",
|
|
957
1063
|
"help",
|
|
958
1064
|
]);
|
|
@@ -985,6 +1091,39 @@ export function resolveSubcommandFlagContractsForCommand(commandName) {
|
|
|
985
1091
|
if (normalized === "test-runs-worker") {
|
|
986
1092
|
return withSubcommandGlobalFlags(TEST_RUNS_FLAG_CONTRACTS);
|
|
987
1093
|
}
|
|
1094
|
+
const [rootCommand, lifecycleSubcommand, ...extraParts] = normalized.split(/\s+/);
|
|
1095
|
+
if ((rootCommand === "extension" || rootCommand === "package" || rootCommand === "packages") &&
|
|
1096
|
+
lifecycleSubcommand &&
|
|
1097
|
+
extraParts.length === 0) {
|
|
1098
|
+
switch (lifecycleSubcommand) {
|
|
1099
|
+
case "init":
|
|
1100
|
+
return withSubcommandGlobalFlags(EXTENSION_INIT_FLAG_CONTRACTS);
|
|
1101
|
+
case "install":
|
|
1102
|
+
return withSubcommandGlobalFlags(EXTENSION_INSTALL_FLAG_CONTRACTS);
|
|
1103
|
+
case "uninstall":
|
|
1104
|
+
return withSubcommandGlobalFlags(EXTENSION_UNINSTALL_FLAG_CONTRACTS);
|
|
1105
|
+
case "explore":
|
|
1106
|
+
return withSubcommandGlobalFlags(EXTENSION_EXPLORE_FLAG_CONTRACTS);
|
|
1107
|
+
case "manage":
|
|
1108
|
+
return withSubcommandGlobalFlags(EXTENSION_MANAGE_FLAG_CONTRACTS);
|
|
1109
|
+
case "reload":
|
|
1110
|
+
return withSubcommandGlobalFlags(EXTENSION_RELOAD_FLAG_CONTRACTS);
|
|
1111
|
+
case "doctor":
|
|
1112
|
+
return withSubcommandGlobalFlags(EXTENSION_DOCTOR_FLAG_CONTRACTS);
|
|
1113
|
+
case "catalog":
|
|
1114
|
+
return withSubcommandGlobalFlags(EXTENSION_CATALOG_FLAG_CONTRACTS);
|
|
1115
|
+
case "adopt":
|
|
1116
|
+
return withSubcommandGlobalFlags(EXTENSION_ADOPT_FLAG_CONTRACTS);
|
|
1117
|
+
case "adopt-all":
|
|
1118
|
+
return withSubcommandGlobalFlags(EXTENSION_ADOPT_ALL_FLAG_CONTRACTS);
|
|
1119
|
+
case "activate":
|
|
1120
|
+
return withSubcommandGlobalFlags(EXTENSION_ACTIVATE_FLAG_CONTRACTS);
|
|
1121
|
+
case "deactivate":
|
|
1122
|
+
return withSubcommandGlobalFlags(EXTENSION_DEACTIVATE_FLAG_CONTRACTS);
|
|
1123
|
+
default:
|
|
1124
|
+
return withSubcommandGlobalFlags([]);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
988
1127
|
switch (normalized) {
|
|
989
1128
|
case "init":
|
|
990
1129
|
return withSubcommandGlobalFlags(INIT_FLAG_CONTRACTS);
|
|
@@ -1030,6 +1169,8 @@ export function resolveSubcommandFlagContractsForCommand(commandName) {
|
|
|
1030
1169
|
return withSubcommandGlobalFlags(UPDATE_MANY_FLAG_CONTRACTS);
|
|
1031
1170
|
case "close":
|
|
1032
1171
|
return withSubcommandGlobalFlags(CLOSE_FLAG_CONTRACTS);
|
|
1172
|
+
case "close-many":
|
|
1173
|
+
return withSubcommandGlobalFlags(CLOSE_MANY_FLAG_CONTRACTS);
|
|
1033
1174
|
case "delete":
|
|
1034
1175
|
return withSubcommandGlobalFlags(DELETE_FLAG_CONTRACTS);
|
|
1035
1176
|
case "append":
|
|
@@ -1050,12 +1191,16 @@ export function resolveSubcommandFlagContractsForCommand(commandName) {
|
|
|
1050
1191
|
return withSubcommandGlobalFlags(TEST_FLAG_CONTRACTS);
|
|
1051
1192
|
case "test-all":
|
|
1052
1193
|
return withSubcommandGlobalFlags(TEST_ALL_FLAG_CONTRACTS);
|
|
1194
|
+
case "telemetry":
|
|
1195
|
+
return withSubcommandGlobalFlags(TELEMETRY_FLAG_CONTRACTS);
|
|
1053
1196
|
case "health":
|
|
1054
1197
|
return withSubcommandGlobalFlags(HEALTH_FLAG_CONTRACTS);
|
|
1055
1198
|
case "validate":
|
|
1056
1199
|
return withSubcommandGlobalFlags(VALIDATE_FLAG_CONTRACTS);
|
|
1057
1200
|
case "gc":
|
|
1058
1201
|
return withSubcommandGlobalFlags(GC_FLAG_CONTRACTS);
|
|
1202
|
+
case "stats":
|
|
1203
|
+
return withSubcommandGlobalFlags(STATS_FLAG_CONTRACTS);
|
|
1059
1204
|
case "contracts":
|
|
1060
1205
|
return withSubcommandGlobalFlags(CONTRACTS_FLAG_CONTRACTS);
|
|
1061
1206
|
case "claim":
|
|
@@ -1115,6 +1260,20 @@ const NORMALIZE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
1115
1260
|
"allowAuditUpdate",
|
|
1116
1261
|
"force",
|
|
1117
1262
|
]);
|
|
1263
|
+
const CLOSE_MANY_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
1264
|
+
...TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
1265
|
+
"reason",
|
|
1266
|
+
"resolution",
|
|
1267
|
+
"expectedResult",
|
|
1268
|
+
"actualResult",
|
|
1269
|
+
"validateClose",
|
|
1270
|
+
"dryRun",
|
|
1271
|
+
"rollback",
|
|
1272
|
+
"noCheckpoint",
|
|
1273
|
+
"author",
|
|
1274
|
+
"message",
|
|
1275
|
+
"force",
|
|
1276
|
+
]);
|
|
1118
1277
|
const CONTEXT_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
1119
1278
|
...TOOL_CONTEXT_OPTION_CONTRACTS.map((entry) => entry.param),
|
|
1120
1279
|
"past",
|
|
@@ -1152,7 +1311,7 @@ const SEARCH_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
|
|
|
1152
1311
|
]);
|
|
1153
1312
|
const AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS = ["author", "message", "force"];
|
|
1154
1313
|
const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
1155
|
-
init: { optional: ["prefix", "preset", "defaults", "author", "agentGuidance", "withPackages"] },
|
|
1314
|
+
init: { optional: ["prefix", "preset", "typePreset", "defaults", "author", "agentGuidance", "withPackages", "verbose"] },
|
|
1156
1315
|
config: {
|
|
1157
1316
|
required: ["scope", "configAction"],
|
|
1158
1317
|
optional: ["key", "value", "criterion", "clearCriteria", "format", "policy"],
|
|
@@ -1167,7 +1326,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1167
1326
|
"extension-manage": { optional: ["scope", "runtimeProbe", "fixManagedState"] },
|
|
1168
1327
|
"extension-reload": { optional: ["scope", "watch"] },
|
|
1169
1328
|
"extension-doctor": { optional: ["scope", "detail", "trace", "fixManagedState", "strictExit", "failOnWarn"] },
|
|
1170
|
-
"extension-catalog": { optional: ["scope"] },
|
|
1329
|
+
"extension-catalog": { optional: ["scope", "fields"] },
|
|
1171
1330
|
"extension-adopt": { required: ["target"], optional: ["scope", "github", "ref"] },
|
|
1172
1331
|
"extension-adopt-all": { optional: ["scope"] },
|
|
1173
1332
|
"extension-activate": { required: ["target"], optional: ["scope"] },
|
|
@@ -1209,7 +1368,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1209
1368
|
"package-manage": { optional: ["scope", "runtimeProbe", "fixManagedState"] },
|
|
1210
1369
|
"package-reload": { optional: ["scope", "watch"] },
|
|
1211
1370
|
"package-doctor": { optional: ["scope", "detail", "trace", "fixManagedState", "strictExit", "failOnWarn"] },
|
|
1212
|
-
"package-catalog": { optional: ["scope"] },
|
|
1371
|
+
"package-catalog": { optional: ["scope", "fields"] },
|
|
1213
1372
|
"package-adopt": { required: ["target"], optional: ["scope", "github", "ref"] },
|
|
1214
1373
|
"package-adopt-all": { optional: ["scope"] },
|
|
1215
1374
|
"package-activate": { required: ["target"], optional: ["scope"] },
|
|
@@ -1282,9 +1441,17 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1282
1441
|
optional: ["dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS],
|
|
1283
1442
|
},
|
|
1284
1443
|
schema: {
|
|
1285
|
-
required: ["subcommand"
|
|
1286
|
-
// No --message: schema
|
|
1287
|
-
optional: ["description", "defaultStatus", "folder", "alias", "author", "force"],
|
|
1444
|
+
required: ["subcommand"],
|
|
1445
|
+
// No --message: schema mutations write config files, not item history.
|
|
1446
|
+
optional: ["name", "description", "defaultStatus", "folder", "alias", "role", "order", "author", "force"],
|
|
1447
|
+
conditionalRequired: [
|
|
1448
|
+
{ property: "subcommand", value: "show", required: ["name"] },
|
|
1449
|
+
{ property: "subcommand", value: "add-type", required: ["name"] },
|
|
1450
|
+
{ property: "subcommand", value: "remove-type", required: ["name"] },
|
|
1451
|
+
// add-status/remove-status pass the status id as `name`.
|
|
1452
|
+
{ property: "subcommand", value: "add-status", required: ["name"] },
|
|
1453
|
+
{ property: "subcommand", value: "remove-status", required: ["name"] },
|
|
1454
|
+
],
|
|
1288
1455
|
},
|
|
1289
1456
|
plan: {
|
|
1290
1457
|
required: ["subcommand"],
|
|
@@ -1348,6 +1515,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1348
1515
|
"update-many": { optional: UPDATE_MANY_CONTRACT_PARAMETER_KEYS },
|
|
1349
1516
|
normalize: { optional: NORMALIZE_CONTRACT_PARAMETER_KEYS },
|
|
1350
1517
|
close: { required: ["id", "text"], optional: ["validateClose", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
|
|
1518
|
+
"close-many": { optional: CLOSE_MANY_CONTRACT_PARAMETER_KEYS },
|
|
1351
1519
|
delete: { required: ["id"], optional: ["dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
|
|
1352
1520
|
append: { required: ["id", "body"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
|
|
1353
1521
|
comments: {
|
|
@@ -1444,6 +1612,9 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1444
1612
|
"autoPmContext",
|
|
1445
1613
|
],
|
|
1446
1614
|
},
|
|
1615
|
+
telemetry: {
|
|
1616
|
+
optional: ["subcommand", "limit"],
|
|
1617
|
+
},
|
|
1447
1618
|
"test-runs-list": {
|
|
1448
1619
|
optional: ["status", "limit"],
|
|
1449
1620
|
},
|
|
@@ -1462,7 +1633,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1462
1633
|
required: ["runId"],
|
|
1463
1634
|
optional: ["author"],
|
|
1464
1635
|
},
|
|
1465
|
-
stats: {},
|
|
1636
|
+
stats: { optional: ["storage"] },
|
|
1466
1637
|
health: {
|
|
1467
1638
|
optional: [
|
|
1468
1639
|
"strictDirectories",
|
|
@@ -1495,6 +1666,7 @@ const PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
|
|
|
1495
1666
|
"verboseDiagnostics",
|
|
1496
1667
|
"strictExit",
|
|
1497
1668
|
"failOnWarn",
|
|
1669
|
+
"fixHints",
|
|
1498
1670
|
"checkHistoryDrift",
|
|
1499
1671
|
"checkCommandReferences",
|
|
1500
1672
|
],
|
|
@@ -1579,6 +1751,19 @@ function buildActionScopedToolSchema(action) {
|
|
|
1579
1751
|
required: [...requiredFields],
|
|
1580
1752
|
}));
|
|
1581
1753
|
}
|
|
1754
|
+
if (contract.conditionalRequired && contract.conditionalRequired.length > 0) {
|
|
1755
|
+
schema.allOf = contract.conditionalRequired.map((entry) => ({
|
|
1756
|
+
if: {
|
|
1757
|
+
properties: {
|
|
1758
|
+
[entry.property]: { const: entry.value },
|
|
1759
|
+
},
|
|
1760
|
+
required: [entry.property],
|
|
1761
|
+
},
|
|
1762
|
+
then: {
|
|
1763
|
+
required: entry.required,
|
|
1764
|
+
},
|
|
1765
|
+
}));
|
|
1766
|
+
}
|
|
1582
1767
|
return schema;
|
|
1583
1768
|
}
|
|
1584
1769
|
// Building the full MCP tool-parameter schemas (one variant per action) is only
|
|
@@ -1602,11 +1787,32 @@ function createLazyContractSchema(build) {
|
|
|
1602
1787
|
},
|
|
1603
1788
|
});
|
|
1604
1789
|
}
|
|
1790
|
+
/**
|
|
1791
|
+
* Canonical version of the action-scoped strict MCP tool-parameters schema
|
|
1792
|
+
* (`PM_TOOL_PARAMETERS_SCHEMA`). Exported as the single source of truth so the
|
|
1793
|
+
* MCP server, the `pm contracts` command, SDK consumers, and the contract tests
|
|
1794
|
+
* all bind to one constant instead of re-typing the `"4.0.2"` literal (pm-r9sz).
|
|
1795
|
+
* Bump the patch/minor for additive, backward-compatible schema changes; bump
|
|
1796
|
+
* the MAJOR for breaking changes — the major also drives the `$id`
|
|
1797
|
+
* `tool-parameters-v{major}` slug, so the two never drift.
|
|
1798
|
+
*/
|
|
1799
|
+
export const PM_TOOL_PARAMETERS_SCHEMA_VERSION = "4.0.2";
|
|
1800
|
+
/**
|
|
1801
|
+
* Major component of {@link PM_TOOL_PARAMETERS_SCHEMA_VERSION}, used to build the
|
|
1802
|
+
* schema `$id` slug so a breaking version bump renames the document in lockstep.
|
|
1803
|
+
*/
|
|
1804
|
+
export const PM_TOOL_PARAMETERS_SCHEMA_MAJOR = PM_TOOL_PARAMETERS_SCHEMA_VERSION.split(".")[0];
|
|
1805
|
+
/**
|
|
1806
|
+
* Version of the provider-compatible flat tool-parameters schema
|
|
1807
|
+
* (`PM_PROVIDER_TOOL_PARAMETERS_SCHEMA`). Tracked separately from the strict
|
|
1808
|
+
* schema because the flat projection evolves independently.
|
|
1809
|
+
*/
|
|
1810
|
+
export const PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION = "1.0.0";
|
|
1605
1811
|
export const PM_TOOL_PARAMETERS_SCHEMA = createLazyContractSchema(() => ({
|
|
1606
1812
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1607
|
-
$id:
|
|
1813
|
+
$id: `https://schema.unbrained.dev/pm-cli/tool-parameters-v${PM_TOOL_PARAMETERS_SCHEMA_MAJOR}.schema.json`,
|
|
1608
1814
|
title: "pm-cli tool parameters (action-scoped strict schema)",
|
|
1609
|
-
"x-schema-version":
|
|
1815
|
+
"x-schema-version": PM_TOOL_PARAMETERS_SCHEMA_VERSION,
|
|
1610
1816
|
type: "object",
|
|
1611
1817
|
oneOf: PM_TOOL_ACTIONS.map((action) => buildActionScopedToolSchema(action)),
|
|
1612
1818
|
}));
|
|
@@ -1647,7 +1853,7 @@ function buildProviderCompatibleToolSchema() {
|
|
|
1647
1853
|
}
|
|
1648
1854
|
return {
|
|
1649
1855
|
title: "pm-cli tool parameters (provider-compatible flat schema)",
|
|
1650
|
-
"x-schema-version":
|
|
1856
|
+
"x-schema-version": PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,
|
|
1651
1857
|
type: "object",
|
|
1652
1858
|
additionalProperties: false,
|
|
1653
1859
|
required: ["action"],
|
|
@@ -1656,4 +1862,4 @@ function buildProviderCompatibleToolSchema() {
|
|
|
1656
1862
|
}
|
|
1657
1863
|
export const PM_PROVIDER_TOOL_PARAMETERS_SCHEMA = createLazyContractSchema(buildProviderCompatibleToolSchema);
|
|
1658
1864
|
//# sourceMappingURL=cli-contracts.js.map
|
|
1659
|
-
//# debugId=
|
|
1865
|
+
//# debugId=ed7e453d-9d75-5c91-8de4-990f9ddf155d
|