@harness-engineering/cli 1.23.0 → 1.23.1

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 (42) hide show
  1. package/dist/{agents-md-GLKJSGKT.js → agents-md-FJXDMZPJ.js} +2 -2
  2. package/dist/{architecture-EDSBAGR4.js → architecture-FVERI7BQ.js} +3 -3
  3. package/dist/{assess-project-CEDY4JU3.js → assess-project-UGL5KLBV.js} +1 -1
  4. package/dist/bin/harness-mcp.js +14 -14
  5. package/dist/bin/harness.js +16 -16
  6. package/dist/{check-phase-gate-N3DTKFCZ.js → check-phase-gate-C7JPPKMX.js} +4 -4
  7. package/dist/{chunk-LIWGCYON.js → chunk-7DMF3VT5.js} +1 -1
  8. package/dist/{chunk-TLDCCPUZ.js → chunk-7V5Y2L67.js} +1 -1
  9. package/dist/{chunk-ENA4O4WD.js → chunk-7XZSHTYZ.js} +2 -2
  10. package/dist/{chunk-GJRUIXUK.js → chunk-AQN7GFKU.js} +1 -1
  11. package/dist/{chunk-2LAEDVOC.js → chunk-CZEPCYVX.js} +6 -6
  12. package/dist/{chunk-5SWE24IG.js → chunk-EUCASOD7.js} +1 -1
  13. package/dist/{chunk-QUKH6QCJ.js → chunk-FNVAW5NG.js} +7 -7
  14. package/dist/{chunk-HT4VPPB4.js → chunk-HRUCT5YX.js} +8 -8
  15. package/dist/{chunk-TD6MQUV2.js → chunk-KIR5PQX5.js} +1 -1
  16. package/dist/{chunk-SM22U22L.js → chunk-L57RL7MC.js} +80 -80
  17. package/dist/{chunk-AKVG4MMZ.js → chunk-LAKMOIU6.js} +9 -9
  18. package/dist/{chunk-XDAIFVGC.js → chunk-QBATHQXU.js} +64 -36
  19. package/dist/{chunk-AIBAYANF.js → chunk-RQ3AKUJB.js} +3 -3
  20. package/dist/{chunk-26AUZBV4.js → chunk-UJHNGRS6.js} +19 -19
  21. package/dist/{chunk-A4AI3H3R.js → chunk-WKLLNUAT.js} +1 -1
  22. package/dist/{chunk-TJ6NLLAY.js → chunk-ZLTFDTK7.js} +4 -4
  23. package/dist/{ci-workflow-LE3QF4FP.js → ci-workflow-S7VY625R.js} +2 -2
  24. package/dist/{dist-OEXTQQZC.js → dist-K56VJ4UJ.js} +1 -1
  25. package/dist/{dist-YIKUBJLQ.js → dist-LPGVPYOZ.js} +2 -2
  26. package/dist/{docs-F5G7NAFF.js → docs-CGUBALYL.js} +4 -4
  27. package/dist/{engine-LX5RVGXN.js → engine-PEHFAFOT.js} +2 -2
  28. package/dist/{entropy-A5Q2USYX.js → entropy-H5OOCI57.js} +3 -3
  29. package/dist/{feedback-2EU25RIW.js → feedback-XTDR7E3R.js} +1 -1
  30. package/dist/{generate-agent-definitions-HNJHO5YQ.js → generate-agent-definitions-RBI7Z4RY.js} +2 -2
  31. package/dist/{graph-loader-XULF5QF7.js → graph-loader-GRXDUWXO.js} +1 -1
  32. package/dist/index.d.ts +8 -8
  33. package/dist/index.js +16 -16
  34. package/dist/{loader-GWIEW4HM.js → loader-IOC5L7NL.js} +2 -2
  35. package/dist/{mcp-ID3LR6JB.js → mcp-7RPKBGIR.js} +14 -14
  36. package/dist/{performance-YAY2A6A6.js → performance-FSXEQJYB.js} +4 -4
  37. package/dist/{review-pipeline-YD4WI3JM.js → review-pipeline-VLKL7NV2.js} +1 -1
  38. package/dist/{runtime-UJ4YO4CA.js → runtime-3X2MV6R4.js} +2 -2
  39. package/dist/{security-IBSUKMVD.js → security-B76X5RL7.js} +1 -1
  40. package/dist/{validate-NHXWKMCR.js → validate-KN6A2GN3.js} +3 -3
  41. package/dist/{validate-cross-check-R3GV2MLM.js → validate-cross-check-LITTM24O.js} +2 -2
  42. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generateAgentsMd
