@ai-ecoverse/slicc-kernel 1.140.4 → 1.140.6
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.
- package/dist/kernel-worker.js +38 -13
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-driver-worker.js +3 -1
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.js +4 -2
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +38 -13
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/types/commands.d.ts +3 -1
- package/dist/types/launcher.d.ts +2 -0
- package/package.json +1 -1
package/dist/process-worker.js
CHANGED
|
@@ -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.
|
|
2781
|
+
KERNEL_VERSION = true ? "1.140.6" : "0.0.0-dev";
|
|
2782
2782
|
OS_RELEASE = "6.0.0-slicc";
|
|
2783
2783
|
}
|
|
2784
2784
|
});
|
package/dist/types/commands.d.ts
CHANGED
|
@@ -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;
|
package/dist/types/launcher.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.140.6",
|
|
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",
|