nexus-agents 8.6.0 → 8.6.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 (127) hide show
  1. package/dist/{ast-rule-runner-3N7DX6XO.js → ast-rule-runner-SLDOFKR4.js} +3 -3
  2. package/dist/{child-mcp-config-RNWGSHLP.js → child-mcp-config-6WC33ENA.js} +2 -2
  3. package/dist/{chunk-UFF3NTS3.js → chunk-2GJQYMPU.js} +2 -2
  4. package/dist/{chunk-ZIZVA5OL.js → chunk-4RFSWPHP.js} +3 -3
  5. package/dist/{chunk-UDZBQWWH.js → chunk-5IY367X3.js} +7 -7
  6. package/dist/{chunk-FECYCZZR.js → chunk-5QUUL7IY.js} +2 -2
  7. package/dist/{chunk-KHARSVPD.js → chunk-65GNKZ65.js} +2 -2
  8. package/dist/{chunk-QETXUEHY.js → chunk-7QAMQ6WN.js} +2 -2
  9. package/dist/{chunk-RLP56UYX.js → chunk-7X3YDR5Q.js} +2 -2
  10. package/dist/{chunk-RHZ7OTUR.js → chunk-7XPKLFS2.js} +3 -3
  11. package/dist/{chunk-YMBWWR5K.js → chunk-BQO4HGDB.js} +2 -2
  12. package/dist/{chunk-6UWWVTQH.js → chunk-BTM27PMR.js} +53 -35
  13. package/dist/{chunk-6UWWVTQH.js.map → chunk-BTM27PMR.js.map} +1 -1
  14. package/dist/{chunk-DC2OJAIB.js → chunk-H6RHKUG2.js} +3 -3
  15. package/dist/{chunk-I33FKHUF.js → chunk-I6BWVIVT.js} +4 -4
  16. package/dist/{chunk-K7WPK63Q.js → chunk-J4PV3TNP.js} +8 -8
  17. package/dist/{chunk-QMUXBHKO.js → chunk-JJ3PZ2UR.js} +7 -7
  18. package/dist/{chunk-F4WIX5UH.js → chunk-JSSZIHMO.js} +3 -3
  19. package/dist/{chunk-SNWGBSQ7.js → chunk-KBUKPBHH.js} +8 -8
  20. package/dist/{chunk-OI7VYOYS.js → chunk-L7PDSZN3.js} +26 -8
  21. package/dist/chunk-L7PDSZN3.js.map +1 -0
  22. package/dist/{chunk-ZR2AT5Y4.js → chunk-ME2X2GDS.js} +5 -5
  23. package/dist/{chunk-WZZQI774.js → chunk-P3IZCSSU.js} +2 -2
  24. package/dist/{chunk-I2FSX2XS.js → chunk-PUWFGDQA.js} +6 -6
  25. package/dist/{chunk-OAP5CFEN.js → chunk-PXBLSOOJ.js} +2 -2
  26. package/dist/chunk-PZQULJ23.js +7 -0
  27. package/dist/{chunk-D2WWKJMI.js → chunk-RUKKCEPH.js} +2 -2
  28. package/dist/{chunk-PJAMCYKJ.js → chunk-TSYXJH7H.js} +2 -2
  29. package/dist/{chunk-4EKFQECD.js → chunk-TVL7AXU7.js} +5 -5
  30. package/dist/{chunk-RQFYOMCK.js → chunk-UAEK5CC6.js} +2 -2
  31. package/dist/{chunk-44TOYOLL.js → chunk-VJGXWENT.js} +2 -2
  32. package/dist/{chunk-LWLQZEG7.js → chunk-W6FIPIYA.js} +2 -2
  33. package/dist/{chunk-6RGAAA4U.js → chunk-WQ4ZIIJP.js} +4 -4
  34. package/dist/{chunk-U4QKZICX.js → chunk-XZ77KVH4.js} +2 -2
  35. package/dist/{chunk-B6HNAXBM.js → chunk-YFWVEMSS.js} +2 -2
  36. package/dist/{chunk-RO6W6DUN.js → chunk-YXQR4XZE.js} +4 -4
  37. package/dist/{chunk-JB3BG47N.js → chunk-ZIWMYMV7.js} +2 -2
  38. package/dist/{chunk-L2WZSYQ4.js → chunk-ZZMXB6F4.js} +2 -2
  39. package/dist/{cli-circuit-breaker-BAV6CS55.js → cli-circuit-breaker-ITUVXZ7H.js} +3 -3
  40. package/dist/cli.js +43 -43
  41. package/dist/{composite-router-ZBUAKNWH.js → composite-router-4XLO7QG7.js} +2 -2
  42. package/dist/{consensus-vote-222ZEN5J.js → consensus-vote-65SIVG4D.js} +17 -17
  43. package/dist/{context-retriever-EUAU2AMR.js → context-retriever-BZADLARM.js} +8 -8
  44. package/dist/{doctor-deep-ZHCMOZFP.js → doctor-deep-SZ55PTKD.js} +3 -3
  45. package/dist/{doctor-live-BUHVK3DK.js → doctor-live-KDKVBUNO.js} +9 -9
  46. package/dist/{expert-bridge-UPCLL7ND.js → expert-bridge-DEL2EHPN.js} +4 -4
  47. package/dist/{factory-6HNECKBF.js → factory-AHI2M2XF.js} +5 -5
  48. package/dist/{factory-3OOZ2ZQP.js → factory-VRFV77Q6.js} +9 -9
  49. package/dist/{improvement-review-GGYLCRGQ.js → improvement-review-3A4DE3EG.js} +6 -6
  50. package/dist/index.js +32 -32
  51. package/dist/{init-opencode-CKCCZOT3.js → init-opencode-R4VDBWWT.js} +6 -6
  52. package/dist/issue-triage-UA5RZDHN.js +17 -0
  53. package/dist/{pr-reviewer-helpers-RKAK33X2.js → pr-reviewer-helpers-DAIP723Q.js} +4 -4
  54. package/dist/{registry-command-3J5SNWG2.js → registry-command-VSHT5IKP.js} +2 -2
  55. package/dist/{repo-security-plan-VUA76IN3.js → repo-security-plan-AYMZPZYK.js} +3 -3
  56. package/dist/{research-helpers-synthesize-6EEGTTZY.js → research-helpers-synthesize-KMHT64UA.js} +4 -4
  57. package/dist/{routing-memory-LLGBBX7P.js → routing-memory-JA3KORJV.js} +2 -2
  58. package/dist/{session-memory-FJOIX7BQ.js → session-memory-7HKITSCG.js} +3 -3
  59. package/dist/{setup-config-R26W2YIS.js → setup-config-MH6CSNOQ.js} +3 -3
  60. package/dist/{setup-custom-api-MN6BPPK5.js → setup-custom-api-PSPFZVAB.js} +4 -4
  61. package/dist/setup-data-dir-H7QGVHMK.js +29 -0
  62. package/dist/{tool-memory-B6OUGSGS.js → tool-memory-6RNZQX5A.js} +5 -5
  63. package/dist/{unified-registry-4CXEC2UP.js → unified-registry-UF7YDF74.js} +10 -10
  64. package/dist/{weather-report-2MF7IEQ4.js → weather-report-HVRXMQC6.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-4OILK4VD.js +0 -7
  67. package/dist/chunk-OI7VYOYS.js.map +0 -1
  68. package/dist/issue-triage-4S5K7TSE.js +0 -17
  69. package/dist/setup-data-dir-T4S46VSI.js +0 -29
  70. /package/dist/{ast-rule-runner-3N7DX6XO.js.map → ast-rule-runner-SLDOFKR4.js.map} +0 -0
  71. /package/dist/{child-mcp-config-RNWGSHLP.js.map → child-mcp-config-6WC33ENA.js.map} +0 -0
  72. /package/dist/{chunk-UFF3NTS3.js.map → chunk-2GJQYMPU.js.map} +0 -0
  73. /package/dist/{chunk-ZIZVA5OL.js.map → chunk-4RFSWPHP.js.map} +0 -0
  74. /package/dist/{chunk-UDZBQWWH.js.map → chunk-5IY367X3.js.map} +0 -0
  75. /package/dist/{chunk-FECYCZZR.js.map → chunk-5QUUL7IY.js.map} +0 -0
  76. /package/dist/{chunk-KHARSVPD.js.map → chunk-65GNKZ65.js.map} +0 -0
  77. /package/dist/{chunk-QETXUEHY.js.map → chunk-7QAMQ6WN.js.map} +0 -0
  78. /package/dist/{chunk-RLP56UYX.js.map → chunk-7X3YDR5Q.js.map} +0 -0
  79. /package/dist/{chunk-RHZ7OTUR.js.map → chunk-7XPKLFS2.js.map} +0 -0
  80. /package/dist/{chunk-YMBWWR5K.js.map → chunk-BQO4HGDB.js.map} +0 -0
  81. /package/dist/{chunk-DC2OJAIB.js.map → chunk-H6RHKUG2.js.map} +0 -0
  82. /package/dist/{chunk-I33FKHUF.js.map → chunk-I6BWVIVT.js.map} +0 -0
  83. /package/dist/{chunk-K7WPK63Q.js.map → chunk-J4PV3TNP.js.map} +0 -0
  84. /package/dist/{chunk-QMUXBHKO.js.map → chunk-JJ3PZ2UR.js.map} +0 -0
  85. /package/dist/{chunk-F4WIX5UH.js.map → chunk-JSSZIHMO.js.map} +0 -0
  86. /package/dist/{chunk-SNWGBSQ7.js.map → chunk-KBUKPBHH.js.map} +0 -0
  87. /package/dist/{chunk-ZR2AT5Y4.js.map → chunk-ME2X2GDS.js.map} +0 -0
  88. /package/dist/{chunk-WZZQI774.js.map → chunk-P3IZCSSU.js.map} +0 -0
  89. /package/dist/{chunk-I2FSX2XS.js.map → chunk-PUWFGDQA.js.map} +0 -0
  90. /package/dist/{chunk-OAP5CFEN.js.map → chunk-PXBLSOOJ.js.map} +0 -0
  91. /package/dist/{chunk-4OILK4VD.js.map → chunk-PZQULJ23.js.map} +0 -0
  92. /package/dist/{chunk-D2WWKJMI.js.map → chunk-RUKKCEPH.js.map} +0 -0
  93. /package/dist/{chunk-PJAMCYKJ.js.map → chunk-TSYXJH7H.js.map} +0 -0
  94. /package/dist/{chunk-4EKFQECD.js.map → chunk-TVL7AXU7.js.map} +0 -0
  95. /package/dist/{chunk-RQFYOMCK.js.map → chunk-UAEK5CC6.js.map} +0 -0
  96. /package/dist/{chunk-44TOYOLL.js.map → chunk-VJGXWENT.js.map} +0 -0
  97. /package/dist/{chunk-LWLQZEG7.js.map → chunk-W6FIPIYA.js.map} +0 -0
  98. /package/dist/{chunk-6RGAAA4U.js.map → chunk-WQ4ZIIJP.js.map} +0 -0
  99. /package/dist/{chunk-U4QKZICX.js.map → chunk-XZ77KVH4.js.map} +0 -0
  100. /package/dist/{chunk-B6HNAXBM.js.map → chunk-YFWVEMSS.js.map} +0 -0
  101. /package/dist/{chunk-RO6W6DUN.js.map → chunk-YXQR4XZE.js.map} +0 -0
  102. /package/dist/{chunk-JB3BG47N.js.map → chunk-ZIWMYMV7.js.map} +0 -0
  103. /package/dist/{chunk-L2WZSYQ4.js.map → chunk-ZZMXB6F4.js.map} +0 -0
  104. /package/dist/{cli-circuit-breaker-BAV6CS55.js.map → cli-circuit-breaker-ITUVXZ7H.js.map} +0 -0
  105. /package/dist/{composite-router-ZBUAKNWH.js.map → composite-router-4XLO7QG7.js.map} +0 -0
  106. /package/dist/{consensus-vote-222ZEN5J.js.map → consensus-vote-65SIVG4D.js.map} +0 -0
  107. /package/dist/{context-retriever-EUAU2AMR.js.map → context-retriever-BZADLARM.js.map} +0 -0
  108. /package/dist/{doctor-deep-ZHCMOZFP.js.map → doctor-deep-SZ55PTKD.js.map} +0 -0
  109. /package/dist/{doctor-live-BUHVK3DK.js.map → doctor-live-KDKVBUNO.js.map} +0 -0
  110. /package/dist/{expert-bridge-UPCLL7ND.js.map → expert-bridge-DEL2EHPN.js.map} +0 -0
  111. /package/dist/{factory-3OOZ2ZQP.js.map → factory-AHI2M2XF.js.map} +0 -0
  112. /package/dist/{factory-6HNECKBF.js.map → factory-VRFV77Q6.js.map} +0 -0
  113. /package/dist/{improvement-review-GGYLCRGQ.js.map → improvement-review-3A4DE3EG.js.map} +0 -0
  114. /package/dist/{init-opencode-CKCCZOT3.js.map → init-opencode-R4VDBWWT.js.map} +0 -0
  115. /package/dist/{issue-triage-4S5K7TSE.js.map → issue-triage-UA5RZDHN.js.map} +0 -0
  116. /package/dist/{pr-reviewer-helpers-RKAK33X2.js.map → pr-reviewer-helpers-DAIP723Q.js.map} +0 -0
  117. /package/dist/{registry-command-3J5SNWG2.js.map → registry-command-VSHT5IKP.js.map} +0 -0
  118. /package/dist/{repo-security-plan-VUA76IN3.js.map → repo-security-plan-AYMZPZYK.js.map} +0 -0
  119. /package/dist/{research-helpers-synthesize-6EEGTTZY.js.map → research-helpers-synthesize-KMHT64UA.js.map} +0 -0
  120. /package/dist/{routing-memory-LLGBBX7P.js.map → routing-memory-JA3KORJV.js.map} +0 -0
  121. /package/dist/{session-memory-FJOIX7BQ.js.map → session-memory-7HKITSCG.js.map} +0 -0
  122. /package/dist/{setup-config-R26W2YIS.js.map → setup-config-MH6CSNOQ.js.map} +0 -0
  123. /package/dist/{setup-custom-api-MN6BPPK5.js.map → setup-custom-api-PSPFZVAB.js.map} +0 -0
  124. /package/dist/{setup-data-dir-T4S46VSI.js.map → setup-data-dir-H7QGVHMK.js.map} +0 -0
  125. /package/dist/{tool-memory-B6OUGSGS.js.map → tool-memory-6RNZQX5A.js.map} +0 -0
  126. /package/dist/{unified-registry-4CXEC2UP.js.map → unified-registry-UF7YDF74.js.map} +0 -0
  127. /package/dist/{weather-report-2MF7IEQ4.js.map → weather-report-HVRXMQC6.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-WZZQI774.js";
13
- import "./chunk-DC2OJAIB.js";
12
+ } from "./chunk-P3IZCSSU.js";
13
+ import "./chunk-H6RHKUG2.js";
14
14
  import "./chunk-ITCKXMOH.js";
15
15
  import "./chunk-MM223CVS.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-3N7DX6XO.js.map
29
+ //# sourceMappingURL=ast-rule-runner-SLDOFKR4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4HXPNLZS.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-DC2OJAIB.js";
6
+ } from "./chunk-H6RHKUG2.js";
7
7
  import "./chunk-ITCKXMOH.js";
