nexus-agents 8.28.2 → 8.28.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-5C5SHEOU.js → chunk-BGTLVDIA.js} +3 -3
- package/dist/{chunk-6BZWANJE.js → chunk-GGZJIWAF.js} +2 -2
- package/dist/{chunk-TXMTK42U.js → chunk-IPU5MBXQ.js} +3 -3
- package/dist/{chunk-BRDADDGN.js → chunk-KVWPOZEX.js} +2 -2
- package/dist/{chunk-32L5P7ST.js → chunk-M43MLPU7.js} +2 -2
- package/dist/{chunk-Z6UJ7Y3N.js → chunk-NHOXP5EN.js} +16 -11
- package/dist/{chunk-Z6UJ7Y3N.js.map → chunk-NHOXP5EN.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-QLS5K6KB.js → consensus-vote-XMNIGTYB.js} +4 -4
- package/dist/{improvement-review-INMFJJDY.js → improvement-review-MCXD4PLI.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-HL2BZZGS.js → setup-data-dir-YG36WJ5S.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-5C5SHEOU.js.map → chunk-BGTLVDIA.js.map} +0 -0
- /package/dist/{chunk-6BZWANJE.js.map → chunk-GGZJIWAF.js.map} +0 -0
- /package/dist/{chunk-TXMTK42U.js.map → chunk-IPU5MBXQ.js.map} +0 -0
- /package/dist/{chunk-BRDADDGN.js.map → chunk-KVWPOZEX.js.map} +0 -0
- /package/dist/{chunk-32L5P7ST.js.map → chunk-M43MLPU7.js.map} +0 -0
- /package/dist/{consensus-vote-QLS5K6KB.js.map → consensus-vote-XMNIGTYB.js.map} +0 -0
- /package/dist/{improvement-review-INMFJJDY.js.map → improvement-review-MCXD4PLI.js.map} +0 -0
- /package/dist/{setup-data-dir-HL2BZZGS.js.map → setup-data-dir-YG36WJ5S.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M43MLPU7.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-YG36WJ5S.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-BGTLVDIA.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KVWPOZEX.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-GGZJIWAF.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KVWPOZEX.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-M43MLPU7.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7683,4 +7683,4 @@ export {
|
|
|
7683
7683
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7684
7684
|
registerConsensusVoteTool
|
|
7685
7685
|
};
|
|
7686
|
-
//# sourceMappingURL=chunk-
|
|
7686
|
+
//# sourceMappingURL=chunk-IPU5MBXQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M43MLPU7.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-5XYODQTD.js";
|
|
@@ -2255,4 +2255,4 @@ export {
|
|
|
2255
2255
|
VOTING_THRESHOLDS,
|
|
2256
2256
|
ConsensusMetricsSchema
|
|
2257
2257
|
};
|
|
2258
|
-
//# sourceMappingURL=chunk-
|
|
2258
|
+
//# sourceMappingURL=chunk-KVWPOZEX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.28.
|
|
3
|
+
var VERSION = true ? "8.28.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-M43MLPU7.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-BGTLVDIA.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-VQGUGZPR.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-IPU5MBXQ.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-2EITSDXF.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-GGZJIWAF.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-KVWPOZEX.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -1020,8 +1020,13 @@ var NexusEnvSchema = z11.object({
|
|
|
1020
1020
|
NEXUS_TMPDIR: z11.string().optional(),
|
|
1021
1021
|
// ClawGuard access-policy mode.
|
|
1022
1022
|
NEXUS_ACCESS_POLICY_MODE: z11.enum(["off", "audit", "confirm_risky", "enforce"]).optional(),
|
|
1023
|
-
// Sandbox
|
|
1024
|
-
|
|
1023
|
+
// Sandbox FLAVOR string (`docker-opencode`, `codex`, …), set by the host
|
|
1024
|
+
// image so sandbox-detection knows it is inside one (epic #2500, #5026). It
|
|
1025
|
+
// was registered as a boolean while every producer and reader used a flavor
|
|
1026
|
+
// string, so the documented value warned as invalid at startup (#5695).
|
|
1027
|
+
// Empty is the POSIX idiom for "override the image's export and turn it off";
|
|
1028
|
+
// sandbox-detection reads empty as unset, so the validator accepts it too.
|
|
1029
|
+
NEXUS_SANDBOX: z11.string().optional(),
|
|
1025
1030
|
NEXUS_SANDBOX_ROOT: z11.string().optional(),
|
|
1026
1031
|
NEXUS_ALLOW_MOCK_ORCHESTRATION: boolStr.optional(),
|
|
1027
1032
|
// Explicit opt-in for simulateVotes outside test runners (#4170) — read by
|
|
@@ -45689,7 +45694,7 @@ function buildVotingInput(plan, config) {
|
|
|
45689
45694
|
}
|
|
45690
45695
|
async function executeSingleVote(plan, config, log) {
|
|
45691
45696
|
try {
|
|
45692
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45697
|
+
const { executeVoting } = await import("./consensus-vote-XMNIGTYB.js");
|
|
45693
45698
|
const input = buildVotingInput(plan, config);
|
|
45694
45699
|
const result = await executeVoting(input, log);
|
|
45695
45700
|
return parseVotingResult(result);
|
|
@@ -47481,7 +47486,7 @@ ${contextBlock}`;
|
|
|
47481
47486
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47482
47487
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47483
47488
|
try {
|
|
47484
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47489
|
+
const { executeVoting } = await import("./consensus-vote-XMNIGTYB.js");
|
|
47485
47490
|
const votingResult = await executeVoting(
|
|
47486
47491
|
{
|
|
47487
47492
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -55425,14 +55430,14 @@ function createDeprecatedModeFallback(requestedMode, policyConfig) {
|
|
|
55425
55430
|
logger52.warn(`Sandbox mode "${requestedMode}" is no longer supported; using "policy" mode`, {
|
|
55426
55431
|
requestedMode,
|
|
55427
55432
|
actualMode: "policy",
|
|
55428
|
-
reason: "In-process Docker/Deno executors were deleted in #2551.
|
|
55433
|
+
reason: "In-process Docker/Deno executors were deleted in #2551. For real isolation run inside the OpenCode Docker image (docs/guides/SANDBOXED-USAGE.md); the NEXUS_SANDBOX variable only tells nexus-agents it is inside one, it does not confine anything (#5026)."
|
|
55429
55434
|
});
|
|
55430
55435
|
const executor = new PolicySandboxExecutor(policyConfig);
|
|
55431
55436
|
return {
|
|
55432
55437
|
executor,
|
|
55433
55438
|
actualMode: "policy",
|
|
55434
55439
|
usedFallback: true,
|
|
55435
|
-
warning: `Sandbox mode "${requestedMode}" is no longer supported; using "policy" mode. For real isolation
|
|
55440
|
+
warning: `Sandbox mode "${requestedMode}" is no longer supported; using "policy" mode. For real isolation run inside the OpenCode Docker image (docs/guides/SANDBOXED-USAGE.md); NEXUS_SANDBOX only signals that you are inside one.`
|
|
55436
55441
|
};
|
|
55437
55442
|
}
|
|
55438
55443
|
|
|
@@ -56197,4 +56202,4 @@ export {
|
|
|
56197
56202
|
shutdownFeedbackSubscriber,
|
|
56198
56203
|
createEventBusBridge
|
|
56199
56204
|
};
|
|
56200
|
-
//# sourceMappingURL=chunk-
|
|
56205
|
+
//# sourceMappingURL=chunk-NHOXP5EN.js.map
|