nexus-agents 8.131.4 → 8.131.6

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 (136) hide show
  1. package/dist/{ast-rule-runner-SMEE7RYS.js → ast-rule-runner-DCAXFGPG.js} +3 -3
  2. package/dist/{child-mcp-config-EGYYY7H5.js → child-mcp-config-46PI4CDD.js} +2 -2
  3. package/dist/{chunk-XUPZ5LUK.js → chunk-3446TBB7.js} +4 -4
  4. package/dist/{chunk-GAZRHKPI.js → chunk-3KQJUD4J.js} +3 -3
  5. package/dist/{chunk-24J3GS2G.js → chunk-4MUBZFRJ.js} +2 -2
  6. package/dist/{chunk-RT2RZ2N3.js → chunk-5FML33AZ.js} +3 -3
  7. package/dist/{chunk-4I3GJWP7.js → chunk-733FNXLT.js} +5 -5
  8. package/dist/{chunk-2H6SOV56.js → chunk-ABRG2C4Q.js} +4 -4
  9. package/dist/{chunk-TK7GELG7.js → chunk-BJUFLV25.js} +4 -4
  10. package/dist/{chunk-SWM3UQVB.js → chunk-CGGKU72Q.js} +2 -2
  11. package/dist/{chunk-OPIP264O.js → chunk-CL6PLSGC.js} +3 -3
  12. package/dist/{chunk-PWVXFZC6.js → chunk-CS2Z4U44.js} +4 -4
  13. package/dist/{chunk-VIBLSP2T.js → chunk-DFRCMAGB.js} +57 -44
  14. package/dist/{chunk-VIBLSP2T.js.map → chunk-DFRCMAGB.js.map} +1 -1
  15. package/dist/{chunk-IX4T2OZK.js → chunk-DJKUORAD.js} +3 -3
  16. package/dist/{chunk-4EDCJTGY.js → chunk-EZ5T4NKW.js} +2 -2
  17. package/dist/{chunk-Z6O7SWLZ.js → chunk-FPSMQBJD.js} +9 -9
  18. package/dist/{chunk-UC2QFHD3.js → chunk-FRZSCLHF.js} +7 -7
  19. package/dist/{chunk-UAGNX4MV.js → chunk-GC3UWE32.js} +2 -2
  20. package/dist/{chunk-JCKH5Q3G.js → chunk-HDANGHKN.js} +2 -2
  21. package/dist/{chunk-JPEDMS2W.js → chunk-ILDOTFTF.js} +2 -2
  22. package/dist/{chunk-ILXLX2QB.js → chunk-KT5ZLKZ3.js} +2 -2
  23. package/dist/{chunk-ZYKJCJGF.js → chunk-MONAUBHI.js} +11 -11
  24. package/dist/{chunk-AW7OAZP5.js → chunk-MRBD2WNF.js} +2 -2
  25. package/dist/{chunk-WG3R5JFJ.js → chunk-NANNGTSF.js} +5 -5
  26. package/dist/{chunk-CEPCDDL6.js → chunk-NJW2PXCF.js} +2 -2
  27. package/dist/{chunk-53SE2SML.js → chunk-NM5MOHXO.js} +5 -5
  28. package/dist/{chunk-XMI6V44P.js → chunk-PNVKGNAB.js} +3 -3
  29. package/dist/{chunk-JYCRKUFW.js → chunk-QMDAAVBN.js} +6 -6
  30. package/dist/{chunk-45LK6KOK.js → chunk-REFGTW22.js} +12 -12
  31. package/dist/{chunk-4566OBYW.js → chunk-TGJ4MLBI.js} +7 -6
  32. package/dist/chunk-TGJ4MLBI.js.map +1 -0
  33. package/dist/{chunk-3U5CO6JR.js → chunk-TQAZKT7M.js} +2 -2
  34. package/dist/{chunk-QWSLDY4R.js → chunk-U5SGPCPU.js} +95 -63
  35. package/dist/chunk-U5SGPCPU.js.map +1 -0
  36. package/dist/{chunk-RJJWQFTK.js → chunk-UQNPJK6J.js} +2 -2
  37. package/dist/{chunk-3YC4DKBY.js → chunk-VYGYBX3C.js} +2 -2
  38. package/dist/{chunk-EIKL76VP.js → chunk-WT6HQEWS.js} +2 -2
  39. package/dist/{chunk-FHOAHIYC.js → chunk-YBX6XYRL.js} +2 -2
  40. package/dist/{chunk-NSTKD4T6.js → chunk-ZA77RUTM.js} +2 -2
  41. package/dist/{cli-circuit-breaker-LLCVUTDD.js → cli-circuit-breaker-PTXRXBG6.js} +3 -3
  42. package/dist/cli.js +119 -57
  43. package/dist/cli.js.map +1 -1
  44. package/dist/{composite-router-H4SCUKNA.js → composite-router-4HQZMR2Z.js} +2 -2
  45. package/dist/{consensus-vote-WRQVPISJ.js → consensus-vote-36ELETID.js} +17 -17
  46. package/dist/{context-retriever-P4ALBDH6.js → context-retriever-OA2CWQ75.js} +8 -8
  47. package/dist/{doctor-deep-BNHOYTGK.js → doctor-deep-K5KXYVQ7.js} +3 -3
  48. package/dist/{doctor-gateway-report-EJHJKEE7.js → doctor-gateway-report-O7YPYHE7.js} +8 -8
  49. package/dist/{doctor-live-WABLQ7IF.js → doctor-live-MRRVM7HO.js} +11 -11
  50. package/dist/{expert-bridge-UBJJ7VA6.js → expert-bridge-PMQSUIQW.js} +4 -4
  51. package/dist/{factory-AZOYPTG3.js → factory-776CIKXP.js} +5 -5
  52. package/dist/{factory-2P7VOA4W.js → factory-ZKLNQNR3.js} +10 -10
  53. package/dist/{improvement-review-VUCSKH24.js → improvement-review-V6YSSFDO.js} +6 -6
  54. package/dist/index.d.ts +3 -7
  55. package/dist/index.js +32 -32
  56. package/dist/{init-opencode-UVQVMCHG.js → init-opencode-LPWAYYR4.js} +6 -6
  57. package/dist/{issue-triage-HBM6RK3H.js → issue-triage-B3BRDZT6.js} +6 -6
  58. package/dist/{openai-compat-adapter-DOOGDW43.js → openai-compat-adapter-U54LJ7TJ.js} +6 -6
  59. package/dist/{outcome-store-adapter-UJPQYAUW.js → outcome-store-adapter-3EWXP7PY.js} +2 -2
  60. package/dist/{pr-reviewer-helpers-2YO45CBX.js → pr-reviewer-helpers-57TM7TCL.js} +4 -4
  61. package/dist/{registry-command-VGINIZAE.js → registry-command-4FIKBK5L.js} +2 -2
  62. package/dist/{repo-security-plan-EVDIUHDI.js → repo-security-plan-VGSGRZFE.js} +3 -3
  63. package/dist/{research-helpers-synthesize-BMVACM2N.js → research-helpers-synthesize-APUBTQMC.js} +4 -4
  64. package/dist/{routing-memory-E5WQ2YDY.js → routing-memory-EAI3JQ4W.js} +2 -2
  65. package/dist/{session-memory-RRFETFXN.js → session-memory-HTPPZPBQ.js} +3 -3
  66. package/dist/{setup-config-46VZEAJM.js → setup-config-4IL6HB2E.js} +3 -3
  67. package/dist/{setup-custom-api-YMDQK6YW.js → setup-custom-api-VCQ6SC2E.js} +4 -4
  68. package/dist/setup-data-dir-S4Q3RKX2.js +33 -0
  69. package/dist/{tool-memory-HXZQYP4L.js → tool-memory-ZEUMMKUC.js} +5 -5
  70. package/dist/{unified-registry-SAUDS2DQ.js → unified-registry-ATH2UJ2Y.js} +11 -11
  71. package/dist/{weather-report-C2M3EEXG.js → weather-report-VK5UMXSF.js} +2 -2
  72. package/package.json +1 -1
  73. package/dist/chunk-4566OBYW.js.map +0 -1
  74. package/dist/chunk-QWSLDY4R.js.map +0 -1
  75. package/dist/setup-data-dir-MDGUHYYP.js +0 -33
  76. /package/dist/{ast-rule-runner-SMEE7RYS.js.map → ast-rule-runner-DCAXFGPG.js.map} +0 -0
  77. /package/dist/{child-mcp-config-EGYYY7H5.js.map → child-mcp-config-46PI4CDD.js.map} +0 -0
  78. /package/dist/{chunk-XUPZ5LUK.js.map → chunk-3446TBB7.js.map} +0 -0
  79. /package/dist/{chunk-GAZRHKPI.js.map → chunk-3KQJUD4J.js.map} +0 -0
  80. /package/dist/{chunk-24J3GS2G.js.map → chunk-4MUBZFRJ.js.map} +0 -0
  81. /package/dist/{chunk-RT2RZ2N3.js.map → chunk-5FML33AZ.js.map} +0 -0
  82. /package/dist/{chunk-4I3GJWP7.js.map → chunk-733FNXLT.js.map} +0 -0
  83. /package/dist/{chunk-2H6SOV56.js.map → chunk-ABRG2C4Q.js.map} +0 -0
  84. /package/dist/{chunk-TK7GELG7.js.map → chunk-BJUFLV25.js.map} +0 -0
  85. /package/dist/{chunk-SWM3UQVB.js.map → chunk-CGGKU72Q.js.map} +0 -0
  86. /package/dist/{chunk-OPIP264O.js.map → chunk-CL6PLSGC.js.map} +0 -0
  87. /package/dist/{chunk-PWVXFZC6.js.map → chunk-CS2Z4U44.js.map} +0 -0
  88. /package/dist/{chunk-IX4T2OZK.js.map → chunk-DJKUORAD.js.map} +0 -0
  89. /package/dist/{chunk-4EDCJTGY.js.map → chunk-EZ5T4NKW.js.map} +0 -0
  90. /package/dist/{chunk-Z6O7SWLZ.js.map → chunk-FPSMQBJD.js.map} +0 -0
  91. /package/dist/{chunk-UC2QFHD3.js.map → chunk-FRZSCLHF.js.map} +0 -0
  92. /package/dist/{chunk-UAGNX4MV.js.map → chunk-GC3UWE32.js.map} +0 -0
  93. /package/dist/{chunk-JCKH5Q3G.js.map → chunk-HDANGHKN.js.map} +0 -0
  94. /package/dist/{chunk-JPEDMS2W.js.map → chunk-ILDOTFTF.js.map} +0 -0
  95. /package/dist/{chunk-ILXLX2QB.js.map → chunk-KT5ZLKZ3.js.map} +0 -0
  96. /package/dist/{chunk-ZYKJCJGF.js.map → chunk-MONAUBHI.js.map} +0 -0
  97. /package/dist/{chunk-AW7OAZP5.js.map → chunk-MRBD2WNF.js.map} +0 -0
  98. /package/dist/{chunk-WG3R5JFJ.js.map → chunk-NANNGTSF.js.map} +0 -0
  99. /package/dist/{chunk-CEPCDDL6.js.map → chunk-NJW2PXCF.js.map} +0 -0
  100. /package/dist/{chunk-53SE2SML.js.map → chunk-NM5MOHXO.js.map} +0 -0
  101. /package/dist/{chunk-XMI6V44P.js.map → chunk-PNVKGNAB.js.map} +0 -0
  102. /package/dist/{chunk-JYCRKUFW.js.map → chunk-QMDAAVBN.js.map} +0 -0
  103. /package/dist/{chunk-45LK6KOK.js.map → chunk-REFGTW22.js.map} +0 -0
  104. /package/dist/{chunk-3U5CO6JR.js.map → chunk-TQAZKT7M.js.map} +0 -0
  105. /package/dist/{chunk-RJJWQFTK.js.map → chunk-UQNPJK6J.js.map} +0 -0
  106. /package/dist/{chunk-3YC4DKBY.js.map → chunk-VYGYBX3C.js.map} +0 -0
  107. /package/dist/{chunk-EIKL76VP.js.map → chunk-WT6HQEWS.js.map} +0 -0
  108. /package/dist/{chunk-FHOAHIYC.js.map → chunk-YBX6XYRL.js.map} +0 -0
  109. /package/dist/{chunk-NSTKD4T6.js.map → chunk-ZA77RUTM.js.map} +0 -0
  110. /package/dist/{cli-circuit-breaker-LLCVUTDD.js.map → cli-circuit-breaker-PTXRXBG6.js.map} +0 -0
  111. /package/dist/{composite-router-H4SCUKNA.js.map → composite-router-4HQZMR2Z.js.map} +0 -0
  112. /package/dist/{consensus-vote-WRQVPISJ.js.map → consensus-vote-36ELETID.js.map} +0 -0
  113. /package/dist/{context-retriever-P4ALBDH6.js.map → context-retriever-OA2CWQ75.js.map} +0 -0
  114. /package/dist/{doctor-deep-BNHOYTGK.js.map → doctor-deep-K5KXYVQ7.js.map} +0 -0
  115. /package/dist/{doctor-gateway-report-EJHJKEE7.js.map → doctor-gateway-report-O7YPYHE7.js.map} +0 -0
  116. /package/dist/{doctor-live-WABLQ7IF.js.map → doctor-live-MRRVM7HO.js.map} +0 -0
  117. /package/dist/{expert-bridge-UBJJ7VA6.js.map → expert-bridge-PMQSUIQW.js.map} +0 -0
  118. /package/dist/{factory-2P7VOA4W.js.map → factory-776CIKXP.js.map} +0 -0
  119. /package/dist/{factory-AZOYPTG3.js.map → factory-ZKLNQNR3.js.map} +0 -0
  120. /package/dist/{improvement-review-VUCSKH24.js.map → improvement-review-V6YSSFDO.js.map} +0 -0
  121. /package/dist/{init-opencode-UVQVMCHG.js.map → init-opencode-LPWAYYR4.js.map} +0 -0
  122. /package/dist/{issue-triage-HBM6RK3H.js.map → issue-triage-B3BRDZT6.js.map} +0 -0
  123. /package/dist/{openai-compat-adapter-DOOGDW43.js.map → openai-compat-adapter-U54LJ7TJ.js.map} +0 -0
  124. /package/dist/{outcome-store-adapter-UJPQYAUW.js.map → outcome-store-adapter-3EWXP7PY.js.map} +0 -0
  125. /package/dist/{pr-reviewer-helpers-2YO45CBX.js.map → pr-reviewer-helpers-57TM7TCL.js.map} +0 -0
  126. /package/dist/{registry-command-VGINIZAE.js.map → registry-command-4FIKBK5L.js.map} +0 -0
  127. /package/dist/{repo-security-plan-EVDIUHDI.js.map → repo-security-plan-VGSGRZFE.js.map} +0 -0
  128. /package/dist/{research-helpers-synthesize-BMVACM2N.js.map → research-helpers-synthesize-APUBTQMC.js.map} +0 -0
  129. /package/dist/{routing-memory-E5WQ2YDY.js.map → routing-memory-EAI3JQ4W.js.map} +0 -0
  130. /package/dist/{session-memory-RRFETFXN.js.map → session-memory-HTPPZPBQ.js.map} +0 -0
  131. /package/dist/{setup-config-46VZEAJM.js.map → setup-config-4IL6HB2E.js.map} +0 -0
  132. /package/dist/{setup-custom-api-YMDQK6YW.js.map → setup-custom-api-VCQ6SC2E.js.map} +0 -0
  133. /package/dist/{setup-data-dir-MDGUHYYP.js.map → setup-data-dir-S4Q3RKX2.js.map} +0 -0
  134. /package/dist/{tool-memory-HXZQYP4L.js.map → tool-memory-ZEUMMKUC.js.map} +0 -0
  135. /package/dist/{unified-registry-SAUDS2DQ.js.map → unified-registry-ATH2UJ2Y.js.map} +0 -0
  136. /package/dist/{weather-report-C2M3EEXG.js.map → weather-report-VK5UMXSF.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-JCKH5Q3G.js";
13
- import "./chunk-QWSLDY4R.js";
12
+ } from "./chunk-HDANGHKN.js";
13
+ import "./chunk-U5SGPCPU.js";
14
14
  import "./chunk-XBEKMUTO.js";
