@ai-ecoverse/slicc-kernel 1.141.1 → 1.141.2
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 -8
- package/dist/kernel-worker.js +41 -10
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +96 -54
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +41 -10
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +96 -54
- package/dist/process-worker.js.map +3 -3
- package/dist/types/kernel/proc-info.d.ts +2 -0
- package/dist/types/launcher.d.ts +2 -1
- package/dist/types/process/wasi/wasi-procfs.d.ts +9 -0
- package/dist/types/realm/sync-fs-wire.d.ts +1 -0
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ export interface ProcessInfo {
|
|
|
7
7
|
sid: number;
|
|
8
8
|
argv: string[];
|
|
9
9
|
exe?: string;
|
|
10
|
+
exeId?: string;
|
|
10
11
|
tty: string | null;
|
|
11
12
|
started: number;
|
|
12
13
|
state: 'S' | 'T' | 'Z';
|
|
@@ -54,3 +55,4 @@ export interface ProcessListing {
|
|
|
54
55
|
cwdChecks?: number;
|
|
55
56
|
}
|
|
56
57
|
export declare function mayTrace(viewer: ProcessInfo | undefined, target: ProcessInfo): boolean;
|
|
58
|
+
export declare function fileIdentity(ino: number | undefined, mtimeMs: number | undefined): string | undefined;
|
package/dist/types/launcher.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { Resolver } from './kernel/net/resolver.js';
|
|
|
21
21
|
import { Routes, type RouteTable } from './kernel/net/routes.js';
|
|
22
22
|
import type { RealmTransport } from './kernel/net/transport.js';
|
|
23
23
|
import type { NetworkUplink } from './kernel/net/uplink.js';
|
|
24
|
-
import type
|
|
24
|
+
import { type ProcessInfo } from './kernel/proc-info.js';
|
|
25
25
|
import { type SealedCaller, type SealedHook } from './kernel/sealed.js';
|
|
26
26
|
import { type SigInfo } from './kernel/signals.js';
|
|
27
27
|
import { LoopbackNet } from './kernel/socket.js';
|
|
@@ -308,6 +308,7 @@ export declare class Launcher {
|
|
|
308
308
|
private heldUrl;
|
|
309
309
|
private releaseUrl;
|
|
310
310
|
private names;
|
|
311
|
+
private exeId;
|
|
311
312
|
private program;
|
|
312
313
|
private launch;
|
|
313
314
|
groupSession(pgid: number): number | undefined;
|
|
@@ -14,6 +14,7 @@ export declare class ProcTree {
|
|
|
14
14
|
private listing;
|
|
15
15
|
private alive;
|
|
16
16
|
private node;
|
|
17
|
+
private exe;
|
|
17
18
|
private ownInfo;
|
|
18
19
|
private info;
|
|
19
20
|
private task;
|
|
@@ -24,6 +25,14 @@ export declare class ProcTree {
|
|
|
24
25
|
read(path: string): Uint8Array;
|
|
25
26
|
readdir(path: string): string[];
|
|
26
27
|
escape(path: string): string | undefined;
|
|
28
|
+
escapeTo(path: string): {
|
|
29
|
+
target: string;
|
|
30
|
+
id?: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
linkTo(path: string): {
|
|
33
|
+
target: string;
|
|
34
|
+
id: string;
|
|
35
|
+
} | undefined;
|
|
27
36
|
readlink(path: string): string;
|
|
28
37
|
exists(path: string): boolean;
|
|
29
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.141.
|
|
3
|
+
"version": "1.141.2",
|
|
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",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@ai-ecoverse/wasi-cargo": "0.99.0-4",
|
|
71
71
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-19",
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
|
-
"@ai-ecoverse/wasi-rustc": "1.98.1-
|
|
73
|
+
"@ai-ecoverse/wasi-rustc": "1.98.1-7",
|
|
74
74
|
"@ai-ecoverse/wasi-zig": "0.16.0-19",
|
|
75
75
|
"@ai-ecoverse/wasix-python": "3.15.0-3",
|
|
76
76
|
"@ai-ecoverse/wasm-bash": "5.3.0-22",
|