@harness-engineering/cli 1.18.0 → 1.19.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.
Files changed (36) hide show
  1. package/dist/{agents-md-DUYNKHJZ.js → agents-md-DFY5W2DJ.js} +1 -1
  2. package/dist/{architecture-UBO5KKUV.js → architecture-E6PIU27A.js} +2 -2
  3. package/dist/bin/harness-mcp.js +11 -11
  4. package/dist/bin/harness.js +13 -13
  5. package/dist/{check-phase-gate-OSHN2AEL.js → check-phase-gate-PRCIABVA.js} +3 -3
  6. package/dist/{chunk-2DMIQ35P.js → chunk-4KE55XRN.js} +62 -62
  7. package/dist/{chunk-QSRRBNLY.js → chunk-7KGLJ74A.js} +4 -4
  8. package/dist/{chunk-GWXP3JVA.js → chunk-7WS7GIOW.js} +1 -1
  9. package/dist/{chunk-5FM64G6D.js → chunk-DEMZ3JKK.js} +2 -2
  10. package/dist/{chunk-OHZVGIPE.js → chunk-DYY3YKA6.js} +3 -3
  11. package/dist/{chunk-ABQUCXRE.js → chunk-E7N77TZW.js} +1 -1
  12. package/dist/{chunk-ZA2I7S3E.js → chunk-FUQDDES3.js} +1 -1
  13. package/dist/{chunk-TG7IUJ3J.js → chunk-I2NEJO3P.js} +1 -1
  14. package/dist/{chunk-OA3MOZGG.js → chunk-OIPVOH5E.js} +14 -14
  15. package/dist/{chunk-TZIHFNEG.js → chunk-TCTYRFWX.js} +5 -5
  16. package/dist/{chunk-UX3JHYEA.js → chunk-WWXD6MAR.js} +1 -1
  17. package/dist/{chunk-VF23UTNB.js → chunk-XULGZC2A.js} +118 -28
  18. package/dist/{chunk-APNPXLB2.js → chunk-ZR2C5FG2.js} +2 -2
  19. package/dist/{ci-workflow-FJZMNZPT.js → ci-workflow-N2TJ7B7G.js} +1 -1
  20. package/dist/{dist-MF5BK5AD.js → dist-WABFDP2V.js} +1 -1
  21. package/dist/{docs-WZHW4N4P.js → docs-UOCKFYBH.js} +3 -3
  22. package/dist/{engine-VS6ZJ2VZ.js → engine-R24ZLV44.js} +1 -1
  23. package/dist/{entropy-FCIGJIIT.js → entropy-5Y32Q6UO.js} +2 -2
  24. package/dist/{feedback-O3FYTZIE.js → feedback-NANNPO22.js} +1 -1
  25. package/dist/{generate-agent-definitions-EYG263XD.js → generate-agent-definitions-BDHDLUZK.js} +1 -1
  26. package/dist/index.d.ts +8 -8
  27. package/dist/index.js +13 -13
  28. package/dist/{loader-B4XWX4K6.js → loader-NOLQCQGX.js} +1 -1
  29. package/dist/{mcp-DVVUODN7.js → mcp-SDUVCYMR.js} +11 -11
  30. package/dist/{performance-NMJDV6HF.js → performance-AN4AJVEF.js} +3 -3
  31. package/dist/{review-pipeline-MSEJWTKM.js → review-pipeline-UBXJ4IAH.js} +1 -1
  32. package/dist/{runtime-YHVLJNPG.js → runtime-23OFHLCZ.js} +1 -1
  33. package/dist/{security-HTDKKGMX.js → security-NNEE7IQT.js} +1 -1
  34. package/dist/{validate-SPSTH2YW.js → validate-YLMMPRUI.js} +2 -2
  35. package/dist/{validate-cross-check-YTDWIMFI.js → validate-cross-check-MM23HXVY.js} +1 -1
  36. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generateAgentsMd
3
3
  } from "./chunk-OD3S2NHN.js";
4
- import "./chunk-VF23UTNB.js";
4
+ import "./chunk-XULGZC2A.js";
5
5
  import "./chunk-ERS5EVUZ.js";
6
6
  export {
7
7
  generateAgentsMd
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  checkDependenciesDefinition,
3
3
  handleCheckDependencies
4
- } from "./chunk-GWXP3JVA.js";
4
+ } from "./chunk-7WS7GIOW.js";
5
5
  import "./chunk-H7Y5CKTM.js";
6
6
  import "./chunk-IDZNPTYD.js";
7
7
  import "./chunk-W6Y7ZW3Y.js";
8
- import "./chunk-VF23UTNB.js";
8
+ import "./chunk-XULGZC2A.js";
9
9
  import "./chunk-ERS5EVUZ.js";
10
10
  export {
11
11
  checkDependenciesDefinition,
@@ -1,25 +1,25 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startServer
4
- } from "../chunk-2DMIQ35P.js";
5
- import "../chunk-APNPXLB2.js";
6
- import "../chunk-TZIHFNEG.js";
7
- import "../chunk-OHZVGIPE.js";
8
- import "../chunk-TG7IUJ3J.js";
9
- import "../chunk-UX3JHYEA.js";
4
+ } from "../chunk-4KE55XRN.js";
5
+ import "../chunk-ZR2C5FG2.js";
6
+ import "../chunk-TCTYRFWX.js";
7
+ import "../chunk-DYY3YKA6.js";
8
+ import "../chunk-I2NEJO3P.js";
9
+ import "../chunk-WWXD6MAR.js";
10
10
  import "../chunk-CJDVBBPB.js";
