nexus-agents 8.22.2 → 8.22.4

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 (130) hide show
  1. package/dist/{ast-rule-runner-UMOL7AO3.js → ast-rule-runner-G6IOGUCV.js} +3 -3
  2. package/dist/{child-mcp-config-7DNOX3U3.js → child-mcp-config-GDTLUXGR.js} +2 -2
  3. package/dist/{chunk-XS423Y73.js → chunk-22EEMQUS.js} +2 -2
  4. package/dist/{chunk-2RUDLEIT.js → chunk-3GFNNZTS.js} +12 -14
  5. package/dist/chunk-3GFNNZTS.js.map +1 -0
  6. package/dist/{chunk-DW3RU6GC.js → chunk-3VBOYUPH.js} +2 -2
  7. package/dist/{chunk-P3WRF3A7.js → chunk-4E6T32D3.js} +2 -2
  8. package/dist/{chunk-JNCOVP77.js → chunk-4O7NQB46.js} +4 -4
  9. package/dist/{chunk-6IOI5SK3.js → chunk-4XBYQAED.js} +2 -2
  10. package/dist/chunk-5HAGSY6E.js +14 -0
  11. package/dist/chunk-5HAGSY6E.js.map +1 -0
  12. package/dist/{chunk-NG7T6DN5.js → chunk-5O5FKZUU.js} +3 -3
  13. package/dist/{chunk-OPWJJXZU.js → chunk-AXZJNY4F.js} +3 -3
  14. package/dist/{chunk-BAWRHK4W.js → chunk-BTZ7BKID.js} +2 -2
  15. package/dist/{chunk-R2CDVI4E.js → chunk-C2EZXKVE.js} +2 -2
  16. package/dist/{chunk-OFLMRACR.js → chunk-CHP7WNJS.js} +2 -2
  17. package/dist/{chunk-RZUYKWEY.js → chunk-CN3VAMQD.js} +7 -7
  18. package/dist/{chunk-2IJOZA75.js → chunk-GEKIA6CI.js} +2 -2
  19. package/dist/{chunk-CY6KGPAP.js → chunk-JC3O7WTI.js} +4 -4
  20. package/dist/{chunk-3J5WKA2S.js → chunk-JQS2A5MW.js} +4 -4
  21. package/dist/{chunk-ZWI54SPH.js → chunk-KAWGEKXW.js} +2 -2
  22. package/dist/{chunk-HZ3R63IV.js → chunk-KIAMP743.js} +3 -3
  23. package/dist/{chunk-QWYY5DD6.js → chunk-OUOBB5XR.js} +5 -5
  24. package/dist/{chunk-BU5LR2JJ.js → chunk-OYTRYITB.js} +2 -2
  25. package/dist/{chunk-FCIAKQNN.js → chunk-OZD3IGK6.js} +2 -2
  26. package/dist/{chunk-3R5TFUS5.js → chunk-PMO7TY2K.js} +5 -5
  27. package/dist/{chunk-HSOZPMQN.js → chunk-Q5J7PV3G.js} +2 -2
  28. package/dist/{chunk-P4QYPDTB.js → chunk-QEZGPM4S.js} +2 -2
  29. package/dist/{chunk-NNM6ZIXQ.js → chunk-QOKSFHWH.js} +3 -3
  30. package/dist/{chunk-SX5EZNPS.js → chunk-SZUUY4MP.js} +36 -36
  31. package/dist/{chunk-52QVQASD.js → chunk-TPBPFBO3.js} +16 -8
  32. package/dist/{chunk-52QVQASD.js.map → chunk-TPBPFBO3.js.map} +1 -1
  33. package/dist/{chunk-HILA36W2.js → chunk-UOKUUBJP.js} +2 -2
  34. package/dist/{chunk-V2RNDE4R.js → chunk-UWE6AN65.js} +2 -2
  35. package/dist/{chunk-KCDE6VIZ.js → chunk-V52KBX67.js} +6 -6
  36. package/dist/{chunk-SRC2TLRU.js → chunk-W5WSXEAB.js} +2 -2
  37. package/dist/{chunk-GHBR6ZG3.js → chunk-XNZHNPAX.js} +4 -4
  38. package/dist/{chunk-3MSPZLGF.js → chunk-YOT4GWJV.js} +2 -2
  39. package/dist/{chunk-BKE522YB.js → chunk-ZV4XS5LW.js} +9 -9
  40. package/dist/{cli-circuit-breaker-CWQPO6SJ.js → cli-circuit-breaker-QV5J45LJ.js} +3 -3
  41. package/dist/cli.js +205 -135
  42. package/dist/cli.js.map +1 -1
  43. package/dist/{composite-router-EVIISDZX.js → composite-router-5AAXEJI3.js} +2 -2
  44. package/dist/{consensus-vote-4Q4ZT5U7.js → consensus-vote-L6YSUPHT.js} +17 -17
  45. package/dist/{context-retriever-7KBTMNCV.js → context-retriever-GB4EC3XI.js} +8 -8
  46. package/dist/{doctor-deep-WFHCOZJY.js → doctor-deep-FDASNUC6.js} +3 -3
  47. package/dist/{doctor-live-LR2TJT45.js → doctor-live-M2A46PS3.js} +9 -9
  48. package/dist/{expert-bridge-KWVJB63Y.js → expert-bridge-M6OU7IYP.js} +4 -4
  49. package/dist/{factory-XOSRNGBJ.js → factory-NR2H2QR4.js} +5 -5
  50. package/dist/{factory-MVWNG55G.js → factory-OPVHIZ3G.js} +9 -9
  51. package/dist/{improvement-review-F7CCW4HQ.js → improvement-review-RX23MLAD.js} +6 -6
  52. package/dist/index.d.ts +1 -1
  53. package/dist/index.js +31 -31
  54. package/dist/{init-opencode-EEOVDBRF.js → init-opencode-2PVLMIJK.js} +6 -6
  55. package/dist/issue-triage-FCFX56WQ.js +17 -0
  56. package/dist/{pr-reviewer-helpers-2ZSPMIG4.js → pr-reviewer-helpers-3VQNHIXI.js} +4 -4
  57. package/dist/{registry-command-SD3YGORZ.js → registry-command-GAL4MBUA.js} +2 -2
  58. package/dist/{repo-security-plan-Z3EHJNZA.js → repo-security-plan-ZUZJEUIS.js} +3 -3
  59. package/dist/{research-helpers-synthesize-KIZIELHL.js → research-helpers-synthesize-Z2PJPIJD.js} +4 -4
  60. package/dist/{routing-memory-RRMEGPQB.js → routing-memory-N7YBCDAV.js} +2 -2
  61. package/dist/{session-memory-MMRSHXSO.js → session-memory-PRSYLZO7.js} +3 -3
  62. package/dist/{setup-config-54QMOSKC.js → setup-config-KF2VUAFU.js} +3 -3
  63. package/dist/{setup-custom-api-7CCRA6AP.js → setup-custom-api-T47OPCDE.js} +4 -4
  64. package/dist/setup-data-dir-NIV65UAR.js +29 -0
  65. package/dist/{tool-memory-YV64LYJ3.js → tool-memory-CLV7MXC4.js} +5 -5
  66. package/dist/{unified-registry-DRKRTGHZ.js → unified-registry-33QL65WE.js} +10 -10
  67. package/dist/{weather-report-PJBGR7WX.js → weather-report-VFWJVLP3.js} +2 -2
  68. package/package.json +1 -1
  69. package/dist/chunk-2RUDLEIT.js.map +0 -1
  70. package/dist/chunk-X76M44I2.js +0 -7
  71. package/dist/chunk-X76M44I2.js.map +0 -1
  72. package/dist/issue-triage-WVSJEHYI.js +0 -17
  73. package/dist/setup-data-dir-6OR7TLY6.js +0 -29
  74. /package/dist/{ast-rule-runner-UMOL7AO3.js.map → ast-rule-runner-G6IOGUCV.js.map} +0 -0
  75. /package/dist/{child-mcp-config-7DNOX3U3.js.map → child-mcp-config-GDTLUXGR.js.map} +0 -0
  76. /package/dist/{chunk-XS423Y73.js.map → chunk-22EEMQUS.js.map} +0 -0
  77. /package/dist/{chunk-DW3RU6GC.js.map → chunk-3VBOYUPH.js.map} +0 -0
  78. /package/dist/{chunk-P3WRF3A7.js.map → chunk-4E6T32D3.js.map} +0 -0
  79. /package/dist/{chunk-JNCOVP77.js.map → chunk-4O7NQB46.js.map} +0 -0
  80. /package/dist/{chunk-6IOI5SK3.js.map → chunk-4XBYQAED.js.map} +0 -0
  81. /package/dist/{chunk-NG7T6DN5.js.map → chunk-5O5FKZUU.js.map} +0 -0
  82. /package/dist/{chunk-OPWJJXZU.js.map → chunk-AXZJNY4F.js.map} +0 -0
  83. /package/dist/{chunk-BAWRHK4W.js.map → chunk-BTZ7BKID.js.map} +0 -0
  84. /package/dist/{chunk-R2CDVI4E.js.map → chunk-C2EZXKVE.js.map} +0 -0
  85. /package/dist/{chunk-OFLMRACR.js.map → chunk-CHP7WNJS.js.map} +0 -0
  86. /package/dist/{chunk-RZUYKWEY.js.map → chunk-CN3VAMQD.js.map} +0 -0
  87. /package/dist/{chunk-2IJOZA75.js.map → chunk-GEKIA6CI.js.map} +0 -0
  88. /package/dist/{chunk-CY6KGPAP.js.map → chunk-JC3O7WTI.js.map} +0 -0
  89. /package/dist/{chunk-3J5WKA2S.js.map → chunk-JQS2A5MW.js.map} +0 -0
  90. /package/dist/{chunk-ZWI54SPH.js.map → chunk-KAWGEKXW.js.map} +0 -0
  91. /package/dist/{chunk-HZ3R63IV.js.map → chunk-KIAMP743.js.map} +0 -0
  92. /package/dist/{chunk-QWYY5DD6.js.map → chunk-OUOBB5XR.js.map} +0 -0
  93. /package/dist/{chunk-BU5LR2JJ.js.map → chunk-OYTRYITB.js.map} +0 -0
  94. /package/dist/{chunk-FCIAKQNN.js.map → chunk-OZD3IGK6.js.map} +0 -0
  95. /package/dist/{chunk-3R5TFUS5.js.map → chunk-PMO7TY2K.js.map} +0 -0
  96. /package/dist/{chunk-HSOZPMQN.js.map → chunk-Q5J7PV3G.js.map} +0 -0
  97. /package/dist/{chunk-P4QYPDTB.js.map → chunk-QEZGPM4S.js.map} +0 -0
  98. /package/dist/{chunk-NNM6ZIXQ.js.map → chunk-QOKSFHWH.js.map} +0 -0
  99. /package/dist/{chunk-SX5EZNPS.js.map → chunk-SZUUY4MP.js.map} +0 -0
  100. /package/dist/{chunk-HILA36W2.js.map → chunk-UOKUUBJP.js.map} +0 -0
  101. /package/dist/{chunk-V2RNDE4R.js.map → chunk-UWE6AN65.js.map} +0 -0
  102. /package/dist/{chunk-KCDE6VIZ.js.map → chunk-V52KBX67.js.map} +0 -0
  103. /package/dist/{chunk-SRC2TLRU.js.map → chunk-W5WSXEAB.js.map} +0 -0
  104. /package/dist/{chunk-GHBR6ZG3.js.map → chunk-XNZHNPAX.js.map} +0 -0
  105. /package/dist/{chunk-3MSPZLGF.js.map → chunk-YOT4GWJV.js.map} +0 -0
  106. /package/dist/{chunk-BKE522YB.js.map → chunk-ZV4XS5LW.js.map} +0 -0
  107. /package/dist/{cli-circuit-breaker-CWQPO6SJ.js.map → cli-circuit-breaker-QV5J45LJ.js.map} +0 -0
  108. /package/dist/{composite-router-EVIISDZX.js.map → composite-router-5AAXEJI3.js.map} +0 -0
  109. /package/dist/{consensus-vote-4Q4ZT5U7.js.map → consensus-vote-L6YSUPHT.js.map} +0 -0
  110. /package/dist/{context-retriever-7KBTMNCV.js.map → context-retriever-GB4EC3XI.js.map} +0 -0
  111. /package/dist/{doctor-deep-WFHCOZJY.js.map → doctor-deep-FDASNUC6.js.map} +0 -0
  112. /package/dist/{doctor-live-LR2TJT45.js.map → doctor-live-M2A46PS3.js.map} +0 -0
  113. /package/dist/{expert-bridge-KWVJB63Y.js.map → expert-bridge-M6OU7IYP.js.map} +0 -0
  114. /package/dist/{factory-MVWNG55G.js.map → factory-NR2H2QR4.js.map} +0 -0
  115. /package/dist/{factory-XOSRNGBJ.js.map → factory-OPVHIZ3G.js.map} +0 -0
  116. /package/dist/{improvement-review-F7CCW4HQ.js.map → improvement-review-RX23MLAD.js.map} +0 -0
  117. /package/dist/{init-opencode-EEOVDBRF.js.map → init-opencode-2PVLMIJK.js.map} +0 -0
  118. /package/dist/{issue-triage-WVSJEHYI.js.map → issue-triage-FCFX56WQ.js.map} +0 -0
  119. /package/dist/{pr-reviewer-helpers-2ZSPMIG4.js.map → pr-reviewer-helpers-3VQNHIXI.js.map} +0 -0
  120. /package/dist/{registry-command-SD3YGORZ.js.map → registry-command-GAL4MBUA.js.map} +0 -0
  121. /package/dist/{repo-security-plan-Z3EHJNZA.js.map → repo-security-plan-ZUZJEUIS.js.map} +0 -0
  122. /package/dist/{research-helpers-synthesize-KIZIELHL.js.map → research-helpers-synthesize-Z2PJPIJD.js.map} +0 -0
  123. /package/dist/{routing-memory-RRMEGPQB.js.map → routing-memory-N7YBCDAV.js.map} +0 -0
  124. /package/dist/{session-memory-MMRSHXSO.js.map → session-memory-PRSYLZO7.js.map} +0 -0
  125. /package/dist/{setup-config-54QMOSKC.js.map → setup-config-KF2VUAFU.js.map} +0 -0
  126. /package/dist/{setup-custom-api-7CCRA6AP.js.map → setup-custom-api-T47OPCDE.js.map} +0 -0
  127. /package/dist/{setup-data-dir-6OR7TLY6.js.map → setup-data-dir-NIV65UAR.js.map} +0 -0
  128. /package/dist/{tool-memory-YV64LYJ3.js.map → tool-memory-CLV7MXC4.js.map} +0 -0
  129. /package/dist/{unified-registry-DRKRTGHZ.js.map → unified-registry-33QL65WE.js.map} +0 -0
  130. /package/dist/{weather-report-PJBGR7WX.js.map → weather-report-VFWJVLP3.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-V2RNDE4R.js";
3
+ } from "./chunk-UWE6AN65.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-NNM6ZIXQ.js";
8
+ } from "./chunk-QOKSFHWH.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-7DNOX3U3.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-GDTLUXGR.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-MVWNG55G.js");
97
- const { createCompositeRouter } = await import("./composite-router-EVIISDZX.js");
96
+ const { createAllAdapters } = await import("./factory-OPVHIZ3G.js");
97
+ const { createCompositeRouter } = await import("./composite-router-5AAXEJI3.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-CWQPO6SJ.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-QV5J45LJ.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-RZUYKWEY.js.map
216
+ //# sourceMappingURL=chunk-CN3VAMQD.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-NNM6ZIXQ.js";
14
+ } from "./chunk-QOKSFHWH.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-2IJOZA75.js.map
233
+ //# sourceMappingURL=chunk-GEKIA6CI.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-SRC2TLRU.js";
8
+ } from "./chunk-W5WSXEAB.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-YYJFZ7TO.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-OFLMRACR.js";
18
+ } from "./chunk-CHP7WNJS.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -29,7 +29,7 @@ import {
29
29
  ok,