3
3
  } from "./chunk-OD3S2NHN.js";
4
- import "./chunk-XDAIFVGC.js";
4
+ import "./chunk-QBATHQXU.js";
5
5
  import "./chunk-ERS5EVUZ.js";
6
- import "./chunk-5SWE24IG.js";
6
+ import "./chunk-EUCASOD7.js";
7
7
  export {
8
8
  generateAgentsMd
9
9
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  checkDependenciesDefinition,
3
3
  handleCheckDependencies
4
- } from "./chunk-AIBAYANF.js";
4
+ } from "./chunk-RQ3AKUJB.js";
5
5
  import "./chunk-H7Y5CKTM.js";
6
6
  import "./chunk-IDZNPTYD.js";
7
7
  import "./chunk-W6Y7ZW3Y.js";
8
- import "./chunk-XDAIFVGC.js";
8
+ import "./chunk-QBATHQXU.js";
9
9
  import "./chunk-ERS5EVUZ.js";
10
- import "./chunk-5SWE24IG.js";
10
+ import "./chunk-EUCASOD7.js";
11
11
  export {
12
12
  checkDependenciesDefinition,
13
13
  handleCheckDependencies
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assessProjectDefinition,
3
3
  handleAssessProject
4
- } from "./chunk-2LAEDVOC.js";
4
+ } from "./chunk-CZEPCYVX.js";
5
5
  import "./chunk-W6Y7ZW3Y.js";
6
6
  export {
7
7
  assessProjectDefinition,
@@ -1,28 +1,28 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startServer
4
- } from "../chunk-SM22U22L.js";
5
- import "../chunk-TJ6NLLAY.js";
6
- import "../chunk-QUKH6QCJ.js";
7
- import "../chunk-AKVG4MMZ.js";
8
- import "../chunk-TD6MQUV2.js";
9
- import "../chunk-LIWGCYON.js";
10
- import "../chunk-2LAEDVOC.js";
4
+ } from "../chunk-L57RL7MC.js";
5
+ import "../chunk-ZLTFDTK7.js";
6
+ import "../chunk-FNVAW5NG.js";
7
+ import "../chunk-LAKMOIU6.js";
8
+ import "../chunk-KIR5PQX5.js";
9
+ import "../chunk-7DMF3VT5.js";
10
+ import "../chunk-CZEPCYVX.js";
11
11
  import "../chunk-CJDVBBPB.js";
12
- import "../chunk-ENA4O4WD.js";
13
- import "../chunk-TLDCCPUZ.js";
14
- import "../chunk-AIBAYANF.js";
12
+ import "../chunk-7XZSHTYZ.js";
13
+ import "../chunk-7V5Y2L67.js";
14
+ import "../chunk-RQ3AKUJB.js";
15
15
  import "../chunk-H7Y5CKTM.js";
16
- import "../chunk-HT4VPPB4.js";
17
- import "../chunk-GJRUIXUK.js";
16
+ import "../chunk-HRUCT5YX.js";
17
+ import "../chunk-AQN7GFKU.js";
18
18
  import "../chunk-IDZNPTYD.js";
19
19
  import "../chunk-W6Y7ZW3Y.js";
20
20
  import "../chunk-N5G5QMS3.js";
21
21
  import "../chunk-3WGJMBKH.js";
22
22
  import "../chunk-SE4YPMLH.js";
23
- import "../chunk-XDAIFVGC.js";
23
+ import "../chunk-QBATHQXU.js";
24
24
  import "../chunk-ERS5EVUZ.js";
