@wildo-ai/platform-config-lib 1.0.1 → 1.1.1

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 (414) hide show
  1. package/LICENSE +34 -0
  2. package/dist/esm/.builder.pid +9 -0
  3. package/dist/esm/_unimplemented/index.d.ts +3 -0
  4. package/dist/esm/_unimplemented/index.d.ts.map +1 -0
  5. package/dist/esm/_unimplemented/index.js +3 -0
  6. package/dist/esm/_unimplemented/index.js.map +1 -0
  7. package/dist/esm/_unimplemented/soft-warn.d.ts +124 -0
  8. package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -0
  9. package/dist/esm/_unimplemented/soft-warn.js +170 -0
  10. package/dist/esm/_unimplemented/soft-warn.js.map +1 -0
  11. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +137 -0
  12. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +1 -0
  13. package/dist/esm/_unimplemented/unimplemented-field-warning.js +153 -0
  14. package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +1 -0
  15. package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
  16. package/dist/esm/bootstrap/application-backend-env.contracts.js +1 -1
  17. package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
  18. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts +13 -0
  19. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -0
  20. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js +14 -0
  21. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -0
  22. package/dist/esm/bootstrap/bootstrap-planner.d.ts +1 -1
  23. package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
  24. package/dist/esm/bootstrap/bootstrap-planner.js +1 -1
  25. package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
  26. package/dist/esm/bootstrap/bootstrap.contracts.d.ts +141 -37
  27. package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
  28. package/dist/esm/bootstrap/bootstrap.contracts.js +104 -18
  29. package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
  30. package/dist/esm/bootstrap/bootstrap.schemas.d.ts +430 -421
  31. package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
  32. package/dist/esm/bootstrap/bootstrap.schemas.js +383 -21
  33. package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
  34. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +213 -8
  35. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  36. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +230 -5
  37. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  38. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +79 -0
  39. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -0
  40. package/dist/esm/bootstrap/runtime-backing-service-access.js +83 -0
  41. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -0
  42. package/dist/esm/bootstrap/runtime-network-policy.d.ts +63 -0
  43. package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -0
  44. package/dist/esm/bootstrap/runtime-network-policy.js +104 -0
  45. package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -0
  46. package/dist/esm/bootstrap/runtime-network-topology.d.ts +78 -0
  47. package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -0
  48. package/dist/esm/bootstrap/runtime-network-topology.js +134 -0
  49. package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -0
  50. package/dist/esm/bootstrap/runtime-platform-access.d.ts +67 -0
  51. package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -0
  52. package/dist/esm/bootstrap/runtime-platform-access.js +57 -0
  53. package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -0
  54. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +173 -0
  55. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -0
  56. package/dist/esm/bootstrap/runtime-principal.contracts.js +218 -0
  57. package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -0
  58. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts +112 -1
  59. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
  60. package/dist/esm/bootstrap/runtime-topology.contracts.js +141 -8
  61. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  62. package/dist/esm/config-authoring.entry.d.ts +3 -0
  63. package/dist/esm/config-authoring.entry.d.ts.map +1 -0
  64. package/dist/esm/config-authoring.entry.js +5 -0
  65. package/dist/esm/config-authoring.entry.js.map +1 -0
  66. package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
  67. package/dist/esm/credentials/credential-generator.service.js +1 -1
  68. package/dist/esm/credentials/credential-generator.service.js.map +1 -1
  69. package/dist/esm/index.d.ts +30 -15
  70. package/dist/esm/index.d.ts.map +1 -1
  71. package/dist/esm/index.js +16 -1
  72. package/dist/esm/index.js.map +1 -1
  73. package/dist/esm/lockfile/canonical-json.d.ts +41 -0
  74. package/dist/esm/lockfile/canonical-json.d.ts.map +1 -0
  75. package/dist/esm/lockfile/canonical-json.js +56 -0
  76. package/dist/esm/lockfile/canonical-json.js.map +1 -0
  77. package/dist/esm/lockfile/lockfile-io.d.ts +231 -0
  78. package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -0
  79. package/dist/esm/lockfile/lockfile-io.js +303 -0
  80. package/dist/esm/lockfile/lockfile-io.js.map +1 -0
  81. package/dist/esm/lockfile/materialize-infra-section.d.ts +99 -0
  82. package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -0
  83. package/dist/esm/lockfile/materialize-infra-section.js +153 -0
  84. package/dist/esm/lockfile/materialize-infra-section.js.map +1 -0
  85. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +522 -0
  86. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -0
  87. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +116 -0
  88. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -0
  89. package/dist/esm/project-config/define-framework-config.d.ts +36 -10
  90. package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
  91. package/dist/esm/project-config/define-framework-config.js +67 -3
  92. package/dist/esm/project-config/define-framework-config.js.map +1 -1
  93. package/dist/esm/project-config/define-infra-env-config.d.ts +570 -0
  94. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -0
  95. package/dist/esm/project-config/define-infra-env-config.js +726 -0
  96. package/dist/esm/project-config/define-infra-env-config.js.map +1 -0
  97. package/dist/esm/project-config/define-minion-config.d.ts +221 -23
  98. package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
  99. package/dist/esm/project-config/define-minion-config.js +228 -11
  100. package/dist/esm/project-config/define-minion-config.js.map +1 -1
  101. package/dist/esm/project-config/define-saas-config.d.ts +427 -218
  102. package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
  103. package/dist/esm/project-config/define-saas-config.js +704 -75
  104. package/dist/esm/project-config/define-saas-config.js.map +1 -1
  105. package/dist/esm/project-config/define-worker-config.d.ts +106 -10
  106. package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
  107. package/dist/esm/project-config/define-worker-config.js +99 -9
  108. package/dist/esm/project-config/define-worker-config.js.map +1 -1
  109. package/dist/esm/project-config/index.d.ts +28 -21
  110. package/dist/esm/project-config/index.d.ts.map +1 -1
  111. package/dist/esm/project-config/index.js +14 -7
  112. package/dist/esm/project-config/index.js.map +1 -1
  113. package/dist/esm/project-config/loader.d.ts +120 -10
  114. package/dist/esm/project-config/loader.d.ts.map +1 -1
  115. package/dist/esm/project-config/loader.js +290 -38
  116. package/dist/esm/project-config/loader.js.map +1 -1
  117. package/dist/esm/project-config/minion-local-provider-registration.d.ts +69 -0
  118. package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -0
  119. package/dist/esm/project-config/minion-local-provider-registration.js +72 -0
  120. package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -0
  121. package/dist/esm/project-config/provider-catalog-types.d.ts +12 -0
  122. package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -0
  123. package/dist/esm/project-config/provider-catalog-types.js +49 -0
  124. package/dist/esm/project-config/provider-catalog-types.js.map +1 -0
  125. package/dist/esm/project-config/provider-companion-discovery.d.ts +24 -0
  126. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -0
  127. package/dist/esm/project-config/provider-companion-discovery.js +244 -0
  128. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -0
  129. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +297 -0
  130. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -0
  131. package/dist/esm/project-config/provider-runtime-artifacts.js +860 -0
  132. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -0
  133. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +18 -0
  134. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -0
  135. package/dist/esm/project-config/shared/application-creation-verification.schemas.js +25 -0
  136. package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -0
  137. package/dist/esm/project-config/shared/application-modules.schemas.d.ts +10 -2
  138. package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
  139. package/dist/esm/project-config/shared/application-modules.schemas.js +12 -1
  140. package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
  141. package/dist/esm/project-config/shared/application-modules.utils.d.ts +2 -1
  142. package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
  143. package/dist/esm/project-config/shared/application-modules.utils.js +6 -1
  144. package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
  145. package/dist/esm/project-config/shared/auth.schemas.d.ts +102 -0
  146. package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -0
  147. package/dist/esm/project-config/shared/auth.schemas.js +100 -0
  148. package/dist/esm/project-config/shared/auth.schemas.js.map +1 -0
  149. package/dist/esm/project-config/shared/backing-services.schemas.d.ts +316 -39
  150. package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
  151. package/dist/esm/project-config/shared/backing-services.schemas.js +359 -24
  152. package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
  153. package/dist/esm/project-config/shared/cdn.example.d.ts +14 -0
  154. package/dist/esm/project-config/shared/cdn.example.d.ts.map +1 -0
  155. package/dist/esm/project-config/shared/cdn.example.js +38 -0
  156. package/dist/esm/project-config/shared/cdn.example.js.map +1 -0
  157. package/dist/esm/project-config/shared/cdn.schemas.d.ts +182 -0
  158. package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -0
  159. package/dist/esm/project-config/shared/cdn.schemas.js +151 -0
  160. package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -0
  161. package/dist/esm/project-config/shared/csp-defaults.d.ts +92 -0
  162. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -0
  163. package/dist/esm/project-config/shared/csp-defaults.js +195 -0
  164. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -0
  165. package/dist/esm/project-config/shared/csp-emit.d.ts +106 -0
  166. package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -0
  167. package/dist/esm/project-config/shared/csp-emit.js +305 -0
  168. package/dist/esm/project-config/shared/csp-emit.js.map +1 -0
  169. package/dist/esm/project-config/shared/csp.schemas.d.ts +266 -0
  170. package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -0
  171. package/dist/esm/project-config/shared/csp.schemas.js +281 -0
  172. package/dist/esm/project-config/shared/csp.schemas.js.map +1 -0
  173. package/dist/esm/project-config/shared/data-services.schemas.d.ts +45 -9
  174. package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
  175. package/dist/esm/project-config/shared/data-services.schemas.js +45 -9
  176. package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
  177. package/dist/esm/project-config/shared/env-example-defaults.d.ts +0 -1
  178. package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
  179. package/dist/esm/project-config/shared/env-example-defaults.js +1 -2
  180. package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
  181. package/dist/esm/project-config/shared/environment.schemas.d.ts +134 -8
  182. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  183. package/dist/esm/project-config/shared/environment.schemas.js +185 -2
  184. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  185. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +779 -0
  186. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -0
  187. package/dist/esm/project-config/shared/infra-providers.schemas.js +210 -0
  188. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -0
  189. package/dist/esm/project-config/shared/infra-service.schemas.d.ts +18 -0
  190. package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -0
  191. package/dist/esm/project-config/shared/infra-service.schemas.js +16 -0
  192. package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -0
  193. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +83 -1
  194. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
  195. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +99 -2
  196. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
  197. package/dist/esm/project-config/shared/k8s-utils.d.ts +51 -7
  198. package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
  199. package/dist/esm/project-config/shared/k8s-utils.js +59 -12
  200. package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
  201. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts +31 -0
  202. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -0
  203. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js +32 -0
  204. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -0
  205. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +142 -0
  206. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -0
  207. package/dist/esm/project-config/shared/minion-resource-access.validation.js +159 -0
  208. package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -0
  209. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts +100 -0
  210. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -0
  211. package/dist/esm/project-config/shared/object-storage-session-policy.js +130 -0
  212. package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -0
  213. package/dist/esm/project-config/shared/platform-services.schemas.d.ts +9 -14
  214. package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
  215. package/dist/esm/project-config/shared/platform-services.schemas.js +13 -9
  216. package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
  217. package/dist/esm/project-config/shared/schema-version.schemas.d.ts +15 -0
  218. package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +1 -0
  219. package/dist/esm/project-config/shared/schema-version.schemas.js +40 -0
  220. package/dist/esm/project-config/shared/schema-version.schemas.js.map +1 -0
  221. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +283 -8
  222. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
  223. package/dist/esm/project-config/shared/service-definitions.schemas.js +325 -8
  224. package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
  225. package/dist/esm/registry/artifact-domain.schemas.d.ts +54 -0
  226. package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -0
  227. package/dist/esm/registry/artifact-domain.schemas.js +40 -0
  228. package/dist/esm/registry/artifact-domain.schemas.js.map +1 -0
  229. package/dist/esm/registry/companion-api.schemas.d.ts +176 -0
  230. package/dist/esm/registry/companion-api.schemas.d.ts.map +1 -0
  231. package/dist/esm/registry/companion-api.schemas.js +165 -0
  232. package/dist/esm/registry/companion-api.schemas.js.map +1 -0
  233. package/dist/esm/registry/digest.schemas.d.ts +20 -0
  234. package/dist/esm/registry/digest.schemas.d.ts.map +1 -0
  235. package/dist/esm/registry/digest.schemas.js +21 -0
  236. package/dist/esm/registry/digest.schemas.js.map +1 -0
  237. package/dist/esm/registry/index.d.ts +33 -0
  238. package/dist/esm/registry/index.d.ts.map +1 -0
  239. package/dist/esm/registry/index.js +33 -0
  240. package/dist/esm/registry/index.js.map +1 -0
  241. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +107 -0
  242. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -0
  243. package/dist/esm/registry/lockfile-modules-section.schemas.js +67 -0
  244. package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -0
  245. package/dist/esm/registry/module-artifact.schemas.d.ts +94 -0
  246. package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -0
  247. package/dist/esm/registry/module-artifact.schemas.js +69 -0
  248. package/dist/esm/registry/module-artifact.schemas.js.map +1 -0
  249. package/dist/esm/registry/module-manifest.schemas.d.ts +134 -0
  250. package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -0
  251. package/dist/esm/registry/module-manifest.schemas.js +155 -0
  252. package/dist/esm/registry/module-manifest.schemas.js.map +1 -0
  253. package/dist/esm/registry/registry-config.schemas.d.ts +31 -0
  254. package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -0
  255. package/dist/esm/registry/registry-config.schemas.js +24 -0
  256. package/dist/esm/registry/registry-config.schemas.js.map +1 -0
  257. package/dist/esm/registry/registry-defaults.constants.d.ts +37 -0
  258. package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -0
  259. package/dist/esm/registry/registry-defaults.constants.js +37 -0
  260. package/dist/esm/registry/registry-defaults.constants.js.map +1 -0
  261. package/dist/esm/registry/registry-errors.d.ts +109 -0
  262. package/dist/esm/registry/registry-errors.d.ts.map +1 -0
  263. package/dist/esm/registry/registry-errors.js +185 -0
  264. package/dist/esm/registry/registry-errors.js.map +1 -0
  265. package/dist/esm/registry/registry-section-schemas.constants.d.ts +39 -0
  266. package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -0
  267. package/dist/esm/registry/registry-section-schemas.constants.js +22 -0
  268. package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -0
  269. package/dist/esm/release/framework-release.constants.d.ts +26 -1
  270. package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
  271. package/dist/esm/release/framework-release.constants.js +27 -2
  272. package/dist/esm/release/framework-release.constants.js.map +1 -1
  273. package/dist/esm/schemas/framework-info.schemas.d.ts +1 -1
  274. package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
  275. package/dist/esm/schemas/framework-info.schemas.js +1 -1
  276. package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
  277. package/dist/esm/schemas/framework-secrets.schemas.d.ts +5 -5
  278. package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
  279. package/dist/esm/schemas/framework-secrets.schemas.js +1 -1
  280. package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
  281. package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
  282. package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
  283. package/dist/esm/schemas/platform-application-config.schemas.js +11 -2
  284. package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
  285. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +7 -7
  286. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
  287. package/dist/esm/schemas/platform-application-secrets.schemas.js +17 -2
  288. package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
  289. package/dist/esm/schemas/platform-config.schemas.d.ts +12 -13
  290. package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
  291. package/dist/esm/schemas/platform-config.schemas.js +15 -3
  292. package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
  293. package/dist/esm/workspace-scope/application-subject-manifest.d.ts +26 -0
  294. package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -0
  295. package/dist/esm/workspace-scope/application-subject-manifest.js +43 -0
  296. package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -0
  297. package/dist/esm/workspace-scope/index.d.ts +5 -2
  298. package/dist/esm/workspace-scope/index.d.ts.map +1 -1
  299. package/dist/esm/workspace-scope/index.js +4 -1
  300. package/dist/esm/workspace-scope/index.js.map +1 -1
  301. package/dist/esm/workspace-scope/resolve-homes.d.ts +20 -0
  302. package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -0
  303. package/dist/esm/workspace-scope/resolve-homes.js +62 -0
  304. package/dist/esm/workspace-scope/resolve-homes.js.map +1 -0
  305. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts +211 -0
  306. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -0
  307. package/dist/esm/workspace-scope/workspace-homes.schemas.js +113 -0
  308. package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -0
  309. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts +10 -5
  310. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
  311. package/dist/esm/workspace-scope/workspace-scope-detector.js +22 -36
  312. package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
  313. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts +147 -58
  314. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
  315. package/dist/esm/workspace-scope/workspace-scope.schemas.js +174 -78
  316. package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
  317. package/dist/tsconfig.build.tsbuildinfo +1 -1
  318. package/package.json +31 -17
  319. package/dist/esm/credentials/credentials-provisioner.service.d.ts +0 -190
  320. package/dist/esm/credentials/credentials-provisioner.service.d.ts.map +0 -1
  321. package/dist/esm/credentials/credentials-provisioner.service.js +0 -278
  322. package/dist/esm/credentials/credentials-provisioner.service.js.map +0 -1
  323. package/dist/esm/infra-managers/infra-manager.models.d.ts +0 -146
  324. package/dist/esm/infra-managers/infra-manager.models.d.ts.map +0 -1
  325. package/dist/esm/infra-managers/infra-manager.models.js +0 -2
  326. package/dist/esm/infra-managers/infra-manager.models.js.map +0 -1
  327. package/dist/esm/infra-managers/mongo-atlas-manager.service.d.ts +0 -64
  328. package/dist/esm/infra-managers/mongo-atlas-manager.service.d.ts.map +0 -1
  329. package/dist/esm/infra-managers/mongo-atlas-manager.service.js +0 -307
  330. package/dist/esm/infra-managers/mongo-atlas-manager.service.js.map +0 -1
  331. package/dist/esm/infra-managers/postgresql-manager.service.d.ts +0 -115
  332. package/dist/esm/infra-managers/postgresql-manager.service.d.ts.map +0 -1
  333. package/dist/esm/infra-managers/postgresql-manager.service.js +0 -403
  334. package/dist/esm/infra-managers/postgresql-manager.service.js.map +0 -1
  335. package/dist/esm/infra-managers/rabbitmq-manager.service.d.ts +0 -64
  336. package/dist/esm/infra-managers/rabbitmq-manager.service.d.ts.map +0 -1
  337. package/dist/esm/infra-managers/rabbitmq-manager.service.js +0 -288
  338. package/dist/esm/infra-managers/rabbitmq-manager.service.js.map +0 -1
  339. package/dist/esm/infra-managers/redis-manager.service.d.ts +0 -78
  340. package/dist/esm/infra-managers/redis-manager.service.d.ts.map +0 -1
  341. package/dist/esm/infra-managers/redis-manager.service.js +0 -326
  342. package/dist/esm/infra-managers/redis-manager.service.js.map +0 -1
  343. package/dist/esm/project-config/define-infra-config.d.ts +0 -128
  344. package/dist/esm/project-config/define-infra-config.d.ts.map +0 -1
  345. package/dist/esm/project-config/define-infra-config.js +0 -87
  346. package/dist/esm/project-config/define-infra-config.js.map +0 -1
  347. package/dist/esm/project-config/define-platform-config.d.ts +0 -65
  348. package/dist/esm/project-config/define-platform-config.d.ts.map +0 -1
  349. package/dist/esm/project-config/define-platform-config.js +0 -22
  350. package/dist/esm/project-config/define-platform-config.js.map +0 -1
  351. package/dist/esm/project-config/define-platform-env-config.d.ts +0 -41
  352. package/dist/esm/project-config/define-platform-env-config.d.ts.map +0 -1
  353. package/dist/esm/project-config/define-platform-env-config.js +0 -45
  354. package/dist/esm/project-config/define-platform-env-config.js.map +0 -1
  355. package/dist/esm/project-config/define-project-config.d.ts +0 -38
  356. package/dist/esm/project-config/define-project-config.d.ts.map +0 -1
  357. package/dist/esm/project-config/define-project-config.js +0 -57
  358. package/dist/esm/project-config/define-project-config.js.map +0 -1
  359. package/dist/esm/project-config/define-sharing-policy.d.ts +0 -35
  360. package/dist/esm/project-config/define-sharing-policy.d.ts.map +0 -1
  361. package/dist/esm/project-config/define-sharing-policy.js +0 -30
  362. package/dist/esm/project-config/define-sharing-policy.js.map +0 -1
  363. package/dist/esm/project-config/sharing-policy-validation.d.ts +0 -40
  364. package/dist/esm/project-config/sharing-policy-validation.d.ts.map +0 -1
  365. package/dist/esm/project-config/sharing-policy-validation.js +0 -143
  366. package/dist/esm/project-config/sharing-policy-validation.js.map +0 -1
  367. package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.d.ts +0 -23
  368. package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.d.ts.map +0 -1
  369. package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.js +0 -13
  370. package/dist/esm/runtime-bridge/platform-runtime-bridge.contracts.js.map +0 -1
  371. package/src/bootstrap/application-backend-env.contracts.ts +0 -17
  372. package/src/bootstrap/bootstrap-planner.ts +0 -46
  373. package/src/bootstrap/bootstrap.contracts.ts +0 -251
  374. package/src/bootstrap/bootstrap.schemas.ts +0 -164
  375. package/src/bootstrap/platform-runtime-env.contracts.ts +0 -99
  376. package/src/bootstrap/runtime-topology.contracts.ts +0 -102
  377. package/src/credentials/credential-generator.service.ts +0 -39
  378. package/src/index.ts +0 -16
  379. package/src/project-config/__tests__/application-modules.utils.test.ts +0 -53
  380. package/src/project-config/__tests__/define-framework-config.test.ts +0 -43
  381. package/src/project-config/__tests__/define-saas-config.test.ts +0 -210
  382. package/src/project-config/__tests__/loader.test.ts +0 -100
  383. package/src/project-config/define-framework-config.ts +0 -44
  384. package/src/project-config/define-infra-config.ts +0 -168
  385. package/src/project-config/define-minion-config.ts +0 -27
  386. package/src/project-config/define-platform-config.ts +0 -28
  387. package/src/project-config/define-platform-env-config.ts +0 -59
  388. package/src/project-config/define-project-config.ts +0 -63
  389. package/src/project-config/define-saas-config.ts +0 -171
  390. package/src/project-config/define-sharing-policy.ts +0 -36
  391. package/src/project-config/define-worker-config.ts +0 -27
  392. package/src/project-config/index.ts +0 -23
  393. package/src/project-config/loader.ts +0 -220
  394. package/src/project-config/shared/application-modules.schemas.ts +0 -12
  395. package/src/project-config/shared/application-modules.utils.ts +0 -65
  396. package/src/project-config/shared/backing-services.schemas.ts +0 -59
  397. package/src/project-config/shared/data-services.schemas.ts +0 -58
  398. package/src/project-config/shared/env-example-defaults.ts +0 -50
  399. package/src/project-config/shared/environment.schemas.ts +0 -136
  400. package/src/project-config/shared/infrastructure-defaults.schemas.ts +0 -47
  401. package/src/project-config/shared/k8s-utils.ts +0 -56
  402. package/src/project-config/shared/platform-services.schemas.ts +0 -33
  403. package/src/project-config/shared/service-definitions.schemas.ts +0 -38
  404. package/src/project-config/sharing-policy-validation.ts +0 -159
  405. package/src/release/framework-release.constants.ts +0 -2
  406. package/src/schemas/__tests__/platform-config.schemas.test.ts +0 -90
  407. package/src/schemas/framework-info.schemas.ts +0 -13
  408. package/src/schemas/framework-secrets.schemas.ts +0 -19
  409. package/src/schemas/platform-application-config.schemas.ts +0 -25
  410. package/src/schemas/platform-application-secrets.schemas.ts +0 -78
  411. package/src/schemas/platform-config.schemas.ts +0 -45
  412. package/src/workspace-scope/index.ts +0 -2
  413. package/src/workspace-scope/workspace-scope-detector.ts +0 -98
  414. package/src/workspace-scope/workspace-scope.schemas.ts +0 -224
