@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
|
@@ -34,14 +34,35 @@ export declare const SemverExactSchema: z.ZodString;
|
|
|
34
34
|
export declare const ModuleManifestModuleDependenciesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
35
35
|
export type ModuleManifestModuleDependencies = z.infer<typeof ModuleManifestModuleDependenciesSchema>;
|
|
36
36
|
/**
|
|
37
|
-
* `dependsOn.npm.dependencies` / `peerDependencies` — npm packages
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
37
|
+
* `dependsOn.npm.dependencies` / `peerDependencies` — npm packages the installed module imports at runtime (KD-13);
|
|
38
|
+
* for a provider module, see below: `dependencies` is its vendor pins and `peerDependencies` must stay empty.
|
|
39
|
+
*
|
|
40
|
+
* For a PROVIDER module, `dependencies` is the module's VENDOR PINS (#2787, epic #2786): the third-party packages its
|
|
41
|
+
* facets use to talk to the vendor (`posthog-js`, `posthog-node`), each at an EXACT version, recorded here once. The
|
|
42
|
+
* facets declare them as `"*"`, and the version an application runs comes from this record. Both publishing doors
|
|
43
|
+
* refuse a provider module whose record disagrees with its facets (`providerModuleVendorPackageRefusals` in the CLI):
|
|
44
|
+
* a range, a name the framework itself owns (`zod`, `react`), a facet dependency not recorded here or a record no
|
|
45
|
+
* facet declares, a vendor package a browser entry loads EAGERLY (a dynamic `import()` may reach one), a backend facet
|
|
46
|
+
* whose vendor dependencies differ from its `requiredPackages`, a browser SDK descriptor naming a package the facet does
|
|
47
|
+
* not declare, and any `peerDependencies` (a vendor package's optional peers are the application's to resolve). A
|
|
48
|
+
* vendor SDK is never pinned at the framework root.
|
|
49
|
+
*
|
|
50
|
+
* For any other module kind the fields keep their original meaning: what the operator is told to declare.
|
|
41
51
|
*/
|
|
42
52
|
export declare const ModuleManifestNpmDependenciesSchema: z.ZodObject<{
|
|
43
53
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
44
54
|
peerDependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
55
|
+
/**
|
|
56
|
+
* The recorded `dependencies` whose install script pnpm must run (#2787). pnpm runs a dependency's install script
|
|
57
|
+
* only when the name is in `onlyBuiltDependencies`, so a vendor package that needs one is listed here, and adoption
|
|
58
|
+
* adds it to the application's allow-list. pnpm's v9 lockfile does not record which packages need a build, so publish
|
|
59
|
+
* reads the INSTALLED package's own manifest (an install lifecycle script, or a `binding.gyp`) when the facet resolves it.
|
|
60
|
+
*
|
|
61
|
+
* Optional with NO default, deliberately: a manifest is sent to the registry and written into an artifact as PARSED,
|
|
62
|
+
* so a default would add this key to every manifest, and a registry server or CLI still on the earlier strict schema
|
|
63
|
+
* would refuse all of them. Absent reads as none.
|
|
64
|
+
*/
|
|
65
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
66
|
}, z.core.$strict>;
|
|
46
67
|
export type ModuleManifestNpmDependencies = z.infer<typeof ModuleManifestNpmDependenciesSchema>;
|
|
47
68
|
/**
|
|
@@ -57,6 +78,17 @@ export declare const ModuleManifestDependenciesSchema: z.ZodObject<{
|
|
|
57
78
|
npm: z.ZodDefault<z.ZodObject<{
|
|
58
79
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
80
|
peerDependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
81
|
+
/**
|
|
82
|
+
* The recorded `dependencies` whose install script pnpm must run (#2787). pnpm runs a dependency's install script
|
|
83
|
+
* only when the name is in `onlyBuiltDependencies`, so a vendor package that needs one is listed here, and adoption
|
|
84
|
+
* adds it to the application's allow-list. pnpm's v9 lockfile does not record which packages need a build, so publish
|
|
85
|
+
* reads the INSTALLED package's own manifest (an install lifecycle script, or a `binding.gyp`) when the facet resolves it.
|
|
86
|
+
*
|
|
87
|
+
* Optional with NO default, deliberately: a manifest is sent to the registry and written into an artifact as PARSED,
|
|
88
|
+
* so a default would add this key to every manifest, and a registry server or CLI still on the earlier strict schema
|
|
89
|
+
* would refuse all of them. Absent reads as none.
|
|
90
|
+
*/
|
|
91
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
92
|
}, z.core.$strict>>;
|
|
61
93
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
62
94
|
}, z.core.$strict>;
|
|
@@ -193,6 +225,14 @@ export declare enum ModuleRegistrationScenario {
|
|
|
193
225
|
*/
|
|
194
226
|
ADD_PROVIDER_PACKAGE = "add-provider-package"
|
|
195
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* The scenarios' variable patterns for the directory and camelCase stem their REGISTRY edits use
|
|
230
|
+
* (`moduleId`/`moduleCamel`, `minionDir`/`minionCamel`, `workerDir`/`workerCamel` share them). Mirrored
|
|
231
|
+
* here because the manifest is validated where no scenario is loaded (the registry server); a test pins
|
|
232
|
+
* them equal to the scenarios' own declarations.
|
|
233
|
+
*/
|
|
234
|
+
export declare const MODULE_REGISTRATION_MODULE_ID_PATTERN: RegExp;
|
|
235
|
+
export declare const MODULE_REGISTRATION_MODULE_CAMEL_PATTERN: RegExp;
|
|
196
236
|
/** One runtime a provider facet was wired into: its key in `services`, and its directory. */
|
|
197
237
|
export declare const ProviderWiringOwnerSchema: z.ZodObject<{
|
|
198
238
|
serviceKey: z.ZodString;
|
|
@@ -202,8 +242,8 @@ export type ProviderWiringOwner = z.infer<typeof ProviderWiringOwnerSchema>;
|
|
|
202
242
|
/**
|
|
203
243
|
* What an `add-provider-package` install wired, as the INSTALLER derived it from its own application (#2014):
|
|
204
244
|
* - `backendOwners`: the backend services that depend on the backend facet and scope the provider;
|
|
205
|
-
* - `frontendOwners`: the frontend services, of a type in the facet's `surfaces`, that depend on the browser facet
|
|
206
|
-
*
|
|
245
|
+
* - `frontendOwners`: the frontend services, of a type in the facet's `surfaces`, that depend on the browser facet.
|
|
246
|
+
* The install does not scope the provider there (#2579): naming it in a frontend scope is what loads it.
|
|
207
247
|
*
|
|
208
248
|
* Recorded so `remove` reverses exactly what install wrote, even after the application's services change.
|
|
209
249
|
*/
|
|
@@ -220,8 +260,49 @@ export declare const ProviderWiringSchema: z.ZodObject<{
|
|
|
220
260
|
serviceKey: z.ZodString;
|
|
221
261
|
path: z.ZodString;
|
|
222
262
|
}, z.core.$strict>>;
|
|
263
|
+
/**
|
|
264
|
+
* The provider an AUGMENTATION module adds operations to (#2022). Present, the install wrote NO scope: the module owns
|
|
265
|
+
* no ref an application scopes, and adding its operations is the application's opt-in under
|
|
266
|
+
* `providers.augmentations.<augments>`, which an install never writes (it would activate what nobody chose).
|
|
267
|
+
*/
|
|
268
|
+
augments: z.ZodOptional<z.ZodString>;
|
|
269
|
+
/**
|
|
270
|
+
* The module's vendor pins (#2789): its `dependsOn.npm.dependencies`, exact versions, written into the application's
|
|
271
|
+
* root `pnpm.overrides` by the install, as a framework pin is. Absent when the module records none, so a module with
|
|
272
|
+
* no vendor package keeps the wiring it always had. Recorded so an update moves them, a later install of another
|
|
273
|
+
* module pinning one of them differently is refused naming this one, and `remove` takes out what this install WROTE.
|
|
274
|
+
*/
|
|
275
|
+
vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
276
|
+
/**
|
|
277
|
+
* The vendor pins the application already held, at the module's version, when the install met them (#2789): left as
|
|
278
|
+
* written, never written by the install, so `remove` leaves them too. An application pinning the SDK may use it
|
|
279
|
+
* itself; the module taking that pin away on removal would leave the application's own dependency floating. Absent
|
|
280
|
+
* when the install met none; never compared when deciding whether a wiring changed.
|
|
281
|
+
*/
|
|
282
|
+
heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
|
+
/**
|
|
284
|
+
* The vendor packages whose install script pnpm must run (#2801): the module's `dependsOn.npm.onlyBuiltDependencies`,
|
|
285
|
+
* written into the application's root `package.json` → `pnpm.onlyBuiltDependencies` by the install, as its pins are.
|
|
286
|
+
* Absent when the module records none. Recorded so an update moves them and `remove` takes out what this install WROTE.
|
|
287
|
+
* Measured on pnpm 10.6.4 (#2801): that list is honoured in a multi-package workspace, and when `pnpm-workspace.yaml`
|
|
288
|
+
* carries one too, pnpm reads this one and ignores the YAML. So an application keeping its list in the YAML file gets
|
|
289
|
+
* nothing written (that would switch its list off); the install names the entries to add there instead.
|
|
290
|
+
*/
|
|
291
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
292
|
+
/**
|
|
293
|
+
* The names the application's list already held when the install met them (#2801): never written by the install, so
|
|
294
|
+
* `remove` leaves them. Absent when the install met none; never compared when deciding whether a wiring changed.
|
|
295
|
+
*/
|
|
296
|
+
heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
223
297
|
}, z.core.$strict>;
|
|
224
298
|
export type ProviderWiring = z.infer<typeof ProviderWiringSchema>;
|
|
299
|
+
/** The application's root manifest, relative to its root: where a provider module's vendor pins are written (#2789). */
|
|
300
|
+
export declare const PROVIDER_VENDOR_PINS_MANIFEST = "package.json";
|
|
301
|
+
/**
|
|
302
|
+
* The application's workspace file, relative to its root. When it carries an `onlyBuiltDependencies` list and the root
|
|
303
|
+
* manifest carries none, a provider install writes no allow-list (#2801): a list in the manifest would replace it.
|
|
304
|
+
*/
|
|
305
|
+
export declare const PROVIDER_WORKSPACE_FILE = "pnpm-workspace.yaml";
|
|
225
306
|
/**
|
|
226
307
|
* The four layers of a domain module, named as its manifest boundaries name them. A domain-module
|
|
227
308
|
* registration may cover a SUBSET (#1773): a backend+shared module registers its shared entries and an
|
|
@@ -240,14 +321,6 @@ export declare enum DomainModuleLayer {
|
|
|
240
321
|
export declare const DOMAIN_LAYERS_ARE_BOUNDARY_LAYERS: `${DomainModuleLayer}` extends ModuleBoundaryLayer ? true : never;
|
|
241
322
|
/** Canonical order, so one set of layers has one spelling. */
|
|
242
323
|
export declare const DOMAIN_MODULE_LAYERS: readonly DomainModuleLayer[];
|
|
243
|
-
/**
|
|
244
|
-
* The scenarios' variable patterns for the directory and camelCase stem their REGISTRY edits use
|
|
245
|
-
* (`moduleId`/`moduleCamel`, `minionDir`/`minionCamel`, `workerDir`/`workerCamel` share them). Mirrored
|
|
246
|
-
* here because the manifest is validated where no scenario is loaded (the registry server); a test pins
|
|
247
|
-
* them equal to the scenarios' own declarations.
|
|
248
|
-
*/
|
|
249
|
-
export declare const MODULE_REGISTRATION_MODULE_ID_PATTERN: RegExp;
|
|
250
|
-
export declare const MODULE_REGISTRATION_MODULE_CAMEL_PATTERN: RegExp;
|
|
251
324
|
/**
|
|
252
325
|
* A module's registration: the scenario plus the ONLY values its registry edits read. It carries no
|
|
253
326
|
* code — the installer renders the scenario's own edit steps with these values, both restricted to
|
|
@@ -281,6 +354,40 @@ export declare const ModuleManifestRegistrationSchema: z.ZodObject<{
|
|
|
281
354
|
serviceKey: z.ZodString;
|
|
282
355
|
path: z.ZodString;
|
|
283
356
|
}, z.core.$strict>>;
|
|
357
|
+
/**
|
|
358
|
+
* The provider an AUGMENTATION module adds operations to (#2022). Present, the install wrote NO scope: the module owns
|
|
359
|
+
* no ref an application scopes, and adding its operations is the application's opt-in under
|
|
360
|
+
* `providers.augmentations.<augments>`, which an install never writes (it would activate what nobody chose).
|
|
361
|
+
*/
|
|
362
|
+
augments: z.ZodOptional<z.ZodString>;
|
|
363
|
+
/**
|
|
364
|
+
* The module's vendor pins (#2789): its `dependsOn.npm.dependencies`, exact versions, written into the application's
|
|
365
|
+
* root `pnpm.overrides` by the install, as a framework pin is. Absent when the module records none, so a module with
|
|
366
|
+
* no vendor package keeps the wiring it always had. Recorded so an update moves them, a later install of another
|
|
367
|
+
* module pinning one of them differently is refused naming this one, and `remove` takes out what this install WROTE.
|
|
368
|
+
*/
|
|
369
|
+
vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
370
|
+
/**
|
|
371
|
+
* The vendor pins the application already held, at the module's version, when the install met them (#2789): left as
|
|
372
|
+
* written, never written by the install, so `remove` leaves them too. An application pinning the SDK may use it
|
|
373
|
+
* itself; the module taking that pin away on removal would leave the application's own dependency floating. Absent
|
|
374
|
+
* when the install met none; never compared when deciding whether a wiring changed.
|
|
375
|
+
*/
|
|
376
|
+
heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
377
|
+
/**
|
|
378
|
+
* The vendor packages whose install script pnpm must run (#2801): the module's `dependsOn.npm.onlyBuiltDependencies`,
|
|
379
|
+
* written into the application's root `package.json` → `pnpm.onlyBuiltDependencies` by the install, as its pins are.
|
|
380
|
+
* Absent when the module records none. Recorded so an update moves them and `remove` takes out what this install WROTE.
|
|
381
|
+
* Measured on pnpm 10.6.4 (#2801): that list is honoured in a multi-package workspace, and when `pnpm-workspace.yaml`
|
|
382
|
+
* carries one too, pnpm reads this one and ignores the YAML. So an application keeping its list in the YAML file gets
|
|
383
|
+
* nothing written (that would switch its list off); the install names the entries to add there instead.
|
|
384
|
+
*/
|
|
385
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
386
|
+
/**
|
|
387
|
+
* The names the application's list already held when the install met them (#2801): never written by the install, so
|
|
388
|
+
* `remove` leaves them. Absent when the install met none; never compared when deciding whether a wiring changed.
|
|
389
|
+
*/
|
|
390
|
+
heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
391
|
}, z.core.$strict>>;
|
|
285
392
|
}, z.core.$strict>;
|
|
286
393
|
export type ModuleManifestRegistration = z.infer<typeof ModuleManifestRegistrationSchema>;
|
|
@@ -311,7 +418,15 @@ export declare enum ModuleKind {
|
|
|
311
418
|
* PLATFORM (apps-manager) with platform administrator credentials, so application-owned code must never
|
|
312
419
|
* be one. They stay in the platform's own package, selected by the application's declaration (#1692).
|
|
313
420
|
*/
|
|
314
|
-
PROVIDER = "provider"
|
|
421
|
+
PROVIDER = "provider",
|
|
422
|
+
/**
|
|
423
|
+
* An application blueprint (epic #2856): a layer upon the `wildo init` base, published here so an organization's
|
|
424
|
+
* blueprints are distributed exactly like its modules. Its zip holds the packed blueprint (`blueprint.json` +
|
|
425
|
+
* `files/`) beside this manifest, which carries its identity and nothing an install would act on — no boundaries,
|
|
426
|
+
* no registration, no provider block. It is never installed into an existing application: `wildo registry add`
|
|
427
|
+
* refuses it, and `wildo init --blueprint` is the only door that applies one.
|
|
428
|
+
*/
|
|
429
|
+
BLUEPRINT = "blueprint"
|
|
315
430
|
}
|
|
316
431
|
/**
|
|
317
432
|
* The runtime facets a provider module can ship, each as its own workspace package under
|
|
@@ -341,9 +456,93 @@ export declare enum ProviderModuleFacet {
|
|
|
341
456
|
export declare enum ProviderModuleMaturity {
|
|
342
457
|
/** Copied from a seed or written by hand, reviewed, and owned by Wildo. Not yet met the real vendor. */
|
|
343
458
|
ADOPTED = "adopted",
|
|
344
|
-
/** Has executed against the real vendor it names, with the proof recorded on the tracker. */
|
|
459
|
+
/** Has executed against the real vendor it names, with the proof recorded on the tracker. Requires `proof` (#2515). */
|
|
345
460
|
PROVEN = "proven"
|
|
346
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* Where a PROVEN provider module's proof is, and what it covered (#2515).
|
|
464
|
+
*
|
|
465
|
+
* `proven` used to be a word nobody checked: a module could claim it with no proof, and asana, which #333 drove
|
|
466
|
+
* against Asana end to end, still read `adopted`. So the claim now names its evidence, and the manifest refuses
|
|
467
|
+
* `proven` without it and a proof on an `adopted` module.
|
|
468
|
+
*
|
|
469
|
+
* - `issue` is the tracker issue whose closing evidence records the run. The tracker is where proof lives, by the
|
|
470
|
+
* same rule that keeps every durable record there; a manifest field cannot hold a run's output.
|
|
471
|
+
* - `operations` are the operations the run actually called, named as the module declares them: a REST operation id,
|
|
472
|
+
* an augmentation's operation id, or a capability arm's operation (`extractDocumentText`). Publish refuses a name
|
|
473
|
+
* the module does not declare (`providerModuleCodeRefusals`), so a proof cannot outlive a renamed operation. An
|
|
474
|
+
* operation the run did not call is not proven, however similar it is.
|
|
475
|
+
* - `provenAt` is the day the run happened. A vendor changes under a module that stays still, so the date is what
|
|
476
|
+
* tells a reader how old the evidence is.
|
|
477
|
+
*
|
|
478
|
+
* Rejected: deriving maturity from the tracker at publish. Publish runs offline and from a commit, and a check that
|
|
479
|
+
* needs the GitHub API to pass would fail closed on every machine without a token.
|
|
480
|
+
*/
|
|
481
|
+
export declare const ModuleManifestProviderProofSchema: z.ZodObject<{
|
|
482
|
+
issue: z.ZodNumber;
|
|
483
|
+
provenAt: z.ZodISODate;
|
|
484
|
+
operations: z.ZodArray<z.ZodString>;
|
|
485
|
+
}, z.core.$strict>;
|
|
486
|
+
export type ModuleManifestProviderProof = z.infer<typeof ModuleManifestProviderProofSchema>;
|
|
487
|
+
/**
|
|
488
|
+
* What the OpenAPI conformance check (#2028) can find wrong with one declared operation, compared with the vendor's
|
|
489
|
+
* own description. Each names a request the module would send that the vendor never described, because that is what
|
|
490
|
+
* makes a call fail at the vendor while every Wildo check passes: the archive's first real socket test found 231 GET
|
|
491
|
+
* operations declaring a body, all of which had passed schema checks.
|
|
492
|
+
*/
|
|
493
|
+
export declare enum ProviderOpenApiFindingKind {
|
|
494
|
+
/** No operation of the description has this method and path. */
|
|
495
|
+
OPERATION_NOT_DESCRIBED = "operation-not-described",
|
|
496
|
+
/** A query or header parameter the module sends, which the described operation does not take. */
|
|
497
|
+
PARAMETER_NOT_DESCRIBED = "parameter-not-described",
|
|
498
|
+
/** A query or header parameter the description requires, which the module never sends. */
|
|
499
|
+
REQUIRED_PARAMETER_NOT_DECLARED = "required-parameter-not-declared",
|
|
500
|
+
/** The module sends a body to an operation the description gives none. */
|
|
501
|
+
BODY_NOT_DESCRIBED = "body-not-described",
|
|
502
|
+
/** The description requires a body, and the module sends none (a body it could not model and left out). */
|
|
503
|
+
BODY_REQUIRED_NOT_SENT = "body-required-not-sent",
|
|
504
|
+
/** The module encodes its body as a media type the described operation does not accept. */
|
|
505
|
+
BODY_ENCODING_NOT_DESCRIBED = "body-encoding-not-described",
|
|
506
|
+
/** A field of the module's body, which the described body schema does not have. */
|
|
507
|
+
BODY_FIELD_NOT_DESCRIBED = "body-field-not-described"
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* A finding the module keeps on purpose, with the reason: the description is not always right, and a vendor that
|
|
511
|
+
* accepts what it never described is common. Refused when it matches no finding, so it cannot outlive the deviation it
|
|
512
|
+
* excuses. `subject` is the parameter or field the finding names; absent for a whole-operation finding.
|
|
513
|
+
*/
|
|
514
|
+
export declare const ModuleManifestProviderOpenApiDeviationSchema: z.ZodObject<{
|
|
515
|
+
operationId: z.ZodString;
|
|
516
|
+
finding: z.ZodEnum<typeof ProviderOpenApiFindingKind>;
|
|
517
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
518
|
+
reason: z.ZodString;
|
|
519
|
+
}, z.core.$strict>;
|
|
520
|
+
export type ModuleManifestProviderOpenApiDeviation = z.infer<typeof ModuleManifestProviderOpenApiDeviationSchema>;
|
|
521
|
+
/**
|
|
522
|
+
* The vendor's own OpenAPI description a module's operations are checked against at publish (#2028).
|
|
523
|
+
*
|
|
524
|
+
* - `url` must not move: a commit-pinned raw URL, or a versioned path. The check is a statement about one document,
|
|
525
|
+
* and a URL that changes under it would make the same commit pass on Monday and fail on Tuesday. Watching for a NEW
|
|
526
|
+
* description is #2027's, a different question.
|
|
527
|
+
* - `revision` is the description's own `info.version`, as read when the module was checked. Publish refuses a
|
|
528
|
+
* document reporting another. That catches a moved URL only when the vendor bumps its version, and many never do
|
|
529
|
+
* (Asana's is `1.0`), so it is not what keeps the URL fixed: the URL is. Publish refuses a GitHub raw URL on a
|
|
530
|
+
* branch rather than a commit, the common way such a URL moves.
|
|
531
|
+
*
|
|
532
|
+
* Optional: about a quarter of the archived vendors had an official description at all. A module without one is
|
|
533
|
+
* checked by its live proof only.
|
|
534
|
+
*/
|
|
535
|
+
export declare const ModuleManifestProviderOpenApiSchema: z.ZodObject<{
|
|
536
|
+
url: z.ZodURL;
|
|
537
|
+
revision: z.ZodString;
|
|
538
|
+
deviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
539
|
+
operationId: z.ZodString;
|
|
540
|
+
finding: z.ZodEnum<typeof ProviderOpenApiFindingKind>;
|
|
541
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
542
|
+
reason: z.ZodString;
|
|
543
|
+
}, z.core.$strict>>>;
|
|
544
|
+
}, z.core.$strict>;
|
|
545
|
+
export type ModuleManifestProviderOpenApi = z.infer<typeof ModuleManifestProviderOpenApiSchema>;
|
|
347
546
|
/**
|
|
348
547
|
* The `provider` block of a PROVIDER module: what the registry must know about the provider WITHOUT
|
|
349
548
|
* executing its code, which is what server-side search and listing need.
|
|
@@ -355,8 +554,8 @@ export declare enum ProviderModuleMaturity {
|
|
|
355
554
|
* (`BackendProviderModule`), which discovery already reads. Publish checks that this block agrees
|
|
356
555
|
* with that code (#2014).
|
|
357
556
|
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
557
|
+
* The OpenAPI binding is `openApi` (#2028); a field for change monitoring is added by the issue that reads it (#2027),
|
|
558
|
+
* not before. Per-provider skills are `skills` (#2026).
|
|
360
559
|
*/
|
|
361
560
|
export declare const ModuleManifestProviderSchema: z.ZodObject<{
|
|
362
561
|
/**
|
|
@@ -389,12 +588,49 @@ export declare const ModuleManifestProviderSchema: z.ZodObject<{
|
|
|
389
588
|
}, z.core.$strict>>;
|
|
390
589
|
}, z.core.$strict>;
|
|
391
590
|
maturity: z.ZodEnum<typeof ProviderModuleMaturity>;
|
|
591
|
+
/** Present exactly when `maturity` is `proven`: where the proof is and what it covered. See {@link ModuleManifestProviderProofSchema}. */
|
|
592
|
+
proof: z.ZodOptional<z.ZodObject<{
|
|
593
|
+
issue: z.ZodNumber;
|
|
594
|
+
provenAt: z.ZodISODate;
|
|
595
|
+
operations: z.ZodArray<z.ZodString>;
|
|
596
|
+
}, z.core.$strict>>;
|
|
597
|
+
/** The vendor's OpenAPI description the operations are checked against at publish. See {@link ModuleManifestProviderOpenApiSchema}. */
|
|
598
|
+
openApi: z.ZodOptional<z.ZodObject<{
|
|
599
|
+
url: z.ZodURL;
|
|
600
|
+
revision: z.ZodString;
|
|
601
|
+
deviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
602
|
+
operationId: z.ZodString;
|
|
603
|
+
finding: z.ZodEnum<typeof ProviderOpenApiFindingKind>;
|
|
604
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
605
|
+
reason: z.ZodString;
|
|
606
|
+
}, z.core.$strict>>>;
|
|
607
|
+
}, z.core.$strict>>;
|
|
392
608
|
/** Where the adopted source came from, when it came from a catalogue seed. */
|
|
393
609
|
seed: z.ZodOptional<z.ZodObject<{
|
|
394
610
|
source: z.ZodEnum<typeof import("@wildo-ai/saas-models").ProviderCatalogueSource>;
|
|
395
611
|
sourceRef: z.ZodString;
|
|
396
612
|
sourceVersion: z.ZodString;
|
|
397
613
|
}, z.core.$strip>>;
|
|
614
|
+
/**
|
|
615
|
+
* Present when the module is an AUGMENTATION (#1672, #2022): it adds OPERATIONS to the provider `augments` names,
|
|
616
|
+
* owned by the engine or by another package, and owns nothing else. The base keeps its identity, base URL,
|
|
617
|
+
* credential, OAuth2 block and connections, so an augmentation module:
|
|
618
|
+
* - ships the backend facet only (its operations run where the base's do);
|
|
619
|
+
* - is tier CATALOGUE and declares no provider capabilities (it binds no engine slot);
|
|
620
|
+
* - exports `providerAugmentations` from its backend facet instead of a `backendProviderFragment`.
|
|
621
|
+
*
|
|
622
|
+
* `ref` still names the module: its directory under `providers/` and its package name. Installing it adds
|
|
623
|
+
* nothing to the base until the application opts it in under `providers.augmentations.<augments>`.
|
|
624
|
+
*/
|
|
625
|
+
augments: z.ZodOptional<z.ZodString>;
|
|
626
|
+
/**
|
|
627
|
+
* The skills the module ships (#2026), each a folder `skills/<id>/SKILL.md` inside the module. Installing the module
|
|
628
|
+
* installs them into the application's `.claude/skills/` (the skills sync reads the application's `providers/` tree),
|
|
629
|
+
* and removing it removes them. Read by `wildo registry add` / `update`, which run the skills sync when a provider
|
|
630
|
+
* carries skills, and by publish, which holds this list equal to the folders. An id is `provider-<ref>` or
|
|
631
|
+
* `provider-<ref>-<topic>`.
|
|
632
|
+
*/
|
|
633
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
398
634
|
}, z.core.$strict>;
|
|
399
635
|
export type ModuleManifestProvider = z.infer<typeof ModuleManifestProviderSchema>;
|
|
400
636
|
/**
|
|
@@ -451,12 +687,49 @@ export declare const ModuleManifestSchema: z.ZodObject<{
|
|
|
451
687
|
}, z.core.$strict>>;
|
|
452
688
|
}, z.core.$strict>;
|
|
453
689
|
maturity: z.ZodEnum<typeof ProviderModuleMaturity>;
|
|
690
|
+
/** Present exactly when `maturity` is `proven`: where the proof is and what it covered. See {@link ModuleManifestProviderProofSchema}. */
|
|
691
|
+
proof: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
issue: z.ZodNumber;
|
|
693
|
+
provenAt: z.ZodISODate;
|
|
694
|
+
operations: z.ZodArray<z.ZodString>;
|
|
695
|
+
}, z.core.$strict>>;
|
|
696
|
+
/** The vendor's OpenAPI description the operations are checked against at publish. See {@link ModuleManifestProviderOpenApiSchema}. */
|
|
697
|
+
openApi: z.ZodOptional<z.ZodObject<{
|
|
698
|
+
url: z.ZodURL;
|
|
699
|
+
revision: z.ZodString;
|
|
700
|
+
deviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
701
|
+
operationId: z.ZodString;
|
|
702
|
+
finding: z.ZodEnum<typeof ProviderOpenApiFindingKind>;
|
|
703
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
704
|
+
reason: z.ZodString;
|
|
705
|
+
}, z.core.$strict>>>;
|
|
706
|
+
}, z.core.$strict>>;
|
|
454
707
|
/** Where the adopted source came from, when it came from a catalogue seed. */
|
|
455
708
|
seed: z.ZodOptional<z.ZodObject<{
|
|
456
709
|
source: z.ZodEnum<typeof import("@wildo-ai/saas-models").ProviderCatalogueSource>;
|
|
457
710
|
sourceRef: z.ZodString;
|
|
458
711
|
sourceVersion: z.ZodString;
|
|
459
712
|
}, z.core.$strip>>;
|
|
713
|
+
/**
|
|
714
|
+
* Present when the module is an AUGMENTATION (#1672, #2022): it adds OPERATIONS to the provider `augments` names,
|
|
715
|
+
* owned by the engine or by another package, and owns nothing else. The base keeps its identity, base URL,
|
|
716
|
+
* credential, OAuth2 block and connections, so an augmentation module:
|
|
717
|
+
* - ships the backend facet only (its operations run where the base's do);
|
|
718
|
+
* - is tier CATALOGUE and declares no provider capabilities (it binds no engine slot);
|
|
719
|
+
* - exports `providerAugmentations` from its backend facet instead of a `backendProviderFragment`.
|
|
720
|
+
*
|
|
721
|
+
* `ref` still names the module: its directory under `providers/` and its package name. Installing it adds
|
|
722
|
+
* nothing to the base until the application opts it in under `providers.augmentations.<augments>`.
|
|
723
|
+
*/
|
|
724
|
+
augments: z.ZodOptional<z.ZodString>;
|
|
725
|
+
/**
|
|
726
|
+
* The skills the module ships (#2026), each a folder `skills/<id>/SKILL.md` inside the module. Installing the module
|
|
727
|
+
* installs them into the application's `.claude/skills/` (the skills sync reads the application's `providers/` tree),
|
|
728
|
+
* and removing it removes them. Read by `wildo registry add` / `update`, which run the skills sync when a provider
|
|
729
|
+
* carries skills, and by publish, which holds this list equal to the folders. An id is `provider-<ref>` or
|
|
730
|
+
* `provider-<ref>-<topic>`.
|
|
731
|
+
*/
|
|
732
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
460
733
|
}, z.core.$strict>>;
|
|
461
734
|
description: z.ZodOptional<z.ZodString>;
|
|
462
735
|
longDescription: z.ZodOptional<z.ZodString>;
|
|
@@ -477,6 +750,17 @@ export declare const ModuleManifestSchema: z.ZodObject<{
|
|
|
477
750
|
npm: z.ZodDefault<z.ZodObject<{
|
|
478
751
|
dependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
479
752
|
peerDependencies: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
753
|
+
/**
|
|
754
|
+
* The recorded `dependencies` whose install script pnpm must run (#2787). pnpm runs a dependency's install script
|
|
755
|
+
* only when the name is in `onlyBuiltDependencies`, so a vendor package that needs one is listed here, and adoption
|
|
756
|
+
* adds it to the application's allow-list. pnpm's v9 lockfile does not record which packages need a build, so publish
|
|
757
|
+
* reads the INSTALLED package's own manifest (an install lifecycle script, or a `binding.gyp`) when the facet resolves it.
|
|
758
|
+
*
|
|
759
|
+
* Optional with NO default, deliberately: a manifest is sent to the registry and written into an artifact as PARSED,
|
|
760
|
+
* so a default would add this key to every manifest, and a registry server or CLI still on the earlier strict schema
|
|
761
|
+
* would refuse all of them. Absent reads as none.
|
|
762
|
+
*/
|
|
763
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
764
|
}, z.core.$strict>>;
|
|
481
765
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
482
766
|
}, z.core.$strict>>;
|
|
@@ -506,6 +790,40 @@ export declare const ModuleManifestSchema: z.ZodObject<{
|
|
|
506
790
|
serviceKey: z.ZodString;
|
|
507
791
|
path: z.ZodString;
|
|
508
792
|
}, z.core.$strict>>;
|
|
793
|
+
/**
|
|
794
|
+
* The provider an AUGMENTATION module adds operations to (#2022). Present, the install wrote NO scope: the module owns
|
|
795
|
+
* no ref an application scopes, and adding its operations is the application's opt-in under
|
|
796
|
+
* `providers.augmentations.<augments>`, which an install never writes (it would activate what nobody chose).
|
|
797
|
+
*/
|
|
798
|
+
augments: z.ZodOptional<z.ZodString>;
|
|
799
|
+
/**
|
|
800
|
+
* The module's vendor pins (#2789): its `dependsOn.npm.dependencies`, exact versions, written into the application's
|
|
801
|
+
* root `pnpm.overrides` by the install, as a framework pin is. Absent when the module records none, so a module with
|
|
802
|
+
* no vendor package keeps the wiring it always had. Recorded so an update moves them, a later install of another
|
|
803
|
+
* module pinning one of them differently is refused naming this one, and `remove` takes out what this install WROTE.
|
|
804
|
+
*/
|
|
805
|
+
vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
806
|
+
/**
|
|
807
|
+
* The vendor pins the application already held, at the module's version, when the install met them (#2789): left as
|
|
808
|
+
* written, never written by the install, so `remove` leaves them too. An application pinning the SDK may use it
|
|
809
|
+
* itself; the module taking that pin away on removal would leave the application's own dependency floating. Absent
|
|
810
|
+
* when the install met none; never compared when deciding whether a wiring changed.
|
|
811
|
+
*/
|
|
812
|
+
heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
813
|
+
/**
|
|
814
|
+
* The vendor packages whose install script pnpm must run (#2801): the module's `dependsOn.npm.onlyBuiltDependencies`,
|
|
815
|
+
* written into the application's root `package.json` → `pnpm.onlyBuiltDependencies` by the install, as its pins are.
|
|
816
|
+
* Absent when the module records none. Recorded so an update moves them and `remove` takes out what this install WROTE.
|
|
817
|
+
* Measured on pnpm 10.6.4 (#2801): that list is honoured in a multi-package workspace, and when `pnpm-workspace.yaml`
|
|
818
|
+
* carries one too, pnpm reads this one and ignores the YAML. So an application keeping its list in the YAML file gets
|
|
819
|
+
* nothing written (that would switch its list off); the install names the entries to add there instead.
|
|
820
|
+
*/
|
|
821
|
+
onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
822
|
+
/**
|
|
823
|
+
* The names the application's list already held when the install met them (#2801): never written by the install, so
|
|
824
|
+
* `remove` leaves them. Absent when the install met none; never compared when deciding whether a wiring changed.
|
|
825
|
+
*/
|
|
826
|
+
heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
509
827
|
}, z.core.$strict>>;
|
|
510
828
|
}, z.core.$strict>>;
|
|
511
829
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-manifest.schemas.d.ts","sourceRoot":"","sources":["../../../../src/registry/module-manifest.schemas.ts"],"names":[],"mappings":"AAAA;;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