nexus-agents 3.6.4 → 3.6.6

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 (121) hide show
  1. package/dist/{child-mcp-config-SVGK6QFI.js → child-mcp-config-VGCRJI5K.js} +2 -2
  2. package/dist/{chunk-OVYEVJIS.js → chunk-2I2VX62W.js} +2 -2
  3. package/dist/{chunk-XZ7XRJY5.js → chunk-3KIJASVO.js} +5 -5
  4. package/dist/{chunk-DJ7YCUOL.js → chunk-3LMU5W5I.js} +4 -4
  5. package/dist/{chunk-LFIDNLBP.js → chunk-44AA6TSZ.js} +2 -2
  6. package/dist/{chunk-6LZNWY4D.js → chunk-6WRQIEKK.js} +2 -2
  7. package/dist/{chunk-R4W2GOYG.js → chunk-7RIGDQDO.js} +2 -2
  8. package/dist/{chunk-PGNOJRUL.js → chunk-7ZDIDX4J.js} +5 -5
  9. package/dist/{chunk-542D7RE3.js → chunk-CGICJPJ6.js} +2 -2
  10. package/dist/{chunk-EJQRYAKB.js → chunk-CPEOXRCU.js} +3 -3
  11. package/dist/{chunk-WSFTWS2A.js → chunk-DJLJGL34.js} +2 -2
  12. package/dist/{chunk-KJY3WZJY.js → chunk-G54Y5OQU.js} +2 -2
  13. package/dist/{chunk-QMGVJYGO.js → chunk-G7TY5OTP.js} +5 -5
  14. package/dist/{chunk-4Q6SSODG.js → chunk-HOMEGHVJ.js} +4 -4
  15. package/dist/{chunk-2TSXBISI.js → chunk-IW333FC3.js} +35 -35
  16. package/dist/{chunk-VIVICQZY.js → chunk-JJQWBH65.js} +2 -2
  17. package/dist/{chunk-LEU3OISH.js → chunk-KG2ECSYJ.js} +22 -9
  18. package/dist/chunk-KG2ECSYJ.js.map +1 -0
  19. package/dist/{chunk-J5TKJM7U.js → chunk-KJCXANOL.js} +2 -2
  20. package/dist/{chunk-OO7JQJTG.js → chunk-KNOECZP2.js} +27 -20
  21. package/dist/{chunk-OO7JQJTG.js.map → chunk-KNOECZP2.js.map} +1 -1
  22. package/dist/{chunk-EOVXDAYT.js → chunk-LOY7LJJT.js} +2 -2
  23. package/dist/{chunk-CWOXQK7J.js → chunk-MGLEPBIZ.js} +2 -2
  24. package/dist/{chunk-3XYA4XDX.js → chunk-MNQYHPWP.js} +3 -3
  25. package/dist/{chunk-XZYPUK4O.js → chunk-N7FPSYIR.js} +2 -2
  26. package/dist/{chunk-RNERS4BC.js → chunk-PZISZC5R.js} +5 -5
  27. package/dist/{chunk-77RSSNU6.js → chunk-QJU6PS53.js} +2 -2
  28. package/dist/{chunk-UAXEANMF.js → chunk-QWFEQURV.js} +3 -3
  29. package/dist/{chunk-ALDOPPP4.js → chunk-SA5S55UW.js} +2 -2
  30. package/dist/{chunk-CFJV3CEA.js → chunk-SAPRUA5H.js} +2 -2
  31. package/dist/{chunk-NRRH254O.js → chunk-SH4HKLPQ.js} +8 -8
  32. package/dist/{chunk-JOWSYOT4.js → chunk-VCS5YLU2.js} +3 -3
  33. package/dist/{chunk-ABNK3EFM.js → chunk-XZSYG6JW.js} +4 -4
  34. package/dist/{chunk-TXQUWORP.js → chunk-Y4T2ZCZB.js} +8 -8
  35. package/dist/{chunk-XLACRVKG.js → chunk-YRAOOAYY.js} +2 -2
  36. package/dist/{chunk-56GTITUT.js → chunk-ZCHQS3KU.js} +7 -7
  37. package/dist/{cli-circuit-breaker-WWXIVSRL.js → cli-circuit-breaker-WCYTIJVB.js} +3 -3
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-DHNRWBLP.js → composite-router-YDG6I25X.js} +2 -2
  40. package/dist/{consensus-vote-TALT6GHT.js → consensus-vote-QGMUKHKI.js} +16 -16
  41. package/dist/{context-retriever-SHMAFK3K.js → context-retriever-SRPTYHYW.js} +8 -8
  42. package/dist/{doctor-deep-R2DKQMK4.js → doctor-deep-TIIP6FL7.js} +3 -3
  43. package/dist/{doctor-live-TXBH4FFG.js → doctor-live-47RN4A4J.js} +23 -10
  44. package/dist/doctor-live-47RN4A4J.js.map +1 -0
  45. package/dist/{expert-bridge-WJ54PXNM.js → expert-bridge-76OOP55L.js} +4 -4
  46. package/dist/{factory-WFICVFVH.js → factory-IYGZJJU4.js} +9 -9
  47. package/dist/{factory-JWGO2QJJ.js → factory-JEKAU3BF.js} +5 -5
  48. package/dist/{improvement-review-N5IGPQOL.js → improvement-review-XIHUWWA7.js} +5 -5
  49. package/dist/index.js +30 -30
  50. package/dist/{init-opencode-YSZRAYEA.js → init-opencode-P2SUBOXA.js} +6 -6
  51. package/dist/{issue-triage-EMQSTTXS.js → issue-triage-4ZI2PVTX.js} +6 -6
  52. package/dist/{pr-reviewer-helpers-ZP6PBKBX.js → pr-reviewer-helpers-L3JGYIAM.js} +4 -4
  53. package/dist/{registry-command-KEAFJLHC.js → registry-command-STM5M5PE.js} +2 -2
  54. package/dist/{repo-security-plan-PYRBPSWW.js → repo-security-plan-TL4OZHQU.js} +3 -3
  55. package/dist/{research-helpers-synthesize-PNNPNBWS.js → research-helpers-synthesize-3ZCK4ND7.js} +4 -4
  56. package/dist/{routing-memory-RZ5RV35U.js → routing-memory-FBBYHH4N.js} +2 -2
  57. package/dist/{session-memory-LXWIFK34.js → session-memory-3O6OL3XO.js} +3 -3
  58. package/dist/{setup-command-HANW3KOD.js → setup-command-FFXCEFI6.js} +14 -14
  59. package/dist/{setup-config-QR3QG2PF.js → setup-config-A6YREIL7.js} +3 -3
  60. package/dist/{setup-custom-api-H6C36KPK.js → setup-custom-api-63EM5YEE.js} +4 -4
  61. package/dist/{tool-memory-XJKSCMZT.js → tool-memory-XE54TMHW.js} +5 -5
  62. package/dist/{unified-registry-X6V64OYT.js → unified-registry-TVI5DNYM.js} +10 -10
  63. package/dist/{weather-report-BDYHHFYX.js → weather-report-XONOF32O.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-LEU3OISH.js.map +0 -1
  66. package/dist/doctor-live-TXBH4FFG.js.map +0 -1
  67. /package/dist/{child-mcp-config-SVGK6QFI.js.map → child-mcp-config-VGCRJI5K.js.map} +0 -0
  68. /package/dist/{chunk-OVYEVJIS.js.map → chunk-2I2VX62W.js.map} +0 -0
  69. /package/dist/{chunk-XZ7XRJY5.js.map → chunk-3KIJASVO.js.map} +0 -0
  70. /package/dist/{chunk-DJ7YCUOL.js.map → chunk-3LMU5W5I.js.map} +0 -0
  71. /package/dist/{chunk-LFIDNLBP.js.map → chunk-44AA6TSZ.js.map} +0 -0
  72. /package/dist/{chunk-6LZNWY4D.js.map → chunk-6WRQIEKK.js.map} +0 -0
  73. /package/dist/{chunk-R4W2GOYG.js.map → chunk-7RIGDQDO.js.map} +0 -0
  74. /package/dist/{chunk-PGNOJRUL.js.map → chunk-7ZDIDX4J.js.map} +0 -0
  75. /package/dist/{chunk-542D7RE3.js.map → chunk-CGICJPJ6.js.map} +0 -0
  76. /package/dist/{chunk-EJQRYAKB.js.map → chunk-CPEOXRCU.js.map} +0 -0
  77. /package/dist/{chunk-WSFTWS2A.js.map → chunk-DJLJGL34.js.map} +0 -0
  78. /package/dist/{chunk-KJY3WZJY.js.map → chunk-G54Y5OQU.js.map} +0 -0
  79. /package/dist/{chunk-QMGVJYGO.js.map → chunk-G7TY5OTP.js.map} +0 -0
  80. /package/dist/{chunk-4Q6SSODG.js.map → chunk-HOMEGHVJ.js.map} +0 -0
  81. /package/dist/{chunk-2TSXBISI.js.map → chunk-IW333FC3.js.map} +0 -0
  82. /package/dist/{chunk-VIVICQZY.js.map → chunk-JJQWBH65.js.map} +0 -0
  83. /package/dist/{chunk-J5TKJM7U.js.map → chunk-KJCXANOL.js.map} +0 -0
  84. /package/dist/{chunk-EOVXDAYT.js.map → chunk-LOY7LJJT.js.map} +0 -0
  85. /package/dist/{chunk-CWOXQK7J.js.map → chunk-MGLEPBIZ.js.map} +0 -0
  86. /package/dist/{chunk-3XYA4XDX.js.map → chunk-MNQYHPWP.js.map} +0 -0
  87. /package/dist/{chunk-XZYPUK4O.js.map → chunk-N7FPSYIR.js.map} +0 -0
  88. /package/dist/{chunk-RNERS4BC.js.map → chunk-PZISZC5R.js.map} +0 -0
  89. /package/dist/{chunk-77RSSNU6.js.map → chunk-QJU6PS53.js.map} +0 -0
  90. /package/dist/{chunk-UAXEANMF.js.map → chunk-QWFEQURV.js.map} +0 -0
  91. /package/dist/{chunk-ALDOPPP4.js.map → chunk-SA5S55UW.js.map} +0 -0
  92. /package/dist/{chunk-CFJV3CEA.js.map → chunk-SAPRUA5H.js.map} +0 -0
  93. /package/dist/{chunk-NRRH254O.js.map → chunk-SH4HKLPQ.js.map} +0 -0
  94. /package/dist/{chunk-JOWSYOT4.js.map → chunk-VCS5YLU2.js.map} +0 -0
  95. /package/dist/{chunk-ABNK3EFM.js.map → chunk-XZSYG6JW.js.map} +0 -0
  96. /package/dist/{chunk-TXQUWORP.js.map → chunk-Y4T2ZCZB.js.map} +0 -0
  97. /package/dist/{chunk-XLACRVKG.js.map → chunk-YRAOOAYY.js.map} +0 -0
  98. /package/dist/{chunk-56GTITUT.js.map → chunk-ZCHQS3KU.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-WWXIVSRL.js.map → cli-circuit-breaker-WCYTIJVB.js.map} +0 -0
  100. /package/dist/{composite-router-DHNRWBLP.js.map → composite-router-YDG6I25X.js.map} +0 -0
  101. /package/dist/{consensus-vote-TALT6GHT.js.map → consensus-vote-QGMUKHKI.js.map} +0 -0
  102. /package/dist/{context-retriever-SHMAFK3K.js.map → context-retriever-SRPTYHYW.js.map} +0 -0
  103. /package/dist/{doctor-deep-R2DKQMK4.js.map → doctor-deep-TIIP6FL7.js.map} +0 -0
  104. /package/dist/{expert-bridge-WJ54PXNM.js.map → expert-bridge-76OOP55L.js.map} +0 -0
  105. /package/dist/{factory-JWGO2QJJ.js.map → factory-IYGZJJU4.js.map} +0 -0
  106. /package/dist/{factory-WFICVFVH.js.map → factory-JEKAU3BF.js.map} +0 -0
  107. /package/dist/{improvement-review-N5IGPQOL.js.map → improvement-review-XIHUWWA7.js.map} +0 -0
  108. /package/dist/{init-opencode-YSZRAYEA.js.map → init-opencode-P2SUBOXA.js.map} +0 -0
  109. /package/dist/{issue-triage-EMQSTTXS.js.map → issue-triage-4ZI2PVTX.js.map} +0 -0
  110. /package/dist/{pr-reviewer-helpers-ZP6PBKBX.js.map → pr-reviewer-helpers-L3JGYIAM.js.map} +0 -0
  111. /package/dist/{registry-command-KEAFJLHC.js.map → registry-command-STM5M5PE.js.map} +0 -0
  112. /package/dist/{repo-security-plan-PYRBPSWW.js.map → repo-security-plan-TL4OZHQU.js.map} +0 -0
  113. /package/dist/{research-helpers-synthesize-PNNPNBWS.js.map → research-helpers-synthesize-3ZCK4ND7.js.map} +0 -0
  114. /package/dist/{routing-memory-RZ5RV35U.js.map → routing-memory-FBBYHH4N.js.map} +0 -0
  115. /package/dist/{session-memory-LXWIFK34.js.map → session-memory-3O6OL3XO.js.map} +0 -0
  116. /package/dist/{setup-command-HANW3KOD.js.map → setup-command-FFXCEFI6.js.map} +0 -0
  117. /package/dist/{setup-config-QR3QG2PF.js.map → setup-config-A6YREIL7.js.map} +0 -0
  118. /package/dist/{setup-custom-api-H6C36KPK.js.map → setup-custom-api-63EM5YEE.js.map} +0 -0
  119. /package/dist/{tool-memory-XJKSCMZT.js.map → tool-memory-XE54TMHW.js.map} +0 -0
  120. /package/dist/{unified-registry-X6V64OYT.js.map → unified-registry-TVI5DNYM.js.map} +0 -0
  121. /package/dist/{weather-report-BDYHHFYX.js.map → weather-report-XONOF32O.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SNJNRDKZ.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-OO7JQJTG.js";
6
+ } from "./chunk-KNOECZP2.js";
7
7
  import "./chunk-2HUC6NZN.js";
8
8
  import "./chunk-OQLFRJCW.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-SVGK6QFI.js.map
65
+ //# sourceMappingURL=child-mcp-config-VGCRJI5K.js.map
@@ -11,7 +11,7 @@ import {
11
11
  isRateLimitLikeError,
12
12
  lookupInTreeCapability,
13
13
  ok
14
- } from "./chunk-OO7JQJTG.js";
14
+ } from "./chunk-KNOECZP2.js";
15
15
 