30
30
  openSqliteDatabase,
31
31
  setSharedMobiMemDbPathResolver
32
- } from "./chunk-NNM6ZIXQ.js";
32
+ } from "./chunk-QOKSFHWH.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-J7QCZRVK.js";
@@ -5684,4 +5684,4 @@ export {
5684
5684
  reinitializeMemoryBackends,
5685
5685
  ToolMemoryManager
5686
5686
  };
5687
- //# sourceMappingURL=chunk-CY6KGPAP.js.map
5687
+ //# sourceMappingURL=chunk-JC3O7WTI.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-6IOI5SK3.js";
4
+ } from "./chunk-4XBYQAED.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-HILA36W2.js";
7
+ } from "./chunk-UOKUUBJP.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-NNM6ZIXQ.js";
11
+ } from "./chunk-QOKSFHWH.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-3J5WKA2S.js.map
44
+ //# sourceMappingURL=chunk-JQS2A5MW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-NNM6ZIXQ.js";
3
+ } from "./chunk-QOKSFHWH.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-ZWI54SPH.js.map
80
+ //# sourceMappingURL=chunk-KAWGEKXW.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-BU5LR2JJ.js";
13
+ } from "./chunk-OYTRYITB.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-NNM6ZIXQ.js";
19
+ } from "./chunk-QOKSFHWH.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -383,4 +383,4 @@ export {
383
383
  createFailedReview,
