@harness-engineering/cli 2.4.2 → 2.4.5

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.
Files changed (46) hide show
  1. package/dist/{agents-md-2M46KG4F.js → agents-md-KJVGWF2S.js} +2 -2
  2. package/dist/{architecture-3ZSN5RDQ.js → architecture-NX7FWQD3.js} +3 -3
  3. package/dist/{assess-project-KZWFQEJE.js → assess-project-PLY6ZWMW.js} +1 -1
  4. package/dist/bin/harness-mcp.js +13 -13
  5. package/dist/bin/harness.js +22 -22
  6. package/dist/{check-phase-gate-EWV5VYTG.js → check-phase-gate-WFIEJKMN.js} +3 -3
  7. package/dist/{chunk-KRQTN46U.js → chunk-3XFFGAX4.js} +3 -3
  8. package/dist/{chunk-NTOKQJOX.js → chunk-4H2KIQ3I.js} +1 -1
  9. package/dist/{chunk-GOSUZC5H.js → chunk-4PO2QAXO.js} +25 -25
  10. package/dist/{chunk-2TGCYJMT.js → chunk-65M5R3X6.js} +22 -8
  11. package/dist/{chunk-KOK7BFP2.js → chunk-72TZ2GZR.js} +2 -2
  12. package/dist/{chunk-QV5EBDWA.js → chunk-73ACYXIS.js} +1 -1
  13. package/dist/{chunk-7RZZV73V.js → chunk-7TRTU7JL.js} +2 -2
  14. package/dist/{chunk-B2ZYMQGT.js → chunk-A5GXGRW6.js} +6 -6
  15. package/dist/{chunk-GLKASJZE.js → chunk-DUCVDDZO.js} +3 -3
  16. package/dist/{chunk-TPNA2I4J.js → chunk-DUK6C7I7.js} +77 -70
  17. package/dist/{chunk-LHHO7AH4.js → chunk-FPUNXFJG.js} +2 -2
  18. package/dist/{chunk-UQJV7NNM.js → chunk-HCTXLKAH.js} +1 -1
  19. package/dist/{chunk-MXOQEI72.js → chunk-KEF624FQ.js} +1 -1
  20. package/dist/{chunk-LJF6UY4R.js → chunk-LJTQVJEP.js} +1 -1
  21. package/dist/{chunk-UPV7VDUB.js → chunk-M5TJOV3A.js} +2 -2
  22. package/dist/{chunk-NM3ZIWVN.js → chunk-NSLFLGUB.js} +1 -1
  23. package/dist/{chunk-PPQ3TY2R.js → chunk-OPDIMKUZ.js} +1 -1
  24. package/dist/{chunk-73KZ2E47.js → chunk-PGY57ABC.js} +6 -6
  25. package/dist/{chunk-I2KULMPD.js → chunk-TC4GQBIK.js} +5 -5
  26. package/dist/{chunk-RRTTJ3VB.js → chunk-YL2N4OZQ.js} +1 -1
  27. package/dist/{chunk-IEHXZB6J.js → chunk-Z6PF2YXB.js} +3 -3
  28. package/dist/{chunk-OUXYITL5.js → chunk-ZEKY6PQQ.js} +1 -1
  29. package/dist/{ci-workflow-5TBUHJFC.js → ci-workflow-XDIKOFSN.js} +2 -2
  30. package/dist/{dist-HA6IIPRC.js → dist-SVZHSOLP.js} +1 -1
  31. package/dist/{docs-D6WI2LCF.js → docs-7LXCR62T.js} +3 -3
  32. package/dist/{engine-GBEVIZZQ.js → engine-MMQF2ZW5.js} +2 -2
  33. package/dist/{entropy-V6M4KJDC.js → entropy-LMOXWMR4.js} +2 -2
  34. package/dist/{feedback-22I4HHXM.js → feedback-CLBC3IMP.js} +1 -1
  35. package/dist/{generate-agent-definitions-UM7T3WLA.js → generate-agent-definitions-5FDIGEVZ.js} +3 -3
  36. package/dist/index.d.ts +8 -8
  37. package/dist/index.js +22 -22
  38. package/dist/{loader-5V72NYMF.js → loader-WTWR2CWT.js} +2 -2
  39. package/dist/{mcp-5KQGFG5U.js → mcp-4W45E6OH.js} +13 -13
  40. package/dist/{performance-MVORVVMG.js → performance-WZQIUHLR.js} +3 -3
  41. package/dist/{review-pipeline-JYSVCNGJ.js → review-pipeline-YPRUHKM7.js} +2 -2
  42. package/dist/{runtime-KZC2OQI7.js → runtime-WC2IWI2X.js} +2 -2
  43. package/dist/{security-WOVOBLCI.js → security-AZNLX3N6.js} +1 -1
  44. package/dist/{validate-55HGQKWR.js → validate-S7G6H7F4.js} +3 -3
  45. package/dist/{validate-cross-check-H3PSV4VY.js → validate-cross-check-Z73SCHXZ.js} +2 -2
  46. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generateAgentsMd
3
- } from "./chunk-RRTTJ3VB.js";
4
- import "./chunk-2TGCYJMT.js";
3
+ } from "./chunk-YL2N4OZQ.js";
4
+ import "./chunk-65M5R3X6.js";
5
5
  import "./chunk-O63AAPIZ.js";
6
6
  import "./chunk-BCFDGOMA.js";
7
7
  import "./chunk-KFQGP6VL.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  checkDependenciesDefinition,
3
3
  handleCheckDependencies
4
- } from "./chunk-7RZZV73V.js";
5
- import "./chunk-LJF6UY4R.js";
4
+ } from "./chunk-7TRTU7JL.js";
5
+ import "./chunk-LJTQVJEP.js";
6
6
  import "./chunk-EPUKTTJZ.js";
7
7
  import "./chunk-W6Y7ZW3Y.js";
8
- import "./chunk-2TGCYJMT.js";
8
+ import "./chunk-65M5R3X6.js";
9
9
  import "./chunk-O63AAPIZ.js";
10
10
  import "./chunk-BCFDGOMA.js";
11
11
  import "./chunk-KFQGP6VL.js";
