@harness-engineering/cli 1.9.0 → 1.11.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/skills/claude-code/enforce-architecture/SKILL.md +4 -0
- package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +7 -2
- package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +10 -1
- package/dist/agents/skills/claude-code/harness-execution/SKILL.md +2 -2
- package/dist/agents/skills/claude-code/harness-parallel-agents/SKILL.md +105 -20
- package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +37 -0
- package/dist/agents/skills/gemini-cli/enforce-architecture/SKILL.md +4 -0
- package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +7 -2
- package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +10 -1
- package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +2 -2
- package/dist/agents/skills/gemini-cli/harness-parallel-agents/SKILL.md +105 -20
- package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +37 -0
- package/dist/agents-md-ZFV6RR5J.js +8 -0
- package/dist/architecture-EXNUMH5R.js +13 -0
- package/dist/bin/harness-mcp.d.ts +1 -0
- package/dist/bin/harness-mcp.js +28 -0
- package/dist/bin/harness.js +42 -8
- package/dist/check-phase-gate-VZFOY2PO.js +12 -0
- package/dist/chunk-2NCIKJES.js +470 -0
- package/dist/chunk-2YPZKGAG.js +62 -0
- package/dist/{chunk-CGSHUJES.js → chunk-2YSQOUHO.js} +4484 -2688
- package/dist/chunk-3WGJMBKH.js +45 -0
- package/dist/{chunk-ULSRSP53.js → chunk-6N4R6FVX.js} +11 -112
- package/dist/{chunk-6JIT7CEM.js → chunk-72GHBOL2.js} +1 -1
- package/dist/chunk-BM3PWGXQ.js +14 -0
- package/dist/chunk-C2ERUR3L.js +255 -0
- package/dist/chunk-EBJQ6N4M.js +39 -0
- package/dist/chunk-GNGELAXY.js +293 -0
- package/dist/chunk-GSIVNYVJ.js +187 -0
- package/dist/chunk-HD4IBGLA.js +80 -0
- package/dist/chunk-I6JZYEGT.js +4361 -0
- package/dist/chunk-IDZNPTYD.js +16 -0
- package/dist/chunk-JSTQ3AWB.js +31 -0
- package/dist/chunk-K6XAPGML.js +27 -0
- package/dist/chunk-KET4QQZB.js +8 -0
- package/dist/chunk-L2KLU56K.js +125 -0
- package/dist/chunk-MHBMTPW7.js +29 -0
- package/dist/chunk-NC6PXVWT.js +116 -0
- package/dist/chunk-NKDM3FMH.js +52 -0
- package/dist/chunk-PA2XHK75.js +248 -0
- package/dist/chunk-Q6AB7W5Z.js +135 -0
- package/dist/chunk-QPEH2QPG.js +347 -0
- package/dist/chunk-TEFCFC4H.js +15 -0
- package/dist/chunk-TI4TGEX6.js +85 -0
- package/dist/chunk-TRAPF4IX.js +185 -0
- package/dist/chunk-VRFZWGMS.js +68 -0
- package/dist/chunk-VUCPTQ6G.js +67 -0
- package/dist/chunk-W6Y7ZW3Y.js +13 -0
- package/dist/chunk-WJZDO6OY.js +103 -0
- package/dist/chunk-WUJTCNOU.js +122 -0
- package/dist/chunk-X3MN5UQJ.js +89 -0
- package/dist/chunk-Z75JC6I2.js +189 -0
- package/dist/chunk-ZOAWBDWU.js +72 -0
- package/dist/{chunk-RTPHUDZS.js → chunk-ZWC3MN5E.js} +1944 -2779
- package/dist/ci-workflow-K5RCRNYR.js +8 -0
- package/dist/constants-5JGUXPEK.js +6 -0
- package/dist/create-skill-WPXHSLX2.js +11 -0
- package/dist/dist-D4RYGUZE.js +14 -0
- package/dist/{dist-C5PYIQPF.js → dist-JVZ2MKBC.js} +108 -6
- package/dist/dist-L7LAAQAS.js +18 -0
- package/dist/{dist-I7DB5VKB.js → dist-M6BQODWC.js} +1145 -0
- package/dist/docs-PWCUVYWU.js +12 -0
- package/dist/engine-6XUP6GAK.js +8 -0
- package/dist/entropy-4I6JEYAC.js +12 -0
- package/dist/feedback-TNIW534S.js +18 -0
- package/dist/generate-agent-definitions-MWKEA5NU.js +15 -0
- package/dist/glob-helper-5OHBUQAI.js +52 -0
- package/dist/graph-loader-KO4GJ5N2.js +8 -0
- package/dist/index.d.ts +328 -12
- package/dist/index.js +93 -34
- package/dist/loader-4FIPIFII.js +10 -0
- package/dist/mcp-MOKLYNZL.js +34 -0
- package/dist/performance-BTOJCPXU.js +24 -0
- package/dist/review-pipeline-3YTW3463.js +9 -0
- package/dist/runner-VMYLHWOC.js +6 -0
- package/dist/runtime-GO7K2PJE.js +9 -0
- package/dist/security-4P2GGFF6.js +9 -0
- package/dist/skill-executor-RG45LUO5.js +8 -0
- package/dist/templates/orchestrator/WORKFLOW.md +48 -0
- package/dist/templates/orchestrator/template.json +6 -0
- package/dist/validate-JN44D2Q7.js +12 -0
- package/dist/validate-cross-check-DB7RIFFF.js +8 -0
- package/dist/version-KFFPOQAX.js +6 -0
- package/package.json +13 -7
- package/dist/create-skill-UZOHMXRU.js +0 -8
- package/dist/validate-cross-check-VG573VZO.js +0 -7
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkDocsDefinition,
|
|
3
|
+
handleCheckDocs
|
|
4
|
+
} from "./chunk-NC6PXVWT.js";
|
|
5
|
+
import "./chunk-IDZNPTYD.js";
|
|
6
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
+
import "./chunk-2YSQOUHO.js";
|
|
8
|
+
import "./chunk-MHBMTPW7.js";
|
|
9
|
+
export {
|
|
10
|
+
checkDocsDefinition,
|
|
11
|
+
handleCheckDocs
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
detectEntropyDefinition,
|
|
3
|
+
handleDetectEntropy
|
|
4
|
+
} from "./chunk-Z75JC6I2.js";
|
|
5
|
+
import "./chunk-IDZNPTYD.js";
|
|
6
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
+
import "./chunk-2YSQOUHO.js";
|
|
8
|
+
import "./chunk-MHBMTPW7.js";
|
|
9
|
+
export {
|
|
10
|
+
detectEntropyDefinition,
|
|
11
|
+
handleDetectEntropy
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
analyzeDiffDefinition,
|
|
3
|
+
createSelfReviewDefinition,
|
|
4
|
+
handleAnalyzeDiff,
|
|
5
|
+
handleCreateSelfReview,
|
|
6
|
+
handleRequestPeerReview,
|
|
7
|
+
requestPeerReviewDefinition
|
|
8
|
+
} from "./chunk-PA2XHK75.js";
|
|
9
|
+
import "./chunk-IDZNPTYD.js";
|
|
10
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
11
|
+
export {
|
|
12
|
+
analyzeDiffDefinition,
|
|
13
|
+
createSelfReviewDefinition,
|
|
14
|
+
handleAnalyzeDiff,
|
|
15
|
+
handleCreateSelfReview,
|
|
16
|
+
handleRequestPeerReview,
|
|
17
|
+
requestPeerReviewDefinition
|
|
18
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createGenerateAgentDefinitionsCommand,
|
|
3
|
+
generateAgentDefinitions
|
|
4
|
+
} from "./chunk-GNGELAXY.js";
|
|
5
|
+
import "./chunk-Q6AB7W5Z.js";
|
|
6
|
+
import "./chunk-KET4QQZB.js";
|
|
7
|
+
import "./chunk-ZOAWBDWU.js";
|
|
8
|
+
import "./chunk-HD4IBGLA.js";
|
|
9
|
+
import "./chunk-3WGJMBKH.js";
|
|
10
|
+
import "./chunk-2YSQOUHO.js";
|
|
11
|
+
import "./chunk-MHBMTPW7.js";
|
|
12
|
+
export {
|
|
13
|
+
createGenerateAgentDefinitionsCommand,
|
|
14
|
+
generateAgentDefinitions
|
|
15
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// src/mcp/utils/glob-helper.ts
|
|
2
|
+
import * as fs from "fs/promises";
|
|
3
|
+
import * as path from "path";
|
|
4
|
+
var SOURCE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".tsx", ".js", ".jsx", ".go", ".py"]);
|
|
5
|
+
function globToRegex(pattern) {
|
|
6
|
+
const escaped = pattern.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*\*/g, "\xA7\xA7").replace(/\*/g, "[^/]*").replace(/§§/g, ".*");
|
|
7
|
+
return new RegExp(escaped);
|
|
8
|
+
}
|
|
9
|
+
function isExcluded(relativePath, excludeRegexes) {
|
|
10
|
+
for (const regex of excludeRegexes) {
|
|
11
|
+
if (regex.test(relativePath)) return true;
|
|
12
|
+
}
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
var SKIP_DIRS = /* @__PURE__ */ new Set(["node_modules", ".git", "dist", ".next", ".nuxt", "__pycache__"]);
|
|
16
|
+
async function globFiles(rootDir, exclude) {
|
|
17
|
+
const patterns = exclude ?? [
|
|
18
|
+
"**/node_modules/**",
|
|
19
|
+
"**/dist/**",
|
|
20
|
+
"**/*.test.ts",
|
|
21
|
+
"**/fixtures/**"
|
|
22
|
+
];
|
|
23
|
+
const excludeRegexes = patterns.map(globToRegex);
|
|
24
|
+
const files = [];
|
|
25
|
+
async function walk(dir) {
|
|
26
|
+
let entries;
|
|
27
|
+
try {
|
|
28
|
+
entries = await fs.readdir(dir, { withFileTypes: true });
|
|
29
|
+
} catch {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
for (const entry of entries) {
|
|
33
|
+
const fullPath = path.join(dir, entry.name);
|
|
34
|
+
const relativePath = path.relative(rootDir, fullPath);
|
|
35
|
+
if (entry.isDirectory()) {
|
|
36
|
+
if (SKIP_DIRS.has(entry.name)) continue;
|
|
37
|
+
if (isExcluded(relativePath + "/", excludeRegexes)) continue;
|
|
38
|
+
await walk(fullPath);
|
|
39
|
+
} else if (entry.isFile()) {
|
|
40
|
+
const ext = path.extname(entry.name);
|
|
41
|
+
if (!SOURCE_EXTENSIONS.has(ext)) continue;
|
|
42
|
+
if (isExcluded(relativePath, excludeRegexes)) continue;
|
|
43
|
+
files.push(fullPath);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
await walk(rootDir);
|
|
48
|
+
return files;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
globFiles
|
|
52
|
+
};
|