nexus-agents 8.85.1 → 8.85.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 (125) hide show
  1. package/dist/{ast-rule-runner-LXMZIGCY.js → ast-rule-runner-GDCEI7BW.js} +3 -3
  2. package/dist/{child-mcp-config-OBHZQG2Q.js → child-mcp-config-HAXDNULH.js} +2 -2
  3. package/dist/{chunk-LEYBZKK2.js → chunk-23DTC2UV.js} +4 -4
  4. package/dist/{chunk-6Q7EYNH2.js → chunk-3EK4V5JS.js} +2 -2
  5. package/dist/{chunk-R5ASFO5P.js → chunk-4RHGZLKP.js} +2 -2
  6. package/dist/{chunk-CH2WD3MA.js → chunk-7L6KI365.js} +3 -3
  7. package/dist/{chunk-RSDKRBZC.js → chunk-7NLTUPYN.js} +2 -2
  8. package/dist/{chunk-RAY3WA5Q.js → chunk-ARWTQGSY.js} +9 -9
  9. package/dist/{chunk-JN42TCDE.js → chunk-B3PR26HR.js} +2 -2
  10. package/dist/{chunk-622UBOMB.js → chunk-CDHUCQ44.js} +10 -10
  11. package/dist/{chunk-UA6FZ2WV.js → chunk-FOODF33L.js} +4 -4
  12. package/dist/{chunk-BXOXALDW.js → chunk-GFFQHVSC.js} +2 -2
  13. package/dist/{chunk-6FXHSNXA.js → chunk-HSMW4KIV.js} +2 -2
  14. package/dist/{chunk-MYI5QMFW.js → chunk-IKLDY3HI.js} +48 -38
  15. package/dist/{chunk-MYI5QMFW.js.map → chunk-IKLDY3HI.js.map} +1 -1
  16. package/dist/{chunk-BW2MNDA3.js → chunk-ILGHDIYO.js} +2 -2
  17. package/dist/{chunk-NHLKZ3KC.js → chunk-JHNS5FYV.js} +2 -2
  18. package/dist/{chunk-KYUMXC7W.js → chunk-K6VACGLH.js} +3 -3
  19. package/dist/{chunk-DY5FNADP.js → chunk-KC3AZWVQ.js} +3 -3
  20. package/dist/{chunk-WRGNPNSZ.js → chunk-L3PGHZH7.js} +3 -3
  21. package/dist/{chunk-WUUZ5KH2.js → chunk-M6U6UHFA.js} +2 -2
  22. package/dist/{chunk-XRPHJNVB.js → chunk-NL7I35TJ.js} +4 -4
  23. package/dist/{chunk-BHLPPZZ6.js → chunk-P5BZ3DNM.js} +7 -7
  24. package/dist/{chunk-ZA627SSQ.js → chunk-PB4SXWBA.js} +2 -2
  25. package/dist/{chunk-45EJ4PBT.js → chunk-PBXABL7H.js} +2 -2
  26. package/dist/{chunk-IPWGHYXZ.js → chunk-QLYONNVR.js} +2 -2
  27. package/dist/{chunk-HFPR4I3U.js → chunk-TYHKIUUX.js} +2 -2
  28. package/dist/{chunk-FFUIQBDD.js → chunk-U33OOJOK.js} +2 -2
  29. package/dist/{chunk-UB7PB7GI.js → chunk-VYZRGIY5.js} +4 -4
  30. package/dist/{chunk-2EBCZOVZ.js → chunk-WIBR5HMY.js} +2 -2
  31. package/dist/{chunk-Y6QNLP5P.js → chunk-WKZSEYV7.js} +8 -8
  32. package/dist/{chunk-OBTPPT3M.js → chunk-WZRXZ6P2.js} +5 -5
  33. package/dist/{chunk-EX5EN5B6.js → chunk-XLYTLQAT.js} +2 -2
  34. package/dist/{chunk-7LGBEEKB.js → chunk-Y2ARXXPF.js} +2 -2
  35. package/dist/{chunk-HXOEF3YP.js → chunk-YGOTLETF.js} +17 -3
  36. package/dist/chunk-YGOTLETF.js.map +1 -0
  37. package/dist/{chunk-AKM6ILIM.js → chunk-Z33AE45S.js} +5 -5
  38. package/dist/{cli-circuit-breaker-GJWYQL6L.js → cli-circuit-breaker-TOE7GRYI.js} +3 -3
  39. package/dist/cli.js +62 -46
  40. package/dist/cli.js.map +1 -1
  41. package/dist/{composite-router-TL5XKK5X.js → composite-router-UD3FGSSS.js} +2 -2
  42. package/dist/{consensus-vote-EZ4SEHUH.js → consensus-vote-YW6LAIH7.js} +16 -16
  43. package/dist/{context-retriever-CC3W7XS6.js → context-retriever-CH3GEH2Z.js} +8 -8
  44. package/dist/{doctor-deep-XBJ5HS3B.js → doctor-deep-LMEUFKDA.js} +3 -3
  45. package/dist/{doctor-live-CNKTVDK6.js → doctor-live-O25NTC5D.js} +10 -10
  46. package/dist/{expert-bridge-YPVHOWFB.js → expert-bridge-ZQSYVUC2.js} +4 -4
  47. package/dist/{factory-JHBJB2O2.js → factory-O4U4BJFT.js} +9 -9
  48. package/dist/{factory-MRSIKSPG.js → factory-ZOM2QJPC.js} +5 -5
  49. package/dist/{improvement-review-IR7PWFHW.js → improvement-review-RL6VHCCY.js} +5 -5
  50. package/dist/index.js +30 -30
  51. package/dist/{init-opencode-FH2LR62J.js → init-opencode-RMMHBIQ2.js} +5 -5
  52. package/dist/issue-triage-DQAOBZEP.js +16 -0
  53. package/dist/{pr-reviewer-helpers-QG53KLXL.js → pr-reviewer-helpers-S53B7TYK.js} +4 -4
  54. package/dist/{registry-command-IX7IISYC.js → registry-command-TWHRKWDB.js} +2 -2
  55. package/dist/{repo-security-plan-FE2KXATO.js → repo-security-plan-HYJ7HTOS.js} +3 -3
  56. package/dist/{research-helpers-synthesize-TRAPPDBV.js → research-helpers-synthesize-G3WV7AHW.js} +4 -4
  57. package/dist/{routing-memory-IXTZH2LJ.js → routing-memory-HQTEZF2S.js} +2 -2
  58. package/dist/{session-memory-LG3G33MF.js → session-memory-M5MEGJJZ.js} +3 -3
  59. package/dist/{setup-config-HAIUEE4A.js → setup-config-L5QGPDH6.js} +3 -3
  60. package/dist/{setup-custom-api-437P3KVD.js → setup-custom-api-LRL6J7RN.js} +4 -4
  61. package/dist/setup-data-dir-WZXMTSDN.js +32 -0
  62. package/dist/{tool-memory-A7C3WO3Q.js → tool-memory-24PMDECK.js} +5 -5
  63. package/dist/{unified-registry-YF3B3PDU.js → unified-registry-NODUOBMA.js} +10 -10
  64. package/dist/{weather-report-NDQU55YN.js → weather-report-IGEXNIWL.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-HXOEF3YP.js.map +0 -1
  67. package/dist/issue-triage-TI6R4XZL.js +0 -16
  68. package/dist/setup-data-dir-CHOFWU5Y.js +0 -32
  69. /package/dist/{ast-rule-runner-LXMZIGCY.js.map → ast-rule-runner-GDCEI7BW.js.map} +0 -0
  70. /package/dist/{child-mcp-config-OBHZQG2Q.js.map → child-mcp-config-HAXDNULH.js.map} +0 -0
  71. /package/dist/{chunk-LEYBZKK2.js.map → chunk-23DTC2UV.js.map} +0 -0
  72. /package/dist/{chunk-6Q7EYNH2.js.map → chunk-3EK4V5JS.js.map} +0 -0
  73. /package/dist/{chunk-R5ASFO5P.js.map → chunk-4RHGZLKP.js.map} +0 -0
  74. /package/dist/{chunk-CH2WD3MA.js.map → chunk-7L6KI365.js.map} +0 -0
  75. /package/dist/{chunk-RSDKRBZC.js.map → chunk-7NLTUPYN.js.map} +0 -0
  76. /package/dist/{chunk-RAY3WA5Q.js.map → chunk-ARWTQGSY.js.map} +0 -0
  77. /package/dist/{chunk-JN42TCDE.js.map → chunk-B3PR26HR.js.map} +0 -0
  78. /package/dist/{chunk-622UBOMB.js.map → chunk-CDHUCQ44.js.map} +0 -0
  79. /package/dist/{chunk-UA6FZ2WV.js.map → chunk-FOODF33L.js.map} +0 -0
  80. /package/dist/{chunk-BXOXALDW.js.map → chunk-GFFQHVSC.js.map} +0 -0
  81. /package/dist/{chunk-6FXHSNXA.js.map → chunk-HSMW4KIV.js.map} +0 -0
  82. /package/dist/{chunk-BW2MNDA3.js.map → chunk-ILGHDIYO.js.map} +0 -0
  83. /package/dist/{chunk-NHLKZ3KC.js.map → chunk-JHNS5FYV.js.map} +0 -0
  84. /package/dist/{chunk-KYUMXC7W.js.map → chunk-K6VACGLH.js.map} +0 -0
  85. /package/dist/{chunk-DY5FNADP.js.map → chunk-KC3AZWVQ.js.map} +0 -0
  86. /package/dist/{chunk-WRGNPNSZ.js.map → chunk-L3PGHZH7.js.map} +0 -0
  87. /package/dist/{chunk-WUUZ5KH2.js.map → chunk-M6U6UHFA.js.map} +0 -0
  88. /package/dist/{chunk-XRPHJNVB.js.map → chunk-NL7I35TJ.js.map} +0 -0
  89. /package/dist/{chunk-BHLPPZZ6.js.map → chunk-P5BZ3DNM.js.map} +0 -0
  90. /package/dist/{chunk-ZA627SSQ.js.map → chunk-PB4SXWBA.js.map} +0 -0
  91. /package/dist/{chunk-45EJ4PBT.js.map → chunk-PBXABL7H.js.map} +0 -0
  92. /package/dist/{chunk-IPWGHYXZ.js.map → chunk-QLYONNVR.js.map} +0 -0
  93. /package/dist/{chunk-HFPR4I3U.js.map → chunk-TYHKIUUX.js.map} +0 -0
  94. /package/dist/{chunk-FFUIQBDD.js.map → chunk-U33OOJOK.js.map} +0 -0
  95. /package/dist/{chunk-UB7PB7GI.js.map → chunk-VYZRGIY5.js.map} +0 -0
  96. /package/dist/{chunk-2EBCZOVZ.js.map → chunk-WIBR5HMY.js.map} +0 -0
  97. /package/dist/{chunk-Y6QNLP5P.js.map → chunk-WKZSEYV7.js.map} +0 -0
  98. /package/dist/{chunk-OBTPPT3M.js.map → chunk-WZRXZ6P2.js.map} +0 -0
  99. /package/dist/{chunk-EX5EN5B6.js.map → chunk-XLYTLQAT.js.map} +0 -0
  100. /package/dist/{chunk-7LGBEEKB.js.map → chunk-Y2ARXXPF.js.map} +0 -0
  101. /package/dist/{chunk-AKM6ILIM.js.map → chunk-Z33AE45S.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-GJWYQL6L.js.map → cli-circuit-breaker-TOE7GRYI.js.map} +0 -0
  103. /package/dist/{composite-router-TL5XKK5X.js.map → composite-router-UD3FGSSS.js.map} +0 -0
  104. /package/dist/{consensus-vote-EZ4SEHUH.js.map → consensus-vote-YW6LAIH7.js.map} +0 -0
  105. /package/dist/{context-retriever-CC3W7XS6.js.map → context-retriever-CH3GEH2Z.js.map} +0 -0
  106. /package/dist/{doctor-deep-XBJ5HS3B.js.map → doctor-deep-LMEUFKDA.js.map} +0 -0
  107. /package/dist/{doctor-live-CNKTVDK6.js.map → doctor-live-O25NTC5D.js.map} +0 -0
  108. /package/dist/{expert-bridge-YPVHOWFB.js.map → expert-bridge-ZQSYVUC2.js.map} +0 -0
  109. /package/dist/{factory-JHBJB2O2.js.map → factory-O4U4BJFT.js.map} +0 -0
  110. /package/dist/{factory-MRSIKSPG.js.map → factory-ZOM2QJPC.js.map} +0 -0
  111. /package/dist/{improvement-review-IR7PWFHW.js.map → improvement-review-RL6VHCCY.js.map} +0 -0
  112. /package/dist/{init-opencode-FH2LR62J.js.map → init-opencode-RMMHBIQ2.js.map} +0 -0
  113. /package/dist/{issue-triage-TI6R4XZL.js.map → issue-triage-DQAOBZEP.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-QG53KLXL.js.map → pr-reviewer-helpers-S53B7TYK.js.map} +0 -0
  115. /package/dist/{registry-command-IX7IISYC.js.map → registry-command-TWHRKWDB.js.map} +0 -0
  116. /package/dist/{repo-security-plan-FE2KXATO.js.map → repo-security-plan-HYJ7HTOS.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-TRAPPDBV.js.map → research-helpers-synthesize-G3WV7AHW.js.map} +0 -0
  118. /package/dist/{routing-memory-IXTZH2LJ.js.map → routing-memory-HQTEZF2S.js.map} +0 -0
  119. /package/dist/{session-memory-LG3G33MF.js.map → session-memory-M5MEGJJZ.js.map} +0 -0
  120. /package/dist/{setup-config-HAIUEE4A.js.map → setup-config-L5QGPDH6.js.map} +0 -0
  121. /package/dist/{setup-custom-api-437P3KVD.js.map → setup-custom-api-LRL6J7RN.js.map} +0 -0
  122. /package/dist/{setup-data-dir-CHOFWU5Y.js.map → setup-data-dir-WZXMTSDN.js.map} +0 -0
  123. /package/dist/{tool-memory-A7C3WO3Q.js.map → tool-memory-24PMDECK.js.map} +0 -0
  124. /package/dist/{unified-registry-YF3B3PDU.js.map → unified-registry-NODUOBMA.js.map} +0 -0
  125. /package/dist/{weather-report-NDQU55YN.js.map → weather-report-IGEXNIWL.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-R5ASFO5P.js";
13
- import "./chunk-HXOEF3YP.js";
12
+ } from "./chunk-4RHGZLKP.js";
13
+ import "./chunk-YGOTLETF.js";
14
14
  import "./chunk-4UHDDCRB.js";
15
15
  import "./chunk-RNDHNRSX.js";
16
16
  import "./chunk-PX6F3LHL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-LXMZIGCY.js.map
29
+ //# sourceMappingURL=ast-rule-runner-GDCEI7BW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HERI7LXN.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-HXOEF3YP.js";
6
+ } from "./chunk-YGOTLETF.js";
7
7
  import "./chunk-4UHDDCRB.js";
