nexus-agents 8.24.2 → 8.26.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.
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.24.2" : "dev";
3
+ var VERSION = true ? "8.26.0" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-WGWKS6KS.js.map
14
+ //# sourceMappingURL=chunk-XR4LCWG2.js.map
package/dist/cli.js CHANGED
@@ -157,7 +157,7 @@ import {
157
157
  validateNexusEnv,
158
158
  validateWorkflow,
159
159
  wrapInMarkdownFence
160
- } from "./chunk-CKTGOSEL.js";
160
+ } from "./chunk-TDPV3VO5.js";
161
161
  import "./chunk-22EEMQUS.js";
162
162
  import "./chunk-DGWT7DXX.js";
163
163
  import "./chunk-64GMIUM5.js";
@@ -177,7 +177,7 @@ import {
177
177
  doctorCommand,
178
178
  initDataDirectories,
179
179
  runDoctor
180
- } from "./chunk-I4LNM23C.js";
180
+ } from "./chunk-D2EMIL3K.js";
181
181
  import {
182
182
  buildOpenAICompatAdapters,
183
183
  readOpenAICompatEnv
@@ -196,7 +196,7 @@ import {
196
196
  recordAuthenticVote,
197
197
  registerConsensusVoteTool,
198
198
  toRecordDecision
199
- } from "./chunk-4DDARPJT.js";
199
+ } from "./chunk-4EZINMIF.js";
200
200
  import {
201
201
  loadUsageEvents,
202
202
  rollupByModel
@@ -236,18 +236,18 @@ import {
236
236
  registerImprovementReviewTool,
237
237
  runImprovementReview,
238
238
  scanForSecrets
239
- } from "./chunk-O2EJO2N5.js";
239
+ } from "./chunk-FETVEDXN.js";
240
240
  import {
241
241
  createDefaultPolicyFirewall,
242
242
  setGlobalPolicyFirewall,
243
243
  setSecureHandlerAuditLogger,
244
244
  stagePolicyFirewallForRollout
245
- } from "./chunk-YA3ULAKB.js";
245
+ } from "./chunk-7P2GCEXB.js";
246
246
  import {
247
247
  NODE_ENGINE_RANGE,
248
248
  VERSION,
249
249
  isNodeVersionSupported
250
- } from "./chunk-WGWKS6KS.js";
250
+ } from "./chunk-XR4LCWG2.js";
251
251
  import "./chunk-YOT4GWJV.js";
