@opengeni/worker-bundle 3.2.2 → 3.4.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/dist/activities/agent-turn/admission.d.ts +1 -1
- package/dist/{activities-control-LC7WXEIX.js → activities-control-EWP3UDZP.js} +5 -5
- package/dist/{activities-turn-PEDPUZI4.js → activities-turn-COUX2R3A.js} +17 -4
- package/dist/activities-turn-COUX2R3A.js.map +1 -0
- package/dist/artifact-materializer-entry.js +1 -0
- package/dist/artifact-materializer-entry.js.map +1 -1
- package/dist/artifact-outbox-entry.js +3 -1
- package/dist/artifact-outbox-entry.js.map +1 -1
- package/dist/{chunk-5NNS4327.js → chunk-BX3KRGDM.js} +10 -4
- package/dist/{chunk-5NNS4327.js.map → chunk-BX3KRGDM.js.map} +1 -1
- package/dist/{chunk-NQDVJ6RI.js → chunk-PFCSGZGA.js} +10 -5
- package/dist/{chunk-NQDVJ6RI.js.map → chunk-PFCSGZGA.js.map} +1 -1
- package/dist/{chunk-O7HT4LHX.js → chunk-PG66GHGH.js} +3 -3
- package/dist/{chunk-436TOEBL.js → chunk-XUIWRRTY.js} +5 -4
- package/dist/chunk-XUIWRRTY.js.map +1 -0
- package/dist/editable-artifact-outbox-dispatcher.d.ts +2 -0
- package/dist/index.js +30 -5
- package/dist/index.js.map +1 -1
- package/dist/internal-maintenance.d.ts +3 -1
- package/dist/observability-metrics.d.ts +14 -0
- package/dist/{sandbox-lease-F47EDHHY.js → sandbox-lease-XBZWILZ3.js} +4 -4
- package/dist/sandbox-routing.d.ts +1 -0
- package/package.json +26 -26
- package/src/activities/agent-turn/run.ts +15 -0
- package/src/activities/agent-turn/sandbox-establish.ts +2 -0
- package/src/activity-services.ts +3 -0
- package/src/editable-artifact-materializer-service.ts +3 -0
- package/src/editable-artifact-outbox-dispatcher.ts +5 -0
- package/src/editable-artifact-outbox-service.ts +3 -0
- package/src/index.ts +6 -0
- package/src/internal-maintenance.ts +24 -0
- package/src/observability-metrics.ts +20 -3
- package/src/sandbox-routing.ts +6 -0
- package/dist/activities-turn-PEDPUZI4.js.map +0 -1
- package/dist/chunk-436TOEBL.js.map +0 -1
- /package/dist/{activities-control-LC7WXEIX.js.map → activities-control-EWP3UDZP.js.map} +0 -0
- /package/dist/{chunk-O7HT4LHX.js.map → chunk-PG66GHGH.js.map} +0 -0
- /package/dist/{sandbox-lease-F47EDHHY.js.map → sandbox-lease-XBZWILZ3.js.map} +0 -0
|
@@ -2227,7 +2227,8 @@ function wrapTurnBoxWithRouting(services, ids, established) {
|
|
|
2227
2227
|
enrollmentId: command.enrollmentId,
|
|
2228
2228
|
connectionInstanceId: command.connectionInstanceId,
|
|
2229
2229
|
opId: command.opId,
|
|
2230
|
-
command: command.command
|
|
2230
|
+
command: command.command,
|
|
2231
|
+
...command.abandoned ? { abandoned: true } : {}
|
|
2231
2232
|
});
|
|
2232
2233
|
return { commandId: adopted.id };
|
|
2233
2234
|
},
|
|
@@ -2462,7 +2463,8 @@ function wrapLazyTurnBoxWithRouting(services, ids, args) {
|
|
|
2462
2463
|
enrollmentId: command.enrollmentId,
|
|
2463
2464
|
connectionInstanceId: command.connectionInstanceId,
|
|
2464
2465
|
opId: command.opId,
|
|
2465
|
-
command: command.command
|
|
2466
|
+
command: command.command,
|
|
2467
|
+
...command.abandoned ? { abandoned: true } : {}
|
|
2466
2468
|
});
|
|
2467
2469
|
return { commandId: adopted.id };
|
|
2468
2470
|
},
|
|
@@ -2631,7 +2633,8 @@ function connectionBindingFor(services, enrollment) {
|
|
|
2631
2633
|
operationResourcePolicy: enrollment.operationPolicy,
|
|
2632
2634
|
operationResourcePolicySupported: enrollment.agentCapabilities.operationResourcePolicy === true,
|
|
2633
2635
|
operationCpuQuotaSupported: enrollment.agentCapabilities.operationCpuQuota === true,
|
|
2634
|
-
transactionalFsWriteSupported: enrollment.agentCapabilities.transactionalFsWrite === true
|
|
2636
|
+
transactionalFsWriteSupported: enrollment.agentCapabilities.transactionalFsWrite === true,
|
|
2637
|
+
browserControlHttpSupported: enrollment.agentCapabilities.browserControlHttp === true
|
|
2635
2638
|
};
|
|
2636
2639
|
}
|
|
2637
2640
|
async function resolveRoutedMachineConnection(db, ids, sandbox) {
|
|
@@ -2687,6 +2690,7 @@ async function establishSelfhostedTurnSession(services, args) {
|
|
|
2687
2690
|
operationResourcePolicySupported: args.operationResourcePolicySupported,
|
|
2688
2691
|
operationCpuQuotaSupported: args.operationCpuQuotaSupported,
|
|
2689
2692
|
transactionalFsWriteSupported: args.transactionalFsWriteSupported === true,
|
|
2693
|
+
browserControlHttpSupported: args.browserControlHttpSupported === true,
|
|
2690
2694
|
resolveOperationAdmission: async () => {
|
|
2691
2695
|
const current = await getLiveEnrollmentConnection(
|
|
2692
2696
|
db,
|
|
@@ -2731,7 +2735,8 @@ async function establishSelfhostedTurnSession(services, args) {
|
|
|
2731
2735
|
enrollmentId: command.enrollmentId,
|
|
2732
2736
|
connectionInstanceId: command.connectionInstanceId,
|
|
2733
2737
|
opId: command.opId,
|
|
2734
|
-
command: command.command
|
|
2738
|
+
command: command.command,
|
|
2739
|
+
...command.abandoned ? { abandoned: true } : {}
|
|
2735
2740
|
});
|
|
2736
2741
|
return { commandId: adopted.id };
|
|
2737
2742
|
}
|
|
@@ -2820,4 +2825,4 @@ export {
|
|
|
2820
2825
|
routingEnabled,
|
|
2821
2826
|
lazyProvisionEnabled
|
|
2822
2827
|
};
|
|
2823
|
-
//# sourceMappingURL=chunk-
|
|
2828
|
+
//# sourceMappingURL=chunk-PFCSGZGA.js.map
|