nexus-agents 7.0.0 → 7.0.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 (124) hide show
  1. package/dist/{child-mcp-config-IPWKOUSE.js → child-mcp-config-ORXLS5HP.js} +2 -2
  2. package/dist/{chunk-XOCNOKIV.js → chunk-33FI7W3G.js} +2 -2
  3. package/dist/{chunk-QUMUVNL6.js → chunk-3CGUPSBW.js} +2 -2
  4. package/dist/{chunk-6SA3FIBZ.js → chunk-6E2M3P5A.js} +3 -3
  5. package/dist/{chunk-PCZJMNPT.js → chunk-6GYTTWNM.js} +2 -2
  6. package/dist/{chunk-DR7DYEFQ.js → chunk-6Q3KSZVI.js} +2 -2
  7. package/dist/{chunk-DXIZQRP5.js → chunk-7U7HAYPB.js} +4 -4
  8. package/dist/{chunk-KYCJ47JZ.js → chunk-BTWKDT4F.js} +8 -8
  9. package/dist/{chunk-KXQNETUB.js → chunk-D6TL5GZV.js} +13 -4
  10. package/dist/chunk-D6TL5GZV.js.map +1 -0
  11. package/dist/{chunk-WMXHD6UA.js → chunk-HA2MM4C2.js} +35 -35
  12. package/dist/{chunk-MB2YIETU.js → chunk-IWTK6FDT.js} +2 -2
  13. package/dist/{chunk-5EEEPQZY.js → chunk-JJT7NVNY.js} +3 -3
  14. package/dist/{chunk-6ZYJ46HN.js → chunk-JNZ3D5B5.js} +2 -2
  15. package/dist/{chunk-VNULIWRK.js → chunk-K2AWJGQO.js} +2 -2
  16. package/dist/{chunk-ET67NYCJ.js → chunk-KJWD2V4K.js} +7 -7
  17. package/dist/{chunk-UAKFLKW3.js → chunk-LVYRGNOC.js} +2 -2
  18. package/dist/chunk-MNG6VKJP.js +7 -0
  19. package/dist/{chunk-XF6J4PCH.js → chunk-PDMWQ2NK.js} +4 -4
  20. package/dist/{chunk-T47DKINM.js → chunk-Q6IODDEA.js} +6 -6
  21. package/dist/{chunk-RSSLLOU6.js → chunk-QAHGHWC7.js} +5 -5
  22. package/dist/{chunk-JC4WREXA.js → chunk-RBF64DXJ.js} +2 -2
  23. package/dist/{chunk-NVFYMGCC.js → chunk-RLBJTZHA.js} +2 -2
  24. package/dist/{chunk-HGL7B6WB.js → chunk-S2Z7CME3.js} +2 -2
  25. package/dist/{chunk-K3ZTZSLW.js → chunk-SS5FADQN.js} +23 -9
  26. package/dist/chunk-SS5FADQN.js.map +1 -0
  27. package/dist/{chunk-46XUGUB4.js → chunk-UJPVBDYG.js} +7 -7
  28. package/dist/{chunk-LUPEM2NF.js → chunk-UVO673OY.js} +3 -3
  29. package/dist/{chunk-CF5CXFYJ.js → chunk-VVXHIUFQ.js} +5 -5
  30. package/dist/{chunk-L3ZVRVHA.js → chunk-VYAXMVI5.js} +2 -2
  31. package/dist/{chunk-ZICPESTJ.js → chunk-XREG2HTQ.js} +4 -4
  32. package/dist/{chunk-SZZRE2VU.js → chunk-XZEYSIGG.js} +2 -2
  33. package/dist/{chunk-OP6PH7GC.js → chunk-Y5GYBP52.js} +2 -2
  34. package/dist/{chunk-UOHOHH72.js → chunk-Y742U2YM.js} +18 -7
  35. package/dist/{chunk-UOHOHH72.js.map → chunk-Y742U2YM.js.map} +1 -1
  36. package/dist/{chunk-KLQ352NK.js → chunk-ZD4VEHEG.js} +2 -2
  37. package/dist/{chunk-XOLGF5MK.js → chunk-ZGEDIKAM.js} +2 -2
  38. package/dist/{cli-circuit-breaker-TEW4RTM2.js → cli-circuit-breaker-5FYJDS5O.js} +3 -3
  39. package/dist/cli.js +41 -41
  40. package/dist/{composite-router-GEQSU4S3.js → composite-router-GE24MYPP.js} +2 -2
  41. package/dist/{consensus-vote-ZMEESJFP.js → consensus-vote-355WNDBN.js} +17 -17
  42. package/dist/{context-retriever-ECGC4EFR.js → context-retriever-3OO6N4V6.js} +8 -8
  43. package/dist/{doctor-deep-6WLU2HV7.js → doctor-deep-6WHVRRVQ.js} +3 -3
  44. package/dist/{doctor-live-OLSOA44K.js → doctor-live-J7JIZH3T.js} +9 -9
  45. package/dist/{expert-bridge-DWBQLHPG.js → expert-bridge-PWRVRFDG.js} +4 -4
  46. package/dist/{factory-Q7D2MNS2.js → factory-3BZDQQYM.js} +9 -9
  47. package/dist/{factory-OTIHI4GK.js → factory-UFKRSADE.js} +5 -5
  48. package/dist/{improvement-review-PUEF3WL4.js → improvement-review-PO4LS6GO.js} +6 -6
  49. package/dist/index.js +31 -31
  50. package/dist/{init-opencode-MCS4F4MP.js → init-opencode-GDPE4U65.js} +6 -6
  51. package/dist/issue-triage-2LNYGQRJ.js +17 -0
  52. package/dist/{pr-reviewer-helpers-7OKVLICU.js → pr-reviewer-helpers-KBOP72XG.js} +4 -4
  53. package/dist/{registry-command-WRWJWKJV.js → registry-command-ZK4NQ2MX.js} +2 -2
  54. package/dist/{repo-security-plan-TW3D5JPQ.js → repo-security-plan-SZU4O2TN.js} +3 -3
  55. package/dist/{research-helpers-synthesize-3YBPFYMX.js → research-helpers-synthesize-QY3DDHTD.js} +4 -4
  56. package/dist/{routing-memory-5CLHRWID.js → routing-memory-2SMMUPTB.js} +2 -2
  57. package/dist/{session-memory-M2LUBDCR.js → session-memory-YQQVPLKM.js} +3 -3
  58. package/dist/{setup-config-OMH2SQLH.js → setup-config-LMZE4IRV.js} +3 -3
  59. package/dist/{setup-custom-api-WHU4TJKG.js → setup-custom-api-ZSBUIJID.js} +4 -4
  60. package/dist/setup-data-dir-O2EABCPO.js +29 -0
  61. package/dist/{tool-memory-K3LY6VBF.js → tool-memory-GUPG2M25.js} +5 -5
  62. package/dist/{unified-registry-DC7GEQKG.js → unified-registry-RPT4O3XB.js} +10 -10
  63. package/dist/{weather-report-XMWNDDHY.js → weather-report-6AVPMHHM.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-K3ZTZSLW.js.map +0 -1
  66. package/dist/chunk-KXQNETUB.js.map +0 -1
  67. package/dist/chunk-OXJEIMLS.js +0 -7
  68. package/dist/issue-triage-A7JXRGSV.js +0 -17
  69. package/dist/setup-data-dir-3MPQZUHC.js +0 -29
  70. /package/dist/{child-mcp-config-IPWKOUSE.js.map → child-mcp-config-ORXLS5HP.js.map} +0 -0
  71. /package/dist/{chunk-XOCNOKIV.js.map → chunk-33FI7W3G.js.map} +0 -0
  72. /package/dist/{chunk-QUMUVNL6.js.map → chunk-3CGUPSBW.js.map} +0 -0
  73. /package/dist/{chunk-6SA3FIBZ.js.map → chunk-6E2M3P5A.js.map} +0 -0
  74. /package/dist/{chunk-PCZJMNPT.js.map → chunk-6GYTTWNM.js.map} +0 -0
  75. /package/dist/{chunk-DR7DYEFQ.js.map → chunk-6Q3KSZVI.js.map} +0 -0
  76. /package/dist/{chunk-DXIZQRP5.js.map → chunk-7U7HAYPB.js.map} +0 -0
  77. /package/dist/{chunk-KYCJ47JZ.js.map → chunk-BTWKDT4F.js.map} +0 -0
  78. /package/dist/{chunk-WMXHD6UA.js.map → chunk-HA2MM4C2.js.map} +0 -0
  79. /package/dist/{chunk-MB2YIETU.js.map → chunk-IWTK6FDT.js.map} +0 -0
  80. /package/dist/{chunk-5EEEPQZY.js.map → chunk-JJT7NVNY.js.map} +0 -0
  81. /package/dist/{chunk-6ZYJ46HN.js.map → chunk-JNZ3D5B5.js.map} +0 -0
  82. /package/dist/{chunk-VNULIWRK.js.map → chunk-K2AWJGQO.js.map} +0 -0
  83. /package/dist/{chunk-ET67NYCJ.js.map → chunk-KJWD2V4K.js.map} +0 -0
  84. /package/dist/{chunk-UAKFLKW3.js.map → chunk-LVYRGNOC.js.map} +0 -0
  85. /package/dist/{chunk-OXJEIMLS.js.map → chunk-MNG6VKJP.js.map} +0 -0
  86. /package/dist/{chunk-XF6J4PCH.js.map → chunk-PDMWQ2NK.js.map} +0 -0
  87. /package/dist/{chunk-T47DKINM.js.map → chunk-Q6IODDEA.js.map} +0 -0
  88. /package/dist/{chunk-RSSLLOU6.js.map → chunk-QAHGHWC7.js.map} +0 -0
  89. /package/dist/{chunk-JC4WREXA.js.map → chunk-RBF64DXJ.js.map} +0 -0
  90. /package/dist/{chunk-NVFYMGCC.js.map → chunk-RLBJTZHA.js.map} +0 -0
  91. /package/dist/{chunk-HGL7B6WB.js.map → chunk-S2Z7CME3.js.map} +0 -0
  92. /package/dist/{chunk-46XUGUB4.js.map → chunk-UJPVBDYG.js.map} +0 -0
  93. /package/dist/{chunk-LUPEM2NF.js.map → chunk-UVO673OY.js.map} +0 -0
  94. /package/dist/{chunk-CF5CXFYJ.js.map → chunk-VVXHIUFQ.js.map} +0 -0
  95. /package/dist/{chunk-L3ZVRVHA.js.map → chunk-VYAXMVI5.js.map} +0 -0
  96. /package/dist/{chunk-ZICPESTJ.js.map → chunk-XREG2HTQ.js.map} +0 -0
  97. /package/dist/{chunk-SZZRE2VU.js.map → chunk-XZEYSIGG.js.map} +0 -0
  98. /package/dist/{chunk-OP6PH7GC.js.map → chunk-Y5GYBP52.js.map} +0 -0
  99. /package/dist/{chunk-KLQ352NK.js.map → chunk-ZD4VEHEG.js.map} +0 -0
  100. /package/dist/{chunk-XOLGF5MK.js.map → chunk-ZGEDIKAM.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-TEW4RTM2.js.map → cli-circuit-breaker-5FYJDS5O.js.map} +0 -0
  102. /package/dist/{composite-router-GEQSU4S3.js.map → composite-router-GE24MYPP.js.map} +0 -0
  103. /package/dist/{consensus-vote-ZMEESJFP.js.map → consensus-vote-355WNDBN.js.map} +0 -0
  104. /package/dist/{context-retriever-ECGC4EFR.js.map → context-retriever-3OO6N4V6.js.map} +0 -0
  105. /package/dist/{doctor-deep-6WLU2HV7.js.map → doctor-deep-6WHVRRVQ.js.map} +0 -0
  106. /package/dist/{doctor-live-OLSOA44K.js.map → doctor-live-J7JIZH3T.js.map} +0 -0
  107. /package/dist/{expert-bridge-DWBQLHPG.js.map → expert-bridge-PWRVRFDG.js.map} +0 -0
  108. /package/dist/{factory-OTIHI4GK.js.map → factory-3BZDQQYM.js.map} +0 -0
  109. /package/dist/{factory-Q7D2MNS2.js.map → factory-UFKRSADE.js.map} +0 -0
  110. /package/dist/{improvement-review-PUEF3WL4.js.map → improvement-review-PO4LS6GO.js.map} +0 -0
  111. /package/dist/{init-opencode-MCS4F4MP.js.map → init-opencode-GDPE4U65.js.map} +0 -0
  112. /package/dist/{issue-triage-A7JXRGSV.js.map → issue-triage-2LNYGQRJ.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-7OKVLICU.js.map → pr-reviewer-helpers-KBOP72XG.js.map} +0 -0
  114. /package/dist/{registry-command-WRWJWKJV.js.map → registry-command-ZK4NQ2MX.js.map} +0 -0
  115. /package/dist/{repo-security-plan-TW3D5JPQ.js.map → repo-security-plan-SZU4O2TN.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-3YBPFYMX.js.map → research-helpers-synthesize-QY3DDHTD.js.map} +0 -0
  117. /package/dist/{routing-memory-5CLHRWID.js.map → routing-memory-2SMMUPTB.js.map} +0 -0
  118. /package/dist/{session-memory-M2LUBDCR.js.map → session-memory-YQQVPLKM.js.map} +0 -0
  119. /package/dist/{setup-config-OMH2SQLH.js.map → setup-config-LMZE4IRV.js.map} +0 -0
  120. /package/dist/{setup-custom-api-WHU4TJKG.js.map → setup-custom-api-ZSBUIJID.js.map} +0 -0
  121. /package/dist/{setup-data-dir-3MPQZUHC.js.map → setup-data-dir-O2EABCPO.js.map} +0 -0
  122. /package/dist/{tool-memory-K3LY6VBF.js.map → tool-memory-GUPG2M25.js.map} +0 -0
  123. /package/dist/{unified-registry-DC7GEQKG.js.map → unified-registry-RPT4O3XB.js.map} +0 -0
  124. /package/dist/{weather-report-XMWNDDHY.js.map → weather-report-6AVPMHHM.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-L3ZVRVHA.js";
3
+ } from "./chunk-VYAXMVI5.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-46XUGUB4.js";
24
+ } from "./chunk-UJPVBDYG.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-ET67NYCJ.js";
27
+ } from "./chunk-KJWD2V4K.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-K3ZTZSLW.js";
50
+ } from "./chunk-SS5FADQN.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-LUPEM2NF.js";
57
+ } from "./chunk-UVO673OY.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-T47DKINM.js";
60
+ } from "./chunk-Q6IODDEA.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-NVFYMGCC.js";
64
+ } from "./chunk-RLBJTZHA.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-6SA3FIBZ.js";
67
+ } from "./chunk-6E2M3P5A.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-XF6J4PCH.js";
91
+ } from "./chunk-PDMWQ2NK.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-DR7DYEFQ.js";
96
+ } from "./chunk-6Q3KSZVI.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-KXQNETUB.js";
102
+ } from "./chunk-D6TL5GZV.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-RSSLLOU6.js";
135
+ } from "./chunk-QAHGHWC7.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-VNULIWRK.js";
140
+ } from "./chunk-K2AWJGQO.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-SZZRE2VU.js";
144
+ } from "./chunk-XZEYSIGG.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-DXIZQRP5.js";
150
+ } from "./chunk-7U7HAYPB.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-6ZYJ46HN.js";
157
+ } from "./chunk-JNZ3D5B5.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-KYCJ47JZ.js";
175
+ } from "./chunk-BTWKDT4F.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-UAKFLKW3.js";
181
+ } from "./chunk-LVYRGNOC.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-KLQ352NK.js";
184
+ } from "./chunk-ZD4VEHEG.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-PCZJMNPT.js";
189
+ } from "./chunk-6GYTTWNM.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-XOCNOKIV.js";
193
+ } from "./chunk-33FI7W3G.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -296,7 +296,7 @@ import {
296
296
  selectStrategyByManifest,