8
8
  import "./chunk-RNDHNRSX.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -56,4 +56,4 @@ async function generateMcpConfig(options) {
56
56
  export {
57
57
  generateMcpConfig
58
58
  };
59
- //# sourceMappingURL=child-mcp-config-OBHZQG2Q.js.map
59
+ //# sourceMappingURL=child-mcp-config-HAXDNULH.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-WUUZ5KH2.js";
4
+ } from "./chunk-M6U6UHFA.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-2EBCZOVZ.js";
7
+ } from "./chunk-WIBR5HMY.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-HXOEF3YP.js";
11
+ } from "./chunk-YGOTLETF.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-LEYBZKK2.js.map
44
+ //# sourceMappingURL=chunk-23DTC2UV.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-HXOEF3YP.js";
7
+ } from "./chunk-YGOTLETF.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -740,4 +740,4 @@ export {
740
740
  generateSecurityPlan,
741
741
  buildPlanFromAnalysis
742
742
  };
743
- //# sourceMappingURL=chunk-6Q7EYNH2.js.map
743
+ //# sourceMappingURL=chunk-3EK4V5JS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  ValidationError,
4
4
  createLogger,
5
5
  formatZodError
6
- } from "./chunk-HXOEF3YP.js";
6
+ } from "./chunk-YGOTLETF.js";
7
7
 
