@wildo-ai/platform-config-lib 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/esm/_unimplemented/soft-warn.d.ts +24 -49
  2. package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -1
  3. package/dist/esm/_unimplemented/soft-warn.js +24 -49
  4. package/dist/esm/_unimplemented/soft-warn.js.map +1 -1
  5. package/dist/esm/blueprint/anchored-region.d.ts.map +1 -1
  6. package/dist/esm/blueprint/anchored-region.js.map +1 -1
  7. package/dist/esm/blueprint/blueprint.schemas.d.ts +0 -89
  8. package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -1
  9. package/dist/esm/blueprint/blueprint.schemas.js.map +1 -1
  10. package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
  11. package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
  12. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
  13. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
  14. package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
  15. package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
  16. package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
  17. package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
  18. package/dist/esm/bootstrap/bootstrap.schemas.d.ts +8 -1
  19. package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
  20. package/dist/esm/bootstrap/bootstrap.schemas.js +15 -1
  21. package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
  22. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +10 -2
  23. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  24. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +10 -2
  25. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  26. package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
  27. package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
  28. package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
  29. package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
  30. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
  31. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
  32. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
  33. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
  34. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
  35. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
  36. package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
  37. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
  38. package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
  39. package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
  40. package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
  41. package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
  42. package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
  43. package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
  44. package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
  45. package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
  46. package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -1
  47. package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
  48. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
  49. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
  50. package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
  51. package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
  52. package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -1
  53. package/dist/esm/bootstrap/runtime-response-integrity.js +3 -3
  54. package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -1
  55. package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -1
  56. package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -1
  57. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
  58. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  59. package/dist/esm/bootstrap/wildo-owner-organization.contracts.d.ts.map +1 -1
  60. package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
  61. package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -1
  62. package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -1
  63. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  64. package/dist/esm/config-authoring.entry.js.map +1 -1
  65. package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
  66. package/dist/esm/credentials/credential-generator.service.js.map +1 -1
  67. package/dist/esm/index.d.ts +5 -1
  68. package/dist/esm/index.d.ts.map +1 -1
  69. package/dist/esm/index.js +5 -1
  70. package/dist/esm/index.js.map +1 -1
  71. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
  72. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
  73. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
  74. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
  75. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
  76. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
  77. package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
  78. package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
  79. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
  80. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
  81. package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
  82. package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
  83. package/dist/esm/key-management/approval-seal-verifier.d.ts +101 -39
  84. package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
  85. package/dist/esm/key-management/approval-seal-verifier.js +134 -12
  86. package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
  87. package/dist/esm/key-management/approval-seal.contracts.d.ts +12 -15
  88. package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -1
  89. package/dist/esm/key-management/approval-seal.contracts.js +20 -0
  90. package/dist/esm/key-management/approval-seal.contracts.js.map +1 -1
  91. package/dist/esm/key-management/data-key.contracts.d.ts +0 -2
  92. package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -1
  93. package/dist/esm/key-management/data-key.contracts.js.map +1 -1
  94. package/dist/esm/key-management/es256-jws.d.ts.map +1 -1
  95. package/dist/esm/key-management/es256-jws.js.map +1 -1
  96. package/dist/esm/key-management/key-provider.spi.d.ts +8 -1
  97. package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -1
  98. package/dist/esm/key-management/key-provider.spi.js.map +1 -1
  99. package/dist/esm/key-management/keyring-rotation.contracts.d.ts +2 -12
  100. package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -1
  101. package/dist/esm/key-management/keyring-rotation.contracts.js +3 -3
  102. package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -1
  103. package/dist/esm/key-management/keyring-status.contracts.d.ts +0 -7
  104. package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -1
  105. package/dist/esm/key-management/keyring-status.contracts.js.map +1 -1
  106. package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
  107. package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
  108. package/dist/esm/key-management/pdf-incremental-update.js +730 -0
  109. package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
  110. package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
  111. package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
  112. package/dist/esm/key-management/pdf-truetype-font.js +152 -0
  113. package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
  114. package/dist/esm/key-management/qr-code.d.ts +38 -0
  115. package/dist/esm/key-management/qr-code.d.ts.map +1 -0
  116. package/dist/esm/key-management/qr-code.js +325 -0
  117. package/dist/esm/key-management/qr-code.js.map +1 -0
  118. package/dist/esm/key-management/signature-request.contracts.d.ts +0 -4
  119. package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -1
  120. package/dist/esm/key-management/signature-request.contracts.js.map +1 -1
  121. package/dist/esm/key-management/signing-log-export.contracts.d.ts +0 -1
  122. package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -1
  123. package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -1
  124. package/dist/esm/key-management/vault-custody.contracts.d.ts +43 -0
  125. package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -1
  126. package/dist/esm/key-management/vault-custody.contracts.js +66 -0
  127. package/dist/esm/key-management/vault-custody.contracts.js.map +1 -1
  128. package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
  129. package/dist/esm/lockfile/build-parallelism.js.map +1 -1
  130. package/dist/esm/lockfile/canonical-json.d.ts +1 -1
  131. package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
  132. package/dist/esm/lockfile/canonical-json.js +1 -1
  133. package/dist/esm/lockfile/canonical-json.js.map +1 -1
  134. package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
  135. package/dist/esm/lockfile/file-lock-hold.js +2 -1
  136. package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
  137. package/dist/esm/lockfile/lockfile-io.d.ts +6 -8
  138. package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
  139. package/dist/esm/lockfile/lockfile-io.js +6 -8
  140. package/dist/esm/lockfile/lockfile-io.js.map +1 -1
  141. package/dist/esm/lockfile/materialize-infra-section.d.ts +5 -6
  142. package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
  143. package/dist/esm/lockfile/materialize-infra-section.js +4 -5
  144. package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
  145. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +1 -247
  146. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
  147. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +1 -1
  148. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
  149. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
  150. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
  151. package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
  152. package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
  153. package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
  154. package/dist/esm/project-config/application-public-pricing-catalog.loader.js +15 -3
  155. package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
  156. package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -1
  157. package/dist/esm/project-config/application-served-public-documents.loader.js +16 -8
  158. package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -1
  159. package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
  160. package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
  161. package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
  162. package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
  163. package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
  164. package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
  165. package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
  166. package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
  167. package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
  168. package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
  169. package/dist/esm/project-config/config-module-resolution.js +33 -0
  170. package/dist/esm/project-config/config-module-resolution.js.map +1 -0
  171. package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
  172. package/dist/esm/project-config/define-framework-config.js.map +1 -1
  173. package/dist/esm/project-config/define-infra-env-config.d.ts +109 -55
  174. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
  175. package/dist/esm/project-config/define-infra-env-config.js +108 -70
  176. package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
  177. package/dist/esm/project-config/define-minion-config.d.ts +26 -36
  178. package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
  179. package/dist/esm/project-config/define-minion-config.js +64 -25
  180. package/dist/esm/project-config/define-minion-config.js.map +1 -1
  181. package/dist/esm/project-config/define-saas-config.d.ts +41 -437
  182. package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
  183. package/dist/esm/project-config/define-saas-config.js +102 -94
  184. package/dist/esm/project-config/define-saas-config.js.map +1 -1
  185. package/dist/esm/project-config/define-worker-config.d.ts +10 -20
  186. package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
  187. package/dist/esm/project-config/define-worker-config.js +10 -12
  188. package/dist/esm/project-config/define-worker-config.js.map +1 -1
  189. package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
  190. package/dist/esm/project-config/hosted-infra-env-config.js +1 -1
  191. package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
  192. package/dist/esm/project-config/index.d.ts +2 -0
  193. package/dist/esm/project-config/index.d.ts.map +1 -1
  194. package/dist/esm/project-config/index.js +2 -0
  195. package/dist/esm/project-config/index.js.map +1 -1
  196. package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
  197. package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
  198. package/dist/esm/project-config/loader-instances-zod.js +40 -0
  199. package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
  200. package/dist/esm/project-config/loader.d.ts +131 -14
  201. package/dist/esm/project-config/loader.d.ts.map +1 -1
  202. package/dist/esm/project-config/loader.js +226 -12
  203. package/dist/esm/project-config/loader.js.map +1 -1
  204. package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
  205. package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
  206. package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
  207. package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
  208. package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
  209. package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
  210. package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
  211. package/dist/esm/project-config/npm-version-range.js.map +1 -1
  212. package/dist/esm/project-config/owning-package-tsconfig.d.ts +7 -7
  213. package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -1
  214. package/dist/esm/project-config/owning-package-tsconfig.js +7 -7
  215. package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -1
  216. package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -1
  217. package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
  218. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
  219. package/dist/esm/project-config/provider-companion-discovery.js +3 -1
  220. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
  221. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +71 -46
  222. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
  223. package/dist/esm/project-config/provider-runtime-artifacts.js +150 -4
  224. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
  225. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
  226. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
  227. package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
  228. package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
  229. package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
  230. package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
  231. package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
  232. package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
  233. package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
  234. package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
  235. package/dist/esm/project-config/shared/backing-service-servability.d.ts.map +1 -1
  236. package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
  237. package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
  238. package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
  239. package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
  240. package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
  241. package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
  242. package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
  243. package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
  244. package/dist/esm/project-config/shared/csp-defaults.d.ts +34 -6
  245. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
  246. package/dist/esm/project-config/shared/csp-defaults.js +52 -8
  247. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
  248. package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
  249. package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
  250. package/dist/esm/project-config/shared/csp-emit.js +77 -24
  251. package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
  252. package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -84
  253. package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
  254. package/dist/esm/project-config/shared/csp.schemas.js +40 -12
  255. package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
  256. package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
  257. package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
  258. package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
  259. package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
  260. package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
  261. package/dist/esm/project-config/shared/environment.schemas.d.ts +95 -8
  262. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  263. package/dist/esm/project-config/shared/environment.schemas.js +122 -10
  264. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  265. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
  266. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
  267. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
  268. package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -1
  269. package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
  270. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -1
  271. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
  272. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +1 -1
  273. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
  274. package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
  275. package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
  276. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
  277. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
  278. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +20 -0
  279. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
  280. package/dist/esm/project-config/shared/minion-resource-access.validation.js +21 -2
  281. package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
  282. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
  283. package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
  284. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +62 -36
  285. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -1
  286. package/dist/esm/project-config/shared/platform-key-management.schemas.js +105 -3
  287. package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -1
  288. package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
  289. package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
  290. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
  291. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
  292. package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
  293. package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
  294. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
  295. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
  296. package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
  297. package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
  298. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
  299. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
  300. package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
  301. package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
  302. package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
  303. package/dist/esm/project-config/static-asset-import-noop.js +36 -20
  304. package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
  305. package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
  306. package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
  307. package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
  308. package/dist/esm/registry/digest.schemas.d.ts.map +1 -1
  309. package/dist/esm/registry/digest.schemas.js.map +1 -1
  310. package/dist/esm/registry/index.d.ts +2 -3
  311. package/dist/esm/registry/index.d.ts.map +1 -1
  312. package/dist/esm/registry/index.js +2 -3
  313. package/dist/esm/registry/index.js.map +1 -1
  314. package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
  315. package/dist/esm/registry/local-checkout-source.js.map +1 -1
  316. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +1 -98
  317. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
  318. package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
  319. package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
  320. package/dist/esm/registry/module-artifact.schemas.d.ts +17 -17
  321. package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
  322. package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
  323. package/dist/esm/registry/module-manifest.schemas.d.ts +151 -219
  324. package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
  325. package/dist/esm/registry/module-manifest.schemas.js +145 -13
  326. package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
  327. package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
  328. package/dist/esm/registry/module-search.schemas.js.map +1 -1
  329. package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
  330. package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
  331. package/dist/esm/registry/registry-config.schemas.js.map +1 -1
  332. package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
  333. package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
  334. package/dist/esm/registry/registry-errors.d.ts +81 -3
  335. package/dist/esm/registry/registry-errors.d.ts.map +1 -1
  336. package/dist/esm/registry/registry-errors.js +185 -4
  337. package/dist/esm/registry/registry-errors.js.map +1 -1
  338. package/dist/esm/registry/registry-keys.schemas.d.ts.map +1 -1
  339. package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
  340. package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
  341. package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
  342. package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -1
  343. package/dist/esm/registry/registry-url-resolution.js.map +1 -1
  344. package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
  345. package/dist/esm/release/framework-release.constants.js.map +1 -1
  346. package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
  347. package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
  348. package/dist/esm/schemas/framework-secrets.schemas.d.ts +0 -7
  349. package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
  350. package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
  351. package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
  352. package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
  353. package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
  354. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
  355. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
  356. package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
  357. package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
  358. package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
  359. package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
  360. package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -1
  361. package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
  362. package/dist/esm/workspace-scope/index.d.ts.map +1 -1
  363. package/dist/esm/workspace-scope/index.js.map +1 -1
  364. package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
  365. package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
  366. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
  367. package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
  368. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
  369. package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
  370. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
  371. package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
  372. package/dist/tsconfig.build.tsbuildinfo +1 -1
  373. package/package.json +12 -12
  374. package/dist/esm/_unimplemented/index.d.ts +0 -3
  375. package/dist/esm/_unimplemented/index.d.ts.map +0 -1
  376. package/dist/esm/_unimplemented/index.js +0 -3
  377. package/dist/esm/_unimplemented/index.js.map +0 -1
  378. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
  379. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
  380. package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
  381. package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
  382. package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
  383. package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
  384. package/dist/esm/project-config/shared/cdn.example.js +0 -38
  385. package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
  386. package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
  387. package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
  388. package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
  389. package/dist/esm/project-config/shared/schema-version.schemas.js.map +0 -1
