nexus-agents 2.129.0 → 2.129.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-O3COR3G2.js → chunk-24HQWWJ7.js} +4 -4
- package/dist/{chunk-PYZSIFZQ.js → chunk-4EAXZOIG.js} +2 -2
- package/dist/{chunk-6CDAMT2O.js → chunk-HMOPW3XC.js} +10 -6
- package/dist/{chunk-6CDAMT2O.js.map → chunk-HMOPW3XC.js.map} +1 -1
- package/dist/{chunk-ECGYBJQ3.js → chunk-IIMTGMOE.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{consensus-vote-RT3DJYEI.js → consensus-vote-3EMLBZ25.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{setup-command-55WGRQR7.js → setup-command-GVOUKFJT.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-O3COR3G2.js.map → chunk-24HQWWJ7.js.map} +0 -0
- /package/dist/{chunk-PYZSIFZQ.js.map → chunk-4EAXZOIG.js.map} +0 -0
- /package/dist/{chunk-ECGYBJQ3.js.map → chunk-IIMTGMOE.js.map} +0 -0
- /package/dist/{consensus-vote-RT3DJYEI.js.map → consensus-vote-3EMLBZ25.js.map} +0 -0
- /package/dist/{setup-command-55WGRQR7.js.map → setup-command-GVOUKFJT.js.map} +0 -0
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
toJobSummary,
|
|
32
32
|
warnIfSimulatedOutsideTests,
|
|
33
33
|
writeJobCancelled
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HMOPW3XC.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeTopicToCanonical,
|
|
37
37
|
synthesizeResearch
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
DEFAULT_TASK_TTL_MS,
|
|
124
124
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
125
125
|
clampTaskTtl
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-IIMTGMOE.js";
|
|
127
127
|
import {
|
|
128
128
|
resolveInsideRoot
|
|
129
129
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -43238,7 +43238,7 @@ ${contextBlock}`;
|
|
|
43238
43238
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43239
43239
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43240
43240
|
try {
|
|
43241
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43241
|
+
const { executeVoting } = await import("./consensus-vote-3EMLBZ25.js");
|
|
43242
43242
|
const votingResult = await executeVoting(
|
|
43243
43243
|
{
|
|
43244
43244
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -50577,4 +50577,4 @@ export {
|
|
|
50577
50577
|
shutdownFeedbackSubscriber,
|
|
50578
50578
|
createEventBusBridge
|
|
50579
50579
|
};
|
|
50580
|
-
//# sourceMappingURL=chunk-
|
|
50580
|
+
//# sourceMappingURL=chunk-24HQWWJ7.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IIMTGMOE.js";
|
|
12
12
|
import {
|
|
13
13
|
BUILT_IN_EXPERTS
|
|
14
14
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -2000,4 +2000,4 @@ export {
|
|
|
2000
2000
|
setupCommand,
|
|
2001
2001
|
setupCommandAsync
|
|
2002
2002
|
};
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-4EAXZOIG.js.map
|
|
@@ -4502,7 +4502,7 @@ function warnIfSimulatedOutsideTests(toolName, logger10) {
|
|
|
4502
4502
|
}
|
|
4503
4503
|
|
|
4504
4504
|
// src/mcp/jobs/job-result-store.ts
|
|
4505
|
-
import { existsSync as existsSync3, readFileSync as readFileSync3, readdirSync, writeFileSync as writeFileSync3 } from "fs";
|
|
4505
|
+
import { existsSync as existsSync3, readFileSync as readFileSync3, readdirSync, writeFileSync as writeFileSync3, chmodSync } from "fs";
|
|
4506
4506
|
import { z as z7 } from "zod";
|
|
4507
4507
|
var logger7 = createLogger({ component: "job-result-store" });
|
|
4508
4508
|
var JobStatusSchema = z7.enum(["pending", "complete", "failed", "cancelled"]);
|
|
@@ -4531,6 +4531,10 @@ var JobResultSchema = z7.object({
|
|
|
4531
4531
|
function jobResultPath(jobId) {
|
|
4532
4532
|
return nexusDataPathEnsure("jobs", `result-${jobId}.json`);
|
|
4533
4533
|
}
|
|
4534
|
+
function persistJobRecord(path, record) {
|
|
4535
|
+
writeFileSync3(path, JSON.stringify(record, null, 2), { mode: 384 });
|
|
4536
|
+
chmodSync(path, 384);
|
|
4537
|
+
}
|
|
4534
4538
|
function writeJobPending(jobId, toolName) {
|
|
4535
4539
|
const path = jobResultPath(jobId);
|
|
4536
4540
|
if (existsSync3(path)) {
|
|
@@ -4544,7 +4548,7 @@ function writeJobPending(jobId, toolName) {
|
|
|
4544
4548
|
status: "pending",
|
|
4545
4549
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
4546
4550
|
};
|
|
4547
|
-
|
|
4551
|
+
persistJobRecord(path, record);
|
|
4548
4552
|
logger7.debug("Wrote pending job record", { jobId, toolName });
|
|
4549
4553
|
}
|
|
4550
4554
|
function writeJobComplete(jobId, toolName, result) {
|
|
@@ -4557,7 +4561,7 @@ function writeJobComplete(jobId, toolName, result) {
|
|
|
4557
4561
|
completedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4558
4562
|
result
|
|
4559
4563
|
};
|
|
4560
|
-
|
|
4564
|
+
persistJobRecord(jobResultPath(jobId), record);
|
|
4561
4565
|
logger7.debug("Wrote complete job record", { jobId, toolName });
|
|
4562
4566
|
}
|
|
4563
4567
|
function writeJobFailed(jobId, toolName, error) {
|
|
@@ -4570,7 +4574,7 @@ function writeJobFailed(jobId, toolName, error) {
|
|
|
4570
4574
|
completedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4571
4575
|
error
|
|
4572
4576
|
};
|
|
4573
|
-
|
|
4577
|
+
persistJobRecord(jobResultPath(jobId), record);
|
|
4574
4578
|
logger7.debug("Wrote failed job record", { jobId, toolName, error });
|
|
4575
4579
|
}
|
|
4576
4580
|
function writeJobCancelled(jobId, toolName, reason) {
|
|
@@ -4583,7 +4587,7 @@ function writeJobCancelled(jobId, toolName, reason) {
|
|
|
4583
4587
|
completedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4584
4588
|
...reason !== void 0 ? { error: reason } : {}
|
|
4585
4589
|
};
|
|
4586
|
-
|
|
4590
|
+
persistJobRecord(jobResultPath(jobId), record);
|
|
4587
4591
|
logger7.debug("Wrote cancelled job record", { jobId, toolName, reason });
|
|
4588
4592
|
}
|
|
4589
4593
|
function readJobResult(jobId) {
|
|
@@ -5569,4 +5573,4 @@ export {
|
|
|
5569
5573
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
5570
5574
|
registerConsensusVoteTool
|
|
5571
5575
|
};
|
|
5572
|
-
//# sourceMappingURL=chunk-
|
|
5576
|
+
//# sourceMappingURL=chunk-HMOPW3XC.js.map
|