nexus-agents 8.23.0 → 8.23.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-F6HVGT3O.js → chunk-3CHPU46R.js} +2 -2
- package/dist/{chunk-JVUO6DKS.js → chunk-M7TUO6O7.js} +3 -3
- package/dist/{chunk-SDSJVC5J.js → chunk-OXUJBY4W.js} +2 -2
- package/dist/{chunk-ZBONAFV2.js → chunk-TBOM7PJ7.js} +36 -7
- package/dist/{chunk-ZBONAFV2.js.map → chunk-TBOM7PJ7.js.map} +1 -1
- package/dist/{chunk-UGE27CC2.js → chunk-TCUEFOPW.js} +22 -12
- package/dist/chunk-TCUEFOPW.js.map +1 -0
- package/dist/{chunk-3EMSXOSB.js → chunk-ZFZJ6LTJ.js} +11 -2
- package/dist/chunk-ZFZJ6LTJ.js.map +1 -0
- package/dist/cli.js +17 -8
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-5KEYBMET.js → consensus-vote-NQPSFVEF.js} +4 -4
- package/dist/{improvement-review-NSE7H3KE.js → improvement-review-5HMJ2NCH.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-LX54Q5MJ.js → setup-data-dir-IJ6CYVCL.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3EMSXOSB.js.map +0 -1
- package/dist/chunk-UGE27CC2.js.map +0 -1
- /package/dist/{chunk-F6HVGT3O.js.map → chunk-3CHPU46R.js.map} +0 -0
- /package/dist/{chunk-JVUO6DKS.js.map → chunk-M7TUO6O7.js.map} +0 -0
- /package/dist/{chunk-SDSJVC5J.js.map → chunk-OXUJBY4W.js.map} +0 -0
- /package/dist/{consensus-vote-5KEYBMET.js.map → consensus-vote-NQPSFVEF.js.map} +0 -0
- /package/dist/{improvement-review-NSE7H3KE.js.map → improvement-review-5HMJ2NCH.js.map} +0 -0
- /package/dist/{setup-data-dir-LX54Q5MJ.js.map → setup-data-dir-IJ6CYVCL.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZFZJ6LTJ.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-3CHPU46R.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZFZJ6LTJ.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OXUJBY4W.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7205,4 +7205,4 @@ export {
|
|
|
7205
7205
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7206
7206
|
registerConsensusVoteTool
|
|
7207
7207
|
};
|
|
7208
|
-
//# sourceMappingURL=chunk-
|
|
7208
|
+
//# sourceMappingURL=chunk-M7TUO6O7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.23.
|
|
3
|
+
var VERSION = true ? "8.23.2" : "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-OXUJBY4W.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-TCUEFOPW.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-CN3VAMQD.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
simulationDeniedResult,
|
|
49
49
|
toJobSummary,
|
|
50
50
|
writeJobCancelled
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-M7TUO6O7.js";
|
|
52
52
|
import {
|
|
53
53
|
allOf
|
|
54
54
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
} from "./chunk-OYTRYITB.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3CHPU46R.js";
|
|
71
71
|
import {
|
|
72
72
|
NOOP_NOTIFIER,
|
|
73
73
|
RateLimiter,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
withAuditTrail,
|
|
93
93
|
withProgressHeartbeat,
|
|
94
94
|
wrapToolWithTimeout
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-ZFZJ6LTJ.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
@@ -25483,6 +25483,27 @@ async function withDepthGuard(label, fn) {
|
|
|
25483
25483
|
}
|
|
25484
25484
|
|
|
25485
25485
|
// src/mcp/middleware/tool-rate-limiter.ts
|
|
25486
|
+
var UNLIMITED_CAPACITY = Number.POSITIVE_INFINITY;
|
|
25487
|
+
var UnlimitedRateLimiter = class extends RateLimiter {
|
|
25488
|
+
constructor(name, logger57) {
|
|
25489
|
+
super({
|
|
25490
|
+
capacity: UNLIMITED_CAPACITY,
|
|
25491
|
+
refillRate: UNLIMITED_CAPACITY,
|
|
25492
|
+
name,
|
|
25493
|
+
logger: logger57
|
|
25494
|
+
});
|
|
25495
|
+
}
|
|
25496
|
+
tryAcquire() {
|
|
25497
|
+
return true;
|
|
25498
|
+
}
|
|
25499
|
+
getState() {
|
|
25500
|
+
return {
|
|
25501
|
+
tokens: UNLIMITED_CAPACITY,
|
|
25502
|
+
capacity: UNLIMITED_CAPACITY,
|
|
25503
|
+
nextTokenMs: 0
|
|
25504
|
+
};
|
|
25505
|
+
}
|
|
25506
|
+
};
|
|
25486
25507
|
var TOOL_CATEGORY_MAP = {
|
|
25487
25508
|
// Orchestration tools
|
|
25488
25509
|
orchestrate: "orchestrate",
|
|
@@ -25566,6 +25587,14 @@ var ToolRateLimiterFactory = class {
|
|
|
25566
25587
|
if (existing !== void 0) {
|
|
25567
25588
|
return existing;
|
|
25568
25589
|
}
|
|
25590
|
+
if (!this.enabled) {
|
|
25591
|
+
const limiter2 = new UnlimitedRateLimiter(
|
|
25592
|
+
`rate-limit-${toolName}`,
|
|
25593
|
+
this.logger.child({ tool: toolName })
|
|
25594
|
+
);
|
|
25595
|
+
this.limiters.set(toolName, limiter2);
|
|
25596
|
+
return limiter2;
|
|
25597
|
+
}
|
|
25569
25598
|
const limitConfig = this.getLimitConfig(toolName);
|
|
25570
25599
|
const rateLimiterConfig = {
|
|
25571
25600
|
capacity: limitConfig.capacity,
|
|
@@ -46018,7 +46047,7 @@ function buildVotingInput(plan, config) {
|
|
|
46018
46047
|
}
|
|
46019
46048
|
async function executeSingleVote(plan, config, log) {
|
|
46020
46049
|
try {
|
|
46021
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46050
|
+
const { executeVoting } = await import("./consensus-vote-NQPSFVEF.js");
|
|
46022
46051
|
const input = buildVotingInput(plan, config);
|
|
46023
46052
|
const result = await executeVoting(input, log);
|
|
46024
46053
|
return parseVotingResult(result);
|
|
@@ -47790,7 +47819,7 @@ ${contextBlock}`;
|
|
|
47790
47819
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47791
47820
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47792
47821
|
try {
|
|
47793
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47822
|
+
const { executeVoting } = await import("./consensus-vote-NQPSFVEF.js");
|
|
47794
47823
|
const votingResult = await executeVoting(
|
|
47795
47824
|
{
|
|
47796
47825
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56475,4 +56504,4 @@ export {
|
|
|
56475
56504
|
shutdownFeedbackSubscriber,
|
|
56476
56505
|
createEventBusBridge
|
|
56477
56506
|
};
|
|
56478
|
-
//# sourceMappingURL=chunk-
|
|
56507
|
+
//# sourceMappingURL=chunk-TBOM7PJ7.js.map
|