@@ -13,7 +13,7 @@
13
13
  * - `modules`: module-registry lock section.
14
14
  * - `infra`: infra-provider planning lock section (per-environment
15
15
  * InfraCapability → InfraProvider selection + plan-contribution
16
- * digest). See `infra-provider-planner.md` for the design.
16
+ * digest).
17
17
  */
18
18
  import { z } from 'zod';
19
19
  import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
@@ -32,22 +32,11 @@ export declare const SaasLockfileProviderEntrySchema: z.ZodObject<{
32
32
  providerCapabilities: z.ZodArray<z.ZodString>;
33
33
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
34
34
  secretsContractDigest: z.ZodString;
35
- /**
36
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
37
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
38
- */
39
35
  connectionRef: z.ZodOptional<z.ZodString>;
40
- /**
41
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
42
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
43
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
44
- * it adds. Absent when nothing augments the provider.
45
- */
46
36
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
37
  packageName: z.ZodString;
48
38
  packageVersion: z.ZodString;
49
39
  operationIdsDigest: z.ZodString;
50
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
51
40
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
52
41
  }, z.core.$strict>>>;
53
42
  }, z.core.$strict>;
@@ -64,22 +53,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
64
53
  providerCapabilities: z.ZodArray<z.ZodString>;
65
54
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
66
55
  secretsContractDigest: z.ZodString;
