nexus-agents 8.42.4 → 8.42.5
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-FQ2ZEXLV.js → chunk-6CFZ3T4C.js} +3 -3
- package/dist/{chunk-US4A55FY.js → chunk-BGN6KGLH.js} +2 -2
- package/dist/{chunk-IFMOM4FX.js → chunk-HGX3KWGT.js} +28 -15
- package/dist/{chunk-IFMOM4FX.js.map → chunk-HGX3KWGT.js.map} +1 -1
- package/dist/{chunk-CBQABK4Y.js → chunk-N7XXTMCB.js} +2 -2
- package/dist/{chunk-3TDPO3Q4.js → chunk-SFHUPUWQ.js} +3 -3
- package/dist/{chunk-E67ENJWG.js → chunk-WTDBSCDU.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-344MQZ26.js → consensus-vote-DAYUGUZD.js} +4 -4
- package/dist/{improvement-review-KZOAN246.js → improvement-review-RN7H4RNV.js} +4 -4
- package/dist/index.d.ts +13 -0
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-Y5FLJCF5.js → setup-data-dir-ZQUD47TP.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-FQ2ZEXLV.js.map → chunk-6CFZ3T4C.js.map} +0 -0
- /package/dist/{chunk-US4A55FY.js.map → chunk-BGN6KGLH.js.map} +0 -0
- /package/dist/{chunk-CBQABK4Y.js.map → chunk-N7XXTMCB.js.map} +0 -0
- /package/dist/{chunk-3TDPO3Q4.js.map → chunk-SFHUPUWQ.js.map} +0 -0
- /package/dist/{chunk-E67ENJWG.js.map → chunk-WTDBSCDU.js.map} +0 -0
- /package/dist/{consensus-vote-344MQZ26.js.map → consensus-vote-DAYUGUZD.js.map} +0 -0
- /package/dist/{improvement-review-KZOAN246.js.map → improvement-review-RN7H4RNV.js.map} +0 -0
- /package/dist/{setup-data-dir-Y5FLJCF5.js.map → setup-data-dir-ZQUD47TP.js.map} +0 -0
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WTDBSCDU.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BGN6KGLH.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7830,4 +7830,4 @@ export {
|
|
|
7830
7830
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7831
7831
|
registerConsensusVoteTool
|
|
7832
7832
|
};
|
|
7833
|
-
//# sourceMappingURL=chunk-
|
|
7833
|
+
//# sourceMappingURL=chunk-6CFZ3T4C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.42.
|
|
3
|
+
var VERSION = true ? "8.42.5" : "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-BGN6KGLH.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-SFHUPUWQ.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-W3WIYJQL.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-6CFZ3T4C.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-UOX2KWDX.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-N7XXTMCB.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-WTDBSCDU.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -30979,18 +30979,29 @@ function createGateHandler(gate, taskId, stageType, enforcement) {
|
|
|
30979
30979
|
if (enforcement === void 0) {
|
|
30980
30980
|
return (_state) => Promise.resolve({
|
|
30981
30981
|
currentStage: gate.id,
|
|
30982
|
-
|
|
30982
|
+
// No engine wired, so no rule ran. The marker is the same courtesy
|
|
30983
|
+
// `placeholder: true` extends to an absent plugin below.
|
|
30984
|
+
stageResults: [{ gateId: gate.id, status: "passed", policyEvaluated: false }]
|
|
30983
30985
|
});
|
|
30984
30986
|
}
|
|
30985
30987
|
return (_state) => {
|
|
30986
30988
|
const verdict = enforceGatePolicy(enforcement, { gateId: gate.id, taskId, stageType });
|
|
30987
|
-
const status = verdict.allowed ? "passed" : "warned";
|
|
30988
30989
|
return Promise.resolve({
|
|
30989
30990
|
currentStage: gate.id,
|
|
30990
|
-
stageResults: [
|
|
30991
|
+
stageResults: [buildGateResult(gate.id, verdict)]
|
|
30991
30992
|
});
|
|
30992
30993
|
};
|
|
30993
30994
|
}
|
|
30995
|
+
function buildGateResult(gateId, verdict) {
|
|
30996
|
+
const violated = verdict.violations.length > 0;
|
|
30997
|
+
return {
|
|
30998
|
+
gateId,
|
|
30999
|
+
status: violated ? "warned" : "passed",
|
|
31000
|
+
policyEvaluated: verdict.mode !== "off",
|
|
31001
|
+
policyMode: verdict.mode,
|
|
31002
|
+
...violated ? { violations: verdict.violations.map((v) => `${v.ruleId}: ${v.reason}`) } : {}
|
|
31003
|
+
};
|
|
31004
|
+
}
|
|
30994
31005
|
function addStageNodes(builder, stages, registry) {
|
|
30995
31006
|
for (const stage of stages) {
|
|
30996
31007
|
builder.addNode(stage.id, createStageHandler(stage, registry));
|
|
@@ -32061,20 +32072,21 @@ function orchestrateInputToTaskContract(input, opts = {}) {
|
|
|
32061
32072
|
}
|
|
32062
32073
|
async function executeOrchestratePipeline(task) {
|
|
32063
32074
|
const policyResult = checkPipelinePolicy(task, "execute");
|
|
32075
|
+
const policyViolations = policyResult.violations.map((v) => `${v.ruleId}: ${v.reason}`);
|
|
32076
|
+
const policyRecord = policyViolations.length > 0 ? { policyViolations, policyMode: policyResult.mode } : {};
|
|
32064
32077
|
if (!policyResult.allowed) {
|
|
32065
|
-
const violations = policyResult.violations.map((v) => `${v.ruleId}: ${v.reason}`);
|
|
32066
32078
|
return {
|
|
32067
32079
|
compiled: false,
|
|
32068
32080
|
executed: false,
|
|
32069
32081
|
stepsExecuted: 0,
|
|
32070
32082
|
durationMs: 0,
|
|
32071
32083
|
policyBlocked: true,
|
|
32072
|
-
|
|
32084
|
+
...policyRecord
|
|
32073
32085
|
};
|
|
32074
32086
|
}
|
|
32075
32087
|
const compiled = createDelegatePipeline(task);
|
|
32076
32088
|
if (!compiled.ok) {
|
|
32077
|
-
return { compiled: false, executed: false, stepsExecuted: 0, durationMs: 0 };
|
|
32089
|
+
return { compiled: false, executed: false, stepsExecuted: 0, durationMs: 0, ...policyRecord };
|
|
32078
32090
|
}
|
|
32079
32091
|
const runner = new PipelineRunner();
|
|
32080
32092
|
const startMs = Date.now();
|
|
@@ -32083,13 +32095,14 @@ async function executeOrchestratePipeline(task) {
|
|
|
32083
32095
|
});
|
|
32084
32096
|
const durationMs = Date.now() - startMs;
|
|
32085
32097
|
if (!result.ok) {
|
|
32086
|
-
return { compiled: true, executed: false, stepsExecuted: 0, durationMs };
|
|
32098
|
+
return { compiled: true, executed: false, stepsExecuted: 0, durationMs, ...policyRecord };
|
|
32087
32099
|
}
|
|
32088
32100
|
return {
|
|
32089
32101
|
compiled: true,
|
|
32090
32102
|
executed: result.value.success,
|
|
32091
32103
|
stepsExecuted: result.value.stepsExecuted,
|
|
32092
|
-
durationMs
|
|
32104
|
+
durationMs,
|
|
32105
|
+
...policyRecord
|
|
32093
32106
|
};
|
|
32094
32107
|
}
|
|
32095
32108
|
|
|
@@ -45930,7 +45943,7 @@ function buildVotingInput(plan, config) {
|
|
|
45930
45943
|
}
|
|
45931
45944
|
async function executeSingleVote(plan, config, log) {
|
|
45932
45945
|
try {
|
|
45933
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45946
|
+
const { executeVoting } = await import("./consensus-vote-DAYUGUZD.js");
|
|
45934
45947
|
const input = buildVotingInput(plan, config);
|
|
45935
45948
|
const result = await executeVoting(input, log);
|
|
45936
45949
|
return parseVotingResult(result);
|
|
@@ -47722,7 +47735,7 @@ ${contextBlock}`;
|
|
|
47722
47735
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47723
47736
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47724
47737
|
try {
|
|
47725
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47738
|
+
const { executeVoting } = await import("./consensus-vote-DAYUGUZD.js");
|
|
47726
47739
|
const votingResult = await executeVoting(
|
|
47727
47740
|
{
|
|
47728
47741
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56403,4 +56416,4 @@ export {
|
|
|
56403
56416
|
startPipelineEventBridge,
|
|
56404
56417
|
shutdownPipelineEventBridge
|
|
56405
56418
|
};
|
|
56406
|
-
//# sourceMappingURL=chunk-
|
|
56419
|
+
//# sourceMappingURL=chunk-HGX3KWGT.js.map
|