@unbrained/pm-cli 2026.7.2 → 2026.7.4
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 +3 -3
- package/CHANGELOG.md +29 -0
- package/CONTRIBUTING.md +38 -9
- package/README.md +1 -5
- package/dist/cli/commander-usage.js +54 -41
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/activity.js +79 -57
- package/dist/cli/commands/activity.js.map +1 -1
- package/dist/cli/commands/calendar.js +3 -3
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/close-many.js +106 -65
- package/dist/cli/commands/close-many.js.map +1 -1
- package/dist/cli/commands/completion.js +231 -345
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/create.d.ts +2 -59
- package/dist/cli/commands/create.js +38 -39
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension/doctor.js +56 -67
- package/dist/cli/commands/extension/doctor.js.map +1 -1
- package/dist/cli/commands/extension/scaffold.js +54 -133
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension/shared.js +21 -15
- package/dist/cli/commands/extension/shared.js.map +1 -1
- package/dist/cli/commands/files.js +3 -3
- package/dist/cli/commands/files.js.map +1 -1
- package/dist/cli/commands/health.js +101 -112
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-compact.js +9 -18
- package/dist/cli/commands/history-compact.js.map +1 -1
- package/dist/cli/commands/history-repair.js +9 -19
- package/dist/cli/commands/history-repair.js.map +1 -1
- package/dist/cli/commands/init-agent-guidance.js +160 -111
- package/dist/cli/commands/init-agent-guidance.js.map +1 -1
- package/dist/cli/commands/init.js +3 -3
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/item-filter-options.d.ts +2 -0
- package/dist/cli/commands/item-filter-options.js +2 -2
- package/dist/cli/commands/item-filter-options.js.map +1 -1
- package/dist/cli/commands/mutation-command-options.d.ts +78 -0
- package/dist/cli/commands/mutation-command-options.js +10 -0
- package/dist/cli/commands/mutation-command-options.js.map +1 -0
- package/dist/cli/commands/next.js +13 -10
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/profile.js +23 -15
- package/dist/cli/commands/profile.js.map +1 -1
- package/dist/cli/commands/reindex.js +3 -3
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/shared-unset-fields.d.ts +19 -0
- package/dist/cli/commands/shared-unset-fields.js +31 -2
- package/dist/cli/commands/shared-unset-fields.js.map +1 -1
- package/dist/cli/commands/update.d.ts +2 -59
- package/dist/cli/commands/update.js +26 -97
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +2 -0
- package/dist/cli/commands/validate.js +16 -4
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.js +9 -6
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-help.js +27 -19
- package/dist/cli/extension-command-help.js.map +1 -1
- package/dist/cli/help-json-payload.js +57 -49
- package/dist/cli/help-json-payload.js.map +1 -1
- package/dist/cli/main.js +48 -32
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +215 -213
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +368 -368
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.js +303 -299
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +4 -0
- package/dist/cli/registration-helpers.js +51 -56
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-IDS5GSYG.js +16 -0
- package/dist/cli-bundle/chunks/{activity-CUC4JY3U.js → activity-OENQCYZD.js} +9 -9
- package/dist/cli-bundle/chunks/{aggregate-SW5PNGCS.js → aggregate-EC4LWS3U.js} +8 -8
- package/dist/cli-bundle/chunks/{aggregate-DKUTRY6R.js → aggregate-RCB3QJJE.js} +8 -8
- package/dist/cli-bundle/chunks/{append-H32VOR2Y.js → append-ADBOI3A6.js} +8 -8
- package/dist/cli-bundle/chunks/{append-UBM632FK.js → append-XLEKVVWB.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-Q6NXOHS6.js → chunk-2LRMWMZ6.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-2227673O.js → chunk-2ONH3WG6.js} +32 -13
- package/dist/cli-bundle/chunks/{chunk-2227673O.js.map → chunk-2ONH3WG6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MNBPX5JS.js → chunk-2VK677OA.js} +72 -49
- package/dist/cli-bundle/chunks/chunk-2VK677OA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KLXF7NCC.js → chunk-3C5T3ZEO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JMK5GCK2.js → chunk-3MLQZI3H.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BTX5MIQF.js → chunk-4EVY7CQN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q6K2OACU.js → chunk-4IW7STMB.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-6YCYF2AI.js → chunk-4KPQQ42D.js} +166 -110
- package/dist/cli-bundle/chunks/chunk-4KPQQ42D.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-BVZZN2LH.js → chunk-4OXNQHKQ.js} +23 -17
- package/dist/cli-bundle/chunks/{chunk-BVZZN2LH.js.map → chunk-4OXNQHKQ.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UWKEJMZU.js → chunk-4PJYRA3V.js} +31 -12
- package/dist/cli-bundle/chunks/{chunk-UWKEJMZU.js.map → chunk-4PJYRA3V.js.map} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EMPGXBUF.js → chunk-4SHME4VR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6ITZLD4T.js → chunk-5FYY76HR.js} +28 -99
- package/dist/cli-bundle/chunks/chunk-5FYY76HR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OTUJZKGI.js → chunk-6QY2NA2M.js} +24 -18
- package/dist/cli-bundle/chunks/{chunk-OTUJZKGI.js.map → chunk-6QY2NA2M.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-2KWL5NPW.js → chunk-6YB7HG2J.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-36UGKF4O.js → chunk-724VLYDJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XCHUVHKU.js → chunk-75VMARGO.js} +11 -11
- package/dist/cli-bundle/chunks/chunk-75VMARGO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XWGEMNBR.js → chunk-7745CXNI.js} +119 -195
- package/dist/cli-bundle/chunks/chunk-7745CXNI.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-YPKFV2JR.js → chunk-7G5SUU6F.js} +76 -54
- package/dist/cli-bundle/chunks/chunk-7G5SUU6F.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Y4NRKBFW.js → chunk-7ITQSEBL.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-W47SML5B.js → chunk-A222YWOQ.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-3LCUASYG.js → chunk-A2W3XKAD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KN3URLKS.js → chunk-AOP2EMK3.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RM37OPYK.js → chunk-AZMPKLIA.js} +72 -49
- package/dist/cli-bundle/chunks/chunk-AZMPKLIA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7NSPKJUS.js → chunk-BDDYM4LH.js} +262 -252
- package/dist/cli-bundle/chunks/chunk-BDDYM4LH.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-JXAUVO6X.js → chunk-CN4OAA2G.js} +55 -20
- package/dist/cli-bundle/chunks/chunk-CN4OAA2G.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IEEJQCZ4.js → chunk-CQFZRLXQ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-4NUOWFBT.js → chunk-CQISNF3Z.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-S62UANU7.js → chunk-D2LDM35X.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GRRG3MCT.js → chunk-DEIDJQZK.js} +57 -136
- package/dist/cli-bundle/chunks/chunk-DEIDJQZK.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IG5JYZGU.js → chunk-DJ5S2LDY.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-A6VOGKBA.js → chunk-EB4BBEZD.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-QH3FSKRJ.js → chunk-EH23N5FX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HQTPRV4D.js → chunk-FDNJMYZB.js} +6 -6
- package/dist/cli-bundle/chunks/{chunk-K2VYLVX4.js → chunk-FMWQRMHS.js} +33 -6
- package/dist/cli-bundle/chunks/chunk-FMWQRMHS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-N2JSWVWG.js → chunk-HL742IBM.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3AZUFQK6.js → chunk-J4KNRDI3.js} +59 -70
- package/dist/cli-bundle/chunks/{chunk-3AZUFQK6.js.map → chunk-J4KNRDI3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-66Z3X7ZG.js → chunk-JYLFF7GJ.js} +166 -110
- package/dist/cli-bundle/chunks/chunk-JYLFF7GJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GFMSLORL.js → chunk-JZJJEJBR.js} +75 -53
- package/dist/cli-bundle/chunks/chunk-JZJJEJBR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7TH5NMVB.js → chunk-KKHIQOTN.js} +25 -19
- package/dist/cli-bundle/chunks/chunk-KKHIQOTN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5GVTFFTC.js → chunk-LLQLLAKU.js} +118 -194
- package/dist/cli-bundle/chunks/chunk-LLQLLAKU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KIYCOJ63.js → chunk-M34MVAOP.js} +58 -137
- package/dist/cli-bundle/chunks/chunk-M34MVAOP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CZPVDLD2.js → chunk-M6PR5BC6.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-XEWQKDYZ.js → chunk-MTB4PRA3.js} +10 -10
- package/dist/cli-bundle/chunks/chunk-MTB4PRA3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-MRD4T5LF.js → chunk-MZ4NH46V.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AIAIXG7I.js → chunk-MZG6I2Q2.js} +39 -5
- package/dist/cli-bundle/chunks/chunk-MZG6I2Q2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZNHEYCDD.js → chunk-N2LOJUBB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WJAMWAHZ.js → chunk-NGDK3KEZ.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-SYNKD3ZG.js → chunk-NHDR3UCW.js} +46 -60
- package/dist/cli-bundle/chunks/chunk-NHDR3UCW.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-2CHRYUXL.js → chunk-NHKXOMZ5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-7MYWF4ZX.js → chunk-OTSP6UEX.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-UGLU6Q2I.js → chunk-PUVPC5DL.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LTRAF2D7.js → chunk-PV5JS7MP.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-KCO2EAN5.js → chunk-Q2266G4S.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-SYVUU7EK.js → chunk-Q3XVLRCJ.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-AJEBCRIY.js → chunk-QFXFKYNQ.js} +47 -61
- package/dist/cli-bundle/chunks/chunk-QFXFKYNQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-6ZMBJRDJ.js → chunk-R7EMP4JG.js} +9 -9
- package/dist/cli-bundle/chunks/{chunk-SPM2XLWI.js → chunk-SBNT6SLO.js} +22 -7
- package/dist/cli-bundle/chunks/chunk-SBNT6SLO.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-I66WE2HE.js → chunk-SL2ANJSV.js} +260 -250
- package/dist/cli-bundle/chunks/chunk-SL2ANJSV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-U2BEEM2X.js → chunk-T5RTYLZJ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UTSH5GWX.js → chunk-TGYDJEJH.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-H4GRLYJS.js → chunk-TO4KCIOT.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EUKTMRN3.js → chunk-TUV7SIWZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-N3QCJS4M.js → chunk-UGDONITK.js} +58 -69
- package/dist/cli-bundle/chunks/{chunk-N3QCJS4M.js.map → chunk-UGDONITK.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NRZS637N.js → chunk-UYLA5ROU.js} +56 -21
- package/dist/cli-bundle/chunks/chunk-UYLA5ROU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-55XRYWEG.js → chunk-V655JQ5J.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-3Q2HBMTI.js → chunk-W5X3AHJN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XTHQWXVC.js → chunk-WBWRQS32.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-UT73HUPC.js → chunk-WOOB7PV7.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-5PGBHRY3.js → chunk-WSDIALO4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LRKMWUUV.js → chunk-WTXDLBSZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FFOQHGNH.js → chunk-XBIYI23P.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-7W4H4K26.js → chunk-XFO2NJY6.js} +29 -100
- package/dist/cli-bundle/chunks/chunk-XFO2NJY6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TPOFWBMY.js → chunk-XQCWTSLO.js} +26 -20
- package/dist/cli-bundle/chunks/chunk-XQCWTSLO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2ASNV4DH.js → chunk-Y2VSCQ77.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-ZNT7KEWE.js → chunk-YZR7UMZ6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-YLZZ6T54.js → chunk-YZWXMDNH.js} +23 -8
- package/dist/cli-bundle/chunks/chunk-YZWXMDNH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CYBDUHNO.js → chunk-ZIEGTQCY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-TTHCEV5Q.js → chunk-ZZWMJVW2.js} +4 -4
- package/dist/cli-bundle/chunks/{claim-Z7MEQCBT.js → claim-D6L33A5Y.js} +8 -8
- package/dist/cli-bundle/chunks/{claim-SENTPZBN.js → claim-YAFUTPVK.js} +8 -8
- package/dist/cli-bundle/chunks/close-KLDLHAOP.js +14 -0
- package/dist/cli-bundle/chunks/{close-424MX4CU.js → close-TGYXG7TV.js} +7 -7
- package/dist/cli-bundle/chunks/{close-many-SWY34BII.js → close-many-4QSWKCRU.js} +119 -76
- package/dist/cli-bundle/chunks/close-many-4QSWKCRU.js.map +7 -0
- package/dist/cli-bundle/chunks/{close-many-2IV4J2TR.js → close-many-SNA6LNZH.js} +120 -77
- package/dist/cli-bundle/chunks/close-many-SNA6LNZH.js.map +1 -0
- package/dist/cli-bundle/chunks/{comments-4FGNTSNV.js → comments-QC6ARR5X.js} +9 -9
- package/dist/cli-bundle/chunks/{comments-7YS5MY5X.js → comments-ZHVYGUVC.js} +9 -9
- package/dist/cli-bundle/chunks/{config-G74GISC4.js → config-O6W2EU2G.js} +7 -7
- package/dist/cli-bundle/chunks/{config-BZJKK7FZ.js → config-XQRFJXJP.js} +7 -7
- package/dist/cli-bundle/chunks/{context-LHVKJSPJ.js → context-IHE3IXN5.js} +12 -12
- package/dist/cli-bundle/chunks/{context-ZQY54JNS.js → context-WSYWBEUL.js} +12 -12
- package/dist/cli-bundle/chunks/{contracts-FIZLMP7O.js → contracts-CVBINC7C.js} +3 -3
- package/dist/cli-bundle/chunks/{contracts-CP2EZJC7.js → contracts-NLCDIZAT.js} +3 -3
- package/dist/cli-bundle/chunks/{copy-TLW7JTQT.js → copy-7MUQC44A.js} +5 -5
- package/dist/cli-bundle/chunks/{copy-GYNQQPW2.js → copy-ANWXDJVC.js} +5 -5
- package/dist/cli-bundle/chunks/create-AJ6HUR5W.js +28 -0
- package/dist/cli-bundle/chunks/{create-VSKYSOCD.js → create-JIA2IFCO.js} +12 -12
- package/dist/cli-bundle/chunks/{delete-ANTOTI2I.js → delete-5OLYWQIC.js} +5 -5
- package/dist/cli-bundle/chunks/{delete-4W5JYCEG.js → delete-INHKCIRN.js} +5 -5
- package/dist/cli-bundle/chunks/{deps-HPPE6MJN.js → deps-CCSWGZW7.js} +5 -5
- package/dist/cli-bundle/chunks/{deps-ZQZN54EZ.js → deps-IYEID3QX.js} +5 -5
- package/dist/cli-bundle/chunks/{docs-XJNYBJGE.js → docs-3XZK22WF.js} +7 -7
- package/dist/cli-bundle/chunks/{docs-RPOVFMP3.js → docs-PKO7OEIM.js} +7 -7
- package/dist/cli-bundle/chunks/{eval-RFBI5FGS.js → eval-5XYP6NMY.js} +10 -10
- package/dist/cli-bundle/chunks/{eval-DM6JBZTS.js → eval-O4WGQYDI.js} +10 -10
- package/dist/cli-bundle/chunks/{extension-TTSEFQTS.js → extension-PVGRRZZG.js} +11 -11
- package/dist/cli-bundle/chunks/{extension-B3YY4WY5.js → extension-T7JNTAAA.js} +11 -11
- package/dist/cli-bundle/chunks/{files-5D65CHGE.js → files-7IU56S6R.js} +10 -10
- package/dist/cli-bundle/chunks/files-7IU56S6R.js.map +1 -0
- package/dist/cli-bundle/chunks/{files-GPIG77EN.js → files-W7HH5EOD.js} +9 -9
- package/dist/cli-bundle/chunks/{files-GPIG77EN.js.map → files-W7HH5EOD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{focus-ZHN7WIGX.js → focus-6FA5KYRY.js} +6 -6
- package/dist/cli-bundle/chunks/{focus-C3PEJV2C.js → focus-CQ63JFDG.js} +6 -6
- package/dist/cli-bundle/chunks/{gc-D4JQ6OWN.js → gc-3BG67KTO.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-VZIXDL32.js → gc-PEZYGNVB.js} +3 -3
- package/dist/cli-bundle/chunks/{get-GIBRUUOP.js → get-J6CSJ4SX.js} +10 -10
- package/dist/cli-bundle/chunks/{get-IOVAN6RU.js → get-KJTKGNEQ.js} +10 -10
- package/dist/cli-bundle/chunks/{health-L2U3AFKV.js → health-32UQICEL.js} +115 -123
- package/dist/cli-bundle/chunks/health-32UQICEL.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-MM7AWXYF.js → health-ZUZG5ULV.js} +114 -122
- package/dist/cli-bundle/chunks/health-ZUZG5ULV.js.map +7 -0
- package/dist/cli-bundle/chunks/history-IOH6FKG7.js +18 -0
- package/dist/cli-bundle/chunks/{history-IL7XCEX2.js → history-W6QVR6FA.js} +8 -8
- package/dist/cli-bundle/chunks/{history-compact-HALOTOU7.js → history-compact-F355EGL4.js} +20 -27
- package/dist/cli-bundle/chunks/history-compact-F355EGL4.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-compact-MV25P7DM.js → history-compact-JQ6ZGYSJ.js} +19 -26
- package/dist/cli-bundle/chunks/history-compact-JQ6ZGYSJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-redact-VYCWQFK7.js → history-redact-TUWOUYX5.js} +9 -9
- package/dist/cli-bundle/chunks/history-redact-VVDOARNO.js +19 -0
- package/dist/cli-bundle/chunks/{history-repair-44MODPQF.js → history-repair-MPCAIKYE.js} +20 -28
- package/dist/cli-bundle/chunks/history-repair-MPCAIKYE.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-repair-CPNAOCNF.js → history-repair-ZKS3LKPV.js} +19 -27
- package/dist/cli-bundle/chunks/history-repair-ZKS3LKPV.js.map +7 -0
- package/dist/cli-bundle/chunks/init-CZLEEE6Q.js +22 -0
- package/dist/cli-bundle/chunks/{init-F27NHENZ.js → init-MAA6UMNQ.js} +12 -12
- package/dist/cli-bundle/chunks/{learnings-XSFSUUWK.js → learnings-EYC3OKS2.js} +9 -9
- package/dist/cli-bundle/chunks/{learnings-HJVDQIGY.js → learnings-HKJJUVTA.js} +9 -9
- package/dist/cli-bundle/chunks/{list-VMPWTURB.js → list-HFD5737R.js} +8 -8
- package/dist/cli-bundle/chunks/{list-HPMEKCAA.js → list-KN3TL5Y5.js} +8 -8
- package/dist/cli-bundle/chunks/{next-ETXF2ZCN.js → next-DQUMFAHG.js} +25 -22
- package/dist/cli-bundle/chunks/{next-ETXF2ZCN.js.map → next-DQUMFAHG.js.map} +2 -2
- package/dist/cli-bundle/chunks/{next-QM6YJIIS.js → next-JUEYC5HE.js} +26 -23
- package/dist/cli-bundle/chunks/next-JUEYC5HE.js.map +1 -0
- package/dist/cli-bundle/chunks/{notes-WDDBPC4D.js → notes-XATYT43P.js} +9 -9
- package/dist/cli-bundle/chunks/{notes-GDZIKGR6.js → notes-ZG6RLZXB.js} +9 -9
- package/dist/cli-bundle/chunks/{plan-BGDR73Z6.js → plan-5NWQL2DH.js} +12 -12
- package/dist/cli-bundle/chunks/{plan-C5IMM335.js → plan-DVVLX7LK.js} +12 -12
- package/dist/cli-bundle/chunks/{profile-CCOKZ2IQ.js → profile-54DZ4CLB.js} +27 -19
- package/dist/cli-bundle/chunks/profile-54DZ4CLB.js.map +1 -0
- package/dist/cli-bundle/chunks/{profile-HUCENIEQ.js → profile-PLIQVEOY.js} +26 -18
- package/dist/cli-bundle/chunks/profile-PLIQVEOY.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-ROSNIL52.js → register-list-query-PNRAHNIQ.js} +181 -172
- package/dist/cli-bundle/chunks/register-list-query-PNRAHNIQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-XN4ZRHSV.js → register-list-query-WRS6ACUW.js} +180 -171
- package/dist/cli-bundle/chunks/register-list-query-WRS6ACUW.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-KRLAHEL2.js → register-mutation-ET6E4VLE.js} +367 -361
- package/dist/cli-bundle/chunks/register-mutation-ET6E4VLE.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-CFSB2MS3.js → register-mutation-K2MNRWGI.js} +368 -362
- package/dist/cli-bundle/chunks/register-mutation-K2MNRWGI.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-MBN4KGUM.js → register-operations-6DQRUTIX.js} +310 -305
- package/dist/cli-bundle/chunks/register-operations-6DQRUTIX.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-4PASGJDB.js → register-operations-73UDWMVB.js} +309 -304
- package/dist/cli-bundle/chunks/register-operations-73UDWMVB.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-setup-ZCGKHDKL.js → register-setup-FXZJ2CEJ.js} +15 -15
- package/dist/cli-bundle/chunks/{register-setup-VIAWYFP5.js → register-setup-LYYCMQFV.js} +15 -15
- package/dist/cli-bundle/chunks/restore-L27TMMCF.js +17 -0
- package/dist/cli-bundle/chunks/{restore-4CBWUMCX.js → restore-R6YJHQK3.js} +9 -9
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-6VFKNKCM.js → scheduling-shortcuts-LE4S7OI7.js} +12 -12
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-ERHCVTEM.js → scheduling-shortcuts-OGODPUBL.js} +12 -12
- package/dist/cli-bundle/chunks/{schema-UE5KKAUX.js → schema-ICCD3HOP.js} +7 -7
- package/dist/cli-bundle/chunks/{schema-TDGK6N3I.js → schema-RHH23PQX.js} +7 -7
- package/dist/cli-bundle/chunks/{search-FP7MEU4S.js → search-HDDKOPFE.js} +10 -10
- package/dist/cli-bundle/chunks/{search-K4CFLQ5S.js → search-Z2VGP2Q5.js} +10 -10
- package/dist/cli-bundle/chunks/{stats-NJJCALEZ.js → stats-DHMRXHOB.js} +6 -6
- package/dist/cli-bundle/chunks/{stats-XT6QRKQY.js → stats-ETFP37MB.js} +6 -6
- package/dist/cli-bundle/chunks/{telemetry-HVXFZA2U.js → telemetry-NUZNKDCP.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-5SQ5UDXC.js → telemetry-ZRBM22QD.js} +4 -4
- package/dist/cli-bundle/chunks/{test-UFSJ5YIO.js → test-H36PM746.js} +15 -15
- package/dist/cli-bundle/chunks/{test-YCDAUBWF.js → test-XNKTIP4Y.js} +15 -15
- package/dist/cli-bundle/chunks/{test-all-2BWKY3GQ.js → test-all-APCBSXQI.js} +17 -17
- package/dist/cli-bundle/chunks/{test-all-PM7UYN42.js → test-all-KIK3OYBY.js} +17 -17
- package/dist/cli-bundle/chunks/{test-runs-H4TGWGRN.js → test-runs-5SLLV3XU.js} +4 -4
- package/dist/cli-bundle/chunks/{test-runs-FK5E75AA.js → test-runs-L3WKLO67.js} +4 -4
- package/dist/cli-bundle/chunks/update-RQKI3AMW.js +24 -0
- package/dist/cli-bundle/chunks/{update-Y5WQVT5O.js → update-ZM7NJWHY.js} +15 -15
- package/dist/cli-bundle/chunks/{update-many-JTKKSA7Y.js → update-many-GFCQG6ZQ.js} +28 -28
- package/dist/cli-bundle/chunks/{update-many-6YAYYRLE.js → update-many-XGTJ7QIU.js} +28 -28
- package/dist/cli-bundle/chunks/{upgrade-DTAHZ236.js → upgrade-KJ3JGELR.js} +11 -11
- package/dist/cli-bundle/chunks/{upgrade-JUDU7YL4.js → upgrade-RBRQ7PQU.js} +11 -11
- package/dist/cli-bundle/chunks/{validate-732RWS5W.js → validate-EW6TGC7R.js} +31 -21
- package/dist/cli-bundle/chunks/validate-EW6TGC7R.js.map +7 -0
- package/dist/cli-bundle/chunks/{validate-W7H5TEDC.js → validate-T6PR5WAL.js} +32 -22
- package/dist/cli-bundle/chunks/validate-T6PR5WAL.js.map +1 -0
- package/dist/cli-bundle/main.js +180 -122
- package/dist/cli-bundle/main.js.map +3 -3
- package/dist/core/extensions/extension-types.d.ts +1 -2
- package/dist/core/extensions/extension-types.js +2 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/history/history-rewrite.d.ts +10 -0
- package/dist/core/history/history-rewrite.js +27 -3
- package/dist/core/history/history-rewrite.js.map +1 -1
- package/dist/core/item/type-registry.d.ts +1 -0
- package/dist/core/item/type-registry.js +180 -194
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/schema/runtime-schema.js +65 -54
- package/dist/core/schema/runtime-schema.js.map +1 -1
- package/dist/core/schema/status-defs-file.js +26 -3
- package/dist/core/schema/status-defs-file.js.map +1 -1
- package/dist/core/search/corpus.js +25 -19
- package/dist/core/search/corpus.js.map +1 -1
- package/dist/core/shared/memo.d.ts +12 -0
- package/dist/core/shared/memo.js +25 -0
- package/dist/core/shared/memo.js.map +1 -0
- package/dist/core/shared/serialization.js +24 -14
- package/dist/core/shared/serialization.js.map +1 -1
- package/dist/core/shared/time.js +26 -4
- package/dist/core/shared/time.js.map +1 -1
- package/dist/core/store/front-matter-cache.d.ts +5 -0
- package/dist/core/store/front-matter-cache.js +79 -20
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +73 -99
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +4 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.js +55 -94
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
- package/dist/sdk/compose.js +51 -42
- package/dist/sdk/compose.js.map +1 -1
- package/dist/sdk/package-import-adapters.d.ts +90 -2
- package/dist/sdk/package-import-adapters.js +274 -2
- package/dist/sdk/package-import-adapters.js.map +1 -1
- package/dist/sdk/runtime.d.ts +1 -1
- package/dist/sdk/runtime.js +3 -3
- package/dist/sdk/runtime.js.map +1 -1
- package/docs/AGENT_GUIDE.md +2 -2
- package/docs/ARCHITECTURE.md +2 -2
- package/docs/COMMANDS.md +8 -4
- package/docs/CONFIGURATION.md +1 -1
- package/docs/EXTENSIONS.md +12 -12
- package/docs/ONBOARDING.md +4 -2
- package/docs/README.md +2 -0
- package/docs/examples/starter-extension/README.md +11 -10
- package/marketplace.json +3 -3
- package/package.json +4 -3
- package/packages/pm-beads/extensions/beads/runtime-loader.ts +27 -40
- package/packages/pm-beads/extensions/beads/runtime.ts +106 -223
- package/packages/pm-calendar/extensions/calendar/runtime.ts +21 -18
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +9 -11
- package/packages/pm-todos/extensions/todos/runtime-loader.ts +48 -76
- package/packages/pm-todos/extensions/todos/runtime.ts +61 -257
- package/plugins/pm-claude/.claude-plugin/plugin.json +2 -2
- package/plugins/pm-claude/README.md +6 -3
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/plugins/pm-claude/scripts/pm-mcp-server.mjs +73 -31
- package/plugins/pm-codex/scripts/pm-mcp-server.mjs +80 -34
- package/scripts/install.ps1 +7 -7
- package/dist/cli-bundle/chunks/activity-WEIEMM73.js +0 -16
- package/dist/cli-bundle/chunks/chunk-5GVTFFTC.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-66Z3X7ZG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6ITZLD4T.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6YCYF2AI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7NSPKJUS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7TH5NMVB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7W4H4K26.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AIAIXG7I.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AJEBCRIY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GFMSLORL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-GRRG3MCT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-I66WE2HE.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JXAUVO6X.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-K2VYLVX4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-KIYCOJ63.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MNBPX5JS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-NRZS637N.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RM37OPYK.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SPM2XLWI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SYNKD3ZG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TPOFWBMY.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XCHUVHKU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XEWQKDYZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XWGEMNBR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-YLZZ6T54.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-YPKFV2JR.js.map +0 -1
- package/dist/cli-bundle/chunks/close-YCWQQPDS.js +0 -14
- package/dist/cli-bundle/chunks/close-many-2IV4J2TR.js.map +0 -1
- package/dist/cli-bundle/chunks/close-many-SWY34BII.js.map +0 -7
- package/dist/cli-bundle/chunks/create-XTMAPS7I.js +0 -28
- package/dist/cli-bundle/chunks/files-5D65CHGE.js.map +0 -1
- package/dist/cli-bundle/chunks/health-L2U3AFKV.js.map +0 -1
- package/dist/cli-bundle/chunks/health-MM7AWXYF.js.map +0 -7
- package/dist/cli-bundle/chunks/history-DD7L7BNL.js +0 -18
- package/dist/cli-bundle/chunks/history-compact-HALOTOU7.js.map +0 -1
- package/dist/cli-bundle/chunks/history-compact-MV25P7DM.js.map +0 -7
- package/dist/cli-bundle/chunks/history-redact-IX4YEWMY.js +0 -19
- package/dist/cli-bundle/chunks/history-repair-44MODPQF.js.map +0 -1
- package/dist/cli-bundle/chunks/history-repair-CPNAOCNF.js.map +0 -7
- package/dist/cli-bundle/chunks/init-HHVQQP6C.js +0 -22
- package/dist/cli-bundle/chunks/next-QM6YJIIS.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-CCOKZ2IQ.js.map +0 -1
- package/dist/cli-bundle/chunks/profile-HUCENIEQ.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-ROSNIL52.js.map +0 -1
- package/dist/cli-bundle/chunks/register-list-query-XN4ZRHSV.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-CFSB2MS3.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-KRLAHEL2.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-4PASGJDB.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-MBN4KGUM.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-5UEAGG3W.js +0 -17
- package/dist/cli-bundle/chunks/update-MTCFES6X.js +0 -24
- package/dist/cli-bundle/chunks/validate-732RWS5W.js.map +0 -7
- package/dist/cli-bundle/chunks/validate-W7H5TEDC.js.map +0 -1
- /package/dist/cli-bundle/chunks/{activity-WEIEMM73.js.map → activity-IDS5GSYG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-CUC4JY3U.js.map → activity-OENQCYZD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-SW5PNGCS.js.map → aggregate-EC4LWS3U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{aggregate-DKUTRY6R.js.map → aggregate-RCB3QJJE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-H32VOR2Y.js.map → append-ADBOI3A6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{append-UBM632FK.js.map → append-XLEKVVWB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q6NXOHS6.js.map → chunk-2LRMWMZ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KLXF7NCC.js.map → chunk-3C5T3ZEO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JMK5GCK2.js.map → chunk-3MLQZI3H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-BTX5MIQF.js.map → chunk-4EVY7CQN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Q6K2OACU.js.map → chunk-4IW7STMB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EMPGXBUF.js.map → chunk-4SHME4VR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2KWL5NPW.js.map → chunk-6YB7HG2J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-36UGKF4O.js.map → chunk-724VLYDJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y4NRKBFW.js.map → chunk-7ITQSEBL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-W47SML5B.js.map → chunk-A222YWOQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3LCUASYG.js.map → chunk-A2W3XKAD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KN3URLKS.js.map → chunk-AOP2EMK3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IEEJQCZ4.js.map → chunk-CQFZRLXQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-4NUOWFBT.js.map → chunk-CQISNF3Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S62UANU7.js.map → chunk-D2LDM35X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IG5JYZGU.js.map → chunk-DJ5S2LDY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-A6VOGKBA.js.map → chunk-EB4BBEZD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QH3FSKRJ.js.map → chunk-EH23N5FX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HQTPRV4D.js.map → chunk-FDNJMYZB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-N2JSWVWG.js.map → chunk-HL742IBM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CZPVDLD2.js.map → chunk-M6PR5BC6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-MRD4T5LF.js.map → chunk-MZ4NH46V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZNHEYCDD.js.map → chunk-N2LOJUBB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WJAMWAHZ.js.map → chunk-NGDK3KEZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2CHRYUXL.js.map → chunk-NHKXOMZ5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-7MYWF4ZX.js.map → chunk-OTSP6UEX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UGLU6Q2I.js.map → chunk-PUVPC5DL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LTRAF2D7.js.map → chunk-PV5JS7MP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KCO2EAN5.js.map → chunk-Q2266G4S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SYVUU7EK.js.map → chunk-Q3XVLRCJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6ZMBJRDJ.js.map → chunk-R7EMP4JG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-U2BEEM2X.js.map → chunk-T5RTYLZJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UTSH5GWX.js.map → chunk-TGYDJEJH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-H4GRLYJS.js.map → chunk-TO4KCIOT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EUKTMRN3.js.map → chunk-TUV7SIWZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-55XRYWEG.js.map → chunk-V655JQ5J.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3Q2HBMTI.js.map → chunk-W5X3AHJN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XTHQWXVC.js.map → chunk-WBWRQS32.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-UT73HUPC.js.map → chunk-WOOB7PV7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5PGBHRY3.js.map → chunk-WSDIALO4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LRKMWUUV.js.map → chunk-WTXDLBSZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FFOQHGNH.js.map → chunk-XBIYI23P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2ASNV4DH.js.map → chunk-Y2VSCQ77.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZNT7KEWE.js.map → chunk-YZR7UMZ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CYBDUHNO.js.map → chunk-ZIEGTQCY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TTHCEV5Q.js.map → chunk-ZZWMJVW2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-Z7MEQCBT.js.map → claim-D6L33A5Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-SENTPZBN.js.map → claim-YAFUTPVK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-YCWQQPDS.js.map → close-KLDLHAOP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-424MX4CU.js.map → close-TGYXG7TV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-4FGNTSNV.js.map → comments-QC6ARR5X.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{comments-7YS5MY5X.js.map → comments-ZHVYGUVC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-G74GISC4.js.map → config-O6W2EU2G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{config-BZJKK7FZ.js.map → config-XQRFJXJP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-LHVKJSPJ.js.map → context-IHE3IXN5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{context-ZQY54JNS.js.map → context-WSYWBEUL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-FIZLMP7O.js.map → contracts-CVBINC7C.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{contracts-CP2EZJC7.js.map → contracts-NLCDIZAT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-TLW7JTQT.js.map → copy-7MUQC44A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-GYNQQPW2.js.map → copy-ANWXDJVC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-XTMAPS7I.js.map → create-AJ6HUR5W.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-VSKYSOCD.js.map → create-JIA2IFCO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ANTOTI2I.js.map → delete-5OLYWQIC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-4W5JYCEG.js.map → delete-INHKCIRN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-HPPE6MJN.js.map → deps-CCSWGZW7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{deps-ZQZN54EZ.js.map → deps-IYEID3QX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-XJNYBJGE.js.map → docs-3XZK22WF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-RPOVFMP3.js.map → docs-PKO7OEIM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-RFBI5FGS.js.map → eval-5XYP6NMY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{eval-DM6JBZTS.js.map → eval-O4WGQYDI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-TTSEFQTS.js.map → extension-PVGRRZZG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-B3YY4WY5.js.map → extension-T7JNTAAA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-ZHN7WIGX.js.map → focus-6FA5KYRY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{focus-C3PEJV2C.js.map → focus-CQ63JFDG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-D4JQ6OWN.js.map → gc-3BG67KTO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-VZIXDL32.js.map → gc-PEZYGNVB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-GIBRUUOP.js.map → get-J6CSJ4SX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{get-IOVAN6RU.js.map → get-KJTKGNEQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-DD7L7BNL.js.map → history-IOH6FKG7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-IL7XCEX2.js.map → history-W6QVR6FA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-VYCWQFK7.js.map → history-redact-TUWOUYX5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-IX4YEWMY.js.map → history-redact-VVDOARNO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-HHVQQP6C.js.map → init-CZLEEE6Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-F27NHENZ.js.map → init-MAA6UMNQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-XSFSUUWK.js.map → learnings-EYC3OKS2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{learnings-HJVDQIGY.js.map → learnings-HKJJUVTA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-VMPWTURB.js.map → list-HFD5737R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-HPMEKCAA.js.map → list-KN3TL5Y5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-WDDBPC4D.js.map → notes-XATYT43P.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{notes-GDZIKGR6.js.map → notes-ZG6RLZXB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-BGDR73Z6.js.map → plan-5NWQL2DH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{plan-C5IMM335.js.map → plan-DVVLX7LK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-ZCGKHDKL.js.map → register-setup-FXZJ2CEJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{register-setup-VIAWYFP5.js.map → register-setup-LYYCMQFV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-5UEAGG3W.js.map → restore-L27TMMCF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-4CBWUMCX.js.map → restore-R6YJHQK3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{scheduling-shortcuts-6VFKNKCM.js.map → scheduling-shortcuts-LE4S7OI7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{scheduling-shortcuts-ERHCVTEM.js.map → scheduling-shortcuts-OGODPUBL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-UE5KKAUX.js.map → schema-ICCD3HOP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{schema-TDGK6N3I.js.map → schema-RHH23PQX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-FP7MEU4S.js.map → search-HDDKOPFE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-K4CFLQ5S.js.map → search-Z2VGP2Q5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-NJJCALEZ.js.map → stats-DHMRXHOB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{stats-XT6QRKQY.js.map → stats-ETFP37MB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-HVXFZA2U.js.map → telemetry-NUZNKDCP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-5SQ5UDXC.js.map → telemetry-ZRBM22QD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-UFSJ5YIO.js.map → test-H36PM746.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-YCDAUBWF.js.map → test-XNKTIP4Y.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-2BWKY3GQ.js.map → test-all-APCBSXQI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-all-PM7UYN42.js.map → test-all-KIK3OYBY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-H4TGWGRN.js.map → test-runs-5SLLV3XU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-runs-FK5E75AA.js.map → test-runs-L3WKLO67.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-MTCFES6X.js.map → update-RQKI3AMW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-Y5WQVT5O.js.map → update-ZM7NJWHY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-JTKKSA7Y.js.map → update-many-GFCQG6ZQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-many-6YAYYRLE.js.map → update-many-XGTJ7QIU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-DTAHZ236.js.map → upgrade-KJ3JGELR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{upgrade-JUDU7YL4.js.map → upgrade-RBRQ7PQU.js.map} +0 -0
package/dist/cli-bundle/main.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
emitTelemetryErrorEvent,
|
|
6
6
|
finishTelemetryCommand,
|
|
7
7
|
startTelemetryCommand
|
|
8
|
-
} from "./chunks/chunk-
|
|
8
|
+
} from "./chunks/chunk-TO4KCIOT.js";
|
|
9
9
|
import {
|
|
10
10
|
migrateItemFilesToFormat
|
|
11
|
-
} from "./chunks/chunk-
|
|
11
|
+
} from "./chunks/chunk-D2LDM35X.js";
|
|
12
12
|
import {
|
|
13
13
|
applyDefaultOutputFormat,
|
|
14
14
|
clearResolvedGlobalOptions,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
getGlobalOptions,
|
|
19
19
|
invalidateSearchCachesForMutation,
|
|
20
20
|
setResolvedGlobalOptions
|
|
21
|
-
} from "./chunks/chunk-
|
|
21
|
+
} from "./chunks/chunk-NHDR3UCW.js";
|
|
22
22
|
import {
|
|
23
23
|
printError,
|
|
24
24
|
printResult,
|
|
25
25
|
writeStdout
|
|
26
|
-
} from "./chunks/chunk-
|
|
27
|
-
import "./chunks/chunk-
|
|
26
|
+
} from "./chunks/chunk-WSDIALO4.js";
|
|
27
|
+
import "./chunks/chunk-KKHIQOTN.js";
|
|
28
28
|
import {
|
|
29
29
|
EXECUTABLE_COMMAND_ALIASES,
|
|
30
30
|
applyBootstrapPagerPolicy,
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
parseBootstrapHelpRequest,
|
|
36
36
|
parseBootstrapTypeValue,
|
|
37
37
|
stripGlobalBootstrapTokens
|
|
38
|
-
} from "./chunks/chunk-
|
|
38
|
+
} from "./chunks/chunk-4OXNQHKQ.js";
|
|
39
39
|
import {
|
|
40
40
|
PM_CORE_COMMAND_NAMES,
|
|
41
41
|
resolveSubcommandFlagContractsForCommand
|
|
42
|
-
} from "./chunks/chunk-
|
|
43
|
-
import "./chunks/chunk-
|
|
44
|
-
import "./chunks/chunk-
|
|
45
|
-
import "./chunks/chunk-
|
|
42
|
+
} from "./chunks/chunk-7745CXNI.js";
|
|
43
|
+
import "./chunks/chunk-CN4OAA2G.js";
|
|
44
|
+
import "./chunks/chunk-CQFZRLXQ.js";
|
|
45
|
+
import "./chunks/chunk-MZG6I2Q2.js";
|
|
46
46
|
import {
|
|
47
47
|
BUILTIN_ITEM_TYPE_VALUES,
|
|
48
48
|
EXIT_CODE,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
setActiveExtensionServices,
|
|
91
91
|
toNonEmptyStringOrUndefined,
|
|
92
92
|
writeSettings
|
|
93
|
-
} from "./chunks/chunk-
|
|
93
|
+
} from "./chunks/chunk-BDDYM4LH.js";
|
|
94
94
|
|
|
95
95
|
// dist/cli/main.js
|
|
96
96
|
import { Command } from "commander";
|
|
@@ -1923,7 +1923,7 @@ function renderPmCommand(argv) {
|
|
|
1923
1923
|
!(function() {
|
|
1924
1924
|
try {
|
|
1925
1925
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1926
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1926
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8fc55c5b-a16f-5087-814e-4c58f90d7f1a");
|
|
1927
1927
|
} catch (e2) {
|
|
1928
1928
|
}
|
|
1929
1929
|
})();
|
|
@@ -2198,13 +2198,16 @@ function buildFallbackTitleFromMessage(message) {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
return `${firstLine.slice(0, 117)}...`;
|
|
2200
2200
|
}
|
|
2201
|
+
function normalizeContextValue(value, fallback) {
|
|
2202
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : fallback;
|
|
2203
|
+
}
|
|
2201
2204
|
function applyPmCliErrorContext(guidance, rawMessage, context) {
|
|
2202
2205
|
if (!context) {
|
|
2203
2206
|
return guidance;
|
|
2204
2207
|
}
|
|
2205
2208
|
const normalizedRawMessage = normalizeMessage(rawMessage);
|
|
2206
|
-
const code =
|
|
2207
|
-
const type =
|
|
2209
|
+
const code = normalizeContextValue(context.code, guidance.code);
|
|
2210
|
+
const type = normalizeContextValue(context.type, errorType(code));
|
|
2208
2211
|
const examples = normalizeContextList(context.examples) ?? guidance.examples;
|
|
2209
2212
|
const nextSteps = normalizeContextList(context.nextSteps) ?? guidance.nextSteps;
|
|
2210
2213
|
const fallbackTitle = guidance.code === "command_failed" && context.code ? buildFallbackTitleFromMessage(normalizedRawMessage) : void 0;
|
|
@@ -2215,8 +2218,8 @@ function applyPmCliErrorContext(guidance, rawMessage, context) {
|
|
|
2215
2218
|
type,
|
|
2216
2219
|
title: fallbackTitle ?? guidance.title,
|
|
2217
2220
|
happened: normalizedRawMessage.length > 0 ? normalizedRawMessage : guidance.happened,
|
|
2218
|
-
required:
|
|
2219
|
-
why:
|
|
2221
|
+
required: normalizeContextValue(context.required, guidance.required),
|
|
2222
|
+
why: normalizeContextValue(context.why, guidance.why),
|
|
2220
2223
|
examples,
|
|
2221
2224
|
nextSteps,
|
|
2222
2225
|
recovery
|
|
@@ -2743,7 +2746,7 @@ function createLazyModule(importer) {
|
|
|
2743
2746
|
!(function() {
|
|
2744
2747
|
try {
|
|
2745
2748
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2746
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2749
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f4bd09b9-2429-5af4-9f71-f2a7fe58f0d1");
|
|
2747
2750
|
} catch (e2) {
|
|
2748
2751
|
}
|
|
2749
2752
|
})();
|
|
@@ -2862,7 +2865,7 @@ function normalizeExtensionCommandArguments(values) {
|
|
|
2862
2865
|
return normalized;
|
|
2863
2866
|
}).filter((entry) => entry !== null);
|
|
2864
2867
|
}
|
|
2865
|
-
function
|
|
2868
|
+
function collectExtensionDefinitionsByCommand(commandDefinitions) {
|
|
2866
2869
|
const definitionsByCommand = /* @__PURE__ */ new Map();
|
|
2867
2870
|
for (const definition of commandDefinitions) {
|
|
2868
2871
|
const commandPath = normalizeExtensionCommandPath(definition.command);
|
|
@@ -2887,6 +2890,9 @@ function collectExtensionCommandHelpDescriptors(commandHandlers, commandDefiniti
|
|
|
2887
2890
|
}
|
|
2888
2891
|
});
|
|
2889
2892
|
}
|
|
2893
|
+
return definitionsByCommand;
|
|
2894
|
+
}
|
|
2895
|
+
function collectExtensionFlagsByCommand(flagRegistrations) {
|
|
2890
2896
|
const flagsByCommand = /* @__PURE__ */ new Map();
|
|
2891
2897
|
for (const registration of flagRegistrations) {
|
|
2892
2898
|
const commandPath = normalizeExtensionCommandPath(registration.target_command);
|
|
@@ -2897,6 +2903,9 @@ function collectExtensionCommandHelpDescriptors(commandHandlers, commandDefiniti
|
|
|
2897
2903
|
existing.push(...registration.flags);
|
|
2898
2904
|
flagsByCommand.set(commandPath, existing);
|
|
2899
2905
|
}
|
|
2906
|
+
return flagsByCommand;
|
|
2907
|
+
}
|
|
2908
|
+
function collectExtensionHelpCommandSet(commandHandlers, definitionsByCommand, flagsByCommand) {
|
|
2900
2909
|
const commandSet = /* @__PURE__ */ new Set();
|
|
2901
2910
|
for (const commandPath of commandHandlers) {
|
|
2902
2911
|
const normalized = normalizeExtensionCommandPath(commandPath);
|
|
@@ -2910,6 +2919,12 @@ function collectExtensionCommandHelpDescriptors(commandHandlers, commandDefiniti
|
|
|
2910
2919
|
for (const commandPath of flagsByCommand.keys()) {
|
|
2911
2920
|
commandSet.add(commandPath);
|
|
2912
2921
|
}
|
|
2922
|
+
return commandSet;
|
|
2923
|
+
}
|
|
2924
|
+
function collectExtensionCommandHelpDescriptors(commandHandlers, commandDefinitions, flagRegistrations) {
|
|
2925
|
+
const definitionsByCommand = collectExtensionDefinitionsByCommand(commandDefinitions);
|
|
2926
|
+
const flagsByCommand = collectExtensionFlagsByCommand(flagRegistrations);
|
|
2927
|
+
const commandSet = collectExtensionHelpCommandSet(commandHandlers, definitionsByCommand, flagsByCommand);
|
|
2913
2928
|
const descriptors = /* @__PURE__ */ new Map();
|
|
2914
2929
|
const sortedCommands = [...commandSet].sort((left, right) => left.localeCompare(right));
|
|
2915
2930
|
for (const commandPath of sortedCommands) {
|
|
@@ -2945,7 +2960,7 @@ function applyDynamicExtensionArguments(command, descriptor) {
|
|
|
2945
2960
|
command.argument(buildExtensionArgumentToken(argument), argument.description ?? "Extension argument.");
|
|
2946
2961
|
}
|
|
2947
2962
|
}
|
|
2948
|
-
function
|
|
2963
|
+
function normalizeDynamicExtensionOptionNames(definition) {
|
|
2949
2964
|
const visible = toOptionalBoolean(definition.visible);
|
|
2950
2965
|
if (visible === false) {
|
|
2951
2966
|
return null;
|
|
@@ -2954,31 +2969,27 @@ function formatDynamicExtensionOptionFlags(definition) {
|
|
|
2954
2969
|
const shortName = toNonEmptyFlagString(definition.short);
|
|
2955
2970
|
const normalizedShort = shortName && shortName.startsWith("-") && !shortName.startsWith("--") ? shortName : null;
|
|
2956
2971
|
const normalizedLong = longName && longName.startsWith("--") && longName.length > 2 ? longName : null;
|
|
2957
|
-
|
|
2972
|
+
const optionNames = [normalizedShort, normalizedLong].filter((entry) => entry !== null);
|
|
2973
|
+
return optionNames.length > 0 ? optionNames : null;
|
|
2974
|
+
}
|
|
2975
|
+
function formatDynamicExtensionOptionFlags(definition) {
|
|
2976
|
+
const optionNames = normalizeDynamicExtensionOptionNames(definition);
|
|
2977
|
+
if (!optionNames) {
|
|
2958
2978
|
return null;
|
|
2959
2979
|
}
|
|
2960
2980
|
const optionValueName = toNonEmptyFlagString(definition.value_name);
|
|
2961
2981
|
const optionValueSuffix = optionValueName ? ` <${optionValueName}>` : "";
|
|
2962
|
-
const optionNames = [normalizedShort, normalizedLong].filter((entry) => entry !== null);
|
|
2963
2982
|
return `${optionNames.join(", ")}${optionValueSuffix}`;
|
|
2964
2983
|
}
|
|
2965
2984
|
function formatDynamicExtensionParseOptionFlags(definition) {
|
|
2966
|
-
const
|
|
2967
|
-
if (
|
|
2968
|
-
return null;
|
|
2969
|
-
}
|
|
2970
|
-
const longName = toNonEmptyFlagString(definition.long);
|
|
2971
|
-
const shortName = toNonEmptyFlagString(definition.short);
|
|
2972
|
-
const normalizedShort = shortName && shortName.startsWith("-") && !shortName.startsWith("--") ? shortName : null;
|
|
2973
|
-
const normalizedLong = longName && longName.startsWith("--") && longName.length > 2 ? longName : null;
|
|
2974
|
-
if (!normalizedLong && !normalizedShort) {
|
|
2985
|
+
const optionNames = normalizeDynamicExtensionOptionNames(definition);
|
|
2986
|
+
if (!optionNames) {
|
|
2975
2987
|
return null;
|
|
2976
2988
|
}
|
|
2977
2989
|
const valueType = toNonEmptyFlagString(definition.value_type) ?? toNonEmptyFlagString(definition.type);
|
|
2978
2990
|
const valueName = toNonEmptyFlagString(definition.value_name);
|
|
2979
2991
|
const requiresValue = valueType !== "boolean" && (valueName !== null || valueType !== null || toOptionalBoolean(definition.required) === true);
|
|
2980
2992
|
const valueSuffix = requiresValue ? ` <${valueName ?? "value"}>` : "";
|
|
2981
|
-
const optionNames = [normalizedShort, normalizedLong].filter((entry) => entry !== null);
|
|
2982
2993
|
return `${optionNames.join(", ")}${valueSuffix}`;
|
|
2983
2994
|
}
|
|
2984
2995
|
function formatDynamicExtensionOptionDescription(definition) {
|
|
@@ -3281,7 +3292,7 @@ async function enforceItemFormatWriteGateAndPreflightMigration(commandPath, opti
|
|
|
3281
3292
|
!(function() {
|
|
3282
3293
|
try {
|
|
3283
3294
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3284
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3295
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7d27d900-2792-5dba-95dc-262d72ce028e");
|
|
3285
3296
|
} catch (e2) {
|
|
3286
3297
|
}
|
|
3287
3298
|
})();
|
|
@@ -3564,22 +3575,9 @@ function rewriteUnknownOptionArgv(argv, unknownOption, replacementFlag) {
|
|
|
3564
3575
|
}
|
|
3565
3576
|
return void 0;
|
|
3566
3577
|
}
|
|
3567
|
-
function
|
|
3568
|
-
const
|
|
3569
|
-
|
|
3570
|
-
return void 0;
|
|
3571
|
-
}
|
|
3572
|
-
const normalizedUnknown = normalizeHelpCommandPath(unknownCommandMatch[1]);
|
|
3573
|
-
if (normalizedUnknown.length === 0) {
|
|
3574
|
-
return void 0;
|
|
3575
|
-
}
|
|
3576
|
-
const commandPaths = collectRuntimeCommandPaths(root, extensionDescriptors);
|
|
3577
|
-
if (commandPaths.length === 0) {
|
|
3578
|
-
return void 0;
|
|
3579
|
-
}
|
|
3580
|
-
const primaryToken = normalizedUnknown.split(" ")[0];
|
|
3581
|
-
const commandPathSet = new Set(commandPaths);
|
|
3582
|
-
const scoreAgainstUnknown = (candidatePath) => Math.min(scoreCommandPathMatch(candidatePath, normalizedUnknown), primaryToken !== normalizedUnknown ? scoreCommandPathMatch(candidatePath, primaryToken) : Number.POSITIVE_INFINITY);
|
|
3578
|
+
function scoreRuntimeCommandCandidates(params) {
|
|
3579
|
+
const commandPathSet = new Set(params.commandPaths);
|
|
3580
|
+
const scoreAgainstUnknown = (candidatePath) => Math.min(scoreCommandPathMatch(candidatePath, params.normalizedUnknown), params.primaryToken !== params.normalizedUnknown ? scoreCommandPathMatch(candidatePath, params.primaryToken) : Number.POSITIVE_INFINITY);
|
|
3583
3581
|
const scoresByCommandPath = /* @__PURE__ */ new Map();
|
|
3584
3582
|
const recordCandidateScore = (commandPath, score) => {
|
|
3585
3583
|
if (!Number.isFinite(score) || !commandPathSet.has(commandPath)) {
|
|
@@ -3590,22 +3588,55 @@ function buildUnknownCommandGuidanceFromRuntime(rawMessage, root, extensionDescr
|
|
|
3590
3588
|
scoresByCommandPath.set(commandPath, score);
|
|
3591
3589
|
}
|
|
3592
3590
|
};
|
|
3593
|
-
for (const commandPath of commandPaths) {
|
|
3591
|
+
for (const commandPath of params.commandPaths) {
|
|
3594
3592
|
recordCandidateScore(commandPath, scoreAgainstUnknown(commandPath));
|
|
3595
3593
|
}
|
|
3596
3594
|
for (const [aliasToken, canonicalPath] of Object.entries(EXECUTABLE_COMMAND_ALIASES)) {
|
|
3597
3595
|
recordCandidateScore(canonicalPath, scoreAgainstUnknown(aliasToken));
|
|
3598
3596
|
}
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
const
|
|
3603
|
-
|
|
3604
|
-
|
|
3597
|
+
return [...scoresByCommandPath.entries()].sort(([leftPath, leftScore], [rightPath, rightScore]) => leftScore !== rightScore ? leftScore - rightScore : leftPath.localeCompare(rightPath)).map(([commandPath]) => commandPath);
|
|
3598
|
+
}
|
|
3599
|
+
function resolveUnknownCommandCandidates(params) {
|
|
3600
|
+
const rankedCandidates = scoreRuntimeCommandCandidates(params);
|
|
3601
|
+
const installedPackageCandidates = collectInstalledPackageCommandPathHints(params.primaryToken, params.extensionDescriptors).filter((commandPath) => params.commandPaths.includes(commandPath));
|
|
3602
|
+
return dedupeStrings2([...rankedCandidates, ...installedPackageCandidates]);
|
|
3603
|
+
}
|
|
3604
|
+
function resolveUnknownCommandFallbacks(commandPaths) {
|
|
3605
|
+
const topLevel = [...new Set(commandPaths.map((commandPath) => commandPath.split(" ")[0]).filter((segment) => segment.length > 0))];
|
|
3606
|
+
return topLevel.sort((left, right) => left.localeCompare(right));
|
|
3607
|
+
}
|
|
3608
|
+
function buildUnknownCommandExamples(suggestedPaths, hasConcreteCandidates) {
|
|
3605
3609
|
const suggestedExamples = suggestedPaths.map((path) => `pm ${path} --help`);
|
|
3606
|
-
|
|
3610
|
+
if (hasConcreteCandidates) {
|
|
3611
|
+
return [.../* @__PURE__ */ new Set([...suggestedExamples, "pm --help"])];
|
|
3612
|
+
}
|
|
3613
|
+
return [.../* @__PURE__ */ new Set(["pm --help", ...suggestedExamples])];
|
|
3614
|
+
}
|
|
3615
|
+
function buildUnknownCommandGuidanceFromRuntime(rawMessage, root, extensionDescriptors) {
|
|
3616
|
+
const unknownCommandMatch = rawMessage.match(/unknown command '([^']+)'/i);
|
|
3617
|
+
if (!unknownCommandMatch || typeof unknownCommandMatch[1] !== "string") {
|
|
3618
|
+
return void 0;
|
|
3619
|
+
}
|
|
3620
|
+
const normalizedUnknown = normalizeHelpCommandPath(unknownCommandMatch[1]);
|
|
3621
|
+
if (normalizedUnknown.length === 0) {
|
|
3622
|
+
return void 0;
|
|
3623
|
+
}
|
|
3624
|
+
const commandPaths = collectRuntimeCommandPaths(root, extensionDescriptors);
|
|
3625
|
+
if (commandPaths.length === 0) {
|
|
3626
|
+
return void 0;
|
|
3627
|
+
}
|
|
3628
|
+
const primaryToken = normalizedUnknown.split(" ")[0];
|
|
3629
|
+
const combinedCandidates = resolveUnknownCommandCandidates({
|
|
3630
|
+
commandPaths,
|
|
3631
|
+
normalizedUnknown,
|
|
3632
|
+
primaryToken,
|
|
3633
|
+
extensionDescriptors
|
|
3634
|
+
});
|
|
3635
|
+
const fallbackTopLevel = resolveUnknownCommandFallbacks(commandPaths);
|
|
3636
|
+
const suggestedPaths = (combinedCandidates.length > 0 ? combinedCandidates : fallbackTopLevel).slice(0, 3);
|
|
3637
|
+
const examples = buildUnknownCommandExamples(suggestedPaths, combinedCandidates.length > 0);
|
|
3607
3638
|
const optionalPackageHint = resolveOptionalPackageInstallHint(normalizedUnknown);
|
|
3608
|
-
const didYouMean = combinedCandidates.length > 0 ? `Did you mean: ${
|
|
3639
|
+
const didYouMean = combinedCandidates.length > 0 ? `Did you mean: ${suggestedPaths.join(", ")}?` : null;
|
|
3609
3640
|
return {
|
|
3610
3641
|
unknownCommandExamples: examples,
|
|
3611
3642
|
unknownCommandNextSteps: [
|
|
@@ -3775,7 +3806,7 @@ async function formatCommanderUsageJson(error, rootProgram, extensionDescriptors
|
|
|
3775
3806
|
!(function() {
|
|
3776
3807
|
try {
|
|
3777
3808
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3778
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3809
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4daddb64-a9f8-5131-92be-05d37fd24cf8");
|
|
3779
3810
|
} catch (e2) {
|
|
3780
3811
|
}
|
|
3781
3812
|
})();
|
|
@@ -3908,20 +3939,26 @@ function buildHelpSubcommandSummaries(command) {
|
|
|
3908
3939
|
description: entry.description().trim()
|
|
3909
3940
|
})).sort((left, right) => left.name.localeCompare(right.name));
|
|
3910
3941
|
}
|
|
3942
|
+
function buildJsonHelpNarrative(detailMode, fallbackNarrative, extensionDescriptor) {
|
|
3943
|
+
if (!extensionDescriptor) {
|
|
3944
|
+
return fallbackNarrative;
|
|
3945
|
+
}
|
|
3946
|
+
const extensionExamples = extensionDescriptor.examples ?? [];
|
|
3947
|
+
const extensionFailureHints = extensionDescriptor.failure_hints ?? [];
|
|
3948
|
+
return {
|
|
3949
|
+
intent: extensionDescriptor.intent ?? extensionDescriptor.description ?? fallbackNarrative.intent,
|
|
3950
|
+
examples: detailMode === "detailed" ? extensionExamples.length > 0 ? [...extensionExamples] : [...fallbackNarrative.examples] : extensionExamples.length > 0 ? [extensionExamples[0]] : [...fallbackNarrative.examples],
|
|
3951
|
+
tips: detailMode === "detailed" ? extensionFailureHints.length > 0 ? [...extensionFailureHints] : [...fallbackNarrative.tips] : [],
|
|
3952
|
+
detail_mode: detailMode
|
|
3953
|
+
};
|
|
3954
|
+
}
|
|
3911
3955
|
function buildJsonHelpPayload(rootProgram, targetCommand, argv, requestedPath, extensionDescriptors) {
|
|
3912
3956
|
const detailMode = resolveHelpDetailMode(argv);
|
|
3913
3957
|
const resolvedPath = normalizeHelpCommandPath(getCommandPath(targetCommand));
|
|
3914
3958
|
const commandPath = resolvedPath.length > 0 ? resolvedPath : void 0;
|
|
3915
3959
|
const fallbackNarrative = resolveHelpNarrative(commandPath, detailMode);
|
|
3916
3960
|
const extensionDescriptor = commandPath ? extensionDescriptors.get(commandPath) : void 0;
|
|
3917
|
-
const
|
|
3918
|
-
const extensionFailureHints = extensionDescriptor?.failure_hints ?? [];
|
|
3919
|
-
const narrative = extensionDescriptor ? {
|
|
3920
|
-
intent: extensionDescriptor.intent ?? extensionDescriptor.description ?? fallbackNarrative.intent,
|
|
3921
|
-
examples: detailMode === "detailed" ? extensionExamples.length > 0 ? [...extensionExamples] : [...fallbackNarrative.examples] : extensionExamples.length > 0 ? [extensionExamples[0]] : [...fallbackNarrative.examples],
|
|
3922
|
-
tips: detailMode === "detailed" ? extensionFailureHints.length > 0 ? [...extensionFailureHints] : [...fallbackNarrative.tips] : [],
|
|
3923
|
-
detail_mode: detailMode
|
|
3924
|
-
} : fallbackNarrative;
|
|
3961
|
+
const narrative = buildJsonHelpNarrative(detailMode, fallbackNarrative, extensionDescriptor);
|
|
3925
3962
|
const optionSummaries = compactHelpOptionAliases(mergeHelpOptionSummaries(buildHelpOptionSummaries(targetCommand), buildDynamicExtensionHelpOptionSummaries(extensionDescriptor)));
|
|
3926
3963
|
const subcommands = buildHelpSubcommandSummaries(targetCommand);
|
|
3927
3964
|
return {
|
|
@@ -3974,20 +4011,39 @@ async function maybeRenderBootstrapJsonHelp(rootProgram, argv, extensionDescript
|
|
|
3974
4011
|
process.exitCode = EXIT_CODE.SUCCESS;
|
|
3975
4012
|
return true;
|
|
3976
4013
|
}
|
|
4014
|
+
function buildCreateUpdatePolicyIntro(commandName, typeRegistry) {
|
|
4015
|
+
const lines = [
|
|
4016
|
+
"",
|
|
4017
|
+
"Type-aware option policies:",
|
|
4018
|
+
" pass --type <value> with --help to render required/disabled/hidden option policy details for that type.",
|
|
4019
|
+
` active type values: ${typeRegistry.types.join("|")}`
|
|
4020
|
+
];
|
|
4021
|
+
if (commandName === "create") {
|
|
4022
|
+
lines.push(" scheduling shortcut: use --schedule-preset lightweight for Reminder/Meeting/Event minimal create flows.");
|
|
4023
|
+
}
|
|
4024
|
+
return lines.join("\n");
|
|
4025
|
+
}
|
|
4026
|
+
function appendTypeOptionHelpLines(lines, typeDefinition) {
|
|
4027
|
+
if (typeDefinition.options.length === 0) {
|
|
4028
|
+
lines.push(" type options: none");
|
|
4029
|
+
return;
|
|
4030
|
+
}
|
|
4031
|
+
lines.push(" type options:");
|
|
4032
|
+
for (const option of typeDefinition.options) {
|
|
4033
|
+
const requiredLabel = option.required ? " (required)" : "";
|
|
4034
|
+
const aliases = option.aliases ?? [];
|
|
4035
|
+
lines.push(` - ${option.key}${requiredLabel}`);
|
|
4036
|
+
lines.push(` values: ${option.values.length > 0 ? option.values.join("|") : "any non-empty string"}`);
|
|
4037
|
+
lines.push(` aliases: ${aliases.length > 0 ? aliases.join("|") : "none"}`);
|
|
4038
|
+
if (option.description && option.description.trim().length > 0) {
|
|
4039
|
+
lines.push(` description: ${option.description.trim()}`);
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
}
|
|
3977
4043
|
function buildCreateUpdatePolicyHelpText(commandName, typeRegistry, argv) {
|
|
3978
4044
|
const selectedTypeRaw = parseBootstrapTypeValue(argv);
|
|
3979
4045
|
if (!selectedTypeRaw) {
|
|
3980
|
-
|
|
3981
|
-
const lines2 = [
|
|
3982
|
-
"",
|
|
3983
|
-
"Type-aware option policies:",
|
|
3984
|
-
" pass --type <value> with --help to render required/disabled/hidden option policy details for that type.",
|
|
3985
|
-
` active type values: ${allowed}`
|
|
3986
|
-
];
|
|
3987
|
-
if (commandName === "create") {
|
|
3988
|
-
lines2.push(" scheduling shortcut: use --schedule-preset lightweight for Reminder/Meeting/Event minimal create flows.");
|
|
3989
|
-
}
|
|
3990
|
-
return lines2.join("\n");
|
|
4046
|
+
return buildCreateUpdatePolicyIntro(commandName, typeRegistry);
|
|
3991
4047
|
}
|
|
3992
4048
|
const typeDefinition = resolveTypeDefinition(selectedTypeRaw, typeRegistry);
|
|
3993
4049
|
if (!typeDefinition) {
|
|
@@ -4012,21 +4068,7 @@ function buildCreateUpdatePolicyHelpText(commandName, typeRegistry, argv) {
|
|
|
4012
4068
|
lines.push(" schedule preset: --schedule-preset lightweight switches schedule artifacts to progressive required-option policy.");
|
|
4013
4069
|
lines.push(" strict parity remains available via --create-mode strict.");
|
|
4014
4070
|
}
|
|
4015
|
-
|
|
4016
|
-
lines.push(" type options: none");
|
|
4017
|
-
} else {
|
|
4018
|
-
lines.push(" type options:");
|
|
4019
|
-
for (const option of typeDefinition.options) {
|
|
4020
|
-
const requiredLabel = option.required ? " (required)" : "";
|
|
4021
|
-
const aliases = option.aliases ?? [];
|
|
4022
|
-
lines.push(` - ${option.key}${requiredLabel}`);
|
|
4023
|
-
lines.push(` values: ${option.values.length > 0 ? option.values.join("|") : "any non-empty string"}`);
|
|
4024
|
-
lines.push(` aliases: ${aliases.length > 0 ? aliases.join("|") : "none"}`);
|
|
4025
|
-
if (option.description && option.description.trim().length > 0) {
|
|
4026
|
-
lines.push(` description: ${option.description.trim()}`);
|
|
4027
|
-
}
|
|
4028
|
-
}
|
|
4029
|
-
}
|
|
4071
|
+
appendTypeOptionHelpLines(lines, typeDefinition);
|
|
4030
4072
|
if (policyState.errors.length > 0) {
|
|
4031
4073
|
lines.push(` config errors: ${policyState.errors.join("; ")}`);
|
|
4032
4074
|
}
|
|
@@ -4048,7 +4090,7 @@ function attachCreateUpdatePolicyHelpText(rootProgram, typeRegistry, argv) {
|
|
|
4048
4090
|
!(function() {
|
|
4049
4091
|
try {
|
|
4050
4092
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4051
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4093
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aa682568-77f6-5659-a6dd-3a69dd4e1fc0");
|
|
4052
4094
|
} catch (e2) {
|
|
4053
4095
|
}
|
|
4054
4096
|
})();
|
|
@@ -4093,10 +4135,10 @@ var EXPECTED_HANDLED_ERROR_EXIT_CODES = /* @__PURE__ */ new Set([
|
|
|
4093
4135
|
EXIT_CODE.CONFLICT
|
|
4094
4136
|
]);
|
|
4095
4137
|
var TRUE_LIKE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes", "on"]);
|
|
4096
|
-
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-
|
|
4097
|
-
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-
|
|
4098
|
-
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-
|
|
4099
|
-
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-
|
|
4138
|
+
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-FXZJ2CEJ.js"));
|
|
4139
|
+
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-WRS6ACUW.js"));
|
|
4140
|
+
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-ET6E4VLE.js"));
|
|
4141
|
+
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-73UDWMVB.js"));
|
|
4100
4142
|
function describeUnknownError(error) {
|
|
4101
4143
|
if (error instanceof PmCliError) {
|
|
4102
4144
|
return error.message;
|
|
@@ -4545,8 +4587,11 @@ function collectExtensionFlagDefinitionsForInvocation(registrations, commandPath
|
|
|
4545
4587
|
}
|
|
4546
4588
|
return nestedMatch.length > 0 ? nestedMatch : exact;
|
|
4547
4589
|
}
|
|
4590
|
+
function dynamicCommandArguments(descriptor) {
|
|
4591
|
+
return descriptor.arguments ?? [];
|
|
4592
|
+
}
|
|
4548
4593
|
function formatDynamicCommandUsage(descriptor) {
|
|
4549
|
-
const argumentSuffix = descriptor.
|
|
4594
|
+
const argumentSuffix = dynamicCommandArguments(descriptor).map((argument) => {
|
|
4550
4595
|
const label = argument.variadic ? `${argument.name}...` : argument.name;
|
|
4551
4596
|
return argument.required ? `<${label}>` : `[${label}]`;
|
|
4552
4597
|
}).join(" ");
|
|
@@ -4560,10 +4605,12 @@ function isImporterOrExporterCommandPath(registrations, commandPath) {
|
|
|
4560
4605
|
return registrations.importers.some((entry) => normalizeExtensionCommandPath(`${entry.importer} import`) === normalized) || registrations.exporters.some((entry) => normalizeExtensionCommandPath(`${entry.exporter} export`) === normalized);
|
|
4561
4606
|
}
|
|
4562
4607
|
function validateDynamicExtensionCommandArgs(descriptor, args) {
|
|
4563
|
-
const
|
|
4564
|
-
const
|
|
4565
|
-
const
|
|
4566
|
-
const
|
|
4608
|
+
const descriptorArguments = dynamicCommandArguments(descriptor);
|
|
4609
|
+
const requiredCount = descriptorArguments.filter((argument) => argument.required).length;
|
|
4610
|
+
const variadic = descriptorArguments.some((argument) => argument.variadic);
|
|
4611
|
+
const maxCount = variadic ? Number.POSITIVE_INFINITY : descriptorArguments.length;
|
|
4612
|
+
const failureHints = descriptor.failure_hints ?? [];
|
|
4613
|
+
const hintSuffix = failureHints.length > 0 ? ` ${failureHints.join(" ")}` : "";
|
|
4567
4614
|
if (args.length < requiredCount) {
|
|
4568
4615
|
throw new PmCliError(`Missing required argument for extension command '${descriptor.command}'. Usage: ${formatDynamicCommandUsage(descriptor)}${hintSuffix}`, EXIT_CODE.USAGE);
|
|
4569
4616
|
}
|
|
@@ -5144,14 +5191,39 @@ async function runRequiredExtensionCommand(command, options, globalOptions, exte
|
|
|
5144
5191
|
return extensionCommandResult.result;
|
|
5145
5192
|
}
|
|
5146
5193
|
var WRAPPED_ACTION_HANDLER = /* @__PURE__ */ Symbol("pm.wrappedActionHandler");
|
|
5194
|
+
function resolveActionCommand(actionArgs, fallback) {
|
|
5195
|
+
const possibleCommand = actionArgs[actionArgs.length - 1];
|
|
5196
|
+
return possibleCommand instanceof Command ? possibleCommand : fallback;
|
|
5197
|
+
}
|
|
5198
|
+
function maybePrintExtensionProfileWarnings(enabled, label, warnings) {
|
|
5199
|
+
if (enabled && warnings.length > 0) {
|
|
5200
|
+
printError(`profile:extensions ${label}=${formatHookWarnings(warnings)}`);
|
|
5201
|
+
}
|
|
5202
|
+
}
|
|
5203
|
+
function validateDynamicInvocationArgs(params) {
|
|
5204
|
+
const dynamicDescriptor = activeRuntimeExtensionCommandDescriptors.get(normalizeExtensionCommandPath(params.commandPath));
|
|
5205
|
+
if (!dynamicDescriptor || !isImporterOrExporterCommandPath(params.activeRegistrations, params.commandPath)) {
|
|
5206
|
+
return;
|
|
5207
|
+
}
|
|
5208
|
+
const positionalArgs = dynamicCommandArguments(dynamicDescriptor).length === 0 ? collectLoosePositionalArgs(params.commandArgs) : stripLooseCommandOptionTokens(params.commandArgs, params.extensionFlagDefinitions);
|
|
5209
|
+
validateDynamicExtensionCommandArgs(dynamicDescriptor, positionalArgs);
|
|
5210
|
+
}
|
|
5211
|
+
function syncCommanderActionArgs(actionCommand, actionArgs, commandArgs) {
|
|
5212
|
+
actionCommand.args = [...commandArgs];
|
|
5213
|
+
if ("_processArguments" in actionCommand && typeof actionCommand._processArguments === "function") {
|
|
5214
|
+
actionCommand._processArguments();
|
|
5215
|
+
}
|
|
5216
|
+
if (actionArgs.length > 0 && Array.isArray(actionArgs[0])) {
|
|
5217
|
+
actionArgs[0] = [...actionCommand.processedArgs];
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
5147
5220
|
function wrapProgramActionsForExtensionHandlers(rootProgram) {
|
|
5148
5221
|
const visit = (entry) => {
|
|
5149
5222
|
const actionEntry = entry;
|
|
5150
5223
|
if (typeof actionEntry._actionHandler === "function" && actionEntry[WRAPPED_ACTION_HANDLER] !== true) {
|
|
5151
5224
|
const originalAction = actionEntry._actionHandler;
|
|
5152
5225
|
actionEntry._actionHandler = async function wrappedActionHandler(...actionArgs) {
|
|
5153
|
-
const
|
|
5154
|
-
const actionCommand = possibleCommand instanceof Command ? possibleCommand : entry;
|
|
5226
|
+
const actionCommand = resolveActionCommand(actionArgs, entry);
|
|
5155
5227
|
const startedAt = Date.now();
|
|
5156
5228
|
clearResolvedGlobalOptions(actionCommand);
|
|
5157
5229
|
let globalOptions = getGlobalOptions(actionCommand);
|
|
@@ -5172,26 +5244,14 @@ function wrapProgramActionsForExtensionHandlers(rootProgram) {
|
|
|
5172
5244
|
global: globalOptions,
|
|
5173
5245
|
pm_root: pmRoot
|
|
5174
5246
|
});
|
|
5175
|
-
|
|
5176
|
-
printError(`profile:extensions parser_warnings=${formatHookWarnings(parserOverride.warnings)}`);
|
|
5177
|
-
}
|
|
5247
|
+
maybePrintExtensionProfileWarnings(globalOptions.profile, "parser_warnings", parserOverride.warnings);
|
|
5178
5248
|
commandArgs = parserOverride.context.args;
|
|
5179
5249
|
commandOptions = parserOverride.context.options;
|
|
5180
5250
|
globalOptions = parserOverride.context.global;
|
|
5181
|
-
|
|
5182
|
-
if (dynamicDescriptor && isImporterOrExporterCommandPath(activeRegistrations, commandPath)) {
|
|
5183
|
-
const positionalArgs = dynamicDescriptor.arguments.length === 0 ? collectLoosePositionalArgs(commandArgs) : stripLooseCommandOptionTokens(commandArgs, extensionFlagDefinitions);
|
|
5184
|
-
validateDynamicExtensionCommandArgs(dynamicDescriptor, positionalArgs);
|
|
5185
|
-
}
|
|
5251
|
+
validateDynamicInvocationArgs({ activeRegistrations, commandPath, commandArgs, extensionFlagDefinitions });
|
|
5186
5252
|
globalOptions = await applyDefaultOutputFormat(globalOptions);
|
|
5187
5253
|
setResolvedGlobalOptions(actionCommand, globalOptions);
|
|
5188
|
-
actionCommand
|
|
5189
|
-
if ("_processArguments" in actionCommand && typeof actionCommand._processArguments === "function") {
|
|
5190
|
-
actionCommand._processArguments();
|
|
5191
|
-
}
|
|
5192
|
-
if (actionArgs.length > 0 && Array.isArray(actionArgs[0])) {
|
|
5193
|
-
actionArgs[0] = [...actionCommand.processedArgs];
|
|
5194
|
-
}
|
|
5254
|
+
syncCommanderActionArgs(actionCommand, actionArgs, commandArgs);
|
|
5195
5255
|
for (const [key, value] of Object.entries(commandOptions)) {
|
|
5196
5256
|
actionCommand.setOptionValueWithSource(key, value, "cli");
|
|
5197
5257
|
}
|
|
@@ -5210,9 +5270,7 @@ function wrapProgramActionsForExtensionHandlers(rootProgram) {
|
|
|
5210
5270
|
global: globalOptions,
|
|
5211
5271
|
pm_root: pmRoot
|
|
5212
5272
|
});
|
|
5213
|
-
|
|
5214
|
-
printError(`profile:extensions command_handler_warnings=${formatHookWarnings(extensionCommandResult.warnings)}`);
|
|
5215
|
-
}
|
|
5273
|
+
maybePrintExtensionProfileWarnings(globalOptions.profile, "command_handler_warnings", extensionCommandResult.warnings);
|
|
5216
5274
|
if (extensionCommandResult.handled) {
|
|
5217
5275
|
setActiveCommandResult(extensionCommandResult.result);
|
|
5218
5276
|
printResult(extensionCommandResult.result, {
|