@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildo-ai/platform-config-lib",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Project configuration schemas, defineConfig helpers, and shared bootstrap contracts for the Wildo.ai platform",
6
6
  "author": "Wildo AI",
@@ -34,29 +34,29 @@
34
34
  "test:watch": "vitest"
35
35
  },
36
36
  "dependencies": {
37
- "@wildo-ai/external-connectors-models": "1.1.10",
38
- "@wildo-ai/external-connectors-private": "1.1.10",
39
- "@wildo-ai/external-connectors-public": "1.1.10",
40
- "@wildo-ai/platform-core-shared": "1.1.10",
41
- "@wildo-ai/saas-models": "1.1.10",
42
- "@wildo-ai/zod-decorators": "1.1.10",
37
+ "@wildo-ai/external-connectors-models": "1.1.12",
38
+ "@wildo-ai/external-connectors-private": "1.1.12",
39
+ "@wildo-ai/external-connectors-public": "1.1.12",
40
+ "@wildo-ai/platform-core-shared": "1.1.12",
41
+ "@wildo-ai/saas-models": "1.1.12",
42
+ "@wildo-ai/zod-decorators": "1.1.12",
43
43
  "jiti": "^2.6.1",
44
- "proper-lockfile": "^4.1.2",
44
+ "proper-lockfile": "4.1.2",
45
45
  "write-file-atomic": "^5.0.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@swc/core": "^1",
48
+ "@swc/core": "^1.15.13",
49
49
  "@types/node": "^24.0.15",
50
50
  "@types/proper-lockfile": "^4.1.4",
51
51
  "@types/write-file-atomic": "^4.0.3",
52
- "rimraf": "^6.0.1",
52
+ "rimraf": "^6.1.4",
53
53
  "tsc-alias": "1.8.16",
54
54
  "tsc-watch": "7.2.1",
55
55
  "typescript": "5.9.3",
56
- "vitest": "^1.6.1"
56
+ "vitest": "^4.1.12"
57
57
  },
