nexus-agents 6.0.0 → 6.0.2

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 (124) hide show
  1. package/dist/{child-mcp-config-PIZSE56V.js → child-mcp-config-IWSFAWKW.js} +2 -2
  2. package/dist/{chunk-5VP6WPEI.js → chunk-27CHC2RT.js} +2 -2
  3. package/dist/{chunk-GFDE5IAZ.js → chunk-36BLV4HK.js} +3 -3
  4. package/dist/{chunk-2I5BBD6U.js → chunk-4B54LFAT.js} +5 -5
  5. package/dist/{chunk-OOGKQTDN.js → chunk-6ME3ITZE.js} +2 -2
  6. package/dist/{chunk-SISWLSYJ.js → chunk-AO7YLNND.js} +3 -3
  7. package/dist/{chunk-GROTZV5O.js → chunk-AUJKMEEX.js} +8 -8
  8. package/dist/{chunk-FDWB4PUV.js → chunk-BUA6XJYA.js} +2 -2
  9. package/dist/{chunk-SY54YKTT.js → chunk-CLCZ4OSN.js} +2 -2
  10. package/dist/{chunk-GTMJPNPR.js → chunk-CLNF77U7.js} +2 -2
  11. package/dist/{chunk-ROCFIXAK.js → chunk-DRVMOA3O.js} +2 -2
  12. package/dist/{chunk-OCFY37TZ.js → chunk-DSCUFZOH.js} +2 -2
  13. package/dist/{chunk-K4OBRS4D.js → chunk-FLZ4HLEX.js} +2 -2
  14. package/dist/{chunk-GSK2JRVW.js → chunk-GMJEGWDI.js} +8 -8
  15. package/dist/{chunk-Q36RQS7J.js → chunk-H6RKH6WM.js} +3 -3
  16. package/dist/{chunk-5MQPSHIG.js → chunk-HFYSK6QJ.js} +7 -7
  17. package/dist/{chunk-FWBR6DZO.js → chunk-KSB7BA4I.js} +2 -2
  18. package/dist/{chunk-XH5DP2FT.js → chunk-LK3EGTKJ.js} +44 -38
  19. package/dist/{chunk-XH5DP2FT.js.map → chunk-LK3EGTKJ.js.map} +1 -1
  20. package/dist/{chunk-6OPLDOJG.js → chunk-LX5IYPWT.js} +7 -6
  21. package/dist/chunk-LX5IYPWT.js.map +1 -0
  22. package/dist/{chunk-P7IHQSCC.js → chunk-MLDDCRER.js} +4 -4
  23. package/dist/{chunk-ZXTOZ7B3.js → chunk-MUEJPAGI.js} +6 -6
  24. package/dist/{chunk-NDVKXAK5.js → chunk-NBXWLWON.js} +2 -2
  25. package/dist/{chunk-VX6VNBCU.js → chunk-OX7EEJRF.js} +4 -4
  26. package/dist/{chunk-CVQVFAS2.js → chunk-PHVAHFGS.js} +4 -4
  27. package/dist/{chunk-R66FJKP4.js → chunk-QSXXNGHT.js} +5 -5
  28. package/dist/{chunk-TIOXRJK3.js → chunk-QXUR4YUG.js} +2 -2
  29. package/dist/{chunk-JOY5IRVR.js → chunk-RMZPEV7T.js} +2 -2
  30. package/dist/{chunk-AS4B7KCT.js → chunk-UEE5Q7NZ.js} +2 -2
  31. package/dist/{chunk-BGGS3PH2.js → chunk-Y5FOSK35.js} +2 -2
  32. package/dist/{chunk-FU45UMX5.js → chunk-YJF46WLY.js} +2 -2
  33. package/dist/{chunk-F67CLL5B.js → chunk-YXBG5QEM.js} +2 -2
  34. package/dist/{chunk-2GS3AKCN.js → chunk-Z7RDLA4Y.js} +7 -7
  35. package/dist/chunk-ZIMYE4FB.js +7 -0
  36. package/dist/{chunk-TC2QG4U3.js → chunk-ZRFL3DXX.js} +4 -4
  37. package/dist/{cli-circuit-breaker-YEQKBXCN.js → cli-circuit-breaker-4RVYA7PH.js} +3 -3
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-7D45ZSSG.js → composite-router-F7XYQ7CQ.js} +2 -2
  40. package/dist/{consensus-vote-LXBNSGSX.js → consensus-vote-AGMVHSZB.js} +17 -17
  41. package/dist/{context-retriever-3R3BWMEW.js → context-retriever-NSVQPXT5.js} +8 -8
  42. package/dist/{doctor-deep-ECI74ALB.js → doctor-deep-PJZP7TJS.js} +3 -3
  43. package/dist/{doctor-live-OBEZKBNU.js → doctor-live-LDTTQLNF.js} +9 -9
  44. package/dist/{expert-bridge-XIFIEXQM.js → expert-bridge-LEXXNSTY.js} +4 -4
  45. package/dist/{factory-3T6NTUDH.js → factory-KY34GTK6.js} +9 -9
  46. package/dist/{factory-2TN6OVWR.js → factory-VA3WWJB5.js} +5 -5
  47. package/dist/{improvement-review-Z4SWFI6J.js → improvement-review-NUP44BIB.js} +6 -6
  48. package/dist/index.d.ts +0 -4
  49. package/dist/index.js +31 -31
  50. package/dist/{init-opencode-SIT4DIQ4.js → init-opencode-TCVCZFTB.js} +6 -6
  51. package/dist/issue-triage-XRYQL5HZ.js +17 -0
  52. package/dist/{pr-reviewer-helpers-NL7YXDAO.js → pr-reviewer-helpers-4C4GKDEU.js} +4 -4
  53. package/dist/{registry-command-UBUAESO2.js → registry-command-GLKF6USW.js} +2 -2
  54. package/dist/{repo-security-plan-MK3OFGIC.js → repo-security-plan-XAOIZOMP.js} +3 -3
  55. package/dist/{research-helpers-synthesize-UZGA2H5E.js → research-helpers-synthesize-ULEA7TQG.js} +4 -4
  56. package/dist/{routing-memory-GSOJXKYR.js → routing-memory-IRHKYUZA.js} +2 -2
  57. package/dist/{session-memory-QK544BZF.js → session-memory-WDYRPZV2.js} +3 -3
  58. package/dist/{setup-config-AXDZQQZD.js → setup-config-TAV64QON.js} +3 -3
  59. package/dist/{setup-custom-api-JNLX5DPO.js → setup-custom-api-PTLWT7QX.js} +4 -4
  60. package/dist/setup-data-dir-XSVCUFJF.js +29 -0
  61. package/dist/{tool-memory-DYW3QKJZ.js → tool-memory-L4GEPIYU.js} +5 -5
  62. package/dist/{unified-registry-ZRG3SO3X.js → unified-registry-TSLD6KHS.js} +10 -10
  63. package/dist/{weather-report-JQGPC6ZC.js → weather-report-VY3S6KVG.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-24DD6LHX.js +0 -7
  66. package/dist/chunk-6OPLDOJG.js.map +0 -1
  67. package/dist/issue-triage-42TGOOZX.js +0 -17
  68. package/dist/setup-data-dir-ATOGPGNV.js +0 -29
  69. /package/dist/{child-mcp-config-PIZSE56V.js.map → child-mcp-config-IWSFAWKW.js.map} +0 -0
  70. /package/dist/{chunk-5VP6WPEI.js.map → chunk-27CHC2RT.js.map} +0 -0
  71. /package/dist/{chunk-GFDE5IAZ.js.map → chunk-36BLV4HK.js.map} +0 -0
  72. /package/dist/{chunk-2I5BBD6U.js.map → chunk-4B54LFAT.js.map} +0 -0
  73. /package/dist/{chunk-OOGKQTDN.js.map → chunk-6ME3ITZE.js.map} +0 -0
  74. /package/dist/{chunk-SISWLSYJ.js.map → chunk-AO7YLNND.js.map} +0 -0
  75. /package/dist/{chunk-GROTZV5O.js.map → chunk-AUJKMEEX.js.map} +0 -0
  76. /package/dist/{chunk-FDWB4PUV.js.map → chunk-BUA6XJYA.js.map} +0 -0
  77. /package/dist/{chunk-SY54YKTT.js.map → chunk-CLCZ4OSN.js.map} +0 -0
  78. /package/dist/{chunk-GTMJPNPR.js.map → chunk-CLNF77U7.js.map} +0 -0
  79. /package/dist/{chunk-ROCFIXAK.js.map → chunk-DRVMOA3O.js.map} +0 -0
  80. /package/dist/{chunk-OCFY37TZ.js.map → chunk-DSCUFZOH.js.map} +0 -0
  81. /package/dist/{chunk-K4OBRS4D.js.map → chunk-FLZ4HLEX.js.map} +0 -0
  82. /package/dist/{chunk-GSK2JRVW.js.map → chunk-GMJEGWDI.js.map} +0 -0
  83. /package/dist/{chunk-Q36RQS7J.js.map → chunk-H6RKH6WM.js.map} +0 -0
  84. /package/dist/{chunk-5MQPSHIG.js.map → chunk-HFYSK6QJ.js.map} +0 -0
  85. /package/dist/{chunk-FWBR6DZO.js.map → chunk-KSB7BA4I.js.map} +0 -0
  86. /package/dist/{chunk-P7IHQSCC.js.map → chunk-MLDDCRER.js.map} +0 -0
  87. /package/dist/{chunk-ZXTOZ7B3.js.map → chunk-MUEJPAGI.js.map} +0 -0
  88. /package/dist/{chunk-NDVKXAK5.js.map → chunk-NBXWLWON.js.map} +0 -0
  89. /package/dist/{chunk-VX6VNBCU.js.map → chunk-OX7EEJRF.js.map} +0 -0
  90. /package/dist/{chunk-CVQVFAS2.js.map → chunk-PHVAHFGS.js.map} +0 -0
  91. /package/dist/{chunk-R66FJKP4.js.map → chunk-QSXXNGHT.js.map} +0 -0
  92. /package/dist/{chunk-TIOXRJK3.js.map → chunk-QXUR4YUG.js.map} +0 -0
  93. /package/dist/{chunk-JOY5IRVR.js.map → chunk-RMZPEV7T.js.map} +0 -0
  94. /package/dist/{chunk-AS4B7KCT.js.map → chunk-UEE5Q7NZ.js.map} +0 -0
  95. /package/dist/{chunk-BGGS3PH2.js.map → chunk-Y5FOSK35.js.map} +0 -0
  96. /package/dist/{chunk-FU45UMX5.js.map → chunk-YJF46WLY.js.map} +0 -0
  97. /package/dist/{chunk-F67CLL5B.js.map → chunk-YXBG5QEM.js.map} +0 -0
  98. /package/dist/{chunk-2GS3AKCN.js.map → chunk-Z7RDLA4Y.js.map} +0 -0
  99. /package/dist/{chunk-24DD6LHX.js.map → chunk-ZIMYE4FB.js.map} +0 -0
  100. /package/dist/{chunk-TC2QG4U3.js.map → chunk-ZRFL3DXX.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-YEQKBXCN.js.map → cli-circuit-breaker-4RVYA7PH.js.map} +0 -0
  102. /package/dist/{composite-router-7D45ZSSG.js.map → composite-router-F7XYQ7CQ.js.map} +0 -0
  103. /package/dist/{consensus-vote-LXBNSGSX.js.map → consensus-vote-AGMVHSZB.js.map} +0 -0
  104. /package/dist/{context-retriever-3R3BWMEW.js.map → context-retriever-NSVQPXT5.js.map} +0 -0
  105. /package/dist/{doctor-deep-ECI74ALB.js.map → doctor-deep-PJZP7TJS.js.map} +0 -0
  106. /package/dist/{doctor-live-OBEZKBNU.js.map → doctor-live-LDTTQLNF.js.map} +0 -0
  107. /package/dist/{expert-bridge-XIFIEXQM.js.map → expert-bridge-LEXXNSTY.js.map} +0 -0
  108. /package/dist/{factory-2TN6OVWR.js.map → factory-KY34GTK6.js.map} +0 -0
  109. /package/dist/{factory-3T6NTUDH.js.map → factory-VA3WWJB5.js.map} +0 -0
  110. /package/dist/{improvement-review-Z4SWFI6J.js.map → improvement-review-NUP44BIB.js.map} +0 -0
  111. /package/dist/{init-opencode-SIT4DIQ4.js.map → init-opencode-TCVCZFTB.js.map} +0 -0
  112. /package/dist/{issue-triage-42TGOOZX.js.map → issue-triage-XRYQL5HZ.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-NL7YXDAO.js.map → pr-reviewer-helpers-4C4GKDEU.js.map} +0 -0
  114. /package/dist/{registry-command-UBUAESO2.js.map → registry-command-GLKF6USW.js.map} +0 -0
  115. /package/dist/{repo-security-plan-MK3OFGIC.js.map → repo-security-plan-XAOIZOMP.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-UZGA2H5E.js.map → research-helpers-synthesize-ULEA7TQG.js.map} +0 -0
  117. /package/dist/{routing-memory-GSOJXKYR.js.map → routing-memory-IRHKYUZA.js.map} +0 -0
  118. /package/dist/{session-memory-QK544BZF.js.map → session-memory-WDYRPZV2.js.map} +0 -0
  119. /package/dist/{setup-config-AXDZQQZD.js.map → setup-config-TAV64QON.js.map} +0 -0
  120. /package/dist/{setup-custom-api-JNLX5DPO.js.map → setup-custom-api-PTLWT7QX.js.map} +0 -0
  121. /package/dist/{setup-data-dir-ATOGPGNV.js.map → setup-data-dir-XSVCUFJF.js.map} +0 -0
  122. /package/dist/{tool-memory-DYW3QKJZ.js.map → tool-memory-L4GEPIYU.js.map} +0 -0
  123. /package/dist/{unified-registry-ZRG3SO3X.js.map → unified-registry-TSLD6KHS.js.map} +0 -0
  124. /package/dist/{weather-report-JQGPC6ZC.js.map → weather-report-VY3S6KVG.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-JOY5IRVR.js";
3
+ } from "./chunk-RMZPEV7T.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-2GS3AKCN.js";
24
+ } from "./chunk-Z7RDLA4Y.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-5MQPSHIG.js";
27
+ } from "./chunk-HFYSK6QJ.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -47,24 +47,24 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-GROTZV5O.js";
50
+ } from "./chunk-AUJKMEEX.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
54
54
  import {
55
55
  normalizeTopicToCanonical,
56
56
  synthesizeResearch
57
- } from "./chunk-GFDE5IAZ.js";
57
+ } from "./chunk-36BLV4HK.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-ZXTOZ7B3.js";
60
+ } from "./chunk-MUEJPAGI.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-FU45UMX5.js";
64
+ } from "./chunk-YJF46WLY.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-SISWLSYJ.js";
67
+ } from "./chunk-AO7YLNND.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -88,18 +88,18 @@ import {
88
88
  withAuditTrail,
