nexus-agents 8.28.3 → 8.28.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 (128) hide show
  1. package/dist/{ast-rule-runner-2K2VKDB6.js → ast-rule-runner-S2FVYD3R.js} +3 -3
  2. package/dist/{child-mcp-config-FS63VN4T.js → child-mcp-config-LZFSRS2Y.js} +2 -2
  3. package/dist/{chunk-2EITSDXF.js → chunk-5QIRZEPC.js} +2 -2
  4. package/dist/{chunk-I4KBCYAE.js → chunk-5QJRFE7P.js} +2 -2
  5. package/dist/{chunk-GIE4QGEL.js → chunk-5RQLXO7L.js} +2 -2
  6. package/dist/{chunk-NHOXP5EN.js → chunk-AITCNIU7.js} +38 -37
  7. package/dist/{chunk-NHOXP5EN.js.map → chunk-AITCNIU7.js.map} +1 -1
  8. package/dist/{chunk-RRZ5PGJA.js → chunk-ATIYWDZI.js} +4 -4
  9. package/dist/{chunk-JPDHHOZF.js → chunk-AU33WXTN.js} +42 -27
  10. package/dist/chunk-AU33WXTN.js.map +1 -0
  11. package/dist/{chunk-PBMQEUMG.js → chunk-D66ZGEMC.js} +3 -3
  12. package/dist/{chunk-36YDR3WA.js → chunk-DOR65KQC.js} +4 -4
  13. package/dist/{chunk-ZNPWV2WN.js → chunk-E3WQANII.js} +2 -2
  14. package/dist/{chunk-HMBI27U4.js → chunk-E7A6CTUR.js} +2 -2
  15. package/dist/{chunk-IPU5MBXQ.js → chunk-FU5XE5IC.js} +9 -9
  16. package/dist/{chunk-BGTLVDIA.js → chunk-GCNJWNXC.js} +7 -7
  17. package/dist/{chunk-MZOXHJCW.js → chunk-GRZDF5LY.js} +2 -2
  18. package/dist/{chunk-5XYODQTD.js → chunk-JANMYVKT.js} +2 -2
  19. package/dist/{chunk-SR3MQ2GG.js → chunk-JNJDHFT7.js} +6 -6
  20. package/dist/{chunk-DCD6WNPJ.js → chunk-JR6IWC53.js} +4 -4
  21. package/dist/{chunk-2DSRYCHY.js → chunk-JXSN4V34.js} +2 -2
  22. package/dist/{chunk-VNGVFKYD.js → chunk-K6PI22W5.js} +8 -8
  23. package/dist/{chunk-3RILNEWZ.js → chunk-KZ6ANGFK.js} +2 -2
  24. package/dist/{chunk-VQGUGZPR.js → chunk-LE5GD6MT.js} +7 -7
  25. package/dist/{chunk-HDXB5U74.js → chunk-MMOFBPGE.js} +2 -2
  26. package/dist/{chunk-LQ7CMUN4.js → chunk-OBNNU2P7.js} +2 -2
  27. package/dist/{chunk-BYNNHRTW.js → chunk-OWHOQY3U.js} +2 -2
  28. package/dist/{chunk-GGZJIWAF.js → chunk-PEN6JYVJ.js} +3 -3
  29. package/dist/{chunk-LY3RSLFR.js → chunk-Q42ZZU7R.js} +5 -5
  30. package/dist/{chunk-CGAHJ4AW.js → chunk-RFHNPEC6.js} +2 -2
  31. package/dist/{chunk-M43MLPU7.js → chunk-RZL246E7.js} +2 -2
  32. package/dist/{chunk-4TR3BIAE.js → chunk-SPRKLIH2.js} +2 -2
  33. package/dist/{chunk-B6N6BAB7.js → chunk-SSSIXL27.js} +2 -2
  34. package/dist/{chunk-7BEWN6N4.js → chunk-THC72SMO.js} +2 -2
  35. package/dist/{chunk-56WJLZ5I.js → chunk-VAMUAAXY.js} +2 -2
  36. package/dist/chunk-VAMUAAXY.js.map +1 -0
  37. package/dist/{chunk-AMIRFMFC.js → chunk-WU3N4Q2W.js} +16 -7
  38. package/dist/chunk-WU3N4Q2W.js.map +1 -0
  39. package/dist/{chunk-SX3DXUQV.js → chunk-Y3NGTK3H.js} +5 -5
  40. package/dist/{chunk-KVWPOZEX.js → chunk-YQQQDG7P.js} +4 -4
  41. package/dist/{cli-circuit-breaker-JMEO5W73.js → cli-circuit-breaker-NOBHCTID.js} +3 -3
  42. package/dist/cli.js +43 -43
  43. package/dist/{composite-router-OYQTAUC5.js → composite-router-BFODQAKW.js} +2 -2
  44. package/dist/{consensus-vote-XMNIGTYB.js → consensus-vote-MARPQTCX.js} +17 -17
  45. package/dist/{context-retriever-45HON52O.js → context-retriever-FZCJ7DQI.js} +8 -8
  46. package/dist/{doctor-deep-GZC3E7R7.js → doctor-deep-ZJUIDJCR.js} +3 -3
  47. package/dist/{doctor-live-JGVTPYI5.js → doctor-live-V3AV42NV.js} +9 -9
  48. package/dist/{expert-bridge-DLO63EKU.js → expert-bridge-TKTD3AEX.js} +4 -4
  49. package/dist/{factory-OGOLQSYT.js → factory-7RV4LG54.js} +5 -5
  50. package/dist/{factory-JRPJZXSI.js → factory-ZQKRK46A.js} +9 -9
  51. package/dist/{improvement-review-MCXD4PLI.js → improvement-review-OBZUZI55.js} +6 -6
  52. package/dist/index.js +31 -31
  53. package/dist/{init-opencode-NLYHW6IY.js → init-opencode-GVEFQQRA.js} +6 -6
  54. package/dist/issue-triage-Q36X64E3.js +17 -0
  55. package/dist/{pr-reviewer-helpers-5J6RP2VV.js → pr-reviewer-helpers-5F7KNNUA.js} +4 -4
  56. package/dist/{registry-command-4JZVWEBA.js → registry-command-JRLICAVI.js} +2 -2
  57. package/dist/{repo-security-plan-IXCSU2IU.js → repo-security-plan-RC4C3JTS.js} +3 -3
  58. package/dist/{research-helpers-synthesize-3VMID7KI.js → research-helpers-synthesize-E4RMSBRM.js} +4 -4
  59. package/dist/{routing-memory-ZQVP734Q.js → routing-memory-DFEBGRQB.js} +2 -2
  60. package/dist/{session-memory-BFJEA6NL.js → session-memory-6BC5OGJS.js} +3 -3
  61. package/dist/{setup-config-66W4FNVG.js → setup-config-5UAZU4PI.js} +3 -3
  62. package/dist/{setup-custom-api-H6C75XST.js → setup-custom-api-5ZGDSRK2.js} +4 -4
  63. package/dist/setup-data-dir-KUB6HK3V.js +29 -0
  64. package/dist/{tool-memory-XL3YIMGB.js → tool-memory-URZEDJRJ.js} +5 -5
  65. package/dist/{unified-registry-RZ23VBFT.js → unified-registry-B2YQOYQ4.js} +10 -10
  66. package/dist/{weather-report-IKCYZAZ3.js → weather-report-XEZDPSZM.js} +2 -2
  67. package/package.json +1 -1
  68. package/dist/chunk-56WJLZ5I.js.map +0 -1
  69. package/dist/chunk-AMIRFMFC.js.map +0 -1
  70. package/dist/chunk-JPDHHOZF.js.map +0 -1
  71. package/dist/issue-triage-U6DTKFH7.js +0 -17
  72. package/dist/setup-data-dir-YG36WJ5S.js +0 -29
  73. /package/dist/{ast-rule-runner-2K2VKDB6.js.map → ast-rule-runner-S2FVYD3R.js.map} +0 -0
  74. /package/dist/{child-mcp-config-FS63VN4T.js.map → child-mcp-config-LZFSRS2Y.js.map} +0 -0
  75. /package/dist/{chunk-2EITSDXF.js.map → chunk-5QIRZEPC.js.map} +0 -0
  76. /package/dist/{chunk-I4KBCYAE.js.map → chunk-5QJRFE7P.js.map} +0 -0
  77. /package/dist/{chunk-GIE4QGEL.js.map → chunk-5RQLXO7L.js.map} +0 -0
  78. /package/dist/{chunk-RRZ5PGJA.js.map → chunk-ATIYWDZI.js.map} +0 -0
  79. /package/dist/{chunk-PBMQEUMG.js.map → chunk-D66ZGEMC.js.map} +0 -0
  80. /package/dist/{chunk-36YDR3WA.js.map → chunk-DOR65KQC.js.map} +0 -0
  81. /package/dist/{chunk-ZNPWV2WN.js.map → chunk-E3WQANII.js.map} +0 -0
  82. /package/dist/{chunk-HMBI27U4.js.map → chunk-E7A6CTUR.js.map} +0 -0
  83. /package/dist/{chunk-IPU5MBXQ.js.map → chunk-FU5XE5IC.js.map} +0 -0
  84. /package/dist/{chunk-BGTLVDIA.js.map → chunk-GCNJWNXC.js.map} +0 -0
  85. /package/dist/{chunk-MZOXHJCW.js.map → chunk-GRZDF5LY.js.map} +0 -0
  86. /package/dist/{chunk-5XYODQTD.js.map → chunk-JANMYVKT.js.map} +0 -0
  87. /package/dist/{chunk-SR3MQ2GG.js.map → chunk-JNJDHFT7.js.map} +0 -0
  88. /package/dist/{chunk-DCD6WNPJ.js.map → chunk-JR6IWC53.js.map} +0 -0
  89. /package/dist/{chunk-2DSRYCHY.js.map → chunk-JXSN4V34.js.map} +0 -0
  90. /package/dist/{chunk-VNGVFKYD.js.map → chunk-K6PI22W5.js.map} +0 -0
  91. /package/dist/{chunk-3RILNEWZ.js.map → chunk-KZ6ANGFK.js.map} +0 -0
  92. /package/dist/{chunk-VQGUGZPR.js.map → chunk-LE5GD6MT.js.map} +0 -0
  93. /package/dist/{chunk-HDXB5U74.js.map → chunk-MMOFBPGE.js.map} +0 -0
  94. /package/dist/{chunk-LQ7CMUN4.js.map → chunk-OBNNU2P7.js.map} +0 -0
  95. /package/dist/{chunk-BYNNHRTW.js.map → chunk-OWHOQY3U.js.map} +0 -0
  96. /package/dist/{chunk-GGZJIWAF.js.map → chunk-PEN6JYVJ.js.map} +0 -0
  97. /package/dist/{chunk-LY3RSLFR.js.map → chunk-Q42ZZU7R.js.map} +0 -0
  98. /package/dist/{chunk-CGAHJ4AW.js.map → chunk-RFHNPEC6.js.map} +0 -0
  99. /package/dist/{chunk-M43MLPU7.js.map → chunk-RZL246E7.js.map} +0 -0
  100. /package/dist/{chunk-4TR3BIAE.js.map → chunk-SPRKLIH2.js.map} +0 -0
  101. /package/dist/{chunk-B6N6BAB7.js.map → chunk-SSSIXL27.js.map} +0 -0
  102. /package/dist/{chunk-7BEWN6N4.js.map → chunk-THC72SMO.js.map} +0 -0
  103. /package/dist/{chunk-SX3DXUQV.js.map → chunk-Y3NGTK3H.js.map} +0 -0
  104. /package/dist/{chunk-KVWPOZEX.js.map → chunk-YQQQDG7P.js.map} +0 -0
  105. /package/dist/{cli-circuit-breaker-JMEO5W73.js.map → cli-circuit-breaker-NOBHCTID.js.map} +0 -0
  106. /package/dist/{composite-router-OYQTAUC5.js.map → composite-router-BFODQAKW.js.map} +0 -0
  107. /package/dist/{consensus-vote-XMNIGTYB.js.map → consensus-vote-MARPQTCX.js.map} +0 -0
  108. /package/dist/{context-retriever-45HON52O.js.map → context-retriever-FZCJ7DQI.js.map} +0 -0
  109. /package/dist/{doctor-deep-GZC3E7R7.js.map → doctor-deep-ZJUIDJCR.js.map} +0 -0
  110. /package/dist/{doctor-live-JGVTPYI5.js.map → doctor-live-V3AV42NV.js.map} +0 -0
  111. /package/dist/{expert-bridge-DLO63EKU.js.map → expert-bridge-TKTD3AEX.js.map} +0 -0
  112. /package/dist/{factory-JRPJZXSI.js.map → factory-7RV4LG54.js.map} +0 -0
  113. /package/dist/{factory-OGOLQSYT.js.map → factory-ZQKRK46A.js.map} +0 -0
  114. /package/dist/{improvement-review-MCXD4PLI.js.map → improvement-review-OBZUZI55.js.map} +0 -0
  115. /package/dist/{init-opencode-NLYHW6IY.js.map → init-opencode-GVEFQQRA.js.map} +0 -0
  116. /package/dist/{issue-triage-U6DTKFH7.js.map → issue-triage-Q36X64E3.js.map} +0 -0
  117. /package/dist/{pr-reviewer-helpers-5J6RP2VV.js.map → pr-reviewer-helpers-5F7KNNUA.js.map} +0 -0
  118. /package/dist/{registry-command-4JZVWEBA.js.map → registry-command-JRLICAVI.js.map} +0 -0
  119. /package/dist/{repo-security-plan-IXCSU2IU.js.map → repo-security-plan-RC4C3JTS.js.map} +0 -0
  120. /package/dist/{research-helpers-synthesize-3VMID7KI.js.map → research-helpers-synthesize-E4RMSBRM.js.map} +0 -0
  121. /package/dist/{routing-memory-ZQVP734Q.js.map → routing-memory-DFEBGRQB.js.map} +0 -0
  122. /package/dist/{session-memory-BFJEA6NL.js.map → session-memory-6BC5OGJS.js.map} +0 -0
  123. /package/dist/{setup-config-66W4FNVG.js.map → setup-config-5UAZU4PI.js.map} +0 -0
  124. /package/dist/{setup-custom-api-H6C75XST.js.map → setup-custom-api-5ZGDSRK2.js.map} +0 -0
  125. /package/dist/{setup-data-dir-YG36WJ5S.js.map → setup-data-dir-KUB6HK3V.js.map} +0 -0
  126. /package/dist/{tool-memory-XL3YIMGB.js.map → tool-memory-URZEDJRJ.js.map} +0 -0
  127. /package/dist/{unified-registry-RZ23VBFT.js.map → unified-registry-B2YQOYQ4.js.map} +0 -0
  128. /package/dist/{weather-report-IKCYZAZ3.js.map → weather-report-XEZDPSZM.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-ZNPWV2WN.js";
13
- import "./chunk-AMIRFMFC.js";
12
+ } from "./chunk-E3WQANII.js";
13
+ import "./chunk-WU3N4Q2W.js";
14
14
  import "./chunk-3HELETAQ.js";
