@ai-ecoverse/slicc-kernel 1.103.1 → 1.103.3

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.
@@ -35,6 +35,7 @@ export interface ChildSpawnRequest {
35
35
  argv0?: string;
36
36
  env: Record<string, string>;
37
37
  cwd: string;
38
+ chdir?: true;
38
39
  pgid?: number;
39
40
  session?: true;
40
41
  exec?: boolean;
@@ -237,6 +237,7 @@ export type WasmSyscall = {
237
237
  argv0?: string;
238
238
  env: Record<string, string>;
239
239
  cwd: string;
240
+ chdir?: true;
240
241
  stdio: ChildStdio[];
241
242
  pgid?: number;
242
243
  session?: true;
@@ -8,6 +8,7 @@ export interface RunRequest {
8
8
  argv0?: string;
9
9
  env: Record<string, string>;
10
10
  cwd: string;
11
+ chdir?: true;
11
12
  pgid?: number;
12
13
  session?: true;
13
14
  stdin: RunStdio;
@@ -234,6 +234,7 @@ export declare class Launcher {
234
234
  private plan;
235
235
  private mayExec;
236
236
  private checkedPlan;
237
+ private enterable;
237
238
  private execGuard;
238
239
  private execFile;
239
240
  private ticketFile;
@@ -1,6 +1,6 @@
1
1
  import { type RangedWatch } from '../../fs/ranged.js';
2
2
  import type { DeviceAccess, KernelFdKind } from '../../kernel/fd-table.js';
3
- import type { SyncFsBridgeStat, SyncFsFileIo, SyncFsPosixBridge } from '../../realm/sync-fs-wire.js';
3
+ import { type SyncFsBridgeStat, type SyncFsFileIo, type SyncFsPosixBridge } from '../../realm/sync-fs-wire.js';
4
4
  export declare class WasiError extends Error {
5
5
  readonly code: string;
6
6
  constructor(code: string);
@@ -2,6 +2,7 @@ import { type LiveCred, type LiveMountFsApi } from './live-vfs-fs.js';
2
2
  import type { SyncFsPosixBridge } from './sync-fs-wire.js';
3
3
  export interface EmscriptenFsForHook extends LiveMountFsApi {
4
4
  chdir(path: string): void;
5
+ sliccChdirAt?(path: string): void;
5
6
  chown?(path: string | object, uid: number, gid: number, dontFollow?: boolean): void;
6
7
  }
7
8
  export interface EmscriptenVfsHandle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.103.1",
3
+ "version": "1.103.3",
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",