nexus-agents 5.0.3 → 5.0.5

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 (125) hide show
  1. package/dist/{child-mcp-config-2EXF74GZ.js → child-mcp-config-PIZSE56V.js} +2 -2
  2. package/dist/{chunk-KYOVZ2QZ.js → chunk-2I5BBD6U.js} +5 -5
  3. package/dist/{chunk-26PZ2652.js → chunk-326RCKE2.js} +46 -41
  4. package/dist/{chunk-26PZ2652.js.map → chunk-326RCKE2.js.map} +1 -1
  5. package/dist/{chunk-WTQEMR7D.js → chunk-5MQPSHIG.js} +7 -7
  6. package/dist/{chunk-SOKS6XK2.js → chunk-5VP6WPEI.js} +2 -2
  7. package/dist/{chunk-AVYTX7JQ.js → chunk-6OPLDOJG.js} +3 -3
  8. package/dist/{chunk-SZ6J4YY7.js → chunk-AS4B7KCT.js} +2 -2
  9. package/dist/{chunk-7TXO7LYE.js → chunk-BGGS3PH2.js} +2 -2
  10. package/dist/{chunk-Y4XI4RIB.js → chunk-F67CLL5B.js} +2 -2
  11. package/dist/{chunk-KG752W6G.js → chunk-FDWB4PUV.js} +2 -2
  12. package/dist/{chunk-C2LEM7RD.js → chunk-FU45UMX5.js} +2 -2
  13. package/dist/{chunk-3IDYJL2Y.js → chunk-FWBR6DZO.js} +2 -2
  14. package/dist/{chunk-77VDRUFK.js → chunk-GFDE5IAZ.js} +3 -3
  15. package/dist/{chunk-VRJJGXUE.js → chunk-GSK2JRVW.js} +8 -8
  16. package/dist/{chunk-KQPEECXT.js → chunk-GTMJPNPR.js} +2 -2
  17. package/dist/{chunk-OLCMDKQE.js → chunk-IJLWQ4Y3.js} +7 -7
  18. package/dist/{chunk-W7ITYRY2.js → chunk-JOY5IRVR.js} +2 -2
  19. package/dist/{chunk-AKOBOCUB.js → chunk-K4OBRS4D.js} +2 -2
  20. package/dist/{chunk-FWP5FZ7V.js → chunk-NDVKXAK5.js} +2 -2
  21. package/dist/{chunk-Q225TVYP.js → chunk-OCFY37TZ.js} +16 -2
  22. package/dist/chunk-OCFY37TZ.js.map +1 -0
  23. package/dist/{chunk-ZSNWRX2B.js → chunk-OOGKQTDN.js} +2 -2
  24. package/dist/{chunk-VS2DUTJ5.js → chunk-P7IHQSCC.js} +18 -4
  25. package/dist/chunk-P7IHQSCC.js.map +1 -0
  26. package/dist/{chunk-WIYDV6ZY.js → chunk-Q36RQS7J.js} +3 -3
  27. package/dist/{chunk-VZM7YQZL.js → chunk-R66FJKP4.js} +5 -5
  28. package/dist/{chunk-2P6GBKUN.js → chunk-ROCFIXAK.js} +2 -2
  29. package/dist/{chunk-EQRCOUJJ.js → chunk-SY54YKTT.js} +2 -2
  30. package/dist/{chunk-AU6N4HZR.js → chunk-T2KKAZTB.js} +3 -3
  31. package/dist/{chunk-OKS6I7T7.js → chunk-TC2QG4U3.js} +4 -4
  32. package/dist/{chunk-VHB3L7H7.js → chunk-TIOXRJK3.js} +2 -2
  33. package/dist/{chunk-XIWGJBVE.js → chunk-VX6VNBCU.js} +4 -4
  34. package/dist/chunk-XUTX54BU.js +7 -0
  35. package/dist/{chunk-FTIJ4V4A.js → chunk-YZN2UFYB.js} +8 -8
  36. package/dist/{chunk-O6TCROTE.js → chunk-ZSVUZOMQ.js} +4 -4
  37. package/dist/{chunk-QNF6NAQ3.js → chunk-ZXTOZ7B3.js} +6 -6
  38. package/dist/{cli-circuit-breaker-UFQZZVAB.js → cli-circuit-breaker-YEQKBXCN.js} +3 -3
  39. package/dist/cli.js +47 -45
  40. package/dist/cli.js.map +1 -1
  41. package/dist/{composite-router-KL7ZLCJY.js → composite-router-7D45ZSSG.js} +2 -2
  42. package/dist/{consensus-vote-3PGPRVOV.js → consensus-vote-AONDO26T.js} +17 -17
  43. package/dist/{context-retriever-GJL6HFJK.js → context-retriever-3R3BWMEW.js} +8 -8
  44. package/dist/{doctor-deep-XEJ7JXQI.js → doctor-deep-ECI74ALB.js} +3 -3
  45. package/dist/{doctor-live-4VAU6HLF.js → doctor-live-OBEZKBNU.js} +9 -9
  46. package/dist/{expert-bridge-VYB4C7C5.js → expert-bridge-XIFIEXQM.js} +4 -4
  47. package/dist/{factory-YYGHDTUN.js → factory-2TN6OVWR.js} +5 -5
  48. package/dist/{factory-S5K2EIKH.js → factory-3T6NTUDH.js} +9 -9
  49. package/dist/{improvement-review-NVIZXYSX.js → improvement-review-4KMYPNSZ.js} +6 -6
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-5PUDYNKQ.js → init-opencode-SIT4DIQ4.js} +6 -6
  52. package/dist/issue-triage-42TGOOZX.js +17 -0
  53. package/dist/{pr-reviewer-helpers-4YANH63K.js → pr-reviewer-helpers-NL7YXDAO.js} +4 -4
  54. package/dist/{registry-command-KZDEZNUE.js → registry-command-UBUAESO2.js} +2 -2
  55. package/dist/{repo-security-plan-7N2BVFFF.js → repo-security-plan-MK3OFGIC.js} +3 -3
  56. package/dist/{research-helpers-synthesize-FCXEDCUC.js → research-helpers-synthesize-UZGA2H5E.js} +4 -4
  57. package/dist/{routing-memory-NZZHHDN6.js → routing-memory-GSOJXKYR.js} +2 -2
  58. package/dist/{session-memory-OV55DW3U.js → session-memory-QK544BZF.js} +3 -3
  59. package/dist/{setup-config-WFHZTYAU.js → setup-config-AXDZQQZD.js} +3 -3
  60. package/dist/{setup-custom-api-5V5IQUMA.js → setup-custom-api-JNLX5DPO.js} +4 -4
  61. package/dist/setup-data-dir-PIT5H2S6.js +29 -0
  62. package/dist/{tool-memory-NJ5B3U27.js → tool-memory-DYW3QKJZ.js} +5 -5
  63. package/dist/{unified-registry-YBGPLXH3.js → unified-registry-ZRG3SO3X.js} +10 -10
  64. package/dist/{weather-report-U626M3HS.js → weather-report-JQGPC6ZC.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-Q225TVYP.js.map +0 -1
  67. package/dist/chunk-RXJHAUJY.js +0 -7
  68. package/dist/chunk-VS2DUTJ5.js.map +0 -1
  69. package/dist/issue-triage-5ZFQWQ3W.js +0 -17
  70. package/dist/setup-data-dir-YJU7MPS5.js +0 -29
  71. /package/dist/{child-mcp-config-2EXF74GZ.js.map → child-mcp-config-PIZSE56V.js.map} +0 -0
  72. /package/dist/{chunk-KYOVZ2QZ.js.map → chunk-2I5BBD6U.js.map} +0 -0
  73. /package/dist/{chunk-WTQEMR7D.js.map → chunk-5MQPSHIG.js.map} +0 -0
  74. /package/dist/{chunk-SOKS6XK2.js.map → chunk-5VP6WPEI.js.map} +0 -0
  75. /package/dist/{chunk-AVYTX7JQ.js.map → chunk-6OPLDOJG.js.map} +0 -0
  76. /package/dist/{chunk-SZ6J4YY7.js.map → chunk-AS4B7KCT.js.map} +0 -0
  77. /package/dist/{chunk-7TXO7LYE.js.map → chunk-BGGS3PH2.js.map} +0 -0
  78. /package/dist/{chunk-Y4XI4RIB.js.map → chunk-F67CLL5B.js.map} +0 -0
  79. /package/dist/{chunk-KG752W6G.js.map → chunk-FDWB4PUV.js.map} +0 -0
  80. /package/dist/{chunk-C2LEM7RD.js.map → chunk-FU45UMX5.js.map} +0 -0
  81. /package/dist/{chunk-3IDYJL2Y.js.map → chunk-FWBR6DZO.js.map} +0 -0
  82. /package/dist/{chunk-77VDRUFK.js.map → chunk-GFDE5IAZ.js.map} +0 -0
  83. /package/dist/{chunk-VRJJGXUE.js.map → chunk-GSK2JRVW.js.map} +0 -0
  84. /package/dist/{chunk-KQPEECXT.js.map → chunk-GTMJPNPR.js.map} +0 -0
  85. /package/dist/{chunk-OLCMDKQE.js.map → chunk-IJLWQ4Y3.js.map} +0 -0
  86. /package/dist/{chunk-W7ITYRY2.js.map → chunk-JOY5IRVR.js.map} +0 -0
  87. /package/dist/{chunk-AKOBOCUB.js.map → chunk-K4OBRS4D.js.map} +0 -0
  88. /package/dist/{chunk-FWP5FZ7V.js.map → chunk-NDVKXAK5.js.map} +0 -0
  89. /package/dist/{chunk-ZSNWRX2B.js.map → chunk-OOGKQTDN.js.map} +0 -0
  90. /package/dist/{chunk-WIYDV6ZY.js.map → chunk-Q36RQS7J.js.map} +0 -0
  91. /package/dist/{chunk-VZM7YQZL.js.map → chunk-R66FJKP4.js.map} +0 -0
  92. /package/dist/{chunk-2P6GBKUN.js.map → chunk-ROCFIXAK.js.map} +0 -0
  93. /package/dist/{chunk-EQRCOUJJ.js.map → chunk-SY54YKTT.js.map} +0 -0
  94. /package/dist/{chunk-AU6N4HZR.js.map → chunk-T2KKAZTB.js.map} +0 -0
  95. /package/dist/{chunk-OKS6I7T7.js.map → chunk-TC2QG4U3.js.map} +0 -0
  96. /package/dist/{chunk-VHB3L7H7.js.map → chunk-TIOXRJK3.js.map} +0 -0
  97. /package/dist/{chunk-XIWGJBVE.js.map → chunk-VX6VNBCU.js.map} +0 -0
  98. /package/dist/{chunk-RXJHAUJY.js.map → chunk-XUTX54BU.js.map} +0 -0
  99. /package/dist/{chunk-FTIJ4V4A.js.map → chunk-YZN2UFYB.js.map} +0 -0
  100. /package/dist/{chunk-O6TCROTE.js.map → chunk-ZSVUZOMQ.js.map} +0 -0
  101. /package/dist/{chunk-QNF6NAQ3.js.map → chunk-ZXTOZ7B3.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-UFQZZVAB.js.map → cli-circuit-breaker-YEQKBXCN.js.map} +0 -0
  103. /package/dist/{composite-router-KL7ZLCJY.js.map → composite-router-7D45ZSSG.js.map} +0 -0
  104. /package/dist/{consensus-vote-3PGPRVOV.js.map → consensus-vote-AONDO26T.js.map} +0 -0
  105. /package/dist/{context-retriever-GJL6HFJK.js.map → context-retriever-3R3BWMEW.js.map} +0 -0
  106. /package/dist/{doctor-deep-XEJ7JXQI.js.map → doctor-deep-ECI74ALB.js.map} +0 -0
  107. /package/dist/{doctor-live-4VAU6HLF.js.map → doctor-live-OBEZKBNU.js.map} +0 -0
  108. /package/dist/{expert-bridge-VYB4C7C5.js.map → expert-bridge-XIFIEXQM.js.map} +0 -0
  109. /package/dist/{factory-S5K2EIKH.js.map → factory-2TN6OVWR.js.map} +0 -0
  110. /package/dist/{factory-YYGHDTUN.js.map → factory-3T6NTUDH.js.map} +0 -0
  111. /package/dist/{improvement-review-NVIZXYSX.js.map → improvement-review-4KMYPNSZ.js.map} +0 -0
  112. /package/dist/{init-opencode-5PUDYNKQ.js.map → init-opencode-SIT4DIQ4.js.map} +0 -0
  113. /package/dist/{issue-triage-5ZFQWQ3W.js.map → issue-triage-42TGOOZX.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-4YANH63K.js.map → pr-reviewer-helpers-NL7YXDAO.js.map} +0 -0
  115. /package/dist/{registry-command-KZDEZNUE.js.map → registry-command-UBUAESO2.js.map} +0 -0
  116. /package/dist/{repo-security-plan-7N2BVFFF.js.map → repo-security-plan-MK3OFGIC.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-FCXEDCUC.js.map → research-helpers-synthesize-UZGA2H5E.js.map} +0 -0
  118. /package/dist/{routing-memory-NZZHHDN6.js.map → routing-memory-GSOJXKYR.js.map} +0 -0
  119. /package/dist/{session-memory-OV55DW3U.js.map → session-memory-QK544BZF.js.map} +0 -0
  120. /package/dist/{setup-config-WFHZTYAU.js.map → setup-config-AXDZQQZD.js.map} +0 -0
  121. /package/dist/{setup-custom-api-5V5IQUMA.js.map → setup-custom-api-JNLX5DPO.js.map} +0 -0
  122. /package/dist/{setup-data-dir-YJU7MPS5.js.map → setup-data-dir-PIT5H2S6.js.map} +0 -0
  123. /package/dist/{tool-memory-NJ5B3U27.js.map → tool-memory-DYW3QKJZ.js.map} +0 -0
  124. /package/dist/{unified-registry-YBGPLXH3.js.map → unified-registry-ZRG3SO3X.js.map} +0 -0
  125. /package/dist/{weather-report-U626M3HS.js.map → weather-report-JQGPC6ZC.js.map} +0 -0
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-C2LEM7RD.js";
15
+ } from "./chunk-FU45UMX5.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-AVYTX7JQ.js";
19
+ } from "./chunk-6OPLDOJG.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -297,4 +297,4 @@ export {
297
297
  formatReviewComment,
