nexus-agents 11.0.2 → 11.1.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.
@@ -10,12 +10,12 @@ import {
10
10
  resetCorrelationTracker,
11
11
  runConsensusForGoal,
12
12
  unwrapVoteOrThrow
13
- } from "./chunk-LSQ2IFMP.js";
14
- import "./chunk-G667EEZ7.js";
13
+ } from "./chunk-PNYCRRT6.js";
14
+ import "./chunk-GAMT4NFP.js";
15
15
  import "./chunk-RR2Y2HVZ.js";
16
16
  import "./chunk-ZO6ZKR7L.js";
17
17
  import "./chunk-EZNIYU5T.js";
18
- import "./chunk-Y34BCT36.js";
18
+ import "./chunk-I7S3R5SQ.js";
19
19
  import "./chunk-HL3EHBKJ.js";
20
20
  import "./chunk-WILZPMEM.js";
21
21
  import "./chunk-QZUG667L.js";
@@ -53,4 +53,4 @@ export {
53
53
  runConsensusForGoal,
54
54
  unwrapVoteOrThrow
55
55
  };
56
- //# sourceMappingURL=consensus-vote-O7WRAIMH.js.map
56
+ //# sourceMappingURL=consensus-vote-YVJGZGGG.js.map
@@ -10,9 +10,9 @@ import {
10
10
  loadSelfEvalSignals,
11
11
  registerImprovementReviewTool,
12
12
  runImprovementReview
13
- } from "./chunk-YUA3UBXT.js";
14
- import "./chunk-G667EEZ7.js";
15
- import "./chunk-Y34BCT36.js";
13
+ } from "./chunk-2JBWGPU6.js";
14
+ import "./chunk-GAMT4NFP.js";
15
+ import "./chunk-I7S3R5SQ.js";
16
16
  import "./chunk-TYLE7Z2S.js";
17
17
  import "./chunk-A7XALVN3.js";
18
18
  import "./chunk-EBOAFTOG.js";
@@ -34,4 +34,4 @@ export {
34
34
  registerImprovementReviewTool,
35
35
  runImprovementReview
36
36
  };
37
- //# sourceMappingURL=improvement-review-UQUJ4ZR5.js.map
37
+ //# sourceMappingURL=improvement-review-VYT24FPH.js.map
package/dist/index.d.ts CHANGED
@@ -25405,18 +25405,27 @@ interface PipelineTask {
25405
25405
  */
25406
25406
  readonly researchMaturity?: number | undefined;
25407
25407
  }
25408
- /** Vote result from consensus. */
25408
+ /**
25409
+ * Vote result from consensus.
25410
+ *
25411
+ * `voteRecordId` (#7181) is the id of the vote record the stage persisted to
25412
+ * the ledger; absent when nothing was persisted (a simulated panel, a failed
25413
+ * write, or a stage that does not record).
25414
+ */
25409
25415
  type VoteResult = {
25410
25416
  readonly kind: 'approved';
25411
25417
  readonly approvalPercentage: number;
25418
+ readonly voteRecordId?: string;
25412
25419
  } | {
25413
25420
  readonly kind: 'rejected';
25414
25421
  readonly feedback: string;
25415
25422
  readonly approvalPercentage: number;
25423
+ readonly voteRecordId?: string;
25416
25424
  } | {
25417
25425
  readonly kind: 'no_quorum';
25418
25426
  readonly reason: string;
25419
25427
  readonly approvalPercentage: number;
25428
+ readonly voteRecordId?: string;
25420
25429
  };
25421
25430
  /**
25422
25431
  * What portion of the implementation a QA review actually consumed.
@@ -25533,8 +25542,22 @@ interface DevPipelineResult {
25533
25542
  readonly planStatus?: 'empty' | 'no_quorum' | 'unapproved';
25534
25543
  /** Last quorum failure reason when {@link planStatus} is `'no_quorum'`. */
25535
25544
  readonly planVoteReason?: string;
