nexus-agents 4.18.1 → 4.18.3

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 (120) hide show
  1. package/dist/{child-mcp-config-CXCJFCWM.js → child-mcp-config-6JLJLDGR.js} +2 -2
  2. package/dist/{chunk-IHT6MNGI.js → chunk-2AAG45CT.js} +2 -2
  3. package/dist/{chunk-IMBYIL3N.js → chunk-2D3KX7MD.js} +2 -2
  4. package/dist/{chunk-DCWZV3OI.js → chunk-2GSHMVVW.js} +3 -3
  5. package/dist/{chunk-RLNEUQTN.js → chunk-3CU6PDLQ.js} +5 -5
  6. package/dist/{chunk-GQAKNZ44.js → chunk-3VJ2MSUU.js} +7 -7
  7. package/dist/{chunk-D3SFJ4JZ.js → chunk-3WGAPD5L.js} +3 -3
  8. package/dist/{chunk-SR4HN3VE.js → chunk-3WKO7D53.js} +8 -8
  9. package/dist/{chunk-UYZTRYDQ.js → chunk-5HGWH5WI.js} +2 -2
  10. package/dist/{chunk-QZB56T4I.js → chunk-76WTN2BX.js} +35 -35
  11. package/dist/{chunk-HNNAPRVA.js → chunk-7CGVYJQS.js} +11 -6
  12. package/dist/chunk-7CGVYJQS.js.map +1 -0
  13. package/dist/{chunk-7OFYAL77.js → chunk-7DTA52VT.js} +49 -31
  14. package/dist/{chunk-7OFYAL77.js.map → chunk-7DTA52VT.js.map} +1 -1
  15. package/dist/{chunk-B3Z5U7NE.js → chunk-AZMXXJ5X.js} +2 -2
  16. package/dist/{chunk-F2THM2ZA.js → chunk-BNWYB6E6.js} +2 -2
  17. package/dist/{chunk-OA77RDQO.js → chunk-EB3NZFSA.js} +2 -2
  18. package/dist/{chunk-ELDOH63W.js → chunk-EI3AC7X2.js} +4 -4
  19. package/dist/{chunk-MIFSYE7M.js → chunk-EQG2GVM7.js} +3 -3
  20. package/dist/{chunk-CCPBYVVN.js → chunk-FBR5GT7E.js} +6 -6
  21. package/dist/{chunk-TYSMC4TH.js → chunk-HBTUFRGO.js} +2 -2
  22. package/dist/{chunk-QVZF2S2Z.js → chunk-JKWBSEL3.js} +2 -2
  23. package/dist/{chunk-XKHLFJSV.js → chunk-JUXLSC52.js} +2 -2
  24. package/dist/{chunk-EP2HSK76.js → chunk-MMDJ4TU6.js} +2 -2
  25. package/dist/{chunk-4UAEE4RN.js → chunk-MY33A5CO.js} +2 -2
  26. package/dist/{chunk-SYREKKET.js → chunk-MYYPOVLV.js} +8 -8
  27. package/dist/{chunk-5XA3MJPK.js → chunk-Q2VYGOSY.js} +2 -2
  28. package/dist/{chunk-ABYTFXK7.js → chunk-R54L73RR.js} +2 -2
  29. package/dist/{chunk-EO2YU6RB.js → chunk-RAOEVIA2.js} +4 -4
  30. package/dist/{chunk-Q7TBUSVT.js → chunk-SHMGRIYH.js} +2 -2
  31. package/dist/{chunk-RQQMMAWU.js → chunk-SPU2PTV7.js} +2 -2
  32. package/dist/{chunk-3ANZ5D7Z.js → chunk-SWCDZHUY.js} +2 -2
  33. package/dist/{chunk-SRYDZXJY.js → chunk-TKI4VCS6.js} +3 -3
  34. package/dist/{chunk-XKR6PLE6.js → chunk-UGIA52M7.js} +3 -3
  35. package/dist/{chunk-FCA2DBE5.js → chunk-XOC6DP35.js} +4 -4
  36. package/dist/{cli-circuit-breaker-BQE62EAH.js → cli-circuit-breaker-VX7YIXHE.js} +3 -3
  37. package/dist/cli.js +40 -40
  38. package/dist/{composite-router-6FJMOOJG.js → composite-router-BU4CXKV2.js} +2 -2
  39. package/dist/{consensus-vote-J55L27EQ.js → consensus-vote-DQ6VBS7I.js} +16 -16
  40. package/dist/{context-retriever-KKZJ3TNC.js → context-retriever-Y7FS4RCN.js} +8 -8
  41. package/dist/{doctor-deep-56LIAJSL.js → doctor-deep-FHMLBUAO.js} +3 -3
  42. package/dist/{doctor-live-Y47WTCCL.js → doctor-live-H2CSOEWT.js} +9 -9
  43. package/dist/{expert-bridge-VFGOXSNV.js → expert-bridge-KH35UIRS.js} +4 -4
  44. package/dist/{factory-RIBWWJPG.js → factory-FEJB4OCS.js} +5 -5
  45. package/dist/{factory-W3REVCVN.js → factory-NXF36QPJ.js} +9 -9
  46. package/dist/{improvement-review-G54FHQDD.js → improvement-review-XPIA6KDL.js} +5 -5
  47. package/dist/index.js +30 -30
  48. package/dist/{init-opencode-EQA555EU.js → init-opencode-RMQHV22F.js} +6 -6
  49. package/dist/issue-triage-M2YN5FMW.js +17 -0
  50. package/dist/{pr-reviewer-helpers-NINQHZLU.js → pr-reviewer-helpers-JTONAPBK.js} +4 -4
  51. package/dist/{registry-command-AXXMZAX2.js → registry-command-NFR5FYUP.js} +2 -2
  52. package/dist/{repo-security-plan-TJRIVAJU.js → repo-security-plan-H4FLKET3.js} +3 -3
  53. package/dist/{research-helpers-synthesize-4DBBCMWP.js → research-helpers-synthesize-VXUN6GGY.js} +4 -4
  54. package/dist/{routing-memory-BXEJTK5X.js → routing-memory-GARJ7D7B.js} +2 -2
  55. package/dist/{session-memory-AKYKTGAS.js → session-memory-AEOECSZP.js} +3 -3
  56. package/dist/{setup-config-7IOG46GX.js → setup-config-N6WDWBUU.js} +3 -3
  57. package/dist/{setup-custom-api-HBOJBRNU.js → setup-custom-api-LRRWPNLL.js} +4 -4
  58. package/dist/setup-data-dir-XF257UMQ.js +28 -0
  59. package/dist/{tool-memory-VSDISK6R.js → tool-memory-QIOKTGQT.js} +5 -5
  60. package/dist/{unified-registry-5VBLFKLP.js → unified-registry-5GGXSFFS.js} +10 -10
  61. package/dist/{weather-report-DW6G66FU.js → weather-report-ZWXHO3EF.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/chunk-HNNAPRVA.js.map +0 -1
  64. package/dist/issue-triage-HSRNBOAA.js +0 -17
  65. package/dist/setup-data-dir-I4G7FLFC.js +0 -28
  66. /package/dist/{child-mcp-config-CXCJFCWM.js.map → child-mcp-config-6JLJLDGR.js.map} +0 -0
  67. /package/dist/{chunk-IHT6MNGI.js.map → chunk-2AAG45CT.js.map} +0 -0
  68. /package/dist/{chunk-IMBYIL3N.js.map → chunk-2D3KX7MD.js.map} +0 -0
  69. /package/dist/{chunk-DCWZV3OI.js.map → chunk-2GSHMVVW.js.map} +0 -0
  70. /package/dist/{chunk-RLNEUQTN.js.map → chunk-3CU6PDLQ.js.map} +0 -0
  71. /package/dist/{chunk-GQAKNZ44.js.map → chunk-3VJ2MSUU.js.map} +0 -0
  72. /package/dist/{chunk-D3SFJ4JZ.js.map → chunk-3WGAPD5L.js.map} +0 -0
  73. /package/dist/{chunk-SR4HN3VE.js.map → chunk-3WKO7D53.js.map} +0 -0
  74. /package/dist/{chunk-UYZTRYDQ.js.map → chunk-5HGWH5WI.js.map} +0 -0
  75. /package/dist/{chunk-QZB56T4I.js.map → chunk-76WTN2BX.js.map} +0 -0
  76. /package/dist/{chunk-B3Z5U7NE.js.map → chunk-AZMXXJ5X.js.map} +0 -0
  77. /package/dist/{chunk-F2THM2ZA.js.map → chunk-BNWYB6E6.js.map} +0 -0
  78. /package/dist/{chunk-OA77RDQO.js.map → chunk-EB3NZFSA.js.map} +0 -0
  79. /package/dist/{chunk-ELDOH63W.js.map → chunk-EI3AC7X2.js.map} +0 -0
  80. /package/dist/{chunk-MIFSYE7M.js.map → chunk-EQG2GVM7.js.map} +0 -0
  81. /package/dist/{chunk-CCPBYVVN.js.map → chunk-FBR5GT7E.js.map} +0 -0
  82. /package/dist/{chunk-TYSMC4TH.js.map → chunk-HBTUFRGO.js.map} +0 -0
  83. /package/dist/{chunk-QVZF2S2Z.js.map → chunk-JKWBSEL3.js.map} +0 -0
  84. /package/dist/{chunk-XKHLFJSV.js.map → chunk-JUXLSC52.js.map} +0 -0
  85. /package/dist/{chunk-EP2HSK76.js.map → chunk-MMDJ4TU6.js.map} +0 -0
  86. /package/dist/{chunk-4UAEE4RN.js.map → chunk-MY33A5CO.js.map} +0 -0
  87. /package/dist/{chunk-SYREKKET.js.map → chunk-MYYPOVLV.js.map} +0 -0
  88. /package/dist/{chunk-5XA3MJPK.js.map → chunk-Q2VYGOSY.js.map} +0 -0
  89. /package/dist/{chunk-ABYTFXK7.js.map → chunk-R54L73RR.js.map} +0 -0
  90. /package/dist/{chunk-EO2YU6RB.js.map → chunk-RAOEVIA2.js.map} +0 -0
  91. /package/dist/{chunk-Q7TBUSVT.js.map → chunk-SHMGRIYH.js.map} +0 -0
  92. /package/dist/{chunk-RQQMMAWU.js.map → chunk-SPU2PTV7.js.map} +0 -0
  93. /package/dist/{chunk-3ANZ5D7Z.js.map → chunk-SWCDZHUY.js.map} +0 -0
  94. /package/dist/{chunk-SRYDZXJY.js.map → chunk-TKI4VCS6.js.map} +0 -0
  95. /package/dist/{chunk-XKR6PLE6.js.map → chunk-UGIA52M7.js.map} +0 -0
  96. /package/dist/{chunk-FCA2DBE5.js.map → chunk-XOC6DP35.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-BQE62EAH.js.map → cli-circuit-breaker-VX7YIXHE.js.map} +0 -0
  98. /package/dist/{composite-router-6FJMOOJG.js.map → composite-router-BU4CXKV2.js.map} +0 -0
  99. /package/dist/{consensus-vote-J55L27EQ.js.map → consensus-vote-DQ6VBS7I.js.map} +0 -0
  100. /package/dist/{context-retriever-KKZJ3TNC.js.map → context-retriever-Y7FS4RCN.js.map} +0 -0
  101. /package/dist/{doctor-deep-56LIAJSL.js.map → doctor-deep-FHMLBUAO.js.map} +0 -0
  102. /package/dist/{doctor-live-Y47WTCCL.js.map → doctor-live-H2CSOEWT.js.map} +0 -0
  103. /package/dist/{expert-bridge-VFGOXSNV.js.map → expert-bridge-KH35UIRS.js.map} +0 -0
  104. /package/dist/{factory-RIBWWJPG.js.map → factory-FEJB4OCS.js.map} +0 -0
  105. /package/dist/{factory-W3REVCVN.js.map → factory-NXF36QPJ.js.map} +0 -0
  106. /package/dist/{improvement-review-G54FHQDD.js.map → improvement-review-XPIA6KDL.js.map} +0 -0
  107. /package/dist/{init-opencode-EQA555EU.js.map → init-opencode-RMQHV22F.js.map} +0 -0
  108. /package/dist/{issue-triage-HSRNBOAA.js.map → issue-triage-M2YN5FMW.js.map} +0 -0
  109. /package/dist/{pr-reviewer-helpers-NINQHZLU.js.map → pr-reviewer-helpers-JTONAPBK.js.map} +0 -0
  110. /package/dist/{registry-command-AXXMZAX2.js.map → registry-command-NFR5FYUP.js.map} +0 -0
  111. /package/dist/{repo-security-plan-TJRIVAJU.js.map → repo-security-plan-H4FLKET3.js.map} +0 -0
  112. /package/dist/{research-helpers-synthesize-4DBBCMWP.js.map → research-helpers-synthesize-VXUN6GGY.js.map} +0 -0
  113. /package/dist/{routing-memory-BXEJTK5X.js.map → routing-memory-GARJ7D7B.js.map} +0 -0
  114. /package/dist/{session-memory-AKYKTGAS.js.map → session-memory-AEOECSZP.js.map} +0 -0
  115. /package/dist/{setup-config-7IOG46GX.js.map → setup-config-N6WDWBUU.js.map} +0 -0
  116. /package/dist/{setup-custom-api-HBOJBRNU.js.map → setup-custom-api-LRRWPNLL.js.map} +0 -0
  117. /package/dist/{setup-data-dir-I4G7FLFC.js.map → setup-data-dir-XF257UMQ.js.map} +0 -0
  118. /package/dist/{tool-memory-VSDISK6R.js.map → tool-memory-QIOKTGQT.js.map} +0 -0
  119. /package/dist/{unified-registry-5VBLFKLP.js.map → unified-registry-5GGXSFFS.js.map} +0 -0
  120. /package/dist/{weather-report-DW6G66FU.js.map → weather-report-ZWXHO3EF.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RQV5ZUXT.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-SRYDZXJY.js";
6
+ } from "./chunk-TKI4VCS6.js";
7
7
  import "./chunk-HHLCAWAV.js";
8
8
  import "./chunk-NBMWONHE.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-CXCJFCWM.js.map
65
+ //# sourceMappingURL=child-mcp-config-6JLJLDGR.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-SRYDZXJY.js";
11
+ } from "./chunk-TKI4VCS6.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -540,4 +540,4 @@ export {
540
540
  CliCircuitBreakerIntegration,
