@harness-engineering/cli 6.0.0 → 7.0.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.
- package/dist/{agents-md-OTKZE5HH.js → agents-md-XBJ6YOSW.js} +2 -2
- package/dist/{architecture-3VYDN7MQ.js → architecture-D7PWJDXA.js} +3 -3
- package/dist/{assess-project-27X2FSZZ.js → assess-project-ENSWO4AX.js} +1 -1
- package/dist/bin/harness-mcp.js +13 -13
- package/dist/bin/harness.js +23 -23
- package/dist/{check-phase-gate-IXLFZ6YH.js → check-phase-gate-GTYAJ2YL.js} +3 -3
- package/dist/{chunk-QHFXVVUY.js → chunk-54RE35Q7.js} +2 -2
- package/dist/{chunk-XNHKXELN.js → chunk-5VP4ZQ3F.js} +1 -1
- package/dist/{chunk-CTMHHMHQ.js → chunk-6SP665CR.js} +89 -2
- package/dist/{chunk-VRA64HYI.js → chunk-7IVIRKHD.js} +1 -1
- package/dist/{chunk-3H7JA24B.js → chunk-CAGNARCD.js} +6 -6
- package/dist/{chunk-BMNHLKBA.js → chunk-GUL75WAM.js} +2 -2
- package/dist/{chunk-IXGYIQSR.js → chunk-HQUQA5D7.js} +1 -1
- package/dist/{chunk-354MCPT3.js → chunk-I6YMJ7ZD.js} +3 -3
- package/dist/{chunk-IOJGLIEQ.js → chunk-ILKL5I4J.js} +17 -2
- package/dist/{chunk-D7QXGI6E.js → chunk-INT5MUQX.js} +1 -1
- package/dist/{chunk-6Y6M3AZA.js → chunk-N3S6JTRS.js} +2 -2
- package/dist/{chunk-VGDZAWCJ.js → chunk-N4VEUBJ5.js} +934 -377
- package/dist/{chunk-L5UKNGC5.js → chunk-NXTNLNIP.js} +2 -2
- package/dist/{chunk-EFWRZHZ7.js → chunk-P7DXQAKU.js} +82 -82
- package/dist/{chunk-MEIUXTFY.js → chunk-PQBSP5AO.js} +1 -1
- package/dist/{chunk-TM4KFUWP.js → chunk-PYDUECJ3.js} +1 -1
- package/dist/{chunk-LISEPDVT.js → chunk-QB67FMZZ.js} +4 -4
- package/dist/{chunk-WAFTJFT3.js → chunk-TNR4BUWB.js} +3 -3
- package/dist/{chunk-KPBGAB35.js → chunk-UFZ6FMFC.js} +1 -1
- package/dist/{chunk-S2ETJDQJ.js → chunk-XRPHOCKU.js} +6 -6
- package/dist/{chunk-XF6RE3JQ.js → chunk-XYP5CIEN.js} +1 -1
- package/dist/{chunk-JJLOWMGC.js → chunk-YQK3GRW7.js} +1 -1
- package/dist/{chunk-3MKQKNY3.js → chunk-ZGK3JT4S.js} +5 -5
- package/dist/{ci-workflow-Y5GBKNZP.js → ci-workflow-ZODLVH62.js} +2 -2
- package/dist/{dist-4CZLCE33.js → dist-DTXVNQAY.js} +1 -1
- package/dist/{docs-3MWDPK4S.js → docs-ZU2HJCKW.js} +3 -3
- package/dist/{engine-RJXQ5DHK.js → engine-2DAJGPFZ.js} +2 -2
- package/dist/{entropy-OX5LSM4S.js → entropy-6JK3TCWY.js} +3 -3
- package/dist/{feedback-OODAP2G2.js → feedback-GEVH6CY3.js} +1 -1
- package/dist/{generate-agent-definitions-CCREQZEA.js → generate-agent-definitions-4DULEX3H.js} +3 -3
- package/dist/index.d.ts +745 -0
- package/dist/index.js +23 -23
- package/dist/{loader-ZICOJBVX.js → loader-K3A4YKWA.js} +2 -2
- package/dist/{mcp-XX6EIBLL.js → mcp-5MEIUQLV.js} +13 -13
- package/dist/{performance-OLZVGMAY.js → performance-HUXOQW7Q.js} +3 -3
- package/dist/{review-pipeline-3QPHMWPC.js → review-pipeline-QEYZXEMW.js} +2 -2
- package/dist/{runtime-ZFFIH76Z.js → runtime-45A4EGZD.js} +2 -2
- package/dist/{security-7YW3UK2C.js → security-CLZZRKND.js} +1 -1
- package/dist/{state-events-PTWAEGJ2.js → state-events-YLQEYOLI.js} +2 -2
- package/dist/{validate-H5SB7X3Z.js → validate-35GZKAOF.js} +3 -3
- package/dist/{validate-cross-check-YYVYMSPA.js → validate-cross-check-QJGCDWRO.js} +2 -2
- package/package.json +8 -8
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ILKL5I4J.js";
|
|
11
11
|
import {
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6SP665CR.js";
|
|
14
14
|
import {
|
|
15
15
|
Ok
|
|
16
16
|
} from "./chunk-LHWBQD7F.js";
|
|
@@ -138,7 +138,7 @@ function buildSummaryResponse(report) {
|
|
|
138
138
|
}
|
|
139
139
|
async function handleDetectEntropy(input) {
|
|
140
140
|
try {
|
|
141
|
-
const { EntropyAnalyzer } = await import("./dist-
|
|
141
|
+
const { EntropyAnalyzer } = await import("./dist-DTXVNQAY.js");
|
|
142
142
|
const typeFilter = input.type ?? "all";
|
|
143
143
|
const projectPath = sanitizePath(input.path);
|
|
144
144
|
const entropy = loadEntropyConfig(projectPath);
|
|
@@ -164,7 +164,7 @@ async function handleDetectEntropy(input) {
|
|
|
164
164
|
return resultToMcpResponse(result);
|
|
165
165
|
}
|
|
166
166
|
if (!result.ok) return resultToMcpResponse(result);
|
|
167
|
-
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-
|
|
167
|
+
const { createFixes, applyFixes, generateSuggestions } = await import("./dist-DTXVNQAY.js");
|
|
168
168
|
const report = result.value;
|
|
169
169
|
const deadCode = report.deadCode;
|
|
170
170
|
const fixTypesConfig = input.fixTypes ? { fixTypes: input.fixTypes } : void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5VP4ZQ3F.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-
|
|
52
|
+
const core = await import("./dist-DTXVNQAY.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-DTXVNQAY.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);
|
|
@@ -98,7 +98,7 @@ async function handleAssessProject(input) {
|
|
|
98
98
|
let validateResult = null;
|
|
99
99
|
if (checksToRun.has("validate")) {
|
|
100
100
|
try {
|
|
101
|
-
const { handleValidateProject } = await import("./validate-
|
|
101
|
+
const { handleValidateProject } = await import("./validate-35GZKAOF.js");
|
|
102
102
|
const result = await handleValidateProject({ path: projectPath });
|
|
103
103
|
const out = parseToolResponse(result, "validate");
|
|
104
104
|
if ("error" in out) {
|
|
@@ -127,7 +127,7 @@ async function handleAssessProject(input) {
|
|
|
127
127
|
parallelChecks.push(
|
|
128
128
|
(async () => {
|
|
129
129
|
try {
|
|
130
|
-
const { handleCheckDependencies } = await import("./architecture-
|
|
130
|
+
const { handleCheckDependencies } = await import("./architecture-D7PWJDXA.js");
|
|
131
131
|
const result = await handleCheckDependencies({ path: projectPath });
|
|
132
132
|
const out = parseToolResponse(result, "deps");
|
|
133
133
|
if ("error" in out) return out.error;
|
|
@@ -155,7 +155,7 @@ async function handleAssessProject(input) {
|
|
|
155
155
|
parallelChecks.push(
|
|
156
156
|
(async () => {
|
|
157
157
|
try {
|
|
158
|
-
const { handleCheckDocs } = await import("./docs-
|
|
158
|
+
const { handleCheckDocs } = await import("./docs-ZU2HJCKW.js");
|
|
159
159
|
const result = await handleCheckDocs({ path: projectPath, scope: "coverage" });
|
|
160
160
|
const out = parseToolResponse(result, "docs");
|
|
161
161
|
if ("error" in out) return out.error;
|
|
@@ -183,7 +183,7 @@ async function handleAssessProject(input) {
|
|
|
183
183
|
parallelChecks.push(
|
|
184
184
|
(async () => {
|
|
185
185
|
try {
|
|
186
|
-
const { handleDetectEntropy } = await import("./entropy-
|
|
186
|
+
const { handleDetectEntropy } = await import("./entropy-6JK3TCWY.js");
|
|
187
187
|
const result = await handleDetectEntropy({ path: projectPath, type: "all" });
|
|
188
188
|
const out = parseToolResponse(result, "entropy");
|
|
189
189
|
if ("error" in out) return out.error;
|
|
@@ -214,7 +214,7 @@ async function handleAssessProject(input) {
|
|
|
214
214
|
parallelChecks.push(
|
|
215
215
|
(async () => {
|
|
216
216
|
try {
|
|
217
|
-
const { handleRunSecurityScan } = await import("./security-
|
|
217
|
+
const { handleRunSecurityScan } = await import("./security-CLZZRKND.js");
|
|
218
218
|
const result = await handleRunSecurityScan({ path: projectPath });
|
|
219
219
|
const out = parseToolResponse(result, "security");
|
|
220
220
|
if ("error" in out) return out.error;
|
|
@@ -247,7 +247,7 @@ async function handleAssessProject(input) {
|
|
|
247
247
|
parallelChecks.push(
|
|
248
248
|
(async () => {
|
|
249
249
|
try {
|
|
250
|
-
const { handleCheckPerformance } = await import("./performance-
|
|
250
|
+
const { handleCheckPerformance } = await import("./performance-HUXOQW7Q.js");
|
|
251
251
|
const result = await handleCheckPerformance({ path: projectPath });
|
|
252
252
|
if ("isError" in result && result.isError) {
|
|
253
253
|
const msg = result.content[0]?.text ?? "Performance check failed";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
findConfigFile,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ILKL5I4J.js";
|
|
11
11
|
import {
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6SP665CR.js";
|
|
14
14
|
import {
|
|
15
15
|
Ok
|
|
16
16
|
} from "./chunk-LHWBQD7F.js";
|
|
@@ -50,12 +50,12 @@ async function handleCheckDocs(input) {
|
|
|
50
50
|
const projectPath = sanitizePath(input.path);
|
|
51
51
|
const scope = input.scope ?? "coverage";
|
|
52
52
|
if (scope === "integrity") {
|
|
53
|
-
const { validateKnowledgeMap } = await import("./dist-
|
|
53
|
+
const { validateKnowledgeMap } = await import("./dist-DTXVNQAY.js");
|
|
54
54
|
const result2 = await validateKnowledgeMap(projectPath);
|
|
55
55
|
return resultToMcpResponse(result2);
|
|
56
56
|
}
|
|
57
57
|
if (scope === "all") {
|
|
58
|
-
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-
|
|
58
|
+
const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-DTXVNQAY.js");
|
|
59
59
|
const domain2 = input.domain ?? "src";
|
|
60
60
|
const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-STFGYKZH.js");
|
|
61
61
|
const store2 = await loadGraphStore2(projectPath);
|
|
@@ -94,7 +94,7 @@ async function handleCheckDocs(input) {
|
|
|
94
94
|
}
|
|
95
95
|
return resultToMcpResponse(Ok({ coverage, integrity }));
|
|
96
96
|
}
|
|
97
|
-
const { checkDocCoverage } = await import("./dist-
|
|
97
|
+
const { checkDocCoverage } = await import("./dist-DTXVNQAY.js");
|
|
98
98
|
const domain = input.domain ?? "src";
|
|
99
99
|
const { loadGraphStore } = await import("./graph-loader-STFGYKZH.js");
|
|
100
100
|
const store = await loadGraphStore(projectPath);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkDocsDefinition,
|
|
3
3
|
handleCheckDocs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZGK3JT4S.js";
|
|
5
5
|
import "./chunk-RC3OI5NK.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ILKL5I4J.js";
|
|
8
8
|
import "./chunk-ZCZD7FHU.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectEntropyDefinition,
|
|
3
3
|
handleDetectEntropy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QB67FMZZ.js";
|
|
5
5
|
import "./chunk-RC3OI5NK.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ILKL5I4J.js";
|
|
8
8
|
import "./chunk-ZCZD7FHU.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|
package/dist/{generate-agent-definitions-CCREQZEA.js → generate-agent-definitions-4DULEX3H.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGenerateAgentDefinitionsCommand,
|
|
3
3
|
generateAgentDefinitions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HQUQA5D7.js";
|
|
5
5
|
import "./chunk-KET4QQZB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-UFZ6FMFC.js";
|
|
7
7
|
import "./chunk-3ISINLYT.js";
|
|
8
8
|
import "./chunk-UTJJJDNN.js";
|
|
9
9
|
import "./chunk-3WGJMBKH.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6SP665CR.js";
|
|
11
11
|
import "./chunk-NZ5AXKRA.js";
|
|
12
12
|
import "./chunk-LHWBQD7F.js";
|
|
13
13
|
import "./chunk-WZJR6SOI.js";
|