67
- /**
68
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
69
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
70
- */
71
56
  connectionRef: z.ZodOptional<z.ZodString>;
72
- /**
73
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
74
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
75
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
76
- * it adds. Absent when nothing augments the provider.
77
- */
78
57
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
58
  packageName: z.ZodString;
80
59
  packageVersion: z.ZodString;
81
60
  operationIdsDigest: z.ZodString;
82
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
83
61
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
84
62
  }, z.core.$strict>>>;
85
63
  }, z.core.$strict>>>;
@@ -90,22 +68,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
90
68
  providerCapabilities: z.ZodArray<z.ZodString>;
91
69
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
92
70
  secretsContractDigest: z.ZodString;
93
- /**
94
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
95
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
96
- */
97
71
  connectionRef: z.ZodOptional<z.ZodString>;
98
- /**
99
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
100
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
101
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
102
- * it adds. Absent when nothing augments the provider.
103
- */
104
72
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
105
73
  packageName: z.ZodString;
106
74
  packageVersion: z.ZodString;
107
75
  operationIdsDigest: z.ZodString;
108
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
109
76
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
110
77
  }, z.core.$strict>>>;
111
78
  }, z.core.$strict>>>;
@@ -116,22 +83,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
116
83
  providerCapabilities: z.ZodArray<z.ZodString>;
117
84
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
118
85
  secretsContractDigest: z.ZodString;
119
- /**
120
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
121
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
122
- */
123
86
  connectionRef: z.ZodOptional<z.ZodString>;
124
- /**
125
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
126
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
127
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
128
- * it adds. Absent when nothing augments the provider.
129
- */
130
87
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
88
  packageName: z.ZodString;
132
89
  packageVersion: z.ZodString;
133
90
  operationIdsDigest: z.ZodString;
134
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
135
91
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
136
92
  }, z.core.$strict>>>;
137
93
  }, z.core.$strict>>>>;
@@ -142,22 +98,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
142
98
  providerCapabilities: z.ZodArray<z.ZodString>;
143
99
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
144
100
  secretsContractDigest: z.ZodString;
145
- /**
146
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
147
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
148
- */
149
101
  connectionRef: z.ZodOptional<z.ZodString>;
150
- /**
151
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
152
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
153
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
154
- * it adds. Absent when nothing augments the provider.
155
- */
156
102
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
103
  packageName: z.ZodString;
158
104
  packageVersion: z.ZodString;
159
105
  operationIdsDigest: z.ZodString;
160
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
161
106
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
162
107
  }, z.core.$strict>>>;
163
108
  }, z.core.$strict>>>>;
@@ -168,22 +113,11 @@ export declare const SaasLockfileRuntimeScopesProvidersSchema: z.ZodObject<{
168
113
  providerCapabilities: z.ZodArray<z.ZodString>;
169
114
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
170
115
  secretsContractDigest: z.ZodString;
171
- /**
172
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
173
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
174
- */
175
116
  connectionRef: z.ZodOptional<z.ZodString>;
176
- /**
177
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
178
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
179
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
180
- * it adds. Absent when nothing augments the provider.
181
- */
182
117
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
183
118
  packageName: z.ZodString;
184
119
  packageVersion: z.ZodString;
185
120
  operationIdsDigest: z.ZodString;
186
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
187
121
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
188
122
  }, z.core.$strict>>>;
189
123
  }, z.core.$strict>>>>;
