nexus-agents 2.133.0 → 2.135.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 (133) hide show
  1. package/dist/{child-mcp-config-R67B2KM6.js → child-mcp-config-RIEZRHWO.js} +3 -3
  2. package/dist/{chunk-RLYXX3FQ.js → chunk-2QTDOKWV.js} +2 -2
  3. package/dist/{chunk-K5WBFAR4.js → chunk-3IT473PY.js} +4 -4
  4. package/dist/{chunk-J435FU54.js → chunk-4L4VXVKC.js} +4 -4
  5. package/dist/{chunk-WHZD2W6Q.js → chunk-4NANSSKX.js} +2 -2
  6. package/dist/{chunk-NZGNOXXW.js → chunk-52N3NGEY.js} +2 -2
  7. package/dist/{chunk-EFDXX5MC.js → chunk-5MWNLEU2.js} +3 -3
  8. package/dist/{chunk-ECDJM6UB.js → chunk-BGGX3BXC.js} +2 -2
  9. package/dist/{chunk-2CLFX73Y.js → chunk-C46YFMFO.js} +2 -2
  10. package/dist/{chunk-CI5KGCX5.js → chunk-C4GDV57D.js} +3 -3
  11. package/dist/{chunk-S4U3Z6ZS.js → chunk-C5FWXNAR.js} +6 -6
  12. package/dist/{chunk-QJIHSQZX.js → chunk-CBJN5MYW.js} +72 -16
  13. package/dist/chunk-CBJN5MYW.js.map +1 -0
  14. package/dist/{chunk-TGGR6ST5.js → chunk-DXVQ6VFB.js} +3 -3
  15. package/dist/{chunk-PM63X3QG.js → chunk-FGQL4LZP.js} +3 -3
  16. package/dist/{chunk-DETYVPZO.js → chunk-FNYTCR6R.js} +6 -6
  17. package/dist/{chunk-QLRH6KOT.js → chunk-GM5F2FO5.js} +2 -2
  18. package/dist/{chunk-RUSP5PJR.js → chunk-GZ4NF4ZW.js} +5 -1
  19. package/dist/{chunk-RUSP5PJR.js.map → chunk-GZ4NF4ZW.js.map} +1 -1
  20. package/dist/{chunk-7BONPRR2.js → chunk-HDBV64A3.js} +2 -2
  21. package/dist/{chunk-ZTRBMKXK.js → chunk-HGYJLSLL.js} +2 -2
  22. package/dist/{chunk-XIFOAZ5B.js → chunk-ILH5TZAX.js} +4 -4
  23. package/dist/{chunk-GET2MTLW.js → chunk-JA3SDBVY.js} +2 -2
  24. package/dist/{chunk-HGUO36KW.js → chunk-JWWCNN76.js} +8 -8
  25. package/dist/{chunk-VZCQRLXT.js → chunk-K5O7SSOH.js} +7 -7
  26. package/dist/{chunk-ZVBGZBW5.js → chunk-KAIRRC5R.js} +226 -25
  27. package/dist/chunk-KAIRRC5R.js.map +1 -0
  28. package/dist/{chunk-4CVITS5D.js → chunk-ME4DQ6BI.js} +10 -10
  29. package/dist/chunk-ME4DQ6BI.js.map +1 -0
  30. package/dist/{chunk-4CLBJ2NA.js → chunk-MREIJMH7.js} +3 -3
  31. package/dist/{chunk-FKTLAPXJ.js → chunk-OQZQITVU.js} +3 -3
  32. package/dist/{chunk-RJEP2AZW.js → chunk-PZ3MGLJU.js} +175 -118
  33. package/dist/chunk-PZ3MGLJU.js.map +1 -0
  34. package/dist/{chunk-QMCHVYZB.js → chunk-QX2Y5QWO.js} +2 -2
  35. package/dist/{chunk-4DLHM6LI.js → chunk-SMRXY5ZN.js} +2 -2
  36. package/dist/{chunk-27DRQWON.js → chunk-T77RGBUF.js} +4 -4
  37. package/dist/{chunk-ZQEQVCIU.js → chunk-V6XZFDFR.js} +2 -2
  38. package/dist/{chunk-E4IYX7LD.js → chunk-WRP5COST.js} +2 -2
  39. package/dist/{chunk-RAWF4JOT.js → chunk-XM3OQXN5.js} +7 -7
  40. package/dist/{chunk-GYDO2WOR.js → chunk-ZVIBVJBI.js} +5 -5
  41. package/dist/{cli-circuit-breaker-J6UFONNE.js → cli-circuit-breaker-QONQNI3B.js} +5 -5
  42. package/dist/cli.js +844 -155
  43. package/dist/cli.js.map +1 -1
  44. package/dist/{composite-router-HQUSCJO4.js → composite-router-DU22RBNQ.js} +3 -3
  45. package/dist/{consensus-vote-MVZ27Y43.js → consensus-vote-ZBSY2SCU.js} +15 -15
  46. package/dist/{context-retriever-5OVRAWNZ.js → context-retriever-BWLNV73G.js} +9 -9
  47. package/dist/{doctor-deep-HJ3NQ365.js → doctor-deep-JW3Y5ZD2.js} +4 -4
  48. package/dist/{expert-bridge-MINXBC73.js → expert-bridge-4YXDWOMR.js} +5 -5
  49. package/dist/factory-3HBHEN54.js +14 -0
  50. package/dist/factory-7XUQGSHC.js +21 -0
  51. package/dist/{improvement-review-ZL3364R2.js → improvement-review-GUPEYLGP.js} +7 -5
  52. package/dist/index.d.ts +230 -205
  53. package/dist/index.js +30 -30
  54. package/dist/{init-opencode-L3NT524E.js → init-opencode-3ETCD3BE.js} +7 -7
  55. package/dist/issue-triage-7QHWTJRD.js +16 -0
  56. package/dist/{learning-persistence-QFCQ5POD.js → learning-persistence-2KO4CXNL.js} +2 -2
  57. package/dist/{pr-reviewer-helpers-PLKDVWYF.js → pr-reviewer-helpers-56FWDR3G.js} +5 -5
  58. package/dist/{registry-command-HPKNLYUL.js → registry-command-PYAMTDT2.js} +3 -3
  59. package/dist/{repo-security-plan-HSYGGVEJ.js → repo-security-plan-WJM2JXPT.js} +4 -4
  60. package/dist/research-helpers-synthesize-K4Z4BYGI.js +14 -0
  61. package/dist/{routing-memory-OGUOL7UF.js → routing-memory-K54FC6WD.js} +3 -3
  62. package/dist/{session-memory-HQWAXH3C.js → session-memory-G5DWGR6S.js} +4 -4
  63. package/dist/{setup-command-CIXJXFPC.js → setup-command-7IN7ORLV.js} +12 -12
  64. package/dist/setup-config-PTRDCT22.js +10 -0
  65. package/dist/{setup-custom-api-W7EDVKWR.js → setup-custom-api-2IDPBBER.js} +4 -4
  66. package/dist/{tool-memory-Z2B7CAH7.js → tool-memory-GGQVY2GX.js} +6 -6
  67. package/dist/unified-registry-3QASCESS.js +24 -0
  68. package/dist/{weather-report-GX7OIUL2.js → weather-report-RYUENMV5.js} +3 -3
  69. package/package.json +1 -1
  70. package/dist/chunk-4CVITS5D.js.map +0 -1
  71. package/dist/chunk-QJIHSQZX.js.map +0 -1
  72. package/dist/chunk-RJEP2AZW.js.map +0 -1
  73. package/dist/chunk-ZVBGZBW5.js.map +0 -1
  74. package/dist/factory-KC7BYHAP.js +0 -21
  75. package/dist/factory-ZG2FZYVA.js +0 -14
  76. package/dist/issue-triage-CZPFNGB7.js +0 -16
  77. package/dist/research-helpers-synthesize-IQHDU27S.js +0 -14
  78. package/dist/setup-config-HYX3BRSE.js +0 -10
  79. package/dist/unified-registry-UFNSWKZA.js +0 -24
  80. /package/dist/{child-mcp-config-R67B2KM6.js.map → child-mcp-config-RIEZRHWO.js.map} +0 -0
  81. /package/dist/{chunk-RLYXX3FQ.js.map → chunk-2QTDOKWV.js.map} +0 -0
  82. /package/dist/{chunk-K5WBFAR4.js.map → chunk-3IT473PY.js.map} +0 -0
  83. /package/dist/{chunk-J435FU54.js.map → chunk-4L4VXVKC.js.map} +0 -0
  84. /package/dist/{chunk-WHZD2W6Q.js.map → chunk-4NANSSKX.js.map} +0 -0
  85. /package/dist/{chunk-NZGNOXXW.js.map → chunk-52N3NGEY.js.map} +0 -0
  86. /package/dist/{chunk-EFDXX5MC.js.map → chunk-5MWNLEU2.js.map} +0 -0
  87. /package/dist/{chunk-ECDJM6UB.js.map → chunk-BGGX3BXC.js.map} +0 -0
  88. /package/dist/{chunk-2CLFX73Y.js.map → chunk-C46YFMFO.js.map} +0 -0
  89. /package/dist/{chunk-CI5KGCX5.js.map → chunk-C4GDV57D.js.map} +0 -0
  90. /package/dist/{chunk-S4U3Z6ZS.js.map → chunk-C5FWXNAR.js.map} +0 -0
  91. /package/dist/{chunk-TGGR6ST5.js.map → chunk-DXVQ6VFB.js.map} +0 -0
  92. /package/dist/{chunk-PM63X3QG.js.map → chunk-FGQL4LZP.js.map} +0 -0
  93. /package/dist/{chunk-DETYVPZO.js.map → chunk-FNYTCR6R.js.map} +0 -0
  94. /package/dist/{chunk-QLRH6KOT.js.map → chunk-GM5F2FO5.js.map} +0 -0
  95. /package/dist/{chunk-7BONPRR2.js.map → chunk-HDBV64A3.js.map} +0 -0
  96. /package/dist/{chunk-ZTRBMKXK.js.map → chunk-HGYJLSLL.js.map} +0 -0
  97. /package/dist/{chunk-XIFOAZ5B.js.map → chunk-ILH5TZAX.js.map} +0 -0
  98. /package/dist/{chunk-GET2MTLW.js.map → chunk-JA3SDBVY.js.map} +0 -0
  99. /package/dist/{chunk-HGUO36KW.js.map → chunk-JWWCNN76.js.map} +0 -0
  100. /package/dist/{chunk-VZCQRLXT.js.map → chunk-K5O7SSOH.js.map} +0 -0
  101. /package/dist/{chunk-4CLBJ2NA.js.map → chunk-MREIJMH7.js.map} +0 -0
  102. /package/dist/{chunk-FKTLAPXJ.js.map → chunk-OQZQITVU.js.map} +0 -0
  103. /package/dist/{chunk-QMCHVYZB.js.map → chunk-QX2Y5QWO.js.map} +0 -0
  104. /package/dist/{chunk-4DLHM6LI.js.map → chunk-SMRXY5ZN.js.map} +0 -0
  105. /package/dist/{chunk-27DRQWON.js.map → chunk-T77RGBUF.js.map} +0 -0
  106. /package/dist/{chunk-ZQEQVCIU.js.map → chunk-V6XZFDFR.js.map} +0 -0
  107. /package/dist/{chunk-E4IYX7LD.js.map → chunk-WRP5COST.js.map} +0 -0
  108. /package/dist/{chunk-RAWF4JOT.js.map → chunk-XM3OQXN5.js.map} +0 -0
  109. /package/dist/{chunk-GYDO2WOR.js.map → chunk-ZVIBVJBI.js.map} +0 -0
  110. /package/dist/{cli-circuit-breaker-J6UFONNE.js.map → cli-circuit-breaker-QONQNI3B.js.map} +0 -0
  111. /package/dist/{composite-router-HQUSCJO4.js.map → composite-router-DU22RBNQ.js.map} +0 -0
  112. /package/dist/{consensus-vote-MVZ27Y43.js.map → consensus-vote-ZBSY2SCU.js.map} +0 -0
  113. /package/dist/{context-retriever-5OVRAWNZ.js.map → context-retriever-BWLNV73G.js.map} +0 -0
  114. /package/dist/{doctor-deep-HJ3NQ365.js.map → doctor-deep-JW3Y5ZD2.js.map} +0 -0
  115. /package/dist/{expert-bridge-MINXBC73.js.map → expert-bridge-4YXDWOMR.js.map} +0 -0
  116. /package/dist/{factory-KC7BYHAP.js.map → factory-3HBHEN54.js.map} +0 -0
  117. /package/dist/{factory-ZG2FZYVA.js.map → factory-7XUQGSHC.js.map} +0 -0
  118. /package/dist/{improvement-review-ZL3364R2.js.map → improvement-review-GUPEYLGP.js.map} +0 -0
  119. /package/dist/{init-opencode-L3NT524E.js.map → init-opencode-3ETCD3BE.js.map} +0 -0
  120. /package/dist/{issue-triage-CZPFNGB7.js.map → issue-triage-7QHWTJRD.js.map} +0 -0
  121. /package/dist/{learning-persistence-QFCQ5POD.js.map → learning-persistence-2KO4CXNL.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-PLKDVWYF.js.map → pr-reviewer-helpers-56FWDR3G.js.map} +0 -0
  123. /package/dist/{registry-command-HPKNLYUL.js.map → registry-command-PYAMTDT2.js.map} +0 -0
  124. /package/dist/{repo-security-plan-HSYGGVEJ.js.map → repo-security-plan-WJM2JXPT.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-IQHDU27S.js.map → research-helpers-synthesize-K4Z4BYGI.js.map} +0 -0
  126. /package/dist/{routing-memory-OGUOL7UF.js.map → routing-memory-K54FC6WD.js.map} +0 -0
  127. /package/dist/{session-memory-HQWAXH3C.js.map → session-memory-G5DWGR6S.js.map} +0 -0
  128. /package/dist/{setup-command-CIXJXFPC.js.map → setup-command-7IN7ORLV.js.map} +0 -0
  129. /package/dist/{setup-config-HYX3BRSE.js.map → setup-config-PTRDCT22.js.map} +0 -0
  130. /package/dist/{setup-custom-api-W7EDVKWR.js.map → setup-custom-api-2IDPBBER.js.map} +0 -0
  131. /package/dist/{tool-memory-Z2B7CAH7.js.map → tool-memory-GGQVY2GX.js.map} +0 -0
  132. /package/dist/{unified-registry-UFNSWKZA.js.map → unified-registry-3QASCESS.js.map} +0 -0
  133. /package/dist/{weather-report-GX7OIUL2.js.map → weather-report-RYUENMV5.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-QJIHSQZX.js";
4
- import "./chunk-RUSP5PJR.js";
3
+ } from "./chunk-CBJN5MYW.js";
4
+ import "./chunk-GZ4NF4ZW.js";
5
5
  import "./chunk-ZPWHCABL.js";