8
8
  // src/security/ast-rule-runner.ts
9
9
  import { existsSync } from "node:fs";
@@ -241,4 +241,4 @@ export {
241
241
  collectAstQaFindings,
242
242
  runAstQaRules
243
243
  };
244
- //# sourceMappingURL=chunk-R5ASFO5P.js.map
244
+ //# sourceMappingURL=chunk-4RHGZLKP.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-ZA627SSQ.js";
13
+ } from "./chunk-PB4SXWBA.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-HXOEF3YP.js";
19
+ } from "./chunk-YGOTLETF.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-CH2WD3MA.js.map
419
+ //# sourceMappingURL=chunk-7L6KI365.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-HXOEF3YP.js";
16
+ } from "./chunk-YGOTLETF.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-RSDKRBZC.js.map
837
+ //# sourceMappingURL=chunk-7NLTUPYN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isGatewayModelAdapter
3
- } from "./chunk-XRPHJNVB.js";
3
+ } from "./chunk-NL7I35TJ.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
@@ -25,20 +25,20 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-KYUMXC7W.js";
28
+ } from "./chunk-K6VACGLH.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-BW2MNDA3.js";
31
+ } from "./chunk-ILGHDIYO.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
35
35
  countDistinctModels,
36
36
  createEvent,
37
37
  getGlobalRegistry
