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.
- package/dist/{chunk-ZNR3ZVC6.js → chunk-3HVSXLPL.js} +3 -3
- package/dist/{chunk-G3CYK3WA.js → chunk-F47QKVPH.js} +4 -4
- package/dist/{chunk-4N54BTZU.js → chunk-UYOHV3EG.js} +30 -8
- package/dist/chunk-UYOHV3EG.js.map +1 -0
- package/dist/{chunk-74AO4RKT.js → chunk-XNBPE6WG.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +4 -4
- package/dist/{consensus-vote-B6W7YQ6K.js → consensus-vote-VSRNSZ5J.js} +4 -2
- package/dist/{consensus-vote-types-COAhHVIp.d.ts → consensus-vote-types-WGBFeT7y.d.ts} +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{setup-command-AZAWBZOP.js → setup-command-BMELLUUX.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4N54BTZU.js.map +0 -1
- /package/dist/{chunk-ZNR3ZVC6.js.map → chunk-3HVSXLPL.js.map} +0 -0
- /package/dist/{chunk-G3CYK3WA.js.map → chunk-F47QKVPH.js.map} +0 -0
- /package/dist/{chunk-74AO4RKT.js.map → chunk-XNBPE6WG.js.map} +0 -0
- /package/dist/{consensus-vote-B6W7YQ6K.js.map → consensus-vote-VSRNSZ5J.js.map} +0 -0
- /package/dist/{setup-command-AZAWBZOP.js.map → setup-command-BMELLUUX.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
-
export { A as AgentVoteSummary, a as ConsensusVoteInput, b as ConsensusVoteInputSchema, c as ConsensusVoteResponse, d as VoteDecisionStatus } from './consensus-vote-types-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
11
|
+
} from "./chunk-XNBPE6WG.js";
|
|
12
12
|
import "./chunk-2SMTCNXP.js";
|
|
13
|
-
import "./chunk-
|
|
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-
|
|
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.
|
|
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",
|