nexus-agents 4.27.0 → 4.28.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.
@@ -11,11 +11,11 @@ import {
11
11
  resetCorrelationTracker,
12
12
  runConsensusForGoal,
13
13
  unwrapVoteOrThrow
14
- } from "./chunk-SZDSV6B3.js";
14
+ } from "./chunk-6OAWETHW.js";
15
15
  import "./chunk-NAL4EHFM.js";
16
16
  import "./chunk-OQB3XC5O.js";
17
- import "./chunk-JR6YCGDH.js";
18
- import "./chunk-PYJRRTUE.js";
17
+ import "./chunk-7V5V6H5C.js";
18
+ import "./chunk-D2E5PC2V.js";
19
19
  import "./chunk-RV57MIQU.js";
20
20
  import "./chunk-N3SKF4YT.js";
21
21
  import "./chunk-PU2NTY6U.js";
@@ -50,4 +50,4 @@ export {
50
50
  runConsensusForGoal,
51
51
  unwrapVoteOrThrow
52
52
  };
53
- //# sourceMappingURL=consensus-vote-GR7YKMQ2.js.map
53
+ //# sourceMappingURL=consensus-vote-YYHQHD7V.js.map
@@ -11,9 +11,9 @@ import {
11
11
  loadSelfEvalSignals,
12
12
  registerImprovementReviewTool,
13
13
  runImprovementReview
14
- } from "./chunk-ONK6CIA6.js";
15
- import "./chunk-JR6YCGDH.js";
16
- import "./chunk-PYJRRTUE.js";
14
+ } from "./chunk-Q4T3UWOC.js";
15
+ import "./chunk-7V5V6H5C.js";
16
+ import "./chunk-D2E5PC2V.js";
17
17
  import "./chunk-RV57MIQU.js";
18
18
  import "./chunk-6Q4XUAE5.js";
19
19
  import "./chunk-GBHJ37V3.js";
@@ -33,4 +33,4 @@ export {
33
33
  registerImprovementReviewTool,
34
34
  runImprovementReview
35
35
  };
36
- //# sourceMappingURL=improvement-review-ONMDPXAY.js.map
36
+ //# sourceMappingURL=improvement-review-C74SDVTQ.js.map
package/dist/index.d.ts CHANGED
@@ -21293,7 +21293,38 @@ interface DryRunResult {
21293
21293
  * Dependencies required by the run_workflow tool.
21294
21294
  */
21295
21295
  interface RunWorkflowDeps extends BaseMcpToolDeps {
21296
+ /**
21297
+ * Engine used to ENUMERATE and load templates — `listTemplates`,
21298
+ * `getTemplateByName`, `loadTemplate`. Never used to execute.
21299
+ *
21300
+ * Listing needs no model adapter, so this engine is constructible on a fresh
21301
+ * install with no credentials. That is the capability split #5116 turns on:
21302
+ * enumerating workflows and running them have different prerequisites.
21303
+ */
21296
21304
  workflowEngine: IWorkflowEngine;
21305
+ /**
21306
+ * Resolves the engine that actually EXECUTES, at call time (#5116).
21307
+ *
21308
+ * A THUNK rather than a value because constructing an executing engine throws
21309
+ * `WorkflowExecutionUnavailableError` under the #507 fail-safe when nothing
21310
+ * can execute for real — doing that eagerly at tool registration killed the
21311
+ * whole server, all 47 tools, over one unconfigured adapter.
21312
+ *
21313
+ * OPTIONAL rather than required, by unanimous panel decision. It was briefly
21314
+ * required, which is how all eight internal call sites were enumerated by the
21315
+ * compiler — that value is already banked. Keeping it required would make
21316
+ * this a breaking change to a publicly exported type (`exports/mcp.ts`) and
21317
+ * gate a p1 correctness fix behind a major version.
21318
+ *
21319
+ * Defaulting to `workflowEngine` is semantically correct for an external
21320
+ * caller, not merely compile-compatible: their single engine genuinely serves
21321
+ * both listing and execution, so the fallback preserves exactly what they had.
21322
+ * The residual hazard — a future INTERNAL call site omitting this and
21323
+ * executing against a listing engine — is covered two ways: a test asserting
21324
+ * the production registration supplies it, and the listing engine failing
21325
+ * closed rather than returning a fabricated success.
21326
+ */
21327
+ resolveExecutionEngine?: (() => IWorkflowEngine) | undefined;
21297
21328
  /** MCP notifier for client-visible logging (Issue #974) */
21298
21329
  notifier?: IMcpNotifier | undefined;
21299
21330
  }
package/dist/index.js CHANGED
@@ -553,7 +553,7 @@ import {
553
553
  withLogging,
554
554
  withRetry,
555
555
  withRetryWrapper
556
- } from "./chunk-EXQUUAOP.js";
556
+ } from "./chunk-EGO754SU.js";
557
557
  import {
558
558
  FALLBACK_SCANNER_DATA,
559
559
  buildPlanFromAnalysis,
@@ -574,7 +574,7 @@ import {
574
574
  connectTransport,
575
575
  createServer,
576
576
  startStdioServer
577
- } from "./chunk-5ONULRCG.js";
577
+ } from "./chunk-VEFRTBUE.js";
578
578
  import {
579
579
  OPENAI_MODELS,
580
580
  OPENAI_MODEL_ALIASES,
@@ -632,7 +632,7 @@ import {
632
632
  generateProposalId,
633
633
  parseAgentPairKey,
634
634
  registerConsensusVoteTool
635
- } from "./chunk-SZDSV6B3.js";
635
+ } from "./chunk-6OAWETHW.js";
636
636
  import "./chunk-NAL4EHFM.js";