298
298
  createFailedReview
299
299
  };
300
- //# sourceMappingURL=chunk-WIYDV6ZY.js.map
300
+ //# sourceMappingURL=chunk-Q36RQS7J.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-SOKS6XK2.js";
4
+ } from "./chunk-5VP6WPEI.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-2P6GBKUN.js";
11
+ } from "./chunk-ROCFIXAK.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-7TXO7LYE.js";
14
+ } from "./chunk-BGGS3PH2.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-AVYTX7JQ.js";
25
+ } from "./chunk-6OPLDOJG.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-VZM7YQZL.js.map
836
+ //# sourceMappingURL=chunk-R66FJKP4.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-AVYTX7JQ.js";
16
+ } from "./chunk-6OPLDOJG.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-2P6GBKUN.js.map
837
+ //# sourceMappingURL=chunk-ROCFIXAK.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-AVYTX7JQ.js";
14
+ } from "./chunk-6OPLDOJG.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-EQRCOUJJ.js.map
233
+ //# sourceMappingURL=chunk-SY54YKTT.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-O6TCROTE.js";
10
+ } from "./chunk-ZSVUZOMQ.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-AVYTX7JQ.js";
23
+ } from "./chunk-6OPLDOJG.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-AU6N4HZR.js.map
2162
+ //# sourceMappingURL=chunk-T2KKAZTB.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-VRJJGXUE.js";
3
+ } from "./chunk-GSK2JRVW.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-KG752W6G.js";
7
+ } from "./chunk-FDWB4PUV.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -23,7 +23,7 @@ import {
23
23
  recordRateLimitEvent,