11
- import "../chunk-5FM64G6D.js";
11
+ import "../chunk-DEMZ3JKK.js";
12
12
  import "../chunk-CZZXE6BL.js";
13
- import "../chunk-GWXP3JVA.js";
13
+ import "../chunk-7WS7GIOW.js";
14
14
  import "../chunk-H7Y5CKTM.js";
15
- import "../chunk-QSRRBNLY.js";
16
- import "../chunk-ZA2I7S3E.js";
15
+ import "../chunk-7KGLJ74A.js";
16
+ import "../chunk-FUQDDES3.js";
17
17
  import "../chunk-IDZNPTYD.js";
18
18
  import "../chunk-W6Y7ZW3Y.js";
19
19
  import "../chunk-N5G5QMS3.js";
20
20
  import "../chunk-3WGJMBKH.js";
21
21
  import "../chunk-HKUX2X7O.js";
22
- import "../chunk-VF23UTNB.js";
22
+ import "../chunk-XULGZC2A.js";
23
23
  import "../chunk-ERS5EVUZ.js";
24
24
 
25
25
  // src/bin/harness-mcp.ts
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  createProgram,
4
4
  printFirstRunWelcome
5
- } from "../chunk-OA3MOZGG.js";
5
+ } from "../chunk-OIPVOH5E.js";
6
6
  import "../chunk-SD3SQOZ2.js";
7
- import "../chunk-ABQUCXRE.js";
7
+ import "../chunk-E7N77TZW.js";
8
8
  import "../chunk-6KWBH4EO.js";
9
9
  import "../chunk-YQ6KC6TE.js";
10
10
  import "../chunk-TRAPF4IX.js";
@@ -16,22 +16,22 @@ import "../chunk-DBSOCI3G.js";
16
16
  import "../chunk-FIAPHX37.js";
17
17
  import "../chunk-KET4QQZB.js";
18
18
  import "../chunk-OD3S2NHN.js";
19
- import "../chunk-2DMIQ35P.js";
20
- import "../chunk-APNPXLB2.js";
21
- import "../chunk-TZIHFNEG.js";
22
- import "../chunk-OHZVGIPE.js";
23
- import "../chunk-TG7IUJ3J.js";
24
- import "../chunk-UX3JHYEA.js";
19
+ import "../chunk-4KE55XRN.js";
20
+ import "../chunk-ZR2C5FG2.js";
21
+ import "../chunk-TCTYRFWX.js";
22
+ import "../chunk-DYY3YKA6.js";
23
+ import "../chunk-I2NEJO3P.js";
24
+ import "../chunk-WWXD6MAR.js";
25
25
  import "../chunk-CJDVBBPB.js";
26
- import "../chunk-5FM64G6D.js";
26
+ import "../chunk-DEMZ3JKK.js";
27
27
  import "../chunk-CZZXE6BL.js";
28
- import "../chunk-GWXP3JVA.js";
28
+ import "../chunk-7WS7GIOW.js";
29
29
  import "../chunk-H7Y5CKTM.js";
30
- import "../chunk-QSRRBNLY.js";
30
+ import "../chunk-7KGLJ74A.js";
31
31
  import {
32
32
  findConfigFile,
33
33
  loadConfig
34
- } from "../chunk-ZA2I7S3E.js";
34
+ } from "../chunk-FUQDDES3.js";
35
35
  import "../chunk-IDZNPTYD.js";
36
36
  import "../chunk-W6Y7ZW3Y.js";
37
37
  import "../chunk-N5G5QMS3.js";
@@ -50,7 +50,7 @@ import {
50
50
  readCheckState,
51
51
  shouldRunCheck,
52
52
  spawnBackgroundCheck
53
- } from "../chunk-VF23UTNB.js";
53
+ } from "../chunk-XULGZC2A.js";
54
54
  import "../chunk-ERS5EVUZ.js";
55
55
 
56
56
  // src/bin/harness.ts
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createCheckPhaseGateCommand,
3
3
  runCheckPhaseGate
4
- } from "./chunk-ABQUCXRE.js";
4
+ } from "./chunk-E7N77TZW.js";
5
5
  import "./chunk-EBJQ6N4M.js";
6
- import "./chunk-ZA2I7S3E.js";
6
+ import "./chunk-FUQDDES3.js";
7
7
  import "./chunk-3WGJMBKH.js";
8
- import "./chunk-VF23UTNB.js";
8
+ import "./chunk-XULGZC2A.js";
9
9
  import "./chunk-ERS5EVUZ.js";
