@ai-ecoverse/slicc-kernel 1.140.0 → 1.140.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 +2 -2
- package/dist/kernel-worker.js +92 -34
- package/dist/kernel-worker.js.map +3 -3
- package/dist/meta.js +5 -3
- package/dist/meta.js.map +2 -2
- package/dist/node-process-worker.js +86 -12
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +87 -31
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +86 -12
- package/dist/process-worker.js.map +3 -3
- package/dist/types/fs/meta.d.ts +3 -3
- package/dist/types/process/wasi/wasi-fds.d.ts +1 -0
- package/dist/types/process/wasi/wasi-procfs.d.ts +1 -0
- package/dist/types/realm/sync-fs-wire.d.ts +1 -0
- package/package.json +4 -4
package/dist/types/fs/meta.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface MetaStore {
|
|
|
43
43
|
update(path: string, change: MetaChange): Promise<void>;
|
|
44
44
|
updateMany?(changes: ReadonlyArray<MetaUpdate>): Promise<void>;
|
|
45
45
|
move(from: string, to: string, root: (entry: MetaEntry | undefined) => MetaEntry, left?: MetaEntry): Promise<void>;
|
|
46
|
-
remove(paths: readonly string[]): Promise<void>;
|
|
46
|
+
remove(paths: readonly string[], left?: MetaEntry): Promise<void>;
|
|
47
47
|
links(dir: string): Promise<MetaEntry[]>;
|
|
48
48
|
under(path: string): Promise<MetaEntry[]>;
|
|
49
49
|
all(): Promise<MetaEntry[]>;
|
|
@@ -60,7 +60,7 @@ export declare class MemoryMeta implements MetaStore {
|
|
|
60
60
|
update(path: string, change: MetaChange): Promise<void>;
|
|
61
61
|
private set;
|
|
62
62
|
move(from: string, to: string, root: (entry: MetaEntry | undefined) => MetaEntry, left?: MetaEntry): Promise<void>;
|
|
63
|
-
remove(paths: readonly string[]): Promise<void>;
|
|
63
|
+
remove(paths: readonly string[], left?: MetaEntry): Promise<void>;
|
|
64
64
|
absent(path: string): boolean;
|
|
65
65
|
links(dir: string): Promise<MetaEntry[]>;
|
|
66
66
|
under(path: string): Promise<MetaEntry[]>;
|
|
@@ -90,7 +90,7 @@ export declare class IndexedDbMeta implements MetaStore {
|
|
|
90
90
|
absent(path: string): boolean;
|
|
91
91
|
private removing;
|
|
92
92
|
private removeTimer;
|
|
93
|
-
remove(paths: readonly string[]): Promise<void>;
|
|
93
|
+
remove(paths: readonly string[], left?: MetaEntry): Promise<void>;
|
|
94
94
|
removeFile(path: string): Promise<void>;
|
|
95
95
|
private removeNow;
|
|
96
96
|
private settleRemoves;
|
|
@@ -128,6 +128,7 @@ export declare class WasiFds {
|
|
|
128
128
|
private openKernelDevice;
|
|
129
129
|
private openCharDevice;
|
|
130
130
|
open(path: string, oflags: number, rights: bigint, fdflags: number, mode?: number): number;
|
|
131
|
+
private escaped;
|
|
131
132
|
private regular;
|
|
132
133
|
private kernelHolds;
|
|
133
134
|
private readonly learned;
|
|
@@ -104,6 +104,7 @@ export interface SyncFsPosixBridge {
|
|
|
104
104
|
rmdir(path: string): void;
|
|
105
105
|
symlink(target: string, linkPath: string): void;
|
|
106
106
|
readlink(path: string): string;
|
|
107
|
+
escape?(path: string): string | undefined;
|
|
107
108
|
chmod(path: string, mode: number): void;
|
|
108
109
|
utimes(path: string, atimeMs: number, mtimeMs: number, now?: boolean): void;
|
|
109
110
|
lutimes(path: string, atimeMs: number, mtimeMs: number, now?: boolean): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.140.
|
|
3
|
+
"version": "1.140.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,14 +64,14 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.5.4-3",
|
|
67
|
-
"@ai-ecoverse/slicc-node": "2.5.
|
|
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.
|
|
69
|
+
"@ai-ecoverse/slicc-shared-web": "1.29.2",
|
|
70
70
|
"@ai-ecoverse/wasi-cargo": "0.99.0-3",
|
|
71
71
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-19",
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-6",
|
|
74
|
-
"@ai-ecoverse/wasi-zig": "0.16.0-
|
|
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",
|
|
77
77
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-12",
|