nexus-agents 8.46.13 → 8.46.14

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
  import {
2
2
  VERSION
3
- } from "./chunk-DWWD7E2S.js";
3
+ } from "./chunk-SFXPDBND.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-3AWXED62.js";
@@ -2317,4 +2317,4 @@ export {
2317
2317
  VOTING_THRESHOLDS,
2318
2318
  ConsensusMetricsSchema
2319
2319
  };
2320
- //# sourceMappingURL=chunk-YS5V5OIK.js.map
2320
+ //# sourceMappingURL=chunk-CTR7MEJA.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-YS5V5OIK.js";
10
+ } from "./chunk-CTR7MEJA.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2173,4 +2173,4 @@ export {
2173
2173
  runImprovementReview,
2174
2174
  registerImprovementReviewTool
2175
2175
  };
2176
- //# sourceMappingURL=chunk-LVU7XCFO.js.map
2176
+ //# sourceMappingURL=chunk-GQMIBFMY.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-YS5V5OIK.js";
26
+ } from "./chunk-CTR7MEJA.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-DWWD7E2S.js";
29
+ } from "./chunk-SFXPDBND.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -7850,4 +7850,4 @@ export {
7850
7850
  CONSENSUS_VOTE_TOOL_SCHEMA,
7851
7851
  registerConsensusVoteTool
7852
7852
  };
7853
- //# sourceMappingURL=chunk-NBAUSAGE.js.map
7853
+ //# sourceMappingURL=chunk-MJG5EZO7.js.map
@@ -8,7 +8,7 @@ import {
8
8
  NODE_ENGINE_RANGE,
9
9
  VERSION,
10
10
  isNodeVersionSupported
11
- } from "./chunk-DWWD7E2S.js";
11
+ } from "./chunk-SFXPDBND.js";
12
12
  import {
13
13
  capitalize
14
14
  } from "./chunk-7LP6VJRP.js";
@@ -1227,7 +1227,7 @@ async function runDoctorFix(result) {
1227
1227
  writeLine2("\u2500".repeat(40));
1228
1228
  let fixCount = 0;
1229
1229
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1230
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-YFIVZI6E.js");
1230
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-WBWCXPUE.js");
1231
1231
  const outcome = describeDataDirFix2(initDataDirectories2());
1232
1232
  writeLine2(outcome.line);
1233
1233
  if (outcome.counted) fixCount++;
@@ -1329,4 +1329,4 @@ export {
1329
1329
  startStdioServer,
1330
1330
  closeServer
1331
1331
  };
1332
- //# sourceMappingURL=chunk-LMODIZE4.js.map
1332
+ //# sourceMappingURL=chunk-P4P3HT6B.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.46.13" : "dev";
3
+ var VERSION = true ? "8.46.14" : "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-DWWD7E2S.js.map
14
+ //# sourceMappingURL=chunk-SFXPDBND.js.map
package/dist/cli.js CHANGED
@@ -157,7 +157,7 @@ import {
157
157
  validateNexusEnv,
158
158
  validateWorkflow,
159
159
  wrapInMarkdownFence
160
- } from "./chunk-JHN32PTL.js";
160
+ } from "./chunk-ABSESTZF.js";
161
161
  import "./chunk-YO6PT4CN.js";
162
162
  import "./chunk-DGWT7DXX.js";
163
163
  import "./chunk-M7DUOIAK.js";
@@ -177,7 +177,7 @@ import {
177
177
  doctorCommand,
178
178
  initDataDirectories,
179
179
  runDoctor
180
- } from "./chunk-LMODIZE4.js";
180
+ } from "./chunk-P4P3HT6B.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-NBAUSAGE.js";
199
+ } from "./chunk-MJG5EZO7.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-LVU7XCFO.js";
239
+ } from "./chunk-GQMIBFMY.js";
240
240
  import {
241
241
  createDefaultPolicyFirewall,
242
242
  setGlobalPolicyFirewall,
243
243
  setSecureHandlerAuditLogger,
244
244
  stagePolicyFirewallForRollout
245
- } from "./chunk-YS5V5OIK.js";
245
+ } from "./chunk-CTR7MEJA.js";
246
246
  import {
247
247
  NODE_ENGINE_RANGE,
248
248
  VERSION,
249
249
  isNodeVersionSupported
250
- } from "./chunk-DWWD7E2S.js";
250
+ } from "./chunk-SFXPDBND.js";
251
251
  import "./chunk-3AWXED62.js";
