nexus-agents 2.172.0 → 2.173.0

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 (118) hide show
  1. package/dist/{child-mcp-config-NW4JZFWC.js → child-mcp-config-KD5FKDG7.js} +2 -2
  2. package/dist/{chunk-CEDSYAAI.js → chunk-26PMOFR2.js} +2 -2
  3. package/dist/{chunk-DLVDFJXU.js → chunk-3DYABC5Y.js} +4 -4
  4. package/dist/{chunk-AJIDYCQG.js → chunk-3QY2YLJV.js} +3 -3
  5. package/dist/{chunk-IK7POCXO.js → chunk-3Y5UUFZL.js} +3 -3
  6. package/dist/{chunk-S66XOAMZ.js → chunk-4KURMOBY.js} +2 -2
  7. package/dist/{chunk-7AJWIOMT.js → chunk-5IDFZ2PC.js} +2 -2
  8. package/dist/{chunk-SUWN54CK.js → chunk-5LXKF34H.js} +2 -2
  9. package/dist/{chunk-QBOTSJ7S.js → chunk-5WFHSWQG.js} +73 -17
  10. package/dist/chunk-5WFHSWQG.js.map +1 -0
  11. package/dist/{chunk-76Q63KJM.js → chunk-6OTA2VER.js} +2 -2
  12. package/dist/{chunk-Y7JDXVJA.js → chunk-6X26RTOA.js} +2 -2
  13. package/dist/{chunk-BTH745HU.js → chunk-7FDHPEZ3.js} +2 -2
  14. package/dist/{chunk-IC3NZHPT.js → chunk-EL2O75ZS.js} +2 -2
  15. package/dist/{chunk-4KVAHGMB.js → chunk-FYYPW6EC.js} +2 -2
  16. package/dist/{chunk-RAK6PTNM.js → chunk-G37IJILX.js} +2 -2
  17. package/dist/{chunk-O4J34GZT.js → chunk-GKR7YE2E.js} +2 -2
  18. package/dist/{chunk-SCHMBRK4.js → chunk-H245LNLT.js} +3 -3
  19. package/dist/{chunk-ZSWXEDI6.js → chunk-HLCPLQFG.js} +2 -2
  20. package/dist/{chunk-Z5GJ4FXW.js → chunk-HRTSIY4W.js} +4 -4
  21. package/dist/{chunk-LFKCJQ7G.js → chunk-LQHBSYNN.js} +4 -4
  22. package/dist/{chunk-SZ3CRNPI.js → chunk-M5VIIUM5.js} +8 -8
  23. package/dist/{chunk-GJRLIANS.js → chunk-MBTEWGZK.js} +7 -7
  24. package/dist/{chunk-DYFF72HX.js → chunk-N6UV7XFO.js} +3 -3
  25. package/dist/{chunk-KP4ZXW3B.js → chunk-NZKMPDZ4.js} +3 -3
  26. package/dist/{chunk-NSP3SZW2.js → chunk-O2U2UC6Q.js} +5 -5
  27. package/dist/{chunk-YKVO32BI.js → chunk-O4I6EHI4.js} +8 -8
  28. package/dist/{chunk-FU2FRL46.js → chunk-O6VB54QJ.js} +2 -2
  29. package/dist/{chunk-B4XT3B2E.js → chunk-P6POKYSM.js} +2 -2
  30. package/dist/{chunk-25CWEJ2M.js → chunk-SUCOTX7I.js} +4 -4
  31. package/dist/{chunk-QBCWORAK.js → chunk-V6ADQNN6.js} +3 -3
  32. package/dist/{chunk-QFS5VOB6.js → chunk-VK65G7MX.js} +2 -2
  33. package/dist/{chunk-C7TWCMK4.js → chunk-XAJLOBUL.js} +35 -35
  34. package/dist/{chunk-RQGORCFM.js → chunk-XJ46NHDP.js} +5 -5
  35. package/dist/{chunk-5UDKUPZB.js → chunk-XMG5D3LK.js} +7 -7
  36. package/dist/{cli-circuit-breaker-UWJNXHLC.js → cli-circuit-breaker-C2DPF3IA.js} +4 -4
  37. package/dist/cli.js +40 -40
  38. package/dist/{composite-router-ULDZRQGO.js → composite-router-XMSM4GXK.js} +2 -2
  39. package/dist/{consensus-vote-KF6M7NZJ.js → consensus-vote-S7JBAHGL.js} +15 -15
  40. package/dist/{context-retriever-73PNAWES.js → context-retriever-L2YJ6PYH.js} +8 -8
  41. package/dist/{doctor-deep-LURSTTF7.js → doctor-deep-LMETROQX.js} +3 -3
  42. package/dist/{expert-bridge-VWS3NBL3.js → expert-bridge-Z6DC46Q3.js} +4 -4
  43. package/dist/{factory-KPJ2EG63.js → factory-LLFF3ZKV.js} +5 -5
  44. package/dist/{factory-MYJYONBQ.js → factory-UE63NFX6.js} +8 -8
  45. package/dist/{improvement-review-APOK4U3Z.js → improvement-review-4ZE3NAST.js} +5 -5
  46. package/dist/index.js +30 -30
  47. package/dist/{init-opencode-Y7WPFCY7.js → init-opencode-7ZRU6CII.js} +5 -5
  48. package/dist/{issue-triage-4P3TDIJQ.js → issue-triage-OIKKI7AK.js} +6 -6
  49. package/dist/{pr-reviewer-helpers-4JX2LEVZ.js → pr-reviewer-helpers-5EAVCRYP.js} +4 -4
  50. package/dist/{registry-command-CTYTYRXF.js → registry-command-Q6K5EPGZ.js} +2 -2
  51. package/dist/{repo-security-plan-4CXBXLAY.js → repo-security-plan-25AXO7FG.js} +3 -3
  52. package/dist/{research-helpers-synthesize-23OXMV47.js → research-helpers-synthesize-F734REUK.js} +4 -4
  53. package/dist/{routing-memory-AWCOIW27.js → routing-memory-5LU5WI5T.js} +2 -2
  54. package/dist/{session-memory-P53QXKGV.js → session-memory-3FUIP2L6.js} +3 -3
  55. package/dist/{setup-command-7S744QHK.js → setup-command-J6PASA6P.js} +13 -13
  56. package/dist/{setup-config-B7WLUMUU.js → setup-config-IHLHAX5G.js} +3 -3
  57. package/dist/{setup-custom-api-B6QGKSEY.js → setup-custom-api-JM6Z2442.js} +3 -3
  58. package/dist/{tool-memory-QUFVINHN.js → tool-memory-LPSFODBS.js} +5 -5
  59. package/dist/{unified-registry-4NOWT2MU.js → unified-registry-7MDLPIIK.js} +9 -9
  60. package/dist/{weather-report-MCLS5MFZ.js → weather-report-5HDPEOQ3.js} +2 -2
  61. package/package.json +1 -1
  62. package/dist/chunk-QBOTSJ7S.js.map +0 -1
  63. /package/dist/{child-mcp-config-NW4JZFWC.js.map → child-mcp-config-KD5FKDG7.js.map} +0 -0
  64. /package/dist/{chunk-CEDSYAAI.js.map → chunk-26PMOFR2.js.map} +0 -0
  65. /package/dist/{chunk-DLVDFJXU.js.map → chunk-3DYABC5Y.js.map} +0 -0
  66. /package/dist/{chunk-AJIDYCQG.js.map → chunk-3QY2YLJV.js.map} +0 -0
  67. /package/dist/{chunk-IK7POCXO.js.map → chunk-3Y5UUFZL.js.map} +0 -0
  68. /package/dist/{chunk-S66XOAMZ.js.map → chunk-4KURMOBY.js.map} +0 -0
  69. /package/dist/{chunk-7AJWIOMT.js.map → chunk-5IDFZ2PC.js.map} +0 -0
  70. /package/dist/{chunk-SUWN54CK.js.map → chunk-5LXKF34H.js.map} +0 -0
  71. /package/dist/{chunk-76Q63KJM.js.map → chunk-6OTA2VER.js.map} +0 -0
  72. /package/dist/{chunk-Y7JDXVJA.js.map → chunk-6X26RTOA.js.map} +0 -0
  73. /package/dist/{chunk-BTH745HU.js.map → chunk-7FDHPEZ3.js.map} +0 -0
  74. /package/dist/{chunk-IC3NZHPT.js.map → chunk-EL2O75ZS.js.map} +0 -0
  75. /package/dist/{chunk-4KVAHGMB.js.map → chunk-FYYPW6EC.js.map} +0 -0
  76. /package/dist/{chunk-RAK6PTNM.js.map → chunk-G37IJILX.js.map} +0 -0
  77. /package/dist/{chunk-O4J34GZT.js.map → chunk-GKR7YE2E.js.map} +0 -0
  78. /package/dist/{chunk-SCHMBRK4.js.map → chunk-H245LNLT.js.map} +0 -0
  79. /package/dist/{chunk-ZSWXEDI6.js.map → chunk-HLCPLQFG.js.map} +0 -0
  80. /package/dist/{chunk-Z5GJ4FXW.js.map → chunk-HRTSIY4W.js.map} +0 -0
  81. /package/dist/{chunk-LFKCJQ7G.js.map → chunk-LQHBSYNN.js.map} +0 -0
  82. /package/dist/{chunk-SZ3CRNPI.js.map → chunk-M5VIIUM5.js.map} +0 -0
  83. /package/dist/{chunk-GJRLIANS.js.map → chunk-MBTEWGZK.js.map} +0 -0
  84. /package/dist/{chunk-DYFF72HX.js.map → chunk-N6UV7XFO.js.map} +0 -0
  85. /package/dist/{chunk-KP4ZXW3B.js.map → chunk-NZKMPDZ4.js.map} +0 -0
  86. /package/dist/{chunk-NSP3SZW2.js.map → chunk-O2U2UC6Q.js.map} +0 -0
  87. /package/dist/{chunk-YKVO32BI.js.map → chunk-O4I6EHI4.js.map} +0 -0
  88. /package/dist/{chunk-FU2FRL46.js.map → chunk-O6VB54QJ.js.map} +0 -0
  89. /package/dist/{chunk-B4XT3B2E.js.map → chunk-P6POKYSM.js.map} +0 -0
  90. /package/dist/{chunk-25CWEJ2M.js.map → chunk-SUCOTX7I.js.map} +0 -0
  91. /package/dist/{chunk-QBCWORAK.js.map → chunk-V6ADQNN6.js.map} +0 -0
  92. /package/dist/{chunk-QFS5VOB6.js.map → chunk-VK65G7MX.js.map} +0 -0
  93. /package/dist/{chunk-C7TWCMK4.js.map → chunk-XAJLOBUL.js.map} +0 -0
  94. /package/dist/{chunk-RQGORCFM.js.map → chunk-XJ46NHDP.js.map} +0 -0
  95. /package/dist/{chunk-5UDKUPZB.js.map → chunk-XMG5D3LK.js.map} +0 -0
  96. /package/dist/{cli-circuit-breaker-UWJNXHLC.js.map → cli-circuit-breaker-C2DPF3IA.js.map} +0 -0
  97. /package/dist/{composite-router-ULDZRQGO.js.map → composite-router-XMSM4GXK.js.map} +0 -0
  98. /package/dist/{consensus-vote-KF6M7NZJ.js.map → consensus-vote-S7JBAHGL.js.map} +0 -0
  99. /package/dist/{context-retriever-73PNAWES.js.map → context-retriever-L2YJ6PYH.js.map} +0 -0
  100. /package/dist/{doctor-deep-LURSTTF7.js.map → doctor-deep-LMETROQX.js.map} +0 -0
  101. /package/dist/{expert-bridge-VWS3NBL3.js.map → expert-bridge-Z6DC46Q3.js.map} +0 -0
  102. /package/dist/{factory-KPJ2EG63.js.map → factory-LLFF3ZKV.js.map} +0 -0
  103. /package/dist/{factory-MYJYONBQ.js.map → factory-UE63NFX6.js.map} +0 -0
  104. /package/dist/{improvement-review-APOK4U3Z.js.map → improvement-review-4ZE3NAST.js.map} +0 -0
  105. /package/dist/{init-opencode-Y7WPFCY7.js.map → init-opencode-7ZRU6CII.js.map} +0 -0
  106. /package/dist/{issue-triage-4P3TDIJQ.js.map → issue-triage-OIKKI7AK.js.map} +0 -0
  107. /package/dist/{pr-reviewer-helpers-4JX2LEVZ.js.map → pr-reviewer-helpers-5EAVCRYP.js.map} +0 -0
  108. /package/dist/{registry-command-CTYTYRXF.js.map → registry-command-Q6K5EPGZ.js.map} +0 -0
  109. /package/dist/{repo-security-plan-4CXBXLAY.js.map → repo-security-plan-25AXO7FG.js.map} +0 -0
  110. /package/dist/{research-helpers-synthesize-23OXMV47.js.map → research-helpers-synthesize-F734REUK.js.map} +0 -0
  111. /package/dist/{routing-memory-AWCOIW27.js.map → routing-memory-5LU5WI5T.js.map} +0 -0
  112. /package/dist/{session-memory-P53QXKGV.js.map → session-memory-3FUIP2L6.js.map} +0 -0
  113. /package/dist/{setup-command-7S744QHK.js.map → setup-command-J6PASA6P.js.map} +0 -0
  114. /package/dist/{setup-config-B7WLUMUU.js.map → setup-config-IHLHAX5G.js.map} +0 -0
  115. /package/dist/{setup-custom-api-B6QGKSEY.js.map → setup-custom-api-JM6Z2442.js.map} +0 -0
  116. /package/dist/{tool-memory-QUFVINHN.js.map → tool-memory-LPSFODBS.js.map} +0 -0
  117. /package/dist/{unified-registry-4NOWT2MU.js.map → unified-registry-7MDLPIIK.js.map} +0 -0
  118. /package/dist/{weather-report-MCLS5MFZ.js.map → weather-report-5HDPEOQ3.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-B4XT3B2E.js";
3
+ } from "./chunk-P6POKYSM.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -21,10 +21,10 @@ import {
21
21
  DEFAULT_TASK_TTL_MS,
