@ai-ecoverse/slicc-kernel 1.123.1 → 1.123.2

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.
@@ -5433,7 +5433,7 @@ var KERNEL_VERSION, OS_RELEASE;
5433
5433
  var init_version = __esm({
5434
5434
  "src/version.ts"() {
5435
5435
  "use strict";
5436
- KERNEL_VERSION = true ? "1.123.1" : "0.0.0-dev";
5436
+ KERNEL_VERSION = true ? "1.123.2" : "0.0.0-dev";
5437
5437
  OS_RELEASE = "6.0.0-slicc";
5438
5438
  }
5439
5439
  });
package/dist/node.js CHANGED
@@ -5491,6 +5491,7 @@ var OpfsFs = class {
5491
5491
  }));
5492
5492
  }
5493
5493
  async reconcile() {
5494
+ if (this.remote && await this.remote.peered()) return 0;
5494
5495
  let removed = 0;
5495
5496
  const entries = await this.meta.all();
5496
5497
  const carried = new Set(entries.filter((e) => !e.vacated).map((e) => e.ino));
@@ -5499,7 +5500,11 @@ var OpfsFs = class {
5499
5500
  const real = await this.real(entry.path);
5500
5501
  const stale = entry.link === void 0 ? !real : real || !await this.real(parentOf4(entry.path));
5501
5502
  if (!stale) continue;
5502
- await this.meta.update(entry.path, () => void 0);
5503
+ const seen = JSON.stringify(entry);
5504
+ await this.meta.update(
5505
+ entry.path,
5506
+ (now) => now === void 0 || JSON.stringify(now) === seen ? void 0 : now
5507
+ );
5503
5508
  removed++;
5504
5509
  }
5505
5510
  return removed;
@@ -6797,7 +6802,7 @@ function satisfies(version, range2) {
6797
6802
  }
6798
6803
 
6799
6804
  // src/version.ts
6800
- var KERNEL_VERSION = true ? "1.123.1" : "0.0.0-dev";
6805
+ var KERNEL_VERSION = true ? "1.123.2" : "0.0.0-dev";
6801
6806
  var OS_RELEASE = "6.0.0-slicc";
6802
6807
  function procVersion() {
6803
6808
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC