@ai-ecoverse/slicc-kernel 1.141.3 → 1.142.1

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.
@@ -2783,7 +2783,7 @@ var KERNEL_VERSION, OS_RELEASE;
2783
2783
  var init_version = __esm({
2784
2784
  "src/version.ts"() {
2785
2785
  "use strict";
2786
- KERNEL_VERSION = true ? "1.141.3" : "0.0.0-dev";
2786
+ KERNEL_VERSION = true ? "1.142.1" : "0.0.0-dev";
2787
2787
  OS_RELEASE = "6.0.0-slicc";
2788
2788
  }
2789
2789
  });
@@ -5929,7 +5929,18 @@ var init_procfs = __esm({
5929
5929
  slicc_opfs_ops: (listing2) => `${listing2.opfsOps ?? 0}
5930
5930
  `,
5931
5931
  slicc_cwd_checks: (listing2) => `${listing2.cwdChecks ?? 0}
5932
- `
5932
+ `,
5933
+ slicc_rename_ack_busy: (listing2) => `${listing2.renameAcks?.busy ?? 0}
5934
+ `,
5935
+ slicc_rename_acks: (listing2) => {
5936
+ const samples = [...listing2.renameAcks?.ackMs ?? []].sort((a, b) => a - b);
5937
+ const median = samples[Math.floor(samples.length / 2)] ?? 0;
5938
+ const most = samples.at(-1) ?? 0;
5939
+ const waits = listing2.renameAcks?.waits ?? 0;
5940
+ const queries = listing2.renameAcks?.queries ?? 0;
5941
+ return `${listing2.renameAcks?.acks ?? 0} ${median.toFixed(1)} ${most.toFixed(1)} ${waits} ${queries}
5942
+ `;
5943
+ }
5933
5944
  }
5934
5945
  };
5935
5946
  sigMask = (mask = 0) => (mask >>> 1).toString(16).padStart(16, "0");
@@ -18532,6 +18543,7 @@ async function runJs(init, port2, deps, thread) {
18532
18543
  (deps.lockdown ?? lockdown)();
18533
18544
  const { url, glue } = init.program;
18534
18545
  main = mainOf(await (url ? import(url) : (deps.load ?? importSource)(glue)));
18546
+ deps.imported?.();
18535
18547
  } catch (err) {
18536
18548
  await say(message(err));
18537
18549
  return NOT_RUNNABLE;