nexus-agents 3.5.3 → 3.5.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 (119) hide show
  1. package/dist/{child-mcp-config-VVTPONKP.js → child-mcp-config-SVGK6QFI.js} +2 -2
  2. package/dist/{chunk-GWLBIDS6.js → chunk-3XYA4XDX.js} +3 -3
  3. package/dist/{chunk-UFJDYK22.js → chunk-4Q6SSODG.js} +4 -4
  4. package/dist/{chunk-D3KHLA3D.js → chunk-542D7RE3.js} +2 -2
  5. package/dist/{chunk-GVLDWGSK.js → chunk-56GTITUT.js} +7 -7
  6. package/dist/{chunk-HPAYIX7E.js → chunk-6LZNWY4D.js} +2 -2
  7. package/dist/{chunk-UOA23X5A.js → chunk-77RSSNU6.js} +2 -2
  8. package/dist/{chunk-C25JA3SI.js → chunk-ABNK3EFM.js} +4 -4
  9. package/dist/{chunk-KBVU2GGV.js → chunk-ALDOPPP4.js} +2 -2
  10. package/dist/{chunk-4ZVNCOZH.js → chunk-CFJV3CEA.js} +2 -2
  11. package/dist/{chunk-QDH2SQKE.js → chunk-CWOXQK7J.js} +2 -2
  12. package/dist/{chunk-ROIGF7ZF.js → chunk-DJ7YCUOL.js} +4 -4
  13. package/dist/{chunk-XKGEKKKQ.js → chunk-EJQRYAKB.js} +3 -3
  14. package/dist/{chunk-LMGXSMC6.js → chunk-EOVXDAYT.js} +2 -2
  15. package/dist/{chunk-L4J7AXP3.js → chunk-J5TKJM7U.js} +2 -2
  16. package/dist/{chunk-UKIFG26L.js → chunk-JOWSYOT4.js} +3 -3
  17. package/dist/{chunk-QDUZSOOU.js → chunk-KJY3WZJY.js} +2 -2
  18. package/dist/{chunk-Z5HKO4TN.js → chunk-LFIDNLBP.js} +2 -2
  19. package/dist/{chunk-YFY64CCU.js → chunk-OO7JQJTG.js} +61 -27
  20. package/dist/chunk-OO7JQJTG.js.map +1 -0
  21. package/dist/{chunk-7GFMCMLF.js → chunk-OVYEVJIS.js} +2 -2
  22. package/dist/{chunk-XOWOOBY7.js → chunk-PGNOJRUL.js} +5 -5
  23. package/dist/{chunk-TPKK4ANS.js → chunk-R4W2GOYG.js} +2 -2
  24. package/dist/{chunk-IK45M7J3.js → chunk-RNERS4BC.js} +5 -5
  25. package/dist/{chunk-454KEMNV.js → chunk-SRCFMAN5.js} +8 -8
  26. package/dist/{chunk-45IB3F6G.js → chunk-TXQUWORP.js} +9 -8
  27. package/dist/chunk-TXQUWORP.js.map +1 -0
  28. package/dist/{chunk-HKX7HKDV.js → chunk-UAXEANMF.js} +3 -3
  29. package/dist/{chunk-C4GSCDCI.js → chunk-URTX43PS.js} +5 -5
  30. package/dist/{chunk-U76AVHIW.js → chunk-VIVICQZY.js} +2 -2
  31. package/dist/{chunk-VJU2NER7.js → chunk-W6BGGXFL.js} +39 -38
  32. package/dist/{chunk-VJU2NER7.js.map → chunk-W6BGGXFL.js.map} +1 -1
  33. package/dist/{chunk-XKAUANYB.js → chunk-WSFTWS2A.js} +2 -2
  34. package/dist/{chunk-3FSBTAEC.js → chunk-XLACRVKG.js} +2 -2
  35. package/dist/{chunk-EKASN4MV.js → chunk-XZ7XRJY5.js} +5 -5
  36. package/dist/{chunk-5MRYWJVK.js → chunk-XZYPUK4O.js} +2 -2
  37. package/dist/{chunk-6DIGIJIY.js → chunk-Z4NDPKGT.js} +8 -8
  38. package/dist/{cli-circuit-breaker-BKCDXF7A.js → cli-circuit-breaker-WWXIVSRL.js} +3 -3
  39. package/dist/cli.js +40 -40
  40. package/dist/{composite-router-7ZQW5X6M.js → composite-router-DHNRWBLP.js} +2 -2
  41. package/dist/{consensus-vote-JAQXK6NR.js → consensus-vote-FOXNWPYK.js} +16 -16
  42. package/dist/{context-retriever-4BWVW6Z3.js → context-retriever-SHMAFK3K.js} +8 -8
  43. package/dist/{doctor-deep-XEIFQH2B.js → doctor-deep-R2DKQMK4.js} +3 -3
  44. package/dist/{expert-bridge-KXXOPEZF.js → expert-bridge-WJ54PXNM.js} +4 -4
  45. package/dist/{factory-DFOM4HM5.js → factory-JWGO2QJJ.js} +5 -5
  46. package/dist/{factory-L74ZN3ZO.js → factory-WFICVFVH.js} +9 -9
  47. package/dist/{improvement-review-P5OTBXCR.js → improvement-review-N5IGPQOL.js} +5 -5
  48. package/dist/index.js +30 -30
  49. package/dist/{init-opencode-ZYRLCXUF.js → init-opencode-YSZRAYEA.js} +6 -6
  50. package/dist/{issue-triage-R543HBHK.js → issue-triage-EMQSTTXS.js} +6 -6
  51. package/dist/{pr-reviewer-helpers-T33G7ACC.js → pr-reviewer-helpers-ZP6PBKBX.js} +4 -4
  52. package/dist/{registry-command-PW7PXQDH.js → registry-command-KEAFJLHC.js} +2 -2
  53. package/dist/{repo-security-plan-RVKAJD7N.js → repo-security-plan-PYRBPSWW.js} +3 -3
  54. package/dist/{research-helpers-synthesize-FPBPUTJJ.js → research-helpers-synthesize-PNNPNBWS.js} +4 -4
  55. package/dist/{routing-memory-X5KJULU7.js → routing-memory-RZ5RV35U.js} +2 -2
  56. package/dist/{session-memory-UX5SU2ZG.js → session-memory-LXWIFK34.js} +3 -3
  57. package/dist/{setup-command-5YJMFY3W.js → setup-command-XGW7X7RX.js} +14 -14
  58. package/dist/{setup-config-IEH3CVR5.js → setup-config-QR3QG2PF.js} +3 -3
  59. package/dist/{setup-custom-api-V4K6SQQN.js → setup-custom-api-H6C36KPK.js} +4 -4
  60. package/dist/{tool-memory-IALII4YE.js → tool-memory-XJKSCMZT.js} +5 -5
  61. package/dist/{unified-registry-RUA3EHP4.js → unified-registry-X6V64OYT.js} +10 -10
  62. package/dist/{weather-report-PBVXX2HU.js → weather-report-BDYHHFYX.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-45IB3F6G.js.map +0 -1
  65. package/dist/chunk-YFY64CCU.js.map +0 -1
  66. /package/dist/{child-mcp-config-VVTPONKP.js.map → child-mcp-config-SVGK6QFI.js.map} +0 -0
  67. /package/dist/{chunk-GWLBIDS6.js.map → chunk-3XYA4XDX.js.map} +0 -0
  68. /package/dist/{chunk-UFJDYK22.js.map → chunk-4Q6SSODG.js.map} +0 -0
  69. /package/dist/{chunk-D3KHLA3D.js.map → chunk-542D7RE3.js.map} +0 -0
  70. /package/dist/{chunk-GVLDWGSK.js.map → chunk-56GTITUT.js.map} +0 -0
  71. /package/dist/{chunk-HPAYIX7E.js.map → chunk-6LZNWY4D.js.map} +0 -0
  72. /package/dist/{chunk-UOA23X5A.js.map → chunk-77RSSNU6.js.map} +0 -0
  73. /package/dist/{chunk-C25JA3SI.js.map → chunk-ABNK3EFM.js.map} +0 -0
  74. /package/dist/{chunk-KBVU2GGV.js.map → chunk-ALDOPPP4.js.map} +0 -0
  75. /package/dist/{chunk-4ZVNCOZH.js.map → chunk-CFJV3CEA.js.map} +0 -0
  76. /package/dist/{chunk-QDH2SQKE.js.map → chunk-CWOXQK7J.js.map} +0 -0
  77. /package/dist/{chunk-ROIGF7ZF.js.map → chunk-DJ7YCUOL.js.map} +0 -0
  78. /package/dist/{chunk-XKGEKKKQ.js.map → chunk-EJQRYAKB.js.map} +0 -0
  79. /package/dist/{chunk-LMGXSMC6.js.map → chunk-EOVXDAYT.js.map} +0 -0
  80. /package/dist/{chunk-L4J7AXP3.js.map → chunk-J5TKJM7U.js.map} +0 -0
  81. /package/dist/{chunk-UKIFG26L.js.map → chunk-JOWSYOT4.js.map} +0 -0
  82. /package/dist/{chunk-QDUZSOOU.js.map → chunk-KJY3WZJY.js.map} +0 -0
  83. /package/dist/{chunk-Z5HKO4TN.js.map → chunk-LFIDNLBP.js.map} +0 -0
  84. /package/dist/{chunk-7GFMCMLF.js.map → chunk-OVYEVJIS.js.map} +0 -0
  85. /package/dist/{chunk-XOWOOBY7.js.map → chunk-PGNOJRUL.js.map} +0 -0
  86. /package/dist/{chunk-TPKK4ANS.js.map → chunk-R4W2GOYG.js.map} +0 -0
  87. /package/dist/{chunk-IK45M7J3.js.map → chunk-RNERS4BC.js.map} +0 -0
  88. /package/dist/{chunk-454KEMNV.js.map → chunk-SRCFMAN5.js.map} +0 -0
  89. /package/dist/{chunk-HKX7HKDV.js.map → chunk-UAXEANMF.js.map} +0 -0
  90. /package/dist/{chunk-C4GSCDCI.js.map → chunk-URTX43PS.js.map} +0 -0
  91. /package/dist/{chunk-U76AVHIW.js.map → chunk-VIVICQZY.js.map} +0 -0
  92. /package/dist/{chunk-XKAUANYB.js.map → chunk-WSFTWS2A.js.map} +0 -0
  93. /package/dist/{chunk-3FSBTAEC.js.map → chunk-XLACRVKG.js.map} +0 -0
  94. /package/dist/{chunk-EKASN4MV.js.map → chunk-XZ7XRJY5.js.map} +0 -0
  95. /package/dist/{chunk-5MRYWJVK.js.map → chunk-XZYPUK4O.js.map} +0 -0
  96. /package/dist/{chunk-6DIGIJIY.js.map → chunk-Z4NDPKGT.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-BKCDXF7A.js.map → cli-circuit-breaker-WWXIVSRL.js.map} +0 -0
  98. /package/dist/{composite-router-7ZQW5X6M.js.map → composite-router-DHNRWBLP.js.map} +0 -0
  99. /package/dist/{consensus-vote-JAQXK6NR.js.map → consensus-vote-FOXNWPYK.js.map} +0 -0
  100. /package/dist/{context-retriever-4BWVW6Z3.js.map → context-retriever-SHMAFK3K.js.map} +0 -0
  101. /package/dist/{doctor-deep-XEIFQH2B.js.map → doctor-deep-R2DKQMK4.js.map} +0 -0
  102. /package/dist/{expert-bridge-KXXOPEZF.js.map → expert-bridge-WJ54PXNM.js.map} +0 -0
  103. /package/dist/{factory-DFOM4HM5.js.map → factory-JWGO2QJJ.js.map} +0 -0
  104. /package/dist/{factory-L74ZN3ZO.js.map → factory-WFICVFVH.js.map} +0 -0
  105. /package/dist/{improvement-review-P5OTBXCR.js.map → improvement-review-N5IGPQOL.js.map} +0 -0
  106. /package/dist/{init-opencode-ZYRLCXUF.js.map → init-opencode-YSZRAYEA.js.map} +0 -0
  107. /package/dist/{issue-triage-R543HBHK.js.map → issue-triage-EMQSTTXS.js.map} +0 -0
  108. /package/dist/{pr-reviewer-helpers-T33G7ACC.js.map → pr-reviewer-helpers-ZP6PBKBX.js.map} +0 -0
  109. /package/dist/{registry-command-PW7PXQDH.js.map → registry-command-KEAFJLHC.js.map} +0 -0
  110. /package/dist/{repo-security-plan-RVKAJD7N.js.map → repo-security-plan-PYRBPSWW.js.map} +0 -0
  111. /package/dist/{research-helpers-synthesize-FPBPUTJJ.js.map → research-helpers-synthesize-PNNPNBWS.js.map} +0 -0
  112. /package/dist/{routing-memory-X5KJULU7.js.map → routing-memory-RZ5RV35U.js.map} +0 -0
  113. /package/dist/{session-memory-UX5SU2ZG.js.map → session-memory-LXWIFK34.js.map} +0 -0
  114. /package/dist/{setup-command-5YJMFY3W.js.map → setup-command-XGW7X7RX.js.map} +0 -0
  115. /package/dist/{setup-config-IEH3CVR5.js.map → setup-config-QR3QG2PF.js.map} +0 -0
  116. /package/dist/{setup-custom-api-V4K6SQQN.js.map → setup-custom-api-H6C36KPK.js.map} +0 -0
  117. /package/dist/{tool-memory-IALII4YE.js.map → tool-memory-XJKSCMZT.js.map} +0 -0
  118. /package/dist/{unified-registry-RUA3EHP4.js.map → unified-registry-X6V64OYT.js.map} +0 -0
  119. /package/dist/{weather-report-PBVXX2HU.js.map → weather-report-BDYHHFYX.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  emitClawGuardViolation
3
- } from "./chunk-L4J7AXP3.js";
3
+ } from "./chunk-J5TKJM7U.js";
4
4
  import {
5
5
  CACHE_TIMEOUTS,
6
6
  MCP_TIMEOUTS,
@@ -16,7 +16,7 @@ import {
16
16
  getTimeProvider,
17
17
  ok,
18
18
  resolveToolClassGuardMs
19
- } from "./chunk-YFY64CCU.js";
19
+ } from "./chunk-OO7JQJTG.js";
20
20
  import {
21
21
  getNexusDataDir
22
22
  } from "./chunk-OQLFRJCW.js";
