@harness-engineering/cli 1.16.0 → 1.18.0

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 (49) hide show
  1. package/dist/agents/skills/claude-code/harness-roadmap-pilot/SKILL.md +204 -0
  2. package/dist/agents/skills/claude-code/harness-roadmap-pilot/skill.yaml +52 -0
  3. package/dist/agents/skills/codex/harness-roadmap-pilot/SKILL.md +204 -0
  4. package/dist/agents/skills/codex/harness-roadmap-pilot/skill.yaml +52 -0
  5. package/dist/agents/skills/cursor/harness-roadmap-pilot/SKILL.md +204 -0
  6. package/dist/agents/skills/cursor/harness-roadmap-pilot/skill.yaml +52 -0
  7. package/dist/agents/skills/gemini-cli/harness-roadmap-pilot/SKILL.md +204 -0
  8. package/dist/agents/skills/gemini-cli/harness-roadmap-pilot/skill.yaml +52 -0
  9. package/dist/agents/skills/package.json +5 -5
  10. package/dist/{agents-md-VYDFPIRW.js → agents-md-DUYNKHJZ.js} +1 -1
  11. package/dist/{architecture-K5HSRBGB.js → architecture-UBO5KKUV.js} +2 -2
  12. package/dist/bin/harness-mcp.js +13 -12
  13. package/dist/bin/harness.js +18 -15
  14. package/dist/{check-phase-gate-5AS6SXL6.js → check-phase-gate-OSHN2AEL.js} +3 -3
  15. package/dist/{chunk-JOP2NDNB.js → chunk-2DMIQ35P.js} +151 -79
  16. package/dist/{chunk-TF6ZLHJV.js → chunk-5FM64G6D.js} +2 -2
  17. package/dist/{chunk-5ZXHMCPL.js → chunk-ABQUCXRE.js} +2 -1
  18. package/dist/{chunk-AV6KMDO5.js → chunk-APNPXLB2.js} +4 -4
  19. package/dist/{chunk-FTMXDOR6.js → chunk-CZZXE6BL.js} +1 -1
  20. package/dist/{chunk-SFRGPAK6.js → chunk-GWXP3JVA.js} +3 -3
  21. package/dist/{chunk-SHYWICGA.js → chunk-OA3MOZGG.js} +22 -22
  22. package/dist/{chunk-RWZPHW4H.js → chunk-OHZVGIPE.js} +9 -9
  23. package/dist/{chunk-C7DTKLPW.js → chunk-QSRRBNLY.js} +8 -8
  24. package/dist/{chunk-QDF7COPQ.js → chunk-TG7IUJ3J.js} +1 -1
  25. package/dist/{chunk-DNDBFIZN.js → chunk-TZIHFNEG.js} +7 -7
  26. package/dist/{chunk-ZJMU7MEV.js → chunk-UX3JHYEA.js} +1 -1
  27. package/dist/{chunk-ALFKNAZW.js → chunk-VF23UTNB.js} +545 -36
  28. package/dist/{chunk-7MJAPE3Z.js → chunk-YLN34N65.js} +1 -0
  29. package/dist/{chunk-OCDDCGDE.js → chunk-ZA2I7S3E.js} +20 -1
  30. package/dist/{ci-workflow-CRWU723U.js → ci-workflow-FJZMNZPT.js} +1 -1
  31. package/dist/{dist-4LPXJYVZ.js → dist-MF5BK5AD.js} +19 -1
  32. package/dist/{dist-B26DFXMP.js → dist-U7EAO6T2.js} +110 -60
  33. package/dist/{docs-4JRHTLUZ.js → docs-WZHW4N4P.js} +3 -3
  34. package/dist/{engine-3G3VIM6L.js → engine-VS6ZJ2VZ.js} +2 -2
  35. package/dist/{entropy-G6CZ2A6P.js → entropy-FCIGJIIT.js} +2 -2
  36. package/dist/{feedback-QYKQ65HB.js → feedback-O3FYTZIE.js} +1 -1
  37. package/dist/{generate-agent-definitions-SAAOAPT4.js → generate-agent-definitions-EYG263XD.js} +1 -1
  38. package/dist/{graph-loader-2M2HXDQI.js → graph-loader-KMHDQYDT.js} +1 -1
  39. package/dist/index.d.ts +70 -11
  40. package/dist/index.js +15 -15
  41. package/dist/{loader-VCOK3PF7.js → loader-B4XWX4K6.js} +1 -1
  42. package/dist/{mcp-YENEPHBW.js → mcp-DVVUODN7.js} +12 -12
  43. package/dist/{performance-UBCFI2UP.js → performance-NMJDV6HF.js} +3 -3
  44. package/dist/{review-pipeline-IQAVCWAX.js → review-pipeline-MSEJWTKM.js} +1 -1
  45. package/dist/{runtime-PYFFIESU.js → runtime-YHVLJNPG.js} +1 -1
  46. package/dist/{security-ZDADTPYW.js → security-HTDKKGMX.js} +1 -1
  47. package/dist/{validate-VRTUHALQ.js → validate-SPSTH2YW.js} +2 -2
  48. package/dist/{validate-cross-check-4Y6NHNK3.js → validate-cross-check-YTDWIMFI.js} +1 -1
  49. package/package.json +21 -21
