@ai-ecoverse/slicc-kernel 1.196.22 → 1.196.23

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.
@@ -3763,7 +3763,7 @@ var init_version = __esm({
3763
3763
  "src/version.ts"() {
3764
3764
  "use strict";
3765
3765
  init_captured_globals();
3766
- KERNEL_VERSION = true ? "1.196.22" : "0.0.0-dev";
3766
+ KERNEL_VERSION = true ? "1.196.23" : "0.0.0-dev";
3767
3767
  OS_RELEASE = "6.0.0-slicc";
3768
3768
  }
3769
3769
  });
@@ -2,6 +2,7 @@ import { type KernelFs } from './fs/types.js';
2
2
  export type Abi = 'emscripten' | 'wasi' | 'js';
3
3
  export interface Command {
4
4
  manifests?: readonly string[];
5
+ envPaths?: readonly string[];
5
6
  name: string;
6
7
  abi: Abi;
7
8
  glue: string;
@@ -6,10 +6,12 @@ export interface SudoFiles {
6
6
  routeSha256?: string;
7
7
  chainSha256?: string;
8
8
  scripts?: string[];
9
+ writableEnvPath?: true;
9
10
  }
10
11
  interface FileAccess {
11
12
  real(path: string): Promise<string>;
12
13
  trusted(path: string): Promise<boolean>;
14
+ trustedEnvPath(path: string): Promise<boolean>;
13
15
  read(path: string): Promise<Uint8Array>;
14
16
  }
15
17
  export declare class SudoReads {
@@ -19,6 +21,7 @@ export declare class SudoReads {
19
21
  private readonly documents;
20
22
  private readonly texts;
21
23
  private readonly relevant;
24
+ private readonly envPaths;
22
25
  private readonly verified;
23
26
  readonly interpreters: string[][];
24
27
  chainSha256?: string;
@@ -27,7 +30,7 @@ export declare class SudoReads {
27
30
  constructor(access: FileAccess, snapshots?: ReadonlyMap<string, Uint8Array>);
28
31
  private bytes;
29
32
  resetSelection(): void;
30
- include(paths: readonly string[] | undefined): void;
33
+ include(paths: readonly string[] | undefined, envPaths?: readonly string[]): void;
31
34
  digest(path: string): Promise<string | undefined>;
32
35
  text(path: string): Promise<string | undefined>;
33
36
  private raw;
@@ -163,7 +163,7 @@ export declare class Sudo {
163
163
  private locate;
164
164
  request(caller: SudoCaller, call: SudoCall, signal: AbortSignal): Promise<SudoResult>;
165
165
  replay(value: unknown): Promise<SudoReplayed | Failure>;
166
- private mayAsk;
166
+ private replayRules;
167
167
  private command;
168
168
  private validate;
169
169
  private pendingFor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.196.22",
3
+ "version": "1.196.23",
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",
@@ -76,7 +76,7 @@
76
76
  "@ai-ecoverse/py-numpy": "2.5.4-5",
77
77
  "@ai-ecoverse/slicc-cdp": "2.9.1",
78
78
  "@ai-ecoverse/slicc-scrub": "1.1.1",
79
- "@ai-ecoverse/slicc-shared-web": "3.1.0",
79
+ "@ai-ecoverse/slicc-shared-web": "3.1.1",
80
80
  "@ai-ecoverse/wasi-cargo": "0.99.0-6",
81
81
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
82
82
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",