@ai-ecoverse/slicc-kernel 1.124.8 → 1.124.9
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 +13 -0
- package/dist/kernel-worker.js +2 -1
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +44 -9
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +2 -1
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +44 -9
- package/dist/process-worker.js.map +3 -3
- package/dist/types/kernel/host.d.ts +3 -2
- package/dist/types/process/wasi/wasi-fds.d.ts +1 -0
- package/dist/types/process/wasi/wasi-procfs.d.ts +1 -0
- package/package.json +2 -2
|
@@ -14,8 +14,8 @@ import type { KernelLocks } from './lock-service.js';
|
|
|
14
14
|
import type { HttpHandles } from './net/http-syscalls.js';
|
|
15
15
|
import type { Resolver } from './net/resolver.js';
|
|
16
16
|
import type { MountLine, ProcessListing } from './proc-info.js';
|
|
17
|
-
import { type StateListener, type WasmProcessOptions, type WasmSyscall } from './process.js';
|
|
18
|
-
import { type ForkState, type InheritedFd, type Program } from './protocol.js';
|
|
17
|
+
import { type StateListener, WasmProcess, type WasmProcessOptions, type WasmSyscall } from './process.js';
|
|
18
|
+
import { type ForkState, type InheritedFd, type Program, type WasmThread, type WasmThreadInitMsg } from './protocol.js';
|
|
19
19
|
import type { PtyTable } from './pty.js';
|
|
20
20
|
import type { SealedBroker } from './sealed.js';
|
|
21
21
|
import type { SemTable } from './sem.js';
|
|
@@ -121,4 +121,5 @@ export interface WasmProcessHandle {
|
|
|
121
121
|
export declare const KILL_GRACE_MS = 2000;
|
|
122
122
|
export declare const KILL_HARD_MS = 5000;
|
|
123
123
|
export declare function inheritedFds(fds: FdTable): InheritedFd[];
|
|
124
|
+
export declare function threadInit(opts: SpawnWasmOptions, program: WasmThreadInitMsg['program'], sab: SharedArrayBuffer, cred: WasmProcess['cred'], thread: WasmThread, main: SharedArrayBuffer): WasmThreadInitMsg;
|
|
124
125
|
export declare function spawnWasmProcess(opts: SpawnWasmOptions): WasmProcessHandle;
|
|
@@ -32,5 +32,6 @@ export declare function procAlias(fs: {
|
|
|
32
32
|
readlink?(path: string): Promise<string>;
|
|
33
33
|
lstat?(path: string): Promise<unknown>;
|
|
34
34
|
}, path: string, follow: boolean): Promise<string | undefined | ProcRefusal>;
|
|
35
|
+
export declare function physicalProc(fs: Pick<SyncFsPosixBridge, 'stat' | 'changes'>): () => boolean;
|
|
35
36
|
export declare function procfsBridge<T extends SyncFsPosixBridge>(fs: T, tree: ProcTree): T;
|
|
36
37
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.124.
|
|
3
|
+
"version": "1.124.9",
|
|
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",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-5",
|
|
74
74
|
"@ai-ecoverse/wasi-zig": "0.16.0-16",
|
|
75
|
-
"@ai-ecoverse/wasix-python": "3.14.2-
|
|
75
|
+
"@ai-ecoverse/wasix-python": "3.14.2-28",
|
|
76
76
|
"@ai-ecoverse/wasm-bash": "5.3.0-19",
|
|
77
77
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-9",
|
|
78
78
|
"@ai-ecoverse/wasm-curl": "8.22.0-6",
|