nexus-agents 2.92.1 → 2.92.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.
- package/dist/{chunk-NR4NSTJH.js → chunk-27CNQPQ4.js} +21 -5
- package/dist/chunk-27CNQPQ4.js.map +1 -0
- package/dist/{chunk-G3CYK3WA.js → chunk-7UPXKDF2.js} +14 -11
- package/dist/{chunk-G3CYK3WA.js.map → chunk-7UPXKDF2.js.map} +1 -1
- package/dist/{chunk-ZNR3ZVC6.js → chunk-BFYOPX2E.js} +3 -3
- package/dist/{chunk-L6JZCAFH.js → chunk-C6PEYEPU.js} +2 -2
- package/dist/{chunk-4N54BTZU.js → chunk-UYOHV3EG.js} +30 -8
- package/dist/chunk-UYOHV3EG.js.map +1 -0
- package/dist/{chunk-74AO4RKT.js → chunk-V3XWWLIS.js} +2 -2
- package/dist/{chunk-G5XKEUAP.js → chunk-VYNNVUY6.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +8 -8
- 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 +6 -6
- package/dist/{issue-triage-FVZOVIRX.js → issue-triage-DTCO26WG.js} +3 -3
- package/dist/{pr-reviewer-helpers-RBUEJI6V.js → pr-reviewer-helpers-CI72F4XM.js} +3 -3
- package/dist/{setup-command-AZAWBZOP.js → setup-command-JQVGMAO5.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4N54BTZU.js.map +0 -1
- package/dist/chunk-NR4NSTJH.js.map +0 -1
- /package/dist/{chunk-ZNR3ZVC6.js.map → chunk-BFYOPX2E.js.map} +0 -0
- /package/dist/{chunk-L6JZCAFH.js.map → chunk-C6PEYEPU.js.map} +0 -0
- /package/dist/{chunk-74AO4RKT.js.map → chunk-V3XWWLIS.js.map} +0 -0
- /package/dist/{chunk-G5XKEUAP.js.map → chunk-VYNNVUY6.js.map} +0 -0
- /package/dist/{consensus-vote-B6W7YQ6K.js.map → consensus-vote-VSRNSZ5J.js.map} +0 -0
- /package/dist/{issue-triage-FVZOVIRX.js.map → issue-triage-DTCO26WG.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-RBUEJI6V.js.map → pr-reviewer-helpers-CI72F4XM.js.map} +0 -0
- /package/dist/{setup-command-AZAWBZOP.js.map → setup-command-JQVGMAO5.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BFYOPX2E.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-V3XWWLIS.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
gateWithReputation,
|
|
10
10
|
resolveReputationGatingMode,
|
|
11
11
|
sanitizeInput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-27CNQPQ4.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger,
|
|
15
15
|
getTimeProvider
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
formatReviewComment,
|
|
289
289
|
createFailedReview
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-VYNNVUY6.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
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
generateSummary,
|
|
14
14
|
parseFindings,
|
|
15
15
|
sumFindings
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VYNNVUY6.js";
|
|
17
17
|
import "./chunk-AQTHLUCP.js";
|
|
18
18
|
import {
|
|
19
19
|
buildOpenAICompatAdapters,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
setupCommandAsync,
|
|
26
26
|
verifyCommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V3XWWLIS.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-7UPXKDF2.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 {
|
|
@@ -208,12 +208,12 @@ import {
|
|
|
208
208
|
createFullGitHubProvider,
|
|
209
209
|
evaluatePolicy,
|
|
210
210
|
parsePRUrl
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-C6PEYEPU.js";
|
|
212
212
|
import "./chunk-EFHZHCF2.js";
|
|
213
213
|
import {
|
|
214
214
|
ReputationCache,
|
|
215
215
|
sanitizeInput
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-27CNQPQ4.js";
|
|
217
217
|
import "./chunk-57HMLBYN.js";
|
|
218
218
|
import "./chunk-HFOQKCD2.js";
|
|
219
219
|
import "./chunk-3ACDP4E6.js";
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
loadConfig,
|
|
241
241
|
runDoctor,
|
|
242
242
|
validateNexusEnv
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-BFYOPX2E.js";
|
|
244
244
|
import "./chunk-SFZESA5O.js";
|
|
245
245
|
import "./chunk-6Q33PBXC.js";
|
|
246
246
|
import {
|
|
@@ -3109,7 +3109,7 @@ ${file.patch}
|
|
|
3109
3109
|
violations: policyResult.violations
|
|
3110
3110
|
});
|
|
3111
3111
|
}
|
|
3112
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
3112
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-CI72F4XM.js");
|
|
3113
3113
|
const body = formatReviewComment2(result);
|
|
3114
3114
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
3115
3115
|
if (!postResult.ok) {
|
|
@@ -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-7UPXKDF2.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,
|
|
@@ -681,7 +681,7 @@ import {
|
|
|
681
681
|
requiresCorroboration,
|
|
682
682
|
validateAgentAction,
|
|
683
683
|
validateCorroboration
|
|
684
|
-
} from "./chunk-
|
|
684
|
+
} from "./chunk-C6PEYEPU.js";
|
|
685
685
|
import {
|
|
686
686
|
GitHubProvider,
|
|
687
687
|
ScmError
|
|
@@ -700,7 +700,7 @@ import {
|
|
|
700
700
|
assessReputation,
|
|
701
701
|
reconcileTrustTier,
|
|
702
702
|
sanitizeInput
|
|
703
|
-
} from "./chunk-
|
|
703
|
+
} from "./chunk-27CNQPQ4.js";
|
|
704
704
|
import {
|
|
705
705
|
FALLBACK_SCANNER_DATA,
|
|
706
706
|
buildPlanFromAnalysis,
|
|
@@ -740,7 +740,7 @@ import {
|
|
|
740
740
|
getKnownNexusVarNames,
|
|
741
741
|
startStdioServer,
|
|
742
742
|
validateNexusEnv
|
|
743
|
-
} from "./chunk-
|
|
743
|
+
} from "./chunk-BFYOPX2E.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);
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
IssueTriage,
|
|
3
3
|
createIssueTriage,
|
|
4
4
|
formatTriageComment
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C6PEYEPU.js";
|
|
6
6
|
import "./chunk-EFHZHCF2.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-27CNQPQ4.js";
|
|
8
8
|
import "./chunk-W5I6L4UT.js";
|
|
9
9
|
import "./chunk-CH7QIDHQ.js";
|
|
10
10
|
import "./chunk-PR4QN5HX.js";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
createIssueTriage,
|
|
14
14
|
formatTriageComment
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=issue-triage-
|
|
16
|
+
//# sourceMappingURL=issue-triage-DTCO26WG.js.map
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
parseFindings,
|
|
18
18
|
parseSeverity,
|
|
19
19
|
sumFindings
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VYNNVUY6.js";
|
|
21
21
|
import "./chunk-OK6U5N5Y.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-27CNQPQ4.js";
|
|
23
23
|
import "./chunk-W5I6L4UT.js";
|
|
24
24
|
import "./chunk-CH7QIDHQ.js";
|
|
25
25
|
import "./chunk-PR4QN5HX.js";
|
|
@@ -43,4 +43,4 @@ export {
|
|
|
43
43
|
parseSeverity,
|
|
44
44
|
sumFindings
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=pr-reviewer-helpers-
|
|
46
|
+
//# sourceMappingURL=pr-reviewer-helpers-CI72F4XM.js.map
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
runWizard,
|
|
9
9
|
setupCommand,
|
|
10
10
|
setupCommandAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-V3XWWLIS.js";
|
|
12
12
|
import "./chunk-2SMTCNXP.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BFYOPX2E.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-JQVGMAO5.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.3",
|
|
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",
|