nexus-agents 2.33.2 → 2.34.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 (82) 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-3RSILLFN.js → chunk-6VLI37KP.js} +2 -2
  5. package/dist/{chunk-7GKB7LPG.js → chunk-7KQOZERX.js} +2 -2
  6. package/dist/{chunk-WDNE6K4W.js → chunk-A6Q2NRXT.js} +6 -6
  7. package/dist/{chunk-XH6CQMDU.js → chunk-B422NMVP.js} +2 -2
  8. package/dist/{chunk-DWZZZGZD.js → chunk-BFRD2E7X.js} +24 -3
  9. package/dist/{chunk-DWZZZGZD.js.map → chunk-BFRD2E7X.js.map} +1 -1
  10. package/dist/{chunk-SKUW2NOC.js → chunk-EWWFRAJI.js} +2 -2
  11. package/dist/{chunk-FBS5MCJL.js → chunk-FEONLEBT.js} +2 -2
  12. package/dist/{chunk-SOPWV5AT.js → chunk-GYAQOHQ4.js} +26 -26
  13. package/dist/{chunk-3PNNEWR6.js → chunk-IXG4WPEZ.js} +3 -3
  14. package/dist/{chunk-YT7REHTV.js → chunk-MBMXVGUJ.js} +2 -2
  15. package/dist/{chunk-MI2RHGLU.js → chunk-NQSX4YMA.js} +2 -2
  16. package/dist/{chunk-QGB7QNEL.js → chunk-QOULVKG6.js} +4 -4
  17. package/dist/{chunk-KDY5C63A.js → chunk-UH3RCHXZ.js} +2 -2
  18. package/dist/{chunk-WBMWVYOM.js → chunk-WPO7E2G3.js} +4 -4
  19. package/dist/{chunk-WKBCTGLE.js → chunk-XZ4UAABD.js} +3 -3
  20. package/dist/{chunk-SI4GQN6Q.js → chunk-YW5QDPGU.js} +6 -6
  21. package/dist/{chunk-BIZLM4CK.js → chunk-ZLLHK26B.js} +6 -6
  22. package/dist/{chunk-NOITIOCN.js → chunk-ZU7CZWMO.js} +2 -2
  23. package/dist/{cli-circuit-breaker-VRR5DKH3.js → cli-circuit-breaker-ECO3WMZ5.js} +4 -4
  24. package/dist/cli.js +29 -20
  25. package/dist/cli.js.map +1 -1
  26. package/dist/{composite-router-E3BGQGLP.js → composite-router-K47YCABM.js} +2 -2
  27. package/dist/{consensus-vote-PP4WBNZV.js → consensus-vote-ZGO6RX3V.js} +7 -7
  28. package/dist/{doctor-deep-MVG45YNL.js → doctor-deep-33EDFINE.js} +3 -3
  29. package/dist/{expert-bridge-SHKCEXGU.js → expert-bridge-VDNOTL7I.js} +3 -3
  30. package/dist/{factory-EISLNRL5.js → factory-RYP7KRFT.js} +4 -4
  31. package/dist/{factory-VJLXQYUO.js → factory-WH7M7GDL.js} +5 -5
  32. package/dist/index.d.ts +17 -2
  33. package/dist/index.js +18 -18
  34. package/dist/{issue-triage-OOKMZAPK.js → issue-triage-B2X5TTIW.js} +4 -4
  35. package/dist/{mcp-config-4B54K5RR.js → mcp-config-HU4CKV2F.js} +3 -3
  36. package/dist/{mobimem-OWZTGHYA.js → mobimem-3CY36FRY.js} +2 -2
  37. package/dist/{repo-security-plan-ORAZDJYH.js → repo-security-plan-PIAV5MVL.js} +3 -3
  38. package/dist/research-helpers-synthesize-DARFXHKG.js +10 -0
  39. package/dist/{routing-memory-HLNGW4BW.js → routing-memory-767SNGSY.js} +2 -2
  40. package/dist/{session-memory-YQPEWDFR.js → session-memory-PXCHCJJP.js} +3 -3
  41. package/dist/{setup-command-LQO75PWC.js → setup-command-N6MTXKV3.js} +7 -7
  42. package/dist/{setup-config-FSMXLJ37.js → setup-config-QYB5ULQ2.js} +3 -3
  43. package/dist/{weather-report-J5EIDKVM.js → weather-report-DLCBVZK7.js} +2 -2
  44. package/package.json +8 -8
  45. package/dist/research-helpers-synthesize-EAJDTBFK.js +0 -10
  46. /package/dist/{adaptive-memory-CHKKA4DI.js.map → adaptive-memory-VPXQL3EC.js.map} +0 -0
  47. /package/dist/{chunk-72OMG44X.js.map → chunk-5DSQLHVJ.js.map} +0 -0
  48. /package/dist/{chunk-YYPA3CBH.js.map → chunk-66QFTVYA.js.map} +0 -0
  49. /package/dist/{chunk-3RSILLFN.js.map → chunk-6VLI37KP.js.map} +0 -0
  50. /package/dist/{chunk-7GKB7LPG.js.map → chunk-7KQOZERX.js.map} +0 -0
  51. /package/dist/{chunk-WDNE6K4W.js.map → chunk-A6Q2NRXT.js.map} +0 -0
  52. /package/dist/{chunk-XH6CQMDU.js.map → chunk-B422NMVP.js.map} +0 -0
  53. /package/dist/{chunk-SKUW2NOC.js.map → chunk-EWWFRAJI.js.map} +0 -0
  54. /package/dist/{chunk-FBS5MCJL.js.map → chunk-FEONLEBT.js.map} +0 -0
  55. /package/dist/{chunk-SOPWV5AT.js.map → chunk-GYAQOHQ4.js.map} +0 -0
  56. /package/dist/{chunk-3PNNEWR6.js.map → chunk-IXG4WPEZ.js.map} +0 -0
  57. /package/dist/{chunk-YT7REHTV.js.map → chunk-MBMXVGUJ.js.map} +0 -0
  58. /package/dist/{chunk-MI2RHGLU.js.map → chunk-NQSX4YMA.js.map} +0 -0
  59. /package/dist/{chunk-QGB7QNEL.js.map → chunk-QOULVKG6.js.map} +0 -0
  60. /package/dist/{chunk-KDY5C63A.js.map → chunk-UH3RCHXZ.js.map} +0 -0
  61. /package/dist/{chunk-WBMWVYOM.js.map → chunk-WPO7E2G3.js.map} +0 -0
  62. /package/dist/{chunk-WKBCTGLE.js.map → chunk-XZ4UAABD.js.map} +0 -0
  63. /package/dist/{chunk-SI4GQN6Q.js.map → chunk-YW5QDPGU.js.map} +0 -0
  64. /package/dist/{chunk-BIZLM4CK.js.map → chunk-ZLLHK26B.js.map} +0 -0
  65. /package/dist/{chunk-NOITIOCN.js.map → chunk-ZU7CZWMO.js.map} +0 -0
  66. /package/dist/{cli-circuit-breaker-VRR5DKH3.js.map → cli-circuit-breaker-ECO3WMZ5.js.map} +0 -0
  67. /package/dist/{composite-router-E3BGQGLP.js.map → composite-router-K47YCABM.js.map} +0 -0
  68. /package/dist/{consensus-vote-PP4WBNZV.js.map → consensus-vote-ZGO6RX3V.js.map} +0 -0
  69. /package/dist/{doctor-deep-MVG45YNL.js.map → doctor-deep-33EDFINE.js.map} +0 -0
  70. /package/dist/{expert-bridge-SHKCEXGU.js.map → expert-bridge-VDNOTL7I.js.map} +0 -0
  71. /package/dist/{factory-EISLNRL5.js.map → factory-RYP7KRFT.js.map} +0 -0
  72. /package/dist/{factory-VJLXQYUO.js.map → factory-WH7M7GDL.js.map} +0 -0
  73. /package/dist/{issue-triage-OOKMZAPK.js.map → issue-triage-B2X5TTIW.js.map} +0 -0
  74. /package/dist/{mcp-config-4B54K5RR.js.map → mcp-config-HU4CKV2F.js.map} +0 -0
  75. /package/dist/{mobimem-OWZTGHYA.js.map → mobimem-3CY36FRY.js.map} +0 -0
  76. /package/dist/{repo-security-plan-ORAZDJYH.js.map → repo-security-plan-PIAV5MVL.js.map} +0 -0
  77. /package/dist/{research-helpers-synthesize-EAJDTBFK.js.map → research-helpers-synthesize-DARFXHKG.js.map} +0 -0
  78. /package/dist/{routing-memory-HLNGW4BW.js.map → routing-memory-767SNGSY.js.map} +0 -0
  79. /package/dist/{session-memory-YQPEWDFR.js.map → session-memory-PXCHCJJP.js.map} +0 -0
  80. /package/dist/{setup-command-LQO75PWC.js.map → setup-command-N6MTXKV3.js.map} +0 -0
  81. /package/dist/{setup-config-FSMXLJ37.js.map → setup-config-QYB5ULQ2.js.map} +0 -0
  82. /package/dist/{weather-report-J5EIDKVM.js.map → weather-report-DLCBVZK7.js.map} +0 -0
