nexus-agents 11.5.2 → 11.5.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-ZX5262PS.js → chunk-4CBXLH3C.js} +2 -2
- package/dist/{chunk-TEI6W4ED.js → chunk-4JK65FIK.js} +3 -3
- package/dist/{chunk-CI3FOOUF.js → chunk-4NP5DCWF.js} +8 -8
- package/dist/{chunk-S3RKQGKV.js → chunk-KU3PCH33.js} +2 -2
- package/dist/{chunk-ZMFKWTMT.js → chunk-MXJGTZGT.js} +3 -3
- package/dist/{chunk-7B4FUABZ.js → chunk-SUEJSLDL.js} +2 -2
- package/dist/cli.js +23 -16
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-OAYLGVUE.js → consensus-vote-JKZYMHLE.js} +4 -4
- package/dist/{improvement-review-NUUQMU4Z.js → improvement-review-QLTIFMSZ.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-2H2E66OU.js → setup-data-dir-N6GDFLZU.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZX5262PS.js.map → chunk-4CBXLH3C.js.map} +0 -0
- /package/dist/{chunk-TEI6W4ED.js.map → chunk-4JK65FIK.js.map} +0 -0
- /package/dist/{chunk-CI3FOOUF.js.map → chunk-4NP5DCWF.js.map} +0 -0
- /package/dist/{chunk-S3RKQGKV.js.map → chunk-KU3PCH33.js.map} +0 -0
- /package/dist/{chunk-ZMFKWTMT.js.map → chunk-MXJGTZGT.js.map} +0 -0
- /package/dist/{chunk-7B4FUABZ.js.map → chunk-SUEJSLDL.js.map} +0 -0
- /package/dist/{consensus-vote-OAYLGVUE.js.map → consensus-vote-JKZYMHLE.js.map} +0 -0
- /package/dist/{improvement-review-NUUQMU4Z.js.map → improvement-review-QLTIFMSZ.js.map} +0 -0
- /package/dist/{setup-data-dir-2H2E66OU.js.map → setup-data-dir-N6GDFLZU.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toSdkCallback,
|
|
8
8
|
toolStructuredError,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KU3PCH33.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2435,4 +2435,4 @@ export {
|
|
|
2435
2435
|
runImprovementReview,
|
|
2436
2436
|
registerImprovementReviewTool
|
|
2437
2437
|
};
|
|
2438
|
-
//# sourceMappingURL=chunk-
|
|
2438
|
+
//# sourceMappingURL=chunk-4CBXLH3C.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
VERSION,
|
|
8
8
|
isNodeVersionSupported,
|
|
9
9
|
recordServerTransport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SUEJSLDL.js";
|
|
11
11
|
import {
|
|
12
12
|
checkGatewayHealth,
|
|
13
13
|
cliFailsVerdict,
|
|
@@ -2263,7 +2263,7 @@ async function runDoctorFix(result) {
|
|
|
2263
2263
|
writeLine2("\u2500".repeat(40));
|
|
2264
2264
|
let fixCount = 0;
|
|
2265
2265
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2266
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
2266
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-N6GDFLZU.js");
|
|
2267
2267
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
2268
2268
|
writeLine2(outcome.line);
|
|
2269
2269
|
if (outcome.counted) fixCount++;
|
|
@@ -2383,4 +2383,4 @@ export {
|
|
|
2383
2383
|
startStdioServer,
|
|
2384
2384
|
closeServer
|
|
2385
2385
|
};
|
|
2386
|
-
//# sourceMappingURL=chunk-
|
|
2386
|
+
//# sourceMappingURL=chunk-4JK65FIK.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateStage,
|
|
59
59
|
withFileLock,
|
|
60
60
|
writeJobCancelled
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MXJGTZGT.js";
|
|
62
62
|
import {
|
|
63
63
|
normalizeTopicToCanonical,
|
|
64
64
|
synthesizeResearch
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./chunk-773AZVR3.js";
|
|
78
78
|
import {
|
|
79
79
|
withPrerequisite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-4CBXLH3C.js";
|
|
81
81
|
import {
|
|
82
82
|
NOOP_NOTIFIER,
|
|
83
83
|
RateLimiter,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
toolSuccess,
|
|
106
106
|
withProgressHeartbeat,
|
|
107
107
|
wrapToolWithTimeout
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-KU3PCH33.js";
|
|
109
109
|
import {
|
|
110
110
|
generateSecurityPlan
|
|
111
111
|
} from "./chunk-6ZTMMN2N.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
DEFAULT_TASK_TTL_MS,
|
|
189
189
|
clampTaskTtl
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-4JK65FIK.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
VERSION,
|
|
197
197
|
createRequestContext,
|
|
198
198
|
measuredTrustTier
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-SUEJSLDL.js";
|
|
200
200
|
import {
|
|
201
201
|
BWRAP_READ_ONLY_ARGS,
|
|
202
202
|
CliDetectionCache,
|
|
@@ -46682,7 +46682,7 @@ function buildVotingInput(plan, config) {
|
|
|
46682
46682
|
}
|
|
46683
46683
|
async function executeSingleVote(plan, config, log) {
|
|
46684
46684
|
try {
|
|
46685
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46685
|
+
const { executeVoting } = await import("./consensus-vote-JKZYMHLE.js");
|
|
46686
46686
|
const input = buildVotingInput(plan, config);
|
|
46687
46687
|
const result = await executeVoting(input, log);
|
|
46688
46688
|
return parseVotingResult(result);
|
|
@@ -48577,7 +48577,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48577
48577
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48578
48578
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48579
48579
|
try {
|
|
48580
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48580
|
+
const { executeVoting } = await import("./consensus-vote-JKZYMHLE.js");
|
|
48581
48581
|
const proposal = buildVoteProposal(plan, research);
|
|
48582
48582
|
const votingResult = await executeVoting(
|
|
48583
48583
|
{
|
|
@@ -59343,4 +59343,4 @@ export {
|
|
|
59343
59343
|
initializeSandbox,
|
|
59344
59344
|
getSandboxMode
|
|
59345
59345
|
};
|
|
59346
|
-
//# sourceMappingURL=chunk-
|
|
59346
|
+
//# sourceMappingURL=chunk-4NP5DCWF.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUEJSLDL.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-TYLE7Z2S.js";
|
|
@@ -2345,4 +2345,4 @@ export {
|
|
|
2345
2345
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2346
2346
|
ConsensusMetricsSchema
|
|
2347
2347
|
};
|
|
2348
|
-
//# sourceMappingURL=chunk-
|
|
2348
|
+
//# sourceMappingURL=chunk-KU3PCH33.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
toolSuccess,
|
|
22
22
|
withProgressHeartbeat,
|
|
23
23
|
wrapToolWithTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KU3PCH33.js";
|
|
25
25
|
import {
|
|
26
26
|
getToolMemory
|
|
27
27
|
} from "./chunk-Y3A3VVGT.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-EZNIYU5T.js";
|
|
31
31
|
import {
|
|
32
32
|
VERSION
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SUEJSLDL.js";
|
|
34
34
|
import {
|
|
35
35
|
ModelBoundAdapter,
|
|
36
36
|
UNVERIFIABLE_STDERR_RE,
|
|
@@ -9915,4 +9915,4 @@ export {
|
|
|
9915
9915
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9916
9916
|
registerConsensusVoteTool
|
|
9917
9917
|
};
|
|
9918
|
-
//# sourceMappingURL=chunk-
|
|
9918
|
+
//# sourceMappingURL=chunk-MXJGTZGT.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "11.5.
|
|
7
|
+
var VERSION = true ? "11.5.3" : "dev";
|
|
8
8
|
var NODE_ENGINE_RANGE = ">=24";
|
|
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-SUEJSLDL.js.map
|
package/dist/cli.js
CHANGED
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
validateWorkflow,
|
|
174
174
|
withPanelWorkspace,
|
|
175
175
|
wrapInMarkdownFence
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-4NP5DCWF.js";
|
|
177
177
|
import "./chunk-FYXIWH62.js";
|
|
178
178
|
import "./chunk-BDP422B2.js";
|
|
179
179
|
import {
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
seatFallbacks,
|
|
199
199
|
servedSubstitutions,
|
|
200
200
|
toRecordDecision
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-MXJGTZGT.js";
|
|
202
202
|
import {
|
|
203
203
|
synthesizeResearch
|
|
204
204
|
} from "./chunk-FGR6O454.js";
|
|
@@ -236,14 +236,14 @@ import {
|
|
|
236
236
|
renderPlanAsResearch,
|
|
237
237
|
runImprovementReview,
|
|
238
238
|
scanForSecrets
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-4CBXLH3C.js";
|
|
240
240
|
import {
|
|
241
241
|
getGlobalExecutionMode,
|
|
242
242
|
setGlobalExecutionMode,
|
|
243
243
|
setGlobalPolicyFirewall,
|
|
244
244
|
setSecureHandlerAuditLogger,
|
|
245
245
|
stagePolicyFirewallForRollout
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-KU3PCH33.js";
|
|
247
247
|
import "./chunk-6ZTMMN2N.js";
|
|
248
248
|
import "./chunk-4GDMHCKX.js";
|
|
249
249
|
import "./chunk-I2THTVA4.js";
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
loadConfig,
|
|
316
316
|
printDoctorSummary,
|
|
317
317
|
runDoctor
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-4JK65FIK.js";
|
|
319
319
|
import {
|
|
320
320
|
allOf,
|
|
321
321
|
anyOf
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
NODE_ENGINE_RANGE,
|
|
325
325
|
VERSION,
|
|
326
326
|
isNodeVersionSupported
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-SUEJSLDL.js";
|
|
328
328
|
import "./chunk-BGELNT5F.js";
|
|
329
329
|
import {
|
|
330
330
|
claimGlobalRegistry,
|
|
@@ -13315,7 +13315,7 @@ function bareServerEntry(snippet) {
|
|
|
13315
13315
|
return snippet;
|
|
13316
13316
|
}
|
|
13317
13317
|
}
|
|
13318
|
-
function printMcpResult(mcpResult, snippet) {
|
|
13318
|
+
function printMcpResult(mcpResult, snippet, scope) {
|
|
13319
13319
|
writeLine4(formatHeader("MCP Configuration"));
|
|
13320
13320
|
writeLine4("\u2500".repeat(40));
|
|
13321
13321
|
if (mcpResult.success) {
|
|
@@ -13327,16 +13327,20 @@ function printMcpResult(mcpResult, snippet) {
|
|
|
13327
13327
|
writeEmptyLine3();
|
|
13328
13328
|
writeLine4("Manual fallback - run:");
|
|
13329
13329
|
writeEmptyLine3();
|
|
13330
|
-
writeLine4(
|
|
13330
|
+
writeLine4(
|
|
13331
|
+
formatCodeBlock(
|
|
13332
|
+
`claude mcp add-json -s ${scope} nexus-agents '${bareServerEntry(snippet)}'`
|
|
13333
|
+
)
|
|
13334
|
+
);
|
|
13331
13335
|
}
|
|
13332
13336
|
}
|
|
13333
13337
|
writeEmptyLine3();
|
|
13334
13338
|
}
|
|
13335
|
-
function printRulesFile(rulesPath) {
|
|
13339
|
+
function printRulesFile(rulesPath, dryRun = false) {
|
|
13336
13340
|
writeLine4(formatHeader("Rules File"));
|
|
13337
13341
|
writeLine4("\u2500".repeat(40));
|
|
13338
|
-
writeLine4(
|
|
13339
|
-
writeLine4("Claude will now have context about nexus-agents tools.");
|
|
13342
|
+
writeLine4(`${dryRun ? "Would create" : "Created"}: ${rulesPath}`);
|
|
13343
|
+
if (!dryRun) writeLine4("Claude will now have context about nexus-agents tools.");
|
|
13340
13344
|
writeEmptyLine3();
|
|
13341
13345
|
}
|
|
13342
13346
|
function printHooksResult(hookResult, snippet) {
|
|
@@ -13588,7 +13592,7 @@ function runDataDirStep(options) {
|
|
|
13588
13592
|
step: {
|
|
13589
13593
|
name: "Data Directory",
|
|
13590
13594
|
status: dataDirResult.success ? dataDirResult.created.length > 0 ? "success" : "skipped" : "failed",
|
|
13591
|
-
message: dataDirResult.success ? dataDirResult.created.length > 0 ?
|
|
13595
|
+
message: dataDirResult.success ? dataDirResult.created.length > 0 ? `${options.dryRun ? "Would create:" : "Created"} ${String(dataDirResult.created.length)} directories` : "All directories already exist" : `Failed: ${dataDirResult.error ?? "Unknown error"}`,
|
|
13592
13596
|
durationMs: getTimeProvider().now() - startTime
|
|
13593
13597
|
},
|
|
13594
13598
|
result: dataDirResult
|
|
@@ -13687,6 +13691,8 @@ function buildSetupResult(ctx) {
|
|
|
13687
13691
|
return {
|
|
13688
13692
|
success: errors.length === 0,
|
|
13689
13693
|
steps: ctx.steps,
|
|
13694
|
+
scope: ctx.options.scope,
|
|
13695
|
+
dryRun: ctx.options.dryRun,
|
|
13690
13696
|
warnings: ctx.warnings,
|
|
13691
13697
|
errors,
|
|
13692
13698
|
durationMs: getTimeProvider().now() - ctx.startTime,
|
|
@@ -13730,6 +13736,7 @@ function runSetup(options = {}) {
|
|
|
13730
13736
|
];
|
|
13731
13737
|
steps.push(runValidationStep(steps));
|
|
13732
13738
|
return buildSetupResult({
|
|
13739
|
+
options: parsedOptions,
|
|
13733
13740
|
startTime,
|
|
13734
13741
|
steps,
|
|
13735
13742
|
warnings,
|
|
@@ -13748,7 +13755,7 @@ function printDetailSections(result) {
|
|
|
13748
13755
|
alreadyConfigured: false,
|
|
13749
13756
|
message: "Added nexus-agents MCP server to Claude Code"
|
|
13750
13757
|
} : { success: false, alreadyConfigured: false, message: "Manual configuration required" };
|
|
13751
|
-
printMcpResult(mcpResult, result.mcpSnippet);
|
|
13758
|
+
printMcpResult(mcpResult, result.mcpSnippet, result.scope ?? "user");
|
|
13752
13759
|
}
|
|
13753
13760
|
if (result.hookSnippet !== void 0 || result.hooksConfigured === true) {
|
|
13754
13761
|
const hookResult = result.hooksConfigured === true ? {
|
|
@@ -13758,7 +13765,7 @@ function printDetailSections(result) {
|
|
|
13758
13765
|
} : { success: false, alreadyConfigured: false, message: "Manual configuration required" };
|
|
13759
13766
|
printHooksResult(hookResult, result.hookSnippet);
|
|
13760
13767
|
}
|
|
13761
|
-
if (result.rulesPath !== void 0) printRulesFile(result.rulesPath);
|
|
13768
|
+
if (result.rulesPath !== void 0) printRulesFile(result.rulesPath, result.dryRun);
|
|
13762
13769
|
if (result.dataDirPath !== void 0) printDataDirSection(result);
|
|
13763
13770
|
printPermissionsSuggestion();
|
|
13764
13771
|
}
|
|
@@ -13771,7 +13778,7 @@ function printDataDirSection(result) {
|
|
|
13771
13778
|
writeLine4(formatHeader("Data Directory"));
|
|
13772
13779
|
writeLine4("\u2500".repeat(40));
|
|
13773
13780
|
const count = result.dataDirsCreated ?? 0;
|
|
13774
|
-
const msg = count > 0 ?
|
|
13781
|
+
const msg = count > 0 ? `${result.dryRun === true ? "Would create:" : "Created"} ${String(count)} directories under ${result.dataDirPath ?? ""}` : `All directories already exist at ${result.dataDirPath ?? ""}`;
|
|
13775
13782
|
writeLine4(msg);
|
|
13776
13783
|
writeEmptyLine3();
|
|
13777
13784
|
}
|
|
@@ -19294,7 +19301,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19294
19301
|
let running = false;
|
|
19295
19302
|
const runOnce = async () => {
|
|
19296
19303
|
try {
|
|
19297
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19304
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-QLTIFMSZ.js");
|
|
19298
19305
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19299
19306
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19300
19307
|
logger22.info("Scheduled improvement_review complete", {
|