16
16
  // src/config/model-parameter-support.ts
17
17
  function parseClaudeMajorMinor(bareId) {
@@ -828,4 +828,4 @@ export {
828
828
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
829
829
  collectStream
830
830
  };
831
- //# sourceMappingURL=chunk-OVYEVJIS.js.map
831
+ //# sourceMappingURL=chunk-2I2VX62W.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-R4W2GOYG.js";
3
+ } from "./chunk-7RIGDQDO.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-CWOXQK7J.js";
10
+ } from "./chunk-MGLEPBIZ.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-DJ7YCUOL.js";
16
+ } from "./chunk-3LMU5W5I.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-OO7JQJTG.js";
41
+ } from "./chunk-KNOECZP2.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-XZ7XRJY5.js.map
4093
+ //# sourceMappingURL=chunk-3KIJASVO.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-LFIDNLBP.js";
8
+ } from "./chunk-44AA6TSZ.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-XZYPUK4O.js";
18
+ } from "./chunk-N7FPSYIR.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-OO7JQJTG.js";
31
+ } from "./chunk-KNOECZP2.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OQLFRJCW.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-DJ7YCUOL.js.map
5555
+ //# sourceMappingURL=chunk-3LMU5W5I.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-OO7JQJTG.js";
7
+ } from "./chunk-KNOECZP2.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-LFIDNLBP.js.map
355
+ //# sourceMappingURL=chunk-44AA6TSZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-OO7JQJTG.js";
3
+ } from "./chunk-KNOECZP2.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-6LZNWY4D.js.map
127
+ //# sourceMappingURL=chunk-6WRQIEKK.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-OO7JQJTG.js";
5
+ } from "./chunk-KNOECZP2.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-R4W2GOYG.js.map
90
+ //# sourceMappingURL=chunk-7RIGDQDO.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-6LZNWY4D.js";
4
+ } from "./chunk-6WRQIEKK.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-OVYEVJIS.js";
11
+ } from "./chunk-2I2VX62W.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-77RSSNU6.js";
14
+ } from "./chunk-QJU6PS53.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-OO7JQJTG.js";
25
+ } from "./chunk-KNOECZP2.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -831,4 +831,4 @@ export {
831
831
  discoverModels,
