nexus-agents 2.175.0 → 2.176.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 (122) hide show
  1. package/dist/{child-mcp-config-XD4ODQJW.js → child-mcp-config-HPWYQFLG.js} +2 -2
  2. package/dist/{chunk-QDYZCME4.js → chunk-2AFKZAXN.js} +35 -35
  3. package/dist/{chunk-KNIHV2UA.js → chunk-2DE5L734.js} +2 -2
  4. package/dist/{chunk-AHJYZNQU.js → chunk-46XEDJRB.js} +2 -2
  5. package/dist/{chunk-MTVSYN4U.js → chunk-4OPEUDHY.js} +8 -8
  6. package/dist/{chunk-CFZGSZEX.js → chunk-4S6S6S2S.js} +2 -2
  7. package/dist/{chunk-G4HDWPDT.js → chunk-5ALUADB6.js} +2 -2
  8. package/dist/{chunk-Z4BSY2MW.js → chunk-5LTRHNOI.js} +3 -3
  9. package/dist/{chunk-PBWM7MFA.js → chunk-5YXHHEAG.js} +5 -5
  10. package/dist/{chunk-67ZQSIGP.js → chunk-7TXEBDRM.js} +2 -2
  11. package/dist/{chunk-IZS3BWQB.js → chunk-CGD63GSC.js} +5 -5
  12. package/dist/{chunk-YAJ4XUD2.js → chunk-CNHPSIHY.js} +13 -8
  13. package/dist/chunk-CNHPSIHY.js.map +1 -0
  14. package/dist/{chunk-LZ2ATWVV.js → chunk-ECBV4JNL.js} +2 -2
  15. package/dist/{chunk-67CGSBQW.js → chunk-G42V4A5Q.js} +2 -2
  16. package/dist/{chunk-QY5CJKNS.js → chunk-G5URP3V7.js} +7 -7
  17. package/dist/{chunk-D7S4ZZS6.js → chunk-J4BGV5VE.js} +2 -2
  18. package/dist/{chunk-5Y4RWZ3M.js → chunk-J55NMZ7R.js} +2 -2
  19. package/dist/{chunk-EY6CGIGS.js → chunk-JGL5HYZL.js} +3 -3
  20. package/dist/{chunk-FFVDD6MS.js → chunk-JRKF4FYO.js} +2 -2
  21. package/dist/{chunk-QDPGKVHH.js → chunk-N3XDPW64.js} +8 -8
  22. package/dist/{chunk-JXJAHGX2.js → chunk-NQU4LNN7.js} +4 -4
  23. package/dist/{chunk-JIJA2RY5.js → chunk-OKERZLJQ.js} +8 -8
  24. package/dist/{chunk-TYLCYSUQ.js → chunk-QI5U2YUL.js} +2 -2
  25. package/dist/{chunk-HULJ7IYD.js → chunk-QQ3CUUBU.js} +8 -216
  26. package/dist/chunk-QQ3CUUBU.js.map +1 -0
  27. package/dist/{chunk-ZUOQBQN7.js → chunk-TZMZNAC2.js} +5 -5
  28. package/dist/{chunk-FSVJJBIK.js → chunk-U5CV76ZW.js} +2 -2
  29. package/dist/{chunk-4OZPWLKY.js → chunk-WMV2CXBB.js} +2 -2
  30. package/dist/{chunk-CXF5KR7V.js → chunk-WT4BJODZ.js} +5 -5
  31. package/dist/{chunk-DALN2VV4.js → chunk-XAWRBQB7.js} +3 -3
  32. package/dist/{chunk-QCWBPQF2.js → chunk-XES5DPHV.js} +3 -3
  33. package/dist/{chunk-GL4WGBKE.js → chunk-XZJU6WLL.js} +4 -4
  34. package/dist/{chunk-C7TM6GM7.js → chunk-YB4QE7MD.js} +2 -2
  35. package/dist/{chunk-QJ2Z6SMD.js → chunk-YU2JCUM7.js} +2 -2
  36. package/dist/{chunk-OM2NE5EZ.js → chunk-Z55WHIRU.js} +2 -2
  37. package/dist/{cli-circuit-breaker-UVYGXMC3.js → cli-circuit-breaker-PJOQTGFZ.js} +3 -3
  38. package/dist/cli.js +40 -40
  39. package/dist/{composite-router-RMZL4257.js → composite-router-IRXFQSB6.js} +2 -2
  40. package/dist/{consensus-vote-REULZA53.js → consensus-vote-O6Q266QE.js} +16 -16
  41. package/dist/{context-retriever-RZZWVBOR.js → context-retriever-GO6ET3MF.js} +8 -8
  42. package/dist/{doctor-deep-HV4TJTJV.js → doctor-deep-6HCHHMRP.js} +3 -3
  43. package/dist/{expert-bridge-ET6VC2JL.js → expert-bridge-6OLG6THF.js} +4 -4
  44. package/dist/{factory-KQML5DIT.js → factory-7OM526WB.js} +9 -9
  45. package/dist/{factory-2VRY5UT7.js → factory-MJFGYMNE.js} +5 -5
  46. package/dist/{improvement-review-33RKE6ZV.js → improvement-review-PALAAG7V.js} +5 -5
  47. package/dist/index.d.ts +19 -137
  48. package/dist/index.js +32 -36
  49. package/dist/index.js.map +1 -1
  50. package/dist/{init-opencode-H4KHTVI6.js → init-opencode-NUMHNVIF.js} +6 -6
  51. package/dist/{issue-triage-3WQXLNRD.js → issue-triage-N7GFXNPY.js} +6 -6
  52. package/dist/{pr-reviewer-helpers-NMOXAE4O.js → pr-reviewer-helpers-6EIUJPXS.js} +4 -4
  53. package/dist/{registry-command-ZV7WMEYO.js → registry-command-SVTX7FKB.js} +2 -2
  54. package/dist/{repo-security-plan-U6SMBTSU.js → repo-security-plan-AT7LOXLG.js} +3 -3
  55. package/dist/{research-helpers-synthesize-IUIZIZTV.js → research-helpers-synthesize-R722YWRS.js} +4 -4
  56. package/dist/{routing-memory-7EFOXSIE.js → routing-memory-4FXQT5H6.js} +2 -2
  57. package/dist/{session-memory-IFVVJ2YP.js → session-memory-ZQJ6AUSQ.js} +3 -3
  58. package/dist/{setup-command-K2VBZISN.js → setup-command-R4TEAZKR.js} +14 -14
  59. package/dist/{setup-config-GA2YVE4R.js → setup-config-MYLZ2UHR.js} +3 -3
  60. package/dist/{setup-custom-api-E7V4XEKX.js → setup-custom-api-WZPLTGRQ.js} +4 -4
  61. package/dist/{tool-memory-ZJ5WR3DL.js → tool-memory-5REJXBCB.js} +5 -5
  62. package/dist/unified-registry-FM3QB2VN.js +26 -0
  63. package/dist/{weather-report-MMOOGRWG.js → weather-report-Y2GYJA6I.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-HULJ7IYD.js.map +0 -1
  66. package/dist/chunk-YAJ4XUD2.js.map +0 -1
  67. package/dist/unified-registry-56JY5W3B.js +0 -28
  68. /package/dist/{child-mcp-config-XD4ODQJW.js.map → child-mcp-config-HPWYQFLG.js.map} +0 -0
  69. /package/dist/{chunk-QDYZCME4.js.map → chunk-2AFKZAXN.js.map} +0 -0
  70. /package/dist/{chunk-KNIHV2UA.js.map → chunk-2DE5L734.js.map} +0 -0
  71. /package/dist/{chunk-AHJYZNQU.js.map → chunk-46XEDJRB.js.map} +0 -0
  72. /package/dist/{chunk-MTVSYN4U.js.map → chunk-4OPEUDHY.js.map} +0 -0
  73. /package/dist/{chunk-CFZGSZEX.js.map → chunk-4S6S6S2S.js.map} +0 -0
  74. /package/dist/{chunk-G4HDWPDT.js.map → chunk-5ALUADB6.js.map} +0 -0
  75. /package/dist/{chunk-Z4BSY2MW.js.map → chunk-5LTRHNOI.js.map} +0 -0
  76. /package/dist/{chunk-PBWM7MFA.js.map → chunk-5YXHHEAG.js.map} +0 -0
  77. /package/dist/{chunk-67ZQSIGP.js.map → chunk-7TXEBDRM.js.map} +0 -0
  78. /package/dist/{chunk-IZS3BWQB.js.map → chunk-CGD63GSC.js.map} +0 -0
  79. /package/dist/{chunk-LZ2ATWVV.js.map → chunk-ECBV4JNL.js.map} +0 -0
  80. /package/dist/{chunk-67CGSBQW.js.map → chunk-G42V4A5Q.js.map} +0 -0
  81. /package/dist/{chunk-QY5CJKNS.js.map → chunk-G5URP3V7.js.map} +0 -0
  82. /package/dist/{chunk-D7S4ZZS6.js.map → chunk-J4BGV5VE.js.map} +0 -0
  83. /package/dist/{chunk-5Y4RWZ3M.js.map → chunk-J55NMZ7R.js.map} +0 -0
  84. /package/dist/{chunk-EY6CGIGS.js.map → chunk-JGL5HYZL.js.map} +0 -0
  85. /package/dist/{chunk-FFVDD6MS.js.map → chunk-JRKF4FYO.js.map} +0 -0
  86. /package/dist/{chunk-QDPGKVHH.js.map → chunk-N3XDPW64.js.map} +0 -0
  87. /package/dist/{chunk-JXJAHGX2.js.map → chunk-NQU4LNN7.js.map} +0 -0
  88. /package/dist/{chunk-JIJA2RY5.js.map → chunk-OKERZLJQ.js.map} +0 -0
  89. /package/dist/{chunk-TYLCYSUQ.js.map → chunk-QI5U2YUL.js.map} +0 -0
  90. /package/dist/{chunk-ZUOQBQN7.js.map → chunk-TZMZNAC2.js.map} +0 -0
  91. /package/dist/{chunk-FSVJJBIK.js.map → chunk-U5CV76ZW.js.map} +0 -0
  92. /package/dist/{chunk-4OZPWLKY.js.map → chunk-WMV2CXBB.js.map} +0 -0
  93. /package/dist/{chunk-CXF5KR7V.js.map → chunk-WT4BJODZ.js.map} +0 -0
  94. /package/dist/{chunk-DALN2VV4.js.map → chunk-XAWRBQB7.js.map} +0 -0
  95. /package/dist/{chunk-QCWBPQF2.js.map → chunk-XES5DPHV.js.map} +0 -0
  96. /package/dist/{chunk-GL4WGBKE.js.map → chunk-XZJU6WLL.js.map} +0 -0
  97. /package/dist/{chunk-C7TM6GM7.js.map → chunk-YB4QE7MD.js.map} +0 -0
  98. /package/dist/{chunk-QJ2Z6SMD.js.map → chunk-YU2JCUM7.js.map} +0 -0
  99. /package/dist/{chunk-OM2NE5EZ.js.map → chunk-Z55WHIRU.js.map} +0 -0
  100. /package/dist/{cli-circuit-breaker-UVYGXMC3.js.map → cli-circuit-breaker-PJOQTGFZ.js.map} +0 -0
  101. /package/dist/{composite-router-RMZL4257.js.map → composite-router-IRXFQSB6.js.map} +0 -0
  102. /package/dist/{consensus-vote-REULZA53.js.map → consensus-vote-O6Q266QE.js.map} +0 -0
  103. /package/dist/{context-retriever-RZZWVBOR.js.map → context-retriever-GO6ET3MF.js.map} +0 -0
  104. /package/dist/{doctor-deep-HV4TJTJV.js.map → doctor-deep-6HCHHMRP.js.map} +0 -0
  105. /package/dist/{expert-bridge-ET6VC2JL.js.map → expert-bridge-6OLG6THF.js.map} +0 -0
  106. /package/dist/{factory-2VRY5UT7.js.map → factory-7OM526WB.js.map} +0 -0
  107. /package/dist/{factory-KQML5DIT.js.map → factory-MJFGYMNE.js.map} +0 -0
  108. /package/dist/{improvement-review-33RKE6ZV.js.map → improvement-review-PALAAG7V.js.map} +0 -0
  109. /package/dist/{init-opencode-H4KHTVI6.js.map → init-opencode-NUMHNVIF.js.map} +0 -0
  110. /package/dist/{issue-triage-3WQXLNRD.js.map → issue-triage-N7GFXNPY.js.map} +0 -0
  111. /package/dist/{pr-reviewer-helpers-NMOXAE4O.js.map → pr-reviewer-helpers-6EIUJPXS.js.map} +0 -0
  112. /package/dist/{registry-command-ZV7WMEYO.js.map → registry-command-SVTX7FKB.js.map} +0 -0
  113. /package/dist/{repo-security-plan-U6SMBTSU.js.map → repo-security-plan-AT7LOXLG.js.map} +0 -0
  114. /package/dist/{research-helpers-synthesize-IUIZIZTV.js.map → research-helpers-synthesize-R722YWRS.js.map} +0 -0
  115. /package/dist/{routing-memory-7EFOXSIE.js.map → routing-memory-4FXQT5H6.js.map} +0 -0
  116. /package/dist/{session-memory-IFVVJ2YP.js.map → session-memory-ZQJ6AUSQ.js.map} +0 -0
  117. /package/dist/{setup-command-K2VBZISN.js.map → setup-command-R4TEAZKR.js.map} +0 -0
  118. /package/dist/{setup-config-GA2YVE4R.js.map → setup-config-MYLZ2UHR.js.map} +0 -0
  119. /package/dist/{setup-custom-api-E7V4XEKX.js.map → setup-custom-api-WZPLTGRQ.js.map} +0 -0
  120. /package/dist/{tool-memory-ZJ5WR3DL.js.map → tool-memory-5REJXBCB.js.map} +0 -0
  121. /package/dist/{unified-registry-56JY5W3B.js.map → unified-registry-FM3QB2VN.js.map} +0 -0
  122. /package/dist/{weather-report-MMOOGRWG.js.map → weather-report-Y2GYJA6I.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YAF73ZMR.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-YAJ4XUD2.js";
6
+ } from "./chunk-CNHPSIHY.js";
7
7
  import "./chunk-2HUC6NZN.js";
8
8
  import "./chunk-OQLFRJCW.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-XD4ODQJW.js.map
65
+ //# sourceMappingURL=child-mcp-config-HPWYQFLG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-D7S4ZZS6.js";
3
+ } from "./chunk-J4BGV5VE.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -21,10 +21,10 @@ import {
21
21
  DEFAULT_TASK_TTL_MS,