24
24
  resolveModelIdentitySync,
25
25
  toRateLimitError
26
- } from "./chunk-AVYTX7JQ.js";
26
+ } from "./chunk-6OPLDOJG.js";
27
27
 
28
28
  // src/config/model-equivalence.ts
29
29
  function canonicalModelKey(modelId) {
@@ -895,4 +895,4 @@ export {
895
895
  getGlobalRegistry,
896
896
  resetGlobalRegistry
897
897
  };
898
- //# sourceMappingURL=chunk-OKS6I7T7.js.map
898
+ //# sourceMappingURL=chunk-TC2QG4U3.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-AVYTX7JQ.js";
5
+ } from "./chunk-6OPLDOJG.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-VHB3L7H7.js.map
109
+ //# sourceMappingURL=chunk-TIOXRJK3.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-AKOBOCUB.js";
4
+ } from "./chunk-K4OBRS4D.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-3IDYJL2Y.js";
7
+ } from "./chunk-FWBR6DZO.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-AVYTX7JQ.js";
11
+ } from "./chunk-6OPLDOJG.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-XIWGJBVE.js.map
44
+ //# sourceMappingURL=chunk-VX6VNBCU.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "5.0.5" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-XUTX54BU.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-SOKS6XK2.js";
4
+ } from "./chunk-5VP6WPEI.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-O6TCROTE.js";
26
+ } from "./chunk-ZSVUZOMQ.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-OKS6I7T7.js";
32
+ } from "./chunk-TC2QG4U3.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-VS2DUTJ5.js";
35
+ } from "./chunk-P7IHQSCC.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-VRJJGXUE.js";
41
+ } from "./chunk-GSK2JRVW.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -66,7 +66,7 @@ import {
66
66
  registerPersistentOutcomeStoreFactory,
