@ai-ecoverse/slicc-kernel 1.195.26 → 1.195.27

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.
@@ -3463,7 +3463,7 @@ var init_version = __esm({
3463
3463
  "src/version.ts"() {
3464
3464
  "use strict";
3465
3465
  init_captured_globals();
3466
- KERNEL_VERSION = true ? "1.195.26" : "0.0.0-dev";
3466
+ KERNEL_VERSION = true ? "1.195.27" : "0.0.0-dev";
3467
3467
  OS_RELEASE = "6.0.0-slicc";
3468
3468
  }
3469
3469
  });
@@ -64,6 +64,6 @@ export interface BinfmtRule {
64
64
  export declare function binfmtHex(bytes: Uint8Array): string;
65
65
  export declare function magicRule(name: string, pkg: string, declared: unknown): BinfmtRule | undefined;
66
66
  export declare function magicMatches(rule: BinfmtRule, head: Uint8Array): boolean;
67
- export declare function scanBinfmts(fs: KernelFs, modules: string | string[], warn?: (message: string) => void): Promise<BinfmtRule[]>;
67
+ export declare function scanBinfmts(fs: KernelFs, modules: string | string[], warn?: (message: string) => void, readManifest?: (path: string) => Promise<string>): Promise<BinfmtRule[]>;
68
68
  export declare function binfmtFor(rules: readonly BinfmtRule[], path: string, head?: Uint8Array): BinfmtRule | undefined;
69
69
  export {};
@@ -359,6 +359,7 @@ export declare class Launcher {
359
359
  private ownCatalog;
360
360
  private globalRoots;
361
361
  private interpreters;
362
+ private scanInterpreters;
362
363
  private tiers;
363
364
  private roots;
364
365
  private rootOnlyPath;
@@ -19,6 +19,8 @@ export declare class SudoReads {
19
19
  readonly snapshots: ReadonlyMap<string, Uint8Array>;
20
20
  constructor(access: FileAccess, snapshots?: ReadonlyMap<string, Uint8Array>);
21
21
  private bytes;
22
+ private raw;
23
+ manifest(path: string, verify: (real: string, bytes: Uint8Array) => Promise<void>): Promise<string>;
22
24
  private saw;
23
25
  through(path: string, resolved: string): Promise<void>;
24
26
  head(path: string): Promise<Uint8Array | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.195.26",
3
+ "version": "1.195.27",
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",