nexus-agents 8.31.1 → 8.31.2

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 (126) hide show
  1. package/dist/{ast-rule-runner-S2FVYD3R.js → ast-rule-runner-O7XM7DPM.js} +3 -3
  2. package/dist/{child-mcp-config-LZFSRS2Y.js → child-mcp-config-KQ2FHXLS.js} +2 -2
  3. package/dist/{chunk-O5G2ONTK.js → chunk-3UE7LTKR.js} +2 -2
  4. package/dist/{chunk-VAMUAAXY.js → chunk-5WF5RIMB.js} +2 -2
  5. package/dist/{chunk-Q42ZZU7R.js → chunk-6BFB5ZUZ.js} +5 -5
  6. package/dist/{chunk-L22XXHV5.js → chunk-74HBGCRX.js} +9 -9
  7. package/dist/{chunk-K6PI22W5.js → chunk-B6IRVMCB.js} +8 -8
  8. package/dist/{chunk-5PXSQNGD.js → chunk-BUK27VKL.js} +3 -3
  9. package/dist/{chunk-ZSVJHP45.js → chunk-DNTAD6VB.js} +4 -4
  10. package/dist/{chunk-3XITQPVD.js → chunk-EBEH4DJW.js} +3 -3
  11. package/dist/{chunk-JR6IWC53.js → chunk-EE3BENLO.js} +4 -4
  12. package/dist/{chunk-LE5GD6MT.js → chunk-EPMYCTAM.js} +7 -7
  13. package/dist/{chunk-UDWIG4UI.js → chunk-GGJFM56X.js} +6 -6
  14. package/dist/{chunk-SSSIXL27.js → chunk-HB5RNZCH.js} +2 -2
  15. package/dist/{chunk-JXSN4V34.js → chunk-HJNBG6GZ.js} +2 -2
  16. package/dist/{chunk-D66ZGEMC.js → chunk-HLM3OF6V.js} +3 -3
  17. package/dist/{chunk-WU3N4Q2W.js → chunk-JTJFEJ4V.js} +18 -8
  18. package/dist/chunk-JTJFEJ4V.js.map +1 -0
  19. package/dist/{chunk-5RQLXO7L.js → chunk-KIEQ32E4.js} +2 -2
  20. package/dist/{chunk-GRZDF5LY.js → chunk-L2FD3A3D.js} +2 -2
  21. package/dist/{chunk-E3WQANII.js → chunk-LL6GK5QZ.js} +2 -2
  22. package/dist/{chunk-GUIJ3QCH.js → chunk-M34BWXLK.js} +36 -36
  23. package/dist/{chunk-A3F56NIO.js → chunk-MPL7HJUT.js} +7 -7
  24. package/dist/{chunk-THC72SMO.js → chunk-NB6V6K4F.js} +2 -2
  25. package/dist/{chunk-E7A6CTUR.js → chunk-NFSMF7EF.js} +2 -2
  26. package/dist/{chunk-SPRKLIH2.js → chunk-NMCAXGG2.js} +2 -2
  27. package/dist/{chunk-RFHNPEC6.js → chunk-NTO3S3UF.js} +2 -2
  28. package/dist/{chunk-OBNNU2P7.js → chunk-PL7KHCY3.js} +2 -2
  29. package/dist/{chunk-OWHOQY3U.js → chunk-R6EFVD5N.js} +2 -2
  30. package/dist/{chunk-J5DOKTMY.js → chunk-SIJ3G533.js} +2 -2
  31. package/dist/{chunk-ATIYWDZI.js → chunk-T2YQEL6R.js} +4 -4
  32. package/dist/{chunk-DOR65KQC.js → chunk-UWUAQQT6.js} +4 -4
  33. package/dist/{chunk-5QJRFE7P.js → chunk-VQ65ZJU5.js} +2 -2
  34. package/dist/{chunk-JANMYVKT.js → chunk-VSJK5CB4.js} +2 -2
  35. package/dist/{chunk-MMOFBPGE.js → chunk-W6IAKNSF.js} +2 -2
  36. package/dist/{chunk-KZ6ANGFK.js → chunk-WYHXZRC5.js} +2 -2
  37. package/dist/{chunk-Y3NGTK3H.js → chunk-XY7F7TPT.js} +5 -5
  38. package/dist/{cli-circuit-breaker-NOBHCTID.js → cli-circuit-breaker-24LMZ2UI.js} +3 -3
  39. package/dist/cli.js +43 -43
  40. package/dist/{composite-router-BFODQAKW.js → composite-router-ALACKC2H.js} +2 -2
  41. package/dist/{consensus-vote-Z74JMCJD.js → consensus-vote-3N2SXR57.js} +17 -17
  42. package/dist/{context-retriever-FZCJ7DQI.js → context-retriever-HCDDUCJA.js} +8 -8
  43. package/dist/{doctor-deep-ZJUIDJCR.js → doctor-deep-PHTRQAAC.js} +3 -3
  44. package/dist/{doctor-live-V3AV42NV.js → doctor-live-5SCU3XCP.js} +9 -9
  45. package/dist/{expert-bridge-TKTD3AEX.js → expert-bridge-BLAMZDSB.js} +4 -4
  46. package/dist/{factory-7RV4LG54.js → factory-DHGWNH7U.js} +5 -5
  47. package/dist/{factory-ZQKRK46A.js → factory-RZ67ZSKZ.js} +9 -9
  48. package/dist/{improvement-review-YVRORB5F.js → improvement-review-SEGU2S5L.js} +6 -6
  49. package/dist/index.js +31 -31
  50. package/dist/{init-opencode-GVEFQQRA.js → init-opencode-IJEQMQLB.js} +6 -6
  51. package/dist/issue-triage-GKCZAHJU.js +17 -0
  52. package/dist/{pr-reviewer-helpers-ZTBYWAKI.js → pr-reviewer-helpers-G3BSLDNC.js} +4 -4
  53. package/dist/{registry-command-JRLICAVI.js → registry-command-FUZ7672W.js} +2 -2
  54. package/dist/{repo-security-plan-RC4C3JTS.js → repo-security-plan-KYTPPI5M.js} +3 -3
  55. package/dist/{research-helpers-synthesize-E4RMSBRM.js → research-helpers-synthesize-OZMVILW3.js} +4 -4
  56. package/dist/{routing-memory-DFEBGRQB.js → routing-memory-SUAELMFZ.js} +2 -2
  57. package/dist/{session-memory-6BC5OGJS.js → session-memory-UVFDZJMY.js} +3 -3
  58. package/dist/{setup-config-5UAZU4PI.js → setup-config-PUJXXZOM.js} +3 -3
  59. package/dist/{setup-custom-api-5ZGDSRK2.js → setup-custom-api-2BJVEIL5.js} +4 -4
  60. package/dist/setup-data-dir-52JC3POB.js +29 -0
  61. package/dist/{tool-memory-URZEDJRJ.js → tool-memory-BZB4QTSZ.js} +5 -5
  62. package/dist/{unified-registry-B2YQOYQ4.js → unified-registry-Q37NG62V.js} +10 -10
  63. package/dist/{weather-report-XEZDPSZM.js → weather-report-X4LWY66B.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-WU3N4Q2W.js.map +0 -1
  66. package/dist/issue-triage-NZLA75GB.js +0 -17
  67. package/dist/setup-data-dir-LIDPGSOY.js +0 -29
  68. /package/dist/{ast-rule-runner-S2FVYD3R.js.map → ast-rule-runner-O7XM7DPM.js.map} +0 -0
  69. /package/dist/{child-mcp-config-LZFSRS2Y.js.map → child-mcp-config-KQ2FHXLS.js.map} +0 -0
  70. /package/dist/{chunk-O5G2ONTK.js.map → chunk-3UE7LTKR.js.map} +0 -0
  71. /package/dist/{chunk-VAMUAAXY.js.map → chunk-5WF5RIMB.js.map} +0 -0
  72. /package/dist/{chunk-Q42ZZU7R.js.map → chunk-6BFB5ZUZ.js.map} +0 -0
  73. /package/dist/{chunk-L22XXHV5.js.map → chunk-74HBGCRX.js.map} +0 -0
  74. /package/dist/{chunk-K6PI22W5.js.map → chunk-B6IRVMCB.js.map} +0 -0
  75. /package/dist/{chunk-5PXSQNGD.js.map → chunk-BUK27VKL.js.map} +0 -0
  76. /package/dist/{chunk-ZSVJHP45.js.map → chunk-DNTAD6VB.js.map} +0 -0
  77. /package/dist/{chunk-3XITQPVD.js.map → chunk-EBEH4DJW.js.map} +0 -0
  78. /package/dist/{chunk-JR6IWC53.js.map → chunk-EE3BENLO.js.map} +0 -0
  79. /package/dist/{chunk-LE5GD6MT.js.map → chunk-EPMYCTAM.js.map} +0 -0
  80. /package/dist/{chunk-UDWIG4UI.js.map → chunk-GGJFM56X.js.map} +0 -0
  81. /package/dist/{chunk-SSSIXL27.js.map → chunk-HB5RNZCH.js.map} +0 -0
  82. /package/dist/{chunk-JXSN4V34.js.map → chunk-HJNBG6GZ.js.map} +0 -0
  83. /package/dist/{chunk-D66ZGEMC.js.map → chunk-HLM3OF6V.js.map} +0 -0
  84. /package/dist/{chunk-5RQLXO7L.js.map → chunk-KIEQ32E4.js.map} +0 -0
  85. /package/dist/{chunk-GRZDF5LY.js.map → chunk-L2FD3A3D.js.map} +0 -0
  86. /package/dist/{chunk-E3WQANII.js.map → chunk-LL6GK5QZ.js.map} +0 -0
  87. /package/dist/{chunk-GUIJ3QCH.js.map → chunk-M34BWXLK.js.map} +0 -0
  88. /package/dist/{chunk-A3F56NIO.js.map → chunk-MPL7HJUT.js.map} +0 -0
  89. /package/dist/{chunk-THC72SMO.js.map → chunk-NB6V6K4F.js.map} +0 -0
  90. /package/dist/{chunk-E7A6CTUR.js.map → chunk-NFSMF7EF.js.map} +0 -0
  91. /package/dist/{chunk-SPRKLIH2.js.map → chunk-NMCAXGG2.js.map} +0 -0
  92. /package/dist/{chunk-RFHNPEC6.js.map → chunk-NTO3S3UF.js.map} +0 -0
  93. /package/dist/{chunk-OBNNU2P7.js.map → chunk-PL7KHCY3.js.map} +0 -0
  94. /package/dist/{chunk-OWHOQY3U.js.map → chunk-R6EFVD5N.js.map} +0 -0
  95. /package/dist/{chunk-J5DOKTMY.js.map → chunk-SIJ3G533.js.map} +0 -0
  96. /package/dist/{chunk-ATIYWDZI.js.map → chunk-T2YQEL6R.js.map} +0 -0
  97. /package/dist/{chunk-DOR65KQC.js.map → chunk-UWUAQQT6.js.map} +0 -0
  98. /package/dist/{chunk-5QJRFE7P.js.map → chunk-VQ65ZJU5.js.map} +0 -0
  99. /package/dist/{chunk-JANMYVKT.js.map → chunk-VSJK5CB4.js.map} +0 -0
  100. /package/dist/{chunk-MMOFBPGE.js.map → chunk-W6IAKNSF.js.map} +0 -0
  101. /package/dist/{chunk-KZ6ANGFK.js.map → chunk-WYHXZRC5.js.map} +0 -0
  102. /package/dist/{chunk-Y3NGTK3H.js.map → chunk-XY7F7TPT.js.map} +0 -0
  103. /package/dist/{cli-circuit-breaker-NOBHCTID.js.map → cli-circuit-breaker-24LMZ2UI.js.map} +0 -0
  104. /package/dist/{composite-router-BFODQAKW.js.map → composite-router-ALACKC2H.js.map} +0 -0
  105. /package/dist/{consensus-vote-Z74JMCJD.js.map → consensus-vote-3N2SXR57.js.map} +0 -0
  106. /package/dist/{context-retriever-FZCJ7DQI.js.map → context-retriever-HCDDUCJA.js.map} +0 -0
  107. /package/dist/{doctor-deep-ZJUIDJCR.js.map → doctor-deep-PHTRQAAC.js.map} +0 -0
  108. /package/dist/{doctor-live-V3AV42NV.js.map → doctor-live-5SCU3XCP.js.map} +0 -0
  109. /package/dist/{expert-bridge-TKTD3AEX.js.map → expert-bridge-BLAMZDSB.js.map} +0 -0
  110. /package/dist/{factory-7RV4LG54.js.map → factory-DHGWNH7U.js.map} +0 -0
  111. /package/dist/{factory-ZQKRK46A.js.map → factory-RZ67ZSKZ.js.map} +0 -0
  112. /package/dist/{improvement-review-YVRORB5F.js.map → improvement-review-SEGU2S5L.js.map} +0 -0
  113. /package/dist/{init-opencode-GVEFQQRA.js.map → init-opencode-IJEQMQLB.js.map} +0 -0
  114. /package/dist/{issue-triage-NZLA75GB.js.map → issue-triage-GKCZAHJU.js.map} +0 -0
  115. /package/dist/{pr-reviewer-helpers-ZTBYWAKI.js.map → pr-reviewer-helpers-G3BSLDNC.js.map} +0 -0
  116. /package/dist/{registry-command-JRLICAVI.js.map → registry-command-FUZ7672W.js.map} +0 -0
  117. /package/dist/{repo-security-plan-RC4C3JTS.js.map → repo-security-plan-KYTPPI5M.js.map} +0 -0
  118. /package/dist/{research-helpers-synthesize-E4RMSBRM.js.map → research-helpers-synthesize-OZMVILW3.js.map} +0 -0
  119. /package/dist/{routing-memory-DFEBGRQB.js.map → routing-memory-SUAELMFZ.js.map} +0 -0
  120. /package/dist/{session-memory-6BC5OGJS.js.map → session-memory-UVFDZJMY.js.map} +0 -0
  121. /package/dist/{setup-config-5UAZU4PI.js.map → setup-config-PUJXXZOM.js.map} +0 -0
  122. /package/dist/{setup-custom-api-5ZGDSRK2.js.map → setup-custom-api-2BJVEIL5.js.map} +0 -0
  123. /package/dist/{setup-data-dir-LIDPGSOY.js.map → setup-data-dir-52JC3POB.js.map} +0 -0
  124. /package/dist/{tool-memory-URZEDJRJ.js.map → tool-memory-BZB4QTSZ.js.map} +0 -0
  125. /package/dist/{unified-registry-B2YQOYQ4.js.map → unified-registry-Q37NG62V.js.map} +0 -0
  126. /package/dist/{weather-report-XEZDPSZM.js.map → weather-report-X4LWY66B.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-E3WQANII.js";
13
- import "./chunk-WU3N4Q2W.js";
12
+ } from "./chunk-LL6GK5QZ.js";
13
+ import "./chunk-JTJFEJ4V.js";
14
14
  import "./chunk-3HELETAQ.js";
15
15
  import "./chunk-JVNJJ2VL.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-S2FVYD3R.js.map
29
+ //# sourceMappingURL=ast-rule-runner-O7XM7DPM.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T5GVEXSA.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-WU3N4Q2W.js";
6
+ } from "./chunk-JTJFEJ4V.js";
7
7
  import "./chunk-3HELETAQ.js";