10
10
  export {
11
11
  createCheckPhaseGateCommand,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  detectEntropyDefinition,
3
3
  handleDetectEntropy
4
- } from "./chunk-APNPXLB2.js";
4
+ } from "./chunk-ZR2C5FG2.js";
5
5
  import {
6
6
  checkPerformanceDefinition,
7
7
  getCriticalPathsDefinition,
@@ -11,7 +11,7 @@ import {
11
11
  handleGetPerfBaselines,
12
12
  handleUpdatePerfBaselines,
13
13
  updatePerfBaselinesDefinition
14
- } from "./chunk-TZIHFNEG.js";
14
+ } from "./chunk-TCTYRFWX.js";
15
15
  import {
16
16
  analyzeDiffDefinition,
17
17
  createSelfReviewDefinition,
@@ -19,15 +19,15 @@ import {
19
19
  handleCreateSelfReview,
20
20
  handleRequestPeerReview,
21
21
  requestPeerReviewDefinition
22
- } from "./chunk-OHZVGIPE.js";
22
+ } from "./chunk-DYY3YKA6.js";
23
23
  import {
24
24
  handleRunSecurityScan,
25
25
  runSecurityScanDefinition
26
- } from "./chunk-TG7IUJ3J.js";
26
+ } from "./chunk-I2NEJO3P.js";
27
27
  import {
28
28
  handleRunCodeReview,
29
29
  runCodeReviewDefinition
30
- } from "./chunk-UX3JHYEA.js";
30
+ } from "./chunk-WWXD6MAR.js";
31
31
  import {
32
32
  GENERATED_HEADER_CLAUDE,
33
33
  GENERATED_HEADER_CODEX,
@@ -40,25 +40,25 @@ import {
40
40
  import {
41
41
  handleValidateProject,
42
42
  validateToolDefinition
43
- } from "./chunk-5FM64G6D.js";
43
+ } from "./chunk-DEMZ3JKK.js";
44
44
  import {
45
45
  loadGraphStore
46
46
  } from "./chunk-CZZXE6BL.js";
47
47
  import {
48
48
  checkDependenciesDefinition,
49
49
  handleCheckDependencies
50
- } from "./chunk-GWXP3JVA.js";
50
+ } from "./chunk-7WS7GIOW.js";
51
51
  import {
52
52
  resolveProjectConfig
53
53
  } from "./chunk-H7Y5CKTM.js";
54
54
  import {
55
55
  checkDocsDefinition,
56
56
  handleCheckDocs
57
- } from "./chunk-QSRRBNLY.js";
57
+ } from "./chunk-7KGLJ74A.js";
58
58
  import {
59
59
  TrackerConfigSchema,
60
60
  resolveConfig
61
- } from "./chunk-ZA2I7S3E.js";
61
+ } from "./chunk-FUQDDES3.js";
62
62
  import {
63
63
  resultToMcpResponse
64
64
  } from "./chunk-IDZNPTYD.js";
