nexus-agents 2.149.0 → 2.150.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 (123) hide show
  1. package/dist/{child-mcp-config-VCIEU2KS.js → child-mcp-config-EXXD4NVX.js} +2 -2
  2. package/dist/{chunk-WARUMI7Y.js → chunk-27JU5EIO.js} +8 -8
  3. package/dist/{chunk-JUT4ZQ2N.js → chunk-2Y5UAHBN.js} +4 -4
  4. package/dist/{chunk-2XEAA6YJ.js → chunk-4EDNTMRD.js} +2 -2
  5. package/dist/{chunk-YKKQ6A3R.js → chunk-5AWBRS3R.js} +4 -4
  6. package/dist/{chunk-MJO7ZXJD.js → chunk-6D7NYWDW.js} +2 -2
  7. package/dist/{chunk-LYQVCUAB.js → chunk-76BPE6FB.js} +2 -2
  8. package/dist/{chunk-DXT6CJNI.js → chunk-AFNO7KMH.js} +2 -2
  9. package/dist/{chunk-KCDBE5KF.js → chunk-BOJOJQLH.js} +5 -5
  10. package/dist/{chunk-V3OSYFGM.js → chunk-BX5CYNHE.js} +7 -7
  11. package/dist/{chunk-TLRFRDJ4.js → chunk-FR2YSJC7.js} +4 -4
  12. package/dist/{chunk-ZB5D3WYT.js → chunk-FWEYQX4N.js} +34 -33
  13. package/dist/chunk-FWEYQX4N.js.map +1 -0
  14. package/dist/{chunk-34F5J5QJ.js → chunk-GTEGNTFD.js} +2 -2
  15. package/dist/{chunk-J2XRODBH.js → chunk-GUAG2ADJ.js} +3 -3
  16. package/dist/{chunk-MPRYMYUB.js → chunk-HQL7TF57.js} +129 -75
  17. package/dist/chunk-HQL7TF57.js.map +1 -0
  18. package/dist/{chunk-QJPZ7I6P.js → chunk-HZXJ3JAZ.js} +2 -2
  19. package/dist/{chunk-CVHNT4JY.js → chunk-IJ5JFATI.js} +7 -7
  20. package/dist/{chunk-JJNMM3PJ.js → chunk-J3QSLEHM.js} +2 -2
  21. package/dist/{chunk-26MUMXZM.js → chunk-KIDH3EWN.js} +2 -2
  22. package/dist/{chunk-7KT5JROL.js → chunk-LGSU5C46.js} +34 -34
  23. package/dist/{chunk-DHGHOAFU.js → chunk-MDCSXJWB.js} +2 -2
  24. package/dist/{chunk-Z5EPH7IP.js → chunk-OECO3UIW.js} +3 -3
  25. package/dist/{chunk-P3M6T3LZ.js → chunk-PBNYJR7F.js} +2 -2
  26. package/dist/{chunk-OVSQGQCX.js → chunk-Q42KWK42.js} +3 -3
  27. package/dist/{chunk-ZI3Q6DAG.js → chunk-RKQQEJEU.js} +3 -3
  28. package/dist/{chunk-LHSPDZHM.js → chunk-RLBYREDT.js} +2 -2
  29. package/dist/{chunk-PJVGQJUF.js → chunk-V25VUUPP.js} +5 -5
  30. package/dist/{chunk-23E6C3NL.js → chunk-V2PQVMGE.js} +2 -2
  31. package/dist/{chunk-OE5CRMG4.js → chunk-VGINLUME.js} +12 -3
  32. package/dist/{chunk-OE5CRMG4.js.map → chunk-VGINLUME.js.map} +1 -1
  33. package/dist/{chunk-XMDUYUOV.js → chunk-VPFK7LIK.js} +2 -2
  34. package/dist/{chunk-AZ7YKZZ6.js → chunk-WO4MB65I.js} +3 -3
  35. package/dist/{chunk-AHZZWRCO.js → chunk-WUYXJJTL.js} +24 -22
  36. package/dist/chunk-WUYXJJTL.js.map +1 -0
  37. package/dist/{chunk-QBZGOC37.js → chunk-XA3PKYBR.js} +4 -4
  38. package/dist/{chunk-BC3M23NP.js → chunk-ZGYLWKAZ.js} +2 -2
  39. package/dist/{chunk-FVNQVLUA.js → chunk-ZO2FWH6W.js} +5 -5
  40. package/dist/{cli-circuit-breaker-4UGYIBFK.js → cli-circuit-breaker-CLQKA7NG.js} +4 -4
  41. package/dist/cli.js +41 -41
  42. package/dist/{composite-router-35AMJJXE.js → composite-router-ZIIMWIPS.js} +2 -2
  43. package/dist/{consensus-vote-IFY2O74W.js → consensus-vote-PGPDRVWI.js} +15 -15
  44. package/dist/{context-retriever-6IC6E5QO.js → context-retriever-EMVN6NNW.js} +8 -8
  45. package/dist/{doctor-deep-3JXAKLJM.js → doctor-deep-4VYC4ZFD.js} +3 -3
  46. package/dist/{expert-bridge-QMHEBTU6.js → expert-bridge-D53IE52J.js} +4 -4
  47. package/dist/{factory-PJI2TICN.js → factory-JAVXQI2M.js} +5 -5
  48. package/dist/{factory-ZCVADSOR.js → factory-R6WV357Q.js} +8 -8
  49. package/dist/{improvement-review-OKFIXNIA.js → improvement-review-MJ6A6HFV.js} +5 -5
  50. package/dist/index.d.ts +34 -0
  51. package/dist/index.js +30 -30
  52. package/dist/{init-opencode-POK7JP6T.js → init-opencode-JAFMTL6D.js} +6 -6
  53. package/dist/{issue-triage-OR2CJHH3.js → issue-triage-WJFYACOD.js} +6 -6
  54. package/dist/{pr-reviewer-helpers-TPTE5WDY.js → pr-reviewer-helpers-LX46ZNDN.js} +4 -4
  55. package/dist/{registry-command-ETSNCQRP.js → registry-command-STRBISOJ.js} +2 -2
  56. package/dist/{repo-security-plan-5CY4DBVM.js → repo-security-plan-BAQRQDVT.js} +3 -3
  57. package/dist/{research-helpers-synthesize-2Z7JWXU6.js → research-helpers-synthesize-I7CCPVI5.js} +4 -4
  58. package/dist/{routing-memory-CR3ZTMBE.js → routing-memory-GASTCLCD.js} +2 -2
  59. package/dist/{session-memory-XEOYB6GL.js → session-memory-DMD4LWZF.js} +3 -3
  60. package/dist/{setup-command-I25V532G.js → setup-command-XBER4WR2.js} +11 -11
  61. package/dist/{setup-config-OJI3FA6E.js → setup-config-AVMV3GTY.js} +3 -3
  62. package/dist/{setup-custom-api-AJGCQB72.js → setup-custom-api-3WRO27ZG.js} +3 -3
  63. package/dist/{tool-memory-NN5IDPRO.js → tool-memory-734GCMZM.js} +5 -5
  64. package/dist/{unified-registry-FWBAEWJS.js → unified-registry-STRPR5KB.js} +9 -9
  65. package/dist/{weather-report-BXQROTTH.js → weather-report-3LMA4ZVW.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-AHZZWRCO.js.map +0 -1
  68. package/dist/chunk-MPRYMYUB.js.map +0 -1
  69. package/dist/chunk-ZB5D3WYT.js.map +0 -1
  70. /package/dist/{child-mcp-config-VCIEU2KS.js.map → child-mcp-config-EXXD4NVX.js.map} +0 -0
  71. /package/dist/{chunk-WARUMI7Y.js.map → chunk-27JU5EIO.js.map} +0 -0
  72. /package/dist/{chunk-JUT4ZQ2N.js.map → chunk-2Y5UAHBN.js.map} +0 -0
  73. /package/dist/{chunk-2XEAA6YJ.js.map → chunk-4EDNTMRD.js.map} +0 -0
  74. /package/dist/{chunk-YKKQ6A3R.js.map → chunk-5AWBRS3R.js.map} +0 -0
  75. /package/dist/{chunk-MJO7ZXJD.js.map → chunk-6D7NYWDW.js.map} +0 -0
  76. /package/dist/{chunk-LYQVCUAB.js.map → chunk-76BPE6FB.js.map} +0 -0
  77. /package/dist/{chunk-DXT6CJNI.js.map → chunk-AFNO7KMH.js.map} +0 -0
  78. /package/dist/{chunk-KCDBE5KF.js.map → chunk-BOJOJQLH.js.map} +0 -0
  79. /package/dist/{chunk-V3OSYFGM.js.map → chunk-BX5CYNHE.js.map} +0 -0
  80. /package/dist/{chunk-TLRFRDJ4.js.map → chunk-FR2YSJC7.js.map} +0 -0
  81. /package/dist/{chunk-34F5J5QJ.js.map → chunk-GTEGNTFD.js.map} +0 -0
  82. /package/dist/{chunk-J2XRODBH.js.map → chunk-GUAG2ADJ.js.map} +0 -0
  83. /package/dist/{chunk-QJPZ7I6P.js.map → chunk-HZXJ3JAZ.js.map} +0 -0
  84. /package/dist/{chunk-CVHNT4JY.js.map → chunk-IJ5JFATI.js.map} +0 -0
  85. /package/dist/{chunk-JJNMM3PJ.js.map → chunk-J3QSLEHM.js.map} +0 -0
  86. /package/dist/{chunk-26MUMXZM.js.map → chunk-KIDH3EWN.js.map} +0 -0
  87. /package/dist/{chunk-7KT5JROL.js.map → chunk-LGSU5C46.js.map} +0 -0
  88. /package/dist/{chunk-DHGHOAFU.js.map → chunk-MDCSXJWB.js.map} +0 -0
  89. /package/dist/{chunk-Z5EPH7IP.js.map → chunk-OECO3UIW.js.map} +0 -0
  90. /package/dist/{chunk-P3M6T3LZ.js.map → chunk-PBNYJR7F.js.map} +0 -0
  91. /package/dist/{chunk-OVSQGQCX.js.map → chunk-Q42KWK42.js.map} +0 -0
  92. /package/dist/{chunk-ZI3Q6DAG.js.map → chunk-RKQQEJEU.js.map} +0 -0
  93. /package/dist/{chunk-LHSPDZHM.js.map → chunk-RLBYREDT.js.map} +0 -0
  94. /package/dist/{chunk-PJVGQJUF.js.map → chunk-V25VUUPP.js.map} +0 -0
  95. /package/dist/{chunk-23E6C3NL.js.map → chunk-V2PQVMGE.js.map} +0 -0
  96. /package/dist/{chunk-XMDUYUOV.js.map → chunk-VPFK7LIK.js.map} +0 -0
  97. /package/dist/{chunk-AZ7YKZZ6.js.map → chunk-WO4MB65I.js.map} +0 -0
  98. /package/dist/{chunk-QBZGOC37.js.map → chunk-XA3PKYBR.js.map} +0 -0
  99. /package/dist/{chunk-BC3M23NP.js.map → chunk-ZGYLWKAZ.js.map} +0 -0
  100. /package/dist/{chunk-FVNQVLUA.js.map → chunk-ZO2FWH6W.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-4UGYIBFK.js.map → cli-circuit-breaker-CLQKA7NG.js.map} +0 -0
  102. /package/dist/{composite-router-35AMJJXE.js.map → composite-router-ZIIMWIPS.js.map} +0 -0
  103. /package/dist/{consensus-vote-IFY2O74W.js.map → consensus-vote-PGPDRVWI.js.map} +0 -0
  104. /package/dist/{context-retriever-6IC6E5QO.js.map → context-retriever-EMVN6NNW.js.map} +0 -0
  105. /package/dist/{doctor-deep-3JXAKLJM.js.map → doctor-deep-4VYC4ZFD.js.map} +0 -0
  106. /package/dist/{expert-bridge-QMHEBTU6.js.map → expert-bridge-D53IE52J.js.map} +0 -0
  107. /package/dist/{factory-PJI2TICN.js.map → factory-JAVXQI2M.js.map} +0 -0
  108. /package/dist/{factory-ZCVADSOR.js.map → factory-R6WV357Q.js.map} +0 -0
  109. /package/dist/{improvement-review-OKFIXNIA.js.map → improvement-review-MJ6A6HFV.js.map} +0 -0
  110. /package/dist/{init-opencode-POK7JP6T.js.map → init-opencode-JAFMTL6D.js.map} +0 -0
  111. /package/dist/{issue-triage-OR2CJHH3.js.map → issue-triage-WJFYACOD.js.map} +0 -0
  112. /package/dist/{pr-reviewer-helpers-TPTE5WDY.js.map → pr-reviewer-helpers-LX46ZNDN.js.map} +0 -0
  113. /package/dist/{registry-command-ETSNCQRP.js.map → registry-command-STRBISOJ.js.map} +0 -0
  114. /package/dist/{repo-security-plan-5CY4DBVM.js.map → repo-security-plan-BAQRQDVT.js.map} +0 -0
  115. /package/dist/{research-helpers-synthesize-2Z7JWXU6.js.map → research-helpers-synthesize-I7CCPVI5.js.map} +0 -0
  116. /package/dist/{routing-memory-CR3ZTMBE.js.map → routing-memory-GASTCLCD.js.map} +0 -0
  117. /package/dist/{session-memory-XEOYB6GL.js.map → session-memory-DMD4LWZF.js.map} +0 -0
  118. /package/dist/{setup-command-I25V532G.js.map → setup-command-XBER4WR2.js.map} +0 -0
  119. /package/dist/{setup-config-OJI3FA6E.js.map → setup-config-AVMV3GTY.js.map} +0 -0
  120. /package/dist/{setup-custom-api-AJGCQB72.js.map → setup-custom-api-3WRO27ZG.js.map} +0 -0
  121. /package/dist/{tool-memory-NN5IDPRO.js.map → tool-memory-734GCMZM.js.map} +0 -0
  122. /package/dist/{unified-registry-FWBAEWJS.js.map → unified-registry-STRPR5KB.js.map} +0 -0
  123. /package/dist/{weather-report-BXQROTTH.js.map → weather-report-3LMA4ZVW.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-OE5CRMG4.js";
3
+ } from "./chunk-VGINLUME.js";
4
4
  import "./chunk-NL7SZQPW.js";
5
5
  import "./chunk-DHVMSIT5.js";
6
6
  import "./chunk-ZPWHCABL.js";
@@ -60,4 +60,4 @@ export {
60
60
  generateMcpConfig,
61
61
  getDefaultAllowedTools
62
62
  };
63
- //# sourceMappingURL=child-mcp-config-VCIEU2KS.js.map
63
+ //# sourceMappingURL=child-mcp-config-EXXD4NVX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostUSD
3
- } from "./chunk-DHGHOAFU.js";
3
+ } from "./chunk-MDCSXJWB.js";
4
4
  import {
5
5
  DEFAULT_CONSENSUS_CONFIG,
6
6
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -18,20 +18,20 @@ import {
18
18
  toolSuccess,
19
19
  withProgressHeartbeat,
20
20
  wrapToolWithTimeout
21
- } from "./chunk-J2XRODBH.js";
21
+ } from "./chunk-GUAG2ADJ.js";
22
22
  import {
23
23
  getToolMemory
24
- } from "./chunk-YKKQ6A3R.js";
24
+ } from "./chunk-5AWBRS3R.js";
25
25
  import {
26
26
  createEvent,
27
27
  getGlobalRegistry
28
- } from "./chunk-QBZGOC37.js";
28
+ } from "./chunk-XA3PKYBR.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-ZB5D3WYT.js";
34
+ } from "./chunk-FWEYQX4N.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -59,7 +59,7 @@ import {
59
59
  registerPersistentOutcomeStoreFactory,