8
8
  import "./chunk-JVNJJ2VL.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-LZFSRS2Y.js.map
65
+ //# sourceMappingURL=child-mcp-config-KQ2FHXLS.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.31.1" : "dev";
3
+ var VERSION = true ? "8.31.2" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-O5G2ONTK.js.map
14
+ //# sourceMappingURL=chunk-3UE7LTKR.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-WU3N4Q2W.js";
16
+ } from "./chunk-JTJFEJ4V.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-VAMUAAXY.js.map
837
+ //# sourceMappingURL=chunk-5WF5RIMB.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-5QJRFE7P.js";
4
+ } from "./chunk-VQ65ZJU5.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-VAMUAAXY.js";
11
+ } from "./chunk-5WF5RIMB.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-OWHOQY3U.js";
14
+ } from "./chunk-R6EFVD5N.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-WU3N4Q2W.js";
25
+ } from "./chunk-JTJFEJ4V.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -838,4 +838,4 @@ export {
838
838
  discoverModels,
839
839
  buildOpenAICompatAdapters
840
840
  };
841
- //# sourceMappingURL=chunk-Q42ZZU7R.js.map
841
+ //# sourceMappingURL=chunk-6BFB5ZUZ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-5QJRFE7P.js";
4
+ } from "./chunk-VQ65ZJU5.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,26 +23,26 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-ZSVJHP45.js";
26
+ } from "./chunk-DNTAD6VB.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-O5G2ONTK.js";
29
+ } from "./chunk-3UE7LTKR.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-JR6IWC53.js";
35
+ } from "./chunk-EE3BENLO.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-ATIYWDZI.js";
38
+ } from "./chunk-T2YQEL6R.js";
39
39
  import {
40
40
  authRemediation,
41
41
  delay,
42
42
  getAvailableClis,
43
43
  sleep,
44
44
  withTimeout
45
- } from "./chunk-K6PI22W5.js";
45
+ } from "./chunk-B6IRVMCB.js";
46
46
  import {
47
47
  AgentError,
48
48
  CLI_NAMES,
@@ -70,7 +70,7 @@ import {
70
70
  registerPersistentOutcomeStoreFactory,
71
71
  resolveClassGuardMs,
72
72
  resolveVoteTimeout
73
- } from "./chunk-WU3N4Q2W.js";
73
+ } from "./chunk-JTJFEJ4V.js";
74
74
  import {
75
75
  ensureLearningDir,
76
76
  getOutcomesFile
@@ -7209,7 +7209,7 @@ function logPartialProposal(bounded, log) {
7209
7209
  }
7210
7210
  async function runContrarianCheck(proposal, log) {
7211
7211
  try {
7212
- const { executeExpert } = await import("./expert-bridge-TKTD3AEX.js");
7212
+ const { executeExpert } = await import("./expert-bridge-BLAMZDSB.js");
7213
7213
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
7214
7214
  logPartialProposal(bounded, log);
7215
7215
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -7806,4 +7806,4 @@ export {
7806
7806
  CONSENSUS_VOTE_TOOL_SCHEMA,
7807
7807
  registerConsensusVoteTool
7808
7808
  };
7809
- //# sourceMappingURL=chunk-L22XXHV5.js.map
7809
+ //# sourceMappingURL=chunk-74HBGCRX.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-VAMUAAXY.js";
8
+ } from "./chunk-5WF5RIMB.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-E7A6CTUR.js";
11
+ } from "./chunk-NFSMF7EF.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-OWHOQY3U.js";
17
+ } from "./chunk-R6EFVD5N.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-T5GVEXSA.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-KZ6ANGFK.js";
23
+ } from "./chunk-WYHXZRC5.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-JXSN4V34.js";
29
+ } from "./chunk-HJNBG6GZ.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-RFHNPEC6.js";
35
+ } from "./chunk-NTO3S3UF.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -73,7 +73,7 @@ import {
73
73
  resolveCliModelName,