384
384
  reviewPostingBlock
385
385
  };
386
- //# sourceMappingURL=chunk-HZ3R63IV.js.map
386
+ //# sourceMappingURL=chunk-KIAMP743.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-P4QYPDTB.js";
4
+ } from "./chunk-QEZGPM4S.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-DW3RU6GC.js";
11
+ } from "./chunk-3VBOYUPH.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-HSOZPMQN.js";
14
+ } from "./chunk-Q5J7PV3G.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-NNM6ZIXQ.js";
25
+ } from "./chunk-QOKSFHWH.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-QWYY5DD6.js.map
836
+ //# sourceMappingURL=chunk-OUOBB5XR.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-NNM6ZIXQ.js";
5
+ } from "./chunk-QOKSFHWH.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -588,4 +588,4 @@ export {
588
588
  resolveReputationGatingMode,
589
589
  gateWithReputation
590
590
  };
591
- //# sourceMappingURL=chunk-BU5LR2JJ.js.map
591
+ //# sourceMappingURL=chunk-OYTRYITB.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-NNM6ZIXQ.js";
11
+ } from "./chunk-QOKSFHWH.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-FCIAKQNN.js.map
544
+ //# sourceMappingURL=chunk-OZD3IGK6.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-R2CDVI4E.js";
8
+ } from "./chunk-C2EZXKVE.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-HILA36W2.js";
11
+ } from "./chunk-UOKUUBJP.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-CY6KGPAP.js";
14
+ } from "./chunk-JC3O7WTI.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -40,7 +40,7 @@ import {
40
40
  ok,