89
89
  withProgressHeartbeat,
90
90
  wrapToolWithTimeout
91
- } from "./chunk-CVQVFAS2.js";
91
+ } from "./chunk-PHVAHFGS.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-OOGKQTDN.js";
96
+ } from "./chunk-6ME3ITZE.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-TC2QG4U3.js";
102
+ } from "./chunk-ZRFL3DXX.js";
103
103
  import {
104
104
  IDENTIFIER_RE,
105
105
  LANG_VALUES,
@@ -132,29 +132,29 @@ import {
132
132
  parseRegistry,
133
133
  sourceExistsInRegistry,
134
134
  summarizeContextForPrompt
135
- } from "./chunk-2I5BBD6U.js";
135
+ } from "./chunk-4B54LFAT.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-F67CLL5B.js";
140
+ } from "./chunk-YXBG5QEM.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-FWBR6DZO.js";
144
+ } from "./chunk-KSB7BA4I.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-P7IHQSCC.js";
150
+ } from "./chunk-MLDDCRER.js";
151
151
  import {
152
152
  STOPWORDS,
153
153
  truncateWithInfo
154
154
  } from "./chunk-6T3EPABN.js";
155
155
  import {
156
156
  createSessionMemory
157
- } from "./chunk-OCFY37TZ.js";
157
+ } from "./chunk-DSCUFZOH.js";
158
158
  import {
159
159
  BUILT_IN_EXPERTS,
160
160
  BuiltInExpertTypeSchema,
@@ -172,25 +172,25 @@ import {
172
172
  getAvailableClis,
173
173
  sleep,
174
174
  withTimeout
175
- } from "./chunk-GSK2JRVW.js";
175
+ } from "./chunk-GMJEGWDI.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-ROCFIXAK.js";
181
+ } from "./chunk-DRVMOA3O.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-SY54YKTT.js";
184
+ } from "./chunk-CLCZ4OSN.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-NDVKXAK5.js";
189
+ } from "./chunk-NBXWLWON.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-AS4B7KCT.js";
193
+ } from "./chunk-UEE5Q7NZ.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -214,6 +214,7 @@ import {
214
214
  MCP_TIMEOUTS,
