@ai-ecoverse/slicc-kernel 1.162.1 → 1.163.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.
@@ -3058,7 +3058,7 @@ var init_version = __esm({
3058
3058
  "src/version.ts"() {
3059
3059
  "use strict";
3060
3060
  init_captured_globals();
3061
- KERNEL_VERSION = true ? "1.162.1" : "0.0.0-dev";
3061
+ KERNEL_VERSION = true ? "1.163.1" : "0.0.0-dev";
3062
3062
  OS_RELEASE = "6.0.0-slicc";
3063
3063
  }
3064
3064
  });
@@ -18920,9 +18920,11 @@ function measured(measure) {
18920
18920
  return out;
18921
18921
  }
18922
18922
  function realmOps(o) {
18923
+ const hook = o.stackFormatter;
18923
18924
  return {
18924
18925
  runScript: scriptRunner(o.runScript),
18925
- promiseState: (promise) => o.promiseState?.(promise)
18926
+ promiseState: (promise) => o.promiseState?.(promise),
18927
+ ...hook ? { setStackFormatter: (fn) => hook(fn) } : {}
18926
18928
  };
18927
18929
  }
18928
18930
  function scriptRunner(run) {
@@ -19517,6 +19519,7 @@ async function runJs(init, port2, deps, thread) {
19517
19519
  runScript: deps.runScript,
19518
19520
  modulePath: modulePathOf(init.program),
19519
19521
  promiseState: deps.promiseState,
19522
+ stackFormatter: deps.stackFormatter,
19520
19523
  ...thread?.owned ? { owned: thread.owned } : {},
19521
19524
  held: init.held,
19522
19525
  failed: () => failedWith