22
22
  DEFAULT_TOOL_RATE_LIMITS,
23
23
  clampTaskTtl
24
- } from "./chunk-YKVO32BI.js";
24
+ } from "./chunk-O4I6EHI4.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-GJRLIANS.js";
27
+ } from "./chunk-MBTEWGZK.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  abortJob,
@@ -45,21 +45,21 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-SZ3CRNPI.js";
48
+ } from "./chunk-M5VIIUM5.js";
49
49
  import {
50
50
  normalizeTopicToCanonical,
51
51
  synthesizeResearch
52
- } from "./chunk-DYFF72HX.js";
52
+ } from "./chunk-N6UV7XFO.js";
53
53
  import {
54
54
  IssueTriage
55
- } from "./chunk-RQGORCFM.js";
55
+ } from "./chunk-XJ46NHDP.js";
56
56
  import {
57
57
  resolveEnvMode,
58
58
  sanitizeInput
59
- } from "./chunk-CEDSYAAI.js";
59
+ } from "./chunk-26PMOFR2.js";
60
60
  import {
61
61
  withPrerequisite
62
- } from "./chunk-SCHMBRK4.js";
62
+ } from "./chunk-H245LNLT.js";
63
63
  import {
64
64
  NOOP_NOTIFIER,
65
65
  RateLimiter,
@@ -82,12 +82,12 @@ import {
82
82
  withAuditTrail,
83
83
  withProgressHeartbeat,
84
84
  wrapToolWithTimeout
85
- } from "./chunk-KP4ZXW3B.js";
85
+ } from "./chunk-NZKMPDZ4.js";
86
86
  import {
87
87
  createAuditTrail,
88
88
  createGraphAuditBridge,
89
89
  emitPipelinePolicyEvent
90
- } from "./chunk-BTH745HU.js";
90
+ } from "./chunk-7FDHPEZ3.js";
91
91
  import {
92
92
  IDENTIFIER_RE,
93
93
  LANG_VALUES,
@@ -120,15 +120,15 @@ import {
120
120
  parseRegistry,
121
121
  sourceExistsInRegistry,
122
122
  summarizeContextForPrompt
123
- } from "./chunk-QBOTSJ7S.js";
123
+ } from "./chunk-5WFHSWQG.js";
124
124
  import {
125
125
  getTokenEnvVars,
126
126
  resolveToken
127
- } from "./chunk-Y7JDXVJA.js";
127
+ } from "./chunk-6X26RTOA.js";
128
128
  import {
129
129
  loadPapersRegistry,
130
130
  loadTechniquesRegistry
131
- } from "./chunk-ZSWXEDI6.js";
131
+ } from "./chunk-HLCPLQFG.js";
132
132
  import {
133
133
  resolveInsideRoot
134
134
  } from "./chunk-NUBSJGQZ.js";