6
6
 
7
7
  // src/cli-adapters/child-mcp-config.ts
@@ -59,4 +59,4 @@ export {
59
59
  generateMcpConfig,
60
60
  getDefaultAllowedTools
61
61
  };
62
- //# sourceMappingURL=child-mcp-config-R67B2KM6.js.map
62
+ //# sourceMappingURL=child-mcp-config-RIEZRHWO.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-QJIHSQZX.js";
5
+ } from "./chunk-CBJN5MYW.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-RLYXX3FQ.js.map
109
+ //# sourceMappingURL=chunk-2QTDOKWV.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-4DLHM6LI.js";
4
+ } from "./chunk-SMRXY5ZN.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-ZQEQVCIU.js";
7
+ } from "./chunk-V6XZFDFR.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-QJIHSQZX.js";
11
+ } from "./chunk-CBJN5MYW.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-K5WBFAR4.js.map
44
+ //# sourceMappingURL=chunk-3IT473PY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-4DLHM6LI.js";
4
+ } from "./chunk-SMRXY5ZN.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,14 +11,14 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-QMCHVYZB.js";
14
+ } from "./chunk-QX2Y5QWO.js";
15
15
  import {
16
16
  CLI_SUBPROCESS_TIMEOUTS,
17
17
  createLogger,
18
18
  err,
19
19
  getTimeProvider,
20
20
  ok
21
- } from "./chunk-QJIHSQZX.js";
21
+ } from "./chunk-CBJN5MYW.js";
22
22
 
