@ai-ecoverse/slicc-kernel 1.120.2 → 1.121.1

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.
@@ -85,6 +85,9 @@ export interface KernelFs {
85
85
  chown?(path: string, change: OwnerChange): Promise<void>;
86
86
  trackOwners?(): void;
87
87
  onPeer?(settle: () => Promise<void>): void;
88
+ remoteChanges?(listener: (change: {
89
+ paths: readonly string[];
90
+ }) => void): () => void;
88
91
  peers?(): Peers | undefined;
89
92
  crossings?(mounted: (path: string) => boolean): void;
90
93
  ancestry?(path: string): Promise<Array<Perm | undefined>>;
@@ -135,6 +135,7 @@ export declare class VfsNodes implements UnlinkHolder {
135
135
  isKept(): boolean;
136
136
  keep(path: string, file: KeptFile): void;
137
137
  unkeep(path: string, file: KeptFile): void;
138
+ rewritten(path: string): void;
138
139
  flush(path: string): Promise<void>;
139
140
  unlinking(path: string): Promise<void>;
140
141
  revoke(prefix: string): void;
@@ -383,6 +383,7 @@ export declare class Launcher {
383
383
  fsFor(tag: string | undefined): KernelFs;
384
384
  isWriter(tag: string | undefined): boolean;
385
385
  private stackFor;
386
+ private rewritten;
386
387
  private flushOpen;
387
388
  private writerStack;
388
389
  private noLinksOf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.120.2",
3
+ "version": "1.121.1",
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",