@ai-ecoverse/slicc-kernel 1.196.25 → 1.196.26

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.
@@ -3806,7 +3806,7 @@ var init_version = __esm({
3806
3806
  "src/version.ts"() {
3807
3807
  "use strict";
3808
3808
  init_captured_globals();
3809
- KERNEL_VERSION = true ? "1.196.25" : "0.0.0-dev";
3809
+ KERNEL_VERSION = true ? "1.196.26" : "0.0.0-dev";
3810
3810
  OS_RELEASE = "6.0.0-slicc";
3811
3811
  }
3812
3812
  });
@@ -25,6 +25,8 @@ export interface MetaEntry {
25
25
  at: number;
26
26
  replace?: true;
27
27
  privateCopy?: true;
28
+ emptyBackup?: string;
29
+ cleanupOnly?: true;
28
30
  lock?: string;
29
31
  root?: {
30
32
  ino: number;
@@ -252,11 +252,18 @@ export declare class OpfsFs implements KernelFs {
252
252
  amongPeers(): boolean;
253
253
  peerOp(name: string, args: unknown[], inner: (...args: unknown[]) => Promise<unknown>): Promise<unknown>;
254
254
  privateOp(name: string, args: unknown[], inner: (...args: unknown[]) => Promise<unknown>): Promise<unknown>;
255
+ private swapEntry;
255
256
  private privateCopyReady;
257
+ private beforePrivateCopy?;
256
258
  private usePrivateCopy;
259
+ private swapNative;
257
260
  private privateCopy;
261
+ private dropSwapIntent;
262
+ private cleanSwapIntent;
263
+ private clearPrivateBackup;
258
264
  private commitPrivateCopy;
259
265
  private duplicate;
266
+ private readonly hiddenBackups;
260
267
  private readonly renamingDirs;
261
268
  private intents;
262
269
  private intend;
@@ -264,6 +271,7 @@ export declare class OpfsFs implements KernelFs {
264
271
  private replaying;
265
272
  private orphans;
266
273
  private finishRenames;
274
+ private finishPrivateSwap;
267
275
  private finishRename;
268
276
  settledRename(path: unknown): Promise<void>;
269
277
  private busyAt;
@@ -6,6 +6,7 @@ export declare class PrivatePaths {
6
6
  private readonly removing;
7
7
  constructor(paths: string[], listing: boolean, removing: boolean);
8
8
  touches(roots: Set<string>, names?: Set<string>): boolean;
9
+ get openSession(): boolean;
9
10
  bind(path: string): void;
10
11
  moved(from: string, to: string): void;
11
12
  redirected(from: string, to: string): Set<string>;
@@ -21,5 +22,6 @@ export declare class PrivateRename {
21
22
  leave(op: PrivatePaths): void;
22
23
  redirect(op: PrivatePaths, from: string, to: string): Promise<void>;
23
24
  moved(from: string, to: string): void;
24
- exclusive<T>(op: PrivatePaths, run: () => Promise<T>): Promise<T>;
25
+ drain(op: PrivatePaths, native: boolean): Promise<void>;
26
+ exclusive<T>(op: PrivatePaths, run: () => Promise<T>, native?: boolean): Promise<T>;
25
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.196.25",
3
+ "version": "1.196.26",
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",