nexus-agents 2.120.4 → 2.121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/{child-mcp-config-GXXGPY2Z.js → child-mcp-config-2VKCPJFN.js} +2 -2
  2. package/dist/{chunk-W77ZZVBS.js → chunk-2HGP6ULG.js} +3 -3
  3. package/dist/{chunk-7CI66JLH.js → chunk-2RDMM34Q.js} +4 -4
  4. package/dist/{chunk-ZRGKRP6E.js → chunk-7AFG6XPX.js} +4 -4
  5. package/dist/{chunk-LBWANANM.js → chunk-ABEEA7GE.js} +2 -2
  6. package/dist/{chunk-JOQWVX7Y.js → chunk-BXGM23KU.js} +2 -2
  7. package/dist/{chunk-AUHDHVJM.js → chunk-CCXELQLN.js} +2 -2
  8. package/dist/{chunk-SJPCTISD.js → chunk-EQJBCD5V.js} +5 -5
  9. package/dist/{chunk-5FAYL4WJ.js → chunk-GALPN7L7.js} +7 -7
  10. package/dist/{chunk-676XDCVT.js → chunk-GH2APUQH.js} +2 -2
  11. package/dist/{chunk-XRYZICAV.js → chunk-GZTEATXE.js} +2 -2
  12. package/dist/{chunk-ZZ5FQ5L4.js → chunk-ISMAOCQF.js} +3 -3
  13. package/dist/{chunk-EXW2SEG2.js → chunk-JXJBIYB3.js} +2 -2
  14. package/dist/{chunk-RTAEKZW4.js → chunk-LRZDIUKF.js} +34 -32
  15. package/dist/{chunk-RTAEKZW4.js.map → chunk-LRZDIUKF.js.map} +1 -1
  16. package/dist/{chunk-CF66J4EQ.js → chunk-LWGFT2SR.js} +2 -2
  17. package/dist/{chunk-BAMOW5QO.js → chunk-MPQLSXGA.js} +7 -7
  18. package/dist/{chunk-P72SXNG3.js → chunk-MPVBOJ45.js} +3 -3
  19. package/dist/{chunk-ZRGQPGDS.js → chunk-MVHXZ4QD.js} +2 -2
  20. package/dist/{chunk-MDZK23FR.js → chunk-NKPQYJY7.js} +2 -2
  21. package/dist/{chunk-G7FOXXVF.js → chunk-Q2BZHIQ7.js} +2 -2
  22. package/dist/{chunk-FHGOYI55.js → chunk-QMEWA725.js} +4 -4
  23. package/dist/{chunk-7LWSWRFA.js → chunk-QRYXTJ7R.js} +7 -7
  24. package/dist/{chunk-WCIUIGWF.js → chunk-QSTDUYYW.js} +2 -2
  25. package/dist/{chunk-N2TYF2SY.js → chunk-SOOKEFDV.js} +3 -3
  26. package/dist/{chunk-4YJZIDJR.js → chunk-TBD4RME4.js} +2 -2
  27. package/dist/{chunk-CKV7MN2T.js → chunk-WQTW3P7G.js} +104 -6
  28. package/dist/chunk-WQTW3P7G.js.map +1 -0
  29. package/dist/{chunk-WGMAS53Z.js → chunk-XH3YQ3WR.js} +3 -3
  30. package/dist/{chunk-Z5CZK7Q2.js → chunk-XKM77XGF.js} +5 -5
  31. package/dist/{chunk-RI4J5RZ4.js → chunk-XTLYRC3T.js} +3 -3
  32. package/dist/{chunk-NATXDUQO.js → chunk-YB6L5KQM.js} +7 -7
  33. package/dist/{chunk-XK6LVWD7.js → chunk-YJQ5TT7K.js} +2 -2
  34. package/dist/{chunk-JF5UH6PJ.js → chunk-YLDE6JFI.js} +2 -2
  35. package/dist/{cli-circuit-breaker-244ZHL2O.js → cli-circuit-breaker-MMQ5RKB6.js} +4 -4
  36. package/dist/cli.js +38 -38
  37. package/dist/{composite-router-CEV72ZOX.js → composite-router-XOFOTKKJ.js} +2 -2
  38. package/dist/{consensus-vote-OXURUCKK.js → consensus-vote-23JQL3E6.js} +12 -12
  39. package/dist/{context-retriever-NQDBZNLM.js → context-retriever-HJXNWDJD.js} +8 -8
  40. package/dist/{doctor-deep-P6HGEKP7.js → doctor-deep-RUKMAAUU.js} +3 -3
  41. package/dist/{expert-bridge-H3QGRZFL.js → expert-bridge-FMVOGXK5.js} +4 -4
  42. package/dist/{factory-IF4YQPMS.js → factory-CLM5MU7Z.js} +5 -5
  43. package/dist/factory-JUBBJMOG.js +21 -0
  44. package/dist/{improvement-review-WFOD4PWF.js → improvement-review-6XCXK7NM.js} +4 -4
  45. package/dist/index.d.ts +197 -197
  46. package/dist/index.js +32 -29
  47. package/dist/index.js.map +1 -1
  48. package/dist/{init-opencode-TS63FNJE.js → init-opencode-KXWPKS7G.js} +5 -5
  49. package/dist/{issue-triage-CDPINSSI.js → issue-triage-36WSQVQ6.js} +5 -5
  50. package/dist/{pr-reviewer-helpers-E36DLNDA.js → pr-reviewer-helpers-I453NFO2.js} +4 -4
  51. package/dist/{registry-command-72QPDZV3.js → registry-command-VN7H4OHW.js} +2 -2
  52. package/dist/{repo-security-plan-53CF46BI.js → repo-security-plan-AKT576RI.js} +3 -3
  53. package/dist/{research-helpers-synthesize-U225IRTF.js → research-helpers-synthesize-C2JMQ2SJ.js} +4 -4
  54. package/dist/{routing-memory-DFCTSZSJ.js → routing-memory-ZZGCZ276.js} +2 -2
  55. package/dist/{session-memory-XJ3J3YRF.js → session-memory-4FAK3KM2.js} +3 -3
  56. package/dist/{setup-command-VU4GOOW7.js → setup-command-LRU665GR.js} +11 -11
  57. package/dist/{setup-config-ZILNSVKZ.js → setup-config-T74AMF6L.js} +3 -3
  58. package/dist/{setup-custom-api-AQLXNF7P.js → setup-custom-api-XA5AACLB.js} +3 -3
  59. package/dist/{tool-memory-7A6QKXRW.js → tool-memory-ZE3ZLAJJ.js} +5 -5
  60. package/dist/{weather-report-2TI2FV3K.js → weather-report-KE53XAGC.js} +2 -2
  61. package/package.json +1 -1
  62. package/dist/chunk-CKV7MN2T.js.map +0 -1
  63. package/dist/factory-JLCWIOK7.js +0 -21
  64. /package/dist/{child-mcp-config-GXXGPY2Z.js.map → child-mcp-config-2VKCPJFN.js.map} +0 -0
  65. /package/dist/{chunk-W77ZZVBS.js.map → chunk-2HGP6ULG.js.map} +0 -0
  66. /package/dist/{chunk-7CI66JLH.js.map → chunk-2RDMM34Q.js.map} +0 -0
  67. /package/dist/{chunk-ZRGKRP6E.js.map → chunk-7AFG6XPX.js.map} +0 -0
  68. /package/dist/{chunk-LBWANANM.js.map → chunk-ABEEA7GE.js.map} +0 -0
  69. /package/dist/{chunk-JOQWVX7Y.js.map → chunk-BXGM23KU.js.map} +0 -0
  70. /package/dist/{chunk-AUHDHVJM.js.map → chunk-CCXELQLN.js.map} +0 -0
  71. /package/dist/{chunk-SJPCTISD.js.map → chunk-EQJBCD5V.js.map} +0 -0
  72. /package/dist/{chunk-5FAYL4WJ.js.map → chunk-GALPN7L7.js.map} +0 -0
  73. /package/dist/{chunk-676XDCVT.js.map → chunk-GH2APUQH.js.map} +0 -0
  74. /package/dist/{chunk-XRYZICAV.js.map → chunk-GZTEATXE.js.map} +0 -0
  75. /package/dist/{chunk-ZZ5FQ5L4.js.map → chunk-ISMAOCQF.js.map} +0 -0
  76. /package/dist/{chunk-EXW2SEG2.js.map → chunk-JXJBIYB3.js.map} +0 -0
  77. /package/dist/{chunk-CF66J4EQ.js.map → chunk-LWGFT2SR.js.map} +0 -0
  78. /package/dist/{chunk-BAMOW5QO.js.map → chunk-MPQLSXGA.js.map} +0 -0
  79. /package/dist/{chunk-P72SXNG3.js.map → chunk-MPVBOJ45.js.map} +0 -0
  80. /package/dist/{chunk-ZRGQPGDS.js.map → chunk-MVHXZ4QD.js.map} +0 -0
  81. /package/dist/{chunk-MDZK23FR.js.map → chunk-NKPQYJY7.js.map} +0 -0
  82. /package/dist/{chunk-G7FOXXVF.js.map → chunk-Q2BZHIQ7.js.map} +0 -0
  83. /package/dist/{chunk-FHGOYI55.js.map → chunk-QMEWA725.js.map} +0 -0
  84. /package/dist/{chunk-7LWSWRFA.js.map → chunk-QRYXTJ7R.js.map} +0 -0
  85. /package/dist/{chunk-WCIUIGWF.js.map → chunk-QSTDUYYW.js.map} +0 -0
  86. /package/dist/{chunk-N2TYF2SY.js.map → chunk-SOOKEFDV.js.map} +0 -0
  87. /package/dist/{chunk-4YJZIDJR.js.map → chunk-TBD4RME4.js.map} +0 -0
  88. /package/dist/{chunk-WGMAS53Z.js.map → chunk-XH3YQ3WR.js.map} +0 -0
  89. /package/dist/{chunk-Z5CZK7Q2.js.map → chunk-XKM77XGF.js.map} +0 -0
  90. /package/dist/{chunk-RI4J5RZ4.js.map → chunk-XTLYRC3T.js.map} +0 -0
  91. /package/dist/{chunk-NATXDUQO.js.map → chunk-YB6L5KQM.js.map} +0 -0
  92. /package/dist/{chunk-XK6LVWD7.js.map → chunk-YJQ5TT7K.js.map} +0 -0
  93. /package/dist/{chunk-JF5UH6PJ.js.map → chunk-YLDE6JFI.js.map} +0 -0
  94. /package/dist/{cli-circuit-breaker-244ZHL2O.js.map → cli-circuit-breaker-MMQ5RKB6.js.map} +0 -0
  95. /package/dist/{composite-router-CEV72ZOX.js.map → composite-router-XOFOTKKJ.js.map} +0 -0
  96. /package/dist/{consensus-vote-OXURUCKK.js.map → consensus-vote-23JQL3E6.js.map} +0 -0
  97. /package/dist/{context-retriever-NQDBZNLM.js.map → context-retriever-HJXNWDJD.js.map} +0 -0
  98. /package/dist/{doctor-deep-P6HGEKP7.js.map → doctor-deep-RUKMAAUU.js.map} +0 -0
  99. /package/dist/{expert-bridge-H3QGRZFL.js.map → expert-bridge-FMVOGXK5.js.map} +0 -0
  100. /package/dist/{factory-IF4YQPMS.js.map → factory-CLM5MU7Z.js.map} +0 -0
  101. /package/dist/{factory-JLCWIOK7.js.map → factory-JUBBJMOG.js.map} +0 -0
  102. /package/dist/{improvement-review-WFOD4PWF.js.map → improvement-review-6XCXK7NM.js.map} +0 -0
  103. /package/dist/{init-opencode-TS63FNJE.js.map → init-opencode-KXWPKS7G.js.map} +0 -0
  104. /package/dist/{issue-triage-CDPINSSI.js.map → issue-triage-36WSQVQ6.js.map} +0 -0
  105. /package/dist/{pr-reviewer-helpers-E36DLNDA.js.map → pr-reviewer-helpers-I453NFO2.js.map} +0 -0
  106. /package/dist/{registry-command-72QPDZV3.js.map → registry-command-VN7H4OHW.js.map} +0 -0
  107. /package/dist/{repo-security-plan-53CF46BI.js.map → repo-security-plan-AKT576RI.js.map} +0 -0
  108. /package/dist/{research-helpers-synthesize-U225IRTF.js.map → research-helpers-synthesize-C2JMQ2SJ.js.map} +0 -0
  109. /package/dist/{routing-memory-DFCTSZSJ.js.map → routing-memory-ZZGCZ276.js.map} +0 -0
  110. /package/dist/{session-memory-XJ3J3YRF.js.map → session-memory-4FAK3KM2.js.map} +0 -0
  111. /package/dist/{setup-command-VU4GOOW7.js.map → setup-command-LRU665GR.js.map} +0 -0
  112. /package/dist/{setup-config-ZILNSVKZ.js.map → setup-config-T74AMF6L.js.map} +0 -0
  113. /package/dist/{setup-custom-api-AQLXNF7P.js.map → setup-custom-api-XA5AACLB.js.map} +0 -0
  114. /package/dist/{tool-memory-7A6QKXRW.js.map → tool-memory-ZE3ZLAJJ.js.map} +0 -0
  115. /package/dist/{weather-report-2TI2FV3K.js.map → weather-report-KE53XAGC.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-CKV7MN2T.js";
3
+ } from "./chunk-WQTW3P7G.js";
4
4
  import "./chunk-CH7QIDHQ.js";