15
15
  import "./chunk-UE7A2XHM.js";
16
16
  import "./chunk-LWOX65CP.js";
@@ -27,4 +27,4 @@ export {
27
27
  loadRules,
28
28
  runAstQaRules
29
29
  };
30
- //# sourceMappingURL=ast-rule-runner-SMEE7RYS.js.map
30
+ //# sourceMappingURL=ast-rule-runner-DCAXFGPG.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-JPFRRNRR.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-QWSLDY4R.js";
6
+ } from "./chunk-U5SGPCPU.js";
7
7
  import "./chunk-XBEKMUTO.js";
8
8
  import "./chunk-UE7A2XHM.js";
9
9
  import "./chunk-LWOX65CP.js";
@@ -74,4 +74,4 @@ async function generateMcpConfig(options) {
74
74
  export {
75
75
  generateMcpConfig
76
76
  };
77
- //# sourceMappingURL=child-mcp-config-EGYYY7H5.js.map
77
+ //# sourceMappingURL=child-mcp-config-46PI4CDD.js.map
@@ -5,14 +5,14 @@ import {
5
5
  getCurrentRequestContext,
6
6
  runWithRequestContext,
7
7
  serverCallerInfo
8
- } from "./chunk-XMI6V44P.js";
8
+ } from "./chunk-PNVKGNAB.js";
9
9
  import {
10
10
  DEFAULT_EXECUTION_MODE
11
11
  } from "./chunk-ECJ52NSK.js";