60
60
  resolveClassGuardMs,
61
61
  resolveVoteTimeout
62
- } from "./chunk-OE5CRMG4.js";
62
+ } from "./chunk-VGINLUME.js";
63
63
  import {
64
64
  ensureLearningDir,
65
65
  getOutcomesFile
@@ -5737,7 +5737,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5737
5737
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5738
5738
  async function runContrarianCheck(proposal, log) {
5739
5739
  try {
5740
- const { executeExpert } = await import("./expert-bridge-QMHEBTU6.js");
5740
+ const { executeExpert } = await import("./expert-bridge-D53IE52J.js");
5741
5741
  const prompt = [
5742
5742
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5743
5743
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6217,4 +6217,4 @@ export {
6217
6217
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6218
6218
  registerConsensusVoteTool
6219
6219
  };
6220
- //# sourceMappingURL=chunk-WARUMI7Y.js.map
6220
+ //# sourceMappingURL=chunk-27JU5EIO.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-DXT6CJNI.js";
4
+ } from "./chunk-AFNO7KMH.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-QJPZ7I6P.js";
7
+ } from "./chunk-HZXJ3JAZ.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-OE5CRMG4.js";
11
+ } from "./chunk-VGINLUME.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-JUT4ZQ2N.js.map
44
+ //# sourceMappingURL=chunk-2Y5UAHBN.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-OE5CRMG4.js";
5
+ } from "./chunk-VGINLUME.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-2XEAA6YJ.js.map
563
+ //# sourceMappingURL=chunk-4EDNTMRD.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-JJNMM3PJ.js";
8
+ } from "./chunk-J3QSLEHM.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-LHSPDZHM.js";
18
+ } from "./chunk-RLBYREDT.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-OE5CRMG4.js";
31
+ } from "./chunk-VGINLUME.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-DHVMSIT5.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-YKKQ6A3R.js.map
5555
+ //# sourceMappingURL=chunk-5AWBRS3R.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-OE5CRMG4.js";
7
+ } from "./chunk-VGINLUME.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-MJO7ZXJD.js.map
724
+ //# sourceMappingURL=chunk-6D7NYWDW.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-OE5CRMG4.js";
8
+ } from "./chunk-VGINLUME.js";
9
9
 