74
74
  resolveRetryAfterMs,
75
75
  retryAfterMsFromContext
76
- } from "./chunk-WU3N4Q2W.js";
76
+ } from "./chunk-JTJFEJ4V.js";
77
77
  import {
78
78
  parseBoolValue
79
79
  } from "./chunk-JVNJJ2VL.js";
@@ -4970,4 +4970,4 @@ export {
4970
4970
  SdkAdapter,
4971
4971
  createAutoAdapter
4972
4972
  };
4973
- //# sourceMappingURL=chunk-K6PI22W5.js.map
4973
+ //# sourceMappingURL=chunk-B6IRVMCB.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-J5DOKTMY.js";
13
+ } from "./chunk-SIJ3G533.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-WU3N4Q2W.js";
19
+ } from "./chunk-JTJFEJ4V.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -416,4 +416,4 @@ export {
416
416
  createFailedReview,
417
417
  reviewPostingBlock
418
418
  };
419
- //# sourceMappingURL=chunk-5PXSQNGD.js.map
419
+ //# sourceMappingURL=chunk-BUK27VKL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-O5G2ONTK.js";
3
+ } from "./chunk-3UE7LTKR.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-JANMYVKT.js";
6
+ } from "./chunk-VSJK5CB4.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-WU3N4Q2W.js";
22
+ } from "./chunk-JTJFEJ4V.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-JVNJJ2VL.js";
@@ -2261,4 +2261,4 @@ export {
2261
2261
  VOTING_THRESHOLDS,
2262
2262
  ConsensusMetricsSchema
2263
2263
  };