@@ -137,14 +137,14 @@ import {
137
137
  MemoryImportance,
138
138
  calculateTextJaccardSimilarity,
139
139
  getToolMemory
140
- } from "./chunk-LFKCJQ7G.js";
140
+ } from "./chunk-LQHBSYNN.js";
141
141
  import {
142
142
  STOPWORDS,
143
143
  truncateWithInfo
144
144
  } from "./chunk-6T3EPABN.js";
145
145
  import {
146
146
  createSessionMemory
147
- } from "./chunk-O4J34GZT.js";
147
+ } from "./chunk-GKR7YE2E.js";
148
148
  import {
149
149
  BUILT_IN_EXPERTS,
150
150
  BuiltInExpertTypeSchema,
@@ -159,7 +159,7 @@ import {
159
159
  createEvent,
160
160
  getGlobalEventBus,
161
161
  getGlobalRegistry
162
- } from "./chunk-Z5GJ4FXW.js";
162
+ } from "./chunk-HRTSIY4W.js";
163
163
  import {
164
164
  CliDetectionCache,
165
165
  asRecord,
@@ -168,25 +168,25 @@ import {
168
168
  getAvailableClis,
169
169
  sleep,
170
170
  withTimeout
171
- } from "./chunk-5UDKUPZB.js";
171
+ } from "./chunk-XMG5D3LK.js";
172
172
  import {
173
173
  BaseAdapter,
174
174
  createStream,
175
175
  requireApiKey,
176
176
  validateApiKeyPresence
177
- } from "./chunk-4KVAHGMB.js";
177
+ } from "./chunk-FYYPW6EC.js";
178
178
  import {
179
179
  DEFAULTS
180
- } from "./chunk-QFS5VOB6.js";
180
+ } from "./chunk-VK65G7MX.js";
181
181
  import {
182
182
  getAvailabilityCache,
183
183
  getCliForModelId,
184
184
  resolveFallback
185
- } from "./chunk-SUWN54CK.js";
185
+ } from "./chunk-5LXKF34H.js";
186
186
  import {
187
187
  generateHyphenId,
188
188
  generateUUID
189
- } from "./chunk-IC3NZHPT.js";
189
+ } from "./chunk-EL2O75ZS.js";
190
190
  import {
191
191
  AGENT_ROUTER_TIMEOUTS,
192
192
  API_TIMEOUTS,
@@ -283,7 +283,7 @@ import {
283
283
  selectStrategyByManifest,
284
284
  toExpertTaskAnalysisResult,
285
285
  withStep
286
- } from "./chunk-QBCWORAK.js";
286
+ } from "./chunk-V6ADQNN6.js";
287
287
  import {
288
288
  ensureLearningDir,
289
289
  getMetaOutcomesFile,
@@ -28299,7 +28299,7 @@ function execIdFields(executionId) {
28299
28299
  async function populateUnifiedContextOnState(state, options) {
28300
28300
  const taskCandidate = state["task"];
28301
28301
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28302
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-73PNAWES.js");
28302
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-L2YJ6PYH.js");
28303
28303
  const category = inferTaskCategory2(taskCandidate);
28304
28304
  const executionId = options?.executionId;
28305
28305
  const execFields = execIdFields(executionId);
@@ -43803,7 +43803,7 @@ async function tryIssueTriage(task) {
43803
43803
  try {
43804
43804
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43805
43805
  if (issueMatch === null) return null;
43806
- const { createIssueTriage } = await import("./issue-triage-4P3TDIJQ.js");
43806
+ const { createIssueTriage } = await import("./issue-triage-OIKKI7AK.js");
43807
43807
  const triage = createIssueTriage();
43808
43808
  const owner = issueMatch[1] ?? "";
43809
43809
  const num = issueMatch[2] ?? "";
@@ -43831,7 +43831,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43831
43831
  ]);
43832
43832
  async function classifyWithLLM(task) {
43833
43833
  try {
43834
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-VWS3NBL3.js");
43834
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-Z6DC46Q3.js");
43835
43835
  const prompt = [
43836
43836
  "Classify this task into exactly one pipeline template.",
43837
43837
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45472,7 +45472,7 @@ var memoryInitPromise = null;
45472
45472
  async function initPipelineMemory() {
45473
45473
  if (cachedMemory !== null) return cachedMemory;
45474
45474
  try {
45475
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P53QXKGV.js");
45475
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3FUIP2L6.js");
45476
45476
  const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
45477
45477
  const mem = createSessionMemory2(getLearningDir());
45478
45478
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45534,7 +45534,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45534
45534
  callRecord(routingMemoryCache);
45535
45535
  return;
45536
45536
  }
45537
- routingMemoryInitPromise ??= import("./routing-memory-AWCOIW27.js").then(({ createRoutingMemory }) => {
45537
+ routingMemoryInitPromise ??= import("./routing-memory-5LU5WI5T.js").then(({ createRoutingMemory }) => {
45538
45538
  routingMemoryCache ??= createRoutingMemory();
45539
45539
  return routingMemoryCache;
45540
45540
  }).catch((error) => {
@@ -45568,7 +45568,7 @@ ${text}` : "";
45568
45568
  }
45569
45569
  async function getWeatherContext() {
45570
45570
  try {
45571
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-MCLS5MFZ.js");
45571
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-5HDPEOQ3.js");
45572
45572
  const report = generateWeatherReport2({ includeAdaptive: true });
45573
45573
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45574
45574
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45586,7 +45586,7 @@ ${lines}
45586
45586
  }
45587
45587
  async function getMemoryContext(task) {
45588
45588
  try {
45589
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P53QXKGV.js");
45589
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3FUIP2L6.js");
45590
45590
  const { getLearningDir } = await import("./learning-persistence-6D5GGT7D.js");
45591
45591
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45592
45592
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45701,7 +45701,7 @@ ${contextBlock}`;
45701
45701
  const strategy = config.votingStrategy ?? "higher_order";
45702
45702
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45703
45703
  try {
45704
- const { executeVoting } = await import("./consensus-vote-KF6M7NZJ.js");
45704
+ const { executeVoting } = await import("./consensus-vote-S7JBAHGL.js");
45705
45705
  const votingResult = await executeVoting(
45706
45706
  {
45707
45707
  proposal: buildVoteProposal(plan, research),
@@ -46142,7 +46142,7 @@ async function searchCodebaseForTask(task) {
46142
46142
  }
46143
46143
  async function queryResearchRegistry(task) {
46144
46144
  try {
46145
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-23OXMV47.js");
46145
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-F734REUK.js");
46146
46146
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46147
46147
  if (topic === void 0) return null;
46148
46148
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46213,7 +46213,7 @@ function createScanStageWrapper() {
46213
46213
  try {
46214
46214
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46215
46215
  if (slug !== void 0) {
46216
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-4CXBXLAY.js");
46216
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-25AXO7FG.js");
46217
46217
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46218
46218
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46219
46219
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49173,7 +49173,7 @@ var GitHubTaskTracker = class {
49173
49173
  cachedProvider = null;
49174
49174
  async getProvider() {
49175
49175
  if (this.cachedProvider !== null) return this.cachedProvider;
49176
- const { createScmProvider } = await import("./factory-KPJ2EG63.js");
49176
+ const { createScmProvider } = await import("./factory-LLFF3ZKV.js");
49177
49177
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49178
49178
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49179
49179
  this.cachedProvider = result.value;
@@ -49980,7 +49980,7 @@ async function probeSource(source, includeModelIds) {
49980
49980
  }
49981
49981
  }
49982
49982
  async function defaultSources(includeOpenRouter) {
49983
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-MYJYONBQ.js");
49983
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-UE63NFX6.js");
49984
49984
  const adapters = createAllAdapters2();
49985
49985
  return buildDefaultModelSources(adapters, { includeOpenRouter });
49986
49986
  }
@@ -54000,4 +54000,4 @@ export {
54000
54000
  shutdownFeedbackSubscriber,
54001
54001
  createEventBusBridge
54002
54002
  };
54003
- //# sourceMappingURL=chunk-C7TWCMK4.js.map
54003
+ //# sourceMappingURL=chunk-XAJLOBUL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-RAK6PTNM.js";
4
+ } from "./chunk-G37IJILX.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,17 +11,17 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-CEDSYAAI.js";
14
+ } from "./chunk-26PMOFR2.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-BTH745HU.js";
17
+ } from "./chunk-7FDHPEZ3.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-QBCWORAK.js";
24
+ } from "./chunk-V6ADQNN6.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1211,4 +1211,4 @@ export {
1211
1211
  IssueTriage,
1212
1212
  createIssueTriage
1213
1213
  };
1214
- //# sourceMappingURL=chunk-RQGORCFM.js.map
1214
+ //# sourceMappingURL=chunk-XJ46NHDP.js.map
@@ -5,27 +5,27 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-4KVAHGMB.js";
8
+ } from "./chunk-FYYPW6EC.js";
9
9
  import {
10
10
  CUSTOM_API_BASE_URL_ENV,
11
11
  CUSTOM_API_DEFAULT_MODEL,
12
12
  PROVIDER_ENV_KEYS,
13
13
  assertCustomApiHostResolvesPublic,
14
14
  validateCustomApiBaseUrl
15
- } from "./chunk-QFS5VOB6.js";
15
+ } from "./chunk-VK65G7MX.js";
16
16
  import {
17
17
  CliCircuitBreaker,
18
18
  DEFAULT_CIRCUIT_BREAKER_CONFIG
19
- } from "./chunk-76Q63KJM.js";
19
+ } from "./chunk-6OTA2VER.js";
20
20
  import {
21
21
  getAvailabilityCache
22
- } from "./chunk-SUWN54CK.js";
22
+ } from "./chunk-5LXKF34H.js";
23
23
  import {
24
24
  extractSystemPrompt
25
25
  } from "./chunk-QZUG667L.js";
26
26
  import {
27
27
  generateHyphenId
28
- } from "./chunk-IC3NZHPT.js";
28
+ } from "./chunk-EL2O75ZS.js";
29
29
  import {
30
30
  CLI_SUBPROCESS_TIMEOUTS,
31
31
  CLI_TIMEOUTS,
@@ -61,7 +61,7 @@ import {
61
61
  loadModelsDevSnapshot,
62
62
  ok,
63
63
  resolveCliAlias
64
- } from "./chunk-QBCWORAK.js";
64
+ } from "./chunk-V6ADQNN6.js";
65
65
 
66
66
  // src/cli-adapters/cli-to-model-adapter.ts
67
67
  var CliToModelAdapter = class {
@@ -4817,4 +4817,4 @@ export {
4817
4817
  SdkAdapter,
4818
4818
  createAutoAdapter
4819
4819
  };
4820
- //# sourceMappingURL=chunk-5UDKUPZB.js.map
4820
+ //# sourceMappingURL=chunk-XMG5D3LK.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-IK7POCXO.js";
5
- import "./chunk-76Q63KJM.js";
6
- import "./chunk-QBCWORAK.js";
4
+ } from "./chunk-3Y5UUFZL.js";
5
+ import "./chunk-6OTA2VER.js";
6
+ import "./chunk-V6ADQNN6.js";
7
7
  import "./chunk-AXTD4TFK.js";
8
8
  import "./chunk-DHVMSIT5.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -11,4 +11,4 @@ export {
11
11
  CliCircuitBreakerIntegration,
12
12
  createCliCircuitBreakerIntegration
13
13
  };
14
- //# sourceMappingURL=cli-circuit-breaker-UWJNXHLC.js.map
14
+ //# sourceMappingURL=cli-circuit-breaker-C2DPF3IA.js.map
package/dist/cli.js CHANGED
@@ -13,13 +13,13 @@ import {
13
13
  generateSummary,
14
14
  parseFindings,
15
15
  sumFindings
16
- } from "./chunk-AJIDYCQG.js";
17
- import "./chunk-FU2FRL46.js";
16
+ } from "./chunk-3QY2YLJV.js";
17
+ import "./chunk-O6VB54QJ.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-NSP3SZW2.js";
22
- import "./chunk-S66XOAMZ.js";
21
+ } from "./chunk-O2U2UC6Q.js";
22
+ import "./chunk-4KURMOBY.js";
23
23
  import {
24
24
  AuthHandler,
25
25
  DEFAULT_EXPERTS,
@@ -139,8 +139,8 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-C7TWCMK4.js";
143
- import "./chunk-B4XT3B2E.js";
142
+ } from "./chunk-XAJLOBUL.js";
143
+ import "./chunk-P6POKYSM.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-YF35FKKD.js";
146
146
  import {
@@ -166,15 +166,15 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-YKVO32BI.js";
169
+ } from "./chunk-O4I6EHI4.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
173
- } from "./chunk-DLVDFJXU.js";
174
- import "./chunk-IK7POCXO.js";
173
+ } from "./chunk-3DYABC5Y.js";
174
+ import "./chunk-3Y5UUFZL.js";
175
175
  import {
176
176
  shutdownExpertBridge
177
- } from "./chunk-GJRLIANS.js";
177
+ } from "./chunk-MBTEWGZK.js";
178
178
  import {
179
179
  ConsensusVoteInputSchema,
180
180
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -184,25 +184,25 @@ import {
184
184
  executeVoting,
185
185
  mapOutcomeToDecision,
186
186
  registerConsensusVoteTool
187
- } from "./chunk-SZ3CRNPI.js";
187
+ } from "./chunk-M5VIIUM5.js";
188
188
  import {
189
189
  loadUsageEvents,
190
190
  rollupByModel
191
- } from "./chunk-7AJWIOMT.js";
191
+ } from "./chunk-5IDFZ2PC.js";
192
192
  import {
193
193
  synthesizeResearch
194
- } from "./chunk-DYFF72HX.js";
194
+ } from "./chunk-N6UV7XFO.js";
195
195
  import {
196
196
  classifyTrust,
197
197
  createFullGitHubProvider,
198
198
  evaluatePolicy,
199
199
  parsePRUrl
200
- } from "./chunk-RQGORCFM.js";
201
- import "./chunk-RAK6PTNM.js";
200
+ } from "./chunk-XJ46NHDP.js";
201
+ import "./chunk-G37IJILX.js";
202
202
  import {
203
203
  ReputationCache,
204
204
  sanitizeInput
205
- } from "./chunk-CEDSYAAI.js";
205
+ } from "./chunk-26PMOFR2.js";
206
206
  import {
207
207
  ImprovementReviewInputSchema,
208
208
  calculateFitnessScore,
@@ -216,11 +216,11 @@ import {
216
216
  registerImprovementReviewTool,
217
217
  runImprovementReview,
218
218
  scanForSecrets
219
- } from "./chunk-SCHMBRK4.js";
219
+ } from "./chunk-H245LNLT.js";
220
220
  import {
221
221
  createDefaultPolicyFirewall
222
- } from "./chunk-KP4ZXW3B.js";
223
- import "./chunk-BTH745HU.js";
222
+ } from "./chunk-NZKMPDZ4.js";
223
+ import "./chunk-7FDHPEZ3.js";
224
224
  import {
225
225
  CodebaseIndexSchema,
226
226
  PaperStatusSchema,
@@ -246,31 +246,31 @@ import {
246
246
  loadSourcesRegistry,
247
247
  rankDiscoveredItems,
248
248
  saveSourcesRegistry
249
- } from "./chunk-QBOTSJ7S.js";
249
+ } from "./chunk-5WFHSWQG.js";
250
250
  import {
251
251
  resolveToken
252
- } from "./chunk-Y7JDXVJA.js";
252
+ } from "./chunk-6X26RTOA.js";
253
253
  import {
254
254
  loadPapersRegistry,
255
255
  loadTechniquesRegistry,
256
256
  savePapersRegistry
257
- } from "./chunk-ZSWXEDI6.js";
257
+ } from "./chunk-HLCPLQFG.js";
258
258
  import "./chunk-NUBSJGQZ.js";