5
5
  import "./chunk-PR4QN5HX.js";
6
6
 
@@ -59,4 +59,4 @@ export {
59
59
  generateMcpConfig,
60
60
  getDefaultAllowedTools
61
61
  };
62
- //# sourceMappingURL=child-mcp-config-GXXGPY2Z.js.map
62
+ //# sourceMappingURL=child-mcp-config-2VKCPJFN.js.map
@@ -3,14 +3,14 @@ import {
3
3
  createStream,
4
4
  requireApiKey,
5
5
  validateApiKeyPresence
6
- } from "./chunk-XK6LVWD7.js";
6
+ } from "./chunk-YJQ5TT7K.js";
7
7
  import {
8
8
  ModelCapability,
9
9
  err,
10
10
  getCliModelName,
11
11
  getTokenEstimator,
12
12
  ok
13
- } from "./chunk-CKV7MN2T.js";
13
+ } from "./chunk-WQTW3P7G.js";
14
14
 
15
15
  // src/adapters/openai-types.ts
16
16
  var OPENAI_MODELS = {
@@ -553,4 +553,4 @@ export {
553
553
  OpenAIAdapter,
554
554
  createOpenAIAdapter
555
555
  };
556
- //# sourceMappingURL=chunk-W77ZZVBS.js.map
556
+ //# sourceMappingURL=chunk-2HGP6ULG.js.map
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  generateId
8
- } from "./chunk-ZRGQPGDS.js";
8
+ } from "./chunk-MVHXZ4QD.js";
9
9
  import {
10
10
  getMemoryRegistry
11
11
  } from "./chunk-PQHVC4BD.js";