@@ -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
  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-A6Q2NRXT.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-YW5QDPGU.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-ZGO6RX3V.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-GYAQOHQ4.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
@@ -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,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-YW5QDPGU.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-QOULVKG6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-DWZZZGZD.js";
3
+ } from "./chunk-BFRD2E7X.js";
4
4
 
5
5
  // src/swe-bench/mcp-config.ts
6
6
  import { writeFile, mkdtemp, rm } from "fs/promises";
@@ -58,4 +58,4 @@ export {
58
58
  generateMcpConfig,
59
59
  getDefaultAllowedTools
60
60
  };
61
- //# sourceMappingURL=chunk-KDY5C63A.js.map
61
+ //# sourceMappingURL=chunk-UH3RCHXZ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-SKUW2NOC.js";
3
+ } from "./chunk-EWWFRAJI.js";
4
4
  import {
5
5
  GitHubProvider,
6
6
  ScmError
7
- } from "./chunk-MI2RHGLU.js";
7
+ } from "./chunk-NQSX4YMA.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-DWZZZGZD.js";
11
+ } from "./chunk-BFRD2E7X.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-WBMWVYOM.js.map
44
+ //# sourceMappingURL=chunk-WPO7E2G3.js.map
@@ -2,13 +2,13 @@ import {
2
2
  CircuitBreakerRegistry,
3
3
  CircuitError,
4
4
  mapCliErrorToCategory
5
- } from "./chunk-YT7REHTV.js";
5
+ } from "./chunk-MBMXVGUJ.js";
6
6
  import {
7
7
  createLogger,
8
8
  err,
9
9
  getTimeProvider,
10
10
  ok
11
- } from "./chunk-DWZZZGZD.js";
11
+ } from "./chunk-BFRD2E7X.js";
12
12
 