@@ -198,22 +132,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
198
132
  providerCapabilities: z.ZodArray<z.ZodString>;
199
133
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
200
134
  secretsContractDigest: z.ZodString;
201
- /**
202
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
203
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
204
- */
205
135
  connectionRef: z.ZodOptional<z.ZodString>;
206
- /**
207
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
208
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
209
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
210
- * it adds. Absent when nothing augments the provider.
211
- */
212
136
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
137
  packageName: z.ZodString;
214
138
  packageVersion: z.ZodString;
215
139
  operationIdsDigest: z.ZodString;
216
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
217
140
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
218
141
  }, z.core.$strict>>>;
219
142
  }, z.core.$strict>>>;
@@ -224,22 +147,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
224
147
  providerCapabilities: z.ZodArray<z.ZodString>;
225
148
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
226
149
  secretsContractDigest: z.ZodString;
227
- /**
228
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
229
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
230
- */
231
150
  connectionRef: z.ZodOptional<z.ZodString>;
232
- /**
233
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
234
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
235
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
236
- * it adds. Absent when nothing augments the provider.
237
- */
238
151
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
152
  packageName: z.ZodString;
240
153
  packageVersion: z.ZodString;
241
154
  operationIdsDigest: z.ZodString;
242
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
243
155
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
244
156
  }, z.core.$strict>>>;
245
157
  }, z.core.$strict>>>;
@@ -250,22 +162,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
250
162
  providerCapabilities: z.ZodArray<z.ZodString>;
251
163
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
252
164
  secretsContractDigest: z.ZodString;
253
- /**
254
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
255
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
256
- */
257
165
  connectionRef: z.ZodOptional<z.ZodString>;
258
- /**
259
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
260
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
261
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
262
- * it adds. Absent when nothing augments the provider.
263
- */
264
166
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
265
167
  packageName: z.ZodString;
266
168
  packageVersion: z.ZodString;
267
169
  operationIdsDigest: z.ZodString;
268
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
269
170
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
270
171
  }, z.core.$strict>>>;
271
172
  }, z.core.$strict>>>>;
@@ -276,22 +177,11 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
276
177
  providerCapabilities: z.ZodArray<z.ZodString>;
277
178
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
278
179
  secretsContractDigest: z.ZodString;
279
- /**
280
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
281
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
282
- */
283
180
  connectionRef: z.ZodOptional<z.ZodString>;
284
- /**
285
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
286
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
287
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
288
- * it adds. Absent when nothing augments the provider.
289
- */
290
181
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
291
182
  packageName: z.ZodString;
292
183
  packageVersion: z.ZodString;
293
184
  operationIdsDigest: z.ZodString;
294
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
295
185
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
296
186
  }, z.core.$strict>>>;
297
187
  }, z.core.$strict>>>>;
@@ -302,31 +192,15 @@ export declare const SaasLockfileProvidersSectionSchema: z.ZodObject<{
302
192
  providerCapabilities: z.ZodArray<z.ZodString>;
303
193
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
304
194
  secretsContractDigest: z.ZodString;
305
- /**
306
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
307
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
308
- */
309
195
  connectionRef: z.ZodOptional<z.ZodString>;
310
- /**
311
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
312
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
313
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
314
- * it adds. Absent when nothing augments the provider.
315
- */
316
196
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
317
197
  packageName: z.ZodString;
318
198
  packageVersion: z.ZodString;
319
199
  operationIdsDigest: z.ZodString;
320
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
321
200
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
322
201
  }, z.core.$strict>>>;
323
202
  }, z.core.$strict>>>>;
324
203
  }, z.core.$strict>;
325
- /**
326
- * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
327
- * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
328
- * discovery, or being upgraded. Absent when the application lists none.
329
- */
330
204
  admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
331
205
  packageName: z.ZodString;
332
206
  packageVersion: z.ZodOptional<z.ZodString>;
@@ -471,22 +345,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
471
345
  providerCapabilities: z.ZodArray<z.ZodString>;
472
346
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
473
347
  secretsContractDigest: z.ZodString;
474
- /**
475
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
476
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
477
- */
478
348
  connectionRef: z.ZodOptional<z.ZodString>;
479
- /**
480
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
481
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
482
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
483
- * it adds. Absent when nothing augments the provider.
484
- */
485
349
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
486
350
  packageName: z.ZodString;
487
351
  packageVersion: z.ZodString;
488
352
  operationIdsDigest: z.ZodString;
489
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
490
353
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
491
354
  }, z.core.$strict>>>;
492
355
  }, z.core.$strict>>>;
@@ -497,22 +360,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
497
360
  providerCapabilities: z.ZodArray<z.ZodString>;
498
361
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
499
362
  secretsContractDigest: z.ZodString;
500
- /**
501
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
502
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
503
- */
504
363
  connectionRef: z.ZodOptional<z.ZodString>;
505
- /**
506
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
507
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
508
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
509
- * it adds. Absent when nothing augments the provider.
510
- */
511
364
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
512
365
  packageName: z.ZodString;
513
366
  packageVersion: z.ZodString;
514
367
  operationIdsDigest: z.ZodString;
515
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
516
368
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
517
369
  }, z.core.$strict>>>;
518
370
  }, z.core.$strict>>>;
@@ -523,22 +375,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
523
375
  providerCapabilities: z.ZodArray<z.ZodString>;
524
376
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
525
377
  secretsContractDigest: z.ZodString;
526
- /**
527
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
528
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
529
- */
530
378
  connectionRef: z.ZodOptional<z.ZodString>;
531
- /**
532
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
533
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
534
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
535
- * it adds. Absent when nothing augments the provider.
536
- */
537
379
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
538
380
  packageName: z.ZodString;
539
381
  packageVersion: z.ZodString;
540
382
  operationIdsDigest: z.ZodString;
541
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
542
383
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
543
384
  }, z.core.$strict>>>;
544
385
  }, z.core.$strict>>>>;
@@ -549,22 +390,11 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
549
390
  providerCapabilities: z.ZodArray<z.ZodString>;
550
391
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
551
392
  secretsContractDigest: z.ZodString;
552
- /**
553
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
554
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
555
- */
556
393
  connectionRef: z.ZodOptional<z.ZodString>;