2264
- //# sourceMappingURL=chunk-ZSVJHP45.js.map
2264
+ //# sourceMappingURL=chunk-DNTAD6VB.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-ZSVJHP45.js";
10
+ } from "./chunk-DNTAD6VB.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-WU3N4Q2W.js";
23
+ } from "./chunk-JTJFEJ4V.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2173,4 +2173,4 @@ export {
2173
2173
  runImprovementReview,
2174
2174
  registerImprovementReviewTool
2175
2175
  };
2176
- //# sourceMappingURL=chunk-3XITQPVD.js.map
2176
+ //# sourceMappingURL=chunk-EBEH4DJW.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-K6PI22W5.js";
3
+ } from "./chunk-B6IRVMCB.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-RFHNPEC6.js";
7
+ } from "./chunk-NTO3S3UF.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  recordRateLimitEvent,
25
25
  resolveModelIdentitySync,
26
26
  toRateLimitError
27
- } from "./chunk-WU3N4Q2W.js";
27
+ } from "./chunk-JTJFEJ4V.js";
28
28
 
29
29
  // src/config/model-equivalence.ts
30
30
  function canonicalModelKey(modelId) {
@@ -904,4 +904,4 @@ export {
904
904
  getGlobalRegistry,
905
905
  resetGlobalRegistry
906
906
  };
907
- //# sourceMappingURL=chunk-JR6IWC53.js.map
907
+ //# sourceMappingURL=chunk-EE3BENLO.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-KZ6ANGFK.js";
3
+ } from "./chunk-WYHXZRC5.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-WU3N4Q2W.js";
8
+ } from "./chunk-JTJFEJ4V.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-LZFSRS2Y.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-KQ2FHXLS.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-ZQKRK46A.js");
97
- const { createCompositeRouter } = await import("./composite-router-BFODQAKW.js");
96
+ const { createAllAdapters } = await import("./factory-RZ67ZSKZ.js");
97
+ const { createCompositeRouter } = await import("./composite-router-ALACKC2H.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-NOBHCTID.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-24LMZ2UI.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-LE5GD6MT.js.map
216
+ //# sourceMappingURL=chunk-EPMYCTAM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-THC72SMO.js";
4
+ } from "./chunk-NB6V6K4F.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -12,7 +12,7 @@ import {
12
12
  resolveEnvMode,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-J5DOKTMY.js";