25536
- /** Last panel approval percentage for a terminal plan-vote outcome. */
25545
+ /**
25546
+ * Last panel approval percentage for a terminal plan-vote outcome, or for the
25547
+ * approving vote of a dry run (#7181).
25548
+ */
25537
25549
  readonly planVoteApprovalPercentage?: number;
25550
+ /**
25551
+ * The last plan vote's decision (#7181). Set on a dry run and on a terminal
25552
+ * plan-gate stop; absent on a full run, on a resumed plan (no vote ran this
25553
+ * run), and when the planner returned nothing (no vote was held).
25554
+ */
25555
+ readonly planVoteDecision?: 'approved' | 'rejected' | 'no_quorum';
25556
+ /**
25557
+ * Id of the vote record that decision persisted to the ledger (#7181). Set
25558
+ * alongside {@link planVoteDecision} only when a record was written.
25559
+ */
25560
+ readonly planVoteRecordId?: string;
25538
25561
  /** Last rejection feedback when {@link planStatus} is `'unapproved'`. */
25539
25562
  readonly planVoteFeedback?: string;
25540
25563
  /**
package/dist/index.js CHANGED
@@ -529,7 +529,7 @@ import {
529
529
  withLogging,
530
530
  withRetry,
531
531
  withRetryWrapper
532
- } from "./chunk-TGUUUWJO.js";
532
+ } from "./chunk-7HPCEKK7.js";
533
533
  import {
534
534
  AST_RULE_LANGUAGES,
535
535
  AST_RULE_SEVERITIES,
@@ -592,7 +592,7 @@ import {
592
592
  generateProposalId,
593
593
  parseAgentPairKey,
594
594
  registerConsensusVoteTool
595
- } from "./chunk-LSQ2IFMP.js";
595
+ } from "./chunk-PNYCRRT6.js";
596
596
  import "./chunk-63YC42C2.js";
597
597
  import {
598
598
  AgentActionSchema,
@@ -647,7 +647,7 @@ import {
647
647
  import {
648
648
  ImprovementReviewInputSchema,
649
649
  registerImprovementReviewTool
650
- } from "./chunk-YUA3UBXT.js";
650
+ } from "./chunk-2JBWGPU6.js";
651
651
  import {
652
652
  ConsensusAlgorithmSchema,
653
653
  ConsensusEngineConfigSchema,
@@ -683,7 +683,7 @@ import {
683
683
  toolSuccess,
684
684
  toolSuccessStructured,
685
685
  validateToolInput
686
- } from "./chunk-G667EEZ7.js";
686
+ } from "./chunk-GAMT4NFP.js";
687
687
  import {
688
688
  FALLBACK_SCANNER_DATA,
689
689
  buildPlanFromAnalysis,
@@ -740,13 +740,13 @@ import {
740
740
  createServer,
741
741
  defaultConfig,
742
742
  startStdioServer
743
- } from "./chunk-ZBWKLJNT.js";
743
+ } from "./chunk-3RUQILL4.js";
744
744
  import {
745
745
  allOf
746
746
  } from "./chunk-EZNIYU5T.js";
747
747
  import {
748
748
  VERSION
749
- } from "./chunk-Y34BCT36.js";
749
+ } from "./chunk-I7S3R5SQ.js";
750
750
  import "./chunk-WAPGSEIM.js";
751
751
  import {
752
752
  CLAUDE_MODELS,
@@ -2,9 +2,9 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-ZBWKLJNT.js";
5
+ } from "./chunk-3RUQILL4.js";
6
6
  import "./chunk-EZNIYU5T.js";
7
- import "./chunk-Y34BCT36.js";
7
+ import "./chunk-I7S3R5SQ.js";
8
8
  import "./chunk-WAPGSEIM.js";
9
9
  import "./chunk-HL3EHBKJ.js";
10
10
  import "./chunk-WILZPMEM.js";
@@ -31,4 +31,4 @@ export {
31
31
  describeDataDirFix,
32
32
  initDataDirectories
33
33
  };
34
- //# sourceMappingURL=setup-data-dir-5YHUK3MZ.js.map
34
+ //# sourceMappingURL=setup-data-dir-VCH62L7T.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "11.0.2",
3
+ "version": "11.1.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",