23
23
  // src/security/trust-classifier.ts
24
24
  function mapAuthorAssociation(association) {
@@ -1401,4 +1401,4 @@ export {
1401
1401
  IssueTriage,
1402
1402
  createIssueTriage
1403
1403
  };
1404
- //# sourceMappingURL=chunk-J435FU54.js.map
1404
+ //# sourceMappingURL=chunk-4L4VXVKC.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-QJIHSQZX.js";
18
+ } from "./chunk-CBJN5MYW.js";
19
19
 
20
20
  // src/adapters/sdk/types.ts
21
21
  var PROVIDER_ENV_KEYS = {
@@ -396,4 +396,4 @@ export {
396
396
  CUSTOM_API_DEFAULT_MODEL,
397
397
  DEFAULTS
398
398
  };
399
- //# sourceMappingURL=chunk-WHZD2W6Q.js.map
399
+ //# sourceMappingURL=chunk-4NANSSKX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-QJIHSQZX.js";
7
+ } from "./chunk-CBJN5MYW.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-NZGNOXXW.js.map
355
+ //# sourceMappingURL=chunk-52N3NGEY.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-2CLFX73Y.js";
3
+ } from "./chunk-C46YFMFO.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-QJIHSQZX.js";
6
+ } from "./chunk-CBJN5MYW.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-EFDXX5MC.js.map
879
+ //# sourceMappingURL=chunk-5MWNLEU2.js.map
@@ -10,7 +10,7 @@ import {
10
10
  getTokenEstimator,
11
11
  isRateLimitLikeError,
12
12
  ok
13
- } from "./chunk-QJIHSQZX.js";
13
+ } from "./chunk-CBJN5MYW.js";
14
14
 