67
67
  resolveClassGuardMs,
68
68
  resolveVoteTimeout
69
- } from "./chunk-AVYTX7JQ.js";
69
+ } from "./chunk-6OPLDOJG.js";
70
70
  import {
71
71
  ensureLearningDir,
72
72
  getOutcomesFile
@@ -6261,7 +6261,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6261
6261
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6262
6262
  async function runContrarianCheck(proposal, log) {
6263
6263
  try {
6264
- const { executeExpert } = await import("./expert-bridge-VYB4C7C5.js");
6264
+ const { executeExpert } = await import("./expert-bridge-XIFIEXQM.js");
6265
6265
  const prompt = [
6266
6266
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
6267
6267
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6848,4 +6848,4 @@ export {
6848
6848
  CONSENSUS_VOTE_TOOL_SCHEMA,
6849
6849
  registerConsensusVoteTool
6850
6850
  };
6851
- //# sourceMappingURL=chunk-FTIJ4V4A.js.map
6851
+ //# sourceMappingURL=chunk-YZN2UFYB.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-RXJHAUJY.js";
3
+ } from "./chunk-XUTX54BU.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-ZSNWRX2B.js";
6
+ } from "./chunk-OOGKQTDN.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-AVYTX7JQ.js";
22
+ } from "./chunk-6OPLDOJG.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-OGHEKPLD.js";
@@ -2135,4 +2135,4 @@ export {
2135
2135
  VOTING_THRESHOLDS,
2136
2136
  ConsensusMetricsSchema
2137
2137
  };
2138
- //# sourceMappingURL=chunk-O6TCROTE.js.map
2138
+ //# sourceMappingURL=chunk-ZSVUZOMQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-AKOBOCUB.js";
4
+ } from "./chunk-K4OBRS4D.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,20 +11,20 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-C2LEM7RD.js";
14
+ } from "./chunk-FU45UMX5.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-ZSNWRX2B.js";
17
+ } from "./chunk-OOGKQTDN.js";
18
18
  import {
19
19
  hasToken
20
- } from "./chunk-3IDYJL2Y.js";
20
+ } from "./chunk-FWBR6DZO.js";
21
21
  import {
22
22
  CLI_SUBPROCESS_TIMEOUTS,
23
23
  createLogger,
24
24
  err,
25
25
  getTimeProvider,
26
26
  ok
27
- } from "./chunk-AVYTX7JQ.js";
27
+ } from "./chunk-6OPLDOJG.js";
28
28
 
