@ai-ecoverse/slicc-kernel 1.196.17 → 1.196.18
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 +6 -6
- package/dist/async-process.js +1 -1
- package/dist/cloudflare-sources.js +1 -1
- package/dist/cloudflare.js +70 -66
- package/dist/cloudflare.js.map +3 -3
- package/dist/kernel-worker.js +70 -66
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +70 -66
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/types/kernel/children.d.ts +1 -3
- package/dist/types/sudo.d.ts +5 -4
- package/package.json +1 -1
package/dist/process-worker.js
CHANGED
|
@@ -3732,7 +3732,7 @@ var init_version = __esm({
|
|
|
3732
3732
|
"src/version.ts"() {
|
|
3733
3733
|
"use strict";
|
|
3734
3734
|
init_captured_globals();
|
|
3735
|
-
KERNEL_VERSION = true ? "1.196.
|
|
3735
|
+
KERNEL_VERSION = true ? "1.196.18" : "0.0.0-dev";
|
|
3736
3736
|
OS_RELEASE = "6.0.0-slicc";
|
|
3737
3737
|
}
|
|
3738
3738
|
});
|
|
@@ -74,9 +74,7 @@ export declare class SpawnError extends Error {
|
|
|
74
74
|
constructor(code: KernelErrno);
|
|
75
75
|
}
|
|
76
76
|
export declare class ChangedError extends SpawnError {
|
|
77
|
-
|
|
78
|
-
readonly file: string;
|
|
79
|
-
constructor(notice: string, file: string);
|
|
77
|
+
constructor();
|
|
80
78
|
}
|
|
81
79
|
export interface SpawnGrant {
|
|
82
80
|
cred: Cred;
|
package/dist/types/sudo.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export { SUDOERS, SUDOERS_D } from './sudoers.js';
|
|
|
7
7
|
export declare const SECURE_PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
|
8
8
|
export declare const DEFAULT_SUDOERS = "%sudo Cmnd *\n";
|
|
9
9
|
export declare const SUDO_TIMEOUT_MS = 300000;
|
|
10
|
-
export declare function changedText(
|
|
11
|
-
export declare function requestedText(
|
|
10
|
+
export declare function changedText(word: string): string;
|
|
11
|
+
export declare function requestedText(word: string): string;
|
|
12
12
|
export declare function changedFile(approved: Readonly<Record<string, string>>, now: Readonly<Record<string, string>>): string | undefined;
|
|
13
13
|
export interface SudoRequest {
|
|
14
14
|
id: string;
|
|
@@ -153,12 +153,13 @@ export declare class Sudo {
|
|
|
153
153
|
private canonical;
|
|
154
154
|
reachable(cred: Cred, cwd: string): Promise<boolean>;
|
|
155
155
|
real(file: string): Promise<string>;
|
|
156
|
-
moved({ routes }: SudoFiles
|
|
156
|
+
moved({ routes }: SudoFiles): Promise<boolean>;
|
|
157
157
|
missingBacking(hashes: Readonly<Record<string, string>>, except?: string): Promise<string | undefined>;
|
|
158
158
|
reads(snapshots?: ReadonlyMap<string, Uint8Array>): SudoReads;
|
|
159
159
|
private bound;
|
|
160
160
|
private writable;
|
|
161
|
-
searched
|
|
161
|
+
private searched;
|
|
162
|
+
executablePath(fs: KernelFs, cred: Readonly<Cred>, asked: string): Promise<string | undefined>;
|
|
162
163
|
private locate;
|
|
163
164
|
request(caller: SudoCaller, call: SudoCall, signal: AbortSignal): Promise<SudoResult>;
|
|
164
165
|
replay(value: unknown): Promise<SudoReplayed | Failure>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.196.
|
|
3
|
+
"version": "1.196.18",
|
|
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",
|