637
637
  import {
638
638
  allOf
@@ -683,7 +683,7 @@ import {
683
683
  import {
684
684
  ImprovementReviewInputSchema,
685
685
  registerImprovementReviewTool
686
- } from "./chunk-ONK6CIA6.js";
686
+ } from "./chunk-Q4T3UWOC.js";
687
687
  import {
688
688
  AgentPerformanceSchema,
689
689
  ConsensusAlgorithmSchema,
@@ -719,10 +719,10 @@ import {
719
719
  toolSuccess,
720
720
  toolSuccessStructured,
721
721
  validateToolInput
722
- } from "./chunk-JR6YCGDH.js";
722
+ } from "./chunk-7V5V6H5C.js";
723
723
  import {
724
724
  VERSION
725
- } from "./chunk-PYJRRTUE.js";
725
+ } from "./chunk-D2E5PC2V.js";
726
726
  import {
727
727
  AuditTrail,
728
728
  MAX_STRIPPED_ELEMENTS_PER_EVENT,
@@ -4729,7 +4729,7 @@ function buildVotingInput(plan, config) {
4729
4729
  }
4730
4730
  async function executeSingleVote(plan, config, log) {
4731
4731
  try {
4732
- const { executeVoting } = await import("./consensus-vote-GR7YKMQ2.js");
4732
+ const { executeVoting } = await import("./consensus-vote-YYHQHD7V.js");
4733
4733
  const input = buildVotingInput(plan, config);
4734
4734
  const result = await executeVoting(input, log);
4735
4735
  return parseVotingResult(result);
@@ -2,11 +2,11 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-5ONULRCG.js";
5
+ } from "./chunk-VEFRTBUE.js";
6
6
  import "./chunk-VCM2NHH7.js";
7
7
  import "./chunk-NAL4EHFM.js";
8
8
  import "./chunk-OQB3XC5O.js";
9
- import "./chunk-PYJRRTUE.js";
9
+ import "./chunk-D2E5PC2V.js";
10
10
  import "./chunk-6T3EPABN.js";
11
11
  import "./chunk-IED5SFCF.js";
12
12
  import "./chunk-QUVWKVKU.js";
@@ -26,4 +26,4 @@ export {
26
26
  describeDataDirFix,
27
27
  initDataDirectories
28
28
  };
29
- //# sourceMappingURL=setup-data-dir-5624L2CE.js.map
29
+ //# sourceMappingURL=setup-data-dir-YSN7UU3M.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "4.27.0",
3
+ "version": "4.28.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",
@@ -1,7 +0,0 @@
1
- // src/version.ts
2
- var VERSION = true ? "4.27.0" : "dev";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-PYJRRTUE.js.map