12
12
  import {
13
13
  SessionMemory
14
- } from "./chunk-JOQWVX7Y.js";
14
+ } from "./chunk-BXGM23KU.js";
15
15
  import {
16
16
  ErrorCode,
17
17
  NexusError,
@@ -24,7 +24,7 @@ import {
24
24
  getTimeProvider,
25
25
  ok,
26
26
  setSharedMobiMemDbPathResolver
27
- } from "./chunk-CKV7MN2T.js";
27
+ } from "./chunk-WQTW3P7G.js";
28
28
  import {
29
29
  nexusDataPath
30
30
  } from "./chunk-CH7QIDHQ.js";
@@ -5612,4 +5612,4 @@ export {
5612
5612
  reinitializeMemoryBackends,
5613
5613
  ToolMemoryManager
5614
5614
  };
5615
- //# sourceMappingURL=chunk-7CI66JLH.js.map
5615
+ //# sourceMappingURL=chunk-2RDMM34Q.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-4YJZIDJR.js";
4
+ } from "./chunk-TBD4RME4.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-676XDCVT.js";
7
+ } from "./chunk-GH2APUQH.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-CKV7MN2T.js";
11
+ } from "./chunk-WQTW3P7G.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-ZRGKRP6E.js.map
44
+ //# sourceMappingURL=chunk-7AFG6XPX.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-CKV7MN2T.js";
18
+ } from "./chunk-WQTW3P7G.js";
19
19
 
