nexus-agents 5.0.3 → 5.0.5

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 (125) hide show
  1. package/dist/{child-mcp-config-2EXF74GZ.js → child-mcp-config-PIZSE56V.js} +2 -2
  2. package/dist/{chunk-KYOVZ2QZ.js → chunk-2I5BBD6U.js} +5 -5
  3. package/dist/{chunk-26PZ2652.js → chunk-326RCKE2.js} +46 -41
  4. package/dist/{chunk-26PZ2652.js.map → chunk-326RCKE2.js.map} +1 -1
  5. package/dist/{chunk-WTQEMR7D.js → chunk-5MQPSHIG.js} +7 -7
  6. package/dist/{chunk-SOKS6XK2.js → chunk-5VP6WPEI.js} +2 -2
  7. package/dist/{chunk-AVYTX7JQ.js → chunk-6OPLDOJG.js} +3 -3
  8. package/dist/{chunk-SZ6J4YY7.js → chunk-AS4B7KCT.js} +2 -2
  9. package/dist/{chunk-7TXO7LYE.js → chunk-BGGS3PH2.js} +2 -2
  10. package/dist/{chunk-Y4XI4RIB.js → chunk-F67CLL5B.js} +2 -2
  11. package/dist/{chunk-KG752W6G.js → chunk-FDWB4PUV.js} +2 -2
  12. package/dist/{chunk-C2LEM7RD.js → chunk-FU45UMX5.js} +2 -2
  13. package/dist/{chunk-3IDYJL2Y.js → chunk-FWBR6DZO.js} +2 -2
  14. package/dist/{chunk-77VDRUFK.js → chunk-GFDE5IAZ.js} +3 -3
  15. package/dist/{chunk-VRJJGXUE.js → chunk-GSK2JRVW.js} +8 -8
  16. package/dist/{chunk-KQPEECXT.js → chunk-GTMJPNPR.js} +2 -2
  17. package/dist/{chunk-OLCMDKQE.js → chunk-IJLWQ4Y3.js} +7 -7
  18. package/dist/{chunk-W7ITYRY2.js → chunk-JOY5IRVR.js} +2 -2
  19. package/dist/{chunk-AKOBOCUB.js → chunk-K4OBRS4D.js} +2 -2
  20. package/dist/{chunk-FWP5FZ7V.js → chunk-NDVKXAK5.js} +2 -2
  21. package/dist/{chunk-Q225TVYP.js → chunk-OCFY37TZ.js} +16 -2
  22. package/dist/chunk-OCFY37TZ.js.map +1 -0
  23. package/dist/{chunk-ZSNWRX2B.js → chunk-OOGKQTDN.js} +2 -2
  24. package/dist/{chunk-VS2DUTJ5.js → chunk-P7IHQSCC.js} +18 -4
  25. package/dist/chunk-P7IHQSCC.js.map +1 -0
  26. package/dist/{chunk-WIYDV6ZY.js → chunk-Q36RQS7J.js} +3 -3
  27. package/dist/{chunk-VZM7YQZL.js → chunk-R66FJKP4.js} +5 -5
  28. package/dist/{chunk-2P6GBKUN.js → chunk-ROCFIXAK.js} +2 -2
  29. package/dist/{chunk-EQRCOUJJ.js → chunk-SY54YKTT.js} +2 -2
  30. package/dist/{chunk-AU6N4HZR.js → chunk-T2KKAZTB.js} +3 -3
  31. package/dist/{chunk-OKS6I7T7.js → chunk-TC2QG4U3.js} +4 -4
  32. package/dist/{chunk-VHB3L7H7.js → chunk-TIOXRJK3.js} +2 -2
  33. package/dist/{chunk-XIWGJBVE.js → chunk-VX6VNBCU.js} +4 -4
  34. package/dist/chunk-XUTX54BU.js +7 -0
  35. package/dist/{chunk-FTIJ4V4A.js → chunk-YZN2UFYB.js} +8 -8
  36. package/dist/{chunk-O6TCROTE.js → chunk-ZSVUZOMQ.js} +4 -4
  37. package/dist/{chunk-QNF6NAQ3.js → chunk-ZXTOZ7B3.js} +6 -6
  38. package/dist/{cli-circuit-breaker-UFQZZVAB.js → cli-circuit-breaker-YEQKBXCN.js} +3 -3
  39. package/dist/cli.js +47 -45
  40. package/dist/cli.js.map +1 -1
  41. package/dist/{composite-router-KL7ZLCJY.js → composite-router-7D45ZSSG.js} +2 -2
  42. package/dist/{consensus-vote-3PGPRVOV.js → consensus-vote-AONDO26T.js} +17 -17
  43. package/dist/{context-retriever-GJL6HFJK.js → context-retriever-3R3BWMEW.js} +8 -8
  44. package/dist/{doctor-deep-XEJ7JXQI.js → doctor-deep-ECI74ALB.js} +3 -3
  45. package/dist/{doctor-live-4VAU6HLF.js → doctor-live-OBEZKBNU.js} +9 -9
  46. package/dist/{expert-bridge-VYB4C7C5.js → expert-bridge-XIFIEXQM.js} +4 -4
  47. package/dist/{factory-YYGHDTUN.js → factory-2TN6OVWR.js} +5 -5
  48. package/dist/{factory-S5K2EIKH.js → factory-3T6NTUDH.js} +9 -9
  49. package/dist/{improvement-review-NVIZXYSX.js → improvement-review-4KMYPNSZ.js} +6 -6
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-5PUDYNKQ.js → init-opencode-SIT4DIQ4.js} +6 -6
  52. package/dist/issue-triage-42TGOOZX.js +17 -0
  53. package/dist/{pr-reviewer-helpers-4YANH63K.js → pr-reviewer-helpers-NL7YXDAO.js} +4 -4
  54. package/dist/{registry-command-KZDEZNUE.js → registry-command-UBUAESO2.js} +2 -2
  55. package/dist/{repo-security-plan-7N2BVFFF.js → repo-security-plan-MK3OFGIC.js} +3 -3
  56. package/dist/{research-helpers-synthesize-FCXEDCUC.js → research-helpers-synthesize-UZGA2H5E.js} +4 -4
  57. package/dist/{routing-memory-NZZHHDN6.js → routing-memory-GSOJXKYR.js} +2 -2
  58. package/dist/{session-memory-OV55DW3U.js → session-memory-QK544BZF.js} +3 -3
  59. package/dist/{setup-config-WFHZTYAU.js → setup-config-AXDZQQZD.js} +3 -3
  60. package/dist/{setup-custom-api-5V5IQUMA.js → setup-custom-api-JNLX5DPO.js} +4 -4
  61. package/dist/setup-data-dir-PIT5H2S6.js +29 -0
  62. package/dist/{tool-memory-NJ5B3U27.js → tool-memory-DYW3QKJZ.js} +5 -5
  63. package/dist/{unified-registry-YBGPLXH3.js → unified-registry-ZRG3SO3X.js} +10 -10
  64. package/dist/{weather-report-U626M3HS.js → weather-report-JQGPC6ZC.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-Q225TVYP.js.map +0 -1
  67. package/dist/chunk-RXJHAUJY.js +0 -7
  68. package/dist/chunk-VS2DUTJ5.js.map +0 -1
  69. package/dist/issue-triage-5ZFQWQ3W.js +0 -17
  70. package/dist/setup-data-dir-YJU7MPS5.js +0 -29
  71. /package/dist/{child-mcp-config-2EXF74GZ.js.map → child-mcp-config-PIZSE56V.js.map} +0 -0
  72. /package/dist/{chunk-KYOVZ2QZ.js.map → chunk-2I5BBD6U.js.map} +0 -0
  73. /package/dist/{chunk-WTQEMR7D.js.map → chunk-5MQPSHIG.js.map} +0 -0
  74. /package/dist/{chunk-SOKS6XK2.js.map → chunk-5VP6WPEI.js.map} +0 -0
  75. /package/dist/{chunk-AVYTX7JQ.js.map → chunk-6OPLDOJG.js.map} +0 -0
  76. /package/dist/{chunk-SZ6J4YY7.js.map → chunk-AS4B7KCT.js.map} +0 -0
  77. /package/dist/{chunk-7TXO7LYE.js.map → chunk-BGGS3PH2.js.map} +0 -0
  78. /package/dist/{chunk-Y4XI4RIB.js.map → chunk-F67CLL5B.js.map} +0 -0
  79. /package/dist/{chunk-KG752W6G.js.map → chunk-FDWB4PUV.js.map} +0 -0
  80. /package/dist/{chunk-C2LEM7RD.js.map → chunk-FU45UMX5.js.map} +0 -0
  81. /package/dist/{chunk-3IDYJL2Y.js.map → chunk-FWBR6DZO.js.map} +0 -0
  82. /package/dist/{chunk-77VDRUFK.js.map → chunk-GFDE5IAZ.js.map} +0 -0
  83. /package/dist/{chunk-VRJJGXUE.js.map → chunk-GSK2JRVW.js.map} +0 -0
  84. /package/dist/{chunk-KQPEECXT.js.map → chunk-GTMJPNPR.js.map} +0 -0
  85. /package/dist/{chunk-OLCMDKQE.js.map → chunk-IJLWQ4Y3.js.map} +0 -0
  86. /package/dist/{chunk-W7ITYRY2.js.map → chunk-JOY5IRVR.js.map} +0 -0
  87. /package/dist/{chunk-AKOBOCUB.js.map → chunk-K4OBRS4D.js.map} +0 -0
  88. /package/dist/{chunk-FWP5FZ7V.js.map → chunk-NDVKXAK5.js.map} +0 -0
  89. /package/dist/{chunk-ZSNWRX2B.js.map → chunk-OOGKQTDN.js.map} +0 -0
  90. /package/dist/{chunk-WIYDV6ZY.js.map → chunk-Q36RQS7J.js.map} +0 -0
  91. /package/dist/{chunk-VZM7YQZL.js.map → chunk-R66FJKP4.js.map} +0 -0
  92. /package/dist/{chunk-2P6GBKUN.js.map → chunk-ROCFIXAK.js.map} +0 -0
  93. /package/dist/{chunk-EQRCOUJJ.js.map → chunk-SY54YKTT.js.map} +0 -0
  94. /package/dist/{chunk-AU6N4HZR.js.map → chunk-T2KKAZTB.js.map} +0 -0
  95. /package/dist/{chunk-OKS6I7T7.js.map → chunk-TC2QG4U3.js.map} +0 -0
  96. /package/dist/{chunk-VHB3L7H7.js.map → chunk-TIOXRJK3.js.map} +0 -0
  97. /package/dist/{chunk-XIWGJBVE.js.map → chunk-VX6VNBCU.js.map} +0 -0
  98. /package/dist/{chunk-RXJHAUJY.js.map → chunk-XUTX54BU.js.map} +0 -0
  99. /package/dist/{chunk-FTIJ4V4A.js.map → chunk-YZN2UFYB.js.map} +0 -0
  100. /package/dist/{chunk-O6TCROTE.js.map → chunk-ZSVUZOMQ.js.map} +0 -0
  101. /package/dist/{chunk-QNF6NAQ3.js.map → chunk-ZXTOZ7B3.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-UFQZZVAB.js.map → cli-circuit-breaker-YEQKBXCN.js.map} +0 -0
  103. /package/dist/{composite-router-KL7ZLCJY.js.map → composite-router-7D45ZSSG.js.map} +0 -0
  104. /package/dist/{consensus-vote-3PGPRVOV.js.map → consensus-vote-AONDO26T.js.map} +0 -0
  105. /package/dist/{context-retriever-GJL6HFJK.js.map → context-retriever-3R3BWMEW.js.map} +0 -0
  106. /package/dist/{doctor-deep-XEJ7JXQI.js.map → doctor-deep-ECI74ALB.js.map} +0 -0
  107. /package/dist/{doctor-live-4VAU6HLF.js.map → doctor-live-OBEZKBNU.js.map} +0 -0
  108. /package/dist/{expert-bridge-VYB4C7C5.js.map → expert-bridge-XIFIEXQM.js.map} +0 -0
  109. /package/dist/{factory-S5K2EIKH.js.map → factory-2TN6OVWR.js.map} +0 -0
  110. /package/dist/{factory-YYGHDTUN.js.map → factory-3T6NTUDH.js.map} +0 -0
  111. /package/dist/{improvement-review-NVIZXYSX.js.map → improvement-review-4KMYPNSZ.js.map} +0 -0
  112. /package/dist/{init-opencode-5PUDYNKQ.js.map → init-opencode-SIT4DIQ4.js.map} +0 -0
  113. /package/dist/{issue-triage-5ZFQWQ3W.js.map → issue-triage-42TGOOZX.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-4YANH63K.js.map → pr-reviewer-helpers-NL7YXDAO.js.map} +0 -0
  115. /package/dist/{registry-command-KZDEZNUE.js.map → registry-command-UBUAESO2.js.map} +0 -0
  116. /package/dist/{repo-security-plan-7N2BVFFF.js.map → repo-security-plan-MK3OFGIC.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-FCXEDCUC.js.map → research-helpers-synthesize-UZGA2H5E.js.map} +0 -0
  118. /package/dist/{routing-memory-NZZHHDN6.js.map → routing-memory-GSOJXKYR.js.map} +0 -0
  119. /package/dist/{session-memory-OV55DW3U.js.map → session-memory-QK544BZF.js.map} +0 -0
  120. /package/dist/{setup-config-WFHZTYAU.js.map → setup-config-AXDZQQZD.js.map} +0 -0
  121. /package/dist/{setup-custom-api-5V5IQUMA.js.map → setup-custom-api-JNLX5DPO.js.map} +0 -0
  122. /package/dist/{setup-data-dir-YJU7MPS5.js.map → setup-data-dir-PIT5H2S6.js.map} +0 -0
  123. /package/dist/{tool-memory-NJ5B3U27.js.map → tool-memory-DYW3QKJZ.js.map} +0 -0
  124. /package/dist/{unified-registry-YBGPLXH3.js.map → unified-registry-ZRG3SO3X.js.map} +0 -0
  125. /package/dist/{weather-report-U626M3HS.js.map → weather-report-JQGPC6ZC.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4OW67KT2.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-AVYTX7JQ.js";
6
+ } from "./chunk-6OPLDOJG.js";
7
7
  import "./chunk-GBHJ37V3.js";
8
8
  import "./chunk-OGHEKPLD.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-2EXF74GZ.js.map
65
+ //# sourceMappingURL=child-mcp-config-PIZSE56V.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-Y4XI4RIB.js";
8
+ } from "./chunk-F67CLL5B.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-3IDYJL2Y.js";
11
+ } from "./chunk-FWBR6DZO.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-VS2DUTJ5.js";
14
+ } from "./chunk-P7IHQSCC.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-AVYTX7JQ.js";
40
+ } from "./chunk-6OPLDOJG.js";
41
41
  import {
42
42
  ensureLearningDir,
43
43
  getRulesFile
@@ -4132,4 +4132,4 @@ export {
4132
4132
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4133
4133
  getContextPromptPrefix
4134
4134
  };
4135
- //# sourceMappingURL=chunk-KYOVZ2QZ.js.map
4135
+ //# sourceMappingURL=chunk-2I5BBD6U.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-W7ITYRY2.js";
3
+ } from "./chunk-JOY5IRVR.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-OLCMDKQE.js";
24
+ } from "./chunk-IJLWQ4Y3.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-WTQEMR7D.js";
27
+ } from "./chunk-5MQPSHIG.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-FTIJ4V4A.js";
50
+ } from "./chunk-YZN2UFYB.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-77VDRUFK.js";
57
+ } from "./chunk-GFDE5IAZ.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-QNF6NAQ3.js";
60
+ } from "./chunk-ZXTOZ7B3.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-C2LEM7RD.js";
64
+ } from "./chunk-FU45UMX5.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-AU6N4HZR.js";
67
+ } from "./chunk-T2KKAZTB.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-O6TCROTE.js";
91
+ } from "./chunk-ZSVUZOMQ.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-ZSNWRX2B.js";
96
+ } from "./chunk-OOGKQTDN.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-OKS6I7T7.js";
102
+ } from "./chunk-TC2QG4U3.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-KYOVZ2QZ.js";
135
+ } from "./chunk-2I5BBD6U.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-Y4XI4RIB.js";
140
+ } from "./chunk-F67CLL5B.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-3IDYJL2Y.js";
144
+ } from "./chunk-FWBR6DZO.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-VS2DUTJ5.js";
150
+ } from "./chunk-P7IHQSCC.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-Q225TVYP.js";
157
+ } from "./chunk-OCFY37TZ.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-VRJJGXUE.js";
175
+ } from "./chunk-GSK2JRVW.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-2P6GBKUN.js";
181
+ } from "./chunk-ROCFIXAK.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-EQRCOUJJ.js";
184
+ } from "./chunk-SY54YKTT.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-FWP5FZ7V.js";
189
+ } from "./chunk-NDVKXAK5.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-SZ6J4YY7.js";
193
+ } from "./chunk-AS4B7KCT.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -294,7 +294,7 @@ import {
294
294
  selectStrategyByManifest,
