nexus-agents 8.54.2 → 8.54.4
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-TQPUOOUS.js → chunk-GWD3IJQK.js} +2 -2
- package/dist/{chunk-4S43V6TV.js → chunk-L27XOISM.js} +20 -16
- package/dist/chunk-L27XOISM.js.map +1 -0
- package/dist/{chunk-H2I3PY2R.js → chunk-MXQVF5YJ.js} +2 -2
- package/dist/chunk-MXQVF5YJ.js.map +1 -0
- package/dist/{chunk-76XZLP7W.js → chunk-OF4SE7ZU.js} +7 -7
- package/dist/{chunk-67RGKVAW.js → chunk-XANSY3IZ.js} +3 -3
- package/dist/{chunk-6V7M5GMP.js → chunk-ZKCKCUHJ.js} +154 -150
- package/dist/chunk-ZKCKCUHJ.js.map +1 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-F5ZGGT7X.js → consensus-vote-2SDEQGAD.js} +4 -4
- package/dist/{consensus-vote-types-CXSFJkat.d.ts → consensus-vote-types-O6pIvFs5.d.ts} +26 -15
- package/dist/{improvement-review-JZWJEOUB.js → improvement-review-XLJAY47J.js} +4 -4
- package/dist/index.d.ts +52 -7
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-CNCF2HJX.js → setup-data-dir-TYDRY3SR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4S43V6TV.js.map +0 -1
- package/dist/chunk-6V7M5GMP.js.map +0 -1
- package/dist/chunk-H2I3PY2R.js.map +0 -1
- /package/dist/{chunk-TQPUOOUS.js.map → chunk-GWD3IJQK.js.map} +0 -0
- /package/dist/{chunk-76XZLP7W.js.map → chunk-OF4SE7ZU.js.map} +0 -0
- /package/dist/{chunk-67RGKVAW.js.map → chunk-XANSY3IZ.js.map} +0 -0
- /package/dist/{consensus-vote-F5ZGGT7X.js.map → consensus-vote-2SDEQGAD.js.map} +0 -0
- /package/dist/{improvement-review-JZWJEOUB.js.map → improvement-review-XLJAY47J.js.map} +0 -0
- /package/dist/{setup-data-dir-CNCF2HJX.js.map → setup-data-dir-TYDRY3SR.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.54.
|
|
3
|
+
var VERSION = true ? "8.54.4" : "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-GWD3IJQK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWD3IJQK.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-VUOH64O4.js";
|
|
@@ -2150,6 +2150,21 @@ function getToolAnnotations(name) {
|
|
|
2150
2150
|
return entry.annotations;
|
|
2151
2151
|
}
|
|
2152
2152
|
|
|
2153
|
+
// src/consensus/decision/thresholds.ts
|
|
2154
|
+
var SUPERMAJORITY_THRESHOLD = 2 / 3;
|
|
2155
|
+
var VOTING_THRESHOLDS = {
|
|
2156
|
+
simple_majority: 0.5,
|
|
2157
|
+
supermajority: SUPERMAJORITY_THRESHOLD,
|
|
2158
|
+
unanimous: 1,
|
|
2159
|
+
proof_of_learning: 0.5,
|
|
2160
|
+
// Uses weighted voting
|
|
2161
|
+
opinion_wise: 0.5,
|
|
2162
|
+
// Uses correlation-aware Bayesian aggregation (Issue #333)
|
|
2163
|
+
higher_order: 0.5
|
|
2164
|
+
// Alias for opinion_wise (Issue #514)
|
|
2165
|
+
};
|
|
2166
|
+
var ERROR_FLOOR_FRACTION = 0.5;
|
|
2167
|
+
|
|
2153
2168
|
// src/consensus/types-core.ts
|
|
2154
2169
|
import { z as z3 } from "zod";
|
|
2155
2170
|
var ConsensusAlgorithmSchema = z3.enum([
|
|
@@ -2281,18 +2296,6 @@ var DEFAULT_CONSENSUS_CONFIG = {
|
|
|
2281
2296
|
maxClosedProposals: 1e3
|
|
2282
2297
|
// Issue #549: Prevent unbounded memory growth
|
|
2283
2298
|
};
|
|
2284
|
-
var SUPERMAJORITY_THRESHOLD = 2 / 3;
|
|
2285
|
-
var VOTING_THRESHOLDS = {
|
|
2286
|
-
simple_majority: 0.5,
|
|
2287
|
-
supermajority: SUPERMAJORITY_THRESHOLD,
|
|
2288
|
-
unanimous: 1,
|
|
2289
|
-
proof_of_learning: 0.5,
|
|
2290
|
-
// Uses weighted voting
|
|
2291
|
-
opinion_wise: 0.5,
|
|
2292
|
-
// Uses correlation-aware Bayesian aggregation (Issue #333)
|
|
2293
|
-
higher_order: 0.5
|
|
2294
|
-
// Alias for opinion_wise (Issue #514)
|
|
2295
|
-
};
|
|
2296
2299
|
var ConsensusMetricsSchema = z3.object({
|
|
2297
2300
|
totalProposals: z3.number().int().nonnegative(),
|
|
2298
2301
|
approvedProposals: z3.number().int().nonnegative(),
|
|
@@ -2345,6 +2348,9 @@ export {
|
|
|
2345
2348
|
toSdkCallbackWithBudgetCheck,
|
|
2346
2349
|
getMcpAnnotations,
|
|
2347
2350
|
getToolAnnotations,
|
|
2351
|
+
SUPERMAJORITY_THRESHOLD,
|
|
2352
|
+
VOTING_THRESHOLDS,
|
|
2353
|
+
ERROR_FLOOR_FRACTION,
|
|
2348
2354
|
ConsensusAlgorithmSchema,
|
|
2349
2355
|
ProposalStatusSchema,
|
|
2350
2356
|
RejectionCategorySchema,
|
|
@@ -2356,8 +2362,6 @@ export {
|
|
|
2356
2362
|
DEFAULT_INCREMENTAL_QUORUM_CONFIG,
|
|
2357
2363
|
ConsensusEngineConfigSchema,
|
|
2358
2364
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2359
|
-
SUPERMAJORITY_THRESHOLD,
|
|
2360
|
-
VOTING_THRESHOLDS,
|
|
2361
2365
|
ConsensusMetricsSchema
|
|
2362
2366
|
};
|
|
2363
|
-
//# sourceMappingURL=chunk-
|
|
2367
|
+
//# sourceMappingURL=chunk-L27XOISM.js.map
|