@ai-ecoverse/slicc-kernel 1.127.0 → 1.127.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.
@@ -76,7 +76,10 @@ export declare class OpfsFs implements KernelFs {
76
76
  private current;
77
77
  private exact;
78
78
  private calls;
79
+ private others;
79
80
  opfsCalls(): number;
81
+ opfsOps(): number;
82
+ private io;
80
83
  private fresh;
81
84
  private exactly;
82
85
  private forget;
@@ -131,6 +134,8 @@ export declare class OpfsFs implements KernelFs {
131
134
  version(path: string, cached?: boolean): Promise<string>;
132
135
  pread(path: string, offset: number, length: number): Promise<Uint8Array>;
133
136
  pwrite(path: string, offset: number, bytes: Uint8Array): Promise<void>;
137
+ private keptFor;
138
+ private writeAt;
134
139
  truncate(path: string, size: number): Promise<void>;
135
140
  writeSession(path: string, truncate: boolean): Promise<WriteSession>;
136
141
  readFile(path: string): Promise<string>;
@@ -111,6 +111,7 @@ export interface KernelFs {
111
111
  }>;
112
112
  version?(path: string, cached?: boolean): Promise<string>;
113
113
  opfsCalls?(): number;
114
+ opfsOps?(): number;
114
115
  }
115
116
  export type RangedOps = Required<Pick<KernelFs, 'pread' | 'pwrite' | 'truncate'>>;
116
117
  export declare function rangedOps(fs: Partial<RangedOps>): RangedOps | undefined;
@@ -49,4 +49,5 @@ export interface ProcessListing {
49
49
  peers?: number;
50
50
  fsCalls?: number;
51
51
  opfsCalls?: number;
52
+ opfsOps?: number;
52
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.127.0",
3
+ "version": "1.127.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",
@@ -71,7 +71,7 @@
71
71
  "@ai-ecoverse/wasi-pnpm": "12.9.1-11",
72
72
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
73
73
  "@ai-ecoverse/wasi-rustc": "1.98.1-5",
74
- "@ai-ecoverse/wasi-zig": "0.16.0-16",
74
+ "@ai-ecoverse/wasi-zig": "0.16.0-17",
75
75
  "@ai-ecoverse/wasix-python": "3.14.2-28",
76
76
  "@ai-ecoverse/wasm-bash": "5.3.0-20",
77
77
  "@ai-ecoverse/wasm-coreutils": "9.12.0-10",