@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
@@ -1,4 +1,4 @@
1
- import { register } from 'node:module';
1
+ import { registerHooks } from 'node:module';
2
2
  /** The static-asset extensions a TypeScript module graph may import and Node cannot execute. */
3
3
  export const STATIC_ASSET_IMPORT_PATTERN_SOURCE = '\\.(css|scss|less|sass|svg|png|jpe?g|gif|webp|ico|avif|woff2?|eot|ttf|otf)(\\?.*)?$';
4
4
  let staticAssetImportNoopRegistered = false;
@@ -20,30 +20,46 @@ let staticAssetImportNoopRegistered = false;
20
20
  * — two in the dev companion and two in the CLI — each with its own regex; the next asset type
21
21
  * added to one would have loaded in one tool and failed in another. One copy remains by necessity:
22
22
  * the dev companion's introspection subprocess registers a hooks MODULE by path
23
- * (`asset-noop-hooks.ts`), and loader hooks run on their own thread before anything else loads, so
24
- * that module must stay dependency-free. `static-asset-pattern-parity.test.ts` in the companion
25
- * holds its pattern equal to this one.
23
+ * (`asset-noop-hooks.ts`) through `--import`, before any package can be resolved, so that module
24
+ * must stay dependency-free. `static-asset-pattern-parity.test.ts` in the companion holds its
25
+ * pattern equal to this one.
26
+ *
27
+ * ## In-thread (`registerHooks`), never `module.register` — measured, #3208
28
+ *
29
+ * Until 2026-11-03 this registered the hooks with `module.register`, which runs them on a separate
30
+ * loader thread. Once ANY such hook exists, every module resolution and load in the process — not
31
+ * only a stylesheet's — becomes a synchronous round trip to that thread (`makeSyncRequest`). The
32
+ * dev companion calls this before every specifications evaluation and re-imports application
33
+ * packages for the life of the process, so that tax was paid continuously on its HTTP event loop.
34
+ * Profiled on app-creation-test-007 (15 resources, 96 landed build tasks): `makeSyncRequest` was
35
+ * 29 % of the main thread's time across warm re-evaluations and 42 % across the first one, and a
36
+ * child importing the companion's introspection handlers spent 14.2 s of user CPU with the
37
+ * off-thread hook against 8.7 s with the same hook in-thread.
38
+ *
39
+ * `registerHooks` runs the same two synchronous hooks on the calling thread, so a non-asset import
40
+ * pays one regex test and nothing else. Node 26 deprecates `module.register` (DEP0205) in favour of
41
+ * it. The hooks also apply to `require()`, which is the same answer for a CommonJS module that
42
+ * requires a stylesheet.
26
43
  */
27
44
  export function registerStaticAssetImportNoop() {
28
45
  if (staticAssetImportNoopRegistered) {
29
46
  return;
30
47
  }
31
- const hookSource = `
32
- const ASSET_RE = /${STATIC_ASSET_IMPORT_PATTERN_SOURCE}/;
33
- export function resolve(specifier, context, nextResolve) {
34
- if (ASSET_RE.test(specifier)) {
35
- return { shortCircuit: true, url: new URL(specifier, context.parentURL ?? 'file:///').href };
36
- }
37
- return nextResolve(specifier, context);
38
- }
39
- export function load(url, context, nextLoad) {
40
- if (ASSET_RE.test(url)) {
41
- return { shortCircuit: true, format: 'module', source: 'export default "";\\n' };
42
- }
43
- return nextLoad(url, context);
44
- }
45
- `;
46
- register(`data:text/javascript,${encodeURIComponent(hookSource)}`);
48
+ const assetPattern = new RegExp(STATIC_ASSET_IMPORT_PATTERN_SOURCE);
49
+ registerHooks({
50
+ resolve(specifier, context, nextResolve) {
51
+ if (assetPattern.test(specifier)) {
52
+ return { shortCircuit: true, url: new URL(specifier, context.parentURL ?? 'file:///').href };
53
+ }
54
+ return nextResolve(specifier, context);
55
+ },
56
+ load(url, context, nextLoad) {
57
+ if (assetPattern.test(url)) {
58
+ return { shortCircuit: true, format: 'module', source: 'export default "";\n' };
59
+ }
60
+ return nextLoad(url, context);
61
+ },
62
+ });
47
63
  staticAssetImportNoopRegistered = true;
48
64
  }
49
65
  //# sourceMappingURL=static-asset-import-noop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static-asset-import-noop.js","sourceRoot":"","sources":["../../../../src/project-config/static-asset-import-noop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,gGAAgG;AAChG,MAAM,CAAC,MAAM,kCAAkC,GAAG,qFAAqF,CAAC;AAExI,IAAI,+BAA+B,GAAG,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,6BAA6B;IAC3C,IAAI,+BAA+B,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IACD,MAAM,UAAU,GAAG;wBACG,kCAAkC;;;;;;;;;;;;;GAavD,CAAC;IACF,QAAQ,CAAC,wBAAwB,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACnE,+BAA+B,GAAG,IAAI,CAAC;AACzC,CAAC","sourcesContent":["import { register } from 'node:module';\n\n/** The static-asset extensions a TypeScript module graph may import and Node cannot execute. */\nexport const STATIC_ASSET_IMPORT_PATTERN_SOURCE = '\\\\.(css|scss|less|sass|svg|png|jpe?g|gif|webp|ico|avif|woff2?|eot|ttf|otf)(\\\\?.*)?$';\n\nlet staticAssetImportNoopRegistered = false;\n\n/**\n * Make static-asset imports (`.css`, images, fonts) resolve to empty modules for the rest of the\n * process, so a Node-side loader can evaluate an application-authored TypeScript graph that\n * reaches browser code.\n *\n * Why this is needed at all: an application's specifications and website sources import enums\n * from `@wildo-ai/saas-specifications`, whose root transitively reaches frontend component\n * modules that import their stylesheets. Node's ESM loader cannot execute a `.css`, so without\n * this hook an otherwise valid module fails to load solely because a library imports a stylesheet.\n * Static assets carry no meaning for a Node-side reader, so they load as `export default \"\"`.\n *\n * Process-wide, idempotent, and inert for any graph that imports no static asset. It never touches\n * JavaScript or TypeScript resolution.\n *\n * This is the one copy for in-process callers. Four hand-copied versions existed until 2026-09-25\n * — two in the dev companion and two in the CLI — each with its own regex; the next asset type\n * added to one would have loaded in one tool and failed in another. One copy remains by necessity:\n * the dev companion's introspection subprocess registers a hooks MODULE by path\n * (`asset-noop-hooks.ts`), and loader hooks run on their own thread before anything else loads, so\n * that module must stay dependency-free. `static-asset-pattern-parity.test.ts` in the companion\n * holds its pattern equal to this one.\n */\nexport function registerStaticAssetImportNoop(): void {\n if (staticAssetImportNoopRegistered) {\n return;\n }\n const hookSource = `\n const ASSET_RE = /${STATIC_ASSET_IMPORT_PATTERN_SOURCE}/;\n export function resolve(specifier, context, nextResolve) {\n if (ASSET_RE.test(specifier)) {\n return { shortCircuit: true, url: new URL(specifier, context.parentURL ?? 'file:///').href };\n }\n return nextResolve(specifier, context);\n }\n export function load(url, context, nextLoad) {\n if (ASSET_RE.test(url)) {\n return { shortCircuit: true, format: 'module', source: 'export default \"\";\\\\n' };\n }\n return nextLoad(url, context);\n }\n `;\n register(`data:text/javascript,${encodeURIComponent(hookSource)}`);\n staticAssetImportNoopRegistered = true;\n}\n"]}
