@harness-engineering/cli 4.2.0 → 4.3.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-md-BK2UPKUC.js → agents-md-N4ULMUAK.js} +4 -4
- package/dist/{analyzer-XRCV63KC-6T2Z32XC.js → analyzer-XRCV63KC-WGRHW2ZM.js} +2 -2
- package/dist/{architecture-7PNQZOWV.js → architecture-OIMIBDJC.js} +5 -5
- package/dist/{assess-project-2QPCNN7N.js → assess-project-ITSB6W4L.js} +1 -1
- package/dist/bin/harness-mcp.js +15 -15
- package/dist/bin/harness.js +25 -25
- package/dist/{check-phase-gate-RZUSDB3O.js → check-phase-gate-GN4X7HT6.js} +5 -5
- package/dist/{chunk-ZIJABBGZ.js → chunk-574JCBYH.js} +2 -2
- package/dist/{chunk-E5KJOUHI.js → chunk-5BUHPOCP.js} +7 -7
- package/dist/{chunk-YTJIRQON.js → chunk-6NEJPS7W.js} +2 -2
- package/dist/{chunk-MHHISNS2.js → chunk-73QZ43DF.js} +2 -2
- package/dist/{chunk-RZTLXZHJ.js → chunk-7RH2NTLA.js} +1 -1
- package/dist/{chunk-DVG6DDX6.js → chunk-CMU4DNLY.js} +1 -1
- package/dist/{chunk-33OU3LYX.js → chunk-CRHQYBDA.js} +48 -12
- package/dist/{chunk-J7H5I4FO.js → chunk-D7A5JR7M.js} +2 -2
- package/dist/{chunk-SI4O2W4H.js → chunk-GTHL3TRZ.js} +2 -2
- package/dist/{chunk-J5MFNKE7.js → chunk-H5GN7R43.js} +2 -2
- package/dist/{chunk-D5YCPIK6.js → chunk-HJYAXAYQ.js} +2 -2
- package/dist/{chunk-K5R2I37T.js → chunk-HSYU3RUW.js} +85 -85
- package/dist/{chunk-DBCC7KIW.js → chunk-JZL2O3RC.js} +5 -5
- package/dist/{chunk-V2GJE5J5.js → chunk-LP764MGR.js} +3 -3
- package/dist/{chunk-6STDKKAM.js → chunk-LTYVAKWK.js} +2 -2
- package/dist/{chunk-KYFXXEK3.js → chunk-MEDRUIRO.js} +3 -3
- package/dist/{chunk-DW6HE5DH.js → chunk-MIZQY35D.js} +2 -2
- package/dist/{chunk-KHL6WFRL.js → chunk-NEMB36N4.js} +2 -2
- package/dist/{chunk-BJDT3VGQ.js → chunk-PT65VY4S.js} +6 -6
- package/dist/{chunk-HUC73DZC.js → chunk-T46G6YNI.js} +3 -3
- package/dist/{chunk-RRCS27GT.js → chunk-TDPQZAEE.js} +284 -115
- package/dist/{chunk-VC2B275U.js → chunk-TKPAOB2T.js} +2 -2
- package/dist/{chunk-HU7NS7JA.js → chunk-U2NOOATF.js} +6 -6
- package/dist/{chunk-UEXQMI6K.js → chunk-VJDSB7CI.js} +112 -50
- package/dist/{chunk-XACP5P2J.js → chunk-XKILFNRK.js} +2 -2
- package/dist/{ci-workflow-LGN7LHHO.js → ci-workflow-PA3WL6WK.js} +4 -4
- package/dist/{dist-LE5AU7FR.js → dist-BWFFVKEW.js} +20 -4
- package/dist/{dist-FBBADRYS.js → dist-ISDDHDOR.js} +17 -3
- package/dist/{docs-3BTPSHKE.js → docs-HOTWQJQF.js} +5 -5
- package/dist/{engine-GWGU4AMH.js → engine-MVG2SPGD.js} +4 -4
- package/dist/{entropy-35XURODP.js → entropy-3B4U2BTF.js} +5 -5
- package/dist/{feedback-NDGZZ37W.js → feedback-WIWWDVUC.js} +1 -1
- package/dist/{generate-agent-definitions-PYZ3E7SP.js → generate-agent-definitions-KPRHY6X3.js} +5 -5
- package/dist/index.js +25 -25
- package/dist/{loader-QK2OJXKB.js → loader-SPJ2ZGYW.js} +4 -4
- package/dist/{mcp-Z5YMV7TA.js → mcp-RIPEYDMU.js} +15 -15
- package/dist/{performance-VAYOYPVK.js → performance-JYFS27B3.js} +5 -5
- package/dist/{review-pipeline-UETEOWSS.js → review-pipeline-BDT6Y6QV.js} +4 -4
- package/dist/{runtime-J7KFACTK.js → runtime-ZEPHPPQJ.js} +4 -4
- package/dist/{security-6AIUZXF5.js → security-FWSDTTEW.js} +1 -1
- package/dist/{state-events-XQPHGLG5.js → state-events-PBDNQPXT.js} +4 -4
- package/dist/{validate-ON7YMVLY.js → validate-XIMNCIKR.js} +5 -5
- package/dist/{validate-cross-check-HKKQA7K5.js → validate-cross-check-H2OUHTID.js} +4 -4
- package/package.json +8 -8
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
handleCreateSelfReview,
|
|
6
6
|
handleRequestPeerReview,
|
|
7
7
|
requestPeerReviewDefinition
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MEDRUIRO.js";
|
|
9
9
|
import {
|
|
10
10
|
getSecurityTrendsDefinition,
|
|
11
11
|
handleGetSecurityTrends,
|
|
12
12
|
handleRunSecurityScan,
|
|
13
13
|
runSecurityScanDefinition
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HJYAXAYQ.js";
|
|
15
15
|
import {
|
|
16
16
|
handleRunCodeReview,
|
|
17
17
|
runCodeReviewDefinition,
|
|
18
18
|
sortFindingsBySeverity
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-H5GN7R43.js";
|
|
20
20
|
import {
|
|
21
21
|
assessProjectDefinition,
|
|
22
22
|
handleAssessProject
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-U2NOOATF.js";
|
|
24
24
|
import {
|
|
25
25
|
checkDocsDefinition,
|
|
26
26
|
handleCheckDocs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PT65VY4S.js";
|
|
28
28
|
import {
|
|
29
29
|
detectEntropyDefinition,
|
|
30
30
|
handleDetectEntropy
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JZL2O3RC.js";
|
|
32
32
|
import {
|
|
33
33
|
checkPerformanceDefinition,
|
|
34
34
|
getCriticalPathsDefinition,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
handleGetPerfBaselines,
|
|
39
39
|
handleUpdatePerfBaselines,
|
|
40
40
|
updatePerfBaselinesDefinition
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5BUHPOCP.js";
|
|
42
42
|
import {
|
|
43
43
|
getBusinessKnowledgeResource
|
|
44
44
|
} from "./chunk-IOW3MW2K.js";
|
|
@@ -57,17 +57,17 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
handleValidateProject,
|
|
59
59
|
validateToolDefinition
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-T46G6YNI.js";
|
|
61
61
|
import {
|
|
62
62
|
checkDependenciesDefinition,
|
|
63
63
|
handleCheckDependencies
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-D7A5JR7M.js";
|
|
65
65
|
import {
|
|
66
66
|
resultToMcpResponse
|
|
67
67
|
} from "./chunk-RC3OI5NK.js";
|
|
68
68
|
import {
|
|
69
69
|
resolveProjectConfig
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XKILFNRK.js";
|
|
71
71
|
import {
|
|
72
72
|
sanitizePath
|
|
73
73
|
} from "./chunk-W6Y7ZW3Y.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
findConfigFile,
|
|
94
94
|
loadConfig,
|
|
95
95
|
resolveConfig
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-LTYVAKWK.js";
|
|
97
97
|
import {
|
|
98
98
|
logger
|
|
99
99
|
} from "./chunk-EBJQ6N4M.js";
|
|
@@ -129,14 +129,14 @@ import {
|
|
|
129
129
|
scanForInjection,
|
|
130
130
|
serializeEnvelope,
|
|
131
131
|
writeTaint
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-CRHQYBDA.js";
|
|
133
133
|
import {
|
|
134
134
|
Err,
|
|
135
135
|
INDEXED_FILE_KINDS,
|
|
136
136
|
INSIGHTS_KEYS,
|
|
137
137
|
Ok,
|
|
138
138
|
init_dist
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-VJDSB7CI.js";
|
|
140
140
|
|
|
141
141
|
// src/mcp/server.ts
|
|
142
142
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
@@ -745,7 +745,7 @@ async function handleInsightsSummary(input) {
|
|
|
745
745
|
const skip = Array.isArray(input.skip) ? input.skip.filter(
|
|
746
746
|
(k) => typeof k === "string" && INSIGHTS_KEYS.includes(k)
|
|
747
747
|
) : void 0;
|
|
748
|
-
const { composeInsights } = await import("./dist-
|
|
748
|
+
const { composeInsights } = await import("./dist-BWFFVKEW.js");
|
|
749
749
|
const report = await composeInsights(projectPath, {
|
|
750
750
|
...skip && skip.length > 0 && { skip }
|
|
751
751
|
});
|
|
@@ -921,7 +921,7 @@ ${skippedMsg}`
|
|
|
921
921
|
async function handleInitProject(input) {
|
|
922
922
|
const i = input;
|
|
923
923
|
try {
|
|
924
|
-
const { TemplateEngine } = await import("./engine-
|
|
924
|
+
const { TemplateEngine } = await import("./engine-MVG2SPGD.js");
|
|
925
925
|
const engine = new TemplateEngine(resolveTemplatesDir());
|
|
926
926
|
const safePath = sanitizePath(i.path);
|
|
927
927
|
const detected = tryDetectFramework(engine, safePath, i);
|
|
@@ -943,7 +943,7 @@ var listPersonasDefinition = {
|
|
|
943
943
|
inputSchema: { type: "object", properties: {} }
|
|
944
944
|
};
|
|
945
945
|
async function handleListPersonas() {
|
|
946
|
-
const { listPersonas } = await import("./loader-
|
|
946
|
+
const { listPersonas } = await import("./loader-SPJ2ZGYW.js");
|
|
947
947
|
const result = listPersonas(resolvePersonasDir());
|
|
948
948
|
return resultToMcpResponse(result);
|
|
949
949
|
}
|
|
@@ -967,10 +967,10 @@ async function handleGeneratePersonaArtifacts(input) {
|
|
|
967
967
|
if (!/^[a-z0-9][a-z0-9._-]*$/i.test(input.name)) {
|
|
968
968
|
return resultToMcpResponse(Err(new Error(`Invalid persona name: ${input.name}`)));
|
|
969
969
|
}
|
|
970
|
-
const { loadPersona } = await import("./loader-
|
|
971
|
-
const { generateRuntime } = await import("./runtime-
|
|
972
|
-
const { generateAgentsMd } = await import("./agents-md-
|
|
973
|
-
const { generateCIWorkflow } = await import("./ci-workflow-
|
|
970
|
+
const { loadPersona } = await import("./loader-SPJ2ZGYW.js");
|
|
971
|
+
const { generateRuntime } = await import("./runtime-ZEPHPPQJ.js");
|
|
972
|
+
const { generateAgentsMd } = await import("./agents-md-N4ULMUAK.js");
|
|
973
|
+
const { generateCIWorkflow } = await import("./ci-workflow-PA3WL6WK.js");
|
|
974
974
|
const personasDir = resolvePersonasDir();
|
|
975
975
|
const filePath = path4.join(personasDir, `${input.name}.yaml`);
|
|
976
976
|
if (!filePath.startsWith(personasDir)) {
|
|
@@ -1025,7 +1025,7 @@ async function handleRunPersona(input) {
|
|
|
1025
1025
|
if (!/^[a-z0-9][a-z0-9._-]*$/i.test(input.persona)) {
|
|
1026
1026
|
return resultToMcpResponse(Err(new Error(`Invalid persona name: ${input.persona}`)));
|
|
1027
1027
|
}
|
|
1028
|
-
const { loadPersona } = await import("./loader-
|
|
1028
|
+
const { loadPersona } = await import("./loader-SPJ2ZGYW.js");
|
|
1029
1029
|
const { runPersona } = await import("./runner-AAEF2TXY.js");
|
|
1030
1030
|
const { executeSkill } = await import("./skill-executor-BGUCAVBU.js");
|
|
1031
1031
|
const personasDir = resolvePersonasDir();
|
|
@@ -1548,7 +1548,7 @@ async function handleRunSkill(input) {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
if (input.path) {
|
|
1550
1550
|
const projectPath = sanitizePath(input.path);
|
|
1551
|
-
const { readHarnessState, isEmptyHarnessState } = await import("./state-events-
|
|
1551
|
+
const { readHarnessState, isEmptyHarnessState } = await import("./state-events-PBDNQPXT.js");
|
|
1552
1552
|
const stateResult = await readHarnessState(projectPath);
|
|
1553
1553
|
if (stateResult.ok && !isEmptyHarnessState(stateResult.value)) {
|
|
1554
1554
|
const stateContent = JSON.stringify(stateResult.value, null, 2);
|
|
@@ -1747,7 +1747,7 @@ import * as path11 from "path";
|
|
|
1747
1747
|
async function autoSyncRoadmap(projectPath) {
|
|
1748
1748
|
try {
|
|
1749
1749
|
if (!roadmapSourceExists(projectPath)) return;
|
|
1750
|
-
const { syncRoadmap, applySyncChanges } = await import("./dist-
|
|
1750
|
+
const { syncRoadmap, applySyncChanges } = await import("./dist-BWFFVKEW.js");
|
|
1751
1751
|
const store = resolveRoadmapStore({ projectRoot: projectPath });
|
|
1752
1752
|
const loaded = await store.load();
|
|
1753
1753
|
if (!loaded.ok) return;
|
|
@@ -1778,7 +1778,7 @@ async function triggerExternalSync(projectPath) {
|
|
|
1778
1778
|
console.warn("[roadmap-sync] GITHUB_TOKEN not found \u2014 external sync skipped");
|
|
1779
1779
|
return;
|
|
1780
1780
|
}
|
|
1781
|
-
const { fullSync, GitHubIssuesSyncAdapter } = await import("./dist-
|
|
1781
|
+
const { fullSync, GitHubIssuesSyncAdapter } = await import("./dist-BWFFVKEW.js");
|
|
1782
1782
|
const adapter = new GitHubIssuesSyncAdapter({
|
|
1783
1783
|
token,
|
|
1784
1784
|
config: trackerConfig
|
|
@@ -1898,14 +1898,14 @@ var manageStateDefinition = {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
1900
|
async function handleShow(projectPath, input) {
|
|
1901
|
-
const { readHarnessState } = await import("./state-events-
|
|
1901
|
+
const { readHarnessState } = await import("./state-events-PBDNQPXT.js");
|
|
1902
1902
|
return resultToMcpResponse(
|
|
1903
1903
|
await readHarnessState(projectPath, { stream: input.stream, session: input.session })
|
|
1904
1904
|
);
|
|
1905
1905
|
}
|
|
1906
1906
|
async function handleLearn(projectPath, input) {
|
|
1907
1907
|
if (!input.learning) return mcpError("Error: learning is required for learn action");
|
|
1908
|
-
const { appendLearning } = await import("./dist-
|
|
1908
|
+
const { appendLearning } = await import("./dist-BWFFVKEW.js");
|
|
1909
1909
|
const result = await appendLearning(
|
|
1910
1910
|
projectPath,
|
|
1911
1911
|
input.learning,
|
|
@@ -1920,7 +1920,7 @@ async function handleLearn(projectPath, input) {
|
|
|
1920
1920
|
async function handleFailure(projectPath, input) {
|
|
1921
1921
|
if (!input.description) return mcpError("Error: description is required for failure action");
|
|
1922
1922
|
if (!input.failureType) return mcpError("Error: failureType is required for failure action");
|
|
1923
|
-
const { appendFailure } = await import("./dist-
|
|
1923
|
+
const { appendFailure } = await import("./dist-BWFFVKEW.js");
|
|
1924
1924
|
const result = await appendFailure(
|
|
1925
1925
|
projectPath,
|
|
1926
1926
|
input.description,
|
|
@@ -1939,13 +1939,13 @@ async function handleFailure(projectPath, input) {
|
|
|
1939
1939
|
return resultToMcpResponse(Ok({ recorded: true }));
|
|
1940
1940
|
}
|
|
1941
1941
|
async function handleArchive(projectPath, input) {
|
|
1942
|
-
const { archiveFailures } = await import("./dist-
|
|
1942
|
+
const { archiveFailures } = await import("./dist-BWFFVKEW.js");
|
|
1943
1943
|
const result = await archiveFailures(projectPath, input.stream, input.session);
|
|
1944
1944
|
if (!result.ok) return resultToMcpResponse(result);
|
|
1945
1945
|
return resultToMcpResponse(Ok({ archived: true }));
|
|
1946
1946
|
}
|
|
1947
1947
|
async function handleReset(projectPath, input) {
|
|
1948
|
-
const { eventSourcing } = await import("./dist-
|
|
1948
|
+
const { eventSourcing } = await import("./dist-BWFFVKEW.js");
|
|
1949
1949
|
const result = await eventSourcing.resetEventLog(projectPath, {
|
|
1950
1950
|
stream: input.stream,
|
|
1951
1951
|
session: input.session
|
|
@@ -1954,7 +1954,7 @@ async function handleReset(projectPath, input) {
|
|
|
1954
1954
|
return resultToMcpResponse(Ok({ reset: true }));
|
|
1955
1955
|
}
|
|
1956
1956
|
async function handleGate(projectPath, input) {
|
|
1957
|
-
const { runMechanicalGate } = await import("./dist-
|
|
1957
|
+
const { runMechanicalGate } = await import("./dist-BWFFVKEW.js");
|
|
1958
1958
|
const result = await runMechanicalGate(projectPath);
|
|
1959
1959
|
if (result.ok) {
|
|
1960
1960
|
await emitSkillEvent(projectPath, {
|
|
@@ -1974,7 +1974,7 @@ async function handleGate(projectPath, input) {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
async function handleSaveHandoff(projectPath, input) {
|
|
1976
1976
|
if (!input.handoff) return mcpError("Error: handoff is required for save-handoff action");
|
|
1977
|
-
const { saveHandoff } = await import("./dist-
|
|
1977
|
+
const { saveHandoff } = await import("./dist-BWFFVKEW.js");
|
|
1978
1978
|
const result = await saveHandoff(
|
|
1979
1979
|
projectPath,
|
|
1980
1980
|
input.handoff,
|
|
@@ -1996,7 +1996,7 @@ async function handleSaveHandoff(projectPath, input) {
|
|
|
1996
1996
|
return resultToMcpResponse(Ok({ saved: true }));
|
|
1997
1997
|
}
|
|
1998
1998
|
async function handleLoadHandoff(projectPath, input) {
|
|
1999
|
-
const { loadHandoff } = await import("./dist-
|
|
1999
|
+
const { loadHandoff } = await import("./dist-BWFFVKEW.js");
|
|
2000
2000
|
return resultToMcpResponse(await loadHandoff(projectPath, input.stream, input.session));
|
|
2001
2001
|
}
|
|
2002
2002
|
async function handleAppendEntry(projectPath, input) {
|
|
@@ -2004,7 +2004,7 @@ async function handleAppendEntry(projectPath, input) {
|
|
|
2004
2004
|
if (!input.authorSkill) return mcpError("Error: authorSkill is required for append_entry action");
|
|
2005
2005
|
if (!input.content) return mcpError("Error: content is required for append_entry action");
|
|
2006
2006
|
if (input.session) {
|
|
2007
|
-
const { appendSessionEntry } = await import("./dist-
|
|
2007
|
+
const { appendSessionEntry } = await import("./dist-BWFFVKEW.js");
|
|
2008
2008
|
const result = await appendSessionEntry(
|
|
2009
2009
|
projectPath,
|
|
2010
2010
|
input.session,
|
|
@@ -2018,7 +2018,7 @@ async function handleAppendEntry(projectPath, input) {
|
|
|
2018
2018
|
return mcpError("Error: session is required for non-decisions sections");
|
|
2019
2019
|
}
|
|
2020
2020
|
const { randomUUID: randomUUID10 } = await import("crypto");
|
|
2021
|
-
const { emitCoreEvent } = await import("./state-events-
|
|
2021
|
+
const { emitCoreEvent } = await import("./state-events-PBDNQPXT.js");
|
|
2022
2022
|
const r = await emitCoreEvent(
|
|
2023
2023
|
projectPath,
|
|
2024
2024
|
{
|
|
@@ -2036,7 +2036,7 @@ async function handleUpdateEntryStatus(projectPath, input) {
|
|
|
2036
2036
|
if (!input.entryId) return mcpError("Error: entryId is required for update_entry_status action");
|
|
2037
2037
|
if (!input.newStatus)
|
|
2038
2038
|
return mcpError("Error: newStatus is required for update_entry_status action");
|
|
2039
|
-
const { updateSessionEntryStatus } = await import("./dist-
|
|
2039
|
+
const { updateSessionEntryStatus } = await import("./dist-BWFFVKEW.js");
|
|
2040
2040
|
const result = await updateSessionEntryStatus(
|
|
2041
2041
|
projectPath,
|
|
2042
2042
|
input.session,
|
|
@@ -2046,7 +2046,7 @@ async function handleUpdateEntryStatus(projectPath, input) {
|
|
|
2046
2046
|
);
|
|
2047
2047
|
if (result.ok && input.section === "decisions" && input.newStatus === "resolved") {
|
|
2048
2048
|
try {
|
|
2049
|
-
const { emitApprovalResolved } = await import("./state-events-
|
|
2049
|
+
const { emitApprovalResolved } = await import("./state-events-PBDNQPXT.js");
|
|
2050
2050
|
await emitApprovalResolved(projectPath, input.entryId, input.newStatus, {
|
|
2051
2051
|
stream: input.stream
|
|
2052
2052
|
});
|
|
@@ -2058,7 +2058,7 @@ async function handleUpdateEntryStatus(projectPath, input) {
|
|
|
2058
2058
|
async function handleReadSection(projectPath, input) {
|
|
2059
2059
|
if (!input.session) return mcpError("Error: session is required for read_section action");
|
|
2060
2060
|
if (!input.section) return mcpError("Error: section is required for read_section action");
|
|
2061
|
-
const { readSessionSection } = await import("./dist-
|
|
2061
|
+
const { readSessionSection } = await import("./dist-BWFFVKEW.js");
|
|
2062
2062
|
const result = await readSessionSection(
|
|
2063
2063
|
projectPath,
|
|
2064
2064
|
input.session,
|
|
@@ -2068,13 +2068,13 @@ async function handleReadSection(projectPath, input) {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
async function handleReadSections(projectPath, input) {
|
|
2070
2070
|
if (!input.session) return mcpError("Error: session is required for read_sections action");
|
|
2071
|
-
const { readSessionSections } = await import("./dist-
|
|
2071
|
+
const { readSessionSections } = await import("./dist-BWFFVKEW.js");
|
|
2072
2072
|
const result = await readSessionSections(projectPath, input.session);
|
|
2073
2073
|
return resultToMcpResponse(result);
|
|
2074
2074
|
}
|
|
2075
2075
|
async function handleArchiveSession(projectPath, input) {
|
|
2076
2076
|
if (!input.session) return mcpError("Error: session is required for archive_session action");
|
|
2077
|
-
const { archiveSession } = await import("./dist-
|
|
2077
|
+
const { archiveSession } = await import("./dist-BWFFVKEW.js");
|
|
2078
2078
|
const { buildArchiveHooks } = await import("@harness-engineering/orchestrator");
|
|
2079
2079
|
const hooks = buildArchiveHooks({ projectPath });
|
|
2080
2080
|
const result = await archiveSession(projectPath, input.session, { hooks });
|
|
@@ -2117,7 +2117,7 @@ async function handlePhaseComplete(projectPath, input) {
|
|
|
2117
2117
|
async function handleTaskTransition(projectPath, input) {
|
|
2118
2118
|
if (!input.taskId) return mcpError("Error: taskId is required for task-transition action");
|
|
2119
2119
|
if (!input.toLane) return mcpError("Error: toLane is required for task-transition action");
|
|
2120
|
-
const { eventSourcing } = await import("./dist-
|
|
2120
|
+
const { eventSourcing } = await import("./dist-BWFFVKEW.js");
|
|
2121
2121
|
const scope = { stream: input.stream, session: input.session };
|
|
2122
2122
|
if (input.dependsOn) {
|
|
2123
2123
|
const reg = await eventSourcing.registerTask(projectPath, input.taskId, input.dependsOn, scope);
|
|
@@ -2181,7 +2181,7 @@ var listStreamsDefinition = {
|
|
|
2181
2181
|
};
|
|
2182
2182
|
async function handleListStreams(input) {
|
|
2183
2183
|
try {
|
|
2184
|
-
const { listStreams, loadStreamIndex } = await import("./dist-
|
|
2184
|
+
const { listStreams, loadStreamIndex } = await import("./dist-BWFFVKEW.js");
|
|
2185
2185
|
const projectPath = sanitizePath(input.path);
|
|
2186
2186
|
const indexResult = await loadStreamIndex(projectPath);
|
|
2187
2187
|
const streamsResult = await listStreams(projectPath);
|
|
@@ -2219,7 +2219,7 @@ var checkPhaseGateDefinition = {
|
|
|
2219
2219
|
};
|
|
2220
2220
|
async function handleCheckPhaseGate(input) {
|
|
2221
2221
|
try {
|
|
2222
|
-
const { runCheckPhaseGate } = await import("./check-phase-gate-
|
|
2222
|
+
const { runCheckPhaseGate } = await import("./check-phase-gate-GN4X7HT6.js");
|
|
2223
2223
|
const result = await runCheckPhaseGate({ cwd: sanitizePath(input.path) });
|
|
2224
2224
|
if (result.ok) {
|
|
2225
2225
|
return { content: [{ type: "text", text: JSON.stringify(result.value) }] };
|
|
@@ -2275,7 +2275,7 @@ async function handleValidateCrossCheck(input) {
|
|
|
2275
2275
|
};
|
|
2276
2276
|
}
|
|
2277
2277
|
try {
|
|
2278
|
-
const { runCrossCheck } = await import("./validate-cross-check-
|
|
2278
|
+
const { runCrossCheck } = await import("./validate-cross-check-H2OUHTID.js");
|
|
2279
2279
|
const specsDir = path12.resolve(projectPath, input.specsDir ?? "docs/specs");
|
|
2280
2280
|
if (!specsDir.startsWith(projectPath)) {
|
|
2281
2281
|
return {
|
|
@@ -3098,8 +3098,8 @@ async function handleGenerateSlashCommands(input) {
|
|
|
3098
3098
|
// src/mcp/resources/state.ts
|
|
3099
3099
|
async function getStateResource(projectRoot) {
|
|
3100
3100
|
try {
|
|
3101
|
-
const { migrateToStreams } = await import("./dist-
|
|
3102
|
-
const { readHarnessState } = await import("./state-events-
|
|
3101
|
+
const { migrateToStreams } = await import("./dist-BWFFVKEW.js");
|
|
3102
|
+
const { readHarnessState } = await import("./state-events-PBDNQPXT.js");
|
|
3103
3103
|
await migrateToStreams(projectRoot);
|
|
3104
3104
|
const result = await readHarnessState(projectRoot);
|
|
3105
3105
|
if (result.ok) {
|
|
@@ -4119,7 +4119,7 @@ var generateAgentDefinitionsDefinition = {
|
|
|
4119
4119
|
}
|
|
4120
4120
|
};
|
|
4121
4121
|
async function handleGenerateAgentDefinitions(input) {
|
|
4122
|
-
const { generateAgentDefinitions } = await import("./generate-agent-definitions-
|
|
4122
|
+
const { generateAgentDefinitions } = await import("./generate-agent-definitions-KPRHY6X3.js");
|
|
4123
4123
|
const platforms = input.platform === "all" || !input.platform ? ["claude-code", "gemini-cli"] : [input.platform];
|
|
4124
4124
|
const results = generateAgentDefinitions({
|
|
4125
4125
|
platforms: [...platforms],
|
|
@@ -4836,8 +4836,8 @@ async function handleManageRoadmap(input) {
|
|
|
4836
4836
|
release,
|
|
4837
4837
|
promoteFeature,
|
|
4838
4838
|
groomRoadmap
|
|
4839
|
-
} = await import("./dist-
|
|
4840
|
-
const { Ok: Ok2 } = await import("./dist-
|
|
4839
|
+
} = await import("./dist-BWFFVKEW.js");
|
|
4840
|
+
const { Ok: Ok2 } = await import("./dist-ISDDHDOR.js");
|
|
4841
4841
|
const projectPath = projectPathPre;
|
|
4842
4842
|
const deps = {
|
|
4843
4843
|
parseRoadmap,
|
|
@@ -5280,7 +5280,7 @@ async function handleTransition(validInput, projectPath, id) {
|
|
|
5280
5280
|
const transition = transitionResult.data;
|
|
5281
5281
|
const prompt = renderTransition(transition);
|
|
5282
5282
|
try {
|
|
5283
|
-
const { saveHandoff } = await import("./dist-
|
|
5283
|
+
const { saveHandoff } = await import("./dist-BWFFVKEW.js");
|
|
5284
5284
|
await saveHandoff(
|
|
5285
5285
|
projectPath,
|
|
5286
5286
|
{
|
|
@@ -5361,7 +5361,7 @@ async function handleEmitInteraction(input) {
|
|
|
5361
5361
|
}
|
|
5362
5362
|
async function recordInteraction(projectPath, id, type, decision, stream) {
|
|
5363
5363
|
try {
|
|
5364
|
-
const { emitCoreEvent, emitUserInputCaptured, emitApprovalRequested } = await import("./state-events-
|
|
5364
|
+
const { emitCoreEvent, emitUserInputCaptured, emitApprovalRequested } = await import("./state-events-PBDNQPXT.js");
|
|
5365
5365
|
await emitCoreEvent(
|
|
5366
5366
|
projectPath,
|
|
5367
5367
|
{
|
|
@@ -5522,10 +5522,10 @@ async function handleGatherContext(input) {
|
|
|
5522
5522
|
input.include ?? ["state", "learnings", "handoff", "graph", "validation", "businessKnowledge"]
|
|
5523
5523
|
);
|
|
5524
5524
|
const errors = [];
|
|
5525
|
-
const statePromise = includeSet.has("state") ? import("./state-events-
|
|
5525
|
+
const statePromise = includeSet.has("state") ? import("./state-events-PBDNQPXT.js").then(
|
|
5526
5526
|
(m) => m.readHarnessState(projectPath, { session: input.session })
|
|
5527
5527
|
) : Promise.resolve(null);
|
|
5528
|
-
const learningsPromise = includeSet.has("learnings") ? import("./dist-
|
|
5528
|
+
const learningsPromise = includeSet.has("learnings") ? import("./dist-BWFFVKEW.js").then(
|
|
5529
5529
|
(core) => core.loadBudgetedLearnings(projectPath, {
|
|
5530
5530
|
intent: input.intent,
|
|
5531
5531
|
tokenBudget: input.learningsBudget ?? 1e3,
|
|
@@ -5534,7 +5534,7 @@ async function handleGatherContext(input) {
|
|
|
5534
5534
|
...input.depth !== void 0 && { depth: input.depth }
|
|
5535
5535
|
})
|
|
5536
5536
|
) : Promise.resolve(null);
|
|
5537
|
-
const handoffPromise = includeSet.has("handoff") ? import("./dist-
|
|
5537
|
+
const handoffPromise = includeSet.has("handoff") ? import("./dist-BWFFVKEW.js").then(
|
|
5538
5538
|
(core) => core.loadHandoff(projectPath, void 0, input.session)
|
|
5539
5539
|
) : Promise.resolve(null);
|
|
5540
5540
|
const graphPromise = includeSet.has("graph") ? (async () => {
|
|
@@ -5578,15 +5578,15 @@ async function handleGatherContext(input) {
|
|
|
5578
5578
|
context: contextBlocks
|
|
5579
5579
|
};
|
|
5580
5580
|
})() : Promise.resolve(null);
|
|
5581
|
-
const sessionsPromise = includeSet.has("sessions") && input.session ? import("./dist-
|
|
5581
|
+
const sessionsPromise = includeSet.has("sessions") && input.session ? import("./dist-BWFFVKEW.js").then(
|
|
5582
5582
|
(core) => core.readSessionSections(projectPath, input.session)
|
|
5583
5583
|
) : Promise.resolve(null);
|
|
5584
5584
|
const shouldIncludeEvents = input.includeEvents !== void 0 ? input.includeEvents : includeSet.has("events") || !!input.session && !input.include;
|
|
5585
|
-
const eventsPromise = shouldIncludeEvents ? import("./state-events-
|
|
5585
|
+
const eventsPromise = shouldIncludeEvents ? import("./state-events-PBDNQPXT.js").then(
|
|
5586
5586
|
(m) => m.readAuditTimeline(projectPath, { session: input.session })
|
|
5587
5587
|
) : Promise.resolve(null);
|
|
5588
5588
|
const validationPromise = includeSet.has("validation") ? (async () => {
|
|
5589
|
-
const { handleValidateProject: handleValidateProject2 } = await import("./validate-
|
|
5589
|
+
const { handleValidateProject: handleValidateProject2 } = await import("./validate-XIMNCIKR.js");
|
|
5590
5590
|
const result = await handleValidateProject2({ path: projectPath });
|
|
5591
5591
|
const first = result.content[0];
|
|
5592
5592
|
return first ? JSON.parse(first.text) : null;
|
|
@@ -5689,7 +5689,7 @@ async function handleGatherContext(input) {
|
|
|
5689
5689
|
};
|
|
5690
5690
|
if (input.session) {
|
|
5691
5691
|
try {
|
|
5692
|
-
const core = await import("./dist-
|
|
5692
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
5693
5693
|
core.updateSessionIndex(
|
|
5694
5694
|
projectPath,
|
|
5695
5695
|
input.session,
|
|
@@ -5887,7 +5887,7 @@ async function handleReviewChanges(input) {
|
|
|
5887
5887
|
}
|
|
5888
5888
|
}
|
|
5889
5889
|
async function runQuickReview(projectPath, diff, diffLines, downgraded, offset, limit) {
|
|
5890
|
-
const { handleAnalyzeDiff: handleAnalyzeDiff2 } = await import("./feedback-
|
|
5890
|
+
const { handleAnalyzeDiff: handleAnalyzeDiff2 } = await import("./feedback-WIWWDVUC.js");
|
|
5891
5891
|
const result = await handleAnalyzeDiff2({ diff, path: projectPath });
|
|
5892
5892
|
const firstContent = result.content[0];
|
|
5893
5893
|
if (!firstContent) throw new Error("Empty analyze_diff response");
|
|
@@ -5922,7 +5922,7 @@ function extractFileCount(diffParsed) {
|
|
|
5922
5922
|
return files?.length ?? 0;
|
|
5923
5923
|
}
|
|
5924
5924
|
async function runStandardReview(projectPath, diff, diffLines, downgraded, offset, limit) {
|
|
5925
|
-
const { handleAnalyzeDiff: handleAnalyzeDiff2, handleCreateSelfReview: handleCreateSelfReview2 } = await import("./feedback-
|
|
5925
|
+
const { handleAnalyzeDiff: handleAnalyzeDiff2, handleCreateSelfReview: handleCreateSelfReview2 } = await import("./feedback-WIWWDVUC.js");
|
|
5926
5926
|
const [diffResult, reviewResult] = await Promise.all([
|
|
5927
5927
|
handleAnalyzeDiff2({ diff, path: projectPath }),
|
|
5928
5928
|
handleCreateSelfReview2({ path: projectPath, diff })
|
|
@@ -5957,7 +5957,7 @@ async function runStandardReview(projectPath, diff, diffLines, downgraded, offse
|
|
|
5957
5957
|
};
|
|
5958
5958
|
}
|
|
5959
5959
|
async function runDeepReview(projectPath, diff, diffLines, _downgraded, offset, limit) {
|
|
5960
|
-
const { handleRunCodeReview: handleRunCodeReview2 } = await import("./review-pipeline-
|
|
5960
|
+
const { handleRunCodeReview: handleRunCodeReview2 } = await import("./review-pipeline-BDT6Y6QV.js");
|
|
5961
5961
|
const result = await handleRunCodeReview2({
|
|
5962
5962
|
path: projectPath,
|
|
5963
5963
|
diff,
|
|
@@ -6218,8 +6218,8 @@ function validationError(messages) {
|
|
|
6218
6218
|
async function handlePlanParallelization(input) {
|
|
6219
6219
|
try {
|
|
6220
6220
|
const projectPath = sanitizePath(input.path);
|
|
6221
|
-
const { PlanTaskSchema } = await import("./dist-
|
|
6222
|
-
const { planParallelization, validatePlanTasks } = await import("./dist-
|
|
6221
|
+
const { PlanTaskSchema } = await import("./dist-ISDDHDOR.js");
|
|
6222
|
+
const { planParallelization, validatePlanTasks } = await import("./dist-BWFFVKEW.js");
|
|
6223
6223
|
const parsed = PlanTaskSchema.array().safeParse(input.tasks);
|
|
6224
6224
|
if (!parsed.success) {
|
|
6225
6225
|
return validationError(parsed.error.issues.map((i) => `${i.path.join(".")}: ${i.message}`));
|
|
@@ -6331,7 +6331,7 @@ async function handleDetectStaleConstraints(input) {
|
|
|
6331
6331
|
]
|
|
6332
6332
|
};
|
|
6333
6333
|
}
|
|
6334
|
-
const { detectStaleConstraints } = await import("./dist-
|
|
6334
|
+
const { detectStaleConstraints } = await import("./dist-BWFFVKEW.js");
|
|
6335
6335
|
const result = detectStaleConstraints(
|
|
6336
6336
|
store,
|
|
6337
6337
|
windowDays,
|
|
@@ -6462,10 +6462,10 @@ function countCriticalFindings(securityData) {
|
|
|
6462
6462
|
return findings.filter((f) => f.severity === "error").length;
|
|
6463
6463
|
}
|
|
6464
6464
|
async function runHealthChecks(projectPath) {
|
|
6465
|
-
const { handleAssessProject: handleAssessProject2 } = await import("./assess-project-
|
|
6466
|
-
const { handleCheckDependencies: handleCheckDependencies2 } = await import("./architecture-
|
|
6467
|
-
const { handleDetectEntropy: handleDetectEntropy2 } = await import("./entropy-
|
|
6468
|
-
const { handleRunSecurityScan: handleRunSecurityScan2 } = await import("./security-
|
|
6465
|
+
const { handleAssessProject: handleAssessProject2 } = await import("./assess-project-ITSB6W4L.js");
|
|
6466
|
+
const { handleCheckDependencies: handleCheckDependencies2 } = await import("./architecture-OIMIBDJC.js");
|
|
6467
|
+
const { handleDetectEntropy: handleDetectEntropy2 } = await import("./entropy-3B4U2BTF.js");
|
|
6468
|
+
const { handleRunSecurityScan: handleRunSecurityScan2 } = await import("./security-FWSDTTEW.js");
|
|
6469
6469
|
const [assessResult, depsResult, entropyResult, securityResult] = await Promise.all([
|
|
6470
6470
|
handleAssessProject2({
|
|
6471
6471
|
path: projectPath,
|
|
@@ -7329,7 +7329,7 @@ async function handleGetDecayTrends(input) {
|
|
|
7329
7329
|
};
|
|
7330
7330
|
}
|
|
7331
7331
|
try {
|
|
7332
|
-
const core = await import("./dist-
|
|
7332
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
7333
7333
|
const { TimelineManager } = core;
|
|
7334
7334
|
const manager = new TimelineManager(projectPath);
|
|
7335
7335
|
const timeline = manager.load();
|
|
@@ -7464,7 +7464,7 @@ async function handleCodeOutline(input) {
|
|
|
7464
7464
|
};
|
|
7465
7465
|
}
|
|
7466
7466
|
try {
|
|
7467
|
-
const { getOutline, formatOutline, EXTENSION_MAP } = await import("./dist-
|
|
7467
|
+
const { getOutline, formatOutline, EXTENSION_MAP } = await import("./dist-BWFFVKEW.js");
|
|
7468
7468
|
const { stat } = await import("fs/promises");
|
|
7469
7469
|
const stats = await stat(targetPath).catch(() => null);
|
|
7470
7470
|
if (stats?.isFile()) {
|
|
@@ -7483,7 +7483,7 @@ async function handleCodeOutline(input) {
|
|
|
7483
7483
|
})
|
|
7484
7484
|
);
|
|
7485
7485
|
fileStats.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
7486
|
-
const { paginate: paginate2 } = await import("./dist-
|
|
7486
|
+
const { paginate: paginate2 } = await import("./dist-BWFFVKEW.js");
|
|
7487
7487
|
const paged = paginate2(fileStats, input.offset ?? 0, input.limit ?? 30);
|
|
7488
7488
|
const results = [];
|
|
7489
7489
|
for (const entry of paged.items) {
|
|
@@ -7556,7 +7556,7 @@ async function handleCodeSearch(input) {
|
|
|
7556
7556
|
};
|
|
7557
7557
|
}
|
|
7558
7558
|
try {
|
|
7559
|
-
const { searchSymbols } = await import("./dist-
|
|
7559
|
+
const { searchSymbols } = await import("./dist-BWFFVKEW.js");
|
|
7560
7560
|
const result = await searchSymbols(input.query, directory, input.glob);
|
|
7561
7561
|
const lines = [`Search: "${result.query}" \u2014 ${result.matches.length} matches`];
|
|
7562
7562
|
for (const match of result.matches) {
|
|
@@ -7625,7 +7625,7 @@ async function handleCodeUnfold(input) {
|
|
|
7625
7625
|
}
|
|
7626
7626
|
try {
|
|
7627
7627
|
if (input.symbol) {
|
|
7628
|
-
const { unfoldSymbol } = await import("./dist-
|
|
7628
|
+
const { unfoldSymbol } = await import("./dist-BWFFVKEW.js");
|
|
7629
7629
|
const result = await unfoldSymbol(filePath, input.symbol);
|
|
7630
7630
|
const header = result.warning ? `${result.file}:${result.startLine}-${result.endLine} ${result.warning}
|
|
7631
7631
|
` : `${result.file}:${result.startLine}-${result.endLine}
|
|
@@ -7633,7 +7633,7 @@ async function handleCodeUnfold(input) {
|
|
|
7633
7633
|
return { content: [{ type: "text", text: header + result.content }] };
|
|
7634
7634
|
}
|
|
7635
7635
|
if (input.startLine != null && input.endLine != null) {
|
|
7636
|
-
const { unfoldRange } = await import("./dist-
|
|
7636
|
+
const { unfoldRange } = await import("./dist-BWFFVKEW.js");
|
|
7637
7637
|
const result = await unfoldRange(filePath, input.startLine, input.endLine);
|
|
7638
7638
|
const header = `${result.file}:${result.startLine}-${result.endLine}
|
|
7639
7639
|
`;
|
|
@@ -7818,7 +7818,7 @@ async function handlePredictFailures(input) {
|
|
|
7818
7818
|
};
|
|
7819
7819
|
}
|
|
7820
7820
|
try {
|
|
7821
|
-
const core = await import("./dist-
|
|
7821
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
7822
7822
|
const { TimelineManager, PredictionEngine, SpecImpactEstimator } = core;
|
|
7823
7823
|
const manager = new TimelineManager(projectPath);
|
|
7824
7824
|
const includeRoadmap = input.includeRoadmap !== false;
|
|
@@ -8927,7 +8927,7 @@ async function handleDetectConstraintEmergence(input) {
|
|
|
8927
8927
|
}
|
|
8928
8928
|
const nodePath = await import("path");
|
|
8929
8929
|
const historyPath = nodePath.resolve(projectPath, ".harness/arch/violation-history.json");
|
|
8930
|
-
const { ViolationHistoryManager, detectEmergentConstraints } = await import("./dist-
|
|
8930
|
+
const { ViolationHistoryManager, detectEmergentConstraints } = await import("./dist-BWFFVKEW.js");
|
|
8931
8931
|
const manager = new ViolationHistoryManager(historyPath);
|
|
8932
8932
|
const history = manager.load();
|
|
8933
8933
|
const options = { windowWeeks, minOccurrences };
|
|
@@ -9015,7 +9015,7 @@ async function handleRunCIChecks(input) {
|
|
|
9015
9015
|
};
|
|
9016
9016
|
}
|
|
9017
9017
|
try {
|
|
9018
|
-
const { runCIChecks } = await import("./dist-
|
|
9018
|
+
const { runCIChecks } = await import("./dist-BWFFVKEW.js");
|
|
9019
9019
|
const skip = input.checks ? VALID_CHECKS.filter((c) => !input.checks.includes(c)) : [];
|
|
9020
9020
|
const result = await runCIChecks({
|
|
9021
9021
|
projectRoot: projectPath,
|
|
@@ -9077,7 +9077,7 @@ async function handleGenerateBlueprint(input) {
|
|
|
9077
9077
|
};
|
|
9078
9078
|
}
|
|
9079
9079
|
try {
|
|
9080
|
-
const { ProjectScanner } = await import("./dist-
|
|
9080
|
+
const { ProjectScanner } = await import("./dist-BWFFVKEW.js");
|
|
9081
9081
|
const scanner = new ProjectScanner(projectPath);
|
|
9082
9082
|
const data = await scanner.scan();
|
|
9083
9083
|
return {
|
|
@@ -9280,7 +9280,7 @@ function validateProposalCrossFields(input) {
|
|
|
9280
9280
|
}
|
|
9281
9281
|
async function loadCoreProposalApi() {
|
|
9282
9282
|
try {
|
|
9283
|
-
const core = await import("./dist-
|
|
9283
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
9284
9284
|
return {
|
|
9285
9285
|
createProposal: core.createProposal,
|
|
9286
9286
|
ProposalConflictError: core.ProposalConflictError
|
|
@@ -19874,7 +19874,7 @@ async function handleValidateStrategy(input) {
|
|
|
19874
19874
|
} catch (error) {
|
|
19875
19875
|
return mcpError2(error instanceof Error ? error.message : String(error));
|
|
19876
19876
|
}
|
|
19877
|
-
const { validateStrategy } = await import("./dist-
|
|
19877
|
+
const { validateStrategy } = await import("./dist-BWFFVKEW.js");
|
|
19878
19878
|
const result = await validateStrategy(projectPath);
|
|
19879
19879
|
if (!result.ok) {
|
|
19880
19880
|
return mcpJson({ present: true, valid: false, error: result.error.message });
|
|
@@ -19899,7 +19899,7 @@ async function handleReadStrategy(input) {
|
|
|
19899
19899
|
} catch (error) {
|
|
19900
19900
|
return mcpError2(error instanceof Error ? error.message : String(error));
|
|
19901
19901
|
}
|
|
19902
|
-
const core = await import("./dist-
|
|
19902
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
19903
19903
|
const validation = await core.validateStrategy(projectPath);
|
|
19904
19904
|
if (!validation.ok) {
|
|
19905
19905
|
return mcpJson({ present: true, valid: false, error: validation.error.message });
|
|
@@ -19951,7 +19951,7 @@ async function handleWriteStrategy(input) {
|
|
|
19951
19951
|
} catch (error) {
|
|
19952
19952
|
return mcpError2(error instanceof Error ? error.message : String(error));
|
|
19953
19953
|
}
|
|
19954
|
-
const core = await import("./dist-
|
|
19954
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
19955
19955
|
try {
|
|
19956
19956
|
core.writeStrategyDoc(input.doc, {
|
|
19957
19957
|
cwd: projectPath,
|
|
@@ -19995,7 +19995,7 @@ async function handleSeedPulseFromStrategy(input) {
|
|
|
19995
19995
|
} catch (error) {
|
|
19996
19996
|
return mcpError3(error instanceof Error ? error.message : String(error));
|
|
19997
19997
|
}
|
|
19998
|
-
const core = await import("./dist-
|
|
19998
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
19999
19999
|
const seed = core.seedFromStrategy({ cwd: projectPath });
|
|
20000
20000
|
return mcpJson2(seed);
|
|
20001
20001
|
}
|
|
@@ -20030,7 +20030,7 @@ async function handleWritePulseConfig(input) {
|
|
|
20030
20030
|
return mcpError3(error instanceof Error ? error.message : String(error));
|
|
20031
20031
|
}
|
|
20032
20032
|
const resolvedConfigPath = input.configPath !== void 0 ? path55.isAbsolute(input.configPath) ? input.configPath : path55.join(projectPath, input.configPath) : path55.join(projectPath, "harness.config.json");
|
|
20033
|
-
const core = await import("./dist-
|
|
20033
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
20034
20034
|
try {
|
|
20035
20035
|
core.writePulseConfig(input.config, {
|
|
20036
20036
|
configPath: resolvedConfigPath,
|
|
@@ -20079,7 +20079,7 @@ async function handleAcquireCompoundLock(input) {
|
|
|
20079
20079
|
} catch (error) {
|
|
20080
20080
|
return mcpError4(error instanceof Error ? error.message : String(error));
|
|
20081
20081
|
}
|
|
20082
|
-
const core = await import("./dist-
|
|
20082
|
+
const core = await import("./dist-BWFFVKEW.js");
|
|
20083
20083
|
try {
|
|
20084
20084
|
const handle = core.acquireCompoundLock(
|
|
20085
20085
|
input.category,
|
|
@@ -20445,7 +20445,7 @@ async function appendUpdateNotification(result, resolvedRoot) {
|
|
|
20445
20445
|
shouldRunCheck,
|
|
20446
20446
|
readCheckState,
|
|
20447
20447
|
spawnBackgroundCheck
|
|
20448
|
-
} = await import("./dist-
|
|
20448
|
+
} = await import("./dist-BWFFVKEW.js");
|
|
20449
20449
|
const { CLI_VERSION } = await import("./version-CUI434OP.js");
|
|
20450
20450
|
const configInterval = readConfigInterval(resolvedRoot);
|
|
20451
20451
|
const DEFAULT_INTERVAL = 864e5;
|