@ai-ecoverse/slicc-kernel 1.141.1 → 1.141.3

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.
@@ -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;
@@ -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 { ProcessInfo } from './kernel/proc-info.js';
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
  }
@@ -59,6 +59,7 @@ export interface SyncFsBridgeStat {
59
59
  atimeMs?: number;
60
60
  ctimeMs?: number;
61
61
  ino?: number;
62
+ escape?: string;
62
63
  nlink?: number;
63
64
  dev?: number;
64
65
  readonly?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.141.1",
3
+ "version": "1.141.3",
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",
@@ -48,7 +48,7 @@
48
48
  "dist"
49
49
  ],
50
50
  "scripts": {
51
- "prepare": "node build.mjs && { [ ! -e .git ] || lefthook install; }",
51
+ "prepare": "node build.mjs && slicc-install-hooks",
52
52
  "build": "node build.mjs",
53
53
  "prepack": "npm run build",
54
54
  "trust": "npx fledgling sync -y --skip-publish",
@@ -66,13 +66,13 @@
66
66
  "@ai-ecoverse/py-numpy": "2.5.4-3",
67
67
  "@ai-ecoverse/slicc-node": "2.5.2",
68
68
  "@ai-ecoverse/slicc-scrub": "1.0.0",
69
- "@ai-ecoverse/slicc-shared-web": "1.29.2",
69
+ "@ai-ecoverse/slicc-shared-web": "1.29.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-6",
73
+ "@ai-ecoverse/wasi-rustc": "1.98.1-8",
74
74
  "@ai-ecoverse/wasi-zig": "0.16.0-19",
75
- "@ai-ecoverse/wasix-python": "3.15.0-3",
75
+ "@ai-ecoverse/wasix-python": "3.15.0-4",
76
76
  "@ai-ecoverse/wasm-bash": "5.3.0-22",
77
77
  "@ai-ecoverse/wasm-coreutils": "9.12.0-12",
78
78
  "@ai-ecoverse/wasm-curl": "8.22.0-8",
@@ -82,8 +82,8 @@
82
82
  "@ai-ecoverse/wasm-sqlite3": "3.54.0-6",
83
83
  "@ai-ecoverse/wasm-tar": "1.35.0-8",
84
84
  "@ai-ecoverse/wasm-tls-engine": "4.2.0-6",
85
- "@ai-ecoverse/wasm-tree": "2.3.2-5",
86
- "@ai-ecoverse/wasm-util-linux": "2.42.4-4",
85
+ "@ai-ecoverse/wasm-tree": "2.3.2-6",
86
+ "@ai-ecoverse/wasm-util-linux": "2.42.4-5",
87
87
  "@biomejs/biome": "2.5.15",
88
88
  "@types/node": "24.19.2",
89
89
  "esbuild": "0.28.2",