25
- import "../chunk-5SWE24IG.js";
25
+ import "../chunk-EUCASOD7.js";
26
26
 
27
27
  // src/bin/harness-mcp.ts
28
28
  import "dotenv/config";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  createProgram,
4
4
  printFirstRunWelcome
5
- } from "../chunk-26AUZBV4.js";
5
+ } from "../chunk-UJHNGRS6.js";
6
6
  import "../chunk-OD3S2NHN.js";
7
7
  import "../chunk-SD3SQOZ2.js";
8
- import "../chunk-A4AI3H3R.js";
8
+ import "../chunk-WKLLNUAT.js";
9
9
  import "../chunk-6KWBH4EO.js";
10
10
  import "../chunk-YLN34N65.js";
11
11
  import "../chunk-YQ6KC6TE.js";
@@ -17,23 +17,23 @@ import "../chunk-EBJQ6N4M.js";
17
17
  import "../chunk-DBSOCI3G.js";
18
18
  import "../chunk-FIAPHX37.js";
19
19
  import "../chunk-KET4QQZB.js";
20
- import "../chunk-SM22U22L.js";
21
- import "../chunk-TJ6NLLAY.js";
22
- import "../chunk-QUKH6QCJ.js";
23
- import "../chunk-AKVG4MMZ.js";
24
- import "../chunk-TD6MQUV2.js";
25
- import "../chunk-LIWGCYON.js";
26
- import "../chunk-2LAEDVOC.js";
20
+ import "../chunk-L57RL7MC.js";
21
+ import "../chunk-ZLTFDTK7.js";
22
+ import "../chunk-FNVAW5NG.js";
23
+ import "../chunk-LAKMOIU6.js";
24
+ import "../chunk-KIR5PQX5.js";
25
+ import "../chunk-7DMF3VT5.js";
26
+ import "../chunk-CZEPCYVX.js";
27
27
  import "../chunk-CJDVBBPB.js";
28
- import "../chunk-ENA4O4WD.js";
29
- import "../chunk-TLDCCPUZ.js";
30
- import "../chunk-AIBAYANF.js";
28
+ import "../chunk-7XZSHTYZ.js";
29
+ import "../chunk-7V5Y2L67.js";
30
+ import "../chunk-RQ3AKUJB.js";
31
31
  import "../chunk-H7Y5CKTM.js";
32
- import "../chunk-HT4VPPB4.js";
32
+ import "../chunk-HRUCT5YX.js";
33
33
  import {
34
34
  findConfigFile,
35
35
  loadConfig
36
- } from "../chunk-GJRUIXUK.js";
36
+ } from "../chunk-AQN7GFKU.js";
37
37
  import "../chunk-IDZNPTYD.js";
38
38
  import "../chunk-W6Y7ZW3Y.js";
39
39
  import "../chunk-N5G5QMS3.js";
@@ -51,9 +51,9 @@ import {
51
51
  readCheckState,
52
52
  shouldRunCheck,
53
53
  spawnBackgroundCheck
54
- } from "../chunk-XDAIFVGC.js";
54
+ } from "../chunk-QBATHQXU.js";
55
55
  import "../chunk-ERS5EVUZ.js";
56
- import "../chunk-5SWE24IG.js";
56
+ import "../chunk-EUCASOD7.js";
57
57
 
58
58
  // src/bin/harness.ts
59
59
  import "dotenv/config";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCheckPhaseGateCommand,
3
3
  runCheckPhaseGate
4
- } from "./chunk-A4AI3H3R.js";
4
+ } from "./chunk-WKLLNUAT.js";
5
5
  import "./chunk-EBJQ6N4M.js";
6
- import "./chunk-GJRUIXUK.js";
6
+ import "./chunk-AQN7GFKU.js";
7
7
  import "./chunk-3WGJMBKH.js";
8
- import "./chunk-XDAIFVGC.js";
8
+ import "./chunk-QBATHQXU.js";
9
9
  import "./chunk-ERS5EVUZ.js";