252
252
  import {
253
253
  createUnifiedRegistry,
@@ -19948,7 +19948,7 @@ function startImprovementReviewScheduler(options) {
19948
19948
  let running = false;
19949
19949
  const runOnce = async () => {
19950
19950
  try {
19951
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-PK4HWORW.js");
19951
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-I5XBJ32A.js");
19952
19952
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19953
19953
  const result = await runImprovementReview2(input, { logger: logger22 });
19954
19954
  logger22.info("Scheduled improvement_review complete", {
@@ -11,11 +11,11 @@ import {
11
11
  resetCorrelationTracker,
12
12
  runConsensusForGoal,
13
13
  unwrapVoteOrThrow
14
- } from "./chunk-NBAUSAGE.js";
14
+ } from "./chunk-MJG5EZO7.js";
15
15
  import "./chunk-K46JS3AR.js";
16
16
  import "./chunk-OQB3XC5O.js";
17
- import "./chunk-YS5V5OIK.js";
18
- import "./chunk-DWWD7E2S.js";
17
+ import "./chunk-CTR7MEJA.js";
18
+ import "./chunk-SFXPDBND.js";
19
19
  import "./chunk-3AWXED62.js";
20
20
  import "./chunk-2SEIMNKE.js";
21
21
  import "./chunk-YGJRO5JK.js";
@@ -50,4 +50,4 @@ export {
50
50
  runConsensusForGoal,
51
51
  unwrapVoteOrThrow
52
52
  };
53
- //# sourceMappingURL=consensus-vote-R3FV4QFQ.js.map
53
+ //# sourceMappingURL=consensus-vote-NP7MH4NN.js.map
@@ -11,9 +11,9 @@ import {
11
11
  loadSelfEvalSignals,
12
12
  registerImprovementReviewTool,
13
13
  runImprovementReview
14
- } from "./chunk-LVU7XCFO.js";
15
- import "./chunk-YS5V5OIK.js";
16
- import "./chunk-DWWD7E2S.js";
14
+ } from "./chunk-GQMIBFMY.js";
15
+ import "./chunk-CTR7MEJA.js";
16
+ import "./chunk-SFXPDBND.js";
17
17
  import "./chunk-3AWXED62.js";
18
18
  import "./chunk-KHCFW5LJ.js";
19
19
  import "./chunk-MTYJPPIG.js";
@@ -33,4 +33,4 @@ export {
33
33
  registerImprovementReviewTool,
34
34
  runImprovementReview
35
35
  };
36
- //# sourceMappingURL=improvement-review-PK4HWORW.js.map
36
+ //# sourceMappingURL=improvement-review-I5XBJ32A.js.map
package/dist/index.d.ts CHANGED
@@ -21007,6 +21007,31 @@ interface ConfidenceInterval {
21007
21007
  readonly n: number;
21008
21008
  /** Standard error */
21009
21009
  readonly standardError: number;
21010
+ /**
21011
+ * Whether the interval was computed from data (#5760 item 3).
21012
+ *
21013
+ * `false` means the sample was empty and `lower`/`upper`/`estimate` carry no
21014
+ * information — they are whatever the empty branch happened to return, not a
21015
+ * result. Read this before reading the bounds.
21016
+ *
21017
+ * The bounds alone cannot say it. `meanConfidenceInterval([])` returned
21018
+ * `lower === upper === 0` — the strongest possible precision claim, over no
21019
+ * data. `proportionConfidenceInterval(0, 0)` returned `[0, 1]`, which is
21020
+ * honest by luck rather than by construction: a proportion's domain happens
21021
+ * to be bounded, so its uninformative interval is expressible, and a mean's
21022
+ * is not. `calculateDifferenceCI` divided by `(total1 || 1)` and produced a
21023
+ * finite interval from nothing at all.
21024
+ *
21025
+ * Named for the vocabulary this repo already uses for exactly this —
21026
+ * `tokensMeasured`, `policyEvaluated`, `gapsMeasured`, `routerTypeMeasured`.
21027
+ * REQUIRED rather than optional so the compiler names every producer;
21028
+ * optional would let a new one stay silent, which is the state this removes.
21029
+ *
21030
+ * Ratified 5 of 6 approvers at supermajority (#5760). Infinity and NaN
21031
+ * bounds were both rejected for the same reason: each serialises to `null`
21032
+ * in JSON, turning a loud in-process signal into a silent persisted one.
21033
+ */
21034
+ readonly measured: boolean;
21010
21035
  }
21011
21036
  /**
21012
21037
  * Result of a two-sample comparison test.
package/dist/index.js CHANGED
@@ -552,7 +552,7 @@ import {
552
552
  withLogging,
553
553
  withRetry,
554
554
  withRetryWrapper
555
- } from "./chunk-JHN32PTL.js";
555
+ } from "./chunk-ABSESTZF.js";
556
556
  import {
557
557
  FALLBACK_SCANNER_DATA,
558
558
  buildPlanFromAnalysis,
@@ -585,7 +585,7 @@ import {
585
585
  connectTransport,
586
586
  createServer,
587
587
  startStdioServer
588
- } from "./chunk-LMODIZE4.js";
588
+ } from "./chunk-P4P3HT6B.js";
589
589
  import {
590
590
  OPENAI_MODELS,
591
591
  OPENAI_MODEL_ALIASES,
@@ -643,7 +643,7 @@ import {
643
643
  generateProposalId,
644
644
  parseAgentPairKey,
645
645
  registerConsensusVoteTool
646
- } from "./chunk-NBAUSAGE.js";
646
+ } from "./chunk-MJG5EZO7.js";
647
647
  import "./chunk-K46JS3AR.js";
648
648
  import {
649
649
  allOf
@@ -701,7 +701,7 @@ import {
701
701
  import {
702
702
  ImprovementReviewInputSchema,
703
703
  registerImprovementReviewTool
704
- } from "./chunk-LVU7XCFO.js";
704
+ } from "./chunk-GQMIBFMY.js";
705
705
  import {
706
706
  AgentPerformanceSchema,
707
707
  ConsensusAlgorithmSchema,
@@ -737,10 +737,10 @@ import {
737
737
  toolSuccess,
738
738
  toolSuccessStructured,
739
739
  validateToolInput
740
- } from "./chunk-YS5V5OIK.js";
740
+ } from "./chunk-CTR7MEJA.js";
741
741
  import {
742
742
  VERSION
743
- } from "./chunk-DWWD7E2S.js";
743
+ } from "./chunk-SFXPDBND.js";
744
744
  import {
745
745
  AuditTrail,
746
746
  createAuditTrail,
@@ -2,11 +2,11 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-LMODIZE4.js";
5
+ } from "./chunk-P4P3HT6B.js";
6
6
  import "./chunk-KGRJIYNF.js";
7
7
  import "./chunk-K46JS3AR.js";
8
8
  import "./chunk-OQB3XC5O.js";
9
- import "./chunk-DWWD7E2S.js";
9
+ import "./chunk-SFXPDBND.js";
10
10
  import "./chunk-7LP6VJRP.js";
11
11
  import "./chunk-2MNXFMLO.js";
12
12
  import "./chunk-MZ4X6UDA.js";
@@ -26,4 +26,4 @@ export {
26
26
  describeDataDirFix,
27
27
  initDataDirectories
28
28
  };
29
- //# sourceMappingURL=setup-data-dir-YFIVZI6E.js.map
29
+ //# sourceMappingURL=setup-data-dir-WBWCXPUE.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "8.46.13",
3
+ "version": "8.46.14",
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",