nexus-agents 4.14.2 → 4.14.4

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 (121) hide show
  1. package/dist/{child-mcp-config-FNVCS5MQ.js → child-mcp-config-PUH4BWWV.js} +2 -2
  2. package/dist/{chunk-WCRXZJRW.js → chunk-34MDEYMO.js} +35 -35
  3. package/dist/{chunk-VE3PAJ5M.js → chunk-3GMSD7QD.js} +2 -2
  4. package/dist/{chunk-FFMDYBGA.js → chunk-3MQPNK7A.js} +2 -2
  5. package/dist/{chunk-EEJFMRHJ.js → chunk-3QK3NL2A.js} +2 -2
  6. package/dist/{chunk-GT5B35X3.js → chunk-4EMTJ747.js} +2 -2
  7. package/dist/{chunk-H7LRUN27.js → chunk-4KL5VYS5.js} +4 -4
  8. package/dist/{chunk-VLDYF7EQ.js → chunk-4SBTLUBH.js} +2 -2
  9. package/dist/{chunk-6JEPV4XW.js → chunk-7PW4O3ES.js} +2 -2
  10. package/dist/{chunk-CHRJKE7S.js → chunk-B6MD66KN.js} +2 -2
  11. package/dist/{chunk-JD4HTIMG.js → chunk-CW2NCLQE.js} +7 -7
  12. package/dist/{chunk-JPA3GAWT.js → chunk-DRBDJI52.js} +2 -2
  13. package/dist/{chunk-GEOALLHA.js → chunk-DUARRP4H.js} +3 -3
  14. package/dist/{chunk-GFCCNGI7.js → chunk-E3G7VHE4.js} +8 -8
  15. package/dist/{chunk-LLVEIPOZ.js → chunk-EGUVF5UR.js} +7 -7
  16. package/dist/chunk-EGUVF5UR.js.map +1 -0
  17. package/dist/{chunk-BLJY4YKP.js → chunk-HS76VMIM.js} +3 -3
  18. package/dist/{chunk-ED47MBY5.js → chunk-IBOAFI5I.js} +4 -4
  19. package/dist/{chunk-E536V52C.js → chunk-IGCNQFTF.js} +2 -2
  20. package/dist/{chunk-SQUEE5ZA.js → chunk-JZLCKWFX.js} +3 -3
  21. package/dist/{chunk-T5WQAYX2.js → chunk-KMCSSHM2.js} +2 -2
  22. package/dist/{chunk-UZRVS7MK.js → chunk-KYOUTMHF.js} +5 -5
  23. package/dist/{chunk-2RSNO5SP.js → chunk-LLOA4BJC.js} +3 -3
  24. package/dist/{chunk-NX5VK5NW.js → chunk-OOMSRNWC.js} +45 -12
  25. package/dist/chunk-OOMSRNWC.js.map +1 -0
  26. package/dist/{chunk-CPRPZPX7.js → chunk-OW7EDMRI.js} +2 -2
  27. package/dist/{chunk-MU7J7D5Q.js → chunk-P2ZLNRAY.js} +2 -2
  28. package/dist/{chunk-VFGP57F5.js → chunk-P4GNAWFP.js} +2 -2
  29. package/dist/{chunk-LWR2K2VM.js → chunk-PDJYEEDT.js} +2 -2
  30. package/dist/{chunk-XT4J7QAO.js → chunk-PFGDOY3E.js} +8 -8
  31. package/dist/{chunk-WMSWVHFZ.js → chunk-PZXOE4T4.js} +7 -7
  32. package/dist/{chunk-HJK5RZBX.js → chunk-VRR2P2RZ.js} +6 -6
  33. package/dist/{chunk-NOROX25U.js → chunk-WDEYLEYM.js} +4 -4
  34. package/dist/{chunk-L6QLJ4VK.js → chunk-WGTTKU7Q.js} +2 -2
  35. package/dist/{chunk-WHOODKBB.js → chunk-Y2M7ZFJV.js} +3 -3
  36. package/dist/{cli-circuit-breaker-A7GM4LXS.js → cli-circuit-breaker-H2SNPFLT.js} +3 -3
  37. package/dist/cli.js +40 -40
  38. package/dist/{composite-router-SVZA4OCQ.js → composite-router-MAPZI6UI.js} +2 -2
  39. package/dist/{consensus-vote-7HGSTZKF.js → consensus-vote-OVTUGDCR.js} +16 -16
  40. package/dist/{context-retriever-QTASR42L.js → context-retriever-4REWEFLR.js} +8 -8
  41. package/dist/{doctor-deep-NBDOSO4E.js → doctor-deep-NQ65BXFO.js} +3 -3
  42. package/dist/{doctor-live-HZWIMIT6.js → doctor-live-4W33VSGH.js} +9 -9
  43. package/dist/{expert-bridge-GY7RL4DF.js → expert-bridge-66WOTNQH.js} +4 -4
  44. package/dist/{factory-4FZ5FPZW.js → factory-4TMS4XW6.js} +5 -5
  45. package/dist/{factory-73NHOTVL.js → factory-SIKYCUNR.js} +9 -9
  46. package/dist/{improvement-review-ZF3VHZEG.js → improvement-review-VRTOAOE7.js} +5 -5
  47. package/dist/index.js +30 -30
  48. package/dist/{init-opencode-EOCW7P4L.js → init-opencode-HCXILEU5.js} +6 -6
  49. package/dist/issue-triage-VQESU3EZ.js +17 -0
  50. package/dist/{pr-reviewer-helpers-KOE3X72Y.js → pr-reviewer-helpers-VVE3VB7N.js} +4 -4
  51. package/dist/{registry-command-7ZENMDK4.js → registry-command-ALJSLMJM.js} +2 -2
  52. package/dist/{repo-security-plan-PCHVMGHX.js → repo-security-plan-S55LYI32.js} +3 -3
  53. package/dist/{research-helpers-synthesize-KTVQVLII.js → research-helpers-synthesize-IFLQQR66.js} +4 -4
  54. package/dist/{routing-memory-QTBLYGMC.js → routing-memory-AZJGKBKY.js} +2 -2
  55. package/dist/{session-memory-S7L4K5R5.js → session-memory-CTP4KZ7Z.js} +3 -3
  56. package/dist/{setup-config-7SWEJXN4.js → setup-config-VJ3VMHSH.js} +3 -3
  57. package/dist/{setup-custom-api-WYXYQMQF.js → setup-custom-api-AANCSCUJ.js} +4 -4
  58. package/dist/setup-data-dir-JLGQJWCZ.js +28 -0
  59. package/dist/{tool-memory-PSQQ4NYD.js → tool-memory-EOBZXBNG.js} +5 -5
  60. package/dist/{unified-registry-UEDZXMH3.js → unified-registry-GV3556TC.js} +10 -10
  61. package/dist/{weather-report-CKEPMK5R.js → weather-report-27ILYGAK.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/chunk-LLVEIPOZ.js.map +0 -1
  64. package/dist/chunk-NX5VK5NW.js.map +0 -1
  65. package/dist/issue-triage-L6UDFHF4.js +0 -17
  66. package/dist/setup-data-dir-EMXRXEFQ.js +0 -28
  67. /package/dist/{child-mcp-config-FNVCS5MQ.js.map → child-mcp-config-PUH4BWWV.js.map} +0 -0
  68. /package/dist/{chunk-WCRXZJRW.js.map → chunk-34MDEYMO.js.map} +0 -0
  69. /package/dist/{chunk-VE3PAJ5M.js.map → chunk-3GMSD7QD.js.map} +0 -0
  70. /package/dist/{chunk-FFMDYBGA.js.map → chunk-3MQPNK7A.js.map} +0 -0
  71. /package/dist/{chunk-EEJFMRHJ.js.map → chunk-3QK3NL2A.js.map} +0 -0
  72. /package/dist/{chunk-GT5B35X3.js.map → chunk-4EMTJ747.js.map} +0 -0
  73. /package/dist/{chunk-H7LRUN27.js.map → chunk-4KL5VYS5.js.map} +0 -0
  74. /package/dist/{chunk-VLDYF7EQ.js.map → chunk-4SBTLUBH.js.map} +0 -0
  75. /package/dist/{chunk-6JEPV4XW.js.map → chunk-7PW4O3ES.js.map} +0 -0
  76. /package/dist/{chunk-CHRJKE7S.js.map → chunk-B6MD66KN.js.map} +0 -0
  77. /package/dist/{chunk-JD4HTIMG.js.map → chunk-CW2NCLQE.js.map} +0 -0
  78. /package/dist/{chunk-JPA3GAWT.js.map → chunk-DRBDJI52.js.map} +0 -0
  79. /package/dist/{chunk-GEOALLHA.js.map → chunk-DUARRP4H.js.map} +0 -0
  80. /package/dist/{chunk-GFCCNGI7.js.map → chunk-E3G7VHE4.js.map} +0 -0
  81. /package/dist/{chunk-BLJY4YKP.js.map → chunk-HS76VMIM.js.map} +0 -0
  82. /package/dist/{chunk-ED47MBY5.js.map → chunk-IBOAFI5I.js.map} +0 -0
  83. /package/dist/{chunk-E536V52C.js.map → chunk-IGCNQFTF.js.map} +0 -0
  84. /package/dist/{chunk-SQUEE5ZA.js.map → chunk-JZLCKWFX.js.map} +0 -0
  85. /package/dist/{chunk-T5WQAYX2.js.map → chunk-KMCSSHM2.js.map} +0 -0
  86. /package/dist/{chunk-UZRVS7MK.js.map → chunk-KYOUTMHF.js.map} +0 -0
  87. /package/dist/{chunk-2RSNO5SP.js.map → chunk-LLOA4BJC.js.map} +0 -0
  88. /package/dist/{chunk-CPRPZPX7.js.map → chunk-OW7EDMRI.js.map} +0 -0
  89. /package/dist/{chunk-MU7J7D5Q.js.map → chunk-P2ZLNRAY.js.map} +0 -0
  90. /package/dist/{chunk-VFGP57F5.js.map → chunk-P4GNAWFP.js.map} +0 -0
  91. /package/dist/{chunk-LWR2K2VM.js.map → chunk-PDJYEEDT.js.map} +0 -0
  92. /package/dist/{chunk-XT4J7QAO.js.map → chunk-PFGDOY3E.js.map} +0 -0
  93. /package/dist/{chunk-WMSWVHFZ.js.map → chunk-PZXOE4T4.js.map} +0 -0
  94. /package/dist/{chunk-HJK5RZBX.js.map → chunk-VRR2P2RZ.js.map} +0 -0
  95. /package/dist/{chunk-NOROX25U.js.map → chunk-WDEYLEYM.js.map} +0 -0
  96. /package/dist/{chunk-L6QLJ4VK.js.map → chunk-WGTTKU7Q.js.map} +0 -0
  97. /package/dist/{chunk-WHOODKBB.js.map → chunk-Y2M7ZFJV.js.map} +0 -0
  98. /package/dist/{cli-circuit-breaker-A7GM4LXS.js.map → cli-circuit-breaker-H2SNPFLT.js.map} +0 -0
  99. /package/dist/{composite-router-SVZA4OCQ.js.map → composite-router-MAPZI6UI.js.map} +0 -0
  100. /package/dist/{consensus-vote-7HGSTZKF.js.map → consensus-vote-OVTUGDCR.js.map} +0 -0
  101. /package/dist/{context-retriever-QTASR42L.js.map → context-retriever-4REWEFLR.js.map} +0 -0
  102. /package/dist/{doctor-deep-NBDOSO4E.js.map → doctor-deep-NQ65BXFO.js.map} +0 -0
  103. /package/dist/{doctor-live-HZWIMIT6.js.map → doctor-live-4W33VSGH.js.map} +0 -0
  104. /package/dist/{expert-bridge-GY7RL4DF.js.map → expert-bridge-66WOTNQH.js.map} +0 -0
  105. /package/dist/{factory-4FZ5FPZW.js.map → factory-4TMS4XW6.js.map} +0 -0
  106. /package/dist/{factory-73NHOTVL.js.map → factory-SIKYCUNR.js.map} +0 -0
  107. /package/dist/{improvement-review-ZF3VHZEG.js.map → improvement-review-VRTOAOE7.js.map} +0 -0
  108. /package/dist/{init-opencode-EOCW7P4L.js.map → init-opencode-HCXILEU5.js.map} +0 -0
  109. /package/dist/{issue-triage-L6UDFHF4.js.map → issue-triage-VQESU3EZ.js.map} +0 -0
  110. /package/dist/{pr-reviewer-helpers-KOE3X72Y.js.map → pr-reviewer-helpers-VVE3VB7N.js.map} +0 -0
  111. /package/dist/{registry-command-7ZENMDK4.js.map → registry-command-ALJSLMJM.js.map} +0 -0
  112. /package/dist/{repo-security-plan-PCHVMGHX.js.map → repo-security-plan-S55LYI32.js.map} +0 -0
  113. /package/dist/{research-helpers-synthesize-KTVQVLII.js.map → research-helpers-synthesize-IFLQQR66.js.map} +0 -0
  114. /package/dist/{routing-memory-QTBLYGMC.js.map → routing-memory-AZJGKBKY.js.map} +0 -0
  115. /package/dist/{session-memory-S7L4K5R5.js.map → session-memory-CTP4KZ7Z.js.map} +0 -0
  116. /package/dist/{setup-config-7SWEJXN4.js.map → setup-config-VJ3VMHSH.js.map} +0 -0
  117. /package/dist/{setup-custom-api-WYXYQMQF.js.map → setup-custom-api-AANCSCUJ.js.map} +0 -0
  118. /package/dist/{setup-data-dir-EMXRXEFQ.js.map → setup-data-dir-JLGQJWCZ.js.map} +0 -0
  119. /package/dist/{tool-memory-PSQQ4NYD.js.map → tool-memory-EOBZXBNG.js.map} +0 -0
  120. /package/dist/{unified-registry-UEDZXMH3.js.map → unified-registry-GV3556TC.js.map} +0 -0
  121. /package/dist/{weather-report-CKEPMK5R.js.map → weather-report-27ILYGAK.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RQV5ZUXT.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-2RSNO5SP.js";
6
+ } from "./chunk-LLOA4BJC.js";
7
7
  import "./chunk-HHLCAWAV.js";
8
8
  import "./chunk-NBMWONHE.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-FNVCS5MQ.js.map
65
+ //# sourceMappingURL=child-mcp-config-PUH4BWWV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-EEJFMRHJ.js";
3
+ } from "./chunk-3QK3NL2A.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-WMSWVHFZ.js";
24
+ } from "./chunk-PZXOE4T4.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-JD4HTIMG.js";
27
+ } from "./chunk-CW2NCLQE.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  abortJob,
@@ -45,24 +45,24 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-XT4J7QAO.js";
48
+ } from "./chunk-PFGDOY3E.js";
49
49
  import {
50
50
  allOf
51
51
  } from "./chunk-OQB3XC5O.js";
