nexus-agents 2.33.1 → 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-TBMWMO4Q.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-GSMYXYD7.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-OC7MOZPG.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 +43 -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-LQ3P6NUU.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-TBMWMO4Q.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-GSMYXYD7.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-OC7MOZPG.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-LQ3P6NUU.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,9 +2,9 @@ import {
2
2
  AdaptiveMemoryBackend,
3
3
  DEFAULT_SCORING_CONFIG,
4
4
  createAdaptiveMemory
5
- } from "./chunk-72OMG44X.js";
5
+ } from "./chunk-5DSQLHVJ.js";
6
6
  import "./chunk-633WH2ML.js";
7
- import "./chunk-DWZZZGZD.js";
7
+ import "./chunk-BFRD2E7X.js";
8
8
  import "./chunk-CLYZ7FWP.js";
9
9
  import "./chunk-UP2VWCW5.js";
10
10
  export {
@@ -12,4 +12,4 @@ export {
12
12
  DEFAULT_SCORING_CONFIG,
13
13
  createAdaptiveMemory
14
14
  };
15
- //# sourceMappingURL=adaptive-memory-CHKKA4DI.js.map
15
+ //# sourceMappingURL=adaptive-memory-VPXQL3EC.js.map
@@ -11,7 +11,7 @@ import {
11
11
  formatZodError,
12
12
  getTimeProvider,
13
13
  ok
14
- } from "./chunk-DWZZZGZD.js";
14
+ } from "./chunk-BFRD2E7X.js";
15
15
 
16
16
  // src/context/memory-backend-types.ts
17
17
  import { z } from "zod";
@@ -941,4 +941,4 @@ export {
941
941
  AdaptiveMemoryBackend,
942
942
  createAdaptiveMemory
943
943
  };
944
- //# sourceMappingURL=chunk-72OMG44X.js.map
944
+ //# sourceMappingURL=chunk-5DSQLHVJ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-MI2RHGLU.js";
4
+ } from "./chunk-NQSX4YMA.js";
5
5
  import {
6
6
  CACHE_TIMEOUTS,
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/security/trust-types.ts
14
14
  import { z } from "zod";
@@ -1582,4 +1582,4 @@ export {
1582
1582
  IssueTriage,
1583
1583
  createIssueTriage
1584
1584
  };
1585
- //# sourceMappingURL=chunk-YYPA3CBH.js.map
1585
+ //# sourceMappingURL=chunk-66QFTVYA.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-DWZZZGZD.js";
5
+ } from "./chunk-BFRD2E7X.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-3RSILLFN.js.map
109
+ //# sourceMappingURL=chunk-6VLI37KP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  ParseError,
3
3
  SecurityError,
4
4
  getErrorMessage
5
- } from "./chunk-DWZZZGZD.js";
5
+ } from "./chunk-BFRD2E7X.js";
6
6
 
7
7
  // src/cli/research-helpers-io.ts
8
8
  import * as fs from "fs/promises";
@@ -928,4 +928,4 @@ export {
928
928
  normalizeTopicToCanonical,
929
929
  synthesizeResearch
930
930
  };
