nexus-agents 8.44.2 → 8.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/{ast-rule-runner-WVDAA42T.js → ast-rule-runner-EBTFBTKZ.js} +3 -3
  2. package/dist/{child-mcp-config-7QA75U75.js → child-mcp-config-A3YWHFOY.js} +2 -4
  3. package/dist/child-mcp-config-A3YWHFOY.js.map +1 -0
  4. package/dist/{chunk-4XSUIYEJ.js → chunk-26E2ECC5.js} +4 -4
  5. package/dist/{chunk-K5AOFWUZ.js → chunk-2QZVFXR7.js} +2 -2
  6. package/dist/{chunk-VMUMZQRK.js → chunk-336MFOVV.js} +2 -2
  7. package/dist/{chunk-Q4YQUVFY.js → chunk-4KEMUKVZ.js} +8 -9
  8. package/dist/chunk-4KEMUKVZ.js.map +1 -0
  9. package/dist/{chunk-GNXA7QYJ.js → chunk-4XESQ3X6.js} +2 -2
  10. package/dist/{chunk-WTJARWUI.js → chunk-5OHQT3IJ.js} +2 -2
  11. package/dist/{chunk-TCAOGMSJ.js → chunk-5SAXCJAB.js} +3 -3
  12. package/dist/{chunk-ZYBVRWCQ.js → chunk-5XEPU5ZV.js} +5 -5
  13. package/dist/{chunk-Y5SMWBMT.js → chunk-6GAUJAMO.js} +2 -2
  14. package/dist/{chunk-W4FTZ6NQ.js → chunk-6MMF7U4L.js} +9 -9
  15. package/dist/{chunk-L4M72UC3.js → chunk-ACDZL6ZM.js} +9 -10
  16. package/dist/chunk-ACDZL6ZM.js.map +1 -0
  17. package/dist/{chunk-CFD2JBFF.js → chunk-AOQDLJHG.js} +2 -2
  18. package/dist/{chunk-N5TB4D4Y.js → chunk-BBH3SKC3.js} +6 -6
  19. package/dist/{chunk-SSZ3UI5I.js → chunk-F5O7U6W5.js} +2 -2
  20. package/dist/{chunk-E7GG4QM4.js → chunk-GFXWGCWS.js} +2 -2
  21. package/dist/{chunk-WINAQRIP.js → chunk-HNTWLAPQ.js} +4 -4
  22. package/dist/{chunk-II5QSTMF.js → chunk-ISEN3JQL.js} +44 -44
  23. package/dist/{chunk-II5QSTMF.js.map → chunk-ISEN3JQL.js.map} +1 -1
  24. package/dist/{chunk-7LC7IAC6.js → chunk-JH4L3SH4.js} +2 -2
  25. package/dist/{chunk-YO44KBCM.js → chunk-KO3KUF5M.js} +2 -2
  26. package/dist/{chunk-HT2X7CTV.js → chunk-NNL4EPHA.js} +2 -2
  27. package/dist/{chunk-OJQGBWSN.js → chunk-O5TIFR2H.js} +7 -7
  28. package/dist/{chunk-G6BYL67S.js → chunk-OZXILWVN.js} +5 -5
  29. package/dist/{chunk-LQQVESK4.js → chunk-PWLSN7FQ.js} +2 -2
  30. package/dist/{chunk-ZAQ7TGE5.js → chunk-QN5ME2N2.js} +2 -2
  31. package/dist/{chunk-OWFSWV2B.js → chunk-RNFQP4HB.js} +2 -2
  32. package/dist/{chunk-WG57CLZX.js → chunk-RZF4GUMI.js} +3 -3
  33. package/dist/{chunk-WG57CLZX.js.map → chunk-RZF4GUMI.js.map} +1 -1
  34. package/dist/{chunk-76RVBWFJ.js → chunk-TIUE5KC4.js} +2 -2
  35. package/dist/{chunk-UVWWUCTU.js → chunk-UCPM532W.js} +2 -2
  36. package/dist/{chunk-KWBL4YBO.js → chunk-UIVQ2B7J.js} +3 -3
  37. package/dist/{chunk-2XVGARRY.js → chunk-WD6CZRSW.js} +4 -4
  38. package/dist/{chunk-NAQZUL6T.js → chunk-WRGVTEKL.js} +4 -4
  39. package/dist/{chunk-4R7UX4LH.js → chunk-XJZF7HTC.js} +2 -2
  40. package/dist/{chunk-RTXOSQQ5.js → chunk-YIKC3GNF.js} +2 -2
  41. package/dist/{chunk-S4RQTNOJ.js → chunk-ZYJT5CMY.js} +3 -3
  42. package/dist/{cli-circuit-breaker-YNMILNBW.js → cli-circuit-breaker-DNKQCKSD.js} +3 -3
  43. package/dist/cli.js +44 -45
  44. package/dist/cli.js.map +1 -1
  45. package/dist/{composite-router-IMTJSNSW.js → composite-router-CKTUXIDB.js} +2 -2
  46. package/dist/{consensus-vote-M4LH7MXD.js → consensus-vote-PPZKMRZ4.js} +17 -17
  47. package/dist/{context-retriever-TJD4G7VT.js → context-retriever-I4VJWGPK.js} +8 -8
  48. package/dist/{doctor-deep-A6KISK57.js → doctor-deep-JOFIWKO5.js} +3 -3
  49. package/dist/{doctor-live-PRGQCROP.js → doctor-live-LBTEIOOH.js} +9 -9
  50. package/dist/{expert-bridge-6C6RR6WF.js → expert-bridge-6KCCGNC3.js} +4 -4
  51. package/dist/{factory-YJQI6VWJ.js → factory-HJPJTSHY.js} +5 -5
  52. package/dist/{factory-YLPR5WLO.js → factory-YIFRH73W.js} +9 -9
  53. package/dist/{improvement-review-E6GLPXUP.js → improvement-review-KABSY3S4.js} +6 -6
  54. package/dist/index.d.ts +17 -2
  55. package/dist/index.js +31 -31
  56. package/dist/{init-opencode-KPMC65FE.js → init-opencode-2MM576TQ.js} +6 -6
  57. package/dist/issue-triage-D43CVBDL.js +17 -0
  58. package/dist/models-dev-snapshot.json +171 -27
  59. package/dist/{pr-reviewer-helpers-HOIPAC4C.js → pr-reviewer-helpers-G5MW4CBB.js} +4 -4
  60. package/dist/{registry-command-QTVLH3SG.js → registry-command-E4FZ56OB.js} +2 -2
  61. package/dist/{repo-security-plan-VSFW6JNC.js → repo-security-plan-3FGTIZY4.js} +3 -3
  62. package/dist/{research-helpers-synthesize-FEL4P5AM.js → research-helpers-synthesize-LRYFH55A.js} +4 -4
  63. package/dist/{routing-memory-3QEB367H.js → routing-memory-CRDEOBRO.js} +2 -2
  64. package/dist/{session-memory-MXNCBWWR.js → session-memory-XPBKOHCX.js} +3 -3
  65. package/dist/{setup-config-3EJ37UHP.js → setup-config-7G2UV4FN.js} +3 -3
  66. package/dist/{setup-custom-api-KZL36DTQ.js → setup-custom-api-GWZIDL3X.js} +4 -4
  67. package/dist/setup-data-dir-GR23BXBF.js +29 -0
  68. package/dist/{tool-memory-K5XBNYLH.js → tool-memory-EUBYXYAI.js} +5 -5
  69. package/dist/{unified-registry-5Y5JXIT2.js → unified-registry-H6DRGQ37.js} +10 -10
  70. package/dist/{weather-report-K5JQJERB.js → weather-report-Q4EJXE5F.js} +2 -2
  71. package/package.json +9 -9
  72. package/dist/child-mcp-config-7QA75U75.js.map +0 -1
  73. package/dist/chunk-L4M72UC3.js.map +0 -1
  74. package/dist/chunk-Q4YQUVFY.js.map +0 -1
  75. package/dist/issue-triage-PV46T7GR.js +0 -17
  76. package/dist/setup-data-dir-EKNO344K.js +0 -29
  77. /package/dist/{ast-rule-runner-WVDAA42T.js.map → ast-rule-runner-EBTFBTKZ.js.map} +0 -0
  78. /package/dist/{chunk-4XSUIYEJ.js.map → chunk-26E2ECC5.js.map} +0 -0
  79. /package/dist/{chunk-K5AOFWUZ.js.map → chunk-2QZVFXR7.js.map} +0 -0
  80. /package/dist/{chunk-VMUMZQRK.js.map → chunk-336MFOVV.js.map} +0 -0
  81. /package/dist/{chunk-GNXA7QYJ.js.map → chunk-4XESQ3X6.js.map} +0 -0
  82. /package/dist/{chunk-WTJARWUI.js.map → chunk-5OHQT3IJ.js.map} +0 -0
  83. /package/dist/{chunk-TCAOGMSJ.js.map → chunk-5SAXCJAB.js.map} +0 -0
  84. /package/dist/{chunk-ZYBVRWCQ.js.map → chunk-5XEPU5ZV.js.map} +0 -0
  85. /package/dist/{chunk-Y5SMWBMT.js.map → chunk-6GAUJAMO.js.map} +0 -0
  86. /package/dist/{chunk-W4FTZ6NQ.js.map → chunk-6MMF7U4L.js.map} +0 -0
  87. /package/dist/{chunk-CFD2JBFF.js.map → chunk-AOQDLJHG.js.map} +0 -0
  88. /package/dist/{chunk-N5TB4D4Y.js.map → chunk-BBH3SKC3.js.map} +0 -0
  89. /package/dist/{chunk-SSZ3UI5I.js.map → chunk-F5O7U6W5.js.map} +0 -0
  90. /package/dist/{chunk-E7GG4QM4.js.map → chunk-GFXWGCWS.js.map} +0 -0
  91. /package/dist/{chunk-WINAQRIP.js.map → chunk-HNTWLAPQ.js.map} +0 -0
  92. /package/dist/{chunk-7LC7IAC6.js.map → chunk-JH4L3SH4.js.map} +0 -0
  93. /package/dist/{chunk-YO44KBCM.js.map → chunk-KO3KUF5M.js.map} +0 -0
  94. /package/dist/{chunk-HT2X7CTV.js.map → chunk-NNL4EPHA.js.map} +0 -0
  95. /package/dist/{chunk-OJQGBWSN.js.map → chunk-O5TIFR2H.js.map} +0 -0
  96. /package/dist/{chunk-G6BYL67S.js.map → chunk-OZXILWVN.js.map} +0 -0
  97. /package/dist/{chunk-LQQVESK4.js.map → chunk-PWLSN7FQ.js.map} +0 -0
  98. /package/dist/{chunk-ZAQ7TGE5.js.map → chunk-QN5ME2N2.js.map} +0 -0
  99. /package/dist/{chunk-OWFSWV2B.js.map → chunk-RNFQP4HB.js.map} +0 -0
  100. /package/dist/{chunk-76RVBWFJ.js.map → chunk-TIUE5KC4.js.map} +0 -0
  101. /package/dist/{chunk-UVWWUCTU.js.map → chunk-UCPM532W.js.map} +0 -0
  102. /package/dist/{chunk-KWBL4YBO.js.map → chunk-UIVQ2B7J.js.map} +0 -0
  103. /package/dist/{chunk-2XVGARRY.js.map → chunk-WD6CZRSW.js.map} +0 -0
  104. /package/dist/{chunk-NAQZUL6T.js.map → chunk-WRGVTEKL.js.map} +0 -0
  105. /package/dist/{chunk-4R7UX4LH.js.map → chunk-XJZF7HTC.js.map} +0 -0
  106. /package/dist/{chunk-RTXOSQQ5.js.map → chunk-YIKC3GNF.js.map} +0 -0
  107. /package/dist/{chunk-S4RQTNOJ.js.map → chunk-ZYJT5CMY.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-YNMILNBW.js.map → cli-circuit-breaker-DNKQCKSD.js.map} +0 -0
  109. /package/dist/{composite-router-IMTJSNSW.js.map → composite-router-CKTUXIDB.js.map} +0 -0
  110. /package/dist/{consensus-vote-M4LH7MXD.js.map → consensus-vote-PPZKMRZ4.js.map} +0 -0
  111. /package/dist/{context-retriever-TJD4G7VT.js.map → context-retriever-I4VJWGPK.js.map} +0 -0
  112. /package/dist/{doctor-deep-A6KISK57.js.map → doctor-deep-JOFIWKO5.js.map} +0 -0
  113. /package/dist/{doctor-live-PRGQCROP.js.map → doctor-live-LBTEIOOH.js.map} +0 -0
  114. /package/dist/{expert-bridge-6C6RR6WF.js.map → expert-bridge-6KCCGNC3.js.map} +0 -0
  115. /package/dist/{factory-YJQI6VWJ.js.map → factory-HJPJTSHY.js.map} +0 -0
  116. /package/dist/{factory-YLPR5WLO.js.map → factory-YIFRH73W.js.map} +0 -0
  117. /package/dist/{improvement-review-E6GLPXUP.js.map → improvement-review-KABSY3S4.js.map} +0 -0
  118. /package/dist/{init-opencode-KPMC65FE.js.map → init-opencode-2MM576TQ.js.map} +0 -0
  119. /package/dist/{issue-triage-PV46T7GR.js.map → issue-triage-D43CVBDL.js.map} +0 -0
  120. /package/dist/{pr-reviewer-helpers-HOIPAC4C.js.map → pr-reviewer-helpers-G5MW4CBB.js.map} +0 -0
  121. /package/dist/{registry-command-QTVLH3SG.js.map → registry-command-E4FZ56OB.js.map} +0 -0
  122. /package/dist/{repo-security-plan-VSFW6JNC.js.map → repo-security-plan-3FGTIZY4.js.map} +0 -0
  123. /package/dist/{research-helpers-synthesize-FEL4P5AM.js.map → research-helpers-synthesize-LRYFH55A.js.map} +0 -0
  124. /package/dist/{routing-memory-3QEB367H.js.map → routing-memory-CRDEOBRO.js.map} +0 -0
  125. /package/dist/{session-memory-MXNCBWWR.js.map → session-memory-XPBKOHCX.js.map} +0 -0
  126. /package/dist/{setup-config-3EJ37UHP.js.map → setup-config-7G2UV4FN.js.map} +0 -0
  127. /package/dist/{setup-custom-api-KZL36DTQ.js.map → setup-custom-api-GWZIDL3X.js.map} +0 -0
  128. /package/dist/{setup-data-dir-EKNO344K.js.map → setup-data-dir-GR23BXBF.js.map} +0 -0
  129. /package/dist/{tool-memory-K5XBNYLH.js.map → tool-memory-EUBYXYAI.js.map} +0 -0
  130. /package/dist/{unified-registry-5Y5JXIT2.js.map → unified-registry-H6DRGQ37.js.map} +0 -0
  131. /package/dist/{weather-report-K5JQJERB.js.map → weather-report-Q4EJXE5F.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-WG57CLZX.js";
6
+ } from "./chunk-RZF4GUMI.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-CFD2JBFF.js.map
153
+ //# sourceMappingURL=chunk-AOQDLJHG.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-WTJARWUI.js";
4
+ } from "./chunk-5OHQT3IJ.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -12,7 +12,7 @@ import {
12
12
  resolveEnvMode,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-76RVBWFJ.js";
