nexus-agents 2.114.1 → 2.115.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 (112) hide show
  1. package/dist/{child-mcp-config-DL5SVS6K.js → child-mcp-config-FIXBPOVD.js} +2 -2
  2. package/dist/{chunk-NTKWLXXD.js → chunk-24L6ETFP.js} +3 -3
  3. package/dist/{chunk-BUHPYOT3.js → chunk-2JXELXS3.js} +2 -2
  4. package/dist/{chunk-XKPTNVA2.js → chunk-2XEX5PM4.js} +4 -4
  5. package/dist/{chunk-FO4A6HA3.js → chunk-5DOIZUPE.js} +2 -2
  6. package/dist/{chunk-5KYKXB7Q.js → chunk-5JWBFZEO.js} +3 -3
  7. package/dist/{chunk-T74HOH67.js → chunk-6DHDXNOO.js} +7 -7
  8. package/dist/{chunk-H4EXCQCF.js → chunk-7VD5UJCF.js} +7 -7
  9. package/dist/{chunk-AH645A5N.js → chunk-AXKGNVHM.js} +2 -2
  10. package/dist/{chunk-ZPUFJHR5.js → chunk-CVGJKTO4.js} +3 -3
  11. package/dist/{chunk-DHU2YECH.js → chunk-E4K4PLSJ.js} +2 -2
  12. package/dist/{chunk-WFPEX6L6.js → chunk-EQLXZKMD.js} +2 -2
  13. package/dist/{chunk-ZTMLKLVG.js → chunk-GHMFOI3H.js} +2 -2
  14. package/dist/{chunk-25QNW65Q.js → chunk-ILGRBYX6.js} +2 -2
  15. package/dist/{chunk-JZDBMHWP.js → chunk-KEZZWT4W.js} +3 -3
  16. package/dist/{chunk-4I64HTH4.js → chunk-KHGBV3ZL.js} +77 -52
  17. package/dist/{chunk-4I64HTH4.js.map → chunk-KHGBV3ZL.js.map} +1 -1
  18. package/dist/{chunk-INKN7FOJ.js → chunk-KP77F65U.js} +4 -4
  19. package/dist/{chunk-KISVLXVZ.js → chunk-LFX7W2QN.js} +2 -2
  20. package/dist/{chunk-MLWVB6VV.js → chunk-NEBMJARV.js} +4 -4
  21. package/dist/{chunk-XOTVHEL3.js → chunk-NF6ZY2XT.js} +2 -2
  22. package/dist/{chunk-HN6X3WJB.js → chunk-NGE7HWKP.js} +3 -3
  23. package/dist/{chunk-KPDRVYSN.js → chunk-NWMWL6MD.js} +2 -2
  24. package/dist/{chunk-3ZYCKCVG.js → chunk-NZHV7GEK.js} +7 -7
  25. package/dist/{chunk-G633EA23.js → chunk-OGJ6Z6T5.js} +2 -2
  26. package/dist/{chunk-7LS7HZU3.js → chunk-PKKV2ZAT.js} +2 -2
  27. package/dist/{chunk-HEDW5QDP.js → chunk-QTMZCTB6.js} +2 -2
  28. package/dist/{chunk-VJ7WL5MS.js → chunk-SJZZQCZE.js} +5 -5
  29. package/dist/{chunk-XFJHSR5E.js → chunk-TBVXG63Q.js} +3 -3
  30. package/dist/{chunk-USSYZDRI.js → chunk-WBE5HPPW.js} +7 -7
  31. package/dist/{chunk-GMXRM2JU.js → chunk-XKK55K2H.js} +2 -2
  32. package/dist/{chunk-VOXQULHX.js → chunk-Y2QMFZQG.js} +10 -10
  33. package/dist/{chunk-VOXQULHX.js.map → chunk-Y2QMFZQG.js.map} +1 -1
  34. package/dist/{chunk-WYBVAOMA.js → chunk-Z7OI5YXE.js} +2 -2
  35. package/dist/{cli-circuit-breaker-PWQTC7S4.js → cli-circuit-breaker-PIBTMQZS.js} +4 -4
  36. package/dist/cli.js +38 -38
  37. package/dist/{composite-router-ZF3JDFCJ.js → composite-router-MDQ6V7DS.js} +2 -2
  38. package/dist/{consensus-vote-3J473M5O.js → consensus-vote-T576X4MI.js} +12 -12
  39. package/dist/{context-retriever-JSP6PVSJ.js → context-retriever-7SVNDBAF.js} +10 -8
  40. package/dist/{doctor-deep-PTHRYO64.js → doctor-deep-EFTG4336.js} +3 -3
  41. package/dist/{expert-bridge-UOSBT7K5.js → expert-bridge-66RX5OL4.js} +4 -4
  42. package/dist/factory-HRG64OID.js +21 -0
  43. package/dist/{factory-4KDOLJQU.js → factory-UE3K5WPQ.js} +5 -5
  44. package/dist/{improvement-review-G6TDVPUG.js → improvement-review-5HVBJSXJ.js} +4 -4
  45. package/dist/index.js +27 -27
  46. package/dist/{init-opencode-ZVS375BG.js → init-opencode-VUPL5LMH.js} +5 -5
  47. package/dist/{issue-triage-CD2G32WJ.js → issue-triage-TNIWVBLP.js} +5 -5
  48. package/dist/{pr-reviewer-helpers-ZCTY6XLA.js → pr-reviewer-helpers-BXNWNYRF.js} +4 -4
  49. package/dist/{registry-command-IMVEZVGE.js → registry-command-CKZUUPO7.js} +2 -2
  50. package/dist/{repo-security-plan-LCU5QYTR.js → repo-security-plan-FASDE3WF.js} +3 -3
  51. package/dist/{research-helpers-synthesize-RPDK624P.js → research-helpers-synthesize-53UJEEYZ.js} +4 -4
  52. package/dist/{routing-memory-PH5I63ZL.js → routing-memory-XB6HE6ZY.js} +2 -2
  53. package/dist/{session-memory-HNH5MILB.js → session-memory-YSSKNSAI.js} +3 -3
  54. package/dist/{setup-command-XWHUKY7K.js → setup-command-BVMZQHKM.js} +11 -11
  55. package/dist/{setup-config-K7DMKGHB.js → setup-config-MPHZ4MWR.js} +3 -3
  56. package/dist/{setup-custom-api-XAGOCQMH.js → setup-custom-api-OTD7KVPR.js} +3 -3
  57. package/dist/{tool-memory-VMTMXSYX.js → tool-memory-UWRRPM7C.js} +5 -5
  58. package/dist/{weather-report-RYLRL76R.js → weather-report-6ARKPGO7.js} +2 -2
  59. package/package.json +1 -1
  60. package/dist/factory-RLXFNRIA.js +0 -21
  61. /package/dist/{child-mcp-config-DL5SVS6K.js.map → child-mcp-config-FIXBPOVD.js.map} +0 -0
  62. /package/dist/{chunk-NTKWLXXD.js.map → chunk-24L6ETFP.js.map} +0 -0
  63. /package/dist/{chunk-BUHPYOT3.js.map → chunk-2JXELXS3.js.map} +0 -0
  64. /package/dist/{chunk-XKPTNVA2.js.map → chunk-2XEX5PM4.js.map} +0 -0
  65. /package/dist/{chunk-FO4A6HA3.js.map → chunk-5DOIZUPE.js.map} +0 -0
  66. /package/dist/{chunk-5KYKXB7Q.js.map → chunk-5JWBFZEO.js.map} +0 -0
  67. /package/dist/{chunk-T74HOH67.js.map → chunk-6DHDXNOO.js.map} +0 -0
  68. /package/dist/{chunk-H4EXCQCF.js.map → chunk-7VD5UJCF.js.map} +0 -0
  69. /package/dist/{chunk-AH645A5N.js.map → chunk-AXKGNVHM.js.map} +0 -0
  70. /package/dist/{chunk-ZPUFJHR5.js.map → chunk-CVGJKTO4.js.map} +0 -0
  71. /package/dist/{chunk-DHU2YECH.js.map → chunk-E4K4PLSJ.js.map} +0 -0
  72. /package/dist/{chunk-WFPEX6L6.js.map → chunk-EQLXZKMD.js.map} +0 -0
  73. /package/dist/{chunk-ZTMLKLVG.js.map → chunk-GHMFOI3H.js.map} +0 -0
  74. /package/dist/{chunk-25QNW65Q.js.map → chunk-ILGRBYX6.js.map} +0 -0
  75. /package/dist/{chunk-JZDBMHWP.js.map → chunk-KEZZWT4W.js.map} +0 -0
  76. /package/dist/{chunk-INKN7FOJ.js.map → chunk-KP77F65U.js.map} +0 -0
  77. /package/dist/{chunk-KISVLXVZ.js.map → chunk-LFX7W2QN.js.map} +0 -0
  78. /package/dist/{chunk-MLWVB6VV.js.map → chunk-NEBMJARV.js.map} +0 -0
  79. /package/dist/{chunk-XOTVHEL3.js.map → chunk-NF6ZY2XT.js.map} +0 -0
  80. /package/dist/{chunk-HN6X3WJB.js.map → chunk-NGE7HWKP.js.map} +0 -0
  81. /package/dist/{chunk-KPDRVYSN.js.map → chunk-NWMWL6MD.js.map} +0 -0
  82. /package/dist/{chunk-3ZYCKCVG.js.map → chunk-NZHV7GEK.js.map} +0 -0
  83. /package/dist/{chunk-G633EA23.js.map → chunk-OGJ6Z6T5.js.map} +0 -0
  84. /package/dist/{chunk-7LS7HZU3.js.map → chunk-PKKV2ZAT.js.map} +0 -0
  85. /package/dist/{chunk-HEDW5QDP.js.map → chunk-QTMZCTB6.js.map} +0 -0
  86. /package/dist/{chunk-VJ7WL5MS.js.map → chunk-SJZZQCZE.js.map} +0 -0
  87. /package/dist/{chunk-XFJHSR5E.js.map → chunk-TBVXG63Q.js.map} +0 -0
  88. /package/dist/{chunk-USSYZDRI.js.map → chunk-WBE5HPPW.js.map} +0 -0
  89. /package/dist/{chunk-GMXRM2JU.js.map → chunk-XKK55K2H.js.map} +0 -0
  90. /package/dist/{chunk-WYBVAOMA.js.map → chunk-Z7OI5YXE.js.map} +0 -0
  91. /package/dist/{cli-circuit-breaker-PWQTC7S4.js.map → cli-circuit-breaker-PIBTMQZS.js.map} +0 -0
  92. /package/dist/{composite-router-ZF3JDFCJ.js.map → composite-router-MDQ6V7DS.js.map} +0 -0
  93. /package/dist/{consensus-vote-3J473M5O.js.map → consensus-vote-T576X4MI.js.map} +0 -0
  94. /package/dist/{context-retriever-JSP6PVSJ.js.map → context-retriever-7SVNDBAF.js.map} +0 -0
  95. /package/dist/{doctor-deep-PTHRYO64.js.map → doctor-deep-EFTG4336.js.map} +0 -0
  96. /package/dist/{expert-bridge-UOSBT7K5.js.map → expert-bridge-66RX5OL4.js.map} +0 -0
  97. /package/dist/{factory-4KDOLJQU.js.map → factory-HRG64OID.js.map} +0 -0
  98. /package/dist/{factory-RLXFNRIA.js.map → factory-UE3K5WPQ.js.map} +0 -0
  99. /package/dist/{improvement-review-G6TDVPUG.js.map → improvement-review-5HVBJSXJ.js.map} +0 -0
  100. /package/dist/{init-opencode-ZVS375BG.js.map → init-opencode-VUPL5LMH.js.map} +0 -0
  101. /package/dist/{issue-triage-CD2G32WJ.js.map → issue-triage-TNIWVBLP.js.map} +0 -0
  102. /package/dist/{pr-reviewer-helpers-ZCTY6XLA.js.map → pr-reviewer-helpers-BXNWNYRF.js.map} +0 -0
  103. /package/dist/{registry-command-IMVEZVGE.js.map → registry-command-CKZUUPO7.js.map} +0 -0
  104. /package/dist/{repo-security-plan-LCU5QYTR.js.map → repo-security-plan-FASDE3WF.js.map} +0 -0
  105. /package/dist/{research-helpers-synthesize-RPDK624P.js.map → research-helpers-synthesize-53UJEEYZ.js.map} +0 -0
  106. /package/dist/{routing-memory-PH5I63ZL.js.map → routing-memory-XB6HE6ZY.js.map} +0 -0
  107. /package/dist/{session-memory-HNH5MILB.js.map → session-memory-YSSKNSAI.js.map} +0 -0
  108. /package/dist/{setup-command-XWHUKY7K.js.map → setup-command-BVMZQHKM.js.map} +0 -0
  109. /package/dist/{setup-config-K7DMKGHB.js.map → setup-config-MPHZ4MWR.js.map} +0 -0
  110. /package/dist/{setup-custom-api-XAGOCQMH.js.map → setup-custom-api-OTD7KVPR.js.map} +0 -0
  111. /package/dist/{tool-memory-VMTMXSYX.js.map → tool-memory-UWRRPM7C.js.map} +0 -0
  112. /package/dist/{weather-report-RYLRL76R.js.map → weather-report-6ARKPGO7.js.map} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-G633EA23.js";