41
41
  registerPersistentDistillerFactory,
42
42
  sigmoidConfidence
43
- } from "./chunk-NNM6ZIXQ.js";
43
+ } from "./chunk-QOKSFHWH.js";
44
44
  import {
45
45
  ensureLearningDir,
46
46
  getRulesFile
@@ -4215,4 +4215,4 @@ export {
4215
4215
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4216
4216
  getContextPromptPrefix
4217
4217
  };
4218
- //# sourceMappingURL=chunk-3R5TFUS5.js.map
4218
+ //# sourceMappingURL=chunk-PMO7TY2K.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-NNM6ZIXQ.js";
6
+ } from "./chunk-QOKSFHWH.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-HSOZPMQN.js.map
263
+ //# sourceMappingURL=chunk-Q5J7PV3G.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-NNM6ZIXQ.js";
6
+ } from "./chunk-QOKSFHWH.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-J7QCZRVK.js";
@@ -196,4 +196,4 @@ export {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
198
  };
199
- //# sourceMappingURL=chunk-P4QYPDTB.js.map
199
+ //# sourceMappingURL=chunk-QEZGPM4S.js.map
@@ -2650,7 +2650,7 @@ function setDefaultRegistry(registry) {
2650
2650
  }
2651
2651
  async function reloadDefaultRegistry() {
2652
2652
  globalRegistry = buildDefaultRegistry();
2653
- const { resetGlobalRegistry } = await import("./unified-registry-DRKRTGHZ.js");
2653
+ const { resetGlobalRegistry } = await import("./unified-registry-33QL65WE.js");
2654
2654
  resetGlobalRegistry();
2655
2655
  return globalRegistry;
2656
2656
  }
