@wildo-ai/platform-config-lib 1.1.10 → 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 (396) 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 +83 -0
  6. package/dist/esm/blueprint/anchored-region.d.ts.map +1 -0
  7. package/dist/esm/blueprint/anchored-region.js +263 -0
  8. package/dist/esm/blueprint/anchored-region.js.map +1 -0
  9. package/dist/esm/blueprint/blueprint.schemas.d.ts +600 -0
  10. package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -0
  11. package/dist/esm/blueprint/blueprint.schemas.js +638 -0
  12. package/dist/esm/blueprint/blueprint.schemas.js.map +1 -0
  13. package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
  14. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
  15. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
  16. package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
  17. package/dist/esm/bootstrap/bootstrap.contracts.d.ts +13 -1
  18. package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
  19. package/dist/esm/bootstrap/bootstrap.contracts.js +6 -0
  20. package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
  21. package/dist/esm/bootstrap/bootstrap.schemas.d.ts +29 -4
  22. package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
  23. package/dist/esm/bootstrap/bootstrap.schemas.js +29 -4
  24. package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
  25. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +131 -2
  26. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  27. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +139 -2
  28. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  29. package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
  30. package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
  31. package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
  32. package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
  33. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
  34. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
  35. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
  36. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
  37. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
  38. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
  39. package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
  40. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
  41. package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
  42. package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
  43. package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
  44. package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
  45. package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
  46. package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
  47. package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
  48. package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
  49. package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
  50. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
  51. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
  52. package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
  53. package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
  54. package/dist/esm/bootstrap/runtime-response-integrity.d.ts +249 -0
  55. package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -0
  56. package/dist/esm/bootstrap/runtime-response-integrity.js +353 -0
  57. package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -0
  58. package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts +32 -0
  59. package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -0
  60. package/dist/esm/bootstrap/runtime-secret-env.contracts.js +43 -0
  61. package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -0
  62. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  63. package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
  64. package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts +51 -0
  65. package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -0
  66. package/dist/esm/canonical-json/rfc8785-canonical-json.js +231 -0
  67. package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -0
  68. package/dist/esm/config-authoring.entry.js.map +1 -1
  69. package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
  70. package/dist/esm/credentials/credential-generator.service.js.map +1 -1
  71. package/dist/esm/index.d.ts +20 -1
  72. package/dist/esm/index.d.ts.map +1 -1
  73. package/dist/esm/index.js +20 -1
  74. package/dist/esm/index.js.map +1 -1
  75. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
  76. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
  77. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
  78. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
  79. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
  80. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
  81. package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
  82. package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
  83. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
  84. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
  85. package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
  86. package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
  87. package/dist/esm/key-management/approval-seal-verifier.d.ts +278 -0
  88. package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -0
  89. package/dist/esm/key-management/approval-seal-verifier.js +355 -0
  90. package/dist/esm/key-management/approval-seal-verifier.js.map +1 -0
  91. package/dist/esm/key-management/approval-seal.contracts.d.ts +128 -0
  92. package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -0
  93. package/dist/esm/key-management/approval-seal.contracts.js +135 -0
  94. package/dist/esm/key-management/approval-seal.contracts.js.map +1 -0
  95. package/dist/esm/key-management/data-key.contracts.d.ts +106 -0
  96. package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -0
  97. package/dist/esm/key-management/data-key.contracts.js +54 -0
  98. package/dist/esm/key-management/data-key.contracts.js.map +1 -0
  99. package/dist/esm/key-management/es256-jws.d.ts +60 -0
  100. package/dist/esm/key-management/es256-jws.d.ts.map +1 -0
  101. package/dist/esm/key-management/es256-jws.js +135 -0
  102. package/dist/esm/key-management/es256-jws.js.map +1 -0
  103. package/dist/esm/key-management/key-provider.spi.d.ts +158 -0
  104. package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -0
  105. package/dist/esm/key-management/key-provider.spi.js +38 -0
  106. package/dist/esm/key-management/key-provider.spi.js.map +1 -0
  107. package/dist/esm/key-management/keyring-rotation.contracts.d.ts +83 -0
  108. package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -0
  109. package/dist/esm/key-management/keyring-rotation.contracts.js +101 -0
  110. package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -0
  111. package/dist/esm/key-management/keyring-status.contracts.d.ts +59 -0
  112. package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -0
  113. package/dist/esm/key-management/keyring-status.contracts.js +45 -0
  114. package/dist/esm/key-management/keyring-status.contracts.js.map +1 -0
  115. package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
  116. package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
  117. package/dist/esm/key-management/pdf-incremental-update.js +730 -0
  118. package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
  119. package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
  120. package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
  121. package/dist/esm/key-management/pdf-truetype-font.js +152 -0
  122. package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
  123. package/dist/esm/key-management/qr-code.d.ts +38 -0
  124. package/dist/esm/key-management/qr-code.d.ts.map +1 -0
  125. package/dist/esm/key-management/qr-code.js +325 -0
  126. package/dist/esm/key-management/qr-code.js.map +1 -0
  127. package/dist/esm/key-management/signature-request.contracts.d.ts +91 -0
  128. package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -0
  129. package/dist/esm/key-management/signature-request.contracts.js +96 -0
  130. package/dist/esm/key-management/signature-request.contracts.js.map +1 -0
  131. package/dist/esm/key-management/signing-log-export.contracts.d.ts +215 -0
  132. package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -0
  133. package/dist/esm/key-management/signing-log-export.contracts.js +268 -0
  134. package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -0
  135. package/dist/esm/key-management/vault-custody.contracts.d.ts +98 -0
  136. package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -0
  137. package/dist/esm/key-management/vault-custody.contracts.js +154 -0
  138. package/dist/esm/key-management/vault-custody.contracts.js.map +1 -0
  139. package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
  140. package/dist/esm/lockfile/build-parallelism.js.map +1 -1
  141. package/dist/esm/lockfile/canonical-json.d.ts +1 -1
  142. package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
  143. package/dist/esm/lockfile/canonical-json.js +1 -1
  144. package/dist/esm/lockfile/canonical-json.js.map +1 -1
  145. package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
  146. package/dist/esm/lockfile/file-lock-hold.js +2 -1
  147. package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
  148. package/dist/esm/lockfile/lockfile-io.d.ts +13 -17
  149. package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
  150. package/dist/esm/lockfile/lockfile-io.js +29 -30
  151. package/dist/esm/lockfile/lockfile-io.js.map +1 -1
  152. package/dist/esm/lockfile/materialize-infra-section.d.ts +22 -20
  153. package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
  154. package/dist/esm/lockfile/materialize-infra-section.js +13 -14
  155. package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
  156. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +27 -249
  157. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
  158. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +28 -3
  159. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
  160. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
  161. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
  162. package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
  163. package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
  164. package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
  165. package/dist/esm/project-config/application-public-pricing-catalog.loader.js +22 -3
  166. package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
  167. package/dist/esm/project-config/application-served-public-documents.loader.d.ts +26 -0
  168. package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -0
  169. package/dist/esm/project-config/application-served-public-documents.loader.js +86 -0
  170. package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -0
  171. package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
  172. package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
  173. package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
  174. package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
  175. package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
  176. package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
  177. package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
  178. package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
  179. package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
  180. package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
  181. package/dist/esm/project-config/config-module-resolution.js +33 -0
  182. package/dist/esm/project-config/config-module-resolution.js.map +1 -0
  183. package/dist/esm/project-config/define-framework-config.js.map +1 -1
  184. package/dist/esm/project-config/define-infra-env-config.d.ts +344 -69
  185. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
  186. package/dist/esm/project-config/define-infra-env-config.js +194 -143
  187. package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
  188. package/dist/esm/project-config/define-minion-config.d.ts +26 -36
  189. package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
  190. package/dist/esm/project-config/define-minion-config.js +64 -25
  191. package/dist/esm/project-config/define-minion-config.js.map +1 -1
  192. package/dist/esm/project-config/define-saas-config.d.ts +82 -348
  193. package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
  194. package/dist/esm/project-config/define-saas-config.js +262 -103
  195. package/dist/esm/project-config/define-saas-config.js.map +1 -1
  196. package/dist/esm/project-config/define-worker-config.d.ts +10 -20
  197. package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
  198. package/dist/esm/project-config/define-worker-config.js +10 -12
  199. package/dist/esm/project-config/define-worker-config.js.map +1 -1
  200. package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
  201. package/dist/esm/project-config/hosted-infra-env-config.js +4 -1
  202. package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
  203. package/dist/esm/project-config/index.d.ts +5 -0
  204. package/dist/esm/project-config/index.d.ts.map +1 -1
  205. package/dist/esm/project-config/index.js +5 -0
  206. package/dist/esm/project-config/index.js.map +1 -1
  207. package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
  208. package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
  209. package/dist/esm/project-config/loader-instances-zod.js +40 -0
  210. package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
  211. package/dist/esm/project-config/loader.d.ts +131 -14
  212. package/dist/esm/project-config/loader.d.ts.map +1 -1
  213. package/dist/esm/project-config/loader.js +226 -12
  214. package/dist/esm/project-config/loader.js.map +1 -1
  215. package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
  216. package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
  217. package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
  218. package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
  219. package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
  220. package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
  221. package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
  222. package/dist/esm/project-config/npm-version-range.js +39 -16
  223. package/dist/esm/project-config/npm-version-range.js.map +1 -1
  224. package/dist/esm/project-config/owning-package-tsconfig.d.ts +15 -0
  225. package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -0
  226. package/dist/esm/project-config/owning-package-tsconfig.js +29 -0
  227. package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -0
  228. package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
  229. package/dist/esm/project-config/provider-companion-discovery.d.ts +4 -4
  230. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
  231. package/dist/esm/project-config/provider-companion-discovery.js +16 -10
  232. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
  233. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +103 -49
  234. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
  235. package/dist/esm/project-config/provider-runtime-artifacts.js +216 -16
  236. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
  237. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
  238. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
  239. package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
  240. package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
  241. package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
  242. package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
  243. package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
  244. package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
  245. package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
  246. package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
  247. package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
  248. package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
  249. package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
  250. package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
  251. package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
  252. package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
  253. package/dist/esm/project-config/shared/csp-defaults.d.ts +36 -9
  254. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
  255. package/dist/esm/project-config/shared/csp-defaults.js +54 -11
  256. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
  257. package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
  258. package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
  259. package/dist/esm/project-config/shared/csp-emit.js +77 -24
  260. package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
  261. package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -85
  262. package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
  263. package/dist/esm/project-config/shared/csp.schemas.js +40 -13
  264. package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
  265. package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
  266. package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
  267. package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
  268. package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
  269. package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
  270. package/dist/esm/project-config/shared/environment.schemas.d.ts +101 -8
  271. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  272. package/dist/esm/project-config/shared/environment.schemas.js +128 -9
  273. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  274. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
  275. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
  276. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
  277. package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
  278. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +2 -1
  279. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
  280. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +4 -1
  281. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
  282. package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
  283. package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
  284. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
  285. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
  286. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +24 -0
  287. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
  288. package/dist/esm/project-config/shared/minion-resource-access.validation.js +25 -2
  289. package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
  290. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
  291. package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
  292. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +276 -0
  293. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -0
  294. package/dist/esm/project-config/shared/platform-key-management.schemas.js +296 -0
  295. package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -0
  296. package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
  297. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
  298. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
  299. package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
  300. package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
  301. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
  302. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
  303. package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
  304. package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
  305. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
  306. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
  307. package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
  308. package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
  309. package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
  310. package/dist/esm/project-config/static-asset-import-noop.js +36 -20
  311. package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
  312. package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
  313. package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
  314. package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
  315. package/dist/esm/registry/digest.schemas.js.map +1 -1
  316. package/dist/esm/registry/index.d.ts +3 -3
  317. package/dist/esm/registry/index.d.ts.map +1 -1
  318. package/dist/esm/registry/index.js +3 -3
  319. package/dist/esm/registry/index.js.map +1 -1
  320. package/dist/esm/registry/local-checkout-source.d.ts +22 -2
  321. package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
  322. package/dist/esm/registry/local-checkout-source.js +66 -3
  323. package/dist/esm/registry/local-checkout-source.js.map +1 -1
  324. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +11 -98
  325. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
  326. package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
  327. package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
  328. package/dist/esm/registry/module-artifact.schemas.d.ts +40 -17
  329. package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
  330. package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
  331. package/dist/esm/registry/module-manifest.schemas.d.ts +324 -74
  332. package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
  333. package/dist/esm/registry/module-manifest.schemas.js +377 -19
  334. package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
  335. package/dist/esm/registry/module-search.schemas.d.ts +2 -0
  336. package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
  337. package/dist/esm/registry/module-search.schemas.js +14 -1
  338. package/dist/esm/registry/module-search.schemas.js.map +1 -1
  339. package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
  340. package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
  341. package/dist/esm/registry/registry-config.schemas.js.map +1 -1
  342. package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
  343. package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
  344. package/dist/esm/registry/registry-errors.d.ts +103 -5
  345. package/dist/esm/registry/registry-errors.d.ts.map +1 -1
  346. package/dist/esm/registry/registry-errors.js +213 -6
  347. package/dist/esm/registry/registry-errors.js.map +1 -1
  348. package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
  349. package/dist/esm/registry/registry-section-schemas.constants.d.ts +5 -0
  350. package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
  351. package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
  352. package/dist/esm/registry/registry-url-resolution.d.ts +72 -0
  353. package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -0
  354. package/dist/esm/registry/registry-url-resolution.js +157 -0
  355. package/dist/esm/registry/registry-url-resolution.js.map +1 -0
  356. package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
  357. package/dist/esm/release/framework-release.constants.js.map +1 -1
  358. package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
  359. package/dist/esm/schemas/framework-secrets.schemas.d.ts +48 -0
  360. package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
  361. package/dist/esm/schemas/framework-secrets.schemas.js +53 -0
  362. package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
  363. package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
  364. package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
  365. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
  366. package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
  367. package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
  368. package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
  369. package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
  370. package/dist/esm/workspace-scope/index.js.map +1 -1
  371. package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
  372. package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
  373. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
  374. package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
  375. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
  376. package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
  377. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
  378. package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
  379. package/dist/tsconfig.build.tsbuildinfo +1 -1
  380. package/package.json +12 -12
  381. package/dist/esm/_unimplemented/index.d.ts +0 -3
  382. package/dist/esm/_unimplemented/index.d.ts.map +0 -1
  383. package/dist/esm/_unimplemented/index.js +0 -3
  384. package/dist/esm/_unimplemented/index.js.map +0 -1
  385. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
  386. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
  387. package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
  388. package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
  389. package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
  390. package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
  391. package/dist/esm/project-config/shared/cdn.example.js +0 -38
  392. package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
  393. package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
  394. package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
  395. package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
  396. package/dist/esm/project-config/shared/schema-version.schemas.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchored-region.js","sourceRoot":"","sources":["../../../src/blueprint/anchored-region.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,8CAA8C;AAC9C,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,mGAAmG;IACnG,mCAAa,CAAA;IACb,yCAAyC;IACzC,+CAAyB,CAAA;IACzB,oDAAoD;IACpD,mCAAa,CAAA;AACf,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAED,gDAAgD;AAChD,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC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M,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QAC5G,MAAM,MAAM,GAAG,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACxC,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,gBAAgB,CAAC,YAAY,CAAC;IAC1E,CAAC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AAC3F,CAAC","sourcesContent":["/**\n * Anchor SLOTS and blueprint CONTRIBUTIONS in free text (epic #2856, #2862) — the grammar, read and write.\n *\n * A slot is an extension point a base file declares; a blueprint writes its text inside it as a contribution span\n * of its own, so layers stack in order and each one's text stays identifiable:\n *\n * ```markdown\n * <!-- @wildo_anchor:slot:start application.guide -->\n * <!-- @wildo_anchor:contribution:start acme/internal-tool application.guide -->\n * The layer's text.\n * <!-- @wildo_anchor:contribution:end acme/internal-tool application.guide -->\n * <!-- @wildo_anchor:slot:end application.guide -->\n * ```\n *\n * Only free text needs this. A TypeScript base file exposes NAMED DECLARATIONS a blueprint sets instead\n * (`BlueprintDeclarationFile`), which is the preferred and far more common shape: measured on Wonder Procurement\n * (#2860), the agent guide was the one change to a base file that was not the value of a declaration.\n *\n * ## Strict, like the writer it is modelled on\n *\n * The rules are those of `rewriteNginxCspMarkerPairsString` (`project-config/shared/csp-emit.ts`): a marker is a\n * whole line; a nested slot, an end with no start, an unclosed span, a slot declared twice, a contribution outside its\n * slot or naming another slot all REFUSE, because a guess at a damaged boundary writes text into the wrong place. So\n * does any other comment line opening with `@wildo_anchor:` (a third argument, text after the marker): a damaged\n * marker never reads as plain text, while prose that only mentions the family does. In Markdown, lines inside a code fence are text, so a guide can SHOW the markers. A contribution body\n * may not contain a marker line, and every write re-reads its own result.\n *\n * Indentation is kept, every line keeps its own terminator (a file mixing `\\n` and `\\r\\n` stays mixed; added lines\n * take the more common one), and a write that changes nothing returns the input unchanged.\n *\n * The marker family is deliberately not `@wildo_source`: that one is an extraction contract for framework knowledge,\n * and a refactor of what knowledge extracts must never move a place applications are written into.\n */\n\n/** How a file writes a whole-line comment. */\nexport enum AnchorCommentStyle {\n /** Markdown and HTML: `<!-- … -->`. Survives a Handlebars render, which `{{!-- --}}` would not. */\n HTML = 'html',\n /** TypeScript and JavaScript: `// …`. */\n LINE_SLASH = 'line-slash',\n /** YAML, shell, Dockerfile, `.gitignore`: `# …`. */\n HASH = 'hash',\n}\n\n/** The comment style of a file, by its name. */\nexport function anchorCommentStyleForPath(path: string): AnchorCommentStyle {\n const name = path.split('/').pop() ?? path;\n if (/\\.(md|mdx|html?)$/i.test(name)) return AnchorCommentStyle.HTML;\n if (/\\.(ts|tsx|mts|cts|js|jsx|mjs|cjs)$/i.test(name)) return AnchorCommentStyle.LINE_SLASH;\n if (/\\.(ya?ml|sh|toml)$/i.test(name) || name === 'Dockerfile' || name.startsWith('.')) return AnchorCommentStyle.HASH;\n throw new Error(`No anchor comment style is defined for ${path}.`);\n}\n\n/** What a marker line opens or closes. */\nenum AnchorMarkerKind {\n SLOT = 'slot',\n CONTRIBUTION = 'contribution',\n}\n\n/** Which end of a span a marker line is. */\nenum AnchorMarkerEdge {\n START = 'start',\n END = 'end',\n}\n\ninterface MarkerLine {\n readonly kind: AnchorMarkerKind;\n readonly edge: AnchorMarkerEdge;\n /** Slot: `[slotId]`. Contribution: `[blueprintId, slotId]`. */\n readonly args: readonly string[];\n readonly indent: string;\n}\n\nconst MARKER_BODY = '@wildo_anchor:(slot|contribution):(start|end)\\\\s+(\\\\S+(?:\\\\s+\\\\S+)?)';\n/** The marker family, as text. A contribution body may not contain it at all. */\nconst MARKER_FAMILY = '@wildo_anchor:';\n/**\n * A line that OPENS a comment with the marker family — what a marker looks like. One that is not a well-formed marker\n * refuses rather than reading as text. Prose that merely MENTIONS the family (\"the `@wildo_anchor:slot` markers\") is\n * text, so a guide can talk about its own slots.\n */\nconst MARKER_SHAPED_LINES: Readonly<Record<AnchorCommentStyle, RegExp>> = {\n [AnchorCommentStyle.HTML]: /^\\s*<!--\\s*@wildo_anchor:/,\n [AnchorCommentStyle.LINE_SLASH]: /^\\s*\\/\\/\\s*@wildo_anchor:/,\n [AnchorCommentStyle.HASH]: /^\\s*#\\s*@wildo_anchor:/,\n};\n/** A Markdown code fence: markers shown inside one are an example, not a slot. */\nconst CODE_FENCE_PATTERN = /^\\s*(```|~~~)/;\nconst MARKER_PATTERNS: Readonly<Record<AnchorCommentStyle, RegExp>> = {\n [AnchorCommentStyle.HTML]: new RegExp(`^(\\\\s*)<!--\\\\s*${MARKER_BODY}\\\\s*-->\\\\s*$`),\n [AnchorCommentStyle.LINE_SLASH]: new RegExp(`^(\\\\s*)//\\\\s*${MARKER_BODY}\\\\s*$`),\n [AnchorCommentStyle.HASH]: new RegExp(`^(\\\\s*)#\\\\s*${MARKER_BODY}\\\\s*$`),\n};\n\nfunction parseMarker(line: string, style: AnchorCommentStyle): MarkerLine | null {\n const match = MARKER_PATTERNS[style].exec(line);\n if (match === null) return null;\n return {\n kind: match[2] as AnchorMarkerKind,\n edge: match[3] as AnchorMarkerEdge,\n args: (match[4] ?? '').split(/\\s+/),\n indent: match[1] ?? '',\n };\n}\n\nfunction renderMarker(style: AnchorCommentStyle, indent: string, kind: AnchorMarkerKind, edge: AnchorMarkerEdge, args: readonly string[]): string {\n const body = `@wildo_anchor:${kind}:${edge} ${args.join(' ')}`;\n switch (style) {\n case AnchorCommentStyle.HTML:\n return `${indent}<!-- ${body} -->`;\n case AnchorCommentStyle.LINE_SLASH:\n return `${indent}// ${body}`;\n case AnchorCommentStyle.HASH:\n return `${indent}# ${body}`;\n }\n}\n\n/** One contribution span inside a slot. Line numbers are zero-based indexes into the file's lines. */\nexport interface AnchorContribution {\n readonly blueprintId: string;\n readonly startLine: number;\n readonly endLine: number;\n /** The span's text, markers excluded. */\n readonly body: string;\n}\n\n/** One slot as the file holds it. */\nexport interface AnchorSlot {\n readonly id: string;\n readonly startLine: number;\n readonly endLine: number;\n readonly indent: string;\n readonly contributions: readonly AnchorContribution[];\n /** The slot's text OUTSIDE every contribution span — what the application wrote there itself. */\n readonly ownText: string;\n}\n\n/**\n * The file's lines, each line's own terminator (the last one's is `''`), and the terminator new lines get: the one\n * the file uses most. Keeping each terminator is what lets a write leave every line it did not add byte-identical,\n * even in a file that mixes `\\n` and `\\r\\n`.\n */\nfunction splitLines(content: string): { lines: string[]; terminators: string[]; eol: string } {\n const lines: string[] = [];\n const terminators: string[] = [];\n const pattern = /\\r?\\n/g;\n let start = 0;\n for (const match of content.matchAll(pattern)) {\n lines.push(content.slice(start, match.index));\n terminators.push(match[0]);\n start = (match.index ?? 0) + match[0].length;\n }\n lines.push(content.slice(start));\n terminators.push('');\n const crlf = terminators.filter((terminator) => terminator === '\\r\\n').length;\n const lf = terminators.filter((terminator) => terminator === '\\n').length;\n return { lines, terminators, eol: crlf > lf ? '\\r\\n' : '\\n' };\n}\n\nfunction joinLines(lines: readonly string[], terminators: readonly string[]): string {\n return lines.map((line, index) => `${line}${terminators[index] ?? ''}`).join('');\n}\n\n/** Drop blank lines at both ends of a text block. */\nfunction trimBlankLines(lines: readonly string[]): string {\n let start = 0;\n let end = lines.length;\n while (start < end && lines[start]?.trim() === '') start += 1;\n while (end > start && lines[end - 1]?.trim() === '') end -= 1;\n return lines.slice(start, end).join('\\n');\n}\n\n/** Every slot of a file, by id. Refuses a damaged structure rather than reading around it. */\nexport function readAnchorSlots(content: string, style: AnchorCommentStyle): ReadonlyMap<string, AnchorSlot> {\n const { lines } = splitLines(content);\n const slots = new Map<string, AnchorSlot>();\n let open: { id: string; startLine: number; indent: string; contributions: AnchorContribution[]; own: string[] } | null = null;\n let openContribution: { blueprintId: string; startLine: number; body: string[] } | null = null;\n let insideFence = false;\n lines.forEach((line, index) => {\n const where = `line ${index + 1}`;\n if (style === AnchorCommentStyle.HTML && CODE_FENCE_PATTERN.test(line)) insideFence = !insideFence;\n const marker = insideFence ? null : parseMarker(line, style);\n if (marker === null && !insideFence && MARKER_SHAPED_LINES[style].test(line)) {\n throw new Error(`The ${MARKER_FAMILY} line at ${where} is not a well-formed marker (a slot names one id, a contribution a blueprint and a slot, and the marker is the whole line).`);\n }\n if (marker === null) {\n if (openContribution !== null) openContribution.body.push(line);\n else if (open !== null) open.own.push(line);\n return;\n }\n if (marker.kind === AnchorMarkerKind.SLOT) {\n const [id] = marker.args;\n if (marker.args.length !== 1 || id === undefined) throw new Error(`Anchor slot marker at ${where} must name exactly one slot.`);\n if (marker.edge === AnchorMarkerEdge.START) {\n if (open !== null) throw new Error(`Anchor slot '${id}' at ${where} opens inside slot '${open.id}': slots do not nest.`);\n if (slots.has(id)) throw new Error(`Anchor slot '${id}' is declared twice (again at ${where}).`);\n open = { id, startLine: index, indent: marker.indent, contributions: [], own: [] };\n return;\n }\n if (open === null || open.id !== id) throw new Error(`Anchor slot end '${id}' at ${where} closes no open slot of that name.`);\n if (openContribution !== null) throw new Error(`Anchor slot '${id}' closes at ${where} inside an unclosed contribution of '${openContribution.blueprintId}'.`);\n slots.set(id, { id, startLine: open.startLine, endLine: index, indent: open.indent, contributions: open.contributions, ownText: trimBlankLines(open.own) });\n open = null;\n return;\n }\n const [blueprintId, slotId] = marker.args;\n if (marker.args.length !== 2 || blueprintId === undefined || slotId === undefined) {\n throw new Error(`Anchor contribution marker at ${where} must name a blueprint and a slot.`);\n }\n if (open === null || open.id !== slotId) throw new Error(`Contribution of '${blueprintId}' at ${where} names slot '${slotId}' but sits outside it.`);\n if (marker.edge === AnchorMarkerEdge.START) {\n if (openContribution !== null) throw new Error(`Contribution of '${blueprintId}' at ${where} opens inside the contribution of '${openContribution.blueprintId}'.`);\n if (open.contributions.some((contribution) => contribution.blueprintId === blueprintId)) {\n throw new Error(`Blueprint '${blueprintId}' contributes to slot '${slotId}' twice (again at ${where}).`);\n }\n openContribution = { blueprintId, startLine: index, body: [] };\n return;\n }\n if (openContribution === null || openContribution.blueprintId !== blueprintId) {\n throw new Error(`Contribution end of '${blueprintId}' at ${where} closes no open contribution of that blueprint.`);\n }\n open.contributions.push({ blueprintId, startLine: openContribution.startLine, endLine: index, body: openContribution.body.join('\\n') });\n openContribution = null;\n });\n if (open !== null) throw new Error(`Anchor slot '${(open as { id: string }).id}' is never closed.`);\n return slots;\n}\n\n/**\n * Write `body` as `blueprintId`'s contribution to `slotId`: replace its existing span, or add one just before the\n * slot's end marker (after every earlier layer's). Refuses a slot the file does not declare. Returns the content\n * unchanged when the span already holds exactly this body.\n */\nexport function writeAnchorContribution(\n content: string,\n style: AnchorCommentStyle,\n input: { readonly slotId: string; readonly blueprintId: string; readonly body: string },\n): string {\n const slot = readAnchorSlots(content, style).get(input.slotId);\n if (slot === undefined) throw new Error(`No anchor slot '${input.slotId}' is declared in this file.`);\n const { lines, terminators, eol } = splitLines(content);\n const bodyLines = input.body === '' ? [] : input.body.replace(/\\r?\\n$/, '').split(/\\r?\\n/);\n if (bodyLines.some((line) => line.includes(MARKER_FAMILY))) {\n throw new Error(`The contribution of '${input.blueprintId}' to slot '${input.slotId}' contains a ${MARKER_FAMILY} line, which would break the slot it is written into.`);\n }\n const span = [\n renderMarker(style, slot.indent, AnchorMarkerKind.CONTRIBUTION, AnchorMarkerEdge.START, [input.blueprintId, input.slotId]),\n ...bodyLines,\n renderMarker(style, slot.indent, AnchorMarkerKind.CONTRIBUTION, AnchorMarkerEdge.END, [input.blueprintId, input.slotId]),\n ];\n const spanTerminators = span.map(() => eol);\n const existing = slot.contributions.find((contribution) => contribution.blueprintId === input.blueprintId);\n const [from, to] = existing === undefined ? [slot.endLine, slot.endLine] : [existing.startLine, existing.endLine + 1];\n const written = joinLines(\n [...lines.slice(0, from), ...span, ...lines.slice(to)],\n [...terminators.slice(0, from), ...spanTerminators, ...terminators.slice(to)],\n );\n if (written === content) return content;\n // Re-read what is about to be written: a write must never leave a file the next read refuses.\n readAnchorSlots(written, style);\n return written;\n}\n\n/**\n * A slot's whole text with every contribution marker removed and blank lines trimmed at both ends: what a reader\n * sees there, whoever wrote it. Two files whose slots read the same this way say the same thing, which is how an\n * export compares the slot it reproduces with the one the defining application holds.\n */\nexport function readableAnchorSlotText(content: string, style: AnchorCommentStyle, slotId: string): string | undefined {\n const slot = readAnchorSlots(content, style).get(slotId);\n if (slot === undefined) return undefined;\n const { lines } = splitLines(content);\n return trimBlankLines(lines.slice(slot.startLine + 1, slot.endLine).filter((line) => {\n const marker = parseMarker(line, style);\n return marker === null || marker.kind !== AnchorMarkerKind.CONTRIBUTION;\n }));\n}\n\n/** The file's content with every contribution marker line removed — for comparing files that differ only by them. */\nexport function withoutAnchorContributionMarkers(content: string, style: AnchorCommentStyle): string {\n const { lines, terminators } = splitLines(content);\n const kept = lines.map((line, index) => ({ line, terminator: terminators[index] ?? '' })).filter(({ line }) => {\n const marker = parseMarker(line, style);\n return marker === null || marker.kind !== AnchorMarkerKind.CONTRIBUTION;\n });\n return joinLines(kept.map(({ line }) => line), kept.map(({ terminator }) => terminator));\n}\n"]}
@@ -0,0 +1,600 @@
1
+ import { z } from 'zod';
2
+ import { ModuleRegistrationScenario } from '../registry/module-manifest.schemas';
3
+ /**
4
+ * Application BLUEPRINTS (epic #2856) — the contracts.
5
+ *
6
+ * A blueprint is a LAYER UPON the base `wildo init` skeleton, never a replacement of it (decision D3): it may
7
+ * pre-configure the application-shape init flags, add new files, bring modules (their files plus the registration
8
+ * that makes the application know them), set the values of named declarations in base files, append barrel exports,
9
+ * add runtime dependencies, and contribute text inside anchor slots. It never overwrites a
10
+ * file of the base or of a lower layer, unless an upper layer names that file in `overrides`.
11
+ *
12
+ * Two halves, deliberately separate:
13
+ *
14
+ * - the **definition** ({@link BlueprintDefinitionSchema}) lives ONLY in the application that defines the blueprint,
15
+ * at `blueprints/<name>/blueprint.definition.ts`. It SELECTS what belongs to the blueprint and declares its
16
+ * parameters. It never carries a value the application already holds: the exporter reads every byte and every
17
+ * config value from the application, and proves the export reproduces it (`wildo blueprint pack`);
18
+ * - the **manifest** ({@link BlueprintManifestSchema}) is what an export writes beside the artifact's `files/` tree,
19
+ * and what `wildo init --blueprint` reads. It is a compiled output, never authored.
20
+ *
21
+ * The split is the `playbook.definition.ts` → `playbook.json` split, for the same reason: the authored form is
22
+ * TypeScript a person can comment, the compiled form is JSON a machine validates.
23
+ */
24
+ /** @wildo_source:part:start blueprint.definition-contract facet:layer:shared facet:audience:app-developer */
25
+ /**
26
+ * Every flag `wildo init` accepts, as a closed vocabulary so each one is CLASSIFIED once
27
+ * ({@link INIT_FLAG_CLASSES}). A flag added to the command tomorrow must be added here and given a class, or the
28
+ * pinning test fails: a blueprint can then never start setting it by accident.
29
+ */
30
+ export declare enum InitFlag {
31
+ /** The application's name; the directory names it by default. */
32
+ NAME = "name",
33
+ /** The local infrastructure runtime (Docker Compose or a local Kubernetes). */
34
+ RUNTIME = "runtime",
35
+ /** The application's own database engine. Decides what the scaffold AUTHORS (`isPostgreSql` templates). */
36
+ DATABASE = "database",
37
+ /** Verify the developer's tools instead of scaffolding. */
38
+ CHECK = "check",
39
+ /** Write only `wildo.saas.config.ts`. */
40
+ CONFIG_ONLY = "config-only",
41
+ /** The base of the application's port block on this machine. */
42
+ PORT_BASE = "port-base",
43
+ /** The local platform administrator's email. */
44
+ ADMIN_EMAIL = "admin-email",
45
+ /** The local platform administrator's first name. */
46
+ ADMIN_FIRST_NAME = "admin-first-name",
47
+ /** The local platform administrator's last name. */
48
+ ADMIN_LAST_NAME = "admin-last-name",
49
+ /** The local platform administrator's initial password. */
50
+ ADMIN_PASSWORD = "admin-password",
51
+ /** Skip `pnpm install` and the initial builds. */
52
+ SKIP_INSTALL = "skip-install",
53
+ /** Where this environment's secrets live on this machine. */
54
+ SECRETS_PATH = "secrets-path",
55
+ /** How to treat the machine's shared platform credentials. */
56
+ LOCAL_DEFAULTS = "local-defaults",
57
+ /** Whether to seed the machine's provider API keys. */
58
+ PROVIDER_KEY_DEFAULTS = "provider-key-defaults",
59
+ /** The blueprint layers to apply on the base, in order (epic #2856). */
60
+ BLUEPRINT = "blueprint",
61
+ /** A blueprint parameter value, `name=value`. */
62
+ BLUEPRINT_PARAM = "blueprint-param",
63
+ /** The registry a `--blueprint <domain>/<scope>/<name>@<range>` entry is fetched from. */
64
+ BLUEPRINT_REGISTRY = "blueprint-registry",
65
+ /**
66
+ * The application line, when no blueprint is given (#1605): shorthand for `--blueprint wildo/<line>`, or `later`.
67
+ * A command mode, not application shape: a blueprint carries its line through `include.line`, never by setting a flag.
68
+ */
69
+ LINE = "line"
70
+ }
71
+ /**
72
+ * What kind of decision an init flag carries — and therefore whether a blueprint may make it.
73
+ */
74
+ export declare enum InitFlagClass {
75
+ /**
76
+ * A decision about what the APPLICATION is, the same on every machine. The only class a blueprint may lock or
77
+ * default: a corporate blueprint that targets PostgreSQL states it once, for every application made from it.
78
+ */
79
+ APPLICATION_SHAPE = "application-shape",
80
+ /**
81
+ * A decision about THIS MACHINE — ports, local runtime, where secrets live, whether to install now. A blueprint
82
+ * never touches one: it is applied on machines it has never seen.
83
+ */
84
+ MACHINE = "machine",
85
+ /**
86
+ * WHO the application or its local administrator is. Never a blueprint's: an application made from a blueprint is
87
+ * a new application with its own name and its own operator.
88
+ */
89
+ IDENTITY = "identity",
90
+ /** How the command runs (check only, config only, which blueprints). Not a property of the application at all. */
91
+ COMMAND_MODE = "command-mode"
92
+ }
93
+ /** The class of every init flag. Total over {@link InitFlag} by its type. */
94
+ export declare const INIT_FLAG_CLASSES: Readonly<Record<InitFlag, InitFlagClass>>;
95
+ /** The values an APPLICATION_SHAPE flag accepts. Total over the shape flags, checked by the pinning test. */
96
+ export declare const APPLICATION_SHAPE_INIT_FLAG_VALUES: Readonly<Partial<Record<InitFlag, readonly string[]>>>;
97
+ /** Whether a blueprint may lock or default `flag`. */
98
+ export declare function isBlueprintSettableInitFlag(flag: InitFlag): boolean;
99
+ /** How a blueprint pre-configures an application-shape init flag. */
100
+ export declare enum BlueprintInitConstraintMode {
101
+ /** The flag takes this value; `wildo init` refuses a flag that contradicts it. */
102
+ LOCK = "lock",
103
+ /** The flag takes this value unless the operator passes the flag. */
104
+ DEFAULT = "default"
105
+ }
106
+ /**
107
+ * Why this is not `CompositionScenarioVariableKind` (#2857 asked not to fork the scenario pieces): a blueprint
108
+ * parameter is chosen by the person creating an application, so it needs a CLOSED choice (`ENUM`, with members the
109
+ * apply refuses outside of), which a scenario variable has no use for; and a scenario variable can be DERIVED from
110
+ * another (#2810), which a blueprint parameter must never be, since its value is the operator's or a lower layer
111
+ * binding's. The three shared members keep the scenario's wire values, so a value moves between the two unchanged.
112
+ * The scenario vocabulary also lives in `application-creation-runtime`, which this contracts package cannot import.
113
+ */
114
+ /** @wildo_source:part:start blueprint.definition-contract facet:layer:shared facet:audience:app-developer */
115
+ /** The value kinds a blueprint parameter may declare. */
116
+ export declare enum BlueprintParameterKind {
117
+ STRING = "string",
118
+ NUMBER = "number",
119
+ BOOLEAN = "boolean",
120
+ /** One of `members`: a closed choice (an ERP vendor, a region), named so the choice is explained once. */
121
+ ENUM = "enum"
122
+ }
123
+ export type BlueprintParameterValue = string | number | boolean;
124
+ /**
125
+ * Parameter names a blueprint cannot declare, because the applier supplies them from the new application's
126
+ * identity. A template reads `{{slug}}` or `{{displayName}}` and gets the application being created.
127
+ */
128
+ export declare const BLUEPRINT_IDENTITY_VARIABLES: readonly ["slug", "displayName"];
129
+ /** @wildo_source:part:end blueprint.definition-contract */
130
+ /**
131
+ * Parse one serialized value per the parameter's declaration, or explain why it is not a value of it. Shared by the
132
+ * schema (a declared default) and the applier (a value passed on the command line), so both refuse the same values.
133
+ */
134
+ export declare function parseBlueprintParameterValue(parameter: {
135
+ readonly name: string;
136
+ readonly kind: BlueprintParameterKind;
137
+ readonly pattern?: string | undefined;
138
+ readonly members?: readonly string[] | undefined;
139
+ }, raw: BlueprintParameterValue): {
140
+ value: BlueprintParameterValue;
141
+ } | {
142
+ reason: string;
143
+ };
144
+ /** One declared blueprint parameter, as the published manifest carries it. */
145
+ export declare const BlueprintParameterSchema: z.ZodObject<{
146
+ name: z.ZodString;
147
+ description: z.ZodString;
148
+ kind: z.ZodEnum<typeof BlueprintParameterKind>;
149
+ required: z.ZodBoolean;
150
+ default: z.ZodOptional<z.ZodString>;
151
+ pattern: z.ZodOptional<z.ZodString>;
152
+ members: z.ZodOptional<z.ZodArray<z.ZodString>>;
153
+ }, z.core.$strict>;
154
+ export type BlueprintParameter = z.infer<typeof BlueprintParameterSchema>;
155
+ /** @wildo_source:part:start blueprint.definition-contract facet:layer:shared facet:audience:app-developer */
156
+ /**
157
+ * One declared parameter, as the DEFINITION carries it: the declaration plus the defining application's own value.
158
+ *
159
+ * `appValue` is the reproduction WITNESS, not a value the blueprint ships: the export renders every template with it
160
+ * and requires the result to equal the defining application's bytes. A wrong `appValue` therefore fails the pack
161
+ * instead of producing a blueprint that silently renders something else. It is never written into the manifest.
162
+ */
163
+ export declare const BlueprintDefinitionParameterSchema: z.ZodObject<{
164
+ appValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
165
+ name: z.ZodString;
166
+ description: z.ZodString;
167
+ kind: z.ZodEnum<typeof BlueprintParameterKind>;
168
+ required: z.ZodBoolean;
169
+ default: z.ZodOptional<z.ZodString>;
170
+ pattern: z.ZodOptional<z.ZodString>;
171
+ members: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
+ }, z.core.$strict>;
173
+ export type BlueprintDefinitionParameter = z.infer<typeof BlueprintDefinitionParameterSchema>;
174
+ /** @wildo_source:part:start blueprint.definition-contract facet:layer:shared facet:audience:app-developer */
175
+ /** A lower blueprint this one is layered on, with the values it binds for that layer's parameters. */
176
+ export declare const BlueprintLayerReferenceSchema: z.ZodObject<{
177
+ id: z.ZodString;
178
+ range: z.ZodString;
179
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
180
+ }, z.core.$strict>;
181
+ export type BlueprintLayerReference = z.infer<typeof BlueprintLayerReferenceSchema>;
182
+ /**
183
+ * The base files whose named DECLARATIONS a blueprint may set — the blueprint customization API (decision D3).
184
+ *
185
+ * A blueprint never replaces a base file; it sets values the base declares. Each member is a file the `wildo init`
186
+ * skeleton authors as a set of named declarations with an application-owned VALUE (an empty registry, a default
187
+ * profile, a theme), so setting one is a replacement at a path the config walker resolves, never a text edit.
188
+ * Measured on Wonder Procurement (#2860): every change it made to a base TypeScript file was the value of one of
189
+ * these declarations. A closed set, because a declaration operation is only safe on a file whose shape the framework
190
+ * owns: adding a member is deciding that the base will keep that declaration stable.
191
+ */
192
+ export declare enum BlueprintDeclarationFile {
193
+ /** `wildo.saas.config.ts`: modules, services, capabilities, organization types, providers, systems of record. */
194
+ SAAS_CONFIG = "wildo.saas.config.ts",
195
+ /** The backend-authored configuration: authentication posture, user types, registration, email. */
196
+ BACKEND_CONFIG = "backend-api/src/saas-config.backend.ts",
197
+ /** App-wide backend assembly: resource-server instances, organization-unit narrowing, own rows. */
198
+ BACKEND_BOOTSTRAP = "backend-api/src/bootstrap-config.ts",
199
+ /** The application's own roles (`CUSTOM_ROLES_CONFIGURATION`). */
200
+ ROLES = "shared-lib/src/engine/roles.ts",
201
+ /** Features, feature profiles and unavailability policy. */
202
+ FEATURES = "shared-lib/src/engine/features.ts",
203
+ /** Milestone definitions. */
204
+ MILESTONES = "shared-lib/src/engine/milestones.ts",
205
+ /** The product catalogue. */
206
+ PRODUCT = "shared-lib/src/engine/product.ts",
207
+ /** The frontend module list, whose ORDER is the sidebar's (`applicationFrontendModules`). */
208
+ FRONTEND_MODULES = "frontend/src/modules/index.ts",
209
+ /** The design system: theme, colours, surfaces. */
210
+ FRONTEND_DESIGN_SYSTEM = "frontend/src/config/design-system.config.ts",
211
+ /** Navigation zones and transitions. */
212
+ FRONTEND_NAVIGATION = "frontend/src/config/navigation.config.ts",
213
+ /** The application shell: menubar, sidebar, command menu. */
214
+ FRONTEND_APP_SHELL = "frontend/src/config/app-shell.config.ts",
215
+ /** The settings rail. */
216
+ FRONTEND_SETTINGS_HUB = "frontend/src/config/settings-hub.config.ts",
217
+ /** Application-level views. */
218
+ FRONTEND_GLOBAL_VIEWS = "frontend/src/config/global-views.config.ts"
219
+ }
220
+ /** The label a declaration target is reported under: `<file> <declaration>.<path>`. */
221
+ export declare function describeBlueprintDeclarationTarget(target: {
222
+ file: string;
223
+ declaration?: string | undefined;
224
+ path: readonly string[];
225
+ }): string;
226
+ /** What a definition selects in a declaration file. */
227
+ export declare const BlueprintDefinitionDeclarationSelectionSchema: z.ZodObject<{
228
+ valueTemplate: z.ZodOptional<z.ZodString>;
229
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
230
+ declaration: z.ZodOptional<z.ZodString>;
231
+ path: z.ZodArray<z.ZodString>;
232
+ }, z.core.$strict>;
233
+ export type BlueprintDefinitionDeclarationSelection = z.infer<typeof BlueprintDefinitionDeclarationSelectionSchema>;
234
+ /** One declaration a blueprint sets: the value at the target, creating the final property when absent. */
235
+ export declare const BlueprintDeclarationOperationSchema: z.ZodObject<{
236
+ valueText: z.ZodString;
237
+ imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
238
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
239
+ declaration: z.ZodOptional<z.ZodString>;
240
+ path: z.ZodArray<z.ZodString>;
241
+ }, z.core.$strict>;
242
+ export type BlueprintDeclarationOperation = z.infer<typeof BlueprintDeclarationOperationSchema>;
243
+ /**
244
+ * The barrels a blueprint may append `export` lines to — the package entry files every module's `add-module`
245
+ * registration already appends to. A blueprint carrying a new file (`shared-lib/src/system-of-record/…`) that the
246
+ * package must export appends its line here.
247
+ */
248
+ export declare enum BlueprintBarrelFile {
249
+ SHARED_LIB = "shared-lib/src/index.ts",
250
+ SPECIFICATIONS = "specifications/src/index.ts"
251
+ }
252
+ /** One `export … from '…';` line appended to a barrel. */
253
+ export declare const BlueprintBarrelExportSchema: z.ZodObject<{
254
+ file: z.ZodEnum<typeof BlueprintBarrelFile>;
255
+ line: z.ZodString;
256
+ }, z.core.$strict>;
257
+ export type BlueprintBarrelExport = z.infer<typeof BlueprintBarrelExportSchema>;
258
+ /**
259
+ * The workspace manifests a blueprint may add a runtime dependency to: the packages every `wildo init` base has.
260
+ * A carried minion's or worker's own `package.json` travels with its files instead.
261
+ */
262
+ export declare enum BlueprintWorkspaceManifest {
263
+ ROOT = "package.json",
264
+ SHARED_LIB = "shared-lib/package.json",
265
+ SPECIFICATIONS = "specifications/package.json",
266
+ BACKEND_API = "backend-api/package.json",
267
+ FRONTEND = "frontend/package.json"
268
+ }
269
+ /** One runtime dependency a blueprint adds to a workspace manifest (`dependencies` only). */
270
+ export declare const BlueprintDependencySchema: z.ZodObject<{
271
+ manifest: z.ZodEnum<typeof BlueprintWorkspaceManifest>;
272
+ name: z.ZodString;
273
+ specifier: z.ZodString;
274
+ }, z.core.$strict>;
275
+ export type BlueprintDependency = z.infer<typeof BlueprintDependencySchema>;
276
+ /**
277
+ * The base files that declare anchor SLOTS — the free-text extension points (`@wildo_anchor:slot`), for the few
278
+ * files that are not TypeScript declarations. Measured on Wonder Procurement (#2860), the one such need was the
279
+ * application's agent guide. Adding a member is deciding where free text may be extended; keep it small.
280
+ */
281
+ export declare enum BlueprintSlotFile {
282
+ /** The application's `CLAUDE.md`, read by every coding-agent session in it. */
283
+ APPLICATION_AGENT_GUIDE = "CLAUDE.md"
284
+ }
285
+ /** One slot a blueprint contributes to, and what it writes there. */
286
+ export declare const BlueprintSlotContributionSchema: z.ZodObject<{
287
+ file: z.ZodEnum<typeof BlueprintSlotFile>;
288
+ slot: z.ZodString;
289
+ body: z.ZodString;
290
+ }, z.core.$strict>;
291
+ export type BlueprintSlotContribution = z.infer<typeof BlueprintSlotContributionSchema>;
292
+ /** A declaration target with no value: what `overrides.declarations` names. */
293
+ export declare const BlueprintDeclarationTargetSchema: z.ZodObject<{
294
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
295
+ declaration: z.ZodOptional<z.ZodString>;
296
+ path: z.ZodArray<z.ZodString>;
297
+ }, z.core.$strict>;
298
+ export type BlueprintDeclarationTarget = z.infer<typeof BlueprintDeclarationTargetSchema>;
299
+ /** Whether two declaration targets address the same value. */
300
+ export declare function isSameBlueprintDeclarationTarget(a: {
301
+ file: string;
302
+ declaration?: string | undefined;
303
+ path: readonly string[];
304
+ }, b: {
305
+ file: string;
306
+ declaration?: string | undefined;
307
+ path: readonly string[];
308
+ }): boolean;
309
+ /**
310
+ * Whether two declaration targets address overlapping values: the same file and start, and one path a prefix of the
311
+ * other (`engineCapabilities` and `engineCapabilities.EngineCapability.BILLING`). Setting either replaces part of what
312
+ * the other set, so stacked layers treat an overlap as a collision exactly like an identical target.
313
+ */
314
+ export declare function blueprintDeclarationTargetsOverlap(a: {
315
+ file: string;
316
+ declaration?: string | undefined;
317
+ path: readonly string[];
318
+ }, b: {
319
+ file: string;
320
+ declaration?: string | undefined;
321
+ path: readonly string[];
322
+ }): boolean;
323
+ /**
324
+ * A registry module a blueprint REFERENCES (#2879): installed into the new application from the registry by
325
+ * `wildo init`, through the same pipeline as `wildo registry add`, rather than copied. Its files are never carried —
326
+ * the lockfile records them with their install hashes, and `wildo registry update` / `remove` act on them, which a copy
327
+ * would silently defeat.
328
+ *
329
+ * The range is the one the defining application asked for (its lockfile `requestedRange`), so the new application
330
+ * resolves the same way the defining one did; the version it gets is whatever that range resolves to on the day.
331
+ */
332
+ export declare const BlueprintModuleReferenceSchema: z.ZodObject<{
333
+ domain: z.ZodString;
334
+ moduleId: z.ZodString;
335
+ range: z.ZodString;
336
+ }, z.core.$strict>;
337
+ export type BlueprintModuleReference = z.infer<typeof BlueprintModuleReferenceSchema>;
338
+ /** What an upper layer deliberately replaces from a lower one. Never anything of the base (D3). */
339
+ export declare const BlueprintOverridesSchema: z.ZodObject<{
340
+ files: z.ZodDefault<z.ZodArray<z.ZodString>>;
341
+ init: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof InitFlag>>>;
342
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
343
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
344
+ declaration: z.ZodOptional<z.ZodString>;
345
+ path: z.ZodArray<z.ZodString>;
346
+ }, z.core.$strict>>>;
347
+ }, z.core.$strict>;
348
+ export type BlueprintOverrides = z.infer<typeof BlueprintOverridesSchema>;
349
+ /** Where definitions live in the application that defines them; `<name>` is the folder. */
350
+ export declare const BLUEPRINT_DEFINITIONS_DIRECTORY = "blueprints";
351
+ export declare const BLUEPRINT_DEFINITION_FILE_NAME = "blueprint.definition.ts";
352
+ /** The exported constant a definition file declares. */
353
+ export declare const BLUEPRINT_DEFINITION_EXPORT_NAME = "blueprintDefinition";
354
+ /** `.hbs` sources beside the definition, for exported files that read a parameter. */
355
+ export declare const BLUEPRINT_TEMPLATES_DIRECTORY = "templates";
356
+ /**
357
+ * The authored blueprint definition (`blueprints/<name>/blueprint.definition.ts`, exporting
358
+ * {@link BLUEPRINT_DEFINITION_EXPORT_NAME}). It SELECTS; it never carries a value the application holds.
359
+ */
360
+ export declare const BlueprintDefinitionSchema: z.ZodObject<{
361
+ id: z.ZodString;
362
+ version: z.ZodString;
363
+ description: z.ZodString;
364
+ extends: z.ZodDefault<z.ZodArray<z.ZodObject<{
365
+ id: z.ZodString;
366
+ range: z.ZodString;
367
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
368
+ }, z.core.$strict>>>;
369
+ init: z.ZodDefault<z.ZodArray<z.ZodObject<{
370
+ flag: z.ZodEnum<typeof InitFlag>;
371
+ mode: z.ZodEnum<typeof BlueprintInitConstraintMode>;
372
+ }, z.core.$strict>>>;
373
+ parameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
374
+ appValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
375
+ name: z.ZodString;
376
+ description: z.ZodString;
377
+ kind: z.ZodEnum<typeof BlueprintParameterKind>;
378
+ required: z.ZodBoolean;
379
+ default: z.ZodOptional<z.ZodString>;
380
+ pattern: z.ZodOptional<z.ZodString>;
381
+ members: z.ZodOptional<z.ZodArray<z.ZodString>>;
382
+ }, z.core.$strict>>>;
383
+ include: z.ZodObject<{
384
+ files: z.ZodDefault<z.ZodArray<z.ZodString>>;
385
+ modules: z.ZodDefault<z.ZodArray<z.ZodString>>;
386
+ minions: z.ZodDefault<z.ZodArray<z.ZodString>>;
387
+ workers: z.ZodDefault<z.ZodArray<z.ZodString>>;
388
+ registryModules: z.ZodDefault<z.ZodArray<z.ZodString>>;
389
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
390
+ valueTemplate: z.ZodOptional<z.ZodString>;
391
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
392
+ declaration: z.ZodOptional<z.ZodString>;
393
+ path: z.ZodArray<z.ZodString>;
394
+ }, z.core.$strict>>>;
395
+ barrelExports: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof BlueprintBarrelFile>>>;
396
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
397
+ slots: z.ZodDefault<z.ZodArray<z.ZodObject<{
398
+ file: z.ZodEnum<typeof BlueprintSlotFile>;
399
+ slot: z.ZodString;
400
+ }, z.core.$strict>>>;
401
+ line: z.ZodDefault<z.ZodBoolean>;
402
+ }, z.core.$strict>;
403
+ overrides: z.ZodDefault<z.ZodObject<{
404
+ files: z.ZodDefault<z.ZodArray<z.ZodString>>;
405
+ init: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof InitFlag>>>;
406
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
407
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
408
+ declaration: z.ZodOptional<z.ZodString>;
409
+ path: z.ZodArray<z.ZodString>;
410
+ }, z.core.$strict>>>;
411
+ }, z.core.$strict>>;
412
+ }, z.core.$strict>;
413
+ export type BlueprintDefinition = z.infer<typeof BlueprintDefinitionSchema>;
414
+ /** The authoring shape, before defaults: what a `blueprint.definition.ts` writes `satisfies` against. */
415
+ export type BlueprintDefinitionInput = z.input<typeof BlueprintDefinitionSchema>;
416
+ /** @wildo_source:part:end blueprint.definition-contract */
417
+ /** The manifest at the root of a packed blueprint, beside {@link BLUEPRINT_FILES_DIRECTORY}. */
418
+ export declare const BLUEPRINT_MANIFEST_FILE_NAME = "blueprint.json";
419
+ /** The packed files, laid out as they land in the application (`.hbs` rendered, `__param__` segments interpolated). */
420
+ export declare const BLUEPRINT_FILES_DIRECTORY = "files";
421
+ /**
422
+ * An embedded module: its directories and the registration that makes the application know it. A domain module, a
423
+ * minion or a worker. Never a PROVIDER: a provider module is one vendor's package, distributed and versioned by the
424
+ * registry, and wired by each installing application from its own declarations — copying it into a blueprint would
425
+ * freeze one application's wiring into every application made from it.
426
+ */
427
+ export declare const BlueprintEmbeddedModuleSchema: z.ZodObject<{
428
+ boundaries: z.ZodObject<{
429
+ specifications: z.ZodDefault<z.ZodArray<z.ZodString>>;
430
+ shared: z.ZodDefault<z.ZodArray<z.ZodString>>;
431
+ frontend: z.ZodDefault<z.ZodArray<z.ZodString>>;
432
+ backend: z.ZodDefault<z.ZodArray<z.ZodString>>;
433
+ minions: z.ZodDefault<z.ZodArray<z.ZodString>>;
434
+ workers: z.ZodDefault<z.ZodArray<z.ZodString>>;
435
+ providers: z.ZodDefault<z.ZodArray<z.ZodString>>;
436
+ }, z.core.$strict>;
437
+ registration: z.ZodObject<{
438
+ scenario: z.ZodEnum<typeof ModuleRegistrationScenario>;
439
+ moduleId: z.ZodString;
440
+ moduleCamel: z.ZodString;
441
+ layers: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("..").DomainModuleLayer>>>;
442
+ providerWiring: z.ZodOptional<z.ZodObject<{
443
+ backendPackage: z.ZodOptional<z.ZodString>;
444
+ backendOwners: z.ZodArray<z.ZodObject<{
445
+ serviceKey: z.ZodString;
446
+ path: z.ZodString;
447
+ }, z.core.$strict>>;
448
+ frontendPackage: z.ZodOptional<z.ZodString>;
449
+ frontendOwners: z.ZodArray<z.ZodObject<{
450
+ serviceKey: z.ZodString;
451
+ path: z.ZodString;
452
+ }, z.core.$strict>>;
453
+ augments: z.ZodOptional<z.ZodString>;
454
+ vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
455
+ heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
456
+ onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
457
+ heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
458
+ }, z.core.$strict>>;
459
+ }, z.core.$strict>;
460
+ }, z.core.$strict>;
461
+ export type BlueprintEmbeddedModule = z.infer<typeof BlueprintEmbeddedModuleSchema>;
462
+ /**
463
+ * The packed blueprint manifest (`blueprint.json`). Compiled by `wildo blueprint pack`, read by
464
+ * `wildo init --blueprint`. Never authored.
465
+ */
466
+ export declare const BlueprintManifestSchema: z.ZodObject<{
467
+ schemaVersion: z.ZodLiteral<1>;
468
+ id: z.ZodString;
469
+ version: z.ZodString;
470
+ description: z.ZodString;
471
+ frameworkVersion: z.ZodString;
472
+ identity: z.ZodObject<{
473
+ slug: z.ZodString;
474
+ displayName: z.ZodString;
475
+ }, z.core.$strict>;
476
+ extends: z.ZodDefault<z.ZodArray<z.ZodObject<{
477
+ id: z.ZodString;
478
+ range: z.ZodString;
479
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
480
+ }, z.core.$strict>>>;
481
+ init: z.ZodDefault<z.ZodArray<z.ZodObject<{
482
+ flag: z.ZodEnum<typeof InitFlag>;
483
+ mode: z.ZodEnum<typeof BlueprintInitConstraintMode>;
484
+ value: z.ZodString;
485
+ }, z.core.$strict>>>;
486
+ parameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
487
+ name: z.ZodString;
488
+ description: z.ZodString;
489
+ kind: z.ZodEnum<typeof BlueprintParameterKind>;
490
+ required: z.ZodBoolean;
491
+ default: z.ZodOptional<z.ZodString>;
492
+ pattern: z.ZodOptional<z.ZodString>;
493
+ members: z.ZodOptional<z.ZodArray<z.ZodString>>;
494
+ }, z.core.$strict>>>;
495
+ modules: z.ZodDefault<z.ZodArray<z.ZodObject<{
496
+ boundaries: z.ZodObject<{
497
+ specifications: z.ZodDefault<z.ZodArray<z.ZodString>>;
498
+ shared: z.ZodDefault<z.ZodArray<z.ZodString>>;
499
+ frontend: z.ZodDefault<z.ZodArray<z.ZodString>>;
500
+ backend: z.ZodDefault<z.ZodArray<z.ZodString>>;
501
+ minions: z.ZodDefault<z.ZodArray<z.ZodString>>;
502
+ workers: z.ZodDefault<z.ZodArray<z.ZodString>>;
503
+ providers: z.ZodDefault<z.ZodArray<z.ZodString>>;
504
+ }, z.core.$strict>;
505
+ registration: z.ZodObject<{
506
+ scenario: z.ZodEnum<typeof ModuleRegistrationScenario>;
507
+ moduleId: z.ZodString;
508
+ moduleCamel: z.ZodString;
509
+ layers: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("..").DomainModuleLayer>>>;
510
+ providerWiring: z.ZodOptional<z.ZodObject<{
511
+ backendPackage: z.ZodOptional<z.ZodString>;
512
+ backendOwners: z.ZodArray<z.ZodObject<{
513
+ serviceKey: z.ZodString;
514
+ path: z.ZodString;
515
+ }, z.core.$strict>>;
516
+ frontendPackage: z.ZodOptional<z.ZodString>;
517
+ frontendOwners: z.ZodArray<z.ZodObject<{
518
+ serviceKey: z.ZodString;
519
+ path: z.ZodString;
520
+ }, z.core.$strict>>;
521
+ augments: z.ZodOptional<z.ZodString>;
522
+ vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
523
+ heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
525
+ heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
526
+ }, z.core.$strict>>;
527
+ }, z.core.$strict>;
528
+ }, z.core.$strict>>>;
529
+ moduleReferences: z.ZodDefault<z.ZodArray<z.ZodObject<{
530
+ domain: z.ZodString;
531
+ moduleId: z.ZodString;
532
+ range: z.ZodString;
533
+ }, z.core.$strict>>>;
534
+ line: z.ZodOptional<z.ZodString>;
535
+ declarationOperations: z.ZodDefault<z.ZodArray<z.ZodObject<{
536
+ valueText: z.ZodString;
537
+ imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
538
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
539
+ declaration: z.ZodOptional<z.ZodString>;
540
+ path: z.ZodArray<z.ZodString>;
541
+ }, z.core.$strict>>>;
542
+ barrelExports: z.ZodDefault<z.ZodArray<z.ZodObject<{
543
+ file: z.ZodEnum<typeof BlueprintBarrelFile>;
544
+ line: z.ZodString;
545
+ }, z.core.$strict>>>;
546
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
547
+ manifest: z.ZodEnum<typeof BlueprintWorkspaceManifest>;
548
+ name: z.ZodString;
549
+ specifier: z.ZodString;
550
+ }, z.core.$strict>>>;
551
+ slotContributions: z.ZodDefault<z.ZodArray<z.ZodObject<{
552
+ file: z.ZodEnum<typeof BlueprintSlotFile>;
553
+ slot: z.ZodString;
554
+ body: z.ZodString;
555
+ }, z.core.$strict>>>;
556
+ overrides: z.ZodDefault<z.ZodObject<{
557
+ files: z.ZodDefault<z.ZodArray<z.ZodString>>;
558
+ init: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof InitFlag>>>;
559
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
560
+ file: z.ZodEnum<typeof BlueprintDeclarationFile>;
561
+ declaration: z.ZodOptional<z.ZodString>;
562
+ path: z.ZodArray<z.ZodString>;
563
+ }, z.core.$strict>>>;
564
+ }, z.core.$strict>>;
565
+ }, z.core.$strict>;
566
+ export type BlueprintManifest = z.infer<typeof BlueprintManifestSchema>;
567
+ /**
568
+ * Whether `appRelativePath` (POSIX, relative to the application root) may be carried by a blueprint, in its
569
+ * `files/` tree or as a module file. Checked when a blueprint is packed AND when it is applied, so a hand-made
570
+ * artifact cannot plant what pack would never have written.
571
+ *
572
+ * On top of the module rule (no dot segment — `.git`, `.env`, `.wildo-saas`, traversal — and no `node_modules`):
573
+ * - nothing under `blueprints/`: a definition lives only in the application that defines it (decision D5);
574
+ * - no `dist/` build output;
575
+ * - no secret-shaped file or directory (`secrets.json`, `secrets/`, `*.pem`, `*.key`, …), at any depth.
576
+ *
577
+ * Names compare case-insensitively: on a case-insensitive filesystem (macOS, Windows) `Node_Modules/` and
578
+ * `Blueprints/` ARE those directories.
579
+ */
580
+ export declare function isBlueprintArtifactPathAllowed(appRelativePath: string): boolean;
581
+ /** The `wildo-saas.lock.json` section `wildo init` records how the application was scaffolded in. */
582
+ export declare const SCAFFOLD_LOCK_SECTION_KEY = "scaffold";
583
+ /**
584
+ * `sections.scaffold`: the application-shape init flags the application was created with, and the blueprint
585
+ * layers applied on its base, in order. Written by every `wildo init`, with or without a blueprint, because an export
586
+ * rebuilds the defining application's base from it.
587
+ *
588
+ * It records no file hashes and no digests on purpose: an init-time apply has nothing to upgrade or remove (D2), and
589
+ * git already holds what each layer wrote — one commit per layer.
590
+ */
591
+ export declare const ScaffoldLockSectionSchema: z.ZodObject<{
592
+ applicationShape: z.ZodDefault<z.ZodRecord<z.ZodEnum<typeof InitFlag> & z.core.$partial, z.ZodString>>;
593
+ blueprints: z.ZodDefault<z.ZodArray<z.ZodObject<{
594
+ id: z.ZodString;
595
+ version: z.ZodString;
596
+ parameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
597
+ }, z.core.$strict>>>;
598
+ }, z.core.$strict>;
599
+ export type ScaffoldLockSection = z.infer<typeof ScaffoldLockSectionSchema>;
600
+ //# sourceMappingURL=blueprint.schemas.d.ts.map