252
252
  import {
253
253
  createUnifiedRegistry,
@@ -19748,7 +19748,7 @@ function startImprovementReviewScheduler(options) {
19748
19748
  let running = false;
19749
19749
  const runOnce = async () => {
19750
19750
  try {
19751
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-DZA7XQCT.js");
19751
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-RIFOUVXG.js");
19752
19752
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19753
19753
  const result = await runImprovementReview2(input, { logger: logger22 });
19754
19754
  logger22.info("Scheduled improvement_review complete", {
@@ -11,11 +11,11 @@ import {
11
11
  resetCorrelationTracker,
12
12
  runConsensusForGoal,
13
13
  unwrapVoteOrThrow
14
- } from "./chunk-4DDARPJT.js";
14
+ } from "./chunk-4EZINMIF.js";
15
15
  import "./chunk-QEZGPM4S.js";
16
16
  import "./chunk-OQB3XC5O.js";
17
- import "./chunk-YA3ULAKB.js";
18
- import "./chunk-WGWKS6KS.js";
17
+ import "./chunk-7P2GCEXB.js";
18
+ import "./chunk-XR4LCWG2.js";
19
19
  import "./chunk-YOT4GWJV.js";
20
20
  import "./chunk-4O7NQB46.js";
21
21
  import "./chunk-JC3O7WTI.js";
@@ -50,4 +50,4 @@ export {
50
50
  runConsensusForGoal,
51
51
  unwrapVoteOrThrow
52
52
  };
53
- //# sourceMappingURL=consensus-vote-UYC4OKHJ.js.map
53
+ //# sourceMappingURL=consensus-vote-6WG636MI.js.map
@@ -11,9 +11,9 @@ import {
11
11
  loadSelfEvalSignals,
12
12
  registerImprovementReviewTool,
13
13
  runImprovementReview
14
- } from "./chunk-O2EJO2N5.js";
15
- import "./chunk-YA3ULAKB.js";
16
- import "./chunk-WGWKS6KS.js";
14
+ } from "./chunk-FETVEDXN.js";
15
+ import "./chunk-7P2GCEXB.js";
16
+ import "./chunk-XR4LCWG2.js";
17
17
  import "./chunk-YOT4GWJV.js";
18
18
  import "./chunk-QOKSFHWH.js";
19
19
  import "./chunk-7WJGV5DN.js";
@@ -33,4 +33,4 @@ export {
33
33
  registerImprovementReviewTool,
34
34
  runImprovementReview
35
35
  };
36
- //# sourceMappingURL=improvement-review-DZA7XQCT.js.map
36
+ //# sourceMappingURL=improvement-review-RIFOUVXG.js.map
package/dist/index.d.ts CHANGED
@@ -21026,9 +21026,15 @@ interface ModelPerformanceSummary {
21026
21026
  readonly rewardStats: DistributionStats;
21027
21027
  /** Average latency in milliseconds */
21028
21028
  readonly avgLatencyMs: number;
21029
- /** Win rate vs other models */
21029
+ /**
21030
+ * Win rate vs other models, over the {@link comparableN} outcomes that carried
21031
+ * counterfactual rewards. Unmeasured — `comparableN === 0` — reads `0` here
21032
+ * for compatibility; check `comparableN` before treating it as a defeat (#5650).
21033
+ */
21030
21034
  readonly winRate: number;
21031
21035
  readonly winRateCI: ConfidenceInterval;
21036
+ /** Number of outcomes the win rate was computed over; 0 means unmeasured (#5650). */
21037
+ readonly comparableN: number;
21032
21038
  /** Cost efficiency (reward per token) */
21033
21039
  readonly costEfficiency: number;
21034
21040
  }
@@ -25728,6 +25734,12 @@ interface QaReviewResult {
25728
25734
  }
25729
25735
  /** Overall pipeline result. */
25730
25736
  interface DevPipelineResult {
25737
+ /**
25738
+ * Whether the pipeline completed successfully.
25739
+ *
25740
+ * True only when every planned task is present in `tasks` with status 'done'
25741
+ * AND the security gate passed (#5645).
25742
+ */
25731
25743
  readonly completed: boolean;
25732
25744
  readonly plan: string;
25733
25745
  readonly tasks: readonly PipelineTask[];
@@ -25779,6 +25791,18 @@ interface DevPipelineResult {
25779
25791
  * fault. Absent means a normal run.
25780
25792
  */
25781
25793
  readonly dryRun?: true;
25794
+ /**
25795
+ * Aggregate completion status of planned tasks (#5645).
25796
+ *
25797
+ * `'all_done'` when every planned task was implemented and passed QA;
25798
+ * `'partial'` when some but not all tasks completed with status `'done'`;
25799
+ * `'none'` when zero tasks completed with status `'done'` (including empty
25800
+ * plans where nothing was planned).
25801
+ *
25802
+ * Optional so early-return shapes that never ran the implement loop need not
25803
+ * carry it.
25804
+ */
25805
+ readonly taskStatus?: 'all_done' | 'partial' | 'none';
25782
25806
  }
25783
25807
  /** Pluggable stage implementations — inject real or mock agents. */
25784
25808
  interface DevPipelineStages {
package/dist/index.js CHANGED
@@ -553,7 +553,7 @@ import {
553
553
  withLogging,
554
554
  withRetry,
555
555
  withRetryWrapper
556
- } from "./chunk-CKTGOSEL.js";
556
+ } from "./chunk-TDPV3VO5.js";
557
557
  import {
558
558
  FALLBACK_SCANNER_DATA,
559
559
  buildPlanFromAnalysis,
@@ -586,7 +586,7 @@ import {
586
586
  connectTransport,
587
587
  createServer,
588
588
  startStdioServer
589
- } from "./chunk-I4LNM23C.js";
589
+ } from "./chunk-D2EMIL3K.js";
590
590
  import {
591
591
  OPENAI_MODELS,
592
592
  OPENAI_MODEL_ALIASES,
@@ -644,7 +644,7 @@ import {
644
644
  generateProposalId,
645
645
  parseAgentPairKey,
646
646
  registerConsensusVoteTool
647
- } from "./chunk-4DDARPJT.js";
647
+ } from "./chunk-4EZINMIF.js";
648
648
  import "./chunk-QEZGPM4S.js";
649
649
  import {
650
650
  allOf
@@ -702,7 +702,7 @@ import {
702
702
  import {
703
703
  ImprovementReviewInputSchema,
704
704
  registerImprovementReviewTool
705
- } from "./chunk-O2EJO2N5.js";
705
+ } from "./chunk-FETVEDXN.js";
706
706
  import {
707
707
  AgentPerformanceSchema,
708
708
  ConsensusAlgorithmSchema,
@@ -738,10 +738,10 @@ import {
738
738
  toolSuccess,
739
739
  toolSuccessStructured,
740
740
  validateToolInput
741
- } from "./chunk-YA3ULAKB.js";
741
+ } from "./chunk-7P2GCEXB.js";
742
742
  import {
743
743
  VERSION
744
- } from "./chunk-WGWKS6KS.js";
744
+ } from "./chunk-XR4LCWG2.js";
745
745
  import {
746
746
  AuditTrail,
747
747
  createAuditTrail,
@@ -2,11 +2,11 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-I4LNM23C.js";
5
+ } from "./chunk-D2EMIL3K.js";
6
6
  import "./chunk-OUOBB5XR.js";
7
7
  import "./chunk-QEZGPM4S.js";
8
8
  import "./chunk-OQB3XC5O.js";
9
- import "./chunk-WGWKS6KS.js";
9
+ import "./chunk-XR4LCWG2.js";
10
10
  import "./chunk-7LP6VJRP.js";
11
11
  import "./chunk-TPBPFBO3.js";
12
12
  import "./chunk-3VBOYUPH.js";
@@ -26,4 +26,4 @@ export {
26
26
  describeDataDirFix,
27
27
  initDataDirectories
28
28
  };
29
- //# sourceMappingURL=setup-data-dir-5XI7DMHS.js.map
29
+ //# sourceMappingURL=setup-data-dir-HAQK23WQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "8.24.2",
3
+ "version": "8.26.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",