@ai-ecoverse/slicc-kernel 1.125.0 → 1.125.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.
@@ -1,5 +1,6 @@
1
1
  import type { JsLane } from '../../kernel/protocol.js';
2
2
  import { type SyncFsBridgeStat, type SyncFsResult } from '../../realm/sync-fs-wire.js';
3
+ import { type SyncSabTransport } from '../../realm/sync-sab-bridge.js';
3
4
  import type { SyncSabRequestBody } from '../../realm/sync-sab-wire.js';
4
5
  import type { JsChild, JsSpawnOptions } from './js-children.js';
5
6
  import { type FdInfo, type JsOpenOptions, type JsStatFs } from './js-io.js';
@@ -73,7 +74,7 @@ export interface SyncShared {
73
74
  handles: Map<number, () => void>;
74
75
  }
75
76
  export declare const noLane: SyncCall;
76
- export declare function laneOf(lane: JsLane | undefined): SyncCall;
77
+ export declare function laneOf(lane: JsLane | undefined, silence?: number, open?: (sab: SharedArrayBuffer, port: JsLane['port']) => SyncSabTransport): SyncCall;
77
78
  export declare class JsSyncKernel {
78
79
  private readonly lane;
79
80
  private readonly kernel;
@@ -44,6 +44,7 @@ export type SyncFsResult = {
44
44
  message: string;
45
45
  };
46
46
  export declare const SYNC_FS_REQUEST_TIMEOUT_MS = 25000;
47
+ export declare const SYNC_FS_READ_ONLY: ReadonlySet<string>;
47
48
  export interface SyncFsBridgeStat {
48
49
  isFile: boolean;
49
50
  isDirectory: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.125.0",
3
+ "version": "1.125.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",
@@ -66,7 +66,7 @@
66
66
  "@ai-ecoverse/py-numpy": "2.3.2-11",
67
67
  "@ai-ecoverse/slicc-node": "2.5.1",
68
68
  "@ai-ecoverse/slicc-scrub": "1.0.0",
69
- "@ai-ecoverse/slicc-shared-web": "1.24.0",
69
+ "@ai-ecoverse/slicc-shared-web": "1.24.1",
70
70
  "@ai-ecoverse/wasi-cargo": "0.99.0-3",
71
71
  "@ai-ecoverse/wasi-pnpm": "12.9.1-10",
72
72
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",