12
12
  import {
13
13
  sanitizeErrorDetails,
14
14
  sanitizeStringLeaves
15
- } from "./chunk-NSTKD4T6.js";
15
+ } from "./chunk-ZA77RUTM.js";
16
16
  import {
17
17
  CACHE_TIMEOUTS,
18
18
  MCP_TIMEOUTS,
@@ -30,7 +30,7 @@ import {
30
30
  ok,
31
31
  resolveInsideRoot,
32
32
  resolveToolClassGuardMs
33
- } from "./chunk-QWSLDY4R.js";
33
+ } from "./chunk-U5SGPCPU.js";
34
34
  import {
35
35
  getNexusDataDir,
36
36
  parseBoolValue
@@ -2353,4 +2353,4 @@ export {
2353
2353
  DEFAULT_CONSENSUS_CONFIG,
2354
2354
  ConsensusMetricsSchema
2355
2355
  };
2356
- //# sourceMappingURL=chunk-XUPZ5LUK.js.map
2356
+ //# sourceMappingURL=chunk-3446TBB7.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-ILXLX2QB.js";
3
+ } from "./chunk-KT5ZLKZ3.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-QWSLDY4R.js";
6
+ } from "./chunk-U5SGPCPU.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-GAZRHKPI.js.map
879
+ //# sourceMappingURL=chunk-3KQJUD4J.js.map
@@ -12,7 +12,7 @@ import {
12
12
  isRateLimitText,
13
13
  observedArmDisplaySlot,
14
14
  ok
15
- } from "./chunk-QWSLDY4R.js";
15
+ } from "./chunk-U5SGPCPU.js";
16
16
 
