@opengeni/worker-bundle 3.2.2 → 3.3.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.
@@ -5,7 +5,7 @@ import {
5
5
  SandboxProvisionStageError,
6
6
  SandboxWarmingTimeoutError,
7
7
  sandboxProvisionFailureStage
8
- } from "./chunk-NQDVJ6RI.js";
8
+ } from "./chunk-5DF4V5RD.js";
9
9
  import {
10
10
  observabilityEventBusOptions
11
11
  } from "./chunk-5NNS4327.js";
@@ -8598,4 +8598,4 @@ export {
8598
8598
  codexUsageLimitFailurePayload,
8599
8599
  classifyClaudeProviderError
8600
8600
  };
8601
- //# sourceMappingURL=chunk-436TOEBL.js.map
8601
+ //# sourceMappingURL=chunk-R5BHILMQ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  publishDurableSessionEvents,
6
6
  putVersion1TarArchiveOrInline,
7
7
  warnDrainSnapshotFailure
8
- } from "./chunk-NQDVJ6RI.js";
8
+ } from "./chunk-5DF4V5RD.js";
9
9
  import {
10
10
  CONTROL_WORKER_MAX_CONCURRENT_ACTIVITIES,
11
11
  SANDBOX_REAPER_ACTIVITY_HEARTBEAT_INTERVAL_MS,
@@ -3746,4 +3746,4 @@ export {
3746
3746
  terminateProviderBox,
3747
3747
  sandboxLeaseTelemetryKey2 as sandboxLeaseTelemetryKey
3748
3748
  };
3749
- //# sourceMappingURL=chunk-O7HT4LHX.js.map
3749
+ //# sourceMappingURL=chunk-RSI63RZG.js.map
package/dist/index.js CHANGED
@@ -797,7 +797,7 @@ async function internalMaintenanceCadences(input) {
797
797
  assertSandboxReaperActivityTimeout(settings);
798
798
  const periodMs = settings.sandboxLeaseReaperPeriodMs;
799
799
  const lifecycleQueue = sandboxLifecycleTaskQueue(taskQueue);
800
- const sandbox = await import("./sandbox-lease-F47EDHHY.js");
800
+ const sandbox = await import("./sandbox-lease-2IV3DNXR.js");
801
801
  if (jobs.has("sandbox-lease-reaper")) {
802
802
  const { SANDBOX_CHECKPOINT_GC_CLAIM_TTL_MS } = sandbox;
803
803
  cadences.push({
@@ -1437,7 +1437,7 @@ async function createDefaultWorkerActivities(role, dependencies = {}) {
1437
1437
  if (dependencies.objectStorage == null) {
1438
1438
  prepareObjectStorageProvider(dependencies.settings ?? getSettings());
1439
1439
  }
1440
- return role === "control" ? (await import("./activities-control-LC7WXEIX.js")).createControlActivities(dependencies) : (await import("./activities-turn-PEDPUZI4.js")).createTurnActivities(dependencies);
1440
+ return role === "control" ? (await import("./activities-control-G2W4FEFP.js")).createControlActivities(dependencies) : (await import("./activities-turn-CE2VIWIS.js")).createTurnActivities(dependencies);
1441
1441
  }
1442
1442
  function resolveOpenGeniWorkflowDefinition(moduleUrl = import.meta.url) {
1443
1443
  const modulePath = fileURLToPath(moduleUrl).replaceAll("\\", "/");
@@ -36,8 +36,8 @@ import {
36
36
  sandboxLeaseTelemetryKey,
37
37
  terminateProviderBox,
38
38
  verifyDockerDrainCaptureFence
39
- } from "./chunk-O7HT4LHX.js";
40
- import "./chunk-NQDVJ6RI.js";
39
+ } from "./chunk-RSI63RZG.js";
40
+ import "./chunk-5DF4V5RD.js";
41
41
  import "./chunk-24GP3BX5.js";
42
42
  import "./chunk-5NNS4327.js";
43
43
  import "./chunk-W2QSM5HR.js";
@@ -81,4 +81,4 @@ export {
81
81
  terminateProviderBox,
82
82
  verifyDockerDrainCaptureFence
83
83
  };
84
- //# sourceMappingURL=sandbox-lease-F47EDHHY.js.map
84
+ //# sourceMappingURL=sandbox-lease-2IV3DNXR.js.map
@@ -183,6 +183,7 @@ export type SelfhostedTurnSessionArgs = {
183
183
  operationCpuQuotaSupported: boolean;
184
184
  /** Feature advertisement only; refreshed by exact live admission for each operation. */
185
185
  transactionalFsWriteSupported?: boolean;
186
+ browserControlHttpSupported?: boolean;
186
187
  /** The active pointer's epoch — the control-op fence echoed to the agent. */
187
188
  epoch: number;
188
189
  /** The run's declared sandbox environment (the SAME object fed to buildAgent +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/worker-bundle",
3
- "version": "3.2.2",
3
+ "version": "3.3.0",
4
4
  "description": "Opengeni worker entry and reusable embedded lifecycle, shipped with a release-coherent pre-bundled Temporal workflow artifact.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -56,31 +56,31 @@
56
56
  "@1password/sdk": "0.5.0",
57
57
  "@keeper-security/secrets-manager-core": "17.6.0",
58
58
  "@llamaindex/liteparse": "2.14.2",
59
- "@opengeni/agent-proto": "3.2.2",
60
- "@opengeni/capabilities": "3.2.2",
61
- "@opengeni/codemode": "3.2.2",
62
- "@opengeni/codex": "3.2.2",
63
- "@opengeni/config": "3.2.2",
64
- "@opengeni/contracts": "3.2.2",
65
- "@opengeni/core": "3.2.2",
66
- "@opengeni/db": "3.2.2",
67
- "@opengeni/documents": "3.2.2",
68
- "@opengeni/events": "3.2.2",
69
- "@opengeni/github": "3.2.2",
70
- "@opengeni/interaction": "3.2.2",
71
- "@opengeni/jev": "3.2.2",
72
- "@opengeni/network": "3.2.2",
73
- "@opengeni/observability": "3.2.2",
74
- "@opengeni/runtime": "3.2.2",
75
- "@opengeni/sdk": "3.2.2",
76
- "@opengeni/storage": "3.2.2",
77
- "@opengeni/subscriptions": "3.2.2",
78
- "@opengeni/tool-gateway": "3.2.2",
79
- "@opengeni/vaults": "3.2.2",
80
- "@opengeni/vaults-keeper": "3.2.2",
81
- "@opengeni/vaults-onepassword": "3.2.2",
82
- "@opengeni/vaults-protonpass": "3.2.2",
83
- "@opengeni/xai-subscription": "3.2.2",
59
+ "@opengeni/agent-proto": "3.3.0",
60
+ "@opengeni/capabilities": "3.3.0",
61
+ "@opengeni/codemode": "3.3.0",
62
+ "@opengeni/codex": "3.3.0",
63
+ "@opengeni/config": "3.3.0",
64
+ "@opengeni/contracts": "3.3.0",
65
+ "@opengeni/core": "3.3.0",
66
+ "@opengeni/db": "3.3.0",
67
+ "@opengeni/documents": "3.3.0",
68
+ "@opengeni/events": "3.3.0",
69
+ "@opengeni/github": "3.3.0",
70
+ "@opengeni/interaction": "3.3.0",
71
+ "@opengeni/jev": "3.3.0",
72
+ "@opengeni/network": "3.3.0",
73
+ "@opengeni/observability": "3.3.0",
74
+ "@opengeni/runtime": "3.3.0",
75
+ "@opengeni/sdk": "3.3.0",
76
+ "@opengeni/storage": "3.3.0",
77
+ "@opengeni/subscriptions": "3.3.0",
78
+ "@opengeni/tool-gateway": "3.3.0",
79
+ "@opengeni/vaults": "3.3.0",
80
+ "@opengeni/vaults-keeper": "3.3.0",
81
+ "@opengeni/vaults-onepassword": "3.3.0",
82
+ "@opengeni/vaults-protonpass": "3.3.0",
83
+ "@opengeni/xai-subscription": "3.3.0",
84
84
  "@temporalio/activity": "^1.17.0",
85
85
  "@temporalio/client": "^1.17.0",
86
86
  "@temporalio/worker": "^1.17.0",
@@ -542,6 +542,8 @@ export async function establishTurnSandbox(deps: EstablishTurnSandboxDeps): Prom
542
542
  liveMachineEnrollment?.agentCapabilities.operationCpuQuota === true,
543
543
  transactionalFsWriteSupported:
544
544
  liveMachineEnrollment?.agentCapabilities.transactionalFsWrite === true,
545
+ browserControlHttpSupported:
546
+ liveMachineEnrollment?.agentCapabilities.browserControlHttp === true,
545
547
  // Carried for shared machines too: the audience can narrow to Only me
546
548
  // mid-turn, and each operation then rechecks this authority.
547
549
  ...(fileAuthoritySubjectId
@@ -1542,6 +1542,7 @@ export type SelfhostedTurnSessionArgs = {
1542
1542
  operationCpuQuotaSupported: boolean;
1543
1543
  /** Feature advertisement only; refreshed by exact live admission for each operation. */
1544
1544
  transactionalFsWriteSupported?: boolean;
1545
+ browserControlHttpSupported?: boolean;
1545
1546
  /** The active pointer's epoch — the control-op fence echoed to the agent. */
1546
1547
  epoch: number;
1547
1548
  /** The run's declared sandbox environment (the SAME object fed to buildAgent +
@@ -1618,6 +1619,7 @@ export function connectionBindingFor(
1618
1619
  operationResourcePolicySupported: enrollment.agentCapabilities.operationResourcePolicy === true,
1619
1620
  operationCpuQuotaSupported: enrollment.agentCapabilities.operationCpuQuota === true,
1620
1621
  transactionalFsWriteSupported: enrollment.agentCapabilities.transactionalFsWrite === true,
1622
+ browserControlHttpSupported: enrollment.agentCapabilities.browserControlHttp === true,
1621
1623
  };
1622
1624
  }
1623
1625
 
@@ -1693,6 +1695,7 @@ export async function establishSelfhostedTurnSession(
1693
1695
  operationResourcePolicySupported: args.operationResourcePolicySupported,
1694
1696
  operationCpuQuotaSupported: args.operationCpuQuotaSupported,
1695
1697
  transactionalFsWriteSupported: args.transactionalFsWriteSupported === true,
1698
+ browserControlHttpSupported: args.browserControlHttpSupported === true,
1696
1699
  resolveOperationAdmission: async () => {
1697
1700
  // The machine's audience can change in place during a turn. Read the
1698
1701
  // current scope on every admitted operation: a machine that is Only me now