nexus-agents 8.65.0 → 8.66.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.
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-TI7BSNRD.js";
10
+ } from "./chunk-TQQHTM6K.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2282,4 +2282,4 @@ export {
2282
2282
  runImprovementReview,
2283
2283
  registerImprovementReviewTool
2284
2284
  };
2285
- //# sourceMappingURL=chunk-AKN5WIPZ.js.map
2285
+ //# sourceMappingURL=chunk-FNMLO4LH.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.65.0" : "dev";
3
+ var VERSION = true ? "8.66.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-53DYZCM2.js.map
14
+ //# sourceMappingURL=chunk-OROLFFSR.js.map
@@ -11,7 +11,7 @@ import {
11
11
  NODE_ENGINE_RANGE,
12
12
  VERSION,
13
13
  isNodeVersionSupported
14
- } from "./chunk-53DYZCM2.js";
14
+ } from "./chunk-OROLFFSR.js";
15
15
  import {
16
16
  claimGlobalRegistry
17
17
  } from "./chunk-LULJQZFO.js";
@@ -1314,7 +1314,7 @@ async function runDoctorFix(result) {
1314
1314
  writeLine2("\u2500".repeat(40));
1315
1315
  let fixCount = 0;
1316
1316
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1317
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-6EMMTING.js");
1317
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-Y26EMNIU.js");
1318
1318
  const outcome = describeDataDirFix2(initDataDirectories2());
1319
1319
  writeLine2(outcome.line);
1320
1320
  if (outcome.counted) fixCount++;
@@ -1416,4 +1416,4 @@ export {
1416
1416
  startStdioServer,
1417
1417
  closeServer
1418
1418
  };
1419
- //# sourceMappingURL=chunk-ZC4A6XPX.js.map
1419
+ //# sourceMappingURL=chunk-QLS2BA3T.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-53DYZCM2.js";
3
+ } from "./chunk-OROLFFSR.js";
4
4
  import {
5
5
  CACHE_TIMEOUTS,
6
6
  MCP_TIMEOUTS,
@@ -2186,4 +2186,4 @@ export {
2186
2186
  DEFAULT_CONSENSUS_CONFIG,
2187
2187
  ConsensusMetricsSchema
2188
2188
  };
2189
- //# sourceMappingURL=chunk-TI7BSNRD.js.map
2189
+ //# sourceMappingURL=chunk-TQQHTM6K.js.map
@@ -25,10 +25,10 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-TI7BSNRD.js";
28
+ } from "./chunk-TQQHTM6K.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-53DYZCM2.js";
31
+ } from "./chunk-OROLFFSR.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
@@ -619,6 +619,14 @@ var VoteRecordErrorPolicySchema = z2.enum([
619
619
  "fail_closed",
620
620
  "absolute_quorum"
621
621
  ]);
622
+ var VOTE_RECORD_SIGNATURE_NAMESPACE = "nexus-vote-record";
623
+ var VoteRecordSignatureSchema = z2.object({
624
+ /** The allowed_signers principal, e.g. `williamzujkowski@nexus-agents`. */
625
+ keyId: z2.string().min(1).max(200),
626
+ namespace: z2.literal(VOTE_RECORD_SIGNATURE_NAMESPACE),
627
+ /** The armored SSH signature block, verbatim. */
628
+ sig: z2.string().min(1).max(8192)
629
+ }).strict();
622
630
  var VoteRecordSchema = z2.object({
623
631
  /**
624
632
  * Schema version. '1.1' marked the chain→record-set+sequence model (#3927);
@@ -780,7 +788,27 @@ var VoteRecordSchema = z2.object({
780
788
  * the record-set model is position-independent (#3927).
781
789
  */
782
790
  previousHash: z2.string().length(64).optional(),
783
- /** SHA-256 over every field above EXCEPT `previousHash` (and except `hash`). */
791
+ /**
792
+ * Detached SSH signature over the committed `hash` (#3927 item 4, phase
793
+ * 1). The SECOND field outside the self-hash, on `previousHash`'s rule
794
+ * but for the opposite reason: `previousHash` is excluded because it is
795
+ * positional, this because it is made OVER the hash and cannot be inside
796
+ * it. Present-only; absent on every record appended before phase 2 and
797
+ * on any appended without a configured signing key.
798
+ *
799
+ * NOT a schema tier. `version` is hash-covered, and the signature is
800
+ * applied after the committed hash is final (the append script
801
+ * re-sequences, re-hashes, then signs), so a signed 1.11 record is still a
802
+ * 1.11 record and hashes identically with or without this field. A record
803
+ * that lacks it is `unsigned-record` to the verifier
804
+ * (`vote-record-signature.ts`), and the gate reports that informationally
805
+ * until the phase-3 cutover constant makes it a refusal.
806
+ */
807
+ signature: VoteRecordSignatureSchema.optional(),
808
+ /**
809
+ * SHA-256 over every field above EXCEPT `previousHash` and `signature`
810
+ * (and except `hash`).
811
+ */
784
812
  hash: z2.string().length(64)
785
813
  }).strict().superRefine((record, ctx) => {
786
814
  const digestTier = isReasoningDigestTier(record.version);
@@ -9056,4 +9084,4 @@ export {
9056
9084
  CONSENSUS_VOTE_TOOL_SCHEMA,
9057
9085
  registerConsensusVoteTool
9058
9086
  };
9059
- //# sourceMappingURL=chunk-APTCSRVT.js.map
9087
+ //# sourceMappingURL=chunk-UTRXT3GI.js.map