@ai-ecoverse/slicc-kernel 1.178.3 → 1.179.0
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 +4 -3
- package/dist/driver-worker.js +5 -1
- package/dist/driver-worker.js.map +2 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +2 -2
- package/dist/kernel-worker.js +34 -18
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-driver-worker.js +5 -1
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +38 -18
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +1 -1
- package/dist/types/client/attach.d.ts +3 -0
- package/dist/types/client/protocol.d.ts +2 -0
- package/dist/types/fs/dac.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/launcher.d.ts +4 -0
- package/dist/types/node.d.ts +1 -1
- package/package.json +3 -3
package/dist/process-worker.js
CHANGED
|
@@ -3180,7 +3180,7 @@ var init_version = __esm({
|
|
|
3180
3180
|
"src/version.ts"() {
|
|
3181
3181
|
"use strict";
|
|
3182
3182
|
init_captured_globals();
|
|
3183
|
-
KERNEL_VERSION = true ? "1.
|
|
3183
|
+
KERNEL_VERSION = true ? "1.179.0" : "0.0.0-dev";
|
|
3184
3184
|
OS_RELEASE = "6.0.0-slicc";
|
|
3185
3185
|
}
|
|
3186
3186
|
});
|
|
@@ -24,6 +24,7 @@ export interface AttachOptions {
|
|
|
24
24
|
}
|
|
25
25
|
export interface SpawnOptions {
|
|
26
26
|
cwd?: string;
|
|
27
|
+
cwdMissing?: 'create' | 'error';
|
|
27
28
|
user?: string | number;
|
|
28
29
|
env?: Record<string, string>;
|
|
29
30
|
stdin?: string | Uint8Array;
|
|
@@ -46,6 +47,7 @@ export interface SpawnedProcess {
|
|
|
46
47
|
}
|
|
47
48
|
export interface ClientRunOptions {
|
|
48
49
|
cwd?: string;
|
|
50
|
+
cwdMissing?: 'create' | 'error';
|
|
49
51
|
user?: string | number;
|
|
50
52
|
env?: Record<string, string>;
|
|
51
53
|
stdin?: string | Uint8Array;
|
|
@@ -62,6 +64,7 @@ export interface ClientRunResult {
|
|
|
62
64
|
}
|
|
63
65
|
export interface ClientTerminalOptions {
|
|
64
66
|
cwd?: string;
|
|
67
|
+
cwdMissing?: 'create' | 'error';
|
|
65
68
|
user?: string | number;
|
|
66
69
|
env?: Record<string, string>;
|
|
67
70
|
cols?: number;
|
|
@@ -21,6 +21,7 @@ export interface KernelHello {
|
|
|
21
21
|
}
|
|
22
22
|
export interface SpawnRequestOptions {
|
|
23
23
|
cwd?: string;
|
|
24
|
+
cwdMissing?: 'create' | 'error';
|
|
24
25
|
user?: string | number;
|
|
25
26
|
env?: Record<string, string>;
|
|
26
27
|
stdin?: Uint8Array;
|
|
@@ -29,6 +30,7 @@ export interface SpawnRequestOptions {
|
|
|
29
30
|
}
|
|
30
31
|
export interface TerminalRequestOptions {
|
|
31
32
|
cwd?: string;
|
|
33
|
+
cwdMissing?: 'create' | 'error';
|
|
32
34
|
user?: string | number;
|
|
33
35
|
env?: Record<string, string>;
|
|
34
36
|
cols?: number;
|
package/dist/types/fs/dac.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare function linkable(g: Guard, from: string, to: string, follow: boo
|
|
|
56
56
|
export declare function chmodMode(g: Guard, path: string, mode: number): Promise<number>;
|
|
57
57
|
export declare function heldChmodMode(g: Guard, path: string, st: FsStat, mode: number): number;
|
|
58
58
|
export declare function heldRetimable(g: Guard, path: string, st: FsStat, now: boolean): void;
|
|
59
|
-
export declare function retimable(g: Guard, op: string, path: string, now?: boolean): Promise<
|
|
59
|
+
export declare function retimable(g: Guard, op: string, path: string, now?: boolean): Promise<void>;
|
|
60
60
|
export declare function fileWritable(g: Guard, op: string, path: string): Promise<void>;
|
|
61
61
|
export declare function realIds(cred: Readonly<Cred>): Cred;
|
|
62
62
|
export declare function listable(g: Guard, op: string, path: string): Promise<void>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -86,8 +86,10 @@ export interface MountPending {
|
|
|
86
86
|
source: string;
|
|
87
87
|
insert(): Promise<void>;
|
|
88
88
|
}
|
|
89
|
+
export type CwdMissing = 'create' | 'error';
|
|
89
90
|
export interface RunOptions {
|
|
90
91
|
cwd?: string;
|
|
92
|
+
cwdMissing?: CwdMissing;
|
|
91
93
|
user?: string | number;
|
|
92
94
|
tag?: string;
|
|
93
95
|
env?: Record<string, string>;
|
|
@@ -150,6 +152,7 @@ export interface Kernel {
|
|
|
150
152
|
}
|
|
151
153
|
export interface TerminalOptions {
|
|
152
154
|
cwd?: string;
|
|
155
|
+
cwdMissing?: CwdMissing;
|
|
153
156
|
user?: string | number;
|
|
154
157
|
tag?: string;
|
|
155
158
|
env?: Record<string, string>;
|
package/dist/types/launcher.d.ts
CHANGED
|
@@ -116,9 +116,11 @@ export interface RunOptions {
|
|
|
116
116
|
tagBase?: number;
|
|
117
117
|
login?: boolean;
|
|
118
118
|
session?: number;
|
|
119
|
+
cwdMissing?: CwdMissing;
|
|
119
120
|
}
|
|
120
121
|
export interface TerminalOptions {
|
|
121
122
|
cwd?: string;
|
|
123
|
+
cwdMissing?: CwdMissing;
|
|
122
124
|
env?: Record<string, string>;
|
|
123
125
|
cols?: number;
|
|
124
126
|
rows?: number;
|
|
@@ -162,6 +164,8 @@ interface Target {
|
|
|
162
164
|
shim?: string;
|
|
163
165
|
}
|
|
164
166
|
export declare function tagOption(tag: unknown): void;
|
|
167
|
+
export type CwdMissing = 'create' | 'error';
|
|
168
|
+
export declare function cwdMissingOption(value: unknown): CwdMissing;
|
|
165
169
|
export declare function withTag(tags: readonly string[] | undefined, tag: string | undefined): readonly string[] | undefined;
|
|
166
170
|
export declare function cronPath(path: string): boolean;
|
|
167
171
|
export declare function expandDefaults(defaults: Readonly<Record<string, string>> | undefined, env: Readonly<Record<string, string>>): Record<string, string>;
|
package/dist/types/node.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { type AttachOptions, attachKernel, type ClientEnded, type ClientFetchReq
|
|
|
24
24
|
export type { FacadeConnection, FacadeHook, FacadeInfo, FacadeSpec, FacadeSpecs, } from './facade/types.js';
|
|
25
25
|
export type { Attestation, AttestedDir, AttestOptions, AttestTombstone } from './fs/attest.js';
|
|
26
26
|
export type { Denial, DenialHook } from './fs/dac.js';
|
|
27
|
-
export type { ConnectOptions, Ended, KernelGroups, KernelIntegrity, KernelSealed, KernelUsers, NetworkUplink, ResolveAnswer, ResolveFamily, RouteTable, RunOptions, RunResult, Terminal, TerminalOptions, TerminalSignal, } from './index.js';
|
|
27
|
+
export type { ConnectOptions, CwdMissing, Ended, KernelGroups, KernelIntegrity, KernelSealed, KernelUsers, NetworkUplink, ResolveAnswer, ResolveFamily, RouteTable, RunOptions, RunResult, Terminal, TerminalOptions, TerminalSignal, } from './index.js';
|
|
28
28
|
export type { ClipboardHook, ClipboardStamp } from './kernel/clipboard.js';
|
|
29
29
|
export type { EmbedderHook, EmbedderKindPolicy, EmbedderReply, EmbedderRequest, EmbedderStamp, } from './kernel/embedder.js';
|
|
30
30
|
export { SEALED_FETCH_VERSION, type SealedFetchHook, type SealedFetchRequest, type SealedOption, } from './kernel/net/sealed-fetch.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.179.0",
|
|
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.48.2",
|
|
74
74
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
75
75
|
"@ai-ecoverse/slicc-shared-web": "2.14.2",
|
|
76
76
|
"@ai-ecoverse/wasi-cargo": "0.99.0-6",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@ai-ecoverse/wasm-tar": "1.35.0-9",
|
|
90
90
|
"@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
|
|
91
91
|
"@ai-ecoverse/wasm-util-linux": "2.42.4-7",
|
|
92
|
-
"@biomejs/biome": "2.6.
|
|
92
|
+
"@biomejs/biome": "2.6.5",
|
|
93
93
|
"@types/node": "26.6.6",
|
|
94
94
|
"acorn": "8.19.0",
|
|
95
95
|
"esbuild": "0.28.2",
|