541
541
  createCliCircuitBreakerIntegration
542
542
  };
543
- //# sourceMappingURL=chunk-IHT6MNGI.js.map
543
+ //# sourceMappingURL=chunk-2AAG45CT.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-SRYDZXJY.js";
7
+ } from "./chunk-TKI4VCS6.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-IMBYIL3N.js.map
724
+ //# sourceMappingURL=chunk-2D3KX7MD.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-3ANZ5D7Z.js";
3
+ } from "./chunk-SWCDZHUY.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-SRYDZXJY.js";
6
+ } from "./chunk-TKI4VCS6.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-DCWZV3OI.js.map
879
+ //# sourceMappingURL=chunk-2GSHMVVW.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-XKHLFJSV.js";
4
+ } from "./chunk-JUXLSC52.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-ABYTFXK7.js";
11
+ } from "./chunk-R54L73RR.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-QVZF2S2Z.js";
14
+ } from "./chunk-JKWBSEL3.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-SRYDZXJY.js";
25
+ } from "./chunk-TKI4VCS6.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-RLNEUQTN.js.map
836
+ //# sourceMappingURL=chunk-3CU6PDLQ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-UYZTRYDQ.js";
3
+ } from "./chunk-5HGWH5WI.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-SRYDZXJY.js";
8
+ } from "./chunk-TKI4VCS6.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-CXCJFCWM.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-6JLJLDGR.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-W3REVCVN.js");
97
- const { createCompositeRouter } = await import("./composite-router-6FJMOOJG.js");
96
+ const { createAllAdapters } = await import("./factory-NXF36QPJ.js");
97
+ const { createCompositeRouter } = await import("./composite-router-BU4CXKV2.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-BQE62EAH.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-VX7YIXHE.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-GQAKNZ44.js.map
216
+ //# sourceMappingURL=chunk-3VJ2MSUU.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-4UAEE4RN.js";
15
+ } from "./chunk-MY33A5CO.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-SRYDZXJY.js";
19
+ } from "./chunk-TKI4VCS6.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -291,4 +291,4 @@ export {
291
291
  formatReviewComment,
