@unbrained/pm-cli 2026.6.13 → 2026.6.17
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 +102 -0
- package/README.md +1 -1
- 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 +362 -15
- 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 +51 -0
- package/dist/cli/commands/create.js +137 -18
- 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 +4 -1
- package/dist/cli/commands/index.js +6 -3
- 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 +38 -2
- package/dist/cli/commands/init.js +50 -64
- 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/lifecycle-transitions.d.ts +23 -0
- package/dist/cli/commands/lifecycle-transitions.js +41 -0
- package/dist/cli/commands/lifecycle-transitions.js.map +1 -0
- package/dist/cli/commands/linked-artifacts.d.ts +5 -0
- package/dist/cli/commands/linked-artifacts.js +18 -4
- package/dist/cli/commands/linked-artifacts.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/recurrence-parsers.d.ts +9 -0
- package/dist/cli/commands/recurrence-parsers.js +19 -2
- package/dist/cli/commands/recurrence-parsers.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/repeatable-metadata-parsers.js +28 -4
- package/dist/cli/commands/repeatable-metadata-parsers.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/scheduling-shortcuts.d.ts +43 -0
- package/dist/cli/commands/scheduling-shortcuts.js +87 -0
- package/dist/cli/commands/scheduling-shortcuts.js.map +1 -0
- package/dist/cli/commands/schema.d.ts +152 -2
- package/dist/cli/commands/schema.js +510 -4
- 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 +91 -11
- 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 +153 -8
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/error-guidance.d.ts +30 -0
- package/dist/cli/error-guidance.js +41 -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 +54 -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 +242 -0
- package/dist/cli/main.js +241 -45
- 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 +376 -100
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-operations.d.ts +8 -0
- package/dist/cli/register-operations.js +134 -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-PZYSZA26.js +18 -0
- package/dist/cli-bundle/chunks/{activity-PPO7QWJF.js → activity-SFM4THAU.js} +13 -11
- package/dist/cli-bundle/chunks/{aggregate-IRHJWEKG.js → aggregate-Y5ADDKBM.js} +55 -26
- package/dist/cli-bundle/chunks/aggregate-Y5ADDKBM.js.map +1 -0
- package/dist/cli-bundle/chunks/{aggregate-XEBW22UQ.js → aggregate-YTAUQLRW.js} +54 -25
- package/dist/cli-bundle/chunks/aggregate-YTAUQLRW.js.map +7 -0
- package/dist/cli-bundle/chunks/{append-NL67JNJU.js → append-4M7OVV7M.js} +11 -11
- package/dist/cli-bundle/chunks/append-4M7OVV7M.js.map +1 -0
- package/dist/cli-bundle/chunks/{append-N2AWXKZC.js → append-HSPK4L4V.js} +10 -10
- package/dist/cli-bundle/chunks/{append-N2AWXKZC.js.map → append-HSPK4L4V.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IIOIBAQW.js → chunk-26BM6YLO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-CEGUH2E5.js → chunk-2C6FU3D3.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-CEGUH2E5.js.map → chunk-2C6FU3D3.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SQDKAEKG.js → chunk-2OPYLXDO.js} +117 -37
- package/dist/cli-bundle/chunks/chunk-2OPYLXDO.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-4ZKKZMLH.js → chunk-2S46FKLB.js} +104 -30
- package/dist/cli-bundle/chunks/chunk-2S46FKLB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LSSTKL3Y.js → chunk-2TMKMTEI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-QU3OPNVV.js → chunk-2VH7DFSJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RHYBR6G7.js → chunk-3ENF4NO4.js} +74 -14
- package/dist/cli-bundle/chunks/chunk-3ENF4NO4.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-3GR2HTYY.js +404 -0
- package/dist/cli-bundle/chunks/chunk-3GR2HTYY.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AAUYXSFF.js → chunk-3R3FYCBV.js} +223 -50
- package/dist/cli-bundle/chunks/chunk-3R3FYCBV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5HSAHRYA.js → chunk-3UKJX3RP.js} +82 -21
- package/dist/cli-bundle/chunks/chunk-3UKJX3RP.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-4RTLBTYS.js +83 -0
- package/dist/cli-bundle/chunks/chunk-4RTLBTYS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UCVJP4JL.js → chunk-5FDYWOJT.js} +52 -8
- package/dist/cli-bundle/chunks/chunk-5FDYWOJT.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-LGOXXQUW.js → chunk-5XGWFUW2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LYNQ3NGI.js → chunk-6BD77FGL.js} +309 -20
- package/dist/cli-bundle/chunks/chunk-6BD77FGL.js.map +1 -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-36BCSMKP.js → chunk-6HF6CIY2.js} +26 -11
- package/dist/cli-bundle/chunks/chunk-6HF6CIY2.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-M3SI2REU.js → chunk-6PBPD4MN.js} +322 -19
- package/dist/cli-bundle/chunks/chunk-6PBPD4MN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-TSXWFN3L.js → chunk-6VFUEGOA.js} +53 -9
- package/dist/cli-bundle/chunks/chunk-6VFUEGOA.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2J2AH4V5.js → chunk-AAOXSPAE.js} +56 -72
- package/dist/cli-bundle/chunks/chunk-AAOXSPAE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-Z647PYLD.js → chunk-AJCQ5GT6.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-ALTGYHN3.js +61 -0
- package/dist/cli-bundle/chunks/chunk-ALTGYHN3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-KHGTYCJ6.js → chunk-AOJQL33L.js} +83 -22
- package/dist/cli-bundle/chunks/chunk-AOJQL33L.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-5LMF75Q7.js → chunk-AXLDUGXA.js} +7 -4
- package/dist/cli-bundle/chunks/{chunk-5LMF75Q7.js.map → chunk-AXLDUGXA.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DWG4FHPY.js → chunk-BITCVGHT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JE5IZXDS.js → chunk-CGQTFWYI.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LFW5NQUP.js → chunk-CHM2VFVL.js} +407 -290
- package/dist/cli-bundle/chunks/chunk-CHM2VFVL.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VYZNX4C5.js → chunk-COVLE33A.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-SGMGMCIF.js → chunk-DDNBWH4W.js} +157 -25
- package/dist/cli-bundle/chunks/chunk-DDNBWH4W.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-6ZFTM65G.js → chunk-F5MSD5HE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6TBR5AZ2.js → chunk-FAXB6F6R.js} +76 -8
- package/dist/cli-bundle/chunks/chunk-FAXB6F6R.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-L6YQONLM.js → chunk-FPDK5BZQ.js} +18 -19
- package/dist/cli-bundle/chunks/chunk-FPDK5BZQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-AGG32LKL.js → chunk-FPY2TOFI.js} +480 -24
- package/dist/cli-bundle/chunks/chunk-FPY2TOFI.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JWXTOYBI.js → chunk-G2MOUCTU.js} +121 -44
- package/dist/cli-bundle/chunks/chunk-G2MOUCTU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3VULHQNS.js → chunk-G57RHEGP.js} +36 -18
- package/dist/cli-bundle/chunks/chunk-G57RHEGP.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-QQG4HEX7.js → chunk-IROHIK2T.js} +37 -63
- package/dist/cli-bundle/chunks/chunk-IROHIK2T.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GOO4UXBI.js → chunk-JZHL4E3Q.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-XXLMJDUB.js → chunk-KA22USXD.js} +21 -22
- package/dist/cli-bundle/chunks/chunk-KA22USXD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WLH7X4RN.js → chunk-KBC4O7SY.js} +56 -72
- package/dist/cli-bundle/chunks/chunk-KBC4O7SY.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-NN6RKGFW.js → chunk-KCAGIH6K.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-BVL5KGVA.js → chunk-KO3VM5GS.js} +27 -12
- package/dist/cli-bundle/chunks/chunk-KO3VM5GS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-IXVSSHGV.js → chunk-LNH5Q32E.js} +13 -8
- package/dist/cli-bundle/chunks/chunk-LNH5Q32E.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-3FMQMHAG.js → chunk-LORM3M2I.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3FMQMHAG.js.map → chunk-LORM3M2I.js.map} +1 -1
- 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-GFBEXDCQ.js → chunk-M4AVU7VC.js} +19 -8
- package/dist/cli-bundle/chunks/{chunk-GFBEXDCQ.js.map → chunk-M4AVU7VC.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3CQPVBK3.js → chunk-MIBX6ZRN.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-AUDDXKNX.js → chunk-MMF2E3FM.js} +77 -9
- package/dist/cli-bundle/chunks/chunk-MMF2E3FM.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-RFR2YQGO.js → chunk-MORZOR7W.js} +21 -8
- package/dist/cli-bundle/chunks/chunk-MORZOR7W.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-4TPFXE2R.js → chunk-MUTUZ2HD.js} +118 -74
- package/dist/cli-bundle/chunks/chunk-MUTUZ2HD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HZOX5BYD.js → chunk-OGXEBTX3.js} +35 -17
- package/dist/cli-bundle/chunks/chunk-OGXEBTX3.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-LOAR5TKX.js → chunk-OOIH6J5T.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-LOAR5TKX.js.map → chunk-OOIH6J5T.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-VNC2HBL4.js → chunk-OSBJPPX3.js} +20 -9
- package/dist/cli-bundle/chunks/chunk-OSBJPPX3.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-2ANTZBYF.js → chunk-PJS3WDO2.js} +122 -45
- package/dist/cli-bundle/chunks/chunk-PJS3WDO2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7SM7VA5I.js → chunk-QGPE2H6Z.js} +19 -8
- package/dist/cli-bundle/chunks/chunk-QGPE2H6Z.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-QVTFFLR2.js +58 -0
- package/dist/cli-bundle/chunks/chunk-QVTFFLR2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JCTZV7TO.js → chunk-QW2F6ARZ.js} +8 -5
- package/dist/cli-bundle/chunks/{chunk-JCTZV7TO.js.map → chunk-QW2F6ARZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-TOX7YQ7X.js → chunk-QXC3LWB7.js} +223 -50
- package/dist/cli-bundle/chunks/chunk-QXC3LWB7.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-W6KNFAMZ.js → chunk-QXMXRPX5.js} +9 -8
- package/dist/cli-bundle/chunks/chunk-QXMXRPX5.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-O3YCJOVX.js → chunk-R4AKUPKI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-O3YCJOVX.js.map → chunk-R4AKUPKI.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-RASR23HV.js +394 -0
- package/dist/cli-bundle/chunks/chunk-RASR23HV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JW7D6437.js → chunk-SCDCNGCV.js} +20 -9
- package/dist/cli-bundle/chunks/chunk-SCDCNGCV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GRZGHGRG.js → chunk-SCS5PVAA.js} +10 -9
- package/dist/cli-bundle/chunks/{chunk-GRZGHGRG.js.map → chunk-SCS5PVAA.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-S2CDTRJ6.js → chunk-SJCMTOEU.js} +381 -271
- package/dist/cli-bundle/chunks/chunk-SJCMTOEU.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-XWDZVCBJ.js → chunk-SO2ES46D.js} +11 -10
- package/dist/cli-bundle/chunks/{chunk-XWDZVCBJ.js.map → chunk-SO2ES46D.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-MACCNKSZ.js → chunk-TBV33CB4.js} +36 -62
- package/dist/cli-bundle/chunks/chunk-TBV33CB4.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-TEFEXQWI.js +86 -0
- package/dist/cli-bundle/chunks/chunk-TEFEXQWI.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HLEGAQXT.js → chunk-TWBDDVIF.js} +20 -7
- package/dist/cli-bundle/chunks/chunk-TWBDDVIF.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-4JHJ7YG2.js → chunk-UGUJ2UOR.js} +118 -74
- package/dist/cli-bundle/chunks/chunk-UGUJ2UOR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XOYHMHFF.js → chunk-UN6P3IJ4.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-32XSW44C.js → chunk-V2GYOMEX.js} +10 -9
- package/dist/cli-bundle/chunks/chunk-V2GYOMEX.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HWHONML5.js → chunk-VF3KQGNY.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-SOHXUA2Q.js → chunk-VHG6LUKR.js} +116 -36
- package/dist/cli-bundle/chunks/chunk-VHG6LUKR.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-7CRFV6JR.js → chunk-VXHMQDXA.js} +483 -27
- package/dist/cli-bundle/chunks/chunk-VXHMQDXA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-IZHCCG4S.js → chunk-VXRFAE7W.js} +14 -9
- package/dist/cli-bundle/chunks/chunk-VXRFAE7W.js.map +1 -0
- 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-4FHLNNW7.js → chunk-WQRL4COW.js} +74 -14
- package/dist/cli-bundle/chunks/chunk-WQRL4COW.js.map +7 -0
- 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-MGAQ6KZG.js → chunk-XESAPVZ4.js} +166 -27
- package/dist/cli-bundle/chunks/chunk-XESAPVZ4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-PEH7SZD2.js → chunk-YLAW3FZN.js} +105 -31
- package/dist/cli-bundle/chunks/chunk-YLAW3FZN.js.map +7 -0
- package/dist/cli-bundle/chunks/{claim-HE6KEGJW.js → claim-WGAWJCPY.js} +10 -10
- package/dist/cli-bundle/chunks/{claim-QJOQBH7J.js → claim-ZI6P4LMU.js} +10 -10
- package/dist/cli-bundle/chunks/close-I7PRQ5G7.js +13 -0
- package/dist/cli-bundle/chunks/{close-SPUFW5QR.js → close-JMVVSIQE.js} +8 -8
- package/dist/cli-bundle/chunks/{close-many-GKAJX54X.js → close-many-IKPJXVOZ.js} +32 -20
- package/dist/cli-bundle/chunks/close-many-IKPJXVOZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{close-many-GL6NRUU5.js → close-many-TXABDCSJ.js} +31 -19
- package/dist/cli-bundle/chunks/close-many-TXABDCSJ.js.map +7 -0
- package/dist/cli-bundle/chunks/{comments-5FPT6L7N.js → comments-RLWR2S7W.js} +55 -31
- package/dist/cli-bundle/chunks/comments-RLWR2S7W.js.map +1 -0
- package/dist/cli-bundle/chunks/{comments-TOLOYWNI.js → comments-YAMXKHUX.js} +54 -30
- package/dist/cli-bundle/chunks/comments-YAMXKHUX.js.map +7 -0
- package/dist/cli-bundle/chunks/{config-7N6D7YJE.js → config-7ICYC2WU.js} +83 -19
- package/dist/cli-bundle/chunks/config-7ICYC2WU.js.map +7 -0
- package/dist/cli-bundle/chunks/{config-4MN45TIH.js → config-NGWN3EXC.js} +83 -19
- package/dist/cli-bundle/chunks/config-NGWN3EXC.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-AQSLE7DZ.js → context-K6QAHN5H.js} +128 -39
- package/dist/cli-bundle/chunks/context-K6QAHN5H.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-U3PUJMVN.js → context-VGXOOAH2.js} +127 -38
- package/dist/cli-bundle/chunks/context-VGXOOAH2.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-ITSJXO3O.js → contracts-KJGY2AQA.js} +99 -15
- package/dist/cli-bundle/chunks/contracts-KJGY2AQA.js.map +1 -0
- package/dist/cli-bundle/chunks/{contracts-H7KCQXLY.js → contracts-KMA6OJY7.js} +99 -15
- package/dist/cli-bundle/chunks/contracts-KMA6OJY7.js.map +7 -0
- package/dist/cli-bundle/chunks/{copy-EB3MUCSW.js → copy-Q2PPU4AY.js} +7 -7
- package/dist/cli-bundle/chunks/{copy-C4W522JM.js → copy-SC6UF3PI.js} +7 -7
- package/dist/cli-bundle/chunks/{create-4EQNELMY.js → create-76FE7JVF.js} +16 -13
- package/dist/cli-bundle/chunks/create-RTRFW6RE.js +30 -0
- package/dist/cli-bundle/chunks/{delete-X5QLXIQX.js → delete-T6DJSUJI.js} +7 -7
- package/dist/cli-bundle/chunks/{delete-ZLGUYIXU.js → delete-XFUX533E.js} +7 -7
- package/dist/cli-bundle/chunks/{deps-GPB3LGWN.js → deps-5GWMMS6D.js} +9 -10
- package/dist/cli-bundle/chunks/{deps-GPB3LGWN.js.map → deps-5GWMMS6D.js.map} +2 -2
- package/dist/cli-bundle/chunks/{deps-HV2C2L46.js → deps-MCCU633S.js} +10 -11
- package/dist/cli-bundle/chunks/deps-MCCU633S.js.map +1 -0
- package/dist/cli-bundle/chunks/{docs-SRTLCQOL.js → docs-HE3HCQ4S.js} +9 -9
- package/dist/cli-bundle/chunks/{docs-RJQPLROO.js → docs-SXMOABHR.js} +9 -9
- package/dist/cli-bundle/chunks/{extension-WKPVPNCC.js → extension-E23K4QRR.js} +7 -5
- package/dist/cli-bundle/chunks/{extension-MM3TVWOO.js → extension-PMD3XMLN.js} +7 -5
- package/dist/cli-bundle/chunks/{files-OIFN3DQX.js → files-2RSWGPEU.js} +25 -11
- package/dist/cli-bundle/chunks/files-2RSWGPEU.js.map +1 -0
- package/dist/cli-bundle/chunks/{files-LIFDKNCN.js → files-ZWFJFWBK.js} +24 -10
- package/dist/cli-bundle/chunks/files-ZWFJFWBK.js.map +7 -0
- package/dist/cli-bundle/chunks/focus-KTTB3P3F.js +106 -0
- package/dist/cli-bundle/chunks/focus-KTTB3P3F.js.map +1 -0
- package/dist/cli-bundle/chunks/focus-ZMDP4FEL.js +109 -0
- package/dist/cli-bundle/chunks/focus-ZMDP4FEL.js.map +7 -0
- package/dist/cli-bundle/chunks/{gc-NRFHLVFT.js → gc-BXIAKLAH.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-DL6AVOX5.js → gc-C7K6JNUO.js} +3 -3
- package/dist/cli-bundle/chunks/{get-SAB7CRBG.js → get-AZQLC4NO.js} +43 -16
- package/dist/cli-bundle/chunks/get-AZQLC4NO.js.map +1 -0
- package/dist/cli-bundle/chunks/{get-K7UULTQF.js → get-I65HTAWO.js} +42 -15
- package/dist/cli-bundle/chunks/get-I65HTAWO.js.map +7 -0
- package/dist/cli-bundle/chunks/{health-NUVZYIEV.js → health-3MFFPQVZ.js} +75 -49
- package/dist/cli-bundle/chunks/health-3MFFPQVZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{health-VJWH3ZFK.js → health-MYZEOCLI.js} +74 -48
- package/dist/cli-bundle/chunks/health-MYZEOCLI.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-GYFD2DJW.js → history-73Z6OBFZ.js} +10 -10
- package/dist/cli-bundle/chunks/history-BIPHVUMF.js +20 -0
- package/dist/cli-bundle/chunks/{history-compact-WQZQ6KXM.js → history-compact-24VQ63A3.js} +37 -46
- package/dist/cli-bundle/chunks/history-compact-24VQ63A3.js.map +7 -0
- package/dist/cli-bundle/chunks/{history-compact-SLL6ESXH.js → history-compact-UIAR2OI4.js} +38 -47
- package/dist/cli-bundle/chunks/history-compact-UIAR2OI4.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-redact-SDTDR6WM.js → history-redact-7YCXEWJD.js} +13 -11
- package/dist/cli-bundle/chunks/history-redact-WZZ6GZ2Z.js +21 -0
- package/dist/cli-bundle/chunks/{history-repair-BJCGM6Q3.js → history-repair-4NOFFG2W.js} +44 -49
- package/dist/cli-bundle/chunks/history-repair-4NOFFG2W.js.map +1 -0
- package/dist/cli-bundle/chunks/{history-repair-UCYS55ZX.js → history-repair-GQN2X4TR.js} +43 -48
- package/dist/cli-bundle/chunks/history-repair-GQN2X4TR.js.map +7 -0
- package/dist/cli-bundle/chunks/init-K34V4PZR.js +20 -0
- package/dist/cli-bundle/chunks/{init-MXV57LKL.js → init-TDEDNVMM.js} +12 -9
- package/dist/cli-bundle/chunks/{learnings-QKJOKEAO.js → learnings-TV2CTGJ3.js} +13 -12
- package/dist/cli-bundle/chunks/learnings-TV2CTGJ3.js.map +7 -0
- package/dist/cli-bundle/chunks/{learnings-L6KTZGOT.js → learnings-U67FTXPB.js} +14 -13
- package/dist/cli-bundle/chunks/learnings-U67FTXPB.js.map +1 -0
- package/dist/cli-bundle/chunks/list-MSHYOCFU.js +33 -0
- package/dist/cli-bundle/chunks/list-VV57WGUD.js +29 -0
- package/dist/cli-bundle/chunks/{notes-HMCB7TK6.js → notes-EUANWWKD.js} +13 -12
- package/dist/cli-bundle/chunks/notes-EUANWWKD.js.map +7 -0
- package/dist/cli-bundle/chunks/{notes-3NLK7WTZ.js → notes-GYVNDAL4.js} +14 -13
- package/dist/cli-bundle/chunks/notes-GYVNDAL4.js.map +1 -0
- package/dist/cli-bundle/chunks/{plan-NANUWH4T.js → plan-4LF4AV63.js} +15 -14
- package/dist/cli-bundle/chunks/plan-4LF4AV63.js.map +7 -0
- package/dist/cli-bundle/chunks/{plan-DWBYI5C6.js → plan-W27O6DBS.js} +16 -15
- package/dist/cli-bundle/chunks/plan-W27O6DBS.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-SMMMLSWW.js → register-list-query-BXLEHJ7L.js} +32 -23
- package/dist/cli-bundle/chunks/register-list-query-BXLEHJ7L.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-PWQ5F2VI.js → register-list-query-C2MS3BVQ.js} +31 -22
- package/dist/cli-bundle/chunks/register-list-query-C2MS3BVQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-QKFPTIZG.js → register-mutation-6UCOEQ6L.js} +361 -106
- package/dist/cli-bundle/chunks/register-mutation-6UCOEQ6L.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-ZYJQ4DVP.js → register-mutation-HE73PREP.js} +355 -107
- package/dist/cli-bundle/chunks/register-mutation-HE73PREP.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-operations-2FMZ6WEF.js → register-operations-L6C32FDA.js} +111 -39
- package/dist/cli-bundle/chunks/register-operations-L6C32FDA.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-BAFQURZG.js → register-operations-QQEHEX4P.js} +112 -40
- package/dist/cli-bundle/chunks/register-operations-QQEHEX4P.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-QN2XV7UL.js → register-setup-A7N4PNT3.js} +18 -21
- package/dist/cli-bundle/chunks/register-setup-A7N4PNT3.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-DQEIKBIP.js → register-setup-WHG3NBP6.js} +17 -20
- package/dist/cli-bundle/chunks/register-setup-WHG3NBP6.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-FJQWXMPY.js → restore-TSWSULYY.js} +13 -11
- package/dist/cli-bundle/chunks/restore-XQXICL3V.js +19 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-NC46K6BD.js +91 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-NC46K6BD.js.map +7 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-UGDPQALY.js +88 -0
- package/dist/cli-bundle/chunks/scheduling-shortcuts-UGDPQALY.js.map +1 -0
- package/dist/cli-bundle/chunks/{schema-ZZ7ZDM2X.js → schema-7U7JUYGK.js} +797 -10
- package/dist/cli-bundle/chunks/schema-7U7JUYGK.js.map +1 -0
- package/dist/cli-bundle/chunks/{schema-RNVJ55V2.js → schema-TSBYSEMW.js} +810 -9
- package/dist/cli-bundle/chunks/schema-TSBYSEMW.js.map +7 -0
- package/dist/cli-bundle/chunks/{search-BJ457C2A.js → search-OXLSQKHP.js} +328 -71
- package/dist/cli-bundle/chunks/search-OXLSQKHP.js.map +7 -0
- package/dist/cli-bundle/chunks/{search-FQDZXX7P.js → search-T3TOFLOQ.js} +328 -71
- package/dist/cli-bundle/chunks/search-T3TOFLOQ.js.map +1 -0
- package/dist/cli-bundle/chunks/{stats-DUQWCVOS.js → stats-5CLG22YZ.js} +41 -16
- package/dist/cli-bundle/chunks/stats-5CLG22YZ.js.map +7 -0
- package/dist/cli-bundle/chunks/{stats-CUG3ZHOI.js → stats-XEMUXS42.js} +42 -17
- package/dist/cli-bundle/chunks/stats-XEMUXS42.js.map +1 -0
- package/dist/cli-bundle/chunks/{telemetry-RK2VX75A.js → telemetry-23OPBBZT.js} +7 -7
- package/dist/cli-bundle/chunks/telemetry-23OPBBZT.js.map +1 -0
- package/dist/cli-bundle/chunks/{telemetry-33MRGX4Z.js → telemetry-I3D7XZ55.js} +6 -6
- package/dist/cli-bundle/chunks/telemetry-I3D7XZ55.js.map +7 -0
- package/dist/cli-bundle/chunks/test-AROS3LIV.js +35 -0
- package/dist/cli-bundle/chunks/{test-Y3CTFMEC.js → test-CECIMKOA.js} +17 -14
- package/dist/cli-bundle/chunks/{test-all-ARSMX33Q.js → test-all-4DEQPIXH.js} +25 -17
- package/dist/cli-bundle/chunks/test-all-4DEQPIXH.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-all-ANYQ33O2.js → test-all-6RO6X3SM.js} +24 -16
- package/dist/cli-bundle/chunks/test-all-6RO6X3SM.js.map +7 -0
- package/dist/cli-bundle/chunks/{test-runs-5URSD34O.js → test-runs-AAXVFWKH.js} +62 -65
- package/dist/cli-bundle/chunks/test-runs-AAXVFWKH.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-runs-XNACGSNQ.js → test-runs-LYBQSYRC.js} +61 -64
- package/dist/cli-bundle/chunks/test-runs-LYBQSYRC.js.map +7 -0
- package/dist/cli-bundle/chunks/update-MIWEJC76.js +24 -0
- package/dist/cli-bundle/chunks/update-P7I5YSRB.js +28 -0
- package/dist/cli-bundle/chunks/{update-many-724JCVDE.js → update-many-5B4HLVBK.js} +79 -33
- package/dist/cli-bundle/chunks/update-many-5B4HLVBK.js.map +7 -0
- package/dist/cli-bundle/chunks/{update-many-6B7PJ33I.js → update-many-G2QOVZSB.js} +80 -34
- package/dist/cli-bundle/chunks/update-many-G2QOVZSB.js.map +1 -0
- package/dist/cli-bundle/chunks/{upgrade-QHRGDBSA.js → upgrade-GFIDL62L.js} +23 -9
- package/dist/cli-bundle/chunks/upgrade-GFIDL62L.js.map +1 -0
- package/dist/cli-bundle/chunks/{upgrade-ALBEZAI7.js → upgrade-QUQYL7D3.js} +22 -8
- package/dist/cli-bundle/chunks/upgrade-QUQYL7D3.js.map +7 -0
- package/dist/cli-bundle/chunks/{validate-UY6DRCG5.js → validate-ADDZBMM3.js} +236 -30
- package/dist/cli-bundle/chunks/validate-ADDZBMM3.js.map +7 -0
- package/dist/cli-bundle/chunks/{validate-IQRYFXIV.js → validate-MAS3H6ZP.js} +222 -30
- package/dist/cli-bundle/chunks/validate-MAS3H6ZP.js.map +1 -0
- package/dist/cli-bundle/main.js +312 -139
- 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/config/nested-settings.js +40 -2
- package/dist/core/config/nested-settings.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-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 +41 -0
- package/dist/core/item/parse.js +69 -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/fields-file.d.ts +94 -0
- package/dist/core/schema/fields-file.js +317 -0
- package/dist/core/schema/fields-file.js.map +1 -0
- 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/schema/type-inference.d.ts +34 -0
- package/dist/core/schema/type-inference.js +97 -0
- package/dist/core/schema/type-inference.js.map +1 -0
- package/dist/core/schema/type-presets.d.ts +30 -0
- package/dist/core/schema/type-presets.js +96 -0
- package/dist/core/schema/type-presets.js.map +1 -0
- 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/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/front-matter-cache.d.ts +13 -0
- package/dist/core/store/front-matter-cache.js +21 -11
- package/dist/core/store/front-matter-cache.js.map +1 -1
- package/dist/core/store/item-store.d.ts +11 -0
- package/dist/core/store/item-store.js +12 -3
- 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 +61 -0
- package/dist/mcp/server.js +98 -8
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.js +64 -10
- 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 +7 -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 +127 -11
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts.d.ts +31 -0
- package/dist/sdk/cli-contracts.js +238 -12
- 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 +171 -10
- package/docs/CONFIGURATION.md +135 -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 +3 -3
- 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-XIOTGZMU.js +0 -16
- package/dist/cli-bundle/chunks/aggregate-IRHJWEKG.js.map +0 -1
- package/dist/cli-bundle/chunks/aggregate-XEBW22UQ.js.map +0 -7
- package/dist/cli-bundle/chunks/append-NL67JNJU.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-2ANTZBYF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-2J2AH4V5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-32XSW44C.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-36BCSMKP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-3VULHQNS.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4FHLNNW7.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4JHJ7YG2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-4TPFXE2R.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-4ZKKZMLH.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-5HSAHRYA.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6TBR5AZ2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7CRFV6JR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-7SM7VA5I.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AAUYXSFF.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AGG32LKL.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-AUDDXKNX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-BVL5KGVA.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-C24PWDFG.js +0 -138
- package/dist/cli-bundle/chunks/chunk-C24PWDFG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HLEGAQXT.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HZOX5BYD.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IXVSSHGV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IZHCCG4S.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JW7D6437.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-JWXTOYBI.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KHGTYCJ6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-L6YQONLM.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LFW5NQUP.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-LYNQ3NGI.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-M3SI2REU.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MACCNKSZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-MGAQ6KZG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PEH7SZD2.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PNYAAB4S.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-QQG4HEX7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-R4VWYWRN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RFR2YQGO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-RHYBR6G7.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-S2CDTRJ6.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SGMGMCIF.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SOHXUA2Q.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SQDKAEKG.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-TOX7YQ7X.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TSXWFN3L.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-UCVJP4JL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-V4KP3TCN.js +0 -128
- package/dist/cli-bundle/chunks/chunk-V4KP3TCN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-VNC2HBL4.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-W6KNFAMZ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-WLH7X4RN.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XXLMJDUB.js.map +0 -7
- package/dist/cli-bundle/chunks/close-WOG5WTMZ.js +0 -13
- package/dist/cli-bundle/chunks/close-many-GKAJX54X.js.map +0 -1
- package/dist/cli-bundle/chunks/close-many-GL6NRUU5.js.map +0 -7
- package/dist/cli-bundle/chunks/comments-5FPT6L7N.js.map +0 -1
- package/dist/cli-bundle/chunks/comments-TOLOYWNI.js.map +0 -7
- package/dist/cli-bundle/chunks/config-4MN45TIH.js.map +0 -1
- package/dist/cli-bundle/chunks/config-7N6D7YJE.js.map +0 -7
- package/dist/cli-bundle/chunks/context-AQSLE7DZ.js.map +0 -1
- package/dist/cli-bundle/chunks/context-U3PUJMVN.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-H7KCQXLY.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-ITSJXO3O.js.map +0 -1
- package/dist/cli-bundle/chunks/create-NW3K7LVG.js +0 -27
- package/dist/cli-bundle/chunks/deps-HV2C2L46.js.map +0 -1
- package/dist/cli-bundle/chunks/files-LIFDKNCN.js.map +0 -7
- package/dist/cli-bundle/chunks/files-OIFN3DQX.js.map +0 -1
- package/dist/cli-bundle/chunks/get-K7UULTQF.js.map +0 -7
- package/dist/cli-bundle/chunks/get-SAB7CRBG.js.map +0 -1
- package/dist/cli-bundle/chunks/health-NUVZYIEV.js.map +0 -1
- package/dist/cli-bundle/chunks/health-VJWH3ZFK.js.map +0 -7
- package/dist/cli-bundle/chunks/history-IUVN4NTN.js +0 -20
- package/dist/cli-bundle/chunks/history-compact-SLL6ESXH.js.map +0 -1
- package/dist/cli-bundle/chunks/history-compact-WQZQ6KXM.js.map +0 -7
- package/dist/cli-bundle/chunks/history-redact-75KIIJUJ.js +0 -19
- package/dist/cli-bundle/chunks/history-repair-BJCGM6Q3.js.map +0 -1
- package/dist/cli-bundle/chunks/history-repair-UCYS55ZX.js.map +0 -7
- package/dist/cli-bundle/chunks/init-JJFYRUKG.js +0 -17
- package/dist/cli-bundle/chunks/learnings-L6KTZGOT.js.map +0 -1
- package/dist/cli-bundle/chunks/learnings-QKJOKEAO.js.map +0 -7
- package/dist/cli-bundle/chunks/list-GGVPXEV6.js +0 -23
- package/dist/cli-bundle/chunks/list-VOQDQHA4.js +0 -19
- package/dist/cli-bundle/chunks/notes-3NLK7WTZ.js.map +0 -1
- package/dist/cli-bundle/chunks/notes-HMCB7TK6.js.map +0 -7
- package/dist/cli-bundle/chunks/plan-DWBYI5C6.js.map +0 -1
- package/dist/cli-bundle/chunks/plan-NANUWH4T.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-PWQ5F2VI.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-SMMMLSWW.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-QKFPTIZG.js.map +0 -7
- package/dist/cli-bundle/chunks/register-mutation-ZYJQ4DVP.js.map +0 -1
- package/dist/cli-bundle/chunks/register-operations-2FMZ6WEF.js.map +0 -7
- package/dist/cli-bundle/chunks/register-operations-BAFQURZG.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-DQEIKBIP.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-QN2XV7UL.js.map +0 -1
- package/dist/cli-bundle/chunks/restore-DRBNXJJH.js +0 -17
- package/dist/cli-bundle/chunks/schema-RNVJ55V2.js.map +0 -7
- package/dist/cli-bundle/chunks/schema-ZZ7ZDM2X.js.map +0 -1
- package/dist/cli-bundle/chunks/search-BJ457C2A.js.map +0 -7
- package/dist/cli-bundle/chunks/search-FQDZXX7P.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-CUG3ZHOI.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-DUQWCVOS.js.map +0 -7
- package/dist/cli-bundle/chunks/telemetry-33MRGX4Z.js.map +0 -7
- package/dist/cli-bundle/chunks/telemetry-RK2VX75A.js.map +0 -1
- package/dist/cli-bundle/chunks/test-SDMYEQHH.js +0 -32
- package/dist/cli-bundle/chunks/test-all-ANYQ33O2.js.map +0 -7
- package/dist/cli-bundle/chunks/test-all-ARSMX33Q.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-5URSD34O.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-XNACGSNQ.js.map +0 -7
- package/dist/cli-bundle/chunks/update-PD46VOXI.js +0 -21
- package/dist/cli-bundle/chunks/update-U235A7WP.js +0 -25
- package/dist/cli-bundle/chunks/update-many-6B7PJ33I.js.map +0 -1
- package/dist/cli-bundle/chunks/update-many-724JCVDE.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-ALBEZAI7.js.map +0 -7
- package/dist/cli-bundle/chunks/upgrade-QHRGDBSA.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-IQRYFXIV.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-UY6DRCG5.js.map +0 -7
- /package/dist/cli-bundle/chunks/{activity-XIOTGZMU.js.map → activity-PZYSZA26.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-PPO7QWJF.js.map → activity-SFM4THAU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IIOIBAQW.js.map → chunk-26BM6YLO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LSSTKL3Y.js.map → chunk-2TMKMTEI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QU3OPNVV.js.map → chunk-2VH7DFSJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-LGOXXQUW.js.map → chunk-5XGWFUW2.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-Z647PYLD.js.map → chunk-AJCQ5GT6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-DWG4FHPY.js.map → chunk-BITCVGHT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JE5IZXDS.js.map → chunk-CGQTFWYI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-VYZNX4C5.js.map → chunk-COVLE33A.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-6ZFTM65G.js.map → chunk-F5MSD5HE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-GOO4UXBI.js.map → chunk-JZHL4E3Q.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-NN6RKGFW.js.map → chunk-KCAGIH6K.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3CQPVBK3.js.map → chunk-MIBX6ZRN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-XOYHMHFF.js.map → chunk-UN6P3IJ4.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-HWHONML5.js.map → chunk-VF3KQGNY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-HE6KEGJW.js.map → claim-WGAWJCPY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{claim-QJOQBH7J.js.map → claim-ZI6P4LMU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-WOG5WTMZ.js.map → close-I7PRQ5G7.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-SPUFW5QR.js.map → close-JMVVSIQE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-EB3MUCSW.js.map → copy-Q2PPU4AY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{copy-C4W522JM.js.map → copy-SC6UF3PI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-4EQNELMY.js.map → create-76FE7JVF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-NW3K7LVG.js.map → create-RTRFW6RE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-X5QLXIQX.js.map → delete-T6DJSUJI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{delete-ZLGUYIXU.js.map → delete-XFUX533E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-SRTLCQOL.js.map → docs-HE3HCQ4S.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{docs-RJQPLROO.js.map → docs-SXMOABHR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-WKPVPNCC.js.map → extension-E23K4QRR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-MM3TVWOO.js.map → extension-PMD3XMLN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-NRFHLVFT.js.map → gc-BXIAKLAH.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-DL6AVOX5.js.map → gc-C7K6JNUO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-GYFD2DJW.js.map → history-73Z6OBFZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-IUVN4NTN.js.map → history-BIPHVUMF.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-SDTDR6WM.js.map → history-redact-7YCXEWJD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-75KIIJUJ.js.map → history-redact-WZZ6GZ2Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-JJFYRUKG.js.map → init-K34V4PZR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-MXV57LKL.js.map → init-TDEDNVMM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-GGVPXEV6.js.map → list-MSHYOCFU.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-VOQDQHA4.js.map → list-VV57WGUD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-FJQWXMPY.js.map → restore-TSWSULYY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-DRBNXJJH.js.map → restore-XQXICL3V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-SDMYEQHH.js.map → test-AROS3LIV.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-Y3CTFMEC.js.map → test-CECIMKOA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-PD46VOXI.js.map → update-MIWEJC76.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-U235A7WP.js.map → update-P7I5YSRB.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,187 +860,6 @@ function asRecordLoose(value) {
|
|
|
858
860
|
return value;
|
|
859
861
|
}
|
|
860
862
|
|
|
861
|
-
// dist/core/shared/levenshtein.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] = "6f3e0977-8505-552c-b2ff-862f2a5d5a91");
|
|
866
|
-
} catch (e2) {
|
|
867
|
-
}
|
|
868
|
-
})();
|
|
869
|
-
function levenshteinDistanceWithinLimit(left, right, limit) {
|
|
870
|
-
if (left === right) {
|
|
871
|
-
return 0;
|
|
872
|
-
}
|
|
873
|
-
if (Math.abs(left.length - right.length) > limit) {
|
|
874
|
-
return null;
|
|
875
|
-
}
|
|
876
|
-
const width = right.length + 1;
|
|
877
|
-
const beforePrevious = new Array(width);
|
|
878
|
-
const previous = new Array(width);
|
|
879
|
-
const current = new Array(width);
|
|
880
|
-
for (let column = 0; column < width; column += 1) {
|
|
881
|
-
beforePrevious[column] = 0;
|
|
882
|
-
previous[column] = column;
|
|
883
|
-
}
|
|
884
|
-
for (let row = 1; row <= left.length; row += 1) {
|
|
885
|
-
current[0] = row;
|
|
886
|
-
let rowMin = current[0];
|
|
887
|
-
for (let column = 1; column <= right.length; column += 1) {
|
|
888
|
-
const cost = left[row - 1] === right[column - 1] ? 0 : 1;
|
|
889
|
-
const substitution = previous[column - 1] + cost;
|
|
890
|
-
const insertion = current[column - 1] + 1;
|
|
891
|
-
const deletion = previous[column] + 1;
|
|
892
|
-
let candidate = Math.min(substitution, insertion, deletion);
|
|
893
|
-
if (row > 1 && column > 1 && left[row - 1] === right[column - 2] && left[row - 2] === right[column - 1]) {
|
|
894
|
-
candidate = Math.min(candidate, beforePrevious[column - 2] + 1);
|
|
895
|
-
}
|
|
896
|
-
current[column] = candidate;
|
|
897
|
-
if (candidate < rowMin) {
|
|
898
|
-
rowMin = candidate;
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
if (rowMin > limit) {
|
|
902
|
-
return null;
|
|
903
|
-
}
|
|
904
|
-
for (let column = 0; column < width; column += 1) {
|
|
905
|
-
beforePrevious[column] = previous[column];
|
|
906
|
-
previous[column] = current[column];
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
const result = previous[right.length];
|
|
910
|
-
return result <= limit ? result : null;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
// dist/core/extensions/extension-capability-aliases.js
|
|
914
|
-
!(function() {
|
|
915
|
-
try {
|
|
916
|
-
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
917
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bdebef92-142e-53b9-a836-480f38d1c3a0");
|
|
918
|
-
} catch (e2) {
|
|
919
|
-
}
|
|
920
|
-
})();
|
|
921
|
-
function normalizeNames(values) {
|
|
922
|
-
return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))].sort((a, b) => a.localeCompare(b));
|
|
923
|
-
}
|
|
924
|
-
function isKnownExtensionCapability(value) {
|
|
925
|
-
return KNOWN_EXTENSION_CAPABILITIES.includes(value);
|
|
926
|
-
}
|
|
927
|
-
function collectUnknownExtensionCapabilities(capabilities) {
|
|
928
|
-
return capabilities.filter((capability) => !isKnownExtensionCapability(capability));
|
|
929
|
-
}
|
|
930
|
-
function resolveLegacyExtensionCapabilityAlias(capability) {
|
|
931
|
-
const normalized = capability.trim().toLowerCase();
|
|
932
|
-
if (normalized.length === 0) {
|
|
933
|
-
return null;
|
|
934
|
-
}
|
|
935
|
-
return EXTENSION_CAPABILITY_LEGACY_ALIASES[normalized] ?? null;
|
|
936
|
-
}
|
|
937
|
-
function normalizeManifestCapabilities(rawCapabilities) {
|
|
938
|
-
const normalizedCapabilities = normalizeNames([...rawCapabilities].map((value) => value.toLowerCase()));
|
|
939
|
-
const remappedCapabilities = [];
|
|
940
|
-
const legacyAliases = [];
|
|
941
|
-
for (const capability of normalizedCapabilities) {
|
|
942
|
-
const legacyAliasTarget = resolveLegacyExtensionCapabilityAlias(capability);
|
|
943
|
-
if (legacyAliasTarget) {
|
|
944
|
-
remappedCapabilities.push(legacyAliasTarget);
|
|
945
|
-
legacyAliases.push({
|
|
946
|
-
alias: capability,
|
|
947
|
-
target: legacyAliasTarget
|
|
948
|
-
});
|
|
949
|
-
continue;
|
|
950
|
-
}
|
|
951
|
-
remappedCapabilities.push(capability);
|
|
952
|
-
}
|
|
953
|
-
const dedupedLegacyAliases = [...new Map(legacyAliases.map((entry) => [`${entry.alias}>${entry.target}`, entry])).values()].sort((left, right) => left.alias.localeCompare(right.alias));
|
|
954
|
-
return {
|
|
955
|
-
capabilities: normalizeNames(remappedCapabilities),
|
|
956
|
-
legacy_aliases: dedupedLegacyAliases
|
|
957
|
-
};
|
|
958
|
-
}
|
|
959
|
-
function suggestKnownExtensionCapability(capability) {
|
|
960
|
-
const normalized = capability.trim().toLowerCase();
|
|
961
|
-
if (normalized.length === 0) {
|
|
962
|
-
return null;
|
|
963
|
-
}
|
|
964
|
-
const legacyAlias = resolveLegacyExtensionCapabilityAlias(normalized);
|
|
965
|
-
if (legacyAlias) {
|
|
966
|
-
return legacyAlias;
|
|
967
|
-
}
|
|
968
|
-
const maxDistance = Math.max(1, Math.floor(normalized.length * 0.34));
|
|
969
|
-
let bestMatch = null;
|
|
970
|
-
let bestDistance = Number.POSITIVE_INFINITY;
|
|
971
|
-
for (const candidate of KNOWN_EXTENSION_CAPABILITIES) {
|
|
972
|
-
const distance = levenshteinDistanceWithinLimit(normalized, candidate, maxDistance);
|
|
973
|
-
if (distance !== null && distance < bestDistance) {
|
|
974
|
-
bestDistance = distance;
|
|
975
|
-
bestMatch = candidate;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
return bestMatch;
|
|
979
|
-
}
|
|
980
|
-
function formatUnknownExtensionCapabilityWarning(layer, name, capability) {
|
|
981
|
-
const allowed = KNOWN_EXTENSION_CAPABILITIES.join(",");
|
|
982
|
-
const suggested = suggestKnownExtensionCapability(capability) ?? "none";
|
|
983
|
-
return `extension_capability_unknown:${layer}:${name}:${capability}:allowed=${allowed}:suggested=${suggested}`;
|
|
984
|
-
}
|
|
985
|
-
function formatLegacyExtensionCapabilityAliasWarning(layer, name, aliases) {
|
|
986
|
-
const aliasesToken = aliases.map((entry) => `${entry.alias}>${entry.target}`).join(",");
|
|
987
|
-
return `extension_capability_legacy_alias:${layer}:${name}:aliases=${aliasesToken}`;
|
|
988
|
-
}
|
|
989
|
-
function parseUnknownExtensionCapabilityWarning(warning) {
|
|
990
|
-
const match = /^extension_capability_unknown:(global|project):([^:]+):([^:]+):allowed=([^:]+):suggested=([^:]+)$/.exec(warning.trim());
|
|
991
|
-
if (!match) {
|
|
992
|
-
return null;
|
|
993
|
-
}
|
|
994
|
-
const [, layerRaw, name, capability, allowedRaw, suggestedRaw] = match;
|
|
995
|
-
const layer = layerRaw;
|
|
996
|
-
const allowed_capabilities = allowedRaw.split(",").map((value) => value.trim()).filter((value) => value.length > 0);
|
|
997
|
-
const legacyAlias = resolveLegacyExtensionCapabilityAlias(capability);
|
|
998
|
-
const suggestedFromWarning = suggestedRaw === "none" ? void 0 : suggestedRaw;
|
|
999
|
-
const suggested_capability = suggestedFromWarning ?? legacyAlias ?? void 0;
|
|
1000
|
-
const suggestion_source = suggested_capability ? legacyAlias === suggested_capability ? "legacy_alias" : "nearest_match" : void 0;
|
|
1001
|
-
return {
|
|
1002
|
-
layer,
|
|
1003
|
-
name,
|
|
1004
|
-
capability,
|
|
1005
|
-
allowed_capabilities,
|
|
1006
|
-
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
1007
|
-
suggested_capability,
|
|
1008
|
-
suggestion_source,
|
|
1009
|
-
legacy_alias_target: legacyAlias ?? void 0
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
|
-
function parseLegacyExtensionCapabilityAliasWarning(warning) {
|
|
1013
|
-
const match = /^extension_capability_legacy_alias:(global|project):([^:]+):aliases=(.+)$/.exec(warning.trim());
|
|
1014
|
-
if (!match) {
|
|
1015
|
-
return [];
|
|
1016
|
-
}
|
|
1017
|
-
const [, layerRaw, name, aliasesRaw] = match;
|
|
1018
|
-
const layer = layerRaw;
|
|
1019
|
-
const allowedCapabilities = [...KNOWN_EXTENSION_CAPABILITIES];
|
|
1020
|
-
const parsed = [];
|
|
1021
|
-
for (const token of aliasesRaw.split(",")) {
|
|
1022
|
-
const [rawAlias, rawTarget] = token.split(">");
|
|
1023
|
-
const alias = rawAlias?.trim();
|
|
1024
|
-
const target = rawTarget?.trim().toLowerCase();
|
|
1025
|
-
if (!alias || !target || !isKnownExtensionCapability(target)) {
|
|
1026
|
-
continue;
|
|
1027
|
-
}
|
|
1028
|
-
parsed.push({
|
|
1029
|
-
layer,
|
|
1030
|
-
name,
|
|
1031
|
-
capability: alias,
|
|
1032
|
-
allowed_capabilities: allowedCapabilities,
|
|
1033
|
-
capability_contract_version: EXTENSION_CAPABILITY_CONTRACT_VERSION,
|
|
1034
|
-
suggested_capability: target,
|
|
1035
|
-
suggestion_source: "legacy_alias",
|
|
1036
|
-
legacy_alias_target: target
|
|
1037
|
-
});
|
|
1038
|
-
}
|
|
1039
|
-
return parsed;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
863
|
// dist/core/extensions/extension-registries.js
|
|
1043
864
|
!(function() {
|
|
1044
865
|
try {
|
|
@@ -1590,6 +1411,58 @@ function isFlagDefaultValueCoercible(value, kind) {
|
|
|
1590
1411
|
return typeof value === "string" && ["true", "false", "1", "0"].includes(value.trim().toLowerCase());
|
|
1591
1412
|
}
|
|
1592
1413
|
|
|
1414
|
+
// dist/core/shared/levenshtein.js
|
|
1415
|
+
!(function() {
|
|
1416
|
+
try {
|
|
1417
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1418
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6f3e0977-8505-552c-b2ff-862f2a5d5a91");
|
|
1419
|
+
} catch (e2) {
|
|
1420
|
+
}
|
|
1421
|
+
})();
|
|
1422
|
+
function levenshteinDistanceWithinLimit(left, right, limit) {
|
|
1423
|
+
if (left === right) {
|
|
1424
|
+
return 0;
|
|
1425
|
+
}
|
|
1426
|
+
if (Math.abs(left.length - right.length) > limit) {
|
|
1427
|
+
return null;
|
|
1428
|
+
}
|
|
1429
|
+
const width = right.length + 1;
|
|
1430
|
+
const beforePrevious = new Array(width);
|
|
1431
|
+
const previous = new Array(width);
|
|
1432
|
+
const current = new Array(width);
|
|
1433
|
+
for (let column = 0; column < width; column += 1) {
|
|
1434
|
+
beforePrevious[column] = 0;
|
|
1435
|
+
previous[column] = column;
|
|
1436
|
+
}
|
|
1437
|
+
for (let row = 1; row <= left.length; row += 1) {
|
|
1438
|
+
current[0] = row;
|
|
1439
|
+
let rowMin = current[0];
|
|
1440
|
+
for (let column = 1; column <= right.length; column += 1) {
|
|
1441
|
+
const cost = left[row - 1] === right[column - 1] ? 0 : 1;
|
|
1442
|
+
const substitution = previous[column - 1] + cost;
|
|
1443
|
+
const insertion = current[column - 1] + 1;
|
|
1444
|
+
const deletion = previous[column] + 1;
|
|
1445
|
+
let candidate = Math.min(substitution, insertion, deletion);
|
|
1446
|
+
if (row > 1 && column > 1 && left[row - 1] === right[column - 2] && left[row - 2] === right[column - 1]) {
|
|
1447
|
+
candidate = Math.min(candidate, beforePrevious[column - 2] + 1);
|
|
1448
|
+
}
|
|
1449
|
+
current[column] = candidate;
|
|
1450
|
+
if (candidate < rowMin) {
|
|
1451
|
+
rowMin = candidate;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
if (rowMin > limit) {
|
|
1455
|
+
return null;
|
|
1456
|
+
}
|
|
1457
|
+
for (let column = 0; column < width; column += 1) {
|
|
1458
|
+
beforePrevious[column] = previous[column];
|
|
1459
|
+
previous[column] = current[column];
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
const result = previous[right.length];
|
|
1463
|
+
return result <= limit ? result : null;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1593
1466
|
// dist/core/extensions/item-field-types.js
|
|
1594
1467
|
!(function() {
|
|
1595
1468
|
try {
|
|
@@ -1617,11 +1490,140 @@ function suggestKnownItemFieldType(value) {
|
|
|
1617
1490
|
return null;
|
|
1618
1491
|
}
|
|
1619
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
|
+
|
|
1620
1622
|
// dist/core/extensions/extension-policy.js
|
|
1621
1623
|
!(function() {
|
|
1622
1624
|
try {
|
|
1623
1625
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
1624
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
1626
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e3368ee4-621b-5707-bd6c-0f267867ef50");
|
|
1625
1627
|
} catch (e2) {
|
|
1626
1628
|
}
|
|
1627
1629
|
})();
|
|
@@ -1989,19 +1991,17 @@ function resolvePolicySandboxReason(policy, extension) {
|
|
|
1989
1991
|
}
|
|
1990
1992
|
return null;
|
|
1991
1993
|
}
|
|
1992
|
-
if (
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
return "sandbox_strict_disallows_env_write";
|
|
2004
|
-
}
|
|
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";
|
|
2005
2005
|
}
|
|
2006
2006
|
return null;
|
|
2007
2007
|
}
|
|
@@ -2117,7 +2117,7 @@ function evaluateExtensionPolicyForRegistration(policy, extension, surface, meth
|
|
|
2117
2117
|
!(function() {
|
|
2118
2118
|
try {
|
|
2119
2119
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
2120
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
2120
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5c5ced45-c38c-562e-a71b-e38fc696239f");
|
|
2121
2121
|
} catch (e2) {
|
|
2122
2122
|
}
|
|
2123
2123
|
})();
|
|
@@ -2367,7 +2367,7 @@ function summarizeCandidate(candidate) {
|
|
|
2367
2367
|
permissions: candidate.manifest.permissions,
|
|
2368
2368
|
capabilities: [...candidate.manifest.capabilities],
|
|
2369
2369
|
activation: candidate.manifest.activation ? {
|
|
2370
|
-
commands: [...candidate.manifest.activation.commands
|
|
2370
|
+
commands: [...candidate.manifest.activation.commands]
|
|
2371
2371
|
} : void 0
|
|
2372
2372
|
};
|
|
2373
2373
|
if (candidate.source_package) {
|
|
@@ -2618,7 +2618,7 @@ function formatUnknownError(error) {
|
|
|
2618
2618
|
}
|
|
2619
2619
|
function parseComparableVersion(value) {
|
|
2620
2620
|
const normalized = value.trim().replace(/^>=\s*/, "").replace(/^v/i, "");
|
|
2621
|
-
const release = normalized.split(/[+-]/, 1)[0]
|
|
2621
|
+
const release = normalized.split(/[+-]/, 1)[0];
|
|
2622
2622
|
if (!/^\d+(?:[.-]\d+)*$/.test(release)) {
|
|
2623
2623
|
return null;
|
|
2624
2624
|
}
|
|
@@ -3035,25 +3035,16 @@ function normalizeCommandDefinitionArguments(value) {
|
|
|
3035
3035
|
definition.variadic = true;
|
|
3036
3036
|
}
|
|
3037
3037
|
if (typeof record.description === "string") {
|
|
3038
|
-
|
|
3039
|
-
if (trimmedDescription.length > 0) {
|
|
3040
|
-
definition.description = trimmedDescription;
|
|
3041
|
-
}
|
|
3038
|
+
definition.description = record.description.trim();
|
|
3042
3039
|
}
|
|
3043
3040
|
normalized.push(definition);
|
|
3044
3041
|
}
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
if (variadicCount > 1) {
|
|
3052
|
-
throw new TypeError("registerCommand definition.arguments supports at most one variadic argument");
|
|
3053
|
-
}
|
|
3054
|
-
if (index !== normalized.length - 1) {
|
|
3055
|
-
throw new TypeError("registerCommand definition.arguments variadic argument must be the final argument");
|
|
3056
|
-
}
|
|
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");
|
|
3057
3048
|
}
|
|
3058
3049
|
return normalized;
|
|
3059
3050
|
}
|
|
@@ -3207,7 +3198,7 @@ function assertExtensionCapability(extension, capability, method) {
|
|
|
3207
3198
|
capability,
|
|
3208
3199
|
missing_capability: capability,
|
|
3209
3200
|
expected_schema: `"capabilities": [..., "${capability}"]`,
|
|
3210
|
-
received: extension.capabilities
|
|
3201
|
+
received: extension.capabilities,
|
|
3211
3202
|
hint: `Add "${capability}" to ${extension.name} manifest capabilities, or remove the ${method} registration call.`
|
|
3212
3203
|
});
|
|
3213
3204
|
}
|
|
@@ -3338,7 +3329,7 @@ function createExtensionApi(extension, hooks, commands, parsers, preflight, serv
|
|
|
3338
3329
|
}
|
|
3339
3330
|
registrations.commands.push(registration);
|
|
3340
3331
|
} catch (error) {
|
|
3341
|
-
const reason = error
|
|
3332
|
+
const reason = formatUnknownError(error);
|
|
3342
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.");
|
|
3343
3334
|
throw createRegistrationValidationError(`registerCommand definition metadata invalid (command="${normalizedCommand}", registration_index=${trace.registration_index}): ${reason}`, trace);
|
|
3344
3335
|
}
|
|
@@ -3713,7 +3704,7 @@ function collectCommandCollisionWarnings(commands) {
|
|
|
3713
3704
|
grouped.set(entry.command, bucket);
|
|
3714
3705
|
}
|
|
3715
3706
|
for (const command of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3716
|
-
const bucket = grouped.get(command)
|
|
3707
|
+
const bucket = grouped.get(command);
|
|
3717
3708
|
if (bucket.length <= 1) {
|
|
3718
3709
|
continue;
|
|
3719
3710
|
}
|
|
@@ -3726,7 +3717,8 @@ function collectCommandCollisionWarnings(commands) {
|
|
|
3726
3717
|
collectByCommand(commands.handlers, "extension_command_handler_collision");
|
|
3727
3718
|
collectByCommand(commands.overrides, "extension_command_override_collision");
|
|
3728
3719
|
const handlerCommands = new Set(commands.handlers.map((entry) => entry.command));
|
|
3729
|
-
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));
|
|
3730
3722
|
for (const command of overlapCommands) {
|
|
3731
3723
|
const handlers = commands.handlers.filter((entry) => entry.command === command);
|
|
3732
3724
|
const overrides = commands.overrides.filter((entry) => entry.command === command);
|
|
@@ -3747,7 +3739,7 @@ function collectRendererCollisionWarnings(renderers) {
|
|
|
3747
3739
|
}
|
|
3748
3740
|
const warnings = [];
|
|
3749
3741
|
for (const format of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3750
|
-
const bucket = grouped.get(format)
|
|
3742
|
+
const bucket = grouped.get(format);
|
|
3751
3743
|
if (bucket.length <= 1) {
|
|
3752
3744
|
continue;
|
|
3753
3745
|
}
|
|
@@ -3767,7 +3759,7 @@ function collectParserCollisionWarnings(parsers) {
|
|
|
3767
3759
|
grouped.set(entry.command, bucket);
|
|
3768
3760
|
}
|
|
3769
3761
|
for (const command of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3770
|
-
const bucket = grouped.get(command)
|
|
3762
|
+
const bucket = grouped.get(command);
|
|
3771
3763
|
if (bucket.length <= 1) {
|
|
3772
3764
|
continue;
|
|
3773
3765
|
}
|
|
@@ -3797,7 +3789,7 @@ function collectServiceCollisionWarnings(services) {
|
|
|
3797
3789
|
grouped.set(entry.service, bucket);
|
|
3798
3790
|
}
|
|
3799
3791
|
for (const service of [...grouped.keys()].sort((left, right) => left.localeCompare(right))) {
|
|
3800
|
-
const bucket = grouped.get(service)
|
|
3792
|
+
const bucket = grouped.get(service);
|
|
3801
3793
|
if (bucket.length <= 1) {
|
|
3802
3794
|
continue;
|
|
3803
3795
|
}
|
|
@@ -4128,7 +4120,7 @@ function runActiveServiceOverrideSync(service, payload) {
|
|
|
4128
4120
|
!(function() {
|
|
4129
4121
|
try {
|
|
4130
4122
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4131
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4123
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4c4af6d4-82fa-51ea-b101-486993b485f1");
|
|
4132
4124
|
} catch (e2) {
|
|
4133
4125
|
}
|
|
4134
4126
|
})();
|
|
@@ -4222,7 +4214,7 @@ var PLAN_STEP_LINK_KIND_VALUES = [
|
|
|
4222
4214
|
"verifies",
|
|
4223
4215
|
"supersedes"
|
|
4224
4216
|
];
|
|
4225
|
-
var CONTEXT_DEPTH_VALUES = ["brief", "standard", "deep"];
|
|
4217
|
+
var CONTEXT_DEPTH_VALUES = ["brief", "standard", "deep", "full"];
|
|
4226
4218
|
var CONTEXT_SECTION_VALUES = [
|
|
4227
4219
|
"hierarchy",
|
|
4228
4220
|
"activity",
|
|
@@ -4250,7 +4242,7 @@ import path6 from "node:path";
|
|
|
4250
4242
|
!(function() {
|
|
4251
4243
|
try {
|
|
4252
4244
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
4253
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4245
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2eb7998-c31b-5482-a06a-702127583881");
|
|
4254
4246
|
} catch (e2) {
|
|
4255
4247
|
}
|
|
4256
4248
|
})();
|
|
@@ -4585,6 +4577,9 @@ function filePathForSchemaSection(pmRoot, configuredPath, fallbackPath) {
|
|
|
4585
4577
|
}
|
|
4586
4578
|
return path6.join(pmRoot, normalized);
|
|
4587
4579
|
}
|
|
4580
|
+
function resolveItemTypesFilePath(pmRoot, schema) {
|
|
4581
|
+
return filePathForSchemaSection(pmRoot, schema.files.types, DEFAULT_RUNTIME_SCHEMA_FILE_PATHS.types);
|
|
4582
|
+
}
|
|
4588
4583
|
async function ensureRuntimeSchemaFileScaffold(pmRoot, schema) {
|
|
4589
4584
|
const normalizedSchema = normalizeRuntimeSchemaSettings(schema);
|
|
4590
4585
|
const specs = [
|
|
@@ -4687,11 +4682,8 @@ function preferredStatusForRole(definitions, role, fallbackValues) {
|
|
|
4687
4682
|
if (withRole.length > 0) {
|
|
4688
4683
|
return withRole[0].id;
|
|
4689
4684
|
}
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
if (!normalized) {
|
|
4693
|
-
continue;
|
|
4694
|
-
}
|
|
4685
|
+
const normalizedFallbacks = fallbackValues.map((value) => normalizeStatusId(value)).filter((value) => typeof value === "string");
|
|
4686
|
+
for (const normalized of normalizedFallbacks) {
|
|
4695
4687
|
if (definitions.some((definition) => definition.id === normalized)) {
|
|
4696
4688
|
return normalized;
|
|
4697
4689
|
}
|
|
@@ -4742,7 +4734,7 @@ function resolveRuntimeStatusRegistry(schema) {
|
|
|
4742
4734
|
}
|
|
4743
4735
|
}
|
|
4744
4736
|
const workflow = normalizedSchema.workflow;
|
|
4745
|
-
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]]);
|
|
4746
4738
|
const closeStatus = normalizeStatusId(workflow.close_status) ?? preferredStatusForRole(definitions, "default_close", ["closed", "done", "complete"]);
|
|
4747
4739
|
const canceledStatus = normalizeStatusId(workflow.canceled_status) ?? preferredStatusForRole(definitions, "default_cancel", ["canceled", "cancelled"]);
|
|
4748
4740
|
return {
|
|
@@ -4755,9 +4747,9 @@ function resolveRuntimeStatusRegistry(schema) {
|
|
|
4755
4747
|
active_statuses: activeStatuses,
|
|
4756
4748
|
blocked_statuses: blockedStatuses,
|
|
4757
4749
|
draft_statuses: draftStatuses,
|
|
4758
|
-
open_status: openStatus
|
|
4759
|
-
close_status: closeStatus
|
|
4760
|
-
canceled_status: canceledStatus
|
|
4750
|
+
open_status: openStatus,
|
|
4751
|
+
close_status: closeStatus,
|
|
4752
|
+
canceled_status: canceledStatus
|
|
4761
4753
|
};
|
|
4762
4754
|
}
|
|
4763
4755
|
function normalizeStatusInputWithRegistry(value, registry) {
|
|
@@ -4770,11 +4762,8 @@ function normalizeStatusInputWithRegistry(value, registry) {
|
|
|
4770
4762
|
function resolveRuntimeFieldRegistry(schema) {
|
|
4771
4763
|
const normalizedSchema = normalizeRuntimeSchemaSettings(schema);
|
|
4772
4764
|
const dedupedByKey = /* @__PURE__ */ new Map();
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
if (!normalized) {
|
|
4776
|
-
continue;
|
|
4777
|
-
}
|
|
4765
|
+
const normalizedFields = normalizedSchema.fields.map((definition) => normalizeRuntimeFieldDefinition(definition)).filter((definition) => definition !== null);
|
|
4766
|
+
for (const normalized of normalizedFields) {
|
|
4778
4767
|
dedupedByKey.set(normalized.key, normalized);
|
|
4779
4768
|
}
|
|
4780
4769
|
const definitions = [...dedupedByKey.values()].sort((left, right) => left.key.localeCompare(right.key));
|
|
@@ -4998,7 +4987,7 @@ function orderObject(value, keyOrder) {
|
|
|
4998
4987
|
!(function() {
|
|
4999
4988
|
try {
|
|
5000
4989
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5001
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
4990
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92ab115e-aba4-5010-8543-15a20372510a");
|
|
5002
4991
|
} catch (e2) {
|
|
5003
4992
|
}
|
|
5004
4993
|
})();
|
|
@@ -5041,6 +5030,22 @@ function vArray(item) {
|
|
|
5041
5030
|
function vOptional(inner) {
|
|
5042
5031
|
return (input) => input === void 0 ? { ok: true, value: void 0 } : inner(input);
|
|
5043
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
|
+
}
|
|
5044
5049
|
function vObject(shape) {
|
|
5045
5050
|
return (input) => {
|
|
5046
5051
|
if (typeof input !== "object" || input === null || Array.isArray(input)) {
|
|
@@ -5215,7 +5220,8 @@ var settingsCheck = vObject({
|
|
|
5215
5220
|
lifecycle_stale_blocker_reason_patterns: vOptional(vArray(vString)),
|
|
5216
5221
|
lifecycle_closure_like_blocked_reason_patterns: vOptional(vArray(vString)),
|
|
5217
5222
|
lifecycle_closure_like_resolution_patterns: vOptional(vArray(vString)),
|
|
5218
|
-
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 })))
|
|
5219
5225
|
})),
|
|
5220
5226
|
governance: governanceSettings,
|
|
5221
5227
|
workflow: vOptional(vObject({ definition_of_done: vArray(vString) })),
|
|
@@ -5269,6 +5275,7 @@ var settingsCheck = vObject({
|
|
|
5269
5275
|
embedding_timeout_ms: vOptional(vNumber({ int: true })),
|
|
5270
5276
|
scanner_max_batch_retries: vNumber({ int: true }),
|
|
5271
5277
|
provider: vOptional(vString),
|
|
5278
|
+
corpus_fields: vOptional(vArray(vString)),
|
|
5272
5279
|
mutation_refresh_policy: vOptional(vLiteral("cache_only", "semantic_configured", "semantic_auto")),
|
|
5273
5280
|
query_expansion: vOptional(vObject({
|
|
5274
5281
|
enabled: vOptional(vBoolean),
|
|
@@ -5387,6 +5394,80 @@ function normalizeItemTypeDefinition(definition, options = {}) {
|
|
|
5387
5394
|
};
|
|
5388
5395
|
}
|
|
5389
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
|
+
|
|
5390
5471
|
// dist/core/store/settings-read-cache.js
|
|
5391
5472
|
import { stat } from "node:fs/promises";
|
|
5392
5473
|
!(function() {
|
|
@@ -5463,7 +5544,7 @@ function clearSettingsReadCache(pmRoot) {
|
|
|
5463
5544
|
!(function() {
|
|
5464
5545
|
try {
|
|
5465
5546
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5466
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5547
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ad562c88-0172-5c5c-8288-40d66376c88d");
|
|
5467
5548
|
} catch (e2) {
|
|
5468
5549
|
}
|
|
5469
5550
|
})();
|
|
@@ -5909,6 +5990,15 @@ function normalizeValidationMetadataRequiredFields(values) {
|
|
|
5909
5990
|
function normalizeValidationPatternList(values) {
|
|
5910
5991
|
return [...new Set((values ?? []).map((value) => value.trim().toLowerCase()).filter((value) => value.length > 0))].sort((left, right) => left.localeCompare(right));
|
|
5911
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
|
+
}
|
|
5912
6002
|
function normalizeItemTypeDefinitions(definitions) {
|
|
5913
6003
|
const normalized = (definitions ?? []).map((definition) => normalizeItemTypeDefinition(definition)).filter((definition) => definition !== null);
|
|
5914
6004
|
const dedupedByName = /* @__PURE__ */ new Map();
|
|
@@ -5938,7 +6028,8 @@ function mergeSettings(settings) {
|
|
|
5938
6028
|
lifecycle_stale_blocker_reason_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_stale_blocker_reason_patterns ?? defaults.validation.lifecycle_stale_blocker_reason_patterns),
|
|
5939
6029
|
lifecycle_closure_like_blocked_reason_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_blocked_reason_patterns ?? defaults.validation.lifecycle_closure_like_blocked_reason_patterns),
|
|
5940
6030
|
lifecycle_closure_like_resolution_patterns: normalizeValidationPatternList(settings.validation?.lifecycle_closure_like_resolution_patterns ?? defaults.validation.lifecycle_closure_like_resolution_patterns),
|
|
5941
|
-
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)
|
|
5942
6033
|
},
|
|
5943
6034
|
governance,
|
|
5944
6035
|
workflow: {
|
|
@@ -6005,24 +6096,43 @@ function mergeSettings(settings) {
|
|
|
6005
6096
|
};
|
|
6006
6097
|
}
|
|
6007
6098
|
function serializeSettings(settings, options = {}) {
|
|
6008
|
-
const
|
|
6009
|
-
const normalizedSchema = normalizeRuntimeSchemaSettings(settings.schema);
|
|
6010
|
-
const persistedFileBackedSections = resolvePersistedFileBackedSchemaSections(settings, options.persist_source);
|
|
6011
|
-
const normalizedSettings = {
|
|
6099
|
+
const baseSettings = {
|
|
6012
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,
|
|
6013
6122
|
item_format: "toon",
|
|
6014
6123
|
validation: {
|
|
6015
|
-
...
|
|
6124
|
+
...baseSettings.validation,
|
|
6016
6125
|
parent_reference: governance.parent_reference,
|
|
6017
6126
|
metadata_profile: governance.metadata_profile,
|
|
6018
|
-
metadata_required_fields: normalizeValidationMetadataRequiredFields(
|
|
6019
|
-
lifecycle_stale_blocker_reason_patterns: normalizeValidationPatternList(
|
|
6020
|
-
lifecycle_closure_like_blocked_reason_patterns: normalizeValidationPatternList(
|
|
6021
|
-
lifecycle_closure_like_resolution_patterns: normalizeValidationPatternList(
|
|
6022
|
-
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)
|
|
6023
6133
|
},
|
|
6024
6134
|
governance,
|
|
6025
|
-
agent_guidance: normalizeAgentGuidanceSettings(
|
|
6135
|
+
agent_guidance: normalizeAgentGuidanceSettings(baseSettings.agent_guidance),
|
|
6026
6136
|
item_types: {
|
|
6027
6137
|
definitions: persistedFileBackedSections.item_type_definitions
|
|
6028
6138
|
},
|
|
@@ -6034,42 +6144,42 @@ function serializeSettings(settings, options = {}) {
|
|
|
6034
6144
|
},
|
|
6035
6145
|
search: {
|
|
6036
6146
|
...SETTINGS_DEFAULTS.search,
|
|
6037
|
-
...
|
|
6038
|
-
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(
|
|
6147
|
+
...baseSettings.search,
|
|
6148
|
+
mutation_refresh_policy: normalizeSearchMutationRefreshPolicy(baseSettings.search?.mutation_refresh_policy),
|
|
6039
6149
|
query_expansion: {
|
|
6040
6150
|
...SETTINGS_DEFAULTS.search.query_expansion,
|
|
6041
|
-
...
|
|
6042
|
-
enabled: normalizeSearchQueryExpansionEnabled(
|
|
6043
|
-
provider: normalizeSearchQueryExpansionProvider(
|
|
6151
|
+
...baseSettings.search?.query_expansion ?? {},
|
|
6152
|
+
enabled: normalizeSearchQueryExpansionEnabled(baseSettings.search?.query_expansion?.enabled),
|
|
6153
|
+
provider: normalizeSearchQueryExpansionProvider(baseSettings.search?.query_expansion?.provider)
|
|
6044
6154
|
},
|
|
6045
6155
|
rerank: {
|
|
6046
6156
|
...SETTINGS_DEFAULTS.search.rerank,
|
|
6047
|
-
...
|
|
6048
|
-
enabled: normalizeSearchRerankEnabled(
|
|
6049
|
-
model: normalizeSearchRerankModel(
|
|
6050
|
-
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)
|
|
6051
6161
|
}
|
|
6052
6162
|
},
|
|
6053
6163
|
context: {
|
|
6054
|
-
default_depth:
|
|
6055
|
-
activity_limit:
|
|
6056
|
-
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,
|
|
6057
6167
|
sections: {
|
|
6058
6168
|
...SETTINGS_DEFAULTS.context.sections,
|
|
6059
|
-
...
|
|
6169
|
+
...baseSettings.context?.sections ?? {}
|
|
6060
6170
|
}
|
|
6061
6171
|
},
|
|
6062
6172
|
extensions: {
|
|
6063
|
-
enabled: normalizeStringList2(
|
|
6064
|
-
disabled: normalizeStringList2(
|
|
6065
|
-
policy: normalizeExtensionPolicySettings(
|
|
6173
|
+
enabled: normalizeStringList2(baseSettings.extensions?.enabled),
|
|
6174
|
+
disabled: normalizeStringList2(baseSettings.extensions?.disabled),
|
|
6175
|
+
policy: normalizeExtensionPolicySettings(baseSettings.extensions?.policy)
|
|
6066
6176
|
},
|
|
6067
6177
|
vector_store: {
|
|
6068
|
-
...
|
|
6069
|
-
adapter:
|
|
6070
|
-
collection_name: normalizeVectorStoreCollectionName(
|
|
6071
|
-
qdrant: { ...
|
|
6072
|
-
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 ?? {} }
|
|
6073
6183
|
}
|
|
6074
6184
|
};
|
|
6075
6185
|
const ordered = orderObject({
|
|
@@ -6108,7 +6218,8 @@ function serializeSettings(settings, options = {}) {
|
|
|
6108
6218
|
"lifecycle_stale_blocker_reason_patterns",
|
|
6109
6219
|
"lifecycle_closure_like_blocked_reason_patterns",
|
|
6110
6220
|
"lifecycle_closure_like_resolution_patterns",
|
|
6111
|
-
"lifecycle_closure_like_actual_result_patterns"
|
|
6221
|
+
"lifecycle_closure_like_actual_result_patterns",
|
|
6222
|
+
"estimate_defaults_by_type"
|
|
6112
6223
|
]);
|
|
6113
6224
|
ordered.governance = orderObject(ordered.governance, [
|
|
6114
6225
|
"preset",
|
|
@@ -6149,17 +6260,17 @@ function serializeSettings(settings, options = {}) {
|
|
|
6149
6260
|
"type_workflows",
|
|
6150
6261
|
"unknown_field_policy"
|
|
6151
6262
|
]);
|
|
6152
|
-
ordered.schema.files = orderObject(ordered.schema.files
|
|
6153
|
-
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"]);
|
|
6154
6265
|
ordered.context = orderObject(ordered.context, [
|
|
6155
6266
|
"default_depth",
|
|
6156
6267
|
"activity_limit",
|
|
6157
6268
|
"stale_threshold_days",
|
|
6158
6269
|
"sections"
|
|
6159
6270
|
]);
|
|
6160
|
-
ordered.context.sections = orderObject(ordered.context.sections
|
|
6271
|
+
ordered.context.sections = orderObject(recordOrEmpty(ordered.context.sections), ["hierarchy", "activity", "progress", "blockers", "files", "workload", "staleness", "tests"]);
|
|
6161
6272
|
ordered.extensions = orderObject(ordered.extensions, ["enabled", "disabled", "policy"]);
|
|
6162
|
-
ordered.extensions.policy = orderObject(ordered.extensions.policy
|
|
6273
|
+
ordered.extensions.policy = orderObject(recordOrEmpty(ordered.extensions.policy), [
|
|
6163
6274
|
"mode",
|
|
6164
6275
|
"trust_mode",
|
|
6165
6276
|
"pm_max_version_exceeded_mode",
|
|
@@ -6180,7 +6291,7 @@ function serializeSettings(settings, options = {}) {
|
|
|
6180
6291
|
"blocked_services",
|
|
6181
6292
|
"extension_overrides"
|
|
6182
6293
|
]);
|
|
6183
|
-
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), [
|
|
6184
6295
|
"name",
|
|
6185
6296
|
"disabled",
|
|
6186
6297
|
"require_trusted",
|
|
@@ -6211,19 +6322,19 @@ function serializeSettings(settings, options = {}) {
|
|
|
6211
6322
|
"query_expansion",
|
|
6212
6323
|
"rerank"
|
|
6213
6324
|
]);
|
|
6214
|
-
ordered.search.query_expansion = orderObject(ordered.search.query_expansion
|
|
6215
|
-
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"]);
|
|
6216
6327
|
ordered.providers = orderObject(ordered.providers, ["openai", "ollama"]);
|
|
6217
|
-
ordered.providers.openai = orderObject(ordered.providers.openai
|
|
6218
|
-
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"]);
|
|
6219
6330
|
ordered.vector_store = orderObject(ordered.vector_store, [
|
|
6220
6331
|
"adapter",
|
|
6221
6332
|
"collection_name",
|
|
6222
6333
|
"qdrant",
|
|
6223
6334
|
"lancedb"
|
|
6224
6335
|
]);
|
|
6225
|
-
ordered.vector_store.qdrant = orderObject(ordered.vector_store.qdrant
|
|
6226
|
-
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"]);
|
|
6227
6338
|
return `${JSON.stringify(ordered, null, 2)}
|
|
6228
6339
|
`;
|
|
6229
6340
|
}
|
|
@@ -6280,7 +6391,7 @@ async function readSettingsWithMetadata(pmRoot) {
|
|
|
6280
6391
|
item_types: {
|
|
6281
6392
|
definitions: normalizeItemTypeDefinitions([
|
|
6282
6393
|
...mergedSettings.item_types.definitions,
|
|
6283
|
-
...loadedSchemaSections.type_definitions_from_file
|
|
6394
|
+
...arrayOrEmpty(loadedSchemaSections.type_definitions_from_file)
|
|
6284
6395
|
])
|
|
6285
6396
|
},
|
|
6286
6397
|
schema: loadedSchemaSections.schema
|
|
@@ -6354,6 +6465,7 @@ export {
|
|
|
6354
6465
|
KNOWN_EXTENSION_POLICY_SURFACES,
|
|
6355
6466
|
KNOWN_EXTENSION_SERVICE_NAMES,
|
|
6356
6467
|
PM_DIRNAME,
|
|
6468
|
+
CREATE_DIRECT_CLOSE_REASON_DEFAULT,
|
|
6357
6469
|
PM_CORE_REQUIRED_SUBDIRS,
|
|
6358
6470
|
PM_OPTIONAL_TYPE_SUBDIRS,
|
|
6359
6471
|
PM_REQUIRED_SUBDIRS,
|
|
@@ -6374,6 +6486,7 @@ export {
|
|
|
6374
6486
|
getItemFormatFromPath,
|
|
6375
6487
|
getHistoryPath,
|
|
6376
6488
|
getLockPath,
|
|
6489
|
+
getRuntimePath,
|
|
6377
6490
|
getTestRunsPath,
|
|
6378
6491
|
getTestRunsRecordsPath,
|
|
6379
6492
|
getTestRunRecordPath,
|
|
@@ -6435,6 +6548,8 @@ export {
|
|
|
6435
6548
|
ITEM_TYPE_VALUES,
|
|
6436
6549
|
STATUS_VALUES,
|
|
6437
6550
|
RUNTIME_STATUS_ROLE_VALUES,
|
|
6551
|
+
RUNTIME_FIELD_TYPE_VALUES,
|
|
6552
|
+
RUNTIME_FIELD_COMMAND_VALUES,
|
|
6438
6553
|
DEPENDENCY_KIND_VALUES,
|
|
6439
6554
|
SCOPE_VALUES,
|
|
6440
6555
|
RISK_VALUES,
|
|
@@ -6456,6 +6571,7 @@ export {
|
|
|
6456
6571
|
DEFAULT_RUNTIME_STATUS_DEFINITIONS,
|
|
6457
6572
|
normalizeRuntimeSchemaSettings,
|
|
6458
6573
|
filePathForSchemaSection,
|
|
6574
|
+
resolveItemTypesFilePath,
|
|
6459
6575
|
ensureRuntimeSchemaFileScaffold,
|
|
6460
6576
|
resolveRuntimeStatusRegistry,
|
|
6461
6577
|
normalizeStatusInputWithRegistry,
|
|
@@ -6467,9 +6583,10 @@ export {
|
|
|
6467
6583
|
stableValueEquals,
|
|
6468
6584
|
sha256Hex,
|
|
6469
6585
|
orderObject,
|
|
6586
|
+
resolveEstimateDefaultMinutes,
|
|
6470
6587
|
resolveGovernanceKnobs,
|
|
6471
6588
|
readSettingsWithMetadata,
|
|
6472
6589
|
readSettings,
|
|
6473
6590
|
writeSettings
|
|
6474
6591
|
};
|
|
6475
|
-
//# sourceMappingURL=chunk-
|
|
6592
|
+
//# sourceMappingURL=chunk-CHM2VFVL.js.map
|