20
20
  // src/config/defaults.ts
21
21
  var CUSTOM_API_DEFAULT_MODEL = "gpt-4o";
@@ -396,4 +396,4 @@ export {
396
396
  validateCustomApiBaseUrl,
397
397
  assertCustomApiHostResolvesPublic
398
398
  };
399
- //# sourceMappingURL=chunk-LBWANANM.js.map
399
+ //# sourceMappingURL=chunk-ABEEA7GE.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-CKV7MN2T.js";
7
+ } from "./chunk-WQTW3P7G.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -351,4 +351,4 @@ export {
351
351
  SessionMemory,
352
352
  createSessionMemory
353
353
  };
354
- //# sourceMappingURL=chunk-JOQWVX7Y.js.map
354
+ //# sourceMappingURL=chunk-BXGM23KU.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-CKV7MN2T.js";
6
+ } from "./chunk-WQTW3P7G.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-AUHDHVJM.js.map
153
+ //# sourceMappingURL=chunk-CCXELQLN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-WCIUIGWF.js";
3
+ } from "./chunk-QSTDUYYW.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,10 +8,10 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-7LWSWRFA.js";
11
+ } from "./chunk-QRYXTJ7R.js";
12
12
  import {
13
13
  probeAllClis
14
- } from "./chunk-NATXDUQO.js";
14
+ } from "./chunk-YB6L5KQM.js";
15
15
  import {
16
16
  BUILT_IN_EXPERTS
17
17
  } from "./chunk-ZM4O442V.js";
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-CKV7MN2T.js";
28
+ } from "./chunk-WQTW3P7G.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-SJPCTISD.js.map
2003
+ //# sourceMappingURL=chunk-EQJBCD5V.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-AUHDHVJM.js";
3
+ } from "./chunk-CCXELQLN.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-CKV7MN2T.js";
8
+ } from "./chunk-WQTW3P7G.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-GXXGPY2Z.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-2VKCPJFN.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-JLCWIOK7.js");
97
- const { createCompositeRouter } = await import("./composite-router-CEV72ZOX.js");
96
+ const { createAllAdapters } = await import("./factory-JUBBJMOG.js");
97
+ const { createCompositeRouter } = await import("./composite-router-XOFOTKKJ.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-244ZHL2O.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-MMQ5RKB6.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-5FAYL4WJ.js.map
216
+ //# sourceMappingURL=chunk-GALPN7L7.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-CKV7MN2T.js";
5
+ } from "./chunk-WQTW3P7G.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-676XDCVT.js.map
90
+ //# sourceMappingURL=chunk-GH2APUQH.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-CKV7MN2T.js";
8
+ } from "./chunk-WQTW3P7G.js";
9
9
 