15
15
  import "./chunk-JVNJJ2VL.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-2K2VKDB6.js.map
29
+ //# sourceMappingURL=ast-rule-runner-S2FVYD3R.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T5GVEXSA.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-AMIRFMFC.js";
6
+ } from "./chunk-WU3N4Q2W.js";
7
7
  import "./chunk-3HELETAQ.js";
8
8
  import "./chunk-JVNJJ2VL.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-FS63VN4T.js.map
65
+ //# sourceMappingURL=child-mcp-config-LZFSRS2Y.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-AMIRFMFC.js";
5
+ } from "./chunk-WU3N4Q2W.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -588,4 +588,4 @@ export {
588
588
  resolveReputationGatingMode,
589
589
  gateWithReputation
590
590
  };
591
- //# sourceMappingURL=chunk-2EITSDXF.js.map
591
+ //# sourceMappingURL=chunk-5QIRZEPC.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-AMIRFMFC.js";
6
+ } from "./chunk-WU3N4Q2W.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-JVNJJ2VL.js";
@@ -196,4 +196,4 @@ export {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
198
  };
199
- //# sourceMappingURL=chunk-I4KBCYAE.js.map
199
+ //# sourceMappingURL=chunk-5QJRFE7P.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-AMIRFMFC.js";
7
+ } from "./chunk-WU3N4Q2W.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-GIE4QGEL.js.map
724
+ //# sourceMappingURL=chunk-5RQLXO7L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-GIE4QGEL.js";
3
+ } from "./chunk-5RQLXO7L.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-BGTLVDIA.js";
24
+ } from "./chunk-GCNJWNXC.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-VQGUGZPR.js";
27
+ } from "./chunk-LE5GD6MT.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-IPU5MBXQ.js";
58
+ } from "./chunk-FU5XE5IC.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-PBMQEUMG.js";
66
+ } from "./chunk-D66ZGEMC.js";
67
67
  import {
68
68
  IssueTriage,
69
69
  createDurableAuditSink,
70
70
  createDurableAuditTrail
71
- } from "./chunk-SR3MQ2GG.js";
71
+ } from "./chunk-JNJDHFT7.js";
72
72
  import {
73
73
  resolveEnvMode,
74
74
  sanitizeInput
75
- } from "./chunk-2EITSDXF.js";
75
+ } from "./chunk-5QIRZEPC.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-GGZJIWAF.js";
78
+ } from "./chunk-PEN6JYVJ.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-KVWPOZEX.js";
103
+ } from "./chunk-YQQQDG7P.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
107
107
  emitPipelinePolicyEvent
