@ai-ecoverse/slicc-kernel 1.196.43 → 1.196.44
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/async-process.js +1 -1
- package/dist/cloudflare-sources.js +1 -1
- package/dist/cloudflare.js +145 -55
- package/dist/cloudflare.js.map +4 -4
- package/dist/kernel-worker.js +145 -55
- package/dist/kernel-worker.js.map +4 -4
- package/dist/meta.js.map +2 -2
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +145 -55
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +1 -1
- package/dist/types/fs/meta.d.ts +3 -0
- package/dist/types/fs/opfs.d.ts +2 -0
- package/dist/types/fs/rename-cleanup.d.ts +1 -1
- package/dist/types/fs/rename-manifest.d.ts +16 -0
- package/package.json +2 -2
package/dist/process-worker.js
CHANGED
|
@@ -3886,7 +3886,7 @@ var init_version = __esm({
|
|
|
3886
3886
|
"src/version.ts"() {
|
|
3887
3887
|
"use strict";
|
|
3888
3888
|
init_captured_globals();
|
|
3889
|
-
KERNEL_VERSION = true ? "1.196.
|
|
3889
|
+
KERNEL_VERSION = true ? "1.196.44" : "0.0.0-dev";
|
|
3890
3890
|
OS_RELEASE = "6.0.0-slicc";
|
|
3891
3891
|
}
|
|
3892
3892
|
});
|
package/dist/types/fs/meta.d.ts
CHANGED
|
@@ -20,10 +20,12 @@ export interface MetaEntry {
|
|
|
20
20
|
writes?: number;
|
|
21
21
|
epoch?: number;
|
|
22
22
|
vacated?: true;
|
|
23
|
+
copyStamp?: Omit<CleanupEntry, 'path'>;
|
|
23
24
|
copyCommit?: {
|
|
24
25
|
intent: string;
|
|
25
26
|
to: string;
|
|
26
27
|
entries: CleanupEntry[];
|
|
28
|
+
indexed?: true;
|
|
27
29
|
};
|
|
28
30
|
rename?: {
|
|
29
31
|
from: string;
|
|
@@ -31,6 +33,7 @@ export interface MetaEntry {
|
|
|
31
33
|
at: number;
|
|
32
34
|
replace?: true;
|
|
33
35
|
privateCopy?: true;
|
|
36
|
+
unverifiedSource?: true;
|
|
34
37
|
sourceCleanup?: number;
|
|
35
38
|
physicalSource?: string;
|
|
36
39
|
copiedEntries?: CleanupEntry[];
|
package/dist/types/fs/opfs.d.ts
CHANGED
|
@@ -264,7 +264,9 @@ export declare class OpfsFs implements KernelFs {
|
|
|
264
264
|
private clearPrivateBackup;
|
|
265
265
|
private commitPrivateCopy;
|
|
266
266
|
private sourceId;
|
|
267
|
+
private retireIntent;
|
|
267
268
|
private releaseSource;
|
|
269
|
+
private removeReserved;
|
|
268
270
|
private cleanSource;
|
|
269
271
|
private duplicate;
|
|
270
272
|
private readonly hiddenBackups;
|
|
@@ -8,5 +8,5 @@ export interface CleanupEntry {
|
|
|
8
8
|
type Handle = FileSystemFileHandle | FileSystemDirectoryHandle;
|
|
9
9
|
export declare function cleanupId(handle: Handle): Promise<string> | undefined;
|
|
10
10
|
export declare function copiedEntry(handle: Handle, path: string, file?: File): Promise<CleanupEntry>;
|
|
11
|
-
export declare function removeCopied(parent: FileSystemDirectoryHandle, name: string, manifest: CleanupEntry[], signal?: AbortSignal): Promise<void>;
|
|
11
|
+
export declare function removeCopied(parent: FileSystemDirectoryHandle, name: string, manifest: CleanupEntry[], signal?: AbortSignal, overflow?: (path: string) => Promise<CleanupEntry | undefined>): Promise<void>;
|
|
12
12
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { MetaEntry, MetaStore } from './meta.js';
|
|
2
|
+
import type { CleanupEntry } from './rename-cleanup.js';
|
|
3
|
+
export declare function manifestRoot(intent: string): string;
|
|
4
|
+
export declare function storedStamp(meta: MetaStore, intent: string, path: string): Promise<CleanupEntry | undefined>;
|
|
5
|
+
export declare class RenameManifest {
|
|
6
|
+
private readonly meta;
|
|
7
|
+
private readonly intent;
|
|
8
|
+
private readonly entries;
|
|
9
|
+
private readonly pending;
|
|
10
|
+
private bytes;
|
|
11
|
+
private indexed;
|
|
12
|
+
constructor(meta: MetaStore, intent: string);
|
|
13
|
+
record(entry: CleanupEntry): Promise<void>;
|
|
14
|
+
flush(): Promise<void>;
|
|
15
|
+
marker(to: string): Promise<MetaEntry['copyCommit']>;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.196.
|
|
3
|
+
"version": "1.196.44",
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@ai-ecoverse/py-numpy": "2.5.4-5",
|
|
77
77
|
"@ai-ecoverse/slicc-cdp": "2.9.1",
|
|
78
78
|
"@ai-ecoverse/slicc-scrub": "1.1.1",
|
|
79
|
-
"@ai-ecoverse/slicc-shared-web": "3.3.
|
|
79
|
+
"@ai-ecoverse/slicc-shared-web": "3.3.1",
|
|
80
80
|
"@ai-ecoverse/wasi-cargo": "0.99.0-6",
|
|
81
81
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-21",
|
|
82
82
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|