@opengeni/runtime 3.0.1-canary.4 → 3.0.1-canary.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.
package/dist/index.js CHANGED
@@ -255,7 +255,7 @@ import {
255
255
  workspaceEnvironmentInstructions,
256
256
  wrapAttemptToolDefinitions,
257
257
  wrapAttemptToolExecute
258
- } from "./chunk-7AAXNFI6.js";
258
+ } from "./chunk-UUHNGCVT.js";
259
259
  import {
260
260
  ActiveBackendUnresolvableError,
261
261
  BROWSER_CONTROL_ADMIN_TOKEN_FILE,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  prepareAgentTools
3
- } from "./chunk-7AAXNFI6.js";
3
+ } from "./chunk-UUHNGCVT.js";
4
4
  import "./chunk-FQM5VV5D.js";
5
5
  import "./chunk-FHGLYLBL.js";
6
6
  import "./chunk-GB763TSV.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/runtime",
3
- "version": "3.0.1-canary.4",
3
+ "version": "3.0.1-canary.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,16 +62,16 @@
62
62
  "@openai/agents": "0.14.3",
63
63
  "@openai/agents-core": "0.14.3",
64
64
  "@openai/agents-extensions": "0.14.3",
65
- "@opengeni/agent-proto": "^0.6.0-canary.9",
66
- "@opengeni/capabilities": "^0.3.4-canary.4",
67
- "@opengeni/codemode": "^0.5.9-canary.4",
68
- "@opengeni/codex": "^0.2.23-canary.6",
69
- "@opengeni/config": "^1.2.2-canary.4",
70
- "@opengeni/contracts": "^4.1.0-canary.4",
71
- "@opengeni/network": "^0.3.1-canary.21",
72
- "@opengeni/sdk": "^6.1.0-canary.4",
73
- "@opengeni/tool-gateway": "^0.1.10-canary.4",
74
- "@opengeni/xai-subscription": "^0.1.4-canary.21",
65
+ "@opengeni/agent-proto": "^0.6.0-canary.10",
66
+ "@opengeni/capabilities": "^0.3.4-canary.5",
67
+ "@opengeni/codemode": "^0.5.9-canary.5",
68
+ "@opengeni/codex": "^0.2.23-canary.7",
69
+ "@opengeni/config": "^1.2.2-canary.5",
70
+ "@opengeni/contracts": "^4.1.0-canary.5",
71
+ "@opengeni/network": "^0.3.1-canary.22",
72
+ "@opengeni/sdk": "^6.1.0-canary.5",
73
+ "@opengeni/tool-gateway": "^0.1.10-canary.5",
74
+ "@opengeni/xai-subscription": "^0.1.4-canary.22",
75
75
  "debug": "4.4.3",
76
76
  "modal": "0.9.0",
77
77
  "openai": "6.47.0",
package/src/index.ts CHANGED
@@ -3339,7 +3339,9 @@ function applyMcpApprovalPolicy(
3339
3339
  prefix: prefixedMcpToolName(server.id, ""),
3340
3340
  serverId: server.id,
3341
3341
  requireApproval:
3342
- server.requireApproval === true ? true : new Set(server.requireApproval as string[]),
3342
+ server.requireApproval === true
3343
+ ? true
3344
+ : new Set(Array.isArray(server.requireApproval) ? server.requireApproval : []),
3343
3345
  connectorBacked: Boolean(server.connectionRef),
3344
3346
  connectionId,
3345
3347
  };