10
10
  // src/cli-adapters/circuit-breaker-types.ts
11
11
  var CircuitErrorCode = {
@@ -375,4 +375,4 @@ export {
375
375
  mapCliErrorToCategory,
376
376
  mapModelErrorToCategory
377
377
  };
378
- //# sourceMappingURL=chunk-LYQVCUAB.js.map
378
+ //# sourceMappingURL=chunk-76BPE6FB.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-OE5CRMG4.js";
7
+ } from "./chunk-VGINLUME.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-DXT6CJNI.js.map
266
+ //# sourceMappingURL=chunk-AFNO7KMH.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-QJPZ7I6P.js";
3
+ } from "./chunk-HZXJ3JAZ.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-23E6C3NL.js";
10
+ } from "./chunk-V2PQVMGE.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-YKKQ6A3R.js";
16
+ } from "./chunk-5AWBRS3R.js";
17
17
  import {
18
18
  capitalizeWords
19
19
  } from "./chunk-6T3EPABN.js";
@@ -27,7 +27,7 @@ import {
27
27
  getOutcomeStore,
28
28
  getTimeProvider,
29
29
  registerPersistentDistillerFactory
30
- } from "./chunk-OE5CRMG4.js";
30
+ } from "./chunk-VGINLUME.js";
31
31
  import {
32
32
  ensureLearningDir,
33
33
  getRulesFile
@@ -2686,4 +2686,4 @@ export {
2686
2686
  summarizeContextForPrompt,
2687
2687
  getContextPromptPrefix
2688
2688
  };
2689
- //# sourceMappingURL=chunk-KCDBE5KF.js.map
2689
+ //# sourceMappingURL=chunk-BOJOJQLH.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-BC3M23NP.js";
3
+ } from "./chunk-ZGYLWKAZ.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-OE5CRMG4.js";
8
+ } from "./chunk-VGINLUME.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-VCIEU2KS.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-EXXD4NVX.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-ZCVADSOR.js");
97
- const { createCompositeRouter } = await import("./composite-router-35AMJJXE.js");
96
+ const { createAllAdapters } = await import("./factory-R6WV357Q.js");
97
+ const { createCompositeRouter } = await import("./composite-router-ZIIMWIPS.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-4UGYIBFK.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-CLQKA7NG.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-V3OSYFGM.js.map
216
+ //# sourceMappingURL=chunk-BX5CYNHE.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OpenAIAdapter
3
- } from "./chunk-AHZZWRCO.js";
3
+ } from "./chunk-WUYXJJTL.js";
4
4
  import {
5
5
  computeCostUSD,
6
6
  recordUsageEvent
7
- } from "./chunk-DHGHOAFU.js";
7
+ } from "./chunk-MDCSXJWB.js";
8
8
  import {
9
9
  ConfigError,
10
10
  createLogger,
@@ -12,7 +12,7 @@ import {
12
12
  getErrorMessage,
13
13
  getTimeProvider,
14
14
  ok
15
- } from "./chunk-OE5CRMG4.js";
15
+ } from "./chunk-VGINLUME.js";
16
16
 