1
+ {"version":3,"file":"static-asset-import-noop.js","sourceRoot":"","sources":["../../../src/project-config/static-asset-import-noop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,gGAAgG;AAChG,MAAM,CAAC,MAAM,kCAAkC,GAAG,qFAAqF,CAAC;AAExI,IAAI,+BAA+B,GAAG,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,UAAU,6BAA6B;IAC3C,IAAI,+BAA+B,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IACD,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,kCAAkC,CAAC,CAAC;IACpE,aAAa,CAAC;QACZ,OAAO,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW;YACrC,IAAI,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;gBACjC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;YAC/F,CAAC;YACD,OAAO,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACzC,CAAC;QACD,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ;YACzB,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC3B,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,sBAAsB,EAAE,CAAC;YAClF,CAAC;YACD,OAAO,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAChC,CAAC;KACF,CAAC,CAAC;IACH,+BAA+B,GAAG,IAAI,CAAC;AACzC,CAAC","sourcesContent":["import { registerHooks } from 'node:module';\n\n/** The static-asset extensions a TypeScript module graph may import and Node cannot execute. */\nexport const STATIC_ASSET_IMPORT_PATTERN_SOURCE = '\\\\.(css|scss|less|sass|svg|png|jpe?g|gif|webp|ico|avif|woff2?|eot|ttf|otf)(\\\\?.*)?$';\n\nlet staticAssetImportNoopRegistered = false;\n\n/**\n * Make static-asset imports (`.css`, images, fonts) resolve to empty modules for the rest of the\n * process, so a Node-side loader can evaluate an application-authored TypeScript graph that\n * reaches browser code.\n *\n * Why this is needed at all: an application's specifications and website sources import enums\n * from `@wildo-ai/saas-specifications`, whose root transitively reaches frontend component\n * modules that import their stylesheets. Node's ESM loader cannot execute a `.css`, so without\n * this hook an otherwise valid module fails to load solely because a library imports a stylesheet.\n * Static assets carry no meaning for a Node-side reader, so they load as `export default \"\"`.\n *\n * Process-wide, idempotent, and inert for any graph that imports no static asset. It never touches\n * JavaScript or TypeScript resolution.\n *\n * This is the one copy for in-process callers. Four hand-copied versions existed until 2026-09-25\n * — two in the dev companion and two in the CLI — each with its own regex; the next asset type\n * added to one would have loaded in one tool and failed in another. One copy remains by necessity:\n * the dev companion's introspection subprocess registers a hooks MODULE by path\n * (`asset-noop-hooks.ts`) through `--import`, before any package can be resolved, so that module\n * must stay dependency-free. `static-asset-pattern-parity.test.ts` in the companion holds its\n * pattern equal to this one.\n *\n * ## In-thread (`registerHooks`), never `module.register` — measured, #3208\n *\n * Until 2026-11-03 this registered the hooks with `module.register`, which runs them on a separate\n * loader thread. Once ANY such hook exists, every module resolution and load in the process — not\n * only a stylesheet's — becomes a synchronous round trip to that thread (`makeSyncRequest`). The\n * dev companion calls this before every specifications evaluation and re-imports application\n * packages for the life of the process, so that tax was paid continuously on its HTTP event loop.\n * Profiled on app-creation-test-007 (15 resources, 96 landed build tasks): `makeSyncRequest` was\n * 29 % of the main thread's time across warm re-evaluations and 42 % across the first one, and a\n * child importing the companion's introspection handlers spent 14.2 s of user CPU with the\n * off-thread hook against 8.7 s with the same hook in-thread.\n *\n * `registerHooks` runs the same two synchronous hooks on the calling thread, so a non-asset import\n * pays one regex test and nothing else. Node 26 deprecates `module.register` (DEP0205) in favour of\n * it. The hooks also apply to `require()`, which is the same answer for a CommonJS module that\n * requires a stylesheet.\n */\nexport function registerStaticAssetImportNoop(): void {\n if (staticAssetImportNoopRegistered) {\n return;\n }\n const assetPattern = new RegExp(STATIC_ASSET_IMPORT_PATTERN_SOURCE);\n registerHooks({\n resolve(specifier, context, nextResolve) {\n if (assetPattern.test(specifier)) {\n return { shortCircuit: true, url: new URL(specifier, context.parentURL ?? 'file:///').href };\n }\n return nextResolve(specifier, context);\n },\n load(url, context, nextLoad) {\n if (assetPattern.test(url)) {\n return { shortCircuit: true, format: 'module', source: 'export default \"\";\\n' };\n }\n return nextLoad(url, context);\n },\n });\n staticAssetImportNoopRegistered = true;\n}\n"]}
@@ -38,15 +38,10 @@ export type RegistryApiKeyScope = (typeof REGISTRY_API_KEY_SCOPE_VALUES)[number]
38
38
  * `wildo registry info`.
39
39
  */
40
40
  export declare const RegistryDomainAccessPolicySchema: z.ZodObject<{
41
- /** Default visibility for newly-published modules in this domain. */
42
41
  defaultVisibility: z.ZodEnum<{
43
42
  PUBLIC: "PUBLIC";
44
43
  RESTRICTED: "RESTRICTED";
45
44
  }>;
46
- /**
47
- * Email of the first-admin / domain owner. Recovery anchor per
48
- * KD-11 / Security model.
49
- */
50
45
  ownerEmail: z.ZodEmail;
51
46
  }, z.core.$strict>;
52
47
  export type RegistryDomainAccessPolicy = z.infer<typeof RegistryDomainAccessPolicySchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-domain.schemas.d.ts","sourceRoot":"","sources":["../../../src/registry/artifact-domain.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mCAAmC,mCAAoC,CAAC;AAE9E,eAAO,MAAM,0BAA0B;IACrC,yDAAyD;;IAEzD,wCAAwC;;CAEhC,CAAC;AACX,eAAO,MAAM,gCAAgC;;;EAA8C,CAAC;AAC5F,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,mCAAmC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,QAAA,MAAM,6BAA6B,uCAAwC,CAAC;AAE5E,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX,eAAO,MAAM,yBAAyB;;;;EAAwC,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;IAC3C,qEAAqE;;;;;IAErE;;;OAGG;;kBAEH,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
1
+ {"version":3,"file":"artifact-domain.schemas.d.ts","sourceRoot":"","sources":["../../../src/registry/artifact-domain.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mCAAmC,mCAAoC,CAAC;AAE9E,eAAO,MAAM,0BAA0B;IACrC,yDAAyD;;IAEzD,wCAAwC;;CAEhC,CAAC;AACX,eAAO,MAAM,gCAAgC;;;EAA8C,CAAC;AAC5F,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,mCAAmC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,QAAA,MAAM,6BAA6B,uCAAwC,CAAC;AAE5E,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX,eAAO,MAAM,yBAAyB;;;;EAAwC,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;;;;;;kBAQ3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-domain.schemas.js","sourceRoot":"","sources":["../../../../src/registry/artifact-domain.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,mCAAmC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAU,CAAC;AAE9E,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,yDAAyD;IACzD,MAAM,EAAE,QAAQ;IAChB,wCAAwC;IACxC,UAAU,EAAE,YAAY;CAChB,CAAC;AACX,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;AAI5F,MAAM,6BAA6B,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC;AAE5E,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AACX,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AAG/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7D,qEAAqE;IACrE,iBAAiB,EAAE,gCAAgC;IACnD;;;OAGG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE;CACtB,CAAC,CAAC","sourcesContent":["/**\n * Artifact-domain access schemas — public vs restricted retrieval.\n *\n * Phase 1 surfaces the access vocabulary so Phase 3 (registry\n * server) and Phase 5 (CLI install) speak the same dialect. The\n * library does NOT implement authorization here — that's\n * gateway-side middleware (KD-7 / Security model). These schemas\n * pin the contract.\n */\n\nimport { z } from 'zod';\n\nconst REGISTRY_ARTIFACT_VISIBILITY_VALUES = ['PUBLIC', 'RESTRICTED'] as const;\n\nexport const RegistryArtifactVisibility = {\n /** Anonymous read allowed; integrity always verified. */\n PUBLIC: 'PUBLIC',\n /** Requires a domain `read` API key. */\n RESTRICTED: 'RESTRICTED',\n} as const;\nexport const RegistryArtifactVisibilitySchema = z.enum(REGISTRY_ARTIFACT_VISIBILITY_VALUES);\nexport type RegistryArtifactVisibility =\n (typeof REGISTRY_ARTIFACT_VISIBILITY_VALUES)[number];\n\nconst REGISTRY_API_KEY_SCOPE_VALUES = ['read', 'publish', 'admin'] as const;\n\nexport const RegistryApiKeyScope = {\n READ: 'read',\n PUBLISH: 'publish',\n ADMIN: 'admin',\n} as const;\nexport const RegistryApiKeyScopeSchema = z.enum(REGISTRY_API_KEY_SCOPE_VALUES);\nexport type RegistryApiKeyScope = (typeof REGISTRY_API_KEY_SCOPE_VALUES)[number];\n\n/**\n * Per-domain access policy. Held alongside `RegistryDomain` rows on\n * the server; the CLI receives a redacted projection via\n * `wildo registry info`.\n */\nexport const RegistryDomainAccessPolicySchema = z.strictObject({\n /** Default visibility for newly-published modules in this domain. */\n defaultVisibility: RegistryArtifactVisibilitySchema,\n /**\n * Email of the first-admin / domain owner. Recovery anchor per\n * KD-11 / Security model.\n */\n ownerEmail: z.email(),\n});\nexport type RegistryDomainAccessPolicy = z.infer<typeof RegistryDomainAccessPolicySchema>;\n"]}
1
+ {"version":3,"file":"artifact-domain.schemas.js","sourceRoot":"","sources":["../../../src/registry/artifact-domain.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,mCAAmC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAU,CAAC;AAE9E,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,yDAAyD;IACzD,MAAM,EAAE,QAAQ;IAChB,wCAAwC;IACxC,UAAU,EAAE,YAAY;CAChB,CAAC;AACX,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;AAI5F,MAAM,6BAA6B,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC;AAE5E,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AACX,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AAG/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7D,qEAAqE;IACrE,iBAAiB,EAAE,gCAAgC;IACnD;;;OAGG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE;CACtB,CAAC,CAAC","sourcesContent":["/**\n * Artifact-domain access schemas — public vs restricted retrieval.\n *\n * Phase 1 surfaces the access vocabulary so Phase 3 (registry\n * server) and Phase 5 (CLI install) speak the same dialect. The\n * library does NOT implement authorization here — that's\n * gateway-side middleware (KD-7 / Security model). These schemas\n * pin the contract.\n */\n\nimport { z } from 'zod';\n\nconst REGISTRY_ARTIFACT_VISIBILITY_VALUES = ['PUBLIC', 'RESTRICTED'] as const;\n\nexport const RegistryArtifactVisibility = {\n /** Anonymous read allowed; integrity always verified. */\n PUBLIC: 'PUBLIC',\n /** Requires a domain `read` API key. */\n RESTRICTED: 'RESTRICTED',\n} as const;\nexport const RegistryArtifactVisibilitySchema = z.enum(REGISTRY_ARTIFACT_VISIBILITY_VALUES);\nexport type RegistryArtifactVisibility =\n (typeof REGISTRY_ARTIFACT_VISIBILITY_VALUES)[number];\n\nconst REGISTRY_API_KEY_SCOPE_VALUES = ['read', 'publish', 'admin'] as const;\n\nexport const RegistryApiKeyScope = {\n READ: 'read',\n PUBLISH: 'publish',\n ADMIN: 'admin',\n} as const;\nexport const RegistryApiKeyScopeSchema = z.enum(REGISTRY_API_KEY_SCOPE_VALUES);\nexport type RegistryApiKeyScope = (typeof REGISTRY_API_KEY_SCOPE_VALUES)[number];\n\n/**\n * Per-domain access policy. Held alongside `RegistryDomain` rows on\n * the server; the CLI receives a redacted projection via\n * `wildo registry info`.\n */\nexport const RegistryDomainAccessPolicySchema = z.strictObject({\n /** Default visibility for newly-published modules in this domain. */\n defaultVisibility: RegistryArtifactVisibilitySchema,\n /**\n * Email of the first-admin / domain owner. Recovery anchor per\n * KD-11 / Security model.\n */\n ownerEmail: z.email(),\n});\nexport type RegistryDomainAccessPolicy = z.infer<typeof RegistryDomainAccessPolicySchema>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"digest.schemas.js","sourceRoot":"","sources":["../../../../src/registry/digest.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,EAAE;KACR,KAAK,CAAC,uBAAuB,EAAE,sCAAsC,CAAC,CAAC","sourcesContent":["/**\n * Cryptographic-digest field schemas — single source of truth for\n * artifact integrity references across the module-registry surface.\n *\n * Both the durable lockfile entry (`RegistryModulesLockEntry.\n * artifactDigest`) and the registry-server published-version row\n * (`ModuleVersionRecord.integrity`) carry the same artifact's\n * digest. They MUST agree on format — drift between the two means\n * Phase 5 install verification fails non-deterministically. Hoisted\n * here so any addition (e.g. sha512) lands in one place.\n */\n\nimport { z } from 'zod';\n\n/**\n * `sha256:<64-hex>` content digest. The hex must be lowercase\n * (npm + most registries normalize to lowercase; uppercase makes\n * direct string comparison brittle).\n */\nexport const Sha256DigestSchema = z\n .string()\n .regex(/^sha256:[0-9a-f]{64}$/, 'expected `sha256:<64-hex-lowercase>`');\nexport type Sha256Digest = z.infer<typeof Sha256DigestSchema>;\n"]}
1
+ {"version":3,"file":"digest.schemas.js","sourceRoot":"","sources":["../../../src/registry/digest.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,EAAE;KACR,KAAK,CAAC,uBAAuB,EAAE,sCAAsC,CAAC,CAAC","sourcesContent":["/**\n * Cryptographic-digest field schemas — single source of truth for\n * artifact integrity references across the module-registry surface.\n *\n * Both the durable lockfile entry (`RegistryModulesLockEntry.\n * artifactDigest`) and the registry-server published-version row\n * (`ModuleVersionRecord.integrity`) carry the same artifact's\n * digest. They MUST agree on format — drift between the two means\n * Phase 5 install verification fails non-deterministically. Hoisted\n * here so any addition (e.g. sha512) lands in one place.\n */\n\nimport { z } from 'zod';\n\n/**\n * `sha256:<64-hex>` content digest. The hex must be lowercase\n * (npm + most registries normalize to lowercase; uppercase makes\n * direct string comparison brittle).\n */\nexport const Sha256DigestSchema = z\n .string()\n .regex(/^sha256:[0-9a-f]{64}$/, 'expected `sha256:<64-hex-lowercase>`');\nexport type Sha256Digest = z.infer<typeof Sha256DigestSchema>;\n"]}
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Module-registry subpackage barrel
3
- * (per `.claude/plans/module-registry-analysis.md`).
2
+ * Module-registry subpackage barrel.
4
3
  *
5
4
  * Surface:
6
5
  * - `RegistryModulesLockSectionSchema` — `sections.modules` payload.
@@ -8,7 +7,7 @@
8
7
  * - `DEFAULT_LOCAL_REGISTRY_URL` / `DEFAULT_PUBLIC_REGISTRY_URL` /
9
8
  * `DEFAULT_LOCAL_REGISTRY_PORT` / `DEFAULT_REGISTRY_ID`.
10
9
  * - `ModuleManifestSchema` — `wildo.module.json` contract
11
- * (engine compat, boundaries, dependsOn buckets per KD-12 + KD-13).
10
+ * (engine compat, boundaries, dependsOn buckets).
12
11
  * - `ModuleVersionRecordSchema` — registry-server published-version row.
13
12
  * - `Sha256DigestSchema` — single-source digest field used by
14
13
  * both lockfile entries and registry-server records.
@@ -32,4 +31,5 @@ export * from './registry-errors';
32
31
  export * from './registry-section-schemas.constants';
33
32
  export * from './registry-keys.schemas';
34
33
  export * from './local-checkout-source';
34
+ export * from './registry-url-resolution';
35
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/registry/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/registry/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Module-registry subpackage barrel
3
- * (per `.claude/plans/module-registry-analysis.md`).
2
+ * Module-registry subpackage barrel.
4
3
  *
5
4
  * Surface:
6
5
  * - `RegistryModulesLockSectionSchema` — `sections.modules` payload.
@@ -8,7 +7,7 @@
8
7
  * - `DEFAULT_LOCAL_REGISTRY_URL` / `DEFAULT_PUBLIC_REGISTRY_URL` /
9
8
  * `DEFAULT_LOCAL_REGISTRY_PORT` / `DEFAULT_REGISTRY_ID`.
10
9
  * - `ModuleManifestSchema` — `wildo.module.json` contract
11
- * (engine compat, boundaries, dependsOn buckets per KD-12 + KD-13).
10
+ * (engine compat, boundaries, dependsOn buckets).
12
11
  * - `ModuleVersionRecordSchema` — registry-server published-version row.
13
12
  * - `Sha256DigestSchema` — single-source digest field used by
14
13
  * both lockfile entries and registry-server records.
@@ -32,4 +31,5 @@ export * from './registry-errors.js';
32
31
  export * from './registry-section-schemas.constants.js';
33
32
  export * from './registry-keys.schemas.js';
34
33
  export * from './local-checkout-source.js';
34
+ export * from './registry-url-resolution.js';
35
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/registry/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * Module-registry subpackage barrel\n * (per `.claude/plans/module-registry-analysis.md`).\n *\n * Surface:\n * - `RegistryModulesLockSectionSchema` — `sections.modules` payload.\n * - `DEFAULT_REGISTRY_SECTION_SCHEMAS` — CLI default lockfile-section map.\n * - `DEFAULT_LOCAL_REGISTRY_URL` / `DEFAULT_PUBLIC_REGISTRY_URL` /\n * `DEFAULT_LOCAL_REGISTRY_PORT` / `DEFAULT_REGISTRY_ID`.\n * - `ModuleManifestSchema` — `wildo.module.json` contract\n * (engine compat, boundaries, dependsOn buckets per KD-12 + KD-13).\n * - `ModuleVersionRecordSchema` — registry-server published-version row.\n * - `Sha256DigestSchema` — single-source digest field used by\n * both lockfile entries and registry-server records.\n * - `RegistryConfigSchema` — `wildo.saas.config.ts > moduleRegistries`.\n * - `RegistryArtifactVisibility` / `RegistryApiKeyScope` /\n * `RegistryDomainAccessPolicy` — access-control vocabulary.\n * - `RegistryError` family — typed-error vocabulary with\n * stable `code` strings.\n *\n * Phase 2+ adds artifact-staging + companion-mutation contracts.\n */\n\nexport * from './digest.schemas';\nexport * from './lockfile-modules-section.schemas';\nexport * from './module-manifest.schemas';\nexport * from './module-search.schemas';\nexport * from './module-artifact.schemas';\nexport * from './artifact-domain.schemas';\nexport * from './registry-config.schemas';\nexport * from './registry-defaults.constants';\nexport * from './registry-errors';\nexport * from './registry-section-schemas.constants';\nexport * from './registry-keys.schemas';\nexport * from './local-checkout-source';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/registry/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC","sourcesContent":["/**\n * Module-registry subpackage barrel.\n *\n * Surface:\n * - `RegistryModulesLockSectionSchema` — `sections.modules` payload.\n * - `DEFAULT_REGISTRY_SECTION_SCHEMAS` — CLI default lockfile-section map.\n * - `DEFAULT_LOCAL_REGISTRY_URL` / `DEFAULT_PUBLIC_REGISTRY_URL` /\n * `DEFAULT_LOCAL_REGISTRY_PORT` / `DEFAULT_REGISTRY_ID`.\n * - `ModuleManifestSchema` — `wildo.module.json` contract\n * (engine compat, boundaries, dependsOn buckets).\n * - `ModuleVersionRecordSchema` — registry-server published-version row.\n * - `Sha256DigestSchema` — single-source digest field used by\n * both lockfile entries and registry-server records.\n * - `RegistryConfigSchema` — `wildo.saas.config.ts > moduleRegistries`.\n * - `RegistryArtifactVisibility` / `RegistryApiKeyScope` /\n * `RegistryDomainAccessPolicy` — access-control vocabulary.\n * - `RegistryError` family — typed-error vocabulary with\n * stable `code` strings.\n *\n * Phase 2+ adds artifact-staging + companion-mutation contracts.\n */\n\nexport * from './digest.schemas';\nexport * from './lockfile-modules-section.schemas';\nexport * from './module-manifest.schemas';\nexport * from './module-search.schemas';\nexport * from './module-artifact.schemas';\nexport * from './artifact-domain.schemas';\nexport * from './registry-config.schemas';\nexport * from './registry-defaults.constants';\nexport * from './registry-errors';\nexport * from './registry-section-schemas.constants';\nexport * from './registry-keys.schemas';\nexport * from './local-checkout-source';\nexport * from './registry-url-resolution';\n"]}
@@ -6,9 +6,12 @@
6
6
  * `providers-registry/<ref>/`; a dogfood application inside the checkout installs them from there, and an
7
7
  * application anywhere else installs them from the public registry (#2024).
8
8
  *
9
- * This file owns only the LAYOUT: which domain the checkout answers for, and where one of its modules
10
- * lives. Reading and staging a module is the CLI's job (`local-checkout-module-source.service.ts`).
9
+ * This file owns the LAYOUT (which domain the checkout answers for, and where one of its modules lives) and
10
+ * READING a module's manifest, which two runtimes need: the CLI's registry commands, and the dev companion,
11
+ * which lists the checkout's providers for an application-creation brief (#2025). STAGING a module is the
12
+ * CLI's job (`local-checkout-module-source.service.ts`).
11
13
  */
14
+ import { type ModuleManifest } from './module-manifest.schemas';
12
15
  /**
13
16
  * The registry domain Wildo publishes its own modules under, on `registry.wildo.ai`. Inside a framework
14
17
  * checkout the same domain is answered by the checkout itself, so one install spec
@@ -28,4 +31,21 @@ export declare const LOCAL_CHECKOUT_MODULE_ROOTS: Readonly<Record<string, string
28
31
  * (another domain, or a scope with no local root). Never resolves outside its scope root.
29
32
  */
30
33
  export declare function localCheckoutModuleDirectory(frameworkRoot: string, domain: string, moduleId: string): string | undefined;
34
+ /** One module the checkout serves, as `wildo registry search` / `info` and the companion list it. */
35
+ export interface LocalCheckoutModuleListing {
36
+ moduleId: string;
37
+ version: string;
38
+ manifest: ModuleManifest;
39
+ }
40
+ /**
41
+ * Every module the checkout serves whose id contains `query` (case-insensitive), sorted by id. A
42
+ * directory without a manifest is not a module and is skipped; a manifest that does not parse is
43
+ * reported, because silently hiding a broken provider is how it goes unnoticed.
44
+ */
45
+ export declare function listLocalCheckoutModules(frameworkRoot: string, query: string): Promise<LocalCheckoutModuleListing[]>;
46
+ /**
47
+ * The parsed `wildo.module.json` of a checkout module. Refuses, naming the file: a missing manifest (naming
48
+ * `--registry public` for the published module) or one that does not parse.
49
+ */
50
+ export declare function readLocalCheckoutModuleManifest(sourceDir: string, label: string, frameworkRoot: string): Promise<ModuleManifest>;
31
51
  //# sourceMappingURL=local-checkout-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-checkout-source.d.ts","sourceRoot":"","sources":["../../../src/registry/local-checkout-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAExE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQxH"}
1
+ {"version":3,"file":"local-checkout-source.d.ts","sourceRoot":"","sources":["../../../src/registry/local-checkout-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAA+D,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE7H;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAExE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQxH;AAED,qGAAqG;AACrG,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAsB,wBAAwB,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAyB1H;AAED;;;GAGG;AACH,wBAAsB,+BAA+B,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAsBtI"}
@@ -6,11 +6,14 @@
6
6
  * `providers-registry/<ref>/`; a dogfood application inside the checkout installs them from there, and an
7
7
  * application anywhere else installs them from the public registry (#2024).
8
8
  *
9
- * This file owns only the LAYOUT: which domain the checkout answers for, and where one of its modules
10
- * lives. Reading and staging a module is the CLI's job (`local-checkout-module-source.service.ts`).
9
+ * This file owns the LAYOUT (which domain the checkout answers for, and where one of its modules lives) and
10
+ * READING a module's manifest, which two runtimes need: the CLI's registry commands, and the dev companion,
11
+ * which lists the checkout's providers for an application-creation brief (#2025). STAGING a module is the
12
+ * CLI's job (`local-checkout-module-source.service.ts`).
11
13
  */
14
+ import { promises as fs } from 'node:fs';
12
15
  import * as path from 'node:path';
13
- import { isModuleId } from './module-manifest.schemas.js';
16
+ import { isModuleId, MODULE_MANIFEST_FILE_NAME, ModuleManifestSchema } from './module-manifest.schemas.js';
14
17
  /**
15
18
  * The registry domain Wildo publishes its own modules under, on `registry.wildo.ai`. Inside a framework
16
19
  * checkout the same domain is answered by the checkout itself, so one install spec
@@ -42,4 +45,64 @@ export function localCheckoutModuleDirectory(frameworkRoot, domain, moduleId) {
42
45
  const directory = path.resolve(scopeRoot, name);
43
46
  return directory.startsWith(scopeRoot + path.sep) ? directory : undefined;
44
47
  }
48
+ /**
49
+ * Every module the checkout serves whose id contains `query` (case-insensitive), sorted by id. A
50
+ * directory without a manifest is not a module and is skipped; a manifest that does not parse is
51
+ * reported, because silently hiding a broken provider is how it goes unnoticed.
52
+ */
53
+ export async function listLocalCheckoutModules(frameworkRoot, query) {
54
+ const listings = [];
55
+ for (const [scope, rootName] of Object.entries(LOCAL_CHECKOUT_MODULE_ROOTS)) {
56
+ let names;
57
+ try {
58
+ names = (await fs.readdir(path.join(frameworkRoot, rootName), { withFileTypes: true })).filter((d) => d.isDirectory()).map((d) => d.name);
59
+ }
60
+ catch (error) {
61
+ if (error.code === 'ENOENT')
62
+ continue;
63
+ throw error;
64
+ }
65
+ for (const name of names) {
66
+ const moduleId = `${scope}/${name}`;
67
+ if (!moduleId.toLowerCase().includes(query.toLowerCase()))
68
+ continue;
69
+ const sourceDir = localCheckoutModuleDirectory(frameworkRoot, WILDO_REGISTRY_DOMAIN, moduleId);
70
+ if (sourceDir === undefined)
71
+ continue;
72
+ try {
73
+ await fs.access(path.join(sourceDir, MODULE_MANIFEST_FILE_NAME));
74
+ }
75
+ catch {
76
+ continue;
77
+ }
78
+ const manifest = await readLocalCheckoutModuleManifest(sourceDir, `${WILDO_REGISTRY_DOMAIN}/${moduleId}`, frameworkRoot);
79
+ listings.push({ moduleId, version: manifest.version, manifest });
80
+ }
81
+ }
82
+ return listings.sort((a, b) => a.moduleId.localeCompare(b.moduleId));
83
+ }
84
+ /**
85
+ * The parsed `wildo.module.json` of a checkout module. Refuses, naming the file: a missing manifest (naming
86
+ * `--registry public` for the published module) or one that does not parse.
87
+ */
88
+ export async function readLocalCheckoutModuleManifest(sourceDir, label, frameworkRoot) {
89
+ const manifestPath = path.join(sourceDir, MODULE_MANIFEST_FILE_NAME);
90
+ let raw;
91
+ try {
92
+ raw = await fs.readFile(manifestPath, 'utf8');
93
+ }
94
+ catch (error) {
95
+ if (error.code === 'ENOENT') {
96
+ throw new Error(`The framework checkout has no module "${label}" (${path.relative(frameworkRoot, manifestPath)} does not exist). `
97
+ + 'Pass `--registry public` to install a published module instead.');
98
+ }
99
+ throw error;
100
+ }
101
+ const parsed = ModuleManifestSchema.safeParse(JSON.parse(raw));
102
+ if (!parsed.success) {
103
+ throw new Error(`${path.relative(frameworkRoot, manifestPath)} is not a valid module manifest: `
104
+ + parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; '));
105
+ }
106
+ return parsed.data;
107
+ }
45
108
  //# sourceMappingURL=local-checkout-source.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-checkout-source.js","sourceRoot":"","sources":["../../../../src/registry/local-checkout-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,OAAO,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAqC;IAC3E,SAAS,EAAE,oBAAoB;CAChC,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,4BAA4B,CAAC,aAAqB,EAAE,MAAc,EAAE,QAAgB;IAClG,IAAI,MAAM,KAAK,qBAAqB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,SAAS,CAAC;IAChF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAqB,CAAC;IAC9D,MAAM,QAAQ,GAAG,2BAA2B,CAAC,KAAK,CAAC,CAAC;IACpD,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IACxD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChD,OAAO,SAAS,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;AAC5E,CAAC","sourcesContent":["/**\n * Local-checkout source for registry modules (#2015, epic #2012).\n *\n * Paul, 2026-09-29: in framework development the registry is fetched LOCALLY, from the checkout, with no\n * server and no publish step. Wildo's own providers are authored in the monorepo under\n * `providers-registry/<ref>/`; a dogfood application inside the checkout installs them from there, and an\n * application anywhere else installs them from the public registry (#2024).\n *\n * This file owns only the LAYOUT: which domain the checkout answers for, and where one of its modules\n * lives. Reading and staging a module is the CLI's job (`local-checkout-module-source.service.ts`).\n */\n\nimport * as path from 'node:path';\nimport { isModuleId } from './module-manifest.schemas';\n\n/**\n * The registry domain Wildo publishes its own modules under, on `registry.wildo.ai`. Inside a framework\n * checkout the same domain is answered by the checkout itself, so one install spec\n * (`wildo/providers/asana`) means the same module in both places.\n */\nexport const WILDO_REGISTRY_DOMAIN = 'wildo';\n\n/**\n * Where each module-id SCOPE of the `wildo` domain is authored in the framework checkout.\n *\n * A module `<scope>/<name>` lives at `<frameworkRoot>/<root>/<name>/`, holding its `wildo.module.json` and\n * the content of its single boundary directory: for a provider (`providers/<ref>`) that is one folder per\n * facet (`backend/`, `frontend/`). A scope absent from this table has no local source.\n */\nexport const LOCAL_CHECKOUT_MODULE_ROOTS: Readonly<Record<string, string>> = {\n providers: 'providers-registry',\n};\n\n/**\n * The checkout directory of `<domain>/<moduleId>`, or `undefined` when the checkout does not author it\n * (another domain, or a scope with no local root). Never resolves outside its scope root.\n */\nexport function localCheckoutModuleDirectory(frameworkRoot: string, domain: string, moduleId: string): string | undefined {\n if (domain !== WILDO_REGISTRY_DOMAIN || !isModuleId(moduleId)) return undefined;\n const [scope, name] = moduleId.split('/') as [string, string];\n const rootName = LOCAL_CHECKOUT_MODULE_ROOTS[scope];\n if (rootName === undefined) return undefined;\n const scopeRoot = path.resolve(frameworkRoot, rootName);\n const directory = path.resolve(scopeRoot, name);\n return directory.startsWith(scopeRoot + path.sep) ? directory : undefined;\n}\n"]}
1
+ {"version":3,"file":"local-checkout-source.js","sourceRoot":"","sources":["../../../src/registry/local-checkout-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,yBAAyB,EAAE,oBAAoB,EAAuB,MAAM,2BAA2B,CAAC;AAE7H;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,OAAO,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAqC;IAC3E,SAAS,EAAE,oBAAoB;CAChC,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,4BAA4B,CAAC,aAAqB,EAAE,MAAc,EAAE,QAAgB;IAClG,IAAI,MAAM,KAAK,qBAAqB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,SAAS,CAAC;IAChF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAqB,CAAC;IAC9D,MAAM,QAAQ,GAAG,2BAA2B,CAAC,KAAK,CAAC,CAAC;IACpD,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IACxD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChD,OAAO,SAAS,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;AAC5E,CAAC;AASD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAC,aAAqB,EAAE,KAAa;IACjF,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,KAAK,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,2BAA2B,CAAC,EAAE,CAAC;QAC5E,IAAI,KAAe,CAAC;QACpB,IAAI,CAAC;YACH,KAAK,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC5I,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAK,KAA+B,CAAC,IAAI,KAAK,QAAQ;gBAAE,SAAS;YACjE,MAAM,KAAK,CAAC;QACd,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,MAAM,QAAQ,GAAG,GAAG,KAAK,IAAI,IAAI,EAAE,CAAC;YACpC,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;gBAAE,SAAS;YACpE,MAAM,SAAS,GAAG,4BAA4B,CAAC,aAAa,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;YAC/F,IAAI,SAAS,KAAK,SAAS;gBAAE,SAAS;YACtC,IAAI,CAAC;gBACH,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC,CAAC;YACnE,CAAC;YAAC,MAAM,CAAC;gBACP,SAAS;YACX,CAAC;YACD,MAAM,QAAQ,GAAG,MAAM,+BAA+B,CAAC,SAAS,EAAE,GAAG,qBAAqB,IAAI,QAAQ,EAAE,EAAE,aAAa,CAAC,CAAC;YACzH,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;AACvE,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,+BAA+B,CAAC,SAAiB,EAAE,KAAa,EAAE,aAAqB;IAC3G,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;IACrE,IAAI,GAAW,CAAC;IAChB,IAAI,CAAC;QACH,GAAG,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAK,KAA+B,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YACvD,MAAM,IAAI,KAAK,CACb,yCAAyC,KAAK,MAAM,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,oBAAoB;kBAC9G,iEAAiE,CACtE,CAAC;QACJ,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;IACD,MAAM,MAAM,GAAG,oBAAoB,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/D,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CACb,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,mCAAmC;cAC5E,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,QAAQ,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3G,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC","sourcesContent":["/**\n * Local-checkout source for registry modules (#2015, epic #2012).\n *\n * Paul, 2026-09-29: in framework development the registry is fetched LOCALLY, from the checkout, with no\n * server and no publish step. Wildo's own providers are authored in the monorepo under\n * `providers-registry/<ref>/`; a dogfood application inside the checkout installs them from there, and an\n * application anywhere else installs them from the public registry (#2024).\n *\n * This file owns the LAYOUT (which domain the checkout answers for, and where one of its modules lives) and\n * READING a module's manifest, which two runtimes need: the CLI's registry commands, and the dev companion,\n * which lists the checkout's providers for an application-creation brief (#2025). STAGING a module is the\n * CLI's job (`local-checkout-module-source.service.ts`).\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { isModuleId, MODULE_MANIFEST_FILE_NAME, ModuleManifestSchema, type ModuleManifest } from './module-manifest.schemas';\n\n/**\n * The registry domain Wildo publishes its own modules under, on `registry.wildo.ai`. Inside a framework\n * checkout the same domain is answered by the checkout itself, so one install spec\n * (`wildo/providers/asana`) means the same module in both places.\n */\nexport const WILDO_REGISTRY_DOMAIN = 'wildo';\n\n/**\n * Where each module-id SCOPE of the `wildo` domain is authored in the framework checkout.\n *\n * A module `<scope>/<name>` lives at `<frameworkRoot>/<root>/<name>/`, holding its `wildo.module.json` and\n * the content of its single boundary directory: for a provider (`providers/<ref>`) that is one folder per\n * facet (`backend/`, `frontend/`). A scope absent from this table has no local source.\n */\nexport const LOCAL_CHECKOUT_MODULE_ROOTS: Readonly<Record<string, string>> = {\n providers: 'providers-registry',\n};\n\n/**\n * The checkout directory of `<domain>/<moduleId>`, or `undefined` when the checkout does not author it\n * (another domain, or a scope with no local root). Never resolves outside its scope root.\n */\nexport function localCheckoutModuleDirectory(frameworkRoot: string, domain: string, moduleId: string): string | undefined {\n if (domain !== WILDO_REGISTRY_DOMAIN || !isModuleId(moduleId)) return undefined;\n const [scope, name] = moduleId.split('/') as [string, string];\n const rootName = LOCAL_CHECKOUT_MODULE_ROOTS[scope];\n if (rootName === undefined) return undefined;\n const scopeRoot = path.resolve(frameworkRoot, rootName);\n const directory = path.resolve(scopeRoot, name);\n return directory.startsWith(scopeRoot + path.sep) ? directory : undefined;\n}\n\n/** One module the checkout serves, as `wildo registry search` / `info` and the companion list it. */\nexport interface LocalCheckoutModuleListing {\n moduleId: string;\n version: string;\n manifest: ModuleManifest;\n}\n\n/**\n * Every module the checkout serves whose id contains `query` (case-insensitive), sorted by id. A\n * directory without a manifest is not a module and is skipped; a manifest that does not parse is\n * reported, because silently hiding a broken provider is how it goes unnoticed.\n */\nexport async function listLocalCheckoutModules(frameworkRoot: string, query: string): Promise<LocalCheckoutModuleListing[]> {\n const listings: LocalCheckoutModuleListing[] = [];\n for (const [scope, rootName] of Object.entries(LOCAL_CHECKOUT_MODULE_ROOTS)) {\n let names: string[];\n try {\n names = (await fs.readdir(path.join(frameworkRoot, rootName), { withFileTypes: true })).filter((d) => d.isDirectory()).map((d) => d.name);\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code === 'ENOENT') continue;\n throw error;\n }\n for (const name of names) {\n const moduleId = `${scope}/${name}`;\n if (!moduleId.toLowerCase().includes(query.toLowerCase())) continue;\n const sourceDir = localCheckoutModuleDirectory(frameworkRoot, WILDO_REGISTRY_DOMAIN, moduleId);\n if (sourceDir === undefined) continue;\n try {\n await fs.access(path.join(sourceDir, MODULE_MANIFEST_FILE_NAME));\n } catch {\n continue;\n }\n const manifest = await readLocalCheckoutModuleManifest(sourceDir, `${WILDO_REGISTRY_DOMAIN}/${moduleId}`, frameworkRoot);\n listings.push({ moduleId, version: manifest.version, manifest });\n }\n }\n return listings.sort((a, b) => a.moduleId.localeCompare(b.moduleId));\n}\n\n/**\n * The parsed `wildo.module.json` of a checkout module. Refuses, naming the file: a missing manifest (naming\n * `--registry public` for the published module) or one that does not parse.\n */\nexport async function readLocalCheckoutModuleManifest(sourceDir: string, label: string, frameworkRoot: string): Promise<ModuleManifest> {\n const manifestPath = path.join(sourceDir, MODULE_MANIFEST_FILE_NAME);\n let raw: string;\n try {\n raw = await fs.readFile(manifestPath, 'utf8');\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code === 'ENOENT') {\n throw new Error(\n `The framework checkout has no module \"${label}\" (${path.relative(frameworkRoot, manifestPath)} does not exist). `\n + 'Pass `--registry public` to install a published module instead.',\n );\n }\n throw error;\n }\n const parsed = ModuleManifestSchema.safeParse(JSON.parse(raw));\n if (!parsed.success) {\n throw new Error(\n `${path.relative(frameworkRoot, manifestPath)} is not a valid module manifest: `\n + parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; '),\n );\n }\n return parsed.data;\n}\n"]}
@@ -9,8 +9,7 @@
9
9
  * `wildo-saas.lock.json` envelope and are NEVER touched by code that
10
10
  * mutates `sections.modules`.
11
11
  *
12
- * The shape mirrors `module-registry-analysis.md` KD-4 / "Lockfile
13
- * Shape". Fields are intentionally minimal at Phase 0.5 — additional
12
+ * Fields are intentionally minimal — additional
14
13
  * fields must be justified by install/update behavior rather than
15
14
  * added preemptively.
16
15
  */
@@ -57,72 +56,24 @@ export declare enum ModuleDistribution {
57
56
  * {@link localCheckoutProvenanceOf}, which refuse the other kind rather than returning `undefined`.
58
57
  */
59
58
  export declare const RegistryModulesLockEntrySchema: z.ZodObject<{
60
- /** Module id, mirrors the manifest's `id` (e.g. `acme/billing`). */
61
59
  moduleId: z.ZodString;
62
- /** Where the module came from. Absent reads as REGISTRY (every entry before #2015). */
63
60
  distribution: z.ZodDefault<z.ZodEnum<typeof ModuleDistribution>>;
64
- /** REGISTRY only. Registry id from `wildo.saas.config.ts > moduleRegistries[].id`. */
65
61
  registryId: z.ZodOptional<z.ZodString>;
66
- /** REGISTRY only. Resolved registry URL at install time. Stored for audit + repair. */
67
62
  registryUrl: z.ZodOptional<z.ZodString>;
68
- /** LOCAL_CHECKOUT only. The framework checkout's commit when the module was staged. */
69
63
  checkoutCommit: z.ZodOptional<z.ZodString>;
70
- /** LOCAL_CHECKOUT only. Whether the module's source had uncommitted changes when it was staged. */
71
64
  checkoutDirty: z.ZodOptional<z.ZodBoolean>;
72
- /** Domain segment under the registry (e.g. `acme`). */
73
65
  domain: z.ZodString;
74
- /** Concrete resolved semver — never a range. */
75
66
  version: z.ZodString;
76
- /** Original CLI input (e.g. `^1.2.0`), kept for diff visibility. */
77
67
  requestedRange: z.ZodOptional<z.ZodString>;
78
- /**
79
- * REGISTRY only. Artifact integrity digest, format `sha256:<64-hex-lowercase>`.
80
- * Must match `ModuleVersionRecord.integrity` for the same artifact
81
- * — both fields share `Sha256DigestSchema` so a Phase 5 install
82
- * compares like-for-like (M-2.5).
83
- */
84
68
  artifactDigest: z.ZodOptional<z.ZodString>;
85
- /** ISO datetime of install for audit-log purposes. */
86
69
  installedAt: z.ZodISODateTime;
87
- /**
88
- * File paths copied into app source, relative to saas-root (POSIX separators).
89
- *
90
- * Each entry must be a file a module can own ({@link isModuleOwnedFilePath}): below a layer root,
91
- * with no dot-segment or `node_modules`. `wildo registry remove` and `update` DELETE these paths.
92
- * The lockfile is committed, merged and hand-edited, so an unconstrained string here — `"."`,
93
- * `".."`, `"/"`, `"wildo.saas.config.ts"` — was a delete of the application's own files waiting for
94
- * one bad merge. Refusing at parse time means a poisoned entry stops every registry command before
95
- * any file is touched.
96
- */
97
70
  files: z.ZodDefault<z.ZodArray<z.ZodString>>;
98
- /**
99
- * The SHA-256 of each file as the installer last WROTE it (#2016), keyed by the paths in `files`.
100
- *
101
- * A copied module is the application's to edit (the shadcn model), so `update`, `remove` and `repair`
102
- * must know which files the user changed before they overwrite or delete one: equal to this hash
103
- * means untouched and safe to replace; different means edited and kept, with a warning.
104
- *
105
- * Deliberately a separate map beside `files` rather than a reshape of it. `files` is OWNERSHIP, a
106
- * security rule (`remove` deletes those paths), and stays strictly validated; this is a fingerprint,
107
- * and is read TOLERANTLY: a malformed map reads as absent, and a path with no valid hash is treated as
108
- * edited. A bad fingerprint can only make a command more careful, never unable to run.
109
- *
110
- * Not a ledger in the one-source-of-truth sense: it lives in the committed lockfile, so it branches
111
- * and merges with the files it describes, and it never gates boot, `config sync` or a build.
112
- * Precedent: Debian and RPM conffile handling.
113
- */
114
71
  installedFileHashes: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
115
- /** Provenance flag — install vs update vs adopt. */
116
72
  source: z.ZodOptional<z.ZodEnum<{
117
73
  install: "install";
118
74
  update: "update";
119
75
  adopt: "adopt";
120
76
  }>>;
121
- /**
122
- * The registration the install APPLIED to the host's registries, so `remove` reverses exactly those
123
- * edits and `update` can tell whether it changed. Absent = nothing was registered (the module has no
124
- * registration, or it was installed before registration existed).
125
- */
126
77
  registration: z.ZodOptional<z.ZodObject<{
127
78
  scenario: z.ZodEnum<typeof import("./module-manifest.schemas").ModuleRegistrationScenario>;
128
79
  moduleId: z.ZodString;
@@ -139,6 +90,11 @@ export declare const RegistryModulesLockEntrySchema: z.ZodObject<{
139
90
  serviceKey: z.ZodString;
140
91
  path: z.ZodString;
141
92
  }, z.core.$strict>>;
93
+ augments: z.ZodOptional<z.ZodString>;
94
+ vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
95
+ heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
96
+ onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
98
  }, z.core.$strict>>;
143
99
  }, z.core.$strict>>;
144
100
  }, z.core.$strict>;
@@ -177,72 +133,24 @@ export declare function localCheckoutProvenanceOf(entry: RegistryModulesLockEntr
177
133
  */
178
134
  export declare const RegistryModulesLockSectionSchema: z.ZodObject<{
179
135
  installed: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
180
- /** Module id, mirrors the manifest's `id` (e.g. `acme/billing`). */
181
136
  moduleId: z.ZodString;
182
- /** Where the module came from. Absent reads as REGISTRY (every entry before #2015). */
183
137
  distribution: z.ZodDefault<z.ZodEnum<typeof ModuleDistribution>>;
184
- /** REGISTRY only. Registry id from `wildo.saas.config.ts > moduleRegistries[].id`. */
185
138
  registryId: z.ZodOptional<z.ZodString>;
186
- /** REGISTRY only. Resolved registry URL at install time. Stored for audit + repair. */
187
139
  registryUrl: z.ZodOptional<z.ZodString>;
188
- /** LOCAL_CHECKOUT only. The framework checkout's commit when the module was staged. */
189
140
  checkoutCommit: z.ZodOptional<z.ZodString>;
190
- /** LOCAL_CHECKOUT only. Whether the module's source had uncommitted changes when it was staged. */
191
141
  checkoutDirty: z.ZodOptional<z.ZodBoolean>;
192
- /** Domain segment under the registry (e.g. `acme`). */
193
142
  domain: z.ZodString;
194
- /** Concrete resolved semver — never a range. */
195
143
  version: z.ZodString;
196
- /** Original CLI input (e.g. `^1.2.0`), kept for diff visibility. */
197
144
  requestedRange: z.ZodOptional<z.ZodString>;
198
- /**
199
- * REGISTRY only. Artifact integrity digest, format `sha256:<64-hex-lowercase>`.
200
- * Must match `ModuleVersionRecord.integrity` for the same artifact
201
- * — both fields share `Sha256DigestSchema` so a Phase 5 install
202
- * compares like-for-like (M-2.5).
203
- */
204
145
  artifactDigest: z.ZodOptional<z.ZodString>;
205
- /** ISO datetime of install for audit-log purposes. */
206
146
  installedAt: z.ZodISODateTime;
207
- /**
208
- * File paths copied into app source, relative to saas-root (POSIX separators).
209
- *
210
- * Each entry must be a file a module can own ({@link isModuleOwnedFilePath}): below a layer root,
211
- * with no dot-segment or `node_modules`. `wildo registry remove` and `update` DELETE these paths.
212
- * The lockfile is committed, merged and hand-edited, so an unconstrained string here — `"."`,
213
- * `".."`, `"/"`, `"wildo.saas.config.ts"` — was a delete of the application's own files waiting for
214
- * one bad merge. Refusing at parse time means a poisoned entry stops every registry command before
215
- * any file is touched.
216
- */
217
147
  files: z.ZodDefault<z.ZodArray<z.ZodString>>;
218
- /**
219
- * The SHA-256 of each file as the installer last WROTE it (#2016), keyed by the paths in `files`.
220
- *
221
- * A copied module is the application's to edit (the shadcn model), so `update`, `remove` and `repair`
222
- * must know which files the user changed before they overwrite or delete one: equal to this hash
223
- * means untouched and safe to replace; different means edited and kept, with a warning.
224
- *
225
- * Deliberately a separate map beside `files` rather than a reshape of it. `files` is OWNERSHIP, a
226
- * security rule (`remove` deletes those paths), and stays strictly validated; this is a fingerprint,
227
- * and is read TOLERANTLY: a malformed map reads as absent, and a path with no valid hash is treated as
228
- * edited. A bad fingerprint can only make a command more careful, never unable to run.
229
- *
230
- * Not a ledger in the one-source-of-truth sense: it lives in the committed lockfile, so it branches
231
- * and merges with the files it describes, and it never gates boot, `config sync` or a build.
232
- * Precedent: Debian and RPM conffile handling.
233
- */
234
148
  installedFileHashes: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
235
- /** Provenance flag — install vs update vs adopt. */
236
149
  source: z.ZodOptional<z.ZodEnum<{
237
150
  install: "install";
238
151
  update: "update";
239
152
  adopt: "adopt";
240
153
  }>>;
241
- /**
242
- * The registration the install APPLIED to the host's registries, so `remove` reverses exactly those
243
- * edits and `update` can tell whether it changed. Absent = nothing was registered (the module has no
244
- * registration, or it was installed before registration existed).
245
- */
246
154
  registration: z.ZodOptional<z.ZodObject<{
247
155
  scenario: z.ZodEnum<typeof import("./module-manifest.schemas").ModuleRegistrationScenario>;
248
156
  moduleId: z.ZodString;
@@ -259,6 +167,11 @@ export declare const RegistryModulesLockSectionSchema: z.ZodObject<{
259
167
  serviceKey: z.ZodString;
260
168
  path: z.ZodString;
261
169
  }, z.core.$strict>>;
170
+ augments: z.ZodOptional<z.ZodString>;
171
+ vendorPins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
172
+ heldVendorPins: z.ZodOptional<z.ZodArray<z.ZodString>>;
173
+ onlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
+ heldOnlyBuiltDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
175
  }, z.core.$strict>>;
263
176
  }, z.core.$strict>>;
264
177
  }, z.core.$strict>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"lockfile-modules-section.schemas.d.ts","sourceRoot":"","sources":["../../../src/registry/lockfile-modules-section.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC;;;;EAAyC,CAAC;AACzF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;GAIG;AACH,oBAAY,kBAAkB;IAC5B;;;;OAIG;IACH,QAAQ,aAAa;IACrB;;;;;OAKG;IACH,cAAc,mBAAmB;CAClC;AAKD;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;IACzC,oEAAoE;;IAEpE,uFAAuF;;IAEvF,sFAAsF;;IAEtF,uFAAuF;;IAEvF,uFAAuF;;IAEvF,mGAAmG;;IAEnG,uDAAuD;;IAEvD,gDAAgD;;IAEhD,oEAAoE;;IAEpE;;;;;OAKG;;IAEH,sDAAsD;;IAEtD;;;;;;;;;OASG;;IAIH;;;;;;;;;;;;;;;OAeG;;IAEH,oDAAoD;;;;;;IAEpD;;;;OAIG;;;;;;;;;;;;;;;;;;;kBAgBH,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE3F,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,gDAAgD;AAChD,MAAM,WAAW,6BAA6B;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,GAAG,wBAAwB,CAQ9F;AAED,sGAAsG;AACtG,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,wBAAwB,GAAG,6BAA6B,CAKxG;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;QAnI3C,oEAAoE;;QAEpE,uFAAuF;;QAEvF,sFAAsF;;QAEtF,uFAAuF;;QAEvF,uFAAuF;;QAEvF,mGAAmG;;QAEnG,uDAAuD;;QAEvD,gDAAgD;;QAEhD,oEAAoE;;QAEpE;;;;;WAKG;;QAEH,sDAAsD;;QAEtD;;;;;;;;;WASG;;QAIH;;;;;;;;;;;;;;;WAeG;;QAEH,oDAAoD;;;;;;QAEpD;;;;WAIG;;;;;;;;;;;;;;;;;;;;kBA2EJ,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
1
+ {"version":3,"file":"lockfile-modules-section.schemas.d.ts","sourceRoot":"","sources":["../../../src/registry/lockfile-modules-section.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC;;;;EAAyC,CAAC;AACzF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;GAIG;AACH,oBAAY,kBAAkB;IAC5B;;;;OAIG;IACH,QAAQ,aAAa;IACrB;;;;;OAKG;IACH,cAAc,mBAAmB;CAClC;AAKD;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgFzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE3F,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,gDAAgD;AAChD,MAAM,WAAW,6BAA6B;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,GAAG,wBAAwB,CAQ9F;AAED,sGAAsG;AACtG,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,wBAAwB,GAAG,6BAA6B,CAKxG;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAO5C,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -9,8 +9,7 @@
9
9
  * `wildo-saas.lock.json` envelope and are NEVER touched by code that
10
10
  * mutates `sections.modules`.
11
11
  *
12
- * The shape mirrors `module-registry-analysis.md` KD-4 / "Lockfile
13
- * Shape". Fields are intentionally minimal at Phase 0.5 — additional
12
+ * Fields are intentionally minimal — additional
14
13
  * fields must be justified by install/update behavior rather than
15
14
  * added preemptively.
16
15
  */