@@ -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-4LPXJYVZ.js");
52
+ const core = await import("./dist-MF5BK5AD.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-4LPXJYVZ.js");
71
+ const core = await import("./dist-MF5BK5AD.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);
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-EBJQ6N4M.js";
4
4
  import {
5
5
  resolveConfig
6
- } from "./chunk-OCDDCGDE.js";
6
+ } from "./chunk-ZA2I7S3E.js";
7
7
  import {
8
8
  ExitCode
9
9
  } from "./chunk-3WGJMBKH.js";
@@ -43,6 +43,7 @@ var OutputFormatter = class {
43
43
  constructor(mode = OutputMode.TEXT) {
44
44
  this.mode = mode;
45
45
  }
46
+ mode;
46
47
  /**
47
48
  * Formats raw data for output.
48
49
  *
@@ -10,10 +10,10 @@ import {
10
10
 
11
11
  // src/mcp/tools/entropy.ts
12
12
  async function loadEntropyGraphOptions(projectPath) {
13
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
13
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
14
14
  const store = await loadGraphStore(projectPath);
15
15
  if (!store) return void 0;
16
- const { GraphEntropyAdapter } = await import("./dist-B26DFXMP.js");
16
+ const { GraphEntropyAdapter } = await import("./dist-U7EAO6T2.js");
17
17
  const adapter = new GraphEntropyAdapter(store);
18
18
  const driftData = adapter.computeDriftData();
19
19
  const deadCodeData = adapter.computeDeadCodeData();
@@ -123,7 +123,7 @@ function buildSummaryResponse(report) {
123
123
  }
124
124
  async function handleDetectEntropy(input) {
125
125
  try {
126
- const { EntropyAnalyzer } = await import("./dist-4LPXJYVZ.js");
126
+ const { EntropyAnalyzer } = await import("./dist-MF5BK5AD.js");
127
127
  const typeFilter = input.type ?? "all";
128
128
  const analyzer = new EntropyAnalyzer({
129
129
  rootDir: sanitizePath(input.path),
@@ -142,7 +142,7 @@ async function handleDetectEntropy(input) {
142
142
  return resultToMcpResponse(result);
143
143
  }
144
144
  if (!result.ok) return resultToMcpResponse(result);
145
- const { createFixes, applyFixes, generateSuggestions } = await import("./dist-4LPXJYVZ.js");
145
+ const { createFixes, applyFixes, generateSuggestions } = await import("./dist-MF5BK5AD.js");
146
146
  const report = result.value;
147
147
  const deadCode = report.deadCode;
148
148
  const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
@@ -15,7 +15,7 @@ function evictIfNeeded() {
15
15
  }
16
16
  }
17
17
  async function doLoadGraphStore(projectRoot) {
18
- const { GraphStore } = await import("./dist-B26DFXMP.js");
18
+ const { GraphStore } = await import("./dist-U7EAO6T2.js");
19
19
  const graphDir = path.join(projectRoot, ".harness", "graph");
20
20
  const store = new GraphStore();
21
21
  const loaded = await store.load(graphDir);
@@ -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-4LPXJYVZ.js");
41
+ const { validateDependencies, TypeScriptParser } = await import("./dist-MF5BK5AD.js");
42
42
  const config = configResult.value;
43
43
  const rawLayers = Array.isArray(config.layers) ? config.layers : [];
44
44
  const layers = rawLayers.map((l) => ({
@@ -47,11 +47,11 @@ async function handleCheckDependencies(input) {
47
47
  allowedDependencies: l.allowedDependencies
48
48
  }));
49
49
  const parser = new TypeScriptParser();
50
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
50
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
51
51
  const store = await loadGraphStore(projectPath);
52
52
  let graphDependencyData;
53
53
  if (store) {
54
- const { GraphConstraintAdapter } = await import("./dist-B26DFXMP.js");
54
+ const { GraphConstraintAdapter } = await import("./dist-U7EAO6T2.js");
55
55
  const adapter = new GraphConstraintAdapter(store);
56
56
  const graphData = adapter.computeDependencyGraph();
57
57
  graphDependencyData = {
@@ -6,7 +6,7 @@ import {
6
6
  OutputMode,
7
7
  createCheckPhaseGateCommand,
8
8
  findFiles
9
- } from "./chunk-5ZXHMCPL.js";
9
+ } from "./chunk-ABQUCXRE.js";
10
10
  import {
11
11
  createGenerateAgentDefinitionsCommand,
12
12
  generateAgentDefinitions
@@ -50,14 +50,14 @@ import {
50
50
  handleGetImpact,
51
51
  handleOrphanDeletion,
52
52
  persistToolingConfig
53
- } from "./chunk-JOP2NDNB.js";
53
+ } from "./chunk-2DMIQ35P.js";
54
54
  import {
55
55
  VALID_PLATFORMS
56
56
  } from "./chunk-CJDVBBPB.js";
57
57
  import {
58
58
  findConfigFile,
59
59
  resolveConfig
60
- } from "./chunk-OCDDCGDE.js";
60
+ } from "./chunk-ZA2I7S3E.js";
61
61
  import {
62
62
  resolveGlobalSkillsDir,
63
63
  resolvePersonasDir,
@@ -78,7 +78,7 @@ import {
78
78
  } from "./chunk-BM3PWGXQ.js";
79
79
  import {
80
80
  TemplateEngine
81
- } from "./chunk-7MJAPE3Z.js";
81
+ } from "./chunk-YLN34N65.js";
82
82
  import {
83
83
  ArchBaselineManager,
84
84
  ArchConfigSchema,
@@ -135,7 +135,7 @@ import {
135
135
  validateKnowledgeMap,
136
136
  writeConfig,
137
137
  writeLockfile
138
- } from "./chunk-ALFKNAZW.js";
138
+ } from "./chunk-VF23UTNB.js";
139
139
  import {
140
140
  Err,
141
141
  Ok
@@ -221,7 +221,7 @@ function createValidateCommand() {
221
221
  process.exit(result.error.exitCode);
222
222
  }
223
223
  if (opts.crossCheck) {
224
- const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-4Y6NHNK3.js");
224
+ const { runCrossCheck: runCrossCheck2 } = await import("./validate-cross-check-YTDWIMFI.js");
225
225
  const cwd = process.cwd();
226
226
  const specsDir = path.join(cwd, "docs", "specs");
227
227
  const plansDir = path.join(cwd, "docs", "plans");
@@ -578,7 +578,7 @@ function registerBenchCommand(perf) {
578
578
  perf.command("bench [glob]").description("Run benchmarks via vitest bench").action(async (glob, _opts, cmd) => {
579
579
  const globalOpts = cmd.optsWithGlobals();
580
580
  const cwd = process.cwd();
581
- const { BenchmarkRunner } = await import("./dist-4LPXJYVZ.js");
581
+ const { BenchmarkRunner } = await import("./dist-MF5BK5AD.js");
582
582
  const runner = new BenchmarkRunner();
583
583
  const benchFiles = runner.discover(cwd, glob);
584
584
  if (benchFiles.length === 0) {
@@ -646,7 +646,7 @@ function registerBaselinesCommands(perf) {
646
646
  baselines.command("update").description("Update baselines from latest benchmark run").action(async (_opts, cmd) => {
647
647
  const globalOpts = cmd.optsWithGlobals();
648
648
  const cwd = process.cwd();
649
- const { BenchmarkRunner } = await import("./dist-4LPXJYVZ.js");
649
+ const { BenchmarkRunner } = await import("./dist-MF5BK5AD.js");
650
650
  const runner = new BenchmarkRunner();
651
651
  const manager = new BaselineManager(cwd);
652
652
  logger.info("Running benchmarks to update baselines...");
@@ -679,7 +679,7 @@ function registerReportCommand(perf) {
679
679
  perf.command("report").description("Full performance report with metrics, trends, and hotspots").action(async (_opts, cmd) => {
680
680
  const globalOpts = cmd.optsWithGlobals();
681
681
  const cwd = process.cwd();
682
- const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-4LPXJYVZ.js");
682
+ const { EntropyAnalyzer: EntropyAnalyzer2 } = await import("./dist-MF5BK5AD.js");
683
683
  const analyzer = new EntropyAnalyzer2({
684
684
  rootDir: path5.resolve(cwd),
685
685
  analyze: { complexity: true, coupling: true }
@@ -4753,7 +4753,7 @@ function createGenerateCommand3() {
4753
4753
  import { Command as Command46 } from "commander";
4754
4754
  import * as path38 from "path";
4755
4755
  async function runScan(projectPath) {
4756
- const { GraphStore, CodeIngestor, TopologicalLinker, KnowledgeIngestor, GitIngestor } = await import("./dist-B26DFXMP.js");
4756
+ const { GraphStore, CodeIngestor, TopologicalLinker, KnowledgeIngestor, GitIngestor } = await import("./dist-U7EAO6T2.js");
4757
4757
  const store = new GraphStore();
4758
4758
  const start = Date.now();
4759
4759
  await new CodeIngestor(store).ingest(projectPath);
@@ -4834,7 +4834,7 @@ async function runIngest(projectPath, source, opts) {
4834
4834
  SyncManager,
4835
4835
  JiraConnector,
4836
4836
  SlackConnector
4837
- } = await import("./dist-B26DFXMP.js");
4837
+ } = await import("./dist-U7EAO6T2.js");
4838
4838
  const graphDir = path39.join(projectPath, ".harness", "graph");
4839
4839
  const store = new GraphStore();
4840
4840
  await store.load(graphDir);
@@ -4927,7 +4927,7 @@ function createIngestCommand() {
4927
4927
  import { Command as Command48 } from "commander";
4928
4928
  import * as path40 from "path";
4929
4929
  async function runQuery(projectPath, rootNodeId, opts) {
4930
- const { GraphStore, ContextQL } = await import("./dist-B26DFXMP.js");
4930
+ const { GraphStore, ContextQL } = await import("./dist-U7EAO6T2.js");
4931
4931
  const store = new GraphStore();
4932
4932
  const graphDir = path40.join(projectPath, ".harness", "graph");
4933
4933
  const loaded = await store.load(graphDir);
@@ -4976,7 +4976,7 @@ import { Command as Command49 } from "commander";
4976
4976
  // src/commands/graph/status.ts
4977
4977
  import * as path41 from "path";
4978
4978
  async function runGraphStatus(projectPath) {
4979
- const { GraphStore } = await import("./dist-B26DFXMP.js");
4979
+ const { GraphStore } = await import("./dist-U7EAO6T2.js");
4980
4980
  const graphDir = path41.join(projectPath, ".harness", "graph");
4981
4981
  const store = new GraphStore();
4982
4982
  const loaded = await store.load(graphDir);
@@ -5016,7 +5016,7 @@ async function runGraphStatus(projectPath) {
5016
5016
  // src/commands/graph/export.ts
5017
5017
  import * as path42 from "path";
5018
5018
  async function runGraphExport(projectPath, format) {
5019
- const { GraphStore } = await import("./dist-B26DFXMP.js");
5019
+ const { GraphStore } = await import("./dist-U7EAO6T2.js");
5020
5020
  const graphDir = path42.join(projectPath, ".harness", "graph");
5021
5021
  const store = new GraphStore();
5022
5022
  const loaded = await store.load(graphDir);
@@ -5095,7 +5095,7 @@ function createGraphCommand() {
5095
5095
  import { Command as Command50 } from "commander";
5096
5096
  function createMcpCommand() {
5097
5097
  return new Command50("mcp").description("Start the MCP (Model Context Protocol) server on stdio").option("--tools <tools...>", "Only register the specified tools (used by Cursor integration)").action(async (opts) => {
5098
- const { startServer: startServer2 } = await import("./mcp-YENEPHBW.js");
5098
+ const { startServer: startServer2 } = await import("./mcp-DVVUODN7.js");
5099
5099
  await startServer2(opts.tools);
5100
5100
  });
5101
5101
  }
@@ -6594,7 +6594,7 @@ function createIntegrationsCommand() {
6594
6594
  // src/commands/usage.ts
6595
6595
  import { Command as Command67 } from "commander";
6596
6596
  async function loadAndPriceRecords(cwd, includeClaudeSessions = false) {
6597
- const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-4LPXJYVZ.js");
6597
+ const { readCostRecords, loadPricingData, calculateCost, parseCCRecords } = await import("./dist-MF5BK5AD.js");
6598
6598
  const records = readCostRecords(cwd);
6599
6599
  if (includeClaudeSessions) {
6600
6600
  const ccRecords = parseCCRecords();
@@ -6638,7 +6638,7 @@ function registerDailyCommand(usage) {
6638
6638
  }
6639
6639
  return;
6640
6640
  }
6641
- const { aggregateByDay } = await import("./dist-4LPXJYVZ.js");
6641
+ const { aggregateByDay } = await import("./dist-MF5BK5AD.js");
6642
6642
  const dailyData = aggregateByDay(records);
6643
6643
  const limited = dailyData.slice(0, days);
6644
6644
  if (globalOpts.json) {
@@ -6674,7 +6674,7 @@ function registerSessionsCommand(usage) {
6674
6674
  }
6675
6675
  return;
6676
6676
  }
6677
- const { aggregateBySession } = await import("./dist-4LPXJYVZ.js");
6677
+ const { aggregateBySession } = await import("./dist-MF5BK5AD.js");
6678
6678
  const sessionData = aggregateBySession(records);
6679
6679
  const limited = sessionData.slice(0, limit);
6680
6680
  if (globalOpts.json) {
@@ -6703,7 +6703,7 @@ function registerSessionCommand(usage) {
6703
6703
  const globalOpts = cmd.optsWithGlobals();
6704
6704
  const cwd = process.cwd();
6705
6705
  const records = await loadAndPriceRecords(cwd, globalOpts.includeClaudeSessions);
6706
- const { aggregateBySession } = await import("./dist-4LPXJYVZ.js");
6706
+ const { aggregateBySession } = await import("./dist-MF5BK5AD.js");
6707
6707
  const sessionData = aggregateBySession(records);
6708
6708
  const match = sessionData.find((s) => s.sessionId === id);
6709
6709
  if (!match) {
@@ -6769,7 +6769,7 @@ function registerLatestCommand(usage) {
6769
6769
  }
6770
6770
  return;
6771
6771
  }
6772
- const { aggregateBySession } = await import("./dist-4LPXJYVZ.js");
6772
+ const { aggregateBySession } = await import("./dist-MF5BK5AD.js");
6773
6773
  const sessionData = aggregateBySession(records);
6774
6774
  const latest = sessionData[0];
6775
6775
  if (!latest) {
@@ -6972,10 +6972,10 @@ function formatTextOutput(result) {
6972
6972
  function createScanConfigCommand() {
6973
6973
  const command = new Command69("scan-config").description(
6974
6974
  "Scan CLAUDE.md, AGENTS.md, .gemini/settings.json, and skill.yaml for prompt injection patterns"
6975
- ).option("--path <dir>", "Target directory to scan", process.cwd()).option("--fix", "Strip high-severity patterns from files in-place").action(async (opts, cmd) => {
6975
+ ).option("--path <dir>", "Target directory to scan (default: cwd)").option("--fix", "Strip high-severity patterns from files in-place").action(async (opts, cmd) => {
6976
6976
  const globalOpts = cmd.optsWithGlobals();
6977
6977
  const mode = globalOpts.json ? OutputMode.JSON : globalOpts.quiet ? OutputMode.QUIET : OutputMode.TEXT;
6978
- const result = await runScanConfig(opts.path, { fix: opts.fix });
6978
+ const result = await runScanConfig(opts.path ?? process.cwd(), { fix: opts.fix });
6979
6979
  if (mode === OutputMode.JSON) {
6980
6980
  console.log(JSON.stringify(result, null, 2));
6981
6981
  } else if (mode !== OutputMode.QUIET) {
@@ -33,7 +33,7 @@ var createSelfReviewDefinition = {
33
33
  };
34
34
  async function handleCreateSelfReview(input) {
35
35
  try {
36
- const { parseDiff, createSelfReview } = await import("./dist-4LPXJYVZ.js");
36
+ const { parseDiff, createSelfReview } = await import("./dist-MF5BK5AD.js");
37
37
  const parseResult = parseDiff(input.diff);
38
38
  if (!parseResult.ok) {
39
39
  return resultToMcpResponse(parseResult);
@@ -53,11 +53,11 @@ async function handleCreateSelfReview(input) {
53
53
  ...input.maxFileCount !== void 0 ? { maxChangedFiles: input.maxFileCount } : {}
54
54
  }
55
55
  };
56
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
56
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
57
57
  const store = await loadGraphStore(projectPath);
58
58
  let graphData;
59
59
  if (store) {
60
- const { GraphFeedbackAdapter } = await import("./dist-B26DFXMP.js");
60
+ const { GraphFeedbackAdapter } = await import("./dist-U7EAO6T2.js");
61
61
  const adapter = new GraphFeedbackAdapter(store);
62
62
  const changedFiles = parseResult.value.files.map((f) => f.path);
63
63
  const impact = adapter.computeImpactData(changedFiles);
@@ -119,7 +119,7 @@ var analyzeDiffDefinition = {
119
119
  };
120
120
  async function handleAnalyzeDiff(input) {
121
121
  try {
122
- const { parseDiff, analyzeDiff } = await import("./dist-4LPXJYVZ.js");
122
+ const { parseDiff, analyzeDiff } = await import("./dist-MF5BK5AD.js");
123
123
  const parseResult = parseDiff(input.diff);
124
124
  if (!parseResult.ok) {
125
125
  return resultToMcpResponse(parseResult);
@@ -139,10 +139,10 @@ async function handleAnalyzeDiff(input) {
139
139
  let graphImpactData;
140
140
  if (input.path) {
141
141
  try {
142
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
142
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
143
143
  const store = await loadGraphStore(sanitizePath(input.path));
144
144
  if (store) {
145
- const { GraphFeedbackAdapter } = await import("./dist-B26DFXMP.js");
145
+ const { GraphFeedbackAdapter } = await import("./dist-U7EAO6T2.js");
146
146
  const adapter = new GraphFeedbackAdapter(store);
147
147
  const changedFiles = parseResult.value.files.map((f) => f.path);
148
148
  const impact = adapter.computeImpactData(changedFiles);
@@ -195,7 +195,7 @@ var requestPeerReviewDefinition = {
195
195
  };
196
196
  async function handleRequestPeerReview(input) {
197
197
  try {
198
- const { parseDiff, requestPeerReview } = await import("./dist-4LPXJYVZ.js");
198
+ const { parseDiff, requestPeerReview } = await import("./dist-MF5BK5AD.js");
199
199
  const parseResult = parseDiff(input.diff);
200
200
  if (!parseResult.ok) {
201
201
  return resultToMcpResponse(parseResult);
@@ -206,10 +206,10 @@ async function handleRequestPeerReview(input) {
206
206
  ...input.context ? { metadata: { context: input.context } } : {}
207
207
  };
208
208
  try {
209
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
209
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
210
210
  const store = await loadGraphStore(sanitizePath(input.path));
211
211
  if (store) {
212
- const { GraphFeedbackAdapter } = await import("./dist-B26DFXMP.js");
212
+ const { GraphFeedbackAdapter } = await import("./dist-U7EAO6T2.js");
213
213
  const adapter = new GraphFeedbackAdapter(store);
214
214
  const changedFiles = parseResult.value.files.map((f) => f.path);
215
215
  const impactData = adapter.computeImpactData(changedFiles);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findConfigFile,
3
3
  loadConfig
4
- } from "./chunk-OCDDCGDE.js";
4
+ } from "./chunk-ZA2I7S3E.js";
5
5
  import {
6
6
  resultToMcpResponse
7
7
  } from "./chunk-IDZNPTYD.js";
@@ -46,18 +46,18 @@ async function handleCheckDocs(input) {
46
46
  const projectPath = sanitizePath(input.path);
47
47
  const scope = input.scope ?? "coverage";
48
48
  if (scope === "integrity") {
49
- const { validateKnowledgeMap } = await import("./dist-4LPXJYVZ.js");
49
+ const { validateKnowledgeMap } = await import("./dist-MF5BK5AD.js");
50
50
  const result2 = await validateKnowledgeMap(projectPath);
51
51
  return resultToMcpResponse(result2);
52
52
  }
53
53
  if (scope === "all") {
54
- const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-4LPXJYVZ.js");
54
+ const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-MF5BK5AD.js");
55
55
  const domain2 = input.domain ?? "src";
56
- const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-2M2HXDQI.js");
56
+ const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-KMHDQYDT.js");
57
57
  const store2 = await loadGraphStore2(projectPath);
58
58
  let graphCoverage2;
59
59
  if (store2) {
60
- const { Assembler } = await import("./dist-B26DFXMP.js");
60
+ const { Assembler } = await import("./dist-U7EAO6T2.js");
61
61
  const assembler = new Assembler(store2);
62
62
  const report = assembler.checkCoverage();
63
63
  graphCoverage2 = {
@@ -90,13 +90,13 @@ async function handleCheckDocs(input) {
90
90
  }
91
91
  return resultToMcpResponse(Ok({ coverage, integrity }));
92
92
  }
93
- const { checkDocCoverage } = await import("./dist-4LPXJYVZ.js");
93
+ const { checkDocCoverage } = await import("./dist-MF5BK5AD.js");
94
94
  const domain = input.domain ?? "src";
95
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
95
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
96
96
  const store = await loadGraphStore(projectPath);
97
97
  let graphCoverage;
98
98
  if (store) {
99
- const { Assembler } = await import("./dist-B26DFXMP.js");
99
+ const { Assembler } = await import("./dist-U7EAO6T2.js");
100
100
  const assembler = new Assembler(store);
101
101
  const report = assembler.checkCoverage();
102
102
  graphCoverage = {
@@ -26,7 +26,7 @@ var runSecurityScanDefinition = {
26
26
  };
27
27
  async function handleRunSecurityScan(input) {
28
28
  try {
29
- const core = await import("./dist-4LPXJYVZ.js");
29
+ const core = await import("./dist-MF5BK5AD.js");
30
30
  const projectRoot = sanitizePath(input.path);
31
31
  let configData = {};
32
32
  try {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findConfigFile,
3
3
  loadConfig
4
- } from "./chunk-OCDDCGDE.js";
4
+ } from "./chunk-ZA2I7S3E.js";
5
5
  import {
6
6
  resultToMcpResponse
7
7
  } from "./chunk-IDZNPTYD.js";
@@ -31,7 +31,7 @@ var checkPerformanceDefinition = {
31
31
  };
32
32
  async function handleCheckPerformance(input) {
33
33
  try {
34
- const { EntropyAnalyzer } = await import("./dist-4LPXJYVZ.js");
34
+ const { EntropyAnalyzer } = await import("./dist-MF5BK5AD.js");
35
35
  const typeFilter = input.type ?? "all";
36
36
  const projectPath = sanitizePath(input.path);
37
37
  let entryPoints;
@@ -54,10 +54,10 @@ async function handleCheckPerformance(input) {
54
54
  });
55
55
  let graphOptions;
56
56
  try {
57
- const { loadGraphStore } = await import("./graph-loader-2M2HXDQI.js");
57
+ const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
58
58
  const store = await loadGraphStore(projectPath);
59
59
  if (store) {
60
- const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-B26DFXMP.js");
60
+ const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-U7EAO6T2.js");
61
61
  const complexityAdapter = new GraphComplexityAdapter(store);
62
62
  const couplingAdapter = new GraphCouplingAdapter(store);
63
63
  graphOptions = {
@@ -94,7 +94,7 @@ var getPerfBaselinesDefinition = {
94
94
  };
95
95
  async function handleGetPerfBaselines(input) {
96
96
  try {
97
- const { BaselineManager } = await import("./dist-4LPXJYVZ.js");
97
+ const { BaselineManager } = await import("./dist-MF5BK5AD.js");
98
98
  const manager = new BaselineManager(sanitizePath(input.path));
99
99
  const baselines = manager.load();
100
100
  return resultToMcpResponse(
@@ -142,7 +142,7 @@ var updatePerfBaselinesDefinition = {
142
142
  };
143
143
  async function handleUpdatePerfBaselines(input) {
144
144
  try {
145
- const { BaselineManager } = await import("./dist-4LPXJYVZ.js");
145
+ const { BaselineManager } = await import("./dist-MF5BK5AD.js");
146
146
  const manager = new BaselineManager(sanitizePath(input.path));
147
147
  manager.save(input.results, input.commitHash);
148
148
  const updated = manager.load();
@@ -172,7 +172,7 @@ var getCriticalPathsDefinition = {
172
172
  };
173
173
  async function handleGetCriticalPaths(input) {
174
174
  try {
175
- const { CriticalPathResolver } = await import("./dist-4LPXJYVZ.js");
175
+ const { CriticalPathResolver } = await import("./dist-MF5BK5AD.js");
176
176
  const resolver = new CriticalPathResolver(sanitizePath(input.path));
177
177
  const result = await resolver.resolve();
178
178
  return resultToMcpResponse(Ok(result));
@@ -45,7 +45,7 @@ var runCodeReviewDefinition = {
45
45
  };
46
46
  async function handleRunCodeReview(input) {
47
47
  try {
48
- const { parseDiff, runReviewPipeline } = await import("./dist-4LPXJYVZ.js");
48
+ const { parseDiff, runReviewPipeline } = await import("./dist-MF5BK5AD.js");
49
49
  const parseResult = parseDiff(input.diff);
50
50
  if (!parseResult.ok) {
51
51
  return {