@ai-ecoverse/slicc-kernel 1.152.1 → 1.152.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/dist/kernel-worker.js +33 -6
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +33 -6
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/types/fs/unlinked.d.ts +4 -0
- package/dist/types/mount/mount-fs.d.ts +1 -0
- package/dist/types/realm/sync-fs-token-registry.d.ts +1 -0
- package/package.json +2 -2
package/dist/process-worker.js
CHANGED
|
@@ -2964,7 +2964,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
2964
2964
|
var init_version = __esm({
|
|
2965
2965
|
"src/version.ts"() {
|
|
2966
2966
|
"use strict";
|
|
2967
|
-
KERNEL_VERSION = true ? "1.152.
|
|
2967
|
+
KERNEL_VERSION = true ? "1.152.2" : "0.0.0-dev";
|
|
2968
2968
|
OS_RELEASE = "6.0.0-slicc";
|
|
2969
2969
|
}
|
|
2970
2970
|
});
|
|
@@ -6,16 +6,19 @@ export interface Replacements {
|
|
|
6
6
|
generation(): number;
|
|
7
7
|
changedSince(path: string, gen: number): boolean;
|
|
8
8
|
inFlight?(path: string): boolean;
|
|
9
|
+
landed?(path: string): Promise<void>;
|
|
9
10
|
}
|
|
10
11
|
export declare class PathMarks {
|
|
11
12
|
private gen;
|
|
12
13
|
private floor;
|
|
13
14
|
private readonly touched;
|
|
14
15
|
private readonly flying;
|
|
16
|
+
private readonly waiting;
|
|
15
17
|
generation(): number;
|
|
16
18
|
touch(target: string): void;
|
|
17
19
|
changedSince(path: string, gen: number): boolean;
|
|
18
20
|
around<T>(paths: readonly string[], op: () => Promise<T>): Promise<T>;
|
|
21
|
+
landed(path: string): Promise<void>;
|
|
19
22
|
inFlight(path: string): boolean;
|
|
20
23
|
}
|
|
21
24
|
export interface KeptFile {
|
|
@@ -87,6 +90,7 @@ export declare class UnlinkedKeeper {
|
|
|
87
90
|
settled(path: string): Promise<void>;
|
|
88
91
|
generation(): number;
|
|
89
92
|
changedSince(path: string, gen: number): boolean;
|
|
93
|
+
landed(path: string): Promise<void>;
|
|
90
94
|
inFlight(path: string): boolean;
|
|
91
95
|
missed(path: string): boolean;
|
|
92
96
|
settle(pinned: Pinned, op: () => Promise<void>): Promise<void>;
|
|
@@ -86,6 +86,7 @@ export declare class HeldPaths extends Map<string, number> implements UnlinkHold
|
|
|
86
86
|
} | undefined;
|
|
87
87
|
bindIds(id: (path: string) => Promise<string> | undefined): Promise<void>;
|
|
88
88
|
trust(handle: number, doubt: number): void;
|
|
89
|
+
pathOf(handle: number): string | undefined;
|
|
89
90
|
keptFor(handle: number): KeptFile | undefined;
|
|
90
91
|
holdsHandle(handle: number): boolean;
|
|
91
92
|
keeps(hidden: string): boolean;
|
|
@@ -12,6 +12,7 @@ export interface SyncFsTokenEntry {
|
|
|
12
12
|
} | undefined>;
|
|
13
13
|
hold?: (path: string, held: boolean, open: boolean, real?: string, handle?: number, ino?: number, fid?: string) => number | undefined;
|
|
14
14
|
keptFor?: (handle: number) => KeptFile | undefined;
|
|
15
|
+
heldAt?: (handle: number) => string | undefined;
|
|
15
16
|
boundIno?: (handle: number) => {
|
|
16
17
|
ino: number;
|
|
17
18
|
fid?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.152.
|
|
3
|
+
"version": "1.152.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",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.5.4-4",
|
|
67
|
-
"@ai-ecoverse/slicc-cdp": "1.
|
|
67
|
+
"@ai-ecoverse/slicc-cdp": "1.39.1",
|
|
68
68
|
"@ai-ecoverse/slicc-node": "2.5.2",
|
|
69
69
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
70
70
|
"@ai-ecoverse/slicc-shared-web": "2.11.3",
|