@ai-ecoverse/slicc-kernel 1.147.5 → 1.147.7

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.
@@ -5,6 +5,7 @@ export interface RemoteChange {
5
5
  from: string;
6
6
  to: string;
7
7
  };
8
+ content?: true;
8
9
  }
9
10
  export interface PeerRename {
10
11
  from: string;
@@ -98,6 +98,7 @@ export interface KernelFs {
98
98
  from: string;
99
99
  to: string;
100
100
  };
101
+ content?: true;
101
102
  }) => void): () => void;
102
103
  peers?(): Peers | undefined;
103
104
  crossings?(mounted: (path: string) => boolean): void;
@@ -26,6 +26,7 @@ interface Typed {
26
26
  roots: string[];
27
27
  names: Map<string, string>;
28
28
  recursive: boolean;
29
+ directory: boolean;
29
30
  notes: WatchNote[];
30
31
  overflowed: boolean;
31
32
  ended: boolean;
@@ -47,11 +48,12 @@ export declare class FsWatchers {
47
48
  reshaped(): void;
48
49
  tap(listener: (paths: string[]) => void): void;
49
50
  watch(paths: string[], options: WatchOptions, notify: (change: WatchChange) => void): () => void;
50
- typedWatch(root: string, recursive: boolean, alias?: string): TypedWatch;
51
+ typedWatch(root: string, recursive: boolean, alias?: string, directory?: boolean): TypedWatch;
51
52
  private covers;
52
53
  private emit;
53
54
  moved(from: string, to: string, seq?: number): Set<Typed>;
54
55
  private renamed;
56
+ heard(type: WatchEventType, paths: readonly string[]): void;
55
57
  changed(...paths: string[]): void;
56
58
  private report;
57
59
  private flush;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.147.5",
3
+ "version": "1.147.7",
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",