13
13
  // src/cli-adapters/fallback-chains.ts
14
14
  import { z } from "zod";
@@ -192,4 +192,4 @@ export {
192
192
  CliCircuitBreakerIntegration,
193
193
  createCliCircuitBreakerIntegration
194
194
  };
195
- //# sourceMappingURL=chunk-WKBCTGLE.js.map
195
+ //# sourceMappingURL=chunk-XZ4UAABD.js.map
@@ -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.34.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-N6MTXKV3.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-YW5QDPGU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  getTimeProvider,
4
4
  isRateLimitText
5
- } from "./chunk-DWZZZGZD.js";
5
+ } from "./chunk-BFRD2E7X.js";
6
6
 
7
7
  // src/pipeline/expert-bridge.ts
8
8
  var logger = createLogger({ component: "expert-bridge" });
@@ -12,7 +12,7 @@ var cachedMcpConfigPath = null;
12
12
  async function getMcpConfigPath() {
13
13
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
14
14
  try {
15
- const { generateMcpConfig } = await import("./mcp-config-4B54K5RR.js");
15
+ const { generateMcpConfig } = await import("./mcp-config-HU4CKV2F.js");
16
16
  const config = await generateMcpConfig();
17
17
  cachedMcpConfigPath = config.configPath;
18
18
  return cachedMcpConfigPath;
@@ -38,13 +38,13 @@ function adaptCompositeRouter(compositeRouter) {
38
38
  }
39
39
  async function getRouter() {
40
40
  if (cachedRouter !== null) return cachedRouter;
41
- const { createAllAdapters } = await import("./factory-EISLNRL5.js");
42
- const { createCompositeRouter } = await import("./composite-router-E3BGQGLP.js");
41
+ const { createAllAdapters } = await import("./factory-RYP7KRFT.js");
42
+ const { createCompositeRouter } = await import("./composite-router-K47YCABM.js");
43
43
  const adapters = createAllAdapters();
44
44
  if (adapters.size === 0) return null;
45
45
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
46
46
  try {
47
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-VRR5DKH3.js");
47
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-ECO3WMZ5.js");
48
48
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
49
49
  } catch (error) {
50
50
  const msg = error instanceof Error ? error.message : String(error);
@@ -136,4 +136,4 @@ ${prompt}`;
136
136
  export {
137
137
  executeExpert
138
138
  };
139
- //# sourceMappingURL=chunk-BIZLM4CK.js.map
139
+ //# sourceMappingURL=chunk-ZLLHK26B.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-DWZZZGZD.js";
3
+ } from "./chunk-BFRD2E7X.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { existsSync, writeFileSync } from "fs";
@@ -59,4 +59,4 @@ function runConfigInitSync(projectRoot, force, dryRun) {
59
59
  export {
60
60
  runConfigInitSync
61
61
  };
62
- //# sourceMappingURL=chunk-NOITIOCN.js.map
62
+ //# sourceMappingURL=chunk-ZU7CZWMO.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-WKBCTGLE.js";
5
- import "./chunk-YT7REHTV.js";
6
- import "./chunk-DWZZZGZD.js";
4
+ } from "./chunk-XZ4UAABD.js";
5
+ import "./chunk-MBMXVGUJ.js";
6
+ import "./chunk-BFRD2E7X.js";
7
7
  import "./chunk-CLYZ7FWP.js";
8
8
  import "./chunk-UP2VWCW5.js";
9
9
  export {
10
10
  CliCircuitBreakerIntegration,
11
11
  createCliCircuitBreakerIntegration
12
12
  };
13
- //# sourceMappingURL=cli-circuit-breaker-VRR5DKH3.js.map
13
+ //# sourceMappingURL=cli-circuit-breaker-ECO3WMZ5.js.map
package/dist/cli.js CHANGED
@@ -12,11 +12,11 @@ import {
12
12
  parseFindings,
13
13
  sumFindings
14
14
  } from "./chunk-6E3NMMEY.js";
15
- import "./chunk-3RSILLFN.js";
15
+ import "./chunk-6VLI37KP.js";
16
16
  import {
17
17
  setupCommandAsync
18
- } from "./chunk-QGB7QNEL.js";
19
- import "./chunk-NOITIOCN.js";
18
+ } from "./chunk-QOULVKG6.js";
19
+ import "./chunk-ZU7CZWMO.js";
20
20
  import {
21
21
  AuthHandler,
22
22
  CustomExpertDefinitionSchema,
@@ -150,10 +150,10 @@ import {
150
150
  validateNexusEnv,
151
151
  validateWorkflow,
152
152
  wrapInMarkdownFence
153
- } from "./chunk-SOPWV5AT.js";
153
+ } from "./chunk-GYAQOHQ4.js";
154
154
  import {
155
155
  resolveToken
156
- } from "./chunk-SKUW2NOC.js";
156
+ } from "./chunk-EWWFRAJI.js";
157
157
  import {
158
158
  CATEGORY_DISPLAY_NAMES,
159
159
  DEFAULT_PR_REVIEW_CONFIG
@@ -169,22 +169,22 @@ import {
169
169
  registerConsensusVoteTool,
170
170
  shutdownToolMemory,
171
171
  validateTimeout
172
- } from "./chunk-WDNE6K4W.js";
172
+ } from "./chunk-A6Q2NRXT.js";
173
173
  import {
174
174
  loadPapersRegistry,
175
175
  loadTechniquesRegistry,
176
176
  savePapersRegistry,
177
177
  synthesizeResearch
178
- } from "./chunk-7GKB7LPG.js";
178
+ } from "./chunk-7KQOZERX.js";
179
179
  import {
180
180
  classifyTrust,
181
181
  createFullGitHubProvider,
182
182
  evaluatePolicy,
183
183
  parsePRUrl,
184
184
  sanitizeInput
185
- } from "./chunk-YYPA3CBH.js";
186
- import "./chunk-MI2RHGLU.js";
187
- import "./chunk-FBS5MCJL.js";
185
+ } from "./chunk-66QFTVYA.js";
186
+ import "./chunk-NQSX4YMA.js";
187
+ import "./chunk-FEONLEBT.js";
188
188
  import "./chunk-BC3M4VLP.js";
189
189
  import "./chunk-AP2FD37C.js";
190
190
  import "./chunk-BQ4YXGGQ.js";
@@ -200,25 +200,25 @@ import {
200
200
  doctorCommand,
201
201
  initDataDirectories,
202
202
  runDoctor
203
- } from "./chunk-SI4GQN6Q.js";
204
- import "./chunk-XH6CQMDU.js";
203
+ } from "./chunk-YW5QDPGU.js";
204
+ import "./chunk-B422NMVP.js";
205
205
  import {
206
206
  MemoryError
207
- } from "./chunk-72OMG44X.js";
207
+ } from "./chunk-5DSQLHVJ.js";
208
208
  import {
209
209
  capitalize,
210
210
  capitalizeKebab,
211
211
  truncateSentence
212
212
  } from "./chunk-633WH2ML.js";
213
- import "./chunk-KDY5C63A.js";
214
- import "./chunk-WKBCTGLE.js";
215
- import "./chunk-BIZLM4CK.js";
213
+ import "./chunk-UH3RCHXZ.js";
214
+ import "./chunk-XZ4UAABD.js";
215
+ import "./chunk-ZLLHK26B.js";
216
216
  import {
217
217
  createAllAdapters,
218
218
  getAvailableClis,
219
219
  isRecord
220
- } from "./chunk-3PNNEWR6.js";
221
- import "./chunk-YT7REHTV.js";
220
+ } from "./chunk-IXG4WPEZ.js";
221
+ import "./chunk-MBMXVGUJ.js";
222
222
  import {
223
223
  API_TIMEOUTS,
224
224
  AgentCapability,
@@ -283,7 +283,7 @@ import {
283
283
  toError,
284
284
  writeEmptyLine,
285
285
  writeLine
286
- } from "./chunk-DWZZZGZD.js";
286
+ } from "./chunk-BFRD2E7X.js";
287
287
  import "./chunk-CLYZ7FWP.js";
288
288
  import "./chunk-UP2VWCW5.js";
289
289
 
@@ -19959,7 +19959,7 @@ async function handleVerifyCommand(args) {
19959
19959
  async function handleDoctorCommand(args) {
19960
19960
  const exitCode = await doctorCommand({ fix: args.options.fix });
19961
19961
  if (args.options.deep) {
19962
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-MVG45YNL.js");
19962
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-33EDFINE.js");
19963
19963
  const diag = runDeepDiagnostics2();
19964
19964
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
19965
19965
  }
@@ -21819,6 +21819,8 @@ function collectHealth() {
21819
21819
  return {
21820
21820
  swarmHealth: report.swarmHealth,
21821
21821
  overallSuccessRate: report.overall.successRate,
21822
+ adapterAttemptSuccessRate: report.overall.adapterAttemptSuccessRate,
21823
+ adapterUnavailableCount: report.overall.adapterUnavailableCount,
21822
21824
  totalTasks: report.overall.totalTasks,
21823
21825
  failureBreakdown: report.failureBreakdown ?? [],
21824
21826
  cliCount: report.cliWeather.length,
@@ -21830,6 +21832,8 @@ function toCliSummary(cw) {
21830
21832
  return {
21831
21833
  cli: cw.cli,
21832
21834
  successRate: cw.successRate,
21835
+ adapterAttemptSuccessRate: cw.adapterAttemptSuccessRate,
21836
+ adapterUnavailableCount: cw.adapterUnavailableCount,
21833
21837
  totalTasks: cw.totalTasks,
21834
21838
  avgDurationMs: cw.avgDurationMs
21835
21839
  };
@@ -21913,8 +21917,13 @@ ${c.bold}nexus-agents${c.reset}`);
21913
21917
  const rateColor = health.overallSuccessRate >= 0.8 ? c.green : health.overallSuccessRate >= 0.6 ? c.yellow : c.red;
21914
21918
  const rateSym = health.overallSuccessRate >= 0.8 ? s.check : s.warn;
21915
21919
  const pctStr = `${(health.overallSuccessRate * 100).toFixed(1)}%`;
21920
+ const attemptPctStr = `${(health.adapterAttemptSuccessRate * 100).toFixed(1)}%`;
21916
21921
  w(` Success Rate: ${rateColor}${pctStr}${c.reset} ${rateSym}
21917
21922
  `);
21923
+ w(
21924
+ ` Attempt Rate: ${c.cyan}${attemptPctStr}${c.reset} ${c.dim}(excludes adapter_unavailable: ${String(health.adapterUnavailableCount)})${c.reset}
21925
+ `
21926
+ );
21918
21927
  w(` Total Tasks: ${c.cyan}${String(health.totalTasks)}${c.reset}
21919
21928
  `);
21920
21929
  w(` Active CLIs: ${c.cyan}${String(health.cliCount)}${c.reset}