@opengeni/worker-bundle 3.1.2 → 3.2.2

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.
@@ -6,9 +6,9 @@
6
6
  */
7
7
  import { type Settings } from "@opengeni/config";
8
8
  import { type ResolvedAgentConfig, type SecretResolver } from "@opengeni/contracts";
9
- import { type OnePasswordVaultProviderFactory } from "@opengeni/core";
9
+ import { type OnePasswordVaultProviderFactory, type ExternalVaultProviderFactories } from "@opengeni/core";
10
10
  import { type Database } from "@opengeni/db";
11
- import { type ProviderCallBudget, type VaultProvider, type VaultProviderRegistry } from "@opengeni/vaults";
11
+ import { type ProviderCallBudget, type VaultProvider, type VaultProviderRegistry, type VaultProviderAuthority } from "@opengeni/vaults";
12
12
  /**
13
13
  * Q-17: a frozen configuration without the key reads `from === "all"` (the
14
14
  * contracts parse fills it); legacy null-config sessions get secrets on.
@@ -30,6 +30,8 @@ export declare function createAttemptVaultAccess(input: {
30
30
  subjectId: string | null;
31
31
  hostVaultProvider: VaultProvider | null | undefined;
32
32
  onePasswordVaultProvider: OnePasswordVaultProviderFactory | null | undefined;
33
+ externalVaultProviders?: ExternalVaultProviderFactories | null;
34
+ executionContext?: Pick<VaultProviderAuthority, "sessionId" | "turnId" | "attemptId" | "siteId">;
33
35
  }): AttemptVaultAccess;
34
36
  type AttemptSecretInput = {
35
37
  db: Database;
@@ -7,7 +7,7 @@ import type { Observability } from "@opengeni/observability";
7
7
  import type { OpenGeniRuntime } from "@opengeni/runtime";
8
8
  import type { ObjectStorage } from "@opengeni/storage";
9
9
  import type { VaultConnectionCredentialsPort } from "@opengeni/vaults";
10
- import type { OnePasswordVaultProviderFactory } from "@opengeni/core";
10
+ import type { ExternalVaultProviderFactories, OnePasswordVaultProviderFactory } from "@opengeni/core";
11
11
  export type WakeSessionWorkflowSignal = (input: {
12
12
  accountId: string;
13
13
  workspaceId: string;
@@ -86,6 +86,7 @@ export type SharedActivityServices = {
86
86
  * `@opengeni/vaults-onepassword`); null leaves 1Password vaults unavailable.
87
87
  */
88
88
  onePasswordVaultProvider?: OnePasswordVaultProviderFactory | null;
89
+ externalVaultProviders?: ExternalVaultProviderFactories | null;
89
90
  /** Standalone, default-off personal GitHub smart-HTTP broker consumer. */
90
91
  personalGitHubCredentials?: ConnectionCredentialsPort["gitCredentials"] | null;
91
92
  };
@@ -22,7 +22,8 @@ import {
22
22
  withFirstPartyTools,
23
23
  workflowIdForSession,
24
24
  writeSessionUsageReceipts
25
- } from "./chunk-6SHXF4SU.js";
25
+ } from "./chunk-436TOEBL.js";
26
+ import "./chunk-K225DMA7.js";
26
27
  import {
27
28
  agentRunAdmissionDenial,
28
29
  createSiteAuthMaintenanceActivities
@@ -30,7 +31,7 @@ import {
30
31
  import {
31
32
  createBrowserDeadlineCheckpointActivities,
32
33
  createSandboxLeaseActivities
33
- } from "./chunk-MVESOYFC.js";
34
+ } from "./chunk-O7HT4LHX.js";
34
35
  import "./chunk-NQDVJ6RI.js";
35
36
  import "./chunk-24GP3BX5.js";
36
37
  import {
@@ -6142,4 +6143,4 @@ export {
6142
6143
  createControlActivities,
6143
6144
  createControlActivitiesFromServices
6144
6145
  };
6145
- //# sourceMappingURL=activities-control-ROJJNNTJ.js.map
6146
+ //# sourceMappingURL=activities-control-LC7WXEIX.js.map