10
10
  // src/cli-adapters/circuit-breaker-types.ts
11
11
  var CircuitErrorCode = {
@@ -372,4 +372,4 @@ export {
372
372
  mapCliErrorToCategory,
373
373
  mapModelErrorToCategory
374
374
  };
375
- //# sourceMappingURL=chunk-XRYZICAV.js.map
375
+ //# sourceMappingURL=chunk-GZTEATXE.js.map
@@ -2,14 +2,14 @@ import {
2
2
  CircuitBreakerRegistry,
3
3
  CircuitError,
4
4
  mapCliErrorToCategory
5
- } from "./chunk-XRYZICAV.js";
5
+ } from "./chunk-GZTEATXE.js";
6
6
  import {
7
7
  createLogger,
8
8
  err,
9
9
  getFallbackChainForCategory,
10
10
  getTimeProvider,
11
11
  ok
12
- } from "./chunk-CKV7MN2T.js";
12
+ } from "./chunk-WQTW3P7G.js";
13
13
 
14
14
  // src/cli-adapters/cli-circuit-breaker.ts
15
15
  var CATEGORY_TO_FALLBACK = {
@@ -152,4 +152,4 @@ export {
152
152
  CliCircuitBreakerIntegration,
153
153
  createCliCircuitBreakerIntegration
154
154
  };
155
- //# sourceMappingURL=chunk-ZZ5FQ5L4.js.map
155
+ //# sourceMappingURL=chunk-ISMAOCQF.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-CKV7MN2T.js";
5
+ } from "./chunk-WQTW3P7G.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -560,4 +560,4 @@ export {
560
560
  resolveReputationGatingMode,
