@opengeni/worker-bundle 3.1.3-canary.38890816741001 → 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.
- package/dist/activities/agent-turn/admission.d.ts +1 -1
- package/dist/activities/agent-turn/secret-resolver.d.ts +4 -2
- package/dist/activities/types.d.ts +2 -1
- package/dist/{activities-control-ROJJNNTJ.js → activities-control-G2W4FEFP.js} +5 -4
- package/dist/{activities-control-ROJJNNTJ.js.map → activities-control-G2W4FEFP.js.map} +1 -1
- package/dist/{activities-turn-4SWYWKI5.js → activities-turn-CE2VIWIS.js} +15 -5
- package/dist/activities-turn-CE2VIWIS.js.map +1 -0
- package/dist/artifact-materializer-entry.js +0 -0
- package/dist/artifact-outbox-entry.js +0 -0
- package/dist/{chunk-NQDVJ6RI.js → chunk-5DF4V5RD.js} +4 -2
- package/dist/{chunk-NQDVJ6RI.js.map → chunk-5DF4V5RD.js.map} +1 -1
- package/dist/chunk-K225DMA7.js +85 -0
- package/dist/chunk-K225DMA7.js.map +1 -0
- package/dist/{chunk-6SHXF4SU.js → chunk-R5BHILMQ.js} +11 -4
- package/dist/chunk-R5BHILMQ.js.map +1 -0
- package/dist/{chunk-MVESOYFC.js → chunk-RSI63RZG.js} +5 -2
- package/dist/{chunk-MVESOYFC.js.map → chunk-RSI63RZG.js.map} +1 -1
- package/dist/external-vault-providers.d.ts +29 -0
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/{sandbox-lease-BJYU72N3.js → sandbox-lease-2IV3DNXR.js} +3 -3
- package/dist/sandbox-routing.d.ts +1 -0
- package/dist/workflow-bundle.js +1 -1
- package/package.json +27 -24
- package/src/activities/agent-turn/run.ts +6 -0
- package/src/activities/agent-turn/sandbox-establish.ts +2 -0
- package/src/activities/agent-turn/secret-resolver.ts +6 -0
- package/src/activities/sandbox-lease.ts +3 -0
- package/src/activities/types.ts +5 -1
- package/src/activity-services.ts +9 -1
- package/src/external-vault-providers.ts +136 -0
- package/src/index.ts +7 -1
- package/src/sandbox-routing.ts +3 -0
- package/dist/activities-turn-4SWYWKI5.js.map +0 -1
- package/dist/chunk-6SHXF4SU.js.map +0 -1
- /package/dist/{sandbox-lease-BJYU72N3.js.map → sandbox-lease-2IV3DNXR.js.map} +0 -0
|
@@ -111,7 +111,8 @@ import {
|
|
|
111
111
|
wakeSubscriptionCoreWaitersAndDeliver,
|
|
112
112
|
withFirstPartyTools,
|
|
113
113
|
withModelRoutePresentation
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-R5BHILMQ.js";
|
|
115
|
+
import "./chunk-K225DMA7.js";
|
|
115
116
|
import {
|
|
116
117
|
createFreshSandboxReadinessReplacementBudget,
|
|
117
118
|
establishSelfhostedTurnSession,
|
|
@@ -123,7 +124,7 @@ import {
|
|
|
123
124
|
waitForWarmSnapshot,
|
|
124
125
|
wrapLazyTurnBoxWithRouting,
|
|
125
126
|
wrapTurnBoxWithRouting
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-5DF4V5RD.js";
|
|
127
128
|
import {
|
|
128
129
|
StreamTimingMetrics,
|
|
129
130
|
makeMachineOpObserver,
|
|
@@ -205,7 +206,9 @@ function createAttemptVaultAccess(input) {
|
|
|
205
206
|
workspaceId: input.workspaceId,
|
|
206
207
|
subjectId: input.subjectId,
|
|
207
208
|
hostVaultProvider: input.hostVaultProvider ?? null,
|
|
208
|
-
onePasswordVaultProvider: input.onePasswordVaultProvider ?? null
|
|
209
|
+
onePasswordVaultProvider: input.onePasswordVaultProvider ?? null,
|
|
210
|
+
externalVaultProviders: input.externalVaultProviders ?? null,
|
|
211
|
+
...input.executionContext ? { executionContext: input.executionContext } : {}
|
|
209
212
|
}),
|
|
210
213
|
attemptBudget: createProviderCallBudget(VAULT_LIMITS.providerReadsPerAttempt)
|
|
211
214
|
};
|
|
@@ -16320,6 +16323,7 @@ async function establishTurnSandbox(deps) {
|
|
|
16320
16323
|
operationResourcePolicySupported: liveMachineEnrollment?.agentCapabilities.operationResourcePolicy === true,
|
|
16321
16324
|
operationCpuQuotaSupported: liveMachineEnrollment?.agentCapabilities.operationCpuQuota === true,
|
|
16322
16325
|
transactionalFsWriteSupported: liveMachineEnrollment?.agentCapabilities.transactionalFsWrite === true,
|
|
16326
|
+
browserControlHttpSupported: liveMachineEnrollment?.agentCapabilities.browserControlHttp === true,
|
|
16323
16327
|
// Carried for shared machines too: the audience can narrow to Only me
|
|
16324
16328
|
// mid-turn, and each operation then rechecks this authority.
|
|
16325
16329
|
...fileAuthoritySubjectId ? {
|
|
@@ -40879,7 +40883,13 @@ These are publication receipts for the human's earlier answer. Do not call the r
|
|
|
40879
40883
|
workspaceId: input.workspaceId,
|
|
40880
40884
|
subjectId: turn.initiatingHumanSubjectId ?? credentialSubjectId ?? null,
|
|
40881
40885
|
hostVaultProvider: connectionCredentials?.vaultProvider,
|
|
40882
|
-
onePasswordVaultProvider: resolvedServices.onePasswordVaultProvider
|
|
40886
|
+
onePasswordVaultProvider: resolvedServices.onePasswordVaultProvider,
|
|
40887
|
+
externalVaultProviders: resolvedServices.externalVaultProviders ?? null,
|
|
40888
|
+
executionContext: {
|
|
40889
|
+
sessionId: input.sessionId,
|
|
40890
|
+
turnId: turn.id,
|
|
40891
|
+
attemptId: input.attemptId
|
|
40892
|
+
}
|
|
40883
40893
|
});
|
|
40884
40894
|
const toolRuntime = await prepareTurnToolRuntime({
|
|
40885
40895
|
vaultAccess,
|
|
@@ -42524,4 +42534,4 @@ export {
|
|
|
42524
42534
|
createTurnActivities,
|
|
42525
42535
|
createTurnActivitiesFromServices
|
|
42526
42536
|
};
|
|
42527
|
-
//# sourceMappingURL=activities-turn-
|
|
42537
|
+
//# sourceMappingURL=activities-turn-CE2VIWIS.js.map
|