@wildo-ai/saas-specifications 1.1.2 → 1.1.4

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 (1007) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  17. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  19. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  21. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  23. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  25. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  26. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  27. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  28. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  29. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  31. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  32. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  33. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  35. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  36. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  42. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  43. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  44. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  47. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  55. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  57. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  59. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
  62. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
  64. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  65. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +508 -7
  66. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +489 -19
  68. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  69. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  70. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
  73. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
  75. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  76. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  79. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  81. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  82. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  84. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  85. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  86. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  90. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  92. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  93. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  94. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  95. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  96. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  97. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  98. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  100. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  101. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  102. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  104. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
  105. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  109. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  110. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  112. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  113. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  114. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  116. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  120. package/dist/esm/_core/index.d.ts +1 -0
  121. package/dist/esm/_core/index.d.ts.map +1 -1
  122. package/dist/esm/_core/index.js +1 -0
  123. package/dist/esm/_core/index.js.map +1 -1
  124. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  126. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  127. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  129. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  136. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  137. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  139. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  140. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  144. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  145. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
  146. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  147. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  148. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  150. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  151. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  152. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  154. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  156. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  158. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  159. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  160. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  161. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +72 -9
  162. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  163. package/dist/esm/_core/placement-plan/placement-plan-validation.js +68 -20
  164. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  165. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  166. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -5
  167. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  168. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -5
  169. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  170. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/provider-specification.schemas.d.ts +98 -0
  172. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  173. package/dist/esm/_core/provider-specification.schemas.js +124 -0
  174. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  175. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  176. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  178. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  179. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  180. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  181. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  182. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  183. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  184. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  185. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  186. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  188. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  189. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  191. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  192. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  193. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  196. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  197. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  198. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  199. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  200. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  201. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  202. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  205. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  206. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  207. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  208. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  209. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  210. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  211. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  212. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  213. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  214. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  215. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  218. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  219. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  220. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  221. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  222. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  223. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  226. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  227. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  228. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +7 -7
  229. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  230. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +6 -7
  231. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  232. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  233. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  234. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  235. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  236. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +2 -2
  237. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  238. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +2 -2
  239. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  240. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  241. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  242. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  243. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  244. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  245. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  246. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  247. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +16 -23
  248. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  249. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +65 -27
  250. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  251. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  252. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  253. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
  254. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  255. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  256. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  257. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  258. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  259. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +83 -49
  260. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  261. package/dist/esm/assurance/assurance-authority-basis.definitions.js +194 -60
  262. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  263. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +25 -0
  264. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  265. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  266. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  268. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  269. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  270. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +49 -0
  272. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  273. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2832 -0
  274. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  275. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  276. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  277. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  278. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  279. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  280. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +44 -7
  281. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  282. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +64 -7
  283. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  284. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +8 -1
  285. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  286. package/dist/esm/assurance/assurance-program-generation.schemas.js +10 -2
  287. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  288. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  289. package/dist/esm/assurance/assurance-program.schemas.d.ts +463 -11
  290. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  291. package/dist/esm/assurance/assurance-program.schemas.js +301 -5
  292. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  293. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  294. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  295. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  296. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  297. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +1028 -0
  298. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  299. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  300. package/dist/esm/assurance.exports.d.ts.map +1 -1
  301. package/dist/esm/companion-exports.d.ts +7 -6
  302. package/dist/esm/companion-exports.d.ts.map +1 -1
  303. package/dist/esm/companion-exports.js.map +1 -1
  304. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  305. package/dist/esm/engine/_bootstrap.js +3 -1
  306. package/dist/esm/engine/_bootstrap.js.map +1 -1
  307. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  308. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  309. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +13 -1
  310. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  311. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  313. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  315. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  316. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +14 -2
  317. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  318. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +9 -9
  320. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  322. package/dist/esm/engine/applications/resources/applications.resource.specification.js +1 -1
  323. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  325. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  326. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
  327. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  328. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
  329. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  330. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  331. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +3 -3
  332. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  333. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  334. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  335. package/dist/esm/engine/auth/resources/index.js +1 -0
  336. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  337. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  338. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +1 -1
  339. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  340. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  341. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +13 -1
  342. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  343. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  344. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +14 -2
  346. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  347. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  348. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  349. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  350. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  351. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  352. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +4 -4
  353. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  354. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -2
  356. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +6 -6
  359. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  361. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +9 -9
  362. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +2 -2
  365. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  366. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  367. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  368. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +112 -10
  369. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  370. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +2 -6
  371. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  373. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  374. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  375. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  376. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  377. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  378. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -3
  379. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  380. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  381. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  382. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -2
  383. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  385. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +3 -3
  387. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/billing/resources/prices.resource.specification.js +7 -7
  390. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/billing/resources/products.resource.specification.js +7 -7
  393. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  394. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  395. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +14 -12
  396. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -7
  399. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +6 -3
  402. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +7 -3
  404. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  405. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +28 -11
  406. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  407. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  408. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
  409. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  410. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
  411. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  412. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +8 -8
  414. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  416. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  417. package/dist/esm/engine/compliance/resources/index.js +1 -0
  418. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  419. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  420. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  421. package/dist/esm/engine/engine-resource-specifications.registry.js +10 -2
  422. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  423. package/dist/esm/engine/engine-resource-sub-domain.d.ts +20 -0
  424. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  425. package/dist/esm/engine/engine-resource-sub-domain.js +66 -0
  426. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  427. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  428. package/dist/esm/engine/errors/error-messages.specification.js +33 -0
  429. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  430. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  431. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  432. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  433. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  435. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  436. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  437. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  438. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  439. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  440. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/features/index.d.ts.map +1 -1
  442. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  443. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  444. package/dist/esm/engine/features/resources/application-features.resource.specification.js +3 -3
  445. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  446. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  447. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  448. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +3 -3
  449. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  450. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  451. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  452. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  453. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  455. package/dist/esm/engine/files/index.d.ts.map +1 -1
  456. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/files/resources/files.resource.specification.js +11 -11
  458. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  460. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +11 -11
  462. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  464. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +4 -4
  465. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  466. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  467. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -2
  468. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  469. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  470. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  471. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  474. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  476. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  477. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  479. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  480. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  483. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  484. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  486. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  487. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  488. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  490. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  493. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  494. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  495. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  500. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  501. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  503. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  507. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  509. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  510. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  512. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  515. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  516. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  518. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  520. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  521. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  522. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  524. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  525. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  526. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  527. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  528. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  529. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  530. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  532. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  533. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  534. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  535. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  536. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  537. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  539. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  540. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  543. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  545. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  547. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  549. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  551. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  555. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  556. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  560. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  561. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  562. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  563. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  565. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  568. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  570. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  571. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  573. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  574. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  575. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  578. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  579. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  580. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  582. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  583. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  586. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  587. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  588. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  591. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  592. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  594. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  595. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  596. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  598. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  599. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  602. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  604. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  607. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  608. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  609. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  614. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  616. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  618. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  619. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  620. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  622. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  623. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  624. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  626. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  627. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  629. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  631. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  634. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  635. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  637. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  638. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  642. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  645. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  647. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  649. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  651. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  654. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  658. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  659. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  663. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  667. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  672. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  674. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  675. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  689. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  690. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  692. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  694. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  698. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  700. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  703. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  704. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  708. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  709. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  710. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  711. package/dist/esm/engine/frontend-components/index.js +4 -6
  712. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  713. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  714. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  715. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  716. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  718. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  721. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  723. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  725. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  728. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  730. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  732. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  734. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  737. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  738. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  739. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  741. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  742. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  743. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  745. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  749. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  752. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  753. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  756. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  757. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  759. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  762. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  765. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  766. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  769. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  770. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  771. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  772. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  773. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  775. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  777. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  779. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  781. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  785. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  788. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  793. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  794. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  797. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  798. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +12 -12
  800. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  801. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  802. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  803. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +9 -9
  804. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  805. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +8 -0
  806. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +6 -6
  808. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  809. package/dist/esm/engine/index.d.ts +1 -0
  810. package/dist/esm/engine/index.d.ts.map +1 -1
  811. package/dist/esm/engine/index.js +1 -0
  812. package/dist/esm/engine/index.js.map +1 -1
  813. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  814. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +17 -17
  816. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +7 -7
  819. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  820. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  821. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +8 -8
  823. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  824. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  825. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +10 -5
  827. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  828. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  829. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  830. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -15
  832. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +11 -10
  835. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  836. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +29 -6
  838. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  839. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  841. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  845. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  846. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +9 -9
  848. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  849. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +3 -3
  851. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  852. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +4 -4
  854. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  855. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  856. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  857. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  858. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +1 -1
  860. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  861. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  862. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +7 -7
  864. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  865. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  866. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  867. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  868. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  869. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  870. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  871. package/dist/esm/engine/providers/anthropic.provider.specification.js +42 -0
  872. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  873. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  874. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  875. package/dist/esm/engine/providers/apple.provider.specification.js +44 -0
  876. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  877. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  878. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  879. package/dist/esm/engine/providers/email-preview.provider.specification.js +39 -0
  880. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  881. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  882. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  883. package/dist/esm/engine/providers/github.provider.specification.js +39 -0
  884. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  885. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  886. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  887. package/dist/esm/engine/providers/google.provider.specification.js +43 -0
  888. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  889. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  890. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  891. package/dist/esm/engine/providers/grok.provider.specification.js +39 -0
  892. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  893. package/dist/esm/engine/providers/index.d.ts +23 -0
  894. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  895. package/dist/esm/engine/providers/index.js +37 -0
  896. package/dist/esm/engine/providers/index.js.map +1 -0
  897. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  898. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  899. package/dist/esm/engine/providers/microsoft.provider.specification.js +39 -0
  900. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  901. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  902. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  903. package/dist/esm/engine/providers/mistral.provider.specification.js +42 -0
  904. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  905. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  906. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  907. package/dist/esm/engine/providers/openai.provider.specification.js +52 -0
  908. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  909. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  910. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  911. package/dist/esm/engine/providers/opencode.provider.specification.js +58 -0
  912. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  913. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  914. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  915. package/dist/esm/engine/providers/perplexity.provider.specification.js +39 -0
  916. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  917. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  918. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  919. package/dist/esm/engine/providers/resend.provider.specification.js +42 -0
  920. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  921. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  922. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  923. package/dist/esm/engine/providers/stripe.provider.specification.js +44 -0
  924. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  925. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  926. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  927. package/dist/esm/engine/providers/twilio.provider.specification.js +42 -0
  928. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  929. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  930. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  932. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  933. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  935. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  936. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  938. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  939. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/users/index.d.ts.map +1 -1
  944. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  945. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -7
  946. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  947. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +9 -9
  949. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  950. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  951. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  952. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  953. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  954. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  955. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -8
  957. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  958. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  959. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -4
  960. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +4 -4
  962. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  963. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -2
  965. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  966. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  967. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +13 -11
  969. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  970. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +1 -1
  972. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  973. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/users/resources/user-self.resource.specification.js +9 -9
  975. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  976. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  977. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/users/resources/users.resource.specification.js +93 -0
  979. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  980. package/dist/esm/index.d.ts.map +1 -1
  981. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  982. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +95 -45
  983. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  984. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  985. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  986. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  987. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  988. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  989. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  990. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  991. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  992. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  993. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  994. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +36 -0
  995. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  996. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  997. package/dist/tsconfig.build.tsbuildinfo +1 -1
  998. package/package.json +8 -8
  999. package/dist/assurance/external-framework-mapping.json +0 -980
  1000. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  1001. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  1002. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  1003. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  1004. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  1005. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  1006. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  1007. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