15
+ } from "./chunk-TIUE5KC4.js";
16
16
  import {
17
17
  MAX_STRIPPED_ELEMENTS_PER_EVENT,
18
18
  createAuditTrail,
@@ -20,10 +20,10 @@ import {
20
20
  emitReputationEvent,
21
21
  emitSanitizationEvent,
22
22
  emitTrustEvent
23
- } from "./chunk-ZAQ7TGE5.js";
23
+ } from "./chunk-QN5ME2N2.js";
24
24
  import {
25
25
  hasToken
26
- } from "./chunk-7LC7IAC6.js";
26
+ } from "./chunk-JH4L3SH4.js";
27
27
  import {
28
28
  CLI_SUBPROCESS_TIMEOUTS,
29
29
  createLogger,
@@ -31,7 +31,7 @@ import {
31
31
  getErrorMessage,
32
32
  getTimeProvider,
33
33
  ok
34
- } from "./chunk-WG57CLZX.js";
34
+ } from "./chunk-RZF4GUMI.js";
35
35
 
36
36
  // src/security/firewall/firewall-policy-mode.ts
37
37
  import { z } from "zod";
@@ -2162,4 +2162,4 @@ export {
2162
2162
  IssueTriage,
2163
2163
  createIssueTriage
2164
2164
  };
