nexus-agents 2.33.2 → 2.40.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 (84) hide show
  1. package/dist/{adaptive-memory-CHKKA4DI.js → adaptive-memory-VPXQL3EC.js} +3 -3
  2. package/dist/{chunk-72OMG44X.js → chunk-5DSQLHVJ.js} +2 -2
  3. package/dist/{chunk-YYPA3CBH.js → chunk-66QFTVYA.js} +3 -3
  4. package/dist/{chunk-WDNE6K4W.js → chunk-6PLFRWIP.js} +163 -6
  5. package/dist/chunk-6PLFRWIP.js.map +1 -0
  6. package/dist/{chunk-3RSILLFN.js → chunk-6VLI37KP.js} +2 -2
  7. package/dist/{chunk-7GKB7LPG.js → chunk-7KQOZERX.js} +2 -2
  8. package/dist/{chunk-XH6CQMDU.js → chunk-B422NMVP.js} +2 -2
  9. package/dist/{chunk-DWZZZGZD.js → chunk-BFRD2E7X.js} +24 -3
  10. package/dist/{chunk-DWZZZGZD.js.map → chunk-BFRD2E7X.js.map} +1 -1
  11. package/dist/{chunk-SI4GQN6Q.js → chunk-DDPRXENZ.js} +6 -6
  12. package/dist/{chunk-SKUW2NOC.js → chunk-EWWFRAJI.js} +2 -2
  13. package/dist/{chunk-FBS5MCJL.js → chunk-FEONLEBT.js} +2 -2
  14. package/dist/{chunk-3PNNEWR6.js → chunk-IXG4WPEZ.js} +3 -3
  15. package/dist/{chunk-QGB7QNEL.js → chunk-LHHVH6FN.js} +4 -4
  16. package/dist/{chunk-YT7REHTV.js → chunk-MBMXVGUJ.js} +2 -2
  17. package/dist/{chunk-MI2RHGLU.js → chunk-NQSX4YMA.js} +2 -2
  18. package/dist/{chunk-SOPWV5AT.js → chunk-R652E64E.js} +26 -26
  19. package/dist/{chunk-SOPWV5AT.js.map → chunk-R652E64E.js.map} +1 -1
  20. package/dist/{chunk-KDY5C63A.js → chunk-UH3RCHXZ.js} +2 -2
  21. package/dist/{chunk-WBMWVYOM.js → chunk-WPO7E2G3.js} +4 -4
  22. package/dist/{chunk-WKBCTGLE.js → chunk-XZ4UAABD.js} +3 -3
  23. package/dist/{chunk-BIZLM4CK.js → chunk-ZLLHK26B.js} +6 -6
  24. package/dist/{chunk-NOITIOCN.js → chunk-ZU7CZWMO.js} +2 -2
  25. package/dist/{cli-circuit-breaker-VRR5DKH3.js → cli-circuit-breaker-ECO3WMZ5.js} +4 -4
  26. package/dist/cli.d.ts +3 -1
  27. package/dist/cli.js +695 -137
  28. package/dist/cli.js.map +1 -1
  29. package/dist/{composite-router-E3BGQGLP.js → composite-router-K47YCABM.js} +2 -2
  30. package/dist/{consensus-vote-PP4WBNZV.js → consensus-vote-U465HI3O.js} +7 -7
  31. package/dist/{doctor-deep-MVG45YNL.js → doctor-deep-33EDFINE.js} +3 -3
  32. package/dist/{expert-bridge-SHKCEXGU.js → expert-bridge-VDNOTL7I.js} +3 -3
  33. package/dist/{factory-EISLNRL5.js → factory-RYP7KRFT.js} +4 -4
  34. package/dist/{factory-VJLXQYUO.js → factory-WH7M7GDL.js} +5 -5
  35. package/dist/index.d.ts +19 -4
  36. package/dist/index.js +18 -18
  37. package/dist/{issue-triage-OOKMZAPK.js → issue-triage-B2X5TTIW.js} +4 -4
  38. package/dist/{mcp-config-4B54K5RR.js → mcp-config-HU4CKV2F.js} +3 -3
  39. package/dist/{mobimem-OWZTGHYA.js → mobimem-3CY36FRY.js} +2 -2
  40. package/dist/{repo-security-plan-ORAZDJYH.js → repo-security-plan-PIAV5MVL.js} +3 -3
  41. package/dist/research-helpers-synthesize-DARFXHKG.js +10 -0
  42. package/dist/{routing-memory-HLNGW4BW.js → routing-memory-767SNGSY.js} +2 -2
  43. package/dist/{session-memory-YQPEWDFR.js → session-memory-PXCHCJJP.js} +3 -3
  44. package/dist/{setup-command-LQO75PWC.js → setup-command-7QJR42JE.js} +7 -7
  45. package/dist/{setup-config-FSMXLJ37.js → setup-config-QYB5ULQ2.js} +3 -3
  46. package/dist/{weather-report-J5EIDKVM.js → weather-report-DLCBVZK7.js} +2 -2
  47. package/package.json +8 -8
  48. package/dist/chunk-WDNE6K4W.js.map +0 -1
  49. package/dist/research-helpers-synthesize-EAJDTBFK.js +0 -10
  50. /package/dist/{adaptive-memory-CHKKA4DI.js.map → adaptive-memory-VPXQL3EC.js.map} +0 -0
  51. /package/dist/{chunk-72OMG44X.js.map → chunk-5DSQLHVJ.js.map} +0 -0
  52. /package/dist/{chunk-YYPA3CBH.js.map → chunk-66QFTVYA.js.map} +0 -0
  53. /package/dist/{chunk-3RSILLFN.js.map → chunk-6VLI37KP.js.map} +0 -0
  54. /package/dist/{chunk-7GKB7LPG.js.map → chunk-7KQOZERX.js.map} +0 -0
  55. /package/dist/{chunk-XH6CQMDU.js.map → chunk-B422NMVP.js.map} +0 -0
  56. /package/dist/{chunk-SI4GQN6Q.js.map → chunk-DDPRXENZ.js.map} +0 -0
  57. /package/dist/{chunk-SKUW2NOC.js.map → chunk-EWWFRAJI.js.map} +0 -0
  58. /package/dist/{chunk-FBS5MCJL.js.map → chunk-FEONLEBT.js.map} +0 -0
  59. /package/dist/{chunk-3PNNEWR6.js.map → chunk-IXG4WPEZ.js.map} +0 -0
  60. /package/dist/{chunk-QGB7QNEL.js.map → chunk-LHHVH6FN.js.map} +0 -0
  61. /package/dist/{chunk-YT7REHTV.js.map → chunk-MBMXVGUJ.js.map} +0 -0
  62. /package/dist/{chunk-MI2RHGLU.js.map → chunk-NQSX4YMA.js.map} +0 -0
  63. /package/dist/{chunk-KDY5C63A.js.map → chunk-UH3RCHXZ.js.map} +0 -0
  64. /package/dist/{chunk-WBMWVYOM.js.map → chunk-WPO7E2G3.js.map} +0 -0
  65. /package/dist/{chunk-WKBCTGLE.js.map → chunk-XZ4UAABD.js.map} +0 -0
  66. /package/dist/{chunk-BIZLM4CK.js.map → chunk-ZLLHK26B.js.map} +0 -0
  67. /package/dist/{chunk-NOITIOCN.js.map → chunk-ZU7CZWMO.js.map} +0 -0
  68. /package/dist/{cli-circuit-breaker-VRR5DKH3.js.map → cli-circuit-breaker-ECO3WMZ5.js.map} +0 -0
  69. /package/dist/{composite-router-E3BGQGLP.js.map → composite-router-K47YCABM.js.map} +0 -0
  70. /package/dist/{consensus-vote-PP4WBNZV.js.map → consensus-vote-U465HI3O.js.map} +0 -0
  71. /package/dist/{doctor-deep-MVG45YNL.js.map → doctor-deep-33EDFINE.js.map} +0 -0
  72. /package/dist/{expert-bridge-SHKCEXGU.js.map → expert-bridge-VDNOTL7I.js.map} +0 -0
  73. /package/dist/{factory-EISLNRL5.js.map → factory-RYP7KRFT.js.map} +0 -0
  74. /package/dist/{factory-VJLXQYUO.js.map → factory-WH7M7GDL.js.map} +0 -0
  75. /package/dist/{issue-triage-OOKMZAPK.js.map → issue-triage-B2X5TTIW.js.map} +0 -0
  76. /package/dist/{mcp-config-4B54K5RR.js.map → mcp-config-HU4CKV2F.js.map} +0 -0
  77. /package/dist/{mobimem-OWZTGHYA.js.map → mobimem-3CY36FRY.js.map} +0 -0
  78. /package/dist/{repo-security-plan-ORAZDJYH.js.map → repo-security-plan-PIAV5MVL.js.map} +0 -0
  79. /package/dist/{research-helpers-synthesize-EAJDTBFK.js.map → research-helpers-synthesize-DARFXHKG.js.map} +0 -0
  80. /package/dist/{routing-memory-HLNGW4BW.js.map → routing-memory-767SNGSY.js.map} +0 -0
  81. /package/dist/{session-memory-YQPEWDFR.js.map → session-memory-PXCHCJJP.js.map} +0 -0
  82. /package/dist/{setup-command-LQO75PWC.js.map → setup-command-7QJR42JE.js.map} +0 -0
  83. /package/dist/{setup-config-FSMXLJ37.js.map → setup-config-QYB5ULQ2.js.map} +0 -0
  84. /package/dist/{weather-report-J5EIDKVM.js.map → weather-report-DLCBVZK7.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-633WH2ML.js";
4
4
  import {
5
5
  createAllAdapters
6
- } from "./chunk-3PNNEWR6.js";
6
+ } from "./chunk-IXG4WPEZ.js";
7
7
  import {
8
8
  DEFAULT_CAPABILITIES,
9
9
  DEFAULT_MODEL_CAPABILITIES,
@@ -15,7 +15,7 @@ import {
15
15
  ok,
16
16
  symbols,
17
17
  writeLine
18
- } from "./chunk-DWZZZGZD.js";
18
+ } from "./chunk-BFRD2E7X.js";
19
19
  import {
20
20
  LEARNING_DIR,
21
21
  OUTCOMES_FILE,
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-CLYZ7FWP.js";
25
25
 
26
26
  // src/version.ts
27
- var VERSION = true ? "2.33.2" : "dev";
27
+ var VERSION = true ? "2.40.0" : "dev";
28
28
 
29
29
  // src/cli/setup-data-dir.ts
30
30
  import { mkdirSync, existsSync as existsSync2 } from "fs";
@@ -758,7 +758,7 @@ async function runDoctorFix(result) {
758
758
  writeLine2("\u2500".repeat(40));
759
759
  let fixCount = 0;
760
760
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
761
- const { runSetup } = await import("./setup-command-LQO75PWC.js");
761
+ const { runSetup } = await import("./setup-command-7QJR42JE.js");
762
762
  const setupResult = runSetup({
763
763
  skipMcp: true,
764
764
  skipRules: true,
@@ -772,7 +772,7 @@ async function runDoctorFix(result) {
772
772
  }
773
773
  }
774
774
  if (!result.configFile.found) {
775
- const { runConfigInitSync } = await import("./setup-config-FSMXLJ37.js");
775
+ const { runConfigInitSync } = await import("./setup-config-QYB5ULQ2.js");
776
776
  const configResult = runConfigInitSync(process.cwd(), false, false);
777
777
  if (configResult.success && configResult.created) {
778
778
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -836,4 +836,4 @@ export {
836
836
  startStdioServer,
837
837
  closeServer
838
838
  };
839
- //# sourceMappingURL=chunk-SI4GQN6Q.js.map
839
+ //# sourceMappingURL=chunk-DDPRXENZ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-DWZZZGZD.js";
5
+ } from "./chunk-BFRD2E7X.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-SKUW2NOC.js.map
90
+ //# sourceMappingURL=chunk-EWWFRAJI.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-BC3M4VLP.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-DWZZZGZD.js";
6
+ } from "./chunk-BFRD2E7X.js";
7
7
 
8
8
  // src/mcp/tools/scanner-registry-fetcher.ts
9
9
  import { z } from "zod";
@@ -697,4 +697,4 @@ export {
697
697
  generateSecurityPlan,
698
698
  buildPlanFromAnalysis
699
699
  };
700
- //# sourceMappingURL=chunk-FBS5MCJL.js.map
700
+ //# sourceMappingURL=chunk-FEONLEBT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CliCircuitBreaker,
3
3
  DEFAULT_CIRCUIT_BREAKER_CONFIG
4
- } from "./chunk-YT7REHTV.js";
4
+ } from "./chunk-MBMXVGUJ.js";
5
5
  import {
6
6
  CLI_SUBPROCESS_TIMEOUTS,
7
7
  CLI_TIMEOUTS,
@@ -25,7 +25,7 @@ import {
25
25
  getTimeProvider,
26
26
  isRateLimitText,
27
27
  ok
28
- } from "./chunk-DWZZZGZD.js";
28
+ } from "./chunk-BFRD2E7X.js";
29
29
 
30
30
  // src/cli-adapters/subprocess-adapter.ts
31
31
  import { spawn } from "child_process";
@@ -2727,4 +2727,4 @@ export {
2727
2727
  isCliAvailable,
2728
2728
  getAvailableClis
2729
2729
  };
2730
- //# sourceMappingURL=chunk-3PNNEWR6.js.map
2730
+ //# sourceMappingURL=chunk-IXG4WPEZ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-NOITIOCN.js";
3
+ } from "./chunk-ZU7CZWMO.js";
4
4
  import {
5
5
  VERSION,
6
6
  initDataDirectories
7
- } from "./chunk-SI4GQN6Q.js";
7
+ } from "./chunk-DDPRXENZ.js";
8
8
  import {
9
9
  CLI_SUBPROCESS_TIMEOUTS,
10
10
  createLogger,
@@ -13,7 +13,7 @@ import {
13
13
  formatStatus,
14
14
  getErrorMessage,
15
15
  getTimeProvider
16
- } from "./chunk-DWZZZGZD.js";
16
+ } from "./chunk-BFRD2E7X.js";
17
17
 
