@wildo-ai/platform-config-lib 1.1.13 → 1.1.15

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.
Files changed (60) hide show
  1. package/dist/esm/bootstrap/application-scheduled-jobs.contracts.d.ts +187 -0
  2. package/dist/esm/bootstrap/application-scheduled-jobs.contracts.d.ts.map +1 -0
  3. package/dist/esm/bootstrap/application-scheduled-jobs.contracts.js +250 -0
  4. package/dist/esm/bootstrap/application-scheduled-jobs.contracts.js.map +1 -0
  5. package/dist/esm/bootstrap/minion-database-queue-confinement.contracts.d.ts +41 -0
  6. package/dist/esm/bootstrap/minion-database-queue-confinement.contracts.d.ts.map +1 -0
  7. package/dist/esm/bootstrap/minion-database-queue-confinement.contracts.js +53 -0
  8. package/dist/esm/bootstrap/minion-database-queue-confinement.contracts.js.map +1 -0
  9. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +12 -0
  10. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  11. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +12 -0
  12. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  13. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +64 -0
  14. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -1
  15. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +49 -0
  16. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -1
  17. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +23 -2
  18. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
  19. package/dist/esm/bootstrap/runtime-backing-service-access.js +23 -4
  20. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
  21. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts +14 -0
  22. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
  23. package/dist/esm/bootstrap/runtime-topology.contracts.js +24 -0
  24. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  25. package/dist/esm/index.d.ts +2 -0
  26. package/dist/esm/index.d.ts.map +1 -1
  27. package/dist/esm/index.js +2 -0
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/esm/key-management/approval-seal-verifier.d.ts +72 -2
  30. package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
  31. package/dist/esm/key-management/approval-seal-verifier.js +102 -0
  32. package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
  33. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +1 -1
  34. package/dist/esm/pnpm-settings/application-pnpm-settings.js +1 -1
  35. package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -1
  36. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
  37. package/dist/esm/project-config/define-infra-env-config.js +12 -1
  38. package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
  39. package/dist/esm/project-config/hosted-infra-env-config.js +8 -1
  40. package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
  41. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
  42. package/dist/esm/project-config/provider-companion-discovery.js +1 -0
  43. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
  44. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +23 -0
  45. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
  46. package/dist/esm/project-config/provider-runtime-artifacts.js +68 -5
  47. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
  48. package/dist/esm/project-config/shared/csp-defaults.d.ts +7 -3
  49. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
  50. package/dist/esm/project-config/shared/csp-defaults.js +10 -4
  51. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
  52. package/dist/esm/project-config/shared/environment.schemas.d.ts +52 -6
  53. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  54. package/dist/esm/project-config/shared/environment.schemas.js +80 -6
  55. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  56. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +8 -0
  57. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
  58. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
  59. package/dist/tsconfig.build.tsbuildinfo +1 -1
  60. package/package.json +8 -8
@@ -115,8 +115,10 @@ export declare const SaasRuntimeProvidersArtifactSchema: z.ZodObject<{
115
115
  basePackageVersion: z.ZodOptional<z.ZodString>;
116
116
  }, z.core.$strict>>>>;
117
117
  providerProcessingRegions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
