nexus-agents 2.143.0 → 2.145.0

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/cli.js CHANGED
@@ -22,7 +22,7 @@ import "./chunk-UUEK5FP6.js";
22
22
  import {
23
23
  setupCommandAsync,
24
24
  verifyCommand
25
- } from "./chunk-TZTAAZGD.js";
25
+ } from "./chunk-I6JU4HEN.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-X5FLDORQ.js";
145
+ } from "./chunk-5QACHQ47.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-QTQBGLTG.js";
173
+ } from "./chunk-4IELVEVP.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-P75OHXX5.js";
186
+ } from "./chunk-QKWS3REM.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-P75OHXX5.js";
10
+ } from "./chunk-QKWS3REM.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-3GJMGB3L.js.map
39
+ //# sourceMappingURL=consensus-vote-6V3JNRXI.js.map
package/dist/index.d.ts CHANGED
@@ -26425,19 +26425,19 @@ declare function registerListJobsTool(server: McpServer, deps: ListJobsDeps): vo
26425
26425
  * - **`already_cancelled`** — second + cancellation against the same
26426
26426
  * jobId is a no-op. Idempotent for safe retry.
26427
26427
  *
26428
- * **IMPORTANT cancel marks the record; it does NOT abort in-flight work
26429
- * for jobs dispatched via the shared `runAsJob` path (#4017).** `run-as-job.ts`
26430
- * has no AbortController/signal wiring, so for `run`, `run_pipeline`,
26431
- * `run_dev_pipeline`, and every other `runAsJob`-dispatched tool, the
26432
- * background `params.run(...)` keeps executing to completion after a cancel
26433
- * only the persisted record is marked `cancelled` (now preserved by the
26434
- * terminal-writer guards). `consensus_vote` is the exception: it has its own
26435
- * AbortSignal plumbing (#3038) and IS genuinely interrupted. Wiring a real
26436
- * per-job AbortController through `runAsJob` so cancel actually stops the work
26437
- * is tracked as a follow-up enhancement.
26438
- *
26439
- * It also doesn't abort work in OTHER processes (no IPC; per-process
26440
- * AbortControllers can only abort what they own). In a multi-process
26428
+ * **What cancel does to in-flight work (#4086).** Cancelling a `pending` job now
26429
+ * fires that job's `AbortController` (registered by `runAsJob`, threaded into the
26430
+ * job body as an `AbortSignal`). A `runAsJob`-dispatched tool that THREADS the
26431
+ * signal into its awaited operations is genuinely interrupted in this process;
26432
+ * when its `run()` rejects on abort, the terminal writers no-op against the
26433
+ * already-written `cancelled` record (#4022), so the cancellation wins. A tool that
26434
+ * IGNORES the signal still runs to completion (you cannot stop an unyielding
26435
+ * Promise from outside) but its record stays `cancelled`. So adopting the signal
26436
+ * is per-tool and incremental; the dispatch infrastructure now makes it possible.
26437
+ * (`consensus_vote` had its own AbortSignal plumbing pre-#4086, #3038.)
26438
+ *
26439
+ * Same-process only: it does not abort work in OTHER processes (no IPC; a
26440
+ * per-process AbortController can only abort what it owns). In a multi-process
26441
26441
  * deployment the durable cancellation record is observable via
26442
26442
  * `get_job_result` / `list_jobs`, but the worker process must poll for it.
26443
26443
  *
package/dist/index.js CHANGED
@@ -520,7 +520,7 @@ import {
520
520
  validateWorkflow,
521
521
  validateWorkflowDependencies,
522
522
  withLogging
523
- } from "./chunk-X5FLDORQ.js";
523
+ } from "./chunk-5QACHQ47.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-QTQBGLTG.js";
563
+ } from "./chunk-4IELVEVP.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-P75OHXX5.js";
619
+ } from "./chunk-QKWS3REM.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-3GJMGB3L.js");
5956
+ const { executeVoting } = await import("./consensus-vote-6V3JNRXI.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-TZTAAZGD.js";
11
+ } from "./chunk-I6JU4HEN.js";
12
12
  import "./chunk-LEUP55YB.js";
13
- import "./chunk-QTQBGLTG.js";
13
+ import "./chunk-4IELVEVP.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-3MDZJNXO.js.map
38
+ //# sourceMappingURL=setup-command-FUT4W5P4.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "2.143.0",
3
+ "version": "2.145.0",
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",