29
29
  // src/security/trust-classifier.ts
30
30
  function mapAuthorAssociation(association) {
@@ -1247,4 +1247,4 @@ export {
1247
1247
  IssueTriage,
1248
1248
  createIssueTriage
1249
1249
  };
1250
- //# sourceMappingURL=chunk-QNF6NAQ3.js.map
1250
+ //# sourceMappingURL=chunk-ZXTOZ7B3.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-KG752W6G.js";
7
- import "./chunk-AVYTX7JQ.js";
6
+ } from "./chunk-FDWB4PUV.js";
7
+ import "./chunk-6OPLDOJG.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-UFQZZVAB.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-YEQKBXCN.js.map
package/dist/cli.js CHANGED
@@ -18,11 +18,11 @@ import {
18
18
  generateSummary,
19
19
  parseFindings,
20
20
  sumFindings
21
- } from "./chunk-WIYDV6ZY.js";
22
- import "./chunk-VHB3L7H7.js";
21
+ } from "./chunk-Q36RQS7J.js";
22
+ import "./chunk-TIOXRJK3.js";
23
23
  import {
24
24
  runConfigInitSync
25
- } from "./chunk-KQPEECXT.js";
25
+ } from "./chunk-GTMJPNPR.js";
26
26
  import {
27
27
  AuthHandler,
28
28
  CustomExpertDefinitionSchema,
@@ -152,8 +152,8 @@ import {
152
152
  validateNexusEnv,
153
153
  validateWorkflow,
154
154
  wrapInMarkdownFence
155
- } from "./chunk-26PZ2652.js";
156
- import "./chunk-W7ITYRY2.js";
155
+ } from "./chunk-326RCKE2.js";
156
+ import "./chunk-JOY5IRVR.js";
157
157
  import "./chunk-HFOQKCD2.js";
