nexus-agents 8.131.2 → 8.131.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-G3XQTFYR.js → chunk-5XMXBSPY.js} +3 -3
- package/dist/{chunk-OMV3AUAO.js → chunk-AAE7F4CB.js} +2 -2
- package/dist/{chunk-2ZOAXTZI.js → chunk-CGKENW3F.js} +2 -2
- package/dist/{chunk-Z3QBRTM6.js → chunk-FB4ZIOYS.js} +3 -3
- package/dist/{chunk-LVGTZ7ZQ.js → chunk-RWWPMTJK.js} +2 -2
- package/dist/{chunk-7JVT47PU.js → chunk-UETCXCAS.js} +34 -10
- package/dist/{chunk-7JVT47PU.js.map → chunk-UETCXCAS.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-6TVPKF3P.js → consensus-vote-6ISHSQ73.js} +4 -4
- package/dist/{improvement-review-6BOWV5I5.js → improvement-review-S65JP2NY.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-7M5CFIGG.js → setup-data-dir-EVVWRHY2.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-G3XQTFYR.js.map → chunk-5XMXBSPY.js.map} +0 -0
- /package/dist/{chunk-OMV3AUAO.js.map → chunk-AAE7F4CB.js.map} +0 -0
- /package/dist/{chunk-2ZOAXTZI.js.map → chunk-CGKENW3F.js.map} +0 -0
- /package/dist/{chunk-Z3QBRTM6.js.map → chunk-FB4ZIOYS.js.map} +0 -0
- /package/dist/{chunk-LVGTZ7ZQ.js.map → chunk-RWWPMTJK.js.map} +0 -0
- /package/dist/{consensus-vote-6TVPKF3P.js.map → consensus-vote-6ISHSQ73.js.map} +0 -0
- /package/dist/{improvement-review-6BOWV5I5.js.map → improvement-review-S65JP2NY.js.map} +0 -0
- /package/dist/{setup-data-dir-7M5CFIGG.js.map → setup-data-dir-EVVWRHY2.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RWWPMTJK.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -1552,7 +1552,7 @@ async function runDoctorFix(result) {
|
|
|
1552
1552
|
writeLine2("\u2500".repeat(40));
|
|
1553
1553
|
let fixCount = 0;
|
|
1554
1554
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1555
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1555
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EVVWRHY2.js");
|
|
1556
1556
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1557
1557
|
writeLine2(outcome.line);
|
|
1558
1558
|
if (outcome.counted) fixCount++;
|
|
@@ -1657,4 +1657,4 @@ export {
|
|
|
1657
1657
|
startStdioServer,
|
|
1658
1658
|
closeServer
|
|
1659
1659
|
};
|
|
1660
|
-
//# sourceMappingURL=chunk-
|
|
1660
|
+
//# sourceMappingURL=chunk-5XMXBSPY.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toSdkCallback,
|
|
8
8
|
toolStructuredError,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CGKENW3F.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2431,4 +2431,4 @@ export {
|
|
|
2431
2431
|
runImprovementReview,
|
|
2432
2432
|
registerImprovementReviewTool
|
|
2433
2433
|
};
|
|
2434
|
-
//# sourceMappingURL=chunk-
|
|
2434
|
+
//# sourceMappingURL=chunk-AAE7F4CB.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RWWPMTJK.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-ECJ52NSK.js";
|
|
@@ -2353,4 +2353,4 @@ export {
|
|
|
2353
2353
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2354
2354
|
ConsensusMetricsSchema
|
|
2355
2355
|
};
|
|
2356
|
-
//# sourceMappingURL=chunk-
|
|
2356
|
+
//# sourceMappingURL=chunk-CGKENW3F.js.map
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
toolSuccessStructured,
|
|
22
22
|
withProgressHeartbeat,
|
|
23
23
|
wrapToolWithTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CGKENW3F.js";
|
|
25
25
|
import {
|
|
26
26
|
VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RWWPMTJK.js";
|
|
28
28
|
import {
|
|
29
29
|
allOf
|
|
30
30
|
} from "./chunk-EZNIYU5T.js";
|
|
@@ -9636,4 +9636,4 @@ export {
|
|
|
9636
9636
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9637
9637
|
registerConsensusVoteTool
|
|
9638
9638
|
};
|
|
9639
|
-
//# sourceMappingURL=chunk-
|
|
9639
|
+
//# sourceMappingURL=chunk-FB4ZIOYS.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "8.131.
|
|
7
|
+
var VERSION = true ? "8.131.3" : "dev";
|
|
8
8
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
9
9
|
function isNodeVersionSupported(version) {
|
|
10
10
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
contextForLogging,
|
|
107
107
|
measuredTrustTier
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-RWWPMTJK.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-M7FO5W7A.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAE7F4CB.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
15
|
} from "./chunk-R4AH6LIE.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_TASK_TTL_MS,
|
|
43
43
|
clampTaskTtl
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5XMXBSPY.js";
|
|
45
45
|
import {
|
|
46
46
|
executeExpert
|
|
47
47
|
} from "./chunk-VL65KGVM.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
withFileLock,
|
|
97
97
|
withWarnings,
|
|
98
98
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-FB4ZIOYS.js";
|
|
100
100
|
import {
|
|
101
101
|
NOOP_NOTIFIER,
|
|
102
102
|
RateLimiter,
|
|
@@ -123,12 +123,12 @@ import {
|
|
|
123
123
|
toolSuccess,
|
|
124
124
|
withProgressHeartbeat,
|
|
125
125
|
wrapToolWithTimeout
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-CGKENW3F.js";
|
|
127
127
|
import {
|
|
128
128
|
VERSION,
|
|
129
129
|
createRequestContext,
|
|
130
130
|
measuredTrustTier
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-RWWPMTJK.js";
|
|
132
132
|
import {
|
|
133
133
|
allOf,
|
|
134
134
|
anyOf
|
|
@@ -47324,7 +47324,7 @@ function buildVotingInput(plan, config) {
|
|
|
47324
47324
|
}
|
|
47325
47325
|
async function executeSingleVote(plan, config, log) {
|
|
47326
47326
|
try {
|
|
47327
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47327
|
+
const { executeVoting } = await import("./consensus-vote-6ISHSQ73.js");
|
|
47328
47328
|
const input = buildVotingInput(plan, config);
|
|
47329
47329
|
const result = await executeVoting(input, log);
|
|
47330
47330
|
return parseVotingResult(result);
|
|
@@ -49153,7 +49153,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
49153
49153
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
49154
49154
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
49155
49155
|
try {
|
|
49156
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
49156
|
+
const { executeVoting } = await import("./consensus-vote-6ISHSQ73.js");
|
|
49157
49157
|
const proposal = buildVoteProposal(plan, research);
|
|
49158
49158
|
const votingResult = await executeVoting(
|
|
49159
49159
|
{
|
|
@@ -56085,8 +56085,8 @@ function createAnnotationsProxy(server) {
|
|
|
56085
56085
|
}
|
|
56086
56086
|
|
|
56087
56087
|
// src/mcp/workspace-roots.ts
|
|
56088
|
-
import { existsSync as existsSync16 } from "node:fs";
|
|
56089
|
-
import { join as join17 } from "node:path";
|
|
56088
|
+
import { existsSync as existsSync16, realpathSync as realpathSync6, statSync as statSync4 } from "node:fs";
|
|
56089
|
+
import { isAbsolute as isAbsolute6, join as join17 } from "node:path";
|
|
56090
56090
|
import { homedir as homedir3 } from "node:os";
|
|
56091
56091
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
56092
56092
|
function deriveWorkspaceRootFromRoots(roots) {
|
|
@@ -56108,19 +56108,39 @@ function deriveWorkspaceRootFromRoots(roots) {
|
|
|
56108
56108
|
var WORKSPACE_ROOT_READY_TIMEOUT_MS = 1e3;
|
|
56109
56109
|
var workspaceRootReady = Promise.resolve();
|
|
56110
56110
|
var resolution;
|
|
56111
|
+
function resolveClaudeProjectRoot(logger59) {
|
|
56112
|
+
const candidate = process.env["CLAUDE_PROJECT_DIR"];
|
|
56113
|
+
if (candidate === void 0) return null;
|
|
56114
|
+
try {
|
|
56115
|
+
if (isAbsolute6(candidate)) {
|
|
56116
|
+
const canonical = realpathSync6(candidate);
|
|
56117
|
+
const root = statSync4(canonical).isDirectory() ? findRepoRoot(canonical) : null;
|
|
56118
|
+
if (root !== null && setActiveWorkspaceRoot(root)) return root;
|
|
56119
|
+
}
|
|
56120
|
+
} catch {
|
|
56121
|
+
}
|
|
56122
|
+
logger59.warn("Invalid CLAUDE_PROJECT_DIR; falling back to MCP client roots");
|
|
56123
|
+
return null;
|
|
56124
|
+
}
|
|
56111
56125
|
function beginWorkspaceRootResolution(logger59) {
|
|
56112
56126
|
if (resolution?.timer !== void 0) clearTimeout(resolution.timer);
|
|
56113
56127
|
let resolveReady;
|
|
56114
56128
|
workspaceRootReady = new Promise((resolve13) => {
|
|
56115
56129
|
resolveReady = resolve13;
|
|
56116
56130
|
});
|
|
56131
|
+
const root = resolveClaudeProjectRoot(logger59);
|
|
56117
56132
|
resolution = {
|
|
56118
56133
|
logger: logger59,
|
|
56119
56134
|
fallbackRoot: findRepoRoot(process.cwd()) ?? homedir3(),
|
|
56120
56135
|
resolve: resolveReady,
|
|
56136
|
+
fromClaudeProjectDir: root !== null,
|
|
56121
56137
|
settled: false,
|
|
56122
56138
|
timedOut: false
|
|
56123
56139
|
};
|
|
56140
|
+
if (root !== null) {
|
|
56141
|
+
logger59.info("Resolved workspace root from CLAUDE_PROJECT_DIR", { workspaceRoot: root });
|
|
56142
|
+
finishResolution(resolution);
|
|
56143
|
+
}
|
|
56124
56144
|
}
|
|
56125
56145
|
function finishResolution(state) {
|
|
56126
56146
|
if (state.timer !== void 0) clearTimeout(state.timer);
|
|
@@ -56165,6 +56185,10 @@ function applyWorkspaceRoots(roots, logger59) {
|
|
|
56165
56185
|
async function resolveWorkspaceRootFromClient(server, logger59) {
|
|
56166
56186
|
if (resolution === void 0) beginWorkspaceRootResolution(logger59);
|
|
56167
56187
|
const state = resolution;
|
|
56188
|
+
if (state?.fromClaudeProjectDir === true) return;
|
|
56189
|
+
await requestWorkspaceRoots(server, logger59, state);
|
|
56190
|
+
}
|
|
56191
|
+
async function requestWorkspaceRoots(server, logger59, state) {
|
|
56168
56192
|
try {
|
|
56169
56193
|
if (server.server.getClientCapabilities()?.roots === void 0) {
|
|
56170
56194
|
logger59.debug(
|
|
@@ -58982,4 +59006,4 @@ export {
|
|
|
58982
59006
|
initializeSandbox,
|
|
58983
59007
|
getSandboxMode
|
|
58984
59008
|
};
|
|
58985
|
-
//# sourceMappingURL=chunk-
|
|
59009
|
+
//# sourceMappingURL=chunk-UETCXCAS.js.map
|