@ai-ecoverse/slicc-kernel 1.191.4 → 1.192.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.
@@ -3188,7 +3188,7 @@ var init_version = __esm({
3188
3188
  "src/version.ts"() {
3189
3189
  "use strict";
3190
3190
  init_captured_globals();
3191
- KERNEL_VERSION = true ? "1.191.4" : "0.0.0-dev";
3191
+ KERNEL_VERSION = true ? "1.192.0" : "0.0.0-dev";
3192
3192
  OS_RELEASE = "6.0.0-slicc";
3193
3193
  }
3194
3194
  });
@@ -0,0 +1,7 @@
1
+ import type { CdpConnection } from './types.js';
2
+ export interface HeldConnection {
3
+ conn: CdpConnection;
4
+ message(message: string): void;
5
+ end(reason?: string): void;
6
+ }
7
+ export declare function heldConnection(send: (message: string) => void, close: () => void): HeldConnection;
@@ -1,3 +1,4 @@
1
+ import type { CdpHook } from '../cdp/types.js';
1
2
  import type { CronClock } from '../cron/clock.js';
2
3
  import type { DenialHook } from '../fs/dac.js';
3
4
  import type { MetaStore } from '../fs/meta.js';
@@ -51,6 +52,7 @@ export interface CloudflareKernelOptions {
51
52
  sealed?: SealedOption;
52
53
  requests?: EmbedderHook;
53
54
  approve?: ApproveHook;
55
+ cdp?: CdpHook;
54
56
  protect?: Protection;
55
57
  cron?: {
56
58
  clock?: CronClock;
@@ -1,5 +1,6 @@
1
1
  import type { CloudflareKernel, CloudflareKernelOptions } from './cloudflare/options.js';
2
2
  import { memoryRoot } from './node/memory-root.js';
3
+ export type { CdpConnection, CdpHook, CdpRequest } from './cdp/types.js';
3
4
  export { attachKernel, type KernelClient } from './client/attach.js';
4
5
  export { type ExecEvent, type KillSignalName, type ShellExecInput, type SliccBackend, type SliccBackendHandle, type SliccBackendHost, type SliccBackendOptions, type SliccKernelLike, sliccBackend, type WorkspaceDatabaseLike, type WorkspaceDirentLike, type WorkspaceDriver, type WorkspaceDriverOptions, type WorkspaceFilesystemLike, type WorkspaceStatLike, workspaceDriver, } from './cloudflare/computer.js';
5
6
  export { type ImageHandle, Images } from './cloudflare/images.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.191.4",
3
+ "version": "1.192.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",
@@ -74,9 +74,9 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@ai-ecoverse/py-numpy": "2.5.4-5",
77
- "@ai-ecoverse/slicc-cdp": "1.54.4",
77
+ "@ai-ecoverse/slicc-cdp": "2.1.20",
78
78
  "@ai-ecoverse/slicc-scrub": "1.1.1",
79
- "@ai-ecoverse/slicc-shared-web": "2.16.0",
79
+ "@ai-ecoverse/slicc-shared-web": "2.17.0",
80
80
  "@ai-ecoverse/wasi-cargo": "0.99.0-6",
81
81
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
82
82
  "@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
@@ -93,10 +93,10 @@
93
93
  "@ai-ecoverse/wasm-procps": "4.0.7-6",
94
94
  "@ai-ecoverse/wasm-sqlite3": "3.54.1-1",
95
95
  "@ai-ecoverse/wasm-tar": "1.35.0-9",
96
- "@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
96
+ "@ai-ecoverse/wasm-tls-engine": "4.3.0-1",
97
97
  "@ai-ecoverse/wasm-util-linux": "2.42.4-7",
98
- "@biomejs/biome": "2.6.7",
99
- "@cloudflare/computer": "0.11.1",
98
+ "@biomejs/biome": "2.6.8",
99
+ "@cloudflare/computer": "0.11.3",
100
100
  "@types/node": "26.6.6",
101
101
  "acorn": "8.19.0",
102
102
  "esbuild": "0.28.2",
@@ -107,6 +107,6 @@
107
107
  "semantic-release": "25.0.9",
108
108
  "typescript": "7.0.2",
109
109
  "wabt": "1.0.39",
110
- "wrangler": "4.161.0"
110
+ "wrangler": "4.164.0"
111
111
  }
112
112
  }