@ai-ecoverse/slicc-kernel 1.160.2 → 1.160.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.
@@ -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.160.2" : "0.0.0-dev";
3061
+ KERNEL_VERSION = true ? "1.160.3" : "0.0.0-dev";
3062
3062
  OS_RELEASE = "6.0.0-slicc";
3063
3063
  }
3064
3064
  });
@@ -65,7 +65,7 @@ export interface NodeKernelOptions {
65
65
  cron?: {
66
66
  clock?: CronClock;
67
67
  };
68
- compileCache?: string;
68
+ compileCache?: string | false;
69
69
  warmWorker?: boolean;
70
70
  warmWorkers?: number;
71
71
  wasmMemories?: {
@@ -113,4 +113,12 @@ export declare function sourceModule(source: string): {
113
113
  source: string;
114
114
  revoke(): void;
115
115
  };
116
+ declare function ownCacheDir(make?: () => string): {
117
+ dir: string;
118
+ own: boolean;
119
+ } | undefined;
120
+ export { ownCacheDir };
121
+ export declare function privateCacheDir(base?: string, alive?: typeof pidAlive): string;
122
+ export declare function sweepCacheDirs(base: string, alive?: (pid: number) => boolean, uid?: number | undefined): void;
123
+ declare function pidAlive(pid: number): boolean;
116
124
  export declare function createNodeKernel(options?: NodeKernelOptions): Promise<NodeKernel>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.160.2",
3
+ "version": "1.160.3",
4
4
  "description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@ai-ecoverse/py-numpy": "2.5.4-4",
67
- "@ai-ecoverse/slicc-cdp": "1.41.5",
67
+ "@ai-ecoverse/slicc-cdp": "1.41.6",
68
68
  "@ai-ecoverse/slicc-node": "2.5.2",
69
69
  "@ai-ecoverse/slicc-scrub": "1.1.0",
70
70
  "@ai-ecoverse/slicc-shared-web": "2.12.1",