15
15
  // src/adapters/base-adapter.ts
16
16
  var AdapterModelError = class extends ModelError {
@@ -707,4 +707,4 @@ export {
707
707
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
708
708
  collectStream
709
709
  };
710
- //# sourceMappingURL=chunk-ECDJM6UB.js.map
710
+ //# sourceMappingURL=chunk-BGGX3BXC.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-QJIHSQZX.js";
11
+ } from "./chunk-CBJN5MYW.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-2CLFX73Y.js.map
149
+ //# sourceMappingURL=chunk-C46YFMFO.js.map
@@ -2,14 +2,14 @@ import {
2
2
  CircuitBreakerRegistry,
3
3
  CircuitError,
4
4
  mapCliErrorToCategory
5
- } from "./chunk-ZTRBMKXK.js";
5
+ } from "./chunk-HGYJLSLL.js";
6
6
  import {
7
7
  createLogger,
8
8
  err,
9
9
  getFallbackChainForCategory,
10
10
  getTimeProvider,
11
11
  ok
12
- } from "./chunk-QJIHSQZX.js";
12
+ } from "./chunk-CBJN5MYW.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-CI5KGCX5.js.map
155
+ //# sourceMappingURL=chunk-C4GDV57D.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-ZQEQVCIU.js";
3
+ } from "./chunk-V6XZFDFR.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-2CLFX73Y.js";
10
+ } from "./chunk-C46YFMFO.js";
11
11
  import {
12
12
  getToolMemory
13
- } from "./chunk-GYDO2WOR.js";
13
+ } from "./chunk-ZVIBVJBI.js";
14
14
  import {
15
15
  resolveInsideRoot
16
16
  } from "./chunk-NUBSJGQZ.js";
