@ai-ecoverse/slicc-kernel 1.146.2 → 1.146.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.
- package/dist/kernel-worker.js +78 -39
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +19 -5
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +78 -39
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +19 -5
- package/dist/process-worker.js.map +2 -2
- package/dist/types/fs/unlinked.d.ts +15 -4
- package/dist/types/launcher.d.ts +1 -0
- package/dist/types/process/wasi/wasi-fds.d.ts +3 -0
- package/package.json +3 -3
|
@@ -5,6 +5,18 @@ export interface Replacements {
|
|
|
5
5
|
missed(path: string): boolean;
|
|
6
6
|
generation(): number;
|
|
7
7
|
changedSince(path: string, gen: number): boolean;
|
|
8
|
+
inFlight?(path: string): boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class PathMarks {
|
|
11
|
+
private gen;
|
|
12
|
+
private floor;
|
|
13
|
+
private readonly touched;
|
|
14
|
+
private readonly flying;
|
|
15
|
+
generation(): number;
|
|
16
|
+
touch(target: string): void;
|
|
17
|
+
changedSince(path: string, gen: number): boolean;
|
|
18
|
+
around<T>(paths: readonly string[], op: () => Promise<T>): Promise<T>;
|
|
19
|
+
inFlight(path: string): boolean;
|
|
8
20
|
}
|
|
9
21
|
export interface KeptFile {
|
|
10
22
|
readonly hidden: string;
|
|
@@ -58,9 +70,7 @@ export declare class UnlinkedKeeper {
|
|
|
58
70
|
private queue;
|
|
59
71
|
private count;
|
|
60
72
|
private readonly replacing;
|
|
61
|
-
private
|
|
62
|
-
private floor;
|
|
63
|
-
private readonly touched;
|
|
73
|
+
private readonly marks;
|
|
64
74
|
private replaced;
|
|
65
75
|
private readonly links;
|
|
66
76
|
private readonly linked;
|
|
@@ -70,13 +80,14 @@ export declare class UnlinkedKeeper {
|
|
|
70
80
|
busy?: (path: string) => boolean;
|
|
71
81
|
owner?: UnlinkOwner | undefined;
|
|
72
82
|
dirOwner?: NewOwner;
|
|
83
|
+
marks?: PathMarks;
|
|
73
84
|
});
|
|
74
85
|
private serial;
|
|
75
86
|
wrap(fs?: KernelFs): KernelFs;
|
|
76
87
|
settled(path: string): Promise<void>;
|
|
77
88
|
generation(): number;
|
|
78
89
|
changedSince(path: string, gen: number): boolean;
|
|
79
|
-
|
|
90
|
+
inFlight(path: string): boolean;
|
|
80
91
|
missed(path: string): boolean;
|
|
81
92
|
settle(pinned: Pinned, op: () => Promise<void>): Promise<void>;
|
|
82
93
|
private heldWithin;
|
package/dist/types/launcher.d.ts
CHANGED
|
@@ -132,6 +132,8 @@ export declare class WasiFds {
|
|
|
132
132
|
private openCharDevice;
|
|
133
133
|
open(path: string, oflags: number, rights: bigint, fdflags: number, mode?: number, nofollow?: boolean): number;
|
|
134
134
|
private nofollow;
|
|
135
|
+
private readonly inos;
|
|
136
|
+
private otherFile;
|
|
135
137
|
private openSpecial;
|
|
136
138
|
private escaped;
|
|
137
139
|
private regular;
|
|
@@ -150,6 +152,7 @@ export declare class WasiFds {
|
|
|
150
152
|
private madeAtOnce;
|
|
151
153
|
private createNew;
|
|
152
154
|
private isLink;
|
|
155
|
+
private lstatOrMissing;
|
|
153
156
|
private statOrMissing;
|
|
154
157
|
private reopen;
|
|
155
158
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.146.
|
|
3
|
+
"version": "1.146.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",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.5.4-4",
|
|
67
|
-
"@ai-ecoverse/slicc-cdp": "1.31.
|
|
67
|
+
"@ai-ecoverse/slicc-cdp": "1.31.3",
|
|
68
68
|
"@ai-ecoverse/slicc-node": "2.5.2",
|
|
69
69
|
"@ai-ecoverse/slicc-scrub": "1.0.0",
|
|
70
|
-
"@ai-ecoverse/slicc-shared-web": "2.
|
|
70
|
+
"@ai-ecoverse/slicc-shared-web": "2.9.0",
|
|
71
71
|
"@ai-ecoverse/wasi-cargo": "0.99.0-6",
|
|
72
72
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-21",
|
|
73
73
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|