nexus-agents 2.141.6 → 2.142.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-V2GQUJ3X.js → chunk-FPIAD37H.js} +62 -16
- package/dist/chunk-FPIAD37H.js.map +1 -0
- package/dist/{chunk-3ZZLPQBJ.js → chunk-PH5DWWK6.js} +4 -4
- package/dist/{chunk-3ZZLPQBJ.js.map → chunk-PH5DWWK6.js.map} +1 -1
- package/dist/{chunk-OHLXCCQP.js → chunk-UMVIFQ6W.js} +2 -2
- package/dist/{chunk-KCWBMVFC.js → chunk-VCLL7WH3.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{consensus-vote-EZX4S5MB.js → consensus-vote-DYE7UKAI.js} +2 -2
- package/dist/index.d.ts +20 -15
- package/dist/index.js +4 -4
- package/dist/{setup-command-2BHNMMKL.js → setup-command-MFTWQ3JX.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-V2GQUJ3X.js.map +0 -1
- /package/dist/{chunk-OHLXCCQP.js.map → chunk-UMVIFQ6W.js.map} +0 -0
- /package/dist/{chunk-KCWBMVFC.js.map → chunk-VCLL7WH3.js.map} +0 -0
- /package/dist/{consensus-vote-EZX4S5MB.js.map → consensus-vote-DYE7UKAI.js.map} +0 -0
- /package/dist/{setup-command-2BHNMMKL.js.map → setup-command-MFTWQ3JX.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VCLL7WH3.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-UMVIFQ6W.js.map
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-DHVMSIT5.js";
|
|
43
43
|
|
|
44
44
|
// src/version.ts
|
|
45
|
-
var VERSION = true ? "2.
|
|
45
|
+
var VERSION = true ? "2.142.1" : "dev";
|
|
46
46
|
|
|
47
47
|
// src/config/schemas-core.ts
|
|
48
48
|
import { z } from "zod";
|
|
@@ -2132,7 +2132,7 @@ async function runDoctorFix(result) {
|
|
|
2132
2132
|
writeLine2("\u2500".repeat(40));
|
|
2133
2133
|
let fixCount = 0;
|
|
2134
2134
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2135
|
-
const { runSetup } = await import("./setup-command-
|
|
2135
|
+
const { runSetup } = await import("./setup-command-MFTWQ3JX.js");
|
|
2136
2136
|
const setupResult = runSetup({
|
|
2137
2137
|
skipMcp: true,
|
|
2138
2138
|
skipRules: true,
|
|
@@ -2245,4 +2245,4 @@ export {
|
|
|
2245
2245
|
startStdioServer,
|
|
2246
2246
|
closeServer
|
|
2247
2247
|
};
|
|
2248
|
-
//# sourceMappingURL=chunk-
|
|
2248
|
+
//# sourceMappingURL=chunk-VCLL7WH3.js.map
|
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import "./chunk-UUEK5FP6.js";
|
|
|
22
22
|
import {
|
|
23
23
|
setupCommandAsync,
|
|
24
24
|
verifyCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UMVIFQ6W.js";
|
|
26
26
|
import "./chunk-LEUP55YB.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
validateCommand,
|
|
143
143
|
validateWorkflow,
|
|
144
144
|
wrapInMarkdownFence
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-PH5DWWK6.js";
|
|
146
146
|
import "./chunk-RPTEVESB.js";
|
|
147
147
|
import "./chunk-JQZ5R3EM.js";
|
|
148
148
|
import "./chunk-HFOQKCD2.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
loadConfig,
|
|
171
171
|
runDoctor,
|
|
172
172
|
validateNexusEnv
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-VCLL7WH3.js";
|
|
174
174
|
import "./chunk-SOCIRTAC.js";
|
|
175
175
|
import {
|
|
176
176
|
shutdownExpertBridge
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
VoteThresholdSchema,
|
|
184
184
|
executeVoting,
|
|
185
185
|
registerConsensusVoteTool
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-FPIAD37H.js";
|
|
187
187
|
import {
|
|
188
188
|
loadUsageEvents,
|
|
189
189
|
rollupByModel
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerConsensusVoteTool,
|
|
8
8
|
resetCorrelationTracker,
|
|
9
9
|
runConsensusForGoal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FPIAD37H.js";
|
|
11
11
|
import "./chunk-Y7Z7H66M.js";
|
|
12
12
|
import "./chunk-J2KMYVWA.js";
|
|
13
13
|
import "./chunk-R4YCNXN2.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
resetCorrelationTracker,
|
|
37
37
|
runConsensusForGoal
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=consensus-vote-
|
|
39
|
+
//# sourceMappingURL=consensus-vote-DYE7UKAI.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -26409,27 +26409,32 @@ declare function registerListJobsTool(server: McpServer, deps: ListJobsDeps): vo
|
|
|
26409
26409
|
*
|
|
26410
26410
|
* Marks an async-mode job as cancelled. Three semantic outcomes:
|
|
26411
26411
|
*
|
|
26412
|
-
* - **`cancelled`** — the job was `pending` and is now `cancelled`.
|
|
26413
|
-
*
|
|
26414
|
-
*
|
|
26415
|
-
*
|
|
26416
|
-
*
|
|
26412
|
+
* - **`cancelled`** — the job was `pending` and is now `cancelled`. This
|
|
26413
|
+
* writes the durable `cancelled` record, and the terminal writers
|
|
26414
|
+
* (`writeJobComplete`/`writeJobFailed`) no-op against it (#4017/#4022),
|
|
26415
|
+
* so a later-settling background job can no longer silently revert the
|
|
26416
|
+
* cancellation. See the IMPORTANT caveat below on what this does NOT stop.
|
|
26417
26417
|
* - **`already_complete`** — the job is already `complete` / `failed`.
|
|
26418
26418
|
* The terminal record is preserved (Security flag from #3041 vote:
|
|
26419
26419
|
* cancel-after-complete must not rewrite history).
|
|
26420
26420
|
* - **`already_cancelled`** — second + cancellation against the same
|
|
26421
26421
|
* jobId is a no-op. Idempotent for safe retry.
|
|
26422
26422
|
*
|
|
26423
|
-
* **
|
|
26424
|
-
*
|
|
26425
|
-
*
|
|
26426
|
-
*
|
|
26427
|
-
* `
|
|
26428
|
-
*
|
|
26429
|
-
*
|
|
26430
|
-
*
|
|
26431
|
-
*
|
|
26432
|
-
*
|
|
26423
|
+
* **IMPORTANT — cancel marks the record; it does NOT abort in-flight work
|
|
26424
|
+
* for jobs dispatched via the shared `runAsJob` path (#4017).** `run-as-job.ts`
|
|
26425
|
+
* has no AbortController/signal wiring, so for `run`, `run_pipeline`,
|
|
26426
|
+
* `run_dev_pipeline`, and every other `runAsJob`-dispatched tool, the
|
|
26427
|
+
* background `params.run(...)` keeps executing to completion after a cancel —
|
|
26428
|
+
* only the persisted record is marked `cancelled` (now preserved by the
|
|
26429
|
+
* terminal-writer guards). `consensus_vote` is the exception: it has its own
|
|
26430
|
+
* AbortSignal plumbing (#3038) and IS genuinely interrupted. Wiring a real
|
|
26431
|
+
* per-job AbortController through `runAsJob` so cancel actually stops the work
|
|
26432
|
+
* is tracked as a follow-up enhancement.
|
|
26433
|
+
*
|
|
26434
|
+
* It also doesn't abort work in OTHER processes (no IPC; per-process
|
|
26435
|
+
* AbortControllers can only abort what they own). In a multi-process
|
|
26436
|
+
* deployment the durable cancellation record is observable via
|
|
26437
|
+
* `get_job_result` / `list_jobs`, but the worker process must poll for it.
|
|
26433
26438
|
*
|
|
26434
26439
|
* @module mcp/tools/cancel-job-tool
|
|
26435
26440
|
*/
|
package/dist/index.js
CHANGED
|
@@ -520,7 +520,7 @@ import {
|
|
|
520
520
|
validateWorkflow,
|
|
521
521
|
validateWorkflowDependencies,
|
|
522
522
|
withLogging
|
|
523
|
-
} from "./chunk-
|
|
523
|
+
} from "./chunk-PH5DWWK6.js";
|
|
524
524
|
import {
|
|
525
525
|
OPENAI_MODELS,
|
|
526
526
|
OPENAI_MODEL_ALIASES,
|
|
@@ -560,7 +560,7 @@ import {
|
|
|
560
560
|
getKnownNexusVarNames,
|
|
561
561
|
startStdioServer,
|
|
562
562
|
validateNexusEnv
|
|
563
|
-
} from "./chunk-
|
|
563
|
+
} from "./chunk-VCLL7WH3.js";
|
|
564
564
|
import {
|
|
565
565
|
CliCircuitBreakerIntegration,
|
|
566
566
|
createCliCircuitBreakerIntegration
|
|
@@ -616,7 +616,7 @@ import {
|
|
|
616
616
|
generateProposalId,
|
|
617
617
|
parseAgentPairKey,
|
|
618
618
|
registerConsensusVoteTool
|
|
619
|
-
} from "./chunk-
|
|
619
|
+
} from "./chunk-FPIAD37H.js";
|
|
620
620
|
import "./chunk-Y7Z7H66M.js";
|
|
621
621
|
import "./chunk-SCPAYR65.js";
|
|
622
622
|
import {
|
|
@@ -5953,7 +5953,7 @@ function buildVotingInput(plan, config) {
|
|
|
5953
5953
|
}
|
|
5954
5954
|
async function executeSingleVote(plan, config, log) {
|
|
5955
5955
|
try {
|
|
5956
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
5956
|
+
const { executeVoting } = await import("./consensus-vote-DYE7UKAI.js");
|
|
5957
5957
|
const input = buildVotingInput(plan, config);
|
|
5958
5958
|
const result = await executeVoting(input, log);
|
|
5959
5959
|
return parseVotingResult(result);
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
runWizard,
|
|
9
9
|
setupCommand,
|
|
10
10
|
setupCommandAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UMVIFQ6W.js";
|
|
12
12
|
import "./chunk-LEUP55YB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VCLL7WH3.js";
|
|
14
14
|
import "./chunk-NUBSJGQZ.js";
|
|
15
15
|
import "./chunk-6T3EPABN.js";
|
|
16
16
|
import "./chunk-ZM4O442V.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
setupCommand,
|
|
36
36
|
setupCommandAsync
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=setup-command-
|
|
38
|
+
//# sourceMappingURL=setup-command-MFTWQ3JX.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.142.1",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
|
|
5
5
|
"mcpName": "io.github.nexus-substrate/nexus-agents",
|
|
6
6
|
"license": "MIT",
|