4
+ } from "./chunk-OGJ6Z6T5.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-HEDW5QDP.js";
7
+ } from "./chunk-QTMZCTB6.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-DHU2YECH.js";
11
+ } from "./chunk-E4K4PLSJ.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-INKN7FOJ.js.map
44
+ //# sourceMappingURL=chunk-KP77F65U.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-DHU2YECH.js";
8
+ } from "./chunk-E4K4PLSJ.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-KISVLXVZ.js.map
375
+ //# sourceMappingURL=chunk-LFX7W2QN.js.map
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  generateId
8
- } from "./chunk-BUHPYOT3.js";
8
+ } from "./chunk-2JXELXS3.js";
9
9
  import {
10
10
  getMemoryRegistry
11
11
  } from "./chunk-PQHVC4BD.js";
12
12
  import {
13
13
  SessionMemory
14
- } from "./chunk-7LS7HZU3.js";
14
+ } from "./chunk-PKKV2ZAT.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-DHU2YECH.js";
27
+ } from "./chunk-E4K4PLSJ.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-MLWVB6VV.js.map
5615
+ //# sourceMappingURL=chunk-NEBMJARV.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-DHU2YECH.js";
5
+ } from "./chunk-E4K4PLSJ.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-XOTVHEL3.js.map
563
+ //# sourceMappingURL=chunk-NF6ZY2XT.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-FO4A6HA3.js";
3
+ } from "./chunk-5DOIZUPE.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-DHU2YECH.js";
6
+ } from "./chunk-E4K4PLSJ.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-HN6X3WJB.js.map
879
+ //# sourceMappingURL=chunk-NGE7HWKP.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-DHU2YECH.js";
18
+ } from "./chunk-E4K4PLSJ.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-KPDRVYSN.js.map
399
+ //# sourceMappingURL=chunk-NWMWL6MD.js.map
@@ -14,20 +14,20 @@ import {
14
14
  toolSuccess,
15
15
  withProgressHeartbeat,
16
16
  wrapToolWithTimeout
17
- } from "./chunk-GMXRM2JU.js";
17
+ } from "./chunk-XKK55K2H.js";
18
18
  import {
19
19
  getToolMemory
20
- } from "./chunk-MLWVB6VV.js";
20
+ } from "./chunk-NEBMJARV.js";
21
21
  import {
22
22
  authRemediation,
23
23
  createAutoAdapter,
24
24
  delay,
25
25
  getAvailableClis,
26
26
  withTimeout
27
- } from "./chunk-H4EXCQCF.js";
27
+ } from "./chunk-7VD5UJCF.js";
28
28
  import {
29
29
  mapModelErrorToCategory
30
- } from "./chunk-KISVLXVZ.js";
30
+ } from "./chunk-LFX7W2QN.js";
31
31
  import {
32
32
  AgentError,
33
33
  CLI_NAMES,
@@ -62,7 +62,7 @@ import {
62
62
  registerPersistentOutcomeStoreFactory,
63
63
  resolveVoteTimeout,
64
64
  toRateLimitError
65
- } from "./chunk-DHU2YECH.js";
65
+ } from "./chunk-E4K4PLSJ.js";
66
66
  import {
67
67
  ensureLearningDir,
68
68
  getOutcomesFile,
@@ -5985,7 +5985,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5985
5985
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5986
5986
  async function runContrarianCheck(proposal, log) {
5987
5987
  try {
5988
- const { executeExpert } = await import("./expert-bridge-UOSBT7K5.js");
5988
+ const { executeExpert } = await import("./expert-bridge-66RX5OL4.js");
5989
5989
  const prompt = [
5990
5990
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5991
5991
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6457,4 +6457,4 @@ export {
6457
6457
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6458
6458
  registerConsensusVoteTool
6459
6459
  };
6460
- //# sourceMappingURL=chunk-3ZYCKCVG.js.map
6460
+ //# sourceMappingURL=chunk-NZHV7GEK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  err,
4
4
  getErrorMessage,
5
5
  ok
6
- } from "./chunk-DHU2YECH.js";
6
+ } from "./chunk-E4K4PLSJ.js";
7
7
 
8
8
  // src/scm/types.ts
9
9
  var ScmError = class extends Error {
@@ -258,4 +258,4 @@ export {
258
258
  ScmError,
259
259
  GitHubProvider
260
260
  };
261
- //# sourceMappingURL=chunk-G633EA23.js.map
261
+ //# sourceMappingURL=chunk-OGJ6Z6T5.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-DHU2YECH.js";
7
+ } from "./chunk-E4K4PLSJ.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-7LS7HZU3.js.map
354
+ //# sourceMappingURL=chunk-PKKV2ZAT.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-DHU2YECH.js";
5
+ } from "./chunk-E4K4PLSJ.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-HEDW5QDP.js.map
90
+ //# sourceMappingURL=chunk-QTMZCTB6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-WYBVAOMA.js";
3
+ } from "./chunk-Z7OI5YXE.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-T74HOH67.js";
11
+ } from "./chunk-6DHDXNOO.js";
12
12
  import {
13
13
  probeAllClis
14
- } from "./chunk-H4EXCQCF.js";
14
+ } from "./chunk-7VD5UJCF.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-DHU2YECH.js";
28
+ } from "./chunk-E4K4PLSJ.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-VJ7WL5MS.js.map
1990
+ //# sourceMappingURL=chunk-SJZZQCZE.js.map
@@ -3,14 +3,14 @@ import {
3
3
  createStream,
4
4
  requireApiKey,
5
5
  validateApiKeyPresence
6
- } from "./chunk-ZTMLKLVG.js";
6
+ } from "./chunk-GHMFOI3H.js";
7
7
  import {
8
8
  ModelCapability,
9
9
  err,
10
10
  getCliModelName,
11
11
  getTokenEstimator,
12
12
  ok
13
- } from "./chunk-DHU2YECH.js";
13
+ } from "./chunk-E4K4PLSJ.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-XFJHSR5E.js.map
556
+ //# sourceMappingURL=chunk-TBVXG63Q.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-25QNW65Q.js";
3
+ } from "./chunk-ILGRBYX6.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-DHU2YECH.js";
8
+ } from "./chunk-E4K4PLSJ.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-DL5SVS6K.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-FIXBPOVD.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-RLXFNRIA.js");
97
- const { createCompositeRouter } = await import("./composite-router-ZF3JDFCJ.js");
96
+ const { createAllAdapters } = await import("./factory-HRG64OID.js");
97
+ const { createCompositeRouter } = await import("./composite-router-MDQ6V7DS.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-PWQTC7S4.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-PIBTMQZS.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-USSYZDRI.js.map
216
+ //# sourceMappingURL=chunk-WBE5HPPW.js.map
@@ -11,7 +11,7 @@ import {
11
11
  getErrorMessage,
12
12
  getTimeProvider,
13
13
  ok
14
- } from "./chunk-DHU2YECH.js";
14
+ } from "./chunk-E4K4PLSJ.js";
15
15
  import {
16
16
  getNexusDataDir
17
17
  } from "./chunk-CH7QIDHQ.js";