158
158
  import "./chunk-RSMG2DPB.js";
159
159
  import {
@@ -171,14 +171,14 @@ import {
171
171
  doctorCommand,
172
172
  initDataDirectories,
173
173
  runDoctor
174
- } from "./chunk-OLCMDKQE.js";
174
+ } from "./chunk-IJLWQ4Y3.js";
175
175
  import {
176
176
  buildOpenAICompatAdapters,
177
177
  readOpenAICompatEnv
178
- } from "./chunk-VZM7YQZL.js";
178
+ } from "./chunk-R66FJKP4.js";
179
179
  import {
180
180
  shutdownExpertBridge
181
- } from "./chunk-WTQEMR7D.js";
181
+ } from "./chunk-5MQPSHIG.js";
182
182
  import {
183
183
  ConsensusVoteInputSchema,
184
184
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -190,29 +190,29 @@ import {
190
190
  recordAuthenticVote,
191
191
  registerConsensusVoteTool,
192
192
  toRecordDecision
193
- } from "./chunk-FTIJ4V4A.js";
193
+ } from "./chunk-YZN2UFYB.js";
194
194
  import {
195
195
  loadUsageEvents,
196
196
  rollupByModel
197
- } from "./chunk-SOKS6XK2.js";
197
+ } from "./chunk-5VP6WPEI.js";
198
198
  import {
199
199
  allOf,
200
200
  anyOf
201
201
  } from "./chunk-OQB3XC5O.js";
202
202
  import {
203
203
  synthesizeResearch
204
- } from "./chunk-77VDRUFK.js";
204
+ } from "./chunk-GFDE5IAZ.js";
205
205
  import {
206
206
  classifyTrust,
207
207
  createFullGitHubProvider,
208
208
  evaluatePolicy,
209
209
  parsePRUrl
210
- } from "./chunk-QNF6NAQ3.js";
211
- import "./chunk-AKOBOCUB.js";
210
+ } from "./chunk-ZXTOZ7B3.js";
211
+ import "./chunk-K4OBRS4D.js";
212
212
  import {
213
213
  ReputationCache,
214
214
  sanitizeInput
215
- } from "./chunk-C2LEM7RD.js";
215
+ } from "./chunk-FU45UMX5.js";
216
216
  import {
217
217
  ImprovementReviewInputSchema,
218
218
  calculateFitnessScore,
@@ -226,20 +226,20 @@ import {
226
226
  registerImprovementReviewTool,
227
227
  runImprovementReview,
228
228
  scanForSecrets
229
- } from "./chunk-AU6N4HZR.js";
229
+ } from "./chunk-T2KKAZTB.js";
230
230
  import {
231
231
  createDefaultPolicyFirewall,
232
232
  setGlobalPolicyFirewall,
233
233
  stagePolicyFirewallForRollout
234
- } from "./chunk-O6TCROTE.js";
234
+ } from "./chunk-ZSVUZOMQ.js";
235
235
  import {
236
236
  VERSION
237
- } from "./chunk-RXJHAUJY.js";
238
- import "./chunk-ZSNWRX2B.js";
237
+ } from "./chunk-XUTX54BU.js";
238
+ import "./chunk-OOGKQTDN.js";
239
239
  import {
240
240
  createUnifiedRegistry,
241
241
  getGlobalRegistry
242
- } from "./chunk-OKS6I7T7.js";
242
+ } from "./chunk-TC2QG4U3.js";
243
243
  import {
244
244
  CodebaseIndexSchema,
245
245
  PaperStatusSchema,
@@ -265,24 +265,24 @@ import {
265
265
  loadSourcesRegistry,
266
266
  rankDiscoveredItems,
267
267
  saveSourcesRegistry
268
- } from "./chunk-KYOVZ2QZ.js";
268
+ } from "./chunk-2I5BBD6U.js";
269
269
  import {
270
270
  loadPapersRegistry,
271
271
  loadTechniquesRegistry,
272
272
  savePapersRegistry
273
- } from "./chunk-Y4XI4RIB.js";
273
+ } from "./chunk-F67CLL5B.js";
274
274
  import {
275
275
  resolveToken
276
- } from "./chunk-3IDYJL2Y.js";
276
+ } from "./chunk-FWBR6DZO.js";
277
277
  import {
278
278
  MemoryError,
279
279
  shutdownToolMemory
280
- } from "./chunk-VS2DUTJ5.js";
280
+ } from "./chunk-P7IHQSCC.js";
281
281
  import {
282
282
  capitalize,
283
283
  capitalizeKebab
284
284
  } from "./chunk-6T3EPABN.js";
