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.
@@ -32,10 +32,11 @@ import {
32
32
  toolError,
33
33
  toolSuccess,
34
34
  toolSuccessStructured,
35
+ warnIfSimulatedOutsideTests,
35
36
  withAccessPolicy,
36
37
  withProgressHeartbeat,
37
38
  wrapToolWithTimeout
38
- } from "./chunk-RIMON2SA.js";
39
+ } from "./chunk-PEDEZRPR.js";
39
40
  import {
40
41
  REGISTRY_PATH,
41
42
  getProjectRoot,
@@ -68,7 +69,7 @@ import {
68
69
  clampTaskTtl,
69
70
  getAvailabilityCache,
70
71
  resolveFallback
71
- } from "./chunk-C3FCZKNW.js";
72
+ } from "./chunk-53FRKIEQ.js";
72
73
  import {
73
74
  DEFAULTS
74
75
  } from "./chunk-FHFNOMNK.js";
@@ -42252,7 +42253,7 @@ ${contextBlock}`;
42252
42253
  const strategy = config.votingStrategy ?? "higher_order";
42253
42254
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
42254
42255
  try {
42255
- const { executeVoting } = await import("./consensus-vote-2ZCR7P3T.js");
42256
+ const { executeVoting } = await import("./consensus-vote-6FKSINXV.js");
42256
42257
  const votingResult = await executeVoting(
42257
42258
  {
42258
42259
  proposal: plan.slice(0, 4e3),
@@ -43694,8 +43695,8 @@ var PipelineInputSchema = z93.object({
43694
43695
  timeoutMs: z93.number().int().min(3e4).max(6e5).optional().describe("Max time per stage in ms (30000-600000). Default: varies by stage complexity"),
43695
43696
  /** Stop after planning/voting (no implementation). */
43696
43697
  dryRun: z93.boolean().default(false).describe("Stop after vote stage (no implementation)"),
43697
- /** Use simulated votes (for testing). */
43698
- simulateVotes: z93.boolean().default(false).describe("Use simulated votes (for testing without real CLIs)")
43698
+ /** TESTS ONLY random output, must not be used for real decisions. (#2319) */
43699
+ simulateVotes: z93.boolean().default(false).describe("TESTS ONLY \u2014 random output, must not be used for real decisions (#2319)")
43699
43700
  });
43700
43701
  function buildOutput2(result) {
43701
43702
  return {
@@ -43740,6 +43741,9 @@ function selectStageRegistry(template, task, agentStages) {
43740
43741
  function registerPipelineTool(server, _deps) {
43741
43742
  server.tool("run_pipeline", PipelineInputSchema.shape, async (args) => {
43742
43743
  const input = PipelineInputSchema.parse(args);
43744
+ if (input.simulateVotes) {
43745
+ warnIfSimulatedOutsideTests("run_pipeline", createLogger({ tool: "run_pipeline" }));
43746
+ }
43743
43747
  try {
43744
43748
  const task = resolveTask(input.task, input.specFile);
43745
43749
  const agentStages = createAgentStages({
@@ -53658,4 +53662,4 @@ export {
53658
53662
  detectBackend,
53659
53663
  createTaskTracker
53660
53664
  };
53661
- //# sourceMappingURL=chunk-SWF3WIP4.js.map
53665
+ //# sourceMappingURL=chunk-WYKMVZZS.js.map