8
8
  import "./chunk-MM223CVS.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-RNWGSHLP.js.map
65
+ //# sourceMappingURL=child-mcp-config-6WC33ENA.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-DC2OJAIB.js";
7
+ } from "./chunk-H6RHKUG2.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -366,4 +366,4 @@ export {
366
366
  SessionMemory,
367
367
  createSessionMemory
368
368
  };
369
- //# sourceMappingURL=chunk-UFF3NTS3.js.map
369
+ //# sourceMappingURL=chunk-2GJQYMPU.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-I33FKHUF.js";
10
+ } from "./chunk-I6BWVIVT.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-DC2OJAIB.js";
23
+ } from "./chunk-H6RHKUG2.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-ZIZVA5OL.js.map
2162
+ //# sourceMappingURL=chunk-4RFSWPHP.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-KHARSVPD.js";
3
+ } from "./chunk-65GNKZ65.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-DC2OJAIB.js";
8
+ } from "./chunk-H6RHKUG2.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-RNWGSHLP.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-6WC33ENA.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-3OOZ2ZQP.js");
97
- const { createCompositeRouter } = await import("./composite-router-ZBUAKNWH.js");
96
+ const { createAllAdapters } = await import("./factory-VRFV77Q6.js");
97
+ const { createCompositeRouter } = await import("./composite-router-4XLO7QG7.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-BAV6CS55.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-ITUVXZ7H.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-UDZBQWWH.js.map
216
+ //# sourceMappingURL=chunk-5IY367X3.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-DC2OJAIB.js";
6
+ } from "./chunk-H6RHKUG2.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-MM223CVS.js";
@@ -176,4 +176,4 @@ export {
176
176
  loadUsageEvents,
177
177
  rollupByModel
178
178
  };