15
+ } from "./chunk-SIJ3G533.js";
16
16
  import {
17
17
  MAX_STRIPPED_ELEMENTS_PER_EVENT,
18
18
  createAuditTrail,
@@ -20,10 +20,10 @@ import {
20
20
  emitReputationEvent,
21
21
  emitSanitizationEvent,
22
22
  emitTrustEvent
23
- } from "./chunk-JANMYVKT.js";
23
+ } from "./chunk-VSJK5CB4.js";
24
24
  import {
25
25
  hasToken
26
- } from "./chunk-OBNNU2P7.js";
26
+ } from "./chunk-PL7KHCY3.js";
27
27
  import {
28
28
  CLI_SUBPROCESS_TIMEOUTS,
29
29
  createLogger,
@@ -31,7 +31,7 @@ import {
31
31
  getErrorMessage,
32
32
  getTimeProvider,
33
33
  ok
34
- } from "./chunk-WU3N4Q2W.js";
34
+ } from "./chunk-JTJFEJ4V.js";
35
35
 
36
36
  // src/security/firewall/firewall-policy-mode.ts
37
37
  import { z } from "zod";
@@ -2117,4 +2117,4 @@ export {
2117
2117
  IssueTriage,
2118
2118
  createIssueTriage
2119
2119
  };