@@ -87,7 +87,7 @@ import {
87
87
  checkTaint,
88
88
  scanForInjection,
89
89
  writeTaint
90
- } from "./chunk-VF23UTNB.js";
90
+ } from "./chunk-XULGZC2A.js";
91
91
  import {
92
92
  Err,
93
93
  Ok
@@ -554,7 +554,7 @@ ${skippedMsg}`
554
554
  async function handleInitProject(input) {
555
555
  const i = input;
556
556
  try {
557
- const { TemplateEngine } = await import("./engine-VS6ZJ2VZ.js");
557
+ const { TemplateEngine } = await import("./engine-R24ZLV44.js");
558
558
  const engine = new TemplateEngine(resolveTemplatesDir());
559
559
  const safePath = sanitizePath(i.path);
560
560
  const detected = tryDetectFramework(engine, safePath, i);
@@ -575,7 +575,7 @@ var listPersonasDefinition = {
575
575
  inputSchema: { type: "object", properties: {} }
576
576
  };
577
577
  async function handleListPersonas() {
578
- const { listPersonas } = await import("./loader-B4XWX4K6.js");
578
+ const { listPersonas } = await import("./loader-NOLQCQGX.js");
579
579
  const result = listPersonas(resolvePersonasDir());
580
580
  return resultToMcpResponse(result);
581
581
  }
@@ -599,10 +599,10 @@ async function handleGeneratePersonaArtifacts(input) {
599
599
  if (!/^[a-z0-9][a-z0-9._-]*$/i.test(input.name)) {
600
600
  return resultToMcpResponse(Err(new Error(`Invalid persona name: ${input.name}`)));
601
601
  }
602
- const { loadPersona } = await import("./loader-B4XWX4K6.js");
603
- const { generateRuntime } = await import("./runtime-YHVLJNPG.js");
604
- const { generateAgentsMd } = await import("./agents-md-DUYNKHJZ.js");
605
- const { generateCIWorkflow } = await import("./ci-workflow-FJZMNZPT.js");
602
+ const { loadPersona } = await import("./loader-NOLQCQGX.js");
603
+ const { generateRuntime } = await import("./runtime-23OFHLCZ.js");
604
+ const { generateAgentsMd } = await import("./agents-md-DFY5W2DJ.js");
605
+ const { generateCIWorkflow } = await import("./ci-workflow-N2TJ7B7G.js");
606
606
  const personasDir = resolvePersonasDir();
607
607
  const filePath = path3.join(personasDir, `${input.name}.yaml`);
608
608
  if (!filePath.startsWith(personasDir)) {
@@ -657,7 +657,7 @@ async function handleRunPersona(input) {
657
657
  if (!/^[a-z0-9][a-z0-9._-]*$/i.test(input.persona)) {
658
658
  return resultToMcpResponse(Err(new Error(`Invalid persona name: ${input.persona}`)));
659
659
  }
660
- const { loadPersona } = await import("./loader-B4XWX4K6.js");
660
+ const { loadPersona } = await import("./loader-NOLQCQGX.js");
661
661
  const { runPersona } = await import("./runner-VMYLHWOC.js");
662
662
  const { executeSkill } = await import("./skill-executor-XEVDGXUM.js");
663
663
  const personasDir = resolvePersonasDir();
@@ -1275,7 +1275,7 @@ async function autoSyncRoadmap(projectPath) {
1275
1275
  try {
1276
1276
  const roadmapFile = path11.join(projectPath, "docs", "roadmap.md");
1277
1277
  if (!fs10.existsSync(roadmapFile)) return;
1278
- const { parseRoadmap, serializeRoadmap, syncRoadmap, applySyncChanges } = await import("./dist-MF5BK5AD.js");
1278
+ const { parseRoadmap, serializeRoadmap, syncRoadmap, applySyncChanges } = await import("./dist-WABFDP2V.js");
1279
1279
  const raw = fs10.readFileSync(roadmapFile, "utf-8");
1280
1280
  const parseResult = parseRoadmap(raw);
1281
1281
  if (!parseResult.ok) return;
@@ -1297,7 +1297,7 @@ async function triggerExternalSync(projectPath, roadmapFile) {
1297
1297
  if (!trackerConfig) return;
1298
1298
  const token = process.env.GITHUB_TOKEN;
1299
1299
  if (!token) return;
1300
- const { fullSync, GitHubIssuesSyncAdapter } = await import("./dist-MF5BK5AD.js");
1300
+ const { fullSync, GitHubIssuesSyncAdapter } = await import("./dist-WABFDP2V.js");
1301
1301
  const adapter = new GitHubIssuesSyncAdapter({
1302
1302
  token,
1303
1303
  config: trackerConfig
@@ -1409,12 +1409,12 @@ var manageStateDefinition = {
1409
1409
  }
1410
1410
  };
1411
1411
  async function handleShow(projectPath, input) {
1412
- const { loadState } = await import("./dist-MF5BK5AD.js");
1412
+ const { loadState } = await import("./dist-WABFDP2V.js");
1413
1413
  return resultToMcpResponse(await loadState(projectPath, input.stream, input.session));
1414
1414
  }
1415
1415
  async function handleLearn(projectPath, input) {
1416
1416
  if (!input.learning) return mcpError("Error: learning is required for learn action");
1417
- const { appendLearning } = await import("./dist-MF5BK5AD.js");
1417
+ const { appendLearning } = await import("./dist-WABFDP2V.js");
1418
1418
  const result = await appendLearning(
1419
1419
  projectPath,
1420
1420
  input.learning,
@@ -1429,7 +1429,7 @@ async function handleLearn(projectPath, input) {
1429
1429
  async function handleFailure(projectPath, input) {
1430
1430
  if (!input.description) return mcpError("Error: description is required for failure action");
1431
1431
  if (!input.failureType) return mcpError("Error: failureType is required for failure action");
1432
- const { appendFailure } = await import("./dist-MF5BK5AD.js");
1432
+ const { appendFailure } = await import("./dist-WABFDP2V.js");
1433
1433
  const result = await appendFailure(
1434
1434
  projectPath,
1435
1435
  input.description,
@@ -1442,24 +1442,24 @@ async function handleFailure(projectPath, input) {
1442
1442
  return resultToMcpResponse(Ok({ recorded: true }));
1443
1443
  }
1444
1444
  async function handleArchive(projectPath, input) {
1445
- const { archiveFailures } = await import("./dist-MF5BK5AD.js");
1445
+ const { archiveFailures } = await import("./dist-WABFDP2V.js");
1446
1446
  const result = await archiveFailures(projectPath, input.stream, input.session);
1447
1447
  if (!result.ok) return resultToMcpResponse(result);
1448
1448
  return resultToMcpResponse(Ok({ archived: true }));
1449
1449
  }
1450
1450
  async function handleReset(projectPath, input) {
1451
- const { saveState, DEFAULT_STATE } = await import("./dist-MF5BK5AD.js");
1451
+ const { saveState, DEFAULT_STATE } = await import("./dist-WABFDP2V.js");
1452
1452
  const result = await saveState(projectPath, { ...DEFAULT_STATE }, input.stream, input.session);
1453
1453
  if (!result.ok) return resultToMcpResponse(result);
1454
1454
  return resultToMcpResponse(Ok({ reset: true }));
1455
1455
  }
1456
1456
  async function handleGate(projectPath, _input) {
1457
- const { runMechanicalGate } = await import("./dist-MF5BK5AD.js");
1457
+ const { runMechanicalGate } = await import("./dist-WABFDP2V.js");
1458
1458
  return resultToMcpResponse(await runMechanicalGate(projectPath));
1459
1459
  }
1460
1460
  async function handleSaveHandoff(projectPath, input) {
1461
1461
  if (!input.handoff) return mcpError("Error: handoff is required for save-handoff action");
1462
- const { saveHandoff } = await import("./dist-MF5BK5AD.js");
1462
+ const { saveHandoff } = await import("./dist-WABFDP2V.js");
1463
1463
  const result = await saveHandoff(
1464
1464
  projectPath,
1465
1465
  input.handoff,
@@ -1471,7 +1471,7 @@ async function handleSaveHandoff(projectPath, input) {
1471
1471
  return resultToMcpResponse(Ok({ saved: true }));
1472
1472
  }
1473
1473
  async function handleLoadHandoff(projectPath, input) {
1474
- const { loadHandoff } = await import("./dist-MF5BK5AD.js");
1474
+ const { loadHandoff } = await import("./dist-WABFDP2V.js");
1475
1475
  return resultToMcpResponse(await loadHandoff(projectPath, input.stream, input.session));
1476
1476
  }
1477
1477
  async function handleAppendEntry(projectPath, input) {
@@ -1479,7 +1479,7 @@ async function handleAppendEntry(projectPath, input) {
1479
1479
  if (!input.section) return mcpError("Error: section is required for append_entry action");
1480
1480
  if (!input.authorSkill) return mcpError("Error: authorSkill is required for append_entry action");
1481
1481
  if (!input.content) return mcpError("Error: content is required for append_entry action");
1482
- const { appendSessionEntry } = await import("./dist-MF5BK5AD.js");
1482
+ const { appendSessionEntry } = await import("./dist-WABFDP2V.js");
1483
1483
  const result = await appendSessionEntry(
1484
1484
  projectPath,
1485
1485
  input.session,
@@ -1495,7 +1495,7 @@ async function handleUpdateEntryStatus(projectPath, input) {
1495
1495
  if (!input.entryId) return mcpError("Error: entryId is required for update_entry_status action");
1496
1496
  if (!input.newStatus)
1497
1497
  return mcpError("Error: newStatus is required for update_entry_status action");
1498
- const { updateSessionEntryStatus } = await import("./dist-MF5BK5AD.js");
1498
+ const { updateSessionEntryStatus } = await import("./dist-WABFDP2V.js");
1499
1499
  const result = await updateSessionEntryStatus(
1500
1500
  projectPath,
1501
1501
  input.session,
@@ -1508,7 +1508,7 @@ async function handleUpdateEntryStatus(projectPath, input) {
1508
1508
  async function handleReadSection(projectPath, input) {
1509
1509
  if (!input.session) return mcpError("Error: session is required for read_section action");
1510
1510
  if (!input.section) return mcpError("Error: section is required for read_section action");
1511
- const { readSessionSection } = await import("./dist-MF5BK5AD.js");
1511
+ const { readSessionSection } = await import("./dist-WABFDP2V.js");
1512
1512
  const result = await readSessionSection(
1513
1513
  projectPath,
1514
1514
  input.session,
@@ -1518,13 +1518,13 @@ async function handleReadSection(projectPath, input) {
1518
1518
  }
1519
1519
  async function handleReadSections(projectPath, input) {
1520
1520
  if (!input.session) return mcpError("Error: session is required for read_sections action");
1521
- const { readSessionSections } = await import("./dist-MF5BK5AD.js");
1521
+ const { readSessionSections } = await import("./dist-WABFDP2V.js");
1522
1522
  const result = await readSessionSections(projectPath, input.session);
1523
1523
  return resultToMcpResponse(result);
1524
1524
  }
1525
1525
  async function handleArchiveSession(projectPath, input) {
1526
1526
  if (!input.session) return mcpError("Error: session is required for archive_session action");
1527
- const { archiveSession } = await import("./dist-MF5BK5AD.js");
1527
+ const { archiveSession } = await import("./dist-WABFDP2V.js");
1528
1528
  const result = await archiveSession(projectPath, input.session);
1529
1529
  if (!result.ok) return resultToMcpResponse(result);
1530
1530
  await autoSyncRoadmap(projectPath);
@@ -1588,7 +1588,7 @@ var listStreamsDefinition = {
1588
1588
  };
1589
1589
  async function handleListStreams(input) {
1590
1590
  try {
1591
- const { listStreams, loadStreamIndex } = await import("./dist-MF5BK5AD.js");
1591
+ const { listStreams, loadStreamIndex } = await import("./dist-WABFDP2V.js");
1592
1592
  const projectPath = sanitizePath(input.path);
1593
1593
  const indexResult = await loadStreamIndex(projectPath);
1594
1594
  const streamsResult = await listStreams(projectPath);
@@ -1626,7 +1626,7 @@ var checkPhaseGateDefinition = {
1626
1626
  };
1627
1627
  async function handleCheckPhaseGate(input) {
1628
1628
  try {
1629
- const { runCheckPhaseGate } = await import("./check-phase-gate-OSHN2AEL.js");
1629
+ const { runCheckPhaseGate } = await import("./check-phase-gate-PRCIABVA.js");
1630
1630
  const result = await runCheckPhaseGate({ cwd: sanitizePath(input.path) });
1631
1631
  if (result.ok) {
1632
1632
  return { content: [{ type: "text", text: JSON.stringify(result.value) }] };
@@ -1682,7 +1682,7 @@ async function handleValidateCrossCheck(input) {
1682
1682
  };
1683
1683
  }
1684
1684
  try {
1685
- const { runCrossCheck } = await import("./validate-cross-check-YTDWIMFI.js");
1685
+ const { runCrossCheck } = await import("./validate-cross-check-MM23HXVY.js");
1686
1686
  const specsDir = path12.resolve(projectPath, input.specsDir ?? "docs/specs");
1687
1687
  if (!specsDir.startsWith(projectPath)) {
1688
1688
  return {
@@ -2327,7 +2327,7 @@ async function handleGenerateSlashCommands(input) {
2327
2327
  // src/mcp/resources/state.ts
2328
2328
  async function getStateResource(projectRoot) {
2329
2329
  try {
2330
- const { loadState, migrateToStreams } = await import("./dist-MF5BK5AD.js");
2330
+ const { loadState, migrateToStreams } = await import("./dist-WABFDP2V.js");
2331
2331
  await migrateToStreams(projectRoot);
2332
2332
  const result = await loadState(projectRoot);
2333
2333
  if (result.ok) {
@@ -3146,7 +3146,7 @@ var generateAgentDefinitionsDefinition = {
3146
3146
  }
3147
3147
  };
3148
3148
  async function handleGenerateAgentDefinitions(input) {
3149
- const { generateAgentDefinitions } = await import("./generate-agent-definitions-EYG263XD.js");
3149
+ const { generateAgentDefinitions } = await import("./generate-agent-definitions-BDHDLUZK.js");
3150
3150
  const platforms = input.platform === "all" || !input.platform ? ["claude-code", "gemini-cli"] : [input.platform];
3151
3151
  const results = generateAgentDefinitions({
3152
3152
  platforms: [...platforms],
@@ -3443,7 +3443,7 @@ function handleSync(projectPath, input, deps) {
3443
3443
  }
3444
3444
  async function handleManageRoadmap(input) {
3445
3445
  try {
3446
- const { parseRoadmap, serializeRoadmap, syncRoadmap, applySyncChanges } = await import("./dist-MF5BK5AD.js");
3446
+ const { parseRoadmap, serializeRoadmap, syncRoadmap, applySyncChanges } = await import("./dist-WABFDP2V.js");
3447
3447
  const { Ok: Ok2 } = await import("./dist-USY2C5JL.js");
3448
3448
  const projectPath = sanitizePath(input.path);
3449
3449
  const deps = { parseRoadmap, serializeRoadmap, syncRoadmap, applySyncChanges, Ok: Ok2 };
@@ -3871,7 +3871,7 @@ async function handleTransition(validInput, projectPath, id) {
3871
3871
  const transition = transitionResult.data;
3872
3872
  const prompt = renderTransition(transition);
3873
3873
  try {
3874
- const { saveHandoff } = await import("./dist-MF5BK5AD.js");
3874
+ const { saveHandoff } = await import("./dist-WABFDP2V.js");
3875
3875
  await saveHandoff(
3876
3876
  projectPath,
3877
3877
  {
@@ -3941,7 +3941,7 @@ async function handleEmitInteraction(input) {
3941
3941
  }
3942
3942
  async function recordInteraction(projectPath, id, type, decision, stream) {
3943
3943
  try {
3944
- const { loadState, saveState } = await import("./dist-MF5BK5AD.js");
3944
+ const { loadState, saveState } = await import("./dist-WABFDP2V.js");
3945
3945
  const stateResult = await loadState(projectPath, stream);
3946
3946
  if (stateResult.ok) {
3947
3947
  const state = stateResult.value;
@@ -4030,10 +4030,10 @@ async function handleGatherContext(input) {
4030
4030
  input.include ?? ["state", "learnings", "handoff", "graph", "validation"]
4031
4031
  );
4032
4032
  const errors = [];
4033
- const statePromise = includeSet.has("state") ? import("./dist-MF5BK5AD.js").then(
4033
+ const statePromise = includeSet.has("state") ? import("./dist-WABFDP2V.js").then(
4034
4034
  (core) => core.loadState(projectPath, void 0, input.session)
4035
4035
  ) : Promise.resolve(null);
4036
- const learningsPromise = includeSet.has("learnings") ? import("./dist-MF5BK5AD.js").then(
4036
+ const learningsPromise = includeSet.has("learnings") ? import("./dist-WABFDP2V.js").then(
4037
4037
  (core) => core.loadBudgetedLearnings(projectPath, {
4038
4038
  intent: input.intent,
4039
4039
  tokenBudget: input.learningsBudget ?? 1e3,
@@ -4042,7 +4042,7 @@ async function handleGatherContext(input) {
4042
4042
  ...input.depth !== void 0 && { depth: input.depth }
4043
4043
  })
4044
4044
  ) : Promise.resolve(null);
4045
- const handoffPromise = includeSet.has("handoff") ? import("./dist-MF5BK5AD.js").then(
4045
+ const handoffPromise = includeSet.has("handoff") ? import("./dist-WABFDP2V.js").then(
4046
4046
  (core) => core.loadHandoff(projectPath, void 0, input.session)
4047
4047
  ) : Promise.resolve(null);
4048
4048
  const graphPromise = includeSet.has("graph") ? (async () => {
@@ -4086,11 +4086,11 @@ async function handleGatherContext(input) {
4086
4086
  context: contextBlocks
4087
4087
  };
4088
4088
  })() : Promise.resolve(null);
4089
- const sessionsPromise = includeSet.has("sessions") && input.session ? import("./dist-MF5BK5AD.js").then(
4089
+ const sessionsPromise = includeSet.has("sessions") && input.session ? import("./dist-WABFDP2V.js").then(
4090
4090
  (core) => core.readSessionSections(projectPath, input.session)
4091
4091
  ) : Promise.resolve(null);
4092
4092
  const shouldIncludeEvents = input.includeEvents !== void 0 ? input.includeEvents : includeSet.has("events") || !!input.session && !input.include;
4093
- const eventsPromise = shouldIncludeEvents ? import("./dist-MF5BK5AD.js").then(async (core) => {
4093
+ const eventsPromise = shouldIncludeEvents ? import("./dist-WABFDP2V.js").then(async (core) => {
4094
4094
  const result = await core.loadEvents(projectPath, {
4095
4095
  session: input.session
4096
4096
  });
@@ -4098,7 +4098,7 @@ async function handleGatherContext(input) {
4098
4098
  return core.formatEventTimeline(result.value);
4099
4099
  }) : Promise.resolve(null);
4100
4100
  const validationPromise = includeSet.has("validation") ? (async () => {
4101
- const { handleValidateProject: handleValidateProject2 } = await import("./validate-SPSTH2YW.js");
4101
+ const { handleValidateProject: handleValidateProject2 } = await import("./validate-YLMMPRUI.js");
4102
4102
  const result = await handleValidateProject2({ path: projectPath });
4103
4103
  const first = result.content[0];
4104
4104
  return first ? JSON.parse(first.text) : null;
@@ -4192,7 +4192,7 @@ async function handleGatherContext(input) {
4192
4192
  };
4193
4193
  if (input.session) {
4194
4194
  try {
4195
- const core = await import("./dist-MF5BK5AD.js");
4195
+ const core = await import("./dist-WABFDP2V.js");
4196
4196
  core.updateSessionIndex(
4197
4197
  projectPath,
4198
4198
  input.session,
@@ -4262,7 +4262,7 @@ async function handleAssessProject(input) {
4262
4262
  let validateResult = null;
4263
4263
  if (checksToRun.has("validate")) {
4264
4264
  try {
4265
- const { handleValidateProject: handleValidateProject2 } = await import("./validate-SPSTH2YW.js");
4265
+ const { handleValidateProject: handleValidateProject2 } = await import("./validate-YLMMPRUI.js");
4266
4266
  const result = await handleValidateProject2({ path: projectPath });
4267
4267
  const first = result.content[0];
4268
4268
  const parsed = first ? JSON.parse(first.text) : {};
@@ -4287,7 +4287,7 @@ async function handleAssessProject(input) {
4287
4287
  parallelChecks.push(
4288
4288
  (async () => {
4289
4289
  try {
4290
- const { handleCheckDependencies: handleCheckDependencies2 } = await import("./architecture-UBO5KKUV.js");
4290
+ const { handleCheckDependencies: handleCheckDependencies2 } = await import("./architecture-E6PIU27A.js");
4291
4291
  const result = await handleCheckDependencies2({ path: projectPath });
4292
4292
  const first = result.content[0];
4293
4293
  const parsed = first ? JSON.parse(first.text) : {};
@@ -4314,7 +4314,7 @@ async function handleAssessProject(input) {
4314
4314
  parallelChecks.push(
4315
4315
  (async () => {
4316
4316
  try {
4317
- const { handleCheckDocs: handleCheckDocs2 } = await import("./docs-WZHW4N4P.js");
4317
+ const { handleCheckDocs: handleCheckDocs2 } = await import("./docs-UOCKFYBH.js");
4318
4318
  const result = await handleCheckDocs2({ path: projectPath, scope: "coverage" });
4319
4319
  const first = result.content[0];
4320
4320
  const parsed = first ? JSON.parse(first.text) : {};
@@ -4341,7 +4341,7 @@ async function handleAssessProject(input) {
4341
4341
  parallelChecks.push(
4342
4342
  (async () => {
4343
4343
  try {
4344
- const { handleDetectEntropy: handleDetectEntropy2 } = await import("./entropy-FCIGJIIT.js");
4344
+ const { handleDetectEntropy: handleDetectEntropy2 } = await import("./entropy-5Y32Q6UO.js");
4345
4345
  const result = await handleDetectEntropy2({ path: projectPath, type: "all" });
4346
4346
  const first = result.content[0];
4347
4347
  const parsed = first ? JSON.parse(first.text) : {};
@@ -4368,7 +4368,7 @@ async function handleAssessProject(input) {
4368
4368
  parallelChecks.push(
4369
4369
  (async () => {
4370
4370
  try {
4371
- const { handleRunSecurityScan: handleRunSecurityScan2 } = await import("./security-HTDKKGMX.js");
4371
+ const { handleRunSecurityScan: handleRunSecurityScan2 } = await import("./security-NNEE7IQT.js");
4372
4372
  const result = await handleRunSecurityScan2({ path: projectPath });
4373
4373
  const first = result.content[0];
4374
4374
  const parsed = first ? JSON.parse(first.text) : {};
@@ -4400,7 +4400,7 @@ async function handleAssessProject(input) {
4400
4400
  parallelChecks.push(
4401
4401
  (async () => {
4402
4402
  try {
4403
- const { handleCheckPerformance: handleCheckPerformance2 } = await import("./performance-NMJDV6HF.js");
4403
+ const { handleCheckPerformance: handleCheckPerformance2 } = await import("./performance-AN4AJVEF.js");
4404
4404
  const result = await handleCheckPerformance2({ path: projectPath });
4405
4405
  if ("isError" in result && result.isError) {
4406
4406
  const msg = result.content[0]?.text ?? "Performance check failed";
@@ -4603,7 +4603,7 @@ async function handleReviewChanges(input) {
4603
4603
  }
4604
4604
  }
4605
4605
  async function runQuickReview(projectPath, diff, diffLines, downgraded) {
4606
- const { handleAnalyzeDiff: handleAnalyzeDiff2 } = await import("./feedback-O3FYTZIE.js");
4606
+ const { handleAnalyzeDiff: handleAnalyzeDiff2 } = await import("./feedback-NANNPO22.js");
4607
4607
  const result = await handleAnalyzeDiff2({ diff, path: projectPath });
4608
4608
  const firstContent = result.content[0];
4609
4609
  if (!firstContent) throw new Error("Empty analyze_diff response");
@@ -4634,7 +4634,7 @@ function extractFileCount(diffParsed) {
4634
4634
  return files?.length ?? 0;
4635
4635
  }
4636
4636
  async function runStandardReview(projectPath, diff, diffLines, downgraded) {
4637
- const { handleAnalyzeDiff: handleAnalyzeDiff2, handleCreateSelfReview: handleCreateSelfReview2 } = await import("./feedback-O3FYTZIE.js");
4637
+ const { handleAnalyzeDiff: handleAnalyzeDiff2, handleCreateSelfReview: handleCreateSelfReview2 } = await import("./feedback-NANNPO22.js");
4638
4638
  const [diffResult, reviewResult] = await Promise.all([
4639
4639
  handleAnalyzeDiff2({ diff, path: projectPath }),
4640
4640
  handleCreateSelfReview2({ path: projectPath, diff })
@@ -4666,7 +4666,7 @@ async function runStandardReview(projectPath, diff, diffLines, downgraded) {
4666
4666
  };
4667
4667
  }
4668
4668
  async function runDeepReview(projectPath, diff, diffLines, _downgraded) {
4669
- const { handleRunCodeReview: handleRunCodeReview2 } = await import("./review-pipeline-MSEJWTKM.js");
4669
+ const { handleRunCodeReview: handleRunCodeReview2 } = await import("./review-pipeline-UBXJ4IAH.js");
4670
4670
  const result = await handleRunCodeReview2({ path: projectPath, diff });
4671
4671
  const deepContent = result.content[0];
4672
4672
  if (!deepContent) throw new Error("Empty code review response");
@@ -4952,7 +4952,7 @@ async function handleDetectStaleConstraints(input) {
4952
4952
  ]
4953
4953
  };
4954
4954
  }
4955
- const { detectStaleConstraints } = await import("./dist-MF5BK5AD.js");
4955
+ const { detectStaleConstraints } = await import("./dist-WABFDP2V.js");
4956
4956
  const result = detectStaleConstraints(
4957
4957
  store,
4958
4958
  windowDays,
@@ -5084,7 +5084,7 @@ async function handleCodeOutline(input) {
5084
5084
  };
5085
5085
  }
5086
5086
  try {
5087
- const { getOutline, formatOutline, EXTENSION_MAP } = await import("./dist-MF5BK5AD.js");
5087
+ const { getOutline, formatOutline, EXTENSION_MAP } = await import("./dist-WABFDP2V.js");
5088
5088
  const { stat } = await import("fs/promises");
5089
5089
  const stats = await stat(targetPath).catch(() => null);
5090
5090
  if (stats?.isFile()) {
@@ -5164,7 +5164,7 @@ async function handleCodeSearch(input) {
5164
5164
  };
5165
5165
  }
5166
5166
  try {
5167
- const { searchSymbols } = await import("./dist-MF5BK5AD.js");
5167
+ const { searchSymbols } = await import("./dist-WABFDP2V.js");
5168
5168
  const result = await searchSymbols(input.query, directory, input.glob);
5169
5169
  const lines = [`Search: "${result.query}" \u2014 ${result.matches.length} matches`];
5170
5170
  for (const match of result.matches) {
@@ -5233,7 +5233,7 @@ async function handleCodeUnfold(input) {
5233
5233
  }
5234
5234
  try {
5235
5235
  if (input.symbol) {
5236
- const { unfoldSymbol } = await import("./dist-MF5BK5AD.js");
5236
+ const { unfoldSymbol } = await import("./dist-WABFDP2V.js");
5237
5237
  const result = await unfoldSymbol(filePath, input.symbol);
5238
5238
  const header = result.warning ? `${result.file}:${result.startLine}-${result.endLine} ${result.warning}
5239
5239
  ` : `${result.file}:${result.startLine}-${result.endLine}
@@ -5241,7 +5241,7 @@ async function handleCodeUnfold(input) {
5241
5241
  return { content: [{ type: "text", text: header + result.content }] };
5242
5242
  }
5243
5243
  if (input.startLine != null && input.endLine != null) {
5244
- const { unfoldRange } = await import("./dist-MF5BK5AD.js");
5244
+ const { unfoldRange } = await import("./dist-WABFDP2V.js");
5245
5245
  const result = await unfoldRange(filePath, input.startLine, input.endLine);
5246
5246
  const header = `${result.file}:${result.startLine}-${result.endLine}
5247
5247
  `;
@@ -5456,7 +5456,7 @@ async function appendUpdateNotification(result, resolvedRoot) {
5456
5456
  shouldRunCheck,
5457
5457
  readCheckState,
5458
5458
  spawnBackgroundCheck
5459
- } = await import("./dist-MF5BK5AD.js");
5459
+ } = await import("./dist-WABFDP2V.js");
5460
5460
  const { CLI_VERSION } = await import("./version-KFFPOQAX.js");
5461
5461
  const configInterval = readConfigInterval(resolvedRoot);
5462
5462
  const DEFAULT_INTERVAL = 864e5;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findConfigFile,
3
3
  loadConfig
4
- } from "./chunk-ZA2I7S3E.js";
4
+ } from "./chunk-FUQDDES3.js";
5
5
  import {
6
6
  resultToMcpResponse
7
7
  } from "./chunk-IDZNPTYD.js";
