@harness-engineering/cli 3.1.0 → 4.0.1
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/personas/harness-pm.yaml +33 -0
- package/dist/agents/skills/claude-code/acceptance-eval/SKILL.md +92 -0
- package/dist/agents/skills/claude-code/acceptance-eval/skill.yaml +54 -0
- package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +46 -38
- package/dist/agents/skills/claude-code/harness-brainstorming/skill.yaml +1 -0
- package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +10 -11
- package/dist/agents/skills/claude-code/harness-execution/SKILL.md +24 -26
- package/dist/agents/skills/claude-code/harness-integration/SKILL.md +21 -19
- package/dist/agents/skills/claude-code/harness-maintenance-pipeline/SKILL.md +173 -0
- package/dist/agents/skills/claude-code/harness-maintenance-pipeline/skill.yaml +43 -0
- package/dist/agents/skills/claude-code/harness-onboarding/SKILL.md +2 -0
- package/dist/agents/skills/claude-code/harness-planning/SKILL.md +17 -40
- package/dist/agents/skills/claude-code/harness-pulse/SKILL.md +1 -1
- package/dist/agents/skills/claude-code/harness-roadmap/SKILL.md +17 -0
- package/dist/agents/skills/claude-code/harness-roadmap-pilot/SKILL.md +8 -0
- package/dist/agents/skills/claude-code/harness-verification/SKILL.md +9 -12
- package/dist/agents/skills/claude-code/initialize-harness-project/SKILL.md +112 -126
- package/dist/agents/skills/claude-code/outcome-eval/SKILL.md +1 -0
- package/dist/agents/skills/claude-code/product-advisor/SKILL.md +202 -0
- package/dist/agents/skills/claude-code/product-advisor/skill.yaml +74 -0
- package/dist/agents/skills/codex/acceptance-eval/SKILL.md +92 -0
- package/dist/agents/skills/codex/acceptance-eval/skill.yaml +54 -0
- package/dist/agents/skills/codex/harness-brainstorming/SKILL.md +46 -38
- package/dist/agents/skills/codex/harness-brainstorming/skill.yaml +1 -0
- package/dist/agents/skills/codex/harness-code-review/SKILL.md +10 -11
- package/dist/agents/skills/codex/harness-execution/SKILL.md +24 -26
- package/dist/agents/skills/codex/harness-integration/SKILL.md +21 -19
- package/dist/agents/skills/codex/harness-maintenance-pipeline/SKILL.md +173 -0
- package/dist/agents/skills/codex/harness-maintenance-pipeline/skill.yaml +43 -0
- package/dist/agents/skills/codex/harness-onboarding/SKILL.md +2 -0
- package/dist/agents/skills/codex/harness-planning/SKILL.md +17 -40
- package/dist/agents/skills/codex/harness-pulse/SKILL.md +1 -1
- package/dist/agents/skills/codex/harness-roadmap/SKILL.md +17 -0
- package/dist/agents/skills/codex/harness-roadmap-pilot/SKILL.md +8 -0
- package/dist/agents/skills/codex/harness-verification/SKILL.md +9 -12
- package/dist/agents/skills/codex/initialize-harness-project/SKILL.md +112 -126
- package/dist/agents/skills/codex/outcome-eval/SKILL.md +1 -0
- package/dist/agents/skills/codex/product-advisor/SKILL.md +202 -0
- package/dist/agents/skills/codex/product-advisor/skill.yaml +74 -0
- package/dist/agents/skills/cursor/acceptance-eval/SKILL.md +92 -0
- package/dist/agents/skills/cursor/acceptance-eval/skill.yaml +54 -0
- package/dist/agents/skills/cursor/harness-brainstorming/SKILL.md +46 -38
- package/dist/agents/skills/cursor/harness-brainstorming/skill.yaml +1 -0
- package/dist/agents/skills/cursor/harness-code-review/SKILL.md +10 -11
- package/dist/agents/skills/cursor/harness-execution/SKILL.md +24 -26
- package/dist/agents/skills/cursor/harness-integration/SKILL.md +21 -19
- package/dist/agents/skills/cursor/harness-maintenance-pipeline/SKILL.md +173 -0
- package/dist/agents/skills/cursor/harness-maintenance-pipeline/skill.yaml +43 -0
- package/dist/agents/skills/cursor/harness-onboarding/SKILL.md +2 -0
- package/dist/agents/skills/cursor/harness-planning/SKILL.md +17 -40
- package/dist/agents/skills/cursor/harness-pulse/SKILL.md +1 -1
- package/dist/agents/skills/cursor/harness-roadmap/SKILL.md +17 -0
- package/dist/agents/skills/cursor/harness-roadmap-pilot/SKILL.md +8 -0
- package/dist/agents/skills/cursor/harness-verification/SKILL.md +9 -12
- package/dist/agents/skills/cursor/initialize-harness-project/SKILL.md +112 -126
- package/dist/agents/skills/cursor/outcome-eval/SKILL.md +1 -0
- package/dist/agents/skills/cursor/product-advisor/SKILL.md +202 -0
- package/dist/agents/skills/cursor/product-advisor/skill.yaml +74 -0
- package/dist/agents/skills/gemini-cli/acceptance-eval/SKILL.md +92 -0
- package/dist/agents/skills/gemini-cli/acceptance-eval/skill.yaml +54 -0
- package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +46 -38
- package/dist/agents/skills/gemini-cli/harness-brainstorming/skill.yaml +1 -0
- package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +10 -11
- package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +24 -26
- package/dist/agents/skills/gemini-cli/harness-integration/SKILL.md +21 -19
- package/dist/agents/skills/gemini-cli/harness-maintenance-pipeline/SKILL.md +173 -0
- package/dist/agents/skills/gemini-cli/harness-maintenance-pipeline/skill.yaml +43 -0
- package/dist/agents/skills/gemini-cli/harness-onboarding/SKILL.md +2 -0
- package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +17 -40
- package/dist/agents/skills/gemini-cli/harness-pulse/SKILL.md +1 -1
- package/dist/agents/skills/gemini-cli/harness-roadmap/SKILL.md +17 -0
- package/dist/agents/skills/gemini-cli/harness-roadmap-pilot/SKILL.md +8 -0
- package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +9 -12
- package/dist/agents/skills/gemini-cli/initialize-harness-project/SKILL.md +112 -126
- package/dist/agents/skills/gemini-cli/outcome-eval/SKILL.md +1 -0
- package/dist/agents/skills/gemini-cli/product-advisor/SKILL.md +202 -0
- package/dist/agents/skills/gemini-cli/product-advisor/skill.yaml +74 -0
- package/dist/agents/skills/tests/interaction-channel.test.ts +64 -0
- package/dist/{agents-md-YYCLGMBF.js → agents-md-VJLYEH2S.js} +4 -4
- package/dist/{analyzer-V633GUHY-MBCQWKDU.js → analyzer-V633GUHY-OV335HGM.js} +2 -2
- package/dist/{architecture-5KPP4ID4.js → architecture-YQH2NYXY.js} +5 -5
- package/dist/{assess-project-B6ENHUAU.js → assess-project-KOTAPAHD.js} +1 -1
- package/dist/bin/harness-mcp.js +19 -18
- package/dist/bin/harness.js +31 -29
- package/dist/{check-phase-gate-REG3HWYC.js → check-phase-gate-CHU2E3OU.js} +6 -5
- package/dist/{chunk-UBTMPO5H.js → chunk-36GQREOE.js} +3 -3
- package/dist/{chunk-CLI4K2CH.js → chunk-4U5LDFCY.js} +1 -1
- package/dist/{chunk-IF3JK3G5.js → chunk-4VXFZSYF.js} +1 -1
- package/dist/{chunk-TE5YHHHZ.js → chunk-5RSXUAMN.js} +1 -1
- package/dist/{chunk-YF3AY6KS.js → chunk-6SCYTIF4.js} +6 -6
- package/dist/{chunk-N55WOGN3.js → chunk-6YFHUIGT.js} +1 -1
- package/dist/{chunk-RGQXHCCH.js → chunk-7PJCK7UE.js} +8 -8
- package/dist/{chunk-LMZ2JTNP.js → chunk-7TIJXWG3.js} +5 -9
- package/dist/chunk-AAUY53CC.js +61 -0
- package/dist/{chunk-XEOSSKIB.js → chunk-AX5KGRM6.js} +48 -4
- package/dist/{chunk-FUH4J43G.js → chunk-E5EW5HVJ.js} +2 -2
- package/dist/{chunk-C2ZGWMTN.js → chunk-EYMOPFSD.js} +2 -2
- package/dist/{chunk-FL5SLUKZ.js → chunk-GHBFNLV2.js} +2374 -1095
- package/dist/{chunk-HIPBU2Q4.js → chunk-I3CGCZJF.js} +9 -9
- package/dist/{chunk-OQFEFVIN.js → chunk-JPVOI7GP.js} +7 -7
- package/dist/{chunk-DNX35Q5K.js → chunk-M7F2PPN3.js} +3 -3
- package/dist/{chunk-A65QO5KN.js → chunk-MMLQPHZ5.js} +3032 -1166
- package/dist/{chunk-ERZCC5VH.js → chunk-OQ6KOQEV.js} +9 -9
- package/dist/{chunk-ZOUJP3EY.js → chunk-RG3TNIUB.js} +1659 -808
- package/dist/{chunk-PZX2Y3RV.js → chunk-SDMV4QHM.js} +5 -5
- package/dist/{chunk-XZ2Q4UTW.js → chunk-SEA2PFVI.js} +1 -1
- package/dist/{chunk-TCVQVHEF.js → chunk-T746REAE.js} +1 -1
- package/dist/{chunk-6B6UN6SG.js → chunk-UTJJJDNN.js} +11 -1
- package/dist/{chunk-BXKNWSG4.js → chunk-UWVMJEUJ.js} +1 -1
- package/dist/{chunk-WWACIIBA.js → chunk-V3ZQUCRH.js} +1 -1
- package/dist/{chunk-27AJKSQY.js → chunk-WBVCN35T.js} +1 -1
- package/dist/{chunk-PP6ZRL5T.js → chunk-WZJR6SOI.js} +536 -422
- package/dist/{chunk-YQAFKOOL.js → chunk-XAVMTAUT.js} +2 -2
- package/dist/chunk-Y6SUQC32.js +9 -0
- package/dist/{chunk-ZRKFDE6M.js → chunk-YANR2RL7.js} +1 -1
- package/dist/{chunk-2N4OENGE.js → chunk-YYFSFSB3.js} +1 -1
- package/dist/{ci-workflow-JEYYCBOC.js → ci-workflow-HO4WKGNG.js} +4 -4
- package/dist/{dist-3HW4LCHE.js → dist-6D2F2J57.js} +73 -17
- package/dist/{dist-OWHMNL4W.js → dist-DWBTZXR5.js} +1 -1
- package/dist/{docs-YRMW7UED.js → docs-FP47JONV.js} +5 -5
- package/dist/{engine-E7H5U3AC.js → engine-YUA6IYOG.js} +4 -4
- package/dist/{entropy-3JBKCGJJ.js → entropy-DBW2INZU.js} +4 -4
- package/dist/{feedback-U6VJ6AUJ.js → feedback-BPHADTRQ.js} +1 -1
- package/dist/{generate-agent-definitions-S2FRZF4Y.js → generate-agent-definitions-KPVGBGDY.js} +6 -6
- package/dist/{glob-helper-GLZAURJC.js → glob-helper-VR6UCZZB.js} +1 -1
- package/dist/{graph-loader-HHXN5FLP.js → graph-loader-STFGYKZH.js} +1 -1
- package/dist/hooks/adoption-tracker.js +6 -5
- package/dist/hooks/protect-config.js +15 -5
- package/dist/{index-builder-3AOQ3ZII.js → index-builder-52IJJHJC.js} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +31 -29
- package/dist/{loader-RGQJYERV.js → loader-QOJQ6NZM.js} +4 -4
- package/dist/{mcp-NDTFZXWF.js → mcp-ZPX6O767.js} +21 -20
- package/dist/{performance-FPWKC4CN.js → performance-FXYTGJGQ.js} +5 -5
- package/dist/{review-pipeline-WUHG7PHO.js → review-pipeline-2TFQ5OAE.js} +4 -4
- package/dist/{runtime-Q3ORD7LW.js → runtime-XK6ZCHKE.js} +4 -4
- package/dist/{scan-P7YFKB77.js → scan-IYSVRPD2.js} +1 -1
- package/dist/{security-JDHTRBGC.js → security-4W2P5ZGI.js} +1 -1
- package/dist/{skill-executor-MOCUIAYS.js → skill-executor-BGUCAVBU.js} +2 -2
- package/dist/state-events-ECQAIZLU.js +25 -0
- package/dist/{validate-G3LKBOYA.js → validate-64KTEGIE.js} +5 -5
- package/dist/{validate-cross-check-4ITA72DF.js → validate-cross-check-J5PVGICB.js} +4 -4
- package/package.json +7 -7
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// protect-config.js — PreToolUse:Write/Edit hook
|
|
3
3
|
// Blocks modifications to linter/formatter config files.
|
|
4
|
-
// Fail
|
|
4
|
+
// Fail policy is split by failure mode:
|
|
5
|
+
// - Absent/partial stdin (unreadable / empty / unparseable JSON): fail-OPEN (exit 0),
|
|
6
|
+
// logged to stderr. These are the environmental/partial-stdin glitches issue #619
|
|
7
|
+
// documents; blocking them would self-DoS legitimate writes.
|
|
8
|
+
// - Well-formed request whose edit target is unresolvable (missing/non-string file_path,
|
|
9
|
+
// or an unexpected processing error): fail-CLOSED (exit 2) — refuse rather than allow a
|
|
10
|
+
// potentially unprotected config edit.
|
|
5
11
|
// Exit codes: 0 = allow, 2 = block
|
|
6
12
|
|
|
7
13
|
import { readFileSync } from 'node:fs';
|
|
@@ -54,8 +60,10 @@ function main() {
|
|
|
54
60
|
const filePath = input?.tool_input?.file_path;
|
|
55
61
|
|
|
56
62
|
if (typeof filePath !== 'string' || !filePath) {
|
|
57
|
-
process.stderr.write(
|
|
58
|
-
|
|
63
|
+
process.stderr.write(
|
|
64
|
+
'BLOCKED: protect-config could not verify the edit target (missing or unresolvable file_path) — refusing to allow a potentially unprotected config edit.\n'
|
|
65
|
+
);
|
|
66
|
+
process.exit(2);
|
|
59
67
|
}
|
|
60
68
|
|
|
61
69
|
if (isProtected(filePath)) {
|
|
@@ -67,8 +75,10 @@ function main() {
|
|
|
67
75
|
|
|
68
76
|
process.exit(0);
|
|
69
77
|
} catch {
|
|
70
|
-
process.stderr.write(
|
|
71
|
-
|
|
78
|
+
process.stderr.write(
|
|
79
|
+
'BLOCKED: protect-config hit an unexpected error verifying the edit target — blocking (fail-closed).\n'
|
|
80
|
+
);
|
|
81
|
+
process.exit(2);
|
|
72
82
|
}
|
|
73
83
|
}
|
|
74
84
|
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
buildIndex,
|
|
3
3
|
computeSkillsDirHash,
|
|
4
4
|
loadOrRebuildIndex
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-WBVCN35T.js";
|
|
6
|
+
import "./chunk-UTJJJDNN.js";
|
|
7
7
|
import "./chunk-HIK6OEUF.js";
|
|
8
8
|
import "./chunk-KFQGP6VL.js";
|
|
9
9
|
export {
|
package/dist/index.d.ts
CHANGED
|
@@ -1576,14 +1576,14 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
1576
1576
|
modules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["circular-deps", "layer-violations", "complexity", "coupling", "forbidden-imports", "module-size", "dependency-depth"]>, z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>>>;
|
|
1577
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1578
1578
|
enabled: boolean;
|
|
1579
|
+
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
1580
|
+
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
1579
1581
|
baselinePath: string;
|
|
1580
|
-
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
1581
|
-
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
1582
1582
|
}, {
|
|
1583
1583
|
enabled?: boolean | undefined;
|
|
1584
|
+
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1585
|
+
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1584
1586
|
baselinePath?: string | undefined;
|
|
1585
|
-
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
1586
|
-
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
1587
1587
|
}>>;
|
|
1588
1588
|
/** Skill loading, suggestion, and tier override settings */
|
|
1589
1589
|
skills: z.ZodOptional<z.ZodObject<{
|
|
@@ -2235,9 +2235,9 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2235
2235
|
} | undefined;
|
|
2236
2236
|
architecture?: {
|
|
2237
2237
|
enabled: boolean;
|
|
2238
|
+
thresholds: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
2239
|
+
modules: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
2238
2240
|
baselinePath: string;
|
|
2239
|
-
thresholds: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>;
|
|
2240
|
-
modules: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>>;
|
|
2241
2241
|
} | undefined;
|
|
2242
2242
|
traceability?: {
|
|
2243
2243
|
enabled: boolean;
|
|
@@ -2553,9 +2553,9 @@ declare const HarnessConfigSchema: z.ZodObject<{
|
|
|
2553
2553
|
} | undefined;
|
|
2554
2554
|
architecture?: {
|
|
2555
2555
|
enabled?: boolean | undefined;
|
|
2556
|
+
thresholds?: Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
2557
|
+
modules?: Record<string, Partial<Record<"complexity" | "coupling" | "circular-deps" | "layer-violations" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
2556
2558
|
baselinePath?: string | undefined;
|
|
2557
|
-
thresholds?: Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>> | undefined;
|
|
2558
|
-
modules?: Record<string, Partial<Record<"circular-deps" | "layer-violations" | "complexity" | "coupling" | "forbidden-imports" | "module-size" | "dependency-depth", number | Record<string, number>>>> | undefined;
|
|
2559
2559
|
} | undefined;
|
|
2560
2560
|
traceability?: {
|
|
2561
2561
|
enabled?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -12,19 +12,20 @@ import {
|
|
|
12
12
|
runSnapshotCapture,
|
|
13
13
|
runUninstall,
|
|
14
14
|
runUninstallConstraints
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GHBFNLV2.js";
|
|
16
16
|
import {
|
|
17
17
|
generateRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YANR2RL7.js";
|
|
19
19
|
import {
|
|
20
20
|
generateAgentsMd
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T746REAE.js";
|
|
22
22
|
import {
|
|
23
23
|
generateCIWorkflow
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AX5KGRM6.js";
|
|
25
|
+
import "./chunk-AAUY53CC.js";
|
|
25
26
|
import {
|
|
26
27
|
runCrossCheck
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4VXFZSYF.js";
|
|
28
29
|
import {
|
|
29
30
|
AGENT_DESCRIPTIONS,
|
|
30
31
|
DEFAULT_TOOLS,
|
|
@@ -33,14 +34,14 @@ import {
|
|
|
33
34
|
generateAgentDefinitions,
|
|
34
35
|
renderClaudeCodeAgent,
|
|
35
36
|
renderGeminiAgent
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-E5EW5HVJ.js";
|
|
37
38
|
import "./chunk-KET4QQZB.js";
|
|
38
39
|
import {
|
|
39
40
|
runScan
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YYFSFSB3.js";
|
|
41
42
|
import {
|
|
42
43
|
TemplateEngine
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UWVMJEUJ.js";
|
|
44
45
|
import "./chunk-CQ553GZO.js";
|
|
45
46
|
import {
|
|
46
47
|
generateSkillFiles
|
|
@@ -48,14 +49,14 @@ import {
|
|
|
48
49
|
import {
|
|
49
50
|
listPersonas,
|
|
50
51
|
loadPersona
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5RSXUAMN.js";
|
|
52
53
|
import {
|
|
53
54
|
detectTrigger,
|
|
54
55
|
runPersona
|
|
55
56
|
} from "./chunk-GISMXMVL.js";
|
|
56
57
|
import {
|
|
57
58
|
executeSkill
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-V3ZQUCRH.js";
|
|
59
60
|
import {
|
|
60
61
|
ALLOWED_PERSONA_COMMANDS
|
|
61
62
|
} from "./chunk-TEFCFC4H.js";
|
|
@@ -63,36 +64,37 @@ import {
|
|
|
63
64
|
OutputFormatter,
|
|
64
65
|
OutputMode,
|
|
65
66
|
runCheckPhaseGate
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7TIJXWG3.js";
|
|
67
68
|
import {
|
|
68
69
|
createHarnessServer,
|
|
69
70
|
generateSlashCommands,
|
|
70
71
|
getToolDefinitions,
|
|
71
72
|
startServer
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-RG3TNIUB.js";
|
|
74
|
+
import "./chunk-OQ6KOQEV.js";
|
|
75
|
+
import "./chunk-M7F2PPN3.js";
|
|
76
|
+
import "./chunk-EYMOPFSD.js";
|
|
77
|
+
import "./chunk-6SCYTIF4.js";
|
|
78
|
+
import "./chunk-I3CGCZJF.js";
|
|
79
|
+
import "./chunk-SDMV4QHM.js";
|
|
80
|
+
import "./chunk-7PJCK7UE.js";
|
|
78
81
|
import "./chunk-IOW3MW2K.js";
|
|
79
|
-
import "./chunk-ERZCC5VH.js";
|
|
80
82
|
import "./chunk-3ISINLYT.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-XZ2Q4UTW.js";
|
|
85
|
-
import "./chunk-HIPBU2Q4.js";
|
|
83
|
+
import "./chunk-4U5LDFCY.js";
|
|
84
|
+
import "./chunk-36GQREOE.js";
|
|
85
|
+
import "./chunk-JPVOI7GP.js";
|
|
86
86
|
import "./chunk-RC3OI5NK.js";
|
|
87
|
+
import "./chunk-SEA2PFVI.js";
|
|
87
88
|
import "./chunk-W6Y7ZW3Y.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-WBVCN35T.js";
|
|
90
|
+
import "./chunk-UTJJJDNN.js";
|
|
90
91
|
import "./chunk-HIK6OEUF.js";
|
|
92
|
+
import "./chunk-Y6SUQC32.js";
|
|
91
93
|
import {
|
|
92
94
|
findConfigFile,
|
|
93
95
|
loadConfig,
|
|
94
96
|
resolveConfig
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-XAVMTAUT.js";
|
|
96
98
|
import "./chunk-ZCZD7FHU.js";
|
|
97
99
|
import {
|
|
98
100
|
logger
|
|
@@ -102,11 +104,11 @@ import {
|
|
|
102
104
|
ExitCode,
|
|
103
105
|
handleError
|
|
104
106
|
} from "./chunk-3WGJMBKH.js";
|
|
105
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-MMLQPHZ5.js";
|
|
106
108
|
import "./chunk-BM3PWGXQ.js";
|
|
107
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-6YFHUIGT.js";
|
|
108
110
|
import "./chunk-BDGTZRZ6.js";
|
|
109
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-WZJR6SOI.js";
|
|
110
112
|
import "./chunk-QCLOIUMX.js";
|
|
111
113
|
import "./chunk-XARGEOJV.js";
|
|
112
114
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listPersonas,
|
|
3
3
|
loadPersona
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-5RSXUAMN.js";
|
|
5
|
+
import "./chunk-MMLQPHZ5.js";
|
|
6
|
+
import "./chunk-6YFHUIGT.js";
|
|
7
7
|
import "./chunk-BDGTZRZ6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-WZJR6SOI.js";
|
|
9
9
|
import "./chunk-QCLOIUMX.js";
|
|
10
10
|
import "./chunk-XARGEOJV.js";
|
|
11
11
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -2,37 +2,38 @@ import {
|
|
|
2
2
|
createHarnessServer,
|
|
3
3
|
getToolDefinitions,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RG3TNIUB.js";
|
|
6
|
+
import "./chunk-OQ6KOQEV.js";
|
|
7
|
+
import "./chunk-M7F2PPN3.js";
|
|
8
|
+
import "./chunk-EYMOPFSD.js";
|
|
9
|
+
import "./chunk-6SCYTIF4.js";
|
|
10
|
+
import "./chunk-I3CGCZJF.js";
|
|
11
|
+
import "./chunk-SDMV4QHM.js";
|
|
12
|
+
import "./chunk-7PJCK7UE.js";
|
|
11
13
|
import "./chunk-IOW3MW2K.js";
|
|
12
|
-
import "./chunk-ERZCC5VH.js";
|
|
13
14
|
import "./chunk-3ISINLYT.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
resolveProjectConfig
|
|
19
|
-
} from "./chunk-XZ2Q4UTW.js";
|
|
20
|
-
import "./chunk-HIPBU2Q4.js";
|
|
15
|
+
import "./chunk-4U5LDFCY.js";
|
|
16
|
+
import "./chunk-36GQREOE.js";
|
|
17
|
+
import "./chunk-JPVOI7GP.js";
|
|
21
18
|
import {
|
|
22
19
|
resultToMcpResponse
|
|
23
20
|
} from "./chunk-RC3OI5NK.js";
|
|
21
|
+
import {
|
|
22
|
+
resolveProjectConfig
|
|
23
|
+
} from "./chunk-SEA2PFVI.js";
|
|
24
24
|
import "./chunk-W6Y7ZW3Y.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-WBVCN35T.js";
|
|
26
|
+
import "./chunk-UTJJJDNN.js";
|
|
27
27
|
import "./chunk-HIK6OEUF.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-Y6SUQC32.js";
|
|
29
|
+
import "./chunk-XAVMTAUT.js";
|
|
29
30
|
import "./chunk-ZCZD7FHU.js";
|
|
30
31
|
import "./chunk-EBJQ6N4M.js";
|
|
31
32
|
import "./chunk-3WGJMBKH.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-MMLQPHZ5.js";
|
|
34
|
+
import "./chunk-6YFHUIGT.js";
|
|
34
35
|
import "./chunk-BDGTZRZ6.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-WZJR6SOI.js";
|
|
36
37
|
import "./chunk-QCLOIUMX.js";
|
|
37
38
|
import "./chunk-XARGEOJV.js";
|
|
38
39
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
handleGetPerfBaselines,
|
|
8
8
|
handleUpdatePerfBaselines,
|
|
9
9
|
updatePerfBaselinesDefinition
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7PJCK7UE.js";
|
|
11
11
|
import "./chunk-RC3OI5NK.js";
|
|
12
12
|
import "./chunk-W6Y7ZW3Y.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XAVMTAUT.js";
|
|
14
14
|
import "./chunk-ZCZD7FHU.js";
|
|
15
15
|
import "./chunk-3WGJMBKH.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MMLQPHZ5.js";
|
|
17
|
+
import "./chunk-6YFHUIGT.js";
|
|
18
18
|
import "./chunk-BDGTZRZ6.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-WZJR6SOI.js";
|
|
20
20
|
import "./chunk-QCLOIUMX.js";
|
|
21
21
|
import "./chunk-XARGEOJV.js";
|
|
22
22
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRunCodeReview,
|
|
3
3
|
runCodeReviewDefinition
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EYMOPFSD.js";
|
|
5
5
|
import "./chunk-W6Y7ZW3Y.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-MMLQPHZ5.js";
|
|
7
|
+
import "./chunk-6YFHUIGT.js";
|
|
8
8
|
import "./chunk-BDGTZRZ6.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WZJR6SOI.js";
|
|
10
10
|
import "./chunk-QCLOIUMX.js";
|
|
11
11
|
import "./chunk-XARGEOJV.js";
|
|
12
12
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateRuntime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YANR2RL7.js";
|
|
4
4
|
import "./chunk-KET4QQZB.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-MMLQPHZ5.js";
|
|
6
|
+
import "./chunk-6YFHUIGT.js";
|
|
7
7
|
import "./chunk-BDGTZRZ6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-WZJR6SOI.js";
|
|
9
9
|
import "./chunk-QCLOIUMX.js";
|
|
10
10
|
import "./chunk-XARGEOJV.js";
|
|
11
11
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
emitApprovalRequested,
|
|
3
|
+
emitApprovalResolved,
|
|
4
|
+
emitCoreEvent,
|
|
5
|
+
emitUserInputCaptured,
|
|
6
|
+
isEmptyHarnessState,
|
|
7
|
+
readAuditTimeline,
|
|
8
|
+
readHarnessState
|
|
9
|
+
} from "./chunk-AAUY53CC.js";
|
|
10
|
+
import "./chunk-MMLQPHZ5.js";
|
|
11
|
+
import "./chunk-6YFHUIGT.js";
|
|
12
|
+
import "./chunk-BDGTZRZ6.js";
|
|
13
|
+
import "./chunk-WZJR6SOI.js";
|
|
14
|
+
import "./chunk-QCLOIUMX.js";
|
|
15
|
+
import "./chunk-XARGEOJV.js";
|
|
16
|
+
import "./chunk-KFQGP6VL.js";
|
|
17
|
+
export {
|
|
18
|
+
emitApprovalRequested,
|
|
19
|
+
emitApprovalResolved,
|
|
20
|
+
emitCoreEvent,
|
|
21
|
+
emitUserInputCaptured,
|
|
22
|
+
isEmptyHarnessState,
|
|
23
|
+
readAuditTimeline,
|
|
24
|
+
readHarnessState
|
|
25
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleValidateProject,
|
|
3
3
|
validateToolDefinition
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-36GQREOE.js";
|
|
5
|
+
import "./chunk-SEA2PFVI.js";
|
|
6
6
|
import "./chunk-W6Y7ZW3Y.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MMLQPHZ5.js";
|
|
8
|
+
import "./chunk-6YFHUIGT.js";
|
|
9
9
|
import "./chunk-BDGTZRZ6.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-WZJR6SOI.js";
|
|
11
11
|
import "./chunk-QCLOIUMX.js";
|
|
12
12
|
import "./chunk-XARGEOJV.js";
|
|
13
13
|
import "./chunk-KFQGP6VL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runCrossCheck
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4VXFZSYF.js";
|
|
4
|
+
import "./chunk-MMLQPHZ5.js";
|
|
5
|
+
import "./chunk-6YFHUIGT.js";
|
|
6
6
|
import "./chunk-BDGTZRZ6.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-WZJR6SOI.js";
|
|
8
8
|
import "./chunk-QCLOIUMX.js";
|
|
9
9
|
import "./chunk-XARGEOJV.js";
|
|
10
10
|
import "./chunk-KFQGP6VL.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "CLI for Harness Engineering toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"web-tree-sitter": "^0.24.7",
|
|
40
40
|
"yaml": "^2.8.3",
|
|
41
41
|
"zod": "^3.25.76",
|
|
42
|
-
"@harness-engineering/core": "0.
|
|
43
|
-
"@harness-engineering/dashboard": "0.
|
|
44
|
-
"@harness-engineering/graph": "0.11.
|
|
42
|
+
"@harness-engineering/core": "0.32.0",
|
|
43
|
+
"@harness-engineering/dashboard": "0.11.0",
|
|
44
|
+
"@harness-engineering/graph": "0.11.2",
|
|
45
45
|
"@harness-engineering/linter-gen": "0.1.7",
|
|
46
|
-
"@harness-engineering/orchestrator": "0.
|
|
47
|
-
"@harness-engineering/types": "0.16.
|
|
46
|
+
"@harness-engineering/orchestrator": "0.9.0",
|
|
47
|
+
"@harness-engineering/types": "0.16.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@harness-engineering/intelligence": "0.
|
|
50
|
+
"@harness-engineering/intelligence": "0.4.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"@harness-engineering/intelligence": {
|