@enclave-vm/runtime 2.9.2 → 2.10.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.
package/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
 
4
- // libs/enclavejs-runtime/src/session-executor.ts
4
+ // libs/runtime/src/session-executor.ts
5
5
  var import_core = require("@enclave-vm/core");
6
6
  var SessionExecutor = class {
7
7
  sessionId;
@@ -116,7 +116,7 @@ function createSessionExecutor(options) {
116
116
  return new SessionExecutor(options);
117
117
  }
118
118
 
119
- // libs/enclavejs-runtime/src/runtime-worker.ts
119
+ // libs/runtime/src/runtime-worker.ts
120
120
  var DEFAULT_CONFIG = {
121
121
  port: 3001,
122
122
  host: "0.0.0.0",
@@ -302,7 +302,7 @@ function createRuntimeWorker(config) {
302
302
  return new RuntimeWorker(config);
303
303
  }
304
304
 
305
- // libs/enclavejs-runtime/src/cli.ts
305
+ // libs/runtime/src/cli.ts
306
306
  function parseArgs(args) {
307
307
  const config = {};
308
308
  for (let i = 0; i < args.length; i++) {
package/esm/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // libs/enclavejs-runtime/src/session-executor.ts
3
+ // libs/runtime/src/session-executor.ts
4
4
  import { createSession } from "@enclave-vm/core";
5
5
  var SessionExecutor = class {
6
6
  sessionId;
@@ -115,7 +115,7 @@ function createSessionExecutor(options) {
115
115
  return new SessionExecutor(options);
116
116
  }
117
117
 
118
- // libs/enclavejs-runtime/src/runtime-worker.ts
118
+ // libs/runtime/src/runtime-worker.ts
119
119
  var DEFAULT_CONFIG = {
120
120
  port: 3001,
121
121
  host: "0.0.0.0",
@@ -301,7 +301,7 @@ function createRuntimeWorker(config) {
301
301
  return new RuntimeWorker(config);
302
302
  }
303
303
 
304
- // libs/enclavejs-runtime/src/cli.ts
304
+ // libs/runtime/src/cli.ts
305
305
  function parseArgs(args) {
306
306
  const config = {};
307
307
  for (let i = 0; i < args.length; i++) {
package/esm/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // libs/enclavejs-runtime/src/session-executor.ts
8
+ // libs/runtime/src/session-executor.ts
9
9
  import { createSession } from "@enclave-vm/core";
10
10
  var SessionExecutor = class {
11
11
  sessionId;
@@ -120,7 +120,7 @@ function createSessionExecutor(options) {
120
120
  return new SessionExecutor(options);
121
121
  }
122
122
 
123
- // libs/enclavejs-runtime/src/runtime-worker.ts
123
+ // libs/runtime/src/runtime-worker.ts
124
124
  var DEFAULT_CONFIG = {
125
125
  port: 3001,
126
126
  host: "0.0.0.0",
@@ -306,7 +306,7 @@ function createRuntimeWorker(config) {
306
306
  return new RuntimeWorker(config);
307
307
  }
308
308
 
309
- // libs/enclavejs-runtime/src/channels/memory-channel.ts
309
+ // libs/runtime/src/channels/memory-channel.ts
310
310
  var MemoryChannel = class {
311
311
  eventQueue = [];
312
312
  messageHandlers = /* @__PURE__ */ new Set();
@@ -385,7 +385,7 @@ function createMemoryChannelPair() {
385
385
  return { client, server };
386
386
  }
387
387
 
388
- // libs/enclavejs-runtime/src/channels/websocket-channel.ts
388
+ // libs/runtime/src/channels/websocket-channel.ts
389
389
  import { serializeEvent } from "@enclave-vm/stream";
390
390
  var WebSocketChannel = class {
391
391
  config;
package/index.js CHANGED
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // libs/enclavejs-runtime/src/index.ts
20
+ // libs/runtime/src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  MemoryChannel: () => MemoryChannel,
@@ -32,7 +32,7 @@ __export(index_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(index_exports);
34
34
 
35
- // libs/enclavejs-runtime/src/session-executor.ts
35
+ // libs/runtime/src/session-executor.ts
36
36
  var import_core = require("@enclave-vm/core");
37
37
  var SessionExecutor = class {
38
38
  sessionId;
@@ -147,7 +147,7 @@ function createSessionExecutor(options) {
147
147
  return new SessionExecutor(options);
148
148
  }
149
149
 
150
- // libs/enclavejs-runtime/src/runtime-worker.ts
150
+ // libs/runtime/src/runtime-worker.ts
151
151
  var DEFAULT_CONFIG = {
152
152
  port: 3001,
153
153
  host: "0.0.0.0",
@@ -333,7 +333,7 @@ function createRuntimeWorker(config) {
333
333
  return new RuntimeWorker(config);
334
334
  }
335
335
 
336
- // libs/enclavejs-runtime/src/channels/memory-channel.ts
336
+ // libs/runtime/src/channels/memory-channel.ts
337
337
  var MemoryChannel = class {
338
338
  eventQueue = [];
339
339
  messageHandlers = /* @__PURE__ */ new Set();
@@ -412,7 +412,7 @@ function createMemoryChannelPair() {
412
412
  return { client, server };
413
413
  }
414
414
 
415
- // libs/enclavejs-runtime/src/channels/websocket-channel.ts
415
+ // libs/runtime/src/channels/websocket-channel.ts
416
416
  var import_stream = require("@enclave-vm/stream");
417
417
  var WebSocketChannel = class {
418
418
  config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enclave-vm/runtime",
3
- "version": "2.9.2",
3
+ "version": "2.10.0",
4
4
  "description": "Standalone runtime worker for EnclaveJS - deployable execution environment",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "homepage": "https://github.com/agentfront/enclave",
@@ -36,9 +36,9 @@
36
36
  "enclave-runtime": "./cli.js"
37
37
  },
38
38
  "dependencies": {
39
- "@enclave-vm/types": "2.9.2",
40
- "@enclave-vm/stream": "2.9.2",
41
- "@enclave-vm/core": "2.9.2"
39
+ "@enclave-vm/types": "2.10.0",
40
+ "@enclave-vm/stream": "2.10.0",
41
+ "@enclave-vm/core": "2.10.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "ws": "^8.0.0"