297
297
  toExpertTaskAnalysisResult,
298
298
  withStep
299
- } from "./chunk-UOHOHH72.js";
299
+ } from "./chunk-Y742U2YM.js";
300
300
  import {
301
301
  ensureLearningDir,
302
302
  getMetaOutcomesFile,
@@ -29692,7 +29692,7 @@ function execIdFields(executionId) {
29692
29692
  async function populateUnifiedContextOnState(state, options) {
29693
29693
  const taskCandidate = state["task"];
29694
29694
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29695
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-ECGC4EFR.js");
29695
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3OO6N4V6.js");
29696
29696
  const category = inferTaskCategory2(taskCandidate);
29697
29697
  const executionId = options?.executionId;
29698
29698
  const execFields = execIdFields(executionId);
@@ -45572,7 +45572,7 @@ async function tryIssueTriage(task) {
45572
45572
  try {
45573
45573
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45574
45574
  if (issueMatch === null) return null;
45575
- const { createIssueTriage } = await import("./issue-triage-A7JXRGSV.js");
45575
+ const { createIssueTriage } = await import("./issue-triage-2LNYGQRJ.js");
45576
45576
  const triage = createIssueTriage();
45577
45577
  const owner = issueMatch[1] ?? "";
45578
45578
  const num = issueMatch[2] ?? "";
@@ -45600,7 +45600,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45600
45600
  ]);
45601
45601
  async function classifyWithLLM(task) {
45602
45602
  try {
45603
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-DWBQLHPG.js");
45603
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-PWRVRFDG.js");
45604
45604
  const prompt = [
45605
45605
  "Classify this task into exactly one pipeline template.",
45606
45606
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47291,7 +47291,7 @@ var memoryInitPromise = null;
47291
47291
  async function initPipelineMemory() {
47292
47292
  if (cachedMemory !== null) return cachedMemory;
47293
47293
  try {
47294
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M2LUBDCR.js");
47294
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YQQVPLKM.js");
47295
47295
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47296
47296
  const mem = createSessionMemory2(getLearningDir());
47297
47297
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47353,7 +47353,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47353
47353
  callRecord(routingMemoryCache);
47354
47354
  return;
47355
47355
  }
47356
- routingMemoryInitPromise ??= import("./routing-memory-5CLHRWID.js").then(({ createRoutingMemory }) => {
47356
+ routingMemoryInitPromise ??= import("./routing-memory-2SMMUPTB.js").then(({ createRoutingMemory }) => {
47357
47357
  routingMemoryCache ??= createRoutingMemory();
47358
47358
  return routingMemoryCache;
47359
47359
  }).catch((error) => {
@@ -47387,7 +47387,7 @@ ${text}` : "";
47387
47387
  }
47388
47388
  async function getWeatherContext() {
47389
47389
  try {
47390
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XMWNDDHY.js");
47390
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-6AVPMHHM.js");
47391
47391
  const report = generateWeatherReport2({ includeAdaptive: true });
47392
47392
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47393
47393
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47405,7 +47405,7 @@ ${lines}
47405
47405
  }
47406
47406
  async function getMemoryContext(task) {
47407
47407
  try {
47408
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M2LUBDCR.js");
47408
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YQQVPLKM.js");
47409
47409
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47410
47410
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47411
47411
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47524,7 +47524,7 @@ ${contextBlock}`;
47524
47524
  const strategy = config.votingStrategy ?? "higher_order";
47525
47525
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47526
47526
  try {
47527
- const { executeVoting } = await import("./consensus-vote-ZMEESJFP.js");
47527
+ const { executeVoting } = await import("./consensus-vote-355WNDBN.js");
47528
47528
  const votingResult = await executeVoting(
47529
47529
  {
47530
47530
  proposal: buildVoteProposal(plan, research),
@@ -47953,7 +47953,7 @@ async function searchCodebaseForTask(task) {
47953
47953
  }
47954
47954
  async function queryResearchRegistry(task) {
47955
47955
  try {
47956
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3YBPFYMX.js");
47956
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-QY3DDHTD.js");
47957
47957
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47958
47958
  if (topic === void 0) return null;
47959
47959
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48024,7 +48024,7 @@ function createScanStageWrapper() {
48024
48024
  try {
48025
48025
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48026
48026
  if (slug !== void 0) {
48027
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TW3D5JPQ.js");
48027
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-SZU4O2TN.js");
48028
48028
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48029
48029
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48030
48030
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51168,7 +51168,7 @@ var GitHubTaskTracker = class {
51168
51168
  cachedProvider = null;
51169
51169
  async getProvider() {
51170
51170
  if (this.cachedProvider !== null) return this.cachedProvider;
51171
- const { createScmProvider } = await import("./factory-OTIHI4GK.js");
51171
+ const { createScmProvider } = await import("./factory-UFKRSADE.js");
51172
51172
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51173
51173
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51174
51174
  this.cachedProvider = result.value;
@@ -52083,7 +52083,7 @@ async function probeSource(source, includeModelIds) {
52083
52083
  }
52084
52084
  }
52085
52085
  async function defaultSources(includeOpenRouter) {
52086
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-Q7D2MNS2.js");
52086
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-3BZDQQYM.js");
52087
52087
  const adapters = createAllAdapters2();
52088
52088
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52089
52089
  }
@@ -56155,4 +56155,4 @@ export {
56155
56155
  shutdownFeedbackSubscriber,
56156
56156
  createEventBusBridge
56157
56157
  };
56158
- //# sourceMappingURL=chunk-WMXHD6UA.js.map
56158
+ //# sourceMappingURL=chunk-HA2MM4C2.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-UOHOHH72.js";
7
+ } from "./chunk-Y742U2YM.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-MB2YIETU.js.map
266
+ //# sourceMappingURL=chunk-IWTK6FDT.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-NVFYMGCC.js";
15
+ } from "./chunk-RLBJTZHA.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-UOHOHH72.js";
19
+ } from "./chunk-Y742U2YM.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -303,4 +303,4 @@ export {
303
303
  createFailedReview,
304
304
  reviewPostingBlock
305
305
  };
306
- //# sourceMappingURL=chunk-5EEEPQZY.js.map
306
+ //# sourceMappingURL=chunk-JJT7NVNY.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-UOHOHH72.js";
7
+ } from "./chunk-Y742U2YM.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -366,4 +366,4 @@ export {
366
366
  SessionMemory,
367
367
  createSessionMemory
368
368
  };
369
- //# sourceMappingURL=chunk-6ZYJ46HN.js.map
369
+ //# sourceMappingURL=chunk-JNZ3D5B5.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-UOHOHH72.js";
8
+ } from "./chunk-Y742U2YM.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-VNULIWRK.js.map
159
+ //# sourceMappingURL=chunk-K2AWJGQO.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-PCZJMNPT.js";
3
+ } from "./chunk-6GYTTWNM.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-UOHOHH72.js";
8
+ } from "./chunk-Y742U2YM.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-IPWKOUSE.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-ORXLS5HP.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-Q7D2MNS2.js");
97
- const { createCompositeRouter } = await import("./composite-router-GEQSU4S3.js");
96
+ const { createAllAdapters } = await import("./factory-3BZDQQYM.js");
97
+ const { createCompositeRouter } = await import("./composite-router-GE24MYPP.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-TEW4RTM2.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-5FYJDS5O.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-ET67NYCJ.js.map
216
+ //# sourceMappingURL=chunk-KJWD2V4K.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-UOHOHH72.js";
16
+ } from "./chunk-Y742U2YM.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-UAKFLKW3.js.map
837
+ //# sourceMappingURL=chunk-LVYRGNOC.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "7.0.1" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-MNG6VKJP.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-OXJEIMLS.js";
3
+ } from "./chunk-MNG6VKJP.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-DR7DYEFQ.js";
6
+ } from "./chunk-6Q3KSZVI.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-UOHOHH72.js";
22
+ } from "./chunk-Y742U2YM.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-OGHEKPLD.js";
@@ -2214,4 +2214,4 @@ export {
2214
2214
  VOTING_THRESHOLDS,
2215
2215
  ConsensusMetricsSchema
2216
2216
  };
2217
- //# sourceMappingURL=chunk-XF6J4PCH.js.map
2217
+ //# sourceMappingURL=chunk-PDMWQ2NK.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-MB2YIETU.js";
4
+ } from "./chunk-IWTK6FDT.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,20 +11,20 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-NVFYMGCC.js";
14
+ } from "./chunk-RLBJTZHA.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-DR7DYEFQ.js";
17
+ } from "./chunk-6Q3KSZVI.js";
18
18
  import {
19
19
  hasToken
20
- } from "./chunk-SZZRE2VU.js";
20
+ } from "./chunk-XZEYSIGG.js";
21
21
  import {
22
22
  CLI_SUBPROCESS_TIMEOUTS,
23
23
  createLogger,
24
24
  err,
25
25
  getTimeProvider,
26
26
  ok
27
- } from "./chunk-UOHOHH72.js";
27
+ } from "./chunk-Y742U2YM.js";
28
28
 
29
29
  // src/security/trust-classifier.ts
30
30
  function mapAuthorAssociation(association) {
@@ -1247,4 +1247,4 @@ export {
1247
1247
  IssueTriage,
1248
1248
  createIssueTriage
1249
1249
  };
1250
- //# sourceMappingURL=chunk-T47DKINM.js.map
1250
+ //# sourceMappingURL=chunk-Q6IODDEA.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-VNULIWRK.js";
8
+ } from "./chunk-K2AWJGQO.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-SZZRE2VU.js";
11
+ } from "./chunk-XZEYSIGG.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-DXIZQRP5.js";
14
+ } from "./chunk-7U7HAYPB.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-UOHOHH72.js";
40
+ } from "./chunk-Y742U2YM.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-RSSLLOU6.js.map
4135
+ //# sourceMappingURL=chunk-QAHGHWC7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-UOHOHH72.js";
6
+ } from "./chunk-Y742U2YM.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-OGHEKPLD.js";
@@ -176,4 +176,4 @@ export {
176
176
  loadUsageEvents,
177
177
  rollupByModel
178
178
  };