@@ -2588,4 +2588,4 @@ export {
2588
2588
  VOTING_THRESHOLDS,
2589
2589
  ConsensusMetricsSchema
2590
2590
  };
2591
- //# sourceMappingURL=chunk-GMXRM2JU.js.map
2591
+ //# sourceMappingURL=chunk-XKK55K2H.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-HEDW5QDP.js";
3
+ } from "./chunk-QTMZCTB6.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-FO4A6HA3.js";
10
+ } from "./chunk-5DOIZUPE.js";
11
11
  import {
12
12
  getToolMemory
13
- } from "./chunk-MLWVB6VV.js";
13
+ } from "./chunk-NEBMJARV.js";
14
14
  import {
15
15
  resolveInsideRoot
16
16
  } from "./chunk-NUBSJGQZ.js";
@@ -27,7 +27,7 @@ import {
27
27
  getOutcomeStore,
28
28
  getTimeProvider,
29
29
  registerPersistentDistillerFactory
30
- } from "./chunk-DHU2YECH.js";
30
+ } from "./chunk-E4K4PLSJ.js";
31
31
  import {
32
32
  ensureLearningDir,
33
33
  getRulesFile
@@ -2264,7 +2264,7 @@ async function getContextForTask(options) {
2264
2264
  fetchRecentLearnings(options.task, limit, logger),
2265
2265
  fetchExperiencePatterns(options.task, limit, logger),
2266
2266
  fetchOutcomes(options.category, logger),
2267
- fetchResearchInsights(options.task, limit, logger)
2267
+ getResearchInsightsForTask(options.task, limit, logger)
2268
2268
  ]);