17
17
  // src/cli-adapters/circuit-breaker-types.ts
18
18
  var CircuitErrorCode = {
@@ -614,4 +614,4 @@ export {
614
614
  CliCircuitBreakerIntegration,
615
615
  createCliCircuitBreakerIntegration
616
616
  };
617
- //# sourceMappingURL=chunk-24J3GS2G.js.map
617
+ //# sourceMappingURL=chunk-4MUBZFRJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  assessReputation,
6
6
  sanitizeInput
7
- } from "./chunk-RJJWQFTK.js";
7
+ } from "./chunk-UQNPJK6J.js";
8
8
  import {
9
9
  allOf
10
10
  } from "./chunk-EZNIYU5T.js";
@@ -13,7 +13,7 @@ import {
13
13
  err,
14
14
  getTimeProvider,
15
15
  ok
16
- } from "./chunk-QWSLDY4R.js";
16
+ } from "./chunk-U5SGPCPU.js";
17
17
 
18
18
  // src/dogfooding/pr-reviewer-helpers.ts
19
19
  import { randomUUID } from "node:crypto";
@@ -477,4 +477,4 @@ export {
477
477
  createFailedReview,
478
478
  reviewPostingBlock
479
479
  };
480
- //# sourceMappingURL=chunk-RT2RZ2N3.js.map
480
+ //# sourceMappingURL=chunk-5FML33AZ.js.map
@@ -8,16 +8,16 @@ import {
8
8
  requireApiKey,
9
9
  validateApiKeyPresence,
10
10
  withGatewayUsageRecording
11
- } from "./chunk-FHOAHIYC.js";
11
+ } from "./chunk-YBX6XYRL.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic,
14
14
  hostnameOf,
15
15
  redactGatewaySecrets
16
- } from "./chunk-JPEDMS2W.js";
16
+ } from "./chunk-ILDOTFTF.js";
17
17
  import {
18
18
  REDACTED_KEY_PLACEHOLDER,
19
19
  sanitizeErrorDetails
20
- } from "./chunk-NSTKD4T6.js";
20
+ } from "./chunk-ZA77RUTM.js";
21
21
  import {
22
22
  CUSTOM_API_ALLOW_PRIVATE_ENV,
23
23
  ConfigError,
@@ -39,7 +39,7 @@ import {
39
39
  ok,
40
40
  readModelAllowlist,
41
41
  refineGatewayCatalog
42
- } from "./chunk-QWSLDY4R.js";
42
+ } from "./chunk-U5SGPCPU.js";
43
43
 
