@harness-engineering/cli 1.9.0 → 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/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/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-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-6JIT7CEM.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-CGSHUJES.js → chunk-NX6DSZSM.js} +7 -26
- package/dist/chunk-OPXH4CQN.js +62 -0
- package/dist/{chunk-RTPHUDZS.js → chunk-PAHHT2IK.js} +466 -2714
- 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-L7LAAQAS.js +18 -0
- package/dist/{dist-C5PYIQPF.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 +6 -4
- package/dist/create-skill-UZOHMXRU.js +0 -8
- package/dist/validate-cross-check-VG573VZO.js +0 -7
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,8 +32,8 @@
|
|
|
30
32
|
"minimatch": "^10.2.4",
|
|
31
33
|
"yaml": "^2.3.0",
|
|
32
34
|
"zod": "^3.22.0",
|
|
33
|
-
"@harness-engineering/core": "0.10.
|
|
34
|
-
"@harness-engineering/graph": "0.3.
|
|
35
|
+
"@harness-engineering/core": "0.10.1",
|
|
36
|
+
"@harness-engineering/graph": "0.3.1",
|
|
35
37
|
"@harness-engineering/linter-gen": "0.1.2"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|