18
18
  // src/cli/setup-command.ts
19
19
  import { existsSync as existsSync4 } from "fs";
@@ -1580,4 +1580,4 @@ export {
1580
1580
  setupCommand,
1581
1581
  setupCommandAsync
1582
1582
  };
1583
- //# sourceMappingURL=chunk-QGB7QNEL.js.map
1583
+ //# sourceMappingURL=chunk-LHHVH6FN.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-DWZZZGZD.js";
8
+ } from "./chunk-BFRD2E7X.js";
9
9
 
10
10
  // src/cli-adapters/circuit-breaker-types.ts
11
11
  var CircuitErrorCode = {
@@ -353,4 +353,4 @@ export {
353
353
  CircuitBreakerRegistry,
354
354
  mapCliErrorToCategory
355
355
  };
356
- //# sourceMappingURL=chunk-YT7REHTV.js.map
356
+ //# sourceMappingURL=chunk-MBMXVGUJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  err,
4
4
  getErrorMessage,
5
5
  ok
6
- } from "./chunk-DWZZZGZD.js";
6
+ } from "./chunk-BFRD2E7X.js";
7
7
 
8
8
  // src/scm/types.ts
9
9
  var ScmError = class extends Error {
@@ -243,4 +243,4 @@ export {
243
243
  ScmError,
244
244
  GitHubProvider
245
245
  };
246
- //# sourceMappingURL=chunk-MI2RHGLU.js.map
246
+ //# sourceMappingURL=chunk-NQSX4YMA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTokenEnvVars,
3
3
  resolveToken
4
- } from "./chunk-SKUW2NOC.js";
4
+ } from "./chunk-EWWFRAJI.js";
5
5
  import {
6
6
  ClaudeAdapter,
7
7
  DEFAULT_RELEVANCE_CONFIG,
@@ -25,7 +25,7 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-WDNE6K4W.js";
28
+ } from "./chunk-6PLFRWIP.js";
29
29
  import {
30
30
  REGISTRY_PATH,
31
31
  getProjectRoot,
@@ -35,14 +35,14 @@ import {
35
35
  resolveInsideRoot,
36
36
  savePapersRegistry,
37
37
  synthesizeResearch
38
- } from "./chunk-7GKB7LPG.js";
38
+ } from "./chunk-7KQOZERX.js";
39
39
  import {
40
40
  IssueTriage,
41
41
  sanitizeInput
42
- } from "./chunk-YYPA3CBH.js";
42
+ } from "./chunk-66QFTVYA.js";
43
43
  import {
44
44
  generateSecurityPlan
45
- } from "./chunk-FBS5MCJL.js";
45
+ } from "./chunk-FEONLEBT.js";
46
46
  import {
47
47
  analyzeGitHubRepo
48
48
  } from "./chunk-BC3M4VLP.js";
