@ai-ecoverse/slicc-kernel 1.140.4 → 1.140.5

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.
@@ -2778,7 +2778,7 @@ var KERNEL_VERSION, OS_RELEASE;
2778
2778
  var init_version = __esm({
2779
2779
  "src/version.ts"() {
2780
2780
  "use strict";
2781
- KERNEL_VERSION = true ? "1.140.4" : "0.0.0-dev";
2781
+ KERNEL_VERSION = true ? "1.140.5" : "0.0.0-dev";
2782
2782
  OS_RELEASE = "6.0.0-slicc";
2783
2783
  }
2784
2784
  });
@@ -21,6 +21,8 @@ export interface Command {
21
21
  abi: string;
22
22
  glue: string;
23
23
  wasm: string;
24
+ variants?: string[];
25
+ script?: true;
24
26
  };
25
27
  variants?: CommandVariant[];
26
28
  }
@@ -46,7 +48,7 @@ export declare function variantFor(variants: readonly CommandVariant[] | undefin
46
48
  export declare function commandsOf(pkg: string, manifest: Manifest): Command[];
47
49
  export declare function pnpmGlobalRoots(fs: KernelFs, home: string): Promise<string[]>;
48
50
  export declare function engineRefusal(manifest: Manifest, kernel: string): string | undefined;
49
- export declare function scanCommands(fs: KernelFs, modules: string | (string | string[])[], binsFrom?: number, kernel?: string): Promise<Map<string, Command>>;
51
+ export declare function scanCommands(fs: KernelFs, modules: string | (string | string[])[], binsFrom?: number, kernel?: string, refused?: Command[]): Promise<Map<string, Command>>;
50
52
  export declare function scanFilesystems(fs: KernelFs, modules: string | string[]): Promise<Map<string, string>>;
51
53
  export declare function scanBinfmts(fs: KernelFs, modules: string | string[], warn?: (message: string) => void, owners?: Map<string, string>): Promise<Map<string, string>>;
52
54
  export declare function binfmtSuffix(binfmts: ReadonlyMap<string, string>, path: string): string | undefined;
@@ -250,6 +250,7 @@ export declare class Launcher {
250
250
  onTraits(listener: () => void): () => void;
251
251
  updateTransportTraits(): boolean;
252
252
  commands(scope?: string): Promise<Map<string, Command>>;
253
+ private readonly refusedOf;
253
254
  private refusals;
254
255
  private ownCommands;
255
256
  private interpreters;
@@ -265,6 +266,7 @@ export declare class Launcher {
265
266
  resolve(file: string, argv0: string, cwd: string, scope?: string): Promise<Target | undefined>;
266
267
  private ownOrRefused;
267
268
  private refusedAt;
269
+ private refusedCopy;
268
270
  private glueOwner;
269
271
  private readonly sameFiles;
270
272
  private sameFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.140.4",
3
+ "version": "1.140.5",
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",