832
832
  buildOpenAICompatAdapters
833
833
  };
834
- //# sourceMappingURL=chunk-PGNOJRUL.js.map
834
+ //# sourceMappingURL=chunk-7ZDIDX4J.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-OO7JQJTG.js";
11
+ } from "./chunk-KNOECZP2.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -540,4 +540,4 @@ export {
540
540
  CliCircuitBreakerIntegration,
541
541
  createCliCircuitBreakerIntegration
542
542
  };
543
- //# sourceMappingURL=chunk-542D7RE3.js.map
543
+ //# sourceMappingURL=chunk-CGICJPJ6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-CWOXQK7J.js";
3
+ } from "./chunk-MGLEPBIZ.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-OO7JQJTG.js";
6
+ } from "./chunk-KNOECZP2.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-EJQRYAKB.js.map
879
+ //# sourceMappingURL=chunk-CPEOXRCU.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-OO7JQJTG.js";
7
+ } from "./chunk-KNOECZP2.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-WSFTWS2A.js.map
724
+ //# sourceMappingURL=chunk-DJLJGL34.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-OO7JQJTG.js";
3
+ } from "./chunk-KNOECZP2.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-KJY3WZJY.js.map
80
+ //# sourceMappingURL=chunk-G54Y5OQU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-KJY3WZJY.js";
3
+ } from "./chunk-G54Y5OQU.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,13 +8,13 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-LEU3OISH.js";
11
+ } from "./chunk-KG2ECSYJ.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-TXQUWORP.js";
17
+ } from "./chunk-Y4T2ZCZB.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  colors,
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-OO7JQJTG.js";
28
+ } from "./chunk-KNOECZP2.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-QMGVJYGO.js.map
2004
+ //# sourceMappingURL=chunk-G7TY5OTP.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-TXQUWORP.js";
3
+ } from "./chunk-Y4T2ZCZB.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-542D7RE3.js";
6
+ } from "./chunk-CGICJPJ6.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -21,7 +21,7 @@ import {
21
21
  ok,