2165
- //# sourceMappingURL=chunk-N5TB4D4Y.js.map
2165
+ //# sourceMappingURL=chunk-BBH3SKC3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-WG57CLZX.js";
7
+ } from "./chunk-RZF4GUMI.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-SSZ3UI5I.js.map
724
+ //# sourceMappingURL=chunk-F5O7U6W5.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-WG57CLZX.js";
7
+ } from "./chunk-RZF4GUMI.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -370,4 +370,4 @@ export {
370
370
  SessionMemory,
371
371
  createSessionMemory
372
372
  };
373
- //# sourceMappingURL=chunk-E7GG4QM4.js.map
373
+ //# sourceMappingURL=chunk-GFXWGCWS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-UVWWUCTU.js";
3
+ } from "./chunk-UCPM532W.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-ZAQ7TGE5.js";
6
+ } from "./chunk-QN5ME2N2.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-WG57CLZX.js";
22
+ } from "./chunk-RZF4GUMI.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-JVNJJ2VL.js";
@@ -2317,4 +2317,4 @@ export {
2317
2317
  VOTING_THRESHOLDS,
2318
2318
  ConsensusMetricsSchema
2319
2319
  };
2320
- //# sourceMappingURL=chunk-WINAQRIP.js.map
2320
+ //# sourceMappingURL=chunk-HNTWLAPQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-SSZ3UI5I.js";
3
+ } from "./chunk-F5O7U6W5.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-DGWT7DXX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-Q4YQUVFY.js";
24
+ } from "./chunk-4KEMUKVZ.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-OJQGBWSN.js";
27
+ } from "./chunk-O5TIFR2H.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-W4FTZ6NQ.js";
58
+ } from "./chunk-6MMF7U4L.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -63,19 +63,19 @@ import {
63
63
  import {
64
64
  normalizeTopicToCanonical,
65
65
  synthesizeResearch
66
- } from "./chunk-KWBL4YBO.js";
66
+ } from "./chunk-UIVQ2B7J.js";
67
67
  import {
68
68
  IssueTriage,
69
69
  createDurableAuditSink,
70
70
  createDurableAuditTrail
71
- } from "./chunk-N5TB4D4Y.js";
71
+ } from "./chunk-BBH3SKC3.js";
72
72
  import {
73
73
  resolveEnvMode,
74
74
  sanitizeInput
75
- } from "./chunk-76RVBWFJ.js";
75
+ } from "./chunk-TIUE5KC4.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-TCAOGMSJ.js";
78
+ } from "./chunk-5SAXCJAB.js";
79
79
  import {
80
80
  NOOP_NOTIFIER,
81
81
  RateLimiter,
@@ -100,18 +100,18 @@ import {
100
100
  withAuditTrail,
101
101
  withProgressHeartbeat,
102
102
  wrapToolWithTimeout
103
- } from "./chunk-WINAQRIP.js";
103
+ } from "./chunk-HNTWLAPQ.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
107
107
  emitPipelinePolicyEvent