108
- } from "./chunk-5XYODQTD.js";
108
+ } from "./chunk-JANMYVKT.js";
109
109
  import {
110
110
  EventTopics,
111
111
  createEvent,
112
112
  getGlobalEventBus,
113
113
  getGlobalRegistry
114
- } from "./chunk-DCD6WNPJ.js";
114
+ } from "./chunk-JR6IWC53.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-SX3DXUQV.js";
147
+ } from "./chunk-Y3NGTK3H.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-MZOXHJCW.js";
155
+ } from "./chunk-GRZDF5LY.js";
156
156
  import {
157
157
  getTokenEnvVars,
158
158
  resolveToken
159
- } from "./chunk-LQ7CMUN4.js";
159
+ } from "./chunk-OBNNU2P7.js";
160
160
  import {
161
161
  DEFAULT_RELEVANCE_CONFIG,
162
162
  MemoryImportance,
163
163
  MemoryType,
164
164
  calculateTextJaccardSimilarity,
165
165
  getToolMemory
166
- } from "./chunk-RRZ5PGJA.js";
166
+ } from "./chunk-ATIYWDZI.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-HDXB5U74.js";
173
+ } from "./chunk-MMOFBPGE.js";
174
174
  import {
175
175
  BUILT_IN_EXPERTS,
176
176
  BuiltInExpertTypeSchema,
@@ -188,29 +188,30 @@ import {
188
188
  getAvailableClis,
189
189
  sleep,
190
190
  withTimeout
191
- } from "./chunk-VNGVFKYD.js";
191
+ } from "./chunk-K6PI22W5.js";
192
192
  import {
193
193
  BaseAdapter,
194
194
  createStream,
195
195
  requireApiKey,
196
196
  validateApiKeyPresence
197
- } from "./chunk-56WJLZ5I.js";
197
+ } from "./chunk-VAMUAAXY.js";
198
198
  import {
199
199
  DEFAULTS
200
- } from "./chunk-HMBI27U4.js";
200
+ } from "./chunk-E7A6CTUR.js";
201
201
  import {
202
202
  getAvailabilityCache,
203
203
  getCliForModelId,
204
204
  resolveFallback
205
- } from "./chunk-3RILNEWZ.js";
205
+ } from "./chunk-KZ6ANGFK.js";
206
206
  import {
207
207
  generateHyphenId,
208
208
  generateUUID
209
- } from "./chunk-2DSRYCHY.js";
209
+ } from "./chunk-JXSN4V34.js";
210
210
  import {
211
211
  AGENT_ROUTER_TIMEOUTS,
212
212
  API_TIMEOUTS,
213
213
  ARCHITECTURE_KEYWORDS,
214
+ AUTHORITY_TIERS,
214
215
  AgentError,
215
216
  BoundedLRUCache,
216
217
  CLI_NAMES,
@@ -312,7 +313,7 @@ import {
312
313
  selectStrategyByManifest,
313
314
  toExpertTaskAnalysisResult,
314
315
  withStep
315
- } from "./chunk-AMIRFMFC.js";
316
+ } from "./chunk-WU3N4Q2W.js";
316
317
  import {
317
318
  ensureLearningDir,
318
319
  getMetaOutcomesFile,
@@ -29887,7 +29888,7 @@ function execIdFields(executionId) {
29887
29888
  async function populateUnifiedContextOnState(state, options) {
29888
29889
  const taskCandidate = state["task"];
29889
29890
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29890
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-45HON52O.js");
29891
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-FZCJ7DQI.js");
29891
29892
  const category = inferTaskCategory2(taskCandidate);
29892
29893
  const executionId = options?.executionId;
29893
29894
  const execFields = execIdFields(executionId);
@@ -45292,7 +45293,7 @@ async function tryIssueTriage(task) {
45292
45293
  try {
45293
45294
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45294
45295
  if (issueMatch === null) return null;
45295
- const { createIssueTriage } = await import("./issue-triage-U6DTKFH7.js");
45296
+ const { createIssueTriage } = await import("./issue-triage-Q36X64E3.js");
45296
45297
  const triage = createIssueTriage();
45297
45298
  const owner = issueMatch[1] ?? "";
45298
45299
  const num = issueMatch[2] ?? "";
@@ -45320,7 +45321,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45320
45321
  ]);
45321
45322
  async function classifyWithLLM(task) {
45322
45323
  try {
45323
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-DLO63EKU.js");
45324
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-TKTD3AEX.js");
45324
45325
  const prompt = [
45325
45326
  "Classify this task into exactly one pipeline template.",
45326
45327
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45694,7 +45695,7 @@ function buildVotingInput(plan, config) {
45694
45695
  }
45695
45696
  async function executeSingleVote(plan, config, log) {
45696
45697
  try {
45697
- const { executeVoting } = await import("./consensus-vote-XMNIGTYB.js");
45698
+ const { executeVoting } = await import("./consensus-vote-MARPQTCX.js");
45698
45699
  const input = buildVotingInput(plan, config);
45699
45700
  const result = await executeVoting(input, log);
45700
45701
  return parseVotingResult(result);
@@ -47253,7 +47254,7 @@ var memoryInitPromise = null;
47253
47254
  async function initPipelineMemory() {
47254
47255
  if (cachedMemory !== null) return cachedMemory;
47255
47256
  try {
47256
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-BFJEA6NL.js");
47257
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6BC5OGJS.js");
47257
47258
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47258
47259
  const mem = createSessionMemory2(getLearningDir());
47259
47260
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47315,7 +47316,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47315
47316
  callRecord(routingMemoryCache);
47316
47317
  return;
47317
47318
  }
47318
- routingMemoryInitPromise ??= import("./routing-memory-ZQVP734Q.js").then(({ createRoutingMemory }) => {
47319
+ routingMemoryInitPromise ??= import("./routing-memory-DFEBGRQB.js").then(({ createRoutingMemory }) => {
47319
47320
  routingMemoryCache ??= createRoutingMemory();
47320
47321
  return routingMemoryCache;
47321
47322
  }).catch((error) => {
@@ -47349,7 +47350,7 @@ ${text}` : "";
47349
47350
  }
47350
47351
  async function getWeatherContext() {
47351
47352
  try {
47352
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-IKCYZAZ3.js");
47353
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XEZDPSZM.js");
47353
47354
  const report = generateWeatherReport2({ includeAdaptive: true });
47354
47355
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47355
47356
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47367,7 +47368,7 @@ ${lines}
47367
47368
  }
47368
47369
  async function getMemoryContext(task) {
47369
47370
  try {
47370
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-BFJEA6NL.js");
47371
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6BC5OGJS.js");
47371
47372
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47372
47373
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47373
47374
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47486,7 +47487,7 @@ ${contextBlock}`;
47486
47487
  const strategy = config.votingStrategy ?? "higher_order";
47487
47488
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47488
47489
  try {
47489
- const { executeVoting } = await import("./consensus-vote-XMNIGTYB.js");
47490
+ const { executeVoting } = await import("./consensus-vote-MARPQTCX.js");
47490
47491
  const votingResult = await executeVoting(
47491
47492
  {
47492
47493
  proposal: buildVoteProposal(plan, research),
@@ -47917,7 +47918,7 @@ async function searchCodebaseForTask(task) {
47917
47918
  }
47918
47919
  async function queryResearchRegistry(task) {
47919
47920
  try {
47920
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3VMID7KI.js");
47921
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-E4RMSBRM.js");
47921
47922
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47922
47923
  if (topic === void 0) return null;
47923
47924
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47988,7 +47989,7 @@ function createScanStageWrapper() {
47988
47989
  try {
47989
47990
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47990
47991
  if (slug !== void 0) {
47991
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-IXCSU2IU.js");
47992
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-RC4C3JTS.js");
47992
47993
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47993
47994
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47994
47995
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50370,7 +50371,7 @@ function createMetaDispatcher(options) {
50370
50371
  }
50371
50372
 
50372
50373
  // src/orchestration/authority-tier-guard.ts
50373
- var ACTION_CLASSES = ["observe", "suggest", "advisory", "enforce"];
50374
+ var ACTION_CLASSES = AUTHORITY_TIERS;
50374
50375
  var RANK = Object.freeze(
50375
50376
  Object.fromEntries(ACTION_CLASSES.map((c, i) => [c, i]))
50376
50377
  );
@@ -51222,7 +51223,7 @@ var GitHubTaskTracker = class {
51222
51223
  cachedProvider = null;
51223
51224
  async getProvider() {
51224
51225
  if (this.cachedProvider !== null) return this.cachedProvider;
51225
- const { createScmProvider } = await import("./factory-OGOLQSYT.js");
51226
+ const { createScmProvider } = await import("./factory-7RV4LG54.js");
51226
51227
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51227
51228
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51228
51229
  this.cachedProvider = result.value;
@@ -52126,7 +52127,7 @@ async function probeSource(source, includeModelIds) {
52126
52127
  }
52127
52128
  }
52128
52129
  async function defaultSources(includeOpenRouter) {
52129
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-JRPJZXSI.js");
52130
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-ZQKRK46A.js");
52130
52131
  const adapters = createAllAdapters2();
52131
52132
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52132
52133
  }
@@ -56202,4 +56203,4 @@ export {
56202
56203
  shutdownFeedbackSubscriber,
56203
56204
  createEventBusBridge
56204
56205
  };
56205
- //# sourceMappingURL=chunk-NHOXP5EN.js.map
56206
+ //# sourceMappingURL=chunk-AITCNIU7.js.map