118
+ providerFrameOrigins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
118
119
  providerDataResidency: z.ZodOptional<z.ZodObject<{
119
120
  territories: z.ZodArray<z.ZodString>;
121
+ storedAtRestTerritories: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
122
  choices: z.ZodRecord<z.ZodString, z.ZodObject<{
121
123
  deploymentModel: z.ZodEnum<typeof import("@wildo-ai/saas-models").ProviderDeploymentModel>;
122
124
  processingRegion: z.ZodOptional<z.ZodString>;
@@ -251,6 +253,8 @@ export declare const SaasRuntimeProvidersArtifactSchema: z.ZodObject<{
251
253
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").ProviderProcessingRegionReachKind.ACCOUNT_RESIDENCY>;
252
254
  }, z.core.$strict>], "kind">>>;
253
255
  processingRegionTerritories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
256
+ storageRegionTerritories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
257
+ storageRegionConditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
254
258
  modelIdRouting: z.ZodOptional<z.ZodObject<{
255
259
  routingPrefixes: z.ZodArray<z.ZodString>;
256
260
  admittedByRegion: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
@@ -304,6 +308,13 @@ export declare function materializeSaasProviderRuntimeArtifacts(config: Pick<Wil
304
308
  * every `wildo` caller passes the walk's answer, or `lock check` and `config sync` would disagree.
305
309
  */
306
310
  admittedProviderPackages?: readonly AdmittedProviderPackage[];
311
+ /**
312
+ * The environment's `secrets.json → providerEnv` (variable name → value). Read ONLY for a vendor's slots its
313
+ * contract marks `holdsBrowserPublicValue`, whose value fills the frontend provider's public-config key of the same
314
+ * slug when the application supplied none (PostHog's project key). Absent, a browser key comes from
315
+ * `providerConfigurations` alone. The artifacts and their `sourceDigest` carry it; the lock section never does.
316
+ */
317
+ providerEnvironmentValues?: Readonly<Record<string, string>>;
307
318
  }): MaterializedSaasProviderRuntimeArtifacts;
308
319
  /**
309
320
  * Refuses a frontend captcha that no backend verifies.
@@ -358,6 +369,11 @@ export declare function assertProviderProcessingInsideDataResidency(input: {
358
369
  }): void;
359
370
  /** Every provider ref a data-serving scope declares, sorted. See {@link SCOPE_SERVES_APPLICATION_DATA}. */
360
371
  export declare function dataServingProviderRefs(scopes: SaasProvidersScopes): string[];
372
+ /**
373
+ * The frame origins of the given providers (#4002), from their contributions' `frontendFrameOrigins`, or `undefined` when
374
+ * none frames a page. Keyed by ref and sorted, so the artifact is stable.
375
+ */
376
+ export declare function materializeProviderFrameOrigins(contributions: readonly Pick<DiscoveredProviderCompanionContribution, 'ref' | 'frontendFrameOrigins'>[], providerRefs: readonly string[]): Record<string, string[]> | undefined;
361
377
  /** The region map restricted to the given refs, or `undefined` when none remain — the shape every per-host artifact carries. */
362
378
  export declare function narrowProviderProcessingRegions(regions: Readonly<Record<string, string>> | undefined, providerRefs: readonly string[]): Record<string, string> | undefined;
363
379
  export declare function selectScopedProviderRuntimeArtifact(artifact: SaasRuntimeProvidersArtifact, scopeKey: string): SaasRuntimeProvidersArtifact;
@@ -377,6 +393,13 @@ export declare function narrowRuntimeAugmentations(augmentations: SaasRuntimePro
377
393
  * `PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS`).
378
394
  */
379
395
  export declare function resolveFrontendServicesArtifactPath(saasRoot: string): string;
396
+ /**
397
+ * The frame origins the backend's providers declared (#4002), read from the materialized backend artifact: `providerRef`
398
+ * -> origins, empty when the artifact is missing (a clean checkout, before any sync) or records none. An artifact that
399
+ * no longer parses is refused with its remedy, like the frontend-services reader below, rather than read as "none":
400
+ * that would publish a policy blocking the signing frame.
401
+ */
402
+ export declare function loadMaterializedBackendProviderFrameOrigins(saasRoot: string): Readonly<Record<string, readonly string[]>>;
380
403
  /**
381
404
  * Read + project the materialized frontend-services artifact for the
382
405
  * given service key. Returns `undefined` if the artifact file is
@@ -1 +1 @@
1
- {"version":3,"file":"provider-runtime-artifacts.d.ts","sourceRoot":"","sources":["../../../src/project-config/provider-runtime-artifacts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAmBL,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EAEzC,KAAK,+BAA+B,EAEpC,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,4BAA4B,EAElC,MAAM,4CAA4C,CAAC;AAMpD,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAKL,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAI7C,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,+CAA+C,2EACc,CAAC;AAE3E,eAAO,MAAM,mCAAmC,oCAAoC,CAAC;AAErF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wCAAwC;;;;;;CAM3C,CAAC;AAEX;;;;;;GAMG;AACH,eAAO,MAAM,+CAA+C;;;;;;CAMlD,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG,MAAM,OAAO,wCAAwC,CAAC;AAEhG,eAAO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a,CAAC,MAAM,CAAC,CAAC;KAClC,CAAC,CAAC;CACJ,CAAC;AA0JF;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE;IAAE,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,oBAAoB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GAAG,SAAS,EACtI,eAAe,EAAE,SAAS,MAAM,EAAE,GACjC,OAAO,CAMT;AAyID;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kDAAkD,CAAC,KAAK,EAAE;IACxE,QAAQ,CAAC,SAAS,EAAE,wCAAwC,CAAC,WAAW,CAAC,CAAC;IAC1E,QAAQ,CAAC,OAAO,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAC7D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,GAAG,IAAI,CAUP;AAED,6HAA6H;AAC7H,wBAAgB,2CAA2C,CACzD,SAAS,EAAE,wCAAwC,CAAC,WAAW,CAAC,GAC/D,OAAO,CAGT"}
@@ -2,9 +2,10 @@ import { createHash } from 'node:crypto';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import { resolve as resolvePath } from 'node:path';
4
4
  import { z } from 'zod';
5
- import { assertFrontendProvidersServeOnlyDeclaredKeys, assertNoSecretValueInFrontendProviders, BUILTIN_PROVIDER_CAPABILITY, BUILTIN_PROVIDER_PROTOCOL, FRONTEND_PROVIDER_PUBLIC_CONFIG_KEY, FrontendProviderPublicConfigError, FrontendProvidersBlockSchema, overlayFrontendProviderPublicConfig, ProviderProcessingRegionSelectionStatus, resolveProviderConnectionRef, processingRegionSelectionBindsRuntime, resolveProviderProcessingRegionSelection, assessProviderProcessingAgainstDataResidency, dataResidencyRefusals, narrowRuntimeProviderDataResidency, RuntimeProviderDataResidencySchema, runtimeProviderDataResidencyFor, } from '@wildo-ai/saas-models';
5
+ import { assertFrontendProvidersServeOnlyDeclaredKeys, assertNoSecretValueInFrontendProviders, BUILTIN_PROVIDER_CAPABILITY, BUILTIN_PROVIDER_PROTOCOL, FRONTEND_PROVIDER_PUBLIC_CONFIG_KEY, FrontendProviderPublicConfigError, FrontendProvidersBlockSchema, overlayFrontendProviderPublicConfig, browserPublicProviderSecretValues, confidentialProviderSecretSlotNames, ProviderProcessingRegionSelectionStatus, resolveProviderConnectionRef, processingRegionSelectionBindsRuntime, resolveProviderProcessingRegionSelection, assessProviderProcessingAgainstDataResidency, dataResidencyRefusals, narrowRuntimeProviderDataResidency, RuntimeProviderDataResidencySchema, runtimeProviderDataResidencyFor, } from '@wildo-ai/saas-models';
6
6
  import { SaasLockfileProvidersSectionSchema, } from '../lockfile/wildo-saas-lock.shared.schemas.js';
7
7
  import { getDeclaredApplicationModuleIds, getServiceBoundApplicationModuleIds, } from './shared/application-modules.utils.js';
8
+ import { isRuntimeSecretEnvVarName } from '../bootstrap/runtime-secret-env.contracts.js';
8
9
  import { SaasProvidersScopesSchema, SaasProviderScopeSelectionSchema, } from './define-saas-config.js';
9
10
  import { resolveProviderBasePackage, selectOptedInProviderAugmentations, describeProviderRefClaimedByMoreThanOneImportPath, providerComplianceProfilesFromContributions, readSystemOfRecordFacetModuleSpecifier, } from './provider-companion-discovery.js';
10
11
  export const PROVIDER_RUNTIME_ARTIFACT_AUTOGENERATED_WARNING = 'AUTO-GENERATED FILE. DO NOT EDIT. Regenerate with `wildo config sync`.';
@@ -188,6 +189,15 @@ export const SaasRuntimeProvidersArtifactSchema = z.strictObject({
188
189
  * when none remain.
189
190
  */
190
191
  providerProcessingRegions: z.record(z.string().min(1), z.string().min(1)).optional(),
192
+ /**
193
+ * `providerRef` -> the origins of the vendor pages that provider shows inside the application's frontend (#4002), for
194
+ * the BACKEND's providers only: today the signing page `EmbeddedSigningFrame` frames. Read from each provider's
195
+ * companion contribution (`frontendFrameOrigins`), never restated, and read by `wildo dev sync-csp`, which adds them to
196
+ * the `frame-src` of the application's SaaS frontends. No runtime reads it: the engine checks a signing page against
197
+ * the module's own declaration. Absent when no backend provider frames a page, so every other application's artifact
198
+ * is byte-identical to before.
199
+ */
200
+ providerFrameOrigins: z.record(z.string().min(1), z.array(z.string().min(1)).min(1)).optional(),
191
201
  /**
192
202
  * The declared data residency and the choice of every provider in this artifact (#2294), for the hosts that load
193
203
  * providers to serve the application's data (backend, minions, node workers). Their provider loader re-applies the
@@ -260,6 +270,7 @@ config, options) {
260
270
  nodeWorkerKeys: options?.nodeWorkerKeys,
261
271
  scopes,
262
272
  providerConfigurations: config.providerConfigurations ?? {},
273
+ providerEnvironmentValues: options?.providerEnvironmentValues,
263
274
  });
264
275
  // #2294: a declared data residency refuses, before any artifact is written, a provider whose chosen region processes
265
276
  // outside it, whose places nothing states, or which a data-serving runtime declares with no choice saying where it
@@ -288,6 +299,7 @@ config, options) {
288
299
  nodeWorkerKeys: options?.nodeWorkerKeys,
289
300
  scopes,
290
301
  providerConfigurations: config.providerConfigurations ?? {},
302
+ providerEnvironmentValues: options?.providerEnvironmentValues,
291
303
  });
292
304
  return { artifacts, lockSection };
293
305
  }
@@ -413,6 +425,19 @@ function runtimeScopesOfKind(scopes, kind) {
413
425
  return Object.values(scopes[kind] ?? {});
414
426
  }
415
427
  }
428
+ /**
429
+ * The frame origins of the given providers (#4002), from their contributions' `frontendFrameOrigins`, or `undefined` when
430
+ * none frames a page. Keyed by ref and sorted, so the artifact is stable.
431
+ */
432
+ export function materializeProviderFrameOrigins(contributions, providerRefs) {
433
+ const origins = {};
434
+ for (const providerRef of [...providerRefs].sort((left, right) => left.localeCompare(right))) {
435
+ const declared = contributions.find((contribution) => contribution.ref === providerRef)?.frontendFrameOrigins ?? [];
436
+ if (declared.length > 0)
437
+ origins[providerRef] = [...new Set(declared)].sort((left, right) => left.localeCompare(right));
438
+ }
439
+ return Object.keys(origins).length === 0 ? undefined : origins;
440
+ }
416
441
  /** The region map restricted to the given refs, or `undefined` when none remain — the shape every per-host artifact carries. */
417
442
  export function narrowProviderProcessingRegions(regions, providerRefs) {
418
443
  const narrowed = Object.entries(regions ?? {}).filter(([providerRef]) => providerRefs.includes(providerRef));
@@ -484,6 +509,21 @@ export function narrowRuntimeAugmentations(augmentations, providerRefs) {
484
509
  export function resolveFrontendServicesArtifactPath(saasRoot) {
485
510
  return resolvePath(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.frontendServices);
486
511
  }
512
+ /**
513
+ * The frame origins the backend's providers declared (#4002), read from the materialized backend artifact: `providerRef`
514
+ * -> origins, empty when the artifact is missing (a clean checkout, before any sync) or records none. An artifact that
515
+ * no longer parses is refused with its remedy, like the frontend-services reader below, rather than read as "none":
516
+ * that would publish a policy blocking the signing frame.
517
+ */
518
+ export function loadMaterializedBackendProviderFrameOrigins(saasRoot) {
519
+ const artifactPath = resolvePath(saasRoot, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS.backend);
520
+ if (!existsSync(artifactPath))
521
+ return {};
522
+ const parsedArtifact = SaasRuntimeProvidersArtifactSchema.safeParse(JSON.parse(readFileSync(artifactPath, 'utf8')));
523
+ if (!parsedArtifact.success)
524
+ throw staleGeneratedArtifactError(artifactPath, parsedArtifact.error.issues);
525
+ return parsedArtifact.data.providerFrameOrigins ?? {};
526
+ }
487
527
  /**
488
528
  * Read + project the materialized frontend-services artifact for the
489
529
  * given service key. Returns `undefined` if the artifact file is
@@ -722,6 +762,7 @@ function materializeRuntimeArtifacts(input) {
722
762
  frontendServiceScopes: scopes.frontendServices ?? {},
723
763
  frontendServiceTypes,
724
764
  providerConfigurations,
765
+ providerEnvironmentValues: input.providerEnvironmentValues,
725
766
  });
726
767
  return pruneUndefined({
727
768
  backend: materializeRuntimeArtifactFile({
@@ -731,6 +772,7 @@ function materializeRuntimeArtifacts(input) {
731
772
  metadata: artifactMetadata.backend,
732
773
  processingRegions: input.processingRegions,
733
774
  dataResidency: input.dataResidency,
775
+ frameOrigins: materializeProviderFrameOrigins(discoveryContext.contributions, artifactMetadata.backend.providerRefs),
734
776
  // Only the HTTP-facing backend map uses public names. Static artifacts below
735
777
  // deliberately retain declaration keys for build-time scope selection.
736
778
  frontendProviderBootstraps: backendBootstraps && Object.fromEntries(Object.entries(backendBootstraps).map(([serviceKey, block]) => [input.frontendServiceNames[serviceKey], block])),
@@ -756,6 +798,7 @@ function materializeRuntimeArtifacts(input) {
756
798
  frontendServiceScopes: scopes.frontendServices,
757
799
  frontendServiceTypes,
758
800
  providerConfigurations,
801
+ providerEnvironmentValues: input.providerEnvironmentValues,
759
802
  }),
760
803
  scopes: mapRecord(scopes.frontendServices, materializeRuntimeScope),
761
804
  })
@@ -795,6 +838,7 @@ function materializeRuntimeArtifactFile(input) {
795
838
  systemOfRecordFacetModules: input.metadata.systemOfRecordFacetModules,
796
839
  providerRuntimeAugmentations: input.metadata.providerRuntimeAugmentations,
797
840
  providerProcessingRegions: narrowProviderProcessingRegions(input.processingRegions, input.metadata.providerRefs),
841
+ providerFrameOrigins: input.frameOrigins,
798
842
  providerDataResidency: input.dataResidency === undefined
799
843
  ? undefined
800
844
  : runtimeProviderDataResidencyFor({ ...input.dataResidency, providerRefs: input.metadata.providerRefs }),
@@ -831,7 +875,7 @@ export function frontendScopeEntryServes(entry, moduleProtocols) {
831
875
  || (entry.protocols ?? []).includes(BUILTIN_PROVIDER_PROTOCOL.FRONTEND_SDK);
832
876
  }
833
877
  function materializeFrontendProviderBootstraps(input) {
834
- const { discoveredContributions, frontendServiceScopes, frontendServiceTypes, providerConfigurations } = input;
878
+ const { discoveredContributions, frontendServiceScopes, frontendServiceTypes, providerConfigurations, providerEnvironmentValues } = input;
835
879
  const entries = Object.entries(frontendServiceScopes).map(([serviceKey, scope]) => {
836
880
  const serviceType = frontendServiceTypes[serviceKey];
837
881
  if (!serviceType) {
@@ -864,6 +908,7 @@ function materializeFrontendProviderBootstraps(input) {
864
908
  entry: moduleEntry,
865
909
  supplied: providerConfigurations[providerRef]?.[FRONTEND_PROVIDER_PUBLIC_CONFIG_KEY],
866
910
  discoveredContributions,
911
+ providerEnvironmentValues,
867
912
  }),
868
913
  ]];
869
914
  }));
@@ -886,18 +931,34 @@ function materializeFrontendProviderBootstraps(input) {
886
931
  * list. Returning early when nothing was supplied skipped both. Secret VALUES are not compared here —
887
932
  * this walk holds no secrets — but by the one publisher of these artifacts before it writes them
888
933
  * ({@link assertFrontendProviderBootstrapsCarryNoSecretValue}).
934
+ *
935
+ * The one secret value this walk may READ is a browser-public slot's: the same vendor's backend slots,
936
+ * filtered by `browserPublicProviderSecretValues` to those whose contract declares `holdsBrowserPublicValue`,
937
+ * looked up in the environment's `providerEnv`. Their values fill the public-config keys of the same slug,
938
+ * so a per-environment browser key lives in `secrets.json` and never in a committed config file. The
939
+ * screen admits them for the same declaration, so it cannot refuse what this fills.
889
940
  */
890
941
  function applyApplicationPublicConfig(input) {
891
- const { serviceKey, providerRef, entry, supplied, discoveredContributions } = input;
892
- const forbiddenKeys = new Set(discoveredContributions
942
+ const { serviceKey, providerRef, entry, supplied, discoveredContributions, providerEnvironmentValues } = input;
943
+ const vendorSecretSlots = discoveredContributions
893
944
  .filter((contribution) => contribution.ref === providerRef
894
945
  && contribution.runtimeTargets.some((target) => target.kind !== 'frontendService'))
895
- .flatMap((contribution) => contribution.secretsContractShape.flatMap((slot) => [slot.slug, slot.envVarName])));
946
+ .flatMap((contribution) => contribution.secretsContractShape);
947
+ const forbiddenKeys = confidentialProviderSecretSlotNames(vendorSecretSlots);
896
948
  try {
949
+ const environmentValues = providerEnvironmentValues === undefined
950
+ ? undefined
951
+ : browserPublicProviderSecretValues({
952
+ providerRef,
953
+ slots: vendorSecretSlots,
954
+ readValue: (envVarName) => providerEnvironmentValues[envVarName],
955
+ isFrameworkSecretName: isRuntimeSecretEnvVarName,
956
+ });
897
957
  const publicConfig = overlayFrontendProviderPublicConfig({
898
958
  providerRef,
899
959
  authored: entry.publicConfig,
900
960
  supplied,
961
+ environmentValues,
901
962
  declaredKeys: entry.publicConfigKeys,
902
963
  forbiddenKeys,
903
964
  });
@@ -1152,6 +1213,7 @@ function buildArtifactMetadata(input) {
1152
1213
  frontendServiceScopes: scopes.frontendServices ?? {},
1153
1214
  frontendServiceTypes,
1154
1215
  providerConfigurations,
1216
+ providerEnvironmentValues: input.providerEnvironmentValues,
1155
1217
  }),
1156
1218
  },
1157
1219
  runtimeLockSection: lockSection.runtimeScopes.backend ?? {},
@@ -1195,6 +1257,7 @@ function buildArtifactMetadata(input) {
1195
1257
  frontendServiceScopes: scopes.frontendServices ?? {},
1196
1258
  frontendServiceTypes,
1197
1259
  providerConfigurations,
1260
+ providerEnvironmentValues: input.providerEnvironmentValues,
1198
1261
  }),
1199
1262
  runtimeLockSection: lockSection.runtimeScopes.frontendServices ?? {},
1200
1263
  scopes,