@ai-ecoverse/slicc-kernel 1.125.3 → 1.125.5

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.
@@ -1,2 +1,8 @@
1
- export declare function chainError(flags: number, chain: readonly Uint8Array[]): string | undefined;
1
+ export declare function selfSigned(der: Uint8Array | undefined): Promise<boolean>;
2
+ export interface ChainShape {
3
+ leafSelfSigned: boolean;
4
+ topSelfSigned: boolean;
5
+ }
6
+ export declare function chainShape(chain: readonly Uint8Array[]): Promise<ChainShape>;
7
+ export declare function chainError(flags: number, chain: readonly Uint8Array[], shape: ChainShape): string | undefined;
2
8
  export declare function nameMatches(flags: number): boolean;
@@ -51,6 +51,8 @@ export declare class VfsNode {
51
51
  private queue;
52
52
  private writeBack;
53
53
  private writeBackCost;
54
+ private failed;
55
+ private doubt;
54
56
  opens: number;
55
57
  writers: number;
56
58
  private missing;
@@ -86,6 +88,8 @@ export declare class VfsNode {
86
88
  renamedTo(path: string): void;
87
89
  pwrite(bytes: Uint8Array, at: number): Promise<number>;
88
90
  truncate(size: number): Promise<void>;
91
+ doubted(): void;
92
+ private settled;
89
93
  private markDirty;
90
94
  private ensure;
91
95
  flush(): Promise<void>;
@@ -140,6 +144,7 @@ export declare class VfsNodes implements UnlinkHolder {
140
144
  moving(path: string): () => void;
141
145
  unkeep(path: string, file: KeptFile): void;
142
146
  rewritten(path: string): void;
147
+ doubted(path: string): void;
143
148
  flush(path: string): Promise<void>;
144
149
  unlinking(path: string): Promise<void>;
145
150
  revoke(prefix: string): void;
@@ -27,6 +27,7 @@ export interface MountDeps {
27
27
  open(type: string, spec: MountSpec): Promise<OpenedDriver>;
28
28
  busy(target: string): boolean;
29
29
  changed?(...paths: string[]): void;
30
+ doubted?(target: string): void;
30
31
  reshaped?(): void;
31
32
  timeoutMs?: number;
32
33
  owners?: boolean;
@@ -171,6 +171,8 @@ export declare class KernelStreams {
171
171
  private stdoutFailed;
172
172
  private creatingTerminal;
173
173
  private useTerminalNodes;
174
+ private usePtsNodes;
175
+ private ptsTarget;
174
176
  private ttyNode;
175
177
  private ttyOps;
176
178
  attachFile(stream: ProcessStream, kfd: number): void;
@@ -188,6 +190,7 @@ export declare class KernelStreams {
188
190
  private openClipboard;
189
191
  private vessel;
190
192
  private usePtyPaths;
193
+ private pathStat;
191
194
  private ownedTty;
192
195
  private owned;
193
196
  private existingPty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.125.3",
3
+ "version": "1.125.5",
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",