557
- /**
558
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
559
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
560
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
561
- * it adds. Absent when nothing augments the provider.
562
- */
563
394
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
395
  packageName: z.ZodString;
565
396
  packageVersion: z.ZodString;
566
397
  operationIdsDigest: z.ZodString;
567
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
568
398
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
569
399
  }, z.core.$strict>>>;
570
400
  }, z.core.$strict>>>>;
@@ -575,31 +405,15 @@ export declare const SaasLockfileKnownSectionsSchema: z.ZodObject<{
575
405
  providerCapabilities: z.ZodArray<z.ZodString>;
576
406
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
577
407
  secretsContractDigest: z.ZodString;
578
- /**
579
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
580
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
581
- */
582
408
  connectionRef: z.ZodOptional<z.ZodString>;
583
- /**
584
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
585
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
586
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
587
- * it adds. Absent when nothing augments the provider.
588
- */
589
409
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
590
410
  packageName: z.ZodString;
591
411
  packageVersion: z.ZodString;
592
412
  operationIdsDigest: z.ZodString;
593
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
594
413
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
595
414
  }, z.core.$strict>>>;
596
415
  }, z.core.$strict>>>>;
597
416
  }, z.core.$strict>;
598
- /**
599
- * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
600
- * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
601
- * discovery, or being upgraded. Absent when the application lists none.
602
- */
603
417
  admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
604
418
  packageName: z.ZodString;
605
419
  packageVersion: z.ZodOptional<z.ZodString>;
@@ -730,22 +544,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
730
544
  providerCapabilities: z.ZodArray<z.ZodString>;
731
545
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
732
546
  secretsContractDigest: z.ZodString;
733
- /**
734
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
735
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
736
- */
737
547
  connectionRef: z.ZodOptional<z.ZodString>;
738
- /**
739
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
740
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
741
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
742
- * it adds. Absent when nothing augments the provider.
743
- */
744
548
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
745
549
  packageName: z.ZodString;
746
550
  packageVersion: z.ZodString;
747
551
  operationIdsDigest: z.ZodString;
748
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
749
552
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
750
553
  }, z.core.$strict>>>;
751
554
  }, z.core.$strict>>>;
@@ -756,22 +559,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
756
559
  providerCapabilities: z.ZodArray<z.ZodString>;
757
560
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
758
561
  secretsContractDigest: z.ZodString;
759
- /**
760
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
761
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
762
- */
763
562
  connectionRef: z.ZodOptional<z.ZodString>;
764
- /**
765
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
766
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
767
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
768
- * it adds. Absent when nothing augments the provider.
769
- */
770
563
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
771
564
  packageName: z.ZodString;
772
565
  packageVersion: z.ZodString;
773
566
  operationIdsDigest: z.ZodString;
774
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
775
567
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
776
568
  }, z.core.$strict>>>;
777
569
  }, z.core.$strict>>>;
@@ -782,22 +574,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
782
574
  providerCapabilities: z.ZodArray<z.ZodString>;
783
575
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
784
576
  secretsContractDigest: z.ZodString;
785
- /**
786
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
787
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
788
- */
789
577
  connectionRef: z.ZodOptional<z.ZodString>;
790
- /**
791
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
792
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
793
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
794
- * it adds. Absent when nothing augments the provider.
795
- */
796
578
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
579
  packageName: z.ZodString;
798
580
  packageVersion: z.ZodString;
799
581
  operationIdsDigest: z.ZodString;
800
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
801
582
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
802
583
  }, z.core.$strict>>>;
803
584
  }, z.core.$strict>>>>;
@@ -808,22 +589,11 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
808
589
  providerCapabilities: z.ZodArray<z.ZodString>;
809
590
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
810
591
  secretsContractDigest: z.ZodString;
811
- /**
812
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
813
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
814
- */
815
592
  connectionRef: z.ZodOptional<z.ZodString>;
816
- /**
817
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
818
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
819
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
820
- * it adds. Absent when nothing augments the provider.
821
- */
822
593
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
823
594
  packageName: z.ZodString;
824
595
  packageVersion: z.ZodString;
825
596
  operationIdsDigest: z.ZodString;
826
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
827
597
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
828
598
  }, z.core.$strict>>>;
829
599
  }, z.core.$strict>>>>;
@@ -834,31 +604,15 @@ export declare const SaasLockfileEnvelopeSchema: z.ZodObject<{
834
604
  providerCapabilities: z.ZodArray<z.ZodString>;
835
605
  protocols: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof ExternalProvider_ExchangeProtocol_Kind>, z.ZodString]>>;
836
606
  secretsContractDigest: z.ZodString;
837
- /**
838
- * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of
839
- * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.
840
- */
841
607
  connectionRef: z.ZodOptional<z.ZodString>;
842
- /**
843
- * The augmentations the application opted into for this provider (#1672): third-party packages whose
844
- * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of
845
- * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what
846
- * it adds. Absent when nothing augments the provider.
847
- */
848
608
  augmentations: z.ZodOptional<z.ZodArray<z.ZodObject<{
849
609
  packageName: z.ZodString;
850
610
  packageVersion: z.ZodString;
851
611
  operationIdsDigest: z.ZodString;
852
- /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */
853
612
  requiredScopesDigest: z.ZodOptional<z.ZodString>;
854
613
  }, z.core.$strict>>>;
855
614
  }, z.core.$strict>>>>;
856
615
  }, z.core.$strict>;
857
- /**
858
- * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each
859
- * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider
860
- * discovery, or being upgraded. Absent when the application lists none.
861
- */
862
616
  admittedPackages: z.ZodOptional<z.ZodArray<z.ZodObject<{
863
617
  packageName: z.ZodString;
864
618
  packageVersion: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-saas-lock.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/lockfile/wildo-saas-lock.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,O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G;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAK9E;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAOzE"}
@@ -13,7 +13,7 @@
13
13
  * - `modules`: module-registry lock section.
14
14
  * - `infra`: infra-provider planning lock section (per-environment
15
15
  * InfraCapability → InfraProvider selection + plan-contribution
16
- * digest). See `infra-provider-planner.md` for the design.
16
+ * digest).
17
17
  */
18
18
  import { z } from 'zod';
