@harness-engineering/cli 1.25.3 → 1.25.4
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/bin/harness-mcp.js
CHANGED
package/dist/bin/harness.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createProgram,
|
|
4
4
|
printFirstRunWelcome
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2KZAXESR.js";
|
|
6
6
|
import "../chunk-5BQ5BOJL.js";
|
|
7
7
|
import "../chunk-EHRZMOQ2.js";
|
|
8
8
|
import "../chunk-XTITAVUR.js";
|
|
@@ -19,7 +19,7 @@ import "../chunk-P7PANON5.js";
|
|
|
19
19
|
import "../chunk-4NK7Z3BP.js";
|
|
20
20
|
import {
|
|
21
21
|
dispatchSkillsFromGit
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-BUYW3SA2.js";
|
|
23
23
|
import "../chunk-FES2YEQU.js";
|
|
24
24
|
import "../chunk-UV3BZMGT.js";
|
|
25
25
|
import "../chunk-F23H3U5U.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
loadOrRebuildIndex,
|
|
57
57
|
persistToolingConfig,
|
|
58
58
|
recommend
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-BUYW3SA2.js";
|
|
60
60
|
import {
|
|
61
61
|
findConfigFile,
|
|
62
62
|
resolveConfig
|
|
@@ -2162,6 +2162,11 @@ function runDashboard(opts) {
|
|
|
2162
2162
|
DASHBOARD_CLIENT_PORT: String(clientPort),
|
|
2163
2163
|
HARNESS_PROJECT_PATH: projectPath
|
|
2164
2164
|
};
|
|
2165
|
+
if (opts.orchestratorUrl) {
|
|
2166
|
+
env["ORCHESTRATOR_URL"] = opts.orchestratorUrl;
|
|
2167
|
+
} else if (!env["ORCHESTRATOR_URL"] && !env["ORCHESTRATOR_PORT"]) {
|
|
2168
|
+
env["ORCHESTRATOR_PORT"] = "8080";
|
|
2169
|
+
}
|
|
2165
2170
|
spawnDashboardServer(server, env);
|
|
2166
2171
|
console.log(`Dashboard API starting on http://localhost:${apiPort}`);
|
|
2167
2172
|
console.log(`Open ${url} (pass --no-open to suppress)`);
|
|
@@ -2170,7 +2175,7 @@ function runDashboard(opts) {
|
|
|
2170
2175
|
}
|
|
2171
2176
|
}
|
|
2172
2177
|
function createDashboardCommand() {
|
|
2173
|
-
return new Command19("dashboard").description("Start the Harness local web dashboard").option("--port <port>", "Client dev server port", String(DEFAULT_CLIENT_PORT)).option("--api-port <port>", "API server port", String(DEFAULT_API_PORT)).option("--no-open", "Do not automatically open browser").option("--cwd <path>", "Project directory (defaults to cwd)").action((opts) => runDashboard(opts));
|
|
2178
|
+
return new Command19("dashboard").description("Start the Harness local web dashboard").option("--port <port>", "Client dev server port", String(DEFAULT_CLIENT_PORT)).option("--api-port <port>", "API server port", String(DEFAULT_API_PORT)).option("--orchestrator-url <url>", "Orchestrator URL (default: http://localhost:8080)").option("--no-open", "Do not automatically open browser").option("--cwd <path>", "Project directory (defaults to cwd)").action((opts) => runDashboard(opts));
|
|
2174
2179
|
}
|
|
2175
2180
|
|
|
2176
2181
|
// src/commands/doctor.ts
|
|
@@ -5423,7 +5428,7 @@ function createMcpCommand() {
|
|
|
5423
5428
|
parseBudget
|
|
5424
5429
|
).action(async (opts) => {
|
|
5425
5430
|
const [{ startServer: startServer2, getToolDefinitions: getToolDefinitions2 }, { selectTier }] = await Promise.all([
|
|
5426
|
-
import("./mcp-
|
|
5431
|
+
import("./mcp-JZ7YB7TD.js"),
|
|
5427
5432
|
import("./tool-tiers-7QGZ3FKY.js")
|
|
5428
5433
|
]);
|
|
5429
5434
|
if (opts.tools && opts.tools.length > 0) {
|
|
@@ -280,11 +280,14 @@ function persistToolingConfig(targetDir, resolveResult, framework) {
|
|
|
280
280
|
function ensureHarnessGitignore(targetDir) {
|
|
281
281
|
const gitignorePath = path.join(targetDir, ".harness", ".gitignore");
|
|
282
282
|
const content = `# Runtime artifacts (generated, ephemeral, session-scoped)
|
|
283
|
+
analyses/
|
|
283
284
|
graph/
|
|
284
285
|
debug/
|
|
285
286
|
hooks/
|
|
287
|
+
interactions/
|
|
286
288
|
security/
|
|
287
289
|
sessions/
|
|
290
|
+
workspaces/
|
|
288
291
|
state.json
|
|
289
292
|
state/
|
|
290
293
|
handoff.json
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
runSnapshotCapture,
|
|
13
13
|
runUninstall,
|
|
14
14
|
runUninstallConstraints
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2KZAXESR.js";
|
|
16
16
|
import {
|
|
17
17
|
generateAgentsMd
|
|
18
18
|
} from "./chunk-5BQ5BOJL.js";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
generateSlashCommands,
|
|
67
67
|
getToolDefinitions,
|
|
68
68
|
startServer
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-BUYW3SA2.js";
|
|
70
70
|
import "./chunk-FES2YEQU.js";
|
|
71
71
|
import "./chunk-UV3BZMGT.js";
|
|
72
72
|
import "./chunk-F23H3U5U.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/cli",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.4",
|
|
4
4
|
"description": "CLI for Harness Engineering toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"web-tree-sitter": "^0.24.7",
|
|
38
38
|
"yaml": "^2.8.3",
|
|
39
39
|
"zod": "^3.25.76",
|
|
40
|
-
"@harness-engineering/core": "0.22.0",
|
|
41
40
|
"@harness-engineering/graph": "0.4.3",
|
|
42
|
-
"@harness-engineering/
|
|
43
|
-
"@harness-engineering/orchestrator": "0.2.9",
|
|
41
|
+
"@harness-engineering/orchestrator": "0.2.10",
|
|
44
42
|
"@harness-engineering/types": "0.9.2",
|
|
45
|
-
"@harness-engineering/dashboard": "0.1.
|
|
43
|
+
"@harness-engineering/dashboard": "0.1.6",
|
|
44
|
+
"@harness-engineering/linter-gen": "0.1.6",
|
|
45
|
+
"@harness-engineering/core": "0.22.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^22.19.15",
|