17
17
  // src/config/opencode-bridge.ts
18
18
  import { readFileSync } from "fs";
@@ -191,4 +191,4 @@ export {
191
191
  discoverModels,
192
192
  buildOpenAICompatAdapters
193
193
  };
194
- //# sourceMappingURL=chunk-TLRFRDJ4.js.map
194
+ //# sourceMappingURL=chunk-FR2YSJC7.js.map
@@ -2,28 +2,27 @@ import {
2
2
  AdapterModelError,
3
3
  BaseAdapter,
4
4
  createStream,
5
+ planOptionalParams,
5
6
  requireApiKey,
6
- temperatureUnsupportedForModel,
7
- validateApiKeyPresence,
8
- warnTemperatureDropped
9
- } from "./chunk-MPRYMYUB.js";
7
+ validateApiKeyPresence
8
+ } from "./chunk-HQL7TF57.js";
10
9
  import {
11
10
  CUSTOM_API_BASE_URL_ENV,
12
11
  CUSTOM_API_DEFAULT_MODEL,
13
12
  PROVIDER_ENV_KEYS,
14
13
  assertCustomApiHostResolvesPublic,
15
14
  validateCustomApiBaseUrl
16
- } from "./chunk-26MUMXZM.js";
15
+ } from "./chunk-KIDH3EWN.js";
17
16
  import {
18
17
  CliCircuitBreaker,
19
18
  DEFAULT_CIRCUIT_BREAKER_CONFIG
20
- } from "./chunk-LYQVCUAB.js";
19
+ } from "./chunk-76BPE6FB.js";
21
20
  import {
22
21
  getAvailabilityCache
23
- } from "./chunk-BC3M23NP.js";
22
+ } from "./chunk-ZGYLWKAZ.js";
24
23
  import {
25
24
  generateHyphenId
26
- } from "./chunk-LHSPDZHM.js";
25
+ } from "./chunk-RLBYREDT.js";
27
26
  import {
28
27
  CLI_SUBPROCESS_TIMEOUTS,
29
28
  CLI_TIMEOUTS,
@@ -59,7 +58,7 @@ import {
59
58
  loadModelsDevSnapshot,
60
59
  ok,
61
60
  resolveCliAlias
62
- } from "./chunk-OE5CRMG4.js";
61
+ } from "./chunk-VGINLUME.js";
63
62
 