@@ -65,14 +65,14 @@ import {
65
65
  import {
66
66
  DEFAULT_TASK_TTL_MS,
67
67
  clampTaskTtl
68
- } from "./chunk-SI4GQN6Q.js";
68
+ } from "./chunk-DDPRXENZ.js";
69
69
  import {
70
70
  createSessionMemory
71
- } from "./chunk-XH6CQMDU.js";
71
+ } from "./chunk-B422NMVP.js";
72
72
  import {
73
73
  MemoryImportance,
74
74
  calculateTextJaccardSimilarity
75
- } from "./chunk-72OMG44X.js";
75
+ } from "./chunk-5DSQLHVJ.js";
76
76
  import {
77
77
  STOPWORDS,
78
78
  capitalize,
@@ -81,13 +81,13 @@ import {
81
81
  } from "./chunk-633WH2ML.js";
82
82
  import {
83
83
  generateMcpConfig
84
- } from "./chunk-KDY5C63A.js";
84
+ } from "./chunk-UH3RCHXZ.js";
85
85
  import {
86
86
  getFallbackChainForCategory
87
- } from "./chunk-WKBCTGLE.js";
87
+ } from "./chunk-XZ4UAABD.js";
88
88
  import {
89
89
  executeExpert
90
- } from "./chunk-BIZLM4CK.js";
90
+ } from "./chunk-ZLLHK26B.js";
91
91
  import {
92
92
  ClaudeCliAdapter,
93
93
  CliDetectionCache,
@@ -96,7 +96,7 @@ import {
96
96
  getAvailableClis,
97
97
  sleep,
98
98
  withTimeout
99
- } from "./chunk-3PNNEWR6.js";
99
+ } from "./chunk-IXG4WPEZ.js";
100
100
  import {
101
101
  AGENT_ROUTER_TIMEOUTS,
102
102
  API_TIMEOUTS,
@@ -167,7 +167,7 @@ import {
167
167
  ok,
168
168
  toExpertTaskAnalysisResult,
169
169
  withStep
170
- } from "./chunk-DWZZZGZD.js";
170
+ } from "./chunk-BFRD2E7X.js";
171
171
  import {
172
172
  isPersistenceEnabled
173
173
  } from "./chunk-CLYZ7FWP.js";