179
- //# sourceMappingURL=chunk-FECYCZZR.js.map
179
+ //# sourceMappingURL=chunk-5QUUL7IY.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-DC2OJAIB.js";
6
+ } from "./chunk-H6RHKUG2.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-KHARSVPD.js.map
153
+ //# sourceMappingURL=chunk-65GNKZ65.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-DC2OJAIB.js";
5
+ } from "./chunk-H6RHKUG2.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "node:child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-QETXUEHY.js.map
90
+ //# sourceMappingURL=chunk-7QAMQ6WN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-DC2OJAIB.js";
7
+ } from "./chunk-H6RHKUG2.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-RLP56UYX.js.map
266
+ //# sourceMappingURL=chunk-7X3YDR5Q.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-44TOYOLL.js";
15
+ } from "./chunk-VJGXWENT.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-DC2OJAIB.js";
19
+ } from "./chunk-H6RHKUG2.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -303,4 +303,4 @@ export {
303
303
  createFailedReview,
304
304
  reviewPostingBlock
305
305
  };
306
- //# sourceMappingURL=chunk-RHZ7OTUR.js.map
306
+ //# sourceMappingURL=chunk-7XPKLFS2.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-DC2OJAIB.js";
14
+ } from "./chunk-H6RHKUG2.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-YMBWWR5K.js.map
233
+ //# sourceMappingURL=chunk-BQO4HGDB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-PJAMCYKJ.js";
3
+ } from "./chunk-TSYXJH7H.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-DGWT7DXX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-QMUXBHKO.js";
24
+ } from "./chunk-JJ3PZ2UR.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-UDZBQWWH.js";
27
+ } from "./chunk-5IY367X3.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-SNWGBSQ7.js";
50
+ } from "./chunk-KBUKPBHH.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-F4WIX5UH.js";
57
+ } from "./chunk-JSSZIHMO.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-I2FSX2XS.js";
60
+ } from "./chunk-PUWFGDQA.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-44TOYOLL.js";
64
+ } from "./chunk-VJGXWENT.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-ZIZVA5OL.js";
67
+ } from "./chunk-4RFSWPHP.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -89,18 +89,18 @@ import {
89
89
  withAuditTrail,