64
63
  // src/cli-adapters/cli-to-model-adapter.ts
65
64
  var CliToModelAdapter = class {
@@ -615,16 +614,16 @@ var ClaudeAdapter = class extends BaseAdapter {
615
614
  * Executes the completion request against the Anthropic API.
616
615
  */
617
616
  async executeCompletion(request) {
618
- const params = this.buildRequestParams(request);
617
+ const { params, dropped } = this.buildRequestParams(request);
619
618
  const response = request.signal !== void 0 ? await this.client.messages.create(params, { signal: request.signal }) : await this.client.messages.create(params);
620
- return this.mapResponse(response, forcesResponseTool(request));
619
+ return this.mapResponse(response, forcesResponseTool(request), dropped);
621
620
  }
622
621
  /**
623
622
  * Executes streaming completion and pushes chunks to the controller.
624
623
  */
625
624
  async executeStream(request, controller) {
626
625
  try {
627
- const params = this.buildRequestParams(request);
626
+ const { params } = this.buildRequestParams(request);
628
627
  const stream = this.client.messages.stream(params);
629
628
  for await (const event of stream) {
630
629
  const chunk = this.mapStreamEvent(event);
@@ -652,19 +651,18 @@ var ClaudeAdapter = class extends BaseAdapter {
652
651
  if (systemPrompt !== void 0) {
653
652
  params.system = systemPrompt;
654
653
  }
655
- this.applyOptionalParams(params, request);
656
- return params;
654
+ const dropped = this.applyOptionalParams(params, request);
655
+ return { params, dropped };
657
656
  }
658
657
  /**
659
658
  * Applies optional parameters to the request params.
659
+ *
660
+ * @returns the params the seam dropped (#4069) — surfaced as response warnings.
660
661
  */
661
662
  applyOptionalParams(params, request) {
662
- if (request.temperature !== void 0) {
663
- if (temperatureUnsupportedForModel(this.resolvedModelId)) {
664
- warnTemperatureDropped(this.resolvedModelId);
665
- } else {
666
- params.temperature = request.temperature;
667
- }
663
+ const plan = planOptionalParams(request, this.resolvedModelId);
664
+ if (plan.temperature !== void 0) {
665
+ params.temperature = plan.temperature;
668
666
  }
669
667
  if (request.stop !== void 0 && request.stop.length > 0) {
670
668
  params.stop_sequences = request.stop;
@@ -677,11 +675,12 @@ var ClaudeAdapter = class extends BaseAdapter {
677
675
  params.tools = [...params.tools ?? [], respondTool];
678
676
  params.tool_choice = { type: "tool", name: RESPOND_TOOL_NAME };
679
677
  }
678
+ return plan.dropped;
680
679
  }
681
680
  /**
682
681
  * Maps Anthropic API response to our CompletionResponse format.
683
682
  */
684
- mapResponse(response, surfaceRespondTool = false) {
683
+ mapResponse(response, surfaceRespondTool = false, dropped = []) {
685
684
  const content = surfaceRespondTool ? mapResponseWithRespondTool(response.content) : response.content.map(mapContentBlock);
686
685
  const usage = {
687
686
  inputTokens: response.usage.input_tokens,
@@ -692,7 +691,11 @@ var ClaudeAdapter = class extends BaseAdapter {
692
691
  content,
693
692
  usage,
694
693
  stopReason: mapStopReason(response.stop_reason),
695
- model: response.model
694
+ model: response.model,
695
+ // #4069: surface dropped params (e.g. an omitted temperature) so the caller
696
+ // can see a behavioral param had no effect. Omitted entirely when nothing
697
+ // was dropped (exactOptionalPropertyTypes).
698
+ ...dropped.length > 0 ? { warnings: dropped } : {}
696
699
  };
697
700
  }
698
701
  /**
@@ -1037,12 +1040,9 @@ var SdkAdapter = class extends BaseAdapter {
1037
1040
  if (request.systemPrompt !== void 0) {
1038
1041
  options["system"] = request.systemPrompt;
1039
1042
  }
1040
- if (request.temperature !== void 0) {
1041
- if (temperatureUnsupportedForModel(this.modelId)) {
1042
- warnTemperatureDropped(this.modelId);
1043
- } else {
1044
- options["temperature"] = request.temperature;
1045
- }
1043
+ const plan = planOptionalParams(request, this.modelId);
1044
+ if (plan.temperature !== void 0) {
1045
+ options["temperature"] = plan.temperature;
1046
1046
  }
1047
1047
  if (request.maxTokens !== void 0) {
1048
1048
  options["maxTokens"] = request.maxTokens;
@@ -1050,7 +1050,7 @@ var SdkAdapter = class extends BaseAdapter {
1050
1050
  if (request.stop !== void 0) {
1051
1051
  options["stopSequences"] = request.stop;
1052
1052
  }
1053
- return options;
1053
+ return { options, dropped: plan.dropped };
1054
1054
  }
1055
1055
  /**
1056
1056
  * generateText path (text / absent responseFormat) — unchanged behavior.
@@ -1106,9 +1106,10 @@ var SdkAdapter = class extends BaseAdapter {
1106
1106
  `SDK not initialized for model '${this.sdkConfig.modelId}' (provider: ${this.sdkProviderId}). Ensure ensureInitialized() completes before calling complete().`
1107
1107
  );
1108
1108
  }
1109
- const options = this.buildSdkOptions(request);
1109
+ const { options, dropped } = this.buildSdkOptions(request);
1110
1110
  const responseFormat = request.responseFormat;
1111
- const response = responseFormat !== void 0 && responseFormat.type !== "text" ? await this.completeStructured(sdk, options, responseFormat) : await this.completeText(sdk, options);
1111
+ const base = responseFormat !== void 0 && responseFormat.type !== "text" ? await this.completeStructured(sdk, options, responseFormat) : await this.completeText(sdk, options);
1112
+ const response = dropped.length > 0 ? { ...base, warnings: dropped } : base;
1112
1113
  this.logResponse(response);
1113
1114
  return ok(response);
1114
1115
  } catch (error) {
@@ -1125,7 +1126,7 @@ var SdkAdapter = class extends BaseAdapter {
1125
1126
  code: ErrorCode.CONFIG_INVALID
1126
1127
  });
1127
1128
  }
1128
- const options = this.buildSdkOptions(request);
1129
+ const { options } = this.buildSdkOptions(request);
1129
1130
  yield { type: "message_start", message: { model: this.modelId } };
1130
1131
  const result = sdk.streamText(options);
1131
1132
  let index = 0;
@@ -4866,4 +4867,4 @@ export {
4866
4867
  SdkAdapter,
4867
4868
  createAutoAdapter
4868
4869
  };
4869
- //# sourceMappingURL=chunk-ZB5D3WYT.js.map
4870
+ //# sourceMappingURL=chunk-FWEYQX4N.js.map