44
44
  // src/adapters/openai-compat-adapter.ts
45
45
  import OpenAI2 from "openai";
@@ -992,4 +992,4 @@ export {
992
992
  createOpenAICompatAdapter,
993
993
  buildOpenAICompatAdapters
994
994
  };
995
- //# sourceMappingURL=chunk-4I3GJWP7.js.map
995
+ //# sourceMappingURL=chunk-733FNXLT.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  IN_FAMILY_FALLBACK_OPTION
3
- } from "./chunk-Z6O7SWLZ.js";
3
+ } from "./chunk-FPSMQBJD.js";
4
4
  import {
5
5
  sanitizeErrorDetails
6
- } from "./chunk-NSTKD4T6.js";
6
+ } from "./chunk-ZA77RUTM.js";
7
7
  import {
8
8
  classifyExtractedError,
9
9
  getTimeProvider,
10
10
  isTimeoutText,
11
11
  resolveClassGuardMs
12
- } from "./chunk-QWSLDY4R.js";
12
+ } from "./chunk-U5SGPCPU.js";
13
13
 
14
14
  // src/cli/cli-readiness.ts
15
15
  var READINESS_LEVELS = ["installed", "authenticated", "serves"];
@@ -146,4 +146,4 @@ export {
146
146
  SERVES_PROBE_PROMPT,
147
147
  probeServes
148
148
  };
149
- //# sourceMappingURL=chunk-2H6SOV56.js.map
149
+ //# sourceMappingURL=chunk-ABRG2C4Q.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-CEPCDDL6.js";
4
+ } from "./chunk-NJW2PXCF.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-EIKL76VP.js";
7
+ } from "./chunk-WT6HQEWS.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-QWSLDY4R.js";
11
+ } from "./chunk-U5SGPCPU.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-TK7GELG7.js.map
44
+ //# sourceMappingURL=chunk-BJUFLV25.js.map
@@ -8,7 +8,7 @@ import {
8
8
  MCP_TIMEOUTS,
9
9
  TEST_TIMEOUTS,
10
10
  WORKFLOW_TIMEOUTS
11
- } from "./chunk-QWSLDY4R.js";
11
+ } from "./chunk-U5SGPCPU.js";
12
12
  import {
13
13
  createGetToolRateLimit
14
14
  } from "./chunk-LWOX65CP.js";
@@ -223,4 +223,4 @@ export {
223
223
  CUSTOM_API_DEFAULT_MODEL,
224
224
  DEFAULTS
225
225
  };
226
- //# sourceMappingURL=chunk-SWM3UQVB.js.map
226
+ //# sourceMappingURL=chunk-CGGKU72Q.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toSdkCallback,
8
8
  toolStructuredError,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-XUPZ5LUK.js";
10
+ } from "./chunk-3446TBB7.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -21,7 +21,7 @@ import {
21
21
  hasMeasuredCategory,
22
22
  isDeclaredNeverDeprecate,
23
23
  isRegisteredToolName
24
- } from "./chunk-QWSLDY4R.js";
24
+ } from "./chunk-U5SGPCPU.js";
25
25
  import {
26
26
  getNexusDataDir,
27
27
  nexusDataPath
@@ -2431,4 +2431,4 @@ export {
2431
2431
  runImprovementReview,
2432
2432
  registerImprovementReviewTool
2433
2433
  };
2434
- //# sourceMappingURL=chunk-OPIP264O.js.map
2434
+ //# sourceMappingURL=chunk-CL6PLSGC.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZO6ZKR7L.js";
4
4
  import {
5
5
  SessionMemory
6
- } from "./chunk-4EDCJTGY.js";
6
+ } from "./chunk-EZ5T4NKW.js";
7
7
  import {
8
8
  TRUST_TIER_NUMERIC,
9
9
  TrustTierSchema
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ROYGBFVE.js";
18
18
  import {
19
19
  generateId
20
- } from "./chunk-UAGNX4MV.js";
20
+ } from "./chunk-GC3UWE32.js";
21
21
  import {
22
22
  ErrorCode,
23
23
  NexusError,
@@ -34,7 +34,7 @@ import {
34
34
  stringifyValue,
35
35
  tokenize,
36
36
  tokenizeFiltered
37
- } from "./chunk-QWSLDY4R.js";
37
+ } from "./chunk-U5SGPCPU.js";
38
38
  import {
39
39
  nexusDataPath
40
40
  } from "./chunk-LWOX65CP.js";
@@ -5841,4 +5841,4 @@ export {
5841
5841
  shutdownToolMemory,
5842
5842
  ToolMemoryManager
5843
5843
  };
5844
- //# sourceMappingURL=chunk-PWVXFZC6.js.map
5844
+ //# sourceMappingURL=chunk-CS2Z4U44.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-WG3R5JFJ.js";
9
+ } from "./chunk-NANNGTSF.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-OPIP264O.js";
12
+ } from "./chunk-CL6PLSGC.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-3U5CO6JR.js";
15
+ } from "./chunk-TQAZKT7M.js";
16
16
  import {
17
17
  analyzeGitHubRepo
18
18
  } from "./chunk-4GDMHCKX.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-WDAND5YU.js";