@@ -15360,7 +15360,7 @@ var CompositeRouter = class _CompositeRouter {
15360
15360
  */
15361
15361
  async consultUnifiedContext(task) {
15362
15362
  try {
15363
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-7KBTMNCV.js");
15363
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-GB4EC3XI.js");
15364
15364
  const ctx = await getContextForTask({
15365
15365
  task: task.content,
15366
15366
  category: inferTaskCategory(task.content),
@@ -17041,4 +17041,4 @@ export {
17041
17041
  AgentCapability,
17042
17042
  OrchestratorError
17043
17043
  };
17044
- //# sourceMappingURL=chunk-NNM6ZIXQ.js.map
17044
+ //# sourceMappingURL=chunk-QOKSFHWH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-XS423Y73.js";
3
+ } from "./chunk-22EEMQUS.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-2RUDLEIT.js";
24
+ } from "./chunk-3GFNNZTS.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-RZUYKWEY.js";
27
+ } from "./chunk-CN3VAMQD.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -48,26 +48,26 @@ import {
48
48
  simulationDeniedResult,
49
49
  toJobSummary,
50
50
  writeJobCancelled
51
- } from "./chunk-BKE522YB.js";
51
+ } from "./chunk-ZV4XS5LW.js";
52
52
  import {
53
53
  allOf
54
54
  } from "./chunk-OQB3XC5O.js";