@@ -27,11 +27,11 @@ import {
27
27
  getOutcomeStore,
28
28
  getTimeProvider,
29
29
  registerPersistentDistillerFactory
30
- } from "./chunk-QJIHSQZX.js";
30
+ } from "./chunk-CBJN5MYW.js";
31
31
  import {
32
32
  ensureLearningDir,
33
33
  getRulesFile
34
- } from "./chunk-RUSP5PJR.js";
34
+ } from "./chunk-GZ4NF4ZW.js";
35
35
 
36
36
  // src/learning/strategy-distiller-persistence.ts
37
37
  import { writeFileSync, readFileSync, renameSync, unlinkSync, existsSync } from "fs";
@@ -2686,4 +2686,4 @@ export {
2686
2686
  summarizeContextForPrompt,
2687
2687
  getContextPromptPrefix
2688
2688
  };
2689
- //# sourceMappingURL=chunk-S4U3Z6ZS.js.map
2689
+ //# sourceMappingURL=chunk-C5FWXNAR.js.map
@@ -3,7 +3,7 @@ import {
3
3
  getDecisionCostFile,
4
4
  isPersistenceEnabled,
5
5
  nexusDataPath
6
- } from "./chunk-RUSP5PJR.js";
6
+ } from "./chunk-GZ4NF4ZW.js";
7
7
  import {
8
8
  __require
9
9
  } from "./chunk-ZPWHCABL.js";
