@ai-ecoverse/slicc-kernel 1.128.1 → 1.128.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.
@@ -7020,7 +7020,7 @@ function satisfies(version, range2) {
7020
7020
  }
7021
7021
 
7022
7022
  // src/version.ts
7023
- var KERNEL_VERSION = true ? "1.128.1" : "0.0.0-dev";
7023
+ var KERNEL_VERSION = true ? "1.128.2" : "0.0.0-dev";
7024
7024
  var OS_RELEASE = "6.0.0-slicc";
7025
7025
  function procVersion() {
7026
7026
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -9772,8 +9772,9 @@ var FreshModules = class {
9772
9772
  if (ranged2) {
9773
9773
  overrides.pwrite = async (path, at, bytes, transfer) => {
9774
9774
  const touches2 = at < MAGIC.length && this.fresh.has(normalizePath(path));
9775
+ const first = at === 0 && bytes.length >= MAGIC.length ? bytes.slice(0, MAGIC.length) : void 0;
9775
9776
  await ranged2.pwrite(path, at, bytes, transfer);
9776
- if (touches2) await decide(path);
9777
+ if (touches2) await decide(path, first);
9777
9778
  };
9778
9779
  overrides.truncate = async (path, size) => {
9779
9780
  await ranged2.truncate(path, size);