58
58
  "peerDependencies": {
59
- "zod": "^4.3.6"
59
+ "zod": "^4.6.6"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -1,3 +0,0 @@
1
- export * from './unimplemented-field-warning';
2
- export * from './soft-warn';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_unimplemented/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './unimplemented-field-warning.js';
2
- export * from './soft-warn.js';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_unimplemented/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC","sourcesContent":["export * from './unimplemented-field-warning';\nexport * from './soft-warn';\n"]}
@@ -1,137 +0,0 @@
1
- /**
2
- * @fileoverview `@unimplemented` runtime-contract warning utility
3
- * (Slice 3.4 + Slice 3.5 infra extension).
4
- *
5
- * Some authored fields on `WildoSaasConfigSchema` and
6
- * `WildoInfraEnvConfigInputSchema` are intentionally exposed in the
7
- * authoring surface today but have **no runtime consumer yet**: they
8
- * are "scaffolded for the next slice". Examples (full list in
9
- * `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +
10
- * the deferred-backlog table):
11
- *
12
- * - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`
13
- *
14
- * (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired
15
- * 2026-05-05 with the close of D-1; the runtime path now ships
16
- * end-to-end — see `.claude/plans/minions-and-workers-implementation.md`
17
- * Phase 4. The per-entry `resourceAccess` soft-warn channel under
18
- * `minions.<key>` survives because it is an authoring-contract
19
- * advisory, not a "runtime missing" marker.)
20
- *
21
- * The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)
22
- * is that **every authored field must carry its semantic weight**. Silently
23
- * stripping or silently ignoring authored values is the kind of "trick" that
24
- * compounds into long-term debt — an app developer who writes a still-deferred
25
- * field should NOT discover six months later that the flag never wired
26
- * anything up.
27
- *
28
- * The honest middle-ground until the deferred slices land is:
29
- *
30
- * 1. Keep the field in the schema so authored configs stay forward-compatible
31
- * when the runtime support DOES arrive (no breaking re-author).
32
- * 2. **Loudly warn at parse time** that the field is parsed but currently
33
- * has no runtime consumer, with a pointer to the tracking backlog ID.
34
- * 3. Document the same set in `cli-dx.md` so a reader can audit the gap
35
- * without grepping the codebase.
36
- *
37
- * Design choices made for this utility:
38
- *
39
- * - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to
40
- * the FD keeps the utility usable from every context the schema runs in
41
- * today — CLI commands, the dev watcher, backend bootstrap, and tests —
42
- * without coupling to the CLI logger or to `console.warn` (the latter
43
- * would be hijacked by the dev watcher's pretty-printer and the warning
44
- * would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.
45
- * - **Dedupe = "once per parse call"** (decided 2026-04-13). The utility is
46
- * stateless — no module-level `Set` caching emitted warnings — and the
47
- * *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so
48
- * that authoring the same field twice in one config still warns once,
49
- * but the dev watcher re-parsing on every save still re-emits the full
50
- * set so authors see them on every save instead of "warning fatigue =
51
- * silent after the first save". Process-wide dedupe was rejected because
52
- * a long-lived dev watcher would emit each warning exactly once at boot
53
- * and never again, defeating the purpose for someone who joins later.
54
- * - **Format = single-line with slice ID + plan reference** (decided
55
- * 2026-04-13). One line per warning is grep-friendly, fits inside dev
56
- * watcher log streams without breaking layout, and embedding `D-{n}`
57
- * plus the plan filename gives the reader a one-jump path to the
58
- * tracking entry. The longer "two-line block" alternative was rejected
59
- * because the dev watcher's per-line log prefixes break the visual
60
- * indentation, and the "minimal one-liner" alternative was rejected
61
- * because it required the reader to look up `D-{n}` separately.
62
- *
63
- * NOT a replacement for schema validation:
64
- * - This utility does NOT prevent the field from being authored.
65
- * - It does NOT cast / coerce / mutate the parsed value.
66
- * - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`
67
- * succeeds, by the `defineSaasConfig` wrapper.
68
- *
69
- * When the deferred backlog item lands and the runtime consumer ships, the
70
- * corresponding `if (...) emitUnimplementedFieldWarning(...)` block in
71
- * `defineSaasConfig.ts` MUST be removed in the same commit as the runtime
72
- * wiring — leaving a stale warning is worse than silence because authors
73
- * will start ignoring the channel.
74
- */
75
- /**
76
- * Source label embedded in the warning prefix so a reader can tell at a
77
- * glance which authored config emitted the warning. Keep the literals
78
- * stable — tests and operator runbooks may grep on these prefixes.
79
- */
80
- export declare enum UnimplementedFieldSource {
81
- SAAS_CONFIG = "wildo-saas-config",
82
- INFRA_ENV_CONFIG = "wildo-infra-env-config"
83
- }
84
- /**
85
- * Emit a single-line `@unimplemented` warning to `process.stderr`.
86
- *
87
- * @param source - Which authored config the field belongs to. Surfaces in
88
- * the warning prefix (`[wildo-saas-config]` /
89
- * `[wildo-infra-env-config]`) so the reader can match the
90
- * warning back to the file they were editing without
91
- * scrolling the call stack.
92
- * @param fieldPath - Dotted path to the authored field, e.g.
93
- * `'features.organizations'` or
94
- * `'capabilities.AI_LLM.runtime'`. Used as the dedupe
95
- * key by callers and surfaced verbatim in the warning
96
- * text so authors can ctrl-F it in their config.
97
- * @param followUpSliceId - Tracking ID in the deferred backlog
98
- * (`D-1` / `D-2` / `D-3` / `D-5` today, plus
99
- * auth-hardening's `B-2C`). Surfaced in the
100
- * warning so readers can jump to the matching
101
- * plan entry without grepping.
102
- * @param followUpPlanPath - Plan file that owns the backlog ID. Defaults
103
- * to `post-flattening-completion-fixes.md` so
104
- * the existing D-series warnings keep their
105
- * current breadcrumb, but callers can override
106
- * it for backlog IDs owned by another plan.
107
- *
108
- * The warning is written synchronously; this is intentional so the line
109
- * appears next to the offending parse in the dev watcher's interleaved
110
- * log stream. Throwing here is intentionally not done — a bad warning
111
- * must never block a parse, only inform.
112
- */
113
- export declare function emitUnimplementedFieldWarning(source: UnimplementedFieldSource, fieldPath: string, followUpSliceId: string, followUpPlanPath?: string): void;
114
- /**
115
- * Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by
116
- * `fieldPath` alone (the `source` is bound by the closure, so embedding
117
- * it in the dedupe key would be redundant — one warner instance is
118
- * scoped to one source). Intended call shape:
119
- *
120
- * ```ts
121
- * const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);
122
- * warn('features.organizations', 'D-3');
123
- * warn('features.organizations', 'D-3'); // second call is a no-op
124
- * warn('csp.docs', 'B-2C', '.cursor/plans/auth-hardening.md');
125
- * ```
126
- *
127
- * The returned closure is local to the parse call (not stored on a
128
- * module / singleton) so dev-watcher re-parses still re-emit the full set
129
- * — see the "once per parse call" decision in the file-level JSDoc above.
130
- *
131
- * The source is captured by the closure so callers (one per
132
- * `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to
133
- * pass field paths, matching the existing call shape used in
134
- * `defineSaasConfig.emitUnimplementedRuntimeWarnings`.
135
- */
136
- export declare function createUnimplementedFieldWarner(source: UnimplementedFieldSource): (fieldPath: string, followUpSliceId: string, followUpPlanPath?: string) => void;
137
- //# sourceMappingURL=unimplemented-field-warning.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unimplemented-field-warning.d.ts","sourceRoot":"","sources":["../../../../src/_unimplemented/unimplemented-field-warning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AAEH;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC,WAAW,sBAAsB;IACjC,gBAAgB,2BAA2B;CAC5C;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,MAAM,EACvB,gBAAgB,GAAE,MAAwC,GACzD,IAAI,CAON;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,wBAAwB,GAC/B,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,KAAK,IAAI,CAOjF"}
@@ -1,153 +0,0 @@
1
- /**
2
- * @fileoverview `@unimplemented` runtime-contract warning utility
3
- * (Slice 3.4 + Slice 3.5 infra extension).
4
- *
5
- * Some authored fields on `WildoSaasConfigSchema` and
6
- * `WildoInfraEnvConfigInputSchema` are intentionally exposed in the
7
- * authoring surface today but have **no runtime consumer yet**: they
8
- * are "scaffolded for the next slice". Examples (full list in
9
- * `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +
10
- * the deferred-backlog table):
11
- *
12
- * - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`
13
- *
14
- * (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired
15
- * 2026-05-05 with the close of D-1; the runtime path now ships
16
- * end-to-end — see `.claude/plans/minions-and-workers-implementation.md`
17
- * Phase 4. The per-entry `resourceAccess` soft-warn channel under
18
- * `minions.<key>` survives because it is an authoring-contract
19
- * advisory, not a "runtime missing" marker.)
20
- *
21
- * The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)
22
- * is that **every authored field must carry its semantic weight**. Silently
23
- * stripping or silently ignoring authored values is the kind of "trick" that
24
- * compounds into long-term debt — an app developer who writes a still-deferred
25
- * field should NOT discover six months later that the flag never wired
26
- * anything up.
27
- *
28
- * The honest middle-ground until the deferred slices land is:
29
- *
30
- * 1. Keep the field in the schema so authored configs stay forward-compatible
31
- * when the runtime support DOES arrive (no breaking re-author).
32
- * 2. **Loudly warn at parse time** that the field is parsed but currently
33
- * has no runtime consumer, with a pointer to the tracking backlog ID.
34
- * 3. Document the same set in `cli-dx.md` so a reader can audit the gap
35
- * without grepping the codebase.
36
- *
37
- * Design choices made for this utility:
38
- *
39
- * - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to
40
- * the FD keeps the utility usable from every context the schema runs in
41
- * today — CLI commands, the dev watcher, backend bootstrap, and tests —
42
- * without coupling to the CLI logger or to `console.warn` (the latter
43
- * would be hijacked by the dev watcher's pretty-printer and the warning
44
- * would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.
45
- * - **Dedupe = "once per parse call"** (decided 2026-04-13). The utility is
46
- * stateless — no module-level `Set` caching emitted warnings — and the
47
- * *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so
48
- * that authoring the same field twice in one config still warns once,
49
- * but the dev watcher re-parsing on every save still re-emits the full
50
- * set so authors see them on every save instead of "warning fatigue =
51
- * silent after the first save". Process-wide dedupe was rejected because
52
- * a long-lived dev watcher would emit each warning exactly once at boot
53
- * and never again, defeating the purpose for someone who joins later.
54
- * - **Format = single-line with slice ID + plan reference** (decided
55
- * 2026-04-13). One line per warning is grep-friendly, fits inside dev
56
- * watcher log streams without breaking layout, and embedding `D-{n}`
57
- * plus the plan filename gives the reader a one-jump path to the
58
- * tracking entry. The longer "two-line block" alternative was rejected
59
- * because the dev watcher's per-line log prefixes break the visual
60
- * indentation, and the "minimal one-liner" alternative was rejected
61
- * because it required the reader to look up `D-{n}` separately.
62
- *
63
- * NOT a replacement for schema validation:
64
- * - This utility does NOT prevent the field from being authored.
65
- * - It does NOT cast / coerce / mutate the parsed value.
66
- * - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`
67
- * succeeds, by the `defineSaasConfig` wrapper.
68
- *
69
- * When the deferred backlog item lands and the runtime consumer ships, the
70
- * corresponding `if (...) emitUnimplementedFieldWarning(...)` block in
71
- * `defineSaasConfig.ts` MUST be removed in the same commit as the runtime
72
- * wiring — leaving a stale warning is worse than silence because authors
73
- * will start ignoring the channel.
74
- */
75
- /**
76
- * Source label embedded in the warning prefix so a reader can tell at a
77
- * glance which authored config emitted the warning. Keep the literals
78
- * stable — tests and operator runbooks may grep on these prefixes.
79
- */
80
- export var UnimplementedFieldSource;
81
- (function (UnimplementedFieldSource) {
82
- UnimplementedFieldSource["SAAS_CONFIG"] = "wildo-saas-config";
83
- UnimplementedFieldSource["INFRA_ENV_CONFIG"] = "wildo-infra-env-config";
84
- })(UnimplementedFieldSource || (UnimplementedFieldSource = {}));
85
- const DEFAULT_UNIMPLEMENTED_PLAN_PATH = '.cursor/plans/post-flattening-completion-fixes.md';
86
- /**
87
- * Emit a single-line `@unimplemented` warning to `process.stderr`.
88
- *
89
- * @param source - Which authored config the field belongs to. Surfaces in
90
- * the warning prefix (`[wildo-saas-config]` /
91
- * `[wildo-infra-env-config]`) so the reader can match the
92
- * warning back to the file they were editing without
93
- * scrolling the call stack.
94
- * @param fieldPath - Dotted path to the authored field, e.g.
95
- * `'features.organizations'` or
96
- * `'capabilities.AI_LLM.runtime'`. Used as the dedupe
97
- * key by callers and surfaced verbatim in the warning
98
- * text so authors can ctrl-F it in their config.
99
- * @param followUpSliceId - Tracking ID in the deferred backlog
100
- * (`D-1` / `D-2` / `D-3` / `D-5` today, plus
101
- * auth-hardening's `B-2C`). Surfaced in the
102
- * warning so readers can jump to the matching
103
- * plan entry without grepping.
104
- * @param followUpPlanPath - Plan file that owns the backlog ID. Defaults
105
- * to `post-flattening-completion-fixes.md` so
106
- * the existing D-series warnings keep their
107
- * current breadcrumb, but callers can override
108
- * it for backlog IDs owned by another plan.
109
- *
110
- * The warning is written synchronously; this is intentional so the line
111
- * appears next to the offending parse in the dev watcher's interleaved
112
- * log stream. Throwing here is intentionally not done — a bad warning
113
- * must never block a parse, only inform.
114
- */
115
- export function emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath = DEFAULT_UNIMPLEMENTED_PLAN_PATH) {
116
- const message = `[${source}] @unimplemented field '${fieldPath}' authored — ` +
117
- `runtime support tracked under ${followUpSliceId} ` +
118
- `(${followUpPlanPath}). ` +
119
- `The field is parsed but currently has no runtime consumer.\n`;
120
- process.stderr.write(message);
121
- }
122
- /**
123
- * Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by
124
- * `fieldPath` alone (the `source` is bound by the closure, so embedding
125
- * it in the dedupe key would be redundant — one warner instance is
126
- * scoped to one source). Intended call shape:
127
- *
128
- * ```ts
129
- * const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);
130
- * warn('features.organizations', 'D-3');
131
- * warn('features.organizations', 'D-3'); // second call is a no-op
132
- * warn('csp.docs', 'B-2C', '.cursor/plans/auth-hardening.md');
133
- * ```
134
- *
135
- * The returned closure is local to the parse call (not stored on a
136
- * module / singleton) so dev-watcher re-parses still re-emit the full set
137
- * — see the "once per parse call" decision in the file-level JSDoc above.
138
- *
139
- * The source is captured by the closure so callers (one per
140
- * `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to
141
- * pass field paths, matching the existing call shape used in
142
- * `defineSaasConfig.emitUnimplementedRuntimeWarnings`.
143
- */
144
- export function createUnimplementedFieldWarner(source) {
145
- const emitted = new Set();
146
- return (fieldPath, followUpSliceId, followUpPlanPath) => {
147
- if (emitted.has(fieldPath))
148
- return;
149
- emitted.add(fieldPath);
150
- emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath);
151
- };
152
- }
153
- //# sourceMappingURL=unimplemented-field-warning.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unimplemented-field-warning.js","sourceRoot":"","sources":["../../../../src/_unimplemented/unimplemented-field-warning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AAEH;;;;GAIG;AACH,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6DAAiC,CAAA;IACjC,uEAA2C,CAAA;AAC7C,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,+BAA+B,GAAG,mDAAmD,CAAC;AAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,UAAU,6BAA6B,CAC3C,MAAgC,EAChC,SAAiB,EACjB,eAAuB,EACvB,mBAA2B,+BAA+B;IAE1D,MAAM,OAAO,GACX,IAAI,MAAM,2BAA2B,SAAS,eAAe;QAC7D,iCAAiC,eAAe,GAAG;QACnD,IAAI,gBAAgB,KAAK;QACzB,8DAA8D,CAAC;IACjE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,8BAA8B,CAC5C,MAAgC;IAEhC,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,OAAO,CAAC,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,EAAE;QACtD,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;YAAE,OAAO;QACnC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACvB,6BAA6B,CAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,CAAC,CAAC;IACtF,CAAC,CAAC;AACJ,CAAC","sourcesContent":["/**\n * @fileoverview `@unimplemented` runtime-contract warning utility\n * (Slice 3.4 + Slice 3.5 infra extension).\n *\n * Some authored fields on `WildoSaasConfigSchema` and\n * `WildoInfraEnvConfigInputSchema` are intentionally exposed in the\n * authoring surface today but have **no runtime consumer yet**: they\n * are \"scaffolded for the next slice\". Examples (full list in\n * `.cursor/plans/post-flattening-completion-fixes.md` Slices 3.4-3.5 +\n * the deferred-backlog table):\n *\n * - `WildoSaasConfig.version`, `WildoInfraEnvConfig.version` → backlog `D-5`\n *\n * (`WildoSaasConfig.{minions, workers}` → backlog `D-1` was retired\n * 2026-05-05 with the close of D-1; the runtime path now ships\n * end-to-end — see `.claude/plans/minions-and-workers-implementation.md`\n * Phase 4. The per-entry `resourceAccess` soft-warn channel under\n * `minions.<key>` survives because it is an authoring-contract\n * advisory, not a \"runtime missing\" marker.)\n *\n * The framework-mindset rule of thumb (per `.cursor/rules/design-philosophy.mdc`)\n * is that **every authored field must carry its semantic weight**. Silently\n * stripping or silently ignoring authored values is the kind of \"trick\" that\n * compounds into long-term debt — an app developer who writes a still-deferred\n * field should NOT discover six months later that the flag never wired\n * anything up.\n *\n * The honest middle-ground until the deferred slices land is:\n *\n * 1. Keep the field in the schema so authored configs stay forward-compatible\n * when the runtime support DOES arrive (no breaking re-author).\n * 2. **Loudly warn at parse time** that the field is parsed but currently\n * has no runtime consumer, with a pointer to the tracking backlog ID.\n * 3. Document the same set in `cli-dx.md` so a reader can audit the gap\n * without grepping the codebase.\n *\n * Design choices made for this utility:\n *\n * - **Channel = `process.stderr`** (decided 2026-04-13). Writing directly to\n * the FD keeps the utility usable from every context the schema runs in\n * today — CLI commands, the dev watcher, backend bootstrap, and tests —\n * without coupling to the CLI logger or to `console.warn` (the latter\n * would be hijacked by the dev watcher's pretty-printer and the warning\n * would lose its raw form). Tests stub via `vi.spyOn(process.stderr, 'write')`.\n * - **Dedupe = \"once per parse call\"** (decided 2026-04-13). The utility is\n * stateless — no module-level `Set` caching emitted warnings — and the\n * *caller* (`defineSaasConfig`) owns a fresh `Set<string>` per parse so\n * that authoring the same field twice in one config still warns once,\n * but the dev watcher re-parsing on every save still re-emits the full\n * set so authors see them on every save instead of \"warning fatigue =\n * silent after the first save\". Process-wide dedupe was rejected because\n * a long-lived dev watcher would emit each warning exactly once at boot\n * and never again, defeating the purpose for someone who joins later.\n * - **Format = single-line with slice ID + plan reference** (decided\n * 2026-04-13). One line per warning is grep-friendly, fits inside dev\n * watcher log streams without breaking layout, and embedding `D-{n}`\n * plus the plan filename gives the reader a one-jump path to the\n * tracking entry. The longer \"two-line block\" alternative was rejected\n * because the dev watcher's per-line log prefixes break the visual\n * indentation, and the \"minimal one-liner\" alternative was rejected\n * because it required the reader to look up `D-{n}` separately.\n *\n * NOT a replacement for schema validation:\n * - This utility does NOT prevent the field from being authored.\n * - It does NOT cast / coerce / mutate the parsed value.\n * - It is a **runtime advisory**, surfaced AFTER `WildoSaasConfigSchema.parse()`\n * succeeds, by the `defineSaasConfig` wrapper.\n *\n * When the deferred backlog item lands and the runtime consumer ships, the\n * corresponding `if (...) emitUnimplementedFieldWarning(...)` block in\n * `defineSaasConfig.ts` MUST be removed in the same commit as the runtime\n * wiring — leaving a stale warning is worse than silence because authors\n * will start ignoring the channel.\n */\n\n/**\n * Source label embedded in the warning prefix so a reader can tell at a\n * glance which authored config emitted the warning. Keep the literals\n * stable — tests and operator runbooks may grep on these prefixes.\n */\nexport enum UnimplementedFieldSource {\n SAAS_CONFIG = 'wildo-saas-config',\n INFRA_ENV_CONFIG = 'wildo-infra-env-config',\n}\n\nconst DEFAULT_UNIMPLEMENTED_PLAN_PATH = '.cursor/plans/post-flattening-completion-fixes.md';\n\n/**\n * Emit a single-line `@unimplemented` warning to `process.stderr`.\n *\n * @param source - Which authored config the field belongs to. Surfaces in\n * the warning prefix (`[wildo-saas-config]` /\n * `[wildo-infra-env-config]`) so the reader can match the\n * warning back to the file they were editing without\n * scrolling the call stack.\n * @param fieldPath - Dotted path to the authored field, e.g.\n * `'features.organizations'` or\n * `'capabilities.AI_LLM.runtime'`. Used as the dedupe\n * key by callers and surfaced verbatim in the warning\n * text so authors can ctrl-F it in their config.\n * @param followUpSliceId - Tracking ID in the deferred backlog\n * (`D-1` / `D-2` / `D-3` / `D-5` today, plus\n * auth-hardening's `B-2C`). Surfaced in the\n * warning so readers can jump to the matching\n * plan entry without grepping.\n * @param followUpPlanPath - Plan file that owns the backlog ID. Defaults\n * to `post-flattening-completion-fixes.md` so\n * the existing D-series warnings keep their\n * current breadcrumb, but callers can override\n * it for backlog IDs owned by another plan.\n *\n * The warning is written synchronously; this is intentional so the line\n * appears next to the offending parse in the dev watcher's interleaved\n * log stream. Throwing here is intentionally not done — a bad warning\n * must never block a parse, only inform.\n */\nexport function emitUnimplementedFieldWarning(\n source: UnimplementedFieldSource,\n fieldPath: string,\n followUpSliceId: string,\n followUpPlanPath: string = DEFAULT_UNIMPLEMENTED_PLAN_PATH,\n): void {\n const message =\n `[${source}] @unimplemented field '${fieldPath}' authored — ` +\n `runtime support tracked under ${followUpSliceId} ` +\n `(${followUpPlanPath}). ` +\n `The field is parsed but currently has no runtime consumer.\\n`;\n process.stderr.write(message);\n}\n\n/**\n * Convenience wrapper that owns a per-call dedupe `Set<string>` keyed by\n * `fieldPath` alone (the `source` is bound by the closure, so embedding\n * it in the dedupe key would be redundant — one warner instance is\n * scoped to one source). Intended call shape:\n *\n * ```ts\n * const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.SAAS_CONFIG);\n * warn('features.organizations', 'D-3');\n * warn('features.organizations', 'D-3'); // second call is a no-op\n * warn('csp.docs', 'B-2C', '.cursor/plans/auth-hardening.md');\n * ```\n *\n * The returned closure is local to the parse call (not stored on a\n * module / singleton) so dev-watcher re-parses still re-emit the full set\n * — see the \"once per parse call\" decision in the file-level JSDoc above.\n *\n * The source is captured by the closure so callers (one per\n * `defineSaasConfig` / `defineInfraEnvConfig` invocation) only have to\n * pass field paths, matching the existing call shape used in\n * `defineSaasConfig.emitUnimplementedRuntimeWarnings`.\n */\nexport function createUnimplementedFieldWarner(\n source: UnimplementedFieldSource,\n): (fieldPath: string, followUpSliceId: string, followUpPlanPath?: string) => void {\n const emitted = new Set<string>();\n return (fieldPath, followUpSliceId, followUpPlanPath) => {\n if (emitted.has(fieldPath)) return;\n emitted.add(fieldPath);\n emitUnimplementedFieldWarning(source, fieldPath, followUpSliceId, followUpPlanPath);\n };\n}\n"]}
@@ -1,14 +0,0 @@
1
- import { type WildoCdnConfigInput } from './cdn.schemas';
2
- /**
3
- * Illustrative `cdn` authoring samples (Tier B) — anchored for the
4
- * `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the
5
- * examples cannot drift from the real schema. Not runtime code; they exist to
6
- * be extracted into the compiled app-knowledge.
7
- */
8
- /** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */
9
- export declare const exampleCloudflareCdnConfig: Record<string, WildoCdnConfigInput>;
10
- /** @wildo_source:part:end example.infra.cdn.cloudflare */
11
- /** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */
12
- export declare const exampleGenericCdnConfig: Record<string, WildoCdnConfigInput>;
13
- /** @wildo_source:part:end example.infra.cdn.generic */
14
- //# sourceMappingURL=cdn.example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cdn.example.d.ts","sourceRoot":"","sources":["../../../../src/project-config/shared/cdn.example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpE;;;;;GAKG;AAEH,kHAAkH;AAIlH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAY1E,CAAC;AACF,0DAA0D;AAE1D,+GAA+G;AAK/G,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAKvE,CAAC;AACF,uDAAuD"}
@@ -1,38 +0,0 @@
1
- import { CdnVendor } from './cdn.schemas.js';
2
- /**
3
- * Illustrative `cdn` authoring samples (Tier B) — anchored for the
4
- * `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the
5
- * examples cannot drift from the real schema. Not runtime code; they exist to
6
- * be extracted into the compiled app-knowledge.
7
- */
8
- /** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */
9
- // In a REMOTE env's wildo.infra.<env>.config.ts (e.g. production), under the
10
- // top-level `cdn` key. Cloudflare = the live adapter: `wildo frontend publish`
11
- // uploads the dist to S3 AND installs the CSP edge ruleset on the zone.
12
- export const exampleCloudflareCdnConfig = {
13
- // Serve the marketing website from a CDN instead of its nginx pod.
14
- website: {
15
- enabled: true,
16
- bucket: 'yourapp-web-prod', // public-read S3 bucket — the operator sets the policy
17
- vendor: {
18
- kind: CdnVendor.CLOUDFLARE,
19
- zoneId: 'REPLACE_WITH_CLOUDFLARE_ZONE_ID',
20
- // env-var NAME holding the API token (Zone→Rulesets→Edit), NEVER the token value
21
- apiTokenEnvVar: 'CLOUDFLARE_API_TOKEN',
22
- },
23
- },
24
- };
25
- /** @wildo_source:part:end example.infra.cdn.cloudflare */
26
- /** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */
27
- // GENERIC vendor — no live vendor call. `wildo frontend publish` uploads the
28
- // dist + writes a portable `_headers` CSP file; the operator points their own
29
- // CDN (Cloudflare Pages / Netlify / Vercel / a hand-wired distribution) at the
30
- // bucket. Use when the edge is managed out-of-band.
31
- export const exampleGenericCdnConfig = {
32
- docs: {
33
- enabled: true,
34
- vendor: { kind: CdnVendor.GENERIC },
35
- },
36
- };
37
- /** @wildo_source:part:end example.infra.cdn.generic */
38
- //# sourceMappingURL=cdn.example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cdn.example.js","sourceRoot":"","sources":["../../../../../src/project-config/shared/cdn.example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,eAAe,CAAC;AAEpE;;;;;GAKG;AAEH,kHAAkH;AAClH,6EAA6E;AAC7E,+EAA+E;AAC/E,wEAAwE;AACxE,MAAM,CAAC,MAAM,0BAA0B,GAAwC;IAC7E,mEAAmE;IACnE,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,kBAAkB,EAAE,uDAAuD;QACnF,MAAM,EAAE;YACN,IAAI,EAAE,SAAS,CAAC,UAAU;YAC1B,MAAM,EAAE,iCAAiC;YACzC,iFAAiF;YACjF,cAAc,EAAE,sBAAsB;SACvC;KACF;CACF,CAAC;AACF,0DAA0D;AAE1D,+GAA+G;AAC/G,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,oDAAoD;AACpD,MAAM,CAAC,MAAM,uBAAuB,GAAwC;IAC1E,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;KACpC;CACF,CAAC;AACF,uDAAuD","sourcesContent":["import { CdnVendor, type WildoCdnConfigInput } from './cdn.schemas';\n\n/**\n * Illustrative `cdn` authoring samples (Tier B) — anchored for the\n * `frontend-cdn-publish` skill. Typed against `WildoCdnConfigInput` so the\n * examples cannot drift from the real schema. Not runtime code; they exist to\n * be extracted into the compiled app-knowledge.\n */\n\n/** @wildo_source:part:start example.infra.cdn.cloudflare facet:kind:usage-example facet:audience:app-developer */\n// In a REMOTE env's wildo.infra.<env>.config.ts (e.g. production), under the\n// top-level `cdn` key. Cloudflare = the live adapter: `wildo frontend publish`\n// uploads the dist to S3 AND installs the CSP edge ruleset on the zone.\nexport const exampleCloudflareCdnConfig: Record<string, WildoCdnConfigInput> = {\n // Serve the marketing website from a CDN instead of its nginx pod.\n website: {\n enabled: true,\n bucket: 'yourapp-web-prod', // public-read S3 bucket — the operator sets the policy\n vendor: {\n kind: CdnVendor.CLOUDFLARE,\n zoneId: 'REPLACE_WITH_CLOUDFLARE_ZONE_ID',\n // env-var NAME holding the API token (Zone→Rulesets→Edit), NEVER the token value\n apiTokenEnvVar: 'CLOUDFLARE_API_TOKEN',\n },\n },\n};\n/** @wildo_source:part:end example.infra.cdn.cloudflare */\n\n/** @wildo_source:part:start example.infra.cdn.generic facet:kind:usage-example facet:audience:app-developer */\n// GENERIC vendor — no live vendor call. `wildo frontend publish` uploads the\n// dist + writes a portable `_headers` CSP file; the operator points their own\n// CDN (Cloudflare Pages / Netlify / Vercel / a hand-wired distribution) at the\n// bucket. Use when the edge is managed out-of-band.\nexport const exampleGenericCdnConfig: Record<string, WildoCdnConfigInput> = {\n docs: {\n enabled: true,\n vendor: { kind: CdnVendor.GENERIC },\n },\n};\n/** @wildo_source:part:end example.infra.cdn.generic */\n"]}
@@ -1,15 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * Semver-string schema for the `version` field on
4
- * `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.
5
- *
6
- * Always `.optional()` at the call site — see the `@unimplemented` D-5
7
- * JSDoc on each schema field for the warner contract (silence when
8
- * unauthored, loud warn when explicit).
9
- *
10
- * The error message names the format and shows a canonical example so
11
- * authors who hit it can fix their config without grepping for the
12
- * regex source.
13
- */
14
- export declare const WildoSchemaVersionSchema: z.ZodString;
15
- //# sourceMappingURL=schema-version.schemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-version.schemas.d.ts","sourceRoot":"","sources":["../../../../src/project-config/shared/schema-version.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,aAGpC,CAAC"}
@@ -1,40 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * Canonical SemVer 2.0.0 regex from https://semver.org (the "official"
4
- * suggested regex; identical to the snippet published in the
5
- * `Is there a suggested regular expression (RegEx) to check a SemVer string?`
6
- * FAQ entry).
7
- *
8
- * Captures `MAJOR.MINOR.PATCH` plus optional `-prerelease` and
9
- * `+buildmetadata` segments. Used as the strict shape for the
10
- * `WildoSaasConfig.version` and `WildoInfraEnvConfig.version` fields
11
- * (Slice 3.5; backlog **D-5** for the migration tooling that will
12
- * actually consume the value).
13
- *
14
- * Strictness rationale:
15
- * - We could accept `'1'` or `'1.0'` to be lenient, but the field is
16
- * a forward-compatibility reservation — when the migration tooling
17
- * ships under D-5 it MUST be able to compare two versions
18
- * deterministically. Accepting partial semver shapes today would
19
- * create migration ambiguity later (`'1'` vs `'1.0.0'` — same? newer?
20
- * older?). Strict from day one keeps the contract honest.
21
- * - Pre-release / build-metadata are accepted because they are part of
22
- * the SemVer 2.0.0 spec; if migration tooling ever needs to reject
23
- * them it can layer a stricter check on top without re-shaping the
24
- * schema.
25
- */
26
- const SEMVER_PATTERN = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
27
- /**
28
- * Semver-string schema for the `version` field on
29
- * `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.
30
- *
31
- * Always `.optional()` at the call site — see the `@unimplemented` D-5
32
- * JSDoc on each schema field for the warner contract (silence when
33
- * unauthored, loud warn when explicit).
34
- *
35
- * The error message names the format and shows a canonical example so
36
- * authors who hit it can fix their config without grepping for the
37
- * regex source.
38
- */
39
- export const WildoSchemaVersionSchema = z.string().regex(SEMVER_PATTERN, 'must be a SemVer 2.0.0 string (e.g. "1.0.0", "2.3.1-rc.1", "1.0.0+build.42")');
40
- //# sourceMappingURL=schema-version.schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-version.schemas.js","sourceRoot":"","sources":["../../../../../src/project-config/shared/schema-version.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc,GAAG,qLAAqL,CAAC;AAE7M;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CACtD,cAAc,EACd,8EAA8E,CAC/E,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Canonical SemVer 2.0.0 regex from https://semver.org (the \"official\"\n * suggested regex; identical to the snippet published in the\n * `Is there a suggested regular expression (RegEx) to check a SemVer string?`\n * FAQ entry).\n *\n * Captures `MAJOR.MINOR.PATCH` plus optional `-prerelease` and\n * `+buildmetadata` segments. Used as the strict shape for the\n * `WildoSaasConfig.version` and `WildoInfraEnvConfig.version` fields\n * (Slice 3.5; backlog **D-5** for the migration tooling that will\n * actually consume the value).\n *\n * Strictness rationale:\n * - We could accept `'1'` or `'1.0'` to be lenient, but the field is\n * a forward-compatibility reservation — when the migration tooling\n * ships under D-5 it MUST be able to compare two versions\n * deterministically. Accepting partial semver shapes today would\n * create migration ambiguity later (`'1'` vs `'1.0.0'` — same? newer?\n * older?). Strict from day one keeps the contract honest.\n * - Pre-release / build-metadata are accepted because they are part of\n * the SemVer 2.0.0 spec; if migration tooling ever needs to reject\n * them it can layer a stricter check on top without re-shaping the\n * schema.\n */\nconst SEMVER_PATTERN = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Semver-string schema for the `version` field on\n * `WildoSaasConfigSchema` and `WildoInfraEnvConfigInputSchema`.\n *\n * Always `.optional()` at the call site — see the `@unimplemented` D-5\n * JSDoc on each schema field for the warner contract (silence when\n * unauthored, loud warn when explicit).\n *\n * The error message names the format and shows a canonical example so\n * authors who hit it can fix their config without grepping for the\n * regex source.\n */\nexport const WildoSchemaVersionSchema = z.string().regex(\n SEMVER_PATTERN,\n 'must be a SemVer 2.0.0 string (e.g. \"1.0.0\", \"2.3.1-rc.1\", \"1.0.0+build.42\")',\n);\n"]}