nexus-agents 3.4.0 → 3.4.1

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.
@@ -6613,6 +6613,9 @@ var CONSENSUS_VOTE_OUTPUT_SCHEMA = {
6613
6613
  };
6614
6614
  var CONSENSUS_VOTE_TOOL_SCHEMA = {
6615
6615
  proposal: z10.string().min(1).max(MAX_PROPOSAL_LENGTH).describe("Proposal text to vote on"),
6616
+ options: z10.array(z10.string().min(1).max(200)).min(2).max(10).optional().describe(
6617
+ "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."
6618
+ ),
6616
6619
  threshold: z10.enum(["majority", "supermajority", "unanimous"]).optional().describe("Voting threshold (legacy). Use strategy instead."),
6617
6620
  strategy: VotingStrategySchema.optional().describe(
6618
6621
  "Voting strategy: simple_majority (default), supermajority, unanimous, proof_of_learning, or higher_order"
@@ -6626,7 +6629,7 @@ var CONSENSUS_VOTE_TOOL_SCHEMA = {
6626
6629
  "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."
6627
6630
  )
6628
6631
  };
6629
- 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. Supports higher_order strategy for Bayesian-optimal aggregation with correlation awareness (Issue #514). 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. CAVEAT (#4452): the tally is approve/reject/abstain only. A proposal that asks voters to pick among named options records as unanimous even when they picked DIFFERENT options \u2014 recover the real split from each voter's reasoning, and do not report the percentage as agreement.";
6632
+ 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. Supports higher_order strategy for Bayesian-optimal aggregation with correlation awareness (Issue #514). 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).";
6630
6633
  function registerConsensusVoteTool(server, deps) {
6631
6634
  const logger10 = deps.logger ?? createLogger({ tool: "consensus_vote" });
6632
6635
  const notifier = deps.notifier ?? createMcpNotifier(server);
@@ -6731,6 +6734,7 @@ export {
6731
6734
  runConsensusForGoal,
6732
6735
  unwrapVoteOrThrow,
6733
6736
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6737
+ CONSENSUS_VOTE_TOOL_SCHEMA,
6734
6738
  registerConsensusVoteTool
6735
6739
  };
6736
- //# sourceMappingURL=chunk-XL6T3HTN.js.map
6740
+ //# sourceMappingURL=chunk-6BS3LEK2.js.map