90
90
  withProgressHeartbeat,
91
91
  wrapToolWithTimeout
92
- } from "./chunk-I33FKHUF.js";
92
+ } from "./chunk-I6BWVIVT.js";
93
93
  import {
94
94
  createAuditTrail,
95
95
  createGraphAuditBridge,
96
96
  emitPipelinePolicyEvent
97
- } from "./chunk-B6HNAXBM.js";
97
+ } from "./chunk-YFWVEMSS.js";
98
98
  import {
99
99
  EventTopics,
100
100
  createEvent,
101
101
  getGlobalEventBus,
102
102
  getGlobalRegistry
103
- } from "./chunk-RO6W6DUN.js";
103
+ } from "./chunk-YXQR4XZE.js";
104
104
  import {
105
105
  IDENTIFIER_RE,
106
106
  LANG_VALUES,
@@ -133,29 +133,29 @@ import {
133
133
  parseRegistry,
134
134
  sourceExistsInRegistry,
135
135
  summarizeContextForPrompt
136
- } from "./chunk-4EKFQECD.js";
136
+ } from "./chunk-TVL7AXU7.js";
137
137
  import {
138
138
  loadPapersRegistry,
139
139
  loadTechniquesRegistry,
140
140
  resolveInsideRoot
141
- } from "./chunk-JB3BG47N.js";
141
+ } from "./chunk-ZIWMYMV7.js";
142
142
  import {
143
143
  getTokenEnvVars,
144
144
  resolveToken
145
- } from "./chunk-QETXUEHY.js";
145
+ } from "./chunk-7QAMQ6WN.js";
146
146
  import {
147
147
  DEFAULT_RELEVANCE_CONFIG,
148
148
  MemoryImportance,
149
149
  calculateTextJaccardSimilarity,
150
150
  getToolMemory
151
- } from "./chunk-OI7VYOYS.js";
151
+ } from "./chunk-L7PDSZN3.js";
152
152
  import {
153
153
  STOPWORDS,
154
154
  truncateWithInfo
155
155
  } from "./chunk-6T3EPABN.js";
