@ai-ecoverse/slicc-kernel 1.163.1 → 1.164.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.163.1" : "0.0.0-dev";
3061
+ KERNEL_VERSION = true ? "1.164.1" : "0.0.0-dev";
3062
3062
  OS_RELEASE = "6.0.0-slicc";
3063
3063
  }
3064
3064
  });
@@ -18921,10 +18921,12 @@ function measured(measure) {
18921
18921
  }
18922
18922
  function realmOps(o) {
18923
18923
  const hook = o.stackFormatter;
18924
+ const source = o.errorSource;
18924
18925
  return {
18925
18926
  runScript: scriptRunner(o.runScript),
18926
18927
  promiseState: (promise) => o.promiseState?.(promise),
18927
- ...hook ? { setStackFormatter: (fn) => hook(fn) } : {}
18928
+ ...hook ? { setStackFormatter: (fn) => hook(fn) } : {},
18929
+ ...source ? { errorSource: (error) => source(error) } : {}
18928
18930
  };
18929
18931
  }
18930
18932
  function scriptRunner(run) {
@@ -19520,6 +19522,7 @@ async function runJs(init, port2, deps, thread) {
19520
19522
  modulePath: modulePathOf(init.program),
19521
19523
  promiseState: deps.promiseState,
19522
19524
  stackFormatter: deps.stackFormatter,
19525
+ errorSource: deps.errorSource,
19523
19526
  ...thread?.owned ? { owned: thread.owned } : {},
19524
19527
  held: init.held,
19525
19528
  failed: () => failedWith