259
259
  import {
260
260
  MemoryError,
261
261
  shutdownToolMemory
262
- } from "./chunk-LFKCJQ7G.js";
262
+ } from "./chunk-LQHBSYNN.js";
263
263
  import {
264
264
  capitalize,
265
265
  capitalizeKebab
266
266
  } from "./chunk-6T3EPABN.js";
267
- import "./chunk-O4J34GZT.js";
267
+ import "./chunk-GKR7YE2E.js";
268
268
  import "./chunk-ZM4O442V.js";
269
269
  import "./chunk-PINS44XA.js";
270
270
  import "./chunk-KSQSWEFH.js";
271
271
  import {
272
272
  createUnifiedRegistry
273
- } from "./chunk-Z5GJ4FXW.js";
273
+ } from "./chunk-HRTSIY4W.js";
274
274
  import {
275
275
  NEXUS_SUBPROCESS_DEPTH_ENV,
276
276
  createAllAdapters,
@@ -278,15 +278,15 @@ import {
278
278
  isRecord,
279
279
  probeAllClis,
280
280
  readSubprocessDepth
281
- } from "./chunk-5UDKUPZB.js";
282
- import "./chunk-4KVAHGMB.js";
281
+ } from "./chunk-XMG5D3LK.js";
282
+ import "./chunk-FYYPW6EC.js";
283
283
  import {
284
284
  DEFAULTS
285
- } from "./chunk-QFS5VOB6.js";
286
- import "./chunk-76Q63KJM.js";
287
- import "./chunk-SUWN54CK.js";
285
+ } from "./chunk-VK65G7MX.js";
286
+ import "./chunk-6OTA2VER.js";
287
+ import "./chunk-5LXKF34H.js";
288
288
  import "./chunk-QZUG667L.js";