2120
- //# sourceMappingURL=chunk-UDWIG4UI.js.map
2120
+ //# sourceMappingURL=chunk-GGJFM56X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-WU3N4Q2W.js";
3
+ } from "./chunk-JTJFEJ4V.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-SSSIXL27.js.map
80
+ //# sourceMappingURL=chunk-HB5RNZCH.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-WU3N4Q2W.js";
4
+ } from "./chunk-JTJFEJ4V.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "node:crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-JXSN4V34.js.map
27
+ //# sourceMappingURL=chunk-HJNBG6GZ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-GRZDF5LY.js";
3
+ } from "./chunk-L2FD3A3D.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-WU3N4Q2W.js";
6
+ } from "./chunk-JTJFEJ4V.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -886,4 +886,4 @@ export {
886
886
  AttributedInsightSchema,
887
887
  synthesizeResearch
888
888
  };
889
- //# sourceMappingURL=chunk-D66ZGEMC.js.map
889
+ //# sourceMappingURL=chunk-HLM3OF6V.js.map
@@ -2678,7 +2678,7 @@ function setDefaultRegistry(registry) {
2678
2678
  }
2679
2679
  async function reloadDefaultRegistry() {
2680
2680
  globalRegistry = buildDefaultRegistry();
2681
- const { resetGlobalRegistry } = await import("./unified-registry-B2YQOYQ4.js");
2681
+ const { resetGlobalRegistry } = await import("./unified-registry-Q37NG62V.js");
2682
2682
  resetGlobalRegistry();
2683
2683
  return globalRegistry;
2684
2684
  }
