@ai-ecoverse/slicc-kernel 1.147.1 → 1.147.3

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.
@@ -7785,7 +7785,7 @@ function satisfies(version, range2) {
7785
7785
  }
7786
7786
 
7787
7787
  // src/version.ts
7788
- var KERNEL_VERSION = true ? "1.147.1" : "0.0.0-dev";
7788
+ var KERNEL_VERSION = true ? "1.147.3" : "0.0.0-dev";
7789
7789
  var OS_RELEASE = "6.0.0-slicc";
7790
7790
  function procVersion() {
7791
7791
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -10849,6 +10849,7 @@ var FsWatchers = class {
10849
10849
  };
10850
10850
  return {
10851
10851
  close,
10852
+ root: () => watch.roots[0],
10852
10853
  next: async (signal) => {
10853
10854
  while (watch.notes.length === 0 && !watch.ended && !signal.aborted) {
10854
10855
  await new Promise((resolve2) => {
@@ -23097,7 +23098,8 @@ function visibleTo2(watch, root, visible) {
23097
23098
  const shown = await Promise.all(
23098
23099
  notes.map(async (note) => {
23099
23100
  if (!("filename" in note) || !note.filename.includes("/")) return true;
23100
- const dir = parentOf9(`${root === "/" ? "" : root}/${note.filename}`);
23101
+ const at = watch.root?.() ?? root;
23102
+ const dir = parentOf9(`${at === "/" ? "" : at}/${note.filename}`);
23101
23103
  if (!seen.has(dir)) seen.set(dir, visible(dir));
23102
23104
  return seen.get(dir);
23103
23105
  })