156
156
  import {
157
157
  createSessionMemory
158
- } from "./chunk-UFF3NTS3.js";
158
+ } from "./chunk-2GJQYMPU.js";
159
159
  import {
160
160
  BUILT_IN_EXPERTS,
161
161
  BuiltInExpertTypeSchema,
@@ -173,25 +173,25 @@ import {
173
173
  getAvailableClis,
174
174
  sleep,
175
175
  withTimeout
176
- } from "./chunk-K7WPK63Q.js";
176
+ } from "./chunk-J4PV3TNP.js";
177
177
  import {
178
178
  BaseAdapter,
179
179
  createStream,
180
180
  requireApiKey,
181
181
  validateApiKeyPresence
182
- } from "./chunk-RQFYOMCK.js";
182
+ } from "./chunk-UAEK5CC6.js";
183
183
  import {
184
184
  DEFAULTS
185
- } from "./chunk-YMBWWR5K.js";
185
+ } from "./chunk-BQO4HGDB.js";
186
186
  import {
187
187
  getAvailabilityCache,
188
188
  getCliForModelId,
189
189
  resolveFallback
190
- } from "./chunk-KHARSVPD.js";
190
+ } from "./chunk-65GNKZ65.js";
191
191
  import {
192
192
  generateHyphenId,
193
193
  generateUUID
194
- } from "./chunk-U4QKZICX.js";
194
+ } from "./chunk-XZ77KVH4.js";
195
195
  import {
196
196
  AGENT_ROUTER_TIMEOUTS,
197
197
  API_TIMEOUTS,
@@ -297,7 +297,7 @@ import {
297
297
  selectStrategyByManifest,
298
298
  toExpertTaskAnalysisResult,
299
299
  withStep
300
- } from "./chunk-DC2OJAIB.js";
300
+ } from "./chunk-H6RHKUG2.js";
301
301
  import {
302
302
  ensureLearningDir,
303
303
  getMetaOutcomesFile,
@@ -29697,7 +29697,7 @@ function execIdFields(executionId) {
29697
29697
  async function populateUnifiedContextOnState(state, options) {
29698
29698
  const taskCandidate = state["task"];
29699
29699
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29700
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-EUAU2AMR.js");
29700
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-BZADLARM.js");
29701
29701
  const category = inferTaskCategory2(taskCandidate);
29702
29702
  const executionId = options?.executionId;
29703
29703
  const execFields = execIdFields(executionId);
@@ -42410,6 +42410,13 @@ async function resolveReflection(query, logger58) {
42410
42410
  }
42411
42411
  async function executeMemoryQuery(input, logger58) {
42412
42412
  const toolMemory = getToolMemory();
42413
+ try {
42414
+ await toolMemory.awaitBackendInitialization();
42415
+ } catch (error) {
42416
+ logger58.debug("Backend initialization failed before query", {
42417
+ error: error instanceof Error ? error.message : String(error)
42418
+ });
42419
+ }
42413
42420
  const { effectiveQuery, expandedQuery, reflection } = await resolveReflection(
42414
42421
  input.query,
42415
42422
  logger58
@@ -42512,6 +42519,13 @@ function collectSessionStats(toolMemory) {
42512
42519
  }
42513
42520
  async function collectMemoryStats(input, logger58) {
42514
42521
  const toolMemory = getToolMemory();
42522
+ try {
42523
+ await toolMemory.awaitBackendInitialization();
42524
+ } catch (error) {
42525
+ logger58.debug("Backend initialization failed before stats collection", {
42526
+ error: error instanceof Error ? error.message : String(error)
42527
+ });
42528
+ }
42515
42529
  const sessionStats = collectSessionStats(toolMemory);
42516
42530
  const beliefStats = {
42517
42531
  beliefsCount: toolMemory.getBeliefCount(),
@@ -42738,6 +42752,10 @@ async function executeMemoryWrite(input, logger58) {
42738
42752
  return response;
42739
42753
  }
42740
42754
  async function dispatchWrite(input) {
42755
+ try {
42756
+ await getToolMemory().awaitBackendInitialization();
42757
+ } catch {
42758
+ }
42741
42759
  switch (input.backend) {
42742
42760
  case "session":
42743
42761
  return writeToSession(input.key, input.content, input.confidence);
@@ -45577,7 +45595,7 @@ async function tryIssueTriage(task) {
45577
45595
  try {
45578
45596
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45579
45597
  if (issueMatch === null) return null;
45580
- const { createIssueTriage } = await import("./issue-triage-4S5K7TSE.js");
45598
+ const { createIssueTriage } = await import("./issue-triage-UA5RZDHN.js");
45581
45599
  const triage = createIssueTriage();
45582
45600
  const owner = issueMatch[1] ?? "";
45583
45601
  const num = issueMatch[2] ?? "";
@@ -45605,7 +45623,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45605
45623
  ]);
45606
45624
  async function classifyWithLLM(task) {
45607
45625
  try {
45608
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-UPCLL7ND.js");
45626
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-DEL2EHPN.js");
45609
45627
  const prompt = [
45610
45628
  "Classify this task into exactly one pipeline template.",
45611
45629
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47296,7 +47314,7 @@ var memoryInitPromise = null;
47296
47314
  async function initPipelineMemory() {
47297
47315
  if (cachedMemory !== null) return cachedMemory;
47298
47316
  try {
47299
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FJOIX7BQ.js");
47317
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7HKITSCG.js");
47300
47318
  const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
47301
47319
  const mem = createSessionMemory2(getLearningDir());
47302
47320
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47358,7 +47376,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47358
47376
  callRecord(routingMemoryCache);
47359
47377
  return;
47360
47378
  }
47361
- routingMemoryInitPromise ??= import("./routing-memory-LLGBBX7P.js").then(({ createRoutingMemory }) => {
47379
+ routingMemoryInitPromise ??= import("./routing-memory-JA3KORJV.js").then(({ createRoutingMemory }) => {
47362
47380
  routingMemoryCache ??= createRoutingMemory();
47363
47381
  return routingMemoryCache;
47364
47382
  }).catch((error) => {
@@ -47392,7 +47410,7 @@ ${text}` : "";
47392
47410
  }
47393
47411
  async function getWeatherContext() {
47394
47412
  try {
47395
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-2MF7IEQ4.js");
47413
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-HVRXMQC6.js");
47396
47414
  const report = generateWeatherReport2({ includeAdaptive: true });
47397
47415
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47398
47416
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47410,7 +47428,7 @@ ${lines}
47410
47428
  }
47411
47429
  async function getMemoryContext(task) {
47412
47430
  try {
47413
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FJOIX7BQ.js");
47431
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7HKITSCG.js");
47414
47432
  const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
47415
47433
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47416
47434
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47529,7 +47547,7 @@ ${contextBlock}`;
47529
47547
  const strategy = config.votingStrategy ?? "higher_order";
47530
47548
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47531
47549
  try {
47532
- const { executeVoting } = await import("./consensus-vote-222ZEN5J.js");
47550
+ const { executeVoting } = await import("./consensus-vote-65SIVG4D.js");
47533
47551
  const votingResult = await executeVoting(
47534
47552
  {
47535
47553
  proposal: buildVoteProposal(plan, research),
@@ -47958,7 +47976,7 @@ async function searchCodebaseForTask(task) {
47958
47976
  }
47959
47977
  async function queryResearchRegistry(task) {
47960
47978
  try {
47961
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-6EEGTTZY.js");
47979
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KMHT64UA.js");
47962
47980
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47963
47981
  if (topic === void 0) return null;
47964
47982
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48029,7 +48047,7 @@ function createScanStageWrapper() {
48029
48047
  try {
48030
48048
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48031
48049
  if (slug !== void 0) {
48032
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VUA76IN3.js");
48050
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-AYMZPZYK.js");
48033
48051
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48034
48052
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48035
48053
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51200,7 +51218,7 @@ var GitHubTaskTracker = class {
51200
51218
  cachedProvider = null;
51201
51219
  async getProvider() {
51202
51220
  if (this.cachedProvider !== null) return this.cachedProvider;
51203
- const { createScmProvider } = await import("./factory-6HNECKBF.js");
51221
+ const { createScmProvider } = await import("./factory-AHI2M2XF.js");
51204
51222
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51205
51223
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51206
51224
  this.cachedProvider = result.value;
@@ -52115,7 +52133,7 @@ async function probeSource(source, includeModelIds) {
52115
52133
  }
52116
52134
  }
52117
52135
  async function defaultSources(includeOpenRouter) {
52118
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-3OOZ2ZQP.js");
52136
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-VRFV77Q6.js");
52119
52137
  const adapters = createAllAdapters2();
52120
52138
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52121
52139
  }
@@ -56186,4 +56204,4 @@ export {
56186
56204
  shutdownFeedbackSubscriber,
56187
56205
  createEventBusBridge
56188
56206
  };
56189
- //# sourceMappingURL=chunk-6UWWVTQH.js.map
56207
+ //# sourceMappingURL=chunk-BTM27PMR.js.map