108
- } from "./chunk-ZAQ7TGE5.js";
108
+ } from "./chunk-QN5ME2N2.js";
109
109
  import {
110
110
  EventTopics,
111
111
  createEvent,
112
112
  getGlobalEventBus,
113
113
  getGlobalRegistry
114
- } from "./chunk-4XSUIYEJ.js";
114
+ } from "./chunk-26E2ECC5.js";
115
115
  import {
116
116
  IDENTIFIER_RE,
117
117
  LANG_VALUES,
@@ -144,7 +144,7 @@ import {
144
144
  parseRegistry,
145
145
  sourceExistsInRegistry,
146
146
  summarizeContextForPrompt
147
- } from "./chunk-ZYBVRWCQ.js";
147
+ } from "./chunk-5XEPU5ZV.js";
148
148
  import {
149
149
  REGISTRY_PATH,
150
150
  getProjectRoot,
@@ -152,25 +152,25 @@ import {
152
152
  loadTechniquesRegistry,
153
153
  resolveInsideRoot,
154
154
  resolveRegistryRoot
155
- } from "./chunk-YO44KBCM.js";
155
+ } from "./chunk-KO3KUF5M.js";
156
156
  import {
157
157
  getTokenEnvVars,
158
158
  resolveToken
159
- } from "./chunk-7LC7IAC6.js";
159
+ } from "./chunk-JH4L3SH4.js";
160
160
  import {
161
161
  DEFAULT_RELEVANCE_CONFIG,
162
162
  MemoryImportance,
163
163
  MemoryType,
164
164
  calculateTextJaccardSimilarity,
165
165
  getToolMemory
166
- } from "./chunk-NAQZUL6T.js";
166
+ } from "./chunk-WRGVTEKL.js";
167
167
  import {
168
168
  STOPWORDS,
169
169
  truncateWithInfo
170
170
  } from "./chunk-7LP6VJRP.js";