@@ -2028,4 +2028,4 @@ export {
2028
2028
  VOTING_THRESHOLDS,
2029
2029
  ConsensusMetricsSchema
2030
2030
  };
2031
- //# sourceMappingURL=chunk-HKX7HKDV.js.map
2031
+ //# sourceMappingURL=chunk-UAXEANMF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-QDUZSOOU.js";
3
+ } from "./chunk-KJY3WZJY.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,13 +8,13 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-454KEMNV.js";
11
+ } from "./chunk-SRCFMAN5.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-45IB3F6G.js";
17
+ } from "./chunk-TXQUWORP.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  colors,
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-YFY64CCU.js";
28
+ } from "./chunk-OO7JQJTG.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-C4GSCDCI.js.map
2004
+ //# sourceMappingURL=chunk-URTX43PS.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-YFY64CCU.js";
7
+ } from "./chunk-OO7JQJTG.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-U76AVHIW.js.map
266
+ //# sourceMappingURL=chunk-VIVICQZY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-XKAUANYB.js";
3
+ } from "./chunk-WSFTWS2A.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -22,10 +22,10 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-454KEMNV.js";
25
+ } from "./chunk-SRCFMAN5.js";
26
26
  import {
27
27
  executeExpert
28
- } from "./chunk-GVLDWGSK.js";
28
+ } from "./chunk-56GTITUT.js";
29
29
  import {
30
30
  JobStatusSchema,
31
31
  abortJob,
@@ -46,21 +46,21 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-6DIGIJIY.js";
49
+ } from "./chunk-Z4NDPKGT.js";
50
50
  import {
51
51
  normalizeTopicToCanonical,
52
52
  synthesizeResearch
53
- } from "./chunk-XKGEKKKQ.js";
53
+ } from "./chunk-EJQRYAKB.js";
54
54
  import {
55
55
  IssueTriage
56
- } from "./chunk-IK45M7J3.js";
56
+ } from "./chunk-RNERS4BC.js";
57
57
  import {
58
58
  resolveEnvMode,
59
59
  sanitizeInput
60
- } from "./chunk-KBVU2GGV.js";
60
+ } from "./chunk-ALDOPPP4.js";
61
61
  import {
62
62
  withPrerequisite
63
- } from "./chunk-UKIFG26L.js";
63
+ } from "./chunk-JOWSYOT4.js";
64
64
  import {
65
65
  NOOP_NOTIFIER,
66
66
  RateLimiter,
@@ -83,18 +83,18 @@ import {
83
83
  withAuditTrail,
84
84
  withProgressHeartbeat,
85
85
  wrapToolWithTimeout
86
- } from "./chunk-HKX7HKDV.js";
86
+ } from "./chunk-UAXEANMF.js";
87
87
  import {
88
88
  createAuditTrail,
89
89
  createGraphAuditBridge,
90
90
  emitPipelinePolicyEvent
91
- } from "./chunk-L4J7AXP3.js";
91
+ } from "./chunk-J5TKJM7U.js";
92
92
  import {
93
93
  EventTopics,
94
94
  createEvent,
95
95
  getGlobalEventBus,
96
96
  getGlobalRegistry
97
- } from "./chunk-UFJDYK22.js";
97
+ } from "./chunk-4Q6SSODG.js";
98
98
  import {
99
99
  IDENTIFIER_RE,
100
100
  LANG_VALUES,
@@ -127,15 +127,15 @@ import {
127
127
  parseRegistry,
128
128
  sourceExistsInRegistry,
129
129
  summarizeContextForPrompt
130
- } from "./chunk-EKASN4MV.js";
130
+ } from "./chunk-XZ7XRJY5.js";
131
131
  import {
132
132
  getTokenEnvVars,
133
133
  resolveToken
134
- } from "./chunk-TPKK4ANS.js";
134
+ } from "./chunk-R4W2GOYG.js";
135
135
  import {
136
136
  loadPapersRegistry,
137
137
  loadTechniquesRegistry
138
- } from "./chunk-QDH2SQKE.js";
138
+ } from "./chunk-CWOXQK7J.js";
139
139
  import {
140
140
  resolveInsideRoot
141
141
  } from "./chunk-NUBSJGQZ.js";