@@ -2,7 +2,7 @@ import {
2
2
  assessProjectDefinition,
3
3
  handleAssessProject,
4
4
  parseToolResponse
5
- } from "./chunk-B2ZYMQGT.js";
5
+ } from "./chunk-A5GXGRW6.js";
6
6
  import "./chunk-W6Y7ZW3Y.js";
7
7
  import "./chunk-KFQGP6VL.js";
8
8
  export {
@@ -1,27 +1,27 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startServer
4
- } from "../chunk-TPNA2I4J.js";
5
- import "../chunk-UPV7VDUB.js";
6
- import "../chunk-B2ZYMQGT.js";
4
+ } from "../chunk-DUK6C7I7.js";
5
+ import "../chunk-M5TJOV3A.js";
6
+ import "../chunk-A5GXGRW6.js";
7
7
  import "../chunk-IOW3MW2K.js";
8
- import "../chunk-IEHXZB6J.js";
9
- import "../chunk-LHHO7AH4.js";
8
+ import "../chunk-Z6PF2YXB.js";
9
+ import "../chunk-FPUNXFJG.js";
10
10
  import "../chunk-5FDBXUFW.js";
11
- import "../chunk-KRQTN46U.js";
12
- import "../chunk-7RZZV73V.js";
13
- import "../chunk-LJF6UY4R.js";
14
- import "../chunk-I2KULMPD.js";
15
- import "../chunk-GLKASJZE.js";
16
- import "../chunk-73KZ2E47.js";
11
+ import "../chunk-3XFFGAX4.js";
12
+ import "../chunk-7TRTU7JL.js";
13
+ import "../chunk-LJTQVJEP.js";
14
+ import "../chunk-TC4GQBIK.js";
15
+ import "../chunk-DUCVDDZO.js";
16
+ import "../chunk-PGY57ABC.js";
17
17
  import "../chunk-EPUKTTJZ.js";
18
18
  import "../chunk-W6Y7ZW3Y.js";
19
19
  import "../chunk-27AJKSQY.js";
20
- import "../chunk-MXOQEI72.js";
20
+ import "../chunk-KEF624FQ.js";
21
21
  import "../chunk-3ISINLYT.js";
22
22
  import "../chunk-6B6UN6SG.js";
23
23
  import "../chunk-ZCZD7FHU.js";
24
- import "../chunk-2TGCYJMT.js";
24
+ import "../chunk-65M5R3X6.js";
25
25
  import "../chunk-O63AAPIZ.js";
26
26
  import "../chunk-BCFDGOMA.js";
27
27
  import "../chunk-HIK6OEUF.js";
@@ -3,43 +3,43 @@ import {
3
3
  createProgram,
4
4
  installCommandTelemetry,
5
5
  printFirstRunWelcome
6
- } from "../chunk-GOSUZC5H.js";
7
- import "../chunk-OUXYITL5.js";
8
- import "../chunk-RRTTJ3VB.js";
9
- import "../chunk-UQJV7NNM.js";
10
- import "../chunk-PPQ3TY2R.js";
11
- import "../chunk-NM3ZIWVN.js";
6
+ } from "../chunk-4PO2QAXO.js";
7
+ import "../chunk-ZEKY6PQQ.js";
8
+ import "../chunk-YL2N4OZQ.js";
9
+ import "../chunk-HCTXLKAH.js";
10
+ import "../chunk-OPDIMKUZ.js";
11
+ import "../chunk-NSLFLGUB.js";
12
12
  import "../chunk-CQ553GZO.js";
13
13
  import "../chunk-GISMXMVL.js";
14
14
  import "../chunk-WWACIIBA.js";
15
15
  import "../chunk-TEFCFC4H.js";
16
- import "../chunk-KOK7BFP2.js";
17
- import "../chunk-QV5EBDWA.js";
16
+ import "../chunk-72TZ2GZR.js";
17
+ import "../chunk-73ACYXIS.js";
18
18
  import "../chunk-KET4QQZB.js";
19
- import "../chunk-NTOKQJOX.js";
19
+ import "../chunk-4H2KIQ3I.js";
20
20
  import "../chunk-5XLLIYYL.js";
21
21
  import {
22
22
  dispatchSkillsFromGit
23
- } from "../chunk-TPNA2I4J.js";
24
- import "../chunk-UPV7VDUB.js";
25
- import "../chunk-B2ZYMQGT.js";
23
+ } from "../chunk-DUK6C7I7.js";
24
+ import "../chunk-M5TJOV3A.js";
25
+ import "../chunk-A5GXGRW6.js";
26
26
  import "../chunk-IOW3MW2K.js";
27
- import "../chunk-IEHXZB6J.js";
28
- import "../chunk-LHHO7AH4.js";
27
+ import "../chunk-Z6PF2YXB.js";
28
+ import "../chunk-FPUNXFJG.js";
29
29
  import "../chunk-5FDBXUFW.js";
30
- import "../chunk-KRQTN46U.js";
31
- import "../chunk-7RZZV73V.js";
32
- import "../chunk-LJF6UY4R.js";
33
- import "../chunk-I2KULMPD.js";
34
- import "../chunk-GLKASJZE.js";
35
- import "../chunk-73KZ2E47.js";
30
+ import "../chunk-3XFFGAX4.js";
31
+ import "../chunk-7TRTU7JL.js";
32
+ import "../chunk-LJTQVJEP.js";
33
+ import "../chunk-TC4GQBIK.js";
34
+ import "../chunk-DUCVDDZO.js";
35
+ import "../chunk-PGY57ABC.js";
36
36
  import "../chunk-EPUKTTJZ.js";
37
37
  import "../chunk-W6Y7ZW3Y.js";
38
38
  import "../chunk-27AJKSQY.js";
39
39
  import {
40
40
  findConfigFile,
41
41
  loadConfig
42
- } from "../chunk-MXOQEI72.js";
42
+ } from "../chunk-KEF624FQ.js";
43
43
  import "../chunk-3ISINLYT.js";
44
44
  import "../chunk-6B6UN6SG.js";
45
45
  import "../chunk-ZCZD7FHU.js";
@@ -53,7 +53,7 @@ import {
53
53
  readCheckState,
54
54
  shouldRunCheck,
55
55
  spawnBackgroundCheck
56
- } from "../chunk-2TGCYJMT.js";
56
+ } from "../chunk-65M5R3X6.js";
57
57
  import "../chunk-O63AAPIZ.js";