171
171
  import {
172
172
  createSessionMemory
173
- } from "./chunk-E7GG4QM4.js";
173
+ } from "./chunk-GFXWGCWS.js";
174
174
  import {
175
175
  BUILT_IN_EXPERTS,
176
176
  BuiltInExpertTypeSchema,
@@ -188,25 +188,25 @@ import {
188
188
  getAvailableClis,
189
189
  sleep,
190
190
  withTimeout
191
- } from "./chunk-L4M72UC3.js";
191
+ } from "./chunk-ACDZL6ZM.js";
192
192
  import {
193
193
  BaseAdapter,
194
194
  createStream,
195
195
  requireApiKey,
196
196
  validateApiKeyPresence
197
- } from "./chunk-VMUMZQRK.js";
197
+ } from "./chunk-336MFOVV.js";
198
198
  import {
199
199
  DEFAULTS
200
- } from "./chunk-Y5SMWBMT.js";
200
+ } from "./chunk-6GAUJAMO.js";
201
201
  import {
202
202
  getAvailabilityCache,
203
203
  getCliForModelId,
204
204
  resolveFallback
205
- } from "./chunk-CFD2JBFF.js";
205
+ } from "./chunk-AOQDLJHG.js";
206
206
  import {
207
207
  generateHyphenId,
208
208
  generateUUID
209
- } from "./chunk-GNXA7QYJ.js";
209
+ } from "./chunk-4XESQ3X6.js";
210
210
  import {
211
211
  AGENT_ROUTER_TIMEOUTS,
212
212
  API_TIMEOUTS,
@@ -318,7 +318,7 @@ import {
318
318
  selectStrategyByManifest,
319
319
  toExpertTaskAnalysisResult,
320
320
  withStep
321
- } from "./chunk-WG57CLZX.js";
321
+ } from "./chunk-RZF4GUMI.js";
322
322
  import {
323
323
  ensureLearningDir,
324
324
  getMetaOutcomesFile,
@@ -30015,7 +30015,7 @@ function execIdFields(executionId) {
30015
30015
  async function populateUnifiedContextOnState(state, options) {
30016
30016
  const taskCandidate = state["task"];
30017
30017
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30018
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-TJD4G7VT.js");
30018
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-I4VJWGPK.js");
30019
30019
  const category = inferTaskCategory2(taskCandidate);
30020
30020
  const executionId = options?.executionId;
30021
30021
  const execFields = execIdFields(executionId);
@@ -35791,8 +35791,7 @@ var ReflectiveRetriever = class {
35791
35791
  try {
35792
35792
  const parsed = JSON.parse(trimmed);
35793
35793
  return ReflectionCriteriaSchema.parse(parsed);
35794
- } catch (directParseErr) {
35795
- void directParseErr;
35794
+ } catch {
35796
35795
  }
35797
35796
  }
35798
35797
  const start = text.indexOf("{");
@@ -40261,8 +40260,8 @@ var ResearchDiscoverInputSchema = z74.object({
40261
40260
  });
40262
40261
  async function getExistingArxivIds() {
40263
40262
  const result = await loadPapersRegistry();
40264
- if (!result.ok) return /* @__PURE__ */ new Set();
40265
- return new Set(Object.keys(result.value.papers));
40263
+ if (!result.ok) return { ids: /* @__PURE__ */ new Set(), consulted: false };
40264
+ return { ids: new Set(Object.keys(result.value.papers)), consulted: true };
40266
40265
  }
40267
40266
  function extractArxivId(url) {
40268
40267
  return url.match(/(\d{4}\.\d{4,5})/)?.[1] ?? "";
@@ -40402,13 +40401,13 @@ async function executeDiscovery(rawInput, logger55) {
40402
40401
  ...rawInput,
40403
40402
  topic: normalizeTopicToCanonical(rawInput.topic)
40404
40403
  };
40405
- const existingIds = await getExistingArxivIds();
40404
+ const registry = await getExistingArxivIds();
40406
40405
  const {
40407
40406
  sources: sourcesToQuery,
40408
40407
  failedSources,
40409
40408
  items: allItems
40410
40409
  } = await queryAllSources(input, logger55);
40411
- markExistingItems(allItems, existingIds);
40410
+ markExistingItems(allItems, registry.ids);
40412
40411
  const totalFound = allItems.length;
40413
40412
  const inRegistry = allItems.filter((i) => i.alreadyInRegistry).length;
40414
40413
  const threshold = input.relevanceThreshold;
@@ -40432,6 +40431,7 @@ async function executeDiscovery(rawInput, logger55) {
40432
40431
  items: relevantItems,
40433
40432
  totalFound,
40434
40433
  alreadyInRegistry: inRegistry,
40434
+ registryConsulted: registry.consulted,
40435
40435
  newItems: relevantItems.length,
40436
40436
  filteredByRelevance: filteredOut
40437
40437
  };
@@ -40576,6 +40576,7 @@ var RESEARCH_DISCOVER_OUTPUT_SCHEMA = {
40576
40576
  items: z74.array(z74.unknown()).optional(),
40577
40577
  totalFound: z74.number().optional(),
40578
40578
  alreadyInRegistry: z74.number().optional(),
40579
+ registryConsulted: z74.boolean().optional(),
40579
40580
  newItems: z74.number().optional(),
40580
40581
  filteredByRelevance: z74.number().optional()
40581
40582
  };
@@ -45619,7 +45620,7 @@ async function tryIssueTriage(task) {
45619
45620
  try {
45620
45621
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45621
45622
  if (issueMatch === null) return null;
45622
- const { createIssueTriage } = await import("./issue-triage-PV46T7GR.js");
45623
+ const { createIssueTriage } = await import("./issue-triage-D43CVBDL.js");
45623
45624
  const triage = createIssueTriage();
45624
45625
  const owner = issueMatch[1] ?? "";
45625
45626
  const num = issueMatch[2] ?? "";
@@ -45647,7 +45648,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45647
45648
  ]);
45648
45649
  async function classifyWithLLM(task) {
45649
45650
  try {
45650
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-6C6RR6WF.js");
45651
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-6KCCGNC3.js");
45651
45652
  const prompt = [
45652
45653
  "Classify this task into exactly one pipeline template.",
45653
45654
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46021,7 +46022,7 @@ function buildVotingInput(plan, config) {
46021
46022
  }
46022
46023
  async function executeSingleVote(plan, config, log) {
46023
46024
  try {
46024
- const { executeVoting } = await import("./consensus-vote-M4LH7MXD.js");
46025
+ const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
46025
46026
  const input = buildVotingInput(plan, config);
46026
46027
  const result = await executeVoting(input, log);
46027
46028
  return parseVotingResult(result);
@@ -47583,7 +47584,7 @@ var memoryInitPromise = null;
47583
47584
  async function initPipelineMemory() {
47584
47585
  if (cachedMemory !== null) return cachedMemory;
47585
47586
  try {
47586
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MXNCBWWR.js");
47587
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
47587
47588
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47588
47589
  const mem = createSessionMemory2(getLearningDir());
47589
47590
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47645,7 +47646,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47645
47646
  callRecord(routingMemoryCache);
47646
47647
  return;
47647
47648
  }
47648
- routingMemoryInitPromise ??= import("./routing-memory-3QEB367H.js").then(({ createRoutingMemory }) => {
47649
+ routingMemoryInitPromise ??= import("./routing-memory-CRDEOBRO.js").then(({ createRoutingMemory }) => {
47649
47650
  routingMemoryCache ??= createRoutingMemory();
47650
47651
  return routingMemoryCache;
47651
47652
  }).catch((error) => {
@@ -47679,7 +47680,7 @@ ${text}` : "";
47679
47680
  }
47680
47681
  async function getWeatherContext() {
47681
47682
  try {
47682
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-K5JQJERB.js");
47683
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-Q4EJXE5F.js");
47683
47684
  const report = generateWeatherReport2({ includeAdaptive: true });
47684
47685
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47685
47686
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47697,7 +47698,7 @@ ${lines}
47697
47698
  }
47698
47699
  async function getMemoryContext(task) {
47699
47700
  try {
47700
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MXNCBWWR.js");
47701
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
47701
47702
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47702
47703
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47703
47704
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47816,7 +47817,7 @@ ${contextBlock}`;
47816
47817
  const strategy = config.votingStrategy ?? "higher_order";
47817
47818
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47818
47819
  try {
47819
- const { executeVoting } = await import("./consensus-vote-M4LH7MXD.js");
47820
+ const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
47820
47821
  const votingResult = await executeVoting(
47821
47822
  {
47822
47823
  proposal: buildVoteProposal(plan, research),
@@ -48247,7 +48248,7 @@ async function searchCodebaseForTask(task) {
48247
48248
  }
48248
48249
  async function queryResearchRegistry(task) {
48249
48250
  try {
48250
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FEL4P5AM.js");
48251
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-LRYFH55A.js");
48251
48252
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48252
48253
  if (topic === void 0) return null;
48253
48254
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48318,7 +48319,7 @@ function createScanStageWrapper() {
48318
48319
  try {
48319
48320
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48320
48321
  if (slug !== void 0) {
48321
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VSFW6JNC.js");
48322
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-3FGTIZY4.js");
48322
48323
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48323
48324
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48324
48325
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51558,7 +51559,7 @@ var GitHubTaskTracker = class {
51558
51559
  cachedProvider = null;
51559
51560
  async getProvider() {
51560
51561
  if (this.cachedProvider !== null) return this.cachedProvider;
51561
- const { createScmProvider } = await import("./factory-YJQI6VWJ.js");
51562
+ const { createScmProvider } = await import("./factory-HJPJTSHY.js");
51562
51563
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51563
51564
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51564
51565
  this.cachedProvider = result.value;
@@ -52489,7 +52490,7 @@ async function probeSource(source, includeModelIds) {
52489
52490
  }
52490
52491
  }
52491
52492
  async function defaultSources(includeOpenRouter) {
52492
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-YLPR5WLO.js");
52493
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-YIFRH73W.js");
52493
52494
  const adapters = createAllAdapters2();
52494
52495
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52495
52496
  }
@@ -52975,11 +52976,10 @@ function wrapWithObservability(toolName, cb, eventBus) {
52975
52976
  var REGISTERED_TOOL_NAMES = TOOL_MANIFEST.map(
52976
52977
  (t) => t.name
52977
52978
  );
52978
- function registerTools(server, options) {
52979
+ function registerTools(_server, options) {
52979
52980
  const logger55 = options?.logger ?? createMcpLogger({ component: "tools" });
52980
52981
  const rateLimiter = options?.rateLimiter ?? createDefaultRateLimiter("mcp-tools", logger55);
52981
52982
  logger55.info("Tool registration infrastructure initialized");
52982
- void server;
52983
52983
  return {
52984
52984
  tools: [...REGISTERED_TOOL_NAMES],
52985
52985
  logger: logger55,
@@ -56543,4 +56543,4 @@ export {
56543
56543
  startPipelineEventBridge,
56544
56544
  shutdownPipelineEventBridge
56545
56545
  };
56546
- //# sourceMappingURL=chunk-II5QSTMF.js.map
56546
+ //# sourceMappingURL=chunk-ISEN3JQL.js.map