@ai-ecoverse/slicc-kernel 1.170.3 → 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 +8 -2
- package/dist/kernel-worker.js +113 -33
- 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 +113 -33
- 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/kernel/net/http-syscalls.d.ts +1 -0
- package/dist/types/kernel/net/placeholder-floor.d.ts +8 -0
- package/dist/types/realm/sync-fs-wire.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -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.43.
|
|
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",
|