@ai-ecoverse/slicc-kernel 1.128.0 → 1.128.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.
@@ -2659,7 +2659,7 @@ var KERNEL_VERSION, OS_RELEASE;
2659
2659
  var init_version = __esm({
2660
2660
  "src/version.ts"() {
2661
2661
  "use strict";
2662
- KERNEL_VERSION = true ? "1.128.0" : "0.0.0-dev";
2662
+ KERNEL_VERSION = true ? "1.128.1" : "0.0.0-dev";
2663
2663
  OS_RELEASE = "6.0.0-slicc";
2664
2664
  }
2665
2665
  });
@@ -92,5 +92,6 @@ export declare class IndexedDbMeta implements MetaStore {
92
92
  under(path: string): Promise<MetaEntry[]>;
93
93
  all(): Promise<MetaEntry[]>;
94
94
  }
95
+ export declare function openMetaDb(name: string, factory: IDBFactory): Promise<IDBDatabase>;
95
96
  export declare function openMeta(name: string, factory: IDBFactory): Promise<IndexedDbMeta>;
96
97
  export {};
@@ -0,0 +1,3 @@
1
+ export declare const nameOf: (id: string) => string;
2
+ export declare function rootId(factory: IDBFactory, root: FileSystemDirectoryHandle, locks?: LockManager | undefined): Promise<string>;
3
+ export declare function metadataName(top: FileSystemDirectoryHandle | undefined, root: FileSystemDirectoryHandle, id: (root: FileSystemDirectoryHandle) => Promise<string>): Promise<string>;
@@ -172,6 +172,7 @@ type WithoutId<T> = T extends unknown ? Omit<T, 'id'> : never;
172
172
  export type KernelCall = WithoutId<KernelRequest>;
173
173
  export declare function inOpfs(deps: ServeDeps, root: FileSystemDirectoryHandle): Promise<boolean>;
174
174
  export interface ServeDeps {
175
+ rootId?: (root: FileSystemDirectoryHandle) => Promise<string>;
175
176
  storage: () => Promise<FileSystemDirectoryHandle>;
176
177
  syncAccess?: boolean;
177
178
  createWorker: () => WasmWorkerLike;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.128.0",
3
+ "version": "1.128.1",
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",
@@ -68,9 +68,9 @@
68
68
  "@ai-ecoverse/slicc-scrub": "1.0.0",
69
69
  "@ai-ecoverse/slicc-shared-web": "1.24.2",
70
70
  "@ai-ecoverse/wasi-cargo": "0.99.0-3",
71
- "@ai-ecoverse/wasi-pnpm": "12.9.1-11",
71
+ "@ai-ecoverse/wasi-pnpm": "12.9.1-13",
72
72
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
73
- "@ai-ecoverse/wasi-rustc": "1.98.1-5",
73
+ "@ai-ecoverse/wasi-rustc": "1.98.1-6",
74
74
  "@ai-ecoverse/wasi-zig": "0.16.0-17",
75
75
  "@ai-ecoverse/wasix-python": "3.14.2-28",
76
76
  "@ai-ecoverse/wasm-bash": "5.3.0-20",