10
- import "./chunk-5SWE24IG.js";
10
+ import "./chunk-EUCASOD7.js";
11
11
  export {
12
12
  createCheckPhaseGateCommand,
13
13
  runCheckPhaseGate
@@ -45,7 +45,7 @@ var runCodeReviewDefinition = {
45
45
  };
46
46
  async function handleRunCodeReview(input) {
47
47
  try {
48
- const { parseDiff, runReviewPipeline } = await import("./dist-YIKUBJLQ.js");
48
+ const { parseDiff, runReviewPipeline } = await import("./dist-LPGVPYOZ.js");
49
49
  const parseResult = parseDiff(input.diff);
50
50
  if (!parseResult.ok) {
51
51
  return {
@@ -15,7 +15,7 @@ function evictIfNeeded() {
15
15
  }
16
16
  }
17
17
  async function doLoadGraphStore(projectRoot) {
18
- const { GraphStore } = await import("./dist-OEXTQQZC.js");
18
+ const { GraphStore } = await import("./dist-K56VJ4UJ.js");
19
19
  const graphDir = path.join(projectRoot, ".harness", "graph");
20
20
  const store = new GraphStore();
21
21
  const loaded = await store.load(graphDir);
@@ -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-YIKUBJLQ.js");
52
+ const core = await import("./dist-LPGVPYOZ.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-YIKUBJLQ.js");
71
+ const core = await import("./dist-LPGVPYOZ.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);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3WGJMBKH.js";
5
5
  import {
6
6
  ArchConfigSchema
7
- } from "./chunk-XDAIFVGC.js";
7
+ } from "./chunk-QBATHQXU.js";
8
8
  import {
9
9
  Err,
10
10
  Ok
@@ -50,7 +50,7 @@ async function handleAssessProject(input) {
50
50
  let validateResult = null;
51
51
  if (checksToRun.has("validate")) {
52
52
  try {
53
- const { handleValidateProject } = await import("./validate-NHXWKMCR.js");
53
+ const { handleValidateProject } = await import("./validate-KN6A2GN3.js");
54
54
  const result = await handleValidateProject({ path: projectPath });
55
55
  const first = result.content[0];
56
56
  const parsed = first ? JSON.parse(first.text) : {};
@@ -75,7 +75,7 @@ async function handleAssessProject(input) {
75
75
  parallelChecks.push(
76
76
  (async () => {
77
77
  try {
78
- const { handleCheckDependencies } = await import("./architecture-EDSBAGR4.js");
78
+ const { handleCheckDependencies } = await import("./architecture-FVERI7BQ.js");
79
79
  const result = await handleCheckDependencies({ path: projectPath });
80
80
  const first = result.content[0];
81
81
  const parsed = first ? JSON.parse(first.text) : {};
@@ -102,7 +102,7 @@ async function handleAssessProject(input) {
102
102
  parallelChecks.push(
103
103
  (async () => {
104
104
  try {
105
- const { handleCheckDocs } = await import("./docs-F5G7NAFF.js");
105
+ const { handleCheckDocs } = await import("./docs-CGUBALYL.js");
106
106
  const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
107
107
  const first = result.content[0];
108
108
  const parsed = first ? JSON.parse(first.text) : {};
@@ -129,7 +129,7 @@ async function handleAssessProject(input) {
129
129
  parallelChecks.push(
130
130
  (async () => {
131
131
  try {
132
- const { handleDetectEntropy } = await import("./entropy-A5Q2USYX.js");
132
+ const { handleDetectEntropy } = await import("./entropy-H5OOCI57.js");
133
133
  const result = await handleDetectEntropy({ path: projectPath, type: "all" });
134
134
  const first = result.content[0];
135
135
  const parsed = first ? JSON.parse(first.text) : {};
@@ -156,7 +156,7 @@ async function handleAssessProject(input) {
156
156
  parallelChecks.push(
157
157
  (async () => {
158
158
  try {
159
- const { handleRunSecurityScan } = await import("./security-IBSUKMVD.js");
159
+ const { handleRunSecurityScan } = await import("./security-B76X5RL7.js");
160
160
  const result = await handleRunSecurityScan({ path: projectPath });
161
161
  const first = result.content[0];
162
162
  const parsed = first ? JSON.parse(first.text) : {};
@@ -188,7 +188,7 @@ async function handleAssessProject(input) {
188
188
  parallelChecks.push(
189
189
  (async () => {
190
190
  try {
191
- const { handleCheckPerformance } = await import("./performance-YAY2A6A6.js");
191
+ const { handleCheckPerformance } = await import("./performance-FSXEQJYB.js");
192
192
  const result = await handleCheckPerformance({ path: projectPath });
193
193
  if ("isError" in result && result.isError) {
194
194
  const msg = result.content[0]?.text ?? "Performance check failed";
@@ -1505,7 +1505,7 @@ var RequirementIngestor = class {
1505
1505
  }
1506
1506
  for (const featureDir of featureDirs) {
1507
1507
  const featureName = path4.basename(featureDir);
1508
- const specPath = path4.join(featureDir, "proposal.md");
1508
+ const specPath = path4.join(featureDir, "proposal.md").replaceAll("\\", "/");
1509
1509
  let content;
1510
1510
  try {
1511
1511
  content = await fs3.readFile(specPath, "utf-8");
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findConfigFile,
3
3
  loadConfig
4
- } from "./chunk-GJRUIXUK.js";
4
+ } from "./chunk-AQN7GFKU.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-YIKUBJLQ.js");
34
+ const { EntropyAnalyzer } = await import("./dist-LPGVPYOZ.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-XULF5QF7.js");
57
+ const { loadGraphStore } = await import("./graph-loader-GRXDUWXO.js");
58
58
  const store = await loadGraphStore(projectPath);
59
59
  if (store) {
60
- const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-OEXTQQZC.js");
60
+ const { GraphComplexityAdapter, GraphCouplingAdapter } = await import("./dist-K56VJ4UJ.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-YIKUBJLQ.js");
97
+ const { BaselineManager } = await import("./dist-LPGVPYOZ.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-YIKUBJLQ.js");
145
+ const { BaselineManager } = await import("./dist-LPGVPYOZ.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-YIKUBJLQ.js");
175
+ const { CriticalPathResolver } = await import("./dist-LPGVPYOZ.js");
176
176
  const resolver = new CriticalPathResolver(sanitizePath(input.path));
177
177
  const result = await resolver.resolve();
178
178
  return resultToMcpResponse(Ok(result));
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findConfigFile,
3
3
  loadConfig
4
- } from "./chunk-GJRUIXUK.js";
4
+ } from "./chunk-AQN7GFKU.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-YIKUBJLQ.js");
49
+ const { validateKnowledgeMap } = await import("./dist-LPGVPYOZ.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-YIKUBJLQ.js");
54
+ const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-LPGVPYOZ.js");
55
55
  const domain2 = input.domain ?? "src";
56
- const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-XULF5QF7.js");
56
+ const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-GRXDUWXO.js");
57
57
  const store2 = await loadGraphStore2(projectPath);
58
58
  let graphCoverage2;
59
59
  if (store2) {
60
- const { Assembler } = await import("./dist-OEXTQQZC.js");
60
+ const { Assembler } = await import("./dist-K56VJ4UJ.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-YIKUBJLQ.js");
93
+ const { checkDocCoverage } = await import("./dist-LPGVPYOZ.js");
94
94
  const domain = input.domain ?? "src";
95
- const { loadGraphStore } = await import("./graph-loader-XULF5QF7.js");
95
+ const { loadGraphStore } = await import("./graph-loader-GRXDUWXO.js");
96
96
  const store = await loadGraphStore(projectPath);
97
97
  let graphCoverage;
98
98
  if (store) {
99
- const { Assembler } = await import("./dist-OEXTQQZC.js");
99
+ const { Assembler } = await import("./dist-K56VJ4UJ.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-YIKUBJLQ.js");
29
+ const core = await import("./dist-LPGVPYOZ.js");
30
30
  const projectRoot = sanitizePath(input.path);
31
31
  let configData = {};
32
32
  try {