22
22
  DEFAULT_TOOL_RATE_LIMITS,
23
23
  clampTaskTtl
24
- } from "./chunk-JIJA2RY5.js";
24
+ } from "./chunk-OKERZLJQ.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-QY5CJKNS.js";
27
+ } from "./chunk-G5URP3V7.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  abortJob,
@@ -45,21 +45,21 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-MTVSYN4U.js";
48
+ } from "./chunk-4OPEUDHY.js";
49
49
  import {
50
50
  normalizeTopicToCanonical,
51
51
  synthesizeResearch
52
- } from "./chunk-EY6CGIGS.js";
52
+ } from "./chunk-JGL5HYZL.js";
53
53
  import {
54
54
  IssueTriage
55
- } from "./chunk-PBWM7MFA.js";
55
+ } from "./chunk-5YXHHEAG.js";
56
56
  import {
57
57
  resolveEnvMode,
58
58
  sanitizeInput
59
- } from "./chunk-QJ2Z6SMD.js";
59
+ } from "./chunk-YU2JCUM7.js";
60
60
  import {
61
61
  withPrerequisite
62
- } from "./chunk-QCWBPQF2.js";
62
+ } from "./chunk-XES5DPHV.js";
63
63
  import {
64
64
  NOOP_NOTIFIER,
65
65
  RateLimiter,
@@ -82,18 +82,18 @@ import {
82
82
  withAuditTrail,
83
83
  withProgressHeartbeat,
84
84
  wrapToolWithTimeout
85
- } from "./chunk-DALN2VV4.js";
85
+ } from "./chunk-XAWRBQB7.js";
86
86
  import {
87
87
  createAuditTrail,
88
88
  createGraphAuditBridge,
89
89
  emitPipelinePolicyEvent
90
- } from "./chunk-67CGSBQW.js";
90
+ } from "./chunk-G42V4A5Q.js";
91
91
  import {
92
92
  EventTopics,
93
93
  createEvent,
94
94
  getGlobalEventBus,
95
95
  getGlobalRegistry
96
- } from "./chunk-HULJ7IYD.js";
96
+ } from "./chunk-QQ3CUUBU.js";
97
97
  import {
98
98
  IDENTIFIER_RE,
99
99
  LANG_VALUES,
@@ -126,15 +126,15 @@ import {
126
126
  parseRegistry,
127
127
  sourceExistsInRegistry,
128
128
  summarizeContextForPrompt
129
- } from "./chunk-IZS3BWQB.js";
129
+ } from "./chunk-CGD63GSC.js";
130
130
  import {
131
131
  getTokenEnvVars,
132
132
  resolveToken
133
- } from "./chunk-FFVDD6MS.js";
133
+ } from "./chunk-JRKF4FYO.js";
134
134
  import {
135
135
  loadPapersRegistry,
136
136
  loadTechniquesRegistry
137
- } from "./chunk-AHJYZNQU.js";
137
+ } from "./chunk-46XEDJRB.js";
138
138
  import {
139
139
  resolveInsideRoot
140
140
  } from "./chunk-NUBSJGQZ.js";