19
19
  import { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-saas-lock.shared.schemas.js","sourceRoot":"","sources":["../../../../src/lockfile/wildo-saas-lock.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACL,eAAe,EACf,aAAa,GACd,MAAM,kDAAkD,CAAC;AAE1D,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACxD,2EAA2E,EAC3E,oFAAoF,CACrF,CAAC;AAEF,MAAM,+BAA+B,GAAG,CAAC,CAAC,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SAAS,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IACxD,OAAO,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IACpD,KAAK,EAAE,8BAA8B,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAGzB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,QAAQ,EAAE,+BAA+B;CAC1C,CAAC,CAAC;AAGH,qGAAqG;AACrG,MAAM,8BAA8B,GAAsB,CAAC,aAAa,CAAC,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,UAAU,kCAAkC,CAAC,IAAa;IAC9D,IAAI,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAClF,MAAM,IAAI,GAA4B,EAAE,CAAC;IACzC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * Canonical `wildo-saas.lock.json` envelope shared by every lockfile\n * writer.\n *\n * The envelope mirrors the existing companion-owned lockfile model:\n * `{ schemaVersion, sections }`. Each subsystem owns a\n * named section under `sections`; the envelope never promotes subsystem\n * data to top-level keys.\n *\n * Reserved section names:\n * - `i18n`: companion labelling/translation state.\n * - `providers`: provider-registration lock section.\n * - `modules`: module-registry lock section.\n * - `infra`: infra-provider planning lock section (per-environment\n * InfraCapability → InfraProvider selection + plan-contribution\n * digest). See `infra-provider-planner.md` for the design.\n */\n\nimport { z } from 'zod';\nimport { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { RegistryModulesLockSectionSchema } from '../registry/lockfile-modules-section.schemas';\nimport {\n InfraCapability,\n InfraProvider,\n} from '../project-config/shared/infra-providers.schemas';\n\nconst ProviderCapabilityLockValueSchema = z.string().regex(\n /^(?:[A-Z][A-Z0-9_]*(?:\\.[A-Z][A-Z0-9_]*)?|[a-z][a-z0-9]*(?:-[a-z0-9]+)*)$/,\n 'providerCapabilities must use built-in uppercase or app custom kebab-case literals',\n);\n\nconst ProviderProtocolLockValueSchema = z.union([\n z.enum(ExternalProvider_ExchangeProtocol_Kind),\n z.string().regex(/^[A-Z][A-Z0-9_]*$/, 'protocols must use known external protocol literals or backend protocol constants'),\n]);\n\n/**\n * Per-facet, per-provider locked entry. Recorded once per `(facet, ref)`.\n *\n * NEVER includes secret values. `secretsContractDigest` only digests the\n * shape of the contract: env-var names, required-ness, and descriptions.\n */\nexport const SaasLockfileProviderEntrySchema = z.strictObject({\n ref: z.string(),\n digest: z.string(),\n engineCapabilities: z.array(z.enum(EngineCapability)).default([]),\n providerCapabilities: z.array(ProviderCapabilityLockValueSchema),\n protocols: z.array(ProviderProtocolLockValueSchema),\n secretsContractDigest: z.string(),\n /**\n * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of\n * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.\n */\n connectionRef: z.string().min(1).optional(),\n /**\n * The augmentations the application opted into for this provider (#1672): third-party packages whose\n * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of\n * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what\n * it adds. Absent when nothing augments the provider.\n */\n augmentations: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1),\n operationIdsDigest: z.string().min(1),\n /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */\n requiredScopesDigest: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProviderEntry = z.infer<typeof SaasLockfileProviderEntrySchema>;\n\n/**\n * `sections.providers`: provider lock records keyed by runtime scope and\n * provider ref. Runtime scopes mirror `defineSaaSProviders({ scopes })`.\n */\nexport const SaasLockfileRuntimeScopesProvidersSchema = z.strictObject({\n backend: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n companion: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n frontendServices: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n workers: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n minions: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n});\nexport type SaasLockfileRuntimeScopesProviders = z.infer<typeof SaasLockfileRuntimeScopesProvidersSchema>;\n\nexport const SaasLockfileProvidersSectionSchema = z.strictObject({\n runtimeScopes: SaasLockfileRuntimeScopesProvidersSchema,\n /**\n * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each\n * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider\n * discovery, or being upgraded. Absent when the application lists none.\n */\n admittedPackages: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProvidersSection = z.infer<typeof SaasLockfileProvidersSectionSchema>;\n\n/**\n * `sections.infra`: infra-provider lock records keyed by environment\n * name and `InfraCapability`. Captures which `InfraProvider` was\n * selected for a capability in a given environment and the digest of\n * its `plan()` contribution at that time. Drift between authored\n * `wildo.infra.<env>.config.ts` and the lockfile fails CI (future\n * `wildo lock --check` slice).\n *\n * Decomposition is per-environment first (then capability) because\n * `wildo.infra.<env>.config.ts` is per-env: cross-env diffs read more\n * naturally as \"env A provides QUEUE via X, env B provides QUEUE via\n * Y\" than as \"QUEUE is provided by X in env A and Y in env B\".\n */\nconst SaasLockfileInfraCapabilitySelectionSchema = z.strictObject({\n provider: z.enum(InfraProvider),\n providerSelectedAt: z.string().datetime({ offset: true }),\n planContributionDigest: z.string(),\n});\nexport type SaasLockfileInfraCapabilitySelection = z.infer<\n typeof SaasLockfileInfraCapabilitySelectionSchema\n>;\n\n/**\n * Per-environment capability map. Capabilities are sparse — an env\n * only declares the capabilities its app actually selects, so each\n * `InfraCapability` slot is `.optional()`. This mirrors the pattern\n * used by `BackingServicesEnvConfigSchema` (in\n * `../project-config/shared/backing-services.schemas.ts`).\n */\nconst SaasLockfileInfraEnvironmentSchema = z.strictObject({\n capabilities: z.object({\n [InfraCapability.DOCUMENT_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.RELATIONAL_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.AUDIT_LOG_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.OBJECT_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.ANTIVIRUS_SCANNING]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.QUEUING_SYSTEM]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.CACHE_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.METRICS_TELEMETRY]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.BACKUP_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n }).strict(),\n});\nexport type SaasLockfileInfraEnvironment = z.infer<typeof SaasLockfileInfraEnvironmentSchema>;\n\nexport const SaasLockfileInfraSectionSchema = z.strictObject({\n environments: z.record(z.string(), SaasLockfileInfraEnvironmentSchema),\n});\nexport type SaasLockfileInfraSection = z.infer<typeof SaasLockfileInfraSectionSchema>;\n\nexport const SaasLockfileKnownSectionsSchema = z.object({\n providers: SaasLockfileProvidersSectionSchema.optional(),\n modules: RegistryModulesLockSectionSchema.optional(),\n infra: SaasLockfileInfraSectionSchema.optional(),\n}).catchall(z.unknown());\nexport type SaasLockfileKnownSections = z.infer<typeof SaasLockfileKnownSectionsSchema>;\n\n/**\n * Top-level lockfile envelope.\n *\n * Forward compatibility lives in `sections`: readers validate the\n * sections they know and preserve unknown section payloads as `unknown`.\n * This keeps a provider-only tool from accidentally deleting `i18n` or\n * module-registry state.\n *\n * The envelope carries NO timestamp, like npm's, pnpm's, Cargo's and Yarn's lockfiles: the file is\n * committed, git already records when it changed, and a wall clock in it made equal content unequal\n * bytes. It held a `generatedAt` until 2026-10-01, re-stamped on every write, so a `wildo registry\n * add` + `remove` round trip that restored every section still left a diff, and two branches that\n * each touched the lockfile always conflicted on that line (#1765). Read a file through\n * {@link withoutRetiredLockfileEnvelopeKeys} so one written before the change still parses.\n */\nexport const SaasLockfileEnvelopeSchema = z.strictObject({\n schemaVersion: z.literal(2),\n sections: SaasLockfileKnownSectionsSchema,\n});\nexport type SaasLockfileEnvelope = z.infer<typeof SaasLockfileEnvelopeSchema>;\n\n/** Top-level keys earlier envelopes carried. A reader drops them; the next write leaves them out. */\nconst RETIRED_LOCKFILE_ENVELOPE_KEYS: readonly string[] = ['generatedAt'];\n\n/**\n * The parsed JSON of a lockfile, without the keys the envelope no longer carries. Apply it before\n * {@link SaasLockfileEnvelopeSchema} (which is strict) to anything read from disk: every lockfile\n * written before 2026-10-01 carries a `generatedAt`, and refusing those would refuse every existing\n * application's lockfile. Anything that is not a plain object is returned as it is, for the schema\n * to refuse.\n */\nexport function withoutRetiredLockfileEnvelopeKeys(json: unknown): unknown {\n if (json === null || typeof json !== 'object' || Array.isArray(json)) return json;\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(json)) {\n if (!RETIRED_LOCKFILE_ENVELOPE_KEYS.includes(key)) kept[key] = value;\n }\n return kept;\n}\n"]}
1
+ {"version":3,"file":"w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C,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAChD,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * Canonical `wildo-saas.lock.json` envelope shared by every lockfile\n * writer.\n *\n * The envelope mirrors the existing companion-owned lockfile model:\n * `{ schemaVersion, sections }`. Each subsystem owns a\n * named section under `sections`; the envelope never promotes subsystem\n * data to top-level keys.\n *\n * Reserved section names:\n * - `i18n`: companion labelling/translation state.\n * - `providers`: provider-registration lock section.\n * - `modules`: module-registry lock section.\n * - `infra`: infra-provider planning lock section (per-environment\n * InfraCapability → InfraProvider selection + plan-contribution\n * digest).\n */\n\nimport { z } from 'zod';\nimport { ExternalProvider_ExchangeProtocol_Kind } from '@wildo-ai/external-connectors-models';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { RegistryModulesLockSectionSchema } from '../registry/lockfile-modules-section.schemas';\nimport {\n InfraCapability,\n InfraProvider,\n} from '../project-config/shared/infra-providers.schemas';\n\nconst ProviderCapabilityLockValueSchema = z.string().regex(\n /^(?:[A-Z][A-Z0-9_]*(?:\\.[A-Z][A-Z0-9_]*)?|[a-z][a-z0-9]*(?:-[a-z0-9]+)*)$/,\n 'providerCapabilities must use built-in uppercase or app custom kebab-case literals',\n);\n\nconst ProviderProtocolLockValueSchema = z.union([\n z.enum(ExternalProvider_ExchangeProtocol_Kind),\n z.string().regex(/^[A-Z][A-Z0-9_]*$/, 'protocols must use known external protocol literals or backend protocol constants'),\n]);\n\n/**\n * Per-facet, per-provider locked entry. Recorded once per `(facet, ref)`.\n *\n * NEVER includes secret values. `secretsContractDigest` only digests the\n * shape of the contract: env-var names, required-ness, and descriptions.\n */\nexport const SaasLockfileProviderEntrySchema = z.strictObject({\n ref: z.string(),\n digest: z.string(),\n engineCapabilities: z.array(z.enum(EngineCapability)).default([]),\n providerCapabilities: z.array(ProviderCapabilityLockValueSchema),\n protocols: z.array(ProviderProtocolLockValueSchema),\n secretsContractDigest: z.string(),\n /**\n * The BASE ref whose connection this provider spends (#1725), present only when it is another ref — a member of\n * a declared `providers.sharedConnections` entry. Absent for every undeclared ref, which is its own connection.\n */\n connectionRef: z.string().min(1).optional(),\n /**\n * The augmentations the application opted into for this provider (#1672): third-party packages whose\n * operations run on this provider's grant. Recorded per package with its INSTALLED version and a digest of\n * the operation ids it adds, so a lock diff shows third-party code arriving, being upgraded, or changing what\n * it adds. Absent when nothing augments the provider.\n */\n augmentations: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1),\n operationIdsDigest: z.string().min(1),\n /** A digest of the vendor scopes it requires (#1671) — a new scope is a new thing a person may be asked to consent to. Absent when none. */\n requiredScopesDigest: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProviderEntry = z.infer<typeof SaasLockfileProviderEntrySchema>;\n\n/**\n * `sections.providers`: provider lock records keyed by runtime scope and\n * provider ref. Runtime scopes mirror `defineSaaSProviders({ scopes })`.\n */\nexport const SaasLockfileRuntimeScopesProvidersSchema = z.strictObject({\n backend: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n companion: z.record(z.string(), SaasLockfileProviderEntrySchema).optional(),\n frontendServices: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n workers: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n minions: z.record(\n z.string(),\n z.record(z.string(), SaasLockfileProviderEntrySchema),\n ).optional(),\n});\nexport type SaasLockfileRuntimeScopesProviders = z.infer<typeof SaasLockfileRuntimeScopesProvidersSchema>;\n\nexport const SaasLockfileProvidersSectionSchema = z.strictObject({\n runtimeScopes: SaasLockfileRuntimeScopesProvidersSchema,\n /**\n * The packages from outside the names discovery walks by itself that `providers.packages` admitted (#1676), each\n * with its INSTALLED version, sorted by name. Recorded so a lock diff shows third-party code entering provider\n * discovery, or being upgraded. Absent when the application lists none.\n */\n admittedPackages: z.array(z.strictObject({\n packageName: z.string().min(1),\n packageVersion: z.string().min(1).optional(),\n })).optional(),\n});\nexport type SaasLockfileProvidersSection = z.infer<typeof SaasLockfileProvidersSectionSchema>;\n\n/**\n * `sections.infra`: infra-provider lock records keyed by environment\n * name and `InfraCapability`. Captures which `InfraProvider` was\n * selected for a capability in a given environment and the digest of\n * its `plan()` contribution at that time. Drift between authored\n * `wildo.infra.<env>.config.ts` and the lockfile fails CI (future\n * `wildo lock --check` slice).\n *\n * Decomposition is per-environment first (then capability) because\n * `wildo.infra.<env>.config.ts` is per-env: cross-env diffs read more\n * naturally as \"env A provides QUEUE via X, env B provides QUEUE via\n * Y\" than as \"QUEUE is provided by X in env A and Y in env B\".\n */\nconst SaasLockfileInfraCapabilitySelectionSchema = z.strictObject({\n provider: z.enum(InfraProvider),\n providerSelectedAt: z.string().datetime({ offset: true }),\n planContributionDigest: z.string(),\n});\nexport type SaasLockfileInfraCapabilitySelection = z.infer<\n typeof SaasLockfileInfraCapabilitySelectionSchema\n>;\n\n/**\n * Per-environment capability map. Capabilities are sparse — an env\n * only declares the capabilities its app actually selects, so each\n * `InfraCapability` slot is `.optional()`. This mirrors the pattern\n * used by `BackingServicesEnvConfigSchema` (in\n * `../project-config/shared/backing-services.schemas.ts`).\n */\nconst SaasLockfileInfraEnvironmentSchema = z.strictObject({\n capabilities: z.object({\n [InfraCapability.DOCUMENT_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.RELATIONAL_DATABASE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.AUDIT_LOG_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.OBJECT_STORAGE]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.ANTIVIRUS_SCANNING]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.QUEUING_SYSTEM]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.CACHE_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.METRICS_TELEMETRY]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n [InfraCapability.BACKUP_MANAGER]: SaasLockfileInfraCapabilitySelectionSchema.optional(),\n }).strict(),\n});\nexport type SaasLockfileInfraEnvironment = z.infer<typeof SaasLockfileInfraEnvironmentSchema>;\n\nexport const SaasLockfileInfraSectionSchema = z.strictObject({\n environments: z.record(z.string(), SaasLockfileInfraEnvironmentSchema),\n});\nexport type SaasLockfileInfraSection = z.infer<typeof SaasLockfileInfraSectionSchema>;\n\nexport const SaasLockfileKnownSectionsSchema = z.object({\n providers: SaasLockfileProvidersSectionSchema.optional(),\n modules: RegistryModulesLockSectionSchema.optional(),\n infra: SaasLockfileInfraSectionSchema.optional(),\n}).catchall(z.unknown());\nexport type SaasLockfileKnownSections = z.infer<typeof SaasLockfileKnownSectionsSchema>;\n\n/**\n * Top-level lockfile envelope.\n *\n * Forward compatibility lives in `sections`: readers validate the\n * sections they know and preserve unknown section payloads as `unknown`.\n * This keeps a provider-only tool from accidentally deleting `i18n` or\n * module-registry state.\n *\n * The envelope carries NO timestamp, like npm's, pnpm's, Cargo's and Yarn's lockfiles: the file is\n * committed, git already records when it changed, and a wall clock in it made equal content unequal\n * bytes. It held a `generatedAt` until 2026-10-01, re-stamped on every write, so a `wildo registry\n * add` + `remove` round trip that restored every section still left a diff, and two branches that\n * each touched the lockfile always conflicted on that line (#1765). Read a file through\n * {@link withoutRetiredLockfileEnvelopeKeys} so one written before the change still parses.\n */\nexport const SaasLockfileEnvelopeSchema = z.strictObject({\n schemaVersion: z.literal(2),\n sections: SaasLockfileKnownSectionsSchema,\n});\nexport type SaasLockfileEnvelope = z.infer<typeof SaasLockfileEnvelopeSchema>;\n\n/** Top-level keys earlier envelopes carried. A reader drops them; the next write leaves them out. */\nconst RETIRED_LOCKFILE_ENVELOPE_KEYS: readonly string[] = ['generatedAt'];\n\n/**\n * The parsed JSON of a lockfile, without the keys the envelope no longer carries. Apply it before\n * {@link SaasLockfileEnvelopeSchema} (which is strict) to anything read from disk: every lockfile\n * written before 2026-10-01 carries a `generatedAt`, and refusing those would refuse every existing\n * application's lockfile. Anything that is not a plain object is returned as it is, for the schema\n * to refuse.\n */\nexport function withoutRetiredLockfileEnvelopeKeys(json: unknown): unknown {\n if (json === null || typeof json !== 'object' || Array.isArray(json)) return json;\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(json)) {\n if (!RETIRED_LOCKFILE_ENVELOPE_KEYS.includes(key)) kept[key] = value;\n }\n return kept;\n}\n"]}