@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
|
@@ -260,7 +260,7 @@ var KNOWN_EXTENSION_MANIFEST_FIELDS = Object.freeze([
|
|
|
260
260
|
!(function() {
|
|
261
261
|
try {
|
|
262
262
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
263
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
263
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "de6d8b9a-3684-54cd-81b1-2b94e87908c9");
|
|
264
264
|
} catch (e2) {
|
|
265
265
|
}
|
|
266
266
|
})();
|
|
@@ -302,6 +302,7 @@ var DEFAULT_WORKFLOW_DEFINITION = Object.freeze({
|
|
|
302
302
|
});
|
|
303
303
|
var PM_DIRNAME = ".agents/pm";
|
|
304
304
|
var SETTINGS_FILENAME = "settings.json";
|
|
305
|
+
var CREATE_DIRECT_CLOSE_REASON_DEFAULT = "Closed at creation via pm create";
|
|
305
306
|
var PM_CORE_REQUIRED_SUBDIRS = [
|
|
306
307
|
"",
|
|
307
308
|
"epics",
|
|
@@ -477,7 +478,8 @@ var SETTINGS_DEFAULTS = {
|
|
|
477
478
|
lifecycle_closure_like_resolution_patterns: [...DEFAULT_VALIDATE_CLOSURE_LIKE_METADATA_FIELD_PATTERNS.resolution],
|
|
478
479
|
lifecycle_closure_like_actual_result_patterns: [
|
|
479
480
|
...DEFAULT_VALIDATE_CLOSURE_LIKE_METADATA_FIELD_PATTERNS.actual_result
|
|
480
|
-
]
|
|
481
|
+
],
|
|
482
|
+
estimate_defaults_by_type: {}
|
|
481
483
|
},
|
|
482
484
|
governance: {
|
|
483
485
|
preset: "minimal",
|
|
@@ -858,162 +860,6 @@ function asRecordLoose(value) {
|
|
|
858
860
|
return value;
|
|
859
861
|
}
|
|
860
862
|
|
|
861
|
-
// dist/core/extensions/extension-capability-aliases.js
|
|
862
|
-
!(function() {
|
|
863
|
-
try {
|
|
864
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
865
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "05fd9473-dd6f-5618-89e3-8746ce68e4e0");
|
|
866
|
-
} catch (e2) {
|
|
867
|
-
}
|
|
868
|
-
})();
|
|
869
|
-
function normalizeNames(values) {
|
|
870
|
-
return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))].sort((a, b) => a.localeCompare(b));
|
|
871
|
-
}
|
|
872
|
-
function isKnownExtensionCapability(value) {
|
|
873
|
-
return KNOWN_EXTENSION_CAPABILITIES.includes(value);
|
|
874
|
-
}
|
|
875
|
-
function collectUnknownExtensionCapabilities(capabilities) {
|
|
876
|
-
return capabilities.filter((capability) => !isKnownExtensionCapability(capability));
|
|
877
|
-
}
|
|
878
|
-
function resolveLegacyExtensionCapabilityAlias(capability) {
|
|
879
|
-
const normalized = capability.trim().toLowerCase();
|
|
880
|
-
if (normalized.length === 0) {
|
|
881
|
-
return null;
|
|
882
|
-
}
|
|
883
|
-
return EXTENSION_CAPABILITY_LEGACY_ALIASES[normalized] ?? null;
|
|
884
|
-
}
|
|
885
|
-
function normalizeManifestCapabilities(rawCapabilities) {
|
|
886
|
-
const normalizedCapabilities = normalizeNames([...rawCapabilities].map((value) => value.toLowerCase()));
|
|
887
|
-
const remappedCapabilities = [];
|
|
888
|
-
const legacyAliases = [];
|
|
889
|
-
for (const capability of normalizedCapabilities) {
|
|
890
|
-
const legacyAliasTarget = resolveLegacyExtensionCapabilityAlias(capability);
|
|
891
|
-
if (legacyAliasTarget) {
|
|
892
|
-
remappedCapabilities.push(legacyAliasTarget);
|
|
893
|
-
legacyAliases.push({
|
|
894
|
-
alias: capability,
|
|
895
|
-
target: legacyAliasTarget
|
|
896
|
-
});
|
|
897
|
-
continue;
|
|
898
|
-
}
|
|
899
|
-
remappedCapabilities.push(capability);
|
|
900
|
-
}
|
|
901
|
-
const dedupedLegacyAliases = [...new Map(legacyAliases.map((entry) => [`${entry.alias}>${entry.target}`, entry])).values()].sort((left, right) => left.alias.localeCompare(right.alias));
|
|
902
|
-
return {
|
|
903
|
-
capabilities: normalizeNames(remappedCapabilities),
|
|
904
|
-
legacy_aliases: dedupedLegacyAliases
|
|
905
|
-
};
|
|
906
|
-
}
|
|
907
|
-
function levenshteinDistance(left, right) {
|
|
908
|
-
if (left === right) {
|
|
909
|
-
return 0;
|
|
910
|
-
}
|
|
911
|
-
if (left.length === 0) {
|
|
912
|
-
return right.length;
|
|
913
|
-
}
|
|
914
|
-
if (right.length === 0) {
|
|
915
|
-
return left.length;
|
|
916
|
-
}
|
|
917
|
-
const previous = new Array(right.length + 1);
|
|
918
|
-
const current = new Array(right.length + 1);
|
|
919
|
-
for (let j = 0; j <= right.length; j += 1) {
|
|
920
|
-
previous[j] = j;
|
|
921
|
-
}
|
|
922
|
-
for (let i = 1; i <= left.length; i += 1) {
|
|
923
|
-
current[0] = i;
|
|
924
|
-
for (let j = 1; j <= right.length; j += 1) {
|
|
925
|
-
const substitutionCost = left[i - 1] === right[j - 1] ? 0 : 1;
|
|
926
|
-
current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, previous[j - 1] + substitutionCost);
|
|
927
|
-
}
|
|
928
|
-
for (let j = 0; j <= right.length; j += 1) {
|
|
929
|
-
previous[j] = current[j];
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
return previous[right.length] ?? left.length;
|
|
933
|
-
}
|
|
934
|
-
function suggestKnownExtensionCapability(capability) {
|
|
935
|
-
const normalized = capability.trim().toLowerCase();
|
|
936
|
-
if (normalized.length === 0) {
|
|
937
|
-
return null;
|
|
938
|
-
}
|
|
939
|
-
const legacyAlias = resolveLegacyExtensionCapabilityAlias(normalized);
|
|
940
|
-
if (legacyAlias) {
|
|
941
|
-
return legacyAlias;
|
|
942
|
-
}
|
|
943
|
-
let bestMatch = null;
|
|
944
|
-
let bestDistance = Number.POSITIVE_INFINITY;
|
|
945
|
-
for (const candidate of KNOWN_EXTENSION_CAPABILITIES) {
|
|
946
|
-
const distance = levenshteinDistance(normalized, candidate);
|
|
947
|
-
if (distance < bestDistance) {
|
|
948
|
-
bestDistance = distance;
|
|
949
|
-
bestMatch = candidate;
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
const maxDistance = Math.max(1, Math.floor(normalized.length * 0.34));
|
|
953
|
-
return bestMatch !== null && bestDistance <= maxDistance ? bestMatch : null;
|
|
954
|
-
}
|
|
955
|
-
function formatUnknownExtensionCapabilityWarning(layer, name, capability) {
|
|
956
|
-
const allowed = KNOWN_EXTENSION_CAPABILITIES.join(",");
|
|
957
|
-
const suggested = suggestKnownExtensionCapability(capability) ?? "none";
|
|
958
|
-
return `extension_capability_unknown:${layer}:${name}:${capability}:allowed=${allowed}:suggested=${suggested}`;
|
|
959
|
-
}
|
|
960
|
-
function formatLegacyExtensionCapabilityAliasWarning(layer, name, aliases) {
|
|
961
|
-
const aliasesToken = aliases.map((entry) => `${entry.alias}>${entry.target}`).join(",");
|
|
962
|
-
return `extension_capability_legacy_alias:${layer}:${name}:aliases=${aliasesToken}`;
|
|
963
|
-
}
|
|
964
|
-
function parseUnknownExtensionCapabilityWarning(warning) {
|
|
965
|
-
const match = /^extension_capability_unknown:(global|project):([^:]+):([^:]+):allowed=([^:]+):suggested=([^:]+)$/.exec(warning.trim());
|
|
966
|
-
if (!match) {
|
|
967
|
-
return null;
|
|
968
|
-
}
|
|
969
|
-
const [, layerRaw, name, capability, allowedRaw, suggestedRaw] = match;
|
|
970
|
-
const layer = layerRaw;
|
|
971
|
-
const allowed_capabilities = allowedRaw.split(",").map((value) => value.trim()).filter((value) => value.length > 0);
|
|
972
|
-
const legacyAlias = resolveLegacyExtensionCapabilityAlias(capability);
|
|
973
|
-
const suggestedFromWarning = suggestedRaw === "none" ? void 0 : suggestedRaw;
|
|
974
|
-
const suggested_capability = suggestedFromWarning ?? legacyAlias ?? void 0;
|
|
975
|
-
const suggestion_source = suggested_capability ? legacyAlias === suggested_capability ? "legacy_alias" : "nearest_match" : void 0;
|
|
976
|
-
return {
|
|
977
|
-
layer,
|
|
978
|
-
name,
|
|
979
|
-
capability,
|
|
980
|
-
allowed_capabilities,
|
|
981
|
-
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
982
|
-
suggested_capability,
|
|
983
|
-
suggestion_source,
|
|
984
|
-
legacy_alias_target: legacyAlias ?? void 0
|
|
985
|
-
};
|
|
986
|
-
}
|
|
987
|
-
function parseLegacyExtensionCapabilityAliasWarning(warning) {
|
|
988
|
-
const match = /^extension_capability_legacy_alias:(global|project):([^:]+):aliases=(.+)$/.exec(warning.trim());
|
|
989
|
-
if (!match) {
|
|
990
|
-
return [];
|
|
991
|
-
}
|
|
992
|
-
const [, layerRaw, name, aliasesRaw] = match;
|
|
993
|
-
const layer = layerRaw;
|
|
994
|
-
const allowedCapabilities = [...KNOWN_EXTENSION_CAPABILITIES];
|
|
995
|
-
const parsed = [];
|
|
996
|
-
for (const token of aliasesRaw.split(",")) {
|
|
997
|
-
const [rawAlias, rawTarget] = token.split(">");
|
|
998
|
-
const alias = rawAlias?.trim();
|
|
999
|
-
const target = rawTarget?.trim().toLowerCase();
|
|
1000
|
-
if (!alias || !target || !isKnownExtensionCapability(target)) {
|
|
1001
|
-
continue;
|
|
1002
|
-
}
|
|
1003
|
-
parsed.push({
|
|
1004
|
-
layer,
|
|
1005
|
-
name,
|
|
1006
|
-
capability: alias,
|
|
1007
|
-
allowed_capabilities: allowedCapabilities,
|
|
1008
|
-
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
1009
|
-
suggested_capability: target,
|
|
1010
|
-
suggestion_source: "legacy_alias",
|
|
1011
|
-
legacy_alias_target: target
|
|
1012
|
-
});
|
|
1013
|
-
}
|
|
1014
|
-
return parsed;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
863
|
// dist/core/extensions/extension-registries.js
|
|
1018
864
|
!(function() {
|
|
1019
865
|
try {
|
|
@@ -1644,11 +1490,140 @@ function suggestKnownItemFieldType(value) {
|
|
|
1644
1490
|
return null;
|
|
1645
1491
|
}
|
|
1646
1492
|
|
|
1493
|
+
// dist/core/extensions/extension-capability-aliases.js
|
|
1494
|
+
!(function() {
|
|
1495
|
+
try {
|
|
1496
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1497
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bdebef92-142e-53b9-a836-480f38d1c3a0");
|
|
1498
|
+
} catch (e2) {
|
|
1499
|
+
}
|
|
1500
|
+
})();
|
|
1501
|
+
function normalizeNames(values) {
|
|
1502
|
+
return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))].sort((a, b) => a.localeCompare(b));
|
|
1503
|
+
}
|
|
1504
|
+
function isKnownExtensionCapability(value) {
|
|
1505
|
+
return KNOWN_EXTENSION_CAPABILITIES.includes(value);
|
|
1506
|
+
}
|
|
1507
|
+
function collectUnknownExtensionCapabilities(capabilities) {
|
|
1508
|
+
return capabilities.filter((capability) => !isKnownExtensionCapability(capability));
|
|
1509
|
+
}
|
|
1510
|
+
function resolveLegacyExtensionCapabilityAlias(capability) {
|
|
1511
|
+
const normalized = capability.trim().toLowerCase();
|
|
1512
|
+
if (normalized.length === 0) {
|
|
1513
|
+
return null;
|
|
1514
|
+
}
|
|
1515
|
+
return EXTENSION_CAPABILITY_LEGACY_ALIASES[normalized] ?? null;
|
|
1516
|
+
}
|
|
1517
|
+
function normalizeManifestCapabilities(rawCapabilities) {
|
|
1518
|
+
const normalizedCapabilities = normalizeNames([...rawCapabilities].map((value) => value.toLowerCase()));
|
|
1519
|
+
const remappedCapabilities = [];
|
|
1520
|
+
const legacyAliases = [];
|
|
1521
|
+
for (const capability of normalizedCapabilities) {
|
|
1522
|
+
const legacyAliasTarget = resolveLegacyExtensionCapabilityAlias(capability);
|
|
1523
|
+
if (legacyAliasTarget) {
|
|
1524
|
+
remappedCapabilities.push(legacyAliasTarget);
|
|
1525
|
+
legacyAliases.push({
|
|
1526
|
+
alias: capability,
|
|
1527
|
+
target: legacyAliasTarget
|
|
1528
|
+
});
|
|
1529
|
+
continue;
|
|
1530
|
+
}
|
|
1531
|
+
remappedCapabilities.push(capability);
|
|
1532
|
+
}
|
|
1533
|
+
const dedupedLegacyAliases = [...new Map(legacyAliases.map((entry) => [`${entry.alias}>${entry.target}`, entry])).values()].sort((left, right) => left.alias.localeCompare(right.alias));
|
|
1534
|
+
return {
|
|
1535
|
+
capabilities: normalizeNames(remappedCapabilities),
|
|
1536
|
+
legacy_aliases: dedupedLegacyAliases
|
|
1537
|
+
};
|
|
1538
|
+
}
|
|
1539
|
+
function suggestKnownExtensionCapability(capability) {
|
|
1540
|
+
const normalized = capability.trim().toLowerCase();
|
|
1541
|
+
if (normalized.length === 0) {
|
|
1542
|
+
return null;
|
|
1543
|
+
}
|
|
1544
|
+
const legacyAlias = resolveLegacyExtensionCapabilityAlias(normalized);
|
|
1545
|
+
if (legacyAlias) {
|
|
1546
|
+
return legacyAlias;
|
|
1547
|
+
}
|
|
1548
|
+
const maxDistance = Math.max(1, Math.floor(normalized.length * 0.34));
|
|
1549
|
+
let bestMatch = null;
|
|
1550
|
+
let bestDistance = Number.POSITIVE_INFINITY;
|
|
1551
|
+
for (const candidate of KNOWN_EXTENSION_CAPABILITIES) {
|
|
1552
|
+
const distance = levenshteinDistanceWithinLimit(normalized, candidate, maxDistance);
|
|
1553
|
+
if (distance !== null && distance < bestDistance) {
|
|
1554
|
+
bestDistance = distance;
|
|
1555
|
+
bestMatch = candidate;
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
return bestMatch;
|
|
1559
|
+
}
|
|
1560
|
+
function formatUnknownExtensionCapabilityWarning(layer, name, capability) {
|
|
1561
|
+
const allowed = KNOWN_EXTENSION_CAPABILITIES.join(",");
|
|
1562
|
+
const suggested = suggestKnownExtensionCapability(capability) ?? "none";
|
|
1563
|
+
return `extension_capability_unknown:${layer}:${name}:${capability}:allowed=${allowed}:suggested=${suggested}`;
|
|
1564
|
+
}
|
|
1565
|
+
function formatLegacyExtensionCapabilityAliasWarning(layer, name, aliases) {
|
|
1566
|
+
const aliasesToken = aliases.map((entry) => `${entry.alias}>${entry.target}`).join(",");
|
|
1567
|
+
return `extension_capability_legacy_alias:${layer}:${name}:aliases=${aliasesToken}`;
|
|
1568
|
+
}
|
|
1569
|
+
function parseUnknownExtensionCapabilityWarning(warning) {
|
|
1570
|
+
const match = /^extension_capability_unknown:(global|project):([^:]+):([^:]+):allowed=([^:]+):suggested=([^:]+)$/.exec(warning.trim());
|
|
1571
|
+
if (!match) {
|
|
1572
|
+
return null;
|
|
1573
|
+
}
|
|
1574
|
+
const [, layerRaw, name, capability, allowedRaw, suggestedRaw] = match;
|
|
1575
|
+
const layer = layerRaw;
|
|
1576
|
+
const allowed_capabilities = allowedRaw.split(",").map((value) => value.trim()).filter((value) => value.length > 0);
|
|
1577
|
+
const legacyAlias = resolveLegacyExtensionCapabilityAlias(capability);
|
|
1578
|
+
const suggestedFromWarning = suggestedRaw === "none" ? void 0 : suggestedRaw;
|
|
1579
|
+
const suggested_capability = suggestedFromWarning ?? legacyAlias ?? void 0;
|
|
1580
|
+
const suggestion_source = suggested_capability ? legacyAlias === suggested_capability ? "legacy_alias" : "nearest_match" : void 0;
|
|
1581
|
+
return {
|
|
1582
|
+
layer,
|
|
1583
|
+
name,
|
|
1584
|
+
capability,
|
|
1585
|
+
allowed_capabilities,
|
|
1586
|
+
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
1587
|
+
suggested_capability,
|
|
1588
|
+
suggestion_source,
|
|
1589
|
+
legacy_alias_target: legacyAlias ?? void 0
|
|
1590
|
+
};
|
|
1591
|
+
}
|
|
1592
|
+
function parseLegacyExtensionCapabilityAliasWarning(warning) {
|
|
1593
|
+
const match = /^extension_capability_legacy_alias:(global|project):([^:]+):aliases=(.+)$/.exec(warning.trim());
|
|
1594
|
+
if (!match) {
|
|
1595
|
+
return [];
|
|
1596
|
+
}
|
|
1597
|
+
const [, layerRaw, name, aliasesRaw] = match;
|
|
1598
|
+
const layer = layerRaw;
|
|
1599
|
+
const allowedCapabilities = [...KNOWN_EXTENSION_CAPABILITIES];
|
|
1600
|
+
const parsed = [];
|
|
1601
|
+
for (const token of aliasesRaw.split(",")) {
|
|
1602
|
+
const [rawAlias, rawTarget] = token.split(">");
|
|
1603
|
+
const alias = rawAlias?.trim();
|
|
1604
|
+
const target = rawTarget?.trim().toLowerCase();
|
|
1605
|
+
if (!alias || !target || !isKnownExtensionCapability(target)) {
|
|
1606
|
+
continue;
|
|
1607
|
+
}
|
|
1608
|
+
parsed.push({
|
|
1609
|
+
layer,
|
|
1610
|
+
name,
|
|
1611
|
+
capability: alias,
|
|
1612
|
+
allowed_capabilities: allowedCapabilities,
|
|
1613
|
+
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
1614
|
+
suggested_capability: target,
|
|
1615
|
+
suggestion_source: "legacy_alias",
|
|
1616
|
+
legacy_alias_target: target
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1619
|
+
return parsed;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1647
1622
|
// dist/core/extensions/extension-policy.js
|
|
1648
1623
|
!(function() {
|
|
1649
1624
|
try {
|
|
1650
1625
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1651
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1626
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e3368ee4-621b-5707-bd6c-0f267867ef50");
|
|
1652
1627
|
} catch (e2) {
|
|
1653
1628
|
}
|
|
1654
1629
|
})();
|
|
@@ -2016,19 +1991,17 @@ function resolvePolicySandboxReason(policy, extension) {
|
|
|
2016
1991
|
}
|
|
2017
1992
|
return null;
|
|
2018
1993
|
}
|
|
2019
|
-
if (
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
return "sandbox_strict_disallows_env_write";
|
|
2031
|
-
}
|
|
1994
|
+
if (hasPermission("process_spawn")) {
|
|
1995
|
+
return "sandbox_strict_disallows_process_spawn";
|
|
1996
|
+
}
|
|
1997
|
+
if (hasPermission("network")) {
|
|
1998
|
+
return "sandbox_strict_disallows_network";
|
|
1999
|
+
}
|
|
2000
|
+
if (hasPermission("fs_write")) {
|
|
2001
|
+
return "sandbox_strict_disallows_fs_write";
|
|
2002
|
+
}
|
|
2003
|
+
if (hasPermission("env_write")) {
|
|
2004
|
+
return "sandbox_strict_disallows_env_write";
|
|
2032
2005
|
}
|
|
2033
2006
|
return null;
|
|
2034
2007
|
}
|
|
@@ -2144,7 +2117,7 @@ function evaluateExtensionPolicyForRegistration(policy, extension, surface, meth
|
|
|
2144
2117
|
!(function() {
|
|
2145
2118
|
try {
|
|
2146
2119
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2147
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2120
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5c5ced45-c38c-562e-a71b-e38fc696239f");
|
|
2148
2121
|
} catch (e2) {
|
|
2149
2122
|
}
|
|
2150
2123
|
})();
|
|
@@ -2394,7 +2367,7 @@ function summarizeCandidate(candidate) {
|
|
|
2394
2367
|
permissions: candidate.manifest.permissions,
|
|
2395
2368
|
capabilities: [...candidate.manifest.capabilities],
|
|
2396
2369
|
activation: candidate.manifest.activation ? {
|
|
2397
|
-
commands: [...candidate.manifest.activation.commands
|
|
2370
|
+
commands: [...candidate.manifest.activation.commands]
|
|
2398
2371
|
} : void 0
|
|
2399
2372
|
};
|
|
2400
2373
|
if (candidate.source_package) {
|
|
@@ -2645,7 +2618,7 @@ function formatUnknownError(error) {
|
|
|
2645
2618
|
}
|
|
2646
2619
|
function parseComparableVersion(value) {
|
|
2647
2620
|
const normalized = value.trim().replace(/^>=\s*/, "").replace(/^v/i, "");
|
|
2648
|
-
const release = normalized.split(/[+-]/, 1)[0]
|
|
2621
|
+
const release = normalized.split(/[+-]/, 1)[0];
|
|
2649
2622
|
if (!/^\d+(?:[.-]\d+)*$/.test(release)) {
|
|
2650
2623
|
return null;
|
|
2651
2624
|
}
|
|
@@ -3062,25 +3035,16 @@ function normalizeCommandDefinitionArguments(value) {
|
|
|
3062
3035
|
definition.variadic = true;
|
|
3063
3036
|
}
|
|
3064
3037
|
if (typeof record.description === "string") {
|
|
3065
|
-
|
|
3066
|
-
if (trimmedDescription.length > 0) {
|
|
3067
|
-
definition.description = trimmedDescription;
|
|
3068
|
-
}
|
|
3038
|
+
definition.description = record.description.trim();
|
|
3069
3039
|
}
|
|
3070
3040
|
normalized.push(definition);
|
|
3071
3041
|
}
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
if (variadicCount > 1) {
|
|
3079
|
-
throw new TypeError("registerCommand definition.arguments supports at most one variadic argument");
|
|
3080
|
-
}
|
|
3081
|
-
if (index !== normalized.length - 1) {
|
|
3082
|
-
throw new TypeError("registerCommand definition.arguments variadic argument must be the final argument");
|
|
3083
|
-
}
|
|
3042
|
+
const variadicIndexes = normalized.map((argument, index) => argument.variadic ? index : -1).filter((index) => index >= 0);
|
|
3043
|
+
if (variadicIndexes.length > 1) {
|
|
3044
|
+
throw new TypeError("registerCommand definition.arguments supports at most one variadic argument");
|
|
3045
|
+
}
|
|
3046
|
+
if (variadicIndexes.length === 1 && variadicIndexes[0] !== normalized.length - 1) {
|
|
3047
|
+
throw new TypeError("registerCommand definition.arguments variadic argument must be the final argument");
|
|
3084
3048
|
}
|
|
3085
3049
|
return normalized;
|
|
3086
3050
|
}
|
|
@@ -3234,7 +3198,7 @@ function assertExtensionCapability(extension, capability, method) {
|
|
|
3234
3198
|
capability,
|
|
3235
3199
|
missing_capability: capability,
|
|
3236
3200
|
expected_schema: `"capabilities": [..., "${capability}"]`,
|
|
3237
|
-
received: extension.capabilities
|
|
3201
|
+
received: extension.capabilities,
|
|
3238
3202
|
hint: `Add "${capability}" to ${extension.name} manifest capabilities, or remove the ${method} registration call.`
|
|
3239
3203
|
});
|
|
3240
3204
|
}
|
|
@@ -3365,7 +3329,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
3365
3329
|
}
|
|
3366
3330
|
registrations.commands.push(registration);
|
|
3367
3331
|
} catch (error) {
|
|
3368
|
-
const reason = error
|
|
3332
|
+
const reason = formatUnknownError(error);
|
|
3369
3333
|
const trace = registerCommandTrace("definition", normalizedCommand, "{ name: string; run: (context) => unknown; action?: string; arguments?: object[]; flags?: object[]; }", commandOrDefinition, "Use schema-style metadata (action/arguments/flags/examples/intent) with valid values.");
|
|
3370
3334
|
throw createRegistrationValidationError(`registerCommand definition metadata invalid (command="${normalizedCommand}", registration_index=${trace.registration_index}): ${reason}`, trace);
|
|
3371
3335
|
}
|
|
@@ -3740,7 +3704,7 @@ function collectCommandCollisionWarnings(commands) {
|
|
|
3740
3704
|
grouped.set(entry.command, bucket);
|
|
3741
3705
|
}
|
|
3742
3706
|
for (const command of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3743
|
-
const bucket = grouped.get(command)
|
|
3707
|
+
const bucket = grouped.get(command);
|
|
3744
3708
|
if (bucket.length <= 1) {
|
|
3745
3709
|
continue;
|
|
3746
3710
|
}
|
|
@@ -3753,7 +3717,8 @@ function collectCommandCollisionWarnings(commands) {
|
|
|
3753
3717
|
collectByCommand(commands.handlers, "extension_command_handler_collision");
|
|
3754
3718
|
collectByCommand(commands.overrides, "extension_command_override_collision");
|
|
3755
3719
|
const handlerCommands = new Set(commands.handlers.map((entry) => entry.command));
|
|
3756
|
-
const overlapCommands = [...new Set(commands.overrides.map((entry) => entry.command))].filter((command) => handlerCommands.has(command))
|
|
3720
|
+
const overlapCommands = [...new Set(commands.overrides.map((entry) => entry.command))].filter((command) => handlerCommands.has(command));
|
|
3721
|
+
overlapCommands.sort((left, right) => left.localeCompare(right));
|
|
3757
3722
|
for (const command of overlapCommands) {
|
|
3758
3723
|
const handlers = commands.handlers.filter((entry) => entry.command === command);
|
|
3759
3724
|
const overrides = commands.overrides.filter((entry) => entry.command === command);
|
|
@@ -3774,7 +3739,7 @@ function collectRendererCollisionWarnings(renderers) {
|
|
|
3774
3739
|
}
|
|
3775
3740
|
const warnings = [];
|
|
3776
3741
|
for (const format of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3777
|
-
const bucket = grouped.get(format)
|
|
3742
|
+
const bucket = grouped.get(format);
|
|
3778
3743
|
if (bucket.length <= 1) {
|
|
3779
3744
|
continue;
|
|
3780
3745
|
}
|
|
@@ -3794,7 +3759,7 @@ function collectParserCollisionWarnings(parsers) {
|
|
|
3794
3759
|
grouped.set(entry.command, bucket);
|
|
3795
3760
|
}
|
|
3796
3761
|
for (const command of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3797
|
-
const bucket = grouped.get(command)
|
|
3762
|
+
const bucket = grouped.get(command);
|
|
3798
3763
|
if (bucket.length <= 1) {
|
|
3799
3764
|
continue;
|
|
3800
3765
|
}
|
|
@@ -3824,7 +3789,7 @@ function collectServiceCollisionWarnings(services) {
|
|
|
3824
3789
|
grouped.set(entry.service, bucket);
|
|
3825
3790
|
}
|
|
3826
3791
|
for (const service of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3827
|
-
const bucket = grouped.get(service)
|
|
3792
|
+
const bucket = grouped.get(service);
|
|
3828
3793
|
if (bucket.length <= 1) {
|
|
3829
3794
|
continue;
|
|
3830
3795
|
}
|
|
@@ -4155,7 +4120,7 @@ function runActiveServiceOverrideSync(service, payload) {
|
|
|
4155
4120
|
!(function() {
|
|
4156
4121
|
try {
|
|
4157
4122
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4158
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4123
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4c4af6d4-82fa-51ea-b101-486993b485f1");
|
|
4159
4124
|
} catch (e2) {
|
|
4160
4125
|
}
|
|
4161
4126
|
})();
|
|
@@ -4249,7 +4214,7 @@ var PLAN_STEP_LINK_KIND_VALUES = [
|
|
|
4249
4214
|
"verifies",
|
|
4250
4215
|
"supersedes"
|
|
4251
4216
|
];
|
|
4252
|
-
var CONTEXT_DEPTH_VALUES = ["brief", "standard", "deep"];
|
|
4217
|
+
var CONTEXT_DEPTH_VALUES = ["brief", "standard", "deep", "full"];
|
|
4253
4218
|
var CONTEXT_SECTION_VALUES = [
|
|
4254
4219
|
"hierarchy",
|
|
4255
4220
|
"activity",
|
|
@@ -4277,7 +4242,7 @@ import path6 from "node:path";
|
|
|
4277
4242
|
!(function() {
|
|
4278
4243
|
try {
|
|
4279
4244
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4280
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4245
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2eb7998-c31b-5482-a06a-702127583881");
|
|
4281
4246
|
} catch (e2) {
|
|
4282
4247
|
}
|
|
4283
4248
|
})();
|
|
@@ -4612,6 +4577,9 @@ function filePathForSchemaSection(pmRoot, configuredPath, fallbackPath) {
|
|
|
4612
4577
|
}
|
|
4613
4578
|
return path6.join(pmRoot, normalized);
|
|
4614
4579
|
}
|
|
4580
|
+
function resolveItemTypesFilePath(pmRoot, schema) {
|
|
4581
|
+
return filePathForSchemaSection(pmRoot, schema.files.types, DEFAULT_RUNTIME_SCHEMA_FILE_PATHS.types);
|
|
4582
|
+
}
|
|
4615
4583
|
async function ensureRuntimeSchemaFileScaffold(pmRoot, schema) {
|
|
4616
4584
|
const normalizedSchema = normalizeRuntimeSchemaSettings(schema);
|
|
4617
4585
|
const specs = [
|
|
@@ -4714,11 +4682,8 @@ function preferredStatusForRole(definitions, role, fallbackValues) {
|
|
|
4714
4682
|
if (withRole.length > 0) {
|
|
4715
4683
|
return withRole[0].id;
|
|
4716
4684
|
}
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
if (!normalized) {
|
|
4720
|
-
continue;
|
|
4721
|
-
}
|
|
4685
|
+
const normalizedFallbacks = fallbackValues.map((value) => normalizeStatusId(value)).filter((value) => typeof value === "string");
|
|
4686
|
+
for (const normalized of normalizedFallbacks) {
|
|
4722
4687
|
if (definitions.some((definition) => definition.id === normalized)) {
|
|
4723
4688
|
return normalized;
|
|
4724
4689
|
}
|
|
@@ -4769,7 +4734,7 @@ function resolveRuntimeStatusRegistry(schema) {
|
|
|
4769
4734
|
}
|
|
4770
4735
|
}
|
|
4771
4736
|
const workflow = normalizedSchema.workflow;
|
|
4772
|
-
const openStatus = normalizeStatusId(workflow.open_status) ?? preferredStatusForRole(definitions, "default_open", ["open", "in_progress", STATUS_VALUES[0]
|
|
4737
|
+
const openStatus = normalizeStatusId(workflow.open_status) ?? preferredStatusForRole(definitions, "default_open", ["open", "in_progress", STATUS_VALUES[0]]);
|
|
4773
4738
|
const closeStatus = normalizeStatusId(workflow.close_status) ?? preferredStatusForRole(definitions, "default_close", ["closed", "done", "complete"]);
|
|
4774
4739
|
const canceledStatus = normalizeStatusId(workflow.canceled_status) ?? preferredStatusForRole(definitions, "default_cancel", ["canceled", "cancelled"]);
|
|
4775
4740
|
return {
|
|
@@ -4782,9 +4747,9 @@ function resolveRuntimeStatusRegistry(schema) {
|
|
|
4782
4747
|
active_statuses: activeStatuses,
|
|
4783
4748
|
blocked_statuses: blockedStatuses,
|
|
4784
4749
|
draft_statuses: draftStatuses,
|
|
4785
|
-
open_status: openStatus
|
|
4786
|
-
close_status: closeStatus
|
|
4787
|
-
canceled_status: canceledStatus
|
|
4750
|
+
open_status: openStatus,
|
|
4751
|
+
close_status: closeStatus,
|
|
4752
|
+
canceled_status: canceledStatus
|
|
4788
4753
|
};
|
|
4789
4754
|
}
|
|
4790
4755
|
function normalizeStatusInputWithRegistry(value, registry) {
|
|
@@ -4797,11 +4762,8 @@ function normalizeStatusInputWithRegistry(value, registry) {
|
|
|
4797
4762
|
function resolveRuntimeFieldRegistry(schema) {
|
|
4798
4763
|
const normalizedSchema = normalizeRuntimeSchemaSettings(schema);
|
|
4799
4764
|
const dedupedByKey = /* @__PURE__ */ new Map();
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
if (!normalized) {
|
|
4803
|
-
continue;
|
|
4804
|
-
}
|
|
4765
|
+
const normalizedFields = normalizedSchema.fields.map((definition) => normalizeRuntimeFieldDefinition(definition)).filter((definition) => definition !== null);
|
|
4766
|
+
for (const normalized of normalizedFields) {
|
|
4805
4767
|
dedupedByKey.set(normalized.key, normalized);
|
|
4806
4768
|
}
|
|
4807
4769
|
const definitions = [...dedupedByKey.values()].sort((left, right) => left.key.localeCompare(right.key));
|
|
@@ -4846,7 +4808,7 @@ function statusIsTerminal(status, registry) {
|
|
|
4846
4808
|
!(function() {
|
|
4847
4809
|
try {
|
|
4848
4810
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4849
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4811
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e7894300-3179-5bdb-a0fc-5c47cd5684ea");
|
|
4850
4812
|
} catch (e2) {
|
|
4851
4813
|
}
|
|
4852
4814
|
})();
|
|
@@ -5025,7 +4987,7 @@ function orderObject(value, keyOrder) {
|
|
|
5025
4987
|
!(function() {
|
|
5026
4988
|
try {
|
|
5027
4989
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5028
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4990
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92ab115e-aba4-5010-8543-15a20372510a");
|
|
5029
4991
|
} catch (e2) {
|
|
5030
4992
|
}
|
|
5031
4993
|
})();
|
|
@@ -5068,6 +5030,22 @@ function vArray(item) {
|
|
|
5068
5030
|
function vOptional(inner) {
|
|
5069
5031
|
return (input) => input === void 0 ? { ok: true, value: void 0 } : inner(input);
|
|
5070
5032
|
}
|
|
5033
|
+
function vRecordOf(valueCheck) {
|
|
5034
|
+
return (input) => {
|
|
5035
|
+
if (typeof input !== "object" || input === null || Array.isArray(input)) {
|
|
5036
|
+
return FAIL;
|
|
5037
|
+
}
|
|
5038
|
+
const value = {};
|
|
5039
|
+
for (const [key, raw] of Object.entries(input)) {
|
|
5040
|
+
const result = valueCheck(raw);
|
|
5041
|
+
if (!result.ok) {
|
|
5042
|
+
return FAIL;
|
|
5043
|
+
}
|
|
5044
|
+
value[key] = result.value;
|
|
5045
|
+
}
|
|
5046
|
+
return { ok: true, value };
|
|
5047
|
+
};
|
|
5048
|
+
}
|
|
5071
5049
|
function vObject(shape) {
|
|
5072
5050
|
return (input) => {
|
|
5073
5051
|
if (typeof input !== "object" || input === null || Array.isArray(input)) {
|
|
@@ -5242,7 +5220,8 @@ var settingsCheck = vObject({
|
|
|
5242
5220
|
lifecycle_stale_blocker_reason_patterns: vOptional(vArray(vString)),
|
|
5243
5221
|
lifecycle_closure_like_blocked_reason_patterns: vOptional(vArray(vString)),
|
|
5244
5222
|
lifecycle_closure_like_resolution_patterns: vOptional(vArray(vString)),
|
|
5245
|
-
lifecycle_closure_like_actual_result_patterns: vOptional(vArray(vString))
|
|
5223
|
+
lifecycle_closure_like_actual_result_patterns: vOptional(vArray(vString)),
|
|
5224
|
+
estimate_defaults_by_type: vOptional(vRecordOf(vNumber({ int: true, positive: true })))
|
|
5246
5225
|
})),
|
|
5247
5226
|
governance: governanceSettings,
|
|
5248
5227
|
workflow: vOptional(vObject({ definition_of_done: vArray(vString) })),
|
|
@@ -5296,6 +5275,7 @@ var settingsCheck = vObject({
|
|
|
5296
5275
|
embedding_timeout_ms: vOptional(vNumber({ int: true })),
|
|
5297
5276
|
scanner_max_batch_retries: vNumber({ int: true }),
|
|
5298
5277
|
provider: vOptional(vString),
|
|
5278
|
+
corpus_fields: vOptional(vArray(vString)),
|
|
5299
5279
|
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto")),
|
|
5300
5280
|
query_expansion: vOptional(vObject({
|
|
5301
5281
|
enabled: vOptional(vBoolean),
|
|
@@ -5414,6 +5394,80 @@ function normalizeItemTypeDefinition(definition, options = {}) {
|
|
|
5414
5394
|
};
|
|
5415
5395
|
}
|
|
5416
5396
|
|
|
5397
|
+
// dist/core/validate/estimate-defaults.js
|
|
5398
|
+
!(function() {
|
|
5399
|
+
try {
|
|
5400
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5401
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "33f2ca4e-022c-5fc2-9938-a3fb389c1b93");
|
|
5402
|
+
} catch (e2) {
|
|
5403
|
+
}
|
|
5404
|
+
})();
|
|
5405
|
+
var DEFAULT_ESTIMATE_MINUTES_BY_TYPE = {
|
|
5406
|
+
Epic: 2880,
|
|
5407
|
+
Feature: 480,
|
|
5408
|
+
Story: 480,
|
|
5409
|
+
Milestone: 2880,
|
|
5410
|
+
Task: 120,
|
|
5411
|
+
Issue: 60,
|
|
5412
|
+
Bug: 60,
|
|
5413
|
+
Chore: 30,
|
|
5414
|
+
Decision: 15,
|
|
5415
|
+
Plan: 120
|
|
5416
|
+
};
|
|
5417
|
+
var FALLBACK_ESTIMATE_MINUTES = 120;
|
|
5418
|
+
function isHonoredMinutes(value) {
|
|
5419
|
+
return typeof value === "number" && Number.isFinite(value) && value > 0;
|
|
5420
|
+
}
|
|
5421
|
+
function toLowercasedLookup(source) {
|
|
5422
|
+
const lookup = /* @__PURE__ */ new Map();
|
|
5423
|
+
for (const [key, value] of Object.entries(source)) {
|
|
5424
|
+
lookup.set(key.toLowerCase(), value);
|
|
5425
|
+
}
|
|
5426
|
+
return lookup;
|
|
5427
|
+
}
|
|
5428
|
+
var BUILTIN_LOWERCASED_LOOKUP = toLowercasedLookup(DEFAULT_ESTIMATE_MINUTES_BY_TYPE);
|
|
5429
|
+
var OVERRIDE_LOOKUP_CACHE = /* @__PURE__ */ new WeakMap();
|
|
5430
|
+
function lowercasedOverrideLookup(overrides) {
|
|
5431
|
+
const cached = OVERRIDE_LOOKUP_CACHE.get(overrides);
|
|
5432
|
+
if (cached) {
|
|
5433
|
+
return cached;
|
|
5434
|
+
}
|
|
5435
|
+
const lookup = toLowercasedLookup(overrides);
|
|
5436
|
+
OVERRIDE_LOOKUP_CACHE.set(overrides, lookup);
|
|
5437
|
+
return lookup;
|
|
5438
|
+
}
|
|
5439
|
+
function resolveEstimateDefaultMinutes(type, overrides) {
|
|
5440
|
+
const key = (type ?? "").trim().toLowerCase();
|
|
5441
|
+
if (key.length === 0) {
|
|
5442
|
+
return FALLBACK_ESTIMATE_MINUTES;
|
|
5443
|
+
}
|
|
5444
|
+
if (overrides) {
|
|
5445
|
+
const overrideValue = lowercasedOverrideLookup(overrides).get(key);
|
|
5446
|
+
if (isHonoredMinutes(overrideValue)) {
|
|
5447
|
+
return Math.floor(overrideValue);
|
|
5448
|
+
}
|
|
5449
|
+
}
|
|
5450
|
+
const builtinValue = BUILTIN_LOWERCASED_LOOKUP.get(key);
|
|
5451
|
+
if (isHonoredMinutes(builtinValue)) {
|
|
5452
|
+
return Math.floor(builtinValue);
|
|
5453
|
+
}
|
|
5454
|
+
return FALLBACK_ESTIMATE_MINUTES;
|
|
5455
|
+
}
|
|
5456
|
+
function normalizeEstimateDefaultOverrides(raw) {
|
|
5457
|
+
const normalized = {};
|
|
5458
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) {
|
|
5459
|
+
return normalized;
|
|
5460
|
+
}
|
|
5461
|
+
for (const [rawKey, rawValue] of Object.entries(raw)) {
|
|
5462
|
+
const key = rawKey.trim();
|
|
5463
|
+
if (key.length === 0 || !isHonoredMinutes(rawValue)) {
|
|
5464
|
+
continue;
|
|
5465
|
+
}
|
|
5466
|
+
normalized[key] = Math.floor(rawValue);
|
|
5467
|
+
}
|
|
5468
|
+
return normalized;
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5417
5471
|
// dist/core/store/settings-read-cache.js
|
|
5418
5472
|
import { stat } from "node:fs/promises";
|
|
5419
5473
|
!(function() {
|
|
@@ -5490,7 +5544,7 @@ function clearSettingsReadCache(pmRoot) {
|
|
|
5490
5544
|
!(function() {
|
|
5491
5545
|
try {
|
|
5492
5546
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5493
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5547
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ad562c88-0172-5c5c-8288-40d66376c88d");
|
|
5494
5548
|
} catch (e2) {
|
|
5495
5549
|
}
|
|
5496
5550
|
})();
|
|
@@ -5936,6 +5990,15 @@ function normalizeValidationMetadataRequiredFields(values) {
|
|
|
5936
5990
|
function normalizeValidationPatternList(values) {
|
|
5937
5991
|
return [...new Set((values ?? []).map((value) => value.trim().toLowerCase()).filter((value) => value.length > 0))].sort((left, right) => left.localeCompare(right));
|
|
5938
5992
|
}
|
|
5993
|
+
function valueOrDefault(value, fallback) {
|
|
5994
|
+
return value === void 0 ? fallback : value;
|
|
5995
|
+
}
|
|
5996
|
+
function recordOrEmpty(value) {
|
|
5997
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
|
|
5998
|
+
}
|
|
5999
|
+
function arrayOrEmpty(value) {
|
|
6000
|
+
return Array.isArray(value) ? value : [];
|
|
6001
|
+
}
|
|
5939
6002
|
function normalizeItemTypeDefinitions(definitions) {
|
|
5940
6003
|
const normalized = (definitions ?? []).map((definition) => normalizeItemTypeDefinition(definition)).filter((definition) => definition !== null);
|
|
5941
6004
|
const dedupedByName = /* @__PURE__ */ new Map();
|
|
@@ -5965,7 +6028,8 @@ function mergeSettings(settings) {
|
|
|
5965
6028
|
lifecycle_stale_blocker_reason_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_stale_blocker_reason_patterns ?? defaults.validation.lifecycle_stale_blocker_reason_patterns),
|
|
5966
6029
|
lifecycle_closure_like_blocked_reason_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_blocked_reason_patterns ?? defaults.validation.lifecycle_closure_like_blocked_reason_patterns),
|
|
5967
6030
|
lifecycle_closure_like_resolution_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_resolution_patterns ?? defaults.validation.lifecycle_closure_like_resolution_patterns),
|
|
5968
|
-
lifecycle_closure_like_actual_result_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_actual_result_patterns ?? defaults.validation.lifecycle_closure_like_actual_result_patterns)
|
|
6031
|
+
lifecycle_closure_like_actual_result_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_actual_result_patterns ?? defaults.validation.lifecycle_closure_like_actual_result_patterns),
|
|
6032
|
+
estimate_defaults_by_type: normalizeEstimateDefaultOverrides(settings.validation?.estimate_defaults_by_type)
|
|
5969
6033
|
},
|
|
5970
6034
|
governance,
|
|
5971
6035
|
workflow: {
|
|
@@ -6032,24 +6096,43 @@ function mergeSettings(settings) {
|
|
|
6032
6096
|
};
|
|
6033
6097
|
}
|
|
6034
6098
|
function serializeSettings(settings, options = {}) {
|
|
6035
|
-
const
|
|
6036
|
-
const normalizedSchema = normalizeRuntimeSchemaSettings(settings.schema);
|
|
6037
|
-
const persistedFileBackedSections = resolvePersistedFileBackedSchemaSections(settings, options.persist_source);
|
|
6038
|
-
const normalizedSettings = {
|
|
6099
|
+
const baseSettings = {
|
|
6039
6100
|
...settings,
|
|
6101
|
+
locks: valueOrDefault(settings.locks, SETTINGS_DEFAULTS.locks),
|
|
6102
|
+
output: valueOrDefault(settings.output, SETTINGS_DEFAULTS.output),
|
|
6103
|
+
history: valueOrDefault(settings.history, SETTINGS_DEFAULTS.history),
|
|
6104
|
+
validation: valueOrDefault(settings.validation, SETTINGS_DEFAULTS.validation),
|
|
6105
|
+
workflow: valueOrDefault(settings.workflow, SETTINGS_DEFAULTS.workflow),
|
|
6106
|
+
testing: valueOrDefault(settings.testing, SETTINGS_DEFAULTS.testing),
|
|
6107
|
+
telemetry: valueOrDefault(settings.telemetry, SETTINGS_DEFAULTS.telemetry),
|
|
6108
|
+
agent_guidance: valueOrDefault(settings.agent_guidance, SETTINGS_DEFAULTS.agent_guidance),
|
|
6109
|
+
item_types: valueOrDefault(settings.item_types, SETTINGS_DEFAULTS.item_types),
|
|
6110
|
+
schema: valueOrDefault(settings.schema, SETTINGS_DEFAULTS.schema),
|
|
6111
|
+
context: valueOrDefault(settings.context, SETTINGS_DEFAULTS.context),
|
|
6112
|
+
extensions: valueOrDefault(settings.extensions, SETTINGS_DEFAULTS.extensions),
|
|
6113
|
+
search: valueOrDefault(settings.search, SETTINGS_DEFAULTS.search),
|
|
6114
|
+
providers: valueOrDefault(settings.providers, SETTINGS_DEFAULTS.providers),
|
|
6115
|
+
vector_store: valueOrDefault(settings.vector_store, SETTINGS_DEFAULTS.vector_store)
|
|
6116
|
+
};
|
|
6117
|
+
const governance = resolveGovernanceKnobs(baseSettings);
|
|
6118
|
+
const normalizedSchema = normalizeRuntimeSchemaSettings(baseSettings.schema);
|
|
6119
|
+
const persistedFileBackedSections = resolvePersistedFileBackedSchemaSections(baseSettings, options.persist_source);
|
|
6120
|
+
const normalizedSettings = {
|
|
6121
|
+
...baseSettings,
|
|
6040
6122
|
item_format: "toon",
|
|
6041
6123
|
validation: {
|
|
6042
|
-
...
|
|
6124
|
+
...baseSettings.validation,
|
|
6043
6125
|
parent_reference: governance.parent_reference,
|
|
6044
6126
|
metadata_profile: governance.metadata_profile,
|
|
6045
|
-
metadata_required_fields: normalizeValidationMetadataRequiredFields(
|
|
6046
|
-
lifecycle_stale_blocker_reason_patterns: normalizeValidationPatternList(
|
|
6047
|
-
lifecycle_closure_like_blocked_reason_patterns: normalizeValidationPatternList(
|
|
6048
|
-
lifecycle_closure_like_resolution_patterns: normalizeValidationPatternList(
|
|
6049
|
-
lifecycle_closure_like_actual_result_patterns: normalizeValidationPatternList(
|
|
6127
|
+
metadata_required_fields: normalizeValidationMetadataRequiredFields(baseSettings.validation?.metadata_required_fields),
|
|
6128
|
+
lifecycle_stale_blocker_reason_patterns: normalizeValidationPatternList(baseSettings.validation?.lifecycle_stale_blocker_reason_patterns ?? SETTINGS_DEFAULTS.validation.lifecycle_stale_blocker_reason_patterns),
|
|
6129
|
+
lifecycle_closure_like_blocked_reason_patterns: normalizeValidationPatternList(baseSettings.validation?.lifecycle_closure_like_blocked_reason_patterns ?? SETTINGS_DEFAULTS.validation.lifecycle_closure_like_blocked_reason_patterns),
|
|
6130
|
+
lifecycle_closure_like_resolution_patterns: normalizeValidationPatternList(baseSettings.validation?.lifecycle_closure_like_resolution_patterns ?? SETTINGS_DEFAULTS.validation.lifecycle_closure_like_resolution_patterns),
|
|
6131
|
+
lifecycle_closure_like_actual_result_patterns: normalizeValidationPatternList(baseSettings.validation?.lifecycle_closure_like_actual_result_patterns ?? SETTINGS_DEFAULTS.validation.lifecycle_closure_like_actual_result_patterns),
|
|
6132
|
+
estimate_defaults_by_type: normalizeEstimateDefaultOverrides(baseSettings.validation?.estimate_defaults_by_type)
|
|
6050
6133
|
},
|
|
6051
6134
|
governance,
|
|
6052
|
-
agent_guidance: normalizeAgentGuidanceSettings(
|
|
6135
|
+
agent_guidance: normalizeAgentGuidanceSettings(baseSettings.agent_guidance),
|
|
6053
6136
|
item_types: {
|
|
6054
6137
|
definitions: persistedFileBackedSections.item_type_definitions
|
|
6055
6138
|
},
|
|
@@ -6061,42 +6144,42 @@ function serializeSettings(settings, options = {}) {
|
|
|
6061
6144
|
},
|
|
6062
6145
|
search: {
|
|
6063
6146
|
...SETTINGS_DEFAULTS.search,
|
|
6064
|
-
...
|
|
6065
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(
|
|
6147
|
+
...baseSettings.search,
|
|
6148
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(baseSettings.search?.mutation_refresh_policy),
|
|
6066
6149
|
query_expansion: {
|
|
6067
6150
|
...SETTINGS_DEFAULTS.search.query_expansion,
|
|
6068
|
-
...
|
|
6069
|
-
enabled: normalizeSearchQueryExpansionEnabled(
|
|
6070
|
-
provider: normalizeSearchQueryExpansionProvider(
|
|
6151
|
+
...baseSettings.search?.query_expansion ?? {},
|
|
6152
|
+
enabled: normalizeSearchQueryExpansionEnabled(baseSettings.search?.query_expansion?.enabled),
|
|
6153
|
+
provider: normalizeSearchQueryExpansionProvider(baseSettings.search?.query_expansion?.provider)
|
|
6071
6154
|
},
|
|
6072
6155
|
rerank: {
|
|
6073
6156
|
...SETTINGS_DEFAULTS.search.rerank,
|
|
6074
|
-
...
|
|
6075
|
-
enabled: normalizeSearchRerankEnabled(
|
|
6076
|
-
model: normalizeSearchRerankModel(
|
|
6077
|
-
top_k: normalizeSearchRerankTopK(
|
|
6157
|
+
...baseSettings.search?.rerank ?? {},
|
|
6158
|
+
enabled: normalizeSearchRerankEnabled(baseSettings.search?.rerank?.enabled),
|
|
6159
|
+
model: normalizeSearchRerankModel(baseSettings.search?.rerank?.model),
|
|
6160
|
+
top_k: normalizeSearchRerankTopK(baseSettings.search?.rerank?.top_k)
|
|
6078
6161
|
}
|
|
6079
6162
|
},
|
|
6080
6163
|
context: {
|
|
6081
|
-
default_depth:
|
|
6082
|
-
activity_limit:
|
|
6083
|
-
stale_threshold_days:
|
|
6164
|
+
default_depth: baseSettings.context?.default_depth ?? SETTINGS_DEFAULTS.context.default_depth,
|
|
6165
|
+
activity_limit: baseSettings.context?.activity_limit ?? SETTINGS_DEFAULTS.context.activity_limit,
|
|
6166
|
+
stale_threshold_days: baseSettings.context?.stale_threshold_days ?? SETTINGS_DEFAULTS.context.stale_threshold_days,
|
|
6084
6167
|
sections: {
|
|
6085
6168
|
...SETTINGS_DEFAULTS.context.sections,
|
|
6086
|
-
...
|
|
6169
|
+
...baseSettings.context?.sections ?? {}
|
|
6087
6170
|
}
|
|
6088
6171
|
},
|
|
6089
6172
|
extensions: {
|
|
6090
|
-
enabled: normalizeStringList2(
|
|
6091
|
-
disabled: normalizeStringList2(
|
|
6092
|
-
policy: normalizeExtensionPolicySettings(
|
|
6173
|
+
enabled: normalizeStringList2(baseSettings.extensions?.enabled),
|
|
6174
|
+
disabled: normalizeStringList2(baseSettings.extensions?.disabled),
|
|
6175
|
+
policy: normalizeExtensionPolicySettings(baseSettings.extensions?.policy)
|
|
6093
6176
|
},
|
|
6094
6177
|
vector_store: {
|
|
6095
|
-
...
|
|
6096
|
-
adapter:
|
|
6097
|
-
collection_name: normalizeVectorStoreCollectionName(
|
|
6098
|
-
qdrant: { ...
|
|
6099
|
-
lancedb: { ...
|
|
6178
|
+
...baseSettings.vector_store,
|
|
6179
|
+
adapter: baseSettings.vector_store?.adapter ?? SETTINGS_DEFAULTS.vector_store.adapter,
|
|
6180
|
+
collection_name: normalizeVectorStoreCollectionName(baseSettings.vector_store?.collection_name),
|
|
6181
|
+
qdrant: { ...baseSettings.vector_store?.qdrant ?? {} },
|
|
6182
|
+
lancedb: { ...baseSettings.vector_store?.lancedb ?? {} }
|
|
6100
6183
|
}
|
|
6101
6184
|
};
|
|
6102
6185
|
const ordered = orderObject({
|
|
@@ -6135,7 +6218,8 @@ function serializeSettings(settings, options = {}) {
|
|
|
6135
6218
|
"lifecycle_stale_blocker_reason_patterns",
|
|
6136
6219
|
"lifecycle_closure_like_blocked_reason_patterns",
|
|
6137
6220
|
"lifecycle_closure_like_resolution_patterns",
|
|
6138
|
-
"lifecycle_closure_like_actual_result_patterns"
|
|
6221
|
+
"lifecycle_closure_like_actual_result_patterns",
|
|
6222
|
+
"estimate_defaults_by_type"
|
|
6139
6223
|
]);
|
|
6140
6224
|
ordered.governance = orderObject(ordered.governance, [
|
|
6141
6225
|
"preset",
|
|
@@ -6176,17 +6260,17 @@ function serializeSettings(settings, options = {}) {
|
|
|
6176
6260
|
"type_workflows",
|
|
6177
6261
|
"unknown_field_policy"
|
|
6178
6262
|
]);
|
|
6179
|
-
ordered.schema.files = orderObject(ordered.schema.files
|
|
6180
|
-
ordered.schema.workflow = orderObject(ordered.schema.workflow
|
|
6263
|
+
ordered.schema.files = orderObject(recordOrEmpty(ordered.schema.files), ["types", "statuses", "fields", "workflows"]);
|
|
6264
|
+
ordered.schema.workflow = orderObject(recordOrEmpty(ordered.schema.workflow), ["draft_status", "open_status", "in_progress_status", "blocked_status", "close_status", "canceled_status"]);
|
|
6181
6265
|
ordered.context = orderObject(ordered.context, [
|
|
6182
6266
|
"default_depth",
|
|
6183
6267
|
"activity_limit",
|
|
6184
6268
|
"stale_threshold_days",
|
|
6185
6269
|
"sections"
|
|
6186
6270
|
]);
|
|
6187
|
-
ordered.context.sections = orderObject(ordered.context.sections
|
|
6271
|
+
ordered.context.sections = orderObject(recordOrEmpty(ordered.context.sections), ["hierarchy", "activity", "progress", "blockers", "files", "workload", "staleness", "tests"]);
|
|
6188
6272
|
ordered.extensions = orderObject(ordered.extensions, ["enabled", "disabled", "policy"]);
|
|
6189
|
-
ordered.extensions.policy = orderObject(ordered.extensions.policy
|
|
6273
|
+
ordered.extensions.policy = orderObject(recordOrEmpty(ordered.extensions.policy), [
|
|
6190
6274
|
"mode",
|
|
6191
6275
|
"trust_mode",
|
|
6192
6276
|
"pm_max_version_exceeded_mode",
|
|
@@ -6207,7 +6291,7 @@ function serializeSettings(settings, options = {}) {
|
|
|
6207
6291
|
"blocked_services",
|
|
6208
6292
|
"extension_overrides"
|
|
6209
6293
|
]);
|
|
6210
|
-
ordered.extensions.policy.extension_overrides = (ordered.extensions.policy.extension_overrides
|
|
6294
|
+
ordered.extensions.policy.extension_overrides = arrayOrEmpty(ordered.extensions.policy.extension_overrides).map((entry) => orderObject(recordOrEmpty(entry), [
|
|
6211
6295
|
"name",
|
|
6212
6296
|
"disabled",
|
|
6213
6297
|
"require_trusted",
|
|
@@ -6238,19 +6322,19 @@ function serializeSettings(settings, options = {}) {
|
|
|
6238
6322
|
"query_expansion",
|
|
6239
6323
|
"rerank"
|
|
6240
6324
|
]);
|
|
6241
|
-
ordered.search.query_expansion = orderObject(ordered.search.query_expansion
|
|
6242
|
-
ordered.search.rerank = orderObject(ordered.search.rerank
|
|
6325
|
+
ordered.search.query_expansion = orderObject(recordOrEmpty(ordered.search.query_expansion), ["enabled", "provider"]);
|
|
6326
|
+
ordered.search.rerank = orderObject(recordOrEmpty(ordered.search.rerank), ["enabled", "model", "top_k"]);
|
|
6243
6327
|
ordered.providers = orderObject(ordered.providers, ["openai", "ollama"]);
|
|
6244
|
-
ordered.providers.openai = orderObject(ordered.providers.openai
|
|
6245
|
-
ordered.providers.ollama = orderObject(ordered.providers.ollama
|
|
6328
|
+
ordered.providers.openai = orderObject(recordOrEmpty(ordered.providers.openai), ["base_url", "api_key", "model"]);
|
|
6329
|
+
ordered.providers.ollama = orderObject(recordOrEmpty(ordered.providers.ollama), ["base_url", "model"]);
|
|
6246
6330
|
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
6247
6331
|
"adapter",
|
|
6248
6332
|
"collection_name",
|
|
6249
6333
|
"qdrant",
|
|
6250
6334
|
"lancedb"
|
|
6251
6335
|
]);
|
|
6252
|
-
ordered.vector_store.qdrant = orderObject(ordered.vector_store.qdrant
|
|
6253
|
-
ordered.vector_store.lancedb = orderObject(ordered.vector_store.lancedb
|
|
6336
|
+
ordered.vector_store.qdrant = orderObject(recordOrEmpty(ordered.vector_store.qdrant), ["url", "api_key"]);
|
|
6337
|
+
ordered.vector_store.lancedb = orderObject(recordOrEmpty(ordered.vector_store.lancedb), ["path"]);
|
|
6254
6338
|
return `${JSON.stringify(ordered, null, 2)}
|
|
6255
6339
|
`;
|
|
6256
6340
|
}
|
|
@@ -6307,7 +6391,7 @@ async function readSettingsWithMetadata(pmRoot) {
|
|
|
6307
6391
|
item_types: {
|
|
6308
6392
|
definitions: normalizeItemTypeDefinitions([
|
|
6309
6393
|
...mergedSettings.item_types.definitions,
|
|
6310
|
-
...loadedSchemaSections.type_definitions_from_file
|
|
6394
|
+
...arrayOrEmpty(loadedSchemaSections.type_definitions_from_file)
|
|
6311
6395
|
])
|
|
6312
6396
|
},
|
|
6313
6397
|
schema: loadedSchemaSections.schema
|
|
@@ -6381,6 +6465,7 @@ export {
|
|
|
6381
6465
|
KNOWN_EXTENSION_POLICY_SURFACES,
|
|
6382
6466
|
KNOWN_EXTENSION_SERVICE_NAMES,
|
|
6383
6467
|
PM_DIRNAME,
|
|
6468
|
+
CREATE_DIRECT_CLOSE_REASON_DEFAULT,
|
|
6384
6469
|
PM_CORE_REQUIRED_SUBDIRS,
|
|
6385
6470
|
PM_OPTIONAL_TYPE_SUBDIRS,
|
|
6386
6471
|
PM_REQUIRED_SUBDIRS,
|
|
@@ -6401,6 +6486,7 @@ export {
|
|
|
6401
6486
|
getItemFormatFromPath,
|
|
6402
6487
|
getHistoryPath,
|
|
6403
6488
|
getLockPath,
|
|
6489
|
+
getRuntimePath,
|
|
6404
6490
|
getTestRunsPath,
|
|
6405
6491
|
getTestRunsRecordsPath,
|
|
6406
6492
|
getTestRunRecordPath,
|
|
@@ -6483,6 +6569,7 @@ export {
|
|
|
6483
6569
|
DEFAULT_RUNTIME_STATUS_DEFINITIONS,
|
|
6484
6570
|
normalizeRuntimeSchemaSettings,
|
|
6485
6571
|
filePathForSchemaSection,
|
|
6572
|
+
resolveItemTypesFilePath,
|
|
6486
6573
|
ensureRuntimeSchemaFileScaffold,
|
|
6487
6574
|
resolveRuntimeStatusRegistry,
|
|
6488
6575
|
normalizeStatusInputWithRegistry,
|
|
@@ -6494,9 +6581,10 @@ export {
|
|
|
6494
6581
|
stableValueEquals,
|
|
6495
6582
|
sha256Hex,
|
|
6496
6583
|
orderObject,
|
|
6584
|
+
resolveEstimateDefaultMinutes,
|
|
6497
6585
|
resolveGovernanceKnobs,
|
|
6498
6586
|
readSettingsWithMetadata,
|
|
6499
6587
|
readSettings,
|
|
6500
6588
|
writeSettings
|
|
6501
6589
|
};
|
|
6502
|
-
//# sourceMappingURL=chunk-
|
|
6590
|
+
//# sourceMappingURL=chunk-LV5FFQ7M.js.map
|