@ai-ecoverse/slicc-kernel 1.170.2 → 1.170.4
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/README.md +12 -4
- package/dist/kernel-worker.js +163 -43
- package/dist/kernel-worker.js.map +4 -4
- package/dist/node-process-worker.cjs +3 -3
- package/dist/node-process-worker.cjs.map +2 -2
- package/dist/node-process-worker.js +3 -3
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +163 -43
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +3 -3
- package/dist/process-worker.js.map +2 -2
- package/dist/types/commands.d.ts +2 -1
- package/dist/types/kernel/net/http-syscalls.d.ts +1 -0
- package/dist/types/kernel/net/placeholder-floor.d.ts +8 -0
- package/dist/types/launcher.d.ts +2 -0
- package/dist/types/realm/sync-fs-wire.d.ts +1 -1
- package/package.json +2 -2
package/dist/types/commands.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface Command {
|
|
|
14
14
|
unset?: string[];
|
|
15
15
|
script?: string;
|
|
16
16
|
bin?: true;
|
|
17
|
+
dependency?: true;
|
|
17
18
|
imports?: string;
|
|
18
19
|
refused?: string;
|
|
19
20
|
shows?: string;
|
|
@@ -48,7 +49,7 @@ export declare function variantFor(variants: readonly CommandVariant[] | undefin
|
|
|
48
49
|
export declare function commandsOf(pkg: string, manifest: Manifest): Command[];
|
|
49
50
|
export declare function pnpmGlobalRoots(fs: KernelFs, home: string): Promise<string[]>;
|
|
50
51
|
export declare function engineRefusal(manifest: Manifest, kernel: string): string | undefined;
|
|
51
|
-
export declare function scanCommands(fs: KernelFs, modules: string | (string | string[])[], binsFrom?: number, kernel?: string, refused?: Command[]): Promise<Map<string, Command>>;
|
|
52
|
+
export declare function scanCommands(fs: KernelFs, modules: string | (string | string[])[], binsFrom?: number, kernel?: string, refused?: Command[], global?: ReadonlySet<string>): Promise<Map<string, Command>>;
|
|
52
53
|
export declare function scanFilesystems(fs: KernelFs, modules: string | string[]): Promise<Map<string, string>>;
|
|
53
54
|
export declare function scanBinfmts(fs: KernelFs, modules: string | string[], warn?: (message: string) => void, owners?: Map<string, string>): Promise<Map<string, string>>;
|
|
54
55
|
export declare function binfmtSuffix(binfmts: ReadonlyMap<string, string>, path: string): string | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RealmTransport } from './transport.js';
|
|
2
|
+
export declare const PLACEHOLDER_REFUSED = "refused: this request has a sealed placeholder in its URL, a header or a Basic credential, and nothing fills it, so it was not sent";
|
|
3
|
+
export declare class PlaceholderRefused extends Error {
|
|
4
|
+
readonly status = 403;
|
|
5
|
+
readonly code = "EACCES";
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
8
|
+
export declare function placeholderFloor(inner: RealmTransport): RealmTransport;
|
package/dist/types/launcher.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export type SyncFsResult = {
|
|
|
47
47
|
message: string;
|
|
48
48
|
direct?: true;
|
|
49
49
|
dev?: string;
|
|
50
|
-
detail?: 'transport';
|
|
50
|
+
detail?: 'transport' | 'placeholder';
|
|
51
51
|
};
|
|
52
52
|
export declare const SYNC_FS_REQUEST_TIMEOUT_MS = 25000;
|
|
53
53
|
export declare const SYNC_FS_READ_ONLY: ReadonlySet<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.170.
|
|
3
|
+
"version": "1.170.4",
|
|
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",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@ai-ecoverse/py-numpy": "2.5.4-4",
|
|
73
|
-
"@ai-ecoverse/slicc-cdp": "1.
|
|
73
|
+
"@ai-ecoverse/slicc-cdp": "1.43.1",
|
|
74
74
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
75
75
|
"@ai-ecoverse/slicc-shared-web": "2.13.7",
|
|
76
76
|
"@ai-ecoverse/wasi-cargo": "0.99.0-6",
|