@unbrained/pm-cli 2026.6.9 → 2026.6.11
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/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +59 -0
- package/README.md +1 -1
- package/dist/cli/bootstrap-args.d.ts +11 -0
- package/dist/cli/bootstrap-args.js +90 -4
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commands/aggregate.d.ts +7 -0
- package/dist/cli/commands/aggregate.js +53 -12
- package/dist/cli/commands/aggregate.js.map +1 -1
- package/dist/cli/commands/close.d.ts +1 -0
- package/dist/cli/commands/close.js +106 -3
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +20 -7
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/context.d.ts +9 -0
- package/dist/cli/commands/context.js +149 -20
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +2 -0
- package/dist/cli/commands/contracts.js +9 -2
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.d.ts +1 -0
- package/dist/cli/commands/create.js +5 -3
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension.js +4 -2
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/health.js +44 -6
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history.js +6 -5
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/linked-test-parsers.d.ts +1 -0
- package/dist/cli/commands/linked-test-parsers.js +289 -2
- package/dist/cli/commands/linked-test-parsers.js.map +1 -1
- package/dist/cli/commands/reindex.d.ts +1 -0
- package/dist/cli/commands/reindex.js +33 -4
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/test.d.ts +6 -0
- package/dist/cli/commands/test.js +46 -5
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/error-guidance.d.ts +8 -0
- package/dist/cli/error-guidance.js +102 -2
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.d.ts +1 -0
- package/dist/cli/extension-command-help.js +42 -2
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/extension-command-options.d.ts +2 -0
- package/dist/cli/extension-command-options.js +51 -2
- package/dist/cli/extension-command-options.js.map +1 -1
- package/dist/cli/main.js +26 -26
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +3 -2
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +4 -2
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +15 -6
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/registration-helpers.js +9 -2
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/{activity-RUJATACW.js → activity-XADJOG6G.js} +11 -11
- package/dist/cli-bundle/chunks/activity-XZIUPGZH.js +16 -0
- package/dist/cli-bundle/chunks/{aggregate-TT7OCHHT.js → aggregate-6OTS3AOO.js} +65 -24
- package/dist/cli-bundle/chunks/aggregate-6OTS3AOO.js.map +1 -0
- package/dist/cli-bundle/chunks/{aggregate-IQ27NFBI.js → aggregate-OD36DJU5.js} +64 -23
- package/dist/cli-bundle/chunks/aggregate-OD36DJU5.js.map +7 -0
- package/dist/cli-bundle/chunks/{append-E7AJ5RTR.js → append-JYWO4P7W.js} +8 -8
- package/dist/cli-bundle/chunks/{append-CWQZBUWV.js → append-KG55G7S3.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-LF2VNLEZ.js → chunk-3KLPFWZ4.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-LF2VNLEZ.js.map → chunk-3KLPFWZ4.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ENCVPOID.js → chunk-3SLOMKCJ.js} +12 -12
- package/dist/cli-bundle/chunks/chunk-4HFU4UO2.js +518 -0
- package/dist/cli-bundle/chunks/chunk-4HFU4UO2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-F2REA7VW.js → chunk-4JCSYR6F.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CAXUGAAF.js → chunk-4YFAGDRH.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-U3Z4OCZC.js → chunk-5SCT2JCT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NHRZSYAA.js → chunk-73ZPG2I3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-D5D7VKIC.js → chunk-7IYFN5R7.js} +6 -5
- package/dist/cli-bundle/chunks/chunk-7IYFN5R7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-A5342JVL.js → chunk-7RIT3OCD.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-LU54Z4QI.js → chunk-7UGSRQCL.js} +76 -74
- package/dist/cli-bundle/chunks/{chunk-LU54Z4QI.js.map → chunk-7UGSRQCL.js.map} +3 -3
- package/dist/cli-bundle/chunks/{chunk-5JF76OJF.js → chunk-A6LXQFO7.js} +290 -25
- package/dist/cli-bundle/chunks/chunk-A6LXQFO7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7CR4GAYN.js → chunk-ATEES5SX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FHUI7AXS.js → chunk-AVGHVVF7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-T7B5VAKD.js → chunk-B65UUCGQ.js} +13 -6
- package/dist/cli-bundle/chunks/chunk-B65UUCGQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-42IULX44.js → chunk-CCX4RSYZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-EFRHTZO4.js → chunk-CW6E4NAT.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-JN3BT7UY.js → chunk-DY6C42S6.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-PUSOAQCR.js → chunk-E5DUIJA4.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-E7LOIIFP.js → chunk-ESANVZF4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WQZCEEQN.js → chunk-EWFY7SLA.js} +157 -12
- package/dist/cli-bundle/chunks/chunk-EWFY7SLA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YI6W2DBN.js → chunk-F75JSIOZ.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-6IGTNFE3.js → chunk-FDH2X65L.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GPOSGWCN.js → chunk-FXRU333M.js} +68 -7
- package/dist/cli-bundle/chunks/chunk-FXRU333M.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-C72IQIBT.js → chunk-FY4SPXSC.js} +302 -30
- package/dist/cli-bundle/chunks/chunk-FY4SPXSC.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TLD3UYGY.js → chunk-GKIZW7SM.js} +5 -4
- package/dist/cli-bundle/chunks/chunk-GKIZW7SM.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-YSANBZAE.js → chunk-GWZSYR6X.js} +12 -5
- package/dist/cli-bundle/chunks/chunk-GWZSYR6X.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-FJNJEWU4.js → chunk-HGLC63AU.js} +14 -12
- package/dist/cli-bundle/chunks/chunk-HGLC63AU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RLVI7KDW.js → chunk-HHHJ2GI3.js} +163 -11
- package/dist/cli-bundle/chunks/chunk-HHHJ2GI3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AVGOVJGV.js → chunk-HI7STVF2.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-AVGOVJGV.js.map → chunk-HI7STVF2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ANKG2JKL.js → chunk-I2IJY2NL.js} +12 -5
- package/dist/cli-bundle/chunks/chunk-I2IJY2NL.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZPXDD6RQ.js → chunk-I53JBTJW.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-23WNCJBA.js → chunk-I7NYDZDV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-EQ6N6IDR.js → chunk-IGVJRZ6H.js} +13 -11
- package/dist/cli-bundle/chunks/chunk-IGVJRZ6H.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-JVMAOD54.js → chunk-IH4MBKK7.js} +14 -7
- package/dist/cli-bundle/chunks/chunk-IH4MBKK7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-BIRVSIM2.js → chunk-IKOH24GZ.js} +14 -14
- package/dist/cli-bundle/chunks/chunk-IKOH24GZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SAUXUI6U.js → chunk-IUKD4W6Z.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3RHE76G6.js → chunk-J3GD64J2.js} +15 -15
- package/dist/cli-bundle/chunks/chunk-J3GD64J2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OT6XAMO5.js → chunk-KWAXVAXX.js} +7 -5
- package/dist/cli-bundle/chunks/{chunk-OT6XAMO5.js.map → chunk-KWAXVAXX.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SD6H3RLA.js → chunk-LCSCXBGT.js} +15 -5
- package/dist/cli-bundle/chunks/{chunk-SD6H3RLA.js.map → chunk-LCSCXBGT.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RKCJ2JMA.js → chunk-OASDW5UI.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-JEGFLKSI.js → chunk-OLKBSY4N.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4LRVXVJK.js → chunk-P2PSODAQ.js} +70 -9
- package/dist/cli-bundle/chunks/chunk-P2PSODAQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XEOO6K5J.js → chunk-P5BJOMBB.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-P2NVFE4L.js → chunk-P5U5EOMA.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-AM2AXVFS.js → chunk-PSD7F7DX.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-VDVVOLR6.js → chunk-QJMGRZO2.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-7YTWXGE3.js → chunk-QKW5D45B.js} +112 -7
- package/dist/cli-bundle/chunks/chunk-QKW5D45B.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-T7NWFVOA.js → chunk-QNJSITCX.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-MNXJ6YDO.js → chunk-RXAP6JL5.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-5MMLINZB.js → chunk-S26FESD4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I26E6XA7.js → chunk-S2ZLDYGS.js} +8 -6
- package/dist/cli-bundle/chunks/chunk-S2ZLDYGS.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-SXKNJPQ7.js +528 -0
- package/dist/cli-bundle/chunks/chunk-SXKNJPQ7.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OPYA2HIU.js → chunk-TK5VZFHY.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-4TJWRPIH.js → chunk-TNAP7EJX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-I4FGL3K2.js → chunk-UOO6BYIA.js} +16 -6
- package/dist/cli-bundle/chunks/chunk-UOO6BYIA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5ATRWEZO.js → chunk-UUWGCWBU.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-YX5LAKFJ.js → chunk-VAOUX6TK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RMTI5R76.js → chunk-VFUZV5EB.js} +111 -6
- package/dist/cli-bundle/chunks/chunk-VFUZV5EB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WCWIDJII.js → chunk-VPEAS7PS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RE2JQJZJ.js → chunk-VSRZRLG3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-PW7C262O.js → chunk-WUNFKP7M.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BACSNVWE.js → chunk-XJDGS74Y.js} +71 -69
- package/dist/cli-bundle/chunks/{chunk-BACSNVWE.js.map → chunk-XJDGS74Y.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-H37YPWLM.js → chunk-XMBI6TNW.js} +13 -7
- package/dist/cli-bundle/chunks/chunk-XMBI6TNW.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-NUGAWYEN.js → chunk-XTKJSVWH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KDX6VC3P.js → chunk-XUC4C4PT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-44JP4PYY.js → chunk-Y3YKK7CY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KTVXLI54.js → chunk-YW6Q3RYZ.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-I3UILOUU.js → chunk-ZLMIWZUG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FKH7K6YP.js → chunk-ZMW77VWV.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-NJRZIJ4N.js → chunk-ZYNJNPYD.js} +14 -8
- package/dist/cli-bundle/chunks/chunk-ZYNJNPYD.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-UXFGCF3P.js → claim-2RDYMCTP.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-RV6WYUF7.js → claim-MJ7DZFC3.js} +10 -10
- package/dist/cli-bundle/chunks/close-4FMAPEMY.js +13 -0
- package/dist/cli-bundle/chunks/{close-O4JK2JKD.js → close-XLEKIQSW.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-EQO4TPIE.js → close-many-AOD4HSAZ.js} +15 -15
- package/dist/cli-bundle/chunks/{close-many-SRDBV3SI.js → close-many-XKAQY5CQ.js} +15 -15
- package/dist/cli-bundle/chunks/{comments-TTZUIB2O.js → comments-B4RWWDJT.js} +10 -10
- package/dist/cli-bundle/chunks/{comments-OMB7YE27.js → comments-RN5TG4ZN.js} +10 -10
- package/dist/cli-bundle/chunks/{config-5VPR42A6.js → config-3JXJ3XZ7.js} +8 -8
- package/dist/cli-bundle/chunks/{config-NNLXVGVC.js → config-FZ4UDC4B.js} +8 -8
- package/dist/cli-bundle/chunks/{context-4QK6GRXO.js → context-L36PIN35.js} +146 -33
- package/dist/cli-bundle/chunks/{context-4QK6GRXO.js.map → context-L36PIN35.js.map} +2 -2
- package/dist/cli-bundle/chunks/{context-4N7GYTVQ.js → context-QBPO3BFM.js} +147 -34
- package/dist/cli-bundle/chunks/context-QBPO3BFM.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-DXCWXOSP.js → contracts-3NKWYKKU.js} +309 -6
- package/dist/cli-bundle/chunks/contracts-3NKWYKKU.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-AOBNEBVT.js → contracts-MIXBWJIB.js} +315 -5
- package/dist/cli-bundle/chunks/contracts-MIXBWJIB.js.map +7 -0
- package/dist/cli-bundle/chunks/{copy-5NM3SVJA.js → copy-ALU5WMHA.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-XSYEQTLA.js → copy-FWIVTLBO.js} +7 -7
- package/dist/cli-bundle/chunks/{create-FCCAATQV.js → create-IFA26O2I.js} +13 -13
- package/dist/cli-bundle/chunks/create-JVXYHYH4.js +27 -0
- package/dist/cli-bundle/chunks/{delete-5JFP6OG7.js → delete-IYTIYAJS.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-PQXJQXQ7.js → delete-Y2SGJBGY.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-S5322EOQ.js → deps-6TSPOSGU.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-XXKBOQUA.js → deps-CZ4PTVXU.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-C7CCVWAJ.js → docs-5WMBVQT2.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-DZRPAW5S.js → docs-MB53UJAJ.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-CSHP6FZX.js → extension-Q34OEWO5.js} +5 -5
- package/dist/cli-bundle/chunks/{extension-XNNVUVAY.js → extension-WH2FOIOZ.js} +5 -5
- package/dist/cli-bundle/chunks/{files-UPCNKEIZ.js → files-DLB5LJEP.js} +9 -9
- package/dist/cli-bundle/chunks/{files-OBWYYPKM.js → files-GVMNVLCB.js} +9 -9
- package/dist/cli-bundle/chunks/{gc-FA2ONELT.js → gc-2WEPW6D6.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-KXK6KBRN.js → gc-4Z3IKHAZ.js} +3 -3
- package/dist/cli-bundle/chunks/{get-PNTSONGB.js → get-PCHS7RA6.js} +11 -11
- package/dist/cli-bundle/chunks/{get-FLHYTOBA.js → get-QARTE6BL.js} +11 -11
- package/dist/cli-bundle/chunks/{health-CS5RNTJX.js → health-4ZYB3IYQ.js} +47 -19
- package/dist/cli-bundle/chunks/health-4ZYB3IYQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-KCRVYIYY.js → health-YO5LRWN4.js} +46 -18
- package/dist/cli-bundle/chunks/health-YO5LRWN4.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-COQTPBEU.js → history-7WUAEWHW.js} +10 -10
- package/dist/cli-bundle/chunks/history-L2FQFRTU.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-PVS2A3FS.js → history-compact-3EJ3L2O7.js} +11 -11
- package/dist/cli-bundle/chunks/{history-compact-66PSRYL3.js → history-compact-LW27IPFK.js} +11 -11
- package/dist/cli-bundle/chunks/{history-redact-DCXAWGTF.js → history-redact-G72A4EJ4.js} +11 -11
- package/dist/cli-bundle/chunks/history-redact-QWQCX5DZ.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-SEQDFTGW.js → history-repair-KVPFJKOS.js} +11 -11
- package/dist/cli-bundle/chunks/{history-repair-TA3NRIFO.js → history-repair-RUGKD3YR.js} +11 -11
- package/dist/cli-bundle/chunks/init-4BKRHGWW.js +17 -0
- package/dist/cli-bundle/chunks/{init-IQJE3EKJ.js → init-S5WEGUJY.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-XC6EMW5E.js → learnings-HQXSSKZ5.js} +10 -10
- package/dist/cli-bundle/chunks/{learnings-RJPGH2ME.js → learnings-XK3P4ZDR.js} +10 -10
- package/dist/cli-bundle/chunks/{list-NJV6WBT4.js → list-6CL3XFT6.js} +10 -10
- package/dist/cli-bundle/chunks/list-BYNN4ZEO.js +19 -0
- package/dist/cli-bundle/chunks/{notes-2KWHADK3.js → notes-5T6P7C5V.js} +10 -10
- package/dist/cli-bundle/chunks/{notes-FNCDMZW2.js → notes-U5FZCSBT.js} +10 -10
- package/dist/cli-bundle/chunks/{plan-CYK2P5PD.js → plan-FQLMJRLZ.js} +13 -13
- package/dist/cli-bundle/chunks/{plan-MQO5JTSV.js → plan-VNUG3WZZ.js} +13 -13
- package/dist/cli-bundle/chunks/{register-list-query-6RA24SIZ.js → register-list-query-NPE3ECJQ.js} +21 -21
- package/dist/cli-bundle/chunks/register-list-query-NPE3ECJQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-IO3RR5K6.js → register-list-query-VHDXWEPP.js} +20 -20
- package/dist/cli-bundle/chunks/register-list-query-VHDXWEPP.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-VV2SC2KL.js → register-mutation-DG53FCBV.js} +36 -35
- package/dist/cli-bundle/chunks/register-mutation-DG53FCBV.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-KVFUXCAZ.js → register-mutation-EAYNLGOS.js} +35 -34
- package/dist/cli-bundle/chunks/register-mutation-EAYNLGOS.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-DFNVRSJ5.js → register-operations-AM6KTWB6.js} +42 -37
- package/dist/cli-bundle/chunks/register-operations-AM6KTWB6.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-TAUUTRJ4.js → register-operations-FWFE64JG.js} +41 -36
- package/dist/cli-bundle/chunks/register-operations-FWFE64JG.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-X2R5CFDV.js → register-setup-G4QYI3RX.js} +15 -15
- package/dist/cli-bundle/chunks/{register-setup-GAQZZRUA.js → register-setup-IKX5524L.js} +15 -15
- package/dist/cli-bundle/chunks/restore-CHIOQAQL.js +17 -0
- package/dist/cli-bundle/chunks/{restore-E3GZKRRK.js → restore-M6AFHMV4.js} +11 -11
- package/dist/cli-bundle/chunks/{schema-3CPFLDAY.js → schema-76HDZJCC.js} +8 -8
- package/dist/cli-bundle/chunks/{schema-7EHBPNXM.js → schema-AINZ2IMM.js} +8 -8
- package/dist/cli-bundle/chunks/{search-OBZVYJJ2.js → search-JMLFQEPJ.js} +10 -10
- package/dist/cli-bundle/chunks/{search-2T3NCCUR.js → search-NL3TSCYB.js} +10 -10
- package/dist/cli-bundle/chunks/{stats-6LVK4JER.js → stats-BKXCBIGT.js} +7 -7
- package/dist/cli-bundle/chunks/{stats-ULGQACF7.js → stats-UBD56TGK.js} +7 -7
- package/dist/cli-bundle/chunks/{telemetry-HHKRTMZA.js → telemetry-N454RHG5.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-6G27FLCP.js → telemetry-ZJXK3H7X.js} +4 -4
- package/dist/cli-bundle/chunks/{test-2PP4YBV6.js → test-BQAKIXAT.js} +14 -14
- package/dist/cli-bundle/chunks/test-O74JFUH5.js +32 -0
- package/dist/cli-bundle/chunks/{test-all-6Z272JRI.js → test-all-7LV3I6S5.js} +14 -14
- package/dist/cli-bundle/chunks/{test-all-NETGVNM6.js → test-all-TDYCCBA4.js} +14 -14
- package/dist/cli-bundle/chunks/{test-runs-M24WA6TI.js → test-runs-E64M6XS3.js} +5 -5
- package/dist/cli-bundle/chunks/{test-runs-CRPQVMMG.js → test-runs-LXZLULCI.js} +5 -5
- package/dist/cli-bundle/chunks/update-2EVXOC7V.js +21 -0
- package/dist/cli-bundle/chunks/update-5A2B6QYB.js +25 -0
- package/dist/cli-bundle/chunks/{update-many-JSRF5EH5.js → update-many-TUGU5YXQ.js} +22 -22
- package/dist/cli-bundle/chunks/{update-many-Y3HOL7WA.js → update-many-V4LA3C4H.js} +22 -22
- package/dist/cli-bundle/chunks/{upgrade-5RTQVKKE.js → upgrade-37F7JKES.js} +5 -5
- package/dist/cli-bundle/chunks/{upgrade-ECB6GH3M.js → upgrade-L32JA4TZ.js} +5 -5
- package/dist/cli-bundle/chunks/{validate-MCNMAXVA.js → validate-EQTT6WVX.js} +16 -16
- package/dist/cli-bundle/chunks/{validate-J6Q444SD.js → validate-XN4I4DPL.js} +16 -16
- package/dist/cli-bundle/main.js +276 -47
- package/dist/cli-bundle/main.js.map +2 -2
- package/dist/core/diagnostics/remediation.js +12 -2
- package/dist/core/diagnostics/remediation.js.map +1 -1
- package/dist/core/extensions/extension-policy.d.ts +14 -1
- package/dist/core/extensions/extension-policy.js +38 -3
- package/dist/core/extensions/extension-policy.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +40 -1
- package/dist/core/extensions/extension-types.js +28 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/loader.d.ts +6 -4
- package/dist/core/extensions/loader.js +67 -14
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/history/replay.d.ts +1 -1
- package/dist/core/history/replay.js +13 -4
- package/dist/core/history/replay.js.map +1 -1
- package/dist/core/output/mutation-projection.d.ts +2 -0
- package/dist/core/output/mutation-projection.js +9 -2
- package/dist/core/output/mutation-projection.js.map +1 -1
- package/dist/core/output/output.d.ts +2 -0
- package/dist/core/output/output.js +7 -3
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/output/query-summary.d.ts +31 -0
- package/dist/core/output/query-summary.js +62 -0
- package/dist/core/output/query-summary.js.map +1 -0
- package/dist/core/shared/command-types.d.ts +1 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/core/shared/command-types.js.map +1 -1
- package/dist/core/shared/constants.js +8 -4
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/core/store/item-store.d.ts +1 -1
- package/dist/core/store/item-store.js +3 -3
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/settings-read-cache.d.ts +15 -0
- package/dist/core/store/settings-read-cache.js +72 -0
- package/dist/core/store/settings-read-cache.js.map +1 -0
- package/dist/core/store/settings-validator.d.ts +4 -1
- package/dist/core/store/settings-validator.js +14 -2
- package/dist/core/store/settings-validator.js.map +1 -1
- package/dist/core/store/settings.js +166 -16
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/runtime.d.ts +1 -0
- package/dist/core/telemetry/runtime.js +3 -3
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/core/test/run-selectors.d.ts +27 -0
- package/dist/core/test/run-selectors.js +110 -0
- package/dist/core/test/run-selectors.js.map +1 -0
- package/dist/mcp/server.js +76 -262
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.d.ts +27 -0
- package/dist/mcp/tool-definitions.js +330 -0
- package/dist/mcp/tool-definitions.js.map +1 -0
- package/dist/sdk/cli-contracts/commander-mutation-options.js +3 -2
- package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +3 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +29 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.js +37 -5
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +2 -2
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runtime.d.ts +6 -0
- package/dist/sdk/runtime.js +51 -3
- package/dist/sdk/runtime.js.map +1 -1
- package/dist/types.d.ts +4 -1
- package/dist/types.js +4 -2
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +7 -1
- package/docs/ARCHITECTURE.md +7 -0
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +38 -3
- package/docs/CONFIGURATION.md +1 -1
- package/docs/EXTENSIONS.md +55 -53
- package/docs/SDK.md +8 -2
- package/docs/TESTING.md +60 -0
- package/docs/schemas/extension-manifest.schema.json +120 -0
- package/marketplace.json +1 -1
- package/package.json +2 -2
- package/packages/pm-beads/extensions/beads/manifest.json +10 -0
- package/packages/pm-calendar/extensions/calendar/manifest.json +10 -0
- package/packages/pm-command-kit/README.md +72 -0
- package/packages/pm-command-kit/extensions/command-kit/index.js +181 -0
- package/packages/pm-command-kit/extensions/command-kit/index.ts +176 -0
- package/packages/pm-command-kit/extensions/command-kit/manifest.json +22 -0
- package/packages/pm-command-kit/package.json +53 -0
- package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +10 -0
- package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +10 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/manifest.json +10 -0
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +10 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +6 -0
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +6 -0
- package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +10 -0
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.js +1 -0
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.ts +1 -0
- package/packages/pm-templates/extensions/templates/manifest.json +10 -0
- package/packages/pm-todos/extensions/todos/manifest.json +10 -0
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/README.md +7 -3
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/plugins/pm-codex/README.md +2 -2
- package/dist/cli-bundle/chunks/activity-HF3VJYKH.js +0 -16
- package/dist/cli-bundle/chunks/aggregate-IQ27NFBI.js.map +0 -7
- package/dist/cli-bundle/chunks/aggregate-TT7OCHHT.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-3RHE76G6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4LRVXVJK.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5JF76OJF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7YTWXGE3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ANKG2JKL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-BIRVSIM2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-C72IQIBT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-D5D7VKIC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-EQ6N6IDR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FJNJEWU4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GPOSGWCN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-H37YPWLM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-I26E6XA7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-I4FGL3K2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JVMAOD54.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LU2HE272.js +0 -242
- package/dist/cli-bundle/chunks/chunk-LU2HE272.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-NJRZIJ4N.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-O4L7Z6LB.js +0 -252
- package/dist/cli-bundle/chunks/chunk-O4L7Z6LB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RLVI7KDW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RMTI5R76.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-T7B5VAKD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TLD3UYGY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-WQZCEEQN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YSANBZAE.js.map +0 -7
- package/dist/cli-bundle/chunks/close-JTTGW7TS.js +0 -13
- package/dist/cli-bundle/chunks/context-4N7GYTVQ.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-AOBNEBVT.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-DXCWXOSP.js.map +0 -1
- package/dist/cli-bundle/chunks/create-JAPLFDGJ.js +0 -27
- package/dist/cli-bundle/chunks/health-CS5RNTJX.js.map +0 -1
- package/dist/cli-bundle/chunks/health-KCRVYIYY.js.map +0 -7
- package/dist/cli-bundle/chunks/history-6624XISO.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-ZRQTI7NB.js +0 -19
- package/dist/cli-bundle/chunks/init-ZVE2HMKK.js +0 -17
- package/dist/cli-bundle/chunks/list-OO5P472O.js +0 -19
- package/dist/cli-bundle/chunks/register-list-query-6RA24SIZ.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-IO3RR5K6.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-KVFUXCAZ.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-VV2SC2KL.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-DFNVRSJ5.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-TAUUTRJ4.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-F4ALFV4D.js +0 -17
- package/dist/cli-bundle/chunks/test-PPOLRIBA.js +0 -32
- package/dist/cli-bundle/chunks/update-MCPCPMHV.js +0 -25
- package/dist/cli-bundle/chunks/update-O7TBOUVQ.js +0 -21
- /package/dist/cli-bundle/chunks/{activity-RUJATACW.js.map → activity-XADJOG6G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-HF3VJYKH.js.map → activity-XZIUPGZH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-E7AJ5RTR.js.map → append-JYWO4P7W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-CWQZBUWV.js.map → append-KG55G7S3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ENCVPOID.js.map → chunk-3SLOMKCJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F2REA7VW.js.map → chunk-4JCSYR6F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CAXUGAAF.js.map → chunk-4YFAGDRH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-U3Z4OCZC.js.map → chunk-5SCT2JCT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NHRZSYAA.js.map → chunk-73ZPG2I3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A5342JVL.js.map → chunk-7RIT3OCD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7CR4GAYN.js.map → chunk-ATEES5SX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FHUI7AXS.js.map → chunk-AVGHVVF7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-42IULX44.js.map → chunk-CCX4RSYZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EFRHTZO4.js.map → chunk-CW6E4NAT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JN3BT7UY.js.map → chunk-DY6C42S6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PUSOAQCR.js.map → chunk-E5DUIJA4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-E7LOIIFP.js.map → chunk-ESANVZF4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YI6W2DBN.js.map → chunk-F75JSIOZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6IGTNFE3.js.map → chunk-FDH2X65L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZPXDD6RQ.js.map → chunk-I53JBTJW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-23WNCJBA.js.map → chunk-I7NYDZDV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SAUXUI6U.js.map → chunk-IUKD4W6Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RKCJ2JMA.js.map → chunk-OASDW5UI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JEGFLKSI.js.map → chunk-OLKBSY4N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XEOO6K5J.js.map → chunk-P5BJOMBB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P2NVFE4L.js.map → chunk-P5U5EOMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AM2AXVFS.js.map → chunk-PSD7F7DX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VDVVOLR6.js.map → chunk-QJMGRZO2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-T7NWFVOA.js.map → chunk-QNJSITCX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MNXJ6YDO.js.map → chunk-RXAP6JL5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5MMLINZB.js.map → chunk-S26FESD4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OPYA2HIU.js.map → chunk-TK5VZFHY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4TJWRPIH.js.map → chunk-TNAP7EJX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5ATRWEZO.js.map → chunk-UUWGCWBU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YX5LAKFJ.js.map → chunk-VAOUX6TK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WCWIDJII.js.map → chunk-VPEAS7PS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-RE2JQJZJ.js.map → chunk-VSRZRLG3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-PW7C262O.js.map → chunk-WUNFKP7M.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NUGAWYEN.js.map → chunk-XTKJSVWH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KDX6VC3P.js.map → chunk-XUC4C4PT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-44JP4PYY.js.map → chunk-Y3YKK7CY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KTVXLI54.js.map → chunk-YW6Q3RYZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I3UILOUU.js.map → chunk-ZLMIWZUG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FKH7K6YP.js.map → chunk-ZMW77VWV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-UXFGCF3P.js.map → claim-2RDYMCTP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-RV6WYUF7.js.map → claim-MJ7DZFC3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-JTTGW7TS.js.map → close-4FMAPEMY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-O4JK2JKD.js.map → close-XLEKIQSW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-EQO4TPIE.js.map → close-many-AOD4HSAZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-many-SRDBV3SI.js.map → close-many-XKAQY5CQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-TTZUIB2O.js.map → comments-B4RWWDJT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-OMB7YE27.js.map → comments-RN5TG4ZN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-5VPR42A6.js.map → config-3JXJ3XZ7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-NNLXVGVC.js.map → config-FZ4UDC4B.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-5NM3SVJA.js.map → copy-ALU5WMHA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-XSYEQTLA.js.map → copy-FWIVTLBO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-FCCAATQV.js.map → create-IFA26O2I.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-JAPLFDGJ.js.map → create-JVXYHYH4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-5JFP6OG7.js.map → delete-IYTIYAJS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-PQXJQXQ7.js.map → delete-Y2SGJBGY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-S5322EOQ.js.map → deps-6TSPOSGU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-XXKBOQUA.js.map → deps-CZ4PTVXU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-C7CCVWAJ.js.map → docs-5WMBVQT2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-DZRPAW5S.js.map → docs-MB53UJAJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-CSHP6FZX.js.map → extension-Q34OEWO5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-XNNVUVAY.js.map → extension-WH2FOIOZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-UPCNKEIZ.js.map → files-DLB5LJEP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{files-OBWYYPKM.js.map → files-GVMNVLCB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-FA2ONELT.js.map → gc-2WEPW6D6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-KXK6KBRN.js.map → gc-4Z3IKHAZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-PNTSONGB.js.map → get-PCHS7RA6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-FLHYTOBA.js.map → get-QARTE6BL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-COQTPBEU.js.map → history-7WUAEWHW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-6624XISO.js.map → history-L2FQFRTU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-PVS2A3FS.js.map → history-compact-3EJ3L2O7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-compact-66PSRYL3.js.map → history-compact-LW27IPFK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-DCXAWGTF.js.map → history-redact-G72A4EJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-ZRQTI7NB.js.map → history-redact-QWQCX5DZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-SEQDFTGW.js.map → history-repair-KVPFJKOS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-repair-TA3NRIFO.js.map → history-repair-RUGKD3YR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-ZVE2HMKK.js.map → init-4BKRHGWW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-IQJE3EKJ.js.map → init-S5WEGUJY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-XC6EMW5E.js.map → learnings-HQXSSKZ5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-RJPGH2ME.js.map → learnings-XK3P4ZDR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-NJV6WBT4.js.map → list-6CL3XFT6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-OO5P472O.js.map → list-BYNN4ZEO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-2KWHADK3.js.map → notes-5T6P7C5V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-FNCDMZW2.js.map → notes-U5FZCSBT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-CYK2P5PD.js.map → plan-FQLMJRLZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-MQO5JTSV.js.map → plan-VNUG3WZZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-X2R5CFDV.js.map → register-setup-G4QYI3RX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-GAQZZRUA.js.map → register-setup-IKX5524L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-F4ALFV4D.js.map → restore-CHIOQAQL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-E3GZKRRK.js.map → restore-M6AFHMV4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-3CPFLDAY.js.map → schema-76HDZJCC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-7EHBPNXM.js.map → schema-AINZ2IMM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-OBZVYJJ2.js.map → search-JMLFQEPJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-2T3NCCUR.js.map → search-NL3TSCYB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-6LVK4JER.js.map → stats-BKXCBIGT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-ULGQACF7.js.map → stats-UBD56TGK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-HHKRTMZA.js.map → telemetry-N454RHG5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-6G27FLCP.js.map → telemetry-ZJXK3H7X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-2PP4YBV6.js.map → test-BQAKIXAT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-PPOLRIBA.js.map → test-O74JFUH5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-6Z272JRI.js.map → test-all-7LV3I6S5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-NETGVNM6.js.map → test-all-TDYCCBA4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-M24WA6TI.js.map → test-runs-E64M6XS3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-CRPQVMMG.js.map → test-runs-LXZLULCI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-O7TBOUVQ.js.map → update-2EVXOC7V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-MCPCPMHV.js.map → update-5A2B6QYB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-JSRF5EH5.js.map → update-many-TUGU5YXQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-Y3HOL7WA.js.map → update-many-V4LA3C4H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-5RTQVKKE.js.map → upgrade-37F7JKES.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-ECB6GH3M.js.map → upgrade-L32JA4TZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{validate-MCNMAXVA.js.map → validate-EQTT6WVX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{validate-J6Q444SD.js.map → validate-XN4I4DPL.js.map} +0 -0
package/dist/cli-bundle/main.js
CHANGED
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
emitTelemetryErrorEvent,
|
|
6
6
|
finishTelemetryCommand,
|
|
7
7
|
startTelemetryCommand
|
|
8
|
-
} from "./chunks/chunk-
|
|
8
|
+
} from "./chunks/chunk-GKIZW7SM.js";
|
|
9
9
|
import {
|
|
10
10
|
migrateItemFilesToFormat
|
|
11
|
-
} from "./chunks/chunk-
|
|
11
|
+
} from "./chunks/chunk-VSRZRLG3.js";
|
|
12
12
|
import {
|
|
13
13
|
normalizeExtensionNameForMatch
|
|
14
|
-
} from "./chunks/chunk-
|
|
14
|
+
} from "./chunks/chunk-ZLMIWZUG.js";
|
|
15
15
|
import {
|
|
16
16
|
applyDefaultOutputFormat,
|
|
17
17
|
clearResolvedGlobalOptions,
|
|
@@ -21,27 +21,27 @@ import {
|
|
|
21
21
|
getGlobalOptions,
|
|
22
22
|
invalidateSearchCachesForMutation,
|
|
23
23
|
setResolvedGlobalOptions
|
|
24
|
-
} from "./chunks/chunk-
|
|
24
|
+
} from "./chunks/chunk-B65UUCGQ.js";
|
|
25
25
|
import {
|
|
26
26
|
PM_CORE_COMMAND_NAMES,
|
|
27
27
|
resolveSubcommandFlagContractsForCommand
|
|
28
|
-
} from "./chunks/chunk-
|
|
29
|
-
import "./chunks/chunk-
|
|
28
|
+
} from "./chunks/chunk-P2PSODAQ.js";
|
|
29
|
+
import "./chunks/chunk-7UGSRQCL.js";
|
|
30
30
|
import {
|
|
31
31
|
printError,
|
|
32
32
|
printResult,
|
|
33
33
|
writeStdout
|
|
34
|
-
} from "./chunks/chunk-
|
|
35
|
-
import "./chunks/chunk-
|
|
36
|
-
import "./chunks/chunk-
|
|
37
|
-
import "./chunks/chunk-
|
|
34
|
+
} from "./chunks/chunk-GWZSYR6X.js";
|
|
35
|
+
import "./chunks/chunk-3KLPFWZ4.js";
|
|
36
|
+
import "./chunks/chunk-VPEAS7PS.js";
|
|
37
|
+
import "./chunks/chunk-73ZPG2I3.js";
|
|
38
38
|
import {
|
|
39
39
|
commandOptionFlagLabel,
|
|
40
40
|
resolveCommandOptionPolicyState,
|
|
41
41
|
resolveItemTypeRegistry,
|
|
42
42
|
resolveTypeDefinition
|
|
43
|
-
} from "./chunks/chunk-
|
|
44
|
-
import "./chunks/chunk-
|
|
43
|
+
} from "./chunks/chunk-5SCT2JCT.js";
|
|
44
|
+
import "./chunks/chunk-IUKD4W6Z.js";
|
|
45
45
|
import {
|
|
46
46
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
47
47
|
EXIT_CODE,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
setActiveExtensionServices,
|
|
86
86
|
toNonEmptyStringOrUndefined,
|
|
87
87
|
writeSettings
|
|
88
|
-
} from "./chunks/chunk-
|
|
88
|
+
} from "./chunks/chunk-FY4SPXSC.js";
|
|
89
89
|
|
|
90
90
|
// dist/cli/main.js
|
|
91
91
|
import { Command } from "commander";
|
|
@@ -645,7 +645,7 @@ async function sentryFlush(timeoutMs = 3e3) {
|
|
|
645
645
|
!(function() {
|
|
646
646
|
try {
|
|
647
647
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
648
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
648
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2a33807-c231-539d-ba55-045ba504f088");
|
|
649
649
|
} catch (e2) {
|
|
650
650
|
}
|
|
651
651
|
})();
|
|
@@ -751,6 +751,15 @@ function collectLooseOptionKeys(definition) {
|
|
|
751
751
|
}
|
|
752
752
|
return [...new Set(keys)];
|
|
753
753
|
}
|
|
754
|
+
function collectLooseCommandOptionKeysForDefinitions(definitions) {
|
|
755
|
+
const keys = /* @__PURE__ */ new Set();
|
|
756
|
+
for (const definition of definitions) {
|
|
757
|
+
for (const key of collectLooseOptionKeys(definition)) {
|
|
758
|
+
keys.add(key);
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
return keys;
|
|
762
|
+
}
|
|
754
763
|
function resolveCanonicalLooseOptionKey(definition) {
|
|
755
764
|
const long = typeof definition.long === "string" ? definition.long.trim() : "";
|
|
756
765
|
if (long.startsWith("--")) {
|
|
@@ -920,6 +929,46 @@ function parseLooseCommandOptions(args) {
|
|
|
920
929
|
}
|
|
921
930
|
return options;
|
|
922
931
|
}
|
|
932
|
+
function stripLooseCommandOptionTokens(args, definitions) {
|
|
933
|
+
if (definitions.length === 0) {
|
|
934
|
+
return [...args];
|
|
935
|
+
}
|
|
936
|
+
const knownKeys = /* @__PURE__ */ new Set();
|
|
937
|
+
const booleanKeys = /* @__PURE__ */ new Set();
|
|
938
|
+
for (const definition of definitions) {
|
|
939
|
+
const valueKind = resolveLooseOptionCoercionKind(definition);
|
|
940
|
+
for (const key of collectLooseOptionKeys(definition)) {
|
|
941
|
+
knownKeys.add(key);
|
|
942
|
+
if (valueKind === "boolean") {
|
|
943
|
+
booleanKeys.add(key);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
if (knownKeys.size === 0) {
|
|
948
|
+
return [...args];
|
|
949
|
+
}
|
|
950
|
+
const stripped = [];
|
|
951
|
+
let index = 0;
|
|
952
|
+
while (index < args.length) {
|
|
953
|
+
if (args[index] === "--") {
|
|
954
|
+
stripped.push(...args.slice(index + 1));
|
|
955
|
+
break;
|
|
956
|
+
}
|
|
957
|
+
const parsed = parseLooseOptionToken(args, index);
|
|
958
|
+
if (parsed) {
|
|
959
|
+
const normalizedKey = toLooseOptionKey(parsed.key);
|
|
960
|
+
if (knownKeys.has(normalizedKey)) {
|
|
961
|
+
const token = args[index] ?? "";
|
|
962
|
+
const consumed = booleanKeys.has(normalizedKey) && !token.includes("=") ? 1 : parsed.consumed;
|
|
963
|
+
index += consumed;
|
|
964
|
+
continue;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
stripped.push(args[index]);
|
|
968
|
+
index += 1;
|
|
969
|
+
}
|
|
970
|
+
return stripped;
|
|
971
|
+
}
|
|
923
972
|
|
|
924
973
|
// dist/cli/help-content.js
|
|
925
974
|
!(function() {
|
|
@@ -1699,7 +1748,7 @@ function renderPmCommand(argv) {
|
|
|
1699
1748
|
!(function() {
|
|
1700
1749
|
try {
|
|
1701
1750
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1702
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1751
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "492e5d0f-cf1f-5e6e-a75e-b74944ffcb84");
|
|
1703
1752
|
} catch (e2) {
|
|
1704
1753
|
}
|
|
1705
1754
|
})();
|
|
@@ -2158,6 +2207,66 @@ function appendIfMissing(entries, value) {
|
|
|
2158
2207
|
}
|
|
2159
2208
|
return [...entries, value];
|
|
2160
2209
|
}
|
|
2210
|
+
var LINKED_TEST_MUTATION_FLAGS = /* @__PURE__ */ new Set(["--add", "--add-json", "--remove"]);
|
|
2211
|
+
var LINKED_TEST_RETRY_KEYS = /* @__PURE__ */ new Set(["command", "cmd", "path"]);
|
|
2212
|
+
function findLinkedTestMutationFlag(argv) {
|
|
2213
|
+
if (!Array.isArray(argv)) {
|
|
2214
|
+
return void 0;
|
|
2215
|
+
}
|
|
2216
|
+
for (const token of argv) {
|
|
2217
|
+
if (!token.startsWith("--")) {
|
|
2218
|
+
continue;
|
|
2219
|
+
}
|
|
2220
|
+
const equalsIndex = token.indexOf("=");
|
|
2221
|
+
const flag = equalsIndex >= 0 ? token.slice(0, equalsIndex) : token;
|
|
2222
|
+
if (LINKED_TEST_MUTATION_FLAGS.has(flag)) {
|
|
2223
|
+
return flag;
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
return void 0;
|
|
2227
|
+
}
|
|
2228
|
+
function buildLinkedTestQuotedRetryCommand(argv) {
|
|
2229
|
+
if (!Array.isArray(argv)) {
|
|
2230
|
+
return void 0;
|
|
2231
|
+
}
|
|
2232
|
+
const commandIndex = argv.indexOf("test");
|
|
2233
|
+
if (commandIndex < 0) {
|
|
2234
|
+
return void 0;
|
|
2235
|
+
}
|
|
2236
|
+
const idToken = argv[commandIndex + 1];
|
|
2237
|
+
if (typeof idToken !== "string" || idToken.startsWith("-")) {
|
|
2238
|
+
return void 0;
|
|
2239
|
+
}
|
|
2240
|
+
for (let index = commandIndex + 2; index < argv.length; index += 1) {
|
|
2241
|
+
const token = argv[index];
|
|
2242
|
+
if (token !== "--add" && token !== "--remove") {
|
|
2243
|
+
continue;
|
|
2244
|
+
}
|
|
2245
|
+
const key = argv[index + 1];
|
|
2246
|
+
if (typeof key !== "string" || !LINKED_TEST_RETRY_KEYS.has(key)) {
|
|
2247
|
+
return void 0;
|
|
2248
|
+
}
|
|
2249
|
+
const valueTokens = [];
|
|
2250
|
+
for (let cursor = index + 2; cursor < argv.length; cursor += 1) {
|
|
2251
|
+
const candidate = argv[cursor];
|
|
2252
|
+
if (candidate.startsWith("--") && candidate.length > 2) {
|
|
2253
|
+
break;
|
|
2254
|
+
}
|
|
2255
|
+
valueTokens.push(candidate);
|
|
2256
|
+
}
|
|
2257
|
+
if (valueTokens.length < 2) {
|
|
2258
|
+
return void 0;
|
|
2259
|
+
}
|
|
2260
|
+
const merged = `${key}=${valueTokens.join(" ")}`;
|
|
2261
|
+
const rewritten = [
|
|
2262
|
+
...argv.slice(0, index + 1),
|
|
2263
|
+
merged,
|
|
2264
|
+
...argv.slice(index + 2 + valueTokens.length)
|
|
2265
|
+
];
|
|
2266
|
+
return renderPmCommand(rewritten);
|
|
2267
|
+
}
|
|
2268
|
+
return void 0;
|
|
2269
|
+
}
|
|
2161
2270
|
function buildCommanderErrorGuidance(rawMessage, commandName, allowedTypes, context) {
|
|
2162
2271
|
const message = normalizeMessage(rawMessage);
|
|
2163
2272
|
const requiredOption = message.match(/required option '([^']+)' not specified/);
|
|
@@ -2274,6 +2383,32 @@ function buildCommanderErrorGuidance(rawMessage, commandName, allowedTypes, cont
|
|
|
2274
2383
|
recovery: buildCommanderRecoveryPayload(context)
|
|
2275
2384
|
});
|
|
2276
2385
|
}
|
|
2386
|
+
if (/too many arguments/i.test(message) && commandName === "test") {
|
|
2387
|
+
const argv = context?.normalizedInvocationArgs;
|
|
2388
|
+
const mutationFlag = findLinkedTestMutationFlag(argv);
|
|
2389
|
+
if (mutationFlag) {
|
|
2390
|
+
const retryCommand = buildLinkedTestQuotedRetryCommand(argv);
|
|
2391
|
+
return makeGuidanceMessage({
|
|
2392
|
+
code: "linked_test_value_not_quoted",
|
|
2393
|
+
title: `Linked-test ${mutationFlag} value must be one argument`,
|
|
2394
|
+
happened: `Commander saw extra positional tokens after the item id \u2014 usually a ${mutationFlag} value containing spaces (for example a command with " -- ") that the shell split into multiple tokens.`,
|
|
2395
|
+
required: `Quote the whole ${mutationFlag} value as a single argument. Accepted forms: --add "command=npm test -- parser", --add command "npm test -- parser" (two-token form with the value quoted), or --add-json for complex commands.`,
|
|
2396
|
+
why: "The shell splits unquoted values before pm can see them, so pm cannot reassemble the intended command unambiguously.",
|
|
2397
|
+
examples: [
|
|
2398
|
+
...retryCommand ? [retryCommand] : [],
|
|
2399
|
+
'pm test pm-a1b2 --add "command=npm test -- parser"',
|
|
2400
|
+
'pm test pm-a1b2 --add command "npm test -- parser"',
|
|
2401
|
+
`pm test pm-a1b2 --add-json '{"command":"npm test -- parser"}'`
|
|
2402
|
+
],
|
|
2403
|
+
nextSteps: [
|
|
2404
|
+
...retryCommand ? [`Replay with the value re-joined into one argument: ${retryCommand}`] : [],
|
|
2405
|
+
"Prefer --add-json for commands containing commas, equals signs, or quotes.",
|
|
2406
|
+
'Run "pm test --help" for linked-test entry contracts.'
|
|
2407
|
+
],
|
|
2408
|
+
recovery: buildCommanderRecoveryPayload(context, retryCommand ? { suggested_retry: retryCommand } : {})
|
|
2409
|
+
});
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2277
2412
|
return makeGuidanceMessage({
|
|
2278
2413
|
code: "invalid_command_usage",
|
|
2279
2414
|
title: "Invalid command usage",
|
|
@@ -2356,7 +2491,7 @@ function createLazyModule(importer) {
|
|
|
2356
2491
|
!(function() {
|
|
2357
2492
|
try {
|
|
2358
2493
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2359
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2494
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2afbf21c-b26d-53d0-bd93-762ebd9e366a");
|
|
2360
2495
|
} catch (e2) {
|
|
2361
2496
|
}
|
|
2362
2497
|
})();
|
|
@@ -2575,6 +2710,25 @@ function formatDynamicExtensionOptionFlags(definition) {
|
|
|
2575
2710
|
const optionNames = [normalizedShort, normalizedLong].filter((entry) => entry !== null);
|
|
2576
2711
|
return `${optionNames.join(", ")}${optionValueSuffix}`;
|
|
2577
2712
|
}
|
|
2713
|
+
function formatDynamicExtensionParseOptionFlags(definition) {
|
|
2714
|
+
const visible = toOptionalBoolean(definition.visible);
|
|
2715
|
+
if (visible === false) {
|
|
2716
|
+
return null;
|
|
2717
|
+
}
|
|
2718
|
+
const longName = toNonEmptyFlagString(definition.long);
|
|
2719
|
+
const shortName = toNonEmptyFlagString(definition.short);
|
|
2720
|
+
const normalizedShort = shortName && shortName.startsWith("-") && !shortName.startsWith("--") ? shortName : null;
|
|
2721
|
+
const normalizedLong = longName && longName.startsWith("--") && longName.length > 2 ? longName : null;
|
|
2722
|
+
if (!normalizedLong && !normalizedShort) {
|
|
2723
|
+
return null;
|
|
2724
|
+
}
|
|
2725
|
+
const valueType = toNonEmptyFlagString(definition.value_type) ?? toNonEmptyFlagString(definition.type);
|
|
2726
|
+
const valueName = toNonEmptyFlagString(definition.value_name);
|
|
2727
|
+
const requiresValue = valueType !== "boolean" && (valueName !== null || valueType !== null || toOptionalBoolean(definition.required) === true);
|
|
2728
|
+
const valueSuffix = requiresValue ? ` <${valueName ?? "value"}>` : "";
|
|
2729
|
+
const optionNames = [normalizedShort, normalizedLong].filter((entry) => entry !== null);
|
|
2730
|
+
return `${optionNames.join(", ")}${valueSuffix}`;
|
|
2731
|
+
}
|
|
2578
2732
|
function formatDynamicExtensionOptionDescription(definition) {
|
|
2579
2733
|
const description = toNonEmptyFlagString(definition.description) ?? "Extension-provided option.";
|
|
2580
2734
|
const markers = [];
|
|
@@ -2587,6 +2741,26 @@ function formatDynamicExtensionOptionDescription(definition) {
|
|
|
2587
2741
|
const markerSuffix = markers.length > 0 ? ` [${markers.join(", ")}]` : "";
|
|
2588
2742
|
return `${description}${markerSuffix}`;
|
|
2589
2743
|
}
|
|
2744
|
+
function commandAlreadyHasOption(command, definition) {
|
|
2745
|
+
const longName = toNonEmptyFlagString(definition.long);
|
|
2746
|
+
const shortName = toNonEmptyFlagString(definition.short);
|
|
2747
|
+
return command.options.some((option) => {
|
|
2748
|
+
const optionWithNames = option;
|
|
2749
|
+
return longName !== null && optionWithNames.long === longName || shortName !== null && optionWithNames.short === shortName;
|
|
2750
|
+
});
|
|
2751
|
+
}
|
|
2752
|
+
function applyDynamicExtensionFlagOptions(command, definitions) {
|
|
2753
|
+
for (const definition of definitions) {
|
|
2754
|
+
if (commandAlreadyHasOption(command, definition)) {
|
|
2755
|
+
continue;
|
|
2756
|
+
}
|
|
2757
|
+
const flags = formatDynamicExtensionParseOptionFlags(definition);
|
|
2758
|
+
if (!flags) {
|
|
2759
|
+
continue;
|
|
2760
|
+
}
|
|
2761
|
+
command.option(flags, formatDynamicExtensionOptionDescription(definition));
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2590
2764
|
function buildDynamicExtensionHelpOptionSummary(definition) {
|
|
2591
2765
|
const flags = formatDynamicExtensionOptionFlags(definition);
|
|
2592
2766
|
if (!flags) {
|
|
@@ -2733,7 +2907,7 @@ function ensureCommandPath(root, pathParts) {
|
|
|
2733
2907
|
!(function() {
|
|
2734
2908
|
try {
|
|
2735
2909
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2736
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2910
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b9a4b15e-8a4c-5a00-b42e-ff9a3cf88bf1");
|
|
2737
2911
|
} catch (e2) {
|
|
2738
2912
|
}
|
|
2739
2913
|
})();
|
|
@@ -2831,7 +3005,7 @@ function stripGlobalBootstrapTokens(argv) {
|
|
|
2831
3005
|
if (token === "--") {
|
|
2832
3006
|
break;
|
|
2833
3007
|
}
|
|
2834
|
-
if (token === "--json" || token === "--quiet" || token === "--no-extensions" || token === "--no-pager" || token === "--profile" || token === "--explain") {
|
|
3008
|
+
if (token === "--json" || token === "--quiet" || token === "--no-extensions" || token === "--no-pager" || token === "--profile" || token === "--id-only" || token === "--explain") {
|
|
2835
3009
|
index += 1;
|
|
2836
3010
|
continue;
|
|
2837
3011
|
}
|
|
@@ -2894,7 +3068,7 @@ function findCommandTokenIndex(argv) {
|
|
|
2894
3068
|
index += 1;
|
|
2895
3069
|
continue;
|
|
2896
3070
|
}
|
|
2897
|
-
if (token.startsWith("--path=") || token.startsWith("--pm-path=") || token === "--json" || token === "--quiet" || token === "--no-extensions" || token === "--no-pager" || token === "--profile" || token === "--explain") {
|
|
3071
|
+
if (token.startsWith("--path=") || token.startsWith("--pm-path=") || token === "--json" || token === "--quiet" || token === "--no-extensions" || token === "--no-pager" || token === "--profile" || token === "--id-only" || token === "--explain") {
|
|
2898
3072
|
continue;
|
|
2899
3073
|
}
|
|
2900
3074
|
if (token.startsWith("-")) {
|
|
@@ -3241,6 +3415,60 @@ function coalesceRepeatedListFlags(argv, listFlags, valueConsumingFlags = /* @__
|
|
|
3241
3415
|
}
|
|
3242
3416
|
return { argv: result, events };
|
|
3243
3417
|
}
|
|
3418
|
+
var LINKED_TEST_TWO_TOKEN_KEYS_BY_FLAG = /* @__PURE__ */ new Map([
|
|
3419
|
+
["--add", /* @__PURE__ */ new Set(["command", "cmd", "path"])],
|
|
3420
|
+
["--remove", /* @__PURE__ */ new Set(["command", "path"])]
|
|
3421
|
+
]);
|
|
3422
|
+
function isLinkedTestTwoTokenValuePosition(commandName, emittedTokens) {
|
|
3423
|
+
if (commandName !== "test" || emittedTokens.length < 2) {
|
|
3424
|
+
return false;
|
|
3425
|
+
}
|
|
3426
|
+
const key = emittedTokens[emittedTokens.length - 1];
|
|
3427
|
+
const flag = emittedTokens[emittedTokens.length - 2];
|
|
3428
|
+
const keys = LINKED_TEST_TWO_TOKEN_KEYS_BY_FLAG.get(flag);
|
|
3429
|
+
return keys !== void 0 && keys.has(key);
|
|
3430
|
+
}
|
|
3431
|
+
function mergeLinkedTestTwoTokenEntries(argv, commandName, trace) {
|
|
3432
|
+
if (commandName !== "test") {
|
|
3433
|
+
return argv;
|
|
3434
|
+
}
|
|
3435
|
+
const result = [];
|
|
3436
|
+
let index = 0;
|
|
3437
|
+
while (index < argv.length) {
|
|
3438
|
+
const token = argv[index];
|
|
3439
|
+
if (token === "--") {
|
|
3440
|
+
result.push(...argv.slice(index));
|
|
3441
|
+
return result;
|
|
3442
|
+
}
|
|
3443
|
+
const keys = LINKED_TEST_TWO_TOKEN_KEYS_BY_FLAG.get(token);
|
|
3444
|
+
const key = keys ? argv[index + 1] : void 0;
|
|
3445
|
+
if (!keys || typeof key !== "string" || !keys.has(key)) {
|
|
3446
|
+
result.push(token);
|
|
3447
|
+
index += 1;
|
|
3448
|
+
continue;
|
|
3449
|
+
}
|
|
3450
|
+
let runEnd = index + 2;
|
|
3451
|
+
while (runEnd < argv.length && !argv[runEnd].startsWith("-")) {
|
|
3452
|
+
runEnd += 1;
|
|
3453
|
+
}
|
|
3454
|
+
if (runEnd - (index + 2) !== 1) {
|
|
3455
|
+
result.push(token);
|
|
3456
|
+
index += 1;
|
|
3457
|
+
continue;
|
|
3458
|
+
}
|
|
3459
|
+
const value = argv[index + 2];
|
|
3460
|
+
const mergedValue = `${key}=${value}`;
|
|
3461
|
+
result.push(token, mergedValue);
|
|
3462
|
+
trace.push({
|
|
3463
|
+
from: `${token} ${key} ${value}`,
|
|
3464
|
+
to: [token, mergedValue],
|
|
3465
|
+
reason: "bare_key_value",
|
|
3466
|
+
confidence: "high"
|
|
3467
|
+
});
|
|
3468
|
+
index += 3;
|
|
3469
|
+
}
|
|
3470
|
+
return result;
|
|
3471
|
+
}
|
|
3244
3472
|
function normalizeBootstrapInvocation(argv) {
|
|
3245
3473
|
const trace = [];
|
|
3246
3474
|
const legacyNormalized = normalizeLegacyExtensionActionSyntax(argv);
|
|
@@ -3273,7 +3501,7 @@ function normalizeBootstrapInvocation(argv) {
|
|
|
3273
3501
|
continue;
|
|
3274
3502
|
}
|
|
3275
3503
|
const bareKeyValue = parseBareKeyValueToken(token);
|
|
3276
|
-
if (bareKeyValue && !(typeof previous === "string" && previous.startsWith("-"))) {
|
|
3504
|
+
if (bareKeyValue && !(typeof previous === "string" && previous.startsWith("-")) && !isLinkedTestTwoTokenValuePosition(commandName, normalizedArgv)) {
|
|
3277
3505
|
const resolution = resolveCanonicalFlag(bareKeyValue.key, lookup);
|
|
3278
3506
|
if (resolution) {
|
|
3279
3507
|
const replacement = [resolution.flag, bareKeyValue.value];
|
|
@@ -3289,7 +3517,8 @@ function normalizeBootstrapInvocation(argv) {
|
|
|
3289
3517
|
}
|
|
3290
3518
|
normalizedArgv.push(token);
|
|
3291
3519
|
}
|
|
3292
|
-
const
|
|
3520
|
+
const linkedTestNormalized = mergeLinkedTestTwoTokenEntries(normalizedArgv, commandName, trace);
|
|
3521
|
+
const coalesced = coalesceRepeatedListFlags(linkedTestNormalized, lookup.listCanonicalFlags, GLOBAL_VALUE_CONSUMING_FLAGS);
|
|
3293
3522
|
for (const event of coalesced.events) {
|
|
3294
3523
|
trace.push(event);
|
|
3295
3524
|
}
|
|
@@ -4229,7 +4458,7 @@ function attachCreateUpdatePolicyHelpText(rootProgram, typeRegistry, argv) {
|
|
|
4229
4458
|
!(function() {
|
|
4230
4459
|
try {
|
|
4231
4460
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4232
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4461
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5b1ed048-2b19-58fc-8c2b-10036fb6c237");
|
|
4233
4462
|
} catch (e2) {
|
|
4234
4463
|
}
|
|
4235
4464
|
})();
|
|
@@ -4268,10 +4497,10 @@ var EXPECTED_HANDLED_ERROR_EXIT_CODES = /* @__PURE__ */ new Set([
|
|
|
4268
4497
|
EXIT_CODE.CONFLICT
|
|
4269
4498
|
]);
|
|
4270
4499
|
var TRUE_LIKE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes", "on"]);
|
|
4271
|
-
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-
|
|
4272
|
-
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-
|
|
4273
|
-
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-
|
|
4274
|
-
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-
|
|
4500
|
+
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-G4QYI3RX.js"));
|
|
4501
|
+
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-VHDXWEPP.js"));
|
|
4502
|
+
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-EAYNLGOS.js"));
|
|
4503
|
+
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-FWFE64JG.js"));
|
|
4275
4504
|
function describeUnknownError(error) {
|
|
4276
4505
|
if (error instanceof PmCliError) {
|
|
4277
4506
|
return error.message;
|
|
@@ -4574,16 +4803,22 @@ function extractCommandScopedOptions(command, commandArgs, extensionFlagDefiniti
|
|
|
4574
4803
|
delete scoped.profile;
|
|
4575
4804
|
delete scoped.pager;
|
|
4576
4805
|
delete scoped.changedFields;
|
|
4806
|
+
delete scoped.idOnly;
|
|
4577
4807
|
const looseOptions = parseLooseCommandOptions(commandArgs);
|
|
4578
|
-
if (extensionFlagDefinitions.length > 0) {
|
|
4579
|
-
validateLooseCommandOptionsWithFlagDefinitions(looseOptions, extensionFlagDefinitions, getCommandPath(command));
|
|
4580
|
-
}
|
|
4581
4808
|
for (const [key, value] of Object.entries(looseOptions)) {
|
|
4582
4809
|
if (scoped[key] === void 0) {
|
|
4583
4810
|
scoped[key] = value;
|
|
4584
4811
|
}
|
|
4585
4812
|
}
|
|
4586
4813
|
if (extensionFlagDefinitions.length > 0) {
|
|
4814
|
+
const extensionOptionKeys = collectLooseCommandOptionKeysForDefinitions(extensionFlagDefinitions);
|
|
4815
|
+
const optionsToValidate = { ...looseOptions };
|
|
4816
|
+
for (const key of extensionOptionKeys) {
|
|
4817
|
+
if (scoped[key] !== void 0) {
|
|
4818
|
+
optionsToValidate[key] = scoped[key];
|
|
4819
|
+
}
|
|
4820
|
+
}
|
|
4821
|
+
validateLooseCommandOptionsWithFlagDefinitions(optionsToValidate, extensionFlagDefinitions, getCommandPath(command));
|
|
4587
4822
|
return coerceLooseCommandOptionsWithFlagDefinitions(scoped, extensionFlagDefinitions);
|
|
4588
4823
|
}
|
|
4589
4824
|
return scoped;
|
|
@@ -5114,9 +5349,9 @@ async function executeRegisteredRuntimeMigrations(migrations, pmRoot) {
|
|
|
5114
5349
|
}
|
|
5115
5350
|
return warnings;
|
|
5116
5351
|
}
|
|
5117
|
-
async function runRequiredExtensionCommand(command, options, globalOptions) {
|
|
5352
|
+
async function runRequiredExtensionCommand(command, options, globalOptions, extensionFlagDefinitions = []) {
|
|
5118
5353
|
const commandPath = getCommandPath(command);
|
|
5119
|
-
let commandArgs = command.args.map(String);
|
|
5354
|
+
let commandArgs = stripLooseCommandOptionTokens(command.args.map(String), extensionFlagDefinitions);
|
|
5120
5355
|
let commandOptions = { ...options };
|
|
5121
5356
|
let resolvedGlobalOptions = { ...globalOptions };
|
|
5122
5357
|
const pmRoot = resolvePmRoot(process.cwd(), globalOptions.path);
|
|
@@ -5296,6 +5531,9 @@ async function registerDynamicExtensionCommandPaths(rootProgram, invocationArgv)
|
|
|
5296
5531
|
const flagHelp = snapshot.commandFlagHelp.get(commandPath);
|
|
5297
5532
|
const metadataHelp = descriptor ? buildDynamicExtensionCommandMetadataHelp(descriptor) : null;
|
|
5298
5533
|
if (existingCommand) {
|
|
5534
|
+
if (descriptor?.flags && descriptor.flags.length > 0) {
|
|
5535
|
+
applyDynamicExtensionFlagOptions(existingCommand, descriptor.flags);
|
|
5536
|
+
}
|
|
5299
5537
|
if (flagHelp) {
|
|
5300
5538
|
existingCommand.addHelpText("after", flagHelp);
|
|
5301
5539
|
}
|
|
@@ -5313,6 +5551,9 @@ async function registerDynamicExtensionCommandPaths(rootProgram, invocationArgv)
|
|
|
5313
5551
|
}
|
|
5314
5552
|
if (descriptor) {
|
|
5315
5553
|
applyDynamicExtensionArguments(dynamicCommand, descriptor);
|
|
5554
|
+
if (descriptor.flags.length > 0) {
|
|
5555
|
+
applyDynamicExtensionFlagOptions(dynamicCommand, descriptor.flags);
|
|
5556
|
+
}
|
|
5316
5557
|
}
|
|
5317
5558
|
if (flagHelp) {
|
|
5318
5559
|
dynamicCommand.addHelpText("after", flagHelp);
|
|
@@ -5327,7 +5568,7 @@ async function registerDynamicExtensionCommandPaths(rootProgram, invocationArgv)
|
|
|
5327
5568
|
const startedAt = Date.now();
|
|
5328
5569
|
const extensionFlagDefinitions = collectExtensionFlagDefinitionsForInvocation(snapshot.registrations, commandPath, command.args.map(String));
|
|
5329
5570
|
const scopedOptions = extractCommandScopedOptions(command, command.args.map(String), extensionFlagDefinitions);
|
|
5330
|
-
const result = await runRequiredExtensionCommand(command, scopedOptions, globalOptions);
|
|
5571
|
+
const result = await runRequiredExtensionCommand(command, scopedOptions, globalOptions, extensionFlagDefinitions);
|
|
5331
5572
|
await invalidateSearchCachesForMutation(globalOptions, result);
|
|
5332
5573
|
printResult(result, {
|
|
5333
5574
|
...globalOptions,
|
|
@@ -5351,7 +5592,7 @@ program.name("pm").description("Universal, flexible, extensible, agent-optimized
|
|
|
5351
5592
|
// Commander errors are rendered in our own catch path.
|
|
5352
5593
|
writeErr: () => {
|
|
5353
5594
|
}
|
|
5354
|
-
}).option("--json", "Output JSON instead of TOON").option("--quiet", "Suppress stdout output").option("--no-changed-fields", "Omit the changed_fields array from mutation output (keeps changed_field_count)").option("--pm-path <dir>", "Explicit tracker storage path for this command (preferred over --path)").option("--path <dir>", "Backward-compatible alias for --pm-path; this is the tracker storage path, not a workspace cwd").option("--no-extensions", "Disable extension loading").option("--no-pager", "Disable pager integration for help and long output").option("--explain", "Render extended rationale and examples in help output").option("--profile", "Print deterministic timing diagnostics").exitOverride();
|
|
5595
|
+
}).option("--json", "Output JSON instead of TOON").option("--quiet", "Suppress stdout output").option("--no-changed-fields", "Omit the changed_fields array from mutation output (keeps changed_field_count)").option("--id-only", "Print only id and status for single-item mutation output").option("--pm-path <dir>", "Explicit tracker storage path for this command (preferred over --path)").option("--path <dir>", "Backward-compatible alias for --pm-path; this is the tracker storage path, not a workspace cwd").option("--no-extensions", "Disable extension loading").option("--no-pager", "Disable pager integration for help and long output").option("--explain", "Render extended rationale and examples in help output").option("--profile", "Print deterministic timing diagnostics").exitOverride();
|
|
5355
5596
|
program.hook("preAction", async (_thisCommand, actionCommand) => {
|
|
5356
5597
|
activeExtensionHookContext = null;
|
|
5357
5598
|
activeTelemetryCommandContext = null;
|
|
@@ -5654,19 +5895,7 @@ async function registerCoreCommandFamilies(rootProgram, selection) {
|
|
|
5654
5895
|
registerOperationCommands(rootProgram);
|
|
5655
5896
|
}
|
|
5656
5897
|
}
|
|
5657
|
-
function
|
|
5658
|
-
const normalized = commandName.trim().toLowerCase();
|
|
5659
|
-
for (const command of rootProgram.commands) {
|
|
5660
|
-
if (command.name().trim().toLowerCase() === normalized) {
|
|
5661
|
-
return true;
|
|
5662
|
-
}
|
|
5663
|
-
if (command.aliases().some((alias) => alias.trim().toLowerCase() === normalized)) {
|
|
5664
|
-
return true;
|
|
5665
|
-
}
|
|
5666
|
-
}
|
|
5667
|
-
return false;
|
|
5668
|
-
}
|
|
5669
|
-
function shouldRegisterDynamicExtensionPaths(rootProgram, invocationArgv) {
|
|
5898
|
+
function shouldRegisterDynamicExtensionPaths(_rootProgram, invocationArgv) {
|
|
5670
5899
|
if (invocationRequestsVersion(invocationArgv)) {
|
|
5671
5900
|
return false;
|
|
5672
5901
|
}
|
|
@@ -5678,7 +5907,7 @@ function shouldRegisterDynamicExtensionPaths(rootProgram, invocationArgv) {
|
|
|
5678
5907
|
if (!commandName) {
|
|
5679
5908
|
return false;
|
|
5680
5909
|
}
|
|
5681
|
-
return
|
|
5910
|
+
return true;
|
|
5682
5911
|
}
|
|
5683
5912
|
function shouldRegisterRuntimeSchemaFlags(invocationArgv) {
|
|
5684
5913
|
if (invocationRequestsVersion(invocationArgv)) {
|