nexus-agents 2.114.0 → 2.114.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/{child-mcp-config-BTYHNG2N.js → child-mcp-config-DL5SVS6K.js} +2 -2
  2. package/dist/{chunk-E4HZTSBP.js → chunk-25QNW65Q.js} +2 -2
  3. package/dist/{chunk-AREFHG4Q.js → chunk-3ZYCKCVG.js} +7 -7
  4. package/dist/{chunk-36G75SD2.js → chunk-4I64HTH4.js} +32 -32
  5. package/dist/{chunk-OTRXF5NM.js → chunk-5KYKXB7Q.js} +3 -3
  6. package/dist/{chunk-VNU7OT7O.js → chunk-7LS7HZU3.js} +2 -2
  7. package/dist/{chunk-MYN7CMD5.js → chunk-AH645A5N.js} +2 -2
  8. package/dist/{chunk-BXEOO2KK.js → chunk-BUHPYOT3.js} +2 -2
  9. package/dist/{chunk-ZXF2XA4R.js → chunk-DHU2YECH.js} +2 -2
  10. package/dist/{chunk-E2ER3LQF.js → chunk-FO4A6HA3.js} +2 -2
  11. package/dist/{chunk-Q6HUW6EI.js → chunk-G633EA23.js} +2 -2
  12. package/dist/{chunk-4K4OVG4O.js → chunk-GMXRM2JU.js} +2 -2
  13. package/dist/{chunk-XMNGHZBR.js → chunk-H4EXCQCF.js} +7 -7
  14. package/dist/{chunk-YJSXYHSK.js → chunk-HEDW5QDP.js} +2 -2
  15. package/dist/{chunk-N7NCTB3O.js → chunk-HN6X3WJB.js} +3 -3
  16. package/dist/{chunk-YKNLQLFM.js → chunk-INKN7FOJ.js} +4 -4
  17. package/dist/{chunk-MD6TVSOI.js → chunk-JZDBMHWP.js} +3 -3
  18. package/dist/{chunk-5RDUP5K7.js → chunk-KISVLXVZ.js} +2 -2
  19. package/dist/{chunk-7AO4FKAD.js → chunk-KPDRVYSN.js} +2 -2
  20. package/dist/{chunk-7BZKZUVR.js → chunk-MLWVB6VV.js} +4 -4
  21. package/dist/{chunk-F6NOHVYQ.js → chunk-NTKWLXXD.js} +3 -3
  22. package/dist/{chunk-FSZNZZO5.js → chunk-T74HOH67.js} +7 -7
  23. package/dist/{chunk-IBRRXLMJ.js → chunk-USSYZDRI.js} +7 -7
  24. package/dist/{chunk-B32GCV25.js → chunk-VJ7WL5MS.js} +5 -5
  25. package/dist/{chunk-ATI7W2FT.js → chunk-VOXQULHX.js} +15 -9
  26. package/dist/{chunk-ATI7W2FT.js.map → chunk-VOXQULHX.js.map} +1 -1
  27. package/dist/{chunk-YQW7MHST.js → chunk-WFPEX6L6.js} +2 -2
  28. package/dist/{chunk-WJSQ5FRV.js → chunk-WYBVAOMA.js} +2 -2
  29. package/dist/{chunk-KTPMJSLZ.js → chunk-XFJHSR5E.js} +3 -3
  30. package/dist/{chunk-CLL2GXNL.js → chunk-XKPTNVA2.js} +4 -4
  31. package/dist/{chunk-S7RTQRQ3.js → chunk-XOTVHEL3.js} +2 -2
  32. package/dist/{chunk-R2G4GZID.js → chunk-ZPUFJHR5.js} +3 -3
  33. package/dist/{chunk-3S4N6OCF.js → chunk-ZTMLKLVG.js} +2 -2
  34. package/dist/{cli-circuit-breaker-OR2Z2ZXU.js → cli-circuit-breaker-PWQTC7S4.js} +4 -4
  35. package/dist/cli.js +38 -38
  36. package/dist/{composite-router-QC4OLIQ5.js → composite-router-ZF3JDFCJ.js} +2 -2
  37. package/dist/{consensus-vote-JMIK4USL.js → consensus-vote-3J473M5O.js} +12 -12
  38. package/dist/{context-retriever-CFINY4KH.js → context-retriever-JSP6PVSJ.js} +8 -8
  39. package/dist/{doctor-deep-53KZ3IYQ.js → doctor-deep-PTHRYO64.js} +3 -3
  40. package/dist/{expert-bridge-WWAGNKZY.js → expert-bridge-UOSBT7K5.js} +4 -4
  41. package/dist/{factory-KIGMY2XP.js → factory-4KDOLJQU.js} +5 -5
  42. package/dist/factory-RLXFNRIA.js +21 -0
  43. package/dist/{improvement-review-A4HQ7KIQ.js → improvement-review-G6TDVPUG.js} +4 -4
  44. package/dist/index.js +27 -27
  45. package/dist/{init-opencode-IMP5HG2J.js → init-opencode-ZVS375BG.js} +5 -5
  46. package/dist/{issue-triage-VPL3N2AG.js → issue-triage-CD2G32WJ.js} +5 -5
  47. package/dist/{pr-reviewer-helpers-6FGXGRYA.js → pr-reviewer-helpers-ZCTY6XLA.js} +4 -4
  48. package/dist/{registry-command-IGVBSZX6.js → registry-command-IMVEZVGE.js} +2 -2
  49. package/dist/{repo-security-plan-PWFK3LCK.js → repo-security-plan-LCU5QYTR.js} +3 -3
  50. package/dist/{research-helpers-synthesize-IXWXFRKC.js → research-helpers-synthesize-RPDK624P.js} +4 -4
  51. package/dist/{routing-memory-RQUM4XHT.js → routing-memory-PH5I63ZL.js} +2 -2
  52. package/dist/{session-memory-7TDKNMRE.js → session-memory-HNH5MILB.js} +3 -3
  53. package/dist/{setup-command-MWZ5M3UB.js → setup-command-XWHUKY7K.js} +11 -11
  54. package/dist/{setup-config-ICI5OIGW.js → setup-config-K7DMKGHB.js} +3 -3
  55. package/dist/{setup-custom-api-IVJLG6WI.js → setup-custom-api-XAGOCQMH.js} +3 -3
  56. package/dist/{tool-memory-USBUCDTD.js → tool-memory-VMTMXSYX.js} +5 -5
  57. package/dist/{weather-report-ZLUBKEG3.js → weather-report-RYLRL76R.js} +2 -2
  58. package/package.json +1 -1
  59. package/dist/factory-3FKPAH26.js +0 -21
  60. /package/dist/{child-mcp-config-BTYHNG2N.js.map → child-mcp-config-DL5SVS6K.js.map} +0 -0
  61. /package/dist/{chunk-E4HZTSBP.js.map → chunk-25QNW65Q.js.map} +0 -0
  62. /package/dist/{chunk-AREFHG4Q.js.map → chunk-3ZYCKCVG.js.map} +0 -0
  63. /package/dist/{chunk-36G75SD2.js.map → chunk-4I64HTH4.js.map} +0 -0
  64. /package/dist/{chunk-OTRXF5NM.js.map → chunk-5KYKXB7Q.js.map} +0 -0
  65. /package/dist/{chunk-VNU7OT7O.js.map → chunk-7LS7HZU3.js.map} +0 -0
  66. /package/dist/{chunk-MYN7CMD5.js.map → chunk-AH645A5N.js.map} +0 -0
  67. /package/dist/{chunk-BXEOO2KK.js.map → chunk-BUHPYOT3.js.map} +0 -0
  68. /package/dist/{chunk-ZXF2XA4R.js.map → chunk-DHU2YECH.js.map} +0 -0
  69. /package/dist/{chunk-E2ER3LQF.js.map → chunk-FO4A6HA3.js.map} +0 -0
  70. /package/dist/{chunk-Q6HUW6EI.js.map → chunk-G633EA23.js.map} +0 -0
  71. /package/dist/{chunk-4K4OVG4O.js.map → chunk-GMXRM2JU.js.map} +0 -0
  72. /package/dist/{chunk-XMNGHZBR.js.map → chunk-H4EXCQCF.js.map} +0 -0
  73. /package/dist/{chunk-YJSXYHSK.js.map → chunk-HEDW5QDP.js.map} +0 -0
  74. /package/dist/{chunk-N7NCTB3O.js.map → chunk-HN6X3WJB.js.map} +0 -0
  75. /package/dist/{chunk-YKNLQLFM.js.map → chunk-INKN7FOJ.js.map} +0 -0
  76. /package/dist/{chunk-MD6TVSOI.js.map → chunk-JZDBMHWP.js.map} +0 -0
  77. /package/dist/{chunk-5RDUP5K7.js.map → chunk-KISVLXVZ.js.map} +0 -0
  78. /package/dist/{chunk-7AO4FKAD.js.map → chunk-KPDRVYSN.js.map} +0 -0
  79. /package/dist/{chunk-7BZKZUVR.js.map → chunk-MLWVB6VV.js.map} +0 -0
  80. /package/dist/{chunk-F6NOHVYQ.js.map → chunk-NTKWLXXD.js.map} +0 -0
  81. /package/dist/{chunk-FSZNZZO5.js.map → chunk-T74HOH67.js.map} +0 -0
  82. /package/dist/{chunk-IBRRXLMJ.js.map → chunk-USSYZDRI.js.map} +0 -0
  83. /package/dist/{chunk-B32GCV25.js.map → chunk-VJ7WL5MS.js.map} +0 -0
  84. /package/dist/{chunk-YQW7MHST.js.map → chunk-WFPEX6L6.js.map} +0 -0
  85. /package/dist/{chunk-WJSQ5FRV.js.map → chunk-WYBVAOMA.js.map} +0 -0
  86. /package/dist/{chunk-KTPMJSLZ.js.map → chunk-XFJHSR5E.js.map} +0 -0
  87. /package/dist/{chunk-CLL2GXNL.js.map → chunk-XKPTNVA2.js.map} +0 -0
  88. /package/dist/{chunk-S7RTQRQ3.js.map → chunk-XOTVHEL3.js.map} +0 -0
  89. /package/dist/{chunk-R2G4GZID.js.map → chunk-ZPUFJHR5.js.map} +0 -0
  90. /package/dist/{chunk-3S4N6OCF.js.map → chunk-ZTMLKLVG.js.map} +0 -0
  91. /package/dist/{cli-circuit-breaker-OR2Z2ZXU.js.map → cli-circuit-breaker-PWQTC7S4.js.map} +0 -0
  92. /package/dist/{composite-router-QC4OLIQ5.js.map → composite-router-ZF3JDFCJ.js.map} +0 -0
  93. /package/dist/{consensus-vote-JMIK4USL.js.map → consensus-vote-3J473M5O.js.map} +0 -0
  94. /package/dist/{context-retriever-CFINY4KH.js.map → context-retriever-JSP6PVSJ.js.map} +0 -0
  95. /package/dist/{doctor-deep-53KZ3IYQ.js.map → doctor-deep-PTHRYO64.js.map} +0 -0
  96. /package/dist/{expert-bridge-WWAGNKZY.js.map → expert-bridge-UOSBT7K5.js.map} +0 -0
  97. /package/dist/{factory-3FKPAH26.js.map → factory-4KDOLJQU.js.map} +0 -0
  98. /package/dist/{factory-KIGMY2XP.js.map → factory-RLXFNRIA.js.map} +0 -0
  99. /package/dist/{improvement-review-A4HQ7KIQ.js.map → improvement-review-G6TDVPUG.js.map} +0 -0
  100. /package/dist/{init-opencode-IMP5HG2J.js.map → init-opencode-ZVS375BG.js.map} +0 -0
  101. /package/dist/{issue-triage-VPL3N2AG.js.map → issue-triage-CD2G32WJ.js.map} +0 -0
  102. /package/dist/{pr-reviewer-helpers-6FGXGRYA.js.map → pr-reviewer-helpers-ZCTY6XLA.js.map} +0 -0
  103. /package/dist/{registry-command-IGVBSZX6.js.map → registry-command-IMVEZVGE.js.map} +0 -0
  104. /package/dist/{repo-security-plan-PWFK3LCK.js.map → repo-security-plan-LCU5QYTR.js.map} +0 -0
  105. /package/dist/{research-helpers-synthesize-IXWXFRKC.js.map → research-helpers-synthesize-RPDK624P.js.map} +0 -0
  106. /package/dist/{routing-memory-RQUM4XHT.js.map → routing-memory-PH5I63ZL.js.map} +0 -0
  107. /package/dist/{session-memory-7TDKNMRE.js.map → session-memory-HNH5MILB.js.map} +0 -0
  108. /package/dist/{setup-command-MWZ5M3UB.js.map → setup-command-XWHUKY7K.js.map} +0 -0
  109. /package/dist/{setup-config-ICI5OIGW.js.map → setup-config-K7DMKGHB.js.map} +0 -0
  110. /package/dist/{setup-custom-api-IVJLG6WI.js.map → setup-custom-api-XAGOCQMH.js.map} +0 -0
  111. /package/dist/{tool-memory-USBUCDTD.js.map → tool-memory-VMTMXSYX.js.map} +0 -0
  112. /package/dist/{weather-report-ZLUBKEG3.js.map → weather-report-RYLRL76R.js.map} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  createAllAdapters,
