@unbrained/pm-cli 2026.6.12 → 2026.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -0
- package/README.md +2 -2
- package/dist/cli/bootstrap-args.d.ts +29 -0
- package/dist/cli/bootstrap-args.js +11 -4
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commander-usage.d.ts +12 -0
- package/dist/cli/commander-usage.js +18 -7
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/activity.d.ts +19 -0
- package/dist/cli/commands/activity.js +12 -2
- package/dist/cli/commands/activity.js.map +1 -1
- package/dist/cli/commands/aggregate.d.ts +58 -0
- package/dist/cli/commands/aggregate.js +48 -15
- package/dist/cli/commands/aggregate.js.map +1 -1
- package/dist/cli/commands/annotation-command.d.ts +6 -1
- package/dist/cli/commands/annotation-command.js +72 -2
- package/dist/cli/commands/annotation-command.js.map +1 -1
- package/dist/cli/commands/append.js +4 -3
- package/dist/cli/commands/append.js.map +1 -1
- package/dist/cli/commands/close-many.d.ts +20 -0
- package/dist/cli/commands/close-many.js +14 -23
- package/dist/cli/commands/close-many.js.map +1 -1
- package/dist/cli/commands/close.js +37 -4
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/comments-audit.js +3 -2
- package/dist/cli/commands/comments-audit.js.map +1 -1
- package/dist/cli/commands/comments.d.ts +2 -0
- package/dist/cli/commands/comments.js +49 -23
- package/dist/cli/commands/comments.js.map +1 -1
- package/dist/cli/commands/completion.js +269 -8
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.d.ts +51 -1
- package/dist/cli/commands/config.js +50 -12
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/context.d.ts +79 -1
- package/dist/cli/commands/context.js +151 -25
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.d.ts +80 -1
- package/dist/cli/commands/contracts.js +54 -4
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.d.ts +49 -0
- package/dist/cli/commands/create.js +112 -7
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/dedupe-audit.d.ts +33 -0
- package/dist/cli/commands/dedupe-audit.js +18 -14
- package/dist/cli/commands/dedupe-audit.js.map +1 -1
- package/dist/cli/commands/deps.js +7 -4
- package/dist/cli/commands/deps.js.map +1 -1
- package/dist/cli/commands/event-validation-messages.js +3 -3
- package/dist/cli/commands/event-validation-messages.js.map +1 -1
- package/dist/cli/commands/extension/bundled-catalog.d.ts +7 -0
- package/dist/cli/commands/extension/bundled-catalog.js +19 -15
- package/dist/cli/commands/extension/bundled-catalog.js.map +1 -1
- package/dist/cli/commands/extension/install-sources.d.ts +41 -1
- package/dist/cli/commands/extension/install-sources.js +26 -8
- package/dist/cli/commands/extension/install-sources.js.map +1 -1
- package/dist/cli/commands/extension/shared.d.ts +5 -0
- package/dist/cli/commands/extension/shared.js +9 -3
- package/dist/cli/commands/extension/shared.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +133 -1
- package/dist/cli/commands/extension.js +127 -9
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/files.d.ts +30 -1
- package/dist/cli/commands/files.js +21 -2
- package/dist/cli/commands/files.js.map +1 -1
- package/dist/cli/commands/focus.d.ts +11 -0
- package/dist/cli/commands/focus.js +86 -0
- package/dist/cli/commands/focus.js.map +1 -0
- package/dist/cli/commands/get.d.ts +9 -2
- package/dist/cli/commands/get.js +34 -6
- package/dist/cli/commands/get.js.map +1 -1
- package/dist/cli/commands/guide.d.ts +5 -0
- package/dist/cli/commands/guide.js +6 -3
- package/dist/cli/commands/guide.js.map +1 -1
- package/dist/cli/commands/health.d.ts +109 -0
- package/dist/cli/commands/health.js +87 -35
- package/dist/cli/commands/health.js.map +1 -1
- package/dist/cli/commands/history-compact.js +27 -36
- package/dist/cli/commands/history-compact.js.map +1 -1
- package/dist/cli/commands/history-redact.d.ts +46 -0
- package/dist/cli/commands/history-redact.js +99 -67
- package/dist/cli/commands/history-redact.js.map +1 -1
- package/dist/cli/commands/history-repair.js +34 -37
- package/dist/cli/commands/history-repair.js.map +1 -1
- package/dist/cli/commands/history.js +6 -2
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -0
- package/dist/cli/commands/index.js +3 -2
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init-agent-guidance.d.ts +54 -0
- package/dist/cli/commands/init-agent-guidance.js +31 -4
- package/dist/cli/commands/init-agent-guidance.js.map +1 -1
- package/dist/cli/commands/init.d.ts +36 -1
- package/dist/cli/commands/init.js +38 -5
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/learnings.js +4 -3
- package/dist/cli/commands/learnings.js.map +1 -1
- package/dist/cli/commands/linked-test-parsers.d.ts +5 -0
- package/dist/cli/commands/linked-test-parsers.js +5 -2
- package/dist/cli/commands/linked-test-parsers.js.map +1 -1
- package/dist/cli/commands/list-filter-shared.d.ts +8 -0
- package/dist/cli/commands/list-filter-shared.js +70 -0
- package/dist/cli/commands/list-filter-shared.js.map +1 -0
- package/dist/cli/commands/list.d.ts +116 -0
- package/dist/cli/commands/list.js +194 -6
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/normalize.js +16 -2
- package/dist/cli/commands/normalize.js.map +1 -1
- package/dist/cli/commands/notes.js +4 -3
- package/dist/cli/commands/notes.js.map +1 -1
- package/dist/cli/commands/plan.js +3 -2
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/reindex.d.ts +83 -0
- package/dist/cli/commands/reindex.js +45 -10
- package/dist/cli/commands/reindex.js.map +1 -1
- package/dist/cli/commands/restore.d.ts +40 -1
- package/dist/cli/commands/restore.js +27 -2
- package/dist/cli/commands/restore.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +18 -0
- package/dist/cli/commands/schema.js +30 -3
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/search.d.ts +289 -1
- package/dist/cli/commands/search.js +367 -60
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/stats.d.ts +38 -0
- package/dist/cli/commands/stats.js +38 -10
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/telemetry.js +5 -3
- package/dist/cli/commands/telemetry.js.map +1 -1
- package/dist/cli/commands/templates.d.ts +18 -0
- package/dist/cli/commands/templates.js +9 -2
- package/dist/cli/commands/templates.js.map +1 -1
- package/dist/cli/commands/test-all.d.ts +5 -0
- package/dist/cli/commands/test-all.js +9 -3
- package/dist/cli/commands/test-all.js.map +1 -1
- package/dist/cli/commands/test.d.ts +70 -1
- package/dist/cli/commands/test.js +84 -3
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/update-many.d.ts +34 -1
- package/dist/cli/commands/update-many.js +60 -31
- package/dist/cli/commands/update-many.js.map +1 -1
- package/dist/cli/commands/update.d.ts +71 -0
- package/dist/cli/commands/update.js +74 -8
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/upgrade.d.ts +28 -1
- package/dist/cli/commands/upgrade.js +17 -4
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +114 -0
- package/dist/cli/commands/validate.js +154 -9
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.d.ts +30 -0
- package/dist/cli/error-guidance.js +68 -6
- package/dist/cli/error-guidance.js.map +1 -1
- package/dist/cli/extension-command-options.js +9 -7
- package/dist/cli/extension-command-options.js.map +1 -1
- package/dist/cli/help-content.d.ts +8 -0
- package/dist/cli/help-content.js +30 -6
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/help-json-payload.d.ts +19 -1
- package/dist/cli/help-json-payload.js +16 -7
- package/dist/cli/help-json-payload.js.map +1 -1
- package/dist/cli/main.d.ts +223 -0
- package/dist/cli/main.js +214 -46
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +62 -5
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.d.ts +16 -0
- package/dist/cli/register-mutation.js +210 -40
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.d.ts +8 -0
- package/dist/cli/register-operations.js +33 -11
- package/dist/cli/register-operations.js.map +1 -1
- package/dist/cli/register-setup.js +9 -6
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +4 -0
- package/dist/cli/registration-helpers.js +124 -38
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-5P2KQCTH.js +18 -0
- package/dist/cli-bundle/chunks/{activity-XADJOG6G.js → activity-MJGTX4LO.js} +13 -11
- package/dist/cli-bundle/chunks/{aggregate-OD36DJU5.js → aggregate-MH3GROKB.js} +54 -25
- package/dist/cli-bundle/chunks/aggregate-MH3GROKB.js.map +7 -0
- package/dist/cli-bundle/chunks/{aggregate-6OTS3AOO.js → aggregate-OUGCDFNC.js} +55 -26
- package/dist/cli-bundle/chunks/aggregate-OUGCDFNC.js.map +1 -0
- package/dist/cli-bundle/chunks/{append-JYWO4P7W.js → append-2Q4BPUBW.js} +10 -10
- package/dist/cli-bundle/chunks/{append-JYWO4P7W.js.map → append-2Q4BPUBW.js.map} +2 -2
- package/dist/cli-bundle/chunks/{append-KG55G7S3.js → append-VCRUG2W6.js} +11 -11
- package/dist/cli-bundle/chunks/append-VCRUG2W6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IGVJRZ6H.js → chunk-2IUJBMKS.js} +10 -9
- package/dist/cli-bundle/chunks/{chunk-IGVJRZ6H.js.map → chunk-2IUJBMKS.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ATEES5SX.js → chunk-2JEGCDYT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-XUC4C4PT.js → chunk-3WAULYOY.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-UIG4TW2H.js → chunk-3XOXWOGA.js} +359 -19
- package/dist/cli-bundle/chunks/chunk-3XOXWOGA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-3KLPFWZ4.js → chunk-4KBK4BA3.js} +16 -34
- package/dist/cli-bundle/chunks/chunk-4KBK4BA3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OLKBSY4N.js → chunk-4VLB4JH2.js} +51 -8
- package/dist/cli-bundle/chunks/chunk-4VLB4JH2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ZMW77VWV.js → chunk-656HPQPO.js} +27 -12
- package/dist/cli-bundle/chunks/chunk-656HPQPO.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CW6E4NAT.js → chunk-667XI4UJ.js} +309 -20
- package/dist/cli-bundle/chunks/chunk-667XI4UJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5SCT2JCT.js → chunk-6BV7ENQL.js} +9 -8
- package/dist/cli-bundle/chunks/chunk-6BV7ENQL.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-6EFCFPNE.js +35 -0
- package/dist/cli-bundle/chunks/chunk-6EFCFPNE.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VFUZV5EB.js → chunk-6NQXMGYU.js} +19 -8
- package/dist/cli-bundle/chunks/chunk-6NQXMGYU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GKIZW7SM.js → chunk-764O7EUA.js} +223 -50
- package/dist/cli-bundle/chunks/chunk-764O7EUA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-QJMGRZO2.js → chunk-7AGIXLNK.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-7EILPFMA.js +404 -0
- package/dist/cli-bundle/chunks/chunk-7EILPFMA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HI7STVF2.js → chunk-7K2MXFMX.js} +14 -32
- package/dist/cli-bundle/chunks/chunk-7K2MXFMX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-TNAP7EJX.js → chunk-7L5VOUYP.js} +6 -17
- package/dist/cli-bundle/chunks/chunk-7L5VOUYP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-7ZGKNHUL.js +61 -0
- package/dist/cli-bundle/chunks/chunk-7ZGKNHUL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7IYFN5R7.js → chunk-A576QZDL.js} +223 -50
- package/dist/cli-bundle/chunks/chunk-A576QZDL.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KBPQHXWG.js → chunk-AERT7KT3.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-ASM4DVRW.js +58 -0
- package/dist/cli-bundle/chunks/chunk-ASM4DVRW.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KWAXVAXX.js → chunk-B5Q7XC4K.js} +117 -37
- package/dist/cli-bundle/chunks/chunk-B5Q7XC4K.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-EWFY7SLA.js → chunk-BJWTFOZM.js} +74 -14
- package/dist/cli-bundle/chunks/chunk-BJWTFOZM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XJDGS74Y.js → chunk-CBMETQ2U.js} +105 -31
- package/dist/cli-bundle/chunks/chunk-CBMETQ2U.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ESANVZF4.js → chunk-E6J2PEK6.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-VSRZRLG3.js → chunk-F2GC6L3N.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I7NYDZDV.js → chunk-F7WSO5UX.js} +7 -18
- package/dist/cli-bundle/chunks/chunk-F7WSO5UX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-VAOUX6TK.js → chunk-FTAZLAR7.js} +8 -5
- package/dist/cli-bundle/chunks/{chunk-VAOUX6TK.js.map → chunk-FTAZLAR7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-OASDW5UI.js → chunk-FXNT5LPX.js} +77 -9
- package/dist/cli-bundle/chunks/chunk-FXNT5LPX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-WUNFKP7M.js → chunk-G2YVUY7I.js} +14 -9
- package/dist/cli-bundle/chunks/chunk-G2YVUY7I.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-L5EPZQIC.js → chunk-G3CEIXTV.js} +68 -19
- package/dist/cli-bundle/chunks/chunk-G3CEIXTV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-UUWGCWBU.js → chunk-GAVE4MYM.js} +37 -63
- package/dist/cli-bundle/chunks/chunk-GAVE4MYM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-SXKNJPQ7.js → chunk-GQ4JKNMV.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-SXKNJPQ7.js.map → chunk-GQ4JKNMV.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-73ZPG2I3.js → chunk-GYMG7AG6.js} +36 -62
- package/dist/cli-bundle/chunks/chunk-GYMG7AG6.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-35P4GT6E.js → chunk-H6EH6ENJ.js} +362 -22
- package/dist/cli-bundle/chunks/chunk-H6EH6ENJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-F75JSIOZ.js → chunk-HDIDUME4.js} +45 -13
- package/dist/cli-bundle/chunks/chunk-HDIDUME4.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XWMF3POR.js → chunk-HPELHUTG.js} +122 -45
- package/dist/cli-bundle/chunks/chunk-HPELHUTG.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QKW5D45B.js → chunk-II7OGE3V.js} +20 -9
- package/dist/cli-bundle/chunks/chunk-II7OGE3V.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4HFU4UO2.js → chunk-ILHLIA47.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-4HFU4UO2.js.map → chunk-ILHLIA47.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-P5BJOMBB.js → chunk-IMQG4VR3.js} +118 -74
- package/dist/cli-bundle/chunks/chunk-IMQG4VR3.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-AX4GEVQC.js → chunk-IQVB3YDD.js} +88 -22
- package/dist/cli-bundle/chunks/chunk-IQVB3YDD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-I53JBTJW.js → chunk-KQ3LAMDO.js} +45 -13
- package/dist/cli-bundle/chunks/chunk-KQ3LAMDO.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-A6LXQFO7.js → chunk-KTVETP66.js} +334 -253
- package/dist/cli-bundle/chunks/chunk-KTVETP66.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-DY6C42S6.js → chunk-KZYVTOG5.js} +26 -11
- package/dist/cli-bundle/chunks/chunk-KZYVTOG5.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HGLC63AU.js → chunk-L6FJPOT4.js} +11 -10
- package/dist/cli-bundle/chunks/{chunk-HGLC63AU.js.map → chunk-L6FJPOT4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-FY4SPXSC.js → chunk-LV5FFQ7M.js} +354 -266
- package/dist/cli-bundle/chunks/chunk-LV5FFQ7M.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PNYAAB4S.js → chunk-LWGMDLQ6.js} +8 -3
- package/dist/cli-bundle/chunks/chunk-LWGMDLQ6.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XTKJSVWH.js → chunk-M23HXJL3.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S26FESD4.js → chunk-MJZUZ2QE.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-I2IJY2NL.js → chunk-NCIBNERT.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-I2IJY2NL.js.map → chunk-NCIBNERT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-TK5VZFHY.js → chunk-NIQHNDBZ.js} +76 -8
- package/dist/cli-bundle/chunks/chunk-NIQHNDBZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-C6SAP27O.js → chunk-O46LTCXQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-YW6Q3RYZ.js → chunk-OCTQJP42.js} +19 -8
- package/dist/cli-bundle/chunks/{chunk-YW6Q3RYZ.js.map → chunk-OCTQJP42.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-WPDMBIX6.js → chunk-OLTYNVJR.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-IUKD4W6Z.js → chunk-OY3P2I6B.js} +13 -8
- package/dist/cli-bundle/chunks/chunk-OY3P2I6B.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-SO55HRA5.js → chunk-PZD7WPUC.js} +69 -20
- package/dist/cli-bundle/chunks/chunk-PZD7WPUC.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HHHJ2GI3.js → chunk-Q5RLUCP3.js} +74 -14
- package/dist/cli-bundle/chunks/chunk-Q5RLUCP3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-S2ZLDYGS.js → chunk-RKKIH2ZQ.js} +116 -36
- package/dist/cli-bundle/chunks/chunk-RKKIH2ZQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GWZSYR6X.js → chunk-SPYPC5CB.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GWZSYR6X.js.map → chunk-SPYPC5CB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-7AMK6DOW.js → chunk-SY4GKIWT.js} +88 -22
- package/dist/cli-bundle/chunks/chunk-SY4GKIWT.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-ZLMIWZUG.js → chunk-SY4PZWIZ.js} +7 -4
- package/dist/cli-bundle/chunks/{chunk-ZLMIWZUG.js.map → chunk-SY4PZWIZ.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-R2OUQVBK.js → chunk-T5VU7ROQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-37CYVF73.js → chunk-TIRZIQRP.js} +121 -44
- package/dist/cli-bundle/chunks/chunk-TIRZIQRP.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-7UGSRQCL.js → chunk-TUB3DZAZ.js} +107 -33
- package/dist/cli-bundle/chunks/chunk-TUB3DZAZ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-UAR2VNCK.js +394 -0
- package/dist/cli-bundle/chunks/chunk-UAR2VNCK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-P5U5EOMA.js → chunk-UBMCSJXX.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-ZYNJNPYD.js → chunk-UUKORJSN.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-R4VWYWRN.js → chunk-W3HFLORZ.js} +7 -2
- package/dist/cli-bundle/chunks/chunk-W3HFLORZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VPEAS7PS.js → chunk-WZCQVABQ.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-X3W5ESZQ.js +32 -0
- package/dist/cli-bundle/chunks/chunk-X3W5ESZQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4YFAGDRH.js → chunk-XLNNCKTN.js} +322 -19
- package/dist/cli-bundle/chunks/chunk-XLNNCKTN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RXAP6JL5.js → chunk-XNOY7TCB.js} +118 -74
- package/dist/cli-bundle/chunks/chunk-XNOY7TCB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-Y3YKK7CY.js → chunk-YGRPBFMA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QNJSITCX.js → chunk-YXTLI4XP.js} +20 -9
- package/dist/cli-bundle/chunks/chunk-YXTLI4XP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FDH2X65L.js → chunk-Z3MUNQRV.js} +52 -9
- package/dist/cli-bundle/chunks/chunk-Z3MUNQRV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XMBI6TNW.js → chunk-ZJRDVYZI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-CCX4RSYZ.js → chunk-ZONXMSVB.js} +10 -9
- package/dist/cli-bundle/chunks/chunk-ZONXMSVB.js.map +1 -0
- package/dist/cli-bundle/chunks/{claim-2RDYMCTP.js → claim-4APLUXJW.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-MJ7DZFC3.js → claim-NEO7AGWH.js} +10 -10
- package/dist/cli-bundle/chunks/{close-XLEKIQSW.js → close-3QABBNGU.js} +8 -8
- package/dist/cli-bundle/chunks/close-ILMZR3D7.js +13 -0
- package/dist/cli-bundle/chunks/{close-many-AOD4HSAZ.js → close-many-MIZLTYGL.js} +32 -20
- package/dist/cli-bundle/chunks/close-many-MIZLTYGL.js.map +1 -0
- package/dist/cli-bundle/chunks/{close-many-XKAQY5CQ.js → close-many-Q7Y5AHQI.js} +31 -19
- package/dist/cli-bundle/chunks/close-many-Q7Y5AHQI.js.map +7 -0
- package/dist/cli-bundle/chunks/{comments-RN5TG4ZN.js → comments-DAIQPOMU.js} +55 -31
- package/dist/cli-bundle/chunks/comments-DAIQPOMU.js.map +1 -0
- package/dist/cli-bundle/chunks/{comments-B4RWWDJT.js → comments-IWFSVM4P.js} +54 -30
- package/dist/cli-bundle/chunks/comments-IWFSVM4P.js.map +7 -0
- package/dist/cli-bundle/chunks/{config-3JXJ3XZ7.js → config-IOJELD6O.js} +45 -19
- package/dist/cli-bundle/chunks/config-IOJELD6O.js.map +1 -0
- package/dist/cli-bundle/chunks/{config-FZ4UDC4B.js → config-PXTMAYV3.js} +44 -18
- package/dist/cli-bundle/chunks/config-PXTMAYV3.js.map +7 -0
- package/dist/cli-bundle/chunks/{context-QBPO3BFM.js → context-QHJSCJW4.js} +128 -39
- package/dist/cli-bundle/chunks/context-QHJSCJW4.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-L36PIN35.js → context-XZS2VFKU.js} +127 -38
- package/dist/cli-bundle/chunks/context-XZS2VFKU.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-2G66IGIA.js → contracts-B7U4OJTV.js} +54 -10
- package/dist/cli-bundle/chunks/contracts-B7U4OJTV.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-PJCHYSO5.js → contracts-NSBVLXQ3.js} +54 -10
- package/dist/cli-bundle/chunks/contracts-NSBVLXQ3.js.map +7 -0
- package/dist/cli-bundle/chunks/{copy-FWIVTLBO.js → copy-Q64T5FD4.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-ALU5WMHA.js → copy-SG34LCMU.js} +7 -7
- package/dist/cli-bundle/chunks/create-F5HZX2S4.js +30 -0
- package/dist/cli-bundle/chunks/{create-5433DP3G.js → create-IPAX2SNL.js} +16 -13
- package/dist/cli-bundle/chunks/{delete-Y2SGJBGY.js → delete-TLXR7LJ2.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-IYTIYAJS.js → delete-VH3L7DZ6.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-CZ4PTVXU.js → deps-J3HBBLDB.js} +9 -10
- package/dist/cli-bundle/chunks/{deps-CZ4PTVXU.js.map → deps-J3HBBLDB.js.map} +2 -2
- package/dist/cli-bundle/chunks/{deps-6TSPOSGU.js → deps-XV6JJ6IN.js} +10 -11
- package/dist/cli-bundle/chunks/deps-XV6JJ6IN.js.map +1 -0
- package/dist/cli-bundle/chunks/{docs-MXLGZUIT.js → docs-GWDEB7JH.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-I3BAF5WH.js → docs-RCLNSKID.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-Q34OEWO5.js → extension-5RN65LHT.js} +7 -5
- package/dist/cli-bundle/chunks/{extension-WH2FOIOZ.js → extension-7KO2NX2A.js} +7 -5
- package/dist/cli-bundle/chunks/{files-GUXUM2MB.js → files-3TCQHUHA.js} +25 -11
- package/dist/cli-bundle/chunks/files-3TCQHUHA.js.map +1 -0
- package/dist/cli-bundle/chunks/{files-FYP3MDPX.js → files-5FDUPSEA.js} +24 -10
- package/dist/cli-bundle/chunks/files-5FDUPSEA.js.map +7 -0
- package/dist/cli-bundle/chunks/focus-7AQMNRSU.js +109 -0
- package/dist/cli-bundle/chunks/focus-7AQMNRSU.js.map +7 -0
- package/dist/cli-bundle/chunks/focus-HQXBYPKM.js +106 -0
- package/dist/cli-bundle/chunks/focus-HQXBYPKM.js.map +1 -0
- package/dist/cli-bundle/chunks/{gc-KGQG66SA.js → gc-2FGKYRJ4.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-FENB2ESG.js → gc-5B6ABL3Z.js} +3 -3
- package/dist/cli-bundle/chunks/{get-PCHS7RA6.js → get-FUMVOJQD.js} +43 -16
- package/dist/cli-bundle/chunks/get-FUMVOJQD.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-QARTE6BL.js → get-H5BZTW4A.js} +42 -15
- package/dist/cli-bundle/chunks/get-H5BZTW4A.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-E4D7KGHD.js → health-JSVOR6B4.js} +75 -49
- package/dist/cli-bundle/chunks/health-JSVOR6B4.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-7MTXAVR2.js → health-LE2ZQGSM.js} +74 -48
- package/dist/cli-bundle/chunks/health-LE2ZQGSM.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-7WUAEWHW.js → history-QO4JVJJP.js} +10 -10
- package/dist/cli-bundle/chunks/history-SSXGGTVZ.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-LW27IPFK.js → history-compact-ID74DOUI.js} +37 -46
- package/dist/cli-bundle/chunks/history-compact-ID74DOUI.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-compact-3EJ3L2O7.js → history-compact-SDFRPZ4V.js} +38 -47
- package/dist/cli-bundle/chunks/history-compact-SDFRPZ4V.js.map +1 -0
- package/dist/cli-bundle/chunks/history-redact-VBH44Y7F.js +21 -0
- package/dist/cli-bundle/chunks/{history-redact-G72A4EJ4.js → history-redact-Z4P5MM3G.js} +13 -11
- package/dist/cli-bundle/chunks/{history-repair-OSQOKJ3E.js → history-repair-ANHEYWKF.js} +43 -48
- package/dist/cli-bundle/chunks/history-repair-ANHEYWKF.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-repair-SBK7P34V.js → history-repair-CKE7GLZR.js} +44 -49
- package/dist/cli-bundle/chunks/history-repair-CKE7GLZR.js.map +1 -0
- package/dist/cli-bundle/chunks/init-7FBQO77A.js +19 -0
- package/dist/cli-bundle/chunks/{init-S5WEGUJY.js → init-K6MSMB37.js} +11 -9
- package/dist/cli-bundle/chunks/{learnings-XK3P4ZDR.js → learnings-VIS3NOQV.js} +13 -12
- package/dist/cli-bundle/chunks/learnings-VIS3NOQV.js.map +7 -0
- package/dist/cli-bundle/chunks/{learnings-HQXSSKZ5.js → learnings-YYNB64GN.js} +14 -13
- package/dist/cli-bundle/chunks/learnings-YYNB64GN.js.map +1 -0
- package/dist/cli-bundle/chunks/list-7UE44A2R.js +29 -0
- package/dist/cli-bundle/chunks/list-UHMA3N2K.js +33 -0
- package/dist/cli-bundle/chunks/{notes-5T6P7C5V.js → notes-2HRMV67I.js} +14 -13
- package/dist/cli-bundle/chunks/notes-2HRMV67I.js.map +1 -0
- package/dist/cli-bundle/chunks/{notes-U5FZCSBT.js → notes-IN3UMA7W.js} +13 -12
- package/dist/cli-bundle/chunks/notes-IN3UMA7W.js.map +7 -0
- package/dist/cli-bundle/chunks/{plan-2YTQYWGM.js → plan-I3SVH7FV.js} +16 -15
- package/dist/cli-bundle/chunks/plan-I3SVH7FV.js.map +1 -0
- package/dist/cli-bundle/chunks/{plan-7IVSICR6.js → plan-PAWCCAPW.js} +15 -14
- package/dist/cli-bundle/chunks/plan-PAWCCAPW.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-4UPMHONX.js → register-list-query-N7Z7RTDM.js} +31 -22
- package/dist/cli-bundle/chunks/register-list-query-N7Z7RTDM.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-list-query-7VOW2C3W.js → register-list-query-OTIK4DVA.js} +32 -23
- package/dist/cli-bundle/chunks/register-list-query-OTIK4DVA.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-FARSGYRD.js → register-mutation-UFZK6Q57.js} +216 -66
- package/dist/cli-bundle/chunks/register-mutation-UFZK6Q57.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-LJDNVREU.js → register-mutation-XFORLS6D.js} +210 -67
- package/dist/cli-bundle/chunks/register-mutation-XFORLS6D.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-HCJKDUA6.js → register-operations-6ZCLKRBG.js} +53 -39
- package/dist/cli-bundle/chunks/register-operations-6ZCLKRBG.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-FFTYAL42.js → register-operations-ITE7JTH3.js} +54 -40
- package/dist/cli-bundle/chunks/register-operations-ITE7JTH3.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-6AVIUOCC.js → register-setup-7RKGE4BQ.js} +18 -21
- package/dist/cli-bundle/chunks/register-setup-7RKGE4BQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-KVNLO5OJ.js → register-setup-7UKEFKT6.js} +17 -20
- package/dist/cli-bundle/chunks/register-setup-7UKEFKT6.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-M6AFHMV4.js → restore-NNVPBBVJ.js} +13 -11
- package/dist/cli-bundle/chunks/restore-XXXLQ2XC.js +19 -0
- package/dist/cli-bundle/chunks/{schema-AINZ2IMM.js → schema-3HCLXCFX.js} +27 -9
- package/dist/cli-bundle/chunks/schema-3HCLXCFX.js.map +7 -0
- package/dist/cli-bundle/chunks/{schema-76HDZJCC.js → schema-3YKCQ3VO.js} +28 -10
- package/dist/cli-bundle/chunks/schema-3YKCQ3VO.js.map +1 -0
- package/dist/cli-bundle/chunks/{search-JMLFQEPJ.js → search-NQ42NC6A.js} +328 -71
- package/dist/cli-bundle/chunks/search-NQ42NC6A.js.map +7 -0
- package/dist/cli-bundle/chunks/{search-NL3TSCYB.js → search-V7PZ2ICH.js} +328 -71
- package/dist/cli-bundle/chunks/search-V7PZ2ICH.js.map +1 -0
- package/dist/cli-bundle/chunks/{stats-BKXCBIGT.js → stats-7KD4PJC5.js} +41 -16
- package/dist/cli-bundle/chunks/stats-7KD4PJC5.js.map +7 -0
- package/dist/cli-bundle/chunks/{stats-UBD56TGK.js → stats-GRHO6RFB.js} +42 -17
- package/dist/cli-bundle/chunks/stats-GRHO6RFB.js.map +1 -0
- package/dist/cli-bundle/chunks/{telemetry-ZJXK3H7X.js → telemetry-H5GLXNG5.js} +6 -6
- package/dist/cli-bundle/chunks/telemetry-H5GLXNG5.js.map +7 -0
- package/dist/cli-bundle/chunks/{telemetry-N454RHG5.js → telemetry-TRRYZXWT.js} +7 -7
- package/dist/cli-bundle/chunks/telemetry-TRRYZXWT.js.map +1 -0
- package/dist/cli-bundle/chunks/test-6CZNIIGA.js +34 -0
- package/dist/cli-bundle/chunks/{test-BQAKIXAT.js → test-7GVQ3VMN.js} +16 -14
- package/dist/cli-bundle/chunks/{test-all-7LV3I6S5.js → test-all-3LF2OZD2.js} +23 -16
- package/dist/cli-bundle/chunks/test-all-3LF2OZD2.js.map +7 -0
- package/dist/cli-bundle/chunks/{test-all-TDYCCBA4.js → test-all-ODVADHV6.js} +24 -17
- package/dist/cli-bundle/chunks/test-all-ODVADHV6.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-runs-E64M6XS3.js → test-runs-LYT6ZTNQ.js} +62 -65
- package/dist/cli-bundle/chunks/test-runs-LYT6ZTNQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-runs-LXZLULCI.js → test-runs-RVP6VWN7.js} +61 -64
- package/dist/cli-bundle/chunks/test-runs-RVP6VWN7.js.map +7 -0
- package/dist/cli-bundle/chunks/update-MPGM6SBE.js +28 -0
- package/dist/cli-bundle/chunks/update-UN75XW3C.js +24 -0
- package/dist/cli-bundle/chunks/{update-many-F4IKDWZB.js → update-many-FCU6RKTO.js} +80 -34
- package/dist/cli-bundle/chunks/update-many-FCU6RKTO.js.map +1 -0
- package/dist/cli-bundle/chunks/{update-many-NTWZ5YT3.js → update-many-XSEQJ24X.js} +79 -33
- package/dist/cli-bundle/chunks/update-many-XSEQJ24X.js.map +7 -0
- package/dist/cli-bundle/chunks/{upgrade-37F7JKES.js → upgrade-A6TL3INC.js} +22 -8
- package/dist/cli-bundle/chunks/upgrade-A6TL3INC.js.map +7 -0
- package/dist/cli-bundle/chunks/{upgrade-L32JA4TZ.js → upgrade-FOB5LHO5.js} +23 -9
- package/dist/cli-bundle/chunks/upgrade-FOB5LHO5.js.map +1 -0
- package/dist/cli-bundle/chunks/{validate-46KCRHL7.js → validate-7BLDG3AT.js} +222 -31
- package/dist/cli-bundle/chunks/validate-7BLDG3AT.js.map +1 -0
- package/dist/cli-bundle/chunks/{validate-CRFMPTYD.js → validate-EHL3MI2V.js} +236 -31
- package/dist/cli-bundle/chunks/validate-EHL3MI2V.js.map +7 -0
- package/dist/cli-bundle/main.js +305 -140
- package/dist/cli-bundle/main.js.map +3 -3
- package/dist/cli.d.ts +10 -0
- package/dist/cli.js +21 -8
- package/dist/cli.js.map +1 -1
- package/dist/core/diagnostics/remediation.js +7 -2
- package/dist/core/diagnostics/remediation.js.map +1 -1
- package/dist/core/extensions/extension-capability-aliases.js +7 -33
- package/dist/core/extensions/extension-capability-aliases.js.map +1 -1
- package/dist/core/extensions/extension-policy.js +14 -15
- package/dist/core/extensions/extension-policy.js.map +1 -1
- package/dist/core/extensions/item-fields.js +4 -5
- package/dist/core/extensions/item-fields.js.map +1 -1
- package/dist/core/extensions/loader.d.ts +75 -1
- package/dist/core/extensions/loader.js +56 -32
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/governance/content-fields.d.ts +84 -0
- package/dist/core/governance/content-fields.js +182 -0
- package/dist/core/governance/content-fields.js.map +1 -0
- package/dist/core/governance/issue-codes.d.ts +51 -0
- package/dist/core/governance/issue-codes.js +95 -0
- package/dist/core/governance/issue-codes.js.map +1 -0
- package/dist/core/governance/metadata-coverage.d.ts +168 -0
- package/dist/core/governance/metadata-coverage.js +362 -0
- package/dist/core/governance/metadata-coverage.js.map +1 -0
- package/dist/core/history/history-rewrite.d.ts +22 -0
- package/dist/core/history/history-rewrite.js +38 -2
- package/dist/core/history/history-rewrite.js.map +1 -1
- package/dist/core/history/history.d.ts +7 -0
- package/dist/core/history/history.js +6 -2
- package/dist/core/history/history.js.map +1 -1
- package/dist/core/io/body-file.d.ts +14 -0
- package/dist/core/io/body-file.js +47 -0
- package/dist/core/io/body-file.js.map +1 -0
- package/dist/core/item/item-format.d.ts +46 -1
- package/dist/core/item/item-format.js +51 -60
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/item/parse.d.ts +9 -0
- package/dist/core/item/parse.js +10 -16
- package/dist/core/item/parse.js.map +1 -1
- package/dist/core/item/type-registry.d.ts +1 -0
- package/dist/core/item/type-registry.js +8 -10
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/lock/lock.d.ts +26 -0
- package/dist/core/lock/lock.js +10 -2
- package/dist/core/lock/lock.js.map +1 -1
- package/dist/core/output/output.d.ts +7 -0
- package/dist/core/output/output.js +6 -2
- package/dist/core/output/output.js.map +1 -1
- package/dist/core/schema/item-types-file.d.ts +25 -2
- package/dist/core/schema/item-types-file.js +78 -6
- package/dist/core/schema/item-types-file.js.map +1 -1
- package/dist/core/schema/runtime-schema.d.ts +7 -0
- package/dist/core/schema/runtime-schema.js +23 -16
- package/dist/core/schema/runtime-schema.js.map +1 -1
- package/dist/core/search/background-refresh.js +3 -3
- package/dist/core/search/background-refresh.js.map +1 -1
- package/dist/core/search/cache.d.ts +19 -1
- package/dist/core/search/cache.js +11 -3
- package/dist/core/search/cache.js.map +1 -1
- package/dist/core/search/corpus.d.ts +36 -2
- package/dist/core/search/corpus.js +120 -24
- package/dist/core/search/corpus.js.map +1 -1
- package/dist/core/search/providers.d.ts +19 -0
- package/dist/core/search/providers.js +19 -2
- package/dist/core/search/providers.js.map +1 -1
- package/dist/core/sentry/instrument.d.ts +1 -0
- package/dist/core/sentry/instrument.js +6 -2
- package/dist/core/sentry/instrument.js.map +1 -1
- package/dist/core/session/session-state.d.ts +16 -0
- package/dist/core/session/session-state.js +48 -0
- package/dist/core/session/session-state.js.map +1 -0
- package/dist/core/shared/constants.d.ts +8 -0
- package/dist/core/shared/constants.js +11 -2
- package/dist/core/shared/constants.js.map +1 -1
- package/dist/core/shared/errors.d.ts +3 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/shared/text-normalization.js +4 -3
- package/dist/core/shared/text-normalization.js.map +1 -1
- package/dist/core/shared/time.d.ts +13 -0
- package/dist/core/shared/time.js +19 -7
- package/dist/core/shared/time.js.map +1 -1
- package/dist/core/store/item-store.d.ts +11 -0
- package/dist/core/store/item-store.js +16 -23
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/settings-validator.d.ts +2 -0
- package/dist/core/store/settings-validator.js +25 -2
- package/dist/core/store/settings-validator.js.map +1 -1
- package/dist/core/store/settings.d.ts +60 -1
- package/dist/core/store/settings.js +100 -46
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/observability.js +10 -8
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.d.ts +272 -1
- package/dist/core/telemetry/runtime.js +358 -37
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/core/test/background-runs.d.ts +35 -0
- package/dist/core/test/background-runs.js +72 -61
- package/dist/core/test/background-runs.js.map +1 -1
- package/dist/core/test/run-selectors.js +5 -4
- package/dist/core/test/run-selectors.js.map +1 -1
- package/dist/core/validate/estimate-defaults.d.ts +39 -0
- package/dist/core/validate/estimate-defaults.js +117 -0
- package/dist/core/validate/estimate-defaults.js.map +1 -0
- package/dist/core/validate/fix-planning.d.ts +21 -3
- package/dist/core/validate/fix-planning.js +31 -4
- package/dist/core/validate/fix-planning.js.map +1 -1
- package/dist/core/validate/missing-link-owners.d.ts +64 -0
- package/dist/core/validate/missing-link-owners.js +98 -0
- package/dist/core/validate/missing-link-owners.js.map +1 -0
- package/dist/mcp/server.d.ts +62 -0
- package/dist/mcp/server.js +71 -8
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.js +17 -4
- package/dist/mcp/tool-definitions.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +13 -2
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts/enum-contracts.js +4 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +110 -2
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +83 -8
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +28 -0
- package/dist/sdk/cli-contracts.js +164 -11
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/types.d.ts +17 -1
- package/dist/types.js +3 -3
- package/dist/types.js.map +1 -1
- package/docs/AGENT_GUIDE.md +15 -3
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +136 -7
- package/docs/CONFIGURATION.md +52 -0
- package/docs/TESTING.md +6 -4
- package/package.json +6 -4
- package/packages/pm-calendar/extensions/calendar/runtime.js +6 -0
- package/packages/pm-calendar/extensions/calendar/runtime.ts +12 -0
- package/packages/pm-todos/extensions/todos/runtime.ts +5 -0
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/README.md +6 -14
- package/plugins/pm-claude/commands/pm-init.md +1 -1
- package/plugins/pm-codex/README.md +1 -1
- package/scripts/bundle-cli.mjs +46 -37
- package/scripts/finalize-build.mjs +20 -9
- package/scripts/prepare-build-cache.mjs +27 -16
- package/dist/cli-bundle/chunks/activity-XZIUPGZH.js +0 -16
- package/dist/cli-bundle/chunks/aggregate-6OTS3AOO.js.map +0 -1
- package/dist/cli-bundle/chunks/aggregate-OD36DJU5.js.map +0 -7
- package/dist/cli-bundle/chunks/append-KG55G7S3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-35P4GT6E.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-37CYVF73.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-3KLPFWZ4.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4JCSYR6F.js +0 -138
- package/dist/cli-bundle/chunks/chunk-4JCSYR6F.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4YFAGDRH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-5SCT2JCT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-73ZPG2I3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7AMK6DOW.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7IYFN5R7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-7UGSRQCL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-A6LXQFO7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AVGHVVF7.js +0 -128
- package/dist/cli-bundle/chunks/chunk-AVGHVVF7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AX4GEVQC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-CCX4RSYZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-CW6E4NAT.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-DY6C42S6.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EWFY7SLA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-F75JSIOZ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FDH2X65L.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-FY4SPXSC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-GKIZW7SM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HHHJ2GI3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HI7STVF2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-I53JBTJW.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-I7NYDZDV.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IUKD4W6Z.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KWAXVAXX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-L5EPZQIC.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-OASDW5UI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OLKBSY4N.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-P5BJOMBB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-PNYAAB4S.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QKW5D45B.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QNJSITCX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-R4VWYWRN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RXAP6JL5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-S2ZLDYGS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SO55HRA5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TK5VZFHY.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TNAP7EJX.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-UIG4TW2H.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UUWGCWBU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-VFUZV5EB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-WUNFKP7M.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XJDGS74Y.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XWMF3POR.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ZMW77VWV.js.map +0 -1
- package/dist/cli-bundle/chunks/close-4FMAPEMY.js +0 -13
- package/dist/cli-bundle/chunks/close-many-AOD4HSAZ.js.map +0 -1
- package/dist/cli-bundle/chunks/close-many-XKAQY5CQ.js.map +0 -7
- package/dist/cli-bundle/chunks/comments-B4RWWDJT.js.map +0 -7
- package/dist/cli-bundle/chunks/comments-RN5TG4ZN.js.map +0 -1
- package/dist/cli-bundle/chunks/config-3JXJ3XZ7.js.map +0 -1
- package/dist/cli-bundle/chunks/config-FZ4UDC4B.js.map +0 -7
- package/dist/cli-bundle/chunks/context-L36PIN35.js.map +0 -7
- package/dist/cli-bundle/chunks/context-QBPO3BFM.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-2G66IGIA.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-PJCHYSO5.js.map +0 -7
- package/dist/cli-bundle/chunks/create-VWLWS34Z.js +0 -27
- package/dist/cli-bundle/chunks/deps-6TSPOSGU.js.map +0 -1
- package/dist/cli-bundle/chunks/files-FYP3MDPX.js.map +0 -7
- package/dist/cli-bundle/chunks/files-GUXUM2MB.js.map +0 -1
- package/dist/cli-bundle/chunks/get-PCHS7RA6.js.map +0 -1
- package/dist/cli-bundle/chunks/get-QARTE6BL.js.map +0 -7
- package/dist/cli-bundle/chunks/health-7MTXAVR2.js.map +0 -7
- package/dist/cli-bundle/chunks/health-E4D7KGHD.js.map +0 -1
- package/dist/cli-bundle/chunks/history-L2FQFRTU.js +0 -20
- package/dist/cli-bundle/chunks/history-compact-3EJ3L2O7.js.map +0 -1
- package/dist/cli-bundle/chunks/history-compact-LW27IPFK.js.map +0 -7
- package/dist/cli-bundle/chunks/history-redact-QWQCX5DZ.js +0 -19
- package/dist/cli-bundle/chunks/history-repair-OSQOKJ3E.js.map +0 -7
- package/dist/cli-bundle/chunks/history-repair-SBK7P34V.js.map +0 -1
- package/dist/cli-bundle/chunks/init-4BKRHGWW.js +0 -17
- package/dist/cli-bundle/chunks/learnings-HQXSSKZ5.js.map +0 -1
- package/dist/cli-bundle/chunks/learnings-XK3P4ZDR.js.map +0 -7
- package/dist/cli-bundle/chunks/list-6CL3XFT6.js +0 -23
- package/dist/cli-bundle/chunks/list-BYNN4ZEO.js +0 -19
- package/dist/cli-bundle/chunks/notes-5T6P7C5V.js.map +0 -1
- package/dist/cli-bundle/chunks/notes-U5FZCSBT.js.map +0 -7
- package/dist/cli-bundle/chunks/plan-2YTQYWGM.js.map +0 -1
- package/dist/cli-bundle/chunks/plan-7IVSICR6.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-4UPMHONX.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-7VOW2C3W.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-FARSGYRD.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-LJDNVREU.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-FFTYAL42.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-HCJKDUA6.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-6AVIUOCC.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-KVNLO5OJ.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-CHIOQAQL.js +0 -17
- package/dist/cli-bundle/chunks/schema-76HDZJCC.js.map +0 -1
- package/dist/cli-bundle/chunks/schema-AINZ2IMM.js.map +0 -7
- package/dist/cli-bundle/chunks/search-JMLFQEPJ.js.map +0 -7
- package/dist/cli-bundle/chunks/search-NL3TSCYB.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-BKXCBIGT.js.map +0 -7
- package/dist/cli-bundle/chunks/stats-UBD56TGK.js.map +0 -1
- package/dist/cli-bundle/chunks/telemetry-N454RHG5.js.map +0 -1
- package/dist/cli-bundle/chunks/telemetry-ZJXK3H7X.js.map +0 -7
- package/dist/cli-bundle/chunks/test-O74JFUH5.js +0 -32
- package/dist/cli-bundle/chunks/test-all-7LV3I6S5.js.map +0 -7
- package/dist/cli-bundle/chunks/test-all-TDYCCBA4.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-E64M6XS3.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-LXZLULCI.js.map +0 -7
- package/dist/cli-bundle/chunks/update-36JM7YZT.js +0 -21
- package/dist/cli-bundle/chunks/update-I246PCLO.js +0 -25
- package/dist/cli-bundle/chunks/update-many-F4IKDWZB.js.map +0 -1
- package/dist/cli-bundle/chunks/update-many-NTWZ5YT3.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-37F7JKES.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-L32JA4TZ.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-46KCRHL7.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-CRFMPTYD.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-XZIUPGZH.js.map → activity-5P2KQCTH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-XADJOG6G.js.map → activity-MJGTX4LO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ATEES5SX.js.map → chunk-2JEGCDYT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XUC4C4PT.js.map → chunk-3WAULYOY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QJMGRZO2.js.map → chunk-7AGIXLNK.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KBPQHXWG.js.map → chunk-AERT7KT3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ESANVZF4.js.map → chunk-E6J2PEK6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VSRZRLG3.js.map → chunk-F2GC6L3N.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XTKJSVWH.js.map → chunk-M23HXJL3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-S26FESD4.js.map → chunk-MJZUZ2QE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-C6SAP27O.js.map → chunk-O46LTCXQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WPDMBIX6.js.map → chunk-OLTYNVJR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-R2OUQVBK.js.map → chunk-T5VU7ROQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-P5U5EOMA.js.map → chunk-UBMCSJXX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-ZYNJNPYD.js.map → chunk-UUKORJSN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VPEAS7PS.js.map → chunk-WZCQVABQ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Y3YKK7CY.js.map → chunk-YGRPBFMA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XMBI6TNW.js.map → chunk-ZJRDVYZI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-2RDYMCTP.js.map → claim-4APLUXJW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-MJ7DZFC3.js.map → claim-NEO7AGWH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-XLEKIQSW.js.map → close-3QABBNGU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-4FMAPEMY.js.map → close-ILMZR3D7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-FWIVTLBO.js.map → copy-Q64T5FD4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-ALU5WMHA.js.map → copy-SG34LCMU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-VWLWS34Z.js.map → create-F5HZX2S4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-5433DP3G.js.map → create-IPAX2SNL.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-Y2SGJBGY.js.map → delete-TLXR7LJ2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-IYTIYAJS.js.map → delete-VH3L7DZ6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-MXLGZUIT.js.map → docs-GWDEB7JH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-I3BAF5WH.js.map → docs-RCLNSKID.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-Q34OEWO5.js.map → extension-5RN65LHT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-WH2FOIOZ.js.map → extension-7KO2NX2A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-KGQG66SA.js.map → gc-2FGKYRJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-FENB2ESG.js.map → gc-5B6ABL3Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-7WUAEWHW.js.map → history-QO4JVJJP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-L2FQFRTU.js.map → history-SSXGGTVZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-QWQCX5DZ.js.map → history-redact-VBH44Y7F.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-G72A4EJ4.js.map → history-redact-Z4P5MM3G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-4BKRHGWW.js.map → init-7FBQO77A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-S5WEGUJY.js.map → init-K6MSMB37.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-BYNN4ZEO.js.map → list-7UE44A2R.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-6CL3XFT6.js.map → list-UHMA3N2K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-M6AFHMV4.js.map → restore-NNVPBBVJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-CHIOQAQL.js.map → restore-XXXLQ2XC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-O74JFUH5.js.map → test-6CZNIIGA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-BQAKIXAT.js.map → test-7GVQ3VMN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-I246PCLO.js.map → update-MPGM6SBE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-36JM7YZT.js.map → update-UN75XW3C.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-764O7EUA.js";
|
|
9
9
|
import {
|
|
10
10
|
migrateItemFilesToFormat
|
|
11
|
-
} from "./chunks/chunk-
|
|
11
|
+
} from "./chunks/chunk-F2GC6L3N.js";
|
|
12
12
|
import {
|
|
13
13
|
normalizeExtensionNameForMatch
|
|
14
|
-
} from "./chunks/chunk-
|
|
14
|
+
} from "./chunks/chunk-SY4PZWIZ.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-TIRZIQRP.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-H6EH6ENJ.js";
|
|
29
|
+
import "./chunks/chunk-TUB3DZAZ.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-SPYPC5CB.js";
|
|
35
|
+
import "./chunks/chunk-4KBK4BA3.js";
|
|
36
|
+
import "./chunks/chunk-WZCQVABQ.js";
|
|
37
|
+
import "./chunks/chunk-GYMG7AG6.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-6BV7ENQL.js";
|
|
44
|
+
import "./chunks/chunk-OY3P2I6B.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-LV5FFQ7M.js";
|
|
89
89
|
|
|
90
90
|
// dist/cli/main.js
|
|
91
91
|
import { Command } from "commander";
|
|
@@ -186,7 +186,7 @@ async function maybeRunFirstUseTelemetryPrompt(commandPath, globalOptions) {
|
|
|
186
186
|
!(function() {
|
|
187
187
|
try {
|
|
188
188
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
189
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
189
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8d40e365-c64b-5f7b-a275-92c9123cff27");
|
|
190
190
|
} catch (e2) {
|
|
191
191
|
}
|
|
192
192
|
})();
|
|
@@ -655,7 +655,7 @@ async function sentryFlush(timeoutMs = 3e3) {
|
|
|
655
655
|
!(function() {
|
|
656
656
|
try {
|
|
657
657
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
658
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
658
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "73a3f15b-1652-55b5-8ca9-6eadaaad6420");
|
|
659
659
|
} catch (e2) {
|
|
660
660
|
}
|
|
661
661
|
})();
|
|
@@ -802,17 +802,19 @@ function validateLooseCommandOptionsWithFlagDefinitions(options, definitions, co
|
|
|
802
802
|
for (const definition of definitions) {
|
|
803
803
|
const keys = collectLooseOptionKeys(definition);
|
|
804
804
|
const label = formatLooseOptionLabel(definition);
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
const fallbackLabel = keys.length > 0 ? `--${keys[0]}` : null;
|
|
806
|
+
const normalizedLabel = label ?? fallbackLabel;
|
|
807
|
+
if (normalizedLabel) {
|
|
808
|
+
labels.push(normalizedLabel);
|
|
807
809
|
}
|
|
808
810
|
for (const key of keys) {
|
|
809
811
|
allowed.add(key);
|
|
810
812
|
if (definition.enabled === false) {
|
|
811
|
-
disabled.set(key,
|
|
813
|
+
disabled.set(key, normalizedLabel);
|
|
812
814
|
}
|
|
813
815
|
}
|
|
814
816
|
if (definition.required === true && definition.enabled !== false && keys.length > 0) {
|
|
815
|
-
required.push({ keys, label:
|
|
817
|
+
required.push({ keys, label: normalizedLabel });
|
|
816
818
|
}
|
|
817
819
|
}
|
|
818
820
|
for (const key of Object.keys(options)) {
|
|
@@ -968,7 +970,7 @@ function stripLooseCommandOptionTokens(args, definitions) {
|
|
|
968
970
|
if (parsed) {
|
|
969
971
|
const normalizedKey = toLooseOptionKey(parsed.key);
|
|
970
972
|
if (knownKeys.has(normalizedKey)) {
|
|
971
|
-
const token = args[index]
|
|
973
|
+
const token = args[index];
|
|
972
974
|
const consumed = booleanKeys.has(normalizedKey) && !token.includes("=") ? 1 : parsed.consumed;
|
|
973
975
|
index += consumed;
|
|
974
976
|
continue;
|
|
@@ -984,19 +986,23 @@ function stripLooseCommandOptionTokens(args, definitions) {
|
|
|
984
986
|
!(function() {
|
|
985
987
|
try {
|
|
986
988
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
987
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
989
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0ae19066-4ac9-55c8-bb28-0204a184caba");
|
|
988
990
|
} catch (e2) {
|
|
989
991
|
}
|
|
990
992
|
})();
|
|
993
|
+
function firstExampleOrEmpty(examples) {
|
|
994
|
+
return examples.length > 0 ? [examples[0]] : [];
|
|
995
|
+
}
|
|
991
996
|
function renderCompactHelpBundle(bundle) {
|
|
992
997
|
const lines = [
|
|
993
998
|
"",
|
|
994
999
|
"Intent:",
|
|
995
1000
|
` ${bundle.why}`
|
|
996
1001
|
];
|
|
997
|
-
|
|
1002
|
+
const compactExamples = firstExampleOrEmpty(bundle.examples);
|
|
1003
|
+
if (compactExamples.length > 0) {
|
|
998
1004
|
lines.push("", "Example:");
|
|
999
|
-
lines.push(` ${
|
|
1005
|
+
lines.push(` ${compactExamples[0]}`);
|
|
1000
1006
|
}
|
|
1001
1007
|
lines.push("", "Need deeper rationale and more examples?");
|
|
1002
1008
|
lines.push(" Re-run with --explain.");
|
|
@@ -1229,6 +1235,19 @@ var HELP_BY_COMMAND_PATH = {
|
|
|
1229
1235
|
"Use --type <value> to load type-aware policy guidance in --help output."
|
|
1230
1236
|
]
|
|
1231
1237
|
},
|
|
1238
|
+
focus: {
|
|
1239
|
+
why: "Sets a session focused item so new pm create items default their --parent to it (project management = context management).",
|
|
1240
|
+
examples: [
|
|
1241
|
+
"pm focus pm-epic1",
|
|
1242
|
+
"pm focus",
|
|
1243
|
+
"pm focus --clear"
|
|
1244
|
+
],
|
|
1245
|
+
tips: [
|
|
1246
|
+
"Focus is session-local (stored in .agents/pm/runtime/session.json, gitignored) \u2014 it never affects teammates.",
|
|
1247
|
+
'An explicit --parent on pm create always overrides the focused item; use --parent "" to create with no parent.',
|
|
1248
|
+
"A stale focused item produces the same missing-parent validation as an explicit stale --parent."
|
|
1249
|
+
]
|
|
1250
|
+
},
|
|
1232
1251
|
update: {
|
|
1233
1252
|
why: "Mutates existing item fields while preserving history and lock safety.",
|
|
1234
1253
|
examples: [
|
|
@@ -1436,7 +1455,7 @@ var HELP_BY_COMMAND_PATH = {
|
|
|
1436
1455
|
tips: [
|
|
1437
1456
|
"Default depth is standard for body plus linked artifacts without append-only logs; use brief for metadata-only checks or --full for complete history-heavy metadata.",
|
|
1438
1457
|
"Use --fields for the smallest deterministic item metadata payload when an agent only needs specific fields.",
|
|
1439
|
-
"JSON output shape is { item,
|
|
1458
|
+
"JSON output shape is { item, linked, claim_state, children }; body is nested at item.body (parity with list --include-body), and children appears for requested/container rollups."
|
|
1440
1459
|
]
|
|
1441
1460
|
},
|
|
1442
1461
|
history: {
|
|
@@ -1703,7 +1722,7 @@ function resolveHelpNarrative(commandPath, detailMode) {
|
|
|
1703
1722
|
const bundle = resolveHelpBundleForPath(commandPath);
|
|
1704
1723
|
return {
|
|
1705
1724
|
intent: bundle.why,
|
|
1706
|
-
examples: detailMode === "detailed" ? [...bundle.examples] : bundle.examples
|
|
1725
|
+
examples: detailMode === "detailed" ? [...bundle.examples] : firstExampleOrEmpty(bundle.examples),
|
|
1707
1726
|
tips: detailMode === "detailed" ? [...bundle.tips ?? []] : [],
|
|
1708
1727
|
detail_mode: detailMode
|
|
1709
1728
|
};
|
|
@@ -1762,10 +1781,28 @@ function renderPmCommand(argv) {
|
|
|
1762
1781
|
!(function() {
|
|
1763
1782
|
try {
|
|
1764
1783
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1765
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1784
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5ecd5461-a75d-524f-9d41-e4108f6c3d21");
|
|
1766
1785
|
} catch (e2) {
|
|
1767
1786
|
}
|
|
1768
1787
|
})();
|
|
1788
|
+
var STRUCTURED_WHY_SUPPRESSION_CODES = /* @__PURE__ */ new Set([
|
|
1789
|
+
"unknown_command",
|
|
1790
|
+
"unknown_option",
|
|
1791
|
+
"missing_required_option",
|
|
1792
|
+
"missing_required_argument",
|
|
1793
|
+
"invalid_argument_value",
|
|
1794
|
+
"invalid_command_usage",
|
|
1795
|
+
"command_failed"
|
|
1796
|
+
]);
|
|
1797
|
+
function includeWhyInStructuredGuidance(message) {
|
|
1798
|
+
if (!message.why) {
|
|
1799
|
+
return false;
|
|
1800
|
+
}
|
|
1801
|
+
if (message.recovery?.recovery_mode === "compact") {
|
|
1802
|
+
return false;
|
|
1803
|
+
}
|
|
1804
|
+
return !STRUCTURED_WHY_SUPPRESSION_CODES.has(message.code);
|
|
1805
|
+
}
|
|
1769
1806
|
function errorType(code) {
|
|
1770
1807
|
return `urn:pm-cli:error:${code}`;
|
|
1771
1808
|
}
|
|
@@ -1798,7 +1835,17 @@ function normalizeRecoveryPayload(payload) {
|
|
|
1798
1835
|
if (!payload || typeof payload !== "object") {
|
|
1799
1836
|
return void 0;
|
|
1800
1837
|
}
|
|
1838
|
+
const normalizeStringArray = (values) => {
|
|
1839
|
+
if (!Array.isArray(values)) {
|
|
1840
|
+
return void 0;
|
|
1841
|
+
}
|
|
1842
|
+
const normalized2 = values.filter((entry) => typeof entry === "string").map((entry) => entry.trim()).filter((entry) => entry.length > 0);
|
|
1843
|
+
return normalized2.length > 0 ? normalized2 : void 0;
|
|
1844
|
+
};
|
|
1801
1845
|
const normalized = {};
|
|
1846
|
+
if (payload.recovery_mode === "compact") {
|
|
1847
|
+
normalized.recovery_mode = "compact";
|
|
1848
|
+
}
|
|
1802
1849
|
if (typeof payload.attempted_command === "string" && payload.attempted_command.trim().length > 0) {
|
|
1803
1850
|
normalized.attempted_command = payload.attempted_command.trim();
|
|
1804
1851
|
}
|
|
@@ -1820,6 +1867,14 @@ function normalizeRecoveryPayload(payload) {
|
|
|
1820
1867
|
normalized.missing = missing;
|
|
1821
1868
|
}
|
|
1822
1869
|
}
|
|
1870
|
+
const missingRequiredFields = normalizeStringArray(payload.missing_required_fields);
|
|
1871
|
+
if (missingRequiredFields) {
|
|
1872
|
+
normalized.missing_required_fields = missingRequiredFields;
|
|
1873
|
+
}
|
|
1874
|
+
const suggestedFlags = normalizeStringArray(payload.suggested_flags);
|
|
1875
|
+
if (suggestedFlags) {
|
|
1876
|
+
normalized.suggested_flags = suggestedFlags;
|
|
1877
|
+
}
|
|
1823
1878
|
if (typeof payload.suggested_retry === "string" && payload.suggested_retry.trim().length > 0) {
|
|
1824
1879
|
normalized.suggested_retry = payload.suggested_retry.trim();
|
|
1825
1880
|
}
|
|
@@ -1856,6 +1911,12 @@ function renderRecoveryBundle(recovery) {
|
|
|
1856
1911
|
if (normalized.missing && normalized.missing.length > 0) {
|
|
1857
1912
|
lines.push(` missing: ${normalized.missing.join(", ")}`);
|
|
1858
1913
|
}
|
|
1914
|
+
if (normalized.missing_required_fields && normalized.missing_required_fields.length > 0) {
|
|
1915
|
+
lines.push(` missing_required_fields: ${normalized.missing_required_fields.join(", ")}`);
|
|
1916
|
+
}
|
|
1917
|
+
if (normalized.suggested_flags && normalized.suggested_flags.length > 0) {
|
|
1918
|
+
lines.push(` suggested_flags: ${normalized.suggested_flags.join(", ")}`);
|
|
1919
|
+
}
|
|
1859
1920
|
if (normalized.suggested_retry) {
|
|
1860
1921
|
lines.push(` suggested_retry: ${normalized.suggested_retry}`);
|
|
1861
1922
|
}
|
|
@@ -1908,7 +1969,7 @@ function guidanceToJsonEnvelope(message, exitCode) {
|
|
|
1908
1969
|
required: message.required,
|
|
1909
1970
|
exit_code: exitCode
|
|
1910
1971
|
};
|
|
1911
|
-
if (message
|
|
1972
|
+
if (includeWhyInStructuredGuidance(message)) {
|
|
1912
1973
|
payload.why = message.why;
|
|
1913
1974
|
}
|
|
1914
1975
|
if (message.examples && message.examples.length > 0) {
|
|
@@ -1930,7 +1991,7 @@ function guidanceToClassification(message) {
|
|
|
1930
1991
|
detail: message.happened,
|
|
1931
1992
|
required: message.required
|
|
1932
1993
|
};
|
|
1933
|
-
if (message
|
|
1994
|
+
if (includeWhyInStructuredGuidance(message)) {
|
|
1934
1995
|
payload.why = message.why;
|
|
1935
1996
|
}
|
|
1936
1997
|
if (message.examples && message.examples.length > 0) {
|
|
@@ -2003,7 +2064,7 @@ function buildAllowedValueRetryCommand(recovery, allowedValues) {
|
|
|
2003
2064
|
return void 0;
|
|
2004
2065
|
}
|
|
2005
2066
|
function buildFallbackTitleFromMessage(message) {
|
|
2006
|
-
const firstLine = message.split(/\r?\n/)[0]
|
|
2067
|
+
const firstLine = message.split(/\r?\n/)[0].trim();
|
|
2007
2068
|
if (firstLine.length === 0) {
|
|
2008
2069
|
return void 0;
|
|
2009
2070
|
}
|
|
@@ -2110,10 +2171,11 @@ function buildPmCliErrorGuidance(rawMessage, context) {
|
|
|
2110
2171
|
if (missingRequiredOption || missingRequiredOptions) {
|
|
2111
2172
|
const plural = Boolean(missingRequiredOptions);
|
|
2112
2173
|
const missingOptionFlag = !plural ? message.replace(/^Missing required option\s+/, "").trim() : null;
|
|
2174
|
+
const missingOptionLabel = missingOptionFlag ?? "";
|
|
2113
2175
|
const missingOptionRequired = missingOptionFlag ? `Pass ${missingOptionFlag} with a valid value before running the command.` : "Provide the required option for this command invocation.";
|
|
2114
2176
|
return applyPmCliErrorContext(makeGuidanceMessage({
|
|
2115
2177
|
code: "missing_required_option",
|
|
2116
|
-
title: plural ? "Missing required options" :
|
|
2178
|
+
title: plural ? "Missing required options" : `Missing required option ${missingOptionLabel}`,
|
|
2117
2179
|
happened: message,
|
|
2118
2180
|
required: plural ? "Provide every required option for this command invocation." : missingOptionRequired,
|
|
2119
2181
|
why: "Required options define command intent and enforce deterministic write contracts.",
|
|
@@ -2921,7 +2983,7 @@ function ensureCommandPath(root, pathParts) {
|
|
|
2921
2983
|
!(function() {
|
|
2922
2984
|
try {
|
|
2923
2985
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2924
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2986
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b586e62c-508a-5b84-9104-e9df98a81188");
|
|
2925
2987
|
} catch (e2) {
|
|
2926
2988
|
}
|
|
2927
2989
|
})();
|
|
@@ -3206,8 +3268,8 @@ function collectLongFlagCandidates(contract) {
|
|
|
3206
3268
|
}
|
|
3207
3269
|
return candidates;
|
|
3208
3270
|
}
|
|
3209
|
-
function buildFlagLookup(commandName) {
|
|
3210
|
-
const contracts = resolveSubcommandFlagContractsForCommand(commandName);
|
|
3271
|
+
function buildFlagLookup(commandName, contractsOverride) {
|
|
3272
|
+
const contracts = contractsOverride ?? resolveSubcommandFlagContractsForCommand(commandName);
|
|
3211
3273
|
const canonicalByNormalized = /* @__PURE__ */ new Map();
|
|
3212
3274
|
const canonicalByCompact = /* @__PURE__ */ new Map();
|
|
3213
3275
|
const canonicalComparablesMap = /* @__PURE__ */ new Map();
|
|
@@ -3717,7 +3779,7 @@ async function enforceItemFormatWriteGateAndPreflightMigration(commandPath, opti
|
|
|
3717
3779
|
!(function() {
|
|
3718
3780
|
try {
|
|
3719
3781
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3720
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3782
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40abf375-9b2a-5973-9c05-a3ba20617c07");
|
|
3721
3783
|
} catch (e2) {
|
|
3722
3784
|
}
|
|
3723
3785
|
})();
|
|
@@ -3894,9 +3956,9 @@ function collectInstalledPackageCommandPathHints(unknownToken, extensionDescript
|
|
|
3894
3956
|
}
|
|
3895
3957
|
return [...new Set(hints)].sort((left, right) => left.localeCompare(right));
|
|
3896
3958
|
}
|
|
3897
|
-
function collectKnownLongFlags(commandName) {
|
|
3959
|
+
function collectKnownLongFlags(commandName, contractsOverride) {
|
|
3898
3960
|
const flags = /* @__PURE__ */ new Set();
|
|
3899
|
-
const contracts = resolveSubcommandFlagContractsForCommand(commandName);
|
|
3961
|
+
const contracts = contractsOverride ?? resolveSubcommandFlagContractsForCommand(commandName);
|
|
3900
3962
|
for (const contract of contracts) {
|
|
3901
3963
|
if (contract.flag.startsWith("--")) {
|
|
3902
3964
|
flags.add(normalizeLongFlag(contract.flag));
|
|
@@ -4018,7 +4080,7 @@ function buildUnknownCommandGuidanceFromRuntime(rawMessage, root, extensionDescr
|
|
|
4018
4080
|
if (commandPaths.length === 0) {
|
|
4019
4081
|
return void 0;
|
|
4020
4082
|
}
|
|
4021
|
-
const primaryToken = normalizedUnknown.split(" ")[0]
|
|
4083
|
+
const primaryToken = normalizedUnknown.split(" ")[0];
|
|
4022
4084
|
const rankedCandidates = commandPaths.map((commandPath) => {
|
|
4023
4085
|
const directScore = scoreCommandPathMatch(commandPath, normalizedUnknown);
|
|
4024
4086
|
const fallbackScore = primaryToken !== normalizedUnknown ? scoreCommandPathMatch(commandPath, primaryToken) : Number.POSITIVE_INFINITY;
|
|
@@ -4036,7 +4098,8 @@ function buildUnknownCommandGuidanceFromRuntime(rawMessage, root, extensionDescr
|
|
|
4036
4098
|
const fallbackTopLevel = [...new Set(commandPaths.map((commandPath) => commandPath.split(" ")[0]).filter((segment) => segment.length > 0))];
|
|
4037
4099
|
fallbackTopLevel.sort((left, right) => left.localeCompare(right));
|
|
4038
4100
|
const suggestedPaths = (combinedCandidates.length > 0 ? combinedCandidates : fallbackTopLevel).slice(0, 3);
|
|
4039
|
-
const
|
|
4101
|
+
const suggestedExamples = suggestedPaths.map((path) => `pm ${path} --help`);
|
|
4102
|
+
const examples = combinedCandidates.length > 0 ? [.../* @__PURE__ */ new Set([...suggestedExamples, "pm --help"])] : [.../* @__PURE__ */ new Set(["pm --help", ...suggestedExamples])];
|
|
4040
4103
|
const optionalPackageHint = resolveOptionalPackageInstallHint(normalizedUnknown);
|
|
4041
4104
|
const didYouMean = combinedCandidates.length > 0 ? `Did you mean: ${combinedCandidates.slice(0, 3).join(", ")}?` : null;
|
|
4042
4105
|
return {
|
|
@@ -4198,7 +4261,7 @@ async function formatCommanderUsageJson(error, rootProgram, extensionDescriptors
|
|
|
4198
4261
|
!(function() {
|
|
4199
4262
|
try {
|
|
4200
4263
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4201
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4264
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9cd6003e-01d2-51de-9fbd-aa1d49d03e68");
|
|
4202
4265
|
} catch (e2) {
|
|
4203
4266
|
}
|
|
4204
4267
|
})();
|
|
@@ -4294,14 +4357,13 @@ function compactHelpOptionAliases(options) {
|
|
|
4294
4357
|
}
|
|
4295
4358
|
}
|
|
4296
4359
|
for (const aliasOption of aliasOptions) {
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
}
|
|
4300
|
-
const canonical = canonicalByLong.get(aliasOption.alias_for);
|
|
4360
|
+
const aliasFor = aliasOption.alias_for;
|
|
4361
|
+
const canonical = canonicalByLong.get(aliasFor);
|
|
4301
4362
|
if (!canonical) {
|
|
4302
4363
|
continue;
|
|
4303
4364
|
}
|
|
4304
|
-
const
|
|
4365
|
+
const aliasLong = aliasOption.long;
|
|
4366
|
+
const aliases = /* @__PURE__ */ new Set([...canonical.aliases ?? [], aliasLong]);
|
|
4305
4367
|
canonical.aliases = [...aliases].sort((left, right) => left.localeCompare(right));
|
|
4306
4368
|
}
|
|
4307
4369
|
return options.filter((option) => {
|
|
@@ -4472,7 +4534,7 @@ function attachCreateUpdatePolicyHelpText(rootProgram, typeRegistry, argv) {
|
|
|
4472
4534
|
!(function() {
|
|
4473
4535
|
try {
|
|
4474
4536
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4475
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4537
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "690692b1-fa87-55c9-9782-7324e6d15db3");
|
|
4476
4538
|
} catch (e2) {
|
|
4477
4539
|
}
|
|
4478
4540
|
})();
|
|
@@ -4485,6 +4547,9 @@ if (typeof process.env[PM_PACKAGE_ROOT_ENV] !== "string" || process.env[PM_PACKA
|
|
|
4485
4547
|
}
|
|
4486
4548
|
var activeExtensionHookContext = null;
|
|
4487
4549
|
var activeTelemetryCommandContext = null;
|
|
4550
|
+
function setActiveExtensionHookContextForTest(context) {
|
|
4551
|
+
activeExtensionHookContext = context;
|
|
4552
|
+
}
|
|
4488
4553
|
var TELEMETRY_COMMAND_RESOLUTION_SET = /* @__PURE__ */ new Set([
|
|
4489
4554
|
"success",
|
|
4490
4555
|
"nonexistent_command",
|
|
@@ -4511,10 +4576,10 @@ var EXPECTED_HANDLED_ERROR_EXIT_CODES = /* @__PURE__ */ new Set([
|
|
|
4511
4576
|
EXIT_CODE.CONFLICT
|
|
4512
4577
|
]);
|
|
4513
4578
|
var TRUE_LIKE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes", "on"]);
|
|
4514
|
-
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-
|
|
4515
|
-
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-
|
|
4516
|
-
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-
|
|
4517
|
-
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-
|
|
4579
|
+
var loadSetupRegistrationModule = createLazyModule(() => import("./chunks/register-setup-7UKEFKT6.js"));
|
|
4580
|
+
var loadListQueryRegistrationModule = createLazyModule(() => import("./chunks/register-list-query-N7Z7RTDM.js"));
|
|
4581
|
+
var loadMutationRegistrationModule = createLazyModule(() => import("./chunks/register-mutation-UFZK6Q57.js"));
|
|
4582
|
+
var loadOperationRegistrationModule = createLazyModule(() => import("./chunks/register-operations-6ZCLKRBG.js"));
|
|
4518
4583
|
function describeUnknownError(error) {
|
|
4519
4584
|
if (error instanceof PmCliError) {
|
|
4520
4585
|
return error.message;
|
|
@@ -4561,10 +4626,18 @@ function inferMissingFieldsFromErrorMessage(message) {
|
|
|
4561
4626
|
return normalized.length > 0 ? normalized : void 0;
|
|
4562
4627
|
}
|
|
4563
4628
|
function buildPmCliRecoveryContext(context, invocationArgv, rawMessage) {
|
|
4629
|
+
const explainRequested = invocationArgv.includes("--explain");
|
|
4630
|
+
const existingRecovery = context?.recovery;
|
|
4631
|
+
if (existingRecovery?.recovery_mode === "compact" && !explainRequested) {
|
|
4632
|
+
return {
|
|
4633
|
+
/* c8 ignore next */
|
|
4634
|
+
...context ?? {},
|
|
4635
|
+
recovery: existingRecovery
|
|
4636
|
+
};
|
|
4637
|
+
}
|
|
4564
4638
|
const attemptedCommand = renderAttemptedCommand3(invocationArgv);
|
|
4565
4639
|
const providedFields = extractProvidedOptionFlags(invocationArgv);
|
|
4566
4640
|
const providedSet = new Set(providedFields.map((flag) => normalizeLongOptionFlag(flag) ?? flag));
|
|
4567
|
-
const existingRecovery = context?.recovery;
|
|
4568
4641
|
const rawInferred = existingRecovery?.suggested_retry ? void 0 : inferMissingFieldsFromErrorMessage(rawMessage);
|
|
4569
4642
|
const trulyMissing = rawInferred?.filter((flag) => !providedSet.has(normalizeLongOptionFlag(flag) ?? flag));
|
|
4570
4643
|
const inferredMissing = trulyMissing && trulyMissing.length > 0 ? trulyMissing : void 0;
|
|
@@ -4585,8 +4658,12 @@ function buildPmCliRecoveryContext(context, invocationArgv, rawMessage) {
|
|
|
4585
4658
|
const recovery = {
|
|
4586
4659
|
attempted_command: existingRecovery?.attempted_command ?? attemptedCommand,
|
|
4587
4660
|
normalized_args: existingRecovery?.normalized_args ?? [...invocationArgv],
|
|
4661
|
+
/* c8 ignore next */
|
|
4588
4662
|
provided_fields: existingRecovery?.provided_fields ?? (providedFields.length > 0 ? providedFields : void 0),
|
|
4589
4663
|
missing: existingRecovery?.missing ?? inferredMissing,
|
|
4664
|
+
...existingRecovery?.recovery_mode ? { recovery_mode: existingRecovery.recovery_mode } : {},
|
|
4665
|
+
...existingRecovery?.missing_required_fields ? { missing_required_fields: existingRecovery.missing_required_fields } : {},
|
|
4666
|
+
...existingRecovery?.suggested_flags ? { suggested_flags: existingRecovery.suggested_flags } : {},
|
|
4590
4667
|
...suggestedRetry ? { suggested_retry: suggestedRetry } : {},
|
|
4591
4668
|
...existingRecovery?.fallback_candidates ? { fallback_candidates: existingRecovery.fallback_candidates } : {},
|
|
4592
4669
|
...existingRecovery?.next_best_command ? { next_best_command: existingRecovery.next_best_command } : {}
|
|
@@ -4805,6 +4882,67 @@ async function maybeLogHandledCliErrorToSentry(params) {
|
|
|
4805
4882
|
sentryLogCliUsageError(params);
|
|
4806
4883
|
return true;
|
|
4807
4884
|
}
|
|
4885
|
+
async function handleGenericRunPmCliError(params) {
|
|
4886
|
+
const message = describeUnknownError(params.error);
|
|
4887
|
+
const classification = classifyUnknownError(message);
|
|
4888
|
+
if (params.bootstrapGlobal.json) {
|
|
4889
|
+
printError(JSON.stringify(formatUnknownErrorForJson(message, EXIT_CODE.GENERIC_FAILURE), null, 2));
|
|
4890
|
+
} else {
|
|
4891
|
+
printError(message);
|
|
4892
|
+
}
|
|
4893
|
+
process.exitCode = EXIT_CODE.GENERIC_FAILURE;
|
|
4894
|
+
let errorCategory = "runtime";
|
|
4895
|
+
let commandResolution = "runtime_failed";
|
|
4896
|
+
try {
|
|
4897
|
+
await ensureSentryForErrorReporting();
|
|
4898
|
+
sentryCaptureCliError(params.error);
|
|
4899
|
+
const telemetry = await params.emitTelemetryCommandError({
|
|
4900
|
+
command: params.attemptedCommand,
|
|
4901
|
+
errorCode: classification.code,
|
|
4902
|
+
errorMessage: classification.detail,
|
|
4903
|
+
exitCode: EXIT_CODE.GENERIC_FAILURE,
|
|
4904
|
+
options: {
|
|
4905
|
+
bootstrap_global_options: params.bootstrapGlobal
|
|
4906
|
+
},
|
|
4907
|
+
resolutionStage: "execute"
|
|
4908
|
+
});
|
|
4909
|
+
errorCategory = telemetry.errorCategory;
|
|
4910
|
+
commandResolution = telemetry.commandResolution;
|
|
4911
|
+
sentryFinishCommandSpan(false, message, {
|
|
4912
|
+
error_code: classification.code,
|
|
4913
|
+
error_category: errorCategory,
|
|
4914
|
+
exit_code: EXIT_CODE.GENERIC_FAILURE,
|
|
4915
|
+
command_resolution: commandResolution,
|
|
4916
|
+
resolution_stage: "execute"
|
|
4917
|
+
});
|
|
4918
|
+
} catch (reportingError) {
|
|
4919
|
+
if (!params.bootstrapGlobal.json) {
|
|
4920
|
+
printError(`Failed to report error: ${describeUnknownError(reportingError)}`);
|
|
4921
|
+
}
|
|
4922
|
+
}
|
|
4923
|
+
try {
|
|
4924
|
+
await runAndClearAfterCommandHooks({
|
|
4925
|
+
ok: false,
|
|
4926
|
+
error: message,
|
|
4927
|
+
exit_code: EXIT_CODE.GENERIC_FAILURE,
|
|
4928
|
+
error_code: classification.code,
|
|
4929
|
+
error_category: errorCategory,
|
|
4930
|
+
command_resolution: commandResolution,
|
|
4931
|
+
resolution_stage: "execute"
|
|
4932
|
+
});
|
|
4933
|
+
} catch (hookError) {
|
|
4934
|
+
if (!params.bootstrapGlobal.json) {
|
|
4935
|
+
printError(`Failed to run error hooks: ${describeUnknownError(hookError)}`);
|
|
4936
|
+
}
|
|
4937
|
+
}
|
|
4938
|
+
try {
|
|
4939
|
+
await sentryFlush();
|
|
4940
|
+
} catch (flushError) {
|
|
4941
|
+
if (!params.bootstrapGlobal.json) {
|
|
4942
|
+
printError(`Failed to flush error reporting: ${describeUnknownError(flushError)}`);
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
}
|
|
4808
4946
|
function extractCommandScopedOptions(command, commandArgs, extensionFlagDefinitions = []) {
|
|
4809
4947
|
const allOptions = command.optsWithGlobals();
|
|
4810
4948
|
const scoped = { ...allOptions };
|
|
@@ -5996,11 +6134,11 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
5996
6134
|
const bootstrapPmRoot = resolvePmRoot(process.cwd(), bootstrapGlobal.path);
|
|
5997
6135
|
const attemptedCommand = parseBootstrapCommandName(invocationArgv) ?? "<unknown>";
|
|
5998
6136
|
const emitTelemetryCommandError = async (params) => {
|
|
5999
|
-
const
|
|
6000
|
-
const
|
|
6137
|
+
const errorCategory = resolveTelemetryErrorCategory(params.errorCode);
|
|
6138
|
+
const commandResolution = deriveTelemetryCommandResolution({
|
|
6001
6139
|
ok: false,
|
|
6002
6140
|
errorCode: params.errorCode,
|
|
6003
|
-
errorCategory
|
|
6141
|
+
errorCategory
|
|
6004
6142
|
});
|
|
6005
6143
|
await emitTelemetryErrorEvent({
|
|
6006
6144
|
command: params.command,
|
|
@@ -6012,13 +6150,13 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6012
6150
|
error_code: params.errorCode,
|
|
6013
6151
|
error_message: params.errorMessage,
|
|
6014
6152
|
exit_code: params.exitCode,
|
|
6015
|
-
error_category:
|
|
6016
|
-
command_resolution:
|
|
6153
|
+
error_category: errorCategory,
|
|
6154
|
+
command_resolution: commandResolution,
|
|
6017
6155
|
resolution_stage: params.resolutionStage
|
|
6018
6156
|
});
|
|
6019
6157
|
return {
|
|
6020
|
-
errorCategory
|
|
6021
|
-
commandResolution
|
|
6158
|
+
errorCategory,
|
|
6159
|
+
commandResolution
|
|
6022
6160
|
};
|
|
6023
6161
|
};
|
|
6024
6162
|
if (!bootstrapGlobal.noExtensions) {
|
|
@@ -6040,11 +6178,13 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6040
6178
|
const exitCode = error instanceof PmCliError ? error.exitCode : normalizeThrownExitCode(numericExitCode);
|
|
6041
6179
|
const context = error instanceof PmCliError ? error.context : void 0;
|
|
6042
6180
|
const enrichedContext = buildPmCliRecoveryContext(context, invocationArgv, errorMessage);
|
|
6043
|
-
const
|
|
6044
|
-
const
|
|
6181
|
+
const classification = classifyPmCliError(errorMessage, enrichedContext);
|
|
6182
|
+
const renderedError = jsonErrors ? JSON.stringify(formatPmCliErrorForJson(errorMessage, exitCode, enrichedContext), null, 2) : formatPmCliErrorForDisplay(errorMessage, enrichedContext);
|
|
6183
|
+
printError(renderedError);
|
|
6184
|
+
const { errorCategory, commandResolution } = await emitTelemetryCommandError({
|
|
6045
6185
|
command: attemptedCommand,
|
|
6046
|
-
errorCode:
|
|
6047
|
-
errorMessage:
|
|
6186
|
+
errorCode: classification.code,
|
|
6187
|
+
errorMessage: classification.detail,
|
|
6048
6188
|
exitCode,
|
|
6049
6189
|
options: {
|
|
6050
6190
|
bootstrap_global_options: bootstrapGlobal
|
|
@@ -6053,38 +6193,33 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6053
6193
|
});
|
|
6054
6194
|
const loggedHandledErrorToSentry = await maybeLogHandledCliErrorToSentry({
|
|
6055
6195
|
command: attemptedCommand,
|
|
6056
|
-
error_code:
|
|
6057
|
-
error_category:
|
|
6196
|
+
error_code: classification.code,
|
|
6197
|
+
error_category: errorCategory,
|
|
6058
6198
|
exit_code: exitCode,
|
|
6059
|
-
error_message:
|
|
6060
|
-
command_resolution:
|
|
6199
|
+
error_message: classification.detail,
|
|
6200
|
+
command_resolution: commandResolution,
|
|
6061
6201
|
resolution_stage: "execute",
|
|
6062
6202
|
source_context: activeTelemetryCommandContext?.source_context
|
|
6063
6203
|
});
|
|
6064
6204
|
sentryFinishCommandSpan(false, errorMessage, {
|
|
6065
|
-
error_code:
|
|
6066
|
-
error_category:
|
|
6205
|
+
error_code: classification.code,
|
|
6206
|
+
error_category: errorCategory,
|
|
6067
6207
|
exit_code: exitCode,
|
|
6068
|
-
command_resolution:
|
|
6208
|
+
command_resolution: commandResolution,
|
|
6069
6209
|
resolution_stage: "execute"
|
|
6070
6210
|
});
|
|
6071
6211
|
await runAndClearAfterCommandHooks({
|
|
6072
6212
|
ok: false,
|
|
6073
6213
|
error: errorMessage,
|
|
6074
6214
|
exit_code: exitCode,
|
|
6075
|
-
error_code:
|
|
6076
|
-
error_category:
|
|
6077
|
-
command_resolution:
|
|
6215
|
+
error_code: classification.code,
|
|
6216
|
+
error_category: errorCategory,
|
|
6217
|
+
command_resolution: commandResolution,
|
|
6078
6218
|
resolution_stage: "execute"
|
|
6079
6219
|
});
|
|
6080
6220
|
if (loggedHandledErrorToSentry) {
|
|
6081
6221
|
sentryCaptureCliError(wrapThrownErrorForSentry(error, errorMessage));
|
|
6082
6222
|
}
|
|
6083
|
-
if (jsonErrors) {
|
|
6084
|
-
printError(JSON.stringify(formatPmCliErrorForJson(errorMessage, exitCode, enrichedContext), null, 2));
|
|
6085
|
-
} else {
|
|
6086
|
-
printError(formatPmCliErrorForDisplay(errorMessage, enrichedContext));
|
|
6087
|
-
}
|
|
6088
6223
|
if (loggedHandledErrorToSentry) {
|
|
6089
6224
|
await sentryFlush(HANDLED_ERROR_SENTRY_FLUSH_TIMEOUT_MS);
|
|
6090
6225
|
}
|
|
@@ -6102,7 +6237,7 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6102
6237
|
const unknownMessage = `unknown command '${unknownToken}'`;
|
|
6103
6238
|
const recoveryCommandDescriptors = await loadRuntimeExtensionCommandDescriptorsForRecovery(resolvePmRoot(process.cwd(), bootstrapGlobal.path));
|
|
6104
6239
|
const usageContext = await resolveCommanderUsageContext({ message: unknownMessage }, program, recoveryCommandDescriptors);
|
|
6105
|
-
const
|
|
6240
|
+
const classification = classifyCommanderError(usageContext.message, usageContext.commandName, usageContext.allowedTypes, {
|
|
6106
6241
|
unknownCommandExamples: usageContext.unknownCommandExamples,
|
|
6107
6242
|
unknownCommandNextSteps: usageContext.unknownCommandNextSteps,
|
|
6108
6243
|
attemptedCommand: usageContext.attemptedCommand,
|
|
@@ -6111,10 +6246,10 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6111
6246
|
unknownOptionSuggestions: usageContext.unknownOptionSuggestions,
|
|
6112
6247
|
suggestedRetryCommand: usageContext.suggestedRetryCommand
|
|
6113
6248
|
});
|
|
6114
|
-
const { errorCategory
|
|
6249
|
+
const { errorCategory, commandResolution } = await emitTelemetryCommandError({
|
|
6115
6250
|
command: unknownToken,
|
|
6116
|
-
errorCode:
|
|
6117
|
-
errorMessage:
|
|
6251
|
+
errorCode: classification.code,
|
|
6252
|
+
errorMessage: classification.detail,
|
|
6118
6253
|
exitCode: EXIT_CODE.USAGE,
|
|
6119
6254
|
options: {
|
|
6120
6255
|
bootstrap_global_options: bootstrapGlobal,
|
|
@@ -6124,29 +6259,29 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6124
6259
|
});
|
|
6125
6260
|
const loggedHandledErrorToSentry = await maybeLogHandledCliErrorToSentry({
|
|
6126
6261
|
command: unknownToken,
|
|
6127
|
-
error_code:
|
|
6128
|
-
error_category:
|
|
6262
|
+
error_code: classification.code,
|
|
6263
|
+
error_category: errorCategory,
|
|
6129
6264
|
exit_code: EXIT_CODE.USAGE,
|
|
6130
|
-
error_message:
|
|
6131
|
-
command_resolution:
|
|
6265
|
+
error_message: classification.detail,
|
|
6266
|
+
command_resolution: commandResolution,
|
|
6132
6267
|
resolution_stage: "parse",
|
|
6133
6268
|
source_context: activeTelemetryCommandContext?.source_context
|
|
6134
6269
|
});
|
|
6135
6270
|
const renderedUsage = jsonErrors ? await formatCommanderUsageJson({ message: unknownMessage }, program, recoveryCommandDescriptors) : await formatCommanderUsageMessage({ message: unknownMessage }, program, recoveryCommandDescriptors);
|
|
6136
6271
|
sentryFinishCommandSpan(false, unknownMessage, {
|
|
6137
|
-
error_code:
|
|
6138
|
-
error_category:
|
|
6272
|
+
error_code: classification.code,
|
|
6273
|
+
error_category: errorCategory,
|
|
6139
6274
|
exit_code: EXIT_CODE.USAGE,
|
|
6140
|
-
command_resolution:
|
|
6275
|
+
command_resolution: commandResolution,
|
|
6141
6276
|
resolution_stage: "parse"
|
|
6142
6277
|
});
|
|
6143
6278
|
await runAndClearAfterCommandHooks({
|
|
6144
6279
|
ok: false,
|
|
6145
6280
|
error: unknownMessage,
|
|
6146
6281
|
exit_code: EXIT_CODE.USAGE,
|
|
6147
|
-
error_code:
|
|
6148
|
-
error_category:
|
|
6149
|
-
command_resolution:
|
|
6282
|
+
error_code: classification.code,
|
|
6283
|
+
error_category: errorCategory,
|
|
6284
|
+
command_resolution: commandResolution,
|
|
6150
6285
|
resolution_stage: "parse"
|
|
6151
6286
|
});
|
|
6152
6287
|
if (jsonErrors) {
|
|
@@ -6191,7 +6326,7 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6191
6326
|
}
|
|
6192
6327
|
if (code?.startsWith("commander.")) {
|
|
6193
6328
|
const usageContext = await resolveCommanderUsageContext(error, program, activeRuntimeExtensionCommandDescriptors);
|
|
6194
|
-
const
|
|
6329
|
+
const classification = classifyCommanderError(usageContext.message, usageContext.commandName, usageContext.allowedTypes, {
|
|
6195
6330
|
unknownCommandExamples: usageContext.unknownCommandExamples,
|
|
6196
6331
|
unknownCommandNextSteps: usageContext.unknownCommandNextSteps,
|
|
6197
6332
|
attemptedCommand: usageContext.attemptedCommand,
|
|
@@ -6200,10 +6335,10 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6200
6335
|
unknownOptionSuggestions: usageContext.unknownOptionSuggestions,
|
|
6201
6336
|
suggestedRetryCommand: usageContext.suggestedRetryCommand
|
|
6202
6337
|
});
|
|
6203
|
-
const { errorCategory
|
|
6338
|
+
const { errorCategory, commandResolution } = await emitTelemetryCommandError({
|
|
6204
6339
|
command: attemptedCommand,
|
|
6205
|
-
errorCode:
|
|
6206
|
-
errorMessage:
|
|
6340
|
+
errorCode: classification.code,
|
|
6341
|
+
errorMessage: classification.detail,
|
|
6207
6342
|
exitCode: EXIT_CODE.USAGE,
|
|
6208
6343
|
options: {
|
|
6209
6344
|
bootstrap_global_options: bootstrapGlobal,
|
|
@@ -6213,29 +6348,29 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6213
6348
|
});
|
|
6214
6349
|
const loggedHandledErrorToSentry = await maybeLogHandledCliErrorToSentry({
|
|
6215
6350
|
command: attemptedCommand,
|
|
6216
|
-
error_code:
|
|
6217
|
-
error_category:
|
|
6351
|
+
error_code: classification.code,
|
|
6352
|
+
error_category: errorCategory,
|
|
6218
6353
|
exit_code: EXIT_CODE.USAGE,
|
|
6219
|
-
error_message:
|
|
6220
|
-
command_resolution:
|
|
6354
|
+
error_message: classification.detail,
|
|
6355
|
+
command_resolution: commandResolution,
|
|
6221
6356
|
resolution_stage: "parse",
|
|
6222
6357
|
source_context: activeTelemetryCommandContext?.source_context
|
|
6223
6358
|
});
|
|
6224
6359
|
const renderedUsage = jsonErrors ? await formatCommanderUsageJson(error, program, activeRuntimeExtensionCommandDescriptors) : await formatCommanderUsageMessage(error, program, activeRuntimeExtensionCommandDescriptors);
|
|
6225
6360
|
sentryFinishCommandSpan(false, usageContext.message, {
|
|
6226
|
-
error_code:
|
|
6227
|
-
error_category:
|
|
6361
|
+
error_code: classification.code,
|
|
6362
|
+
error_category: errorCategory,
|
|
6228
6363
|
exit_code: EXIT_CODE.USAGE,
|
|
6229
|
-
command_resolution:
|
|
6364
|
+
command_resolution: commandResolution,
|
|
6230
6365
|
resolution_stage: "parse"
|
|
6231
6366
|
});
|
|
6232
6367
|
await runAndClearAfterCommandHooks({
|
|
6233
6368
|
ok: false,
|
|
6234
6369
|
error: usageContext.message,
|
|
6235
6370
|
exit_code: EXIT_CODE.USAGE,
|
|
6236
|
-
error_code:
|
|
6237
|
-
error_category:
|
|
6238
|
-
command_resolution:
|
|
6371
|
+
error_code: classification.code,
|
|
6372
|
+
error_category: errorCategory,
|
|
6373
|
+
command_resolution: commandResolution,
|
|
6239
6374
|
resolution_stage: "parse"
|
|
6240
6375
|
});
|
|
6241
6376
|
if (jsonErrors) {
|
|
@@ -6250,51 +6385,81 @@ async function runPmCli(rawArgv = process.argv.slice(2)) {
|
|
|
6250
6385
|
return;
|
|
6251
6386
|
}
|
|
6252
6387
|
}
|
|
6253
|
-
await
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
command: attemptedCommand,
|
|
6259
|
-
errorCode: classification.code,
|
|
6260
|
-
errorMessage: classification.detail,
|
|
6261
|
-
exitCode: EXIT_CODE.GENERIC_FAILURE,
|
|
6262
|
-
options: {
|
|
6263
|
-
bootstrap_global_options: bootstrapGlobal
|
|
6264
|
-
},
|
|
6265
|
-
resolutionStage: "execute"
|
|
6266
|
-
});
|
|
6267
|
-
sentryFinishCommandSpan(false, message, {
|
|
6268
|
-
error_code: classification.code,
|
|
6269
|
-
error_category: errorCategory,
|
|
6270
|
-
exit_code: EXIT_CODE.GENERIC_FAILURE,
|
|
6271
|
-
command_resolution: commandResolution,
|
|
6272
|
-
resolution_stage: "execute"
|
|
6388
|
+
await handleGenericRunPmCliError({
|
|
6389
|
+
error,
|
|
6390
|
+
attemptedCommand,
|
|
6391
|
+
bootstrapGlobal,
|
|
6392
|
+
emitTelemetryCommandError
|
|
6273
6393
|
});
|
|
6274
|
-
await runAndClearAfterCommandHooks({
|
|
6275
|
-
ok: false,
|
|
6276
|
-
error: message,
|
|
6277
|
-
exit_code: EXIT_CODE.GENERIC_FAILURE,
|
|
6278
|
-
error_code: classification.code,
|
|
6279
|
-
error_category: errorCategory,
|
|
6280
|
-
command_resolution: commandResolution,
|
|
6281
|
-
resolution_stage: "execute"
|
|
6282
|
-
});
|
|
6283
|
-
if (jsonErrors) {
|
|
6284
|
-
printError(JSON.stringify(formatUnknownErrorForJson(message, EXIT_CODE.GENERIC_FAILURE), null, 2));
|
|
6285
|
-
} else {
|
|
6286
|
-
printError(message);
|
|
6287
|
-
}
|
|
6288
|
-
await sentryFlush();
|
|
6289
|
-
process.exitCode = EXIT_CODE.GENERIC_FAILURE;
|
|
6290
6394
|
}
|
|
6291
6395
|
}
|
|
6292
6396
|
var _testOnly = {
|
|
6397
|
+
activationCommandMatchesProbe,
|
|
6398
|
+
bootstrapProfileEnabled,
|
|
6399
|
+
buildBootstrapActivationProbe,
|
|
6400
|
+
buildPostActionTelemetryOutcome,
|
|
6293
6401
|
buildPmCliRecoveryContext,
|
|
6402
|
+
buildRuntimeExtensionDiscoverySnapshotCacheKey,
|
|
6403
|
+
buildRuntimeExtensionSnapshotCacheKey,
|
|
6404
|
+
addRuntimeFieldOption,
|
|
6405
|
+
collectActivationCommandCandidates,
|
|
6406
|
+
collectExtensionFlagDefinitionsForCommand,
|
|
6407
|
+
collectExtensionFlagDefinitionsForInvocation,
|
|
6408
|
+
collectLeadingCommandArgs,
|
|
6409
|
+
collectParsedActivationCommandArgs,
|
|
6410
|
+
collectRuntimeFieldLooseFlagDefinitionsForCommand,
|
|
6411
|
+
commandHasLongOption,
|
|
6412
|
+
commandHasShortOption,
|
|
6413
|
+
commandPathNeedsSearchExtensions,
|
|
6414
|
+
commandPathNeedsTemplateExtensions,
|
|
6415
|
+
describeUnknownError,
|
|
6416
|
+
defaultPreflightDecision,
|
|
6417
|
+
discoveryNeedsActivationForProbe,
|
|
6418
|
+
emitExtensionProfile,
|
|
6419
|
+
emitExtensionSkippedProfile,
|
|
6420
|
+
emitSettingsReadWarnings,
|
|
6421
|
+
enforceExplicitRetryForFlagTypos,
|
|
6422
|
+
envFlagEnabled,
|
|
6423
|
+
executeRegisteredRuntimeMigrations,
|
|
6424
|
+
extractCommandScopedOptions,
|
|
6425
|
+
extensionActivationCommands,
|
|
6426
|
+
extensionCapabilities,
|
|
6427
|
+
extensionNeedsActivationForProbe,
|
|
6428
|
+
extensionProvidesTemplatesRuntime,
|
|
6429
|
+
hasAnyCapability,
|
|
6430
|
+
handleGenericRunPmCliError,
|
|
6431
|
+
inferMissingFieldsFromErrorMessage,
|
|
6432
|
+
inferPostActionErrorCode,
|
|
6433
|
+
inferPostActionFailureMessage,
|
|
6434
|
+
invocationRequestsVersion,
|
|
6294
6435
|
isCommanderError,
|
|
6436
|
+
loadRuntimeExtensionCommandDescriptorsForRecovery,
|
|
6437
|
+
loadRuntimeExtensionDiscoverySnapshot,
|
|
6438
|
+
loadRuntimeExtensionSnapshot,
|
|
6439
|
+
maybeLoadRuntimeExtensions,
|
|
6440
|
+
maybeAttachCreateUpdatePolicyHelpText,
|
|
6441
|
+
maybeLogHandledCliErrorToSentry,
|
|
6442
|
+
normalizeTelemetryCommandResolution,
|
|
6443
|
+
normalizeTelemetryErrorCategory,
|
|
6444
|
+
normalizeTelemetryResolutionStage,
|
|
6295
6445
|
normalizeThrownExitCode,
|
|
6446
|
+
probeUsesAnyFlag,
|
|
6447
|
+
readRecordBoolean,
|
|
6448
|
+
readRecordNumber,
|
|
6449
|
+
readRecordString,
|
|
6450
|
+
registerDynamicExtensionCommandPaths,
|
|
6451
|
+
registerRuntimeSchemaFieldFlags,
|
|
6452
|
+
resolveCoreCommandRegistrationSelection,
|
|
6296
6453
|
readThrownExitCode,
|
|
6454
|
+
runAndClearAfterCommandHooks,
|
|
6455
|
+
runRequiredExtensionCommand,
|
|
6456
|
+
shouldAttachRichHelpTextForInvocation,
|
|
6297
6457
|
shouldLogHandledErrorToSentry,
|
|
6458
|
+
shouldRegisterDynamicExtensionPaths,
|
|
6459
|
+
shouldRegisterRuntimeSchemaFlags,
|
|
6460
|
+
setActiveExtensionHookContextForTest,
|
|
6461
|
+
toLooseFieldDefinitionType,
|
|
6462
|
+
wrapProgramActionsForExtensionHandlers,
|
|
6298
6463
|
wrapThrownErrorForSentry
|
|
6299
6464
|
};
|
|
6300
6465
|
export {
|