2269
2269
  const priorStrategies = fetchPriorStrategies(options.category, limit, logger);
2270
2270
  return {
@@ -2305,15 +2305,14 @@ function tokenize(text) {
2305
2305
  }
2306
2306
  return tokens;
2307
2307
  }
2308
- async function fetchResearchInsights(task, limit, logger) {
2308
+ async function getResearchInsightsForTask(task, limit, logger) {
2309
+ const log = logger ?? createLogger({ component: "ContextRetriever" });
2309
2310
  try {
2310
2311
  const result = await getResearchStatus({ status: "all", format: "json" });
2311
2312
  if (!result.success) return [];
2312
2313
  return selectRelevantResearch(result.techniques, task, limit);
2313
2314
  } catch (error) {
2314
- logger.debug("ContextRetriever: research insights fetch failed", {
2315
- error: formatError(error)
2316
- });
2315
+ log.debug("research insights fetch failed", { error: formatError(error) });
2317
2316
  return [];
2318
2317
  }
2319
2318
  }
@@ -2474,7 +2473,8 @@ export {
2474
2473
  createResearchIssue,
2475
2474
  getContextForTask,
2476
2475
  selectRelevantResearch,
2476
+ getResearchInsightsForTask,
2477
2477
  inferTaskCategory,
2478
2478
  summarizeContextForPrompt
2479
2479
  };
2480
- //# sourceMappingURL=chunk-VOXQULHX.js.map
2480
+ //# sourceMappingURL=chunk-Y2QMFZQG.js.map