285
- import "./chunk-Q225TVYP.js";
285
+ import "./chunk-OCFY37TZ.js";
286
286
  import {
287
287
  BUILT_IN_EXPERTS
288
288
  } from "./chunk-YPNQPT2F.js";
@@ -295,19 +295,19 @@ import {
295
295
  isRecord,
296
296
  probeAllClis,
297
297
  readSubprocessDepth
298
- } from "./chunk-VRJJGXUE.js";
299
- import "./chunk-2P6GBKUN.js";
298
+ } from "./chunk-GSK2JRVW.js";
299
+ import "./chunk-ROCFIXAK.js";
300
300
  import {
301
301
  DEFAULTS
302
- } from "./chunk-EQRCOUJJ.js";
303
- import "./chunk-7TXO7LYE.js";
302
+ } from "./chunk-SY54YKTT.js";
303
+ import "./chunk-BGGS3PH2.js";
304
304
  import {
305
305
  nexusMkdtempSync
306
306
  } from "./chunk-4OW67KT2.js";
307
- import "./chunk-FWP5FZ7V.js";
307
+ import "./chunk-NDVKXAK5.js";
308
308
  import "./chunk-QZUG667L.js";
309
- import "./chunk-SZ6J4YY7.js";
310
- import "./chunk-KG752W6G.js";
309
+ import "./chunk-AS4B7KCT.js";
310
+ import "./chunk-FDWB4PUV.js";
311
311
  import {
312
312
  API_TIMEOUTS,
313
313
  AgentCapability,
@@ -384,7 +384,7 @@ import {
384
384
  validateTimeout,
385
385
  writeEmptyLine,
386
386
  writeLine
387
- } from "./chunk-AVYTX7JQ.js";
387
+ } from "./chunk-6OPLDOJG.js";
388
388
  import "./chunk-GBHJ37V3.js";
389
389
  import {
390
390
  applyPortableMode,
@@ -4423,7 +4423,7 @@ ${file.patch}
4423
4423
  violations: policyResult.violations
4424
4424
  });
4425
4425
  }
4426
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-4YANH63K.js");
4426
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-NL7YXDAO.js");
4427
4427
  const body = formatReviewComment2(result);