292
292
  createFailedReview
293
293
  };
294
- //# sourceMappingURL=chunk-D3SFJ4JZ.js.map
294
+ //# sourceMappingURL=chunk-3WGAPD5L.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-ABYTFXK7.js";
8
+ } from "./chunk-R54L73RR.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-RQQMMAWU.js";
11
+ } from "./chunk-SPU2PTV7.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-QVZF2S2Z.js";
17
+ } from "./chunk-JKWBSEL3.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-RQV5ZUXT.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-UYZTRYDQ.js";
23
+ } from "./chunk-5HGWH5WI.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-TYSMC4TH.js";
29
+ } from "./chunk-HBTUFRGO.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-IHT6MNGI.js";
35
+ } from "./chunk-2AAG45CT.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-SRYDZXJY.js";
75
+ } from "./chunk-TKI4VCS6.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4883,4 +4883,4 @@ export {
4883
4883
  SdkAdapter,
4884
4884
  createAutoAdapter
4885
4885
  };
4886
- //# sourceMappingURL=chunk-SR4HN3VE.js.map
4886
+ //# sourceMappingURL=chunk-3WKO7D53.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-SRYDZXJY.js";
6
+ } from "./chunk-TKI4VCS6.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-UYZTRYDQ.js.map
153
+ //# sourceMappingURL=chunk-5HGWH5WI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-IMBYIL3N.js";
3
+ } from "./chunk-2D3KX7MD.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-7OFYAL77.js";
24
+ } from "./chunk-7DTA52VT.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-GQAKNZ44.js";
27
+ } from "./chunk-3VJ2MSUU.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  abortJob,
@@ -45,24 +45,24 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-SYREKKET.js";
48
+ } from "./chunk-MYYPOVLV.js";
49
49
  import {
50
50
  allOf
51
51
  } from "./chunk-OQB3XC5O.js";