@@ -3,18 +3,55 @@ import { type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';
3
3
  export declare enum BuildPlanTaskGraphFindingCode {
4
4
  /** A prerequisite chain returns to its own task: no valid dispatch order exists. */
5
5
  PREREQUISITE_CYCLE = "PREREQUISITE_CYCLE",
6
- /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) somewhere in the graph. */
7
- RESOURCE_STAGE_WITHOUT_PREDECESSOR = "RESOURCE_STAGE_WITHOUT_PREDECESSOR"
6
+ /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */
7
+ RESOURCE_STAGE_WITHOUT_PREDECESSOR = "RESOURCE_STAGE_WITHOUT_PREDECESSOR",
8
+ /**
9
+ * The predecessor stage IS in the graph, and this task does not depend on it —
10
+ * so a dispatch order exists that runs this stage FIRST.
11
+ *
12
+ * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the
13
+ * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a
14
+ * resource whose schema already stands in the tree and needs no task, which is why that finding is
15
+ * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being
16
+ * (re)authored by a task in this same graph, and then permits the config to be written first.
17
+ *
18
+ * It is invisible without this check because the two mechanisms that decide ordering and the one
19
+ * that reports on it were reading different things: dispatch order comes SOLELY from
20
+ * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only
21
+ * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was
22
+ * therefore simultaneously finding-free and immediately ready, and a coding agent could be
23
+ * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.
24
+ */
25
+ RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = "RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR"
8
26
  }
9
27
  export interface BuildPlanTaskGraphFinding {
10
28
  readonly code: BuildPlanTaskGraphFindingCode;
11
29
  readonly taskRef: string | null;
12
30
  readonly message: string;
13
31
  }
32
+ /**
33
+ * The finding codes that must block a landing; everything else is an authoring warning.
34
+ *
35
+ * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
36
+ * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
37
+ * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
38
+ * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
39
+ * it, with nothing naming the disagreement.
40
+ *
41
+ * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits
42
+ * none at all; an undeclared stage edge admits one that builds config before schema). Everything
43
+ * else here is a judgement about authoring taste, which the creator's review owns.
44
+ */
45
+ export declare const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[];
14
46
  /**
15
47
  * Validate what Zod cannot: prerequisite cycles and the per-resource stage
16
48
  * sequence. Returns findings rather than throwing so a caller can treat a
17
- * cycle as a hard floor and a missing predecessor as an authoring warning.
49
+ * cycle as a hard floor and a missing predecessor as an authoring warning;
50
+ * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.
51
+ *
52
+ * The stage-sequence check asks TWO questions, because "the predecessor exists"
53
+ * and "this task waits for it" are different claims and only the second one
54
+ * constrains what the host may dispatch.
18
55
  */
19
56
  export declare function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[];
20
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,oBAAY,6BAA6B;IACvC,oFAAoF;IACpF,kBAAkB,uBAAuB;IACzC,yIAAyI;IACzI,kCAAkC,uCAAuC;CAC1E;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AASD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,yBAAyB,EAAE,CAyC1G;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAExJ"}
1
+ {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,oBAAY,6BAA6B;IACvC,oFAAoF;IACpF,kBAAkB,uBAAuB;IACzC,wIAAwI;IACxI,kCAAkC,uCAAuC;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,uCAAuC,4CAA4C;CACpF;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sCAAsC,EAAE,SAAS,6BAA6B,EAG1F,CAAC;AASF;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,yBAAyB,EAAE,CAgF1G;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAExJ"}
@@ -4,9 +4,44 @@ export var BuildPlanTaskGraphFindingCode;
4
4
  (function (BuildPlanTaskGraphFindingCode) {
5
5
  /** A prerequisite chain returns to its own task: no valid dispatch order exists. */
6
6
  BuildPlanTaskGraphFindingCode["PREREQUISITE_CYCLE"] = "PREREQUISITE_CYCLE";
7
- /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) somewhere in the graph. */
7
+ /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */
8
8
  BuildPlanTaskGraphFindingCode["RESOURCE_STAGE_WITHOUT_PREDECESSOR"] = "RESOURCE_STAGE_WITHOUT_PREDECESSOR";
9
+ /**
10
+ * The predecessor stage IS in the graph, and this task does not depend on it —
11
+ * so a dispatch order exists that runs this stage FIRST.
12
+ *
13
+ * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the
14
+ * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a
15
+ * resource whose schema already stands in the tree and needs no task, which is why that finding is
16
+ * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being
17
+ * (re)authored by a task in this same graph, and then permits the config to be written first.
18
+ *
19
+ * It is invisible without this check because the two mechanisms that decide ordering and the one
20
+ * that reports on it were reading different things: dispatch order comes SOLELY from
21
+ * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only
22
+ * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was
23
+ * therefore simultaneously finding-free and immediately ready, and a coding agent could be
24
+ * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.
25
+ */
26
+ BuildPlanTaskGraphFindingCode["RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR"] = "RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR";
9
27
  })(BuildPlanTaskGraphFindingCode || (BuildPlanTaskGraphFindingCode = {}));
