@ai-ecoverse/slicc-kernel 1.131.0 → 1.132.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 +2 -0
- package/dist/index.js.map +1 -1
- package/dist/kernel-worker.js +27 -9
- package/dist/kernel-worker.js.map +4 -4
- package/dist/meta.js +21 -0
- package/dist/meta.js.map +3 -3
- package/dist/node-process-worker.js +24 -8
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +21 -6
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +24 -8
- package/dist/process-worker.js.map +2 -2
- package/dist/types/fs/notice.d.ts +9 -0
- package/dist/types/fs/physical-path.d.ts +1 -0
- package/dist/types/fs/types.d.ts +1 -0
- package/dist/types/kernel/vfs-file.d.ts +1 -0
- package/dist/types/meta.d.ts +6 -0
- package/package.json +3 -2
|
@@ -5,6 +5,7 @@ export interface LinkReader {
|
|
|
5
5
|
readlink(path: string): string;
|
|
6
6
|
}
|
|
7
7
|
export declare function physicalPath(fs: LinkReader, path: string): string;
|
|
8
|
+
export declare function physicalLeaf(fs: LinkReader, path: string): string | undefined;
|
|
8
9
|
export interface AsyncLinkReader {
|
|
9
10
|
lstat(path: string): Promise<{
|
|
10
11
|
isSymbolicLink?: boolean;
|
package/dist/types/fs/types.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export interface KernelFs {
|
|
|
93
93
|
onPeer?(settle: () => Promise<void>): void;
|
|
94
94
|
remoteChanges?(listener: (change: {
|
|
95
95
|
paths: readonly string[];
|
|
96
|
+
trees?: readonly string[];
|
|
96
97
|
}) => void): () => void;
|
|
97
98
|
peers?(): Peers | undefined;
|
|
98
99
|
crossings?(mounted: (path: string) => boolean): void;
|
|
@@ -145,6 +145,7 @@ export declare class VfsNodes implements UnlinkHolder {
|
|
|
145
145
|
moving(path: string): () => void;
|
|
146
146
|
unkeep(path: string, file: KeptFile): void;
|
|
147
147
|
rewritten(path: string): void;
|
|
148
|
+
rewrittenUnder(tree: string): void;
|
|
148
149
|
doubted(path: string): void;
|
|
149
150
|
flush(path: string): Promise<void>;
|
|
150
151
|
unlinking(path: string): Promise<void>;
|
package/dist/types/meta.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type FsNotice } from './fs/notice.js';
|
|
2
|
+
export type { FsNotice };
|
|
1
3
|
export interface MetadataEntry {
|
|
2
4
|
path: string;
|
|
3
5
|
mode?: number;
|
|
@@ -9,3 +11,7 @@ export interface WriteMetadataOptions {
|
|
|
9
11
|
indexedDB?: IDBFactory;
|
|
10
12
|
}
|
|
11
13
|
export declare function writeMetadata(root: FileSystemDirectoryHandle, entries: readonly MetadataEntry[], options?: WriteMetadataOptions): Promise<void>;
|
|
14
|
+
export interface PostFsNoticeOptions {
|
|
15
|
+
metadata?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function postFsNotice(notice: FsNotice, options?: PostFsNoticeOptions): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.132.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",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-6",
|
|
74
74
|
"@ai-ecoverse/wasi-zig": "0.16.0-17",
|
|
75
|
-
"@ai-ecoverse/wasix-python": "3.14.2-
|
|
75
|
+
"@ai-ecoverse/wasix-python": "3.14.2-29",
|
|
76
76
|
"@ai-ecoverse/wasm-bash": "5.3.0-20",
|
|
77
77
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-10",
|
|
78
78
|
"@ai-ecoverse/wasm-curl": "8.22.0-7",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"fake-indexeddb": "6.2.5",
|
|
91
91
|
"lefthook": "2.2.1",
|
|
92
92
|
"monocart-coverage-reports": "2.13.2",
|
|
93
|
+
"pg-gateway": "0.3.0-beta.4",
|
|
93
94
|
"playwright-core": "1.64.0",
|
|
94
95
|
"semantic-release": "25.0.9",
|
|
95
96
|
"typescript": "7.0.2",
|