@@ -2339,7 +2339,7 @@ function setDefaultRegistry(registry) {
2339
2339
  }
2340
2340
  async function reloadDefaultRegistry() {
2341
2341
  globalRegistry = buildDefaultRegistry();
2342
- const { resetGlobalRegistry } = await import("./unified-registry-UFNSWKZA.js");
2342
+ const { resetGlobalRegistry } = await import("./unified-registry-3QASCESS.js");
2343
2343
  resetGlobalRegistry();
2344
2344
  return globalRegistry;
2345
2345
  }
@@ -3926,12 +3926,17 @@ var TOOL_MANIFEST = [
3926
3926
  name: "delegate_to_model",
3927
3927
  annotations: {
3928
3928
  title: "Delegate to Model",
3929
- readOnlyHint: true,
3929
+ // Not read-only: every call records the routing decision to tool-memory
3930
+ // (recordLearning + runPromotionPipeline) for learning feedback.
3931
+ readOnlyHint: false,
3930
3932
  destructiveHint: false,
3931
3933
  idempotentHint: true,
3932
3934
  openWorldHint: false
3933
3935
  },
3934
- sideEffects: [{ category: "implicit", description: "Consumes rate limit quota" }]
3936
+ sideEffects: [
3937
+ { category: "implicit", description: "Consumes rate limit quota" },
3938
+ { category: "explicit", description: "Records routing decision to tool-memory (learning feedback)" }
3939
+ ]
3935
3940
  },
3936
3941
  {
3937
3942
  name: "list_experts",
@@ -4104,7 +4109,10 @@ var TOOL_MANIFEST = [
4104
4109
  sideEffects: [
4105
4110
  { category: "implicit", description: "Consumes rate limit quota" },
4106
4111
  { category: "implicit", description: "May trigger reflective retrieval (MemR3)" }
4107
- ]
4112
+ ],
4113
+ // #3930: memory READ surface. Deliberately orthogonal to memory_write (mutate);
4114
+ // a rarely-used read must never be flagged for folding into the writer.
4115
+ orthogonalityGroup: "memory-read"
4108
4116
  },