32
32
  import {
33
33
  sanitizeInput
34
- } from "./chunk-RJJWQFTK.js";
34
+ } from "./chunk-UQNPJK6J.js";
35
35
  import {
36
36
  BUILT_IN_EXPERTS,
37
37
  BuiltInExpertTypeSchema,
@@ -41,10 +41,10 @@ import {
41
41
  import {
42
42
  DEFAULT_TASK_TTL_MS,
43
43
  clampTaskTtl
44
- } from "./chunk-45LK6KOK.js";
44
+ } from "./chunk-REFGTW22.js";
45
45
  import {
46
46
  executeExpert
47
- } from "./chunk-UC2QFHD3.js";
47
+ } from "./chunk-FRZSCLHF.js";
48
48
  import {
49
49
  DEPRECATED_MODE_ALIAS_INPUT,
50
50
  JobStatusSchema,
@@ -96,7 +96,7 @@ import {
96
96
  withFileLock,
97
97
  withWarnings,
98
98
  writeJobCancelled
99
- } from "./chunk-ZYKJCJGF.js";
99
+ } from "./chunk-MONAUBHI.js";
100
100
  import {
101
101
  NOOP_NOTIFIER,
102
102
  RateLimiter,
@@ -123,12 +123,12 @@ import {
123
123
  toolSuccess,
124
124
  withProgressHeartbeat,
125
125
  wrapToolWithTimeout
126
- } from "./chunk-XUPZ5LUK.js";
126
+ } from "./chunk-3446TBB7.js";
127
127
  import {
128
128
  VERSION,
129
129
  createRequestContext,
130
130
  measuredTrustTier
131
- } from "./chunk-XMI6V44P.js";
131
+ } from "./chunk-PNVKGNAB.js";
132
132
  import {
133
133
  allOf,
134
134
  anyOf
@@ -136,16 +136,16 @@ import {
136
136
  import {
137
137
  normalizeTopicToCanonical,
138
138
  synthesizeResearch
139
- } from "./chunk-GAZRHKPI.js";
139
+ } from "./chunk-3KQJUD4J.js";
140
140
  import {
141
141
  isGatewayModelAdapter
142
- } from "./chunk-4I3GJWP7.js";
142
+ } from "./chunk-733FNXLT.js";
143
143
  import {
144
144
  EventTopics,
145
145
  createEvent,
146
146
  getGlobalEventBus,
147
147
  getGlobalRegistry
148
- } from "./chunk-53SE2SML.js";
148
+ } from "./chunk-NM5MOHXO.js";
149
149
  import {
150
150
  IDENTIFIER_RE,
151
151
  LANG_VALUES,
@@ -178,18 +178,18 @@ import {
178
178
  parseRegistry,
179
179
  sourceExistsInRegistry,
180
180
  summarizeContextForPrompt
181
- } from "./chunk-4566OBYW.js";
181
+ } from "./chunk-TGJ4MLBI.js";
182
182
  import {
183
183
  getTokenEnvVars,
184
184
  resolveToken
185
- } from "./chunk-EIKL76VP.js";
185
+ } from "./chunk-WT6HQEWS.js";
186
186
  import {
187
187
  REGISTRY_PATH,
188
188
  getProjectRoot,
189
189
  loadPapersRegistry,
190
190
  loadTechniquesRegistry,
191
191
  resolveRegistryRoot
192
- } from "./chunk-ILXLX2QB.js";
192
+ } from "./chunk-KT5ZLKZ3.js";
193
193
  import {
194
194
  DEFAULT_RELEVANCE_CONFIG,
195
195
  MemoryImportance,
@@ -197,7 +197,7 @@ import {
197
197
  calculateTextJaccardSimilarity,
198
198
  getToolMemory,
199
199
  memoryTrustTierTag
200
- } from "./chunk-PWVXFZC6.js";
200
+ } from "./chunk-CS2Z4U44.js";
201
201
  import {
202
202
  EXTERNAL_CONTENT_TRUST_TIER,
203
203
  resolveContentTrustProvenance,
@@ -206,7 +206,7 @@ import {
206
206
  } from "./chunk-ZO6ZKR7L.js";
207
207
  import {
208
208
  createSessionMemory
209
- } from "./chunk-4EDCJTGY.js";
209
+ } from "./chunk-EZ5T4NKW.js";
210
210
  import {
211
211
  TrustTierSchema
212
212
  } from "./chunk-CJKHQ6MV.js";
@@ -226,10 +226,10 @@ import {
226
226
  terminateProcessTree,
227
227
  trackProcessTree,
228
228
  withTimeout
229
- } from "./chunk-Z6O7SWLZ.js";
229
+ } from "./chunk-FPSMQBJD.js";
230
230
  import {
231
231
  DEFAULTS
232
- } from "./chunk-SWM3UQVB.js";
232
+ } from "./chunk-CGGKU72Q.js";
233
233
  import {
234
234
  DEFAULT_EXECUTION_MODE,
235
235
  DEFAULT_TOOL_RATE_LIMITS,
@@ -243,27 +243,27 @@ import {
243
243
  getAvailabilityCache,
244
244
  getCliForModelId,
245
245
  resolveFallback
246
- } from "./chunk-IX4T2OZK.js";
246
+ } from "./chunk-DJKUORAD.js";
247
247
  import {
248
248
  BaseAdapter,
249
249
  createStream,
250
250
  parseGatewayExtraHeaders,
251
251
  requireApiKey,
252
252
  validateApiKeyPresence
253
- } from "./chunk-FHOAHIYC.js";
253
+ } from "./chunk-YBX6XYRL.js";
254
254
  import {
255
255
  resolveGatewayEnv
256
- } from "./chunk-JPEDMS2W.js";
256
+ } from "./chunk-ILDOTFTF.js";
257
257
  import {
258
258
  sanitizeErrorDetails
259
- } from "./chunk-NSTKD4T6.js";
259
+ } from "./chunk-ZA77RUTM.js";
260
260
  import {
261
261
  generateHyphenId,
262
262
  generateUUID
263
- } from "./chunk-UAGNX4MV.js";
263
+ } from "./chunk-GC3UWE32.js";
264
264
  import {
265
265
  getDefaultCliCircuitBreakerRegistry
266
- } from "./chunk-24J3GS2G.js";
266
+ } from "./chunk-4MUBZFRJ.js";
267
267
  import {
268
268
  AGENT_ROUTER_TIMEOUTS,
269
269
  API_TIMEOUTS,
@@ -409,7 +409,7 @@ import {
409
409
  toExpertTaskAnalysisResult,
410
410
  truncateWithInfo,
411
411
  withStep
412
- } from "./chunk-QWSLDY4R.js";
412
+ } from "./chunk-U5SGPCPU.js";
413
413
  import {
414
414
  SUPPORTED_EXTENSIONS
415
415
  } from "./chunk-XBEKMUTO.js";