@@ -40997,7 +40997,7 @@ async function tryIssueTriage(task) {
40997
40997
  try {
40998
40998
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
40999
40999
  if (issueMatch === null) return null;
41000
- const { createIssueTriage } = await import("./issue-triage-OOKMZAPK.js");
41000
+ const { createIssueTriage } = await import("./issue-triage-B2X5TTIW.js");
41001
41001
  const triage = createIssueTriage();
41002
41002
  const owner = issueMatch[1] ?? "";
41003
41003
  const num = issueMatch[2] ?? "";
@@ -41025,7 +41025,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41025
41025
  ]);
41026
41026
  async function classifyWithLLM(task) {
41027
41027
  try {
41028
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-SHKCEXGU.js");
41028
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-VDNOTL7I.js");
41029
41029
  const prompt = [
41030
41030
  "Classify this task into exactly one pipeline template.",
41031
41031
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -41819,7 +41819,7 @@ var memoryInitPromise = null;
41819
41819
  async function initPipelineMemory() {
41820
41820
  if (cachedMemory !== null) return cachedMemory;
41821
41821
  try {
41822
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YQPEWDFR.js");
41822
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PXCHCJJP.js");
41823
41823
  const { LEARNING_DIR } = await import("./learning-persistence-WMWZJZ35.js");
41824
41824
  const mem = createSessionMemory2(LEARNING_DIR);
41825
41825
  mem.startSession(`pipeline-${String(Date.now())}`);
@@ -41872,7 +41872,7 @@ async function persistMobiMemState() {
41872
41872
  if (!isPersistenceEnabled2()) return;
41873
41873
  const os5 = await import("os");
41874
41874
  const path19 = await import("path");
41875
- const { createMobiMem } = await import("./mobimem-OWZTGHYA.js");
41875
+ const { createMobiMem } = await import("./mobimem-3CY36FRY.js");
41876
41876
  const mobimem = createMobiMem();
41877
41877
  const savePath = path19.join(os5.homedir(), ".nexus-agents", "memory", "mobimem-state.json");
41878
41878
  await mobimem.save(savePath);
@@ -41889,7 +41889,7 @@ function recordRoutingExperience(category, success, durationMs) {
41889
41889
  callRecord(routingMemoryCache);
41890
41890
  return;
41891
41891
  }
41892
- void import("./routing-memory-HLNGW4BW.js").then(({ createRoutingMemory }) => {
41892
+ void import("./routing-memory-767SNGSY.js").then(({ createRoutingMemory }) => {
41893
41893
  routingMemoryCache = createRoutingMemory();
41894
41894
  callRecord(routingMemoryCache);
41895
41895
  }).catch((error) => {
@@ -41918,7 +41918,7 @@ ${text}` : "";
41918
41918
  }
41919
41919
  async function getWeatherContext() {
41920
41920
  try {
41921
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-J5EIDKVM.js");
41921
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DLCBVZK7.js");
41922
41922
  const report = generateWeatherReport2({ includeAdaptive: true });
41923
41923
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
41924
41924
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -41935,7 +41935,7 @@ ${lines}
41935
41935
  }
41936
41936
  async function getMemoryContext(task) {
41937
41937
  try {
41938
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YQPEWDFR.js");
41938
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PXCHCJJP.js");
41939
41939
  const { LEARNING_DIR } = await import("./learning-persistence-WMWZJZ35.js");
41940
41940
  const memory = createSessionMemory2(LEARNING_DIR, { maxLearningsInContext: 10 });
41941
41941
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -42028,7 +42028,7 @@ ${contextBlock}`;
42028
42028
  const strategy = config.votingStrategy ?? "higher_order";
42029
42029
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
42030
42030
  try {
42031
- const { executeVoting } = await import("./consensus-vote-PP4WBNZV.js");
42031
+ const { executeVoting } = await import("./consensus-vote-U465HI3O.js");
42032
42032
  const votingResult = await executeVoting(
42033
42033
  {
42034
42034
  proposal: plan.slice(0, 4e3),
@@ -42897,7 +42897,7 @@ async function extractSymbolsForTask(task) {
42897
42897
  }
42898
42898
  async function retrieveAdaptiveMemory(task) {
42899
42899
  try {
42900
- const { AdaptiveMemoryBackend } = await import("./adaptive-memory-CHKKA4DI.js");
42900
+ const { AdaptiveMemoryBackend } = await import("./adaptive-memory-VPXQL3EC.js");
42901
42901
  const os5 = await import("os");
42902
42902
  const path19 = await import("path");
42903
42903
  const baseDir = path19.join(os5.homedir(), ".nexus-agents", "memory");
@@ -42916,7 +42916,7 @@ async function retrieveAdaptiveMemory(task) {
42916
42916
  }
42917
42917
  async function queryResearchRegistry(task) {
42918
42918
  try {
42919
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-EAJDTBFK.js");
42919
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-DARFXHKG.js");
42920
42920
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
42921
42921
  if (topic === void 0) return null;
42922
42922
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43001,7 +43001,7 @@ function createScanStageWrapper() {
43001
43001
  try {
43002
43002
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43003
43003
  if (slug !== void 0) {
43004
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-ORAZDJYH.js");
43004
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-PIAV5MVL.js");
43005
43005
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43006
43006
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43007
43007
  ctx.sharedMemory.write("scan", "decision", { recommendations: recs });
@@ -52420,7 +52420,7 @@ var GitHubTaskTracker = class {
52420
52420
  cachedProvider = null;
52421
52421
  async getProvider() {
52422
52422
  if (this.cachedProvider !== null) return this.cachedProvider;
52423
- const { createScmProvider } = await import("./factory-VJLXQYUO.js");
52423
+ const { createScmProvider } = await import("./factory-WH7M7GDL.js");
52424
52424
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
52425
52425
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
52426
52426
  this.cachedProvider = result.value;
@@ -53259,4 +53259,4 @@ export {
53259
53259
  detectBackend,
53260
53260
  createTaskTracker
53261
53261
  };
53262
- //# sourceMappingURL=chunk-SOPWV5AT.js.map
53262
+ //# sourceMappingURL=chunk-R652E64E.js.map