nexus-agents 8.27.2 → 8.27.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-M2SLEIT7.js → chunk-5EPXDMWC.js} +3 -3
- package/dist/{chunk-M2SLEIT7.js.map → chunk-5EPXDMWC.js.map} +1 -1
- package/dist/{chunk-CJXIOHYE.js → chunk-5VLKSKBI.js} +2 -2
- package/dist/{chunk-5RCAK7OJ.js → chunk-JQB7CLOJ.js} +5 -4
- package/dist/chunk-JQB7CLOJ.js.map +1 -0
- package/dist/{chunk-UB6YWIPG.js → chunk-TZJ2F7KG.js} +2 -2
- package/dist/{chunk-PZUFJCWX.js → chunk-X3MEB232.js} +7 -7
- package/dist/{chunk-AJPEXONL.js → chunk-Y6QEQI7P.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-QFFMSUFX.js → consensus-vote-BNUA6MAO.js} +4 -4
- package/dist/{improvement-review-QU66LLN7.js → improvement-review-RL7ZLHBJ.js} +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-YBPVK2F6.js → setup-data-dir-LQ3O6TQ7.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-5RCAK7OJ.js.map +0 -1
- /package/dist/{chunk-CJXIOHYE.js.map → chunk-5VLKSKBI.js.map} +0 -0
- /package/dist/{chunk-UB6YWIPG.js.map → chunk-TZJ2F7KG.js.map} +0 -0
- /package/dist/{chunk-PZUFJCWX.js.map → chunk-X3MEB232.js.map} +0 -0
- /package/dist/{chunk-AJPEXONL.js.map → chunk-Y6QEQI7P.js.map} +0 -0
- /package/dist/{consensus-vote-QFFMSUFX.js.map → consensus-vote-BNUA6MAO.js.map} +0 -0
- /package/dist/{improvement-review-QU66LLN7.js.map → improvement-review-RL7ZLHBJ.js.map} +0 -0
- /package/dist/{setup-data-dir-YBPVK2F6.js.map → setup-data-dir-LQ3O6TQ7.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.27.
|
|
3
|
+
var VERSION = true ? "8.27.3" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-TZJ2F7KG.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y6QEQI7P.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-ZXBBL3BL.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JQB7CLOJ.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-UYHM222K.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-5VLKSKBI.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-5EPXDMWC.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -45676,7 +45676,7 @@ function buildVotingInput(plan, config) {
|
|
|
45676
45676
|
}
|
|
45677
45677
|
async function executeSingleVote(plan, config, log) {
|
|
45678
45678
|
try {
|
|
45679
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45679
|
+
const { executeVoting } = await import("./consensus-vote-BNUA6MAO.js");
|
|
45680
45680
|
const input = buildVotingInput(plan, config);
|
|
45681
45681
|
const result = await executeVoting(input, log);
|
|
45682
45682
|
return parseVotingResult(result);
|
|
@@ -47468,7 +47468,7 @@ ${contextBlock}`;
|
|
|
47468
47468
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47469
47469
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47470
47470
|
try {
|
|
47471
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47471
|
+
const { executeVoting } = await import("./consensus-vote-BNUA6MAO.js");
|
|
47472
47472
|
const votingResult = await executeVoting(
|
|
47473
47473
|
{
|
|
47474
47474
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56184,4 +56184,4 @@ export {
|
|
|
56184
56184
|
shutdownFeedbackSubscriber,
|
|
56185
56185
|
createEventBusBridge
|
|
56186
56186
|
};
|
|
56187
|
-
//# sourceMappingURL=chunk-
|
|
56187
|
+
//# sourceMappingURL=chunk-X3MEB232.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TZJ2F7KG.js";
|
|
12
12
|
import {
|
|
13
13
|
capitalize
|
|
14
14
|
} from "./chunk-7LP6VJRP.js";
|
|
@@ -1228,7 +1228,7 @@ async function runDoctorFix(result) {
|
|
|
1228
1228
|
writeLine2("\u2500".repeat(40));
|
|
1229
1229
|
let fixCount = 0;
|
|
1230
1230
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1231
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1231
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-LQ3O6TQ7.js");
|
|
1232
1232
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1233
1233
|
writeLine2(outcome.line);
|
|
1234
1234
|
if (outcome.counted) fixCount++;
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
startStdioServer,
|
|
1331
1331
|
closeServer
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=chunk-
|
|
1333
|
+
//# sourceMappingURL=chunk-Y6QEQI7P.js.map
|
package/dist/cli.js
CHANGED
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
validateNexusEnv,
|
|
158
158
|
validateWorkflow,
|
|
159
159
|
wrapInMarkdownFence
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-X3MEB232.js";
|
|
161
161
|
import "./chunk-N2KJVGTA.js";
|
|
162
162
|
import "./chunk-DGWT7DXX.js";
|
|
163
163
|
import "./chunk-64GMIUM5.js";
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
doctorCommand,
|
|
178
178
|
initDataDirectories,
|
|
179
179
|
runDoctor
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-Y6QEQI7P.js";
|
|
181
181
|
import {
|
|
182
182
|
buildOpenAICompatAdapters,
|
|
183
183
|
readOpenAICompatEnv
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
recordAuthenticVote,
|
|
197
197
|
registerConsensusVoteTool,
|
|
198
198
|
toRecordDecision
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-JQB7CLOJ.js";
|
|
200
200
|
import {
|
|
201
201
|
loadUsageEvents,
|
|
202
202
|
rollupByModel
|
|
@@ -236,18 +236,18 @@ import {
|
|
|
236
236
|
registerImprovementReviewTool,
|
|
237
237
|
runImprovementReview,
|
|
238
238
|
scanForSecrets
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-5VLKSKBI.js";
|
|
240
240
|
import {
|
|
241
241
|
createDefaultPolicyFirewall,
|
|
242
242
|
setGlobalPolicyFirewall,
|
|
243
243
|
setSecureHandlerAuditLogger,
|
|
244
244
|
stagePolicyFirewallForRollout
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-5EPXDMWC.js";
|
|
246
246
|
import {
|
|
247
247
|
NODE_ENGINE_RANGE,
|
|
248
248
|
VERSION,
|
|
249
249
|
isNodeVersionSupported
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-TZJ2F7KG.js";
|
|
251
251
|
import "./chunk-BYKPEGQ3.js";
|
|
252
252
|
import {
|
|
253
253
|
createUnifiedRegistry,
|
|
@@ -19887,7 +19887,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19887
19887
|
let running = false;
|
|
19888
19888
|
const runOnce = async () => {
|
|
19889
19889
|
try {
|
|
19890
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19890
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-RL7ZLHBJ.js");
|
|
19891
19891
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19892
19892
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19893
19893
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JQB7CLOJ.js";
|
|
15
15
|
import "./chunk-XMPJ2R6H.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-5EPXDMWC.js";
|
|
18
|
+
import "./chunk-TZJ2F7KG.js";
|
|
19
19
|
import "./chunk-BYKPEGQ3.js";
|
|
20
20
|
import "./chunk-HMZ7J6GD.js";
|
|
21
21
|
import "./chunk-6KHMPRYZ.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
runConsensusForGoal,
|
|
51
51
|
unwrapVoteOrThrow
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=consensus-vote-
|
|
53
|
+
//# sourceMappingURL=consensus-vote-BNUA6MAO.js.map
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5VLKSKBI.js";
|
|
15
|
+
import "./chunk-5EPXDMWC.js";
|
|
16
|
+
import "./chunk-TZJ2F7KG.js";
|
|
17
17
|
import "./chunk-BYKPEGQ3.js";
|
|
18
18
|
import "./chunk-QBSYQRJO.js";
|
|
19
19
|
import "./chunk-7WJGV5DN.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
registerImprovementReviewTool,
|
|
34
34
|
runImprovementReview
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=improvement-review-
|
|
36
|
+
//# sourceMappingURL=improvement-review-RL7ZLHBJ.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -23130,7 +23130,7 @@ interface VotingProtocolConfig {
|
|
|
23130
23130
|
maxRounds: number;
|
|
23131
23131
|
/** Timeout per round in milliseconds (default: multi-llm-panel guard, 900000) */
|
|
23132
23132
|
roundTimeoutMs: number;
|
|
23133
|
-
/** Minimum agreement threshold (default: 0.
|
|
23133
|
+
/** Minimum agreement threshold (default: 2/3, approximately 0.667) */
|
|
23134
23134
|
agreementThreshold: number;
|
|
23135
23135
|
/** Enable anti-sycophancy detection (default: true) */
|
|
23136
23136
|
enableAntiSycophancy: boolean;
|
|
@@ -23313,7 +23313,7 @@ interface WeightedVotingConfig {
|
|
|
23313
23313
|
readonly byzantineFlagThreshold: number;
|
|
23314
23314
|
/** Initial weight for new agents (default: 0.5) */
|
|
23315
23315
|
readonly initialWeight: number;
|
|
23316
|
-
/** Quorum threshold for valid consensus (default: 0.
|
|
23316
|
+
/** Quorum threshold for valid consensus (default: 2/3, approximately 0.667) */
|
|
23317
23317
|
readonly quorumThreshold: number;
|
|
23318
23318
|
}
|
|
23319
23319
|
declare const DEFAULT_WEIGHTED_VOTING_CONFIG: WeightedVotingConfig;
|
|
@@ -33272,7 +33272,7 @@ declare class SimpleMajorityStrategy extends BaseVotingStrategy {
|
|
|
33272
33272
|
calculateOutcome(votes: Map<string, Vote>): VotingOutcome;
|
|
33273
33273
|
}
|
|
33274
33274
|
/**
|
|
33275
|
-
* Supermajority voting strategy (
|
|
33275
|
+
* Supermajority voting strategy (at least 2/3 approval).
|
|
33276
33276
|
*/
|
|
33277
33277
|
declare class SupermajorityStrategy extends BaseVotingStrategy {
|
|
33278
33278
|
readonly algorithm: ConsensusAlgorithm;
|
package/dist/index.js
CHANGED
|
@@ -553,7 +553,7 @@ import {
|
|
|
553
553
|
withLogging,
|
|
554
554
|
withRetry,
|
|
555
555
|
withRetryWrapper
|
|
556
|
-
} from "./chunk-
|
|
556
|
+
} from "./chunk-X3MEB232.js";
|
|
557
557
|
import {
|
|
558
558
|
FALLBACK_SCANNER_DATA,
|
|
559
559
|
buildPlanFromAnalysis,
|
|
@@ -586,7 +586,7 @@ import {
|
|
|
586
586
|
connectTransport,
|
|
587
587
|
createServer,
|
|
588
588
|
startStdioServer
|
|
589
|
-
} from "./chunk-
|
|
589
|
+
} from "./chunk-Y6QEQI7P.js";
|
|
590
590
|
import {
|
|
591
591
|
OPENAI_MODELS,
|
|
592
592
|
OPENAI_MODEL_ALIASES,
|
|
@@ -644,7 +644,7 @@ import {
|
|
|
644
644
|
generateProposalId,
|
|
645
645
|
parseAgentPairKey,
|
|
646
646
|
registerConsensusVoteTool
|
|
647
|
-
} from "./chunk-
|
|
647
|
+
} from "./chunk-JQB7CLOJ.js";
|
|
648
648
|
import "./chunk-XMPJ2R6H.js";
|
|
649
649
|
import {
|
|
650
650
|
allOf
|
|
@@ -702,7 +702,7 @@ import {
|
|
|
702
702
|
import {
|
|
703
703
|
ImprovementReviewInputSchema,
|
|
704
704
|
registerImprovementReviewTool
|
|
705
|
-
} from "./chunk-
|
|
705
|
+
} from "./chunk-5VLKSKBI.js";
|
|
706
706
|
import {
|
|
707
707
|
AgentPerformanceSchema,
|
|
708
708
|
ConsensusAlgorithmSchema,
|
|
@@ -738,10 +738,10 @@ import {
|
|
|
738
738
|
toolSuccess,
|
|
739
739
|
toolSuccessStructured,
|
|
740
740
|
validateToolInput
|
|
741
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-5EPXDMWC.js";
|
|
742
742
|
import {
|
|
743
743
|
VERSION
|
|
744
|
-
} from "./chunk-
|
|
744
|
+
} from "./chunk-TZJ2F7KG.js";
|
|
745
745
|
import {
|
|
746
746
|
AuditTrail,
|
|
747
747
|
createAuditTrail,
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
NEXUS_DATA_DIR,
|
|
3
3
|
describeDataDirFix,
|
|
4
4
|
initDataDirectories
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y6QEQI7P.js";
|
|
6
6
|
import "./chunk-FBHZC6TX.js";
|
|
7
7
|
import "./chunk-XMPJ2R6H.js";
|
|
8
8
|
import "./chunk-OQB3XC5O.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TZJ2F7KG.js";
|
|
10
10
|
import "./chunk-7LP6VJRP.js";
|
|
11
11
|
import "./chunk-DFOHTKIX.js";
|
|
12
12
|
import "./chunk-5KLZYR2Z.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
describeDataDirFix,
|
|
27
27
|
initDataDirectories
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=setup-data-dir-
|
|
29
|
+
//# sourceMappingURL=setup-data-dir-LQ3O6TQ7.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.3",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
|
|
5
5
|
"mcpName": "io.github.nexus-substrate/nexus-agents",
|
|
6
6
|
"license": "MIT",
|