nexus-agents 2.92.1 → 2.92.2

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-ZNR3ZVC6.js";
11
+ } from "./chunk-3HVSXLPL.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-X5BQF6HM.js";
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-74AO4RKT.js.map
1990
+ //# sourceMappingURL=chunk-XNBPE6WG.js.map
package/dist/cli.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { C as CliNameLiteral, e as VoteThreshold, E as ErrorPolicy } from './consensus-vote-types-COAhHVIp.js';
2
+ import { C as CliNameLiteral, e as VoteThreshold, E as ErrorPolicy } from './consensus-vote-types-WGBFeT7y.js';
3
3
  import 'zod';
4
4
 
5
5
  /**
package/dist/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-74AO4RKT.js";
27
+ } from "./chunk-XNBPE6WG.js";
28
28
  import "./chunk-2SMTCNXP.js";
29
29
  import {
30
30
  AuthHandler,
@@ -164,7 +164,7 @@ import {
164
164
  validateCommand,
165
165
  validateWorkflow,
166
166
  wrapInMarkdownFence
167
- } from "./chunk-G3CYK3WA.js";
167
+ } from "./chunk-F47QKVPH.js";
168
168
  import {
169
169
  resolveToken
170
170
  } from "./chunk-EAT4GTMT.js";
@@ -194,7 +194,7 @@ import {
194
194
  toolSuccessStructured,
195
195
  warnIfSimulatedOutsideTests,
196
196
  wrapToolWithTimeout
197
- } from "./chunk-4N54BTZU.js";
197
+ } from "./chunk-UYOHV3EG.js";
198
198
  import "./chunk-3FVSYMHK.js";
199
199
  import "./chunk-Y7E5ZWRQ.js";
200
200
  import {
@@ -240,7 +240,7 @@ import {
240
240
  loadConfig,
241
241
  runDoctor,
242
242
  validateNexusEnv
243
- } from "./chunk-ZNR3ZVC6.js";
243
+ } from "./chunk-3HVSXLPL.js";
244
244
  import "./chunk-SFZESA5O.js";
245
245
  import "./chunk-6Q33PBXC.js";
246
246
  import {
@@ -2,10 +2,11 @@ import {
2
2
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
3
3
  ConsensusVoteInputSchema,
4
4
  VotingStrategySchema,
5
+ createPolicyFailedResult,
5
6
  executeVoting,
6
7
  registerConsensusVoteTool,
7
8
  resetCorrelationTracker
8
- } from "./chunk-4N54BTZU.js";
9
+ } from "./chunk-UYOHV3EG.js";
9
10
  import "./chunk-3FVSYMHK.js";
10
11
  import "./chunk-Y7E5ZWRQ.js";
11
12
  import "./chunk-7QXEK3O6.js";
@@ -24,8 +25,9 @@ export {
24
25
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
25
26
  ConsensusVoteInputSchema,
26
27
  VotingStrategySchema,
28
+ createPolicyFailedResult,
27
29
  executeVoting,
28
30
  registerConsensusVoteTool,
29
31
  resetCorrelationTracker
30
32
  };
31
- //# sourceMappingURL=consensus-vote-B6W7YQ6K.js.map
33
+ //# sourceMappingURL=consensus-vote-VSRNSZ5J.js.map
@@ -195,6 +195,12 @@ interface ConsensusVoteResponse {
195
195
  durationMs: number;
196
196
  simulateVotes: boolean;
197
197
  higherOrderMetadata?: HigherOrderMetadata;
198
+ /**
199
+ * Set when an error policy short-circuited the vote (#2630/#3124). Explains a
200
+ * `rejected` decision that may coexist with a high `approvalPercentage` — e.g.
201
+ * `fail_closed: 1 voter(s) errored`. Absent on normally-tallied votes.
202
+ */
203
+ policyReason?: string;
198
204
  }
199
205
 