@@ -143,14 +143,14 @@ import {
143
143
  MemoryImportance,
144
144
  calculateTextJaccardSimilarity,
145
145
  getToolMemory
146
- } from "./chunk-JXJAHGX2.js";
146
+ } from "./chunk-NQU4LNN7.js";
147
147
  import {
148
148
  STOPWORDS,
149
149
  truncateWithInfo
150
150
  } from "./chunk-6T3EPABN.js";
151
151
  import {
152
152
  createSessionMemory
153
- } from "./chunk-FSVJJBIK.js";
153
+ } from "./chunk-U5CV76ZW.js";
154
154
  import {
155
155
  BUILT_IN_EXPERTS,
156
156
  BuiltInExpertTypeSchema,
@@ -168,25 +168,25 @@ import {
168
168
  getAvailableClis,
169
169
  sleep,
170
170
  withTimeout
171
- } from "./chunk-QDPGKVHH.js";
171
+ } from "./chunk-N3XDPW64.js";
172
172
  import {
173
173
  BaseAdapter,
174
174
  createStream,
175
175
  requireApiKey,
176
176
  validateApiKeyPresence
177
- } from "./chunk-TYLCYSUQ.js";
177
+ } from "./chunk-QI5U2YUL.js";
178
178
  import {
179
179
  DEFAULTS
180
- } from "./chunk-4OZPWLKY.js";
180
+ } from "./chunk-WMV2CXBB.js";
181
181
  import {
182
182
  getAvailabilityCache,
183
183
  getCliForModelId,
184
184
  resolveFallback
185
- } from "./chunk-5Y4RWZ3M.js";
185
+ } from "./chunk-J55NMZ7R.js";
186
186
  import {
187
187
  generateHyphenId,
188
188
  generateUUID
189
- } from "./chunk-C7TM6GM7.js";
189
+ } from "./chunk-YB4QE7MD.js";
190
190
  import {
191
191
  AGENT_ROUTER_TIMEOUTS,
192
192
  API_TIMEOUTS,
@@ -283,7 +283,7 @@ import {
283
283
  selectStrategyByManifest,
284
284
  toExpertTaskAnalysisResult,
285
285
  withStep
286
- } from "./chunk-YAJ4XUD2.js";
286
+ } from "./chunk-CNHPSIHY.js";
287
287
  import {
288
288
  ensureLearningDir,
289
289
  getMetaOutcomesFile,
@@ -28344,7 +28344,7 @@ function execIdFields(executionId) {
28344
28344
  async function populateUnifiedContextOnState(state, options) {
28345
28345
  const taskCandidate = state["task"];
28346
28346
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28347
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-RZZWVBOR.js");
28347
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-GO6ET3MF.js");
28348
28348
  const category = inferTaskCategory2(taskCandidate);
28349
28349
  const executionId = options?.executionId;
28350
28350
  const execFields = execIdFields(executionId);
@@ -43879,7 +43879,7 @@ async function tryIssueTriage(task) {
43879
43879
  try {
43880
43880
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43881
43881
  if (issueMatch === null) return null;
43882
- const { createIssueTriage } = await import("./issue-triage-3WQXLNRD.js");
43882
+ const { createIssueTriage } = await import("./issue-triage-N7GFXNPY.js");
43883
43883
  const triage = createIssueTriage();
43884
43884
  const owner = issueMatch[1] ?? "";
43885
43885
  const num = issueMatch[2] ?? "";
@@ -43907,7 +43907,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43907
43907
  ]);
43908
43908
  async function classifyWithLLM(task) {
43909
43909
  try {
43910
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-ET6VC2JL.js");
43910
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-6OLG6THF.js");
43911
43911
  const prompt = [
43912
43912
  "Classify this task into exactly one pipeline template.",
43913
43913
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45548,7 +45548,7 @@ var memoryInitPromise = null;
45548
45548
  async function initPipelineMemory() {
45549
45549
  if (cachedMemory !== null) return cachedMemory;
45550
45550
  try {
45551
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-IFVVJ2YP.js");
45551
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZQJ6AUSQ.js");
45552
45552
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45553
45553
  const mem = createSessionMemory2(getLearningDir());
45554
45554
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45610,7 +45610,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45610
45610
  callRecord(routingMemoryCache);
45611
45611
  return;
45612
45612
  }
45613
- routingMemoryInitPromise ??= import("./routing-memory-7EFOXSIE.js").then(({ createRoutingMemory }) => {
45613
+ routingMemoryInitPromise ??= import("./routing-memory-4FXQT5H6.js").then(({ createRoutingMemory }) => {
45614
45614
  routingMemoryCache ??= createRoutingMemory();
45615
45615
  return routingMemoryCache;
45616
45616
  }).catch((error) => {
@@ -45644,7 +45644,7 @@ ${text}` : "";
45644
45644
  }
45645
45645
  async function getWeatherContext() {
45646
45646
  try {
45647
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-MMOOGRWG.js");
45647
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-Y2GYJA6I.js");
45648
45648
  const report = generateWeatherReport2({ includeAdaptive: true });
45649
45649
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45650
45650
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45662,7 +45662,7 @@ ${lines}
45662
45662
  }
45663
45663
  async function getMemoryContext(task) {
45664
45664
  try {
45665
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-IFVVJ2YP.js");
45665
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZQJ6AUSQ.js");
45666
45666
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45667
45667
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45668
45668
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45777,7 +45777,7 @@ ${contextBlock}`;
45777
45777
  const strategy = config.votingStrategy ?? "higher_order";
45778
45778
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45779
45779
  try {
45780
- const { executeVoting } = await import("./consensus-vote-REULZA53.js");
45780
+ const { executeVoting } = await import("./consensus-vote-O6Q266QE.js");
45781
45781
  const votingResult = await executeVoting(
45782
45782
  {
45783
45783
  proposal: buildVoteProposal(plan, research),
@@ -46218,7 +46218,7 @@ async function searchCodebaseForTask(task) {
46218
46218
  }
46219
46219
  async function queryResearchRegistry(task) {
46220
46220
  try {
46221
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-IUIZIZTV.js");
46221
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-R722YWRS.js");
46222
46222
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46223
46223
  if (topic === void 0) return null;
46224
46224
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46289,7 +46289,7 @@ function createScanStageWrapper() {
46289
46289
  try {
46290
46290
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46291
46291
  if (slug !== void 0) {
46292
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-U6SMBTSU.js");
46292
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-AT7LOXLG.js");
46293
46293
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46294
46294
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46295
46295
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49261,7 +49261,7 @@ var GitHubTaskTracker = class {
49261
49261
  cachedProvider = null;
49262
49262
  async getProvider() {
49263
49263
  if (this.cachedProvider !== null) return this.cachedProvider;
49264
- const { createScmProvider } = await import("./factory-2VRY5UT7.js");
49264
+ const { createScmProvider } = await import("./factory-MJFGYMNE.js");
49265
49265
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49266
49266
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49267
49267
  this.cachedProvider = result.value;
@@ -50103,7 +50103,7 @@ async function probeSource(source, includeModelIds) {
50103
50103
  }
50104
50104
  }
50105
50105
  async function defaultSources(includeOpenRouter) {
50106
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-KQML5DIT.js");
50106
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-7OM526WB.js");
50107
50107
  const adapters = createAllAdapters2();
50108
50108
  return buildDefaultModelSources(adapters, { includeOpenRouter });
50109
50109
  }
@@ -54123,4 +54123,4 @@ export {
54123
54123
  shutdownFeedbackSubscriber,
54124
54124
  createEventBusBridge
54125
54125
  };
54126
- //# sourceMappingURL=chunk-QDYZCME4.js.map
54126
+ //# sourceMappingURL=chunk-2AFKZAXN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-YAJ4XUD2.js";
7
+ } from "./chunk-CNHPSIHY.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-KNIHV2UA.js.map
266
+ //# sourceMappingURL=chunk-2DE5L734.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-YAJ4XUD2.js";
11
+ } from "./chunk-CNHPSIHY.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-AHJYZNQU.js.map
149
+ //# sourceMappingURL=chunk-46XEDJRB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostDetail
3
- } from "./chunk-CFZGSZEX.js";
3
+ } from "./chunk-4S6S6S2S.js";
4
4
  import {
5
5
  DEFAULT_CONSENSUS_CONFIG,
6
6
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -18,20 +18,20 @@ import {
18
18
  toolSuccess,
19
19
  withProgressHeartbeat,
20
20
  wrapToolWithTimeout
21
- } from "./chunk-DALN2VV4.js";
21
+ } from "./chunk-XAWRBQB7.js";
22
22
  import {
23
23
  createEvent,
24
24
  getGlobalRegistry
25
- } from "./chunk-HULJ7IYD.js";
25
+ } from "./chunk-QQ3CUUBU.js";
26
26
  import {
27
27
  getToolMemory
28
- } from "./chunk-JXJAHGX2.js";
28
+ } from "./chunk-NQU4LNN7.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-QDPGKVHH.js";
34
+ } from "./chunk-N3XDPW64.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -60,7 +60,7 @@ import {
60
60
  resolveClassGuardMs,
61
61
  resolveModelIdentitySync,
62
62
  resolveVoteTimeout
63
- } from "./chunk-YAJ4XUD2.js";
63
+ } from "./chunk-CNHPSIHY.js";
64
64
  import {
65
65
  ensureLearningDir,
66
66
  getOutcomesFile
@@ -5926,7 +5926,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5926
5926
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5927
5927
  async function runContrarianCheck(proposal, log) {
5928
5928
  try {
5929
- const { executeExpert } = await import("./expert-bridge-ET6VC2JL.js");
5929
+ const { executeExpert } = await import("./expert-bridge-6OLG6THF.js");
5930
5930
  const prompt = [
5931
5931
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5932
5932
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6453,4 +6453,4 @@ export {
6453
6453
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6454
6454
  registerConsensusVoteTool
6455
6455
  };
6456
- //# sourceMappingURL=chunk-MTVSYN4U.js.map
6456
+ //# sourceMappingURL=chunk-4OPEUDHY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-YAJ4XUD2.js";
3
+ } from "./chunk-CNHPSIHY.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-CFZGSZEX.js.map
127
+ //# sourceMappingURL=chunk-4S6S6S2S.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-YAJ4XUD2.js";
11
+ } from "./chunk-CNHPSIHY.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -540,4 +540,4 @@ export {
540
540
  CliCircuitBreakerIntegration,
541
541
  createCliCircuitBreakerIntegration
542
542
  };
543
- //# sourceMappingURL=chunk-G4HDWPDT.js.map
543
+ //# sourceMappingURL=chunk-5ALUADB6.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-QJ2Z6SMD.js";
12
+ } from "./chunk-YU2JCUM7.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-YAJ4XUD2.js";
16
+ } from "./chunk-CNHPSIHY.js";
17
17
 
18
18
  // src/dogfooding/pr-reviewer-helpers.ts
19
19
  import { randomUUID } from "crypto";
@@ -288,4 +288,4 @@ export {
288
288
  formatReviewComment,
289
289
  createFailedReview
290
290
  };
291
- //# sourceMappingURL=chunk-Z4BSY2MW.js.map
291
+ //# sourceMappingURL=chunk-5LTRHNOI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-KNIHV2UA.js";
4
+ } from "./chunk-2DE5L734.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,17 +11,17 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-QJ2Z6SMD.js";
14
+ } from "./chunk-YU2JCUM7.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-67CGSBQW.js";
17
+ } from "./chunk-G42V4A5Q.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-YAJ4XUD2.js";
24
+ } from "./chunk-CNHPSIHY.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1211,4 +1211,4 @@ export {
1211
1211
  IssueTriage,
1212
1212
  createIssueTriage
1213
1213
  };
1214
- //# sourceMappingURL=chunk-PBWM7MFA.js.map
1214
+ //# sourceMappingURL=chunk-5YXHHEAG.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-YAJ4XUD2.js";
5
+ } from "./chunk-CNHPSIHY.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-67ZQSIGP.js.map
109
+ //# sourceMappingURL=chunk-7TXEBDRM.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-FFVDD6MS.js";
3
+ } from "./chunk-JRKF4FYO.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-AHJYZNQU.js";
10
+ } from "./chunk-46XEDJRB.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-JXJAHGX2.js";
16
+ } from "./chunk-NQU4LNN7.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-YAJ4XUD2.js";
41
+ } from "./chunk-CNHPSIHY.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-IZS3BWQB.js.map
4093
+ //# sourceMappingURL=chunk-CGD63GSC.js.map
@@ -939,7 +939,9 @@ var ErrorCode = {
939
939
  * or a vendor "this model has been deprecated" message. Distinct from
940
940
  * MODEL_UNAVAILABLE (transient 502/503 service overload) — this one
941
941
  * means the model is gone, retry won't help, route to a different id.
942
- * See `withModelNotFoundFallback` for the retire-and-retry primitive.
942
+ * Surfaced to the caller as-is: automatic substitution was removed in
943
+ * #4408 because answering with a model the caller did not request
944
+ * records the substitute's outcome under the requested model's id.
943
945
  */
944
946
  MODEL_NOT_FOUND: "MODEL_NOT_FOUND",
945
947
  MODEL_RATE_LIMITED: "MODEL_RATE_LIMITED",
@@ -1463,7 +1465,10 @@ var DEFAULT_MODEL_CAPABILITIES = {
1463
1465
  id: "openrouter-nemotron-super",
1464
1466
  displayName: "NVIDIA Nemotron 3 Super 120B (free)",
1465
1467
  provider: "openrouter",
1466
- contextWindow: 1e6,
1468
+ // The `:free` SKU serves 262K; the paid `nvidia/nemotron-3-super-120b-a12b`
1469
+ // is the 1M one. Copying the paid variant's headline here made every
1470
+ // context-budgeting consumer overstate capacity by ~4x (#4416).
1471
+ contextWindow: 262144,
1467
1472
  outputModalities: ["text", "structured_json", "code"],
1468
1473
  inputModalities: ["text", "code"],
1469
1474
  toolCapabilities: ["function_calling", "structured_output"],
@@ -2619,7 +2624,7 @@ function setDefaultRegistry(registry) {
2619
2624
  }
2620
2625
  async function reloadDefaultRegistry() {
2621
2626
  globalRegistry = buildDefaultRegistry();
2622
- const { resetGlobalRegistry } = await import("./unified-registry-56JY5W3B.js");
2627
+ const { resetGlobalRegistry } = await import("./unified-registry-FM3QB2VN.js");
2623
2628
  resetGlobalRegistry();
2624
2629
  return globalRegistry;
2625
2630
  }
@@ -14409,7 +14414,7 @@ var CompositeRouter = class _CompositeRouter {
14409
14414
  */
14410
14415
  async consultUnifiedContext(task) {
14411
14416
  try {
14412
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-RZZWVBOR.js");
14417
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-GO6ET3MF.js");
14413
14418
  const ctx = await getContextForTask({
14414
14419
  task: task.content,
14415
14420
  category: inferTaskCategory(task.content),
@@ -15884,9 +15889,6 @@ export {
15884
15889
  createGetCircuitBreakerConfig,
15885
15890
  createGetToolRateLimit,
15886
15891
  createGetEnvVarDocumentation,
15887
- AvailableModelsCache,
15888
- getDefaultAvailableModelsCache,
15889
- setDefaultAvailableModelsCache,
15890
15892
  ModelRegistry,
15891
15893
  getDefaultRegistry,
15892
15894
  setDefaultRegistry,
@@ -15992,6 +15994,9 @@ export {
15992
15994
  getModelWeatherSummary,
15993
15995
  getAdaptiveBonus,
15994
15996
  shouldExplore,
15997
+ AvailableModelsCache,
15998
+ getDefaultAvailableModelsCache,
15999
+ setDefaultAvailableModelsCache,
15995
16000
  ParseError,
15996
16001
  CompositeRouter,
15997
16002
  createCompositeRouter,
@@ -15999,4 +16004,4 @@ export {
15999
16004
  AgentCapability,
16000
16005
  OrchestratorError
16001
16006
  };
16002
- //# sourceMappingURL=chunk-YAJ4XUD2.js.map
16007
+ //# sourceMappingURL=chunk-CNHPSIHY.js.map