@unbrained/pm-cli 2026.6.5 → 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 +40 -0
- package/CONTRIBUTING.md +1 -0
- package/README.md +12 -4
- package/dist/cli/commands/completion.js +21 -7
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/contracts.js +5 -3
- package/dist/cli/commands/contracts.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/health.js +15 -2
- 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 +1 -0
- package/dist/cli/commands/index.js +3 -2
- package/dist/cli/commands/index.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/help-content.js +11 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/register-list-query.js +7 -4
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-operations.js +29 -6
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-CVXTCHYY.js +16 -0
- package/dist/cli-bundle/chunks/{activity-3RWRRNOW.js → activity-JM6DTDND.js} +11 -11
- package/dist/cli-bundle/chunks/{aggregate-J35K7WZB.js → aggregate-GI7WSZPH.js} +10 -10
- package/dist/cli-bundle/chunks/{aggregate-OOAGKWRG.js → aggregate-VNAHUNNF.js} +10 -10
- package/dist/cli-bundle/chunks/{append-5JE3YGXU.js → append-7H5N64R2.js} +8 -8
- package/dist/cli-bundle/chunks/{append-PNN6UIBZ.js → append-WMKRXKCE.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-D5X7N6FI.js → chunk-23YFZ3IG.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-FVXM3GKS.js → chunk-2HVRUSQA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-V3JQ4IPL.js → chunk-2RSPZI5H.js} +102 -22
- package/dist/cli-bundle/chunks/chunk-2RSPZI5H.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SZQCER6S.js → chunk-2VBQ6ZXS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-A6PEXMYN.js → chunk-2VVCGBNV.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-UOVLWB47.js → chunk-3BWOVLTH.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-5IRA6IYD.js → chunk-3FI4SEFT.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-3OH4DAEB.js → chunk-3LB74A67.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-GFWHHMVV.js → chunk-3VAM3NNM.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4QCR4QW3.js → chunk-4LL6TK5B.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-TBQVUNVH.js → chunk-52MAOQ6J.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-5KB4X7YY.js → chunk-5FDATVEZ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-4LTBNUYT.js → chunk-5SFCOO6B.js} +76 -7
- package/dist/cli-bundle/chunks/{chunk-4LTBNUYT.js.map → chunk-5SFCOO6B.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-GCAVRLGE.js → chunk-6ER6DXH5.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-26KTVXJW.js → chunk-6P6GGMOG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MISYRLEP.js → chunk-77GFDHGF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HPH6X4ZZ.js → chunk-AO442XLN.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ORTLYVA4.js → chunk-AY43SBIN.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-D3WUNETC.js → chunk-BQHUILZS.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-KCMIYKTA.js → chunk-E5FJNAZA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OIQIXTNB.js → chunk-ECCMVXGM.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-5PAOPUZX.js → chunk-FRAUKRU2.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-JQI2HE55.js → chunk-GCOQW437.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CWT53EYT.js → chunk-GGYWB3Y2.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-ATBVS6WW.js → chunk-GU2ZJ2VV.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-ASQM3IF5.js → chunk-GXSUPCBV.js} +5 -4
- package/dist/cli-bundle/chunks/{chunk-SSFMJCPF.js → chunk-HZGUAH22.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GPGAYASV.js → chunk-I2HSTRJF.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-RQAWLSUU.js → chunk-I6BNFU5X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-OUF3ARDX.js → chunk-IJGCZSIQ.js} +12 -12
- 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-XX5LRINW.js → chunk-KAG77BY3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BNL6S7QH.js → chunk-KJ33AOCY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4PJQSECJ.js → chunk-KJE2FOS4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GNHVV4SY.js → chunk-KWU6HG75.js} +37 -14
- package/dist/cli-bundle/chunks/chunk-KWU6HG75.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KBG47ZOY.js → chunk-LB3RUL2N.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-HZOS2UG5.js → chunk-LCM63IXU.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VGO2T3TY.js → chunk-ME2YH6FN.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-ZRVSMOMR.js → chunk-MITFDD35.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-Y2AKE2HS.js → chunk-N7ACFE26.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-AXXKLVTW.js → chunk-NUZ5HKR4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KK6YPGH3.js → chunk-OVQCEJPG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-B3N4TKNL.js → chunk-OZ7NSQHL.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-TK633IVD.js → chunk-PDDFYW4X.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-DFIZGAI5.js → chunk-PIU6RSL3.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-O5IBJE6S.js → chunk-PO3GSVFV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WIKR7KFL.js → chunk-PRJCELV4.js} +108 -21
- package/dist/cli-bundle/chunks/chunk-PRJCELV4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZQ4F6EC4.js → chunk-PROOHX4K.js} +38 -15
- package/dist/cli-bundle/chunks/chunk-PROOHX4K.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-N5YF3VFN.js → chunk-Q7SPNHLW.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-RANZIID5.js → chunk-QO7EBBOM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LDJK7SHN.js → chunk-R6UFP2GE.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-CCUFLH4J.js → chunk-RWPSOIEE.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-UFCG3SWR.js → chunk-RZN6VURO.js} +3 -3
- 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-KA24HME7.js → chunk-T3LC5LKB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NQP3ECKF.js → chunk-TCD3R2PF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-EHXPIKKP.js → chunk-TPH5XEVD.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-SRVKTWPR.js → chunk-U5SXYXSY.js} +75 -6
- package/dist/cli-bundle/chunks/{chunk-SRVKTWPR.js.map → chunk-U5SXYXSY.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-T2ORWB6D.js → chunk-UBOPJT3S.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-S3CV7JGJ.js → chunk-UM2GBHS4.js} +5 -4
- package/dist/cli-bundle/chunks/{chunk-G5BACLYH.js → chunk-W7XABV4H.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-K47WAYQV.js → chunk-WKY2IBOQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7K24QB23.js → chunk-WOPXVEZP.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-DFUSXJDE.js → chunk-WSMOSYRD.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-CJDQB2ED.js → chunk-XLTD2HN3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TQ3ZK6VD.js → chunk-XSJCLN2R.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-XG7RJYHV.js → chunk-XTGLRY2Y.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-JB4RGL4V.js → chunk-YL2DJGYS.js} +7 -7
- package/dist/cli-bundle/chunks/{claim-AZLP7YFO.js → claim-4DBF6RVG.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-ZFA7HKU4.js → claim-X2P4IB7J.js} +10 -10
- package/dist/cli-bundle/chunks/close-3HDWDA3L.js +13 -0
- package/dist/cli-bundle/chunks/{close-65DFYAVS.js → close-PTYFA45H.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-UKZSQGM7.js → close-many-7CGIDPTJ.js} +15 -15
- package/dist/cli-bundle/chunks/{close-many-AKPZNSGI.js → close-many-ERFO6LHR.js} +15 -15
- package/dist/cli-bundle/chunks/{comments-CJWXQI7X.js → comments-OONGABK5.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-AGBNSJJH.js → comments-QKBYCWKD.js} +10 -10
- package/dist/cli-bundle/chunks/{config-DDPYIA6J.js → config-6FXCQKIF.js} +8 -8
- package/dist/cli-bundle/chunks/{config-5ON3ADRH.js → config-U4RZ4CQB.js} +8 -8
- package/dist/cli-bundle/chunks/{context-E6U3DWVM.js → context-FYYJGFWS.js} +13 -13
- package/dist/cli-bundle/chunks/{context-ZOJEN5VT.js → context-YMJ3Z2HQ.js} +13 -13
- package/dist/cli-bundle/chunks/{contracts-LCSX5R53.js → contracts-QDB6OMLQ.js} +10 -6
- package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-CXSFM45B.js → contracts-RFSPGVVJ.js} +9 -5
- package/dist/cli-bundle/chunks/{contracts-LCSX5R53.js.map → contracts-RFSPGVVJ.js.map} +7 -1
- package/dist/cli-bundle/chunks/{create-WYFKN2U4.js → create-I5L4EYYZ.js} +13 -13
- package/dist/cli-bundle/chunks/create-JTZNCTQC.js +27 -0
- package/dist/cli-bundle/chunks/{delete-ZXWC56WO.js → delete-7HPGI4GZ.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-RONNH4F4.js → delete-VXUPH5RS.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-WII3O4HB.js → deps-JSRRWC3Z.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-EHXIFOZR.js → deps-SCZIFK2Z.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-PDREIMLS.js → docs-GJK6K4VP.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-JMVCFNHH.js → docs-WW4N3MBM.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-G6UXSM5S.js → extension-J7IBMFTD.js} +4 -4
- package/dist/cli-bundle/chunks/{extension-B4ROVWJD.js → extension-VDY2U33M.js} +4 -4
- package/dist/cli-bundle/chunks/{files-2PN7UM2D.js → files-ISZJGILQ.js} +9 -9
- package/dist/cli-bundle/chunks/{files-MXYS5W4M.js → files-WKOD326U.js} +9 -9
- 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-WXMLRG7M.js → get-RV37HT3G.js} +10 -10
- package/dist/cli-bundle/chunks/{get-CINFEUIY.js → get-WXU6WI5P.js} +10 -10
- package/dist/cli-bundle/chunks/{health-IT5DBPRJ.js → health-6L6EH4WR.js} +26 -13
- package/dist/cli-bundle/chunks/health-6L6EH4WR.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-5VPOJQ53.js → health-LOI2HHKB.js} +27 -14
- 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-FLZIP7PM.js → history-PKN67D5O.js} +10 -10
- package/dist/cli-bundle/chunks/history-redact-JBZNXHGR.js +19 -0
- package/dist/cli-bundle/chunks/{history-redact-SSZBAD76.js → history-redact-V4FOJGS7.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-KC5ZOJRZ.js → history-repair-HIBCBIKK.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-X7CO5JJZ.js → history-repair-SDMHR7JT.js} +11 -11
- package/dist/cli-bundle/chunks/init-HIVSNX3O.js +16 -0
- package/dist/cli-bundle/chunks/{init-6MRFVOLH.js → init-P56QYWJF.js} +8 -8
- package/dist/cli-bundle/chunks/{learnings-DCX55BNX.js → learnings-GDFRG5J7.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-A3CLB5CO.js → learnings-MIXSESLK.js} +10 -10
- package/dist/cli-bundle/chunks/{list-DBRECOG4.js → list-FGOWQMSM.js} +10 -10
- package/dist/cli-bundle/chunks/list-MUSQNMTD.js +20 -0
- package/dist/cli-bundle/chunks/{notes-42LIC3UE.js → notes-4XVSH2AZ.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-P5O3VMQ3.js → notes-5UK3GEH2.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-IGTE3WOJ.js → plan-DUMBV3QB.js} +13 -13
- package/dist/cli-bundle/chunks/{plan-HDQXEUKD.js → plan-SLMODHWX.js} +13 -13
- package/dist/cli-bundle/chunks/{register-list-query-EMNSIUO4.js → register-list-query-POCFZ5JW.js} +24 -22
- package/dist/cli-bundle/chunks/{register-list-query-EMNSIUO4.js.map → register-list-query-POCFZ5JW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-list-query-AG3XKXWL.js → register-list-query-WST76HSQ.js} +23 -21
- package/dist/cli-bundle/chunks/{register-list-query-AG3XKXWL.js.map → register-list-query-WST76HSQ.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-M3YS6XDO.js → register-mutation-N5GSUZJV.js} +30 -30
- package/dist/cli-bundle/chunks/{register-mutation-RSMT6DPK.js → register-mutation-OA675SOU.js} +30 -30
- package/dist/cli-bundle/chunks/{register-operations-KYUOOOOD.js → register-operations-GNHBE5I3.js} +47 -34
- package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-Q54JQZUN.js → register-operations-N3PMHXH5.js} +46 -33
- package/dist/cli-bundle/chunks/{register-operations-Q54JQZUN.js.map → register-operations-N3PMHXH5.js.map} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-DI6P7X75.js → register-setup-JIMPKJKV.js} +15 -15
- package/dist/cli-bundle/chunks/{register-setup-YJKIQRKA.js → register-setup-ZHJI2DI3.js} +15 -15
- package/dist/cli-bundle/chunks/restore-D4RGNX33.js +17 -0
- package/dist/cli-bundle/chunks/{restore-2XVTBLKQ.js → restore-PBL6T5TW.js} +11 -11
- package/dist/cli-bundle/chunks/{schema-V6BX65Q2.js → schema-2NOO6NGB.js} +8 -8
- package/dist/cli-bundle/chunks/{schema-LVXZWFGY.js → schema-EBI4NLUO.js} +8 -8
- package/dist/cli-bundle/chunks/{search-C7NPB7G7.js → search-JPUQTVCY.js} +10 -10
- package/dist/cli-bundle/chunks/{search-5A3BMFA7.js → search-OA6JX27A.js} +10 -10
- 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-RJ4ZF35X.js → test-MXX3E5JL.js} +13 -13
- package/dist/cli-bundle/chunks/{test-OFYONO3C.js → test-WBROAJIE.js} +13 -13
- package/dist/cli-bundle/chunks/{test-all-OJE6CIO7.js → test-all-N6NSRDTV.js} +13 -13
- package/dist/cli-bundle/chunks/{test-all-EEMKNTGU.js → test-all-NTOZ7C3M.js} +13 -13
- package/dist/cli-bundle/chunks/{test-runs-IPOPFOAF.js → test-runs-V6A7LPWZ.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-L2M7WKH7.js → test-runs-WMVTQU3Y.js} +5 -5
- package/dist/cli-bundle/chunks/update-OSV3NAQB.js +25 -0
- package/dist/cli-bundle/chunks/update-YRXSUGYQ.js +21 -0
- package/dist/cli-bundle/chunks/{update-many-DYWGW57M.js → update-many-EM6OXYGO.js} +22 -22
- package/dist/cli-bundle/chunks/{update-many-322CCH2L.js → update-many-KGGEYABR.js} +22 -22
- package/dist/cli-bundle/chunks/{upgrade-2U727SAM.js → upgrade-BLI7XBAJ.js} +4 -4
- package/dist/cli-bundle/chunks/{upgrade-3W3RVSNM.js → upgrade-LXPOQKFV.js} +4 -4
- package/dist/cli-bundle/chunks/{validate-ZFVWPEEN.js → validate-AGOAUOVW.js} +15 -15
- package/dist/cli-bundle/chunks/{validate-GZ24NYHO.js → validate-L5J6A7YO.js} +15 -15
- package/dist/cli-bundle/main.js +42 -1451
- package/dist/cli-bundle/main.js.map +4 -4
- 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/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/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/store/settings.d.ts +19 -1
- package/dist/core/store/settings.js +92 -7
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/observability.js +3 -3
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.js +16 -4
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +155 -37
- package/dist/mcp/server.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts/enum-contracts.js +4 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +10 -7
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +23 -0
- package/dist/sdk/cli-contracts.js +41 -7
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/docs/AGENT_GUIDE.md +1 -1
- package/docs/ARCHITECTURE.md +11 -1
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +33 -2
- package/docs/CONFIGURATION.md +9 -1
- package/docs/EXTENSIONS.md +7 -0
- package/docs/EXTENSION_AUTHOR_CONTRACTS.md +73 -0
- package/docs/ONBOARDING.md +165 -0
- package/docs/QUICKSTART.md +1 -1
- package/docs/README.md +12 -4
- package/docs/RELEASING.md +36 -1
- package/docs/TESTING.md +19 -1
- package/package.json +5 -2
- 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/dist/cli-bundle/chunks/activity-P5BUMWP3.js +0 -16
- package/dist/cli-bundle/chunks/chunk-GNHVV4SY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-V3JQ4IPL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-WIKR7KFL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ZQ4F6EC4.js.map +0 -7
- package/dist/cli-bundle/chunks/close-RMHQ3KWH.js +0 -13
- package/dist/cli-bundle/chunks/contracts-CXSFM45B.js.map +0 -7
- package/dist/cli-bundle/chunks/create-ATONSAZW.js +0 -27
- package/dist/cli-bundle/chunks/gc-GT552UJH.js +0 -178
- package/dist/cli-bundle/chunks/gc-GT552UJH.js.map +0 -1
- package/dist/cli-bundle/chunks/gc-QNBRJG6H.js +0 -181
- package/dist/cli-bundle/chunks/gc-QNBRJG6H.js.map +0 -7
- package/dist/cli-bundle/chunks/health-5VPOJQ53.js.map +0 -1
- package/dist/cli-bundle/chunks/health-IT5DBPRJ.js.map +0 -7
- package/dist/cli-bundle/chunks/history-6FC4H6HI.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-XKYEZDBL.js +0 -19
- package/dist/cli-bundle/chunks/init-KHX3FEEM.js +0 -16
- package/dist/cli-bundle/chunks/list-53LZ2AEO.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-KYUOOOOD.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-JL5QIH7H.js +0 -17
- package/dist/cli-bundle/chunks/stats-FNLYVXTB.js +0 -120
- package/dist/cli-bundle/chunks/stats-FNLYVXTB.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-Y2CBTZSL.js +0 -123
- package/dist/cli-bundle/chunks/stats-Y2CBTZSL.js.map +0 -7
- package/dist/cli-bundle/chunks/update-6YEHPVXH.js +0 -25
- package/dist/cli-bundle/chunks/update-PYLVHMRD.js +0 -21
- /package/dist/cli-bundle/chunks/{activity-P5BUMWP3.js.map → activity-CVXTCHYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-3RWRRNOW.js.map → activity-JM6DTDND.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-J35K7WZB.js.map → aggregate-GI7WSZPH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-OOAGKWRG.js.map → aggregate-VNAHUNNF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-5JE3YGXU.js.map → append-7H5N64R2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-PNN6UIBZ.js.map → append-WMKRXKCE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D5X7N6FI.js.map → chunk-23YFZ3IG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FVXM3GKS.js.map → chunk-2HVRUSQA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SZQCER6S.js.map → chunk-2VBQ6ZXS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A6PEXMYN.js.map → chunk-2VVCGBNV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UOVLWB47.js.map → chunk-3BWOVLTH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5IRA6IYD.js.map → chunk-3FI4SEFT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3OH4DAEB.js.map → chunk-3LB74A67.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GFWHHMVV.js.map → chunk-3VAM3NNM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4QCR4QW3.js.map → chunk-4LL6TK5B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TBQVUNVH.js.map → chunk-52MAOQ6J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5KB4X7YY.js.map → chunk-5FDATVEZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GCAVRLGE.js.map → chunk-6ER6DXH5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-26KTVXJW.js.map → chunk-6P6GGMOG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MISYRLEP.js.map → chunk-77GFDHGF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HPH6X4ZZ.js.map → chunk-AO442XLN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ORTLYVA4.js.map → chunk-AY43SBIN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-D3WUNETC.js.map → chunk-BQHUILZS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KCMIYKTA.js.map → chunk-E5FJNAZA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OIQIXTNB.js.map → chunk-ECCMVXGM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5PAOPUZX.js.map → chunk-FRAUKRU2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JQI2HE55.js.map → chunk-GCOQW437.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CWT53EYT.js.map → chunk-GGYWB3Y2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ATBVS6WW.js.map → chunk-GU2ZJ2VV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ASQM3IF5.js.map → chunk-GXSUPCBV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SSFMJCPF.js.map → chunk-HZGUAH22.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GPGAYASV.js.map → chunk-I2HSTRJF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RQAWLSUU.js.map → chunk-I6BNFU5X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OUF3ARDX.js.map → chunk-IJGCZSIQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XX5LRINW.js.map → chunk-KAG77BY3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BNL6S7QH.js.map → chunk-KJ33AOCY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4PJQSECJ.js.map → chunk-KJE2FOS4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KBG47ZOY.js.map → chunk-LB3RUL2N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HZOS2UG5.js.map → chunk-LCM63IXU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VGO2T3TY.js.map → chunk-ME2YH6FN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZRVSMOMR.js.map → chunk-MITFDD35.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y2AKE2HS.js.map → chunk-N7ACFE26.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AXXKLVTW.js.map → chunk-NUZ5HKR4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KK6YPGH3.js.map → chunk-OVQCEJPG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-B3N4TKNL.js.map → chunk-OZ7NSQHL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TK633IVD.js.map → chunk-PDDFYW4X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DFIZGAI5.js.map → chunk-PIU6RSL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-O5IBJE6S.js.map → chunk-PO3GSVFV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N5YF3VFN.js.map → chunk-Q7SPNHLW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RANZIID5.js.map → chunk-QO7EBBOM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LDJK7SHN.js.map → chunk-R6UFP2GE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CCUFLH4J.js.map → chunk-RWPSOIEE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UFCG3SWR.js.map → chunk-RZN6VURO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KA24HME7.js.map → chunk-T3LC5LKB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NQP3ECKF.js.map → chunk-TCD3R2PF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EHXPIKKP.js.map → chunk-TPH5XEVD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T2ORWB6D.js.map → chunk-UBOPJT3S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S3CV7JGJ.js.map → chunk-UM2GBHS4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-G5BACLYH.js.map → chunk-W7XABV4H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-K47WAYQV.js.map → chunk-WKY2IBOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7K24QB23.js.map → chunk-WOPXVEZP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DFUSXJDE.js.map → chunk-WSMOSYRD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CJDQB2ED.js.map → chunk-XLTD2HN3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TQ3ZK6VD.js.map → chunk-XSJCLN2R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XG7RJYHV.js.map → chunk-XTGLRY2Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JB4RGL4V.js.map → chunk-YL2DJGYS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-AZLP7YFO.js.map → claim-4DBF6RVG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-ZFA7HKU4.js.map → claim-X2P4IB7J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-RMHQ3KWH.js.map → close-3HDWDA3L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-65DFYAVS.js.map → close-PTYFA45H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-UKZSQGM7.js.map → close-many-7CGIDPTJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-AKPZNSGI.js.map → close-many-ERFO6LHR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-CJWXQI7X.js.map → comments-OONGABK5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-AGBNSJJH.js.map → comments-QKBYCWKD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-DDPYIA6J.js.map → config-6FXCQKIF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-5ON3ADRH.js.map → config-U4RZ4CQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-E6U3DWVM.js.map → context-FYYJGFWS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-ZOJEN5VT.js.map → context-YMJ3Z2HQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-WYFKN2U4.js.map → create-I5L4EYYZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-ATONSAZW.js.map → create-JTZNCTQC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ZXWC56WO.js.map → delete-7HPGI4GZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-RONNH4F4.js.map → delete-VXUPH5RS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-WII3O4HB.js.map → deps-JSRRWC3Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-EHXIFOZR.js.map → deps-SCZIFK2Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-PDREIMLS.js.map → docs-GJK6K4VP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-JMVCFNHH.js.map → docs-WW4N3MBM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-G6UXSM5S.js.map → extension-J7IBMFTD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-B4ROVWJD.js.map → extension-VDY2U33M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-2PN7UM2D.js.map → files-ISZJGILQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-MXYS5W4M.js.map → files-WKOD326U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-WXMLRG7M.js.map → get-RV37HT3G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-CINFEUIY.js.map → get-WXU6WI5P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-6FC4H6HI.js.map → history-2BA3T5AE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-FLZIP7PM.js.map → history-PKN67D5O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-XKYEZDBL.js.map → history-redact-JBZNXHGR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-SSZBAD76.js.map → history-redact-V4FOJGS7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-KC5ZOJRZ.js.map → history-repair-HIBCBIKK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-X7CO5JJZ.js.map → history-repair-SDMHR7JT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-KHX3FEEM.js.map → init-HIVSNX3O.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-6MRFVOLH.js.map → init-P56QYWJF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-DCX55BNX.js.map → learnings-GDFRG5J7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-A3CLB5CO.js.map → learnings-MIXSESLK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-DBRECOG4.js.map → list-FGOWQMSM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-53LZ2AEO.js.map → list-MUSQNMTD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-42LIC3UE.js.map → notes-4XVSH2AZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-P5O3VMQ3.js.map → notes-5UK3GEH2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-IGTE3WOJ.js.map → plan-DUMBV3QB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-HDQXEUKD.js.map → plan-SLMODHWX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-M3YS6XDO.js.map → register-mutation-N5GSUZJV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-mutation-RSMT6DPK.js.map → register-mutation-OA675SOU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-DI6P7X75.js.map → register-setup-JIMPKJKV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-YJKIQRKA.js.map → register-setup-ZHJI2DI3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-JL5QIH7H.js.map → restore-D4RGNX33.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-2XVTBLKQ.js.map → restore-PBL6T5TW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-V6BX65Q2.js.map → schema-2NOO6NGB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-LVXZWFGY.js.map → schema-EBI4NLUO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-C7NPB7G7.js.map → search-JPUQTVCY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-5A3BMFA7.js.map → search-OA6JX27A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-RJ4ZF35X.js.map → test-MXX3E5JL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-OFYONO3C.js.map → test-WBROAJIE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-OJE6CIO7.js.map → test-all-N6NSRDTV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-EEMKNTGU.js.map → test-all-NTOZ7C3M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-IPOPFOAF.js.map → test-runs-V6A7LPWZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-L2M7WKH7.js.map → test-runs-WMVTQU3Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-6YEHPVXH.js.map → update-OSV3NAQB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-PYLVHMRD.js.map → update-YRXSUGYQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-DYWGW57M.js.map → update-many-EM6OXYGO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-322CCH2L.js.map → update-many-KGGEYABR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-2U727SAM.js.map → upgrade-BLI7XBAJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-3W3RVSNM.js.map → upgrade-LXPOQKFV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{validate-ZFVWPEEN.js.map → validate-AGOAUOVW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{validate-GZ24NYHO.js.map → validate-L5J6A7YO.js.map} +0 -0
package/dist/cli-bundle/chunks/{register-mutation-M3YS6XDO.js → register-mutation-N5GSUZJV.js}
RENAMED
|
@@ -8,27 +8,27 @@ import {
|
|
|
8
8
|
invalidateSearchCachesForMutation,
|
|
9
9
|
normalizeCreateOptions,
|
|
10
10
|
normalizeUpdateOptions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WOPXVEZP.js";
|
|
12
12
|
import {
|
|
13
13
|
CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
|
|
14
14
|
UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-KWU6HG75.js";
|
|
16
|
+
import "./chunk-4LL6TK5B.js";
|
|
17
17
|
import {
|
|
18
18
|
printError,
|
|
19
19
|
printResult,
|
|
20
20
|
writeStdout
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-NUZ5HKR4.js";
|
|
22
|
+
import "./chunk-GGYWB3Y2.js";
|
|
23
|
+
import "./chunk-HZGUAH22.js";
|
|
24
|
+
import "./chunk-LB3RUL2N.js";
|
|
25
|
+
import "./chunk-2VBQ6ZXS.js";
|
|
26
|
+
import "./chunk-TCD3R2PF.js";
|
|
27
27
|
import {
|
|
28
28
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
29
29
|
EXIT_CODE,
|
|
30
30
|
PmCliError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5SFCOO6B.js";
|
|
32
32
|
|
|
33
33
|
// dist/cli/register-mutation.js
|
|
34
34
|
import { Option } from "commander";
|
|
@@ -143,7 +143,7 @@ function registerMutationCommands(program) {
|
|
|
143
143
|
options.title = positionalTitle;
|
|
144
144
|
}
|
|
145
145
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
146
|
-
const { runCreate } = await import("./create-
|
|
146
|
+
const { runCreate } = await import("./create-I5L4EYYZ.js");
|
|
147
147
|
const result = await runCreate(normalized, globalOptions);
|
|
148
148
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
149
149
|
printResult(result, globalOptions);
|
|
@@ -159,7 +159,7 @@ function registerMutationCommands(program) {
|
|
|
159
159
|
updateCommand.action(async (id, options, command) => {
|
|
160
160
|
const globalOptions = getGlobalOptions(command);
|
|
161
161
|
const startedAt = Date.now();
|
|
162
|
-
const { runUpdate } = await import("./update-
|
|
162
|
+
const { runUpdate } = await import("./update-OSV3NAQB.js");
|
|
163
163
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
164
164
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
165
165
|
printResult(result, globalOptions);
|
|
@@ -199,7 +199,7 @@ function registerMutationCommands(program) {
|
|
|
199
199
|
updateManyCommand.action(async (options, command) => {
|
|
200
200
|
const globalOptions = getGlobalOptions(command);
|
|
201
201
|
const startedAt = Date.now();
|
|
202
|
-
const { runUpdateMany } = await import("./update-many-
|
|
202
|
+
const { runUpdateMany } = await import("./update-many-EM6OXYGO.js");
|
|
203
203
|
const result = await runUpdateMany({
|
|
204
204
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
205
205
|
list: {
|
|
@@ -239,7 +239,7 @@ function registerMutationCommands(program) {
|
|
|
239
239
|
closeCommand.action(async (id, text, options, command) => {
|
|
240
240
|
const globalOptions = getGlobalOptions(command);
|
|
241
241
|
const startedAt = Date.now();
|
|
242
|
-
const { runClose } = await import("./close-
|
|
242
|
+
const { runClose } = await import("./close-PTYFA45H.js");
|
|
243
243
|
const reasonFromOption = typeof options.reason === "string" && options.reason.trim().length > 0 && options.reason || typeof options.closeReason === "string" && options.closeReason.trim().length > 0 && options.closeReason || void 0;
|
|
244
244
|
const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
|
|
245
245
|
if (typeof resolvedText !== "string" || resolvedText.length === 0) {
|
|
@@ -293,7 +293,7 @@ function registerMutationCommands(program) {
|
|
|
293
293
|
}
|
|
294
294
|
return void 0;
|
|
295
295
|
};
|
|
296
|
-
const { runCloseMany } = await import("./close-many-
|
|
296
|
+
const { runCloseMany } = await import("./close-many-ERFO6LHR.js");
|
|
297
297
|
const result = await runCloseMany({
|
|
298
298
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
299
299
|
list: {
|
|
@@ -336,7 +336,7 @@ function registerMutationCommands(program) {
|
|
|
336
336
|
program.command("delete").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").option("--dry-run", "Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(async (id, options, command) => {
|
|
337
337
|
const globalOptions = getGlobalOptions(command);
|
|
338
338
|
const startedAt = Date.now();
|
|
339
|
-
const { runDelete } = await import("./delete-
|
|
339
|
+
const { runDelete } = await import("./delete-7HPGI4GZ.js");
|
|
340
340
|
const result = await runDelete(id, {
|
|
341
341
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
342
342
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -365,7 +365,7 @@ function registerMutationCommands(program) {
|
|
|
365
365
|
if (resolvedBody === void 0) {
|
|
366
366
|
throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
|
|
367
367
|
}
|
|
368
|
-
const { runAppend } = await import("./append-
|
|
368
|
+
const { runAppend } = await import("./append-WMKRXKCE.js");
|
|
369
369
|
const result = await runAppend(id, {
|
|
370
370
|
body: resolvedBody,
|
|
371
371
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -381,7 +381,7 @@ function registerMutationCommands(program) {
|
|
|
381
381
|
program.command("restore").argument("<id>", "Item id").argument("<target>", "Restore target timestamp or version number").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership/lock override").description("Restore an item to an earlier timestamp or version.").action(async (id, target, options, command) => {
|
|
382
382
|
const globalOptions = getGlobalOptions(command);
|
|
383
383
|
const startedAt = Date.now();
|
|
384
|
-
const { runRestore } = await import("./restore-
|
|
384
|
+
const { runRestore } = await import("./restore-PBL6T5TW.js");
|
|
385
385
|
const result = await runRestore(id, target, {
|
|
386
386
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
387
387
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -430,7 +430,7 @@ function registerMutationCommands(program) {
|
|
|
430
430
|
planCommand.action(async (subcommand, id, stepRef, reorderToken, options, command) => {
|
|
431
431
|
const globalOptions = getGlobalOptions(command);
|
|
432
432
|
const startedAt = Date.now();
|
|
433
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
433
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-DUMBV3QB.js");
|
|
434
434
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
435
435
|
if (!normalizedSubcommand) {
|
|
436
436
|
throw new PmCliError(`pm plan requires a subcommand. Allowed: ${PLAN_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
|
|
@@ -511,7 +511,7 @@ function registerMutationCommands(program) {
|
|
|
511
511
|
program.command("history-redact").argument("<id>", "Item id").option("--literal <value>", "Literal string to redact (repeatable)", collect).option("--regex <value>", "Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)", collect).option("--replacement <value>", 'Replacement string (default: "[redacted]")').option("--dry-run", "Preview redaction impact without writing item/history files").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the redaction marker entry").option("--force", "Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async (id, options, command) => {
|
|
512
512
|
const globalOptions = getGlobalOptions(command);
|
|
513
513
|
const startedAt = Date.now();
|
|
514
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
514
|
+
const { runHistoryRedact } = await import("./history-redact-V4FOJGS7.js");
|
|
515
515
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
516
516
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
517
517
|
const result = await runHistoryRedact(id, {
|
|
@@ -534,7 +534,7 @@ function registerMutationCommands(program) {
|
|
|
534
534
|
program.command("history-repair").argument("<id>", "Item id").option("--dry-run", "Preview the re-anchor impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the repair marker entry").option("--force", "Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker.").action(async (id, options, command) => {
|
|
535
535
|
const globalOptions = getGlobalOptions(command);
|
|
536
536
|
const startedAt = Date.now();
|
|
537
|
-
const { runHistoryRepair } = await import("./history-repair-
|
|
537
|
+
const { runHistoryRepair } = await import("./history-repair-SDMHR7JT.js");
|
|
538
538
|
const result = await runHistoryRepair(id, {
|
|
539
539
|
dryRun: options.dryRun === true,
|
|
540
540
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -551,7 +551,7 @@ function registerMutationCommands(program) {
|
|
|
551
551
|
schemaCommand.action(async (subcommand, name, options, command) => {
|
|
552
552
|
const globalOptions = getGlobalOptions(command);
|
|
553
553
|
const startedAt = Date.now();
|
|
554
|
-
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-
|
|
554
|
+
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-EBI4NLUO.js");
|
|
555
555
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
556
556
|
let typeName = name;
|
|
557
557
|
if (!normalizedSubcommand) {
|
|
@@ -640,7 +640,7 @@ function registerMutationCommands(program) {
|
|
|
640
640
|
throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
|
|
641
641
|
}
|
|
642
642
|
const add = addFromOption ?? addFromPositional;
|
|
643
|
-
const { runComments } = await import("./comments-
|
|
643
|
+
const { runComments } = await import("./comments-OONGABK5.js");
|
|
644
644
|
const result = await runComments(id, {
|
|
645
645
|
add,
|
|
646
646
|
stdin: readFromStdin,
|
|
@@ -668,7 +668,7 @@ function registerMutationCommands(program) {
|
|
|
668
668
|
throw new PmCliError("Specify note text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
669
669
|
}
|
|
670
670
|
const add = addFromOption ?? addFromPositional;
|
|
671
|
-
const { runNotes } = await import("./notes-
|
|
671
|
+
const { runNotes } = await import("./notes-5UK3GEH2.js");
|
|
672
672
|
const result = await runNotes(id, {
|
|
673
673
|
add,
|
|
674
674
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -694,7 +694,7 @@ function registerMutationCommands(program) {
|
|
|
694
694
|
throw new PmCliError("Specify learning text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
695
695
|
}
|
|
696
696
|
const add = addFromOption ?? addFromPositional;
|
|
697
|
-
const { runLearnings } = await import("./learnings-
|
|
697
|
+
const { runLearnings } = await import("./learnings-GDFRG5J7.js");
|
|
698
698
|
const result = await runLearnings(id, {
|
|
699
699
|
add,
|
|
700
700
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -719,7 +719,7 @@ function registerMutationCommands(program) {
|
|
|
719
719
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
720
720
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
721
721
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
722
|
-
const { runFiles } = await import("./files-
|
|
722
|
+
const { runFiles } = await import("./files-ISZJGILQ.js");
|
|
723
723
|
const result = await runFiles(id, {
|
|
724
724
|
add: addValues,
|
|
725
725
|
addGlob: addGlobValues,
|
|
@@ -744,7 +744,7 @@ function registerMutationCommands(program) {
|
|
|
744
744
|
filesCommand.command("discover").argument("<id>", "Item id").option("--apply", "Add discovered missing files to the item").option("--note <value>", "Note to attach to discovered file links").option("--append-stable", "Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(async (id, options, command) => {
|
|
745
745
|
const globalOptions = getGlobalOptions(command);
|
|
746
746
|
const startedAt = Date.now();
|
|
747
|
-
const { runFilesDiscover } = await import("./files-
|
|
747
|
+
const { runFilesDiscover } = await import("./files-ISZJGILQ.js");
|
|
748
748
|
const result = await runFilesDiscover(id, {
|
|
749
749
|
apply: Boolean(options.apply),
|
|
750
750
|
note: typeof options.note === "string" ? options.note : void 0,
|
|
@@ -768,7 +768,7 @@ function registerMutationCommands(program) {
|
|
|
768
768
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
769
769
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
770
770
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
771
|
-
const { runDocs } = await import("./docs-
|
|
771
|
+
const { runDocs } = await import("./docs-GJK6K4VP.js");
|
|
772
772
|
const result = await runDocs(id, {
|
|
773
773
|
add: addValues,
|
|
774
774
|
addGlob: addGlobValues,
|
|
@@ -792,7 +792,7 @@ function registerMutationCommands(program) {
|
|
|
792
792
|
program.command("deps").argument("<id>", "Item id").option("--format <value>", "Output format (tree or graph)", "tree").option("--max-depth <value>", "Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>", "Collapse mode (none or repeated)", "none").option("--summary", "Return counts only without full tree/graph payload").description("Show dependency relationships for an item.").action(async (id, options, command) => {
|
|
793
793
|
const globalOptions = getGlobalOptions(command);
|
|
794
794
|
const startedAt = Date.now();
|
|
795
|
-
const { runDeps } = await import("./deps-
|
|
795
|
+
const { runDeps } = await import("./deps-SCZIFK2Z.js");
|
|
796
796
|
const result = await runDeps(id, {
|
|
797
797
|
format: typeof options.format === "string" ? options.format : void 0,
|
|
798
798
|
maxDepth: typeof options.maxDepth === "string" ? options.maxDepth : void 0,
|
|
@@ -808,6 +808,6 @@ function registerMutationCommands(program) {
|
|
|
808
808
|
export {
|
|
809
809
|
registerMutationCommands
|
|
810
810
|
};
|
|
811
|
-
//# sourceMappingURL=register-mutation-
|
|
811
|
+
//# sourceMappingURL=register-mutation-N5GSUZJV.js.map
|
|
812
812
|
|
|
813
813
|
//# debugId=a9598c45-c446-584d-8cfb-312dee480d74
|
package/dist/cli-bundle/chunks/{register-mutation-RSMT6DPK.js → register-mutation-OA675SOU.js}
RENAMED
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
invalidateSearchCachesForMutation,
|
|
7
7
|
normalizeCreateOptions,
|
|
8
8
|
normalizeUpdateOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PDDFYW4X.js";
|
|
10
10
|
import {
|
|
11
11
|
CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
|
|
12
12
|
UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-PROOHX4K.js";
|
|
14
|
+
import "./chunk-3FI4SEFT.js";
|
|
15
15
|
import {
|
|
16
16
|
printError,
|
|
17
17
|
printResult,
|
|
18
18
|
writeStdout
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-LCM63IXU.js";
|
|
20
|
+
import "./chunk-XTGLRY2Y.js";
|
|
21
|
+
import "./chunk-T3LC5LKB.js";
|
|
22
|
+
import "./chunk-AO442XLN.js";
|
|
23
|
+
import "./chunk-KJE2FOS4.js";
|
|
24
|
+
import "./chunk-QO7EBBOM.js";
|
|
25
25
|
import {
|
|
26
26
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
27
27
|
EXIT_CODE,
|
|
28
28
|
PmCliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U5SXYXSY.js";
|
|
30
30
|
|
|
31
31
|
// dist/cli/register-mutation.js
|
|
32
32
|
import { Option } from "commander";
|
|
@@ -155,7 +155,7 @@ function registerMutationCommands(program) {
|
|
|
155
155
|
options.title = positionalTitle;
|
|
156
156
|
}
|
|
157
157
|
const normalized = normalizeCreateOptions(options, { requireType: false });
|
|
158
|
-
const { runCreate } = await import("./create-
|
|
158
|
+
const { runCreate } = await import("./create-JTZNCTQC.js");
|
|
159
159
|
const result = await runCreate(normalized, globalOptions);
|
|
160
160
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
161
161
|
printResult(result, globalOptions);
|
|
@@ -171,7 +171,7 @@ function registerMutationCommands(program) {
|
|
|
171
171
|
updateCommand.action(async (id, options, command) => {
|
|
172
172
|
const globalOptions = getGlobalOptions(command);
|
|
173
173
|
const startedAt = Date.now();
|
|
174
|
-
const { runUpdate } = await import("./update-
|
|
174
|
+
const { runUpdate } = await import("./update-YRXSUGYQ.js");
|
|
175
175
|
const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
|
|
176
176
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
177
177
|
printResult(result, globalOptions);
|
|
@@ -211,7 +211,7 @@ function registerMutationCommands(program) {
|
|
|
211
211
|
updateManyCommand.action(async (options, command) => {
|
|
212
212
|
const globalOptions = getGlobalOptions(command);
|
|
213
213
|
const startedAt = Date.now();
|
|
214
|
-
const { runUpdateMany } = await import("./update-many-
|
|
214
|
+
const { runUpdateMany } = await import("./update-many-KGGEYABR.js");
|
|
215
215
|
const result = await runUpdateMany({
|
|
216
216
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
217
217
|
list: {
|
|
@@ -251,7 +251,7 @@ function registerMutationCommands(program) {
|
|
|
251
251
|
closeCommand.action(async (id, text, options, command) => {
|
|
252
252
|
const globalOptions = getGlobalOptions(command);
|
|
253
253
|
const startedAt = Date.now();
|
|
254
|
-
const { runClose } = await import("./close-
|
|
254
|
+
const { runClose } = await import("./close-3HDWDA3L.js");
|
|
255
255
|
const reasonFromOption = typeof options.reason === "string" && options.reason.trim().length > 0 && options.reason || typeof options.closeReason === "string" && options.closeReason.trim().length > 0 && options.closeReason || void 0;
|
|
256
256
|
const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
|
|
257
257
|
if (typeof resolvedText !== "string" || resolvedText.length === 0) {
|
|
@@ -305,7 +305,7 @@ function registerMutationCommands(program) {
|
|
|
305
305
|
}
|
|
306
306
|
return void 0;
|
|
307
307
|
};
|
|
308
|
-
const { runCloseMany } = await import("./close-many-
|
|
308
|
+
const { runCloseMany } = await import("./close-many-7CGIDPTJ.js");
|
|
309
309
|
const result = await runCloseMany({
|
|
310
310
|
status: typeof options.filterStatus === "string" ? options.filterStatus : void 0,
|
|
311
311
|
list: {
|
|
@@ -348,7 +348,7 @@ function registerMutationCommands(program) {
|
|
|
348
348
|
program.command("delete").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").option("--dry-run", "Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(async (id, options, command) => {
|
|
349
349
|
const globalOptions = getGlobalOptions(command);
|
|
350
350
|
const startedAt = Date.now();
|
|
351
|
-
const { runDelete } = await import("./delete-
|
|
351
|
+
const { runDelete } = await import("./delete-VXUPH5RS.js");
|
|
352
352
|
const result = await runDelete(id, {
|
|
353
353
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
354
354
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -377,7 +377,7 @@ function registerMutationCommands(program) {
|
|
|
377
377
|
if (resolvedBody === void 0) {
|
|
378
378
|
throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
|
|
379
379
|
}
|
|
380
|
-
const { runAppend } = await import("./append-
|
|
380
|
+
const { runAppend } = await import("./append-7H5N64R2.js");
|
|
381
381
|
const result = await runAppend(id, {
|
|
382
382
|
body: resolvedBody,
|
|
383
383
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -393,7 +393,7 @@ function registerMutationCommands(program) {
|
|
|
393
393
|
program.command("restore").argument("<id>", "Item id").argument("<target>", "Restore target timestamp or version number").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership/lock override").description("Restore an item to an earlier timestamp or version.").action(async (id, target, options, command) => {
|
|
394
394
|
const globalOptions = getGlobalOptions(command);
|
|
395
395
|
const startedAt = Date.now();
|
|
396
|
-
const { runRestore } = await import("./restore-
|
|
396
|
+
const { runRestore } = await import("./restore-D4RGNX33.js");
|
|
397
397
|
const result = await runRestore(id, target, {
|
|
398
398
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
399
399
|
message: typeof options.message === "string" ? options.message : void 0,
|
|
@@ -442,7 +442,7 @@ function registerMutationCommands(program) {
|
|
|
442
442
|
planCommand.action(async (subcommand, id, stepRef, reorderToken, options, command) => {
|
|
443
443
|
const globalOptions = getGlobalOptions(command);
|
|
444
444
|
const startedAt = Date.now();
|
|
445
|
-
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-
|
|
445
|
+
const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-SLMODHWX.js");
|
|
446
446
|
const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
447
447
|
if (!normalizedSubcommand) {
|
|
448
448
|
throw new PmCliError(`pm plan requires a subcommand. Allowed: ${PLAN_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
|
|
@@ -523,7 +523,7 @@ function registerMutationCommands(program) {
|
|
|
523
523
|
program.command("history-redact").argument("<id>", "Item id").option("--literal <value>", "Literal string to redact (repeatable)", collect).option("--regex <value>", "Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)", collect).option("--replacement <value>", 'Replacement string (default: "[redacted]")').option("--dry-run", "Preview redaction impact without writing item/history files").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the redaction marker entry").option("--force", "Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async (id, options, command) => {
|
|
524
524
|
const globalOptions = getGlobalOptions(command);
|
|
525
525
|
const startedAt = Date.now();
|
|
526
|
-
const { runHistoryRedact } = await import("./history-redact-
|
|
526
|
+
const { runHistoryRedact } = await import("./history-redact-JBZNXHGR.js");
|
|
527
527
|
const literal = Array.isArray(options.literal) ? options.literal : void 0;
|
|
528
528
|
const regex = Array.isArray(options.regex) ? options.regex : void 0;
|
|
529
529
|
const result = await runHistoryRedact(id, {
|
|
@@ -546,7 +546,7 @@ function registerMutationCommands(program) {
|
|
|
546
546
|
program.command("history-repair").argument("<id>", "Item id").option("--dry-run", "Preview the re-anchor impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the repair marker entry").option("--force", "Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker.").action(async (id, options, command) => {
|
|
547
547
|
const globalOptions = getGlobalOptions(command);
|
|
548
548
|
const startedAt = Date.now();
|
|
549
|
-
const { runHistoryRepair } = await import("./history-repair-
|
|
549
|
+
const { runHistoryRepair } = await import("./history-repair-HIBCBIKK.js");
|
|
550
550
|
const result = await runHistoryRepair(id, {
|
|
551
551
|
dryRun: options.dryRun === true,
|
|
552
552
|
author: typeof options.author === "string" ? options.author : void 0,
|
|
@@ -563,7 +563,7 @@ function registerMutationCommands(program) {
|
|
|
563
563
|
schemaCommand.action(async (subcommand, name, options, command) => {
|
|
564
564
|
const globalOptions = getGlobalOptions(command);
|
|
565
565
|
const startedAt = Date.now();
|
|
566
|
-
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-
|
|
566
|
+
const { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaList, runSchemaShow, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaListHuman, formatSchemaShowHuman, SCHEMA_SUBCOMMANDS } = await import("./schema-2NOO6NGB.js");
|
|
567
567
|
let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
|
|
568
568
|
let typeName = name;
|
|
569
569
|
if (!normalizedSubcommand) {
|
|
@@ -652,7 +652,7 @@ function registerMutationCommands(program) {
|
|
|
652
652
|
throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
|
|
653
653
|
}
|
|
654
654
|
const add = addFromOption ?? addFromPositional;
|
|
655
|
-
const { runComments } = await import("./comments-
|
|
655
|
+
const { runComments } = await import("./comments-QKBYCWKD.js");
|
|
656
656
|
const result = await runComments(id, {
|
|
657
657
|
add,
|
|
658
658
|
stdin: readFromStdin,
|
|
@@ -680,7 +680,7 @@ function registerMutationCommands(program) {
|
|
|
680
680
|
throw new PmCliError("Specify note text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
681
681
|
}
|
|
682
682
|
const add = addFromOption ?? addFromPositional;
|
|
683
|
-
const { runNotes } = await import("./notes-
|
|
683
|
+
const { runNotes } = await import("./notes-4XVSH2AZ.js");
|
|
684
684
|
const result = await runNotes(id, {
|
|
685
685
|
add,
|
|
686
686
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -706,7 +706,7 @@ function registerMutationCommands(program) {
|
|
|
706
706
|
throw new PmCliError("Specify learning text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
|
|
707
707
|
}
|
|
708
708
|
const add = addFromOption ?? addFromPositional;
|
|
709
|
-
const { runLearnings } = await import("./learnings-
|
|
709
|
+
const { runLearnings } = await import("./learnings-MIXSESLK.js");
|
|
710
710
|
const result = await runLearnings(id, {
|
|
711
711
|
add,
|
|
712
712
|
limit: typeof options.limit === "string" ? options.limit : void 0,
|
|
@@ -731,7 +731,7 @@ function registerMutationCommands(program) {
|
|
|
731
731
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
732
732
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
733
733
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
734
|
-
const { runFiles } = await import("./files-
|
|
734
|
+
const { runFiles } = await import("./files-WKOD326U.js");
|
|
735
735
|
const result = await runFiles(id, {
|
|
736
736
|
add: addValues,
|
|
737
737
|
addGlob: addGlobValues,
|
|
@@ -756,7 +756,7 @@ function registerMutationCommands(program) {
|
|
|
756
756
|
filesCommand.command("discover").argument("<id>", "Item id").option("--apply", "Add discovered missing files to the item").option("--note <value>", "Note to attach to discovered file links").option("--append-stable", "Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(async (id, options, command) => {
|
|
757
757
|
const globalOptions = getGlobalOptions(command);
|
|
758
758
|
const startedAt = Date.now();
|
|
759
|
-
const { runFilesDiscover } = await import("./files-
|
|
759
|
+
const { runFilesDiscover } = await import("./files-WKOD326U.js");
|
|
760
760
|
const result = await runFilesDiscover(id, {
|
|
761
761
|
apply: Boolean(options.apply),
|
|
762
762
|
note: typeof options.note === "string" ? options.note : void 0,
|
|
@@ -780,7 +780,7 @@ function registerMutationCommands(program) {
|
|
|
780
780
|
const addGlobValues = Array.isArray(options.addGlob) ? options.addGlob : [];
|
|
781
781
|
const removeValues = Array.isArray(options.remove) ? options.remove : [];
|
|
782
782
|
const migrateValues = Array.isArray(options.migrate) ? options.migrate : [];
|
|
783
|
-
const { runDocs } = await import("./docs-
|
|
783
|
+
const { runDocs } = await import("./docs-WW4N3MBM.js");
|
|
784
784
|
const result = await runDocs(id, {
|
|
785
785
|
add: addValues,
|
|
786
786
|
addGlob: addGlobValues,
|
|
@@ -804,7 +804,7 @@ function registerMutationCommands(program) {
|
|
|
804
804
|
program.command("deps").argument("<id>", "Item id").option("--format <value>", "Output format (tree or graph)", "tree").option("--max-depth <value>", "Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>", "Collapse mode (none or repeated)", "none").option("--summary", "Return counts only without full tree/graph payload").description("Show dependency relationships for an item.").action(async (id, options, command) => {
|
|
805
805
|
const globalOptions = getGlobalOptions(command);
|
|
806
806
|
const startedAt = Date.now();
|
|
807
|
-
const { runDeps } = await import("./deps-
|
|
807
|
+
const { runDeps } = await import("./deps-JSRRWC3Z.js");
|
|
808
808
|
const result = await runDeps(id, {
|
|
809
809
|
format: typeof options.format === "string" ? options.format : void 0,
|
|
810
810
|
maxDepth: typeof options.maxDepth === "string" ? options.maxDepth : void 0,
|
|
@@ -820,4 +820,4 @@ function registerMutationCommands(program) {
|
|
|
820
820
|
export {
|
|
821
821
|
registerMutationCommands
|
|
822
822
|
};
|
|
823
|
-
//# sourceMappingURL=register-mutation-
|
|
823
|
+
//# sourceMappingURL=register-mutation-OA675SOU.js.map
|