55
55
  import {
56
56
  normalizeTopicToCanonical,
57
57
  synthesizeResearch
58
- } from "./chunk-NG7T6DN5.js";
58
+ } from "./chunk-5O5FKZUU.js";
59
59
  import {
60
60
  IssueTriage,
61
61
  createDurableAuditSink,
62
62
  createDurableAuditTrail
63
- } from "./chunk-KCDE6VIZ.js";
63
+ } from "./chunk-V52KBX67.js";
64
64
  import {
65
65
  resolveEnvMode,
66
66
  sanitizeInput
67
- } from "./chunk-BU5LR2JJ.js";
67
+ } from "./chunk-OYTRYITB.js";
68
68
  import {
69
69
  withPrerequisite
70
- } from "./chunk-OPWJJXZU.js";
70
+ } from "./chunk-AXZJNY4F.js";
71
71
  import {
72
72
  NOOP_NOTIFIER,
73
73
  RateLimiter,
@@ -92,18 +92,18 @@ import {
92
92
  withAuditTrail,
93
93
  withProgressHeartbeat,
94
94
  wrapToolWithTimeout
95
- } from "./chunk-GHBR6ZG3.js";
95
+ } from "./chunk-XNZHNPAX.js";
96
96
  import {
97
97
  createAuditTrail,
98
98
  createGraphAuditBridge,
99
99
  emitPipelinePolicyEvent
100
- } from "./chunk-3MSPZLGF.js";
100
+ } from "./chunk-YOT4GWJV.js";
101
101
  import {
102
102
  EventTopics,
103
103
  createEvent,
104
104
  getGlobalEventBus,
105
105
  getGlobalRegistry
106
- } from "./chunk-JNCOVP77.js";
106
+ } from "./chunk-4O7NQB46.js";
107
107
  import {
108
108
  IDENTIFIER_RE,
109
109
  LANG_VALUES,
@@ -136,7 +136,7 @@ import {
136
136
  parseRegistry,
137
137
  sourceExistsInRegistry,
138
138
  summarizeContextForPrompt
139
- } from "./chunk-3R5TFUS5.js";
139
+ } from "./chunk-PMO7TY2K.js";
140
140
  import {
141
141
  REGISTRY_PATH,
142
142
  getProjectRoot,
@@ -144,25 +144,25 @@ import {
144
144
  loadTechniquesRegistry,
145
145
  resolveInsideRoot,
146
146
  resolveRegistryRoot
147
- } from "./chunk-R2CDVI4E.js";
147
+ } from "./chunk-C2EZXKVE.js";
148
148
  import {
149
149
  getTokenEnvVars,
150
150
  resolveToken
151
- } from "./chunk-HILA36W2.js";
151
+ } from "./chunk-UOKUUBJP.js";
152
152
  import {
153
153
  DEFAULT_RELEVANCE_CONFIG,
154
154
  MemoryImportance,
155
155
  MemoryType,
156
156
  calculateTextJaccardSimilarity,
157
157
  getToolMemory
158
- } from "./chunk-CY6KGPAP.js";
158
+ } from "./chunk-JC3O7WTI.js";
159
159
  import {
160
160
  STOPWORDS,
161
161
  truncateWithInfo
162
162
  } from "./chunk-7LP6VJRP.js";