9
9
  probeCli
10
- } from "./chunk-XMNGHZBR.js";
10
+ } from "./chunk-H4EXCQCF.js";
11
11
  import {
12
12
  DEFAULTS
13
- } from "./chunk-7AO4FKAD.js";
13
+ } from "./chunk-KPDRVYSN.js";
14
14
  import {
15
15
  CliNameSchema,
16
16
  DEFAULT_CAPABILITIES,
@@ -26,7 +26,7 @@ import {
26
26
  ok,
27
27
  symbols,
28
28
  writeLine
29
- } from "./chunk-ZXF2XA4R.js";
29
+ } from "./chunk-DHU2YECH.js";
30
30
  import {
31
31
  detectSandbox,
32
32
  getLearningDir,
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.114.0" : "dev";
43
+ var VERSION = true ? "2.114.1" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
2099
2099
  writeLine2("\u2500".repeat(40));
2100
2100
  let fixCount = 0;
2101
2101
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2102
- const { runSetup } = await import("./setup-command-MWZ5M3UB.js");
2102
+ const { runSetup } = await import("./setup-command-XWHUKY7K.js");
2103
2103
  const setupResult = runSetup({
2104
2104
  skipMcp: true,
2105
2105
  skipRules: true,
@@ -2113,7 +2113,7 @@ async function runDoctorFix(result) {
2113
2113
  }
2114
2114
  }
2115
2115
  if (!result.configFile.found) {
2116
- const { runConfigInitSync } = await import("./setup-config-ICI5OIGW.js");
2116
+ const { runConfigInitSync } = await import("./setup-config-K7DMKGHB.js");
2117
2117
  const configResult = runConfigInitSync(process.cwd(), false, false);
2118
2118
  if (configResult.success && configResult.created) {
2119
2119
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2211,4 +2211,4 @@ export {
2211
2211
  startStdioServer,
2212
2212
  closeServer
2213
2213
  };
2214
- //# sourceMappingURL=chunk-FSZNZZO5.js.map
2214
+ //# sourceMappingURL=chunk-T74HOH67.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-E4HZTSBP.js";
3
+ } from "./chunk-25QNW65Q.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-ZXF2XA4R.js";
8
+ } from "./chunk-DHU2YECH.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-BTYHNG2N.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-DL5SVS6K.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-3FKPAH26.js");
97
- const { createCompositeRouter } = await import("./composite-router-QC4OLIQ5.js");
96
+ const { createAllAdapters } = await import("./factory-RLXFNRIA.js");
97
+ const { createCompositeRouter } = await import("./composite-router-ZF3JDFCJ.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-OR2Z2ZXU.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-PWQTC7S4.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-IBRRXLMJ.js.map
216
+ //# sourceMappingURL=chunk-USSYZDRI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-WJSQ5FRV.js";
3
+ } from "./chunk-WYBVAOMA.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,10 +8,10 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-FSZNZZO5.js";
11
+ } from "./chunk-T74HOH67.js";
12
12
  import {
13
13
  probeAllClis
14
- } from "./chunk-XMNGHZBR.js";
14
+ } from "./chunk-H4EXCQCF.js";
15
15
  import {
16
16
  BUILT_IN_EXPERTS
17
17
  } from "./chunk-ZM4O442V.js";
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-ZXF2XA4R.js";
28
+ } from "./chunk-DHU2YECH.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-B32GCV25.js.map
1990
+ //# sourceMappingURL=chunk-VJ7WL5MS.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-YJSXYHSK.js";
3
+ } from "./chunk-HEDW5QDP.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-E2ER3LQF.js";
10
+ } from "./chunk-FO4A6HA3.js";
11
11
  import {
12
12
  getToolMemory
13
- } from "./chunk-7BZKZUVR.js";
13
+ } from "./chunk-MLWVB6VV.js";
14
14
  import {
15
15
  resolveInsideRoot
16
16
  } from "./chunk-NUBSJGQZ.js";