561
561
  gateWithReputation
562
562
  };
563
- //# sourceMappingURL=chunk-EXW2SEG2.js.map
563
+ //# sourceMappingURL=chunk-JXJBIYB3.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-3ACDP4E6.js";
6
6
  import {
7
7
  executeExpert
8
- } from "./chunk-5FAYL4WJ.js";
8
+ } from "./chunk-GALPN7L7.js";
9
9
  import {
10
10
  EventTopics,
11
11
  JobStatusSchema,
@@ -26,23 +26,23 @@ import {
26
26
  writeJobComplete,
27
27
  writeJobFailed,
28
28
  writeJobPending
29
- } from "./chunk-BAMOW5QO.js";
29
+ } from "./chunk-MPQLSXGA.js";
30
30
  import {
31
31
  normalizeTopicToCanonical,
32
32
  synthesizeResearch
33
- } from "./chunk-RI4J5RZ4.js";
33
+ } from "./chunk-XTLYRC3T.js";
34
34
  import {
35
35
  IssueTriage,
36
36
  createAuditTrail,
37
37
  createGraphAuditBridge
38
- } from "./chunk-FHGOYI55.js";
38
+ } from "./chunk-QMEWA725.js";
39
39
  import {
40
40
  resolveEnvMode,
41
41
  sanitizeInput
42
- } from "./chunk-EXW2SEG2.js";
42
+ } from "./chunk-JXJBIYB3.js";
43
43
  import {
44
44
  withPrerequisite
45
- } from "./chunk-WGMAS53Z.js";
45
+ } from "./chunk-XH3YQ3WR.js";
46
46
  import {
47
47
  NOOP_NOTIFIER,
48
48
  RateLimiter,
@@ -64,10 +64,10 @@ import {
64
64
  withAccessPolicy,
65
65
  withProgressHeartbeat,
66
66
  wrapToolWithTimeout
67
- } from "./chunk-JF5UH6PJ.js";
67
+ } from "./chunk-YLDE6JFI.js";
68
68
  import {
69
69
  generateSecurityPlan
70
- } from "./chunk-MDZK23FR.js";
70
+ } from "./chunk-NKPQYJY7.js";
71
71
  import {
72
72
  analyzeGitHubRepo
73
73
  } from "./chunk-HFOQKCD2.js";
@@ -98,26 +98,26 @@ import {
98
98
  parseRegistry,
99
99
  sourceExistsInRegistry,
100
100
  summarizeContextForPrompt
101
- } from "./chunk-Z5CZK7Q2.js";
101
+ } from "./chunk-XKM77XGF.js";
102
102
  import {
103
103
  getTokenEnvVars,
104
104
  resolveToken
105
- } from "./chunk-676XDCVT.js";
105
+ } from "./chunk-GH2APUQH.js";
106
106
  import {
107
107
  loadPapersRegistry,
108
108
  loadTechniquesRegistry
109
- } from "./chunk-G7FOXXVF.js";
109
+ } from "./chunk-Q2BZHIQ7.js";
110
110
  import {
111
111
  DEFAULT_RELEVANCE_CONFIG,
112
112
  MemoryImportance,
113
113
  calculateTextJaccardSimilarity,
114
114
  getToolMemory
115
- } from "./chunk-7CI66JLH.js";
115
+ } from "./chunk-2RDMM34Q.js";
116
116
  import {
117
117
  DEFAULT_TASK_TTL_MS,
118
118
  DEFAULT_TOOL_RATE_LIMITS,
119
119
  clampTaskTtl
120
- } from "./chunk-7LWSWRFA.js";
120
+ } from "./chunk-QRYXTJ7R.js";
121
121
  import {
122
122
  resolveInsideRoot
123
123
  } from "./chunk-NUBSJGQZ.js";
