@ai-ecoverse/slicc-kernel 1.196.51 → 1.196.53
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 +3 -1
- package/dist/async-process.js +1 -1
- package/dist/cloudflare-sources.js +1 -1
- package/dist/cloudflare.js +189 -91
- package/dist/cloudflare.js.map +4 -4
- package/dist/kernel-worker.js +181 -83
- package/dist/kernel-worker.js.map +4 -4
- package/dist/node-process-worker.cjs +1 -1
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +186 -88
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +1 -1
- package/dist/types/fs/opfs.d.ts +3 -0
- package/dist/types/sudo-argv.d.ts +2 -0
- package/dist/types/sudo.d.ts +2 -2
- package/dist/types/sudoers.d.ts +3 -0
- package/package.json +1 -1
package/dist/process-worker.js
CHANGED
|
@@ -3889,7 +3889,7 @@ var init_version = __esm({
|
|
|
3889
3889
|
"src/version.ts"() {
|
|
3890
3890
|
"use strict";
|
|
3891
3891
|
init_captured_globals();
|
|
3892
|
-
KERNEL_VERSION = true ? "1.196.
|
|
3892
|
+
KERNEL_VERSION = true ? "1.196.53" : "0.0.0-dev";
|
|
3893
3893
|
OS_RELEASE = "6.0.0-slicc";
|
|
3894
3894
|
}
|
|
3895
3895
|
});
|
package/dist/types/fs/opfs.d.ts
CHANGED
|
@@ -269,6 +269,7 @@ export declare class OpfsFs implements KernelFs {
|
|
|
269
269
|
private removeReserved;
|
|
270
270
|
private cleanSource;
|
|
271
271
|
private duplicate;
|
|
272
|
+
private duplicateContents;
|
|
272
273
|
private readonly hiddenBackups;
|
|
273
274
|
private readonly pendingSources;
|
|
274
275
|
private readonly retryAfter;
|
|
@@ -285,6 +286,8 @@ export declare class OpfsFs implements KernelFs {
|
|
|
285
286
|
private orphans;
|
|
286
287
|
private finishRenames;
|
|
287
288
|
private finishPrivateSwap;
|
|
289
|
+
private vacantLegacyGeneration;
|
|
290
|
+
private resumeVacantLegacy;
|
|
288
291
|
private resumeCopiedTree;
|
|
289
292
|
private resumeCoordinatedCopy;
|
|
290
293
|
private finishRename;
|
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(argv: readonly string[]): Promise<string>;
|
|
11
|
+
export declare function requestedText(argv: readonly string[], hint?: string): Promise<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;
|
package/dist/types/sudoers.d.ts
CHANGED
|
@@ -52,6 +52,9 @@ export type PolicyLine = {
|
|
|
52
52
|
export declare function hasControl(text: string): boolean;
|
|
53
53
|
export declare function splitWords(text: string): string[] | undefined;
|
|
54
54
|
export declare function quoteWord(word: string): string;
|
|
55
|
+
export declare function auditField(value: string, bytes?: number): string;
|
|
56
|
+
export declare function commandDisplay(prefix: string, argv: readonly string[], suffix?: string, fullArgv?: readonly string[]): Promise<string>;
|
|
57
|
+
export declare function wordDisplay(argv: readonly string[], suffix: string): Promise<string>;
|
|
55
58
|
export declare function commandMatches(cmnd: Command | '*', argv: readonly string[]): boolean;
|
|
56
59
|
export declare function commandText(cmnd: Command): string;
|
|
57
60
|
export declare function sha256Text(files: Readonly<Record<string, string>>, routeSha256?: string, chainSha256?: string): string;
|
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.53",
|
|
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",
|