@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.
@@ -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.51" : "0.0.0-dev";
3892
+ KERNEL_VERSION = true ? "1.196.53" : "0.0.0-dev";
3893
3893
  OS_RELEASE = "6.0.0-slicc";
3894
3894
  }
3895
3895
  });
@@ -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;
@@ -0,0 +1,2 @@
1
+ export declare const SUDO_VECTOR_MAX = 4096;
2
+ export declare function budgetAfterArgs(args: unknown): number | 'nul' | undefined;
@@ -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(word: string): string;
11
- export declare function requestedText(word: string): string;
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;
@@ -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.51",
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",