@enclave-vm/broker 2.9.2 → 2.10.1

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/esm/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // libs/enclavejs-broker/src/tool-registry.ts
1
+ // libs/broker/src/tool-registry.ts
2
2
  import { z } from "zod";
3
3
  var ToolRegistry = class {
4
4
  tools;
@@ -210,7 +210,7 @@ function createToolRegistry() {
210
210
  return new ToolRegistry();
211
211
  }
212
212
 
213
- // libs/enclavejs-broker/src/broker-session.ts
213
+ // libs/broker/src/broker-session.ts
214
214
  import { generateSessionId, generateCallId, DEFAULT_SESSION_LIMITS } from "@enclave-vm/types";
215
215
  import { createSessionEmitter, Enclave } from "@enclave-vm/core";
216
216
  var BrokerSession = class {
@@ -490,7 +490,7 @@ function createBrokerSession(toolRegistry, config) {
490
490
  return new BrokerSession(toolRegistry, config);
491
491
  }
492
492
 
493
- // libs/enclavejs-broker/src/session-manager.ts
493
+ // libs/broker/src/session-manager.ts
494
494
  var SessionManager = class {
495
495
  sessions;
496
496
  toolRegistry;
@@ -665,7 +665,7 @@ function createSessionManager(toolRegistry, config) {
665
665
  return new SessionManager(toolRegistry, config);
666
666
  }
667
667
 
668
- // libs/enclavejs-broker/src/broker.ts
668
+ // libs/broker/src/broker.ts
669
669
  var Broker = class {
670
670
  toolRegistry;
671
671
  sessionManager;
@@ -910,7 +910,7 @@ function createBroker(config) {
910
910
  return new Broker(config);
911
911
  }
912
912
 
913
- // libs/enclavejs-broker/src/event-filter.ts
913
+ // libs/broker/src/event-filter.ts
914
914
  import { FilterMode, PatternType, DEFAULT_ALWAYS_ALLOW } from "@enclave-vm/types";
915
915
  import { minimatch } from "minimatch";
916
916
  var MAX_REGEX_INPUT_LENGTH = 1e4;
@@ -1136,7 +1136,7 @@ function createContentFilter(mode, pattern, patternType = PatternType.Regex) {
1136
1136
  };
1137
1137
  }
1138
1138
 
1139
- // libs/enclavejs-broker/src/http/session-handler.ts
1139
+ // libs/broker/src/http/session-handler.ts
1140
1140
  var SessionHandler = class {
1141
1141
  broker;
1142
1142
  cors;
@@ -1440,7 +1440,7 @@ function createSessionHandler(config) {
1440
1440
  return new SessionHandler(config);
1441
1441
  }
1442
1442
 
1443
- // libs/enclavejs-broker/src/http/express-adapter.ts
1443
+ // libs/broker/src/http/express-adapter.ts
1444
1444
  function adaptRequest(req) {
1445
1445
  const abortController = new AbortController();
1446
1446
  if (req.on && req.socket) {
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-broker/src/index.ts
20
+ // libs/broker/src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  Broker: () => Broker,
@@ -39,7 +39,7 @@ __export(index_exports, {
39
39
  });
40
40
  module.exports = __toCommonJS(index_exports);
41
41
 
42
- // libs/enclavejs-broker/src/tool-registry.ts
42
+ // libs/broker/src/tool-registry.ts
43
43
  var import_zod = require("zod");
44
44
  var ToolRegistry = class {
45
45
  tools;
@@ -251,7 +251,7 @@ function createToolRegistry() {
251
251
  return new ToolRegistry();
252
252
  }
253
253
 
254
- // libs/enclavejs-broker/src/broker-session.ts
254
+ // libs/broker/src/broker-session.ts
255
255
  var import_types = require("@enclave-vm/types");
256
256
  var import_core = require("@enclave-vm/core");
257
257
  var BrokerSession = class {
@@ -531,7 +531,7 @@ function createBrokerSession(toolRegistry, config) {
531
531
  return new BrokerSession(toolRegistry, config);
532
532
  }
533
533
 
534
- // libs/enclavejs-broker/src/session-manager.ts
534
+ // libs/broker/src/session-manager.ts
535
535
  var SessionManager = class {
536
536
  sessions;
537
537
  toolRegistry;
@@ -706,7 +706,7 @@ function createSessionManager(toolRegistry, config) {
706
706
  return new SessionManager(toolRegistry, config);
707
707
  }
708
708
 
709
- // libs/enclavejs-broker/src/broker.ts
709
+ // libs/broker/src/broker.ts
710
710
  var Broker = class {
711
711
  toolRegistry;
712
712
  sessionManager;
@@ -951,7 +951,7 @@ function createBroker(config) {
951
951
  return new Broker(config);
952
952
  }
953
953
 
954
- // libs/enclavejs-broker/src/event-filter.ts
954
+ // libs/broker/src/event-filter.ts
955
955
  var import_types2 = require("@enclave-vm/types");
956
956
  var import_minimatch = require("minimatch");
957
957
  var MAX_REGEX_INPUT_LENGTH = 1e4;
@@ -1177,7 +1177,7 @@ function createContentFilter(mode, pattern, patternType = import_types2.PatternT
1177
1177
  };
1178
1178
  }
1179
1179
 
1180
- // libs/enclavejs-broker/src/http/session-handler.ts
1180
+ // libs/broker/src/http/session-handler.ts
1181
1181
  var SessionHandler = class {
1182
1182
  broker;
1183
1183
  cors;
@@ -1481,7 +1481,7 @@ function createSessionHandler(config) {
1481
1481
  return new SessionHandler(config);
1482
1482
  }
1483
1483
 
1484
- // libs/enclavejs-broker/src/http/express-adapter.ts
1484
+ // libs/broker/src/http/express-adapter.ts
1485
1485
  function adaptRequest(req) {
1486
1486
  const abortController = new AbortController();
1487
1487
  if (req.on && req.socket) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enclave-vm/broker",
3
- "version": "2.9.2",
3
+ "version": "2.10.1",
4
4
  "description": "Tool broker and session management for the EnclaveJS streaming runtime",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "homepage": "https://github.com/agentfront/enclave",
@@ -34,10 +34,10 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@enclave-vm/types": "2.9.2",
38
- "@enclave-vm/stream": "2.9.2",
39
- "@enclave-vm/core": "2.9.2",
40
- "minimatch": "^10.0.1",
41
- "zod": "^4.1.13"
37
+ "@enclave-vm/types": "2.10.1",
38
+ "@enclave-vm/stream": "2.10.1",
39
+ "@enclave-vm/core": "2.10.1",
40
+ "minimatch": "^10.1.1",
41
+ "zod": "^4.3.6"
42
42
  }
43
43
  }