200
206
  export { type AgentVoteSummary as A, type CliNameLiteral as C, type ErrorPolicy as E, type InputModality as I, type ModelId as M, type OutputModality as O, type Pricing as P, type QualityScores as Q, type SpecialFeature as S, type ToolCapability as T, type VotingStrategy as V, type ConsensusVoteInput as a, ConsensusVoteInputSchema as b, type ConsensusVoteResponse as c, type VoteDecisionStatus as d, type VoteThreshold as e };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ZodError, z, ZodType, ZodSafeParseResult } from 'zod';
2
- import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, V as VotingStrategy } from './consensus-vote-types-COAhHVIp.js';
3
- export { A as AgentVoteSummary, a as ConsensusVoteInput, b as ConsensusVoteInputSchema, c as ConsensusVoteResponse, d as VoteDecisionStatus } from './consensus-vote-types-COAhHVIp.js';
2
+ import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, V as VotingStrategy } from './consensus-vote-types-WGBFeT7y.js';
3
+ export { A as AgentVoteSummary, a as ConsensusVoteInput, b as ConsensusVoteInputSchema, c as ConsensusVoteResponse, d as VoteDecisionStatus } from './consensus-vote-types-WGBFeT7y.js';
4
4
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
5
  import { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
6
6
 
package/dist/index.js CHANGED
@@ -519,7 +519,7 @@ import {
519
519
  validateWorkflow,
520
520
  validateWorkflowDependencies,
521
521
  withLogging
522
- } from "./chunk-G3CYK3WA.js";
522
+ } from "./chunk-F47QKVPH.js";
523
523
  import {
524
524
  getTokenEnvVars,
525
525
  hasToken,
@@ -632,7 +632,7 @@ import {
632
632
  validateToolInput,
633
633
  withModelNotFoundFallback,
634
634
  wrapResilientWithFallback
635
- } from "./chunk-4N54BTZU.js";
635
+ } from "./chunk-UYOHV3EG.js";
636
636
  import {
637
637
  AdapterModelError,
638
638
  BaseAdapter,
@@ -740,7 +740,7 @@ import {
740
740
  getKnownNexusVarNames,
741
741
  startStdioServer,
742
742
  validateNexusEnv
743
- } from "./chunk-ZNR3ZVC6.js";
743
+ } from "./chunk-3HVSXLPL.js";
744
744
  import {
745
745
  AvailabilityCache,
746
746
  filterAvailableModels,
@@ -5971,7 +5971,7 @@ function buildVotingInput(plan, config) {
5971
5971
  }
5972
5972
  async function executeSingleVote(plan, config, log) {
5973
5973
  try {
5974
- const { executeVoting } = await import("./consensus-vote-B6W7YQ6K.js");
5974
+ const { executeVoting } = await import("./consensus-vote-VSRNSZ5J.js");
5975
5975
  const input = buildVotingInput(plan, config);
5976
5976
  const result = await executeVoting(input, log);
5977
5977
  return parseVotingResult(result);
@@ -8,9 +8,9 @@ import {
8
8
  runWizard,
9
9
  setupCommand,
10
10
  setupCommandAsync
11
- } from "./chunk-74AO4RKT.js";
11
+ } from "./chunk-XNBPE6WG.js";
12
12
  import "./chunk-2SMTCNXP.js";
13
- import "./chunk-ZNR3ZVC6.js";
13
+ import "./chunk-3HVSXLPL.js";
14
14
  import "./chunk-SFZESA5O.js";
15
15
  import "./chunk-6Q33PBXC.js";
16
16
  import "./chunk-3HTUYAKS.js";
@@ -34,4 +34,4 @@ export {
34
34
  setupCommand,
35
35
  setupCommandAsync
36
36
  };
37
- //# sourceMappingURL=setup-command-AZAWBZOP.js.map
37
+ //# sourceMappingURL=setup-command-BMELLUUX.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "2.92.1",
3
+ "version": "2.92.2",
4
4
  "description": "Intelligent orchestration platform for AI coding tools — routes tasks to the best model, learns from outcomes, and enforces quality through multi-model consensus",
5
5
  "mcpName": "io.github.nexus-substrate/nexus-agents",
6
6
  "license": "MIT",