163
163
  import {
164
164
  createSessionMemory
165
- } from "./chunk-SRC2TLRU.js";
165
+ } from "./chunk-W5WSXEAB.js";
166
166
  import {
167
167
  BUILT_IN_EXPERTS,
168
168
  BuiltInExpertTypeSchema,
@@ -180,25 +180,25 @@ import {
180
180
  getAvailableClis,
181
181
  sleep,
182
182
  withTimeout
183
- } from "./chunk-52QVQASD.js";
183
+ } from "./chunk-TPBPFBO3.js";
184
184
  import {
185
185
  BaseAdapter,
186
186
  createStream,
187
187
  requireApiKey,
188
188
  validateApiKeyPresence
189
- } from "./chunk-DW3RU6GC.js";
189
+ } from "./chunk-3VBOYUPH.js";
190
190
  import {
191
191
  DEFAULTS
192
- } from "./chunk-2IJOZA75.js";
192
+ } from "./chunk-GEKIA6CI.js";
193
193
  import {
194
194
  getAvailabilityCache,
195
195
  getCliForModelId,
196
196
  resolveFallback
197
- } from "./chunk-V2RNDE4R.js";
197
+ } from "./chunk-UWE6AN65.js";
198
198
  import {
199
199
  generateHyphenId,
200
200
  generateUUID
201
- } from "./chunk-OFLMRACR.js";
201
+ } from "./chunk-CHP7WNJS.js";
202
202
  import {
203
203
  AGENT_ROUTER_TIMEOUTS,
204
204
  API_TIMEOUTS,
@@ -304,7 +304,7 @@ import {
304
304
  selectStrategyByManifest,
305
305
  toExpertTaskAnalysisResult,
306
306
  withStep
307
- } from "./chunk-NNM6ZIXQ.js";
307
+ } from "./chunk-QOKSFHWH.js";
308
308
  import {
309
309
  ensureLearningDir,
310
310
  getMetaOutcomesFile,
@@ -29782,7 +29782,7 @@ function execIdFields(executionId) {
29782
29782
  async function populateUnifiedContextOnState(state, options) {
29783
29783
  const taskCandidate = state["task"];
29784
29784
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29785
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7KBTMNCV.js");
29785
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-GB4EC3XI.js");
29786
29786
  const category = inferTaskCategory2(taskCandidate);
29787
29787
  const executionId = options?.executionId;
29788
29788
  const execFields = execIdFields(executionId);
@@ -45585,7 +45585,7 @@ async function tryIssueTriage(task) {
45585
45585
  try {
45586
45586
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45587
45587
  if (issueMatch === null) return null;
45588
- const { createIssueTriage } = await import("./issue-triage-WVSJEHYI.js");
45588
+ const { createIssueTriage } = await import("./issue-triage-FCFX56WQ.js");
45589
45589
  const triage = createIssueTriage();
45590
45590
  const owner = issueMatch[1] ?? "";
45591
45591
  const num = issueMatch[2] ?? "";
@@ -45613,7 +45613,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45613
45613
  ]);
45614
45614
  async function classifyWithLLM(task) {
45615
45615
  try {
45616
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-KWVJB63Y.js");
45616
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-M6OU7IYP.js");
45617
45617
  const prompt = [
45618
45618
  "Classify this task into exactly one pipeline template.",
45619
45619
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45987,7 +45987,7 @@ function buildVotingInput(plan, config) {
45987
45987
  }
45988
45988
  async function executeSingleVote(plan, config, log) {
45989
45989
  try {
45990
- const { executeVoting } = await import("./consensus-vote-4Q4ZT5U7.js");
45990
+ const { executeVoting } = await import("./consensus-vote-L6YSUPHT.js");
45991
45991
  const input = buildVotingInput(plan, config);
45992
45992
  const result = await executeVoting(input, log);
45993
45993
  return parseVotingResult(result);
@@ -47526,7 +47526,7 @@ var memoryInitPromise = null;
47526
47526
  async function initPipelineMemory() {
47527
47527
  if (cachedMemory !== null) return cachedMemory;
47528
47528
  try {
47529
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MMRSHXSO.js");
47529
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PRSYLZO7.js");
47530
47530
  const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
47531
47531
  const mem = createSessionMemory2(getLearningDir());
47532
47532
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47588,7 +47588,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47588
47588
  callRecord(routingMemoryCache);
47589
47589
  return;
47590
47590
  }
47591
- routingMemoryInitPromise ??= import("./routing-memory-RRMEGPQB.js").then(({ createRoutingMemory }) => {
47591
+ routingMemoryInitPromise ??= import("./routing-memory-N7YBCDAV.js").then(({ createRoutingMemory }) => {
47592
47592
  routingMemoryCache ??= createRoutingMemory();
47593
47593
  return routingMemoryCache;
47594
47594
  }).catch((error) => {
@@ -47622,7 +47622,7 @@ ${text}` : "";
47622
47622
  }
47623
47623
  async function getWeatherContext() {
47624
47624
  try {
47625
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PJBGR7WX.js");
47625
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VFWJVLP3.js");
47626
47626
  const report = generateWeatherReport2({ includeAdaptive: true });
47627
47627
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47628
47628
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47640,7 +47640,7 @@ ${lines}
47640
47640
  }
47641
47641
  async function getMemoryContext(task) {
47642
47642
  try {
47643
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MMRSHXSO.js");
47643
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PRSYLZO7.js");
47644
47644
  const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
47645
47645
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47646
47646
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47759,7 +47759,7 @@ ${contextBlock}`;
47759
47759
  const strategy = config.votingStrategy ?? "higher_order";
47760
47760
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47761
47761
  try {
47762
- const { executeVoting } = await import("./consensus-vote-4Q4ZT5U7.js");
47762
+ const { executeVoting } = await import("./consensus-vote-L6YSUPHT.js");
47763
47763
  const votingResult = await executeVoting(
47764
47764
  {
47765
47765
  proposal: buildVoteProposal(plan, research),
@@ -48190,7 +48190,7 @@ async function searchCodebaseForTask(task) {
48190
48190
  }
48191
48191
  async function queryResearchRegistry(task) {
48192
48192
  try {
48193
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KIZIELHL.js");
48193
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-Z2PJPIJD.js");
48194
48194
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48195
48195
  if (topic === void 0) return null;
48196
48196
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48261,7 +48261,7 @@ function createScanStageWrapper() {
48261
48261
  try {
48262
48262
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48263
48263
  if (slug !== void 0) {
48264
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-Z3EHJNZA.js");
48264
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-ZUZJEUIS.js");
48265
48265
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48266
48266
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48267
48267
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51463,7 +51463,7 @@ var GitHubTaskTracker = class {
51463
51463
  cachedProvider = null;
51464
51464
  async getProvider() {
51465
51465
  if (this.cachedProvider !== null) return this.cachedProvider;
51466
- const { createScmProvider } = await import("./factory-XOSRNGBJ.js");
51466
+ const { createScmProvider } = await import("./factory-NR2H2QR4.js");
51467
51467
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51468
51468
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51469
51469
  this.cachedProvider = result.value;
@@ -52368,7 +52368,7 @@ async function probeSource(source, includeModelIds) {
52368
52368
  }
52369
52369
  }
52370
52370
  async function defaultSources(includeOpenRouter) {
52371
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-MVWNG55G.js");
52371
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-OPVHIZ3G.js");
52372
52372
  const adapters = createAllAdapters2();
52373
52373
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52374
52374
  }
@@ -56444,4 +56444,4 @@ export {
56444
56444
  shutdownFeedbackSubscriber,
56445
56445
  createEventBusBridge
56446
56446
  };
56447
- //# sourceMappingURL=chunk-SX5EZNPS.js.map
56447
+ //# sourceMappingURL=chunk-SZUUY4MP.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-DW3RU6GC.js";
8
+ } from "./chunk-3VBOYUPH.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-2IJOZA75.js";
11
+ } from "./chunk-GEKIA6CI.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-HSOZPMQN.js";
17
+ } from "./chunk-Q5J7PV3G.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-DKHBIJO4.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-V2RNDE4R.js";
23
+ } from "./chunk-UWE6AN65.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-OFLMRACR.js";
29
+ } from "./chunk-CHP7WNJS.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-FCIAKQNN.js";
35
+ } from "./chunk-OZD3IGK6.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-NNM6ZIXQ.js";
75
+ } from "./chunk-QOKSFHWH.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -3024,6 +3024,13 @@ function extractNumberField(record, key) {
3024
3024
  const value = record[key];
3025
3025
  return typeof value === "number" && Number.isFinite(value) ? value : null;
3026
3026
  }
3027
+ function safeJsonParse(raw) {
3028
+ try {
3029
+ return JSON.parse(raw);
3030
+ } catch {
3031
+ return null;
3032
+ }
3033
+ }
3027
3034
 
3028
3035
  // src/cli-adapters/parsers/claude-parser.ts
3029
3036
  var logger = createLogger({ component: "claude-parser" });
@@ -4923,6 +4930,7 @@ export {
4923
4930
  asRecord,
4924
4931
  isRecord,
4925
4932
  extractNumberField,
4933
+ safeJsonParse,
4926
4934
  ClaudeResponseParser,
4927
4935
  ClaudeCliAdapter,
4928
4936
  GeminiCliAdapter,
@@ -4948,4 +4956,4 @@ export {
4948
4956
  SdkAdapter,
4949
4957
  createAutoAdapter
4950
4958
  };
4951
- //# sourceMappingURL=chunk-52QVQASD.js.map
4959
+ //# sourceMappingURL=chunk-TPBPFBO3.js.map