@ai-ecoverse/slicc-kernel 1.117.2 → 1.117.5

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.
@@ -19,7 +19,7 @@ export declare class OpfsFs implements KernelFs {
19
19
  private changes;
20
20
  private replacing;
21
21
  private replacements;
22
- private readonly snapshots;
22
+ private readonly glances;
23
23
  private readonly found;
24
24
  private readonly checked;
25
25
  private readonly channel;
@@ -60,6 +60,10 @@ export declare class OpfsFs implements KernelFs {
60
60
  unguarded(): KernelFs;
61
61
  noLinks(): KernelFs;
62
62
  private refuse;
63
+ private unlocked;
64
+ private idle;
65
+ private alone;
66
+ private quiet;
63
67
  private locked;
64
68
  chown(path: string, change: OwnerChange): Promise<void>;
65
69
  private movedOwner;
@@ -94,6 +98,9 @@ export declare class OpfsFs implements KernelFs {
94
98
  private readonly flushing;
95
99
  private touch;
96
100
  private flushDirTimes;
101
+ private glanced;
102
+ private glance;
103
+ private wrote;
97
104
  private snapshot;
98
105
  private statOf;
99
106
  private linkStat;
@@ -27,9 +27,14 @@ export declare class RemoteWatch {
27
27
  private mine;
28
28
  private seq;
29
29
  private pruned;
30
+ private readonly joined;
31
+ private met;
32
+ quiet: (() => Promise<void>) | undefined;
30
33
  constructor(name: string, options?: {
31
34
  locks?: LockManagerLike | null;
32
35
  });
36
+ private join;
37
+ peered(): Promise<boolean>;
33
38
  private lockOf;
34
39
  private receive;
35
40
  private greeted;
@@ -8,6 +8,8 @@ export interface JsOpenOptions {
8
8
  exclusive?: boolean;
9
9
  truncate?: boolean;
10
10
  mode?: number;
11
+ nonblock?: boolean;
12
+ signal?: AbortSignal;
11
13
  }
12
14
  export type JsFdType = 'file' | 'pipe' | 'tty' | 'socket' | 'device' | 'directory';
13
15
  export interface FdInfo {
@@ -126,7 +126,7 @@ export declare class WasiFds {
126
126
  private kernelFile;
127
127
  private kernelFifo;
128
128
  restartable: (() => boolean) | undefined;
129
- private restarting;
129
+ restarting<T>(call: () => T): T;
130
130
  private createNew;
131
131
  private isLink;
132
132
  private statOrMissing;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.117.2",
3
+ "version": "1.117.5",
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",