215
215
  ModelCapability,
216
216
  NETWORK_FETCH_TIMEOUT_MS,
217
+ NEUTRAL_BANDIT_FEATURE,
217
218
  NexusError,
218
219
  OrchestratorError,
219
220
  PROMOTED_ROLES,
@@ -294,7 +295,7 @@ import {
294
295
  selectStrategyByManifest,
295
296
  toExpertTaskAnalysisResult,
296
297
  withStep
297
- } from "./chunk-6OPLDOJG.js";
298
+ } from "./chunk-LX5IYPWT.js";
298
299
  import {
299
300
  ensureLearningDir,
300
301
  getMetaOutcomesFile,
@@ -29690,7 +29691,7 @@ function execIdFields(executionId) {
29690
29691
  async function populateUnifiedContextOnState(state, options) {
29691
29692
  const taskCandidate = state["task"];
29692
29693
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29693
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3R3BWMEW.js");
29694
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-NSVQPXT5.js");
29694
29695
  const category = inferTaskCategory2(taskCandidate);
29695
29696
  const executionId = options?.executionId;
29696
29697
  const execFields = execIdFields(executionId);
@@ -45498,7 +45499,7 @@ async function tryIssueTriage(task) {
45498
45499
  try {
45499
45500
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45500
45501
  if (issueMatch === null) return null;
45501
- const { createIssueTriage } = await import("./issue-triage-42TGOOZX.js");
45502
+ const { createIssueTriage } = await import("./issue-triage-XRYQL5HZ.js");
45502
45503
  const triage = createIssueTriage();
45503
45504
  const owner = issueMatch[1] ?? "";
45504
45505
  const num = issueMatch[2] ?? "";
@@ -45526,7 +45527,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45526
45527
  ]);
45527
45528
  async function classifyWithLLM(task) {
45528
45529
  try {
45529
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-XIFIEXQM.js");
45530
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-LEXXNSTY.js");
45530
45531
  const prompt = [
45531
45532
  "Classify this task into exactly one pipeline template.",
45532
45533
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47066,7 +47067,7 @@ var memoryInitPromise = null;
47066
47067
  async function initPipelineMemory() {
47067
47068
  if (cachedMemory !== null) return cachedMemory;
47068
47069
  try {
47069
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QK544BZF.js");
47070
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-WDYRPZV2.js");
47070
47071
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47071
47072
  const mem = createSessionMemory2(getLearningDir());
47072
47073
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47128,7 +47129,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47128
47129
  callRecord(routingMemoryCache);
47129
47130
  return;
47130
47131
  }
47131
- routingMemoryInitPromise ??= import("./routing-memory-GSOJXKYR.js").then(({ createRoutingMemory }) => {
47132
+ routingMemoryInitPromise ??= import("./routing-memory-IRHKYUZA.js").then(({ createRoutingMemory }) => {
47132
47133
  routingMemoryCache ??= createRoutingMemory();
47133
47134
  return routingMemoryCache;
47134
47135
  }).catch((error) => {
@@ -47162,7 +47163,7 @@ ${text}` : "";
47162
47163
  }
47163
47164
  async function getWeatherContext() {
47164
47165
  try {
47165
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JQGPC6ZC.js");
47166
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VY3S6KVG.js");
47166
47167
  const report = generateWeatherReport2({ includeAdaptive: true });
47167
47168
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47168
47169
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47180,7 +47181,7 @@ ${lines}
47180
47181
  }
47181
47182
  async function getMemoryContext(task) {
47182
47183
  try {
47183
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QK544BZF.js");
47184
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-WDYRPZV2.js");
47184
47185
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47185
47186
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47186
47187
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47299,7 +47300,7 @@ ${contextBlock}`;
47299
47300
  const strategy = config.votingStrategy ?? "higher_order";
47300
47301
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47301
47302
  try {
47302
- const { executeVoting } = await import("./consensus-vote-LXBNSGSX.js");
47303
+ const { executeVoting } = await import("./consensus-vote-AGMVHSZB.js");
47303
47304
  const votingResult = await executeVoting(
47304
47305
  {
47305
47306
  proposal: buildVoteProposal(plan, research),
@@ -47738,7 +47739,7 @@ async function searchCodebaseForTask(task) {
47738
47739
  }
47739
47740
  async function queryResearchRegistry(task) {
47740
47741
  try {
47741
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-UZGA2H5E.js");
47742
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ULEA7TQG.js");
47742
47743
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47743
47744
  if (topic === void 0) return null;
47744
47745
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47809,7 +47810,7 @@ function createScanStageWrapper() {
47809
47810
  try {
47810
47811
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47811
47812
  if (slug !== void 0) {
47812
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-MK3OFGIC.js");
47813
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-XAOIZOMP.js");
47813
47814
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47814
47815
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47815
47816
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50479,9 +50480,14 @@ function toBanditContext(decision) {
50479
50480
  contextLengthNormalized: clamp012(a.estimatedTokens / CONTEXT_TOKEN_NORMALIZER),
50480
50481
  isCodeTask: isCode ? 1 : 0,
50481
50482
  isReasoningTask: a.reasoningType === "reasoning" ? clamp012(a.reasoningConfidence) : 0,
50482
- // No budget/urgency signal is available at selection time; left neutral.
50483
- budgetUtilization: 0,
50484
- timePressure: 0
50483
+ // No budget/urgency signal is available at selection time, so both take
50484
+ // the shared neutral (#5284). These were `0`, under this same "left
50485
+ // neutral" comment — but neutral for these features is 0.5, because zero
50486
+ // reads as a claim and because `warmStart` replays at 0.5. Records written
50487
+ // at 0 also let the bandit tell shadow-selector origin from live-router
50488
+ // origin through the feature value alone: accidental signal, not none.
50489
+ budgetUtilization: NEUTRAL_BANDIT_FEATURE,
50490
+ timePressure: NEUTRAL_BANDIT_FEATURE
50485
50491
  };
50486
50492
  }
50487
50493
  function createLearnedStrategySelector() {
@@ -50948,7 +50954,7 @@ var GitHubTaskTracker = class {
50948
50954
  cachedProvider = null;
50949
50955
  async getProvider() {
50950
50956
  if (this.cachedProvider !== null) return this.cachedProvider;
50951
- const { createScmProvider } = await import("./factory-2TN6OVWR.js");
50957
+ const { createScmProvider } = await import("./factory-VA3WWJB5.js");
50952
50958
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
50953
50959
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
50954
50960
  this.cachedProvider = result.value;
@@ -51863,7 +51869,7 @@ async function probeSource(source, includeModelIds) {
51863
51869
  }
51864
51870
  }
51865
51871
  async function defaultSources(includeOpenRouter) {
51866
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-3T6NTUDH.js");
51872
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-KY34GTK6.js");
51867
51873
  const adapters = createAllAdapters2();
51868
51874
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51869
51875
  }
@@ -55935,4 +55941,4 @@ export {
55935
55941
  shutdownFeedbackSubscriber,
55936
55942
  createEventBusBridge
55937
55943
  };
55938
- //# sourceMappingURL=chunk-XH5DP2FT.js.map
55944
+ //# sourceMappingURL=chunk-LK3EGTKJ.js.map