38
- } from "./chunk-UA6FZ2WV.js";
38
+ } from "./chunk-FOODF33L.js";
39
39
  import {
40
40
  getToolMemory
41
- } from "./chunk-UB7PB7GI.js";
41
+ } from "./chunk-VYZRGIY5.js";
42
42
  import {
43
43
  authRemediation,
44
44
  classifyExtractedError,
@@ -48,7 +48,7 @@ import {
48
48
  isTimeoutText,
49
49
  sleep,
50
50
  withTimeout
51
- } from "./chunk-Y6QNLP5P.js";
51
+ } from "./chunk-WKZSEYV7.js";
52
52
  import {
53
53
  sanitizeErrorDetails,
54
54
  sanitizeOutput
@@ -88,7 +88,7 @@ import {
88
88
  resolveClassGuardMs,
89
89
  resolveVoteTimeout,
90
90
  stepBus
91
- } from "./chunk-HXOEF3YP.js";
91
+ } from "./chunk-YGOTLETF.js";
92
92
  import {
93
93
  ensureLearningDir,
94
94
  getOutcomesFile
@@ -6435,7 +6435,7 @@ function logPartialProposal(bounded, log) {
6435
6435
  }
6436
6436
  async function runContrarianCheck(proposal, log, opts) {
6437
6437
  try {
6438
- const { executeExpert } = await import("./expert-bridge-YPVHOWFB.js");
6438
+ const { executeExpert } = await import("./expert-bridge-ZQSYVUC2.js");
6439
6439
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6440
6440
  logPartialProposal(bounded, log);
6441
6441
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -9543,4 +9543,4 @@ export {
9543
9543
  CONSENSUS_VOTE_TOOL_SCHEMA,
9544
9544
  registerConsensusVoteTool
9545
9545
  };
9546
- //# sourceMappingURL=chunk-RAY3WA5Q.js.map
9546
+ //# sourceMappingURL=chunk-ARWTQGSY.js.map
@@ -7,7 +7,7 @@ import {
7
7
  createLogger,
8
8
  err,
9
9
  ok
10
- } from "./chunk-HXOEF3YP.js";
10
+ } from "./chunk-YGOTLETF.js";
11
11
 
12
12
  // src/adapters/sdk/gateway-env.ts
13
13
  function readTrimmed(env, name) {
@@ -315,4 +315,4 @@ export {
315
315
  validateCustomApiBaseUrl,
316
316
  assertCustomApiHostResolvesPublic
317
317
  };
318
- //# sourceMappingURL=chunk-JN42TCDE.js.map
318
+ //# sourceMappingURL=chunk-B3PR26HR.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SERVES_PROBE_PROMPT
3
- } from "./chunk-BXOXALDW.js";
3
+ } from "./chunk-GFFQHVSC.js";
4
4
  import {
5
5
  readOpenAICompatEndpoint,
6
6
  readOpenAICompatEnv
7
- } from "./chunk-XRPHJNVB.js";
7
+ } from "./chunk-NL7I35TJ.js";
8
8
  import {
9
9
  allOf
10
10
  } from "./chunk-OQB3XC5O.js";