@@ -29522,6 +29522,19 @@ function resolveEnforcedRunBudget(req) {
29522
29522
 
29523
29523
  // src/mcp/tools/run-workflow-helpers.ts
29524
29524
  import { resolve as resolve5 } from "node:path";
29525
+ function disableUnavailableWorkflow(tool, deps) {
29526
+ try {
29527
+ deps.resolveExecutionEngine?.();
29528
+ } catch (error) {
29529
+ if (!(error instanceof WorkflowExecutionUnavailableError)) throw error;
29530
+ tool.disable();
29531
+ const logger59 = deps.logger ?? createLogger({ tool: "run_workflow" });
29532
+ logger59.warn(
29533
+ "run_workflow disabled: workflow execution unavailable. Configure a model adapter (API key or gateway) and restart the MCP server.",
29534
+ { reason: error.message }
29535
+ );
29536
+ }
29537
+ }
29525
29538
  function isFilePath(template) {
29526
29539
  return template.includes("/") || template.includes("\\") || template.endsWith(".yaml") || template.endsWith(".yml");
29527
29540
  }
@@ -30008,8 +30021,7 @@ function createRunWorkflowHandler(deps) {
30008
30021
  }
30009
30022
  function registerRunWorkflowTool(server, deps) {
30010
30023
  const logger59 = deps.logger ?? createLogger({ tool: "run_workflow" });
30011
- const notifier = deps.notifier ?? createMcpNotifier(server);
30012
- const depsWithNotifier = { ...deps, notifier };
30024
+ const depsWithNotifier = { ...deps, notifier: deps.notifier ?? createMcpNotifier(server) };
30013
30025
  const secureHandler = createSecureHandler(createRunWorkflowHandler(depsWithNotifier), {
30014
30026
  toolName: "run_workflow",
30015
30027
  rateLimiter: deps.rateLimiter,
@@ -30017,7 +30029,7 @@ function registerRunWorkflowTool(server, deps) {
30017
30029
  });
30018
30030
  const timeoutMs = getToolTimeout("run_workflow", deps.security);
30019
30031
  const wrappedHandler = wrapToolWithTimeout("run_workflow", secureHandler, { timeoutMs, logger: logger59 });
30020
- server.registerTool(
30032
+ const tool = server.registerTool(
30021
30033
  "run_workflow",
30022
30034
  {
30023
30035
  description: "Run a LINEAR (single-path) workflow template by name with typed inputs. For DAG-shaped workflows with branching, checkpoints, or rollback, use `run_graph_workflow` instead. Supports dispatch: 'async' (non-dryRun runs; `mode` is a deprecated alias) \u2014 returns a jobId immediately; poll get_job_result. With NEXUS_BUDGET_ENFORCE on AND `maxTokens` set, total token spend is capped (no estimated default; otherwise `budget.status` is `not_enforced`): checked before each phase and before each step is dispatched; steps already running when the ceiling is crossed are not halted, so spend can overshoot by what those in-flight steps consume. `budget.status` is `unmeasured` when any step reported no usage.",
@@ -30026,6 +30038,7 @@ function registerRunWorkflowTool(server, deps) {
30026
30038
  },
30027
30039
  toSdkCallbackWithTimeoutCheck(wrappedHandler, "run_workflow", timeoutMs, logger59)
30028
30040
  );
30041
+ disableUnavailableWorkflow(tool, deps);
30029
30042
  logger59.info("Registered run_workflow tool with secure handler and timeout protection");
30030
30043
  }
30031
30044
 
@@ -30442,7 +30455,7 @@ function execIdFields(executionId) {
30442
30455
  async function populateUnifiedContextOnState(state, options) {
30443
30456
  const taskCandidate = state["task"];
30444
30457
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30445
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-P4ALBDH6.js");
30458
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-OA2CWQ75.js");
30446
30459
  const category = inferTaskCategory2(taskCandidate);
30447
30460
  const executionId = options?.executionId;
30448
30461
  const execFields = execIdFields(executionId);
@@ -46922,7 +46935,7 @@ async function tryIssueTriage(task) {
46922
46935
  try {
46923
46936
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46924
46937
  if (issueMatch === null) return null;
46925
- const { createIssueTriage } = await import("./issue-triage-HBM6RK3H.js");
46938
+ const { createIssueTriage } = await import("./issue-triage-B3BRDZT6.js");
46926
46939
  const triage = createIssueTriage();
46927
46940
  const owner = issueMatch[1] ?? "";
46928
46941
  const num2 = issueMatch[2] ?? "";
@@ -46950,7 +46963,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46950
46963
  ]);
46951
46964
  async function classifyWithLLM(task) {
46952
46965
  try {
46953
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-UBJJ7VA6.js");
46966
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-PMQSUIQW.js");
46954
46967
  const prompt = [
46955
46968
  "Classify this task into exactly one pipeline template.",
46956
46969
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47324,7 +47337,7 @@ function buildVotingInput(plan, config) {
47324
47337
  }
47325
47338
  async function executeSingleVote(plan, config, log) {
47326
47339
  try {
47327
- const { executeVoting } = await import("./consensus-vote-WRQVPISJ.js");
47340
+ const { executeVoting } = await import("./consensus-vote-36ELETID.js");
47328
47341
  const input = buildVotingInput(plan, config);
47329
47342
  const result = await executeVoting(input, log);
47330
47343
  return parseVotingResult(result);
@@ -48872,7 +48885,7 @@ var memoryInitPromise = null;
48872
48885
  async function initPipelineMemory() {
48873
48886
  if (cachedMemory !== null) return cachedMemory;
48874
48887
  try {
48875
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-RRFETFXN.js");
48888
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HTPPZPBQ.js");
48876
48889
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
48877
48890
  const mem = createSessionMemory2(getLearningDir());
48878
48891
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -48934,7 +48947,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
48934
48947
  callRecord(routingMemoryCache);
48935
48948
  return;
48936
48949
  }
48937
- routingMemoryInitPromise ??= import("./routing-memory-E5WQ2YDY.js").then(({ createRoutingMemory }) => {
48950
+ routingMemoryInitPromise ??= import("./routing-memory-EAI3JQ4W.js").then(({ createRoutingMemory }) => {
48938
48951
  routingMemoryCache ??= createRoutingMemory();
48939
48952
  return routingMemoryCache;
48940
48953
  }).catch((error) => {
@@ -49153,7 +49166,7 @@ function createVoteStage({ config, startStage }) {
49153
49166
  const strategy = config.votingStrategy ?? "higher_order";
49154
49167
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
49155
49168
  try {
49156
- const { executeVoting } = await import("./consensus-vote-WRQVPISJ.js");
49169
+ const { executeVoting } = await import("./consensus-vote-36ELETID.js");
49157
49170
  const proposal = buildVoteProposal(plan, research);
49158
49171
  const votingResult = await executeVoting(
49159
49172
  {
@@ -49960,7 +49973,7 @@ ${text}` : "";
49960
49973
  }
49961
49974
  async function getWeatherContext() {
49962
49975
  try {
49963
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-C2M3EEXG.js");
49976
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VK5UMXSF.js");
49964
49977
  const report = generateWeatherReport2({ includeAdaptive: true });
49965
49978
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
49966
49979
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -49978,7 +49991,7 @@ ${lines}
49978
49991
  }
49979
49992
  async function getMemoryContext(task) {
49980
49993
  try {
49981
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-RRFETFXN.js");
49994
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HTPPZPBQ.js");
49982
49995
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
49983
49996
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
49984
49997
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -50695,7 +50708,7 @@ async function searchCodebaseForTask(task) {
50695
50708
  }
50696
50709
  async function queryResearchRegistry(task) {
50697
50710
  try {
50698
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-BMVACM2N.js");
50711
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-APUBTQMC.js");
50699
50712
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
50700
50713
  if (topic === void 0) return null;
50701
50714
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -50766,7 +50779,7 @@ function createScanStageWrapper() {
50766
50779
  try {
50767
50780
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
50768
50781
  if (slug !== void 0) {
50769
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-EVDIUHDI.js");
50782
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VGSGRZFE.js");
50770
50783
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
50771
50784
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
50772
50785
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -54553,7 +54566,7 @@ var GitHubTaskTracker = class {
54553
54566
  cachedProvider = null;
54554
54567
  async getProvider() {
54555
54568
  if (this.cachedProvider !== null) return this.cachedProvider;
54556
- const { createScmProvider } = await import("./factory-AZOYPTG3.js");
54569
+ const { createScmProvider } = await import("./factory-776CIKXP.js");
54557
54570
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
54558
54571
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
54559
54572
  this.cachedProvider = result.value;
@@ -55606,7 +55619,7 @@ function withCatalogueCaveat(report) {
55606
55619
  var GATEWAY_TRANSPORT = "gateway";
55607
55620
  var GATEWAY_API_ARM = "api:custom-openai";
55608
55621
  async function gatewaySource(apiArm) {
55609
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-DOOGDW43.js");
55622
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-U54LJ7TJ.js");
55610
55623
  const config = readOpenAICompatEnv();
55611
55624
  if (config !== null) {
55612
55625
  return {
@@ -55625,7 +55638,7 @@ async function gatewaySource(apiArm) {
55625
55638
  }
55626
55639
  async function defaultSources(includeOpenRouter, adaptersFactory) {
55627
55640
  const adapters = new Map(
55628
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-2P7VOA4W.js")).createAllAdapters()
55641
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-ZKLNQNR3.js")).createAllAdapters()
55629
55642
  );
55630
55643
  const apiArm = adapters.get(GATEWAY_API_ARM);
55631
55644
  adapters.delete(GATEWAY_API_ARM);
@@ -59006,4 +59019,4 @@ export {
59006
59019
  initializeSandbox,
59007
59020
  getSandboxMode
59008
59021
  };
59009
- //# sourceMappingURL=chunk-VIBLSP2T.js.map
59022
+ //# sourceMappingURL=chunk-DFRCMAGB.js.map