@ai-ecoverse/slicc-kernel 1.110.0 → 1.110.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 +27 -14
- package/dist/kernel-worker.js +84 -19
- package/dist/kernel-worker.js.map +3 -3
- package/dist/meta.js +10 -1
- package/dist/meta.js.map +2 -2
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +75 -18
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/types/fs/meta.d.ts +6 -4
- package/dist/types/fs/opfs.d.ts +6 -0
- package/package.json +4 -4
package/dist/process-worker.js
CHANGED
|
@@ -2515,7 +2515,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
2515
2515
|
var init_version = __esm({
|
|
2516
2516
|
"src/version.ts"() {
|
|
2517
2517
|
"use strict";
|
|
2518
|
-
KERNEL_VERSION = true ? "1.110.
|
|
2518
|
+
KERNEL_VERSION = true ? "1.110.2" : "0.0.0-dev";
|
|
2519
2519
|
OS_RELEASE = "6.0.0-slicc";
|
|
2520
2520
|
}
|
|
2521
2521
|
});
|
package/dist/types/fs/meta.d.ts
CHANGED
|
@@ -18,10 +18,15 @@ export interface MetaEntry {
|
|
|
18
18
|
epoch?: number;
|
|
19
19
|
}
|
|
20
20
|
export type MetaChange = (entry: MetaEntry | undefined) => MetaEntry | undefined;
|
|
21
|
+
export interface MetaUpdate {
|
|
22
|
+
path: string;
|
|
23
|
+
change: MetaChange;
|
|
24
|
+
}
|
|
21
25
|
export interface MetaStore {
|
|
22
26
|
get(paths: readonly string[]): Promise<Array<MetaEntry | undefined>>;
|
|
23
27
|
fresh?(paths: readonly string[]): Promise<Array<MetaEntry | undefined>>;
|
|
24
28
|
update(path: string, change: MetaChange): Promise<void>;
|
|
29
|
+
updateMany?(changes: ReadonlyArray<MetaUpdate>): Promise<void>;
|
|
25
30
|
move(from: string, to: string, root: (entry: MetaEntry | undefined) => MetaEntry): Promise<void>;
|
|
26
31
|
remove(paths: readonly string[]): Promise<void>;
|
|
27
32
|
links(dir: string): Promise<MetaEntry[]>;
|
|
@@ -64,10 +69,7 @@ export declare class IndexedDbMeta implements MetaStore {
|
|
|
64
69
|
get(paths: readonly string[]): Promise<Array<MetaEntry | undefined>>;
|
|
65
70
|
fresh(paths: readonly string[]): Promise<Array<MetaEntry | undefined>>;
|
|
66
71
|
update(path: string, change: MetaChange): Promise<void>;
|
|
67
|
-
updateMany(changes: ReadonlyArray<
|
|
68
|
-
path: string;
|
|
69
|
-
change: (entry: MetaEntry | undefined) => MetaEntry;
|
|
70
|
-
}>): Promise<void>;
|
|
72
|
+
updateMany(changes: ReadonlyArray<MetaUpdate>): Promise<void>;
|
|
71
73
|
close(): void;
|
|
72
74
|
move(from: string, to: string, root: (entry: MetaEntry | undefined) => MetaEntry): Promise<void>;
|
|
73
75
|
absent(path: string): boolean;
|
package/dist/types/fs/opfs.d.ts
CHANGED
|
@@ -14,6 +14,9 @@ export declare class OpfsFs implements KernelFs {
|
|
|
14
14
|
private readonly root;
|
|
15
15
|
private readonly meta;
|
|
16
16
|
private readonly dirs;
|
|
17
|
+
private readonly files;
|
|
18
|
+
private readonly snapshots;
|
|
19
|
+
private readonly found;
|
|
17
20
|
private readonly checked;
|
|
18
21
|
private readonly channel;
|
|
19
22
|
private readonly remote;
|
|
@@ -60,6 +63,7 @@ export declare class OpfsFs implements KernelFs {
|
|
|
60
63
|
private dir;
|
|
61
64
|
private current;
|
|
62
65
|
private forget;
|
|
66
|
+
private remember;
|
|
63
67
|
private inDir;
|
|
64
68
|
private child;
|
|
65
69
|
private parent;
|
|
@@ -76,12 +80,14 @@ export declare class OpfsFs implements KernelFs {
|
|
|
76
80
|
private written;
|
|
77
81
|
private scheduleFileTimes;
|
|
78
82
|
private flushFileTimes;
|
|
83
|
+
private batched;
|
|
79
84
|
private timesOf;
|
|
80
85
|
private explicitWins;
|
|
81
86
|
private movePending;
|
|
82
87
|
private readonly flushing;
|
|
83
88
|
private touch;
|
|
84
89
|
private flushDirTimes;
|
|
90
|
+
private snapshot;
|
|
85
91
|
private statOf;
|
|
86
92
|
private linkStat;
|
|
87
93
|
private describe;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.110.
|
|
3
|
+
"version": "1.110.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",
|
|
@@ -66,19 +66,19 @@
|
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.3.2-10",
|
|
67
67
|
"@ai-ecoverse/slicc-node": "2.5.1",
|
|
68
68
|
"@ai-ecoverse/slicc-scrub": "1.0.0",
|
|
69
|
-
"@ai-ecoverse/slicc-shared-web": "1.
|
|
69
|
+
"@ai-ecoverse/slicc-shared-web": "1.22.1",
|
|
70
70
|
"@ai-ecoverse/wasi-cargo": "0.99.0-2",
|
|
71
71
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-9",
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-4",
|
|
74
74
|
"@ai-ecoverse/wasi-zig": "0.16.0-15",
|
|
75
|
-
"@ai-ecoverse/wasix-python": "3.14.2-
|
|
75
|
+
"@ai-ecoverse/wasix-python": "3.14.2-25",
|
|
76
76
|
"@ai-ecoverse/wasm-bash": "5.3.0-19",
|
|
77
77
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-8",
|
|
78
78
|
"@ai-ecoverse/wasm-curl": "8.22.0-5",
|
|
79
79
|
"@ai-ecoverse/wasm-git": "2.55.0-15",
|
|
80
80
|
"@ai-ecoverse/wasm-procps": "4.0.7-2",
|
|
81
|
-
"@ai-ecoverse/wasm-sqlite3": "3.54.0-
|
|
81
|
+
"@ai-ecoverse/wasm-sqlite3": "3.54.0-4",
|
|
82
82
|
"@ai-ecoverse/wasm-tar": "1.35.0-7",
|
|
83
83
|
"@ai-ecoverse/wasm-tls-engine": "4.2.0-1",
|
|
84
84
|
"@ai-ecoverse/wasm-tree": "2.3.2-2",
|