4109
4117
  {
4110
4118
  name: "memory_stats",
@@ -4115,7 +4123,10 @@ var TOOL_MANIFEST = [
4115
4123
  idempotentHint: true,
4116
4124
  openWorldHint: false
4117
4125
  },
4118
- sideEffects: [{ category: "implicit", description: "Consumes rate limit quota" }]
4126
+ sideEffects: [{ category: "implicit", description: "Consumes rate limit quota" }],
4127
+ // #3930: memory READ/introspection surface — same orthogonality domain as
4128
+ // memory_query, distinct from the memory_write mutate surface.
4129
+ orthogonalityGroup: "memory-read"
4119
4130
  },
4120
4131
  {
4121
4132
  name: "memory_write",
@@ -4129,7 +4140,10 @@ var TOOL_MANIFEST = [
4129
4140
  sideEffects: [
4130
4141
  { category: "explicit", description: "Writes data to memory backend" },
4131
4142
  { category: "implicit", description: "Consumes rate limit quota" }
4132
- ]
4143
+ ],
4144
+ // #3930: memory MUTATE surface. Orthogonal to the memory-read tools — a
4145
+ // distinct capability domain, never a consolidation target for the readers.
4146
+ orthogonalityGroup: "memory-write"
4133
4147
  },
4134
4148
  {
4135
4149
  name: "weather_report",
@@ -4208,7 +4222,11 @@ var TOOL_MANIFEST = [
4208
4222
  },
4209
4223
  sideEffects: [
4210
4224
  { category: "implicit", description: "Reads execution trace JSONL files from disk" }
4211
- ]
4225
+ ],
4226
+ // #3930: reads execution-trace JSONL. Deliberately distinct data domain from
4227
+ // query_task_state (structured task-state log) despite the shared `query_`
4228
+ // prefix — not interchangeable, so not a consolidation pair.
4229
+ orthogonalityGroup: "query-trace"
4212
4230
  },
4213
4231
  {
4214
4232
  name: "query_task_state",
@@ -4221,7 +4239,10 @@ var TOOL_MANIFEST = [
4221
4239
  },
4222
4240
  sideEffects: [
4223
4241
  { category: "implicit", description: "Reads the structured task-state log (#2278)" }
4224
- ]
4242
+ ],
4243
+ // #3930: reads the structured task-state log — a distinct data domain from
4244
+ // query_trace's execution traces. Shared prefix, orthogonal capability.
4245
+ orthogonalityGroup: "query-task-state"
4225
4246
  },
4226
4247
  {
4227
4248
  name: "get_job_result",
@@ -4273,7 +4294,10 @@ var TOOL_MANIFEST = [
4273
4294
  category: "coupling",
4274
4295
  description: "Triggers AbortSignal unwind in same-process dispatcher (cross-process workers must poll)"
4275
4296
  }
4276
- ]
4297
+ ],
4298
+ // #3930: break-glass kill-switch — you only call it to abort a runaway async
4299
+ // job, so it is low-usage BY DESIGN, not dead weight. Never auto-deprecate.
4300
+ neverDeprecate: true
4277
4301
  },
4278
4302
  {
4279
4303
  name: "ci_health_check",
@@ -4293,7 +4317,11 @@ var TOOL_MANIFEST = [
4293
4317
  category: "implicit",
4294
4318
  description: "Appends a local CI-health telemetry event per call for observability (#3530)"
4295
4319
  }
4296
- ]
4320
+ ],
4321
+ // #3930: incident diagnostic — used BEFORE long auto-merge waits to detect an
4322
+ // org-wide CI wedge. Rare by design (only when CI is suspected broken), so a
4323
+ // low invocation count is expected, not a deprecation signal.
4324
+ neverDeprecate: true
4297
4325
  },
4298
4326
  {
4299
4327
  name: "verify_audit_chain",
@@ -4309,7 +4337,11 @@ var TOOL_MANIFEST = [
4309
4337
  category: "implicit",
4310
4338
  description: "Reads the immutable audit log and verifies the hash chain"
4311
4339
  }
4312
- ]
4340
+ ],
4341
+ // #3930: tamper-evidence integrity tool — invoked rarely (on-demand chain
4342
+ // verification), but it is the substrate's audit-integrity guarantee. Low
4343
+ // usage is by design; deprecating it would silently drop tamper detection.
4344
+ neverDeprecate: true
4313
4345
  },