179
- //# sourceMappingURL=chunk-JC4WREXA.js.map
179
+ //# sourceMappingURL=chunk-RBF64DXJ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-UOHOHH72.js";
5
+ } from "./chunk-Y742U2YM.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -560,4 +560,4 @@ export {
560
560
  resolveReputationGatingMode,
561
561
  gateWithReputation
562
562
  };
563
- //# sourceMappingURL=chunk-NVFYMGCC.js.map
563
+ //# sourceMappingURL=chunk-RLBJTZHA.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-UOHOHH72.js";
11
+ } from "./chunk-Y742U2YM.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-HGL7B6WB.js.map
544
+ //# sourceMappingURL=chunk-S2Z7CME3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-JC4WREXA.js";
4
+ } from "./chunk-RBF64DXJ.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-XF6J4PCH.js";
26
+ } from "./chunk-PDMWQ2NK.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-KXQNETUB.js";
32
+ } from "./chunk-D6TL5GZV.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-DXIZQRP5.js";
35
+ } from "./chunk-7U7HAYPB.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-KYCJ47JZ.js";
41
+ } from "./chunk-BTWKDT4F.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -61,12 +61,13 @@ import {
61
61
  getPipelineEventBus,
62
62
  getRandomProvider,
63
63
  getTimeProvider,