@@ -4319,7 +4319,13 @@ var TOOL_MANIFEST = [
4319
4319
  // (recordLearning + runPromotionPipeline) for learning feedback.
4320
4320
  readOnlyHint: false,
4321
4321
  destructiveHint: false,
4322
- idempotentHint: true,
4322
+ // NOT idempotent (#5504). Every call mints a fresh run id
4323
+ // (`${idPrefix}-${randomUUID().slice(0, 8)}` in
4324
+ // pipeline/task-contract-builders.ts), so an identical retry delegates to
4325
+ // the model again: a second run directory, a second trace, a second bill.
4326
+ // A gateway reads this hint to decide a retry is safe after a lost
4327
+ // response, which is the case where the damage lands.
4328
+ idempotentHint: false,
4323
4329
  openWorldHint: false
4324
4330
  },
4325
4331
  sideEffects: [
@@ -4390,7 +4396,8 @@ var TOOL_MANIFEST = [
4390
4396
  sideEffects: [
4391
4397
  { category: "explicit", description: "Adds paper to research registry on disk" },
4392
4398
  { category: "implicit", description: "Fetches metadata from arXiv API" }
4393
- ]
4399
+ ],
4400
+ idempotencyBasis: 'Dedupes on arxivId: `paperExists` short-circuits before any write and the second call returns "already exists in registry" (#5504).'
4394
4401
  },
4395
4402
  {
4396
4403
  name: "research_add_source",
@@ -4601,7 +4608,8 @@ var TOOL_MANIFEST = [
4601
4608
  idempotentHint: true,
4602
4609
  openWorldHint: false
4603
4610
  },
4604
- sideEffects: [{ category: "explicit", description: "Generates draft model registry entry" }]
4611
+ sideEffects: [{ category: "explicit", description: "Generates draft model registry entry" }],
4612
+ idempotencyBasis: "Never persists \u2014 the tool returns a draft ModelCapability entry for human review, so a repeat produces the same draft and no state (#5504)."
4605
4613
  },
4606
4614
  {
4607
4615
  name: "query_trace",
@@ -4689,7 +4697,8 @@ var TOOL_MANIFEST = [
4689
4697
  ],
4690
4698
  // #3930: break-glass kill-switch — you only call it to abort a runaway async
4691
4699
  // job, so it is low-usage BY DESIGN, not dead weight. Never auto-deprecate.
4692
- neverDeprecate: true
4700
+ neverDeprecate: true,
4701
+ idempotencyBasis: "A second cancellation against the same job returns `already_cancelled` against the already-written record rather than cancelling twice (#5504)."
4693
4702
  },
4694
4703
  {
4695
4704
  name: "ci_health_check",
@@ -4932,7 +4941,8 @@ var TOOL_MANIFEST = [
4932
4941
  category: "implicit",
4933
4942
  description: "build/test checks may write build artifacts and coverage output to disk"
4934
4943
  }
4935
- ]
4944
+ ],
4945
+ idempotencyBasis: "Re-runs the checks and returns the current verdict; writes no record of its own, and the build artifacts a check produces are overwritten rather than appended (#5504)."
4936
4946
  },
4937
4947
  {
4938
4948
  name: "suggest_research_tasks",
@@ -15270,7 +15280,7 @@ var CompositeRouter = class _CompositeRouter {
15270
15280
  */
15271
15281
  async consultUnifiedContext(task) {
15272
15282
  try {
15273
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-FZCJ7DQI.js");
15283
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-HCDDUCJA.js");
15274
15284
  const ctx = await getContextForTask({
15275
15285
  task: task.content,
15276
15286
  category: inferTaskCategory(task.content),
@@ -16945,4 +16955,4 @@ export {
16945
16955
  AgentCapability,
16946
16956
  OrchestratorError
16947
16957
  };
16948
- //# sourceMappingURL=chunk-WU3N4Q2W.js.map
16958
+ //# sourceMappingURL=chunk-JTJFEJ4V.js.map