@ai-ecoverse/slicc-kernel 1.108.3 → 1.108.5
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.
- package/README.md +3 -3
- package/dist/kernel-worker.js +22 -9
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +84 -27
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +22 -9
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +84 -27
- package/dist/process-worker.js.map +3 -3
- package/dist/types/kernel/process.d.ts +3 -0
- package/dist/types/process/wasi/wasi-fds.d.ts +1 -0
- package/dist/types/process/wasi/wasi-files.d.ts +2 -0
- package/dist/types/process/wasi/wasi-host.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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
|
+
"version": "1.108.5",
|
|
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",
|