52
52
  import {
53
53
  normalizeTopicToCanonical,
54
54
  synthesizeResearch
55
- } from "./chunk-WHOODKBB.js";
55
+ } from "./chunk-Y2M7ZFJV.js";
56
56
  import {
57
57
  IssueTriage
58
- } from "./chunk-HJK5RZBX.js";
58
+ } from "./chunk-VRR2P2RZ.js";
59
59
  import {
60
60
  resolveEnvMode,
61
61
  sanitizeInput
62
- } from "./chunk-MU7J7D5Q.js";
62
+ } from "./chunk-P2ZLNRAY.js";
63
63
  import {
64
64
  withPrerequisite
65
- } from "./chunk-SQUEE5ZA.js";
65
+ } from "./chunk-JZLCKWFX.js";
66
66
  import {
67
67
  NOOP_NOTIFIER,
68
68
  RateLimiter,
@@ -86,18 +86,18 @@ import {
86
86
  withAuditTrail,
87
87
  withProgressHeartbeat,
88
88
  wrapToolWithTimeout
89
- } from "./chunk-GEOALLHA.js";
89
+ } from "./chunk-DUARRP4H.js";
90
90
  import {
91
91
  createAuditTrail,
92
92
  createGraphAuditBridge,
93
93
  emitPipelinePolicyEvent
94
- } from "./chunk-CPRPZPX7.js";
94
+ } from "./chunk-OW7EDMRI.js";
95
95
  import {
96
96
  EventTopics,
97
97
  createEvent,
98
98
  getGlobalEventBus,
99
99
  getGlobalRegistry
100
- } from "./chunk-ED47MBY5.js";
100
+ } from "./chunk-IBOAFI5I.js";
101
101
  import {
102
102
  IDENTIFIER_RE,
103
103
  LANG_VALUES,
@@ -130,29 +130,29 @@ import {
130
130
  parseRegistry,
131
131
  sourceExistsInRegistry,
132
132
  summarizeContextForPrompt
133
- } from "./chunk-LLVEIPOZ.js";
133
+ } from "./chunk-EGUVF5UR.js";
134
134
  import {
135
135
  loadPapersRegistry,
136
136
  loadTechniquesRegistry,
137
137
  resolveInsideRoot
138
- } from "./chunk-VE3PAJ5M.js";
138
+ } from "./chunk-3GMSD7QD.js";
139
139
  import {
140
140
  getTokenEnvVars,
141
141
  resolveToken
142
- } from "./chunk-GT5B35X3.js";
142
+ } from "./chunk-4EMTJ747.js";
143
143
  import {
144
144
  DEFAULT_RELEVANCE_CONFIG,
145
145
  MemoryImportance,
146
146
  calculateTextJaccardSimilarity,
147
147
  getToolMemory
148
- } from "./chunk-H7LRUN27.js";
148
+ } from "./chunk-4KL5VYS5.js";
149
149
  import {
150
150
  STOPWORDS,
151
151
  truncateWithInfo
152
152
  } from "./chunk-6T3EPABN.js";