295
295
  toExpertTaskAnalysisResult,
296
296
  withStep
297
- } from "./chunk-AVYTX7JQ.js";
297
+ } from "./chunk-6OPLDOJG.js";
298
298
  import {
299
299
  ensureLearningDir,
300
300
  getMetaOutcomesFile,
@@ -29713,7 +29713,7 @@ function execIdFields(executionId) {
29713
29713
  async function populateUnifiedContextOnState(state, options) {
29714
29714
  const taskCandidate = state["task"];
29715
29715
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29716
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-GJL6HFJK.js");
29716
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3R3BWMEW.js");
29717
29717
  const category = inferTaskCategory2(taskCandidate);
29718
29718
  const executionId = options?.executionId;
29719
29719
  const execFields = execIdFields(executionId);
@@ -42475,17 +42475,22 @@ import { z as z81 } from "zod";
42475
42475
  var MemoryStatsInputSchema = z81.object({
42476
42476
  includeDecay: z81.boolean().optional().default(true).describe("Include decay statistics (default: true)")
42477
42477
  });
42478
- async function collectMemoryStats(input, logger58) {
42479
- const toolMemory = getToolMemory();
42480
- const sessionStats = {
42478
+ function collectSessionStats(toolMemory) {
42479
+ const counts = toolMemory.getSessionCounts();
42480
+ const stats = {
42481
42481
  learningsCount: 0,
42482
- tasksCount: 0,
42483
- errorsCount: 0
42482
+ tasksCount: counts.tasksCount,
42483
+ errorsCount: counts.errorsCount
42484
42484
  };
42485
42485
  const learnings = toolMemory.getRelevantLearnings("", 1e3);
42486
42486
  if (learnings !== void 0) {
42487
- sessionStats.learningsCount = learnings.split("\n").filter((l) => l.trim() !== "").length;
42487
+ stats.learningsCount = learnings.split("\n").filter((l) => l.trim() !== "").length;
42488
42488
  }
42489
+ return stats;
42490
+ }
42491
+ async function collectMemoryStats(input, logger58) {
42492
+ const toolMemory = getToolMemory();
42493
+ const sessionStats = collectSessionStats(toolMemory);
42489
42494
  const beliefStats = {
42490
42495
  beliefsCount: toolMemory.getBeliefCount(),
42491
42496
  available: true
@@ -45516,7 +45521,7 @@ async function tryIssueTriage(task) {
45516
45521
  try {
45517
45522
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45518
45523
  if (issueMatch === null) return null;
45519
- const { createIssueTriage } = await import("./issue-triage-5ZFQWQ3W.js");
45524
+ const { createIssueTriage } = await import("./issue-triage-42TGOOZX.js");
45520
45525
  const triage = createIssueTriage();
45521
45526
  const owner = issueMatch[1] ?? "";
45522
45527
  const num = issueMatch[2] ?? "";
@@ -45544,7 +45549,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45544
45549
  ]);
45545
45550
  async function classifyWithLLM(task) {
45546
45551
  try {
45547
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-VYB4C7C5.js");
45552
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-XIFIEXQM.js");
45548
45553
  const prompt = [
45549
45554
  "Classify this task into exactly one pipeline template.",
45550
45555
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47084,7 +47089,7 @@ var memoryInitPromise = null;
47084
47089
  async function initPipelineMemory() {
47085
47090
  if (cachedMemory !== null) return cachedMemory;
47086
47091
  try {
47087
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OV55DW3U.js");
47092
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QK544BZF.js");
47088
47093
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47089
47094
  const mem = createSessionMemory2(getLearningDir());
47090
47095
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47146,7 +47151,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47146
47151
  callRecord(routingMemoryCache);
47147
47152
  return;
47148
47153
  }
47149
- routingMemoryInitPromise ??= import("./routing-memory-NZZHHDN6.js").then(({ createRoutingMemory }) => {
47154
+ routingMemoryInitPromise ??= import("./routing-memory-GSOJXKYR.js").then(({ createRoutingMemory }) => {
47150
47155
  routingMemoryCache ??= createRoutingMemory();
47151
47156
  return routingMemoryCache;
47152
47157
  }).catch((error) => {
@@ -47180,7 +47185,7 @@ ${text}` : "";
47180
47185
  }
47181
47186
  async function getWeatherContext() {
47182
47187
  try {
47183
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-U626M3HS.js");
47188
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JQGPC6ZC.js");
47184
47189
  const report = generateWeatherReport2({ includeAdaptive: true });
47185
47190
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47186
47191
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47198,7 +47203,7 @@ ${lines}
47198
47203
  }
47199
47204
  async function getMemoryContext(task) {
47200
47205
  try {
47201
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OV55DW3U.js");
47206
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QK544BZF.js");
47202
47207
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47203
47208
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47204
47209
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47317,7 +47322,7 @@ ${contextBlock}`;
47317
47322
  const strategy = config.votingStrategy ?? "higher_order";
47318
47323
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47319
47324
  try {
47320
- const { executeVoting } = await import("./consensus-vote-3PGPRVOV.js");
47325
+ const { executeVoting } = await import("./consensus-vote-AONDO26T.js");
47321
47326
  const votingResult = await executeVoting(
47322
47327
  {
47323
47328
  proposal: buildVoteProposal(plan, research),
@@ -47756,7 +47761,7 @@ async function searchCodebaseForTask(task) {
47756
47761
  }
47757
47762
  async function queryResearchRegistry(task) {
47758
47763
  try {
47759
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FCXEDCUC.js");
47764
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-UZGA2H5E.js");
47760
47765
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47761
47766
  if (topic === void 0) return null;
47762
47767
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47827,7 +47832,7 @@ function createScanStageWrapper() {
47827
47832
  try {
47828
47833
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47829
47834
  if (slug !== void 0) {
47830
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-7N2BVFFF.js");
47835
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-MK3OFGIC.js");
47831
47836
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47832
47837
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47833
47838
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50966,7 +50971,7 @@ var GitHubTaskTracker = class {
50966
50971
  cachedProvider = null;
50967
50972
  async getProvider() {
50968
50973
  if (this.cachedProvider !== null) return this.cachedProvider;
50969
- const { createScmProvider } = await import("./factory-YYGHDTUN.js");
50974
+ const { createScmProvider } = await import("./factory-2TN6OVWR.js");
50970
50975
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
50971
50976
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
50972
50977
  this.cachedProvider = result.value;
@@ -51881,7 +51886,7 @@ async function probeSource(source, includeModelIds) {
51881
51886
  }
51882
51887
  }
51883
51888
  async function defaultSources(includeOpenRouter) {
51884
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-S5K2EIKH.js");
51889
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-3T6NTUDH.js");
51885
51890
  const adapters = createAllAdapters2();
51886
51891
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51887
51892
  }
@@ -55953,4 +55958,4 @@ export {
55953
55958
  shutdownFeedbackSubscriber,
55954
55959
  createEventBusBridge
55955
55960
  };
55956
- //# sourceMappingURL=chunk-26PZ2652.js.map
55961
+ //# sourceMappingURL=chunk-326RCKE2.js.map