22
22
  recordRateLimitEvent,
23
23
  toRateLimitError
24
- } from "./chunk-OO7JQJTG.js";
24
+ } from "./chunk-KNOECZP2.js";
25
25
 
26
26
  // src/agents/collaboration/event-bus-helpers.ts
27
27
  import { randomUUID } from "crypto";
@@ -833,4 +833,4 @@ export {
833
833
  getGlobalRegistry,
834
834
  resetGlobalRegistry
835
835
  };
836
- //# sourceMappingURL=chunk-4Q6SSODG.js.map
836
+ //# sourceMappingURL=chunk-HOMEGHVJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-WSFTWS2A.js";
3
+ } from "./chunk-DJLJGL34.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -22,10 +22,10 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-LEU3OISH.js";
25
+ } from "./chunk-KG2ECSYJ.js";
26
26
  import {
27
27
  executeExpert
28
- } from "./chunk-56GTITUT.js";
28
+ } from "./chunk-ZCHQS3KU.js";
29
29
  import {
30
30
  JobStatusSchema,
31
31
  abortJob,
@@ -46,21 +46,21 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-NRRH254O.js";
49
+ } from "./chunk-SH4HKLPQ.js";
50
50
  import {
51
51
  normalizeTopicToCanonical,
52
52
  synthesizeResearch
53
- } from "./chunk-EJQRYAKB.js";
53
+ } from "./chunk-CPEOXRCU.js";
54
54
  import {
55
55
  IssueTriage
56
- } from "./chunk-RNERS4BC.js";
56
+ } from "./chunk-PZISZC5R.js";
57
57
  import {
58
58
  resolveEnvMode,
59
59
  sanitizeInput
60
- } from "./chunk-ALDOPPP4.js";
60
+ } from "./chunk-SA5S55UW.js";
61
61
  import {
62
62
  withPrerequisite
63
- } from "./chunk-JOWSYOT4.js";
63
+ } from "./chunk-VCS5YLU2.js";
64
64
  import {
65
65
  NOOP_NOTIFIER,
66
66
  RateLimiter,
@@ -83,18 +83,18 @@ import {
83
83
  withAuditTrail,
84
84
  withProgressHeartbeat,
85
85
  wrapToolWithTimeout
86
- } from "./chunk-UAXEANMF.js";
86
+ } from "./chunk-QWFEQURV.js";
87
87
  import {
88
88
  createAuditTrail,
89
89
  createGraphAuditBridge,
90
90
  emitPipelinePolicyEvent
91
- } from "./chunk-J5TKJM7U.js";
91
+ } from "./chunk-KJCXANOL.js";
92
92
  import {
93
93
  EventTopics,
94
94
  createEvent,
95
95
  getGlobalEventBus,
96
96
  getGlobalRegistry
97
- } from "./chunk-4Q6SSODG.js";
97
+ } from "./chunk-HOMEGHVJ.js";
98
98
  import {
99
99
  IDENTIFIER_RE,
100
100
  LANG_VALUES,
@@ -127,15 +127,15 @@ import {
127
127
  parseRegistry,
128
128
  sourceExistsInRegistry,
129
129
  summarizeContextForPrompt
130
- } from "./chunk-XZ7XRJY5.js";
130
+ } from "./chunk-3KIJASVO.js";
131
131
  import {
132
132
  getTokenEnvVars,
133
133
  resolveToken
134
- } from "./chunk-R4W2GOYG.js";
134
+ } from "./chunk-7RIGDQDO.js";
135
135
  import {
136
136
  loadPapersRegistry,
137
137
  loadTechniquesRegistry
138
- } from "./chunk-CWOXQK7J.js";
138
+ } from "./chunk-MGLEPBIZ.js";
139
139
  import {
140
140
  resolveInsideRoot
141
141
  } from "./chunk-NUBSJGQZ.js";
