@harness-engineering/cli 1.8.2 → 1.10.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/cleanup-dead-code/SKILL.md +3 -3
- package/dist/agents/skills/claude-code/harness-autopilot/SKILL.md +20 -3
- package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +55 -5
- package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +36 -15
- package/dist/agents/skills/claude-code/harness-codebase-cleanup/SKILL.md +1 -1
- package/dist/agents/skills/claude-code/harness-execution/SKILL.md +70 -13
- package/dist/agents/skills/claude-code/harness-planning/SKILL.md +41 -3
- package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +28 -3
- package/dist/agents/skills/claude-code/harness-release-readiness/SKILL.md +14 -2
- package/dist/agents/skills/claude-code/harness-verification/SKILL.md +18 -2
- package/dist/agents/skills/gemini-cli/cleanup-dead-code/SKILL.md +3 -3
- package/dist/agents/skills/gemini-cli/harness-autopilot/SKILL.md +20 -3
- package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +55 -5
- package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +36 -15
- package/dist/agents/skills/gemini-cli/harness-codebase-cleanup/SKILL.md +1 -1
- package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +70 -13
- package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +41 -3
- package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +28 -3
- package/dist/agents/skills/gemini-cli/harness-release-readiness/SKILL.md +14 -2
- package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +18 -2
- package/dist/agents-md-EMRFLNBC.js +8 -0
- package/dist/architecture-5JNN5L3M.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-WOKIYGAM.js +12 -0
- package/dist/chunk-46YA6FI3.js +293 -0
- package/dist/chunk-4PFMY3H7.js +248 -0
- package/dist/{chunk-LB4GRDDV.js → chunk-72GHBOL2.js} +1 -1
- package/dist/chunk-7X7ZAYMY.js +373 -0
- package/dist/chunk-B7HFEHWP.js +35 -0
- package/dist/chunk-BM3PWGXQ.js +14 -0
- package/dist/chunk-C2ERUR3L.js +255 -0
- package/dist/chunk-CWZ4Y2PO.js +189 -0
- package/dist/{chunk-ULSRSP53.js → chunk-ECUJQS3B.js} +11 -112
- package/dist/chunk-EOLRW32Q.js +72 -0
- package/dist/chunk-F3YDAJFQ.js +125 -0
- package/dist/chunk-F4PTVZWA.js +116 -0
- package/dist/chunk-FPIPT36X.js +187 -0
- package/dist/chunk-FX7SQHGD.js +103 -0
- package/dist/chunk-HIOXKZYF.js +15 -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-LXU5M77O.js +4028 -0
- package/dist/chunk-MDUK2J2O.js +67 -0
- package/dist/chunk-MHBMTPW7.js +29 -0
- package/dist/chunk-MO4YQOMB.js +85 -0
- package/dist/chunk-NKDM3FMH.js +52 -0
- package/dist/{chunk-SAB3VXOW.js → chunk-NX6DSZSM.js} +144 -111
- package/dist/chunk-OPXH4CQN.js +62 -0
- package/dist/{chunk-Y7U5AYAL.js → chunk-PAHHT2IK.js} +471 -2719
- package/dist/chunk-PMTFPOCT.js +122 -0
- package/dist/chunk-PSXF277V.js +89 -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-TRAPF4IX.js +185 -0
- package/dist/chunk-VUCPTQ6G.js +67 -0
- package/dist/chunk-W6Y7ZW3Y.js +13 -0
- package/dist/chunk-ZOAWBDWU.js +72 -0
- package/dist/ci-workflow-ZBBUNTHQ.js +8 -0
- package/dist/constants-5JGUXPEK.js +6 -0
- package/dist/create-skill-LUWO46WF.js +11 -0
- package/dist/dist-D4RYGUZE.js +14 -0
- package/dist/{dist-K6KTTN3I.js → dist-I7DB5VKB.js} +237 -0
- package/dist/dist-L7LAAQAS.js +18 -0
- package/dist/{dist-ZODQVGC4.js → dist-PBTNVK6K.js} +8 -6
- package/dist/docs-PTJGD6XI.js +12 -0
- package/dist/engine-SCMZ3G3E.js +8 -0
- package/dist/entropy-YIUBGKY7.js +12 -0
- package/dist/feedback-WEVQSLAA.js +18 -0
- package/dist/generate-agent-definitions-BU5LOJTI.js +15 -0
- package/dist/glob-helper-5OHBUQAI.js +52 -0
- package/dist/graph-loader-RLO3KRIX.js +8 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.js +84 -33
- package/dist/loader-6S6PVGSF.js +10 -0
- package/dist/mcp-BNLBTCXZ.js +34 -0
- package/dist/performance-5TVW6SA6.js +24 -0
- package/dist/review-pipeline-4JTQAWKW.js +9 -0
- package/dist/runner-VMYLHWOC.js +6 -0
- package/dist/runtime-PXIM7UV6.js +9 -0
- package/dist/security-URYTKLGK.js +9 -0
- package/dist/skill-executor-KVS47DAU.js +8 -0
- package/dist/validate-KSDUUK2M.js +12 -0
- package/dist/validate-cross-check-WZAX357V.js +8 -0
- package/dist/version-KFFPOQAX.js +6 -0
- package/package.json +7 -5
- package/dist/create-skill-UZOHMXRU.js +0 -8
- package/dist/validate-cross-check-DLNK423G.js +0 -7
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkDocsDefinition,
|
|
3
|
+
handleCheckDocs
|
|
4
|
+
} from "./chunk-F4PTVZWA.js";
|
|
5
|
+
import "./chunk-IDZNPTYD.js";
|
|
6
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
+
import "./chunk-NX6DSZSM.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-CWZ4Y2PO.js";
|
|
5
|
+
import "./chunk-IDZNPTYD.js";
|
|
6
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
+
import "./chunk-NX6DSZSM.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-4PFMY3H7.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-46YA6FI3.js";
|
|
5
|
+
import "./chunk-Q6AB7W5Z.js";
|
|
6
|
+
import "./chunk-KET4QQZB.js";
|
|
7
|
+
import "./chunk-ZOAWBDWU.js";
|
|
8
|
+
import "./chunk-EOLRW32Q.js";
|
|
9
|
+
import "./chunk-B7HFEHWP.js";
|
|
10
|
+
import "./chunk-NX6DSZSM.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
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Command } from 'commander';
|
|
|
2
2
|
import { ContextQLResult, IngestResult } from '@harness-engineering/graph';
|
|
3
3
|
import { Result } from '@harness-engineering/core';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
5
6
|
|
|
6
7
|
interface Phase {
|
|
7
8
|
name: string;
|
|
@@ -987,6 +988,15 @@ declare function renderClaudeCodeAgent(def: AgentDefinition): string;
|
|
|
987
988
|
|
|
988
989
|
declare function renderGeminiAgent(def: AgentDefinition): string;
|
|
989
990
|
|
|
991
|
+
type ToolDefinition = {
|
|
992
|
+
name: string;
|
|
993
|
+
description: string;
|
|
994
|
+
inputSchema: Record<string, unknown>;
|
|
995
|
+
};
|
|
996
|
+
declare function getToolDefinitions(): ToolDefinition[];
|
|
997
|
+
declare function createHarnessServer(projectRoot?: string): Server;
|
|
998
|
+
declare function startServer(): Promise<void>;
|
|
999
|
+
|
|
990
1000
|
declare function createProgram(): Command;
|
|
991
1001
|
|
|
992
|
-
export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, buildPreamble, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runIngest, runPersona, runQuery, runScan };
|
|
1002
|
+
export { AGENT_DESCRIPTIONS, ALLOWED_PERSONA_COMMANDS, type AgentDefinition, CLIError, type CommandExecutor, type CommandStep, type CreateSkillOptions, DEFAULT_TOOLS, ExitCode, GEMINI_TOOL_MAP, type GenerateAgentDefsOptions, type GenerateAgentDefsResult, type GenerateResult, type HandoffContext, type HarnessConfig, OutputFormatter, OutputMode, type Persona, type PersonaMetadata, type PersonaRunReport, type RenderedFiles, type SkillExecutionContext, type SkillExecutionResult, type SkillExecutor, type SkillSource, type SkillStep, type Step, type StepExecutionContext, type StepReport, type TemplateContext, TemplateEngine, type TriggerContext, type TriggerDetectionResult, buildPreamble, createHarnessServer, createProgram, detectTrigger, executeSkill, findConfigFile, generateAgentDefinition, generateAgentDefinitions, generateAgentsMd, generateCIWorkflow, generateRuntime, generateSkillFiles, generateSlashCommands, getToolDefinitions, handleError, listPersonas, loadConfig, loadPersona, logger, renderClaudeCodeAgent, renderGeminiAgent, resolveConfig, runCheckPhaseGate, runCrossCheck, runGraphExport, runGraphStatus, runIngest, runPersona, runQuery, runScan, startServer };
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,95 @@
|
|
|
1
1
|
import {
|
|
2
|
-
AGENT_DESCRIPTIONS,
|
|
3
|
-
ALLOWED_PERSONA_COMMANDS,
|
|
4
|
-
DEFAULT_TOOLS,
|
|
5
|
-
GEMINI_TOOL_MAP,
|
|
6
|
-
OutputFormatter,
|
|
7
|
-
OutputMode,
|
|
8
|
-
TemplateEngine,
|
|
9
2
|
buildPreamble,
|
|
10
3
|
createProgram,
|
|
11
|
-
detectTrigger,
|
|
12
|
-
executeSkill,
|
|
13
|
-
findConfigFile,
|
|
14
|
-
generateAgentDefinition,
|
|
15
|
-
generateAgentDefinitions,
|
|
16
|
-
generateAgentsMd,
|
|
17
|
-
generateCIWorkflow,
|
|
18
|
-
generateRuntime,
|
|
19
|
-
generateSlashCommands,
|
|
20
|
-
listPersonas,
|
|
21
|
-
loadConfig,
|
|
22
|
-
loadPersona,
|
|
23
|
-
renderClaudeCodeAgent,
|
|
24
|
-
renderGeminiAgent,
|
|
25
|
-
resolveConfig,
|
|
26
|
-
runCheckPhaseGate,
|
|
27
4
|
runGraphExport,
|
|
28
5
|
runGraphStatus,
|
|
29
6
|
runIngest,
|
|
30
|
-
runPersona,
|
|
31
7
|
runQuery,
|
|
32
8
|
runScan
|
|
33
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PAHHT2IK.js";
|
|
34
10
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import
|
|
11
|
+
generateCIWorkflow
|
|
12
|
+
} from "./chunk-VUCPTQ6G.js";
|
|
13
|
+
import {
|
|
14
|
+
OutputFormatter,
|
|
15
|
+
OutputMode,
|
|
16
|
+
findConfigFile,
|
|
17
|
+
loadConfig,
|
|
18
|
+
resolveConfig,
|
|
19
|
+
runCheckPhaseGate
|
|
20
|
+
} from "./chunk-7X7ZAYMY.js";
|
|
21
|
+
import {
|
|
22
|
+
AGENT_DESCRIPTIONS,
|
|
23
|
+
DEFAULT_TOOLS,
|
|
24
|
+
GEMINI_TOOL_MAP,
|
|
25
|
+
generateAgentDefinition,
|
|
26
|
+
generateAgentDefinitions,
|
|
27
|
+
renderClaudeCodeAgent,
|
|
28
|
+
renderGeminiAgent
|
|
29
|
+
} from "./chunk-46YA6FI3.js";
|
|
30
|
+
import {
|
|
31
|
+
listPersonas,
|
|
32
|
+
loadPersona
|
|
33
|
+
} from "./chunk-Q6AB7W5Z.js";
|
|
34
|
+
import {
|
|
35
|
+
detectTrigger,
|
|
36
|
+
runPersona
|
|
37
|
+
} from "./chunk-TRAPF4IX.js";
|
|
38
|
+
import {
|
|
39
|
+
executeSkill
|
|
40
|
+
} from "./chunk-F3YDAJFQ.js";
|
|
41
|
+
import {
|
|
42
|
+
ALLOWED_PERSONA_COMMANDS
|
|
43
|
+
} from "./chunk-TEFCFC4H.js";
|
|
44
|
+
import {
|
|
45
|
+
generateSkillFiles
|
|
46
|
+
} from "./chunk-ECUJQS3B.js";
|
|
47
|
+
import {
|
|
48
|
+
logger
|
|
49
|
+
} from "./chunk-HIOXKZYF.js";
|
|
50
|
+
import "./chunk-QPEH2QPG.js";
|
|
51
|
+
import {
|
|
52
|
+
generateRuntime
|
|
53
|
+
} from "./chunk-JSTQ3AWB.js";
|
|
54
|
+
import "./chunk-KET4QQZB.js";
|
|
55
|
+
import {
|
|
56
|
+
generateAgentsMd
|
|
57
|
+
} from "./chunk-NKDM3FMH.js";
|
|
58
|
+
import {
|
|
59
|
+
createHarnessServer,
|
|
60
|
+
generateSlashCommands,
|
|
61
|
+
getToolDefinitions,
|
|
62
|
+
startServer
|
|
63
|
+
} from "./chunk-LXU5M77O.js";
|
|
64
|
+
import "./chunk-CWZ4Y2PO.js";
|
|
65
|
+
import "./chunk-FPIPT36X.js";
|
|
66
|
+
import "./chunk-4PFMY3H7.js";
|
|
67
|
+
import "./chunk-PSXF277V.js";
|
|
68
|
+
import "./chunk-PMTFPOCT.js";
|
|
69
|
+
import "./chunk-ZOAWBDWU.js";
|
|
70
|
+
import "./chunk-FX7SQHGD.js";
|
|
71
|
+
import "./chunk-OPXH4CQN.js";
|
|
72
|
+
import "./chunk-MO4YQOMB.js";
|
|
73
|
+
import "./chunk-K6XAPGML.js";
|
|
74
|
+
import "./chunk-F4PTVZWA.js";
|
|
75
|
+
import "./chunk-IDZNPTYD.js";
|
|
76
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
77
|
+
import "./chunk-EOLRW32Q.js";
|
|
38
78
|
import {
|
|
39
79
|
CLIError,
|
|
40
80
|
ExitCode,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
81
|
+
handleError
|
|
82
|
+
} from "./chunk-B7HFEHWP.js";
|
|
83
|
+
import "./chunk-MDUK2J2O.js";
|
|
84
|
+
import "./chunk-BM3PWGXQ.js";
|
|
85
|
+
import {
|
|
86
|
+
runCrossCheck
|
|
87
|
+
} from "./chunk-72GHBOL2.js";
|
|
88
|
+
import {
|
|
89
|
+
TemplateEngine
|
|
90
|
+
} from "./chunk-C2ERUR3L.js";
|
|
91
|
+
import "./chunk-NX6DSZSM.js";
|
|
92
|
+
import "./chunk-MHBMTPW7.js";
|
|
45
93
|
export {
|
|
46
94
|
AGENT_DESCRIPTIONS,
|
|
47
95
|
ALLOWED_PERSONA_COMMANDS,
|
|
@@ -53,6 +101,7 @@ export {
|
|
|
53
101
|
OutputMode,
|
|
54
102
|
TemplateEngine,
|
|
55
103
|
buildPreamble,
|
|
104
|
+
createHarnessServer,
|
|
56
105
|
createProgram,
|
|
57
106
|
detectTrigger,
|
|
58
107
|
executeSkill,
|
|
@@ -64,6 +113,7 @@ export {
|
|
|
64
113
|
generateRuntime,
|
|
65
114
|
generateSkillFiles,
|
|
66
115
|
generateSlashCommands,
|
|
116
|
+
getToolDefinitions,
|
|
67
117
|
handleError,
|
|
68
118
|
listPersonas,
|
|
69
119
|
loadConfig,
|
|
@@ -79,5 +129,6 @@ export {
|
|
|
79
129
|
runIngest,
|
|
80
130
|
runPersona,
|
|
81
131
|
runQuery,
|
|
82
|
-
runScan
|
|
132
|
+
runScan,
|
|
133
|
+
startServer
|
|
83
134
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createHarnessServer,
|
|
3
|
+
getToolDefinitions,
|
|
4
|
+
startServer
|
|
5
|
+
} from "./chunk-LXU5M77O.js";
|
|
6
|
+
import "./chunk-CWZ4Y2PO.js";
|
|
7
|
+
import "./chunk-FPIPT36X.js";
|
|
8
|
+
import "./chunk-4PFMY3H7.js";
|
|
9
|
+
import "./chunk-PSXF277V.js";
|
|
10
|
+
import "./chunk-PMTFPOCT.js";
|
|
11
|
+
import "./chunk-ZOAWBDWU.js";
|
|
12
|
+
import "./chunk-FX7SQHGD.js";
|
|
13
|
+
import "./chunk-OPXH4CQN.js";
|
|
14
|
+
import "./chunk-MO4YQOMB.js";
|
|
15
|
+
import {
|
|
16
|
+
resolveProjectConfig
|
|
17
|
+
} from "./chunk-K6XAPGML.js";
|
|
18
|
+
import "./chunk-F4PTVZWA.js";
|
|
19
|
+
import {
|
|
20
|
+
resultToMcpResponse
|
|
21
|
+
} from "./chunk-IDZNPTYD.js";
|
|
22
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
23
|
+
import "./chunk-EOLRW32Q.js";
|
|
24
|
+
import "./chunk-B7HFEHWP.js";
|
|
25
|
+
import "./chunk-MDUK2J2O.js";
|
|
26
|
+
import "./chunk-NX6DSZSM.js";
|
|
27
|
+
import "./chunk-MHBMTPW7.js";
|
|
28
|
+
export {
|
|
29
|
+
createHarnessServer,
|
|
30
|
+
getToolDefinitions,
|
|
31
|
+
resolveProjectConfig,
|
|
32
|
+
resultToMcpResponse,
|
|
33
|
+
startServer
|
|
34
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkPerformanceDefinition,
|
|
3
|
+
getCriticalPathsDefinition,
|
|
4
|
+
getPerfBaselinesDefinition,
|
|
5
|
+
handleCheckPerformance,
|
|
6
|
+
handleGetCriticalPaths,
|
|
7
|
+
handleGetPerfBaselines,
|
|
8
|
+
handleUpdatePerfBaselines,
|
|
9
|
+
updatePerfBaselinesDefinition
|
|
10
|
+
} from "./chunk-FPIPT36X.js";
|
|
11
|
+
import "./chunk-IDZNPTYD.js";
|
|
12
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
13
|
+
import "./chunk-NX6DSZSM.js";
|
|
14
|
+
import "./chunk-MHBMTPW7.js";
|
|
15
|
+
export {
|
|
16
|
+
checkPerformanceDefinition,
|
|
17
|
+
getCriticalPathsDefinition,
|
|
18
|
+
getPerfBaselinesDefinition,
|
|
19
|
+
handleCheckPerformance,
|
|
20
|
+
handleGetCriticalPaths,
|
|
21
|
+
handleGetPerfBaselines,
|
|
22
|
+
handleUpdatePerfBaselines,
|
|
23
|
+
updatePerfBaselinesDefinition
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handleValidateProject,
|
|
3
|
+
validateToolDefinition
|
|
4
|
+
} from "./chunk-FX7SQHGD.js";
|
|
5
|
+
import "./chunk-K6XAPGML.js";
|
|
6
|
+
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
+
import "./chunk-NX6DSZSM.js";
|
|
8
|
+
import "./chunk-MHBMTPW7.js";
|
|
9
|
+
export {
|
|
10
|
+
handleValidateProject,
|
|
11
|
+
validateToolDefinition
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "CLI for Harness Engineering toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"harness": "./dist/bin/harness.js"
|
|
7
|
+
"harness": "./dist/bin/harness.js",
|
|
8
|
+
"harness-mcp": "./dist/bin/harness-mcp.js"
|
|
8
9
|
},
|
|
9
10
|
"main": "./dist/index.js",
|
|
10
11
|
"types": "./dist/index.d.ts",
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
"README.md"
|
|
22
23
|
],
|
|
23
24
|
"dependencies": {
|
|
25
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
24
26
|
"@typescript-eslint/typescript-estree": "^7.0.0",
|
|
25
27
|
"chalk": "^5.3.0",
|
|
26
28
|
"commander": "^12.0.0",
|
|
@@ -30,9 +32,9 @@
|
|
|
30
32
|
"minimatch": "^10.2.4",
|
|
31
33
|
"yaml": "^2.3.0",
|
|
32
34
|
"zod": "^3.22.0",
|
|
33
|
-
"@harness-engineering/core": "0.
|
|
34
|
-
"@harness-engineering/
|
|
35
|
-
"@harness-engineering/
|
|
35
|
+
"@harness-engineering/core": "0.10.1",
|
|
36
|
+
"@harness-engineering/graph": "0.3.1",
|
|
37
|
+
"@harness-engineering/linter-gen": "0.1.2"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
40
|
"@types/node": "^22.0.0",
|