58
58
  import "../chunk-BCFDGOMA.js";
59
59
  import "../chunk-ZP5E7YET.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createCheckPhaseGateCommand,
3
3
  runCheckPhaseGate
4
- } from "./chunk-KOK7BFP2.js";
5
- import "./chunk-MXOQEI72.js";
4
+ } from "./chunk-72TZ2GZR.js";
5
+ import "./chunk-KEF624FQ.js";
6
6
  import "./chunk-ZCZD7FHU.js";
7
- import "./chunk-2TGCYJMT.js";
7
+ import "./chunk-65M5R3X6.js";
8
8
  import "./chunk-O63AAPIZ.js";
9
9
  import "./chunk-BCFDGOMA.js";
10
10
  import "./chunk-EBJQ6N4M.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectConfig
3
- } from "./chunk-LJF6UY4R.js";
3
+ } from "./chunk-LJTQVJEP.js";
4
4
  import {
5
5
  sanitizePath
6
6
  } from "./chunk-W6Y7ZW3Y.js";
@@ -49,7 +49,7 @@ async function handleValidateProject(input) {
49
49
  checks.config = "pass";
50
50
  const config = configResult.value;
51
51
  try {
52
- const core = await import("./dist-HA6IIPRC.js");
52
+ const core = await import("./dist-SVZHSOLP.js");
53
53
  if (typeof core.validateFileStructure === "function" && Array.isArray(config.conventions)) {
54
54
  const conventions = config.conventions;
55
55
  const structureResult = await core.validateFileStructure(projectPath, conventions);
@@ -68,7 +68,7 @@ async function handleValidateProject(input) {
68
68
  } catch {
69
69
  }
70
70
  try {
71
- const core = await import("./dist-HA6IIPRC.js");
71
+ const core = await import("./dist-SVZHSOLP.js");
72
72
  if (typeof core.validateAgentsMap === "function") {
73
73
  const agentsMapPath = path.join(projectPath, "AGENTS.md");
74
74
  const agentsResult = await core.validateAgentsMap(agentsMapPath);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_dist
3
- } from "./chunk-2TGCYJMT.js";
3
+ } from "./chunk-65M5R3X6.js";
4
4
  import {
5
5
  Err,
6
6
  Ok
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  generateRuntime
3
- } from "./chunk-OUXYITL5.js";
3
+ } from "./chunk-ZEKY6PQQ.js";
4
4
  import {
5
5
  generateAgentsMd
6
- } from "./chunk-RRTTJ3VB.js";
6
+ } from "./chunk-YL2N4OZQ.js";
7
7
  import {
8
8
  generateCIWorkflow
9
- } from "./chunk-UQJV7NNM.js";
9
+ } from "./chunk-HCTXLKAH.js";
10
10
  import {
11
11
  TemplateEngine
12
- } from "./chunk-NM3ZIWVN.js";
12
+ } from "./chunk-NSLFLGUB.js";
13
13
  import {
14
14
  generate,
15
15
  validate
@@ -28,18 +28,18 @@ import {
28
28
  OutputMode,
29
29
  createCheckPhaseGateCommand,
30
30
  findFiles
31
- } from "./chunk-KOK7BFP2.js";
31
+ } from "./chunk-72TZ2GZR.js";
32
32
  import {
33
33
  createGenerateAgentDefinitionsCommand,
34
34
  generateAgentDefinitions
35
- } from "./chunk-QV5EBDWA.js";
35
+ } from "./chunk-73ACYXIS.js";
36
36
  import {
37
37
  toKebabCase
38
38
  } from "./chunk-KET4QQZB.js";
39
39
  import {
40
40
  listPersonas,
41
41
  loadPersona
42
- } from "./chunk-NTOKQJOX.js";
42
+ } from "./chunk-4H2KIQ3I.js";
43
43
  import {
44
44
  createScanCommand,
45
45
  loadIngestOptions
@@ -57,7 +57,7 @@ import {
57
57
  loadCachedSnapshot,
58
58
  persistToolingConfig,
59
59
  recommend
60
- } from "./chunk-TPNA2I4J.js";
60
+ } from "./chunk-DUK6C7I7.js";
61
61
  import {
62
62
  loadGraphStore
63
63
  } from "./chunk-5FDBXUFW.js";
@@ -68,7 +68,7 @@ import {
68
68
  BranchingConfigSchema,
69
69
  findConfigFile,
70
70
  resolveConfig
71
- } from "./chunk-MXOQEI72.js";
71
+ } from "./chunk-KEF624FQ.js";
72
72
  import {
73
73
  VALID_PLATFORMS
74
74
  } from "./chunk-3ISINLYT.js";