@@ -0,0 +1,153 @@
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
@@ -0,0 +1 @@
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 +1 @@
1
- {"version":3,"file":"application-backend-env.contracts.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/application-backend-env.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EACrC,gCAAgC,EAChC,6CAA6C,EAC7C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,6BAA6B,EAC7B,KAAK,wBAAwB,EAC7B,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"application-backend-env.contracts.d.ts","sourceRoot":"","sources":["../../../../src/bootstrap/application-backend-env.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EACrC,gCAAgC,EAChC,6CAA6C,EAC7C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,6BAA6B,EAC7B,KAAK,wBAAwB,EAC7B,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export { APPLICATION_BACKEND_BOOTSTRAP_ENV_KEY_LIST, APPLICATION_BACKEND_DATA_ENV_KEY_LIST, APPLICATION_BACKEND_ENV_KEY_LIST, APPLICATION_BACKEND_PLATFORM_URL_ENV_KEY_LIST, APPLICATION_BACKEND_RUNTIME_ENV_KEY_LIST, APPLICATION_BACKEND_SENSITIVE_ENV_KEYS, ApplicationBackendBootstrapEnvKey, ApplicationBackendBootstrapEnvKeys, ApplicationBackendDataEnvKey, ApplicationBackendDataEnvKeys, ApplicationBackendPlatformUrlEnvKey, ApplicationBackendPlatformUrlEnvKeys, ApplicationBackendRuntimeEnvKey, ApplicationBackendRuntimeEnvKeys, } from '@wildo-ai/platform-core-shared';
2
- //# sourceMappingURL=application-backend-env.contracts.js.map
2
+ //# sourceMappingURL=application-backend-env.contracts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application-backend-env.contracts.js","sourceRoot":"","sources":["../../../src/bootstrap/application-backend-env.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EACrC,gCAAgC,EAChC,6CAA6C,EAC7C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,6BAA6B,EAE7B,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"application-backend-env.contracts.js","sourceRoot":"","sources":["../../../../src/bootstrap/application-backend-env.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EACrC,gCAAgC,EAChC,6CAA6C,EAC7C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,6BAA6B,EAE7B,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,gCAAgC,CAAC","sourcesContent":["export {\n APPLICATION_BACKEND_BOOTSTRAP_ENV_KEY_LIST,\n APPLICATION_BACKEND_DATA_ENV_KEY_LIST,\n APPLICATION_BACKEND_ENV_KEY_LIST,\n APPLICATION_BACKEND_PLATFORM_URL_ENV_KEY_LIST,\n APPLICATION_BACKEND_RUNTIME_ENV_KEY_LIST,\n APPLICATION_BACKEND_SENSITIVE_ENV_KEYS,\n ApplicationBackendBootstrapEnvKey,\n ApplicationBackendBootstrapEnvKeys,\n ApplicationBackendDataEnvKey,\n ApplicationBackendDataEnvKeys,\n type ApplicationBackendEnvKey,\n ApplicationBackendPlatformUrlEnvKey,\n ApplicationBackendPlatformUrlEnvKeys,\n ApplicationBackendRuntimeEnvKey,\n ApplicationBackendRuntimeEnvKeys,\n} from '@wildo-ai/platform-core-shared';\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated app-root environment contract for application-creation verification.
3
+ *
4
+ * `EVIDENCE_DIRECTORY` and `SILENT` are projections of the authored local infra
5
+ * config. `RUN_ID` is deliberately not authored: the operator supervisor mints
6
+ * it for one execution and passes it only to the child process.
7
+ */
8
+ export declare enum ApplicationCreationVerificationEnvKey {
9
+ EVIDENCE_DIRECTORY = "WILDO_APPLICATION_CREATION_EVIDENCE_DIR",
10
+ SILENT = "WILDO_APPLICATION_CREATION_EVIDENCE_SILENT",
11
+ RUN_ID = "WILDO_APPLICATION_CREATION_EVIDENCE_RUN_ID"
12
+ }
13
+ //# sourceMappingURL=application-creation-verification-env.contracts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-creation-verification-env.contracts.d.ts","sourceRoot":"","sources":["../../../../src/bootstrap/application-creation-verification-env.contracts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,qCAAqC;IAC/C,kBAAkB,4CAA4C;IAC9D,MAAM,+CAA+C;IACrD,MAAM,+CAA+C;CACtD"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated app-root environment contract for application-creation verification.
3
+ *
4
+ * `EVIDENCE_DIRECTORY` and `SILENT` are projections of the authored local infra
5
+ * config. `RUN_ID` is deliberately not authored: the operator supervisor mints
6
+ * it for one execution and passes it only to the child process.
7
+ */
8
+ export var ApplicationCreationVerificationEnvKey;
9
+ (function (ApplicationCreationVerificationEnvKey) {
10
+ ApplicationCreationVerificationEnvKey["EVIDENCE_DIRECTORY"] = "WILDO_APPLICATION_CREATION_EVIDENCE_DIR";
11
+ ApplicationCreationVerificationEnvKey["SILENT"] = "WILDO_APPLICATION_CREATION_EVIDENCE_SILENT";
12
+ ApplicationCreationVerificationEnvKey["RUN_ID"] = "WILDO_APPLICATION_CREATION_EVIDENCE_RUN_ID";
13
+ })(ApplicationCreationVerificationEnvKey || (ApplicationCreationVerificationEnvKey = {}));
14
+ //# sourceMappingURL=application-creation-verification-env.contracts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-creation-verification-env.contracts.js","sourceRoot":"","sources":["../../../../src/bootstrap/application-creation-verification-env.contracts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,qCAIX;AAJD,WAAY,qCAAqC;IAC/C,uGAA8D,CAAA;IAC9D,8FAAqD,CAAA;IACrD,8FAAqD,CAAA;AACvD,CAAC,EAJW,qCAAqC,KAArC,qCAAqC,QAIhD","sourcesContent":["/**\n * Generated app-root environment contract for application-creation verification.\n *\n * `EVIDENCE_DIRECTORY` and `SILENT` are projections of the authored local infra\n * config. `RUN_ID` is deliberately not authored: the operator supervisor mints\n * it for one execution and passes it only to the child process.\n */\nexport enum ApplicationCreationVerificationEnvKey {\n EVIDENCE_DIRECTORY = 'WILDO_APPLICATION_CREATION_EVIDENCE_DIR',\n SILENT = 'WILDO_APPLICATION_CREATION_EVIDENCE_SILENT',\n RUN_ID = 'WILDO_APPLICATION_CREATION_EVIDENCE_RUN_ID',\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { BootstrapExecutorKind, BootstrapStepId } from './bootstrap.schemas.js';
1
+ import { BootstrapExecutorKind, BootstrapStepId } from './bootstrap.schemas';
2
2
  export interface BootstrapPlanInput {
3
3
  executor: BootstrapExecutorKind;
4
4
  initializePlatform?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-planner.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap-planner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE7E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,qBAAqB,CAAC;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,eAAe,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,GAAG,iBAAiB,EAAE,CAwBjF"}
1
+ {"version":3,"file":"bootstrap-planner.d.ts","sourceRoot":"","sources":["../../../../src/bootstrap/bootstrap-planner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE7E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,qBAAqB,CAAC;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,eAAe,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,GAAG,iBAAiB,EAAE,CAwBjF"}
@@ -23,4 +23,4 @@ export function buildBootstrapPlan(input) {
23
23
  }
24
24
  return steps;
25
25
  }
26
- //# sourceMappingURL=bootstrap-planner.js.map
26
+ //# sourceMappingURL=bootstrap-planner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-planner.js","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap-planner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgB7E;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAyB;IAC1D,MAAM,KAAK,GAAwB,EAAE,CAAC;IAEtC,IAAI,KAAK,CAAC,kBAAkB,EAAE,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,IAAI,KAAK,CAAC,yBAAy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EAAE,EAAE,eAAe,CAAC,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,IAAI,KAAK,CAAC,wBAAwB,EAAE,CAAC;QACnC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,IAAI,KAAK,CAAC,QAAQ,KAAK,qBAAqB,CAAC,KAAK,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC9E,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["import { BootstrapExecutorKind, BootstrapStepId } from './bootstrap.schemas';\n\nexport interface BootstrapPlanInput {\n executor: BootstrapExecutorKind;\n initializePlatform?: boolean;\n ensureApplication?: boolean;\n fetchBootstrapCredentials?: boolean;\n generateRuntimeArtifacts?: boolean;\n startLocalRuntime?: boolean;\n}\n\nexport interface BootstrapPlanStep {\n id: BootstrapStepId;\n required: boolean;\n}\n\n/**\n * Build a semantic bootstrap plan independent of the concrete executor.\n * Executors (CLI local processes, CI/CD remote jobs, HTTP workflows) can interpret\n * the same ordered steps differently while keeping one shared core behavior.\n */\nexport function buildBootstrapPlan(input: BootstrapPlanInput): BootstrapPlanStep[] {\n const steps: BootstrapPlanStep[] = [];\n\n if (input.initializePlatform) {\n steps.push({ id: BootstrapStepId.INITIALIZE_PLATFORM, required: true });\n }\n\n if (input.ensureApplication) {\n steps.push({ id: BootstrapStepId.ENSURE_APPLICATION, required: true });\n }\n\n if (input.fetchBootstrapCredentials) {\n steps.push({ id: BootstrapStepId.FETCH_BOOTSTRAP_CREDENTIALS, required: true });\n }\n\n if (input.generateRuntimeArtifacts) {\n steps.push({ id: BootstrapStepId.GENERATE_RUNTIME_ARTIFACTS, required: true });\n }\n\n if (input.executor === BootstrapExecutorKind.LOCAL && input.startLocalRuntime) {\n steps.push({ id: BootstrapStepId.START_LOCAL_RUNTIME, required: true });\n }\n\n return steps;\n}\n"]}
@@ -1,8 +1,10 @@
1
1
  import { RuntimeEnvironment } from '@wildo-ai/saas-models';
2
- import type { ApplicationModules } from '../project-config/shared/application-modules.schemas.js';
3
- import type { AppDataServices } from '../project-config/shared/data-services.schemas.js';
4
- import type { CapabilityBindingInput, ExternalProvidersConfigurationsInput } from '../project-config/define-saas-config.js';
5
- import { type AppBootstrapCredentialsResponse, type AppBootstrapFirstAdminSeed, type AdminAppManagedDeclaration, type AdminAppInitializeRequest } from './bootstrap.schemas.js';
2
+ import type { ApplicationModules } from '../project-config/shared/application-modules.schemas';
3
+ import type { AppDataServices } from '../project-config/shared/data-services.schemas';
4
+ import type { AppFrontendType, AppLibraryDefinition, AppServiceDefinition, RuntimeIsolation } from '../project-config/shared/service-definitions.schemas';
5
+ import type { EngineCapabilityActivationInput, MinionPlatformAccessCarried, MinionResourceAccess, ProviderConfigurationsInput, SaasConfigProvidersBlockInput } from '../project-config/define-saas-config';
6
+ import type { WildoWorkerConfig } from '../project-config/define-worker-config';
7
+ import { type AppBootstrapCredentialsResponse, type AppBootstrapFirstAdminSeed, type AdminAppManagedDeclaration, type AppWorkerBootstrapResponse } from './bootstrap.schemas';
6
8
  export interface BuildAppBootstrapCredentialsResponseInput {
7
9
  appSlug: string;
8
10
  environment: RuntimeEnvironment;
@@ -10,53 +12,143 @@ export interface BuildAppBootstrapCredentialsResponseInput {
10
12
  primarySecret: string;
11
13
  appsManagerUrl: string;
12
14
  }
15
+ type ManagedWorkerDeclaration = Pick<WildoWorkerConfig, 'name' | 'displayName' | 'description' | 'runtime' | 'http' | 'auth' | 'replicas' | 'resources' | 'dataAccess'>;
16
+ /**
17
+ * The service-row surface these normalizers actually read, derived from
18
+ * {@link AppServiceDefinition} rather than restated structurally.
19
+ *
20
+ * Restating it by hand is what let `frontendType` widen to `string` and let
21
+ * `isolation` disappear from the contract entirely: the normalizer forwards the
22
+ * whole row to `resolveAppServiceIsolation`, so a row type that omits the
23
+ * authored isolation block describes a normalizer that silently drops it, and a
24
+ * `string` frontendType is a closed vocabulary (`AppFrontendType`) re-opened at
25
+ * a boundary that only ever receives parsed config.
26
+ */
27
+ type NormalizableAppServiceRow = Pick<AppServiceDefinition, 'path' | 'serviceName' | 'defaultPort' | 'frontendType' | 'isolation'>;
13
28
  /**
14
29
  * apps-manager control-plane bootstrap protocol details shared by CLI callers
15
30
  * and apps-manager producers.
16
31
  */
17
32
  export declare const APPS_MANAGER_ADMIN_SECRET_HEADER = "X-Admin-Secret";
18
33
  export declare const APPS_MANAGER_API_PREFIX = "/api/v1";
34
+ /**
35
+ * The apps-manager application-config read path (prefix-qualified) — the route the executable JWT/config
36
+ * initialization postcondition authenticates through. The canonical route for CLI callers — the
37
+ * `ApplicationInitializationVerificationService` (the `wildo local init` postcondition) imports it here so it
38
+ * never pins the route independently. `@wildo-ai/platform-e2e-runner` RE-EXPOSES this exact constant (as
39
+ * `APPS_MANAGER_APPLICATION_CONFIG_PATH`) for the platform e2e scenarios that reach only its barrel — one
40
+ * definition here, no duplicate literal.
41
+ */
42
+ export declare const APPS_MANAGER_APPLICATION_CONFIG_PATH = "/api/v1/apps-to-manager/application-config";
19
43
  export declare function buildAdminInitializeApplicationPath(appSlug: string): string;
20
- export declare function buildAppBootstrapCredentialsPath(appSlug: string, environment: RuntimeEnvironment): string;
44
+ /**
45
+ * Path builder for the managed-declaration reapply endpoint.
46
+ *
47
+ * See `AdminAppReapplyDeclarationRequestSchema` (in `bootstrap.schemas.ts`)
48
+ * for the full contract semantics — what it does and what it deliberately
49
+ * does NOT touch.
50
+ */
51
+ export declare function buildAdminReapplyDeclarationPath(appSlug: string): string;
52
+ /**
53
+ * Stable action identifier reserved for the managed-declaration reapply
54
+ * endpoint. Callers (notably the CI/CD admin rights workstream — Step 8)
55
+ * should use this constant when granting permissions instead of hard-coding
56
+ * the string, so the wiring survives any future identifier rename.
57
+ *
58
+ * The full action-identifier enum lives downstream of this constant and
59
+ * will be introduced when Step 8 lands the permission grid.
60
+ */
61
+ export declare const APPS_REAPPLY_DECLARATION_ACTION_ID = "apps.reapply-declaration";
62
+ /**
63
+ * Query parameter naming WHICH runtime principal's bootstrap credentials to
64
+ * return (Step 1 / F11). Absent ⇒ the application backend, which is both the
65
+ * historical behaviour and the correct default: every existing caller wants the
66
+ * backend, and a caller that forgets to name a principal gets the one identity
67
+ * that certainly exists rather than an error.
68
+ *
69
+ * A query parameter rather than a path segment because the principal key already
70
+ * contains a `:` (`minion:marketingScrapper`), which reads badly in a path and
71
+ * would need double-encoding through the router.
72
+ */
73
+ export declare const APP_BOOTSTRAP_PRINCIPAL_QUERY_PARAM = "principal";
74
+ export declare function buildAppBootstrapCredentialsPath(appSlug: string, environment: RuntimeEnvironment,
75
+ /**
76
+ * A rendered principal key from `buildRuntimePrincipalKey`. Omit for the
77
+ * application backend.
78
+ */
79
+ principalKey?: string): string;
80
+ export declare function buildAppWorkerBootstrapPath(workerName: string): string;
21
81
  /**
22
82
  * Build and validate the shared bootstrap credentials response envelope.
23
83
  * This keeps the response contract identical across apps-manager producers and CLI consumers.
24
84
  */
25
85
  export declare function buildAppBootstrapCredentialsResponse(input: BuildAppBootstrapCredentialsResponseInput): AppBootstrapCredentialsResponse;
26
- /**
27
- * Small shared semantic descriptor for already-loaded app config.
28
- * Filesystem/path-bearing adapter data should stay in the CLI layer.
29
- */
30
- export interface NormalizedProjectAppDescriptor {
31
- appKey: string;
32
- appPath: string;
33
- appType: 'saas';
34
- }
35
- export declare function normalizeProjectApps(input: {
36
- apps: Record<string, {
37
- path: string;
38
- type: 'saas';
39
- }>;
40
- }): NormalizedProjectAppDescriptor[];
86
+ export declare function buildAppWorkerBootstrapResponse(input: {
87
+ appSlug: string;
88
+ workerName: string;
89
+ worker: ManagedWorkerDeclaration;
90
+ publicKey: string;
91
+ rotatedPublicKeys?: Array<{
92
+ kid: string;
93
+ publicKey: string;
94
+ notAfter?: Date;
95
+ }> | undefined;
96
+ }): AppWorkerBootstrapResponse;
41
97
  export interface NormalizedSaasBackendServiceDescriptor {
42
98
  key: string;
43
99
  path: string;
44
100
  serviceName: string;
45
101
  defaultPort?: number | undefined;
102
+ /**
103
+ * Effective container isolation — the authored `services.<key>.isolation`
104
+ * merged with the kind-correct defaults by `resolveAppServiceIsolation`.
105
+ * Consumed by the k8s manifest renderer and the compose app lane, which must
106
+ * never re-derive it. Only the authorable knobs; the security floor is emitted
107
+ * unconditionally and is deliberately not representable here.
108
+ */
109
+ isolation: RuntimeIsolation;
46
110
  }
47
111
  export interface NormalizedSaasFrontendServiceDescriptor {
48
112
  key: string;
49
113
  path: string;
50
114
  serviceName: string;
51
115
  defaultPort?: number | undefined;
52
- frontendType: string;
116
+ frontendType: AppFrontendType;
117
+ /**
118
+ * Effective container isolation — the authored `services.<key>.isolation`
119
+ * merged with the kind-correct defaults by `resolveAppServiceIsolation`.
120
+ * Consumed by the k8s manifest renderer and the compose app lane, which must
121
+ * never re-derive it. Only the authorable knobs; the security floor is emitted
122
+ * unconditionally and is deliberately not representable here.
123
+ */
124
+ isolation: RuntimeIsolation;
53
125
  }
54
126
  export interface NormalizedSaasRuntimeDescriptor {
55
127
  appSlug: string;
56
128
  appDisplayName: string;
57
129
  appDatabaseName?: string | undefined;
130
+ /**
131
+ * Authored `wildo.saas.config.dataServices.redis.keyPrefix`. When defined,
132
+ * threads downstream into the per-app `.env` as `REDIS_KEY_PREFIX` and
133
+ * becomes the canonical app-level Redis key namespace consumed by
134
+ * `RedisService` (Slice 3.6).
135
+ */
136
+ redisKeyPrefix?: string | undefined;
137
+ /**
138
+ * Authored `wildo.saas.config.dataServices.s3.bucketPrefix`. When defined,
139
+ * threads downstream into the per-app `.env` as `STORAGE_BUCKET_PREFIX`
140
+ * and is prepended to every application object key by
141
+ * `WildoManagedStorageProvider` (Slice 3.6). The actual MinIO bucket name
142
+ * remains infra-controlled.
143
+ */
144
+ storageBucketPrefix?: string | undefined;
145
+ requiresJavaBackendBase: boolean;
58
146
  backendServices: NormalizedSaasBackendServiceDescriptor[];
59
147
  frontendServices: NormalizedSaasFrontendServiceDescriptor[];
148
+ libraries: Record<string, AppLibraryDefinition>;
149
+ specifications?: {
150
+ path: string;
151
+ } | undefined;
60
152
  managedDeclaration: AdminAppManagedDeclaration;
61
153
  firstAdminSeed?: AppBootstrapFirstAdminSeed | undefined;
62
154
  declaredModules: NonNullable<ApplicationModules>;
@@ -76,6 +168,7 @@ export declare function normalizeSaasModuleBindings(input: {
76
168
  }): {
77
169
  declaredModules: Record<string, {
78
170
  services: string[];
171
+ haveSamlIntegration?: boolean;
79
172
  }>;
80
173
  moduleIds: string[];
81
174
  moduleIdsByService: {
@@ -88,33 +181,44 @@ export declare function buildAdminAppManagedDeclaration(input: {
88
181
  displayName: string;
89
182
  description?: string | undefined;
90
183
  type: 'saas';
91
- services: Record<string, {
92
- serviceName: string;
93
- frontendType?: string | undefined;
94
- }>;
95
- capabilities?: Record<string, CapabilityBindingInput> | undefined;
96
- externalProvidersConfigurations?: ExternalProvidersConfigurationsInput | undefined;
184
+ services: Record<string, Pick<NormalizableAppServiceRow, 'serviceName' | 'frontendType'>>;
185
+ minions?: Record<string, {
186
+ resourceAccess?: MinionResourceAccess;
187
+ platformAccess?: MinionPlatformAccessCarried;
188
+ mode?: 'always-up' | 'cron';
189
+ schedule?: string;
190
+ }> | undefined;
191
+ workers?: Record<string, ManagedWorkerDeclaration> | undefined;
192
+ engineCapabilities?: Record<string, EngineCapabilityActivationInput> | undefined;
193
+ providers?: SaasConfigProvidersBlockInput | undefined;
194
+ providerConfigurations?: ProviderConfigurationsInput | undefined;
97
195
  }): AdminAppManagedDeclaration;
98
196
  export declare function normalizeSaasRuntimeDescriptor(input: {
99
- projectAppKey?: string | undefined;
100
197
  name: string;
101
198
  slug: string;
102
199
  displayName: string;
103
200
  description?: string | undefined;
104
201
  type: 'saas';
105
- services: Record<string, {
106
- path: string;
107
- serviceName: string;
108
- defaultPort?: number | undefined;
109
- frontendType?: string | undefined;
110
- }>;
111
- capabilities?: Record<string, CapabilityBindingInput> | undefined;
112
- externalProvidersConfigurations?: ExternalProvidersConfigurationsInput | undefined;
202
+ services: Record<string, NormalizableAppServiceRow>;
203
+ minions?: Record<string, {
204
+ resourceAccess?: MinionResourceAccess;
205
+ platformAccess?: MinionPlatformAccessCarried;
206
+ mode?: 'always-up' | 'cron';
207
+ schedule?: string;
208
+ }> | undefined;
209
+ workers?: Record<string, ManagedWorkerDeclaration> | undefined;
210
+ engineCapabilities?: Record<string, EngineCapabilityActivationInput> | undefined;
211
+ providers?: SaasConfigProvidersBlockInput | undefined;
212
+ providerConfigurations?: ProviderConfigurationsInput | undefined;
113
213
  dataServices?: AppDataServices | undefined;
114
214
  modules?: ApplicationModules | undefined;
215
+ libraries?: Record<string, AppLibraryDefinition> | undefined;
216
+ specifications?: {
217
+ path: string;
218
+ } | undefined;
115
219
  bootstrap?: {
116
220
  firstAdmin?: AppBootstrapFirstAdminSeed | undefined;
117
221
  } | undefined;
118
222
  }): NormalizedSaasRuntimeDescriptor;
119
- export type { AdminAppInitializeRequest };
223
+ export {};
120
224
  //# sourceMappingURL=bootstrap.contracts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.contracts.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAK/F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEtF,OAAO,KAAK,EACV,sBAAsB,EACtB,oCAAoC,EACrC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAGL,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,0B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