4428
4428
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4429
4429
  if (!postResult.ok) {
@@ -12183,7 +12183,9 @@ function computeSummary(models, banditProgress, feedbackLoop) {
12183
12183
  const overallSuccessRate = models.length > 0 ? models.reduce((sum, m) => sum + m.successRate * m.selectionPercent, 0) / 100 : 0;
12184
12184
  const avgReward = feedbackLoop.avgReward;
12185
12185
  let learningStatus;
12186
- if (banditProgress.explorationRatio > 0.6) {
12186
+ if (banditProgress.totalPulls === 0) {
12187
+ learningStatus = "unmeasured";
12188
+ } else if (banditProgress.explorationRatio > 0.6) {
12187
12189
  learningStatus = "exploring";
12188
12190
  } else if (banditProgress.explorationRatio < 0.3) {
12189
12191
  learningStatus = "exploiting";
@@ -12211,9 +12213,9 @@ function formatHeader3(result) {
12211
12213
  function formatSummary2(result) {
12212
12214
  const lines = [];
12213
12215
  lines.push(boxLine(color(" Summary:", ANSI3.bold)));
12214
- const statusEmoji = result.summary.learningStatus === "exploring" ? color("\u26A1", ANSI3.yellow) : result.summary.learningStatus === "exploiting" ? color("\u2713", ANSI3.green) : color("\u25CE", ANSI3.blue);
12215
- const status = `${statusEmoji} Learning Status: ${result.summary.learningStatus}`;
12216
- lines.push(boxLine(` ${status}`));
12216
+ const statusEmoji = result.summary.learningStatus === "unmeasured" ? color("?", ANSI3.dim) : result.summary.learningStatus === "exploring" ? color("\u26A1", ANSI3.yellow) : result.summary.learningStatus === "exploiting" ? color("\u2713", ANSI3.green) : color("\u25CE", ANSI3.blue);
12217
+ const statusText = result.summary.learningStatus === "unmeasured" ? "unmeasured (no routing decisions recorded)" : result.summary.learningStatus;
12218
+ lines.push(boxLine(` ${statusEmoji} Learning Status: ${statusText}`));
12217
12219
  const routings = result.summary.totalRoutings.toLocaleString();
12218
12220
  lines.push(boxLine(` Total Routings: ${routings}`));
12219
12221
  const successRate = formatPercentage(result.summary.overallSuccessRate, 1);
@@ -19553,7 +19555,7 @@ function startImprovementReviewScheduler(options) {
19553
19555
  let running = false;
19554
19556
  const runOnce = async () => {
19555
19557
  try {
19556
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-NVIZXYSX.js");
19558
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-4KMYPNSZ.js");
19557
19559
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19558
19560
  const result = await runImprovementReview2(input, { logger: logger22 });
19559
19561
  logger22.info("Scheduled improvement_review complete", {
@@ -21638,7 +21640,7 @@ function adaptConfigToLibrary(config) {
21638
21640
  }
21639
21641
  function createBeliefPromoter() {
21640
21642
  return async (event) => {
21641
- const { getToolMemory } = await import("./tool-memory-NJ5B3U27.js");
21643
+ const { getToolMemory } = await import("./tool-memory-DYW3QKJZ.js");
21642
21644
  const tm = getToolMemory();
21643
21645
  await tm.recordBelief(
21644
21646
  `skill:${event.name}`,
@@ -22859,7 +22861,7 @@ async function handleResearchCommand(args) {
22859
22861
  }
22860
22862
  }
22861
22863
  async function handleRegistryCommand(args) {
22862
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-KZDEZNUE.js");
22864
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-UBUAESO2.js");
22863
22865
  const subcommand = args.subcommand;
22864
22866
  if (!isValidRegistrySubcommand(subcommand)) {
22865
22867
  process.stdout.write(`${formatRegistryUsage()}
@@ -22907,12 +22909,12 @@ async function handleVerifyCommand(args) {
22907
22909
  async function handleDoctorCommand(args) {
22908
22910
  const exitCode = await doctorCommand({ fix: args.options.fix });
22909
22911
  if (args.options.deep) {
22910
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-XEJ7JXQI.js");
22912
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-ECI74ALB.js");
22911
22913
  const diag = runDeepDiagnostics2();
22912
22914
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22913
22915
  }
22914
22916
  if (args.options.live) {
22915
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-4VAU6HLF.js");
22917
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-OBEZKBNU.js");
22916
22918
  const report = await runLiveReadiness();
22917
22919
  process.stdout.write(formatLiveReadiness(report) + "\n");
22918
22920
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -22965,7 +22967,7 @@ async function runInitPortableFlow(args) {
22965
22967
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
22966
22968
  }
22967
22969
  async function runInitOpencodeFlow(args) {
22968
- const { runInitOpencode } = await import("./init-opencode-5PUDYNKQ.js");
22970
+ const { runInitOpencode } = await import("./init-opencode-SIT4DIQ4.js");
22969
22971
  const opencodePath = args.options.opencode;
22970
22972
  if (opencodePath === void 0 || opencodePath === "") {
22971
22973
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -22991,7 +22993,7 @@ async function runInitOpencodeFlow(args) {
22991
22993
  return cliExit(EXIT_CODES.SUCCESS);
22992
22994
  }
22993
22995
  async function renderOpencodeValidate(opencodePath) {
22994
- const { runOpencodeValidate } = await import("./init-opencode-5PUDYNKQ.js");
22996
+ const { runOpencodeValidate } = await import("./init-opencode-SIT4DIQ4.js");
22995
22997
  const result = await runOpencodeValidate(opencodePath);
22996
22998
  if (!result.ok) {
22997
22999
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23030,7 +23032,7 @@ async function handleSetupCommandAsync(args) {
23030
23032
  return cliExitFromStatus(exitCode);
23031
23033
  }
23032
23034
  async function runCustomApiSetup(args) {
23033
- const { configureCustomApi } = await import("./setup-custom-api-5V5IQUMA.js");
23035
+ const { configureCustomApi } = await import("./setup-custom-api-JNLX5DPO.js");
23034
23036
  const baseUrl = args.options.customApi;
23035
23037
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23036
23038
  const input = {