@@ -173,7 +173,7 @@ import {
173
173
  validateSolutionsDir,
174
174
  writeConfig,
175
175
  writeLockfile
176
- } from "./chunk-2TGCYJMT.js";
176
+ } from "./chunk-65M5R3X6.js";
177
177
  import {
178
178
  Err,
179
179
  Ok
@@ -391,7 +391,7 @@ function registerSkillsCommand(adoption) {
391
391
  const globalOpts = cmd.optsWithGlobals();
392
392
  const limit = Math.max(parseInt(opts.limit, 10) || 20, 1);
393
393
  const cwd = process.cwd();
394
- const { readAdoptionRecords, aggregateBySkill } = await import("./dist-HA6IIPRC.js");
394
+ const { readAdoptionRecords, aggregateBySkill } = await import("./dist-SVZHSOLP.js");
395
395
  const records = readAdoptionRecords(cwd);
396
396
  if (records.length === 0) {
397
397
  if (globalOpts.json) {
@@ -427,7 +427,7 @@ function registerRecentCommand(adoption) {
427
427
  const globalOpts = cmd.optsWithGlobals();
428
428
  const limit = Math.max(parseInt(opts.limit, 10) || 20, 1);
429
429
  const cwd = process.cwd();
430
- const { readAdoptionRecords } = await import("./dist-HA6IIPRC.js");
430
+ const { readAdoptionRecords } = await import("./dist-SVZHSOLP.js");
431
431
  const records = readAdoptionRecords(cwd);
432
432
  if (records.length === 0) {
433
433
  if (globalOpts.json) {
@@ -505,7 +505,7 @@ function registerSkillCommand(adoption) {
505
505
  adoption.command("skill <name>").description("Show detail for a specific skill").action(async (name, _opts, cmd) => {
506
506
  const globalOpts = cmd.optsWithGlobals();
507
507
  const cwd = process.cwd();
508
- const { readAdoptionRecords, aggregateBySkill } = await import("./dist-HA6IIPRC.js");
508
+ const { readAdoptionRecords, aggregateBySkill } = await import("./dist-SVZHSOLP.js");
509
509
  const records = readAdoptionRecords(cwd);
510
510
  const skillRecords = records.filter((r) => r.skill === name);
511
511
  if (skillRecords.length === 0) {
@@ -5984,7 +5984,7 @@ function createMcpCommand() {
5984
5984
  parseBudget
5985
5985
  ).action(async (opts) => {
5986
5986
  const [{ startServer: startServer2, getToolDefinitions: getToolDefinitions2 }, { selectTier }] = await Promise.all([
5987
- import("./mcp-5KQGFG5U.js"),
5987
+ import("./mcp-4W45E6OH.js"),
5988
5988
  import("./tool-tiers-QVWKAZX4.js")
5989
5989
  ]);
5990
5990
  if (opts.tools && opts.tools.length > 0) {
@@ -6480,7 +6480,7 @@ function registerBenchCommand(perf) {
6480
6480
  perf.command("bench [glob]").description("Run benchmarks via vitest bench").action(async (glob2, _opts, cmd) => {
6481
6481
  const globalOpts = cmd.optsWithGlobals();
6482
6482
  const cwd = process.cwd();
6483
- const { BenchmarkRunner } = await import("./dist-HA6IIPRC.js");
6483
+ const { BenchmarkRunner } = await import("./dist-SVZHSOLP.js");
6484
6484
  const runner = new BenchmarkRunner();
6485
6485
  const benchFiles = runner.discover(cwd, glob2);
6486
6486
  if (benchFiles.length === 0) {
@@ -6544,7 +6544,7 @@ async function runBaselinesShow(globalOpts) {
6544
6544
  }
6545
6545
  async function runBaselinesUpdate(globalOpts) {
6546
6546
  const cwd = process.cwd();
6547
- const { BenchmarkRunner } = await import("./dist-HA6IIPRC.js");
6547
+ const { BenchmarkRunner } = await import("./dist-SVZHSOLP.js");
6548
6548
  const runner = new BenchmarkRunner();
6549
6549
  const manager = new BaselineManager(cwd);
6550
6550
  logger.info("Running benchmarks to update baselines...");
@@ -6585,7 +6585,7 @@ function registerReportCommand(perf) {
6585
6585
  perf.command("report").description("Full performance report with metrics, trends, and hotspots").action(async (_opts, cmd) => {
6586
6586
  const globalOpts = cmd.optsWithGlobals();
6587
6587
  const cwd = process.cwd();
6588
- const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-HA6IIPRC.js");
6588
+ const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-SVZHSOLP.js");
6589
6589
  const analyzer = new EntropyAnalyzer2({
6590
6590
  rootDir: path42.resolve(cwd),
6591
6591
  analyze: { complexity: true, coupling: true }
@@ -7001,7 +7001,7 @@ async function runPublishAnalyses(opts) {
7001
7001
  const nameToExternalId = await buildNameToExternalIdMap(projectPath);
7002
7002
  if (!nameToExternalId) return process.exit(1);
7003
7003
  const { AnalysisArchive } = await import("@harness-engineering/orchestrator");
7004
- const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-HA6IIPRC.js");
7004
+ const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-SVZHSOLP.js");
7005
7005
  const archive = new AnalysisArchive(path44.join(projectPath, ".harness", "analyses"));
7006
7006
  const analyses = await archive.list();
7007
7007
  if (analyses.length === 0) {
@@ -9493,7 +9493,7 @@ async function runSyncAnalyses(opts) {
9493
9493
  return;
9494
9494
  }
9495
9495
  const { AnalysisArchive, loadPublishedIndex: loadPublishedIndex2, savePublishedIndex: savePublishedIndex2 } = await import("@harness-engineering/orchestrator");
9496
- const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-HA6IIPRC.js");
9496
+ const { GitHubIssuesSyncAdapter: GitHubIssuesSyncAdapter2 } = await import("./dist-SVZHSOLP.js");
9497
9497
  const adapter = new GitHubIssuesSyncAdapter2({ token, config: trackerConfig });
9498
9498
  const archive = new AnalysisArchive(path62.join(projectPath, ".harness", "analyses"));
9499
9499
  const publishedIndex = loadPublishedIndex2(projectPath);
@@ -10625,7 +10625,7 @@ function createUpdateCommand() {
10625
10625
  // src/commands/usage.ts
10626
10626
  import { Command as Command94 } from "commander";
10627
10627
  async function loadAndPriceRecords(cwd, includeClaudeSessions = false) {
10628
- const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-HA6IIPRC.js");
10628
+ const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-SVZHSOLP.js");
10629
10629
  const records = readCostRecords(cwd);
10630
10630
  if (includeClaudeSessions) {
10631
10631
  const ccRecords = parseCCRecords();
@@ -10718,7 +10718,7 @@ function registerDailyCommand(usage) {
10718
10718
  else logger.info("No usage data found. Run some harness sessions first.");
10719
10719
  return;
10720
10720
  }
10721
- const { aggregateByDay } = await import("./dist-HA6IIPRC.js");
10721
+ const { aggregateByDay } = await import("./dist-SVZHSOLP.js");
10722
10722
  const limited = aggregateByDay(records).slice(0, days);
10723
10723
  if (globalOpts.json) {
10724
10724
  console.log(
@@ -10747,7 +10747,7 @@ function registerSessionsCommand(usage) {
10747
10747
  }
10748
10748
  return;
10749
10749
  }
10750
- const { aggregateBySession } = await import("./dist-HA6IIPRC.js");
10750
+ const { aggregateBySession } = await import("./dist-SVZHSOLP.js");
10751
10751
  const sessionData = aggregateBySession(records);
10752
10752
  const limited = sessionData.slice(0, limit);
10753
10753
  if (globalOpts.json) {
@@ -10827,7 +10827,7 @@ function registerSessionCommand(usage) {
10827
10827
  cwd,
10828
10828
  globalOpts.includeClaudeSessions
10829
10829
  );
10830
- const { aggregateBySession } = await import("./dist-HA6IIPRC.js");
10830
+ const { aggregateBySession } = await import("./dist-SVZHSOLP.js");
10831
10831
  const sessionData = aggregateBySession(records);
10832
10832
  const match = sessionData.find((s) => s.sessionId === id);
10833
10833
  if (!match) {
@@ -10862,7 +10862,7 @@ function registerLatestCommand(usage) {
10862
10862
  }
10863
10863
  return;
10864
10864
  }
10865
- const { aggregateBySession } = await import("./dist-HA6IIPRC.js");
10865
+ const { aggregateBySession } = await import("./dist-SVZHSOLP.js");
10866
10866
  const sessionData = aggregateBySession(records);
10867
10867
  const latest = sessionData[0];
10868
10868
  if (!latest) {
@@ -11031,7 +11031,7 @@ function resolveValidateMode(globalOpts) {
11031
11031
  return OutputMode.TEXT;
11032
11032
  }
11033
11033
  async function printCrossCheckWarnings(mode) {
11034
- const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-H3PSV4VY.js");
11034
+ const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-Z73SCHXZ.js");
11035
11035
  const cwd = process.cwd();
11036
11036
  const crossResult = await runCrossCheck2({
11037
11037
  specsDir: path67.join(cwd, "docs", "specs"),
@@ -35,7 +35,7 @@ import {
35
35
  __export
36
36
  } from "./chunk-KFQGP6VL.js";
37
37
 
38
- // ../core/dist/chunk-4UI65RLE.mjs
38
+ // ../core/dist/chunk-JIOBXIVB.mjs
39
39
  import { z } from "zod";
40
40
  import { createHash } from "crypto";
41
41
  import { minimatch } from "minimatch";
@@ -101,8 +101,12 @@ async function readFileContent(path46) {
101
101
  return Err(error);
102
102
  }
103
103
  }
104
- async function findFiles(pattern, cwd = process.cwd()) {
105
- return glob(pattern, { cwd, absolute: true });
104
+ async function findFiles(pattern, cwd = process.cwd(), extraIgnore = []) {
105
+ return glob(pattern, {
106
+ cwd,
107
+ absolute: true,
108
+ ignore: [...DEFAULT_FIND_FILES_IGNORE, ...extraIgnore]
109
+ });
106
110
  }
107
111
  function relativePosix(from, to) {
108
112
  return relative(from, to).replaceAll("\\", "/");
@@ -1761,9 +1765,9 @@ async function toHaveMaxDepDepth(received, maxDepth) {
1761
1765
  message: () => pass ? `Expected dependency depth in '${received.scope}' to exceed ${maxDepth} but it was ${maxActual}` : `Module '${received.scope}' has dependency depth ${maxActual} (limit: ${maxDepth})`
1762
1766
  };
1763
1767
  }
1764
- var __defProp, __export2, ArchMetricCategorySchema, ViolationSchema, MetricResultSchema, CategoryBaselineSchema, ArchBaselineSchema, CategoryRegressionSchema, ArchDiffResultSchema, ThresholdConfigSchema, ArchConfigSchema, ConstraintRuleSchema, ViolationSnapshotSchema, ViolationHistorySchema, EmergenceConfidenceSchema, EmergentConstraintSuggestionSchema, EmergenceResultSchema, accessAsync, readFileAsync, EXTENSION_BY_LANG, JS_EXT_FALLBACKS, CircularDepsCollector, TypeScriptParser, EXTENSION_MAP, parserCache, initialized, GRAMMAR_MAP, TOP_LEVEL_TYPES, METHOD_TYPES, IDENTIFIER_TYPES, NAME_EXTRACTORS, pythonStrategy, goStrategy, RUST_USE_ARG_TYPES, RUST_PUB_ITEM_TYPES, rustStrategy, JAVA_IMPORT_TYPES, JAVA_EXPORT_TYPES, javaStrategy, STRATEGIES, TreeSitterParser, ParserRegistry, defaultRegistry, LayerViolationCollector, ArchBaselineManager, DEFAULT_THRESHOLDS, FUNCTION_PATTERNS, DECISION_PATTERNS, ComplexityCollector, DEFAULT_THRESHOLDS2, CouplingCollector, ForbiddenImportCollector, ModuleSizeCollector, DepDepthCollector, defaultCollectors, archMatchers;
1765
- var init_chunk_4UI65RLE = __esm({
1766
- "../core/dist/chunk-4UI65RLE.mjs"() {
1768
+ var __defProp, __export2, ArchMetricCategorySchema, ViolationSchema, MetricResultSchema, CategoryBaselineSchema, ArchBaselineSchema, CategoryRegressionSchema, ArchDiffResultSchema, ThresholdConfigSchema, ArchConfigSchema, ConstraintRuleSchema, ViolationSnapshotSchema, ViolationHistorySchema, EmergenceConfidenceSchema, EmergentConstraintSuggestionSchema, EmergenceResultSchema, accessAsync, readFileAsync, DEFAULT_FIND_FILES_IGNORE, EXTENSION_BY_LANG, JS_EXT_FALLBACKS, CircularDepsCollector, TypeScriptParser, EXTENSION_MAP, parserCache, initialized, GRAMMAR_MAP, TOP_LEVEL_TYPES, METHOD_TYPES, IDENTIFIER_TYPES, NAME_EXTRACTORS, pythonStrategy, goStrategy, RUST_USE_ARG_TYPES, RUST_PUB_ITEM_TYPES, rustStrategy, JAVA_IMPORT_TYPES, JAVA_EXPORT_TYPES, javaStrategy, STRATEGIES, TreeSitterParser, ParserRegistry, defaultRegistry, LayerViolationCollector, ArchBaselineManager, DEFAULT_THRESHOLDS, FUNCTION_PATTERNS, DECISION_PATTERNS, ComplexityCollector, DEFAULT_THRESHOLDS2, CouplingCollector, ForbiddenImportCollector, ModuleSizeCollector, DepDepthCollector, defaultCollectors, archMatchers;
1769
+ var init_chunk_JIOBXIVB = __esm({
1770
+ "../core/dist/chunk-JIOBXIVB.mjs"() {
1767
1771
  "use strict";
1768
1772
  init_dist();
1769
1773
  init_dist2();
@@ -1880,6 +1884,12 @@ var init_chunk_4UI65RLE = __esm({
1880
1884
  });
1881
1885
  accessAsync = promisify(access);
1882
1886
  readFileAsync = promisify(readFile);
1887
+ DEFAULT_FIND_FILES_IGNORE = [
1888
+ "**/node_modules/**",
1889
+ "**/dist/**",
1890
+ "**/build/**",
1891
+ "**/coverage/**"
1892
+ ];
1883
1893
  EXTENSION_BY_LANG = {
1884
1894
  typescript: [".ts", ".tsx"],
1885
1895
  javascript: [".js", ".jsx", ".mjs", ".cjs"],
@@ -15731,7 +15741,7 @@ function assembleCandidateReport(input) {
15731
15741
  var WHATWG_BAD_PORTS, BAD_PORT_SET, VALID_TYPES, CONVENTIONAL_PATTERN, LOOKBACK_PATTERN, PulseDbSourceSchema, PulseSourcesSchema, PulseConfigSchema, BUG_TRACK_CATEGORIES, KNOWLEDGE_TRACK_CATEGORIES, ALL_SOLUTION_CATEGORIES, ISO_DATE, BugTrackSchema, KnowledgeTrackSchema, BaseFrontmatter, SolutionDocFrontmatterSchema, TRACK_CATEGORIES, DEFAULT_AGNIX_TIMEOUT_MS, HARNESS_AGNIX_DISABLE, HARNESS_AGNIX_BIN, CLAUDE_MD_WARN_BYTES, CLAUDE_MD_ERROR_BYTES, CONTEXT_FILES, MIN_DESCRIPTION_LENGTH, SETTINGS_PATHS, KNOWN_HOOK_EVENTS, MCP_SETTINGS_FILES, REQUIRED_SECTIONS, SETTINGS_FILES, KNOWN_AGNIX_TOOLS, KEBAB_CASE, TICKET_ID, DEFAULT_SECTIONS, DEFAULT_RATIOS, NODE_TYPE_TO_CATEGORY, SECTION_LEVEL_MAP, DEFAULT_LEVEL, DEFAULT_BUDGET, DEFAULT_LOADER_CONFIG, LEVEL_FRACTIONS, PHASE_PRIORITIES, ManifestSchema, BundleConstraintsSchema, BundleSchema, ContributionsSchema, LockfilePackageSchema, LockfileSchema, SharableLayerSchema, SharableForbiddenImportSchema, SharableBoundaryConfigSchema, SharableSecurityRulesSchema, VALID_SCOPES, LINE_PATTERN, START_PATTERN, END_PATTERN, TS_HINTS, TS_CONVENTIONS, PYTHON_HINTS, PYTHON_CONVENTIONS, DEFAULT_INCLUDE_PATTERNS, CODE_BLOCK_LANGUAGES, DEFAULT_DRIFT_CONFIG, JS_EXT_FALLBACKS2, FILE_TYPES, EXPORT_TYPES, CONVENTION_DESCRIPTIONS, RULE_CHECKERS, EntropyAnalyzer, readFile62, writeFile32, unlink22, mkdir22, copyFile2, DEFAULT_FIX_CONFIG, EXPORT_TYPE_KEYWORD, ALWAYS_UNSAFE_TYPES, idCounter, DEAD_CODE_FIX_ACTIONS, MustExportRuleSchema, MustExportDefaultRuleSchema, NoExportRuleSchema, MustImportRuleSchema, NoImportRuleSchema, NamingRuleSchema, MaxExportsRuleSchema, MaxLinesRuleSchema, RequireJSDocRuleSchema, RuleSchema, ConfigPatternSchema, PatternConfigSchema, DriftConfigSchema, DeadCodeConfigSchema, EntropyConfigSchema, BaselineManager, BenchmarkRunner, RegressionDetector, SOURCE_EXTENSIONS, FUNCTION_DECL_RE, CONST_DECL_RE, CriticalPathResolver, NoOpTelemetryAdapter, NoOpExecutor, ConsoleSink, feedbackConfig, ChecklistBuilder, AgentActionEmitter, globalEmitter, FileSink, NoOpSink, CategorySnapshotSchema, TimelineSnapshotSchema, TimelineFileSchema, TrendLineSchema, TrendResultSchema, DEFAULT_STABILITY_THRESHOLDS, ALL_CATEGORIES, TimelineManager, ConfidenceTierSchema, RegressionResultSchema, DirectionSchema, CategoryForecastSchema, SpecImpactSignalsSchema, SpecImpactEstimateSchema, ContributingFeatureSchema, AdjustedForecastSchema, PredictionWarningSchema, StabilityForecastSchema, PredictionResultSchema, PredictionOptionsSchema, VALID_STATUSES, EM_DASH, VALID_PRIORITIES, ALL_CATEGORIES2, DIRECTION_THRESHOLD, PredictionEngine, DEFAULT_COEFFICIENTS, SpecImpactEstimator, EMPTY_HISTORY, ViolationHistoryManager, NORMALIZERS, MAX_SAMPLES, DEFAULT_WINDOW_WEEKS, DEFAULT_MIN_OCCURRENCES, FailureEntrySchema, HandoffSchema, GateCheckSchema, GateResultSchema, GateConfigSchema, HarnessStateSchema, DEFAULT_STATE, StreamInfoSchema, StreamIndexSchema, DEFAULT_STREAM_INDEX, HARNESS_DIR, STATE_FILE, LEARNINGS_FILE, FAILURES_FILE, HANDOFF_FILE, GATE_CONFIG_FILE, INDEX_FILE, SESSIONS_DIR, SESSION_INDEX_FILE, SUMMARY_FILE, SESSION_STATE_FILE, ARCHIVE_DIR, CONTENT_HASHES_FILE, EVENTS_FILE, STREAMS_DIR, STREAM_NAME_REGEX, branchCache, BRANCH_CACHE_TTL_MS, STATE_FILES, MAX_CACHE_ENTRIES, learningsCacheMap, WEIGHTS, LOCK_RETRIES, LOCK_BACKOFFS, PROMOTABLE_OUTCOMES, failuresCacheMap, FAILURE_LINE_REGEX, SAFE_GATE_COMMAND, SkillEventSchema, knownHashesCache, EVENT_FORMATTERS, RuleRegistry, DEFAULT_SECURITY_CONFIG, RuleOverrideSchema, SecurityConfigSchema, secretRules, injectionRules, xssRules, cryptoRules, pathTraversalRules, networkRules, deserializationRules, agentConfigRules, mcpRules, insecureDefaultsRules, sharpEdgesRules, nodeRules, expressRules, reactRules, goRules, SecurityScanner, hiddenUnicodePatterns, reRolingPatterns, permissionEscalationPatterns, encodedPayloadPatterns, indirectInjectionPatterns, contextManipulationPatterns, socialEngineeringPatterns, suspiciousPatterns, ALL_PATTERNS, DESTRUCTIVE_BASH, TAINT_DURATION_MS, DEFAULT_SESSION_ID, SecurityCategorySnapshotSchema, SupplyChainSnapshotSchema, SecurityTimelineSnapshotSchema, FindingLifecycleSchema, SecurityTimelineFileSchema, DirectionSchema2, SecurityTrendLineSchema, TrendAttributionSchema, SecurityTrendResultSchema, TimeToFixStatsSchema, TimeToFixResultSchema, EMPTY_SUPPLY_CHAIN, SecurityTimelineManager, ALL_CHECKS, STATUS_ICONS, CINotifier, ExclusionSet, PREFIX_PATTERNS, TEST_FILE_PATTERN, MD_FILE_PATTERN, ALL_DOMAINS, SECURITY_PATTERNS, JS_EXT_FALLBACKS22, SEVERITY_RANK, SEVERITY_ORDER, SEVERITY_LABELS, VALIDATED_BY_RANK, VALIDATION_SCORES, DOMAIN_BASELINES, FACTOR_WEIGHTS, EVIDENCE_SATURATION, CORROBORATED_AGREEMENT, STANDALONE_AGREEMENT, AGREEMENT_LINE_GAP, COMPLIANCE_DESCRIPTOR, EXPORT_RE, BUG_DETECTION_DESCRIPTOR, SECURITY_DESCRIPTOR, EVAL_PATTERN, SECRET_PATTERNS, SQL_CONCAT_PATTERN, SHELL_EXEC_PATTERN, ARCHITECTURE_DESCRIPTOR, LARGE_FILE_THRESHOLD, VIOLATION_FILE_RE, LEARNINGS_DESCRIPTOR, RELEVANCE_THRESHOLD, AGENT_DESCRIPTORS, AGENT_RUNNERS, DOWNGRADE_MAP, DEFAULT_PROVIDER_TIERS, SMALL_SUGGESTION_LINE_LIMIT, FILE_LINE_RANGE_PATTERN, FILE_LINE_PATTERN, FILE_ONLY_PATTERN, SECURITY_SENSITIVE_PATH, MIGRATION_PATH, TEST_PATH, CONFIG_PATH, STAGE_DOMAINS, EM_DASH2, STATUS_RANK, RETRY_DEFAULTS, GitHubIssuesSyncAdapter, syncMutex, PRIORITY_RANK, PRIORITY_RANK2, POSITION_WEIGHT, DEPENDENTS_WEIGHT, AFFINITY_WEIGHT, ConflictError, DEFAULTS, GitHubHttp, ETagStore, START_MARKER, END_MARKER, SERIALIZER_FIELDS, GitHubIssuesTrackerAdapter, migrate_exports, HASH_RE, InteractionTypeSchema, QuestionSchema, ConfirmationSchema, TransitionSchema, EmitInteractionInputSchema, ProjectScanner, SHELL_TEMPLATE, STYLES, SCRIPTS, MockLLMService, llmService, ContentPipeline, BlueprintGenerator, TOKENS_PER_MILLION, fallback_default, LITELLM_PRICING_URL, CACHE_TTL_MS, STALENESS_WARNING_DAYS, MICRODOLLARS_PER_DOLLAR, TOKENS_PER_MILLION2, StructuralStrategy, DEFAULT_TOKEN_BUDGET, CHARS_PER_TOKEN, TRUNCATION_MARKER, TruncationStrategy, CompactionPipeline, STABILITY_LOOKUP, TIER_ORDER, AnthropicCacheAdapter, TIER_ORDER2, OpenAICacheAdapter, TIER_ORDER3, CACHED_CONTENT_MARKER, GeminiCacheAdapter, VERSION, POSTHOG_BATCH_URL, MAX_ATTEMPTS, TIMEOUT_MS, DEFAULT_CAPACITY, CacheMetricsRecorder, RETRY_BACKOFFS_MS, OTLPExporter, SpanKind, CompoundLockHeldError, KNOWN_CATEGORIES, ALLOWED_FIELD_KEYS, PII_TOKENS, PII_FIELD_DENYLIST, PII_LINE_RE, ALLOWED_SET, PulseAdapterAlreadyRegisteredError, REGISTRY, MOCK_ADAPTER_NAME, ALLOWED_FIELD_SET, adapter, LOOKBACK_RE, MAX_LINES, INLINE_TEMPLATE, TRUNCATION_MARKER2, execFileAsync, FIX_RE, EMPTY_REPO_RE, execFileAsync2, TRACK_CATEGORIES2, STOPWORDS, KEYWORD_TO_CATEGORY;
15732
15742
  var init_dist3 = __esm({
15733
15743
  "../core/dist/index.mjs"() {
15734
- init_chunk_4UI65RLE();
15744
+ init_chunk_JIOBXIVB();
15735
15745
  init_dist();
15736
15746
  init_dist2();
15737
15747
  init_dist2();
@@ -19271,7 +19281,11 @@ var init_dist3 = __esm({
19271
19281
  severity: "high",
19272
19282
  category: "explicit-re-roling",
19273
19283
  description: "Direct instruction override attempt",
19274
- pattern: /(?:new\s+)?(?:system\s+)?(?:instruction|directive|role|persona)\s*[:=]\s*/i
19284
+ // Requires an override verb (new/override/replace/set/reassign/reset/switch/update/change)
19285
+ // before the keyword so plain documentation headings like `_Agent & Persona:_` or YAML
19286
+ // keys like `role: developer` do not trigger. Real overrides ("new system instruction:",
19287
+ // "override directive:", "set role: admin") still match.
19288
+ pattern: /(?:new|override|replace|set|reassign|reset|switch(?:\s+to)?|update|change)\s+(?:system\s+)?(?:instruction|directive|role|persona)s?\s*[:=]\s*/i
19275
19289
  }
19276
19290
  ];
19277
19291
  permissionEscalationPatterns = [
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveConfig
3
- } from "./chunk-MXOQEI72.js";
3
+ } from "./chunk-KEF624FQ.js";
4
4
  import {
5
5
  init_dist
6
- } from "./chunk-2TGCYJMT.js";
6
+ } from "./chunk-65M5R3X6.js";
7
7
  import {
8
8
  Ok
9
9
  } from "./chunk-O63AAPIZ.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  listPersonas,
6
6
  loadPersona
7
- } from "./chunk-NTOKQJOX.js";
7
+ } from "./chunk-4H2KIQ3I.js";
8
8
  import {
9
9
  GENERATED_HEADER_AGENT,
10
10
  VALID_PLATFORMS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectConfig
3
- } from "./chunk-LJF6UY4R.js";
3
+ } from "./chunk-LJTQVJEP.js";
4
4
  import {
5
5
  resultToMcpResponse
6
6
  } from "./chunk-EPUKTTJZ.js";
@@ -38,7 +38,7 @@ async function handleCheckDependencies(input) {
38
38
  const configResult = resolveProjectConfig(projectPath);
39
39
  if (!configResult.ok) return resultToMcpResponse(configResult);
40
40
  try {
41
- const { validateDependencies, TypeScriptParser } = await import("./dist-HA6IIPRC.js");
41
+ const { validateDependencies, TypeScriptParser } = await import("./dist-SVZHSOLP.js");
42
42
  const config = configResult.value;
43
43
  const rawLayers = Array.isArray(config.layers) ? config.layers : [];
44
44
  const layers = rawLayers.map((l) => ({
@@ -72,7 +72,7 @@ async function handleAssessProject(input) {
72
72
  let validateResult = null;
73
73
  if (checksToRun.has("validate")) {
74
74
  try {
75
- const { handleValidateProject } = await import("./validate-55HGQKWR.js");
75
+ const { handleValidateProject } = await import("./validate-S7G6H7F4.js");
76
76
  const result = await handleValidateProject({ path: projectPath });
77
77
  const out = parseToolResponse(result, "validate");
78
78
  if ("error" in out) {
@@ -101,7 +101,7 @@ async function handleAssessProject(input) {
101
101
  parallelChecks.push(
102
102
  (async () => {
103
103
  try {
104
- const { handleCheckDependencies } = await import("./architecture-3ZSN5RDQ.js");
104
+ const { handleCheckDependencies } = await import("./architecture-NX7FWQD3.js");
105
105
  const result = await handleCheckDependencies({ path: projectPath });
106
106
  const out = parseToolResponse(result, "deps");
107
107
  if ("error" in out) return out.error;
@@ -129,7 +129,7 @@ async function handleAssessProject(input) {
129
129
  parallelChecks.push(
130
130
  (async () => {
131
131
  try {
132
- const { handleCheckDocs } = await import("./docs-D6WI2LCF.js");
132
+ const { handleCheckDocs } = await import("./docs-7LXCR62T.js");
133
133
  const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
134
134
  const out = parseToolResponse(result, "docs");
135
135
  if ("error" in out) return out.error;
@@ -157,7 +157,7 @@ async function handleAssessProject(input) {
157
157
  parallelChecks.push(
158
158
  (async () => {
159
159
  try {
160
- const { handleDetectEntropy } = await import("./entropy-V6M4KJDC.js");
160
+ const { handleDetectEntropy } = await import("./entropy-LMOXWMR4.js");
161
161
  const result = await handleDetectEntropy({ path: projectPath, type: "all" });
162
162
  const out = parseToolResponse(result, "entropy");
163
163
  if ("error" in out) return out.error;
@@ -188,7 +188,7 @@ async function handleAssessProject(input) {
188
188
  parallelChecks.push(
189
189
  (async () => {
190
190
  try {
191
- const { handleRunSecurityScan } = await import("./security-WOVOBLCI.js");
191
+ const { handleRunSecurityScan } = await import("./security-AZNLX3N6.js");
192
192
  const result = await handleRunSecurityScan({ path: projectPath });
193
193
  const out = parseToolResponse(result, "security");
194
194
  if ("error" in out) return out.error;
@@ -221,7 +221,7 @@ async function handleAssessProject(input) {
221
221
  parallelChecks.push(
222
222
  (async () => {
223
223
  try {
224
- const { handleCheckPerformance } = await import("./performance-MVORVVMG.js");
224
+ const { handleCheckPerformance } = await import("./performance-WZQIUHLR.js");
225
225
  const result = await handleCheckPerformance({ path: projectPath });
226
226
  if ("isError" in result && result.isError) {
227
227
  const msg = result.content[0]?.text ?? "Performance check failed";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-W6Y7ZW3Y.js";
7
7
  import {
8
8
  init_dist
9
- } from "./chunk-2TGCYJMT.js";
9
+ } from "./chunk-65M5R3X6.js";
10
10
  import {
11
11
  Ok
12
12
  } from "./chunk-O63AAPIZ.js";
@@ -127,7 +127,7 @@ function buildSummaryResponse(report) {
127
127
  }
128
128
  async function handleDetectEntropy(input) {
129
129
  try {
130
- const { EntropyAnalyzer } = await import("./dist-HA6IIPRC.js");
130
+ const { EntropyAnalyzer } = await import("./dist-SVZHSOLP.js");
131
131
  const typeFilter = input.type ?? "all";
132
132
  const analyzer = new EntropyAnalyzer({
133
133
  rootDir: sanitizePath(input.path),
@@ -146,7 +146,7 @@ async function handleDetectEntropy(input) {
146
146
  return resultToMcpResponse(result);
147
147
  }
148
148
  if (!result.ok) return resultToMcpResponse(result);
149
- const { createFixes, applyFixes, generateSuggestions } = await import("./dist-HA6IIPRC.js");
149
+ const { createFixes, applyFixes, generateSuggestions } = await import("./dist-SVZHSOLP.js");
150
150
  const report = result.value;
151
151
  const deadCode = report.deadCode;
152
152
  const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;