nexus-agents 4.3.1 → 4.3.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-L7Z7ZLM5.js → chunk-BG7IE3V5.js} +2 -2
- package/dist/{chunk-LWB4RR47.js → chunk-CXA4H3PZ.js} +2 -2
- package/dist/chunk-CXA4H3PZ.js.map +1 -0
- package/dist/{chunk-LSQ6TVSS.js → chunk-GWL7WO64.js} +4 -4
- package/dist/{chunk-LSQ6TVSS.js.map → chunk-GWL7WO64.js.map} +1 -1
- package/dist/{chunk-UZUECKIV.js → chunk-TXAWKJWL.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{consensus-vote-3IHQNBNY.js → consensus-vote-EOXPISAA.js} +2 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +4 -4
- package/dist/{setup-command-H4XOEBF5.js → setup-command-R6LRVQ7P.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-LWB4RR47.js.map +0 -1
- /package/dist/{chunk-L7Z7ZLM5.js.map → chunk-BG7IE3V5.js.map} +0 -0
- /package/dist/{chunk-UZUECKIV.js.map → chunk-TXAWKJWL.js.map} +0 -0
- /package/dist/{consensus-vote-3IHQNBNY.js.map → consensus-vote-EOXPISAA.js.map} +0 -0
- /package/dist/{setup-command-H4XOEBF5.js.map → setup-command-R6LRVQ7P.js.map} +0 -0
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-OQLFRJCW.js";
|
|
53
53
|
|
|
54
54
|
// src/version.ts
|
|
55
|
-
var VERSION = true ? "4.3.
|
|
55
|
+
var VERSION = true ? "4.3.3" : "dev";
|
|
56
56
|
|
|
57
57
|
// src/config/schemas-core.ts
|
|
58
58
|
import { z } from "zod";
|
|
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
|
|
|
2339
2339
|
writeLine2("\u2500".repeat(40));
|
|
2340
2340
|
let fixCount = 0;
|
|
2341
2341
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2342
|
-
const { runSetup } = await import("./setup-command-
|
|
2342
|
+
const { runSetup } = await import("./setup-command-R6LRVQ7P.js");
|
|
2343
2343
|
const setupResult = runSetup({
|
|
2344
2344
|
skipMcp: true,
|
|
2345
2345
|
skipRules: true,
|
|
@@ -2452,4 +2452,4 @@ export {
|
|
|
2452
2452
|
startStdioServer,
|
|
2453
2453
|
closeServer
|
|
2454
2454
|
};
|
|
2455
|
-
//# sourceMappingURL=chunk-
|
|
2455
|
+
//# sourceMappingURL=chunk-TXAWKJWL.js.map
|
package/dist/cli.js
CHANGED
|
@@ -18,7 +18,7 @@ import "./chunk-JV5HRP3S.js";
|
|
|
18
18
|
import {
|
|
19
19
|
setupCommandAsync,
|
|
20
20
|
verifyCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BG7IE3V5.js";
|
|
22
22
|
import "./chunk-73U6W5ZU.js";
|
|
23
23
|
import {
|
|
24
24
|
AuthHandler,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
validateCommand,
|
|
140
140
|
validateWorkflow,
|
|
141
141
|
wrapInMarkdownFence
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-GWL7WO64.js";
|
|
143
143
|
import "./chunk-FHXDRCIW.js";
|
|
144
144
|
import "./chunk-HFOQKCD2.js";
|
|
145
145
|
import "./chunk-RSMG2DPB.js";
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
loadConfig,
|
|
167
167
|
runDoctor,
|
|
168
168
|
validateNexusEnv
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-TXAWKJWL.js";
|
|
170
170
|
import {
|
|
171
171
|
buildOpenAICompatAdapters,
|
|
172
172
|
readOpenAICompatEnv
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
executeVoting,
|
|
184
184
|
mapOutcomeToDecision,
|
|
185
185
|
registerConsensusVoteTool
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-CXA4H3PZ.js";
|
|
187
187
|
import {
|
|
188
188
|
loadUsageEvents,
|
|
189
189
|
rollupByModel
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CXA4H3PZ.js";
|
|
15
15
|
import "./chunk-3P6N3XZF.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
17
|
import "./chunk-WX5TASVN.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
runConsensusForGoal,
|
|
50
50
|
unwrapVoteOrThrow
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=consensus-vote-
|
|
52
|
+
//# sourceMappingURL=consensus-vote-EOXPISAA.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -32451,6 +32451,11 @@ declare function createCorrelationTracker(config?: Partial<HigherOrderVotingConf
|
|
|
32451
32451
|
*
|
|
32452
32452
|
* Traditional voting assumes independence between voters. Higher-order voting
|
|
32453
32453
|
* uses Bayesian-optimal aggregation that handles correlated agents better,
|
|
32454
|
+
* BUT NOTE (#4701): `calculateOutcome` — the `IVotingStrategy` entry point the
|
|
32455
|
+
* `ConsensusEngine` calls — uses `aggregateSimpleInternal` and ignores weights.
|
|
32456
|
+
* `aggregateWithCorrelation` is reached only via `runHigherOrderVoting`, whose
|
|
32457
|
+
* `posteriorApproval` feeds contrarian escalation, not the verdict. So selecting
|
|
32458
|
+
* `higher_order` does not currently buy a correlation-weighted approve/reject.
|
|
32454
32459
|
* resulting in more accurate consensus decisions.
|
|
32455
32460
|
*
|
|
32456
32461
|
* @module consensus/higher-order-voting
|
|
@@ -33544,8 +33549,18 @@ interface PipelineStateSnapshot {
|
|
|
33544
33549
|
* include `trust-classifier`, `input-sanitizer`, `firewall-pipeline`, and
|
|
33545
33550
|
* `mcp/middleware/request-context`; threading the value into
|
|
33546
33551
|
* `TaskContract.metadata.trustTier` is owner-scoped follow-up work — see
|
|
33547
|
-
* the corresponding issue.
|
|
33548
|
-
*
|
|
33552
|
+
* the corresponding issue.
|
|
33553
|
+
*
|
|
33554
|
+
* ABSENT MEANS UNTRUSTED, NOT ALLOWED (#4821). An absent or non-numeric
|
|
33555
|
+
* value is coerced to `4` and DENIES — see `trustTierRule` below. This doc
|
|
33556
|
+
* previously claimed the opposite ("fail-open default for unknown trust"),
|
|
33557
|
+
* describing a pre-hardening behaviour the code no longer has.
|
|
33558
|
+
*
|
|
33559
|
+
* That is the correct default and should stay: fail-closed on unknown
|
|
33560
|
+
* provenance is what `.rules/untrusted-input.md` requires. Do not "fix" the
|
|
33561
|
+
* rule to match the old comment. The practical consequence, worth knowing
|
|
33562
|
+
* before planning enforcement work, is that an UNWIRED producer is the DENY
|
|
33563
|
+
* case rather than the safe one.
|
|
33549
33564
|
*/
|
|
33550
33565
|
readonly trustTier?: string;
|
|
33551
33566
|
}
|
package/dist/index.js
CHANGED
|
@@ -541,7 +541,7 @@ import {
|
|
|
541
541
|
withLogging,
|
|
542
542
|
withRetry,
|
|
543
543
|
withRetryWrapper
|
|
544
|
-
} from "./chunk-
|
|
544
|
+
} from "./chunk-GWL7WO64.js";
|
|
545
545
|
import {
|
|
546
546
|
FALLBACK_SCANNER_DATA,
|
|
547
547
|
buildPlanFromAnalysis,
|
|
@@ -575,7 +575,7 @@ import {
|
|
|
575
575
|
getKnownNexusVarNames,
|
|
576
576
|
startStdioServer,
|
|
577
577
|
validateNexusEnv
|
|
578
|
-
} from "./chunk-
|
|
578
|
+
} from "./chunk-TXAWKJWL.js";
|
|
579
579
|
import {
|
|
580
580
|
OPENAI_MODELS,
|
|
581
581
|
OPENAI_MODEL_ALIASES,
|
|
@@ -633,7 +633,7 @@ import {
|
|
|
633
633
|
generateProposalId,
|
|
634
634
|
parseAgentPairKey,
|
|
635
635
|
registerConsensusVoteTool
|
|
636
|
-
} from "./chunk-
|
|
636
|
+
} from "./chunk-CXA4H3PZ.js";
|
|
637
637
|
import "./chunk-3P6N3XZF.js";
|
|
638
638
|
import {
|
|
639
639
|
allOf
|
|
@@ -4728,7 +4728,7 @@ function buildVotingInput(plan, config) {
|
|
|
4728
4728
|
}
|
|
4729
4729
|
async function executeSingleVote(plan, config, log) {
|
|
4730
4730
|
try {
|
|
4731
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
4731
|
+
const { executeVoting } = await import("./consensus-vote-EOXPISAA.js");
|
|
4732
4732
|
const input = buildVotingInput(plan, config);
|
|
4733
4733
|
const result = await executeVoting(input, log);
|
|
4734
4734
|
return parseVotingResult(result);
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
runWizard,
|
|
9
9
|
setupCommand,
|
|
10
10
|
setupCommandAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BG7IE3V5.js";
|
|
12
12
|
import "./chunk-73U6W5ZU.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TXAWKJWL.js";
|
|
14
14
|
import "./chunk-ROAVF3S5.js";
|
|
15
15
|
import "./chunk-3P6N3XZF.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
setupCommand,
|
|
42
42
|
setupCommandAsync
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=setup-command-
|
|
44
|
+
//# sourceMappingURL=setup-command-R6LRVQ7P.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.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",
|