289
- import "./chunk-IC3NZHPT.js";
289
+ import "./chunk-EL2O75ZS.js";
290
290
  import {
291
291
  API_TIMEOUTS,
292
292
  AgentCapability,
@@ -360,7 +360,7 @@ import {
360
360
  validateTimeout,
361
361
  writeEmptyLine,
362
362
  writeLine
363
- } from "./chunk-QBCWORAK.js";
363
+ } from "./chunk-V6ADQNN6.js";
364
364
  import "./chunk-AXTD4TFK.js";
365
365
  import {
366
366
  applyPortableMode,
@@ -4038,7 +4038,7 @@ ${file.patch}
4038
4038
  violations: policyResult.violations
4039
4039
  });
4040
4040
  }
4041
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-4JX2LEVZ.js");
4041
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-5EAVCRYP.js");
4042
4042
  const body = formatReviewComment2(result);
4043
4043
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4044
4044
  if (!postResult.ok) {
@@ -17386,7 +17386,7 @@ function startImprovementReviewScheduler(options) {
17386
17386
  let running = false;
17387
17387
  const runOnce = async () => {
17388
17388
  try {
17389
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-APOK4U3Z.js");
17389
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-4ZE3NAST.js");
17390
17390
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17391
17391
  const result = await runImprovementReview2(input, { logger: logger19 });
17392
17392
  logger19.info("Scheduled improvement_review complete", {
@@ -19440,7 +19440,7 @@ function adaptConfigToLibrary(config) {
19440
19440
  }
19441
19441
  function createBeliefPromoter() {
19442
19442
  return async (event) => {
19443
- const { getToolMemory } = await import("./tool-memory-QUFVINHN.js");
19443
+ const { getToolMemory } = await import("./tool-memory-LPSFODBS.js");
19444
19444
  const tm = getToolMemory();
19445
19445
  await tm.recordBelief(
19446
19446
  `skill:${event.name}`,
@@ -20616,7 +20616,7 @@ async function handleResearchCommand(args) {
20616
20616
  }
20617
20617
  }
20618
20618
  async function handleRegistryCommand(args) {
20619
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-CTYTYRXF.js");
20619
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-Q6K5EPGZ.js");
20620
20620
  const subcommand = args.subcommand;
20621
20621
  if (!isValidRegistrySubcommand(subcommand)) {
20622
20622
  process.stdout.write(`${formatRegistryUsage()}
@@ -20664,7 +20664,7 @@ async function handleVerifyCommand(args) {
20664
20664
  async function handleDoctorCommand(args) {
20665
20665
  const exitCode = await doctorCommand({ fix: args.options.fix });
20666
20666
  if (args.options.deep) {
20667
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LURSTTF7.js");
20667
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LMETROQX.js");
20668
20668
  const diag = runDeepDiagnostics2();
20669
20669
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20670
20670
  }
@@ -20714,7 +20714,7 @@ async function runInitPortableFlow(args) {
20714
20714
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20715
20715
  }
20716
20716
  async function runInitOpencodeFlow(args) {
20717
- const { runInitOpencode } = await import("./init-opencode-Y7WPFCY7.js");
20717
+ const { runInitOpencode } = await import("./init-opencode-7ZRU6CII.js");
20718
20718
  const opencodePath = args.options.opencode;
20719
20719
  if (opencodePath === void 0 || opencodePath === "") {
20720
20720
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -20740,7 +20740,7 @@ async function runInitOpencodeFlow(args) {
20740
20740
  return cliExit(EXIT_CODES.SUCCESS);
20741
20741
  }
20742
20742
  async function renderOpencodeValidate(opencodePath) {
20743
- const { runOpencodeValidate } = await import("./init-opencode-Y7WPFCY7.js");
20743
+ const { runOpencodeValidate } = await import("./init-opencode-7ZRU6CII.js");
20744
20744
  const result = await runOpencodeValidate(opencodePath);
20745
20745
  if (!result.ok) {
20746
20746
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -20779,7 +20779,7 @@ async function handleSetupCommandAsync(args) {
20779
20779
  return cliExitFromStatus(exitCode);
20780
20780
  }
20781
20781
  async function runCustomApiSetup(args) {
20782
- const { configureCustomApi } = await import("./setup-custom-api-B6QGKSEY.js");
20782
+ const { configureCustomApi } = await import("./setup-custom-api-JM6Z2442.js");
20783
20783
  const baseUrl = args.options.customApi;
20784
20784
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
20785
20785
  const input = {
@@ -4,7 +4,7 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-QBCWORAK.js";
7
+ } from "./chunk-V6ADQNN6.js";
8
8
  import "./chunk-AXTD4TFK.js";
9
9
  import "./chunk-DHVMSIT5.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -15,4 +15,4 @@ export {
15
15
  DEFAULT_COMPOSITE_CONFIG,
16
16
  createCompositeRouter
17
17
  };
18
- //# sourceMappingURL=composite-router-ULDZRQGO.js.map
18
+ //# sourceMappingURL=composite-router-XMSM4GXK.js.map
@@ -8,24 +8,24 @@ import {
8
8
  registerConsensusVoteTool,
9
9
  resetCorrelationTracker,
10
10
  runConsensusForGoal
11
- } from "./chunk-SZ3CRNPI.js";
12
- import "./chunk-7AJWIOMT.js";
13
- import "./chunk-KP4ZXW3B.js";
14
- import "./chunk-BTH745HU.js";
15
- import "./chunk-LFKCJQ7G.js";
11
+ } from "./chunk-M5VIIUM5.js";
12
+ import "./chunk-5IDFZ2PC.js";
13
+ import "./chunk-NZKMPDZ4.js";
14
+ import "./chunk-7FDHPEZ3.js";
15
+ import "./chunk-LQHBSYNN.js";
16
16
  import "./chunk-6T3EPABN.js";
17
- import "./chunk-O4J34GZT.js";
17
+ import "./chunk-GKR7YE2E.js";
18
18
  import "./chunk-PINS44XA.js";
19
19
  import "./chunk-KSQSWEFH.js";
20
- import "./chunk-Z5GJ4FXW.js";
21
- import "./chunk-5UDKUPZB.js";
22
- import "./chunk-4KVAHGMB.js";
23
- import "./chunk-QFS5VOB6.js";
24
- import "./chunk-76Q63KJM.js";
25
- import "./chunk-SUWN54CK.js";
20
+ import "./chunk-HRTSIY4W.js";
21
+ import "./chunk-XMG5D3LK.js";
22
+ import "./chunk-FYYPW6EC.js";
23
+ import "./chunk-VK65G7MX.js";
24
+ import "./chunk-6OTA2VER.js";
25
+ import "./chunk-5LXKF34H.js";
26
26
  import "./chunk-QZUG667L.js";
27
- import "./chunk-IC3NZHPT.js";
28
- import "./chunk-QBCWORAK.js";
27
+ import "./chunk-EL2O75ZS.js";
28
+ import "./chunk-V6ADQNN6.js";
29
29
  import "./chunk-AXTD4TFK.js";
30
30
  import "./chunk-DHVMSIT5.js";
31
31
  import "./chunk-ZPWHCABL.js";
@@ -40,4 +40,4 @@ export {
40
40
  resetCorrelationTracker,
41
41
  runConsensusForGoal
42
42
  };
43
- //# sourceMappingURL=consensus-vote-KF6M7NZJ.js.map
43
+ //# sourceMappingURL=consensus-vote-S7JBAHGL.js.map