@@ -12,10 +12,10 @@ import {
12
12
  NODE_ENGINE_RANGE,
13
13
  VERSION,
14
14
  isNodeVersionSupported
15
- } from "./chunk-BW2MNDA3.js";
15
+ } from "./chunk-ILGHDIYO.js";
16
16
  import {
17
17
  claimGlobalRegistry
18
- } from "./chunk-UA6FZ2WV.js";
18
+ } from "./chunk-FOODF33L.js";
19
19
  import {
20
20
  capitalize
21
21
  } from "./chunk-7LP6VJRP.js";
@@ -26,10 +26,10 @@ import {
26
26
  codexMcpServerAvailable,
27
27
  createAllAdapters,
28
28
  probeCli
29
- } from "./chunk-Y6QNLP5P.js";
29
+ } from "./chunk-WKZSEYV7.js";
30
30
  import {
31
31
  resolveGatewayEnv
32
- } from "./chunk-JN42TCDE.js";
32
+ } from "./chunk-B3PR26HR.js";
33
33
  import {
34
34
  getNexusTmpDir
35
35
  } from "./chunk-HERI7LXN.js";
@@ -57,7 +57,7 @@ import {
57
57
  resolveGatewayCostDeclaration,
58
58
  symbols,
59
59
  writeLine
60
- } from "./chunk-HXOEF3YP.js";
60
+ } from "./chunk-YGOTLETF.js";
61
61
  import {
62
62
  getLearningDir,
63
63
  getOutcomesFile,
@@ -1372,13 +1372,13 @@ async function runDoctorFix(result) {
1372
1372
  writeLine2("\u2500".repeat(40));
1373
1373
  let fixCount = 0;
1374
1374
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1375
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-CHOFWU5Y.js");
1375
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-WZXMTSDN.js");
1376
1376
  const outcome = describeDataDirFix2(initDataDirectories2());
1377
1377
  writeLine2(outcome.line);
1378
1378
  if (outcome.counted) fixCount++;
1379
1379
  }
1380
1380
  if (!result.configFile.found) {
1381
- const { runConfigInitSync } = await import("./setup-config-HAIUEE4A.js");
1381
+ const { runConfigInitSync } = await import("./setup-config-L5QGPDH6.js");
1382
1382
  const configResult = runConfigInitSync(process.cwd(), false, false);
1383
1383
  if (configResult.success && configResult.created) {
1384
1384
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1474,4 +1474,4 @@ export {
1474
1474
  startStdioServer,
1475
1475
  closeServer
1476
1476
  };
1477
- //# sourceMappingURL=chunk-622UBOMB.js.map
1477
+ //# sourceMappingURL=chunk-CDHUCQ44.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-Y6QNLP5P.js";
3
+ } from "./chunk-WKZSEYV7.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-NHLKZ3KC.js";
7
+ } from "./chunk-JHNS5FYV.js";
8
8
  import {
9
9
  CircularBuffer,
10
10
  ConfigError,
@@ -28,7 +28,7 @@ import {
28
28
  resolveModelIdentitySync,
29
29
  toRateLimitError,
30
30
  warnIfGatewayCostUndeclared
31
- } from "./chunk-HXOEF3YP.js";
31
+ } from "./chunk-YGOTLETF.js";
32
32
 
33
33
  // src/config/model-equivalence.ts
34
34
  function canonicalModelKey(modelId) {
@@ -975,4 +975,4 @@ export {
975
975
  getGlobalRegistry,
976
976
  resetGlobalRegistry
977
977
  };
978
- //# sourceMappingURL=chunk-UA6FZ2WV.js.map
978
+ //# sourceMappingURL=chunk-FOODF33L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveClassGuardMs
3
- } from "./chunk-HXOEF3YP.js";
3
+ } from "./chunk-YGOTLETF.js";
4
4
 
5
5
  // src/cli/cli-readiness.ts
6
6
  var READINESS_LEVELS = ["installed", "authenticated", "serves"];
@@ -90,4 +90,4 @@ export {
90
90
  SERVES_PROBE_PROMPT,
91
91
  probeServes
92
92
  };