153
153
  import {
154
154
  createSessionMemory
155
- } from "./chunk-VFGP57F5.js";
155
+ } from "./chunk-P4GNAWFP.js";
156
156
  import {
157
157
  BUILT_IN_EXPERTS,
158
158
  BuiltInExpertTypeSchema,
@@ -170,25 +170,25 @@ import {
170
170
  getAvailableClis,
171
171
  sleep,
172
172
  withTimeout
173
- } from "./chunk-GFCCNGI7.js";
173
+ } from "./chunk-E3G7VHE4.js";
174
174
  import {
175
175
  BaseAdapter,
176
176
  createStream,
177
177
  requireApiKey,
178
178
  validateApiKeyPresence
179
- } from "./chunk-JPA3GAWT.js";
179
+ } from "./chunk-DRBDJI52.js";
180
180
  import {
181
181
  DEFAULTS
182
- } from "./chunk-6JEPV4XW.js";
182
+ } from "./chunk-7PW4O3ES.js";
183
183
  import {
184
184
  getAvailabilityCache,
185
185
  getCliForModelId,
186
186
  resolveFallback
187
- } from "./chunk-T5WQAYX2.js";
187
+ } from "./chunk-KMCSSHM2.js";
188
188
  import {
189
189
  generateHyphenId,
190
190
  generateUUID
191
- } from "./chunk-VLDYF7EQ.js";
191
+ } from "./chunk-4SBTLUBH.js";
192
192
  import {
193
193
  AGENT_ROUTER_TIMEOUTS,
194
194
  API_TIMEOUTS,
@@ -292,7 +292,7 @@ import {
292
292
  selectStrategyByManifest,
293
293
  toExpertTaskAnalysisResult,
294
294
  withStep
295
- } from "./chunk-2RSNO5SP.js";
295
+ } from "./chunk-LLOA4BJC.js";
296
296
  import {
297
297
  ensureLearningDir,
298
298
  getMetaOutcomesFile,
@@ -29473,7 +29473,7 @@ function execIdFields(executionId) {
29473
29473
  async function populateUnifiedContextOnState(state, options) {
29474
29474
  const taskCandidate = state["task"];
29475
29475
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29476
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QTASR42L.js");
29476
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-4REWEFLR.js");
29477
29477
  const category = inferTaskCategory2(taskCandidate);
29478
29478
  const executionId = options?.executionId;
29479
29479
  const execFields = execIdFields(executionId);
@@ -45172,7 +45172,7 @@ async function tryIssueTriage(task) {
45172
45172
  try {
45173
45173
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45174
45174
  if (issueMatch === null) return null;
45175
- const { createIssueTriage } = await import("./issue-triage-L6UDFHF4.js");
45175
+ const { createIssueTriage } = await import("./issue-triage-VQESU3EZ.js");
45176
45176
  const triage = createIssueTriage();
45177
45177
  const owner = issueMatch[1] ?? "";
45178
45178
  const num = issueMatch[2] ?? "";
@@ -45200,7 +45200,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45200
45200
  ]);
45201
45201
  async function classifyWithLLM(task) {
45202
45202
  try {
45203
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-GY7RL4DF.js");
45203
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-66WOTNQH.js");
45204
45204
  const prompt = [
45205
45205
  "Classify this task into exactly one pipeline template.",
45206
45206
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46941,7 +46941,7 @@ var memoryInitPromise = null;
46941
46941
  async function initPipelineMemory() {
46942
46942
  if (cachedMemory !== null) return cachedMemory;
46943
46943
  try {
46944
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-S7L4K5R5.js");
46944
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-CTP4KZ7Z.js");
46945
46945
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
46946
46946
  const mem = createSessionMemory2(getLearningDir());
46947
46947
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47003,7 +47003,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47003
47003
  callRecord(routingMemoryCache);
47004
47004
  return;
47005
47005
  }
47006
- routingMemoryInitPromise ??= import("./routing-memory-QTBLYGMC.js").then(({ createRoutingMemory }) => {
47006
+ routingMemoryInitPromise ??= import("./routing-memory-AZJGKBKY.js").then(({ createRoutingMemory }) => {
47007
47007
  routingMemoryCache ??= createRoutingMemory();
47008
47008
  return routingMemoryCache;
47009
47009
  }).catch((error) => {
@@ -47037,7 +47037,7 @@ ${text}` : "";
47037
47037
  }
47038
47038
  async function getWeatherContext() {
47039
47039
  try {
47040
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-CKEPMK5R.js");
47040
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-27ILYGAK.js");
47041
47041
  const report = generateWeatherReport2({ includeAdaptive: true });
47042
47042
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47043
47043
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47055,7 +47055,7 @@ ${lines}
47055
47055
  }
47056
47056
  async function getMemoryContext(task) {
47057
47057
  try {
47058
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-S7L4K5R5.js");
47058
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-CTP4KZ7Z.js");
47059
47059
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
47060
47060
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47061
47061
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47174,7 +47174,7 @@ ${contextBlock}`;
47174
47174
  const strategy = config.votingStrategy ?? "higher_order";
47175
47175
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47176
47176
  try {
47177
- const { executeVoting } = await import("./consensus-vote-7HGSTZKF.js");
47177
+ const { executeVoting } = await import("./consensus-vote-OVTUGDCR.js");
47178
47178
  const votingResult = await executeVoting(
47179
47179
  {
47180
47180
  proposal: buildVoteProposal(plan, research),
@@ -47613,7 +47613,7 @@ async function searchCodebaseForTask(task) {
47613
47613
  }
47614
47614
  async function queryResearchRegistry(task) {
47615
47615
  try {
47616
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KTVQVLII.js");
47616
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-IFLQQR66.js");
47617
47617
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47618
47618
  if (topic === void 0) return null;
47619
47619
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47684,7 +47684,7 @@ function createScanStageWrapper() {
47684
47684
  try {
47685
47685
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47686
47686
  if (slug !== void 0) {
47687
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-PCHVMGHX.js");
47687
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-S55LYI32.js");
47688
47688
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47689
47689
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47690
47690
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50809,7 +50809,7 @@ var GitHubTaskTracker = class {
50809
50809
  cachedProvider = null;
50810
50810
  async getProvider() {
50811
50811
  if (this.cachedProvider !== null) return this.cachedProvider;
50812
- const { createScmProvider } = await import("./factory-4FZ5FPZW.js");
50812
+ const { createScmProvider } = await import("./factory-4TMS4XW6.js");
50813
50813
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
50814
50814
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
50815
50815
  this.cachedProvider = result.value;
@@ -51700,7 +51700,7 @@ async function probeSource(source, includeModelIds) {
51700
51700
  }
51701
51701
  }
51702
51702
  async function defaultSources(includeOpenRouter) {
51703
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-73NHOTVL.js");
51703
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-SIKYCUNR.js");
51704
51704
  const adapters = createAllAdapters2();
51705
51705
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51706
51706
  }
@@ -55763,4 +55763,4 @@ export {
55763
55763
  shutdownFeedbackSubscriber,
55764
55764
  createEventBusBridge
55765
55765
  };
55766
- //# sourceMappingURL=chunk-WCRXZJRW.js.map
55766
+ //# sourceMappingURL=chunk-34MDEYMO.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-2RSNO5SP.js";
8
+ } from "./chunk-LLOA4BJC.js";
9
9
 
10
10
  // src/cli/research-helpers-io.ts
11
11
  import * as fs2 from "fs/promises";
@@ -156,4 +156,4 @@ export {
156
156
  loadPapersRegistry,
157
157
  savePapersRegistry
158
158
  };
159
- //# sourceMappingURL=chunk-VE3PAJ5M.js.map
159
+ //# sourceMappingURL=chunk-3GMSD7QD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-2RSNO5SP.js";
3
+ } from "./chunk-LLOA4BJC.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-NBMWONHE.js";
@@ -128,4 +128,4 @@ export {
128
128
  loadUsageEvents,
129
129
  rollupByModel
130
130
  };
131
- //# sourceMappingURL=chunk-FFMDYBGA.js.map
131
+ //# sourceMappingURL=chunk-3MQPNK7A.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-2RSNO5SP.js";
7
+ } from "./chunk-LLOA4BJC.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-EEJFMRHJ.js.map
724
+ //# sourceMappingURL=chunk-3QK3NL2A.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-2RSNO5SP.js";
5
+ } from "./chunk-LLOA4BJC.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-GT5B35X3.js.map
90
+ //# sourceMappingURL=chunk-4EMTJ747.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-VFGP57F5.js";
8
+ } from "./chunk-P4GNAWFP.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-VLDYF7EQ.js";
18
+ } from "./chunk-4SBTLUBH.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-2RSNO5SP.js";
31
+ } from "./chunk-LLOA4BJC.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-NBMWONHE.js";
@@ -5550,4 +5550,4 @@ export {
5550
5550
  reinitializeMemoryBackends,
5551
5551
  ToolMemoryManager
5552
5552
  };
5553
- //# sourceMappingURL=chunk-H7LRUN27.js.map
5553
+ //# sourceMappingURL=chunk-4KL5VYS5.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-2RSNO5SP.js";
4
+ } from "./chunk-LLOA4BJC.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-VLDYF7EQ.js.map
27
+ //# sourceMappingURL=chunk-4SBTLUBH.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-2RSNO5SP.js";
14
+ } from "./chunk-LLOA4BJC.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-6JEPV4XW.js.map
233
+ //# sourceMappingURL=chunk-7PW4O3ES.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-2RSNO5SP.js";
7
+ } from "./chunk-LLOA4BJC.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-CHRJKE7S.js.map
266
+ //# sourceMappingURL=chunk-B6MD66KN.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-T5WQAYX2.js";
3
+ } from "./chunk-KMCSSHM2.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-2RSNO5SP.js";
8
+ } from "./chunk-LLOA4BJC.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-FNVCS5MQ.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-PUH4BWWV.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-73NHOTVL.js");
97
- const { createCompositeRouter } = await import("./composite-router-SVZA4OCQ.js");
96
+ const { createAllAdapters } = await import("./factory-SIKYCUNR.js");
97
+ const { createCompositeRouter } = await import("./composite-router-MAPZI6UI.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-A7GM4LXS.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-H2SNPFLT.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-JD4HTIMG.js.map
216
+ //# sourceMappingURL=chunk-CW2NCLQE.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-2RSNO5SP.js";
16
+ } from "./chunk-LLOA4BJC.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-JPA3GAWT.js.map
837
+ //# sourceMappingURL=chunk-DRBDJI52.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  emitClawGuardViolation
3
- } from "./chunk-CPRPZPX7.js";
3
+ } from "./chunk-OW7EDMRI.js";
4
4
  import {
5
5
  CACHE_TIMEOUTS,
6
6
  MCP_TIMEOUTS,
@@ -16,7 +16,7 @@ import {
16
16
  getTimeProvider,
17
17
  ok,
18
18
  resolveToolClassGuardMs
19
- } from "./chunk-2RSNO5SP.js";
19
+ } from "./chunk-LLOA4BJC.js";
20
20
  import {
21
21
  getNexusDataDir
22
22
  } from "./chunk-NBMWONHE.js";
@@ -2042,4 +2042,4 @@ export {
2042
2042
  VOTING_THRESHOLDS,
2043
2043
  ConsensusMetricsSchema
2044
2044
  };
2045
- //# sourceMappingURL=chunk-GEOALLHA.js.map
2045
+ //# sourceMappingURL=chunk-DUARRP4H.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-JPA3GAWT.js";
8
+ } from "./chunk-DRBDJI52.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-6JEPV4XW.js";
11
+ } from "./chunk-7PW4O3ES.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-NX5VK5NW.js";
17
+ } from "./chunk-OOMSRNWC.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-RQV5ZUXT.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-T5WQAYX2.js";
23
+ } from "./chunk-KMCSSHM2.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-VLDYF7EQ.js";
29
+ } from "./chunk-4SBTLUBH.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-E536V52C.js";
35
+ } from "./chunk-IGCNQFTF.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-2RSNO5SP.js";
75
+ } from "./chunk-LLOA4BJC.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4885,4 +4885,4 @@ export {
4885
4885
  SdkAdapter,