28
+ /**
29
+ * The finding codes that must block a landing; everything else is an authoring warning.
30
+ *
31
+ * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
32
+ * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
33
+ * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
34
+ * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
35
+ * it, with nothing naming the disagreement.
36
+ *
37
+ * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits
38
+ * none at all; an undeclared stage edge admits one that builds config before schema). Everything
39
+ * else here is a judgement about authoring taste, which the creator's review owns.
40
+ */
41
+ export const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES = [
42
+ BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,
43
+ BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,
44
+ ];
10
45
  const STAGE_ORDER = [
11
46
  BuildPlanResourceStage.SCHEMA,
12
47
  BuildPlanResourceStage.CONFIG,
@@ -16,7 +51,12 @@ const STAGE_ORDER = [
16
51
  /**
17
52
  * Validate what Zod cannot: prerequisite cycles and the per-resource stage
18
53
  * sequence. Returns findings rather than throwing so a caller can treat a
19
- * cycle as a hard floor and a missing predecessor as an authoring warning.
54
+ * cycle as a hard floor and a missing predecessor as an authoring warning;
55
+ * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.
56
+ *
57
+ * The stage-sequence check asks TWO questions, because "the predecessor exists"
58
+ * and "this task waits for it" are different claims and only the second one
59
+ * constrains what the host may dispatch.
20
60
  */
21
61
  export function validateBuildPlanTaskGraph(graph) {
22
62
  // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is
@@ -40,7 +80,37 @@ export function validateBuildPlanTaskGraph(graph) {
40
80
  };
41
81
  for (const task of graph.tasks)
42
82
  visit(task.taskRef, []);
43
- // Per-resource stage sequence: each stage after SCHEMA needs its predecessor declared for the same resource.
83
+ /**
84
+ * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of
85
+ * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).
86
+ *
87
+ * Transitive rather than direct, because transitive reachability is exactly the property that
88
+ * matters: it is the statement "no dispatch order the host can produce puts this task before that
89
+ * one". A direct-edge requirement would refuse the legitimate authoring a live decomposition
90
+ * actually produces — `config` depending on `module`, which depends on `schema` — which would make
91
+ * the check a style rule rather than an ordering guarantee.
92
+ */
93
+ const closures = new Map();
94
+ const prerequisiteClosure = (taskRef) => {
95
+ const memoized = closures.get(taskRef);
96
+ if (memoized !== undefined)
97
+ return memoized;
98
+ const reached = new Set();
99
+ // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.
100
+ closures.set(taskRef, reached);
101
+ const walk = (current) => {
102
+ for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {
103
+ if (reached.has(prerequisite))
104
+ continue;
105
+ reached.add(prerequisite);
106
+ walk(prerequisite);
107
+ }
108
+ };
109
+ walk(taskRef);
110
+ return reached;
111
+ };
112
+ // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same
113
+ // resource, and needs to WAIT for it.
44
114
  for (const task of graph.tasks) {
45
115
  if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE)
46
116
  continue;
@@ -49,16 +119,25 @@ export function validateBuildPlanTaskGraph(graph) {
49
119
  continue;
50
120
  const predecessorStage = STAGE_ORDER[stageIndex - 1];
51
121
  const target = task.target;
52
- const hasPredecessor = graph.tasks.some((candidate) => candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE
122
+ const isPredecessor = (candidate) => candidate !== undefined
123
+ && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE
53
124
  && candidate.target.moduleRef === target.moduleRef
54
125
  && candidate.target.resourceRef === target.resourceRef
55
- && candidate.target.stage === predecessorStage);
56
- if (!hasPredecessor) {
126
+ && candidate.target.stage === predecessorStage;
127
+ if (!graph.tasks.some(isPredecessor)) {
57
128
  findings.push({
58
129
  code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,
59
130
  taskRef: task.taskRef,
60
131
  message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,
61
132
  });
133
+ continue;
134
+ }
135
+ if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {
136
+ findings.push({
137
+ code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,
138
+ taskRef: task.taskRef,
139
+ message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,
140
+ });
62
141
  }
63
142
  }
64
143
  return findings;
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAA2B,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,MAAM,CAAN,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,oFAAoF;IACpF,0EAAyC,CAAA;IACzC,yIAAyI;IACzI,0GAAyE,CAAA;AAC3E,CAAC,EALW,6BAA6B,KAA7B,6BAA6B,QAKxC;AAQD,MAAM,WAAW,GAAsC;IACrD,sBAAsB,CAAC,MAAM;IAC7B,sBAAsB,CAAC,MAAM;IAC7B,sBAAsB,CAAC,WAAW;IAClC,sBAAsB,CAAC,IAAI;CAC5B,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAyB;IAClE,oGAAoG;IACpG,6FAA6F;IAC7F,MAAM,QAAQ,GAAgC,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG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CAAC,CAAC;AAChK,CAAC","sourcesContent":["import { BuildPlanResourceStage, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) somewhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor declared for the same resource.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const hasPredecessor = graph.tasks.some((candidate) =>\n candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage,\n );\n if (!hasPredecessor) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n }\n }\n return findings;\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return graph.tasks.filter((task) => !landedTaskRefs.has(task.taskRef) && task.prerequisiteTaskRefs.every((prerequisite) => landedTaskRefs.has(prerequisite)));\n}\n"]}
1
+ {"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":"","sources":["../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAA2B,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,MAAM,CAAN,IAAY,6BAuBX;AAvBD,WAAY,6BAA6B;IACvC,oFAAoF;IACpF,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CAAC,EAAE,CAAC;YAC3G,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,6BAA6B,CAAC,uCAAuC;gBAC3E,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,YAAY,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,WAAW,mBAAmB,MAAM,CAAC,KAAK,YAAY,gBAAgB,eAAe,IAAI,CAAC,OAAO,kDAAkD,MAAM,CAAC,KAAK,SAAS;aACzN,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAyB,EAAE,cAAmC;IACtG,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AAChK,CAAC","sourcesContent":["import { BuildPlanResourceStage, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n /**\n * The predecessor stage IS in the graph, and this task does not depend on it —\n * so a dispatch order exists that runs this stage FIRST.\n *\n * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the\n * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a\n * resource whose schema already stands in the tree and needs no task, which is why that finding is\n * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being\n * (re)authored by a task in this same graph, and then permits the config to be written first.\n *\n * It is invisible without this check because the two mechanisms that decide ordering and the one\n * that reports on it were reading different things: dispatch order comes SOLELY from\n * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only\n * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was\n * therefore simultaneously finding-free and immediately ready, and a coding agent could be\n * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.\n */\n RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = 'RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity\n * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be\n * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which\n * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused\n * it, with nothing naming the disagreement.\n *\n * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits\n * none at all; an undeclared stage edge admits one that builds config before schema). Everything\n * else here is a judgement about authoring taste, which the creator's review owns.\n */\nexport const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[] = [\n BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,\n BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n];\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning;\n * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.\n *\n * The stage-sequence check asks TWO questions, because \"the predecessor exists\"\n * and \"this task waits for it\" are different claims and only the second one\n * constrains what the host may dispatch.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n\n /**\n * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of\n * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).\n *\n * Transitive rather than direct, because transitive reachability is exactly the property that\n * matters: it is the statement \"no dispatch order the host can produce puts this task before that\n * one\". A direct-edge requirement would refuse the legitimate authoring a live decomposition\n * actually produces — `config` depending on `module`, which depends on `schema` — which would make\n * the check a style rule rather than an ordering guarantee.\n */\n const closures = new Map<string, ReadonlySet<string>>();\n const prerequisiteClosure = (taskRef: string): ReadonlySet<string> => {\n const memoized = closures.get(taskRef);\n if (memoized !== undefined) return memoized;\n const reached = new Set<string>();\n // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.\n closures.set(taskRef, reached);\n const walk = (current: string): void => {\n for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {\n if (reached.has(prerequisite)) continue;\n reached.add(prerequisite);\n walk(prerequisite);\n }\n };\n walk(taskRef);\n return reached;\n };\n\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same\n // resource, and needs to WAIT for it.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const isPredecessor = (candidate: BuildPlanTaskGraph['tasks'][number] | undefined): boolean =>\n candidate !== undefined\n && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage;\n\n if (!graph.tasks.some(isPredecessor)) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n continue;\n }\n if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,\n });\n }\n }\n return findings;\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return graph.tasks.filter((task) => !landedTaskRefs.has(task.taskRef) && task.prerequisiteTaskRefs.every((prerequisite) => landedTaskRefs.has(prerequisite)));\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E;;;;;;;GAOG;AACH,oBAAY,yBAAyB;IACnC,EAAE,OAAO;CACV;AAED,yHAAyH;AACzH,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AAExD;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC,8GAA8G;IAC9G,MAAM,WAAW;IACjB,6EAA6E;IAC7E,cAAc,mBAAmB;IACjC,8CAA8C;IAC9C,YAAY,iBAAiB;IAC7B,wIAAwI;IACxI,yBAAyB,8BAA8B;IACvD;;;;;;;;;;;;OAYG;IACH,eAAe,oBAAoB;CACpC;AAED,2DAA2D;AAC3D,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AAYD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;IAelC,6HAA6H;;;;IAK7H;;;;;;;;;;;;;OAaG;;4BAGL,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;IAC9B,2DAA2D;;IAE3D,uDAAuD;;;;;;;;;;;;;;;;QAtCrD,6HAA6H;;;;QAK7H;;;;;;;;;;;;;WAaG;;;IAuBL;;;;;;;;;;;;OAYG;;IAEH,sHAAsH;;IAEtH,4FAA4F;;IAE5F,8FAA8F;;kBAE9F,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB;;;QA5CnC,2DAA2D;;QAE3D,uDAAuD;;;;;;;;;;;;;;;;YAtCrD,6HAA6H;;;;YAK7H;;;;;;;;;;;;;eAaG;;;QAuBL;;;;;;;;;;;;WAYG;;QAEH,sHAAsH;;QAEtH,4FAA4F;;QAE5F,8FAA8F;;;iBAiD9F,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,0DAA0D"}
1
+ {"version":3,"file":"build-plan-task-graph.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/build-plan/build-plan-task-graph.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E;;;;;;;GAOG;AACH,oBAAY,yBAAyB;IACnC,EAAE,OAAO;CACV;AAED,yHAAyH;AACzH,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AAExD;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC,8GAA8G;IAC9G,MAAM,WAAW;IACjB,6EAA6E;IAC7E,cAAc,mBAAmB;IACjC,8CAA8C;IAC9C,YAAY,iBAAiB;IAC7B,wIAAwI;IACxI,yBAAyB,8BAA8B;IACvD;;;;;;;;;;;;OAYG;IACH,eAAe,oBAAoB;CACpC;AAED,2DAA2D;AAC3D,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AAYD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;IAelC,6HAA6H;;;;IAK7H;;;;;;;;;;;;;OAaG;;4BAGL,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;IAC9B,2DAA2D;;IAE3D,uDAAuD;;;;;;;;;;;;;;;;QAtCrD,6HAA6H;;;;QAK7H;;;;;;;;;;;;;WAaG;;;IAuBL;;;;;;;;;;;;OAYG;;IAEH,sHAAsH;;IAEtH,4FAA4F;;IAE5F,8FAA8F;;kBAE9F,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB;;;QA5CnC,2DAA2D;;QAE3D,uDAAuD;;;;;;;;;;;;;;;;YAtCrD,6HAA6H;;;;YAK7H;;;;;;;;;;;;;eAaG;;;QAuBL;;;;;;;;;;;;WAYG;;QAEH,sHAAsH;;QAEtH,4FAA4F;;QAE5F,8FAA8F;;;iBAiD9F,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,0DAA0D"}
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,yBAAyB,EAAE,wBAuBvC,CAAC"}
1
+ {"version":3,"file":"build-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/_core/build-plan/build-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,yBAAyB,EAAE,wBAuBvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-authored-metadata.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-authored-metadata.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,mCAAmC;;;;;;iBAgB9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,qEAAqE"}
1
+ {"version":3,"file":"business-model-authored-metadata.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-authored-metadata.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,mCAAmC;;;;;;iBAgB9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,qEAAqE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAqE,gBAAgB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAE7K,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI1D;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,2BAA2B;IACtC,yFAAyF;;;IAGzF,mGAAmG;;;;;;IAMnG,uGAAuG;;IAEvG,gGAAgG;;kBAEhG,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,yCAAyC;IACpD;;;;OAIG;;;QArBH,yFAAyF;;;QAGzF,mGAAmG;;;;;;QAMnG,uGAAuG;;QAEvG,gGAAgG;;;kBAsBhG,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAE5G,mFAAmF;AACnF,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,OAAO,GAAG,yBAAyB,CAiBlG"}
1
+ {"version":3,"file":"business-model-lite-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAqE,gBAAgB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAG7K,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI1D;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,2BAA2B;IACtC,yFAAyF;;;IAGzF,mGAAmG;;;;;;IAMnG,uGAAuG;;IAEvG,gGAAgG;;kBAEhG,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,yCAAyC;IACpD;;;;OAIG;;;QArBH,yFAAyF;;;QAGzF,mGAAmG;;;;;;QAMnG,uGAAuG;;QAEvG,gGAAgG;;;kBA2BhG,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAE5G,mFAAmF;AACnF,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,OAAO,GAAG,yBAAyB,CAiBlG"}
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  import { NonEmptyStringSchema } from '../market/market-references.schemas.js';
3
3
  import { BusinessModelLiteSnapshotSchema, BusinessModelLiteSnapshotVersion, RevenueModelKind } from './business-model-lite-snapshot.schemas.js';
4
4
  import { PRICING_PLAN_REF_PREFIX } from './business-model-references.schemas.js';
5
+ import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
5
6
  import { PricingModelAxis } from './pricing-plan.schemas.js';
6
7
  const SemanticSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
7
8
  /**
@@ -47,13 +48,18 @@ export const BusinessModelLiteSnapshotGenerationSchema = z.strictObject({
47
48
  revenueModel: z.enum(RevenueModelKind),
48
49
  plans: z.array(PricingPlanGenerationSchema).min(1),
49
50
  }).superRefine((generated, context) => {
51
+ // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately
52
+ // not injective: `team` and `pricing-plan-team` are two distinct slugs that both become
53
+ // `pricing-plan-team`. Checking the slug would let that pair through and produce two plans sharing one
54
+ // ref, which makes every `includesRequirementRefs` traceability edge pointing back at it ambiguous.
50
55
  const seen = new Set();
51
56
  generated.plans.forEach((plan, index) => {
52
- if (seen.has(plan.slug)) {
53
- context.addIssue({ code: 'custom', path: ['plans', index, 'slug'], message: `duplicate pricing-plan slug "${plan.slug}"` });
57
+ const ref = applyFamilyRefPrefix(plan.slug, PRICING_PLAN_REF_PREFIX);
58
+ if (seen.has(ref)) {
59
+ context.addIssue({ code: 'custom', path: ['plans', index, 'slug'], message: `duplicate pricing-plan slug "${plan.slug}" (normalizes to "${ref}")` });
54
60
  return;
55
61
  }
56
- seen.add(plan.slug);
62
+ seen.add(ref);
57
63
  });
58
64
  });
59
65
  /** Normalize strict provider output into canonical persisted application truth. */
@@ -63,7 +69,7 @@ export function parseBusinessModelLiteSnapshotGeneration(input) {
63
69
  version: BusinessModelLiteSnapshotVersion.V1,
64
70
  revenueModel: generated.revenueModel,
65
71
  plans: generated.plans.map((plan) => ({
66
- ref: `${PRICING_PLAN_REF_PREFIX}${plan.slug}`,
72
+ ref: applyFamilyRefPrefix(plan.slug, PRICING_PLAN_REF_PREFIX),
67
73
  name: plan.name,
68
74
  ...(plan.pricePoint === null ? {} : { pricePoint: plan.pricePoint }),
69
75
  ...(plan.billingPeriod === null ? {} : { billingPeriod: plan.billingPeriod }),
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,gBAAgB,EAAkC,MAAM,wCAAwC,CAAC;AAC7K,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC;IACxD,yFAAyF;IACzF,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,mGAAmG;IACnG,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC3C,aAAa,EAAE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,CAAC,uBAAuB,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,EAAE,CAAC;SAChH,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { BusinessModelLiteSnapshotSchema, BusinessModelLiteSnapshotVersion, RevenueModelKind, type BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\nimport { PRICING_PLAN_REF_PREFIX } from './business-model-references.schemas';\nimport { PricingModelAxis } from './pricing-plan.schemas';\n\nconst SemanticSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The STRICT contract a provider answers for the business-model family.\n *\n * ## Why the family schema is not this contract\n *\n * `BusinessModelLiteSnapshotSchema` is permissive on purpose — it is what a hand-authored file is\n * parsed against, and `plans: default([])` is a legitimate \"not sketched yet\" state for a human. A\n * provider handed that same schema can satisfy it with `{}`, which is the vacuity class already\n * closed on vision, roadmap, requirements and the build plan: schema-valid, validator-clean, and\n * carrying no information a reader could act on. So the generation contract requires at least one\n * plan and a classified revenue model, and stamps refs in the trusted runtime rather than asking the\n * model to produce them.\n *\n * ## Nullable rather than optional, deliberately\n *\n * Every optional field is `.nullable()` and required, matching the sibling contracts: an omitted key\n * and a considered \"there is none\" are different answers, and a provider that may simply drop a key\n * gives no way to tell them apart. The normalizer turns `null` back into absence.\n */\nexport const PricingPlanGenerationSchema = z.strictObject({\n /** Stamped into `pricing-plan-<slug>` by the runtime — the model never authors a ref. */\n slug: SemanticSlugSchema,\n name: NonEmptyStringSchema,\n /** Free prose (\"$29 / user / month\", \"contact us\") — never a parsed money type at sketch depth. */\n pricePoint: NonEmptyStringSchema.nullable(),\n billingPeriod: NonEmptyStringSchema.nullable(),\n pricingModel: z.enum(PricingModelAxis).nullable(),\n includes: NonEmptyStringSchema.nullable(),\n targetSummary: NonEmptyStringSchema.nullable(),\n /** Market ICP refs this plan is sold to. The family validator resolves them when a set is supplied. */\n targetIcpRefs: z.array(NonEmptyStringSchema),\n /** Requirement refs this plan unlocks — the traceability foundation reads to derive billing. */\n includesRequirementRefs: z.array(NonEmptyStringSchema),\n});\nexport type PricingPlanGeneration = z.infer<typeof PricingPlanGenerationSchema>;\n\nexport const BusinessModelLiteSnapshotGenerationSchema = z.strictObject({\n /**\n * Required here though optional on the family schema. An unclassified revenue model is precisely\n * the fact `bottom_up.foundation` derives the billing capability from, so a snapshot that omits it\n * costs the reader the one thing this family exists to tell them.\n */\n revenueModel: z.enum(RevenueModelKind),\n plans: z.array(PricingPlanGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n const seen = new Set<string>();\n generated.plans.forEach((plan, index) => {\n if (seen.has(plan.slug)) {\n context.addIssue({ code: 'custom', path: ['plans', index, 'slug'], message: `duplicate pricing-plan slug \"${plan.slug}\"` });\n return;\n }\n seen.add(plan.slug);\n });\n});\nexport type BusinessModelLiteSnapshotGeneration = z.infer<typeof BusinessModelLiteSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into canonical persisted application truth. */\nexport function parseBusinessModelLiteSnapshotGeneration(input: unknown): BusinessModelLiteSnapshot {\n const generated = BusinessModelLiteSnapshotGenerationSchema.parse(input);\n return BusinessModelLiteSnapshotSchema.parse({\n version: BusinessModelLiteSnapshotVersion.V1,\n revenueModel: generated.revenueModel,\n plans: generated.plans.map((plan) => ({\n ref: `${PRICING_PLAN_REF_PREFIX}${plan.slug}`,\n name: plan.name,\n ...(plan.pricePoint === null ? {} : { pricePoint: plan.pricePoint }),\n ...(plan.billingPeriod === null ? {} : { billingPeriod: plan.billingPeriod }),\n ...(plan.pricingModel === null ? {} : { pricingModel: plan.pricingModel }),\n ...(plan.includes === null ? {} : { includes: plan.includes }),\n ...(plan.targetSummary === null ? {} : { targetSummary: plan.targetSummary }),\n ...(plan.targetIcpRefs.length === 0 ? {} : { targetIcpRefs: plan.targetIcpRefs }),\n ...(plan.includesRequirementRefs.length === 0 ? {} : { includesRequirementRefs: plan.includesRequirementRefs }),\n })),\n });\n}\n"]}
1
+ {"version":3,"file":"business-model-lite-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,gBAAgB,EAAkC,MAAM,wCAAwC,CAAC;AAC7K,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC;IACxD,yFAAyF;IACzF,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,oBAAoB;IAC1B,mGAAmG;IACnG,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC3C,aAAa,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE;IACjD,QAAQ,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACzC,aAAa,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC9C,uGAAuG;IACvG,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IAC5C,gGAAgG;IAChG,uBAAuB,EAAE,CAAC,CAAC,KAAK,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esContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { BusinessModelLiteSnapshotSchema, BusinessModelLiteSnapshotVersion, RevenueModelKind, type BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\nimport { PRICING_PLAN_REF_PREFIX } from './business-model-references.schemas';\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport { PricingModelAxis } from './pricing-plan.schemas';\n\nconst SemanticSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The STRICT contract a provider answers for the business-model family.\n *\n * ## Why the family schema is not this contract\n *\n * `BusinessModelLiteSnapshotSchema` is permissive on purpose — it is what a hand-authored file is\n * parsed against, and `plans: default([])` is a legitimate \"not sketched yet\" state for a human. A\n * provider handed that same schema can satisfy it with `{}`, which is the vacuity class already\n * closed on vision, roadmap, requirements and the build plan: schema-valid, validator-clean, and\n * carrying no information a reader could act on. So the generation contract requires at least one\n * plan and a classified revenue model, and stamps refs in the trusted runtime rather than asking the\n * model to produce them.\n *\n * ## Nullable rather than optional, deliberately\n *\n * Every optional field is `.nullable()` and required, matching the sibling contracts: an omitted key\n * and a considered \"there is none\" are different answers, and a provider that may simply drop a key\n * gives no way to tell them apart. The normalizer turns `null` back into absence.\n */\nexport const PricingPlanGenerationSchema = z.strictObject({\n /** Stamped into `pricing-plan-<slug>` by the runtime — the model never authors a ref. */\n slug: SemanticSlugSchema,\n name: NonEmptyStringSchema,\n /** Free prose (\"$29 / user / month\", \"contact us\") — never a parsed money type at sketch depth. */\n pricePoint: NonEmptyStringSchema.nullable(),\n billingPeriod: NonEmptyStringSchema.nullable(),\n pricingModel: z.enum(PricingModelAxis).nullable(),\n includes: NonEmptyStringSchema.nullable(),\n targetSummary: NonEmptyStringSchema.nullable(),\n /** Market ICP refs this plan is sold to. The family validator resolves them when a set is supplied. */\n targetIcpRefs: z.array(NonEmptyStringSchema),\n /** Requirement refs this plan unlocks — the traceability foundation reads to derive billing. */\n includesRequirementRefs: z.array(NonEmptyStringSchema),\n});\nexport type PricingPlanGeneration = z.infer<typeof PricingPlanGenerationSchema>;\n\nexport const BusinessModelLiteSnapshotGenerationSchema = z.strictObject({\n /**\n * Required here though optional on the family schema. An unclassified revenue model is precisely\n * the fact `bottom_up.foundation` derives the billing capability from, so a snapshot that omits it\n * costs the reader the one thing this family exists to tell them.\n */\n revenueModel: z.enum(RevenueModelKind),\n plans: z.array(PricingPlanGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `team` and `pricing-plan-team` are two distinct slugs that both become\n // `pricing-plan-team`. Checking the slug would let that pair through and produce two plans sharing one\n // ref, which makes every `includesRequirementRefs` traceability edge pointing back at it ambiguous.\n const seen = new Set<string>();\n generated.plans.forEach((plan, index) => {\n const ref = applyFamilyRefPrefix(plan.slug, PRICING_PLAN_REF_PREFIX);\n if (seen.has(ref)) {\n context.addIssue({ code: 'custom', path: ['plans', index, 'slug'], message: `duplicate pricing-plan slug \"${plan.slug}\" (normalizes to \"${ref}\")` });\n return;\n }\n seen.add(ref);\n });\n});\nexport type BusinessModelLiteSnapshotGeneration = z.infer<typeof BusinessModelLiteSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into canonical persisted application truth. */\nexport function parseBusinessModelLiteSnapshotGeneration(input: unknown): BusinessModelLiteSnapshot {\n const generated = BusinessModelLiteSnapshotGenerationSchema.parse(input);\n return BusinessModelLiteSnapshotSchema.parse({\n version: BusinessModelLiteSnapshotVersion.V1,\n revenueModel: generated.revenueModel,\n plans: generated.plans.map((plan) => ({\n ref: applyFamilyRefPrefix(plan.slug, PRICING_PLAN_REF_PREFIX),\n name: plan.name,\n ...(plan.pricePoint === null ? {} : { pricePoint: plan.pricePoint }),\n ...(plan.billingPeriod === null ? {} : { billingPeriod: plan.billingPeriod }),\n ...(plan.pricingModel === null ? {} : { pricingModel: plan.pricingModel }),\n ...(plan.includes === null ? {} : { includes: plan.includes }),\n ...(plan.targetSummary === null ? {} : { targetSummary: plan.targetSummary }),\n ...(plan.targetIcpRefs.length === 0 ? {} : { targetIcpRefs: plan.targetIcpRefs }),\n ...(plan.includesRequirementRefs.length === 0 ? {} : { includesRequirementRefs: plan.includesRequirementRefs }),\n })),\n });\n}\n"]}
@@ -104,6 +104,21 @@ export interface BusinessModelLiteSnapshotValidationResult {
104
104
  ok: boolean;
105
105
  issues: BusinessModelLiteSnapshotIssue[];
106
106
  }
107
+ /**
108
+ * Options for this family validator.
109
+ *
110
+ * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check
111
+ *
112
+ * A family validator sees one family. It cannot resolve a reference into another family's
113
+ * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller
114
+ * saying "I have this context, use it". Omit one and the matching check does not run: no issue is
115
+ * reported, and the absence looks exactly like a snapshot with no such reference.
116
+ *
117
+ * That is deliberate — the families are decoupled on purpose — but it means a validator called with
118
+ * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling
119
+ * cross-family references caught, supply the sets; if you validate one family in isolation, expect
120
+ * them to be found later by whatever holds every family at once.
121
+ */
107
122
  export interface ValidateBusinessModelLiteSnapshotOptions {
108
123
  /** Override "now" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */
109
124
  now?: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,oBAAY,kCAAkC;IAC5C;;;;;OAKG;IACH,kBAAkB,uBAAuB;IACzC;;;OAGG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;;OAQG;IACH,mBAAmB,wBAAwB;IAC3C,qEAAqE;IACrE,QAAQ,aAAa;IACrB;;;;;;;;OAQG;IACH,gBAAgB,qBAAqB;IACrC,iGAAiG;IACjG,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,eAAe,oBAAoB;IACnC;;;;OAIG;IACH,uBAAuB,4BAA4B;CACpD;AAED,oBAAY,sCAAsC;IAChD,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,kCAAkC,CAAC;IACzC,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,sCAAsC,CAAC;CAClD;AAED,MAAM,WAAW,yCAAyC;IACxD,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,8BAA8B,EAAE,CAAC;CAC1C;AAED,MAAM,WAAW,wCAAwC;IACvD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAChD;AAeD,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,yBAAyB,EACnC,OAAO,CAAC,EAAE,wCAAwC,GACjD,yCAAyC,CAc3C;AA+JD,gEAAgE"}
1
+ {"version":3,"file":"business-model-lite-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,oBAAY,kCAAkC;IAC5C;;;;;OAKG;IACH,kBAAkB,uBAAuB;IACzC;;;OAGG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;;OAQG;IACH,mBAAmB,wBAAwB;IAC3C,qEAAqE;IACrE,QAAQ,aAAa;IACrB;;;;;;;;OAQG;IACH,gBAAgB,qBAAqB;IACrC,iGAAiG;IACjG,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,eAAe,oBAAoB;IACnC;;;;OAIG;IACH,uBAAuB,4BAA4B;CACpD;AAED,oBAAY,sCAAsC;IAChD,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,kCAAkC,CAAC;IACzC,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,sCAAsC,CAAC;CAClD;AAED,MAAM,WAAW,yCAAyC;IACxD,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,8BAA8B,EAAE,CAAC;CAC1C;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,wCAAwC;IACvD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAChD;AAeD,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,yBAAyB,EACnC,OAAO,CAAC,EAAE,wCAAwC,GACjD,yCAAyC,CAc3C;AA+JD,gEAAgE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,kCAiDX;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;gBAC1D,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,kCAAkC,CAAC,uBAAuB;oBAChE,IAAI,EAAE,SAAS,KAAK,6BAA6B,QAAQ,GAAG;oBAC5D,OAAO,EAAE,oBAAoB,MAAM,cAAc,KAAK,CAAC,GAAG,yDAAyD;oBACnH,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AACD,gEAAgE","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { BusinessModelAuthoredMetadata } from './business-model-authored-metadata.schemas';\nimport type { PricingPlanConfig } from './pricing-plan.schemas';\nimport { PRICING_PLAN_REF_PATTERN } from './business-model-references.schemas';\nimport type { BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\n\n/**\n * @wildo_source:part:start business-model.snapshot.validation facet:layer:specification facet:family:business-model\n *\n * Authoring-consistency validator for an assembled\n * `BusinessModelLiteSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot — no\n * Zod introspection, no registry access, no I/O (the `_core` validator\n * convention shared with `validateMarketSnapshot` / `validateVisionSnapshot`\n * / `validateRequirementsSnapshot` / `validateRoadmapSnapshot` /\n * `validateAssertionSpecificationSnapshot`). Zod already enforces structural\n * validity (ref formats at parse time); this walker adds the cross-entity +\n * completeness checks Zod cannot express, the defence-in-depth ref-format\n * check for type-asserted fixtures that bypass parsing, and the fail-soft\n * cross-family ICP / requirement ref resolution.\n *\n * Rule table — 8 kinds (scaffold depth, Phase J1 — deeper pricing / revenue\n * analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |----------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A plan ref fails the shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two plans share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same target/include-ref is listed more than once on ONE plan's cross-ref list — the repeat is noise the catalog silently dedupes. Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — each cross-ref list is its own namespace. |\n * | `NO_PLANS` | WARN | `plans` empty — the business model sketches no pricing. |\n * | `NO_REVENUE_MODEL` | WARN | `plans` are authored but the product-level `revenueModel` is unset — the pricing sketch is classified per-plan (`PricingModelAxis`) but the product's headline revenue model is undeclared. GATED on `plans.length > 0`: an empty snapshot is already fully described by `NO_PLANS`, so this fires only for the sharper \"sketched pricing, forgot the revenue model\" state (no redundant double-warn on `{}`). |\n * | `STALE_AUTHORED` | WARN | Any plan's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | A `targetIcpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_REQUIREMENT_REF` | ERROR | An `includesRequirementRefs` entry does not resolve in `options.availableRequirementRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * There is deliberately NO `DUPLICATE_SEQUENCE` detector: pricing plans (unlike\n * roadmap phases) are NOT inherently ordered, so the family carries no\n * `sequence` axis to collide on.\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum BusinessModelLiteSnapshotIssueKind {\n /**\n * A plan ref violates its kebab-case prefix contract. The Zod schema\n * rejects this at parse time; the detector remains as defence in depth for\n * callers that bypass parsing (tests building snapshots with type-asserted\n * fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two plans share a ref. The collection is addressed by ref downstream, so\n * a duplicate silently drops one plan. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / requirement ref appears more than once on ONE plan's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes it\n * (or double-counts it in coverage). WARN, not ERROR: the plan is still\n * valid, the authoring is just untidy. Runs unconditionally (intra-\n * snapshot, needs no external set); each cross-ref list is its own\n * namespace, so the same string appearing once in each of the two lists is\n * NOT a duplicate.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `plans` empty — the business model sketches no pricing (WARN). */\n NO_PLANS = 'no_plans',\n /**\n * `plans` are authored but the product-level `revenueModel` is unset. The\n * pricing sketch classifies HOW each plan scales (`PricingModelAxis`) but\n * leaves the product's headline \"how it makes money\" undeclared. WARN, not\n * ERROR: the model is still structurally valid, just under-classified.\n * GATED on `plans.length > 0` — a fully-empty snapshot is already covered\n * by `NO_PLANS`, so this never double-warns on `{}`; it fires only for the\n * sharper \"sketched pricing, forgot the revenue model\" state.\n */\n NO_REVENUE_MODEL = 'no_revenue_model',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision/requirements/roadmap parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * A `targetIcpRefs` entry does not resolve against the supplied ICP-ref\n * set — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * An `includesRequirementRefs` entry does not resolve against the supplied\n * requirement-ref set. ERROR when a set is supplied; SKIPPED (fail-soft)\n * when it is not.\n */\n UNKNOWN_REQUIREMENT_REF = 'unknown_requirement_ref',\n}\n\nexport enum BusinessModelLiteSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface BusinessModelLiteSnapshotIssue {\n kind: BusinessModelLiteSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'plans[2].ref'`). */\n path: string;\n message: string;\n severity: BusinessModelLiteSnapshotIssueSeverity;\n}\n\nexport interface BusinessModelLiteSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: BusinessModelLiteSnapshotIssue[];\n}\n\nexport interface ValidateBusinessModelLiteSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `targetIcpRefs` entry\n * not in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the business-model family is decoupled\n * from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable functional-requirement refs. Same skip-when-omitted semantics\n * as `availableIcpRefs`, reported as `UNKNOWN_REQUIREMENT_REF`.\n */\n availableRequirementRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / requirements\n * / roadmap / assertions validators (module-local there too — a shared\n * promotion is part of the deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateBusinessModelLiteSnapshot(\n snapshot: BusinessModelLiteSnapshot,\n options?: ValidateBusinessModelLiteSnapshotOptions,\n): BusinessModelLiteSnapshotValidationResult {\n const issues: BusinessModelLiteSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== BusinessModelLiteSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (PRICING_PLAN_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `plans[${index}].ref`,\n message: `Pricing-plan ref \"${entry.ref}\" is not kebab-case with the \"pricing-plan-\" prefix.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n snapshot.plans.forEach((entry, index) => {\n if (!seen.has(entry.ref)) {\n seen.add(entry.ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_REF,\n path: `plans[${index}].ref`,\n message: `Duplicate ref \"${entry.ref}\" in plans — refs must be unique; the collection is addressed by ref downstream.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entry: PricingPlanConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on plan \"${entry.ref}\" (${path}). Remove the duplicate.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n snapshot.plans.forEach((entry, index) => {\n checkList(entry.targetIcpRefs, entry, `plans[${index}].targetIcpRefs`);\n checkList(\n entry.includesRequirementRefs,\n entry,\n `plans[${index}].includesRequirementRefs`,\n );\n });\n}\n\nfunction detectIncompleteness(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n if (snapshot.plans.length === 0) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_PLANS,\n path: 'plans',\n message: 'Business model sketches no pricing plans — it describes no way the product is sold.',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n // Gated on plans being present: an empty snapshot is already covered by\n // NO_PLANS, so this fires only for the sharper \"pricing is sketched but the\n // product's headline revenue model is undeclared\" state.\n if (snapshot.plans.length > 0 && snapshot.revenueModel === undefined) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_REVENUE_MODEL,\n path: 'revenueModel',\n message: 'Pricing plans are authored but revenueModel is unset — classify how the product makes money (RevenueModelKind).',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: BusinessModelLiteSnapshot,\n now: Date,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkOne = (\n authored: BusinessModelAuthoredMetadata | undefined,\n path: string,\n ): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Pricing plan at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.plans.forEach((entry, index) =>\n checkOne(entry.authored, `plans[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n options: ValidateBusinessModelLiteSnapshotOptions | undefined,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (options?.availableIcpRefs !== undefined) {\n entry.targetIcpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `plans[${index}].targetIcpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on plan \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableRequirementRefs !== undefined) {\n entry.includesRequirementRefs?.forEach((reqRef, refIndex) => {\n if (options.availableRequirementRefs!.has(reqRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_REQUIREMENT_REF,\n path: `plans[${index}].includesRequirementRefs[${refIndex}]`,\n message: `Requirement ref \"${reqRef}\" on plan \"${entry.ref}\" does not resolve in the supplied requirement-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n });\n}\n/** @wildo_source:part:end business-model.snapshot.validation */\n"]}
1
+ {"version":3,"file":"business-model-lite-snapshot-validation.js","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,kCAiDX;AAjDD,WAAY,kCAAkC;IAC5C;;;;;OAKG;IACH,+EAAyC,CAAA;IACzC;;;OAGG;IACH,qEAA+B,CAAA;IAC/B;;;;;;;;OAQG;IACH,iFAA2C,CAAA;IAC3C,qEAAqE;IACrE,2DAAqB,CAA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,KAAK,CAAC,GAAG,yDAAyD;oBACnH,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AACD,gEAAgE","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { BusinessModelAuthoredMetadata } from './business-model-authored-metadata.schemas';\nimport type { PricingPlanConfig } from './pricing-plan.schemas';\nimport { PRICING_PLAN_REF_PATTERN } from './business-model-references.schemas';\nimport type { BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\n\n/**\n * @wildo_source:part:start business-model.snapshot.validation facet:layer:specification facet:family:business-model\n *\n * Authoring-consistency validator for an assembled\n * `BusinessModelLiteSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot — no\n * Zod introspection, no registry access, no I/O (the `_core` validator\n * convention shared with `validateMarketSnapshot` / `validateVisionSnapshot`\n * / `validateRequirementsSnapshot` / `validateRoadmapSnapshot` /\n * `validateAssertionSpecificationSnapshot`). Zod already enforces structural\n * validity (ref formats at parse time); this walker adds the cross-entity +\n * completeness checks Zod cannot express, the defence-in-depth ref-format\n * check for type-asserted fixtures that bypass parsing, and the fail-soft\n * cross-family ICP / requirement ref resolution.\n *\n * Rule table — 8 kinds (scaffold depth, Phase J1 — deeper pricing / revenue\n * analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |----------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A plan ref fails the shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two plans share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same target/include-ref is listed more than once on ONE plan's cross-ref list — the repeat is noise the catalog silently dedupes. Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — each cross-ref list is its own namespace. |\n * | `NO_PLANS` | WARN | `plans` empty — the business model sketches no pricing. |\n * | `NO_REVENUE_MODEL` | WARN | `plans` are authored but the product-level `revenueModel` is unset — the pricing sketch is classified per-plan (`PricingModelAxis`) but the product's headline revenue model is undeclared. GATED on `plans.length > 0`: an empty snapshot is already fully described by `NO_PLANS`, so this fires only for the sharper \"sketched pricing, forgot the revenue model\" state (no redundant double-warn on `{}`). |\n * | `STALE_AUTHORED` | WARN | Any plan's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | A `targetIcpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_REQUIREMENT_REF` | ERROR | An `includesRequirementRefs` entry does not resolve in `options.availableRequirementRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * There is deliberately NO `DUPLICATE_SEQUENCE` detector: pricing plans (unlike\n * roadmap phases) are NOT inherently ordered, so the family carries no\n * `sequence` axis to collide on.\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum BusinessModelLiteSnapshotIssueKind {\n /**\n * A plan ref violates its kebab-case prefix contract. The Zod schema\n * rejects this at parse time; the detector remains as defence in depth for\n * callers that bypass parsing (tests building snapshots with type-asserted\n * fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two plans share a ref. The collection is addressed by ref downstream, so\n * a duplicate silently drops one plan. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / requirement ref appears more than once on ONE plan's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes it\n * (or double-counts it in coverage). WARN, not ERROR: the plan is still\n * valid, the authoring is just untidy. Runs unconditionally (intra-\n * snapshot, needs no external set); each cross-ref list is its own\n * namespace, so the same string appearing once in each of the two lists is\n * NOT a duplicate.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `plans` empty — the business model sketches no pricing (WARN). */\n NO_PLANS = 'no_plans',\n /**\n * `plans` are authored but the product-level `revenueModel` is unset. The\n * pricing sketch classifies HOW each plan scales (`PricingModelAxis`) but\n * leaves the product's headline \"how it makes money\" undeclared. WARN, not\n * ERROR: the model is still structurally valid, just under-classified.\n * GATED on `plans.length > 0` — a fully-empty snapshot is already covered\n * by `NO_PLANS`, so this never double-warns on `{}`; it fires only for the\n * sharper \"sketched pricing, forgot the revenue model\" state.\n */\n NO_REVENUE_MODEL = 'no_revenue_model',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision/requirements/roadmap parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * A `targetIcpRefs` entry does not resolve against the supplied ICP-ref\n * set — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * An `includesRequirementRefs` entry does not resolve against the supplied\n * requirement-ref set. ERROR when a set is supplied; SKIPPED (fail-soft)\n * when it is not.\n */\n UNKNOWN_REQUIREMENT_REF = 'unknown_requirement_ref',\n}\n\nexport enum BusinessModelLiteSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface BusinessModelLiteSnapshotIssue {\n kind: BusinessModelLiteSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'plans[2].ref'`). */\n path: string;\n message: string;\n severity: BusinessModelLiteSnapshotIssueSeverity;\n}\n\nexport interface BusinessModelLiteSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: BusinessModelLiteSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateBusinessModelLiteSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `targetIcpRefs` entry\n * not in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the business-model family is decoupled\n * from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable functional-requirement refs. Same skip-when-omitted semantics\n * as `availableIcpRefs`, reported as `UNKNOWN_REQUIREMENT_REF`.\n */\n availableRequirementRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / requirements\n * / roadmap / assertions validators (module-local there too — a shared\n * promotion is part of the deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateBusinessModelLiteSnapshot(\n snapshot: BusinessModelLiteSnapshot,\n options?: ValidateBusinessModelLiteSnapshotOptions,\n): BusinessModelLiteSnapshotValidationResult {\n const issues: BusinessModelLiteSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== BusinessModelLiteSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (PRICING_PLAN_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `plans[${index}].ref`,\n message: `Pricing-plan ref \"${entry.ref}\" is not kebab-case with the \"pricing-plan-\" prefix.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n snapshot.plans.forEach((entry, index) => {\n if (!seen.has(entry.ref)) {\n seen.add(entry.ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_REF,\n path: `plans[${index}].ref`,\n message: `Duplicate ref \"${entry.ref}\" in plans — refs must be unique; the collection is addressed by ref downstream.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entry: PricingPlanConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on plan \"${entry.ref}\" (${path}). Remove the duplicate.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n snapshot.plans.forEach((entry, index) => {\n checkList(entry.targetIcpRefs, entry, `plans[${index}].targetIcpRefs`);\n checkList(\n entry.includesRequirementRefs,\n entry,\n `plans[${index}].includesRequirementRefs`,\n );\n });\n}\n\nfunction detectIncompleteness(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n if (snapshot.plans.length === 0) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_PLANS,\n path: 'plans',\n message: 'Business model sketches no pricing plans — it describes no way the product is sold.',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n // Gated on plans being present: an empty snapshot is already covered by\n // NO_PLANS, so this fires only for the sharper \"pricing is sketched but the\n // product's headline revenue model is undeclared\" state.\n if (snapshot.plans.length > 0 && snapshot.revenueModel === undefined) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_REVENUE_MODEL,\n path: 'revenueModel',\n message: 'Pricing plans are authored but revenueModel is unset — classify how the product makes money (RevenueModelKind).',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: BusinessModelLiteSnapshot,\n now: Date,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkOne = (\n authored: BusinessModelAuthoredMetadata | undefined,\n path: string,\n ): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Pricing plan at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.plans.forEach((entry, index) =>\n checkOne(entry.authored, `plans[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n options: ValidateBusinessModelLiteSnapshotOptions | undefined,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (options?.availableIcpRefs !== undefined) {\n entry.targetIcpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `plans[${index}].targetIcpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on plan \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableRequirementRefs !== undefined) {\n entry.includesRequirementRefs?.forEach((reqRef, refIndex) => {\n if (options.availableRequirementRefs!.has(reqRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_REQUIREMENT_REF,\n path: `plans[${index}].includesRequirementRefs[${refIndex}]`,\n message: `Requirement ref \"${reqRef}\" on plan \"${entry.ref}\" does not resolve in the supplied requirement-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n });\n}\n/** @wildo_source:part:end business-model.snapshot.validation */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;GASG;AACH,oBAAY,gCAAgC;IAC1C,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,gBAAgB;IAC1B,sDAAsD;IACtD,YAAY,iBAAiB;IAC7B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,0CAA0C;IAC1C,iBAAiB,sBAAsB;IACvC,iEAAiE;IACjE,QAAQ,aAAa;IACrB,0DAA0D;IAC1D,sBAAsB,2BAA2B;IACjD,yCAAyC;IACzC,WAAW,gBAAgB;IAC3B,sDAAsD;IACtD,KAAK,UAAU;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;iBAQ1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,4DAA4D"}
1
+ {"version":3,"file":"business-model-lite-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;GASG;AACH,oBAAY,gCAAgC;IAC1C,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,gBAAgB;IAC1B,sDAAsD;IACtD,YAAY,iBAAiB;IAC7B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,0CAA0C;IAC1C,iBAAiB,sBAAsB;IACvC,iEAAiE;IACjE,QAAQ,aAAa;IACrB,0DAA0D;IAC1D,sBAAsB,2BAA2B;IACjD,yCAAyC;IACzC,WAAW,gBAAgB;IAC3B,sDAAsD;IACtD,KAAK,UAAU;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;iBAQ1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,4DAA4D"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-references.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAA0C,CAAC;AAEhF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AACJ,mEAAmE"}
1
+ {"version":3,"file":"business-model-references.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAA0C,CAAC;AAEhF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AACJ,mEAAmE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBAgB3C,CAAC"}
1
+ {"version":3,"file":"business-model.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBAgB3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/pricing-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;GAOG;AACH,oBAAY,gBAAgB;IAC1B,oDAAoD;IACpD,SAAS,cAAc;IACvB,qDAAqD;IACrD,QAAQ,aAAa;IACrB,oEAAoE;IACpE,SAAS,cAAc;IACvB,4EAA4E;IAC5E,MAAM,WAAW;IACjB,mDAAmD;IACnD,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAwClC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,gEAAgE"}
1
+ {"version":3,"file":"pricing-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/pricing-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;GAOG;AACH,oBAAY,gBAAgB;IAC1B,oDAAoD;IACpD,SAAS,cAAc;IACvB,qDAAqD;IACrD,QAAQ,aAAa;IACrB,oEAAoE;IACpE,SAAS,cAAc;IACvB,4EAA4E;IAC5E,MAAM,WAAW;IACjB,mDAAmD;IACnD,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAwClC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,gEAAgE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-semantics.specifications.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,oBAAY,wBAAwB;IAClC,EAAE,OAAO;CACV;AAED;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;CAC5C;AAGD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;iBAkBxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;iBAe1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;iBAiBnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"business-semantics.specifications.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,oBAAY,wBAAwB;IAClC,EAAE,OAAO;CACV;AAED;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;CAC5C;AAGD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;iBAkBxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;iBAe1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;iBAiBnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chart-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/chart-view-specification.schemas.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AAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,4BAA4B,EAC5B,cAAc,GAAG,SAAS,CAC3B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CACpD,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,wBAAgB,4CAA4C,CAC1D,cAAc,EAAE,wBAAwB,EACxC,oBAAoB,EAAE,MAAM,2BAA2B,GACtD,4BAA4B,CAU9B;AAED,wBAAgB,8BAA8B,CAC5C,GAAG,cAAc,EAAE,4BAA4B,EAAE,GAChD,sBAAsB,CAiBxB"}
1
+ {"version":3,"file":"chart-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/chart-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,kCAAkC;IACjD,6DAA6D;IAC7D,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,iFAAiF;IACjF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,4BAA4B;IAC3C,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,qDAAqD;IACrD,YAAY,CAAC,EAAE,kCAAkC,CAAC;CACnD;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,4BAA4B,EAC5B,cAAc,GAAG,SAAS,CAC3B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CACpD,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,wBAAgB,4CAA4C,CAC1D,cAAc,EAAE,wBAAwB,EACxC,oBAAoB,EAAE,MAAM,2BAA2B,GACtD,4BAA4B,CAU9B;AAED,wBAAgB,8BAA8B,CAC5C,GAAG,cAAc,EAAE,4BAA4B,EAAE,GAChD,sBAAsB,CAiBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"compliance-completeness-statement.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-completeness-statement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AAEjD;;;;;;;;GAQG;AACH,oBAAY,iBAAiB;IAC3B,4EAA4E;IAC5E,kBAAkB,uBAAu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;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACjF;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC5D,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH;AAqBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,sCAAsC,CACpD,SAAS,EAAE,2BAA2B,EACtC,2BAA2B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,GACnE,+BAA+B,CAiDjC;AAED,mGAAmG;AACnG,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,iBAAiB,CAA6B,CAAC"}
1
+ {"version":3,"file":"compliance-completeness-statement.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/compliance-completeness-statement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AAEjD;;;;;;;;GAQG;AACH,oBAAY,iBAAiB;IAC3B,4EAA4E;IAC5E,kBAAkB,uBAAuB;IACzC,mGAAmG;IACnG,eAAe,oBAAoB;IACnC,oEAAoE;IACpE,sBAAsB,2BAA2B;IACjD,qFAAqF;IACrF,cAAc,mBAAmB;IACjC,kFAAkF;IAClF,uBAAuB,4BAA4B;IACnD,gFAAgF;IAChF,yBAAyB,8BAA8B;IACvD,oFAAoF;IACpF,uBAAuB,4BAA4B;IACnD,yF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