@@ -46,12 +46,12 @@ async function handleCheckDocs(input) {
46
46
  const projectPath = sanitizePath(input.path);
47
47
  const scope = input.scope ?? "coverage";
48
48
  if (scope === "integrity") {
49
- const { validateKnowledgeMap } = await import("./dist-MF5BK5AD.js");
49
+ const { validateKnowledgeMap } = await import("./dist-WABFDP2V.js");
50
50
  const result2 = await validateKnowledgeMap(projectPath);
51
51
  return resultToMcpResponse(result2);
52
52
  }
53
53
  if (scope === "all") {
54
- const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-MF5BK5AD.js");
54
+ const { checkDocCoverage: checkDocCoverage2, validateKnowledgeMap } = await import("./dist-WABFDP2V.js");
55
55
  const domain2 = input.domain ?? "src";
56
56
  const { loadGraphStore: loadGraphStore2 } = await import("./graph-loader-KMHDQYDT.js");
57
57
  const store2 = await loadGraphStore2(projectPath);
@@ -90,7 +90,7 @@ async function handleCheckDocs(input) {
90
90
  }
91
91
  return resultToMcpResponse(Ok({ coverage, integrity }));
92
92
  }
93
- const { checkDocCoverage } = await import("./dist-MF5BK5AD.js");
93
+ const { checkDocCoverage } = await import("./dist-WABFDP2V.js");
94
94
  const domain = input.domain ?? "src";
95
95
  const { loadGraphStore } = await import("./graph-loader-KMHDQYDT.js");
96
96
  const store = await loadGraphStore(projectPath);