@@ -132,19 +132,19 @@ import {
132
132
  getAvailableClis,
133
133
  sleep,
134
134
  withTimeout
135
- } from "./chunk-NATXDUQO.js";
135
+ } from "./chunk-YB6L5KQM.js";
136
136
  import {
137
137
  DEFAULTS
138
- } from "./chunk-LBWANANM.js";
138
+ } from "./chunk-ABEEA7GE.js";
139
139
  import {
140
140
  getAvailabilityCache,
141
141
  getCliForModelId,
142
142
  resolveFallback
143
- } from "./chunk-AUHDHVJM.js";
143
+ } from "./chunk-CCXELQLN.js";
144
144
  import {
145
145
  generateHyphenId,
146
146
  generateUUID
147
- } from "./chunk-ZRGQPGDS.js";
147
+ } from "./chunk-MVHXZ4QD.js";
148
148
  import {
149
149
  BUILT_IN_EXPERTS,
150
150
  BuiltInExpertTypeSchema,
@@ -156,7 +156,7 @@ import {
156
156
  } from "./chunk-PQHVC4BD.js";
157
157
  import {
158
158
  createSessionMemory
159
- } from "./chunk-JOQWVX7Y.js";
159
+ } from "./chunk-BXGM23KU.js";
160
160
  import {
161
161
  AGENT_ROUTER_TIMEOUTS,
162
162
  ARCHITECTURE_KEYWORDS,
@@ -226,12 +226,13 @@ import {
226
226
  lookupInTreeCapability,
227
227
  modelSupportsAll,
228
228
  ok,
229
+ recordRoutingGaps,
229
230
  resolveModelIdentity,
230
231
  resolveModelIdentitySync,
231
232
  routingArmDisplaySlot,
232
233
  toExpertTaskAnalysisResult,
233
234
  withStep
234
- } from "./chunk-CKV7MN2T.js";
235
+ } from "./chunk-WQTW3P7G.js";
235
236
  import {
236
237
  nexusDataPath,
237
238
  nexusDataPathEnsure
@@ -26287,7 +26288,7 @@ async function populateUnifiedContextOnState(state) {
26287
26288
  try {
26288
26289
  const taskCandidate = state["task"];
26289
26290
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26290
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-NQDBZNLM.js");
26291
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-HJXNWDJD.js");
26291
26292
  const ctx = await getContextForTask2({
26292
26293
  task: taskCandidate,
26293
26294
  category: inferTaskCategory2(taskCandidate),
@@ -33040,6 +33041,7 @@ function routeAndPrepare(input, deps, router) {
33040
33041
  const logger56 = deps.logger ?? createLogger({ tool: "orchestrate" });
33041
33042
  const workflowRouter = router ?? createWorkflowRouter({ logger: logger56 });
33042
33043
  const decision = workflowRouter.route({ description: input.task });
33044
+ recordRoutingGaps(decision, { goal: input.task });
33043
33045
  const orchType = mapPatternToOrchestratorType(decision.pattern);
33044
33046
  logger56.info("Workflow pattern selected", {
33045
33047
  pattern: decision.pattern,
@@ -40900,7 +40902,7 @@ async function tryIssueTriage(task) {
40900
40902
  try {
40901
40903
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
40902
40904
  if (issueMatch === null) return null;
40903
- const { createIssueTriage } = await import("./issue-triage-CDPINSSI.js");
40905
+ const { createIssueTriage } = await import("./issue-triage-36WSQVQ6.js");
40904
40906
  const triage = createIssueTriage();
40905
40907
  const owner = issueMatch[1] ?? "";
40906
40908
  const num = issueMatch[2] ?? "";
@@ -40928,7 +40930,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
40928
40930
  ]);
40929
40931
  async function classifyWithLLM(task) {
40930
40932
  try {
40931
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-H3QGRZFL.js");
40933
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-FMVOGXK5.js");
40932
40934
  const prompt = [
40933
40935
  "Classify this task into exactly one pipeline template.",
40934
40936
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -41899,7 +41901,7 @@ var memoryInitPromise = null;
41899
41901
  async function initPipelineMemory() {
41900
41902
  if (cachedMemory !== null) return cachedMemory;
41901
41903
  try {
41902
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XJ3J3YRF.js");
41904
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-4FAK3KM2.js");
41903
41905
  const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
41904
41906
  const mem = createSessionMemory2(getLearningDir());
41905
41907
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -41956,7 +41958,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
41956
41958
  callRecord(routingMemoryCache);
41957
41959
  return;
41958
41960
  }
41959
- routingMemoryInitPromise ??= import("./routing-memory-DFCTSZSJ.js").then(({ createRoutingMemory }) => {
41961
+ routingMemoryInitPromise ??= import("./routing-memory-ZZGCZ276.js").then(({ createRoutingMemory }) => {
41960
41962
  routingMemoryCache ??= createRoutingMemory();
41961
41963
  return routingMemoryCache;
41962
41964
  }).catch((error) => {
@@ -41990,7 +41992,7 @@ ${text}` : "";
41990
41992
  }
41991
41993
  async function getWeatherContext() {
41992
41994
  try {
41993
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-2TI2FV3K.js");
41995
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-KE53XAGC.js");
41994
41996
  const report = generateWeatherReport2({ includeAdaptive: true });
41995
41997
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
41996
41998
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -42008,7 +42010,7 @@ ${lines}
42008
42010
  }
42009
42011
  async function getMemoryContext(task) {
42010
42012
  try {
42011
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XJ3J3YRF.js");
42013
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-4FAK3KM2.js");
42012
42014
  const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
42013
42015
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
42014
42016
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -42119,7 +42121,7 @@ ${contextBlock}`;
42119
42121
  const strategy = config.votingStrategy ?? "higher_order";
42120
42122
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
42121
42123
  try {
42122
- const { executeVoting } = await import("./consensus-vote-OXURUCKK.js");
42124
+ const { executeVoting } = await import("./consensus-vote-23JQL3E6.js");
42123
42125
  const votingResult = await executeVoting(
42124
42126
  {
42125
42127
  proposal: buildVoteProposal(plan, research),
@@ -43204,7 +43206,7 @@ async function searchCodebaseForTask(task) {
43204
43206
  }
43205
43207
  async function queryResearchRegistry(task) {
43206
43208
  try {
43207
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-U225IRTF.js");
43209
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-C2JMQ2SJ.js");
43208
43210
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43209
43211
  if (topic === void 0) return null;
43210
43212
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43275,7 +43277,7 @@ function createScanStageWrapper() {
43275
43277
  try {
43276
43278
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43277
43279
  if (slug !== void 0) {
43278
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-53CF46BI.js");
43280
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-AKT576RI.js");
43279
43281
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43280
43282
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43281
43283
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -44801,7 +44803,7 @@ async function probeSource(source, includeModelIds) {
44801
44803
  }
44802
44804
  }
44803
44805
  async function defaultSources(includeOpenRouter) {
44804
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-JLCWIOK7.js");
44806
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-JUBBJMOG.js");
44805
44807
  const adapters = createAllAdapters2();
44806
44808
  return buildDefaultModelSources(adapters, { includeOpenRouter });
44807
44809
  }
@@ -48442,7 +48444,7 @@ var GitHubTaskTracker = class {
48442
48444
  cachedProvider = null;
48443
48445
  async getProvider() {
48444
48446
  if (this.cachedProvider !== null) return this.cachedProvider;
48445
- const { createScmProvider } = await import("./factory-IF4YQPMS.js");
48447
+ const { createScmProvider } = await import("./factory-CLM5MU7Z.js");
48446
48448
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
48447
48449
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
48448
48450
  this.cachedProvider = result.value;
@@ -49134,4 +49136,4 @@ export {
49134
49136
  detectBackend,
49135
49137
  createTaskTracker
49136
49138
  };
49137
- //# sourceMappingURL=chunk-RTAEKZW4.js.map
49139
+ //# sourceMappingURL=chunk-LRZDIUKF.js.map