@wildo-ai/dev-companion 1.1.8 → 1.1.10

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 (1244) hide show
  1. package/bin/companion-supervisor.d.mts +33 -0
  2. package/bin/companion-supervisor.mjs +174 -0
  3. package/bin/wildo-dev-companion-supervised.mjs +16 -0
  4. package/dist/esm/.tsbuildinfo +1 -1
  5. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
  6. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
  7. package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
  8. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
  9. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  11. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  12. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
  13. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  15. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
  16. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  17. package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
  18. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  19. package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
  20. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  21. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
  22. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
  24. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  25. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  26. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  27. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  28. package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
  29. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  30. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  31. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  32. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  33. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  34. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  35. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  36. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
  37. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  38. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
  39. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +130 -2
  41. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  42. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +176 -1
  43. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  44. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
  45. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
  46. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
  47. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
  48. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  49. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  50. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
  51. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  52. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
  53. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  54. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  55. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  56. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  57. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  58. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
  59. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  60. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +536 -28
  61. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  62. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
  63. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
  64. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
  65. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
  66. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
  67. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +468 -41
  69. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  70. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  71. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  72. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  73. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  74. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  75. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  76. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  77. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  78. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
  79. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  80. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
  81. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  82. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  83. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  84. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  85. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  86. package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
  87. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  88. package/dist/esm/companion-api/companion-api.schemas.js +13 -2
  89. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  90. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  91. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  93. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  94. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  95. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  96. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  97. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  98. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  99. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  100. package/dist/esm/companion-api/controllers/companion.controller.d.ts +88 -13
  101. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  102. package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
  103. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  104. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  105. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  106. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  128. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  130. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  131. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  132. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  133. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  134. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  135. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  136. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  137. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  138. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  139. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  140. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  141. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  142. package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
  143. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  144. package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
  145. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  146. package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
  147. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
  148. package/dist/esm/core/context/application-module-generations.companion.js +313 -0
  149. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
  150. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  151. package/dist/esm/core/context/companion-context.js.map +1 -1
  152. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
  153. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  154. package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
  155. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  156. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  157. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  158. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  159. package/dist/esm/core/inject/models/container.js +4 -0
  160. package/dist/esm/core/inject/models/container.js.map +1 -1
  161. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  162. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  163. package/dist/esm/core/inject/models/service-types.js +4 -0
  164. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  165. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  166. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  167. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
  172. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
  174. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  175. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
  176. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  177. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +71 -25
  178. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  179. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
  180. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
  182. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  183. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
  184. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +197 -20
  186. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  187. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  188. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +49 -7
  189. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  190. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  191. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  192. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  194. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +51 -0
  195. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
  196. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +124 -0
  197. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
  198. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  200. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -3
  201. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +91 -5
  203. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  204. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
  205. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +437 -35
  207. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  208. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
  209. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
  210. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
  211. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
  212. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +123 -24
  213. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  214. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +281 -54
  215. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  216. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
  217. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  218. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
  219. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  220. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
  223. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
  225. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
  230. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
  240. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  241. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
  242. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  253. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
  254. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  255. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
  256. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  257. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  258. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
  259. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  260. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  261. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  262. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  263. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
  264. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  265. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
  266. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  267. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
  268. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  269. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  270. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
  271. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  272. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  273. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  274. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  275. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  276. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  277. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  278. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  279. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  280. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  281. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  282. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  283. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  284. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  285. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  286. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  287. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  288. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  289. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  290. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
  291. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
  293. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  294. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  295. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  296. package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
  297. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  298. package/dist/esm/core/runtime/companion-env-file.js +75 -16
  299. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  300. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
  301. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
  302. package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
  303. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
  304. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  305. package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
  306. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  307. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
  308. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  309. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
  310. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  311. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
  312. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
  313. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
  314. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
  315. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  316. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  317. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  318. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  319. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  320. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  321. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
  322. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  323. package/dist/esm/core/runtime/services/start-companion-application.service.js +78 -12
  324. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  325. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  326. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  327. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  328. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  329. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  330. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  331. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  332. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  333. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  335. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  337. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  339. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  341. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  343. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  345. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  347. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  349. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  351. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  353. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  355. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  357. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  359. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  361. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  363. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  365. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  367. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  369. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  371. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  415. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  417. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  418. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  419. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  420. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  421. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  422. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  423. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  424. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  425. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  426. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  427. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  428. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  429. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  430. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  431. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  432. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  433. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  434. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  435. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  436. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  437. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  438. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  439. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  440. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  441. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  442. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  443. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  444. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  445. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  446. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  447. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  448. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  449. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  450. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  451. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  452. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  453. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  454. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  455. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  456. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  457. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  458. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  459. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  460. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  461. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  462. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  463. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  464. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  465. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  466. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  467. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  468. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  469. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  470. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  471. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
  472. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
  473. package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
  474. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
  475. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
  476. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  477. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
  478. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  479. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  480. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
  481. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  482. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  483. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +69 -7
  484. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  485. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
  486. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  487. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +17 -12
  488. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  489. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
  490. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  491. package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
  492. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  493. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  494. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  495. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
  496. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
  497. package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
  498. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
  499. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
  500. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  501. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
  502. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  503. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  504. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  505. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  506. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  507. package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
  508. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  509. package/dist/esm/email/services/email-template.companion.service.js +4 -1
  510. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  511. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  512. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  513. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  514. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  515. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  516. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  517. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  518. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  519. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  520. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  521. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  522. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
  523. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  524. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  525. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
  526. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  527. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
  528. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  529. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
  530. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  531. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
  532. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  533. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
  534. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  535. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  536. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  537. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  538. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  539. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  540. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  541. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  542. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  543. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  544. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  545. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  546. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  547. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  548. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  549. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  550. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  551. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  552. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  553. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  554. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  555. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  556. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  557. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  558. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  559. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  560. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  561. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  562. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  563. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  564. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  565. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  566. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  567. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  568. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  569. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  570. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  571. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  572. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  573. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  574. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  575. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  576. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  577. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  578. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  579. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  580. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  581. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  582. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  583. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  584. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  585. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  586. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  587. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  588. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  589. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  590. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  591. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  592. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  593. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  594. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  595. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  596. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  597. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  598. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  599. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  600. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  727. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  730. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  731. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  732. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  733. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  734. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  735. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  736. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  737. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  738. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  739. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  740. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  741. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  742. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  743. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  744. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  745. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  746. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  747. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  748. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  749. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  751. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  753. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  755. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  756. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  757. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  758. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  759. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  760. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  761. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  762. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  763. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  764. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  765. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  766. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  767. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  768. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  769. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  770. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  771. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  772. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  773. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  774. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  775. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  776. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  777. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  778. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  779. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  780. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  781. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  782. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  783. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  784. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  785. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  786. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  787. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  788. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  789. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  790. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  791. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  792. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  793. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  794. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  795. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  796. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  797. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  798. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  799. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  800. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  801. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  803. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  805. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  807. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  809. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  810. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  811. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  812. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  813. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  814. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  815. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  817. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  818. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  819. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  821. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  822. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  823. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  825. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  826. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  827. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  828. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  829. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  830. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  831. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  832. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  833. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  835. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  836. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  837. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  839. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  840. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  841. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  843. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  844. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  845. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  846. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  847. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  848. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  849. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  850. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  851. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  853. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  854. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  855. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  856. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  857. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -1
  858. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  859. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  861. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  862. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  863. package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
  864. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
  865. package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
  866. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
  867. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  869. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  870. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  871. package/dist/esm/i18n/index.d.ts.map +1 -1
  872. package/dist/esm/i18n/index.js.map +1 -1
  873. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
  874. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  875. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
  876. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  877. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
  878. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
  880. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  881. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
  882. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  883. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
  884. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  885. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  887. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  888. package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -0
  889. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  890. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
  891. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
  893. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  894. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  895. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  896. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
  897. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
  899. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  900. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  901. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  902. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  903. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  904. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  905. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  906. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  907. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  908. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +56 -0
  909. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  910. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -0
  911. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  912. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  913. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  914. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  915. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  916. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  917. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  918. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  919. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  920. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  921. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  922. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  923. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  924. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +553 -0
  925. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  926. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -5
  927. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  928. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  929. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  930. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  931. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  932. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +60 -0
  933. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  934. package/dist/esm/i18n/system_enums/application-creation.en.js +66 -1
  935. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  936. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  937. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  938. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  939. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  940. package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
  941. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
  942. package/dist/esm/i18n/system_enums/localization.en.js +82 -0
  943. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
  944. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  945. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  946. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  947. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  948. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  949. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  950. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  951. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  952. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  953. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  954. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  955. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  956. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
  957. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  958. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
  959. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  960. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
  961. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  962. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  963. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  964. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  965. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  966. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  967. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  968. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  969. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  970. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
  971. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
  972. package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
  973. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
  974. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
  975. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  976. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
  977. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  978. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  979. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  980. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  981. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  982. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  983. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  984. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
  985. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  986. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
  987. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  988. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  989. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  990. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
  991. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  992. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
  993. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  994. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
  995. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  996. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
  997. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  998. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  999. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  1000. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  1001. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  1002. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  1003. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  1004. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  1005. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  1006. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  1007. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  1008. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  1009. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  1010. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  1011. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  1012. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  1013. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  1014. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
  1015. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
  1016. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
  1017. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
  1018. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  1019. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  1020. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
  1021. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  1022. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
  1023. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  1024. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  1025. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  1026. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  1027. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  1028. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  1029. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  1030. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
  1031. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  1032. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
  1033. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  1034. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
  1035. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
  1036. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
  1037. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
  1038. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
  1039. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  1040. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
  1041. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  1042. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  1043. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  1044. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  1045. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  1046. package/dist/esm/index.d.ts.map +1 -1
  1047. package/dist/esm/index.js.map +1 -1
  1048. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  1049. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  1050. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  1051. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  1052. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  1053. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
  1054. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  1055. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  1056. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  1057. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  1058. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  1059. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  1060. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  1061. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -1
  1062. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1063. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +101 -0
  1064. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1065. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1066. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1067. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1068. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1069. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
  1070. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
  1071. package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
  1072. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
  1073. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
  1074. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
  1075. package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
  1076. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
  1077. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  1078. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1079. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
  1080. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1081. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
  1082. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1083. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1084. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1085. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
  1086. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1087. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
  1088. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1089. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
  1090. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1091. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
  1092. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1093. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1094. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1095. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
  1096. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
  1097. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
  1098. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
  1099. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
  1100. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
  1101. package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
  1102. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
  1103. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
  1104. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
  1105. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
  1106. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
  1107. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
  1108. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
  1109. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
  1110. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
  1111. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +672 -24
  1112. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1887 -74
  1114. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1115. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1117. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +232 -14
  1118. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1119. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +407 -55
  1120. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1121. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +158 -3
  1122. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1123. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +446 -18
  1124. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1125. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
  1126. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1127. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
  1128. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1129. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
  1130. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
  1131. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
  1132. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
  1133. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
  1134. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
  1135. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
  1136. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
  1137. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1138. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
  1139. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1140. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1141. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1142. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
  1143. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
  1144. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
  1145. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
  1146. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1147. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
  1148. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1149. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
  1150. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
  1151. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
  1152. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
  1153. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +76 -0
  1154. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
  1155. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +88 -0
  1156. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
  1157. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
  1158. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
  1159. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
  1160. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
  1161. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
  1162. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
  1163. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
  1164. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
  1165. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +79 -14
  1166. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1167. package/dist/esm/meta-workflows/services/dossier.companion.service.js +185 -29
  1168. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1169. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1170. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1171. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1172. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1173. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1174. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1175. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +52 -4
  1176. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1177. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +134 -62
  1178. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1179. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1180. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1181. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1182. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1183. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
  1184. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
  1185. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
  1186. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
  1187. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1188. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1189. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1190. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1191. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1192. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +61 -20
  1193. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1194. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +134 -4
  1195. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1196. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +390 -7
  1197. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1198. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +166 -7
  1199. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1200. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +703 -116
  1201. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1202. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
  1203. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1204. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
  1205. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1206. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1207. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1208. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1209. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1210. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1211. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1212. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1213. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1214. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1215. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1216. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1217. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1218. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1219. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1220. package/package.json +22 -18
  1221. package/dist/esm/__tests__/asset-noop.d.ts +0 -3
  1222. package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
  1223. package/dist/esm/__tests__/asset-noop.js +0 -2
  1224. package/dist/esm/__tests__/asset-noop.js.map +0 -1
  1225. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
  1226. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
  1227. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
  1228. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
  1229. package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
  1230. package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
  1231. package/dist/esm/__tests__/internal-test-view.js +0 -2
  1232. package/dist/esm/__tests__/internal-test-view.js.map +0 -1
  1233. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
  1234. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
  1235. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
  1236. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
  1237. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
  1238. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
  1239. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
  1240. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
  1241. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
  1242. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
  1243. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
  1244. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.models.js","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.models.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,mDAAqB,CAAA;IACrB,+DAAiC,CAAA;IACjC,mEAAqC,CAAA;IACrC,qEAAuC,CAAA;IACvC,uDAAyB,CAAA;IACzB,+DAAiC,CAAA;IACjC,iDAAmB,CAAA;IACnB,qDAAuB,CAAA;IACvB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,uEAAyC,CAAA;IACzC,6EAA+C,CAAA;IAC/C,iEAAmC,CAAA;IACnC,6DAA+B,CAAA;AACjC,CAAC,EAfW,0BAA0B,KAA1B,0BAA0B,QAerC;AAED,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,0EAA2C,CAAA;IAC3C,8FAA+D,CAAA;IAC/D,sFAAuD,CAAA;IACvD,kEAAmC,CAAA;AACrC,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC;AAED,MAAM,CAAN,IAAY,8BAyDX;AAzDD,WAAY,8BAA8B;IACxC,+FAA6D,CAAA;IAC7D,mHAAiF,CAAA;IACjF,2GAAyE,CAAA;IACzE,uFAAqD,CAAA;IACrD,2GAAyE,CAAA;IACzE,+HAA6F,CAAA;IAC7F,uHAAqF,CAAA;IACrF,mGAAiE,CAAA;IACjE,+GAA6E,CAAA;IAC7E,mIAAiG,CAAA;IACjG,2HAAyF,CAAA;IACzF,uGAAqE,CAAA;IACrE,iHAA+E,CAAA;IAC/E,qIAAmG,CAAA;IACnG,6HAA2F,CAAA;IAC3F,yGAAuE,CAAA;IACvE,mGAAiE,CAAA;IACjE,uHAAqF,CAAA;IACrF,+GAA6E,CAAA;IAC7E,2FAAy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AAC,IAAI,CAAC;YACV,IAAI,EAAE,CAAC,iBAAiB,CAAC;YACzB,OAAO,EAAE,qEAAqE;SAC/E,CAAC,CAAC;IACL,CAAC;IAED,IAAI,QAA4B,CAAC;IACjC,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAChC,QAAQ,GAAG,OAAO,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;QAChF,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,OAAO,EAAE,yFAAyF;aACnG,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,IACE,QAAQ;WACL,qBAAqB,CAAC,eAAe,CAAC;WACtC,CAAC,2CAA2C,CAAC,eAAe,CAAC,EAChE,CAAC;QACD,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,uFAAuF;SACjG,CAAC,CAAC;IACL,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO;YACL,OAAO,EAAE,KAAK;YACd,MAAM;SACP,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE;YACJ,UAAU,EAAE,eAAiD;YAC7D,eAAe,EAAE,eAAgB;YACjC,QAAQ;SACT;KACF,CAAC;AACJ,CAAC","sourcesContent":["export enum SpecificationContextFamily {\n RESOURCE = 'resource',\n COMPOSITE_VIEW = 'composite-view',\n FULL_CUSTOM_VIEW = 'full-custom-view',\n FLOWS_ACTORS_VIEW = 'flows-actors-view',\n CHART_VIEW = 'chart-view',\n EXECUTION_VIEW = 'execution-view',\n FEATURE = 'feature',\n MILESTONE = 'milestone',\n PRODUCT = 'product',\n ROLE = 'role',\n FRONTEND_COMPONENT = 'frontend-component',\n SYSTEM_EMAIL_TEMPLATE = 'system-email-template',\n ONBOARDING_VIEW = 'onboarding-view',\n GUIDANCE_FLOW = 'guidance-flow',\n}\n\nexport enum SpecificationContextConcern {\n TRANSLATION_CONTEXT = 'translation-context',\n CUSTOM_IMPLEMENTATION_CONTEXT = 'custom-implementation-context',\n DEVELOPMENT_USAGE_CONTEXT = 'development-usage-context',\n ALL_INFORMATION = 'all-information',\n}\n\nexport enum SpecificationContextTemplateId {\n RESOURCE_TRANSLATION_CONTEXT = 'resource-translation-context',\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT = 'resource-custom-implementation-context',\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT = 'resource-development-usage-context',\n RESOURCE_ALL_INFORMATION = 'resource-all-information',\n COMPOSITE_VIEW_TRANSLATION_CONTEXT = 'composite-view-translation-context',\n COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'composite-view-custom-implementation-context',\n COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'composite-view-development-usage-context',\n COMPOSITE_VIEW_ALL_INFORMATION = 'composite-view-all-information',\n FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT = 'full-custom-view-translation-context',\n FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'full-custom-view-custom-implementation-context',\n FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'full-custom-view-development-usage-context',\n FULL_CUSTOM_VIEW_ALL_INFORMATION = 'full-custom-view-all-information',\n FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT = 'flows-actors-view-translation-context',\n FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'flows-actors-view-custom-implementation-context',\n FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'flows-actors-view-development-usage-context',\n FLOWS_ACTORS_VIEW_ALL_INFORMATION = 'flows-actors-view-all-information',\n CHART_VIEW_TRANSLATION_CONTEXT = 'chart-view-translation-context',\n CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'chart-view-custom-implementation-context',\n CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'chart-view-development-usage-context',\n CHART_VIEW_ALL_INFORMATION = 'chart-view-all-information',\n EXECUTION_VIEW_TRANSLATION_CONTEXT = 'execution-view-translation-context',\n EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'execution-view-custom-implementation-context',\n EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'execution-view-development-usage-context',\n EXECUTION_VIEW_ALL_INFORMATION = 'execution-view-all-information',\n FEATURE_TRANSLATION_CONTEXT = 'feature-translation-context',\n FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT = 'feature-custom-implementation-context',\n FEATURE_DEVELOPMENT_USAGE_CONTEXT = 'feature-development-usage-context',\n FEATURE_ALL_INFORMATION = 'feature-all-information',\n MILESTONE_TRANSLATION_CONTEXT = 'milestone-translation-context',\n MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT = 'milestone-custom-implementation-context',\n MILESTONE_DEVELOPMENT_USAGE_CONTEXT = 'milestone-development-usage-context',\n MILESTONE_ALL_INFORMATION = 'milestone-all-information',\n PRODUCT_TRANSLATION_CONTEXT = 'product-translation-context',\n PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT = 'product-custom-implementation-context',\n PRODUCT_DEVELOPMENT_USAGE_CONTEXT = 'product-development-usage-context',\n PRODUCT_ALL_INFORMATION = 'product-all-information',\n ROLE_TRANSLATION_CONTEXT = 'role-translation-context',\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT = 'role-custom-implementation-context',\n ROLE_DEVELOPMENT_USAGE_CONTEXT = 'role-development-usage-context',\n ROLE_ALL_INFORMATION = 'role-all-information',\n FRONTEND_COMPONENT_TRANSLATION_CONTEXT = 'frontend-component-translation-context',\n FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT = 'frontend-component-custom-implementation-context',\n FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT = 'frontend-component-development-usage-context',\n FRONTEND_COMPONENT_ALL_INFORMATION = 'frontend-component-all-information',\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT = 'system-email-template-translation-context',\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT = 'system-email-template-custom-implementation-context',\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT = 'system-email-template-development-usage-context',\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION = 'system-email-template-all-information',\n ONBOARDING_VIEW_TRANSLATION_CONTEXT = 'onboarding-view-translation-context',\n ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'onboarding-view-custom-implementation-context',\n ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'onboarding-view-development-usage-context',\n ONBOARDING_VIEW_ALL_INFORMATION = 'onboarding-view-all-information',\n GUIDANCE_FLOW_TRANSLATION_CONTEXT = 'guidance-flow-translation-context',\n GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT = 'guidance-flow-custom-implementation-context',\n GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT = 'guidance-flow-development-usage-context',\n GUIDANCE_FLOW_ALL_INFORMATION = 'guidance-flow-all-information',\n}\n\nexport const SpecificationContextFamilyValues = Object.values(SpecificationContextFamily);\nexport const SpecificationContextConcernValues = Object.values(SpecificationContextConcern);\nexport const SpecificationContextTemplateIdValues = Object.values(SpecificationContextTemplateId);\nexport const SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME = 'SpecificationContextValidationError';\n\nexport interface SpecificationContextFactoryRequest {\n templateId: SpecificationContextTemplateId;\n specificationId: string;\n presetId?: string;\n}\n\nexport interface SpecificationContextTemplateCase {\n templateId: SpecificationContextTemplateId;\n family: SpecificationContextFamily;\n concern: SpecificationContextConcern;\n}\n\nexport interface SpecificationMarkdownContextPart {\n templateId: SpecificationContextTemplateId;\n family: SpecificationContextFamily;\n concern: SpecificationContextConcern;\n specificationId: string;\n presetId?: string;\n title: string;\n markdown: string;\n}\n\nexport const SPECIFICATION_CONTEXT_TEMPLATE_CASES: Record<\n SpecificationContextTemplateId,\n SpecificationContextTemplateCase\n> = {\n [SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.CHART_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FEATURE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FEATURE_ALL_INFORMATION,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.MILESTONE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.MILESTONE_ALL_INFORMATION,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.PRODUCT_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.PRODUCT_ALL_INFORMATION,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.ROLE_ALL_INFORMATION,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_ALL_INFORMATION,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n} as const;\n\nexport function resolveSpecificationContextTemplateCase(\n templateId: SpecificationContextTemplateId,\n): SpecificationContextTemplateCase {\n return SPECIFICATION_CONTEXT_TEMPLATE_CASES[templateId];\n}\n\nexport function specificationContextTemplateAcceptsPresetId(\n templateId: SpecificationContextTemplateId,\n): boolean {\n return resolveSpecificationContextTemplateCase(templateId).family === SpecificationContextFamily.FRONTEND_COMPONENT;\n}\n\nexport class SpecificationContextValidationError extends Error {\n constructor(message: string) {\n super(message);\n this.name = SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME;\n }\n}\n\nexport interface SpecificationContextFactoryRequestValidationIssue {\n path: string[];\n message: string;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction isSupportedTemplateId(value: unknown): value is SpecificationContextTemplateId {\n return typeof value === 'string' && SpecificationContextTemplateIdValues.includes(value as SpecificationContextTemplateId);\n}\n\nexport function safeParseSpecificationContextFactoryRequest(input: unknown):\n | { success: true; data: SpecificationContextFactoryRequest }\n | { success: false; issues: SpecificationContextFactoryRequestValidationIssue[] } {\n if (!isRecord(input)) {\n return {\n success: false,\n issues: [{\n path: [],\n message: 'specification-context-parts requires an object input payload.',\n }],\n };\n }\n\n const issues: SpecificationContextFactoryRequestValidationIssue[] = [];\n const templateIdValue = input.templateId;\n const specificationIdValue = input.specificationId;\n const presetIdValue = input.presetId;\n\n if (!isSupportedTemplateId(templateIdValue)) {\n issues.push({\n path: ['templateId'],\n message: 'specification-context-parts requires a supported `templateId`.',\n });\n }\n\n const specificationId = typeof specificationIdValue === 'string'\n ? specificationIdValue.trim()\n : undefined;\n if (!specificationId) {\n issues.push({\n path: ['specificationId'],\n message: 'specification-context-parts requires a non-empty `specificationId`.',\n });\n }\n\n let presetId: string | undefined;\n if (presetIdValue !== undefined) {\n presetId = typeof presetIdValue === 'string' ? presetIdValue.trim() : undefined;\n if (!presetId) {\n issues.push({\n path: ['presetId'],\n message: 'specification-context-parts requires `presetId` to be a non-empty string when provided.',\n });\n }\n }\n\n if (\n presetId\n && isSupportedTemplateId(templateIdValue)\n && !specificationContextTemplateAcceptsPresetId(templateIdValue)\n ) {\n issues.push({\n path: ['presetId'],\n message: 'specification-context-parts only accepts `presetId` for frontend-component templates.',\n });\n }\n\n if (issues.length > 0) {\n return {\n success: false,\n issues,\n };\n }\n\n return {\n success: true,\n data: {\n templateId: templateIdValue as SpecificationContextTemplateId,\n specificationId: specificationId!,\n presetId,\n },\n };\n}\n"]}
1
+ {"version":3,"file":"specification-context-factory.models.js","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.models.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,mDAAqB,CAAA;IACrB,+DAAiC,CAAA;IACjC,mEAAqC,CAAA;IACrC,qEAAuC,CAAA;IACvC,uDAAyB,CAAA;IACzB,+DAAiC,CAAA;IACjC,iDAAmB,CAAA;IACnB,qDAAuB,CAAA;IACvB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,uEAAyC,CAAA;IACzC,6EAA+C,CAAA;IAC/C,iEAAmC,CAAA;IACnC,6DAA+B,CAAA;AACjC,CAAC,EAfW,0BAA0B,KAA1B,0BAA0B,QAerC;AAED,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,0EAA2C,CAAA;IAC3C,8FAA+D,CAAA;IAC/D,sFAAuD,CAAA;IACvD,kEAAmC,CAAA;AACrC,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC;AAED,MAAM,CAAN,IAAY,8BAyDX;AAzDD,WAAY,8BAA8B;IACxC,+FAA6D,CAAA;IAC7D,mHAAiF,CAAA;IACjF,2GAAyE,CAAA;IACzE,uFAAqD,CAAA;IACrD,2GAAyE,CAAA;IACzE,+HAA6F,CAAA;IAC7F,uHAAqF,CAAA;IACrF,mGAAiE,CAAA;IACjE,+GAA6E,CAAA;IAC7E,mIAAiG,CAAA;IACjG,2HAAyF,CAAA;IACzF,uGAAqE,CAAA;IACrE,iHAA+E,CAAA;IAC/E,qIAAmG,CAAA;IACnG,6HAA2F,CAAA;IAC3F,yGAA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AAE;QAC7B,CAAC,CAAC,SAAS,CAAC;IACd,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,CAAC,iBAAiB,CAAC;YACzB,OAAO,EAAE,qEAAqE;SAC/E,CAAC,CAAC;IACL,CAAC;IAED,IAAI,QAA4B,CAAC;IACjC,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAChC,QAAQ,GAAG,OAAO,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;QAChF,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,OAAO,EAAE,yFAAyF;aACnG,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,IACE,QAAQ;WACL,qBAAqB,CAAC,eAAe,CAAC;WACtC,CAAC,2CAA2C,CAAC,eAAe,CAAC,EAChE,CAAC;QACD,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,uFAAuF;SACjG,CAAC,CAAC;IACL,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO;YACL,OAAO,EAAE,KAAK;YACd,MAAM;SACP,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE;YACJ,UAAU,EAAE,eAAiD;YAC7D,eAAe,EAAE,eAAgB;YACjC,QAAQ;SACT;KACF,CAAC;AACJ,CAAC","sourcesContent":["export enum SpecificationContextFamily {\n RESOURCE = 'resource',\n COMPOSITE_VIEW = 'composite-view',\n FULL_CUSTOM_VIEW = 'full-custom-view',\n FLOWS_ACTORS_VIEW = 'flows-actors-view',\n CHART_VIEW = 'chart-view',\n EXECUTION_VIEW = 'execution-view',\n FEATURE = 'feature',\n MILESTONE = 'milestone',\n PRODUCT = 'product',\n ROLE = 'role',\n FRONTEND_COMPONENT = 'frontend-component',\n SYSTEM_EMAIL_TEMPLATE = 'system-email-template',\n ONBOARDING_VIEW = 'onboarding-view',\n GUIDANCE_FLOW = 'guidance-flow',\n}\n\nexport enum SpecificationContextConcern {\n TRANSLATION_CONTEXT = 'translation-context',\n CUSTOM_IMPLEMENTATION_CONTEXT = 'custom-implementation-context',\n DEVELOPMENT_USAGE_CONTEXT = 'development-usage-context',\n ALL_INFORMATION = 'all-information',\n}\n\nexport enum SpecificationContextTemplateId {\n RESOURCE_TRANSLATION_CONTEXT = 'resource-translation-context',\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT = 'resource-custom-implementation-context',\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT = 'resource-development-usage-context',\n RESOURCE_ALL_INFORMATION = 'resource-all-information',\n COMPOSITE_VIEW_TRANSLATION_CONTEXT = 'composite-view-translation-context',\n COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'composite-view-custom-implementation-context',\n COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'composite-view-development-usage-context',\n COMPOSITE_VIEW_ALL_INFORMATION = 'composite-view-all-information',\n FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT = 'full-custom-view-translation-context',\n FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'full-custom-view-custom-implementation-context',\n FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'full-custom-view-development-usage-context',\n FULL_CUSTOM_VIEW_ALL_INFORMATION = 'full-custom-view-all-information',\n FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT = 'flows-actors-view-translation-context',\n FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'flows-actors-view-custom-implementation-context',\n FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'flows-actors-view-development-usage-context',\n FLOWS_ACTORS_VIEW_ALL_INFORMATION = 'flows-actors-view-all-information',\n CHART_VIEW_TRANSLATION_CONTEXT = 'chart-view-translation-context',\n CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'chart-view-custom-implementation-context',\n CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'chart-view-development-usage-context',\n CHART_VIEW_ALL_INFORMATION = 'chart-view-all-information',\n EXECUTION_VIEW_TRANSLATION_CONTEXT = 'execution-view-translation-context',\n EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'execution-view-custom-implementation-context',\n EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'execution-view-development-usage-context',\n EXECUTION_VIEW_ALL_INFORMATION = 'execution-view-all-information',\n FEATURE_TRANSLATION_CONTEXT = 'feature-translation-context',\n FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT = 'feature-custom-implementation-context',\n FEATURE_DEVELOPMENT_USAGE_CONTEXT = 'feature-development-usage-context',\n FEATURE_ALL_INFORMATION = 'feature-all-information',\n MILESTONE_TRANSLATION_CONTEXT = 'milestone-translation-context',\n MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT = 'milestone-custom-implementation-context',\n MILESTONE_DEVELOPMENT_USAGE_CONTEXT = 'milestone-development-usage-context',\n MILESTONE_ALL_INFORMATION = 'milestone-all-information',\n PRODUCT_TRANSLATION_CONTEXT = 'product-translation-context',\n PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT = 'product-custom-implementation-context',\n PRODUCT_DEVELOPMENT_USAGE_CONTEXT = 'product-development-usage-context',\n PRODUCT_ALL_INFORMATION = 'product-all-information',\n ROLE_TRANSLATION_CONTEXT = 'role-translation-context',\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT = 'role-custom-implementation-context',\n ROLE_DEVELOPMENT_USAGE_CONTEXT = 'role-development-usage-context',\n ROLE_ALL_INFORMATION = 'role-all-information',\n FRONTEND_COMPONENT_TRANSLATION_CONTEXT = 'frontend-component-translation-context',\n FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT = 'frontend-component-custom-implementation-context',\n FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT = 'frontend-component-development-usage-context',\n FRONTEND_COMPONENT_ALL_INFORMATION = 'frontend-component-all-information',\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT = 'system-email-template-translation-context',\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT = 'system-email-template-custom-implementation-context',\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT = 'system-email-template-development-usage-context',\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION = 'system-email-template-all-information',\n ONBOARDING_VIEW_TRANSLATION_CONTEXT = 'onboarding-view-translation-context',\n ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT = 'onboarding-view-custom-implementation-context',\n ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT = 'onboarding-view-development-usage-context',\n ONBOARDING_VIEW_ALL_INFORMATION = 'onboarding-view-all-information',\n GUIDANCE_FLOW_TRANSLATION_CONTEXT = 'guidance-flow-translation-context',\n GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT = 'guidance-flow-custom-implementation-context',\n GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT = 'guidance-flow-development-usage-context',\n GUIDANCE_FLOW_ALL_INFORMATION = 'guidance-flow-all-information',\n}\n\nexport const SpecificationContextFamilyValues = Object.values(SpecificationContextFamily);\nexport const SpecificationContextConcernValues = Object.values(SpecificationContextConcern);\nexport const SpecificationContextTemplateIdValues = Object.values(SpecificationContextTemplateId);\nexport const SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME = 'SpecificationContextValidationError';\n\nexport interface SpecificationContextFactoryRequest {\n templateId: SpecificationContextTemplateId;\n specificationId: string;\n presetId?: string;\n}\n\nexport interface SpecificationContextTemplateCase {\n templateId: SpecificationContextTemplateId;\n family: SpecificationContextFamily;\n concern: SpecificationContextConcern;\n}\n\nexport interface SpecificationMarkdownContextPart {\n templateId: SpecificationContextTemplateId;\n family: SpecificationContextFamily;\n concern: SpecificationContextConcern;\n specificationId: string;\n presetId?: string;\n title: string;\n markdown: string;\n}\n\nexport const SPECIFICATION_CONTEXT_TEMPLATE_CASES: Record<\n SpecificationContextTemplateId,\n SpecificationContextTemplateCase\n> = {\n [SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.COMPOSITE_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.COMPOSITE_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.COMPOSITE_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FULL_CUSTOM_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FULL_CUSTOM_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.FULL_CUSTOM_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FLOWS_ACTORS_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.FLOWS_ACTORS_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.CHART_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.CHART_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.CHART_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.CHART_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.EXECUTION_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.EXECUTION_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.EXECUTION_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FEATURE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FEATURE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FEATURE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FEATURE_ALL_INFORMATION,\n family: SpecificationContextFamily.FEATURE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.MILESTONE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.MILESTONE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.MILESTONE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.MILESTONE_ALL_INFORMATION,\n family: SpecificationContextFamily.MILESTONE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.PRODUCT_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.PRODUCT_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.PRODUCT_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.PRODUCT_ALL_INFORMATION,\n family: SpecificationContextFamily.PRODUCT,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.ROLE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.ROLE_ALL_INFORMATION,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.FRONTEND_COMPONENT_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.FRONTEND_COMPONENT_ALL_INFORMATION,\n family: SpecificationContextFamily.FRONTEND_COMPONENT,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.ONBOARDING_VIEW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.ONBOARDING_VIEW_ALL_INFORMATION,\n family: SpecificationContextFamily.ONBOARDING_VIEW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n },\n [SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION]: {\n templateId: SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n },\n} as const;\n\nexport function resolveSpecificationContextTemplateCase(\n templateId: SpecificationContextTemplateId,\n): SpecificationContextTemplateCase {\n return SPECIFICATION_CONTEXT_TEMPLATE_CASES[templateId];\n}\n\nexport function specificationContextTemplateAcceptsPresetId(\n templateId: SpecificationContextTemplateId,\n): boolean {\n return resolveSpecificationContextTemplateCase(templateId).family === SpecificationContextFamily.FRONTEND_COMPONENT;\n}\n\nexport class SpecificationContextValidationError extends Error {\n constructor(message: string) {\n super(message);\n this.name = SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME;\n }\n}\n\nexport interface SpecificationContextFactoryRequestValidationIssue {\n path: string[];\n message: string;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction isSupportedTemplateId(value: unknown): value is SpecificationContextTemplateId {\n return typeof value === 'string' && SpecificationContextTemplateIdValues.includes(value as SpecificationContextTemplateId);\n}\n\nexport function safeParseSpecificationContextFactoryRequest(input: unknown):\n | { success: true; data: SpecificationContextFactoryRequest }\n | { success: false; issues: SpecificationContextFactoryRequestValidationIssue[] } {\n if (!isRecord(input)) {\n return {\n success: false,\n issues: [{\n path: [],\n message: 'specification-context-parts requires an object input payload.',\n }],\n };\n }\n\n const issues: SpecificationContextFactoryRequestValidationIssue[] = [];\n const templateIdValue = input.templateId;\n const specificationIdValue = input.specificationId;\n const presetIdValue = input.presetId;\n\n if (!isSupportedTemplateId(templateIdValue)) {\n issues.push({\n path: ['templateId'],\n message: 'specification-context-parts requires a supported `templateId`.',\n });\n }\n\n const specificationId = typeof specificationIdValue === 'string'\n ? specificationIdValue.trim()\n : undefined;\n if (!specificationId) {\n issues.push({\n path: ['specificationId'],\n message: 'specification-context-parts requires a non-empty `specificationId`.',\n });\n }\n\n let presetId: string | undefined;\n if (presetIdValue !== undefined) {\n presetId = typeof presetIdValue === 'string' ? presetIdValue.trim() : undefined;\n if (!presetId) {\n issues.push({\n path: ['presetId'],\n message: 'specification-context-parts requires `presetId` to be a non-empty string when provided.',\n });\n }\n }\n\n if (\n presetId\n && isSupportedTemplateId(templateIdValue)\n && !specificationContextTemplateAcceptsPresetId(templateIdValue)\n ) {\n issues.push({\n path: ['presetId'],\n message: 'specification-context-parts only accepts `presetId` for frontend-component templates.',\n });\n }\n\n if (issues.length > 0) {\n return {\n success: false,\n issues,\n };\n }\n\n return {\n success: true,\n data: {\n templateId: templateIdValue as SpecificationContextTemplateId,\n specificationId: specificationId!,\n presetId,\n },\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.shared.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,6BAA6B,EAC9B,MAAM,+BAA+B,CAAC;AAIvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC5B;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAG3F;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,GAChC,gBAAgB,EAAE,GAAG,SAAS,CAKhC;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,GAC3B,gBAAgB,EAAE,GAAG,SAAS,CAEhC;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,MAAM,CAET;AAED;;;;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ED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAE9F;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,oCAAoC;IACnD,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,wBAAgB,6BAA6B,CAC3C,gBAAgB,EAAE,6BAA6B,GAAG,SAAS,EAC3D,OAAO,EAAE,oCAAoC,GAC5C,MAAM,EAAE,GAAG,SAAS,CAkBtB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,cAAc,GAAG,MAAM,CAwBtE"}
1
+ {"version":3,"file":"specification-context-factory.shared.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,6BAA6B,EAC9B,MAAM,+BAA+B,CAAC;AAIvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;I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EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,cAAc,GAAG,MAAM,CAwBtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.shared.js","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.shared.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AAcpC,MAAM,UAAU,uBAAuB,CAAS,QAAgB;IAC9D,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,OAAO,CAAC,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,MAAiC;IAEjC,MAAM,KAAK,GAAG,MAAM;SACjB,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;SACzE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACrC,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,MAA4B;IAE5B,OAAO,mBAAmB,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAGlC;IACC,OAAO,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,WAAW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AI,mBAAmB,EAAE,KAAK,IAAI,EAAE,EAAE,CAAC;QACpD,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC1B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,sBAAsB,CAAC,MAA+B;IAC7D,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC,YAAY,KAAK,QAAQ;QAC1D,CAAC,CAAC,MAAM,CAAC,YAAY;QACrB,CAAC,CAAC,SAAS,CAAC;IACd,OAAO,YAAY;QACjB,CAAC,CAAC,CAAC,oBAAoB,YAAY,EAAE,CAAC;QACtC,CAAC,CAAC,EAAE,CAAC;AACT,CAAC;AAED,SAAS,sBAAsB,CAAC,MAA+B;IAC7D,MAAM,IAAI,GAAG,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,oBAAoB,CAAC,MAA+B;IAC3D,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC,YAAY,KAAK,QAAQ;QAC1D,CAAC,CAAC,MAAM,CAAC,YAAY;QACrB,CAAC,CAAC,SAAS,CAAC;IACd,OAAO,YAAY;QACjB,CAAC,CAAC,CAAC,oBAAoB,YAAY,EAAE,CAAC;QACtC,CAAC,CAAC,EAAE,CAAC;AACT,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,sBAAsB,CAAC,OAAgC;IAC9D,OAAO,EAAE,CAAC;AACZ,CAAC","sourcesContent":["import type {\n ExtractedFieldSpec,\n ExtractedFieldSpecDerived,\n RequiredFeaturesSpecification,\n} from '@wildo-ai/saas-specifications';\nimport { CollectionElementKind } from '@wildo-ai/zod-decorators';\nimport Handlebars from 'handlebars';\n\nexport interface MarkdownListItem {\n text: string;\n}\n\nexport interface MarkdownCodeExample {\n title: string;\n description?: string;\n language: string;\n code: string;\n notes?: MarkdownListItem[];\n}\n\nexport function compileMarkdownTemplate<TModel>(template: string): (model: TModel) => string {\n const render = Handlebars.compile(template, { noEscape: true });\n return (model: TModel) => render(model).trimEnd() + '\\n';\n}\n\nexport function toMarkdownListItems(\n values: Array<string | undefined>,\n): MarkdownListItem[] | undefined {\n const items = values\n .filter((value): value is string => Boolean(value && value.trim().length))\n .map((value) => ({ text: value }));\n return items.length > 0 ? items : undefined;\n}\n\nexport function toMarkdownCodeExampleNotes(\n values: string[] | undefined,\n): MarkdownListItem[] | undefined {\n return toMarkdownListItems(values ?? []);\n}\n\n/**\n * The IMPORT SPECIFIER for a symbol — `packageName`, plus `importPath` only when that\n * is a public subpath the owning package declares in `package.json#exports`.\n *\n * `filePathHint` is deliberately NOT consulted here. It is a module location, and\n * concatenating it onto the package name is exactly the defect issue #150 records:\n * an application package declares no export-map entry for its internal modules, so\n * `@app/main-app/modules/.../tasks.ui-behavior` cannot resolve, and a coding agent was\n * being handed it as the address to import from.\n */\nexport function formatImportTarget(symbol: {\n packageName: string;\n importPath?: string;\n}): string {\n return symbol.importPath ? `${symbol.packageName}/${symbol.importPath}` : symbol.packageName;\n}\n\n/**\n * The LOCATION sentence appended after an import instruction, when the ref carries one.\n *\n * Rendered as prose rather than as a specifier so no downstream reader can mistake it\n * for something importable — the whole point of splitting the two senses. Empty string\n * when unauthored, so every caller can append it unconditionally.\n */\nexport function formatSymbolLocationSuffix(symbol: { filePathHint?: string }): string {\n return symbol.filePathHint\n ? ` It is defined at \\`${symbol.filePathHint}\\` inside that package — a location for reading, not an import path.`\n : '';\n}\n\nexport function formatCodeSymbolRef(symbol: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n}): string {\n return `Import \\`${symbol.exportName}\\` from \\`${formatImportTarget(symbol)}\\`.${formatSymbolLocationSuffix(symbol)}`;\n}\n\nexport function formatNamedMemberRef(namedMember: {\n declaration: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n };\n memberName: string;\n}): string {\n return `Use member \\`${namedMember.memberName}\\` from \\`${namedMember.declaration.exportName}\\` imported via \\`${formatImportTarget(namedMember.declaration)}\\`.${formatSymbolLocationSuffix(namedMember.declaration)}`;\n}\n\nexport function formatCollectionEntryRef(collectionEntry: {\n collectionSymbol: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n };\n identifierField: string;\n identifierValue: string;\n}): string {\n return `Use the entry where \\`${collectionEntry.identifierField}\\` is \\`${collectionEntry.identifierValue}\\` from \\`${collectionEntry.collectionSymbol.exportName}\\` imported via \\`${formatImportTarget(collectionEntry.collectionSymbol)}\\`.${formatSymbolLocationSuffix(collectionEntry.collectionSymbol)}`;\n}\n\n/**\n * Render a `SpecificationOwnerRef` as a list of bullet-ready lines:\n * one header line carrying the owner identity, followed by one bullet\n * per authored note.\n *\n * # Companion-bullet contract\n *\n * `SpecificationOwnerRef.notes` is a `string[]` of distinct caveats —\n * see `engine/saas-specifications/src/_core/definition-specification.schemas.ts`\n * (\"Extra caveats for downstream tooling when ownership alone is not\n * enough\"). The earlier inline `Notes: ${notes.join(' ')}` flatten\n * silently merged authored entries onto a single line and broke the\n * companion-bullet promise that downstream tooling depends on for\n * grep-able per-note lines (`Owner note: ...`). This mirrors the\n * symmetric fix landed for `TranslationSlotSpecification.notes` in\n * `non-composite-view-specification-context.shared.ts` +\n * `composite-view-specification-context.factory.ts` — see the\n * `TranslationSlotSpecification.notes` JSDoc in\n * `engine/saas-specifications/src/_core/translation-slot-specification.schemas.ts`\n * for the canonical multi-bullet contract.\n *\n * # Why an array, not a string\n *\n * Returning `string[]` makes the per-bullet contract enforced at the\n * type level: every list-shaped consumer must spread the result into\n * its `toMarkdownListItems([...lines])` call, which means each note is\n * guaranteed to surface as its own structural bullet. The previous\n * single-string API let the notes silently collapse onto the caller's\n * adjacent line without any signal at the call site.\n *\n * # Inline-then-extract consumers\n *\n * Renderers whose macro pattern packs multiple owner-bearing items onto\n * a single bullet line (e.g. the frontend-component contribution\n * rendering — \"one bullet per contribution\") cannot spread the bullet\n * array into a list. Those call sites use {@link formatOwnerRefHeader}\n * for the inline `Owner: …` fragment in the structural summary, and\n * separately map `owner.notes` to per-bullet lines with their own\n * path-aware label (e.g. `${contributionLabel} owner note: ${note}`)\n * so that authored owner notes still surface as their own bullets in\n * the parent bullet block. This avoids collapsing distinct owner notes\n * into a single inline blob while still respecting the macro pattern.\n */\nexport function formatOwnerRefBullets(owner: {\n ownerId: string;\n ownerKind: string;\n notes?: string[];\n}): string[] {\n const header = formatOwnerRefHeader(owner);\n const noteLines = (owner.notes ?? []).map((note) => `Owner note: ${note}`);\n return [header, ...noteLines];\n}\n\n/**\n * Single-line `Owner: …` fragment for inline-then-extract consumers.\n *\n * Returns only the owner identity header (without any note bullets),\n * suitable for embedding inside a single structural summary line that\n * already aggregates several fields (e.g. a frontend-component\n * contribution line with kind/identity/path/load/owner/symbols all\n * joined). Owner notes MUST be emitted separately as their own bullets\n * by the caller — this helper deliberately drops them so the inline\n * fragment stays compact and the per-bullet contract for\n * `SpecificationOwnerRef.notes` is honoured at the parent bullet block.\n *\n * Use {@link formatOwnerRefBullets} for list-shaped consumers that can\n * spread the bullet array directly.\n */\nexport function formatOwnerRefHeader(owner: {\n ownerId: string;\n ownerKind: string;\n}): string {\n return `Owner: \\`${owner.ownerId}\\` (\\`${owner.ownerKind}\\`).`;\n}\n\nexport function formatLiteralLine(label: string, value: string | undefined): string | undefined {\n return value && value.trim().length > 0 ? `${label}: ${value}` : undefined;\n}\n\n/**\n * Per-call options for {@link formatRequiredFeaturesBullets}.\n *\n * `formatFeatureRef` decides how each authored `featureRef` literal is\n * rendered inside the produced lines. Two contracts coexist in the\n * renderer family today, both honoured by this single helper:\n *\n * - **Onboarding-view / future flow-gating call sites** pass\n * `formatFeatureRefWithCrossLink` from `cross-registry-rendering.shared`\n * so unresolved refs surface a `(unknown)` flag (matches the\n * fail-closed validator contract in\n * `assertOptionalRequiredFeaturesSpecification` with\n * `crossRegistry: 'fail-closed'`).\n * - **M2M (outbound webhook) call site** passes a bare\n * `(ref) => \\`\\\\\\`${ref}\\\\\\`\\`` formatter — the M2M dispatcher honours\n * any application-defined gate beyond the engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc),\n * so the renderer must NOT decorate refs the spec registry doesn't\n * know about. Decoration would mislead readers into thinking M2M\n * has a registry-resolution invariant that does not exist at runtime.\n * See `cross-registry-rendering.shared.ts` \"M2M is intentionally out\n * of scope\" section for the matching renderer-side rationale.\n */\nexport interface FormatRequiredFeaturesBulletsOptions {\n formatFeatureRef: (ref: string) => string;\n}\n\n/**\n * Render the optional `requiredFeatures` documentation slot as a\n * header line + per-`limitChecks[i]` bullet block. Returns `undefined`\n * when the slot is absent so callers' `.filter(Boolean)` /\n * `toMarkdownListItems(...)` strips it cleanly.\n *\n * # Output shape\n *\n * Header line:\n * - `Required features: \\`A\\`, \\`B\\`` when `mode` is unset or `'OR'`\n * (the runtime default — surfacing \"(mode: OR)\" on every authored\n * slot adds noise without adding information).\n * - `Required features: \\`A\\`, \\`B\\` (mode: AND)` when `mode === 'AND'`\n * (the rare authored override — flagged so AI / human readers\n * immediately see the deviating combination semantics).\n *\n * One bullet per `limitChecks[i]`:\n * - `Limit check: \\`<featureRef>\\``\n * - `Limit check: \\`<featureRef>\\` · increment=<N>` when `increment` is\n * authored (matches the runtime `LimitCheckSchema.increment` field).\n * - `Limit check: \\`<featureRef>\\` · countingOverride=present` when an\n * authored `countingOverride` object exists. The shape of that object\n * is intentionally not enumerated at the spec layer\n * (`assertOptionalCountingOverrideShape` only checks it's an object —\n * the runtime axes of `LimitCountingConfig` are not mirrored), so the\n * renderer surfaces presence-only rather than re-serialising the\n * payload. Authors who want detail should consult the runtime\n * `LimitCountingConfig` schema directly.\n *\n * # Why a single helper for two consumers\n *\n * Both M2M (`ResourceOperationM2MSpecification.requiredFeatures`) and\n * onboarding-view (`OnboardingViewSpecificationConfig.requiredFeatures`)\n * consume the same `RequiredFeaturesSpecification` schema (extracted\n * by `non-view-specification-coverage` Step 5 Phase 0). Before this\n * helper existed, M2M emitted a single inline headline-part while\n * onboarding-view emitted a multi-line bullet block — two divergent\n * renderings for one structural type, with no semantic justification\n * for the asymmetry. This helper unifies both surfaces on the\n * onboarding-view-shaped multi-line bullets (the strictly more\n * informative form). See Phase 4.5 finding F-4 in\n * `m2m-webhook-organization-delivery-phase4-audit.md` for the audit.\n *\n * # Consumers\n *\n * All three surfaces that read the same `RequiredFeaturesSpecification`\n * schema now flow through this helper:\n *\n * 1. **M2M (outbound webhook)** — `resource-specification-context\n * .factory.ts → formatM2MRequiredFeaturesLine` — passes the bare\n * `(ref) => \\`\\\\\\`${ref}\\\\\\`\\`` formatter (no cross-link decoration,\n * per the M2M-out-of-scope rationale above).\n * 2. **Onboarding view** — `onboarding-view-specification-context\n * .factory.ts → buildRequiredFeaturesLines` — passes\n * `formatFeatureRefWithCrossLink` so unresolved refs surface the\n * `(unknown)` flag.\n * 3. **Guidance flow audience block** — `guidance-flow-specification-context\n * .factory.ts → buildAudienceLines` — same `formatFeatureRefWithCrossLink`\n * contract as the onboarding-view caller. Migrated from a divergent\n * inline `Required features (OR): …` rendering by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`\n * (originally tracked in `m2m-webhook-organization-delivery-phase4-5-hardening.md`\n * Step 4 follow-up). Before that closure the audience block always\n * emitted `(OR)` even when the mode was the runtime default — the\n * inline implementation also bypassed `formatFeatureRefWithCrossLink`\n * so dangling feature refs were not flagged.\n */\nexport function formatRequiredFeaturesBullets(\n requiredFeatures: RequiredFeaturesSpecification | undefined,\n options: FormatRequiredFeaturesBulletsOptions,\n): string[] | undefined {\n if (!requiredFeatures) {\n return undefined;\n }\n const refs = requiredFeatures.featureRefs.map(options.formatFeatureRef).join(', ');\n const modeSuffix = requiredFeatures.mode === 'AND' ? ' (mode: AND)' : '';\n const lines: string[] = [`Required features: ${refs}${modeSuffix}`];\n for (const limitCheck of requiredFeatures.limitChecks ?? []) {\n const ref = options.formatFeatureRef(limitCheck.featureRef);\n const incrementSuffix = typeof limitCheck.increment === 'number'\n ? ` · increment=${limitCheck.increment}`\n : '';\n const countingOverrideSuffix = limitCheck.countingOverride !== undefined\n ? ' · countingOverride=present'\n : '';\n lines.push(`Limit check: ${ref}${incrementSuffix}${countingOverrideSuffix}`);\n }\n return lines;\n}\n\nexport interface FieldSpecInput {\n fieldName: string;\n specDecorator: string;\n params: Record<string, unknown>;\n /**\n * Framework-derived structural metadata extracted from the Zod schema\n * (and, in Phase 2B, the relationship registry). The renderer consults\n * `derived` for structural facts — e.g. `arraySpec` element kind / primitive\n * type / union branches — so authors no longer hand-author what the\n * framework can compute. Author-supplied fields (`elementMeaning`,\n * `enumDeclaration`, `notes`) still come from `params`.\n */\n derived?: ExtractedFieldSpecDerived;\n /**\n * Where this field came from in the resource schema chain — derived from\n * the engine's `ExtractedFieldSpec.origin` (the owning vocabulary in\n * `@wildo-ai/saas-specifications`) rather than re-declared here.\n */\n origin?: ExtractedFieldSpec['origin'];\n}\n\n/**\n * Renders a field spec into a multi-line markdown block with:\n * - A heading line showing the field name, meaning, decorator, importance, and origin.\n * - Sub-lines for decorator-specific usage details (enum values, FK target, etc.).\n *\n * Lines are joined with `\\n` so templates that render each field as a list\n * item still get one logical block per field.\n */\nexport function formatFieldSpecBlock(fieldSpec: FieldSpecInput): string {\n const params = fieldSpec.params;\n const meaning = typeof params.meaning === 'string' ? params.meaning : undefined;\n const whyItMatters = typeof params.whyItMatters === 'string' ? params.whyItMatters : undefined;\n const importance = typeof params.importance === 'string' ? params.importance : undefined;\n\n const originSuffix = formatFieldOrigin(fieldSpec.origin);\n const importanceSuffix = importance ? ` [${importance}]` : '';\n\n const heading = meaning\n ? `\\`${fieldSpec.fieldName}\\` (${fieldSpec.specDecorator}${importanceSuffix}): ${meaning}${originSuffix}`\n : `\\`${fieldSpec.fieldName}\\` (${fieldSpec.specDecorator}${importanceSuffix})${originSuffix}`;\n\n const subLines: string[] = [];\n\n if (whyItMatters) {\n subLines.push(` Why it matters: ${whyItMatters}`);\n }\n\n subLines.push(...formatDecoratorUsageLines(fieldSpec.specDecorator, params, fieldSpec.derived));\n\n return subLines.length > 0\n ? [heading, ...subLines].join('\\n')\n : heading;\n}\n\nfunction formatFieldOrigin(\n origin: FieldSpecInput['origin'],\n): string {\n if (!origin) {\n return '';\n }\n if (origin.scope === 'inherited' && origin.variantPath?.length) {\n const path = origin.variantPath\n .map((seg) => `${seg.discriminatorField}=${seg.discriminatorValue}`)\n .join(' → ');\n return ` (inherited via ${path})`;\n }\n return origin.scope === 'inherited' ? ' (inherited)' : '';\n}\n\n/**\n * Produces sub-lines specific to each decorator type. Each line is\n * indented with two spaces so it renders as nested context below\n * the heading in a markdown list.\n */\nfunction formatDecoratorUsageLines(\n decorator: string,\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n switch (decorator) {\n case 'enumSpec':\n return formatEnumUsageLines(params);\n case 'foreignKeySpec':\n return formatForeignKeyUsageLines(params, derived);\n case 'arraySpec':\n return formatArrayUsageLines(params, derived);\n case 'stringSpec':\n return formatStringUsageLines(params);\n case 'numberSpec':\n case 'bigDecimalSpec':\n return formatNumberUsageLines(params);\n case 'dateSpec':\n case 'dateTimeSpec':\n return formatDateUsageLines(params);\n case 'objectSpec':\n return formatObjectUsageLines(params);\n default:\n return [];\n }\n}\n\nfunction formatEnumUsageLines(params: Record<string, unknown>): string[] {\n const lines: string[] = [];\n\n const enumDecl = params.enumDeclaration as\n | { packageName: string; exportName: string; importPath?: string; filePathHint?: string }\n | undefined;\n if (enumDecl) {\n lines.push(` Import: \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\`${formatSymbolLocationSuffix(enumDecl)}`);\n }\n\n const values = params.values as Record<string, { meaning?: string }> | undefined;\n if (values && Object.keys(values).length > 0) {\n lines.push(' Values:');\n for (const [value, config] of Object.entries(values)) {\n const valueMeaning = config?.meaning;\n lines.push(valueMeaning\n ? ` - \\`${value}\\`: ${valueMeaning}`\n : ` - \\`${value}\\``);\n }\n }\n\n return lines;\n}\n\n/**\n * Renders foreign-key usage by combining:\n *\n * - Author-supplied prose from `params.relationshipContext` (the business\n * meaning of the link — not derivable from the registry).\n * - Registry-derived target from `derived.foreignKeyTarget.resourceType`\n * (Phase 2B — the relationship registry's `foreignKeyField` is the\n * single source of truth for FK target resolution per Q6-2b).\n * - A fail-closed unresolved signal from\n * `derived.foreignKeyTargetUnresolved` so prompts stay honest about a\n * missing relationship instead of silently dropping the FK line. The\n * Phase 4 completeness validator promotes the same signal into a hard\n * error at companion-load time; the renderer surfaces it earlier so it\n * shows up in already-rendered prompts even if the validator is opt-in.\n */\nfunction formatForeignKeyUsageLines(\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n const lines: string[] = [];\n\n const relationshipContext = typeof params.relationshipContext === 'string'\n ? params.relationshipContext\n : undefined;\n if (relationshipContext) {\n lines.push(` Relationship: ${relationshipContext}`);\n }\n\n const target = derived?.foreignKeyTarget;\n if (target) {\n lines.push(` Target resource: \\`${target.resourceType}\\``);\n } else if (derived?.foreignKeyTargetUnresolved) {\n const unresolved = derived.foreignKeyTargetUnresolved;\n lines.push(\n ` Target resource: UNRESOLVED — ${unresolved.reason}.`,\n );\n }\n\n return lines;\n}\n\n/**\n * Renders array element details by combining:\n *\n * - Author-supplied semantics from `params.elementType` (`enumDeclaration`\n * for the vocabulary import path; `notes` for free-form caveats).\n * - Framework-derived structural facts from `derived.arrayElement`\n * (`kind`, `primitiveType`, `unionBranches`).\n *\n * The split mirrors Step 6 D-6 Phase 2A: structural truth lives in the Zod\n * schema and is computed once by the extractor; intent and import-path\n * anchors stay author-supplied because they are not derivable from the\n * runtime schema.\n */\nfunction formatArrayUsageLines(\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n const lines: string[] = [];\n\n const elementMeaning = typeof params.elementMeaning === 'string'\n ? params.elementMeaning\n : undefined;\n if (elementMeaning) {\n lines.push(` Element meaning: ${elementMeaning}`);\n }\n\n const authoredElementType = params.elementType as\n | {\n enumDeclaration?: { packageName: string; exportName: string; importPath?: string; filePathHint?: string };\n notes?: string[];\n }\n | undefined;\n\n const arrayElement = derived?.arrayElement;\n\n if (arrayElement) {\n const kindLabel = arrayElement.kind;\n const enumDecl = authoredElementType?.enumDeclaration;\n const enumDetail = enumDecl\n ? ` — use \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\``\n : '';\n const primitiveDetail = arrayElement.kind === CollectionElementKind.PRIMITIVE && arrayElement.primitiveType\n ? ` (${arrayElement.primitiveType})`\n : '';\n lines.push(` Element type: ${kindLabel}${primitiveDetail}${enumDetail}`);\n\n if (arrayElement.kind === CollectionElementKind.UNION && arrayElement.unionBranches?.length) {\n lines.push(' Union branches:');\n for (const branch of arrayElement.unionBranches) {\n const branchDetail = branch.kind === CollectionElementKind.PRIMITIVE && branch.primitiveType\n ? ` (${branch.primitiveType})`\n : '';\n lines.push(` - ${branch.kind}${branchDetail}`);\n }\n }\n } else if (authoredElementType?.enumDeclaration) {\n // Fallback: tests / manually constructed `additionalFieldSpecs` that\n // bypass the extractor still want the import-path line surfaced.\n const enumDecl = authoredElementType.enumDeclaration;\n lines.push(` Element type: use \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\``);\n }\n\n for (const note of authoredElementType?.notes ?? []) {\n lines.push(` ${note}`);\n }\n\n return lines;\n}\n\nfunction formatStringUsageLines(params: Record<string, unknown>): string[] {\n const semanticRole = typeof params.semanticRole === 'string'\n ? params.semanticRole\n : undefined;\n return semanticRole\n ? [` Semantic role: ${semanticRole}`]\n : [];\n}\n\nfunction formatNumberUsageLines(params: Record<string, unknown>): string[] {\n const unit = typeof params.unit === 'string' ? params.unit : undefined;\n return unit ? [` Unit: ${unit}`] : [];\n}\n\nfunction formatDateUsageLines(params: Record<string, unknown>): string[] {\n const temporalRole = typeof params.temporalRole === 'string'\n ? params.temporalRole\n : undefined;\n return temporalRole\n ? [` Temporal role: ${temporalRole}`]\n : [];\n}\n\n/**\n * Object-spec usage lines are intentionally empty.\n *\n * `objectSpec()` carries no extra structural metadata after the Step 6 D-6\n * Phase 1 collapse — its `meaning` / `whyItMatters` / `importance` are\n * already rendered by the base block. The decorator still exists so the\n * Phase 4 completeness validator can detect spec-bearing nested structures,\n * but renderers contribute no additional lines for it.\n */\nfunction formatObjectUsageLines(_params: Record<string, unknown>): string[] {\n return [];\n}\n"]}
1
+ {"version":3,"file":"specification-context-factory.shared.js","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.shared.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AAcpC,MAAM,UAAU,uBAAuB,CAAS,QAAgB;IAC9D,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,OAAO,CAAC,KAAa,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,MAAiC;IAEjC,MAAM,KAAK,GAAG,MAAM;SACjB,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;SACzE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACrC,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,S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;;;;;;;GAQG;AACH,SAAS,sBAAsB,CAAC,OAAgC;IAC9D,OAAO,EAAE,CAAC;AACZ,CAAC","sourcesContent":["import type {\n ExtractedFieldSpec,\n ExtractedFieldSpecDerived,\n RequiredFeaturesSpecification,\n} from '@wildo-ai/saas-specifications';\nimport { CollectionElementKind } from '@wildo-ai/zod-decorators';\nimport Handlebars from 'handlebars';\n\nexport interface MarkdownListItem {\n text: string;\n}\n\nexport interface MarkdownCodeExample {\n title: string;\n description?: string;\n language: string;\n code: string;\n notes?: MarkdownListItem[];\n}\n\nexport function compileMarkdownTemplate<TModel>(template: string): (model: TModel) => string {\n const render = Handlebars.compile(template, { noEscape: true });\n return (model: TModel) => render(model).trimEnd() + '\\n';\n}\n\nexport function toMarkdownListItems(\n values: Array<string | undefined>,\n): MarkdownListItem[] | undefined {\n const items = values\n .filter((value): value is string => Boolean(value && value.trim().length))\n .map((value) => ({ text: value }));\n return items.length > 0 ? items : undefined;\n}\n\nexport function toMarkdownCodeExampleNotes(\n values: string[] | undefined,\n): MarkdownListItem[] | undefined {\n return toMarkdownListItems(values ?? []);\n}\n\n/**\n * The IMPORT SPECIFIER for a symbol — `packageName`, plus `importPath` only when that\n * is a public subpath the owning package declares in `package.json#exports`.\n *\n * `filePathHint` is deliberately NOT consulted here. It is a module location, and\n * concatenating it onto the package name is exactly the defect issue #150 records:\n * an application package declares no export-map entry for its internal modules, so\n * `@app/main-app/modules/.../tasks.ui-behavior` cannot resolve, and a coding agent was\n * being handed it as the address to import from.\n */\nexport function formatImportTarget(symbol: {\n packageName: string;\n importPath?: string;\n}): string {\n return symbol.importPath ? `${symbol.packageName}/${symbol.importPath}` : symbol.packageName;\n}\n\n/**\n * The LOCATION sentence appended after an import instruction, when the ref carries one.\n *\n * Rendered as prose rather than as a specifier so no downstream reader can mistake it\n * for something importable — the whole point of splitting the two senses. Empty string\n * when unauthored, so every caller can append it unconditionally.\n */\nexport function formatSymbolLocationSuffix(symbol: { filePathHint?: string }): string {\n return symbol.filePathHint\n ? ` It is defined at \\`${symbol.filePathHint}\\` inside that package — a location for reading, not an import path.`\n : '';\n}\n\nexport function formatCodeSymbolRef(symbol: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n}): string {\n return `Import \\`${symbol.exportName}\\` from \\`${formatImportTarget(symbol)}\\`.${formatSymbolLocationSuffix(symbol)}`;\n}\n\nexport function formatNamedMemberRef(namedMember: {\n declaration: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n };\n memberName: string;\n}): string {\n return `Use member \\`${namedMember.memberName}\\` from \\`${namedMember.declaration.exportName}\\` imported via \\`${formatImportTarget(namedMember.declaration)}\\`.${formatSymbolLocationSuffix(namedMember.declaration)}`;\n}\n\nexport function formatCollectionEntryRef(collectionEntry: {\n collectionSymbol: {\n packageName: string;\n exportName: string;\n importPath?: string;\n filePathHint?: string;\n };\n identifierField: string;\n identifierValue: string;\n}): string {\n return `Use the entry where \\`${collectionEntry.identifierField}\\` is \\`${collectionEntry.identifierValue}\\` from \\`${collectionEntry.collectionSymbol.exportName}\\` imported via \\`${formatImportTarget(collectionEntry.collectionSymbol)}\\`.${formatSymbolLocationSuffix(collectionEntry.collectionSymbol)}`;\n}\n\n/**\n * Render a `SpecificationOwnerRef` as a list of bullet-ready lines:\n * one header line carrying the owner identity, followed by one bullet\n * per authored note.\n *\n * # Companion-bullet contract\n *\n * `SpecificationOwnerRef.notes` is a `string[]` of distinct caveats —\n * see `engine/saas-specifications/src/_core/definition-specification.schemas.ts`\n * (\"Extra caveats for downstream tooling when ownership alone is not\n * enough\"). The earlier inline `Notes: ${notes.join(' ')}` flatten\n * silently merged authored entries onto a single line and broke the\n * companion-bullet promise that downstream tooling depends on for\n * grep-able per-note lines (`Owner note: ...`). This mirrors the\n * symmetric fix landed for `TranslationSlotSpecification.notes` in\n * `non-composite-view-specification-context.shared.ts` +\n * `composite-view-specification-context.factory.ts` — see the\n * `TranslationSlotSpecification.notes` JSDoc in\n * `engine/saas-specifications/src/_core/translation-slot-specification.schemas.ts`\n * for the canonical multi-bullet contract.\n *\n * # Why an array, not a string\n *\n * Returning `string[]` makes the per-bullet contract enforced at the\n * type level: every list-shaped consumer must spread the result into\n * its `toMarkdownListItems([...lines])` call, which means each note is\n * guaranteed to surface as its own structural bullet. The previous\n * single-string API let the notes silently collapse onto the caller's\n * adjacent line without any signal at the call site.\n *\n * # Inline-then-extract consumers\n *\n * Renderers whose macro pattern packs multiple owner-bearing items onto\n * a single bullet line (e.g. the frontend-component contribution\n * rendering — \"one bullet per contribution\") cannot spread the bullet\n * array into a list. Those call sites use {@link formatOwnerRefHeader}\n * for the inline `Owner: …` fragment in the structural summary, and\n * separately map `owner.notes` to per-bullet lines with their own\n * path-aware label (e.g. `${contributionLabel} owner note: ${note}`)\n * so that authored owner notes still surface as their own bullets in\n * the parent bullet block. This avoids collapsing distinct owner notes\n * into a single inline blob while still respecting the macro pattern.\n */\nexport function formatOwnerRefBullets(owner: {\n ownerId: string;\n ownerKind: string;\n notes?: string[];\n}): string[] {\n const header = formatOwnerRefHeader(owner);\n const noteLines = (owner.notes ?? []).map((note) => `Owner note: ${note}`);\n return [header, ...noteLines];\n}\n\n/**\n * Single-line `Owner: …` fragment for inline-then-extract consumers.\n *\n * Returns only the owner identity header (without any note bullets),\n * suitable for embedding inside a single structural summary line that\n * already aggregates several fields (e.g. a frontend-component\n * contribution line with kind/identity/path/load/owner/symbols all\n * joined). Owner notes MUST be emitted separately as their own bullets\n * by the caller — this helper deliberately drops them so the inline\n * fragment stays compact and the per-bullet contract for\n * `SpecificationOwnerRef.notes` is honoured at the parent bullet block.\n *\n * Use {@link formatOwnerRefBullets} for list-shaped consumers that can\n * spread the bullet array directly.\n */\nexport function formatOwnerRefHeader(owner: {\n ownerId: string;\n ownerKind: string;\n}): string {\n return `Owner: \\`${owner.ownerId}\\` (\\`${owner.ownerKind}\\`).`;\n}\n\nexport function formatLiteralLine(label: string, value: string | undefined): string | undefined {\n return value && value.trim().length > 0 ? `${label}: ${value}` : undefined;\n}\n\n/**\n * Per-call options for {@link formatRequiredFeaturesBullets}.\n *\n * `formatFeatureRef` decides how each authored `featureRef` literal is\n * rendered inside the produced lines. Two contracts coexist in the\n * renderer family today, both honoured by this single helper:\n *\n * - **Onboarding-view / future flow-gating call sites** pass\n * `formatFeatureRefWithCrossLink` from `cross-registry-rendering.shared`\n * so unresolved refs surface a `(unknown)` flag (matches the\n * fail-closed validator contract in\n * `assertOptionalRequiredFeaturesSpecification` with\n * `crossRegistry: 'fail-closed'`).\n * - **M2M (outbound webhook) call site** passes a bare\n * `(ref) => \\`\\\\\\`${ref}\\\\\\`\\`` formatter — the M2M dispatcher honours\n * any application-defined gate beyond the engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc),\n * so the renderer must NOT decorate refs the spec registry doesn't\n * know about. Decoration would mislead readers into thinking M2M\n * has a registry-resolution invariant that does not exist at runtime.\n * See `cross-registry-rendering.shared.ts` \"M2M is intentionally out\n * of scope\" section for the matching renderer-side rationale.\n */\nexport interface FormatRequiredFeaturesBulletsOptions {\n formatFeatureRef: (ref: string) => string;\n}\n\n/**\n * Render the optional `requiredFeatures` documentation slot as a\n * header line + per-`limitChecks[i]` bullet block. Returns `undefined`\n * when the slot is absent so callers' `.filter(Boolean)` /\n * `toMarkdownListItems(...)` strips it cleanly.\n *\n * # Output shape\n *\n * Header line:\n * - `Required features: \\`A\\`, \\`B\\`` when `mode` is unset or `'OR'`\n * (the runtime default — surfacing \"(mode: OR)\" on every authored\n * slot adds noise without adding information).\n * - `Required features: \\`A\\`, \\`B\\` (mode: AND)` when `mode === 'AND'`\n * (the rare authored override — flagged so AI / human readers\n * immediately see the deviating combination semantics).\n *\n * One bullet per `limitChecks[i]`:\n * - `Limit check: \\`<featureRef>\\``\n * - `Limit check: \\`<featureRef>\\` · increment=<N>` when `increment` is\n * authored (matches the runtime `LimitCheckSchema.increment` field).\n * - `Limit check: \\`<featureRef>\\` · countingOverride=present` when an\n * authored `countingOverride` object exists. The shape of that object\n * is intentionally not enumerated at the spec layer\n * (`assertOptionalCountingOverrideShape` only checks it's an object —\n * the runtime axes of `LimitCountingConfig` are not mirrored), so the\n * renderer surfaces presence-only rather than re-serialising the\n * payload. Authors who want detail should consult the runtime\n * `LimitCountingConfig` schema directly.\n *\n * # Why a single helper for two consumers\n *\n * Both M2M (`ResourceOperationM2MSpecification.requiredFeatures`) and\n * onboarding-view (`OnboardingViewSpecificationConfig.requiredFeatures`)\n * consume the same `RequiredFeaturesSpecification` schema (extracted\n * by `non-view-specification-coverage` Step 5 Phase 0). Before this\n * helper existed, M2M emitted a single inline headline-part while\n * onboarding-view emitted a multi-line bullet block — two divergent\n * renderings for one structural type, with no semantic justification\n * for the asymmetry. This helper unifies both surfaces on the\n * onboarding-view-shaped multi-line bullets (the strictly more\n * informative form). See Phase 4.5 finding F-4 in\n * `m2m-webhook-organization-delivery-phase4-audit.md` for the audit.\n *\n * # Consumers\n *\n * All three surfaces that read the same `RequiredFeaturesSpecification`\n * schema now flow through this helper:\n *\n * 1. **M2M (outbound webhook)** — `resource-specification-context\n * .factory.ts → formatM2MRequiredFeaturesLine` — passes the bare\n * `(ref) => \\`\\\\\\`${ref}\\\\\\`\\`` formatter (no cross-link decoration,\n * per the M2M-out-of-scope rationale above).\n * 2. **Onboarding view** — `onboarding-view-specification-context\n * .factory.ts → buildRequiredFeaturesLines` — passes\n * `formatFeatureRefWithCrossLink` so unresolved refs surface the\n * `(unknown)` flag.\n * 3. **Guidance flow audience block** — `guidance-flow-specification-context\n * .factory.ts → buildAudienceLines` — same `formatFeatureRefWithCrossLink`\n * contract as the onboarding-view caller. Migrated from a divergent\n * inline `Required features (OR): …` rendering by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`\n * (originally tracked in `m2m-webhook-organization-delivery-phase4-5-hardening.md`\n * Step 4 follow-up). Before that closure the audience block always\n * emitted `(OR)` even when the mode was the runtime default — the\n * inline implementation also bypassed `formatFeatureRefWithCrossLink`\n * so dangling feature refs were not flagged.\n */\nexport function formatRequiredFeaturesBullets(\n requiredFeatures: RequiredFeaturesSpecification | undefined,\n options: FormatRequiredFeaturesBulletsOptions,\n): string[] | undefined {\n if (!requiredFeatures) {\n return undefined;\n }\n const refs = requiredFeatures.featureRefs.map(options.formatFeatureRef).join(', ');\n const modeSuffix = requiredFeatures.mode === 'AND' ? ' (mode: AND)' : '';\n const lines: string[] = [`Required features: ${refs}${modeSuffix}`];\n for (const limitCheck of requiredFeatures.limitChecks ?? []) {\n const ref = options.formatFeatureRef(limitCheck.featureRef);\n const incrementSuffix = typeof limitCheck.increment === 'number'\n ? ` · increment=${limitCheck.increment}`\n : '';\n const countingOverrideSuffix = limitCheck.countingOverride !== undefined\n ? ' · countingOverride=present'\n : '';\n lines.push(`Limit check: ${ref}${incrementSuffix}${countingOverrideSuffix}`);\n }\n return lines;\n}\n\nexport interface FieldSpecInput {\n fieldName: string;\n specDecorator: string;\n params: Record<string, unknown>;\n /**\n * Framework-derived structural metadata extracted from the Zod schema\n * (and, in Phase 2B, the relationship registry). The renderer consults\n * `derived` for structural facts — e.g. `arraySpec` element kind / primitive\n * type / union branches — so authors no longer hand-author what the\n * framework can compute. Author-supplied fields (`elementMeaning`,\n * `enumDeclaration`, `notes`) still come from `params`.\n */\n derived?: ExtractedFieldSpecDerived;\n /**\n * Where this field came from in the resource schema chain — derived from\n * the engine's `ExtractedFieldSpec.origin` (the owning vocabulary in\n * `@wildo-ai/saas-specifications`) rather than re-declared here.\n */\n origin?: ExtractedFieldSpec['origin'];\n}\n\n/**\n * Renders a field spec into a multi-line markdown block with:\n * - A heading line showing the field name, meaning, decorator, importance, and origin.\n * - Sub-lines for decorator-specific usage details (enum values, FK target, etc.).\n *\n * Lines are joined with `\\n` so templates that render each field as a list\n * item still get one logical block per field.\n */\nexport function formatFieldSpecBlock(fieldSpec: FieldSpecInput): string {\n const params = fieldSpec.params;\n const meaning = typeof params.meaning === 'string' ? params.meaning : undefined;\n const whyItMatters = typeof params.whyItMatters === 'string' ? params.whyItMatters : undefined;\n const importance = typeof params.importance === 'string' ? params.importance : undefined;\n\n const originSuffix = formatFieldOrigin(fieldSpec.origin);\n const importanceSuffix = importance ? ` [${importance}]` : '';\n\n const heading = meaning\n ? `\\`${fieldSpec.fieldName}\\` (${fieldSpec.specDecorator}${importanceSuffix}): ${meaning}${originSuffix}`\n : `\\`${fieldSpec.fieldName}\\` (${fieldSpec.specDecorator}${importanceSuffix})${originSuffix}`;\n\n const subLines: string[] = [];\n\n if (whyItMatters) {\n subLines.push(` Why it matters: ${whyItMatters}`);\n }\n\n subLines.push(...formatDecoratorUsageLines(fieldSpec.specDecorator, params, fieldSpec.derived));\n\n return subLines.length > 0\n ? [heading, ...subLines].join('\\n')\n : heading;\n}\n\nfunction formatFieldOrigin(\n origin: FieldSpecInput['origin'],\n): string {\n if (!origin) {\n return '';\n }\n if (origin.scope === 'inherited' && origin.variantPath?.length) {\n const path = origin.variantPath\n .map((seg) => `${seg.discriminatorField}=${seg.discriminatorValue}`)\n .join(' → ');\n return ` (inherited via ${path})`;\n }\n return origin.scope === 'inherited' ? ' (inherited)' : '';\n}\n\n/**\n * Produces sub-lines specific to each decorator type. Each line is\n * indented with two spaces so it renders as nested context below\n * the heading in a markdown list.\n */\nfunction formatDecoratorUsageLines(\n decorator: string,\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n switch (decorator) {\n case 'enumSpec':\n return formatEnumUsageLines(params);\n case 'foreignKeySpec':\n return formatForeignKeyUsageLines(params, derived);\n case 'arraySpec':\n return formatArrayUsageLines(params, derived);\n case 'stringSpec':\n return formatStringUsageLines(params);\n case 'numberSpec':\n case 'bigDecimalSpec':\n return formatNumberUsageLines(params);\n case 'dateSpec':\n case 'dateTimeSpec':\n return formatDateUsageLines(params);\n case 'objectSpec':\n return formatObjectUsageLines(params);\n default:\n return [];\n }\n}\n\nfunction formatEnumUsageLines(params: Record<string, unknown>): string[] {\n const lines: string[] = [];\n\n const enumDecl = params.enumDeclaration as\n | { packageName: string; exportName: string; importPath?: string; filePathHint?: string }\n | undefined;\n if (enumDecl) {\n lines.push(` Import: \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\`${formatSymbolLocationSuffix(enumDecl)}`);\n }\n\n const values = params.values as Record<string, { meaning?: string }> | undefined;\n if (values && Object.keys(values).length > 0) {\n lines.push(' Values:');\n for (const [value, config] of Object.entries(values)) {\n const valueMeaning = config?.meaning;\n lines.push(valueMeaning\n ? ` - \\`${value}\\`: ${valueMeaning}`\n : ` - \\`${value}\\``);\n }\n }\n\n return lines;\n}\n\n/**\n * Renders foreign-key usage by combining:\n *\n * - Author-supplied prose from `params.relationshipContext` (the business\n * meaning of the link — not derivable from the registry).\n * - Registry-derived target from `derived.foreignKeyTarget.resourceType`\n * (Phase 2B — the relationship registry's `foreignKeyField` is the\n * single source of truth for FK target resolution per Q6-2b).\n * - A fail-closed unresolved signal from\n * `derived.foreignKeyTargetUnresolved` so prompts stay honest about a\n * missing relationship instead of silently dropping the FK line. The\n * Phase 4 completeness validator promotes the same signal into a hard\n * error at companion-load time; the renderer surfaces it earlier so it\n * shows up in already-rendered prompts even if the validator is opt-in.\n */\nfunction formatForeignKeyUsageLines(\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n const lines: string[] = [];\n\n const relationshipContext = typeof params.relationshipContext === 'string'\n ? params.relationshipContext\n : undefined;\n if (relationshipContext) {\n lines.push(` Relationship: ${relationshipContext}`);\n }\n\n const target = derived?.foreignKeyTarget;\n if (target) {\n lines.push(` Target resource: \\`${target.resourceType}\\``);\n } else if (derived?.foreignKeyTargetUnresolved) {\n const unresolved = derived.foreignKeyTargetUnresolved;\n lines.push(\n ` Target resource: UNRESOLVED — ${unresolved.reason}.`,\n );\n }\n\n return lines;\n}\n\n/**\n * Renders array element details by combining:\n *\n * - Author-supplied semantics from `params.elementType` (`enumDeclaration`\n * for the vocabulary import path; `notes` for free-form caveats).\n * - Framework-derived structural facts from `derived.arrayElement`\n * (`kind`, `primitiveType`, `unionBranches`).\n *\n * The split mirrors Step 6 D-6 Phase 2A: structural truth lives in the Zod\n * schema and is computed once by the extractor; intent and import-path\n * anchors stay author-supplied because they are not derivable from the\n * runtime schema.\n */\nfunction formatArrayUsageLines(\n params: Record<string, unknown>,\n derived: ExtractedFieldSpecDerived | undefined,\n): string[] {\n const lines: string[] = [];\n\n const elementMeaning = typeof params.elementMeaning === 'string'\n ? params.elementMeaning\n : undefined;\n if (elementMeaning) {\n lines.push(` Element meaning: ${elementMeaning}`);\n }\n\n const authoredElementType = params.elementType as\n | {\n enumDeclaration?: { packageName: string; exportName: string; importPath?: string; filePathHint?: string };\n notes?: string[];\n }\n | undefined;\n\n const arrayElement = derived?.arrayElement;\n\n if (arrayElement) {\n const kindLabel = arrayElement.kind;\n const enumDecl = authoredElementType?.enumDeclaration;\n const enumDetail = enumDecl\n ? ` — use \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\``\n : '';\n const primitiveDetail = arrayElement.kind === CollectionElementKind.PRIMITIVE && arrayElement.primitiveType\n ? ` (${arrayElement.primitiveType})`\n : '';\n lines.push(` Element type: ${kindLabel}${primitiveDetail}${enumDetail}`);\n\n if (arrayElement.kind === CollectionElementKind.UNION && arrayElement.unionBranches?.length) {\n lines.push(' Union branches:');\n for (const branch of arrayElement.unionBranches) {\n const branchDetail = branch.kind === CollectionElementKind.PRIMITIVE && branch.primitiveType\n ? ` (${branch.primitiveType})`\n : '';\n lines.push(` - ${branch.kind}${branchDetail}`);\n }\n }\n } else if (authoredElementType?.enumDeclaration) {\n // Fallback: tests / manually constructed `additionalFieldSpecs` that\n // bypass the extractor still want the import-path line surfaced.\n const enumDecl = authoredElementType.enumDeclaration;\n lines.push(` Element type: use \\`${enumDecl.exportName}\\` from \\`${formatImportTarget(enumDecl)}\\``);\n }\n\n for (const note of authoredElementType?.notes ?? []) {\n lines.push(` ${note}`);\n }\n\n return lines;\n}\n\nfunction formatStringUsageLines(params: Record<string, unknown>): string[] {\n const semanticRole = typeof params.semanticRole === 'string'\n ? params.semanticRole\n : undefined;\n return semanticRole\n ? [` Semantic role: ${semanticRole}`]\n : [];\n}\n\nfunction formatNumberUsageLines(params: Record<string, unknown>): string[] {\n const unit = typeof params.unit === 'string' ? params.unit : undefined;\n return unit ? [` Unit: ${unit}`] : [];\n}\n\nfunction formatDateUsageLines(params: Record<string, unknown>): string[] {\n const temporalRole = typeof params.temporalRole === 'string'\n ? params.temporalRole\n : undefined;\n return temporalRole\n ? [` Temporal role: ${temporalRole}`]\n : [];\n}\n\n/**\n * Object-spec usage lines are intentionally empty.\n *\n * `objectSpec()` carries no extra structural metadata after the Step 6 D-6\n * Phase 1 collapse — its `meaning` / `whyItMatters` / `importance` are\n * already rendered by the base block. The decorator still exists so the\n * Phase 4 completeness validator can detect spec-bearing nested structures,\n * but renderers contribute no additional lines for it.\n */\nfunction formatObjectUsageLines(_params: Record<string, unknown>): string[] {\n return [];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"system-email-template-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/system-email-template-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,+BAA+B,CAAC;AAE5F,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAwIhD,wBAAgB,iDAAiD,CAC/D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,sCAAsC,EACrD,UAAU,EACN,8BAA8B,CAAC,yCAAyC,GACxE,8BAA8B,CAAC,mDAAmD,GAClF,8BAA8B,CAAC,+CAA+C,GAC9E,8BAA8B,CAAC,qCAAqC,GACvE,gCAAgC,CA8GlC"}
1
+ {"version":3,"file":"system-email-template-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/system-email-template-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,+BAA+B,CAAC;AAE5F,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAwIhD,wBAAgB,iDAAiD,CAC/D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,sCAAsC,EACrD,UAAU,EACN,8BAA8B,CAAC,yCAAyC,GACxE,8BAA8B,CAAC,mDAAmD,GAClF,8BAA8B,CAAC,+CAA+C,GAC9E,8BAA8B,CAAC,qCAAqC,GACvE,gCAAgC,CA8GlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"system-email-template-specification-context.factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/system-email-template-specification-context.factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yCAAyC,EAAE,MAAM,+BAA+B,CAAC;AAE1F,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,8CAA8C,GAC/C,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EACL,4DAA4D,GAC7D,MAAM,gGAAgG,CAAC;AACxG,OAAO,EACL,wDAAwD,GACzD,MAAM,4FAA4F,CAAC;AACpG,OAAO,EACL,kDAAkD,GACnD,MAAM,sFAAsF,CAAC;AA8B9F,MAAM,wBAAwB,GAAG,uBAAuB,CACtD,kDAAkD,CACnD,CAAC;AACF,MAAM,iCAAiC,GAAG,uBAAuB,CAC/D,4DAA4D,CAC7D,CAAC;AACF,MAAM,6BAA6B,GAAG,uBAAuB,CAC3D,wDAAwD,CACzD,CAAC;AACF,MAAM,2BAA2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,EAAE,aAAa,CAAC,OAAO;oBAC9B,IAAI,EAAE,aAAa,CAAC,IAAI;oBACxB,SAAS;oBACT,SAAS;oBACT,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,wBAAwB;oBACxB,aAAa;oBACb,cAAc;oBACd,mBAAmB;iBACpB,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type { SystemEmailTemplateSpecificationConfig } from '@wildo-ai/saas-specifications';\nimport { SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS } from '@wildo-ai/saas-specifications';\nimport type { SpecificationMarkdownContextPart } from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatOwnerRefBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\nimport {\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION_TEMPLATE,\n} from './templates/system-email-template/system-email-template-all-information.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-custom-implementation-context.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-development-usage-context.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-translation-context.template';\n\n/**\n * Markdown context model for system email templates.\n *\n * `emailType`, `frequency`, and `scope` are **required** here to mirror the\n * spec layer's required-echo contract: the authoring factory always stamps\n * them from the runtime registry entry (see\n * `systemEmailTemplateSpecificationFromRegistryEntry`), so they can never be\n * absent on a valid `SystemEmailTemplateSpecificationConfig`. Keeping them\n * required at the model boundary lets the handlebars templates drop their\n * `{{#if}}` guards and prevents accidental loosening if the spec contract\n * ever changes.\n */\ninterface SystemEmailContextModel {\n title: string;\n purpose: string;\n tone: string;\n emailType: string;\n frequency: string;\n scope: string;\n useWhen?: string;\n avoidWhen?: string;\n textSlotLines?: Array<{ text: string }>;\n eventDataLines?: Array<{ text: string }>;\n implementationReferences?: Array<{ text: string }>;\n usageReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nconst renderTranslationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderCustomImplementationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderDevelopmentUsageContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderAllInformationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION_TEMPLATE,\n);\n\n/**\n * Renders authored text slots required-first, then optional slots in\n * declaration order. The required-first ordering uses\n * {@link SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS} (the same canonical list\n * the validator enforces in `system-email-template-specification.schemas.ts`)\n * so translators always see `subject` at the top of the rendered TRANSLATION\n * concern even when the authoring `textSlots` literal happens to declare\n * `previewText` or `ctaLabel` first. This mirrors the required-first\n * ordering applied in `formatOperationTextSlotLines` for resource-operation\n * communications text slots — symmetric ergonomics across surfaces.\n */\nfunction buildTextSlotLines(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const textSlots = specification.textSlots ?? {};\n const orderedKeys = [\n ...SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS.filter((key) => key in textSlots),\n ...Object.keys(textSlots).filter(\n (key) => !(SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS as readonly string[]).includes(key),\n ),\n ];\n const lines = orderedKeys.flatMap((slotName) => {\n const slotSpec = textSlots[slotName];\n if (!slotSpec) {\n return [];\n }\n const whenSuffix = slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : '';\n const header = `${slotName}: ${slotSpec.purpose}${whenSuffix}`;\n const noteLines = slotSpec.notes?.map((note) => `${slotName} note: ${note}`) ?? [];\n return [header, ...noteLines];\n });\n return toMarkdownListItems(lines);\n}\n\nfunction buildEventDataLines(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const eventData = specification.eventData;\n if (!eventData) {\n return undefined;\n }\n const whenSuffix = eventData.whenToUse ? ` Use when ${eventData.whenToUse}.` : '';\n const notesLines = eventData.notes?.map((note) => `Note: ${note}`) ?? [];\n return toMarkdownListItems([\n `Meaning: ${eventData.purpose}${whenSuffix}`,\n ...notesLines,\n ]);\n}\n\nfunction buildImplementationReferences(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n\n return toMarkdownListItems([\n ...(codeHandling.definitionOwner ? formatOwnerRefBullets(codeHandling.definitionOwner) : []),\n codeHandling.templateRefDeclaration\n ? `Template ref declaration: ${formatCodeSymbolRef(codeHandling.templateRefDeclaration)}`\n : undefined,\n codeHandling.eventDataSchemaSymbol\n ? `Event-data schema: ${formatCodeSymbolRef(codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n codeHandling.eventDataTypeSymbol\n ? `Event-data type: ${formatCodeSymbolRef(codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(codeHandling.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ...(codeHandling.notes ?? []).map((note) => `Note: ${note}`),\n ]);\n}\n\nexport function renderSystemEmailTemplateSpecificationContextPart(\n specificationId: string,\n specification: SystemEmailTemplateSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `System email template context: ${specificationId}`;\n const textSlotLines = buildTextSlotLines(specification);\n const eventDataLines = buildEventDataLines(specification);\n const implementationReferences = buildImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n /*\n * The model above requires `emailType` / `frequency` / `scope` on the documented grounds that\n * `systemEmailTemplateSpecificationFromRegistryEntry` always stamps them, \"so they can never be\n * absent on a valid `SystemEmailTemplateSpecificationConfig`\". That claim is about the AUTHORING\n * FACTORY, and the config type does not carry it — all three are declared optional there. Assert\n * it once at the boundary where the config becomes the model, so the documented invariant is\n * actually checked instead of assumed at four separate call sites.\n */\n const { emailType, frequency, scope } = specification;\n if (emailType === undefined || frequency === undefined || scope === undefined) {\n throw new Error(\n `System email template specification \"${specificationId}\" is missing a required routing classification `\n + `(emailType/frequency/scope). These are stamped from the runtime registry entry by `\n + `systemEmailTemplateSpecificationFromRegistryEntry; a specification without them was not authored through it.`,\n );\n }\n\n switch (templateId) {\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderTranslationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderCustomImplementationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderAllInformationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"system-email-template-specification-context.factory.js","sourceRoot":"","sources":["../../../../src/core/specifications/system-email-template-specification-context.factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yCAAyC,EAAE,MAAM,+BAA+B,CAAC;AAE1F,OAAO,EACL,2BAA2B,EAC3B,0BAA0B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,KAAK;gBACL,QAAQ,EAAE,6BAA6B,CAAC;oBACtC,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,IAAI,EAAE,aAAa,CAAC,IAAI;oBACxB,SAAS;oBACT,SAAS;oBACT,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,eAAe,EAAE,wBAAwB;oBACzC,aAAa;oBACb,cAAc;oBACd,mBAAmB;iBACpB,CAAC;aACH,CAAC;QACJ,KAAK,8BAA8B,CAAC,qCAAqC;YACvE,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,qBAAqB;gBACxD,OAAO,EAAE,2BAA2B,CAAC,eAAe;gBACpD,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,2BAA2B,CAAC;oBACpC,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,IAAI,EAAE,aAAa,CAAC,IAAI;oBACxB,SAAS;oBACT,SAAS;oBACT,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,wBAAwB;oBACxB,aAAa;oBACb,cAAc;oBACd,mBAAmB;iBACpB,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type { SystemEmailTemplateSpecificationConfig } from '@wildo-ai/saas-specifications';\nimport { SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS } from '@wildo-ai/saas-specifications';\nimport type { SpecificationMarkdownContextPart } from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatOwnerRefBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\nimport {\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION_TEMPLATE,\n} from './templates/system-email-template/system-email-template-all-information.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-custom-implementation-context.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-development-usage-context.template';\nimport {\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/system-email-template/system-email-template-translation-context.template';\n\n/**\n * Markdown context model for system email templates.\n *\n * `emailType`, `frequency`, and `scope` are **required** here to mirror the\n * spec layer's required-echo contract: the authoring factory always stamps\n * them from the runtime registry entry (see\n * `systemEmailTemplateSpecificationFromRegistryEntry`), so they can never be\n * absent on a valid `SystemEmailTemplateSpecificationConfig`. Keeping them\n * required at the model boundary lets the handlebars templates drop their\n * `{{#if}}` guards and prevents accidental loosening if the spec contract\n * ever changes.\n */\ninterface SystemEmailContextModel {\n title: string;\n purpose: string;\n tone: string;\n emailType: string;\n frequency: string;\n scope: string;\n useWhen?: string;\n avoidWhen?: string;\n textSlotLines?: Array<{ text: string }>;\n eventDataLines?: Array<{ text: string }>;\n implementationReferences?: Array<{ text: string }>;\n usageReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nconst renderTranslationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderCustomImplementationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderDevelopmentUsageContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderAllInformationContext = compileMarkdownTemplate<SystemEmailContextModel>(\n SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION_TEMPLATE,\n);\n\n/**\n * Renders authored text slots required-first, then optional slots in\n * declaration order. The required-first ordering uses\n * {@link SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS} (the same canonical list\n * the validator enforces in `system-email-template-specification.schemas.ts`)\n * so translators always see `subject` at the top of the rendered TRANSLATION\n * concern even when the authoring `textSlots` literal happens to declare\n * `previewText` or `ctaLabel` first. This mirrors the required-first\n * ordering applied in `formatOperationTextSlotLines` for resource-operation\n * communications text slots — symmetric ergonomics across surfaces.\n */\nfunction buildTextSlotLines(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const textSlots = specification.textSlots ?? {};\n const orderedKeys = [\n ...SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS.filter((key) => key in textSlots),\n ...Object.keys(textSlots).filter(\n (key) => !(SYSTEM_EMAIL_TEMPLATE_REQUIRED_TEXT_SLOTS as readonly string[]).includes(key),\n ),\n ];\n const lines = orderedKeys.flatMap((slotName) => {\n const slotSpec = textSlots[slotName];\n if (!slotSpec) {\n return [];\n }\n const whenSuffix = slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : '';\n const header = `${slotName}: ${slotSpec.purpose}${whenSuffix}`;\n const noteLines = slotSpec.notes?.map((note) => `${slotName} note: ${note}`) ?? [];\n return [header, ...noteLines];\n });\n return toMarkdownListItems(lines);\n}\n\nfunction buildEventDataLines(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const eventData = specification.eventData;\n if (!eventData) {\n return undefined;\n }\n const whenSuffix = eventData.whenToUse ? ` Use when ${eventData.whenToUse}.` : '';\n const notesLines = eventData.notes?.map((note) => `Note: ${note}`) ?? [];\n return toMarkdownListItems([\n `Meaning: ${eventData.purpose}${whenSuffix}`,\n ...notesLines,\n ]);\n}\n\nfunction buildImplementationReferences(\n specification: SystemEmailTemplateSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n\n return toMarkdownListItems([\n ...(codeHandling.definitionOwner ? formatOwnerRefBullets(codeHandling.definitionOwner) : []),\n codeHandling.templateRefDeclaration\n ? `Template ref declaration: ${formatCodeSymbolRef(codeHandling.templateRefDeclaration)}`\n : undefined,\n codeHandling.eventDataSchemaSymbol\n ? `Event-data schema: ${formatCodeSymbolRef(codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n codeHandling.eventDataTypeSymbol\n ? `Event-data type: ${formatCodeSymbolRef(codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(codeHandling.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ...(codeHandling.notes ?? []).map((note) => `Note: ${note}`),\n ]);\n}\n\nexport function renderSystemEmailTemplateSpecificationContextPart(\n specificationId: string,\n specification: SystemEmailTemplateSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `System email template context: ${specificationId}`;\n const textSlotLines = buildTextSlotLines(specification);\n const eventDataLines = buildEventDataLines(specification);\n const implementationReferences = buildImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n /*\n * The model above requires `emailType` / `frequency` / `scope` on the documented grounds that\n * `systemEmailTemplateSpecificationFromRegistryEntry` always stamps them, \"so they can never be\n * absent on a valid `SystemEmailTemplateSpecificationConfig`\". That claim is about the AUTHORING\n * FACTORY, and the config type does not carry it — all three are declared optional there. Assert\n * it once at the boundary where the config becomes the model, so the documented invariant is\n * actually checked instead of assumed at four separate call sites.\n */\n const { emailType, frequency, scope } = specification;\n if (emailType === undefined || frequency === undefined || scope === undefined) {\n throw new Error(\n `System email template specification \"${specificationId}\" is missing a required routing classification `\n + `(emailType/frequency/scope). These are stamped from the runtime registry entry by `\n + `systemEmailTemplateSpecificationFromRegistryEntry; a specification without them was not authored through it.`,\n );\n }\n\n switch (templateId) {\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderTranslationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderCustomImplementationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.SYSTEM_EMAIL_TEMPLATE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderAllInformationContext({\n title,\n purpose: specification.purpose,\n tone: specification.tone,\n emailType,\n frequency,\n scope,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n textSlotLines,\n eventDataLines,\n businessConstraints,\n }),\n };\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC,ssBAmD5C,CAAC"}
1
+ {"version":3,"file":"composite-view-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC,ssBAmD5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-all-information.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-all-information.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uCAAuC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmD/C,CAAC","sourcesContent":["export const COMPOSITE_VIEW_ALL_INFORMATION_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if implementationLines}}\n## Implementation references\n{{#each implementationLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if textSlotLines}}\n## View-level wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if notes}}\n## Notes\n{{#each notes}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"composite-view-all-information.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-all-information.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uCAAuC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmD/C,CAAC","sourcesContent":["export const COMPOSITE_VIEW_ALL_INFORMATION_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if implementationLines}}\n## Implementation references\n{{#each implementationLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if textSlotLines}}\n## View-level wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if notes}}\n## Notes\n{{#each notes}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-custom-implementation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qDAAqD,6QAiB1D,CAAC"}
1
+ {"version":3,"file":"composite-view-custom-implementation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qDAAqD,6QAiB1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-custom-implementation-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qDAAqD,GAAG;;;;;;;;;;;;;;;;;QAiB7D,CAAC","sourcesContent":["export const COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n{{#if implementationLines}}\n## Implementation references\n{{#each implementationLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"composite-view-custom-implementation-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qDAAqD,GAAG;;;;;;;;;;;;;;;;;QAiB7D,CAAC","sourcesContent":["export const COMPOSITE_VIEW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n{{#if implementationLines}}\n## Implementation references\n{{#each implementationLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-development-usage-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iDAAiD,geAqCtD,CAAC"}
1
+ {"version":3,"file":"composite-view-development-usage-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iDAAiD,geAqCtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-development-usage-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iDAAiD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqCzD,CAAC","sourcesContent":["export const COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if textSlotLines}}\n## Wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if notes}}\n## Implementation notes\n{{#each notes}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"composite-view-development-usage-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iDAAiD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqCzD,CAAC","sourcesContent":["export const COMPOSITE_VIEW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if textSlotLines}}\n## Wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if notes}}\n## Implementation notes\n{{#each notes}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-translation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-translation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2CAA2C,khBAqChD,CAAC"}
1
+ {"version":3,"file":"composite-view-translation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-translation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2CAA2C,khBAqChD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-translation-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/composite-view/composite-view-translation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2CAA2C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqCnD,CAAC","sourcesContent":["export const COMPOSITE_VIEW_TRANSLATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if textSlotLines}}\n## View-level wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section wording semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"composite-view-translation-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/composite-view/composite-view-translation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2CAA2C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqCnD,CAAC","sourcesContent":["export const COMPOSITE_VIEW_TRANSLATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## UI role\n{{uiRole}}\n\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if textSlotLines}}\n## View-level wording semantics\n{{#each textSlotLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if sectionLines}}\n## Section wording semantics\n{{#each sectionLines}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,+lBAwCrC,CAAC"}
1
+ {"version":3,"file":"feature-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,+lBAwCrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-all-information.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-all-information.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gCAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwCxC,CAAC","sourcesContent":["export const FEATURE_ALL_INFORMATION_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if implementationReferences}}\n## Implementation references\n{{#each implementationReferences}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"feature-all-information.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-all-information.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gCAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwCxC,CAAC","sourcesContent":["export const FEATURE_ALL_INFORMATION_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if implementationReferences}}\n## Implementation references\n{{#each implementationReferences}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-custom-implementation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8CAA8C,8cA2BnD,CAAC"}
1
+ {"version":3,"file":"feature-custom-implementation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8CAA8C,8cA2BnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-custom-implementation-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8CAA8C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2BtD,CAAC","sourcesContent":["export const FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Feature intent\n{{purpose}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if implementationReferences}}\n## Implementation references\n{{#each implementationReferences}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"feature-custom-implementation-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-custom-implementation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8CAA8C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2BtD,CAAC","sourcesContent":["export const FEATURE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Feature intent\n{{purpose}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if implementationReferences}}\n## Implementation references\n{{#each implementationReferences}}\n- {{text}}\n{{/each}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-development-usage-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0CAA0C,gdAiC/C,CAAC"}
1
+ {"version":3,"file":"feature-development-usage-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0CAA0C,gdAiC/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-development-usage-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0CAA0C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiClD,CAAC","sourcesContent":["export const FEATURE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if usageReferences}}\n## Stable code references\n{{#each usageReferences}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"feature-development-usage-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-development-usage-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0CAA0C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiClD,CAAC","sourcesContent":["export const FEATURE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Use when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid when\n{{avoidWhen}}\n\n{{/if}}\n{{#if usageReferences}}\n## Stable code references\n{{#each usageReferences}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-translation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-translation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oCAAoC,ggBAiCzC,CAAC"}
1
+ {"version":3,"file":"feature-translation-context.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-translation-context.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oCAAoC,ggBAiCzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-translation-context.template.js","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/feature/feature-translation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oCAAoC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiC5C,CAAC","sourcesContent":["export const FEATURE_TRANSLATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Translate as recommended when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid translation drift when\n{{avoidWhen}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
1
+ {"version":3,"file":"feature-translation-context.template.js","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/feature/feature-translation-context.template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oCAAoC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiC5C,CAAC","sourcesContent":["export const FEATURE_TRANSLATION_CONTEXT_TEMPLATE = `# {{title}}\n\n## Purpose\n{{purpose}}\n\n## Business role\n{{businessRole}}\n\n{{#if lifecycleRole}}\n## Lifecycle role\n{{lifecycleRole}}\n\n{{/if}}\n{{#if availabilityRole}}\n## Availability posture\n{{availabilityRole}}\n\n{{/if}}\n{{#if useWhen}}\n## Translate as recommended when\n{{useWhen}}\n\n{{/if}}\n{{#if avoidWhen}}\n## Avoid translation drift when\n{{avoidWhen}}\n\n{{/if}}\n{{#if businessConstraints}}\n## Constraints to preserve\n{{#each businessConstraints}}\n- {{text}}\n{{/each}}\n{{/if}}`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-component-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/specifications/templates/frontend-component/frontend-component-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2CAA2C,u0CAgGhD,CAAC"}
1
+ {"version":3,"file":"frontend-component-all-information.template.d.ts","sourceRoot":"","sources":["../../../../../../src/core/specifications/templates/frontend-component/frontend-component-all-information.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2CAA2C,u0CAgGhD,CAAC"}