nexus-agents 4.18.4 → 4.19.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.
@@ -170,7 +170,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
170
170
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
171
171
 
172
172
  // src/version.ts
173
- var VERSION = true ? "4.18.4" : "dev";
173
+ var VERSION = true ? "4.19.0" : "dev";
174
174
 
175
175
  // src/mcp/task-store.ts
176
176
  import { InMemoryTaskStore } from "@modelcontextprotocol/sdk/experimental/tasks";
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-AD4A5YON.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EAFLF3PB.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
@@ -1304,4 +1304,4 @@ export {
1304
1304
  startStdioServer,
1305
1305
  closeServer
1306
1306
  };
1307
- //# sourceMappingURL=chunk-5NKKABGU.js.map
1307
+ //# sourceMappingURL=chunk-GTTWH33G.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-5NKKABGU.js";
24
+ } from "./chunk-GTTWH33G.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-3VJ2MSUU.js";
@@ -45,7 +45,7 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-MYYPOVLV.js";
48
+ } from "./chunk-XGBGZ26Y.js";
49
49
  import {
50
50
  allOf
51
51
  } from "./chunk-OQB3XC5O.js";
@@ -47266,7 +47266,7 @@ ${contextBlock}`;
47266
47266
  const strategy = config.votingStrategy ?? "higher_order";
47267
47267
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47268
47268
  try {
47269
- const { executeVoting } = await import("./consensus-vote-DQ6VBS7I.js");
47269
+ const { executeVoting } = await import("./consensus-vote-QZ35XJ2C.js");
47270
47270
  const votingResult = await executeVoting(
47271
47271
  {
47272
47272
  proposal: buildVoteProposal(plan, research),
@@ -55862,4 +55862,4 @@ export {
55862
55862
  shutdownFeedbackSubscriber,
55863
55863
  createEventBusBridge
55864
55864
  };
55865
- //# sourceMappingURL=chunk-NBWEGQNU.js.map
55865
+ //# sourceMappingURL=chunk-SVZIKI2Z.js.map
@@ -6601,24 +6601,7 @@ var CONSENSUS_VOTE_OUTPUT_SCHEMA = {
6601
6601
  vetoReason: z10.string().max(400).optional()
6602
6602
  }).optional()
6603
6603
  };
6604
- var CONSENSUS_VOTE_TOOL_SCHEMA = {
6605
- proposal: z10.string().min(1).max(MAX_PROPOSAL_LENGTH).describe("Proposal text to vote on"),
6606
- options: z10.array(z10.string().min(1).max(200)).min(2).max(10).optional().describe(
6607
- "Named alternatives for a multi-option proposal (#4472). When present, the threshold must ALSO be cleared by the leading option: `unanimous` requires every approver to have chosen the SAME option, and `supermajority`/`majority` measure the leading option's share of approvers. An approving voter whose selection is absent or matches no declared option stays in the denominator and credits no option, so a degraded response can only lower the leading share, never raise it. Omit for an ordinary yes/no vote."
6608
- ),
6609
- threshold: z10.enum(["majority", "supermajority", "unanimous"]).optional().describe("Voting threshold (legacy). Use strategy instead."),
6610
- strategy: VotingStrategySchema.optional().describe(
6611
- "Voting strategy: simple_majority (default), supermajority, unanimous, proof_of_learning, or higher_order"
6612
- ),
6613
- errorPolicy: ErrorPolicySchema.optional().describe(
6614
- "How to treat errored/timed-out voters (#2630): reduce_denominator (default non-strict) | count_as_abstain | fail_closed (default unanimous) | absolute_quorum (#4132 opt-in \u2014 an errored voter, esp. the contrarian, degrades the verdict to no_quorum instead of being dropped; never manufactures approved/rejected from an induced error). Errors > 50% always fails."
6615
- ),
6616
- quickMode: z10.boolean().optional().default(false).describe("Use 3 agents instead of 7"),
6617
- simulateVotes: z10.boolean().optional().default(false).describe("TESTS ONLY \u2014 random output, must not be used for real decisions (#2319)"),
6618
- ratifies: z10.string().min(1).max(256).optional().describe(
6619
- "Authority-tier ratification subject (#4004) \u2014 the loop/strategy id this vote ratifies for an authority-ladder promotion. Bound into the authentic vote record so the promotion gate can verify it. Omit for ordinary votes."
6620
- )
6621
- };
6604
+ var CONSENSUS_VOTE_TOOL_SCHEMA = ConsensusVoteInputSchema.shape;
6622
6605
  var CONSENSUS_VOTE_DESCRIPTION = "Execute multi-model consensus voting on a proposal. Uses 7 roles by default (architect, security, devex, ai_ml, pm, catfish, scope_steward) or 3 with quickMode (architect, security, scope_steward), voting with configurable strategies. higher_order does NOT decide the verdict by correlation-aware aggregation (#4701): approve/reject is a simple tally of the panel, so correlated voters each carry full independent weight. The Bayesian correlation analysis is computed and feeds contrarian escalation only. Choose it for the escalation behaviour, not for a weighted verdict. Supports async mode (mode: 'async') \u2014 returns a jobId to poll via get_job_result. Pass ratifies=<subject> to bind an authority-ladder ratification vote into its authentic record. If your proposal asks voters to choose among named alternatives, you MUST pass them in `options` (#4472) \u2014 the threshold is then measured over WHICH option won, and the record carries the per-option tally plus selection coverage. WITHOUT `options` the tally is approve/reject/abstain only, so every voter who engages returns `approve` and a 6-1 split on which option persists as 7-0, 100% (#4452).";
6623
6606
  function registerConsensusVoteTool(server, deps) {
6624
6607
  const logger10 = deps.logger ?? createLogger({ tool: "consensus_vote" });
@@ -6729,4 +6712,4 @@ export {
6729
6712
  CONSENSUS_VOTE_TOOL_SCHEMA,
6730
6713
  registerConsensusVoteTool
6731
6714
  };
6732
- //# sourceMappingURL=chunk-MYYPOVLV.js.map
6715
+ //# sourceMappingURL=chunk-XGBGZ26Y.js.map