nexus-agents 2.63.1 → 2.63.3

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.
package/dist/cli.js CHANGED
@@ -16,7 +16,7 @@ import "./chunk-MSFUOGN4.js";
16
16
  import {
17
17
  setupCommandAsync,
18
18
  verifyCommand
19
- } from "./chunk-UDP5MKHK.js";
19
+ } from "./chunk-F4XV6DGK.js";
20
20
  import "./chunk-EBFXDM3P.js";
21
21
  import {
22
22
  AuthHandler,
@@ -142,7 +142,7 @@ import {
142
142
  validateCommand,
143
143
  validateWorkflow,
144
144
  wrapInMarkdownFence
145
- } from "./chunk-SWF3WIP4.js";
145
+ } from "./chunk-WYKMVZZS.js";
146
146
  import "./chunk-ED6VQWNG.js";
147
147
  import {
148
148
  resolveToken
@@ -162,8 +162,9 @@ import {
162
162
  createUnifiedRegistry,
163
163
  registerConsensusVoteTool,
164
164
  shutdownToolMemory,
165
- validateTimeout
166
- } from "./chunk-RIMON2SA.js";
165
+ validateTimeout,
166
+ warnIfSimulatedOutsideTests
167
+ } from "./chunk-PEDEZRPR.js";
167
168
  import "./chunk-NF5KOUKM.js";
168
169
  import {
169
170
  loadPapersRegistry,
@@ -201,7 +202,7 @@ import {
201
202
  loadConfig,
202
203
  runDoctor,
203
204
  validateNexusEnv
204
- } from "./chunk-C3FCZKNW.js";
205
+ } from "./chunk-53FRKIEQ.js";
205
206
  import {
206
207
  DEFAULTS
207
208
  } from "./chunk-FHFNOMNK.js";
@@ -18285,8 +18286,11 @@ var DevPipelineInputSchema = z9.object({
18285
18286
  labels: z9.array(z9.string()).optional().describe("Labels for created issues"),
18286
18287
  /** Session ID for checkpoint/resume. Enables crash recovery. */
18287
18288
  sessionId: z9.string().max(128).regex(/^[a-zA-Z0-9_-]+$/).optional().describe("Session ID for checkpoint/resume (crash recovery)"),
18288
- /** When true, use simulated votes instead of real CLI consensus (for testing). */
18289
- simulateVotes: z9.boolean().default(false).describe("Use simulated votes (for testing without real CLIs)"),
18289
+ /**
18290
+ * TESTS ONLY when true, voters return random decisions. Must not be used as
18291
+ * a fallback when adapters are unavailable; configure an adapter instead. (#2319)
18292
+ */
18293
+ simulateVotes: z9.boolean().default(false).describe("TESTS ONLY \u2014 random output, must not be used for real decisions (#2319)"),
18290
18294
  /** Voting strategy for consensus stages. */
18291
18295
  votingStrategy: z9.enum([
18292
18296
  "simple_majority",
@@ -18355,6 +18359,9 @@ function buildStructuredOutput(result) {
18355
18359
  function registerDevPipelineTool(server, _deps) {
18356
18360
  server.tool("run_dev_pipeline", DevPipelineInputSchema.shape, async (args) => {
18357
18361
  const input = DevPipelineInputSchema.parse(args);
18362
+ if (input.simulateVotes) {
18363
+ warnIfSimulatedOutsideTests("run_dev_pipeline", createLogger({ tool: "run_dev_pipeline" }));
18364
+ }
18358
18365
  try {
18359
18366
  const taskText = resolveTaskInput(input);
18360
18367
  const stages = await createStages(input);