@ai-ecoverse/slicc-kernel 1.108.3 → 1.108.4

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.
@@ -263,6 +263,7 @@ export type WasmSyscall = {
263
263
  sig: number;
264
264
  target?: number;
265
265
  probe?: boolean;
266
+ dry?: boolean;
266
267
  } | {
267
268
  op: 'proc-fork';
268
269
  state: ForkState;
@@ -436,6 +437,8 @@ export declare class WasmProcess {
436
437
  private spawn;
437
438
  private onDeath;
438
439
  private sendDeath;
440
+ private selfKill;
441
+ private spares;
439
442
  private killSelf;
440
443
  private run;
441
444
  private adoptExec;
@@ -50,6 +50,7 @@ export declare class WasiFds {
50
50
  get isShared(): boolean;
51
51
  share(ids: Int32Array, fresh: boolean): void;
52
52
  private sync;
53
+ private replay;
53
54
  private bump;
54
55
  private stdioEntry;
55
56
  private fetch;
@@ -92,6 +92,8 @@ export declare function pathInode(path: string): bigint;
92
92
  export declare const MISS_TTL_MS = 20;
93
93
  export declare const FS_GEN = 4;
94
94
  export declare const CRED_GEN = 5;
95
+ export declare const FD_RING: number;
96
+ export declare const FD_RING_SIZE = 64;
95
97
  export declare const SHARED_IDS_BYTES: number;
96
98
  export declare function cachingBridge(bridge: SyncFsPosixBridge, now?: () => number, shared?: Int32Array): SyncFsPosixBridge & {
97
99
  invalidate(): void;
@@ -52,6 +52,7 @@ export declare class WasiHost {
52
52
  muted: ((fd: number, data: Uint8Array) => boolean) | undefined;
53
53
  signals: WasiSignals | undefined;
54
54
  sigmask: WasiSigmask | undefined;
55
+ tid: number;
55
56
  linkedTls: (() => Array<[number, number]>) | undefined;
56
57
  threadEntry: ThreadEntry | undefined;
57
58
  linkedModules: (() => Record<string, WebAssembly.Module>) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.108.3",
3
+ "version": "1.108.4",
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",