@@ -27,7 +27,7 @@ import {
27
27
  getOutcomeStore,
28
28
  getTimeProvider,
29
29
  registerPersistentDistillerFactory
30
- } from "./chunk-ZXF2XA4R.js";
30
+ } from "./chunk-DHU2YECH.js";
31
31
  import {
32
32
  ensureLearningDir,
33
33
  getRulesFile
@@ -2399,21 +2399,27 @@ function inferTaskCategory(task) {
2399
2399
  if (/implement|build|create|add|refactor|fix|bug|feature/.test(t)) return "code_generation";
2400
2400
  return "exploration";
2401
2401
  }
2402
+ var MAX_SUMMARY_FIELD = 200;
2403
+ function oneLine(value) {
2404
+ return value.replace(/\s+/g, " ").trim().slice(0, MAX_SUMMARY_FIELD);
2405
+ }
2402
2406
  function summarizeContextForPrompt(ctx) {
2403
2407
  const sections = [];
2404
2408
  if (ctx.beliefs.length > 0) {
2405
- const lines = ctx.beliefs.slice(0, 5).map((b) => `- ${b.subject} ${b.predicate} ${b.object} (confidence: ${b.confidence})`);
2409
+ const lines = ctx.beliefs.slice(0, 5).map(
2410
+ (b) => `- ${oneLine(b.subject)} ${oneLine(b.predicate)} ${oneLine(b.object)} (confidence: ${b.confidence})`
2411
+ );
2406
2412
  sections.push(`### Beliefs
2407
2413
  ${lines.join("\n")}`);
2408
2414
  }
2409
2415
  if (ctx.similarMemories.length > 0) {
2410
- const lines = ctx.similarMemories.slice(0, 3).map((m) => `- ${m.attributes.contextDescription}`);
2416
+ const lines = ctx.similarMemories.slice(0, 3).map((m) => `- ${oneLine(m.attributes.contextDescription)}`);
2411
2417
  sections.push(`### Similar prior work
2412
2418
  ${lines.join("\n")}`);
2413
2419
  }
2414
2420
  if (ctx.experiencePatterns.length > 0) {
2415
2421
  const lines = ctx.experiencePatterns.slice(0, 3).map(
2416
- (p) => `- ${p.taskType}: ${(p.successRate * 100).toFixed(0)}% success over ${String(p.attemptCount)} attempts`
2422
+ (p) => `- ${oneLine(p.taskType)}: ${(p.successRate * 100).toFixed(0)}% success over ${String(p.attemptCount)} attempts`
2417
2423
  );
2418
2424
  sections.push(`### Observed patterns
2419
2425
  ${lines.join("\n")}`);
@@ -2425,7 +2431,7 @@ ${lines.join("\n")}`);
2425
2431
  );
2426
2432
  }
2427
2433
  if (ctx.researchInsights.length > 0) {
2428
- const lines = ctx.researchInsights.slice(0, 5).map((r) => `- ${r.name} (${r.status}) \u2014 ${r.topic}`);
2434
+ const lines = ctx.researchInsights.slice(0, 5).map((r) => `- ${oneLine(r.name)} (${oneLine(r.status)}) \u2014 ${oneLine(r.topic)}`);
2429
2435
  sections.push(`### Prior research on this topic
2430
2436
  ${lines.join("\n")}`);
2431
2437
  }
@@ -2471,4 +2477,4 @@ export {
2471
2477
  inferTaskCategory,
2472
2478
  summarizeContextForPrompt
2473
2479
  };
2474
- //# sourceMappingURL=chunk-ATI7W2FT.js.map
2480
+ //# sourceMappingURL=chunk-VOXQULHX.js.map