64
+ isDurableCapacityText,
64
65
  isRateLimitLikeError,
65
66
  ok,
66
67
  registerPersistentOutcomeStoreFactory,
67
68
  resolveClassGuardMs,
68
69
  resolveVoteTimeout
69
- } from "./chunk-UOHOHH72.js";
70
+ } from "./chunk-Y742U2YM.js";
70
71
  import {
71
72
  ensureLearningDir,
72
73
  getOutcomesFile
@@ -956,6 +957,13 @@ async function executeSingleVoteAttempt(role, proposal, adapter, timeoutMs, opti
956
957
  throw error;
957
958
  }
958
959
  }
960
+ function logAbandonedRetries(logger10, role, attempt, maxRetries) {
961
+ logger10.warn("Durable capacity cap \u2014 abandoning retries for this voter", {
962
+ role,
963
+ attempt: attempt + 1,
964
+ remainingAttemptsSkipped: maxRetries - attempt
965
+ });
966
+ }
959
967
  async function executeWithRetries(opts) {
960
968
  const { role, proposal, adapter, logger: logger10, timeoutMs, maxRetries, options } = opts;
961
969
  let lastError = "";
@@ -981,6 +989,7 @@ async function executeWithRetries(opts) {
981
989
  }
982
990
  lastError = result.error;
983
991
  const rateLimited = isRateLimitError(lastError);
992
+ const durableCap = isDurableCapacityText(lastError);
984
993
  logger10.info("Vote attempt timing", {
985
994
  role,
986
995
  attempt: attempt + 1,
@@ -993,8 +1002,13 @@ async function executeWithRetries(opts) {
993
1002
  attempt: attempt + 1,
994
1003
  maxRetries: maxRetries + 1,
995
1004
  error: lastError,
996
- ...rateLimited ? { rateLimited: true } : {}
1005
+ ...rateLimited ? { rateLimited: true } : {},
1006
+ ...durableCap ? { durableCap: true } : {}
997
1007
  });
1008
+ if (durableCap) {
1009
+ logAbandonedRetries(logger10, role, attempt, maxRetries);
1010
+ break;
1011
+ }
998
1012
  }
999
1013
  return { error: lastError !== "" ? lastError : "Unknown error after all retries", ok: false };
1000
1014
  }
@@ -6300,7 +6314,7 @@ function logPartialProposal(bounded, log) {
6300
6314
  }
6301
6315
  async function runContrarianCheck(proposal, log) {
6302
6316
  try {
6303
- const { executeExpert } = await import("./expert-bridge-DWBQLHPG.js");
6317
+ const { executeExpert } = await import("./expert-bridge-PWRVRFDG.js");
6304
6318
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6305
6319
  logPartialProposal(bounded, log);
6306
6320
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -6878,4 +6892,4 @@ export {
6878
6892
  CONSENSUS_VOTE_TOOL_SCHEMA,
6879
6893
  registerConsensusVoteTool
6880
6894
  };
6881
- //# sourceMappingURL=chunk-K3ZTZSLW.js.map
6895
+ //# sourceMappingURL=chunk-SS5FADQN.js.map