@ai-ecoverse/slicc-kernel 1.165.3 → 1.166.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 +1 -1
- package/dist/kernel-worker.js +63 -9
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-driver-worker.js +23 -1
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.js +49 -27
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +63 -9
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/types/kernel/vfs-file.d.ts +6 -0
- package/dist/types/launcher.d.ts +2 -0
- package/package.json +2 -2
package/dist/process-worker.js
CHANGED
|
@@ -3083,7 +3083,7 @@ var init_version = __esm({
|
|
|
3083
3083
|
"src/version.ts"() {
|
|
3084
3084
|
"use strict";
|
|
3085
3085
|
init_captured_globals();
|
|
3086
|
-
KERNEL_VERSION = true ? "1.
|
|
3086
|
+
KERNEL_VERSION = true ? "1.166.1" : "0.0.0-dev";
|
|
3087
3087
|
OS_RELEASE = "6.0.0-slicc";
|
|
3088
3088
|
}
|
|
3089
3089
|
});
|
|
@@ -44,6 +44,7 @@ export interface VersionPin {
|
|
|
44
44
|
}
|
|
45
45
|
export declare const WRITEBACK_MS = 250;
|
|
46
46
|
export declare class VfsNode {
|
|
47
|
+
fid: string | undefined;
|
|
47
48
|
private data;
|
|
48
49
|
private ranged;
|
|
49
50
|
private readonly pin;
|
|
@@ -109,6 +110,7 @@ export declare class VfsNodes implements UnlinkHolder {
|
|
|
109
110
|
keepsOnDisk: boolean;
|
|
110
111
|
changed: ((path: string) => void) | undefined;
|
|
111
112
|
movedAway: ((from: string, to: string) => void) | undefined;
|
|
113
|
+
opened: ((node: VfsNode) => void) | undefined;
|
|
112
114
|
dirtied: ((delta: number) => void) | undefined;
|
|
113
115
|
private readonly fs;
|
|
114
116
|
readonly entries: Map<string, Promise<unknown>>;
|
|
@@ -148,6 +150,10 @@ export declare class VfsNodes implements UnlinkHolder {
|
|
|
148
150
|
writes(prefix: string): boolean;
|
|
149
151
|
closed(node: VfsNode, writable?: boolean): void;
|
|
150
152
|
held(): Iterable<string>;
|
|
153
|
+
heldIds(): Array<[string, string | undefined]>;
|
|
154
|
+
holdsAt(path: string): boolean;
|
|
155
|
+
bindIds(id: (path: string) => Promise<string | undefined> | undefined): Promise<void>;
|
|
156
|
+
keepBound(paths: readonly string[], fid: string | undefined, file: KeptFile): boolean;
|
|
151
157
|
owns(): boolean;
|
|
152
158
|
isKept(): boolean;
|
|
153
159
|
keep(path: string, file: KeptFile): void;
|
package/dist/types/launcher.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.166.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",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@ai-ecoverse/slicc-cdp": "1.41.13",
|
|
68
68
|
"@ai-ecoverse/slicc-node": "2.5.2",
|
|
69
69
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
70
|
-
"@ai-ecoverse/slicc-shared-web": "2.12.
|
|
70
|
+
"@ai-ecoverse/slicc-shared-web": "2.12.3",
|
|
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",
|