93
- //# sourceMappingURL=chunk-BXOXALDW.js.map
93
+ //# sourceMappingURL=chunk-GFFQHVSC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-HXOEF3YP.js";
3
+ } from "./chunk-YGOTLETF.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-6FXHSNXA.js.map
80
+ //# sourceMappingURL=chunk-HSMW4KIV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-6Q7EYNH2.js";
3
+ } from "./chunk-3EK4V5JS.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-4GDMHCKX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-622UBOMB.js";
24
+ } from "./chunk-CDHUCQ44.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-BHLPPZZ6.js";
27
+ } from "./chunk-P5BZ3DNM.js";
28
28
  import {
29
29
  DEPRECATED_MODE_ALIAS_INPUT,
30
30
  JobStatusSchema,
@@ -72,7 +72,7 @@ import {
72
72
  updateStage,
73
73
  withWarnings,
74
74
  writeJobCancelled
75
- } from "./chunk-RAY3WA5Q.js";
75
+ } from "./chunk-ARWTQGSY.js";
76
76
  import {
77
77
  allOf,
78
78
  anyOf
@@ -80,7 +80,7 @@ import {
80
80
  import {
81
81
  normalizeTopicToCanonical,
82
82
  synthesizeResearch
83
- } from "./chunk-DY5FNADP.js";
83
+ } from "./chunk-KC3AZWVQ.js";
84
84
  import {
85
85
  IssueTriage,
86
86
  createAuditTrail,
@@ -89,13 +89,13 @@ import {
89
89
  createGraphAuditBridge,
90
90
  emitPipelinePolicyEvent,
91
91
  readActionRefusal
92
- } from "./chunk-AKM6ILIM.js";
92
+ } from "./chunk-Z33AE45S.js";
93
93
  import {
94
94
  sanitizeInput
95
- } from "./chunk-ZA627SSQ.js";
95
+ } from "./chunk-PB4SXWBA.js";
96
96
  import {
97
97
  withPrerequisite
98
- } from "./chunk-WRGNPNSZ.js";
98
+ } from "./chunk-L3PGHZH7.js";
99
99
  import {
100
100
  NOOP_NOTIFIER,
101
101
  RateLimiter,
@@ -120,14 +120,14 @@ import {
120
120
  toolSuccessStructured,
121
121
  withProgressHeartbeat,
122
122
  wrapToolWithTimeout
123
- } from "./chunk-KYUMXC7W.js";
123
+ } from "./chunk-K6VACGLH.js";
124
124
  import {
125
125
  EventTopics,
126
126
  UNRESOLVED_MODEL_ID,
127
127
  createEvent,
128
128
  getGlobalEventBus,
129
129
  getGlobalRegistry
130
- } from "./chunk-UA6FZ2WV.js";
130
+ } from "./chunk-FOODF33L.js";
131
131
  import {
132
132
  IDENTIFIER_RE,
133
133
  LANG_VALUES,
@@ -160,7 +160,7 @@ import {
160
160
  parseRegistry,
161
161
  sourceExistsInRegistry,
162
162
  summarizeContextForPrompt
163
- } from "./chunk-OBTPPT3M.js";
163
+ } from "./chunk-WZRXZ6P2.js";
164
164
  import {
165
165
  REGISTRY_PATH,
166
166
  getProjectRoot,
@@ -168,25 +168,25 @@ import {
168
168
  loadTechniquesRegistry,
169
169
  resolveInsideRoot,
170
170
  resolveRegistryRoot
171
- } from "./chunk-FFUIQBDD.js";
171
+ } from "./chunk-U33OOJOK.js";
172
172
  import {
173
173
  getTokenEnvVars,
174
174
  resolveToken
175
- } from "./chunk-2EBCZOVZ.js";
175
+ } from "./chunk-WIBR5HMY.js";
176
176
  import {
177
177
  DEFAULT_RELEVANCE_CONFIG,
178
178
  MemoryImportance,
179
179
  MemoryType,
180
180
  calculateTextJaccardSimilarity,
181
181
  getToolMemory
182
- } from "./chunk-UB7PB7GI.js";
182
+ } from "./chunk-VYZRGIY5.js";
183
183
  import {
184
184
  STOPWORDS,
185
185
  truncateWithInfo
186
186
  } from "./chunk-7LP6VJRP.js";
187
187
  import {
188
188
  createSessionMemory
189
- } from "./chunk-IPWGHYXZ.js";
189
+ } from "./chunk-QLYONNVR.js";
190
190
  import {
191
191
  BUILT_IN_EXPERTS,
192
192
  BuiltInExpertTypeSchema,
@@ -204,24 +204,24 @@ import {
204
204
  getAvailableClis,
205
205
  sleep,
206
206
  withTimeout
207
- } from "./chunk-Y6QNLP5P.js";
207
+ } from "./chunk-WKZSEYV7.js";
208
208
  import {
209
209
  BaseAdapter,
210
210
  createStream,
211
211
  requireApiKey,
212
212
  validateApiKeyPresence
213
- } from "./chunk-RSDKRBZC.js";
213
+ } from "./chunk-7NLTUPYN.js";
214
214
  import {
215
215
  DEFAULTS
216
- } from "./chunk-7LGBEEKB.js";
216
+ } from "./chunk-Y2ARXXPF.js";
217
217
  import {
218
218
  resolveGatewayEnv
219
- } from "./chunk-JN42TCDE.js";
219
+ } from "./chunk-B3PR26HR.js";
220
220
  import {
221
221
  getAvailabilityCache,
222
222
  getCliForModelId,
223
223
  resolveFallback
224
- } from "./chunk-45EJ4PBT.js";
224
+ } from "./chunk-PBXABL7H.js";
225
225
  import {
226
226
  sanitizeErrorDetails
227
227
  } from "./chunk-2NDA4DHW.js";
