nexus-agents 4.28.0 → 4.29.1
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-36RKSOEU.js +7 -0
- package/dist/{chunk-Q4T3UWOC.js → chunk-5URQKORV.js} +18 -17
- package/dist/chunk-5URQKORV.js.map +1 -0
- package/dist/{chunk-VEFRTBUE.js → chunk-CRBION3T.js} +3 -3
- package/dist/{chunk-6OAWETHW.js → chunk-PDCWRF24.js} +29 -5
- package/dist/chunk-PDCWRF24.js.map +1 -0
- package/dist/{chunk-EGO754SU.js → chunk-QQ4WCJ3E.js} +30 -9
- package/dist/chunk-QQ4WCJ3E.js.map +1 -0
- package/dist/{chunk-7V5V6H5C.js → chunk-Z65BID74.js} +2 -2
- package/dist/cli.js +11 -9
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-YYHQHD7V.js → consensus-vote-XBMHZBSF.js} +4 -4
- package/dist/{improvement-review-C74SDVTQ.js → improvement-review-XZLMD6CB.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-YSN7UU3M.js → setup-data-dir-C3EDLJKC.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6OAWETHW.js.map +0 -1
- package/dist/chunk-D2E5PC2V.js +0 -7
- package/dist/chunk-EGO754SU.js.map +0 -1
- package/dist/chunk-Q4T3UWOC.js.map +0 -1
- /package/dist/{chunk-D2E5PC2V.js.map → chunk-36RKSOEU.js.map} +0 -0
- /package/dist/{chunk-VEFRTBUE.js.map → chunk-CRBION3T.js.map} +0 -0
- /package/dist/{chunk-7V5V6H5C.js.map → chunk-Z65BID74.js.map} +0 -0
- /package/dist/{consensus-vote-YYHQHD7V.js.map → consensus-vote-XBMHZBSF.js.map} +0 -0
- /package/dist/{improvement-review-C74SDVTQ.js.map → improvement-review-XZLMD6CB.js.map} +0 -0
- /package/dist/{setup-data-dir-YSN7UU3M.js.map → setup-data-dir-C3EDLJKC.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CRBION3T.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-XEGZYUPX.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
simulationDeniedResult,
|
|
47
47
|
toJobSummary,
|
|
48
48
|
writeJobCancelled
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-PDCWRF24.js";
|
|
50
50
|
import {
|
|
51
51
|
allOf
|
|
52
52
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-UBWHBW7S.js";
|
|
64
64
|
import {
|
|
65
65
|
withPrerequisite
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5URQKORV.js";
|
|
67
67
|
import {
|
|
68
68
|
NOOP_NOTIFIER,
|
|
69
69
|
RateLimiter,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
withAuditTrail,
|
|
88
88
|
withProgressHeartbeat,
|
|
89
89
|
wrapToolWithTimeout
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-Z65BID74.js";
|
|
91
91
|
import {
|
|
92
92
|
createAuditTrail,
|
|
93
93
|
createGraphAuditBridge,
|
|
@@ -941,9 +941,21 @@ var NexusEnvSchema = z10.object({
|
|
|
941
941
|
// NEXUS_EVENTBUS_MAX_HISTORY removed in #2977 — silent no-op (no production reader).
|
|
942
942
|
NEXUS_BILLING_MODE: z10.enum(["plan", "api"]).optional(),
|
|
943
943
|
NEXUS_CONFIG_PATH: z10.string().optional(),
|
|
944
|
+
// Explicit runtime data root; overrides the per-repo/cross-repo split. In
|
|
945
|
+
// CLAUDE.md's most-used table since it shipped, and absent from this schema
|
|
946
|
+
// until #4722 — so setting the documented variable made `validateNexusEnv`
|
|
947
|
+
// report it as an UNKNOWN NEXUS_* var, typo suggestion and all.
|
|
948
|
+
NEXUS_DATA_DIR: z10.string().optional(),
|
|
949
|
+
// `0` opts out of the per-repo data dir (epic #2872; default ON).
|
|
950
|
+
NEXUS_REPO_PREFERRED: z10.enum(["0", "1"]).optional(),
|
|
944
951
|
// Scratch root for short-lived working files (#4412, getNexusTmpDir). Unset
|
|
945
952
|
// resolves to `<dataDir>/tmp`; set it to relocate scratch off the repo.
|
|
946
953
|
NEXUS_TMPDIR: z10.string().optional(),
|
|
954
|
+
// ClawGuard access-policy mode.
|
|
955
|
+
NEXUS_ACCESS_POLICY_MODE: z10.enum(["off", "audit", "confirm_risky", "enforce"]).optional(),
|
|
956
|
+
// Sandbox mode (epic #2500).
|
|
957
|
+
NEXUS_SANDBOX: boolStr.optional(),
|
|
958
|
+
NEXUS_SANDBOX_ROOT: z10.string().optional(),
|
|
947
959
|
NEXUS_ALLOW_MOCK_ORCHESTRATION: boolStr.optional(),
|
|
948
960
|
// Explicit opt-in for simulateVotes outside test runners (#4170) — read by
|
|
949
961
|
// checkSimulationAllowed (mcp/tools/simulation-guard.ts). Unset = fail closed.
|
|
@@ -41131,9 +41143,11 @@ function registerResearchSynthesizeTool(server, deps) {
|
|
|
41131
41143
|
});
|
|
41132
41144
|
const outputSchema = {
|
|
41133
41145
|
clusters: z76.array(z76.unknown()).optional(),
|
|
41134
|
-
|
|
41146
|
+
totalPapers: z76.number().optional(),
|
|
41147
|
+
topicCount: z76.number().optional(),
|
|
41135
41148
|
crossCuttingThemes: z76.array(z76.unknown()).optional(),
|
|
41136
|
-
|
|
41149
|
+
alignmentSummary: z76.unknown().optional(),
|
|
41150
|
+
featureGates: z76.array(z76.unknown()).optional()
|
|
41137
41151
|
};
|
|
41138
41152
|
server.registerTool(
|
|
41139
41153
|
"research_synthesize",
|
|
@@ -44523,6 +44537,10 @@ function verifyEvent(event, index, priorHash) {
|
|
|
44523
44537
|
}
|
|
44524
44538
|
return null;
|
|
44525
44539
|
}
|
|
44540
|
+
function withCoverage(verification, coverage) {
|
|
44541
|
+
if (!verification.ok) return verification;
|
|
44542
|
+
return { ...verification, coverage };
|
|
44543
|
+
}
|
|
44526
44544
|
function verifyChain(events) {
|
|
44527
44545
|
if (events.length === 0) return { ok: true, eventCount: 0, notVerified: "empty" };
|
|
44528
44546
|
if (events[0]?.hash === void 0) {
|
|
@@ -47422,7 +47440,7 @@ ${contextBlock}`;
|
|
|
47422
47440
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47423
47441
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47424
47442
|
try {
|
|
47425
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47443
|
+
const { executeVoting } = await import("./consensus-vote-XBMHZBSF.js");
|
|
47426
47444
|
const votingResult = await executeVoting(
|
|
47427
47445
|
{
|
|
47428
47446
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -50007,7 +50025,10 @@ async function handler2(args, ctx) {
|
|
|
50007
50025
|
resolvedDir,
|
|
50008
50026
|
ctx.logger
|
|
50009
50027
|
);
|
|
50010
|
-
const verification = verifyChain(events)
|
|
50028
|
+
const verification = withCoverage(verifyChain(events), {
|
|
50029
|
+
skipped: skippedLines,
|
|
50030
|
+
unreadableFiles
|
|
50031
|
+
});
|
|
50011
50032
|
const response = {
|
|
50012
50033
|
logDir: resolvedDir,
|
|
50013
50034
|
fileCount,
|
|
@@ -56044,4 +56065,4 @@ export {
|
|
|
56044
56065
|
shutdownFeedbackSubscriber,
|
|
56045
56066
|
createEventBusBridge
|
|
56046
56067
|
};
|
|
56047
|
-
//# sourceMappingURL=chunk-
|
|
56068
|
+
//# sourceMappingURL=chunk-QQ4WCJ3E.js.map
|