@ai-ecoverse/slicc-kernel 1.196.17 → 1.196.18

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.
@@ -3732,7 +3732,7 @@ var init_version = __esm({
3732
3732
  "src/version.ts"() {
3733
3733
  "use strict";
3734
3734
  init_captured_globals();
3735
- KERNEL_VERSION = true ? "1.196.17" : "0.0.0-dev";
3735
+ KERNEL_VERSION = true ? "1.196.18" : "0.0.0-dev";
3736
3736
  OS_RELEASE = "6.0.0-slicc";
3737
3737
  }
3738
3738
  });
@@ -74,9 +74,7 @@ export declare class SpawnError extends Error {
74
74
  constructor(code: KernelErrno);
75
75
  }
76
76
  export declare class ChangedError extends SpawnError {
77
- readonly notice: string;
78
- readonly file: string;
79
- constructor(notice: string, file: string);
77
+ constructor();
80
78
  }
81
79
  export interface SpawnGrant {
82
80
  cred: Cred;
@@ -7,8 +7,8 @@ export { SUDOERS, SUDOERS_D } from './sudoers.js';
7
7
  export declare const SECURE_PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
8
8
  export declare const DEFAULT_SUDOERS = "%sudo Cmnd *\n";
9
9
  export declare const SUDO_TIMEOUT_MS = 300000;
10
- export declare function changedText(file: string): string;
11
- export declare function requestedText(file: string): string;
10
+ export declare function changedText(word: string): string;
11
+ export declare function requestedText(word: string): string;
12
12
  export declare function changedFile(approved: Readonly<Record<string, string>>, now: Readonly<Record<string, string>>): string | undefined;
13
13
  export interface SudoRequest {
14
14
  id: string;
@@ -153,12 +153,13 @@ export declare class Sudo {
153
153
  private canonical;
154
154
  reachable(cred: Cred, cwd: string): Promise<boolean>;
155
155
  real(file: string): Promise<string>;
156
- moved({ routes }: SudoFiles, loading?: boolean): Promise<string | undefined>;
156
+ moved({ routes }: SudoFiles): Promise<boolean>;
157
157
  missingBacking(hashes: Readonly<Record<string, string>>, except?: string): Promise<string | undefined>;
158
158
  reads(snapshots?: ReadonlyMap<string, Uint8Array>): SudoReads;
159
159
  private bound;
160
160
  private writable;
161
- searched(fs: KernelFs, cred: Readonly<Cred>, path: string): Promise<string>;
161
+ private searched;
162
+ executablePath(fs: KernelFs, cred: Readonly<Cred>, asked: string): Promise<string | undefined>;
162
163
  private locate;
163
164
  request(caller: SudoCaller, call: SudoCall, signal: AbortSignal): Promise<SudoResult>;
164
165
  replay(value: unknown): Promise<SudoReplayed | Failure>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.196.17",
3
+ "version": "1.196.18",
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",