4886
4886
  createAutoAdapter
4887
4887
  };
4888
- //# sourceMappingURL=chunk-GFCCNGI7.js.map
4888
+ //# sourceMappingURL=chunk-E3G7VHE4.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-VE3PAJ5M.js";
8
+ } from "./chunk-3GMSD7QD.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-GT5B35X3.js";
11
+ } from "./chunk-4EMTJ747.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-H7LRUN27.js";
14
+ } from "./chunk-4KL5VYS5.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -37,7 +37,7 @@ import {
37
37
  getTimeProvider,
38
38
  ok,
39
39
  registerPersistentDistillerFactory
40
- } from "./chunk-2RSNO5SP.js";
40
+ } from "./chunk-LLOA4BJC.js";
41
41
  import {
42
42
  ensureLearningDir,
43
43
  getRulesFile
@@ -1343,7 +1343,7 @@ function relevanceLabelToScore(relevance) {
1343
1343
  }
1344
1344
  }
1345
1345
  var NEUTRAL_RECENCY = 0.5;
1346
- var RECENCY_DECAY_DAYS = 730;
1346
+ var RECENCY_HALF_LIFE_DAYS = 365;
1347
1347
  function scoreRecency(publishedAt) {
1348
1348
  if (publishedAt === void 0 || publishedAt === "") {
1349
1349
  return { value: NEUTRAL_RECENCY, measured: false };
@@ -1351,7 +1351,7 @@ function scoreRecency(publishedAt) {
1351
1351
  const published = new Date(publishedAt);
1352
1352
  if (isNaN(published.getTime())) return { value: NEUTRAL_RECENCY, measured: false };
1353
1353
  const daysSince = (Date.now() - published.getTime()) / (1e3 * 60 * 60 * 24);
1354
- return { value: Math.max(0, 1 - daysSince / RECENCY_DECAY_DAYS), measured: true };
1354
+ return { value: Math.min(1, 0.5 ** (daysSince / RECENCY_HALF_LIFE_DAYS)), measured: true };
1355
1355
  }
1356
1356
  function scoreReproducibility(source) {
1357
1357
  switch (source) {
@@ -4127,4 +4127,4 @@ export {
4127
4127
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4128
4128
  getContextPromptPrefix
4129
4129
  };
4130
- //# sourceMappingURL=chunk-LLVEIPOZ.js.map
4130
+ //# sourceMappingURL=chunk-EGUVF5UR.js.map