4314
4346
  {
4315
4347
  name: "repo_analyze",
@@ -4326,7 +4358,11 @@ var TOOL_MANIFEST = [
4326
4358
  description: "Fetches repository metadata from GitHub API via gh CLI"
4327
4359
  },
4328
4360
  { category: "implicit", description: "Consumes rate limit quota" }
4329
- ]
4361
+ ],
4362
+ // #3930: general repo-structure analysis. Distinct capability domain from
4363
+ // repo_security_plan (security-scanning recommendation) — shared `repo_`
4364
+ // prefix but not substitutable.
4365
+ orthogonalityGroup: "repo-analyze"
4330
4366
  },
4331
4367
  {
4332
4368
  name: "repo_security_plan",
@@ -4343,7 +4379,11 @@ var TOOL_MANIFEST = [
4343
4379
  description: "Fetches repository metadata from GitHub API via gh CLI"
4344
4380
  },
4345
4381
  { category: "implicit", description: "Consumes rate limit quota" }
4346
- ]
4382
+ ],
4383
+ // #3930: security-scanning pipeline recommendation. Orthogonal domain to
4384
+ // repo_analyze (general structure) — a security-specific capability that
4385
+ // must not be folded into the general analyzer.
4386
+ orthogonalityGroup: "repo-security"
4347
4387
  },
4348
4388
  {
4349
4389
  name: "extract_symbols",
@@ -4531,6 +4571,20 @@ var TOOL_MANIFEST = [
4531
4571
  ]
4532
4572
  }
4533
4573
  ];
4574
+ var NEVER_DEPRECATE_TOOLS = new Set(
4575
+ TOOL_MANIFEST.filter((t) => t.neverDeprecate === true).map((t) => t.name)
4576
+ );
4577
+ var TOOL_ORTHOGONALITY_GROUPS = new Map(
4578
+ TOOL_MANIFEST.filter(
4579
+ (t) => t.orthogonalityGroup !== void 0
4580
+ ).map((t) => [t.name, t.orthogonalityGroup])
4581
+ );
4582
+ function isDeclaredNeverDeprecate(tool) {
4583
+ return NEVER_DEPRECATE_TOOLS.has(tool);
4584
+ }
4585
+ function declaredOrthogonalityGroup(tool) {
4586
+ return TOOL_ORTHOGONALITY_GROUPS.get(tool);
4587
+ }
4534
4588
 
4535
4589
  // src/core/task-analysis/capability-gap-detector.ts
4536
4590
  var AVAILABLE_TOOLS = new Set(TOOL_MANIFEST.map((t) => t.name));
@@ -13519,7 +13573,7 @@ var CompositeRouter = class _CompositeRouter {
13519
13573
  */
13520
13574
  async consultUnifiedContext(task) {
13521
13575
  try {
13522
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-5OVRAWNZ.js");
13576
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-BWLNV73G.js");
13523
13577
  const ctx = await getContextForTask({
13524
13578
  task: task.content,
13525
13579
  category: inferTaskCategory(task.content),
@@ -14953,6 +15007,8 @@ export {
14953
15007
  SharedTaskAnalyzer,
14954
15008
  createSharedTaskAnalyzer,
14955
15009
  TOOL_MANIFEST,
15010
+ isDeclaredNeverDeprecate,
15011
+ declaredOrthogonalityGroup,
14956
15012
  detectCapabilityGaps,
14957
15013
  getGapLedger,
14958
15014
  recordRoutingGaps,
@@ -15020,4 +15076,4 @@ export {
15020
15076
  AgentCapability,
15021
15077
  OrchestratorError
15022
15078
  };
15023
- //# sourceMappingURL=chunk-QJIHSQZX.js.map
15079
+ //# sourceMappingURL=chunk-CBJN5MYW.js.map