52
52
  import {
53
53
  normalizeTopicToCanonical,
54
54
  synthesizeResearch
55
- } from "./chunk-DCWZV3OI.js";
55
+ } from "./chunk-2GSHMVVW.js";
56
56
  import {
57
57
  IssueTriage
58
- } from "./chunk-CCPBYVVN.js";
58
+ } from "./chunk-FBR5GT7E.js";
59
59
  import {
60
60
  resolveEnvMode,
61
61
  sanitizeInput
62
- } from "./chunk-4UAEE4RN.js";
62
+ } from "./chunk-MY33A5CO.js";
63
63
  import {
64
64
  withPrerequisite
65
- } from "./chunk-XKR6PLE6.js";
65
+ } from "./chunk-UGIA52M7.js";
66
66
  import {
67
67
  NOOP_NOTIFIER,
68
68
  RateLimiter,
@@ -86,18 +86,18 @@ import {
86
86
  withAuditTrail,
87
87
  withProgressHeartbeat,
88
88
  wrapToolWithTimeout
89
- } from "./chunk-MIFSYE7M.js";
89
+ } from "./chunk-EQG2GVM7.js";
90
90
  import {
91
91
  createAuditTrail,
92
92
  createGraphAuditBridge,
93
93
  emitPipelinePolicyEvent
94
- } from "./chunk-5XA3MJPK.js";
94
+ } from "./chunk-Q2VYGOSY.js";
95
95
  import {
96
96
  EventTopics,
97
97
  createEvent,
98
98
  getGlobalEventBus,
99
99
  getGlobalRegistry
100
- } from "./chunk-FCA2DBE5.js";
100
+ } from "./chunk-XOC6DP35.js";
101
101
  import {
102
102
  IDENTIFIER_RE,
103
103
  LANG_VALUES,
@@ -130,29 +130,29 @@ import {
130
130
  parseRegistry,
131
131
  sourceExistsInRegistry,
132
132
  summarizeContextForPrompt
133
- } from "./chunk-HNNAPRVA.js";
133
+ } from "./chunk-7CGVYJQS.js";
134
134
  import {
135
135
  loadPapersRegistry,
136
136
  loadTechniquesRegistry,
137
137
  resolveInsideRoot
138
- } from "./chunk-3ANZ5D7Z.js";
138
+ } from "./chunk-SWCDZHUY.js";
139
139
  import {
140
140
  getTokenEnvVars,
141
141
  resolveToken
142
- } from "./chunk-B3Z5U7NE.js";
142
+ } from "./chunk-AZMXXJ5X.js";
143
143
  import {
144
144
  DEFAULT_RELEVANCE_CONFIG,
145
145
  MemoryImportance,
146
146
  calculateTextJaccardSimilarity,
147
147
  getToolMemory
148
- } from "./chunk-ELDOH63W.js";
148
+ } from "./chunk-EI3AC7X2.js";
149
149
  import {
150
150
  STOPWORDS,
151
151
  truncateWithInfo
152
152
  } from "./chunk-6T3EPABN.js";
