@harness-engineering/cli 1.24.1 → 1.24.3
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/dist/{agents-md-MMVRF77L.js → agents-md-PBKKTSQY.js} +1 -1
- package/dist/{architecture-JAEDPYQZ.js → architecture-FBSLURIB.js} +3 -3
- package/dist/{assess-project-7JZCVM7D.js → assess-project-74UVWPMB.js} +1 -1
- package/dist/bin/harness-mcp.js +13 -13
- package/dist/bin/harness.js +18 -17
- package/dist/{check-phase-gate-YQHAH4LL.js → check-phase-gate-WY6UICCL.js} +3 -3
- package/dist/{chunk-MS6KDQW7.js → chunk-3VYWO6QN.js} +6 -6
- package/dist/chunk-3XAPHB2Z.js +43 -0
- package/dist/{chunk-AVVJ5EUU.js → chunk-5PMRARB5.js} +1 -1
- package/dist/{chunk-NU3BPEDR.js → chunk-A737JDL4.js} +2 -2
- package/dist/{chunk-IDZNPTYD.js → chunk-EPUKTTJZ.js} +6 -1
- package/dist/{chunk-2DAMN7ED.js → chunk-FJYP32IV.js} +6 -6
- package/dist/{chunk-PCWYYFBP.js → chunk-H4U2QNY2.js} +32 -6
- package/dist/{chunk-C5FTJ3EU.js → chunk-L5UONZ53.js} +58 -1
- package/dist/{chunk-LY3YVKXL.js → chunk-O6UF33QH.js} +351 -104
- package/dist/{chunk-W2OZK3KC.js → chunk-SPTKLCKC.js} +1 -1
- package/dist/{chunk-TUJAHI22.js → chunk-TB427QOK.js} +5 -5
- package/dist/{chunk-HVFCCARH.js → chunk-UFQQBGC3.js} +1 -1
- package/dist/{chunk-JGMCHJ6B.js → chunk-V2FGX2KD.js} +3 -3
- package/dist/{chunk-JT732X6S.js → chunk-WEN5Z7CL.js} +2 -2
- package/dist/{chunk-BWWNQPPO.js → chunk-YPKKEP3O.js} +4 -4
- package/dist/{chunk-ZKVLBOYA.js → chunk-ZAMT24QN.js} +426 -383
- package/dist/{ci-workflow-HDH4LCOF.js → ci-workflow-QZRHAIO2.js} +1 -1
- package/dist/{dist-TZQUURSP.js → dist-7EBSGAHX.js} +3 -1
- package/dist/{docs-6SPJYTRR.js → docs-H34GBVRS.js} +4 -4
- package/dist/{engine-CSITRE3J.js → engine-VUQEAJFZ.js} +1 -1
- package/dist/{entropy-FZP643BK.js → entropy-ZAY73R6A.js} +3 -3
- package/dist/{feedback-RSPUJCJJ.js → feedback-TMEGYMWU.js} +2 -2
- package/dist/{generate-agent-definitions-OLYWXTYH.js → generate-agent-definitions-PQPG6SX5.js} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +23 -21
- package/dist/{loader-P2P7CV2A.js → loader-Y6A42WBD.js} +1 -1
- package/dist/{mcp-JZG22CYT.js → mcp-LCHC4NZ5.js} +13 -13
- package/dist/{performance-VVWOIJTE.js → performance-N67YJJDG.js} +4 -4
- package/dist/{review-pipeline-XSRO7HYZ.js → review-pipeline-YXF5ITL2.js} +4 -1
- package/dist/{runtime-VMOIIP6B.js → runtime-XNJUJCSG.js} +1 -1
- package/dist/scan-U67OKDRS.js +8 -0
- package/dist/{security-4AQ46P3H.js → security-L2YN3CTI.js} +1 -1
- package/dist/{validate-T7UTXLEQ.js → validate-MNE25KLZ.js} +2 -2
- package/dist/{validate-cross-check-M4NP2UF5.js → validate-cross-check-Y4PDR63C.js} +1 -1
- package/package.json +5 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resultToMcpResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EPUKTTJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizePath
|
|
6
6
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5PMRARB5.js";
|
|
11
11
|
import {
|
|
12
12
|
Ok
|
|
13
13
|
} from "./chunk-5LMZA5LZ.js";
|
|
@@ -46,12 +46,12 @@ 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-
|
|
49
|
+
const { validateKnowledgeMap } = await import("./dist-7EBSGAHX.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-
|
|
54
|
+
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-7EBSGAHX.js");
|
|
55
55
|
const domain2 = input.domain ?? "src";
|
|
56
56
|
const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-M6FXJAKK.js");
|
|
57
57
|
const store2 = await loadGraphStore2(projectPath);
|
|
@@ -90,7 +90,7 @@ async function handleCheckDocs(input) {
|
|
|
90
90
|
}
|
|
91
91
|
return resultToMcpResponse(Ok({ coverage, integrity }));
|
|
92
92
|
}
|
|
93
|
-
const { checkDocCoverage } = await import("./dist-
|
|
93
|
+
const { checkDocCoverage } = await import("./dist-7EBSGAHX.js");
|
|
94
94
|
const domain = input.domain ?? "src";
|
|
95
95
|
const { loadGraphStore } = await import("./graph-loader-M6FXJAKK.js");
|
|
96
96
|
const store = await loadGraphStore(projectPath);
|
|
@@ -26,7 +26,7 @@ var runSecurityScanDefinition = {
|
|
|
26
26
|
};
|
|
27
27
|
async function handleRunSecurityScan(input) {
|
|
28
28
|
try {
|
|
29
|
-
const core = await import("./dist-
|
|
29
|
+
const core = await import("./dist-7EBSGAHX.js");
|
|
30
30
|
const projectRoot = sanitizePath(input.path);
|
|
31
31
|
let configData = {};
|
|
32
32
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resultToMcpResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EPUKTTJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizePath
|
|
6
6
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
@@ -123,7 +123,7 @@ function buildSummaryResponse(report) {
|
|
|
123
123
|
}
|
|
124
124
|
async function handleDetectEntropy(input) {
|
|
125
125
|
try {
|
|
126
|
-
const { EntropyAnalyzer } = await import("./dist-
|
|
126
|
+
const { EntropyAnalyzer } = await import("./dist-7EBSGAHX.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-
|
|
145
|
+
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-7EBSGAHX.js");
|
|
146
146
|
const report = result.value;
|
|
147
147
|
const deadCode = report.deadCode;
|
|
148
148
|
const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
|
|
@@ -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-
|
|
52
|
+
const core = await import("./dist-7EBSGAHX.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-
|
|
71
|
+
const core = await import("./dist-7EBSGAHX.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
|
resultToMcpResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EPUKTTJZ.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizePath
|
|
6
6
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
@@ -33,7 +33,7 @@ var createSelfReviewDefinition = {
|
|
|
33
33
|
};
|
|
34
34
|
async function handleCreateSelfReview(input) {
|
|
35
35
|
try {
|
|
36
|
-
const { parseDiff, createSelfReview } = await import("./dist-
|
|
36
|
+
const { parseDiff, createSelfReview } = await import("./dist-7EBSGAHX.js");
|
|
37
37
|
const parseResult = parseDiff(input.diff);
|
|
38
38
|
if (!parseResult.ok) {
|
|
39
39
|
return resultToMcpResponse(parseResult);
|
|
@@ -119,7 +119,7 @@ var analyzeDiffDefinition = {
|
|
|
119
119
|
};
|
|
120
120
|
async function handleAnalyzeDiff(input) {
|
|
121
121
|
try {
|
|
122
|
-
const { parseDiff, analyzeDiff } = await import("./dist-
|
|
122
|
+
const { parseDiff, analyzeDiff } = await import("./dist-7EBSGAHX.js");
|
|
123
123
|
const parseResult = parseDiff(input.diff);
|
|
124
124
|
if (!parseResult.ok) {
|
|
125
125
|
return resultToMcpResponse(parseResult);
|
|
@@ -195,7 +195,7 @@ var requestPeerReviewDefinition = {
|
|
|
195
195
|
};
|
|
196
196
|
async function handleRequestPeerReview(input) {
|
|
197
197
|
try {
|
|
198
|
-
const { parseDiff, requestPeerReview } = await import("./dist-
|
|
198
|
+
const { parseDiff, requestPeerReview } = await import("./dist-7EBSGAHX.js");
|
|
199
199
|
const parseResult = parseDiff(input.diff);
|
|
200
200
|
if (!parseResult.ok) {
|
|
201
201
|
return resultToMcpResponse(parseResult);
|