@@ -144,14 +144,14 @@ import {
144
144
  MemoryImportance,
145
145
  calculateTextJaccardSimilarity,
146
146
  getToolMemory
147
- } from "./chunk-DJ7YCUOL.js";
147
+ } from "./chunk-3LMU5W5I.js";
148
148
  import {
149
149
  STOPWORDS,
150
150
  truncateWithInfo
151
151
  } from "./chunk-6T3EPABN.js";
152
152
  import {
153
153
  createSessionMemory
154
- } from "./chunk-LFIDNLBP.js";
154
+ } from "./chunk-44AA6TSZ.js";
155
155
  import {
156
156
  BUILT_IN_EXPERTS,
157
157
  BuiltInExpertTypeSchema,
@@ -169,25 +169,25 @@ import {
169
169
  getAvailableClis,
170
170
  sleep,
171
171
  withTimeout
172
- } from "./chunk-TXQUWORP.js";
172
+ } from "./chunk-Y4T2ZCZB.js";
173
173
  import {
174
174
  BaseAdapter,
175
175
  createStream,
176
176
  requireApiKey,
177
177
  validateApiKeyPresence
178
- } from "./chunk-OVYEVJIS.js";
178
+ } from "./chunk-2I2VX62W.js";
179
179
  import {
180
180
  DEFAULTS
181
- } from "./chunk-XLACRVKG.js";
181
+ } from "./chunk-YRAOOAYY.js";
182
182
  import {
183
183
  getAvailabilityCache,
184
184
  getCliForModelId,
185
185
  resolveFallback
186
- } from "./chunk-EOVXDAYT.js";
186
+ } from "./chunk-LOY7LJJT.js";
187
187
  import {
188
188
  generateHyphenId,
189
189
  generateUUID
190
- } from "./chunk-XZYPUK4O.js";
190
+ } from "./chunk-N7FPSYIR.js";
191
191
  import {
192
192
  AGENT_ROUTER_TIMEOUTS,
193
193
  API_TIMEOUTS,
@@ -286,7 +286,7 @@ import {
286
286
  selectStrategyByManifest,
287
287
  toExpertTaskAnalysisResult,
288
288
  withStep
289
- } from "./chunk-OO7JQJTG.js";
289
+ } from "./chunk-KNOECZP2.js";
290
290
  import {
291
291
  ensureLearningDir,
292
292
  getMetaOutcomesFile,
@@ -28356,7 +28356,7 @@ function execIdFields(executionId) {
28356
28356
  async function populateUnifiedContextOnState(state, options) {
28357
28357
  const taskCandidate = state["task"];
28358
28358
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28359
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-SHMAFK3K.js");
28359
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-SRPTYHYW.js");
28360
28360
  const category = inferTaskCategory2(taskCandidate);
28361
28361
  const executionId = options?.executionId;
28362
28362
  const execFields = execIdFields(executionId);
@@ -43895,7 +43895,7 @@ async function tryIssueTriage(task) {
43895
43895
  try {
43896
43896
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43897
43897
  if (issueMatch === null) return null;
43898
- const { createIssueTriage } = await import("./issue-triage-EMQSTTXS.js");
43898
+ const { createIssueTriage } = await import("./issue-triage-4ZI2PVTX.js");
43899
43899
  const triage = createIssueTriage();
43900
43900
  const owner = issueMatch[1] ?? "";
43901
43901
  const num = issueMatch[2] ?? "";
@@ -43923,7 +43923,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43923
43923
  ]);
43924
43924
  async function classifyWithLLM(task) {
43925
43925
  try {
43926
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-WJ54PXNM.js");
43926
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-76OOP55L.js");
43927
43927
  const prompt = [
43928
43928
  "Classify this task into exactly one pipeline template.",
43929
43929
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45649,7 +45649,7 @@ var memoryInitPromise = null;
45649
45649
  async function initPipelineMemory() {
45650
45650
  if (cachedMemory !== null) return cachedMemory;
45651
45651
  try {
45652
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LXWIFK34.js");
45652
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3O6OL3XO.js");
45653
45653
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45654
45654
  const mem = createSessionMemory2(getLearningDir());
45655
45655
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45711,7 +45711,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45711
45711
  callRecord(routingMemoryCache);
45712
45712
  return;
45713
45713
  }
45714
- routingMemoryInitPromise ??= import("./routing-memory-RZ5RV35U.js").then(({ createRoutingMemory }) => {
45714
+ routingMemoryInitPromise ??= import("./routing-memory-FBBYHH4N.js").then(({ createRoutingMemory }) => {
45715
45715
  routingMemoryCache ??= createRoutingMemory();
45716
45716
  return routingMemoryCache;
45717
45717
  }).catch((error) => {
@@ -45745,7 +45745,7 @@ ${text}` : "";
45745
45745
  }
45746
45746
  async function getWeatherContext() {
45747
45747
  try {
45748
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BDYHHFYX.js");
45748
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XONOF32O.js");
45749
45749
  const report = generateWeatherReport2({ includeAdaptive: true });
45750
45750
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45751
45751
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45763,7 +45763,7 @@ ${lines}
45763
45763
  }
45764
45764
  async function getMemoryContext(task) {
45765
45765
  try {
45766
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LXWIFK34.js");
45766
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3O6OL3XO.js");
45767
45767
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45768
45768
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45769
45769
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45878,7 +45878,7 @@ ${contextBlock}`;
45878
45878
  const strategy = config.votingStrategy ?? "higher_order";
45879
45879
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45880
45880
  try {
45881
- const { executeVoting } = await import("./consensus-vote-TALT6GHT.js");
45881
+ const { executeVoting } = await import("./consensus-vote-QGMUKHKI.js");
45882
45882
  const votingResult = await executeVoting(
45883
45883
  {
45884
45884
  proposal: buildVoteProposal(plan, research),
@@ -46317,7 +46317,7 @@ async function searchCodebaseForTask(task) {
46317
46317
  }
46318
46318
  async function queryResearchRegistry(task) {
46319
46319
  try {
46320
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-PNNPNBWS.js");
46320
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3ZCK4ND7.js");
46321
46321
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46322
46322
  if (topic === void 0) return null;
46323
46323
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46388,7 +46388,7 @@ function createScanStageWrapper() {
46388
46388
  try {
46389
46389
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46390
46390
  if (slug !== void 0) {
46391
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-PYRBPSWW.js");
46391
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TL4OZHQU.js");
46392
46392
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46393
46393
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46394
46394
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49393,7 +49393,7 @@ var GitHubTaskTracker = class {
49393
49393
  cachedProvider = null;
49394
49394
  async getProvider() {
49395
49395
  if (this.cachedProvider !== null) return this.cachedProvider;
49396
- const { createScmProvider } = await import("./factory-JWGO2QJJ.js");
49396
+ const { createScmProvider } = await import("./factory-JEKAU3BF.js");
49397
49397
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49398
49398
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49399
49399
  this.cachedProvider = result.value;
@@ -50235,7 +50235,7 @@ async function probeSource(source, includeModelIds) {
50235
50235
  }
50236
50236
  }
50237
50237
  async function defaultSources(includeOpenRouter) {
50238
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-WFICVFVH.js");
50238
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-IYGZJJU4.js");
50239
50239
  const adapters = createAllAdapters2();
50240
50240
  return buildDefaultModelSources(adapters, { includeOpenRouter });
50241
50241
  }
@@ -54255,4 +54255,4 @@ export {
54255
54255
  shutdownFeedbackSubscriber,
54256
54256
  createEventBusBridge
54257
54257
  };
54258
- //# sourceMappingURL=chunk-2TSXBISI.js.map
54258
+ //# sourceMappingURL=chunk-IW333FC3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-OO7JQJTG.js";
7
+ } from "./chunk-KNOECZP2.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-VIVICQZY.js.map
266
+ //# sourceMappingURL=chunk-JJQWBH65.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-PGNOJRUL.js";
3
+ } from "./chunk-7ZDIDX4J.js";
4
4
  import {
5
5
  resolveInsideRoot
6
6
  } from "./chunk-NUBSJGQZ.js";
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  createAllAdapters,
12
12
  probeCli
13
- } from "./chunk-TXQUWORP.js";
13
+ } from "./chunk-Y4T2ZCZB.js";
14
14
  import {
15
15
  DEFAULTS
16
- } from "./chunk-XLACRVKG.js";
16
+ } from "./chunk-YRAOOAYY.js";
17
17
  import {
18
18
  getNexusTmpDir
19
19
  } from "./chunk-SNJNRDKZ.js";
@@ -33,7 +33,7 @@ import {
33
33
  ok,
34
34
  symbols,
35
35
  writeLine
36
- } from "./chunk-OO7JQJTG.js";
36
+ } from "./chunk-KNOECZP2.js";
37
37
  import {
38
38
  getLearningDir,
39
39
  getOutcomesFile,
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-OQLFRJCW.js";
50
50
 
51
51
  // src/version.ts
52
- var VERSION = true ? "3.6.4" : "dev";
52
+ var VERSION = true ? "3.6.6" : "dev";
53
53
 
54
54
  // src/config/schemas-core.ts
55
55
  import { z } from "zod";
@@ -2235,8 +2235,21 @@ function checkSandbox() {
2235
2235
  function checkVoterTransport() {
2236
2236
  return { configured: readOpenAICompatEnv() !== null };
2237
2237
  }
2238
+ function scratchSeverityIsAcceptable(severity) {
2239
+ switch (severity) {
2240
+ case "ok":
2241
+ case "warn":
2242
+ return true;
2243
+ case "critical":
2244
+ return false;
2245
+ default: {
2246
+ const exhaustive = severity;
2247
+ throw new Error(`Unhandled scratch severity: ${String(exhaustive)}`);
2248
+ }
2249
+ }
2250
+ }
2238
2251
  function isAllHealthy(input) {
2239
- return input.nodeSupported && input.hasAuthMethod && input.mcpServerReady && worstSeverity(input.scratchSpace) !== "critical" && input.clis.every((c) => c.installed && c.authenticated && c.versionStatus !== "unsupported");
2252
+ return input.nodeSupported && input.hasAuthMethod && input.mcpServerReady && scratchSeverityIsAcceptable(worstSeverity(input.scratchSpace)) && input.clis.every((c) => c.installed && c.authenticated && c.versionStatus !== "unsupported");
2240
2253
  }
2241
2254
  async function runDoctor() {
2242
2255
  const clis = await Promise.all([
@@ -2303,7 +2316,7 @@ async function runDoctorFix(result) {
2303
2316
  writeLine2("\u2500".repeat(40));
2304
2317
  let fixCount = 0;
2305
2318
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2306
- const { runSetup } = await import("./setup-command-HANW3KOD.js");
2319
+ const { runSetup } = await import("./setup-command-FFXCEFI6.js");
2307
2320
  const setupResult = runSetup({
2308
2321
  skipMcp: true,
2309
2322
  skipRules: true,
@@ -2317,7 +2330,7 @@ async function runDoctorFix(result) {
2317
2330
  }
2318
2331
  }
2319
2332
  if (!result.configFile.found) {
2320
- const { runConfigInitSync } = await import("./setup-config-QR3QG2PF.js");
2333
+ const { runConfigInitSync } = await import("./setup-config-A6YREIL7.js");
2321
2334
  const configResult = runConfigInitSync(process.cwd(), false, false);
2322
2335
  if (configResult.success && configResult.created) {
2323
2336
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2416,4 +2429,4 @@ export {
2416
2429
  startStdioServer,
2417
2430
  closeServer
2418
2431
  };
2419
- //# sourceMappingURL=chunk-LEU3OISH.js.map
2432
+ //# sourceMappingURL=chunk-KG2ECSYJ.js.map