153
153
  import {
154
154
  createSessionMemory
155
- } from "./chunk-Q7TBUSVT.js";
155
+ } from "./chunk-SHMGRIYH.js";
156
156
  import {
157
157
  BUILT_IN_EXPERTS,
158
158
  BuiltInExpertTypeSchema,
@@ -170,25 +170,25 @@ import {
170
170
  getAvailableClis,
171
171
  sleep,
172
172
  withTimeout
173
- } from "./chunk-SR4HN3VE.js";
173
+ } from "./chunk-3WKO7D53.js";
174
174
  import {
175
175
  BaseAdapter,
176
176
  createStream,
177
177
  requireApiKey,
178
178
  validateApiKeyPresence
179
- } from "./chunk-ABYTFXK7.js";
179
+ } from "./chunk-R54L73RR.js";
180
180
  import {
181
181
  DEFAULTS
182
- } from "./chunk-RQQMMAWU.js";
182
+ } from "./chunk-SPU2PTV7.js";
183
183
  import {
184
184
  getAvailabilityCache,
185
185
  getCliForModelId,
186
186
  resolveFallback
187
- } from "./chunk-UYZTRYDQ.js";
187
+ } from "./chunk-5HGWH5WI.js";
188
188
  import {
189
189
  generateHyphenId,
190
190
  generateUUID
191
- } from "./chunk-TYSMC4TH.js";
191
+ } from "./chunk-HBTUFRGO.js";
192
192
  import {
193
193
  AGENT_ROUTER_TIMEOUTS,
194
194
  API_TIMEOUTS,
@@ -292,7 +292,7 @@ import {
292
292
  selectStrategyByManifest,
293
293
  toExpertTaskAnalysisResult,
294
294
  withStep
295
- } from "./chunk-SRYDZXJY.js";
295
+ } from "./chunk-TKI4VCS6.js";
296
296
  import {
297
297
  ensureLearningDir,
298
298
  getMetaOutcomesFile,
@@ -29556,7 +29556,7 @@ function execIdFields(executionId) {
29556
29556
  async function populateUnifiedContextOnState(state, options) {
29557
29557
  const taskCandidate = state["task"];
29558
29558
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29559
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-KKZJ3TNC.js");
29559
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-Y7FS4RCN.js");
29560
29560
  const category = inferTaskCategory2(taskCandidate);
29561
29561
  const executionId = options?.executionId;
29562
29562
  const execFields = execIdFields(executionId);
@@ -45255,7 +45255,7 @@ async function tryIssueTriage(task) {
45255
45255
  try {
45256
45256
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45257
45257
  if (issueMatch === null) return null;
45258
- const { createIssueTriage } = await import("./issue-triage-HSRNBOAA.js");
45258
+ const { createIssueTriage } = await import("./issue-triage-M2YN5FMW.js");
45259
45259
  const triage = createIssueTriage();
45260
45260
  const owner = issueMatch[1] ?? "";
45261
45261
  const num = issueMatch[2] ?? "";
@@ -45283,7 +45283,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45283
45283
  ]);
45284
45284
  async function classifyWithLLM(task) {
45285
45285
  try {
45286
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-VFGOXSNV.js");
45286
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-KH35UIRS.js");
45287
45287
  const prompt = [
45288
45288
  "Classify this task into exactly one pipeline template.",
45289
45289
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47033,7 +47033,7 @@ var memoryInitPromise = null;
47033
47033
  async function initPipelineMemory() {
47034
47034
  if (cachedMemory !== null) return cachedMemory;
47035
47035
  try {
47036
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AKYKTGAS.js");
47036
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AEOECSZP.js");
47037
47037
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
47038
47038
  const mem = createSessionMemory2(getLearningDir());
47039
47039
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47095,7 +47095,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47095
47095
  callRecord(routingMemoryCache);
47096
47096
  return;
47097
47097
  }
47098
- routingMemoryInitPromise ??= import("./routing-memory-BXEJTK5X.js").then(({ createRoutingMemory }) => {
47098
+ routingMemoryInitPromise ??= import("./routing-memory-GARJ7D7B.js").then(({ createRoutingMemory }) => {
47099
47099
  routingMemoryCache ??= createRoutingMemory();
47100
47100
  return routingMemoryCache;
47101
47101
  }).catch((error) => {
@@ -47129,7 +47129,7 @@ ${text}` : "";
47129
47129
  }
47130
47130
  async function getWeatherContext() {
47131
47131
  try {
47132
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DW6G66FU.js");
47132
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-ZWXHO3EF.js");
47133
47133
  const report = generateWeatherReport2({ includeAdaptive: true });
47134
47134
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47135
47135
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47147,7 +47147,7 @@ ${lines}
47147
47147
  }
47148
47148
  async function getMemoryContext(task) {
47149
47149
  try {
47150
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AKYKTGAS.js");
47150
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AEOECSZP.js");
47151
47151
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
47152
47152
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47153
47153
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47266,7 +47266,7 @@ ${contextBlock}`;
47266
47266
  const strategy = config.votingStrategy ?? "higher_order";
47267
47267
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47268
47268
  try {
47269
- const { executeVoting } = await import("./consensus-vote-J55L27EQ.js");
47269
+ const { executeVoting } = await import("./consensus-vote-DQ6VBS7I.js");
47270
47270
  const votingResult = await executeVoting(
47271
47271
  {
47272
47272
  proposal: buildVoteProposal(plan, research),
@@ -47705,7 +47705,7 @@ async function searchCodebaseForTask(task) {
47705
47705
  }
47706
47706
  async function queryResearchRegistry(task) {
47707
47707
  try {
47708
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-4DBBCMWP.js");
47708
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-VXUN6GGY.js");
47709
47709
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47710
47710
  if (topic === void 0) return null;
47711
47711
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47776,7 +47776,7 @@ function createScanStageWrapper() {
47776
47776
  try {
47777
47777
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47778
47778
  if (slug !== void 0) {
47779
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TJRIVAJU.js");
47779
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-H4FLKET3.js");
47780
47780
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47781
47781
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47782
47782
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50901,7 +50901,7 @@ var GitHubTaskTracker = class {
50901
50901
  cachedProvider = null;
50902
50902
  async getProvider() {
50903
50903
  if (this.cachedProvider !== null) return this.cachedProvider;
50904
- const { createScmProvider } = await import("./factory-RIBWWJPG.js");
50904
+ const { createScmProvider } = await import("./factory-FEJB4OCS.js");
50905
50905
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
50906
50906
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
50907
50907
  this.cachedProvider = result.value;
@@ -51800,7 +51800,7 @@ async function probeSource(source, includeModelIds) {
51800
51800
  }
51801
51801
  }
51802
51802
  async function defaultSources(includeOpenRouter) {
51803
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-W3REVCVN.js");
51803
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-NXF36QPJ.js");
51804
51804
  const adapters = createAllAdapters2();
51805
51805
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51806
51806
  }
@@ -55862,4 +55862,4 @@ export {
55862
55862
  shutdownFeedbackSubscriber,
55863
55863
  createEventBusBridge
55864
55864
  };
55865
- //# sourceMappingURL=chunk-QZB56T4I.js.map
55865
+ //# sourceMappingURL=chunk-76WTN2BX.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-3ANZ5D7Z.js";
8
+ } from "./chunk-SWCDZHUY.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-B3Z5U7NE.js";
11
+ } from "./chunk-AZMXXJ5X.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-ELDOH63W.js";
14
+ } from "./chunk-EI3AC7X2.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-SRYDZXJY.js";
40
+ } from "./chunk-TKI4VCS6.js";
41
41
  import {
42
42
  ensureLearningDir,
43
43
  getRulesFile
@@ -1363,12 +1363,17 @@ function scoreReproducibility(source) {
1363
1363
  return 0.3;
1364
1364
  }
1365
1365
  }
1366
+ function compositeOf(parts) {
1367
+ const measuredWeight = WEIGHTS.relevance + WEIGHTS.impact + WEIGHTS.reproducibility + (parts.recency.measured ? WEIGHTS.recency : 0);
1368
+ const weighted = WEIGHTS.relevance * parts.relevance + WEIGHTS.impact * parts.impact + WEIGHTS.reproducibility * parts.reproducibility + (parts.recency.measured ? WEIGHTS.recency * parts.recency.value : 0);
1369
+ return weighted / measuredWeight;
1370
+ }
1366
1371
  function scoreDiscoveredItem(item, topic) {
1367
1372
  const relevance = topic !== "" ? scoreRelevance2(item.title, topic) : relevanceLabelToScore(item.relevance);
1368
1373
  const impact = relevanceLabelToScore(item.relevance);
1369
1374
  const recency = scoreRecency(item.publishedAt);
1370
1375
  const reproducibility = scoreReproducibility(item.source);
1371
- const composite = WEIGHTS.relevance * relevance + WEIGHTS.impact * impact + WEIGHTS.recency * recency.value + WEIGHTS.reproducibility * reproducibility;
1376
+ const composite = compositeOf({ relevance, impact, recency, reproducibility });
1372
1377
  return {
1373
1378
  relevance: Math.round(relevance * 100) / 100,
1374
1379
  impact: Math.round(impact * 100) / 100,
@@ -4127,4 +4132,4 @@ export {
4127
4132
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4128
4133
  getContextPromptPrefix
4129
4134
  };
4130
- //# sourceMappingURL=chunk-HNNAPRVA.js.map
4135
+ //# sourceMappingURL=chunk-7CGVYJQS.js.map