@ai-ecoverse/slicc-kernel 1.127.0 → 1.127.1
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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/kernel-worker.js +79 -25
- package/dist/kernel-worker.js.map +3 -3
- package/dist/meta.js.map +2 -2
- package/dist/node-process-worker.js +3 -1
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +79 -25
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +3 -1
- package/dist/process-worker.js.map +2 -2
- package/dist/types/fs/opfs.d.ts +5 -0
- package/dist/types/fs/types.d.ts +1 -0
- package/dist/types/kernel/proc-info.d.ts +1 -0
- package/package.json +2 -2
package/dist/types/fs/opfs.d.ts
CHANGED
|
@@ -76,7 +76,10 @@ export declare class OpfsFs implements KernelFs {
|
|
|
76
76
|
private current;
|
|
77
77
|
private exact;
|
|
78
78
|
private calls;
|
|
79
|
+
private others;
|
|
79
80
|
opfsCalls(): number;
|
|
81
|
+
opfsOps(): number;
|
|
82
|
+
private io;
|
|
80
83
|
private fresh;
|
|
81
84
|
private exactly;
|
|
82
85
|
private forget;
|
|
@@ -131,6 +134,8 @@ export declare class OpfsFs implements KernelFs {
|
|
|
131
134
|
version(path: string, cached?: boolean): Promise<string>;
|
|
132
135
|
pread(path: string, offset: number, length: number): Promise<Uint8Array>;
|
|
133
136
|
pwrite(path: string, offset: number, bytes: Uint8Array): Promise<void>;
|
|
137
|
+
private keptFor;
|
|
138
|
+
private writeAt;
|
|
134
139
|
truncate(path: string, size: number): Promise<void>;
|
|
135
140
|
writeSession(path: string, truncate: boolean): Promise<WriteSession>;
|
|
136
141
|
readFile(path: string): Promise<string>;
|
package/dist/types/fs/types.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export interface KernelFs {
|
|
|
111
111
|
}>;
|
|
112
112
|
version?(path: string, cached?: boolean): Promise<string>;
|
|
113
113
|
opfsCalls?(): number;
|
|
114
|
+
opfsOps?(): number;
|
|
114
115
|
}
|
|
115
116
|
export type RangedOps = Required<Pick<KernelFs, 'pread' | 'pwrite' | 'truncate'>>;
|
|
116
117
|
export declare function rangedOps(fs: Partial<RangedOps>): RangedOps | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.127.
|
|
3
|
+
"version": "1.127.1",
|
|
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",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-11",
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-5",
|
|
74
|
-
"@ai-ecoverse/wasi-zig": "0.16.0-
|
|
74
|
+
"@ai-ecoverse/wasi-zig": "0.16.0-17",
|
|
75
75
|
"@ai-ecoverse/wasix-python": "3.14.2-28",
|
|
76
76
|
"@ai-ecoverse/wasm-bash": "5.3.0-20",
|
|
77
77
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-10",
|