@@ -144,14 +144,14 @@ import {
144
144
  MemoryImportance,
145
145
  calculateTextJaccardSimilarity,
146
146
  getToolMemory
147
- } from "./chunk-ROIGF7ZF.js";
147
+ } from "./chunk-DJ7YCUOL.js";
148
148
  import {
149
149
  STOPWORDS,
150
150
  truncateWithInfo
151
151
  } from "./chunk-6T3EPABN.js";
152
152
  import {
153
153
  createSessionMemory
154
- } from "./chunk-Z5HKO4TN.js";
154
+ } from "./chunk-LFIDNLBP.js";
155
155
  import {
156
156
  BUILT_IN_EXPERTS,
157
157
  BuiltInExpertTypeSchema,
@@ -169,25 +169,25 @@ import {
169
169
  getAvailableClis,
170
170
  sleep,
171
171
  withTimeout
172
- } from "./chunk-45IB3F6G.js";
172
+ } from "./chunk-TXQUWORP.js";
173
173
  import {
174
174
  BaseAdapter,
175
175
  createStream,
176
176
  requireApiKey,
177
177
  validateApiKeyPresence
178
- } from "./chunk-7GFMCMLF.js";
178
+ } from "./chunk-OVYEVJIS.js";
179
179
  import {
180
180
  DEFAULTS
181
- } from "./chunk-3FSBTAEC.js";
181
+ } from "./chunk-XLACRVKG.js";
182
182
  import {
183
183
  getAvailabilityCache,
184
184
  getCliForModelId,
185
185
  resolveFallback
186
- } from "./chunk-LMGXSMC6.js";
186
+ } from "./chunk-EOVXDAYT.js";
187
187
  import {
188
188
  generateHyphenId,
189
189
  generateUUID
190
- } from "./chunk-5MRYWJVK.js";
190
+ } from "./chunk-XZYPUK4O.js";
191
191
  import {
192
192
  AGENT_ROUTER_TIMEOUTS,
193
193
  API_TIMEOUTS,
@@ -286,7 +286,7 @@ import {
286
286
  selectStrategyByManifest,
287
287
  toExpertTaskAnalysisResult,
288
288
  withStep
289
- } from "./chunk-YFY64CCU.js";
289
+ } from "./chunk-OO7JQJTG.js";
290
290
  import {
291
291
  ensureLearningDir,
292
292
  getMetaOutcomesFile,
@@ -28356,7 +28356,7 @@ function execIdFields(executionId) {
28356
28356
  async function populateUnifiedContextOnState(state, options) {
28357
28357
  const taskCandidate = state["task"];
28358
28358
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28359
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-4BWVW6Z3.js");
28359
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-SHMAFK3K.js");
28360
28360
  const category = inferTaskCategory2(taskCandidate);
28361
28361
  const executionId = options?.executionId;
28362
28362
  const execFields = execIdFields(executionId);
@@ -43895,7 +43895,7 @@ async function tryIssueTriage(task) {
43895
43895
  try {
43896
43896
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43897
43897
  if (issueMatch === null) return null;
43898
- const { createIssueTriage } = await import("./issue-triage-R543HBHK.js");
43898
+ const { createIssueTriage } = await import("./issue-triage-EMQSTTXS.js");
43899
43899
  const triage = createIssueTriage();
43900
43900
  const owner = issueMatch[1] ?? "";
43901
43901
  const num = issueMatch[2] ?? "";
@@ -43923,7 +43923,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43923
43923
  ]);
43924
43924
  async function classifyWithLLM(task) {
43925
43925
  try {
43926
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-KXXOPEZF.js");
43926
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-WJ54PXNM.js");
43927
43927
  const prompt = [
43928
43928
  "Classify this task into exactly one pipeline template.",
43929
43929
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45465,7 +45465,7 @@ function aggregateResults2(checks) {
45465
45465
  else if (c.verdict === "fail") fail++;
45466
45466
  else skip2++;
45467
45467
  }
45468
- const verdict = fail > 0 ? "fail" : pass === 0 && skip2 > 0 ? "skip" : "pass";
45468
+ const verdict = fail > 0 ? "fail" : pass > 0 ? "pass" : "skip";
45469
45469
  return { verdict, summary: { pass, fail, skip: skip2 } };
45470
45470
  }
45471
45471
  function generateFeedback2(checks) {
@@ -45649,7 +45649,7 @@ var memoryInitPromise = null;
45649
45649
  async function initPipelineMemory() {
45650
45650
  if (cachedMemory !== null) return cachedMemory;
45651
45651
  try {
45652
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-UX5SU2ZG.js");
45652
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LXWIFK34.js");
45653
45653
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45654
45654
  const mem = createSessionMemory2(getLearningDir());
45655
45655
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45711,7 +45711,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45711
45711
  callRecord(routingMemoryCache);
45712
45712
  return;
45713
45713
  }
45714
- routingMemoryInitPromise ??= import("./routing-memory-X5KJULU7.js").then(({ createRoutingMemory }) => {
45714
+ routingMemoryInitPromise ??= import("./routing-memory-RZ5RV35U.js").then(({ createRoutingMemory }) => {
45715
45715
  routingMemoryCache ??= createRoutingMemory();
45716
45716
  return routingMemoryCache;
45717
45717
  }).catch((error) => {
@@ -45745,7 +45745,7 @@ ${text}` : "";
45745
45745
  }
45746
45746
  async function getWeatherContext() {
45747
45747
  try {
45748
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PBVXX2HU.js");
45748
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BDYHHFYX.js");
45749
45749
  const report = generateWeatherReport2({ includeAdaptive: true });
45750
45750
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45751
45751
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45763,7 +45763,7 @@ ${lines}
45763
45763
  }
45764
45764
  async function getMemoryContext(task) {
45765
45765
  try {
45766
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-UX5SU2ZG.js");
45766
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LXWIFK34.js");
45767
45767
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45768
45768
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45769
45769
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45878,7 +45878,7 @@ ${contextBlock}`;
45878
45878
  const strategy = config.votingStrategy ?? "higher_order";
45879
45879
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45880
45880
  try {
45881
- const { executeVoting } = await import("./consensus-vote-JAQXK6NR.js");
45881
+ const { executeVoting } = await import("./consensus-vote-FOXNWPYK.js");
45882
45882
  const votingResult = await executeVoting(
45883
45883
  {
45884
45884
  proposal: buildVoteProposal(plan, research),
@@ -46068,7 +46068,8 @@ Verdict: PASS/NEEDS_WORK/REJECT`,
46068
46068
  success: passed,
46069
46069
  durationMs: ms
46070
46070
  });
46071
- await postProgress(config, "Security", passed ? "Passed" : `BLOCKED: ${result.details}`);
46071
+ const securityNote = result.verdict === "skip" ? `Security scan did not run: ${result.details}. Install the scanner, or use qualityGate 'advisory' to proceed without security evidence.` : `BLOCKED: ${result.details}`;
46072
+ await postProgress(config, "Security", passed ? "Passed" : securityNote);
46072
46073
  flushPipelineMemory();
46073
46074
  return { passed, feedback: result.details };
46074
46075
  }
@@ -46316,7 +46317,7 @@ async function searchCodebaseForTask(task) {
46316
46317
  }
46317
46318
  async function queryResearchRegistry(task) {
46318
46319
  try {
46319
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FPBPUTJJ.js");
46320
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-PNNPNBWS.js");
46320
46321
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46321
46322
  if (topic === void 0) return null;
46322
46323
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46387,7 +46388,7 @@ function createScanStageWrapper() {
46387
46388
  try {
46388
46389
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46389
46390
  if (slug !== void 0) {
46390
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-RVKAJD7N.js");
46391
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-PYRBPSWW.js");
46391
46392
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46392
46393
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46393
46394
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -48288,7 +48289,7 @@ async function runQualityGateHandler(args, logger58) {
48288
48289
  });
48289
48290
  }
48290
48291
  }
48291
- var DESCRIPTION2 = "Run the QA quality gate (#1684 engine) against a project directory. Allowlisted checks: typecheck | lint | tests | build | security (default ['typecheck','lint','tests']). Returns the structured { stage, verdict, checks[], summary, feedback } verdict. projectDir must stay inside the repository root; per-check output is capped at 500 chars.";
48292
+ var DESCRIPTION2 = "Run the QA quality gate (#1684 engine) against a project directory. Allowlisted checks: typecheck | lint | tests | build | security (default ['typecheck','lint','tests']). Each check runs the REPOSITORY'S own declared package script through the lockfile-selected package manager (#4355) \u2014 never a downloaded tool \u2014 and reports skip when no such script is declared, rather than substituting one. A run in which nothing executed reports verdict 'skip', never 'pass': no evidence is not a pass. Returns the structured { stage, verdict, checks[], summary, feedback } verdict. projectDir must stay inside the repository root; per-check output is capped at 500 chars.";
48292
48293
  function registerRunQualityGateTool(server, deps) {
48293
48294
  const logger58 = deps.logger ?? createLogger({ tool: "run_quality_gate" });
48294
48295
  const toolSchema = {
@@ -49392,7 +49393,7 @@ var GitHubTaskTracker = class {
49392
49393
  cachedProvider = null;
49393
49394
  async getProvider() {
49394
49395
  if (this.cachedProvider !== null) return this.cachedProvider;
49395
- const { createScmProvider } = await import("./factory-DFOM4HM5.js");
49396
+ const { createScmProvider } = await import("./factory-JWGO2QJJ.js");
49396
49397
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49397
49398
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49398
49399
  this.cachedProvider = result.value;
@@ -50234,7 +50235,7 @@ async function probeSource(source, includeModelIds) {
50234
50235
  }
50235
50236
  }
50236
50237
  async function defaultSources(includeOpenRouter) {
50237
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-L74ZN3ZO.js");
50238
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-WFICVFVH.js");
50238
50239
  const adapters = createAllAdapters2();
50239
50240
  return buildDefaultModelSources(adapters, { includeOpenRouter });
50240
50241
  }
@@ -54254,4 +54255,4 @@ export {
54254
54255
  shutdownFeedbackSubscriber,
54255
54256
  createEventBusBridge
54256
54257
  };
54257
- //# sourceMappingURL=chunk-VJU2NER7.js.map
54258
+ //# sourceMappingURL=chunk-W6BGGXFL.js.map