@ai-ecoverse/slicc-kernel 1.143.0 → 1.143.2

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.
@@ -2783,7 +2783,7 @@ var KERNEL_VERSION, OS_RELEASE;
2783
2783
  var init_version = __esm({
2784
2784
  "src/version.ts"() {
2785
2785
  "use strict";
2786
- KERNEL_VERSION = true ? "1.143.0" : "0.0.0-dev";
2786
+ KERNEL_VERSION = true ? "1.143.2" : "0.0.0-dev";
2787
2787
  OS_RELEASE = "6.0.0-slicc";
2788
2788
  }
2789
2789
  });
@@ -8,6 +8,7 @@ export type WatchEventType = 'rename' | 'change';
8
8
  export type WatchNote = {
9
9
  type: WatchEventType;
10
10
  filename: string;
11
+ moved?: true;
11
12
  } | {
12
13
  overflow: true;
13
14
  } | {
@@ -17,6 +18,15 @@ export interface TypedWatch {
17
18
  next(signal: AbortSignal): Promise<WatchNote[]>;
18
19
  close(): void;
19
20
  }
21
+ interface Typed {
22
+ roots: string[];
23
+ names: Map<string, string>;
24
+ recursive: boolean;
25
+ notes: WatchNote[];
26
+ overflowed: boolean;
27
+ ended: boolean;
28
+ wake: (() => void) | undefined;
29
+ }
20
30
  export declare const WATCH_NOTES_LIMIT = 1000;
21
31
  export interface WatchOptions {
22
32
  recursive?: boolean;
@@ -35,8 +45,11 @@ export declare class FsWatchers {
35
45
  typedWatch(root: string, recursive: boolean, alias?: string): TypedWatch;
36
46
  private covers;
37
47
  private emit;
48
+ moved(from: string, to: string): Set<Typed>;
49
+ private renamed;
38
50
  changed(...paths: string[]): void;
39
51
  private report;
40
52
  private flush;
41
53
  wrap(fs: KernelFs): KernelFs;
42
54
  }
55
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.143.0",
3
+ "version": "1.143.2",
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",
@@ -66,7 +66,7 @@
66
66
  "@ai-ecoverse/py-numpy": "2.5.4-3",
67
67
  "@ai-ecoverse/slicc-node": "2.5.2",
68
68
  "@ai-ecoverse/slicc-scrub": "1.0.0",
69
- "@ai-ecoverse/slicc-shared-web": "1.29.10",
69
+ "@ai-ecoverse/slicc-shared-web": "1.29.16",
70
70
  "@ai-ecoverse/wasi-cargo": "0.99.0-5",
71
71
  "@ai-ecoverse/wasi-pnpm": "12.9.1-20",
72
72
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",