@wildo-ai/platform-config-lib 1.1.9 → 1.1.11
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/esm/_unimplemented/unimplemented-field-warning.d.ts +1 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.js +1 -1
- package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +1 -1
- package/dist/esm/blueprint/anchored-region.d.ts +83 -0
- package/dist/esm/blueprint/anchored-region.d.ts.map +1 -0
- package/dist/esm/blueprint/anchored-region.js +263 -0
- package/dist/esm/blueprint/anchored-region.js.map +1 -0
- package/dist/esm/blueprint/blueprint.schemas.d.ts +689 -0
- package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -0
- package/dist/esm/blueprint/blueprint.schemas.js +638 -0
- package/dist/esm/blueprint/blueprint.schemas.js.map +1 -0
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts +13 -1
- package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.contracts.js +6 -0
- package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts +21 -3
- package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
- package/dist/esm/bootstrap/bootstrap.schemas.js +14 -3
- package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +121 -0
- package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js +129 -0
- package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
- package/dist/esm/bootstrap/runtime-response-integrity.d.ts +249 -0
- package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-response-integrity.js +353 -0
- package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -0
- package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts +32 -0
- package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -0
- package/dist/esm/bootstrap/runtime-secret-env.contracts.js +43 -0
- package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -0
- package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts +51 -0
- package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -0
- package/dist/esm/canonical-json/rfc8785-canonical-json.js +231 -0
- package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -0
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +15 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/key-management/approval-seal-verifier.d.ts +216 -0
- package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -0
- package/dist/esm/key-management/approval-seal-verifier.js +233 -0
- package/dist/esm/key-management/approval-seal-verifier.js.map +1 -0
- package/dist/esm/key-management/approval-seal.contracts.d.ts +131 -0
- package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/approval-seal.contracts.js +115 -0
- package/dist/esm/key-management/approval-seal.contracts.js.map +1 -0
- package/dist/esm/key-management/data-key.contracts.d.ts +108 -0
- package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/data-key.contracts.js +54 -0
- package/dist/esm/key-management/data-key.contracts.js.map +1 -0
- package/dist/esm/key-management/es256-jws.d.ts +60 -0
- package/dist/esm/key-management/es256-jws.d.ts.map +1 -0
- package/dist/esm/key-management/es256-jws.js +135 -0
- package/dist/esm/key-management/es256-jws.js.map +1 -0
- package/dist/esm/key-management/key-provider.spi.d.ts +151 -0
- package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -0
- package/dist/esm/key-management/key-provider.spi.js +38 -0
- package/dist/esm/key-management/key-provider.spi.js.map +1 -0
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts +93 -0
- package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/keyring-rotation.contracts.js +101 -0
- package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -0
- package/dist/esm/key-management/keyring-status.contracts.d.ts +66 -0
- package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/keyring-status.contracts.js +45 -0
- package/dist/esm/key-management/keyring-status.contracts.js.map +1 -0
- package/dist/esm/key-management/signature-request.contracts.d.ts +95 -0
- package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/signature-request.contracts.js +96 -0
- package/dist/esm/key-management/signature-request.contracts.js.map +1 -0
- package/dist/esm/key-management/signing-log-export.contracts.d.ts +216 -0
- package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/signing-log-export.contracts.js +268 -0
- package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -0
- package/dist/esm/key-management/vault-custody.contracts.d.ts +55 -0
- package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -0
- package/dist/esm/key-management/vault-custody.contracts.js +88 -0
- package/dist/esm/key-management/vault-custody.contracts.js.map +1 -0
- package/dist/esm/lockfile/lockfile-io.d.ts +7 -9
- package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
- package/dist/esm/lockfile/lockfile-io.js +23 -22
- package/dist/esm/lockfile/lockfile-io.js.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.d.ts +17 -14
- package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
- package/dist/esm/lockfile/materialize-infra-section.js +9 -9
- package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +26 -2
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +27 -2
- package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
- package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js +9 -2
- package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
- package/dist/esm/project-config/application-served-public-documents.loader.d.ts +26 -0
- package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -0
- package/dist/esm/project-config/application-served-public-documents.loader.js +78 -0
- package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -0
- package/dist/esm/project-config/define-infra-env-config.d.ts +236 -15
- package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-infra-env-config.js +104 -91
- package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/define-saas-config.d.ts +133 -3
- package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
- package/dist/esm/project-config/define-saas-config.js +170 -19
- package/dist/esm/project-config/define-saas-config.js.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
- package/dist/esm/project-config/hosted-infra-env-config.js +3 -0
- package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
- package/dist/esm/project-config/index.d.ts +3 -0
- package/dist/esm/project-config/index.d.ts.map +1 -1
- package/dist/esm/project-config/index.js +3 -0
- package/dist/esm/project-config/index.js.map +1 -1
- package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
- package/dist/esm/project-config/npm-version-range.js +39 -16
- package/dist/esm/project-config/npm-version-range.js.map +1 -1
- package/dist/esm/project-config/owning-package-tsconfig.d.ts +15 -0
- package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -0
- package/dist/esm/project-config/owning-package-tsconfig.js +29 -0
- package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -0
- package/dist/esm/project-config/provider-companion-discovery.d.ts +4 -4
- package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
- package/dist/esm/project-config/provider-companion-discovery.js +13 -9
- package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts +32 -3
- package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
- package/dist/esm/project-config/provider-runtime-artifacts.js +67 -13
- package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.d.ts +4 -5
- package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp-defaults.js +4 -5
- package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.d.ts +1 -2
- package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/csp.schemas.js +1 -2
- package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.d.ts +6 -0
- package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/environment.schemas.js +8 -1
- package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -0
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +3 -0
- package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +4 -0
- package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
- package/dist/esm/project-config/shared/minion-resource-access.validation.js +6 -2
- package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +250 -0
- package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -0
- package/dist/esm/project-config/shared/platform-key-management.schemas.js +194 -0
- package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -0
- package/dist/esm/registry/index.d.ts +1 -0
- package/dist/esm/registry/index.d.ts.map +1 -1
- package/dist/esm/registry/index.js +1 -0
- package/dist/esm/registry/index.js.map +1 -1
- package/dist/esm/registry/local-checkout-source.d.ts +22 -2
- package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
- package/dist/esm/registry/local-checkout-source.js +66 -3
- package/dist/esm/registry/local-checkout-source.js.map +1 -1
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +10 -0
- package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-artifact.schemas.d.ts +23 -0
- package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.d.ts +336 -18
- package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-manifest.schemas.js +245 -19
- package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
- package/dist/esm/registry/module-search.schemas.d.ts +2 -0
- package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
- package/dist/esm/registry/module-search.schemas.js +14 -1
- package/dist/esm/registry/module-search.schemas.js.map +1 -1
- package/dist/esm/registry/registry-errors.d.ts +22 -2
- package/dist/esm/registry/registry-errors.d.ts.map +1 -1
- package/dist/esm/registry/registry-errors.js +28 -2
- package/dist/esm/registry/registry-errors.js.map +1 -1
- package/dist/esm/registry/registry-section-schemas.constants.d.ts +5 -0
- package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
- package/dist/esm/registry/registry-url-resolution.d.ts +72 -0
- package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -0
- package/dist/esm/registry/registry-url-resolution.js +157 -0
- package/dist/esm/registry/registry-url-resolution.js.map +1 -0
- package/dist/esm/schemas/framework-secrets.schemas.d.ts +55 -0
- package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
- package/dist/esm/schemas/framework-secrets.schemas.js +53 -0
- package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MinionPlatformAccessScope } from './shared/minion-platform-access.vocabulary';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { ApplicationAiUsePostureSchema, ApplicationClientStorageInventorySchema, ApplicationOperatingJurisdictionsSchema, ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, ApplicationRetentionScheduleSchema, ApplicationRiskPostureSchema, EngineCapability, ReviewCadence, type ApplicationAiUsePosture, type ApplicationClientStorageInventory, type ApplicationOperatingJurisdictions, type ApplicationOperatorComplianceIdentity, type ApplicationProviderComplianceChoices, type ApplicationRetentionSchedule, type ApplicationRiskPosture, ProviderTier, ProviderBrowserOperationPoliciesSchema, OrganizationTypesConfigSchema, SystemsOfRecordConfigSchema, type OrganizationTypesConfig, type SystemsOfRecordConfig } from '@wildo-ai/saas-models';
|
|
3
|
+
import { ApplicationAiUsePostureSchema, ApplicationClientStorageInventorySchema, ApplicationOperatingJurisdictionsSchema, ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, ApplicationRetentionScheduleSchema, ApplicationRiskPostureSchema, EngineCapability, KeyManagementConfigurationSchema, type KeyManagementConfiguration, ReviewCadence, type ApplicationAiUsePosture, type ApplicationClientStorageInventory, type ApplicationOperatingJurisdictions, type ApplicationOperatorComplianceIdentity, type ApplicationProviderComplianceChoices, type ApplicationRetentionSchedule, type ApplicationRiskPosture, ProviderTier, ProviderBrowserOperationPoliciesSchema, OrganizationTypesConfigSchema, OrganizationRelationshipKindsSchema, ProfessionalQualificationKindsSchema, SystemsOfRecordConfigSchema, type OrganizationRelationshipKinds, type ProfessionalQualificationKinds, type OrganizationTypesConfig, type SystemsOfRecordConfig } from '@wildo-ai/saas-models';
|
|
4
4
|
import { RegistryConfigSchema, type RegistryConfig } from '../registry/registry-config.schemas';
|
|
5
5
|
import { AppDataServicesSchema } from './shared/data-services.schemas';
|
|
6
6
|
import { ApplicationModulesSchema } from './shared/application-modules.schemas';
|
|
@@ -140,14 +140,39 @@ export declare const EngineCapabilityActivationsSchema: z.ZodDefault<z.ZodRecord
|
|
|
140
140
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
141
141
|
}, z.core.$strict>>>;
|
|
142
142
|
export type EngineCapabilityActivations = z.infer<typeof EngineCapabilityActivationsSchema>;
|
|
143
|
+
/**
|
|
144
|
+
* `providerConfigurations`: per provider, per protocol, the values the APPLICATION owns (an ACP execution profile, an
|
|
145
|
+
* OAuth2 client id, a sender address, a browser SDK's public settings). The protocol value stays `unknown` here because
|
|
146
|
+
* each protocol, and each module, reads its own keys.
|
|
147
|
+
*
|
|
148
|
+
* What it refuses is what the PROVIDER MODULE owns (#2995): `runtimeContract` and `endpoints`, which decide where a request
|
|
149
|
+
* goes and how its credential travels (`ExternalProvider_ModuleOwnedConfigurationKey`). The registry used to merge an
|
|
150
|
+
* authored contract over the module's, so a configuration file could send a provider's key to any URL.
|
|
151
|
+
*/
|
|
143
152
|
export declare const ProviderConfigurationsSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
144
153
|
export type ProviderConfigurations = z.infer<typeof ProviderConfigurationsSchema>;
|
|
145
154
|
export type ProviderConfigurationsInput = z.input<typeof ProviderConfigurationsSchema>;
|
|
146
155
|
export declare const ProviderCapabilitySelectorSchema: z.ZodString;
|
|
147
156
|
export declare const ProviderProtocolSelectorSchema: z.ZodString;
|
|
157
|
+
/**
|
|
158
|
+
* One provider under one runtime's scope (`providers.scopes.<runtime>.providers.<ref>`): what that runtime uses the
|
|
159
|
+
* provider FOR. A runtime uses exactly what its entry binds (#2805, decided 2026-10-12): an engine capability resolves
|
|
160
|
+
* to the provider only when the entry lists it, and a protocol is used only when the entry lists it, on the backend,
|
|
161
|
+
* the companion, a minion and a worker alike (`ExternalProvidersRegistryBackendService.isProviderEnabled`, and the REST
|
|
162
|
+
* operation executor through it). On a frontend service a browser SDK loads only when the entry lists `FRONTEND_SDK`
|
|
163
|
+
* (`frontendScopeEntryServes`). An entry binding nothing, which `wildo registry add` writes, uses the provider for
|
|
164
|
+
* nothing. `wildo config sync` refuses an entry listing what the provider's package does not declare.
|
|
165
|
+
*/
|
|
148
166
|
export declare const SaasProviderScopeSelectionSchema: z.ZodObject<{
|
|
149
167
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
150
168
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
169
|
+
/**
|
|
170
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
171
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
172
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
173
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
174
|
+
* operation a subject erasure runs).
|
|
175
|
+
*/
|
|
151
176
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
152
177
|
/**
|
|
153
178
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -185,6 +210,13 @@ declare const SaasProviderRuntimeScopeSchema: z.ZodObject<{
|
|
|
185
210
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
186
211
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
187
212
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
213
|
+
/**
|
|
214
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
215
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
216
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
217
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
218
|
+
* operation a subject erasure runs).
|
|
219
|
+
*/
|
|
188
220
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
189
221
|
/**
|
|
190
222
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -218,6 +250,13 @@ declare const SaasProviderRuntimeScopeSchema: z.ZodObject<{
|
|
|
218
250
|
}, z.core.$strict>>>;
|
|
219
251
|
}, z.core.$strict>;
|
|
220
252
|
export type SaasProviderRuntimeScope = z.infer<typeof SaasProviderRuntimeScopeSchema>;
|
|
253
|
+
/**
|
|
254
|
+
* What an application AUTHORS for one runtime scope. Named so the exported scope anchors of `wildo.saas.config.ts`
|
|
255
|
+
* (`frontendRelationshipScopes`, `workerProviderScopes`, `minionProviderScopes`) can `satisfies` it: an unannotated
|
|
256
|
+
* object literal widens `['FRONTEND_SDK']` to `string[]`, and the application's own config then fails its typecheck
|
|
257
|
+
* (#2533 — the gap that hid there, and the one this closes).
|
|
258
|
+
*/
|
|
259
|
+
export type SaasProviderRuntimeScopeInput = z.input<typeof SaasProviderRuntimeScopeSchema>;
|
|
221
260
|
/**
|
|
222
261
|
* WHICH of a provider's admissible connections THIS application permits.
|
|
223
262
|
*
|
|
@@ -272,6 +311,13 @@ export declare const SaasProvidersScopesSchema: z.ZodObject<{
|
|
|
272
311
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
273
312
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
274
313
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
|
+
/**
|
|
315
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
316
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
317
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
318
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
319
|
+
* operation a subject erasure runs).
|
|
320
|
+
*/
|
|
275
321
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
276
322
|
/**
|
|
277
323
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -308,6 +354,13 @@ export declare const SaasProvidersScopesSchema: z.ZodObject<{
|
|
|
308
354
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
309
355
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
310
356
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
357
|
+
/**
|
|
358
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
359
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
360
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
361
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
362
|
+
* operation a subject erasure runs).
|
|
363
|
+
*/
|
|
311
364
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
312
365
|
/**
|
|
313
366
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -344,6 +397,13 @@ export declare const SaasProvidersScopesSchema: z.ZodObject<{
|
|
|
344
397
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
345
398
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
346
399
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
400
|
+
/**
|
|
401
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
402
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
403
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
404
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
405
|
+
* operation a subject erasure runs).
|
|
406
|
+
*/
|
|
347
407
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
348
408
|
/**
|
|
349
409
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -380,6 +440,13 @@ export declare const SaasProvidersScopesSchema: z.ZodObject<{
|
|
|
380
440
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
381
441
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
382
442
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
443
|
+
/**
|
|
444
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
445
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
446
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
447
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
448
|
+
* operation a subject erasure runs).
|
|
449
|
+
*/
|
|
383
450
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
384
451
|
/**
|
|
385
452
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -416,6 +483,13 @@ export declare const SaasProvidersScopesSchema: z.ZodObject<{
|
|
|
416
483
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
417
484
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
418
485
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
486
|
+
/**
|
|
487
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
488
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
489
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
490
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
491
|
+
* operation a subject erasure runs).
|
|
492
|
+
*/
|
|
419
493
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
420
494
|
/**
|
|
421
495
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -456,6 +530,13 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
456
530
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
457
531
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
458
532
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
533
|
+
/**
|
|
534
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
535
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
536
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
537
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
538
|
+
* operation a subject erasure runs).
|
|
539
|
+
*/
|
|
459
540
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
460
541
|
/**
|
|
461
542
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -492,6 +573,13 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
492
573
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
493
574
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
494
575
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
576
|
+
/**
|
|
577
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
578
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
579
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
580
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
581
|
+
* operation a subject erasure runs).
|
|
582
|
+
*/
|
|
495
583
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
496
584
|
/**
|
|
497
585
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -528,6 +616,13 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
528
616
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
529
617
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
530
618
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
619
|
+
/**
|
|
620
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
621
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
622
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
623
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
624
|
+
* operation a subject erasure runs).
|
|
625
|
+
*/
|
|
531
626
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
532
627
|
/**
|
|
533
628
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -564,6 +659,13 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
564
659
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
565
660
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
566
661
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
662
|
+
/**
|
|
663
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
664
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
665
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
666
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
667
|
+
* operation a subject erasure runs).
|
|
668
|
+
*/
|
|
567
669
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
568
670
|
/**
|
|
569
671
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -600,6 +702,13 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
600
702
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
601
703
|
engineCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof EngineCapability>>>;
|
|
602
704
|
providerCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
705
|
+
/**
|
|
706
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
707
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
708
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
709
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
710
|
+
* operation a subject erasure runs).
|
|
711
|
+
*/
|
|
603
712
|
protocols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
604
713
|
/**
|
|
605
714
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -636,7 +745,8 @@ export declare const SaasConfigProvidersBlockSchema: z.ZodDefault<z.ZodObject<{
|
|
|
636
745
|
/**
|
|
637
746
|
* Per-provider connection policy. Sits beside `scopes` because both are the APPLICATION's decisions
|
|
638
747
|
* about providers — one says which runtimes may reach a provider, the other which owners may
|
|
639
|
-
* connect one — as opposed to `providerConfigurations`, which is an opaque per-provider runtime
|
|
748
|
+
* connect one — as opposed to `providerConfigurations`, which is an opaque per-provider bag: runtime values by
|
|
749
|
+
* protocol kind, and keys the provider module owns and reads itself, such as its vendor `registration`.
|
|
640
750
|
*/
|
|
641
751
|
connections: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
642
752
|
/**
|
|
@@ -778,19 +888,28 @@ export interface WildoSaasConfig {
|
|
|
778
888
|
minions?: Record<string, MinionBucketEntry>;
|
|
779
889
|
workers?: Record<string, z.infer<typeof AppRefSchema>>;
|
|
780
890
|
engineCapabilities: EngineCapabilityActivations;
|
|
891
|
+
/** See `WildoSaasConfigSchema.keyManagement`. */
|
|
892
|
+
keyManagement?: KeyManagementConfiguration;
|
|
781
893
|
providerConfigurations: ProviderConfigurations;
|
|
782
894
|
providers: SaasConfigProvidersBlock;
|
|
783
895
|
/** See `WildoSaasConfigSchema.organizationTypes`. Required, at least one. */
|
|
784
896
|
organizationTypes: OrganizationTypesConfig;
|
|
785
897
|
/** See `WildoSaasConfigSchema.systemsOfRecord`. */
|
|
786
898
|
systemsOfRecord?: SystemsOfRecordConfig;
|
|
899
|
+
/** See `WildoSaasConfigSchema.organizationRelationships`. */
|
|
900
|
+
organizationRelationships?: OrganizationRelationshipKinds;
|
|
901
|
+
/** See `WildoSaasConfigSchema.professionalQualificationKinds`. */
|
|
902
|
+
professionalQualificationKinds?: ProfessionalQualificationKinds;
|
|
787
903
|
bootstrap?: AppBootstrap;
|
|
788
904
|
dataServices: z.infer<typeof AppDataServicesSchema>;
|
|
789
905
|
/** See `WildoSaasConfigSchema.dataRetention`. Optional and partial: an undeclared class is undecided, never "forever". */
|
|
790
906
|
dataRetention?: ApplicationRetentionSchedule;
|
|
791
907
|
/** See `WildoSaasConfigSchema.assuranceReviewCadence`. Absent means no committed review schedule, never a default. */
|
|
792
908
|
assuranceReviewCadence?: ReviewCadence;
|
|
793
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* See `WildoSaasConfigSchema.aiUsePosture`. An enabled AI capability with no entry here and no agent declaring its use
|
|
911
|
+
* is reported, never assumed harmless.
|
|
912
|
+
*/
|
|
794
913
|
aiUsePosture?: ApplicationAiUsePosture;
|
|
795
914
|
/** See `WildoSaasConfigSchema.clientStorage`. Keyed by frontend surface; an absent surface is uninventoried, an empty array is "sets nothing". */
|
|
796
915
|
clientStorage?: ApplicationClientStorageInventory;
|
|
@@ -820,6 +939,9 @@ export interface WildoSaasConfig {
|
|
|
820
939
|
* provider is a third-party recipient a notice must enumerate; a self-hosted one is not a recipient
|
|
821
940
|
* at all, and without this axis a produced notice would call an audit ledger you run yourself a
|
|
822
941
|
* third party.
|
|
942
|
+
*
|
|
943
|
+
* It is also where the operator says where a person's identifier at a vendor is kept
|
|
944
|
+
* (`subjectReferences`, #2006), so a provider that erases at its vendor is handed it on a subject erasure.
|
|
823
945
|
*/
|
|
824
946
|
providerComplianceChoices?: ApplicationProviderComplianceChoices;
|
|
825
947
|
/**
|
|
@@ -856,6 +978,8 @@ export interface WildoSaasConfigInput {
|
|
|
856
978
|
minions?: Record<string, z.input<typeof MinionBucketEntrySchema>>;
|
|
857
979
|
workers?: Record<string, z.input<typeof AppRefSchema>>;
|
|
858
980
|
engineCapabilities?: z.input<typeof EngineCapabilityActivationsSchema>;
|
|
981
|
+
/** See `WildoSaasConfigSchema.keyManagement`. */
|
|
982
|
+
keyManagement?: z.input<typeof KeyManagementConfigurationSchema>;
|
|
859
983
|
providerConfigurations?: z.input<typeof ProviderConfigurationsSchema>;
|
|
860
984
|
providers?: z.input<typeof SaasConfigProvidersBlockSchema>;
|
|
861
985
|
/** See `WildoSaasConfigSchema.organizationTypes`. Required, at least one. */
|
|
@@ -864,8 +988,14 @@ export interface WildoSaasConfigInput {
|
|
|
864
988
|
dataServices: z.input<typeof AppDataServicesSchema>;
|
|
865
989
|
/** See `WildoSaasConfigSchema.systemsOfRecord`. */
|
|
866
990
|
systemsOfRecord?: z.input<typeof SystemsOfRecordConfigSchema>;
|
|
991
|
+
/** See `WildoSaasConfigSchema.organizationRelationships`. */
|
|
992
|
+
organizationRelationships?: z.input<typeof OrganizationRelationshipKindsSchema>;
|
|
993
|
+
/** See `WildoSaasConfigSchema.professionalQualificationKinds`. */
|
|
994
|
+
professionalQualificationKinds?: z.input<typeof ProfessionalQualificationKindsSchema>;
|
|
867
995
|
/** See `WildoSaasConfigSchema.dataRetention`. */
|
|
868
996
|
dataRetention?: z.input<typeof ApplicationRetentionScheduleSchema>;
|
|
997
|
+
/** See `WildoSaasConfigSchema.assuranceReviewCadence`. Absent means no committed review schedule, never a default. */
|
|
998
|
+
assuranceReviewCadence?: ReviewCadence;
|
|
869
999
|
/** See `WildoSaasConfigSchema.aiUsePosture`. */
|
|
870
1000
|
aiUsePosture?: z.input<typeof ApplicationAiUsePostureSchema>;
|
|
871
1001
|
/** See `WildoSaasConfigSchema.clientStorage`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-saas-config.d.ts","sourceRoot":"","sources":["../../../../src/project-config/define-saas-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAEL,6BAA6B,EAC7B,uCAAuC,EACvC,uCAAuC,EACvC,2CAA2C,EAC3C,0CAA0C,EAC1C,kCAAkC,EAClC,4BAA4B,EAC5B,gBAAgB,EAIhB,aAAa,EACb,KAAK,uBAAu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e,EAAE,oBAAoB,CAAC,CAAC;AAClE,kDAAkD;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,oBAAoB,GAAG,eAAe,CAI9E"}
|
|
1
|
+
{"version":3,"file":"define-saas-config.d.ts","sourceRoot":"","sources":["../../../../src/project-config/define-saas-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAEL,6BAA6B,EAC7B,uCAAuC,EACvC,uCAAuC,EACvC,2CAA2C,EAC3C,0CAA0C,EAC1C,kCAAkC,EAClC,4BAA4B,EAC5B,gBAAgB,EAMhB,gCAAgC,EAChC,KAAK,0BAA0B,EAI/B,aAAa,EACb,KAAK,uBAAuB,EAE5B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,YAAY,EACZ,sCAAsC,EAItC,6BAA6B,EAC7B,mCAAmC,EACnC,oCAAoC,EACpC,2BAA2B,EAK3B,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAGnC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAe/B,OAAO,EAAE,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EACL,0BAA0B,EAC1B,YAAY,EACZ,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;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WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACzD;AAED;;;;;;;;GAQG;AACH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,EA4pBjB,CAAC,CAAC,OAAO,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAClE,kDAAkD;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,oBAAoB,GAAG,eAAe,CAI9E"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MinionPlatformAccessScope } from './shared/minion-platform-access.vocabulary.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { ExternalProvider_ConnectionShapeSchema } from '@wildo-ai/external-connectors-models';
|
|
3
|
+
import { ExternalProvider_ConnectionShapeSchema, refuseModuleOwnedProviderConfigurationKeys } from '@wildo-ai/external-connectors-models';
|
|
4
4
|
import { findMinionResourceAccessViolations } from './shared/minion-resource-access.validation.js';
|
|
5
|
-
import { AppFrontendType, ApplicationAiUsePostureSchema, ApplicationClientStorageInventorySchema, ApplicationOperatingJurisdictionsSchema, ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, ApplicationRetentionScheduleSchema, ApplicationRiskPostureSchema, EngineCapability, EngineCapabilityResolutionMode, getEngineCapabilityResolutionMode, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, ReviewCadence, ProviderTier, ProviderBrowserOperationPoliciesSchema, ProviderAugmentationOptInsSchema, ProviderSharedConnectionsSchema, ProviderPackageAllowListSchema, OrganizationTypesConfigSchema, SystemsOfRecordConfigSchema, OrganizationTypeDerivationOutcome, deriveFirstAdministratorOrganizationType, resolveApplicationOwnerOrganizationType, } from '@wildo-ai/saas-models';
|
|
5
|
+
import { AppFrontendType, ApplicationAiUsePostureSchema, ApplicationClientStorageInventorySchema, ApplicationOperatingJurisdictionsSchema, ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, ApplicationRetentionScheduleSchema, ApplicationRiskPostureSchema, EngineCapability, EngineCapabilityResolutionMode, getEngineCapabilityResolutionMode, getEngineCapabilityActivationPolicy, EngineCapabilityActivationPolicy, isEngineCapabilityEnabled, KeyManagementConfigurationSchema, describeKeyBindingProblems, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, ReviewCadence, ProviderTier, ProviderBrowserOperationPoliciesSchema, ProviderAugmentationOptInsSchema, ProviderSharedConnectionsSchema, ProviderPackageAllowListSchema, OrganizationTypesConfigSchema, OrganizationRelationshipKindsSchema, ProfessionalQualificationKindsSchema, SystemsOfRecordConfigSchema, OrganizationTypeDerivationOutcome, applicationOwnerOrganizationType, collectOrganizationRelationshipKindViolations, isDelegatedCapabilityRole, deriveFirstAdministratorOrganizationType, resolveApplicationOwnerOrganizationType, } from '@wildo-ai/saas-models';
|
|
6
6
|
import { BUILTIN_PROVIDER_CAPABILITY, BUILTIN_PROVIDER_PROTOCOL, } from '@wildo-ai/saas-models/public-runtime';
|
|
7
7
|
import { buildMinionServiceName, buildWorkerServiceName, normalizeServiceKeyToDnsName } from '@wildo-ai/platform-core-shared';
|
|
8
8
|
// Phase 0 of the provider-registration refactor — see
|
|
@@ -180,7 +180,16 @@ export const EngineCapabilityActivationSchema = z.strictObject({
|
|
|
180
180
|
required: z.boolean().optional(),
|
|
181
181
|
});
|
|
182
182
|
export const EngineCapabilityActivationsSchema = z.partialRecord(z.enum(EngineCapability), EngineCapabilityActivationSchema).default({});
|
|
183
|
-
|
|
183
|
+
/**
|
|
184
|
+
* `providerConfigurations`: per provider, per protocol, the values the APPLICATION owns (an ACP execution profile, an
|
|
185
|
+
* OAuth2 client id, a sender address, a browser SDK's public settings). The protocol value stays `unknown` here because
|
|
186
|
+
* each protocol, and each module, reads its own keys.
|
|
187
|
+
*
|
|
188
|
+
* What it refuses is what the PROVIDER MODULE owns (#2995): `runtimeContract` and `endpoints`, which decide where a request
|
|
189
|
+
* goes and how its credential travels (`ExternalProvider_ModuleOwnedConfigurationKey`). The registry used to merge an
|
|
190
|
+
* authored contract over the module's, so a configuration file could send a provider's key to any URL.
|
|
191
|
+
*/
|
|
192
|
+
export const ProviderConfigurationsSchema = z.record(z.string().min(1), z.record(z.string().min(1), z.unknown()).optional()).superRefine(refuseModuleOwnedProviderConfigurationKeys).default(() => ({}));
|
|
184
193
|
const BUILTIN_PROVIDER_CAPABILITY_VALUES = new Set(Object.values(BUILTIN_PROVIDER_CAPABILITY));
|
|
185
194
|
const CUSTOM_PROVIDER_CAPABILITY_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/;
|
|
186
195
|
export const ProviderCapabilitySelectorSchema = z.string().min(1).refine((value) => BUILTIN_PROVIDER_CAPABILITY_VALUES.has(value) || CUSTOM_PROVIDER_CAPABILITY_PATTERN.test(value), {
|
|
@@ -203,9 +212,25 @@ export const ProviderProtocolSelectorSchema = z.string().min(1).superRefine((val
|
|
|
203
212
|
+ `${[...AUTHORABLE_PROVIDER_PROTOCOLS].join(', ')}.`,
|
|
204
213
|
});
|
|
205
214
|
});
|
|
215
|
+
/**
|
|
216
|
+
* One provider under one runtime's scope (`providers.scopes.<runtime>.providers.<ref>`): what that runtime uses the
|
|
217
|
+
* provider FOR. A runtime uses exactly what its entry binds (#2805, decided 2026-10-12): an engine capability resolves
|
|
218
|
+
* to the provider only when the entry lists it, and a protocol is used only when the entry lists it, on the backend,
|
|
219
|
+
* the companion, a minion and a worker alike (`ExternalProvidersRegistryBackendService.isProviderEnabled`, and the REST
|
|
220
|
+
* operation executor through it). On a frontend service a browser SDK loads only when the entry lists `FRONTEND_SDK`
|
|
221
|
+
* (`frontendScopeEntryServes`). An entry binding nothing, which `wildo registry add` writes, uses the provider for
|
|
222
|
+
* nothing. `wildo config sync` refuses an entry listing what the provider's package does not declare.
|
|
223
|
+
*/
|
|
206
224
|
export const SaasProviderScopeSelectionSchema = z.strictObject({
|
|
207
225
|
engineCapabilities: z.array(z.enum(EngineCapability)).default([]),
|
|
208
226
|
providerCapabilities: z.array(ProviderCapabilitySelectorSchema).default([]),
|
|
227
|
+
/**
|
|
228
|
+
* The protocols this runtime uses the provider through, by `BUILTIN_PROVIDER_PROTOCOL` key. The gate, not a
|
|
229
|
+
* description: a protocol the provider declares and this list omits is not used on this runtime (#2805). List every
|
|
230
|
+
* protocol something on the runtime calls through, including one an agent pinned to the provider uses
|
|
231
|
+
* (`LLM_PROVIDER`, `AGENT_CLIENT_PROTOCOL`) and one the framework calls for the application (the `REST_API`
|
|
232
|
+
* operation a subject erasure runs).
|
|
233
|
+
*/
|
|
209
234
|
protocols: z.array(ProviderProtocolSelectorSchema).default([]),
|
|
210
235
|
/**
|
|
211
236
|
* The tier the application EXPECTS this provider to hold (#328). A provider's
|
|
@@ -297,7 +322,8 @@ export const SaasConfigProvidersBlockSchema = z.strictObject({
|
|
|
297
322
|
/**
|
|
298
323
|
* Per-provider connection policy. Sits beside `scopes` because both are the APPLICATION's decisions
|
|
299
324
|
* about providers — one says which runtimes may reach a provider, the other which owners may
|
|
300
|
-
* connect one — as opposed to `providerConfigurations`, which is an opaque per-provider runtime
|
|
325
|
+
* connect one — as opposed to `providerConfigurations`, which is an opaque per-provider bag: runtime values by
|
|
326
|
+
* protocol kind, and keys the provider module owns and reads itself, such as its vendor `registration`.
|
|
301
327
|
*/
|
|
302
328
|
connections: SaasProviderConnectionPoliciesSchema,
|
|
303
329
|
/**
|
|
@@ -432,6 +458,13 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
432
458
|
*/
|
|
433
459
|
workers: z.record(z.string(), AppRefSchema).optional(),
|
|
434
460
|
engineCapabilities: EngineCapabilityActivationsSchema,
|
|
461
|
+
/**
|
|
462
|
+
* Which provider and which key serve each key purpose (#2891). `KEY_MANAGEMENT` is always enabled, and a purpose
|
|
463
|
+
* with no binding is served by the engine's LOCAL provider, so most applications declare nothing here. Bind a purpose
|
|
464
|
+
* to raise its floor (a hardware key, a non-extractable key), to name a provider-held key, or to give every
|
|
465
|
+
* organization a dedicated key (`scope: organization`).
|
|
466
|
+
*/
|
|
467
|
+
keyManagement: KeyManagementConfigurationSchema.optional(),
|
|
435
468
|
providerConfigurations: ProviderConfigurationsSchema,
|
|
436
469
|
/**
|
|
437
470
|
* Per-facet provider registries.
|
|
@@ -459,6 +492,26 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
459
492
|
* cannot sign in — which is why this is not optional.
|
|
460
493
|
*/
|
|
461
494
|
organizationTypes: OrganizationTypesConfigSchema,
|
|
495
|
+
/**
|
|
496
|
+
* How organizations relate (#2722): the relationship KINDS between organization types — any link through which one
|
|
497
|
+
* organization's representatives act in another's tenant, such as a service firm working for its clients or a
|
|
498
|
+
* partnership. Each kind names its representing and granting types, the roles it confers, and how the granting tenant's own records are separated
|
|
499
|
+
* (`tenantRecords`). Absent: organizations have no relationships with each other.
|
|
500
|
+
*
|
|
501
|
+
* Declared here, beside `organizationTypes`, because a kind is a statement about those types, and the operator's
|
|
502
|
+
* standing is derived from where the type that `ownsApplication` sits in the kinds.
|
|
503
|
+
*/
|
|
504
|
+
organizationRelationships: OrganizationRelationshipKindsSchema.optional(),
|
|
505
|
+
/**
|
|
506
|
+
* The professional qualifications a person may hold that this application recognizes (#2967), keyed by kind
|
|
507
|
+
* (`chartered-accountant`): a decision can require its decider to hold one (`requiredQualificationKinds`), which a role
|
|
508
|
+
* alone cannot say. Each kind says whether verifying one needs a proof document and when its holder is warned before
|
|
509
|
+
* it lapses. Absent: no decision requires a qualification.
|
|
510
|
+
*
|
|
511
|
+
* Declared here, beside `organizationTypes` and `organizationRelationships`, because it is a statement about who the
|
|
512
|
+
* application's people are, and the frontend offers the declared kinds when a qualification is recorded.
|
|
513
|
+
*/
|
|
514
|
+
professionalQualificationKinds: ProfessionalQualificationKindsSchema.optional(),
|
|
462
515
|
bootstrap: AppBootstrapSchema.optional(),
|
|
463
516
|
dataServices: AppDataServicesSchema,
|
|
464
517
|
/**
|
|
@@ -534,6 +587,12 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
534
587
|
* notice describing AI use without addressing consequence does not read as "unknown", it reads as
|
|
535
588
|
* "nothing significant happens", which silently claims an exemption. So an enabled AI capability with
|
|
536
589
|
* no entry is REPORTED as outstanding rather than assumed harmless.
|
|
590
|
+
*
|
|
591
|
+
* Since #2838 each entry also names its use `domain` (`AiUseDomain`), from which the regulatory class is
|
|
592
|
+
* derived where the EU AI Act applies. Declare the use on the AGENT (`FlowsActors_Agent.aiUse`) when
|
|
593
|
+
* agents run on the capability, since one capability backs agents with different uses; this capability-
|
|
594
|
+
* level entry is for uses no agent carries (embeddings, document extraction, image generation). A
|
|
595
|
+
* capability counts as declared when it has an entry here, or when every agent running on it declares one.
|
|
537
596
|
*/
|
|
538
597
|
aiUsePosture: ApplicationAiUsePostureSchema.optional(),
|
|
539
598
|
/**
|
|
@@ -665,6 +724,31 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
665
724
|
});
|
|
666
725
|
}
|
|
667
726
|
}
|
|
727
|
+
/*
|
|
728
|
+
* The relationship kinds against the organization types (#2722): an undeclared type on a side, a conferred role a
|
|
729
|
+
* granting type does not offer, a `defaultRole` the kind does not confer, a `mutual` kind with different sides, a
|
|
730
|
+
* delegated capability role conferred for a relationship's life, and the operator sharing a representing side with
|
|
731
|
+
* other types. One file sees both blocks, so these are authoring errors. The organization role TABLE is not visible
|
|
732
|
+
* here (custom roles live in the application's shared library), so an undeclared role and a role reaching ORG_ADMIN are
|
|
733
|
+
* left to the startup check, which runs the same collector against the live table.
|
|
734
|
+
*/
|
|
735
|
+
if (config.organizationRelationships !== undefined) {
|
|
736
|
+
const kindViolations = collectOrganizationRelationshipKindViolations({
|
|
737
|
+
kinds: config.organizationRelationships,
|
|
738
|
+
organizationTypes: config.organizationTypes,
|
|
739
|
+
ownerOrganizationType: applicationOwnerOrganizationType(config.organizationTypes),
|
|
740
|
+
administrationAnchorRole: '',
|
|
741
|
+
organizationRoleHierarchy: (role) => [role],
|
|
742
|
+
isDelegatedCapabilityRole,
|
|
743
|
+
});
|
|
744
|
+
for (const violation of kindViolations) {
|
|
745
|
+
ctx.addIssue({
|
|
746
|
+
code: 'custom',
|
|
747
|
+
path: ['organizationRelationships', violation.kind],
|
|
748
|
+
message: `Relationship kind '${violation.kind}': ${violation.violation} (${violation.subject}).`,
|
|
749
|
+
});
|
|
750
|
+
}
|
|
751
|
+
}
|
|
668
752
|
const availableServiceKeys = new Set(Object.keys(config.services));
|
|
669
753
|
const frontendServiceKeys = new Set(Object.entries(config.services)
|
|
670
754
|
.filter(([, definition]) => definition.frontendType !== undefined)
|
|
@@ -737,6 +821,42 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
737
821
|
dnsNameToKey.set(dnsName, bucketKey);
|
|
738
822
|
}
|
|
739
823
|
}
|
|
824
|
+
// An always-enabled capability (#2891) has no switch: `{ enabled: false }` would look like a control and turn nothing
|
|
825
|
+
// off, so it is refused rather than silently ignored.
|
|
826
|
+
for (const [capabilityKey, activation] of Object.entries(config.engineCapabilities ?? {})) {
|
|
827
|
+
const capability = capabilityKey;
|
|
828
|
+
if (activation?.enabled === false
|
|
829
|
+
&& getEngineCapabilityActivationPolicy(capability) === EngineCapabilityActivationPolicy.ALWAYS_ENABLED) {
|
|
830
|
+
ctx.addIssue({
|
|
831
|
+
code: 'custom',
|
|
832
|
+
path: ['engineCapabilities', capabilityKey, 'enabled'],
|
|
833
|
+
message: `"${capabilityKey}" is always enabled: the engine depends on it, so it cannot be switched off. Remove the entry.`,
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
// Each key binding must be coherent with its purpose (#2891): a provider the application declares for key management
|
|
838
|
+
// (or the engine's LOCAL provider), one of the purpose's scopes and custodies, and a floor raised, never lowered, that
|
|
839
|
+
// the bound provider can meet. Refused, because a binding the runtime cannot honour would leave a purpose unserved.
|
|
840
|
+
const declaredKeyProviders = new Set();
|
|
841
|
+
for (const scope of [
|
|
842
|
+
config.providers?.scopes.backend,
|
|
843
|
+
config.providers?.scopes.companion,
|
|
844
|
+
...Object.values(config.providers?.scopes.frontendServices ?? {}),
|
|
845
|
+
...Object.values(config.providers?.scopes.minions ?? {}),
|
|
846
|
+
...Object.values(config.providers?.scopes.workers ?? {}),
|
|
847
|
+
]) {
|
|
848
|
+
for (const [providerRef, selection] of Object.entries(scope?.providers ?? {})) {
|
|
849
|
+
if (selection.engineCapabilities.includes(EngineCapability.KEY_MANAGEMENT))
|
|
850
|
+
declaredKeyProviders.add(providerRef);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
for (const [purpose, binding] of Object.entries(config.keyManagement?.bindings ?? {})) {
|
|
854
|
+
if (!binding)
|
|
855
|
+
continue;
|
|
856
|
+
for (const problem of describeKeyBindingProblems(purpose, binding, declaredKeyProviders)) {
|
|
857
|
+
ctx.addIssue({ code: 'custom', path: ['keyManagement', 'bindings', purpose], message: `Key binding for "${purpose}": ${problem}` });
|
|
858
|
+
}
|
|
859
|
+
}
|
|
740
860
|
const scopeBuckets = {
|
|
741
861
|
services: availableServiceKeys,
|
|
742
862
|
minions: new Set(Object.keys(config.minions ?? {})),
|
|
@@ -747,7 +867,7 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
747
867
|
return;
|
|
748
868
|
for (const [providerRef, selection] of Object.entries(scope.providers)) {
|
|
749
869
|
for (const capability of selection.engineCapabilities) {
|
|
750
|
-
if (config.engineCapabilities
|
|
870
|
+
if (!isEngineCapabilityEnabled(config.engineCapabilities, capability)) {
|
|
751
871
|
ctx.addIssue({
|
|
752
872
|
code: 'custom',
|
|
753
873
|
path: [...scopePath, 'providers', providerRef, 'engineCapabilities'],
|
|
@@ -795,16 +915,13 @@ export const WildoSaasConfigSchema = z.strictObject({
|
|
|
795
915
|
}
|
|
796
916
|
}
|
|
797
917
|
for (const [capability, policy] of Object.entries(scope.selection ?? {})) {
|
|
798
|
-
// A FAN_OUT capability (e.g.
|
|
799
|
-
//
|
|
800
|
-
//
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
path: [...scopePath, 'selection', capability],
|
|
806
|
-
message: `"${capability}" is a FAN_OUT capability — every declared provider is active (no primary/failover). Remove its \`selection\` entry; declaring the providers is enough.`,
|
|
807
|
-
});
|
|
918
|
+
// Only a SELECT_ONE capability takes a `selection` (primary + substitutes). A FAN_OUT capability (e.g.
|
|
919
|
+
// COMPLIANCE_AUDIT_TRAIL) writes to EVERY declared provider, and a BOUND_PER_PURPOSE capability (KEY_MANAGEMENT,
|
|
920
|
+
// #2891) is bound per key purpose in `keyManagement`: for both, a selection would look like a choice and decide
|
|
921
|
+
// nothing, so it is refused.
|
|
922
|
+
const selectionRefusal = describeSelectionRefusal(capability, getEngineCapabilityResolutionMode(capability));
|
|
923
|
+
if (selectionRefusal) {
|
|
924
|
+
ctx.addIssue({ code: 'custom', path: [...scopePath, 'selection', capability], message: selectionRefusal });
|
|
808
925
|
continue;
|
|
809
926
|
}
|
|
810
927
|
for (const providerRef of [policy.primary, ...(policy.whenUnavailable ?? [])]) {
|
|
@@ -1066,15 +1183,49 @@ function emitUnimplementedRuntimeWarnings(config) {
|
|
|
1066
1183
|
}
|
|
1067
1184
|
}
|
|
1068
1185
|
}
|
|
1069
|
-
for (const
|
|
1070
|
-
if (
|
|
1186
|
+
for (const capability of Object.values(EngineCapability)) {
|
|
1187
|
+
if (!isEngineCapabilityEnabled(config.engineCapabilities, capability))
|
|
1071
1188
|
continue;
|
|
1072
|
-
|
|
1073
|
-
if (getEngineCapabilityResolutionMode(capability) !== EngineCapabilityResolutionMode.FAN_OUT)
|
|
1189
|
+
if (!resolutionModeRequiresADeclaredProvider(getEngineCapabilityResolutionMode(capability)))
|
|
1074
1190
|
continue;
|
|
1075
1191
|
if (!capabilitiesDeclaredByAnyProvider.has(capability)) {
|
|
1076
1192
|
emitSoftWarn('providers.engineCapabilities', `fanout-no-provider:${capability}`, `capability "${capability}" is enabled and FAN_OUT (every declared provider receives every emission), but NO provider in any scope declares it — its fan-out (e.g. the compliance audit trail) is a SILENT no-op. Declare at least one provider with engineCapabilities: ['${capability}'], or disable the capability.`);
|
|
1077
1193
|
}
|
|
1078
1194
|
}
|
|
1079
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Why a `selection` entry is refused for a capability of this resolution mode, or `null` when it is accepted.
|
|
1198
|
+
* Exhaustive over `EngineCapabilityResolutionMode`: a new mode is a compile error here (#2891).
|
|
1199
|
+
*/
|
|
1200
|
+
function describeSelectionRefusal(capability, mode) {
|
|
1201
|
+
switch (mode) {
|
|
1202
|
+
case EngineCapabilityResolutionMode.SELECT_ONE:
|
|
1203
|
+
return null;
|
|
1204
|
+
case EngineCapabilityResolutionMode.FAN_OUT:
|
|
1205
|
+
return `"${capability}" is a FAN_OUT capability — every declared provider is active (no primary/failover). Remove its \`selection\` entry; declaring the providers is enough.`;
|
|
1206
|
+
case EngineCapabilityResolutionMode.BOUND_PER_PURPOSE:
|
|
1207
|
+
return `"${capability}" is bound per key purpose, not selected once. Remove its \`selection\` entry and bind each purpose in \`keyManagement.bindings\`; a purpose with no binding is served by the engine's LOCAL provider.`;
|
|
1208
|
+
default:
|
|
1209
|
+
return assertNeverResolutionMode(mode);
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Whether an enabled capability of this resolution mode is a silent no-op with no declared provider. Only FAN_OUT: its
|
|
1214
|
+
* emissions go to the declared providers and nowhere else. A SELECT_ONE capability is checked at boot by the required
|
|
1215
|
+
* floor, and a BOUND_PER_PURPOSE capability is served by the engine's LOCAL provider when nothing is declared (#2891).
|
|
1216
|
+
*/
|
|
1217
|
+
function resolutionModeRequiresADeclaredProvider(mode) {
|
|
1218
|
+
switch (mode) {
|
|
1219
|
+
case EngineCapabilityResolutionMode.FAN_OUT:
|
|
1220
|
+
return true;
|
|
1221
|
+
case EngineCapabilityResolutionMode.SELECT_ONE:
|
|
1222
|
+
case EngineCapabilityResolutionMode.BOUND_PER_PURPOSE:
|
|
1223
|
+
return false;
|
|
1224
|
+
default:
|
|
1225
|
+
return assertNeverResolutionMode(mode);
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
function assertNeverResolutionMode(mode) {
|
|
1229
|
+
throw new Error(`Unhandled engine capability resolution mode: ${String(mode)}`);
|
|
1230
|
+
}
|
|
1080
1231
|
//# sourceMappingURL=define-saas-config.js.map
|