@neat.is/core 0.4.20-dev.20260620 → 0.4.20-dev.20260621

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.
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readDaemonRecord
4
- } from "./chunk-ZV7GHZ2D.js";
4
+ } from "./chunk-IWGDXLXA.js";
5
5
  import {
6
6
  buildSearchIndex
7
7
  } from "./chunk-XOOCA5T7.js";
@@ -10,6 +10,7 @@ import {
10
10
  PolicyViolationsLog,
11
11
  ProjectNameCollisionError,
12
12
  Projects,
13
+ SCHEMA_VERSION,
13
14
  addCallEdges,
14
15
  addConfigNodes,
15
16
  addDatabasesAndCompat,
@@ -52,7 +53,7 @@ import {
52
53
  signalDaemonStop,
53
54
  startPersistLoop,
54
55
  startStalenessLoop
55
- } from "./chunk-Q5EDVWKZ.js";
56
+ } from "./chunk-RVOCG6UZ.js";
56
57
  import {
57
58
  startOtelGrpcReceiver
58
59
  } from "./chunk-MTXF77TN.js";
@@ -3840,7 +3841,10 @@ async function checkDaemonHealth(baseUrl) {
3840
3841
  }
3841
3842
  function snapshotForGraph(persisted) {
3842
3843
  return {
3843
- schemaVersion: 3,
3844
+ // Stamp the live schema version the daemon validates against on the
3845
+ // receiving `/snapshot` merge. Tracking the constant keeps the push
3846
+ // aligned with the current snapshot shape across schema migrations.
3847
+ schemaVersion: SCHEMA_VERSION,
3844
3848
  exportedAt: (/* @__PURE__ */ new Date()).toISOString(),
3845
3849
  graph: persisted.graph.export()
3846
3850
  };