931
- //# sourceMappingURL=chunk-7GKB7LPG.js.map
931
+ //# sourceMappingURL=chunk-7KQOZERX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionMemory
3
- } from "./chunk-XH6CQMDU.js";
3
+ } from "./chunk-B422NMVP.js";
4
4
  import {
5
5
  AdaptiveMemoryBackend,
6
6
  HybridMemoryBackend,
@@ -9,7 +9,7 @@ import {
9
9
  getMemoryEntry,
10
10
  memoryExists,
11
11
  memoryRowToEntry
12
- } from "./chunk-72OMG44X.js";
12
+ } from "./chunk-5DSQLHVJ.js";
13
13
  import {
14
14
  stringifyValue,
15
15
  tokenizeFiltered
@@ -21,7 +21,7 @@ import {
21
21
  getAvailableClis,
22
22
  isCliAvailable,
23
23
  withTimeout
24
- } from "./chunk-3PNNEWR6.js";
24
+ } from "./chunk-IXG4WPEZ.js";
25
25
  import {
26
26
  AgentError,
27
27
  CACHE_TIMEOUTS,
@@ -66,7 +66,7 @@ import {
66
66
  resolveVoteTimeout,
67
67
  toRateLimitError,
68
68
  validateTimeout
69
- } from "./chunk-DWZZZGZD.js";
69
+ } from "./chunk-BFRD2E7X.js";
70
70
  import {
71
71
  OUTCOMES_FILE,
72
72
  ensureLearningDir
@@ -12347,7 +12347,7 @@ async function processVotesWithCascade(votes, opts) {
12347
12347
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
12348
12348
  async function runContrarianCheck(proposal, log) {
12349
12349
  try {
12350
- const { executeExpert } = await import("./expert-bridge-SHKCEXGU.js");
12350
+ const { executeExpert } = await import("./expert-bridge-VDNOTL7I.js");
12351
12351
  const prompt = [
12352
12352
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
12353
12353
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -12718,4 +12718,4 @@ export {
12718
12718
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
12719
12719
  registerConsensusVoteTool
12720
12720
  };
12721
- //# sourceMappingURL=chunk-WDNE6K4W.js.map
12721
+ //# sourceMappingURL=chunk-A6Q2NRXT.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-DWZZZGZD.js";
7
+ } from "./chunk-BFRD2E7X.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -351,4 +351,4 @@ export {
351
351
  SessionMemory,
352
352
  createSessionMemory
353
353
  };
354
- //# sourceMappingURL=chunk-XH6CQMDU.js.map
354
+ //# sourceMappingURL=chunk-B422NMVP.js.map
@@ -8876,11 +8876,13 @@ function generateWeatherReport(input, config) {
8876
8876
  const store = getOutcomeStore();
8877
8877
  const includeAdaptive = input.includeAdaptive ?? true;
8878
8878
  const summary = store.summarize(buildQuery(input.cli, input.category));
8879
+ const overallOutcomes = store.query(buildQuery(input.cli, input.category));
8879
8880
  const base = {
8880
8881
  overall: {
8881
8882
  totalTasks: summary.totalTasks,
8882
8883
  successRate: summary.successRate,
8883
- avgDurationMs: summary.avgDurationMs
8884
+ avgDurationMs: summary.avgDurationMs,
8885
+ ...computeAdapterAttemptStats(overallOutcomes)
8884
8886
  },
8885
8887
  cliWeather: buildCliWeather(summary, input),
8886
8888
  adaptiveBonuses: includeAdaptive ? computeAdaptiveBonuses(cfg) : [],
@@ -8973,6 +8975,24 @@ function buildQuery(cli, category) {
8973
8975
  if (category !== void 0) query.category = category;
8974
8976
  return query;
8975
8977
  }
8978
+ function computeAdapterAttemptStats(outcomes) {
8979
+ if (outcomes.length === 0) {
8980
+ return { adapterAttemptSuccessRate: 0, adapterUnavailableCount: 0, adapterUnavailableRate: 0 };
8981
+ }
8982
+ const adapterUnavailable = outcomes.filter((o) => {
8983
+ if (o.success) return false;
8984
+ const cat = o.failureCategory ?? (typeof o.errorMessage === "string" && o.errorMessage.length > 0 ? categorizeOutcomeErrorMessage(o.errorMessage) : void 0);
8985
+ return cat === "adapter_unavailable";
8986
+ }).length;
8987
+ const attempted = outcomes.length - adapterUnavailable;
8988
+ const successes = outcomes.filter((o) => o.success).length;
8989
+ const attemptSuccessRate = attempted > 0 ? successes / attempted : 0;
8990
+ return {
8991
+ adapterAttemptSuccessRate: round3(attemptSuccessRate),
8992
+ adapterUnavailableCount: adapterUnavailable,
8993
+ adapterUnavailableRate: round3(adapterUnavailable / outcomes.length)
8994
+ };
8995
+ }
8976
8996
  function buildCliWeather(summary, input) {
8977
8997
  const clis = input.cli !== void 0 ? [input.cli] : [...CLI_NAMES3];
8978
8998
  return clis.map((cli) => {
@@ -8997,7 +9017,8 @@ function buildCliWeather(summary, input) {
8997
9017
  totalTasks: stats?.count ?? 0,
8998
9018
  successRate: stats?.successRate ?? 0,
8999
9019
  avgDurationMs: stats?.avgDurationMs ?? 0,
9000
- byCategory
9020
+ byCategory,
9021
+ ...computeAdapterAttemptStats(cliOutcomes)
9001
9022
  };
9002
9023
  });
9003
9024
  }
@@ -11060,4 +11081,4 @@ export {
11060
11081
  ParseError,
11061
11082
  OrchestratorError
11062
11083
  };
11063
- //# sourceMappingURL=chunk-DWZZZGZD.js.map
11084
+ //# sourceMappingURL=chunk-BFRD2E7X.js.map