@@ -233,13 +233,14 @@ import {
233
233
  import {
234
234
  generateHyphenId,
235
235
  generateUUID
236
- } from "./chunk-HFPR4I3U.js";
236
+ } from "./chunk-TYHKIUUX.js";
237
237
  import {
238
238
  AGENT_ROUTER_TIMEOUTS,
239
239
  API_TIMEOUTS,
240
240
  ARCHITECTURE_KEYWORDS,
241
241
  AUTHORITY_TIERS,
242
242
  AgentError,
243
+ BANDIT_INTERCEPT_NOTE,
243
244
  CLI_NAMES,
244
245
  CLI_SUBPROCESS_TIMEOUTS,
245
246
  CliNameSchema,
@@ -304,6 +305,7 @@ import {
304
305
  extractJsonArray,
305
306
  findCanonicalModel,
306
307
  findMatchingKeyword,
308
+ formatBanditFeatureLabel,
307
309
  formatPercentage,
308
310
  formatZodError,
309
311
  formatZodIssuesAsArray,
@@ -329,6 +331,7 @@ import {
329
331
  getStrategyManifest,
330
332
  getTimeProvider,
331
333
  getTokenEstimator,
334
+ isBanditInterceptFeature,
332
335
  isErr,
333
336
  isRateLimitLikeError,
334
337
  lookupInTreeCapability,
@@ -346,7 +349,7 @@ import {
346
349
  selectStrategyByManifest,
347
350
  toExpertTaskAnalysisResult,
348
351
  withStep
349
- } from "./chunk-HXOEF3YP.js";
352
+ } from "./chunk-YGOTLETF.js";
350
353
  import {
351
354
  ensureLearningDir,
352
355
  getMetaOutcomesFile,
@@ -27793,9 +27796,14 @@ function renderLearningProgress2(progress, options) {
27793
27796
  if (options.showFeatureImportance === true && progress.featureImportance.length > 0) {
27794
27797
  lines.push("");
27795
27798
  lines.push("Top Features:");
27796
- for (const fi of progress.featureImportance.slice(0, 5)) {
27799
+ const shown = progress.featureImportance.slice(0, 5);
27800
+ for (const fi of shown) {
27797
27801
  const bar = renderProgressBar(fi.importance, 1);
27798
- lines.push(` ${fi.feature.padEnd(20)} ${bar} ${fi.importance.toFixed(3)}`);
27802
+ const label = formatBanditFeatureLabel(fi.feature);
27803
+ lines.push(` ${label.padEnd(20)} ${bar} ${fi.importance.toFixed(3)}`);
27804
+ }
27805
+ if (shown.some((fi) => isBanditInterceptFeature(fi.feature))) {
27806
+ lines.push(` ${BANDIT_INTERCEPT_NOTE}`);
27799
27807
  }
27800
27808
  }
27801
27809
  return lines.join("\n");
@@ -30297,7 +30305,7 @@ function execIdFields(executionId) {
30297
30305
  async function populateUnifiedContextOnState(state, options) {
30298
30306
  const taskCandidate = state["task"];
30299
30307
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30300
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-CC3W7XS6.js");
30308
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-CH3GEH2Z.js");
30301
30309
  const category = inferTaskCategory2(taskCandidate);
30302
30310
  const executionId = options?.executionId;
30303
30311
  const execFields = execIdFields(executionId);
@@ -45724,7 +45732,7 @@ async function tryIssueTriage(task) {
45724
45732
  try {
45725
45733
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45726
45734
  if (issueMatch === null) return null;
45727
- const { createIssueTriage } = await import("./issue-triage-TI6R4XZL.js");
45735
+ const { createIssueTriage } = await import("./issue-triage-DQAOBZEP.js");
45728
45736
  const triage = createIssueTriage();
45729
45737
  const owner = issueMatch[1] ?? "";
45730
45738
  const num2 = issueMatch[2] ?? "";
@@ -45752,7 +45760,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45752
45760
  ]);
45753
45761
  async function classifyWithLLM(task) {
45754
45762
  try {
45755
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-YPVHOWFB.js");
45763
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZQSYVUC2.js");
45756
45764
  const prompt = [
45757
45765
  "Classify this task into exactly one pipeline template.",
45758
45766
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46126,7 +46134,7 @@ function buildVotingInput(plan, config) {
46126
46134
  }
46127
46135
  async function executeSingleVote(plan, config, log) {
46128
46136
  try {
46129
- const { executeVoting } = await import("./consensus-vote-EZ4SEHUH.js");
46137
+ const { executeVoting } = await import("./consensus-vote-YW6LAIH7.js");
46130
46138
  const input = buildVotingInput(plan, config);
46131
46139
  const result = await executeVoting(input, log);
46132
46140
  return parseVotingResult(result);
@@ -46830,7 +46838,7 @@ var memoryInitPromise = null;
46830
46838
  async function initPipelineMemory() {
46831
46839
  if (cachedMemory !== null) return cachedMemory;
46832
46840
  try {
46833
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LG3G33MF.js");
46841
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M5MEGJJZ.js");
46834
46842
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
46835
46843
  const mem = createSessionMemory2(getLearningDir());
46836
46844
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -46892,7 +46900,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
46892
46900
  callRecord(routingMemoryCache);
46893
46901
  return;
46894
46902
  }
46895
- routingMemoryInitPromise ??= import("./routing-memory-IXTZH2LJ.js").then(({ createRoutingMemory }) => {
46903
+ routingMemoryInitPromise ??= import("./routing-memory-HQTEZF2S.js").then(({ createRoutingMemory }) => {
46896
46904
  routingMemoryCache ??= createRoutingMemory();
46897
46905
  return routingMemoryCache;
46898
46906
  }).catch((error) => {
@@ -47049,7 +47057,7 @@ function createVoteStage({ config, startStage }) {
47049
47057
  const strategy = config.votingStrategy ?? "higher_order";
47050
47058
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47051
47059
  try {
47052
- const { executeVoting } = await import("./consensus-vote-EZ4SEHUH.js");
47060
+ const { executeVoting } = await import("./consensus-vote-YW6LAIH7.js");
47053
47061
  const votingResult = await executeVoting(
47054
47062
  {
47055
47063
  proposal: buildVoteProposal(plan, research),
@@ -47808,7 +47816,7 @@ ${text}` : "";
47808
47816
  }
47809
47817
  async function getWeatherContext() {
47810
47818
  try {
47811
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-NDQU55YN.js");
47819
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-IGEXNIWL.js");
47812
47820
  const report = generateWeatherReport2({ includeAdaptive: true });
47813
47821
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47814
47822
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47826,7 +47834,7 @@ ${lines}
47826
47834
  }
47827
47835
  async function getMemoryContext(task) {
47828
47836
  try {
47829
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LG3G33MF.js");
47837
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M5MEGJJZ.js");
47830
47838
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47831
47839
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47832
47840
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -48393,7 +48401,7 @@ async function searchCodebaseForTask(task) {
48393
48401
  }
48394
48402
  async function queryResearchRegistry(task) {
48395
48403
  try {
48396
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-TRAPPDBV.js");
48404
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-G3WV7AHW.js");
48397
48405
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48398
48406
  if (topic === void 0) return null;
48399
48407
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48464,7 +48472,7 @@ function createScanStageWrapper() {
48464
48472
  try {
48465
48473
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48466
48474
  if (slug !== void 0) {
48467
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-FE2KXATO.js");
48475
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-HYJ7HTOS.js");
48468
48476
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48469
48477
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48470
48478
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51739,6 +51747,8 @@ function toBanditContext(decision) {
51739
51747
  // at 0 also let the bandit tell shadow-selector origin from live-router
51740
51748
  // origin through the feature value alone: accidental signal, not none.
51741
51749
  budgetUtilization: NEUTRAL_BANDIT_FEATURE,
51750
+ // Constant on every path by decision, so it is the per-arm intercept
51751
+ // (`contextToFeatures` has no bias column; #4875 option C).
51742
51752
  timePressure: NEUTRAL_BANDIT_FEATURE
51743
51753
  };
51744
51754
  }
@@ -52206,7 +52216,7 @@ var GitHubTaskTracker = class {
52206
52216
  cachedProvider = null;
52207
52217
  async getProvider() {
52208
52218
  if (this.cachedProvider !== null) return this.cachedProvider;
52209
- const { createScmProvider } = await import("./factory-MRSIKSPG.js");
52219
+ const { createScmProvider } = await import("./factory-ZOM2QJPC.js");
52210
52220
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
52211
52221
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
52212
52222
  this.cachedProvider = result.value;
@@ -53173,7 +53183,7 @@ async function probeSource(source, includeModelIds) {
53173
53183
  }
53174
53184
  }
53175
53185
  async function defaultSources(includeOpenRouter) {
53176
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-JHBJB2O2.js");
53186
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-O4U4BJFT.js");
53177
53187
  const adapters = createAllAdapters2();
53178
53188
  return buildDefaultModelSources(adapters, { includeOpenRouter });
53179
53189
  }
@@ -56498,4 +56508,4 @@ export {
56498
56508
  startPipelineEventBridge,
56499
56509
  shutdownPipelineEventBridge
56500
56510
  };
56501
- //# sourceMappingURL=chunk-MYI5QMFW.js.map
56511
+ //# sourceMappingURL=chunk-IKLDY3HI.js.map