@wildo-ai/dev-companion 1.1.7 → 1.1.8

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 (955) hide show
  1. package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
  2. package/dist/esm/__tests__/asset-noop.js.map +1 -1
  3. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  4. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +1 -1
  5. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  6. package/dist/esm/__tests__/internal-test-view.js.map +1 -1
  7. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  8. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  9. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  13. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  15. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  17. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  19. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  21. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  22. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  23. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  25. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  27. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  29. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  33. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  34. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  35. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  36. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  37. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  38. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  39. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
  41. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  42. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  43. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  44. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  45. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  47. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  49. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  50. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  51. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  52. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  53. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  54. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  55. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  56. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  57. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  58. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  59. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  60. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  61. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  62. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  63. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  64. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  65. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  66. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  67. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  68. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  69. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  70. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  71. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  72. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  73. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  74. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  75. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  76. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  77. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  78. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  79. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  80. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  81. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  82. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  83. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  84. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  85. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  86. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  87. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  88. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  89. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  90. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  91. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  92. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  93. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  94. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  95. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  96. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  97. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  99. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  107. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  108. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  109. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  110. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  111. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  112. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  113. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  114. package/dist/esm/core/context/companion-context.js.map +1 -1
  115. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  116. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  117. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  118. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  119. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  120. package/dist/esm/core/inject/models/container.js.map +1 -1
  121. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  122. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  123. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  124. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  125. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  126. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  127. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  128. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  129. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  130. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  131. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  132. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  133. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  134. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  135. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  136. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  137. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  138. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  139. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  140. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  141. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  142. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  143. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  144. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  145. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  146. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  147. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  148. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  149. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  150. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  151. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  152. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  153. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  154. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  155. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  156. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  157. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  158. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  159. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  160. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  161. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  162. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  163. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  164. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  165. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  166. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  167. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  169. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  171. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  172. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  173. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  174. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  175. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  176. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  177. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  178. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  179. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  180. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  181. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  182. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  183. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  184. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  185. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  186. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  187. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  188. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  189. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  190. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  191. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  192. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  193. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  194. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  195. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  198. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  199. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  200. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  201. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  203. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  204. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  205. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  206. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  207. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  208. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  209. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  210. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  211. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  212. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  213. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  214. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  215. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  216. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  217. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  218. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  219. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  220. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  221. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  222. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  223. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  224. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  225. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  226. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  227. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  228. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  229. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  230. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  231. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  232. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  233. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  234. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  235. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  236. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  237. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  238. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  239. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  240. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  241. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  242. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  243. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  244. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  245. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  246. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  247. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  248. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  249. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  250. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  251. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  252. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  253. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  254. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  255. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  256. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  257. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  258. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  259. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  260. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  261. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  262. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  263. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  264. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  265. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  266. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  267. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  268. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  269. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  270. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  271. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  272. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  273. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  274. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  275. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  276. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  277. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  278. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  279. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  280. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  281. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  282. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  283. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  284. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  285. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  286. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  287. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  288. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  289. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  290. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  291. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  292. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  293. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  294. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  295. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  296. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  297. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  298. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  299. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  300. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  301. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  302. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  303. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  304. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  305. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  306. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  307. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  308. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  309. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  310. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  311. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  312. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  313. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  314. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  315. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  316. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  317. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  318. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  319. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  320. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  321. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  322. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  323. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  324. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  325. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  326. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  327. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  328. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  329. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  330. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  331. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  332. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  333. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  335. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  337. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  339. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  341. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  343. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  345. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  347. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  349. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  351. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  353. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  355. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  357. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  359. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  361. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  363. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  365. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  366. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  367. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  368. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  369. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  370. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  371. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  372. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  373. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  374. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  375. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  376. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  377. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  378. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  379. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  380. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  381. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  382. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  383. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  384. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  385. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  386. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  387. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  388. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  389. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  390. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  391. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  392. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  393. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  394. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  395. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  396. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  397. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  398. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  399. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  400. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  401. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  402. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  403. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  404. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  405. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  406. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  407. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  408. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  409. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  410. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  411. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  412. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  413. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  414. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  415. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  416. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  417. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  418. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  419. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  420. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  421. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  422. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  423. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  424. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  425. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  426. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  427. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  428. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  429. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  430. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  431. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  432. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  433. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  434. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  435. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  436. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  437. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  438. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  439. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  440. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  441. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  442. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  443. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  444. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  445. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  446. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  447. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  448. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  449. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  450. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  451. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  452. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  453. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  454. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  455. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  456. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  457. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  458. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  459. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  460. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  461. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  462. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  463. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  464. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  465. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  466. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  467. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  468. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  469. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  470. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  471. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  472. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  473. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  474. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  475. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  476. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  477. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  478. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  479. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  480. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  481. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  482. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  483. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  484. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  485. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  486. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  487. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  488. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  489. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  490. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  491. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  492. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  493. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  494. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  495. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  496. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  497. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  498. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  499. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  500. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  501. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  502. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  503. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  504. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  505. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  506. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  507. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  508. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  509. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  510. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  511. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  512. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  513. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  514. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  515. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  516. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  517. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  518. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  519. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  520. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  521. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  522. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  523. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  524. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  525. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  526. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  527. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  528. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  529. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  530. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  531. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  532. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  533. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  534. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  535. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  536. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  537. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  538. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  539. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  540. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  541. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  543. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  545. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  547. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  549. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  647. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  648. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  649. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  650. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  651. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  652. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  653. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  654. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  655. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  657. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  658. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  659. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  660. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  661. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  662. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  663. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  664. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  665. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  666. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  667. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  668. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  669. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  670. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  671. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  672. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  673. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  674. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  675. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  676. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  677. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  678. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  679. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  680. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  681. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  682. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  683. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  684. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  685. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  686. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  687. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  688. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  689. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  690. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  691. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  692. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  693. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  694. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  695. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  696. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  697. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  698. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  699. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  700. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  701. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  702. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  703. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  704. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  705. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  706. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  707. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  708. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  709. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  710. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  711. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  712. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  713. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  714. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  715. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  716. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  717. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  718. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  719. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  720. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  721. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  722. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  723. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  724. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  725. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  726. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  727. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  728. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  729. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  730. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  731. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  732. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  733. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  734. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  735. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  736. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  737. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  738. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  739. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  740. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  741. package/dist/esm/i18n/index.d.ts.map +1 -1
  742. package/dist/esm/i18n/index.js.map +1 -1
  743. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  744. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  745. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  746. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  747. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  748. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  749. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  751. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  753. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  755. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  756. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  757. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  758. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  759. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  760. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  761. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  762. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  763. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  764. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  765. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  766. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  767. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  768. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  769. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  770. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  771. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  772. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  773. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  774. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  775. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  776. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  777. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  778. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  779. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  780. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  781. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  782. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  783. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  784. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  785. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  786. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  787. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  788. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  789. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  790. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  791. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  792. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  793. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  794. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  795. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  796. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  797. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  798. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  799. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  800. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  801. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  803. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  805. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  807. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  809. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  810. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  811. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  812. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  813. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  814. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  815. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  816. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  817. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  818. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  819. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  820. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  821. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  822. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  823. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  824. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  825. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  826. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  827. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  828. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  829. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  830. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  831. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  832. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  833. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  834. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  835. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  836. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  837. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  838. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  839. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  840. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  841. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  842. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  843. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  844. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  845. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  846. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  847. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  848. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  849. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  850. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  851. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  852. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  853. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  854. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  855. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  856. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  857. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  858. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  859. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  860. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  861. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  862. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  863. package/dist/esm/index.d.ts.map +1 -1
  864. package/dist/esm/index.js.map +1 -1
  865. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  866. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  867. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  868. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  869. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  870. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  871. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  872. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  873. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  874. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  875. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  876. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  877. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  878. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  879. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  880. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  881. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  882. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  883. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  884. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  885. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  886. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  887. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  888. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  889. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  890. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  891. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  892. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  893. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  894. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  895. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  896. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  897. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
  898. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
  899. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  900. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  901. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  902. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  903. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  904. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  905. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  906. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  907. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  908. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  909. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  910. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  911. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  912. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  913. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  914. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  915. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  916. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  917. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  918. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  919. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  920. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  921. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  922. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  923. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  924. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  925. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  926. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  927. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  928. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  929. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  930. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  931. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  932. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  933. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  934. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  935. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  936. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  937. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  938. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  939. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  940. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  941. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  942. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  943. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  944. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  945. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  946. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  947. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  948. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  949. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  950. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  951. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  952. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  953. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  954. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  955. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"resource-specification-context.factory.js","sourceRoot":"","sources":["../../../../src/core/specifications/resource-specification-context.factory.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,6BAA6B,EAC7B,8CAA8C,GAC/C,MAAM,+BAA+B,CAAC;AASvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iCAAiC,GAClC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,+CAA+C,GAChD,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,2CAA2C,GAC5C,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,qCAAqC,GACtC,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AA2DhD,MAAM,gCAA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,EAAE,qCAAqC,CAAC;oBAC9C,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,YAAY,EAAE,aAAa,CAAC,YAAY;oBACxC,aAAa;oBACb,UAAU;oBACV,kBAAkB;oBAClB,iBAAiB;oBACjB,aAAa;oBACb,gBAAgB;oBAChB,mBAAmB;iBACpB,CAAC;aACH,CAAC;QACJ,KAAK,8BAA8B,CAAC,wBAAwB;YAC1D,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,QAAQ;gBAC3C,OAAO,EAAE,2BAA2B,CAAC,eAAe;gBACpD,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,mCAAmC,CAAC;oBAC5C,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,YAAY,EAAE,aAAa,CAAC,YAAY;oBACxC,aAAa;oBACb,wBAAwB;oBACxB,UAAU;oBACV,kBAAkB;oBAClB,iBAAiB;oBACjB,aAAa;oBACb,gBAAgB;oBAChB,mBAAmB;iBACpB,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type {\n AnyResourceSpecificationConfig,\n ExtractedFieldSpec,\n ExtractFieldSpecsRegistryContext,\n ResourceOperationCommunicationsSpecification,\n ResourceOperationEmailDeliverySpecification,\n ResourceOperationEmailSpecification,\n ResourceOperationM2MDeliverySpecification,\n ResourceOperationM2MSpecification,\n ResourceOperationNotificationDeliverySpecification,\n ResourceOperationNotificationSpecification,\n ResourcePdfTemplateSpecification,\n ResourceOperationScheduledExecutionSpecification,\n ResourceOperationViewSpecification,\n TranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from '@wildo-ai/saas-specifications';\nimport {\n extractFieldSpecsFromFieldMap,\n ResourceOperationScheduledExecutionVariantType,\n} from '@wildo-ai/saas-specifications';\nimport type {\n ResourceConfiguration_InheritanceSchemaDefinition,\n ResourceRelationship,\n} from '@wildo-ai/saas-models';\nimport type { z } from 'zod';\nimport type {\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport { validateResourceFieldCompleteness } from './validate-resource-field-completeness';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n RESOURCE_ALL_INFORMATION_TEMPLATE,\n} from './templates/resource/resource-all-information.template';\nimport {\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-custom-implementation-context.template';\nimport {\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-development-usage-context.template';\nimport {\n RESOURCE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-translation-context.template';\nimport {\n compileMarkdownTemplate,\n formatCollectionEntryRef,\n formatCodeSymbolRef,\n formatFieldSpecBlock,\n formatLiteralLine,\n formatRequiredFeaturesBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\n\nexport interface ResourceTranslationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n fieldLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nexport interface ResourceCustomImplementationContextModel {\n title: string;\n purpose: string;\n implementationReferences?: Array<{ text: string }>;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n /**\n * Resource-level invariants that the custom implementation must preserve.\n * Threaded into the template so the CUSTOM_IMPLEMENTATION concern matches\n * its sibling templates (TRANSLATION, DEVELOPMENT_USAGE, ALL_INFORMATION),\n * which all surface authored constraints under `## Constraints to preserve`.\n */\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface ResourceDevelopmentUsageContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nexport interface ResourceAllInformationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n implementationReferences?: Array<{ text: string }>;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nconst renderResourceTranslationContext = compileMarkdownTemplate<ResourceTranslationContextModel>(\n RESOURCE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderResourceCustomImplementationContext = compileMarkdownTemplate<ResourceCustomImplementationContextModel>(\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderResourceDevelopmentUsageContext = compileMarkdownTemplate<ResourceDevelopmentUsageContextModel>(\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderResourceAllInformationContext = compileMarkdownTemplate<ResourceAllInformationContextModel>(\n RESOURCE_ALL_INFORMATION_TEMPLATE,\n);\n\nfunction buildResourceFieldSpecs(\n specification: AnyResourceSpecificationConfig,\n registryContext: ExtractFieldSpecsRegistryContext | undefined,\n): ExtractedFieldSpec[] {\n const overlayFieldSpecs = specification.fields\n ? extractFieldSpecsFromFieldMap(\n specification.fields as Record<string, z.ZodTypeAny>,\n undefined,\n registryContext,\n )\n : [];\n return [...overlayFieldSpecs, ...(specification.additionalFieldSpecs ?? [])];\n}\n\nfunction buildResourceFieldLines(\n fieldSpecs: ExtractedFieldSpec[],\n pdfTemplates: readonly ResourcePdfTemplateSpecification[] | undefined,\n): Array<{ text: string }> | undefined {\n if (fieldSpecs.length === 0 && !pdfTemplates?.length) {\n return undefined;\n }\n const pdfTemplateByField = new Map((pdfTemplates ?? []).map((template) => [template.fieldName, template]));\n const matchedPdfTemplateFields = new Set<string>();\n const fieldLines = fieldSpecs.flatMap((fieldSpec) => {\n const fieldLine = { text: formatFieldSpecBlock(fieldSpec) };\n const pdfTemplate = pdfTemplateByField.get(fieldSpec.fieldName);\n if (!pdfTemplate) {\n return [fieldLine];\n }\n matchedPdfTemplateFields.add(pdfTemplate.fieldName);\n return [\n fieldLine,\n { text: formatPdfTemplateFieldLine(pdfTemplate) },\n ];\n });\n const unmatchedPdfTemplateLines = (pdfTemplates ?? [])\n .filter((template) => !matchedPdfTemplateFields.has(template.fieldName))\n .map((template) => ({ text: formatPdfTemplateFieldLine(template) }));\n return [...fieldLines, ...unmatchedPdfTemplateLines];\n}\n\nfunction buildResourcePdfTemplateLines(\n pdfTemplates: readonly ResourcePdfTemplateSpecification[] | undefined,\n): Array<{ text: string }> | undefined {\n if (!pdfTemplates?.length) {\n return undefined;\n }\n\n return toMarkdownListItems(\n pdfTemplates.flatMap((entry) => [\n `Generated PDF field \\`${entry.fieldName}\\` uses backend template \\`${entry.templateId}\\`. Output is ${entry.output.mimeType}, single-file, read-visible, write-stripped, and has no upload route (\\`uploadRoute: ${entry.output.uploadRoute}\\`).`,\n `Generated PDF operations for \\`${entry.fieldName}\\`: CREATE \\`${entry.operations.create}\\`; UPDATE \\`${entry.operations.update}\\`; explicit regenerate operation \\`${entry.operations.regenerateOperationIdentifier}\\`.`,\n `Generated PDF context for \\`${entry.fieldName}\\`: CREATE receives \\`${entry.contextAvailability.create}\\`; REGENERATE receives \\`${entry.contextAvailability.regenerate}\\`.`,\n ]),\n );\n}\n\nfunction formatPdfTemplateFieldLine(\n entry: ResourcePdfTemplateSpecification,\n): string {\n return `generated PDF field ${entry.fieldName}: template \\`${entry.templateId}\\`; read-visible; stripped from write DTOs; no upload route; regenerate via \\`${entry.operations.regenerateOperationIdentifier}\\`.`;\n}\n\nfunction buildResourceOperationLines(\n operations: Partial<Record<string, {\n purpose?: string;\n outcome?: string;\n whenToUse?: string;\n responseStatuses?: Array<{ code: string; meaning: string }>;\n errorScenarios?: Array<{ code: string; when: string; errorType?: string; customMessageReference?: string; errorCode?: string }>;\n idempotent?: boolean;\n rateLimitNote?: string;\n examples?: Array<{ title: string }>;\n communications?: ResourceOperationCommunicationsSpecification;\n scheduledExecution?: ResourceOperationScheduledExecutionSpecification;\n /*\n * `Partial<…>`, matching `ResourceOperationSpecificationVariants` on the real spec type (#352).\n * Restating it as a total `Record` made the whole parameter unassignable once `strictNullChecks`\n * was on — the drift a structural restatement of somebody else's type always risks. Safe at every\n * use: `operation.variants?.[variantId]` is already guarded by the `variant ?` below.\n */\n variants?: Partial<Record<string, {\n purpose?: string;\n outcome?: string;\n whenToUse?: string;\n }>>;\n views?: {\n default?: ResourceOperationViewSpecification;\n /* Partial for the same reason as `variants` above; the read site optional-chains. */\n variants?: Partial<Record<string, ResourceOperationViewSpecification>>;\n };\n /*\n * `Partial<Record<…>>`, because both callers pass one (#352). A partial record's values are\n * `T | undefined`, and `Object.entries` yields a key whose value was explicitly set to `undefined`\n * — so dereferencing `operation.purpose` below would have thrown on such an entry. It compiled\n * while `strictNullChecks` was off; the skip below is what makes it true rather than merely typed.\n */\n }>> | undefined,\n): Array<{ text: string }> | undefined {\n if (!operations) {\n return undefined;\n }\n\n return toMarkdownListItems(\n Object.entries(operations).flatMap(([operationId, operation]) => {\n if (operation === undefined) return [];\n const sharedLine = `${operationId}: ${operation.purpose ?? 'No explicit purpose provided.'}${operation.outcome ? ` Outcome: ${operation.outcome}.` : ''}${operation.whenToUse ? ` Use when ${operation.whenToUse}.` : ''}`;\n const sharedViewLine = formatOperationViewLine(\n `${operationId}.views.default`,\n operation.views?.default,\n );\n const communicationsLines = formatOperationCommunicationsLines(\n operationId,\n operation.communications,\n );\n const scheduledExecutionLine = formatOperationScheduledExecutionLine(\n operationId,\n operation.scheduledExecution,\n );\n const httpDocLines = formatOperationHttpDocLines(operationId, operation);\n const variantIds = Array.from(new Set([\n ...Object.keys(operation.variants ?? {}),\n ...Object.keys(operation.views?.variants ?? {}),\n ]));\n const variantLines = variantIds.flatMap((variantId) => {\n const variant = operation.variants?.[variantId];\n const variantLine = variant\n ? `${operationId}.${variantId}: ${variant.purpose ?? 'No explicit purpose provided.'}${variant.outcome ? ` Outcome: ${variant.outcome}.` : ''}${variant.whenToUse ? ` Use when ${variant.whenToUse}.` : ''}`\n : undefined;\n const variantViewLine = formatOperationViewLine(\n `${operationId}.views.${variantId}`,\n operation.views?.variants?.[variantId],\n );\n return [variantLine, variantViewLine];\n });\n return [\n sharedLine,\n sharedViewLine,\n ...communicationsLines,\n scheduledExecutionLine,\n ...httpDocLines,\n ...variantLines,\n ];\n }),\n );\n}\n\n/**\n * Renders the Tier-3 HTTP-documentation fields of one operation as greppable\n * `operationId.field:` lines so prose readers (and tooling that greps by\n * operation) can find every authored axis. Returns an empty array when the\n * operation authored none.\n */\nfunction formatOperationHttpDocLines(\n operationId: string,\n operation: {\n responseStatuses?: Array<{ code: string; meaning: string }>;\n errorScenarios?: Array<{ code: string; when: string; errorType?: string; customMessageReference?: string; errorCode?: string }>;\n idempotent?: boolean;\n rateLimitNote?: string;\n examples?: Array<{ title: string }>;\n },\n): Array<string | undefined> {\n const lines: Array<string | undefined> = [];\n if (operation.responseStatuses && operation.responseStatuses.length > 0) {\n lines.push(\n `${operationId}.responseStatuses: ${operation.responseStatuses\n .map((status) => `${status.code} — ${status.meaning}`)\n .join('; ')}`,\n );\n }\n if (operation.errorScenarios && operation.errorScenarios.length > 0) {\n lines.push(\n `${operationId}.errorScenarios: ${operation.errorScenarios\n .map((scenario) => {\n // Each identifier is named by the error-body field it arrives in: `error.type`,\n // `error.customMessageReference` and `error.code` are three fields, not one \"error code\".\n const identifiers = [\n scenario.errorType ? `error.type=${scenario.errorType}` : undefined,\n scenario.customMessageReference ? `error.customMessageReference=${scenario.customMessageReference}` : undefined,\n scenario.errorCode ? `error.code=${scenario.errorCode}` : undefined,\n ].filter((identifier): identifier is string => identifier !== undefined);\n return `${scenario.code}${identifiers.length > 0 ? ` (${identifiers.join(', ')})` : ''} — ${scenario.when}`;\n })\n .join('; ')}`,\n );\n }\n if (operation.idempotent !== undefined) {\n lines.push(`${operationId}.idempotent: ${operation.idempotent ? 'yes' : 'no'}`);\n }\n if (operation.rateLimitNote) {\n lines.push(`${operationId}.rateLimit: ${operation.rateLimitNote}`);\n }\n if (operation.examples && operation.examples.length > 0) {\n lines.push(\n `${operationId}.examples: ${operation.examples.map((example) => example.title).join('; ')}`,\n );\n }\n return lines;\n}\n\nfunction formatOperationCommunicationsLines(\n operationId: string,\n communications: ResourceOperationCommunicationsSpecification | undefined,\n): Array<string | undefined> {\n if (!communications) {\n return [];\n }\n return [\n formatOperationEmailLine(operationId, communications.email),\n formatOperationNotificationLine(operationId, communications.notification),\n formatOperationM2MLine(operationId, communications.m2m),\n ];\n}\n\n/**\n * Render every authored text slot — required and optional — as its own\n * dotted-bullet entry so companion prompts see each slot's `purpose` /\n * `whenToUse` / `notes`, not just a flat key list. The first key in\n * `requiredSlotKeys` is rendered first so the canonical \"subject\"/\"title\"\n * slot keeps its leading position; remaining slots follow declaration order.\n *\n * Distinct from {@link buildTextSlotLines} only in **key format**, not in\n * note rendering: this helper uses a dotted key (`${owner}.${slotKey}:`)\n * because communications text slots are addressable translation targets in\n * their own right, while {@link buildTextSlotLines} uses a humanised key\n * (`${owner} ${slotName}:`) for the resource frontend's label / layout /\n * guidance surfaces. **Both** helpers expand `notes` per-line under the\n * matching `… note: …` suffix so downstream tooling can grep for every\n * authored note as its own structural line — the consolidated\n * `assertOptionalNonEmptyStringList` validator JSDoc promises exactly that.\n *\n * **Casing convention** (intentionally two-tiered across this renderer):\n * - **Block-level headlines** (`Purpose:`, `Tone:`, `Audience:`,\n * `Use when …`, `Avoid when …`, `Channel:`, `Target:`, `Variant:`, etc.)\n * start with a capital letter because they are sentence-cased narrative\n * labels for the section the reader just entered.\n * - **Slot-level entries** here (`purpose:`, `when to use:`) start with a\n * lowercase letter because they are key-value metadata enumerated under\n * the slot's own dotted address, not narrative prose. Downstream tooling\n * can grep `${owner}.${slotKey}: purpose:` to find every authored slot\n * purpose without false-positive matches against the block headlines.\n *\n * Keep this convention stable: changing the casing breaks both companion\n * prompt readability and the grep contract.\n */\nfunction formatOperationTextSlotLines(\n ownerLabel: string,\n textSlots: TranslationSlotSpecificationMap,\n requiredSlotKeys: readonly string[],\n): string[] {\n const orderedKeys = [\n ...requiredSlotKeys.filter((key) => key in textSlots),\n ...Object.keys(textSlots).filter((key) => !requiredSlotKeys.includes(key)),\n ];\n const lines: string[] = [];\n for (const slotKey of orderedKeys) {\n const slot = textSlots[slotKey];\n if (!slot) {\n continue;\n }\n const slotParts = [\n `purpose: ${slot.purpose}`,\n slot.whenToUse ? `when to use: ${slot.whenToUse}` : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n lines.push(`${ownerLabel}.${slotKey}: ${slotParts.join(' ')}`);\n if (slot.notes?.length) {\n for (const note of slot.notes) {\n lines.push(`${ownerLabel}.${slotKey} note: ${note}`);\n }\n }\n }\n return lines;\n}\n\n/**\n * Render the optional `eventData` slot under its owner label as one\n * `purpose` (+ optional `whenToUse`) headline followed by per-note bullets.\n *\n * Mirrors the per-note grep-ability of\n * `system-email-template-specification-context.factory.ts`'s\n * `buildEventDataLines` (notes never silently flatten into a join), but the\n * surface format is intentionally different:\n *\n * - System-email renderer emits scalar `Meaning: …` and `Note: …` lines\n * because there is exactly ONE eventData per template (no ambiguity about\n * ownership). Downstream tooling for system-email greps for those scalar\n * prefixes inside one template's section.\n * - Resource-operation renderer (this function) emits owner-prefixed lines\n * `${ownerLabel}: purpose: …` and `${ownerLabel} note: …` because every\n * operation can have multiple communication blocks (email, notification,\n * m2m) and every block can have its own eventData; the owner label is the\n * only thing that disambiguates them inside the same operation list, and\n * downstream tooling greps by owner (e.g. `change_status.communications.email.eventData note:`).\n *\n * The validators in `resource-specification.schemas.ts`\n * (`assertOptionalEventDataSlot`) enforce non-empty trimmed entries on this\n * very surface, so the renderer MUST surface them here for the validation\n * contract to hold end-to-end.\n */\nfunction formatEventDataLines(\n ownerLabel: string,\n eventData: TranslationSlotSpecification | undefined,\n): string[] {\n if (!eventData) {\n return [];\n }\n const headlineParts = [\n `purpose: ${eventData.purpose}`,\n eventData.whenToUse ? `when to use: ${eventData.whenToUse}` : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n const lines = [`${ownerLabel}: ${headlineParts.join(' ')}`];\n for (const note of eventData.notes ?? []) {\n lines.push(`${ownerLabel} note: ${note}`);\n }\n return lines;\n}\n\n/**\n * The on-rendered noun used as a companion-bullet line prefix by\n * {@link formatBulletList}. Each member's string value IS the rendered prose,\n * so renaming a member value changes the compiled specification-context\n * Markdown that downstream tooling greps by prefix.\n */\nenum SpecificationBulletKind {\n /**\n * Parent-block `businessConstraints` (the canonical list a delivery\n * inherits from).\n */\n CONSTRAINT = 'constraint',\n /**\n * Per-delivery `additionalBusinessConstraints` (M5-8 cue) so prose readers\n * see the layering semantics explicitly instead of inferring them from the\n * path alone — the schema JSDoc on\n * `ResourceOperationEmailDeliverySpecification.additionalBusinessConstraints`\n * states these are layered on top of parent `businessConstraints`, but the\n * rendered Markdown previously read identically to the parent constraints\n * with only the path differing.\n */\n ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT = 'additional constraint (layered on parent)',\n /** `notes[]` and `codeHandling.notes[]` surfaces. */\n NOTE = 'note',\n}\n\n/**\n * Render an authored `string[]` companion-bullet surface as one line per\n * entry under the owner label. Mirrors the contract documented on\n * `assertOptionalNonEmptyStringList` (resource-specification.schemas.ts):\n * \"every entry must be a non-empty trimmed string because the renderer\n * emits each entry as a bullet\" — keep that promise truthful by emitting\n * one bullet per entry instead of an inline `Constraints: a b c` join, so\n * downstream tooling that greps for `${owner} constraint:` / `${owner}\n * note:` finds every authored entry as its own structural line.\n *\n * `bulletKind` carries the on-rendered noun used as the line prefix — see\n * {@link SpecificationBulletKind} for the per-member semantics.\n */\nfunction formatBulletList(\n ownerLabel: string,\n bulletKind: SpecificationBulletKind,\n values: readonly string[] | undefined,\n): string[] {\n if (!values?.length) {\n return [];\n }\n return values.map((value) => `${ownerLabel} ${bulletKind}: ${value}`);\n}\n\nfunction formatOperationEmailLine(\n operationId: string,\n email: ResourceOperationEmailSpecification | undefined,\n): string | undefined {\n if (!email) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.email`;\n const headlineParts = [\n `Purpose: ${email.purpose}`,\n `Tone: ${email.tone}`,\n email.useWhen ? `Use when ${email.useWhen}.` : undefined,\n email.avoidWhen ? `Avoid when ${email.avoidWhen}.` : undefined,\n `Deliveries: ${email.deliveries.length}.`,\n email.codeHandling?.eventDataSchemaSymbol\n ? `Event schema: ${formatCodeSymbolRef(email.codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n email.codeHandling?.eventDataTypeSymbol\n ? `Event type: ${formatCodeSymbolRef(email.codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(email.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, email.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, email.codeHandling?.notes);\n const eventDataLines = formatEventDataLines(`${ownerLabel}.eventData`, email.eventData);\n const slotLines = formatOperationTextSlotLines(\n `${ownerLabel}.textSlots`,\n email.textSlots,\n ['subject'],\n );\n const deliveryLines = email.deliveries.flatMap((delivery, index) => (\n formatEmailDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...eventDataLines,\n ...slotLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one email delivery as its own structural section so companion\n * prompts and transposers see every authored fan-out entry as a discrete\n * unit rather than buried prose. Per-delivery overrides\n * (`textSlotsOverrides`, `purposeOverride`, `additionalBusinessConstraints`,\n * `notes`) are surfaced ONLY when authored, so the common case where a\n * delivery shares the parent copy verbatim stays terse.\n *\n * The headline echoes the runtime fan-out keys (`targetRef`, `variantRef`,\n * `customDeliveryRef`) so transposers can compute the dispatcher's template\n * path (`email.{resourceId}.{op}.{variant?}.{target-kebab}_{customRef?}`)\n * directly from the spec without re-reading the resource configuration.\n */\nfunction formatEmailDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationEmailDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Target: \\`${delivery.targetRef}\\`.`,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n delivery.systemEmailTemplateRef\n ? `System-email template ref: \\`${delivery.systemEmailTemplateRef}\\`.`\n : undefined,\n delivery.purposeOverride\n ? `Purpose override (replaces parent purpose for this delivery): ${delivery.purposeOverride}`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT,\n delivery.additionalBusinessConstraints,\n );\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n const overrideSlotLines = delivery.textSlotsOverrides\n ? formatOperationTextSlotLines(\n `${ownerLabel}.textSlotsOverrides (replaces parent textSlots for this delivery)`,\n delivery.textSlotsOverrides,\n [],\n )\n : [];\n\n return [headline, ...constraintLines, ...noteLines, ...overrideSlotLines];\n}\n\nfunction formatOperationNotificationLine(\n operationId: string,\n notification: ResourceOperationNotificationSpecification | undefined,\n): string | undefined {\n if (!notification) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.notification`;\n const headlineParts = [\n `Purpose: ${notification.purpose}`,\n `Tone: ${notification.tone}`,\n notification.useWhen ? `Use when ${notification.useWhen}.` : undefined,\n notification.avoidWhen ? `Avoid when ${notification.avoidWhen}.` : undefined,\n `Deliveries: ${notification.deliveries.length}.`,\n notification.codeHandling?.channelEnum\n ? `Channel enum: ${formatCodeSymbolRef(notification.codeHandling.channelEnum)}`\n : undefined,\n notification.codeHandling?.eventDataSchemaSymbol\n ? `Event schema: ${formatCodeSymbolRef(notification.codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n notification.codeHandling?.eventDataTypeSymbol\n ? `Event type: ${formatCodeSymbolRef(notification.codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(notification.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, notification.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, notification.codeHandling?.notes);\n const eventDataLines = formatEventDataLines(`${ownerLabel}.eventData`, notification.eventData);\n const slotLines = formatOperationTextSlotLines(\n `${ownerLabel}.textSlots`,\n notification.textSlots,\n ['title'],\n );\n const deliveryLines = notification.deliveries.flatMap((delivery, index) => (\n formatNotificationDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...eventDataLines,\n ...slotLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one in-app notification delivery. Same contract as\n * {@link formatEmailDeliveryLines} with `channelRef` echoed in the headline\n * because notifications fan out per `(target, channel)` pair at runtime.\n */\nfunction formatNotificationDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationNotificationDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Channel: \\`${delivery.channelRef}\\`.`,\n `Target: \\`${delivery.targetRef}\\`.`,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n delivery.purposeOverride\n ? `Purpose override (replaces parent purpose for this delivery): ${delivery.purposeOverride}`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT,\n delivery.additionalBusinessConstraints,\n );\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n const overrideSlotLines = delivery.textSlotsOverrides\n ? formatOperationTextSlotLines(\n `${ownerLabel}.textSlotsOverrides (replaces parent textSlots for this delivery)`,\n delivery.textSlotsOverrides,\n [],\n )\n : [];\n\n return [headline, ...constraintLines, ...noteLines, ...overrideSlotLines];\n}\n\n/**\n * Render the M2M (webhook) communications block, mirroring the email and\n * notification renderers. M2M dispatch carries no user-facing copy (no\n * `tone`, no `textSlots`), so the parent block surfaces only the shared\n * intent / use guidance / business constraints / payload schema, while\n * each delivery becomes its own structural section.\n */\nfunction formatOperationM2MLine(\n operationId: string,\n m2m: ResourceOperationM2MSpecification | undefined,\n): string | undefined {\n if (!m2m) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.m2m`;\n const headlineParts = [\n `Purpose: ${m2m.purpose}`,\n m2m.useWhen ? `Use when ${m2m.useWhen}.` : undefined,\n m2m.avoidWhen ? `Avoid when ${m2m.avoidWhen}.` : undefined,\n `Deliveries: ${m2m.deliveries.length}.`,\n m2m.codeHandling?.channelEnum\n ? `Channel enum: ${formatCodeSymbolRef(m2m.codeHandling.channelEnum)}`\n : undefined,\n m2m.codeHandling?.levelEnum\n ? `Level enum: ${formatCodeSymbolRef(m2m.codeHandling.levelEnum)}`\n : undefined,\n m2m.codeHandling?.payloadSchemaSymbol\n ? `Payload schema: ${formatCodeSymbolRef(m2m.codeHandling.payloadSchemaSymbol)}`\n : undefined,\n m2m.codeHandling?.payloadTypeSymbol\n ? `Payload type: ${formatCodeSymbolRef(m2m.codeHandling.payloadTypeSymbol)}`\n : undefined,\n ...(m2m.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, m2m.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, m2m.codeHandling?.notes);\n // M2M opts INTO `crossRegistry: 'fail-soft'` at the validator layer\n // (see `assertOptionalRequiredFeaturesSpecification` consumer wiring) and\n // the renderer mirrors that contract by passing a bare ref formatter —\n // see `cross-registry-rendering.shared.ts` \"M2M is intentionally out of\n // scope\" section for the rationale.\n const requiredFeaturesBulletLines = (\n formatRequiredFeaturesBullets(m2m.requiredFeatures, {\n formatFeatureRef: (ref) => `\\`${ref}\\``,\n }) ?? []\n ).map((line) => `${ownerLabel} required-features: ${line}`);\n const deliveryLines = m2m.deliveries.flatMap((delivery, index) => (\n formatM2MDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...requiredFeaturesBulletLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one M2M (webhook) delivery as its own structural section. Each\n * runtime `m2mNotifications[]` entry maps to one delivery here, so the\n * headline echoes `channelRef` / `level` / `variantRef` / `customDeliveryRef`\n * — the four fields that fully identify the dispatch at runtime.\n */\nfunction formatM2MDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationM2MDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Channel: \\`${delivery.channelRef}\\`.`,\n delivery.level ? `Level: \\`${delivery.level}\\`.` : undefined,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n\n return [headline, ...noteLines];\n}\n\n/**\n * Renders a flat markdown line for the discriminated-union\n * `scheduledExecution` overlay. Each arm surfaces only the fields the spec\n * arm actually carries — companion prompts must not imagine a cron on a\n * batch-job arm nor a custom-batch ref on the native arms. The union\n * discriminant (`variantType`) is echoed explicitly so downstream readers\n * can reason about the anchor class (`NATIVE_CRON_JOB` / `NATIVE_BATCH_JOB` /\n * `CUSTOM_BATCH`) without pattern-matching on field presence.\n */\nfunction formatOperationScheduledExecutionLine(\n operationId: string,\n scheduledExecution: ResourceOperationScheduledExecutionSpecification | undefined,\n): string | undefined {\n if (!scheduledExecution) {\n return undefined;\n }\n const ownerLabel = `${operationId}.scheduledExecution`;\n const variantLine = `Variant: ${scheduledExecution.variantType}.`;\n const cronLine = scheduledExecutionCronExpression(scheduledExecution);\n const customBatchRefLine = scheduledExecution.variantType === ResourceOperationScheduledExecutionVariantType.CUSTOM_BATCH\n ? `Custom batch ref: \\`${scheduledExecution.customBatchRef}\\`.`\n : undefined;\n const headlineParts = [\n variantLine,\n `Purpose: ${scheduledExecution.purpose}`,\n `Outcome: ${scheduledExecution.outcome}`,\n cronLine,\n customBatchRefLine,\n scheduledExecution.useWhen ? `Use when ${scheduledExecution.useWhen}.` : undefined,\n scheduledExecution.avoidWhen ? `Avoid when ${scheduledExecution.avoidWhen}.` : undefined,\n scheduledExecution.codeHandling?.inputSchemaSymbol\n ? `Input schema: ${formatCodeSymbolRef(scheduledExecution.codeHandling.inputSchemaSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.outputSchemaSymbol\n ? `Output schema: ${formatCodeSymbolRef(scheduledExecution.codeHandling.outputSchemaSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.inputTypeSymbol\n ? `Input type: ${formatCodeSymbolRef(scheduledExecution.codeHandling.inputTypeSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.outputTypeSymbol\n ? `Output type: ${formatCodeSymbolRef(scheduledExecution.codeHandling.outputTypeSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.customBatchRefSymbol\n ? `Batch ref symbol: ${formatCodeSymbolRef(scheduledExecution.codeHandling.customBatchRefSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.batchFactorySymbol\n ? `Batch factory: ${formatCodeSymbolRef(scheduledExecution.codeHandling.batchFactorySymbol)}`\n : undefined,\n ...(scheduledExecution.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.CONSTRAINT,\n scheduledExecution.businessConstraints,\n );\n const codeHandlingNoteLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.NOTE,\n scheduledExecution.codeHandling?.notes,\n );\n\n const allLines = [headline, ...constraintLines, ...codeHandlingNoteLines]\n .filter((value): value is string => Boolean(value));\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Returns the cron markdown token for arms that carry one. `NATIVE_BATCH_JOB`\n * is event-triggered by contract (validator fails closed on a declared cron),\n * so the renderer must not fabricate a cron line for it — consumers that see\n * no cron line know the run is dispatched, not scheduled.\n */\nfunction scheduledExecutionCronExpression(\n scheduledExecution: ResourceOperationScheduledExecutionSpecification,\n): string | undefined {\n switch (scheduledExecution.variantType) {\n case ResourceOperationScheduledExecutionVariantType.NATIVE_CRON_JOB:\n return `Cron: \\`${scheduledExecution.cronExpression}\\`.`;\n case ResourceOperationScheduledExecutionVariantType.CUSTOM_BATCH:\n return scheduledExecution.cronExpression\n ? `Cron: \\`${scheduledExecution.cronExpression}\\`.`\n : undefined;\n case ResourceOperationScheduledExecutionVariantType.NATIVE_BATCH_JOB:\n return undefined;\n default: {\n const exhaustiveCheck: never = scheduledExecution;\n throw new Error(\n `scheduledExecutionCronExpression(): unsupported variantType: ${JSON.stringify(exhaustiveCheck)}.`,\n );\n }\n }\n}\n\n/**\n * Render the views overlay for an operation. Custom hosts and linked views\n * each become a header line that echoes the structural identity (host\n * symbol / preset / declaration symbols, linked view kind + ref + purpose,\n * `whenToUse` guidance), followed by one structural bullet per authored\n * note via {@link formatBulletList}. The previous inline `${notes.join(' ')}`\n * silently flattened authored notes onto the header line and broke the\n * companion-bullet contract that downstream tooling depends on for\n * grep-able per-note lines (`${owner} note: …`).\n */\nfunction formatOperationViewLine(\n viewKey: string,\n views: ResourceOperationViewSpecification | undefined,\n): string | undefined {\n if (!views) {\n return undefined;\n }\n\n const lines: string[] = [];\n\n if (views.customView) {\n const customLabel = `${viewKey}.customView`;\n const customHeadline = `Custom host: ${formatCodeSymbolRef(\n views.customView.consumerFacingSymbol ?? views.customView.implementationSymbol,\n )}${views.customView.basedOnPreset ? ` Based on preset \\`${views.customView.basedOnPreset}\\`.` : ''}${views.customView.whenToUse ? ` Use when ${views.customView.whenToUse}.` : ''}${\n views.customView.declarationSymbols?.length\n ? ` Declared from ${views.customView.declarationSymbols.map((symbol) => `\\`${symbol.exportName}\\``).join(', ')}.`\n : ''\n }`;\n lines.push(`${customLabel}: ${customHeadline}`);\n lines.push(...formatBulletList(customLabel, SpecificationBulletKind.NOTE, views.customView.notes));\n }\n\n for (const [index, otherView] of (views.otherViews ?? []).entries()) {\n const otherLabel = `${viewKey}.otherViews[${index}]`;\n const otherHeadline = `Linked ${otherView.viewKind} view \\`${otherView.viewRef}\\`: ${otherView.purpose}${otherView.whenToUse ? ` Use when ${otherView.whenToUse}.` : ''}`;\n lines.push(`${otherLabel}: ${otherHeadline}`);\n lines.push(...formatBulletList(otherLabel, SpecificationBulletKind.NOTE, otherView.notes));\n }\n\n return lines.length > 0 ? lines.join('\\n') : undefined;\n}\n\nfunction buildResourceFrontendLines(\n specification: AnyResourceSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const frontend = specification.frontend;\n if (!frontend) {\n return undefined;\n }\n\n const guidanceLines = Object.entries(frontend.guidance ?? {}).map(([guidanceId, guidance]) => (\n `${guidanceId}: ${guidance.purpose}${guidance.whenToTrigger ? ` Trigger when ${guidance.whenToTrigger}.` : ''}`\n ));\n const layoutSlotLines = buildStructuralSlotLines('section', frontend.layout?.sections);\n const wizardStepLines = buildStructuralSlotLines('wizard step', frontend.layout?.wizardSteps);\n const groupLines = buildStructuralSlotLines('group', frontend.layout?.groups);\n const guidanceElementLines = Object.entries(frontend.guidance ?? {}).flatMap(([guidanceId, guidance]) => {\n const flowSlotLines = buildTextSlotLines(\n `guidance ${guidanceId}`,\n guidance.textSlots,\n );\n const elementLines = Object.entries(guidance.elements ?? {}).flatMap(([elementRef, element]) => ([\n `Guidance element ${guidanceId}.${elementRef}: ${element.purpose}${element.whenToUse ? ` Use when ${element.whenToUse}.` : ''}`,\n ...buildTextSlotLines(`guidance ${guidanceId}.${elementRef}`, element.textSlots),\n ]));\n return [...flowSlotLines, ...elementLines];\n });\n\n return toMarkdownListItems([\n frontend.label?.purpose ? `Label strategy: ${frontend.label.purpose}` : undefined,\n ...buildTextSlotLines('label strategy', frontend.label?.textSlots),\n frontend.layout?.purpose ? `Layout purpose: ${frontend.layout.purpose}` : undefined,\n frontend.layout?.displayPurpose ? `Display purpose: ${frontend.layout.displayPurpose}` : undefined,\n frontend.layout?.summaryPurpose ? `Summary purpose: ${frontend.layout.summaryPurpose}` : undefined,\n frontend.layout?.editPurpose ? `Edit purpose: ${frontend.layout.editPurpose}` : undefined,\n ...layoutSlotLines,\n ...wizardStepLines,\n ...groupLines,\n frontend.emptyState?.purpose ? `Empty state: ${frontend.emptyState.purpose}` : undefined,\n frontend.emptyState?.primaryActionPurpose\n ? `Empty-state primary action: ${frontend.emptyState.primaryActionPurpose}`\n : undefined,\n frontend.emptyState?.secondaryActionPurpose\n ? `Empty-state secondary action: ${frontend.emptyState.secondaryActionPurpose}`\n : undefined,\n ...guidanceLines,\n ...guidanceElementLines,\n ]);\n}\n\nfunction buildStructuralSlotLines(\n slotKind: string,\n slots: Record<string, { purpose: string; whenToUse?: string; textSlots?: Record<string, { purpose: string; whenToUse?: string }> }> | undefined,\n): string[] {\n return Object.entries(slots ?? {}).flatMap(([slotRef, slotSpec]) => ([\n `${slotKind} ${slotRef}: ${slotSpec.purpose}${slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : ''}`,\n ...buildTextSlotLines(`${slotKind} ${slotRef}`, slotSpec.textSlots),\n ]));\n}\n\n/**\n * Per-slot rendering for the resource frontend's labelling / layout /\n * guidance / structural slots. Each slot becomes one header line\n * (`${ownerLabel} ${slotName}: ${purpose} Use when …`) followed by one\n * additional line per authored note (`${ownerLabel} ${slotName} note: …`).\n *\n * The header line stays compact (single bullet per slot) but notes are\n * expanded so downstream tooling that greps for `${owner} … note:` finds\n * every authored entry as its own structural line — symmetric with\n * {@link formatOperationTextSlotLines} (operation communications) and the\n * system-email factory's `buildTextSlotLines`. The previous\n * `Notes: a b c` join silently flattened per-note grep-ability and\n * diverged from the per-note rendering pattern that the consolidated\n * `assertOptionalNonEmptyStringList` validator JSDoc promises across the\n * companion surface.\n */\nfunction buildTextSlotLines(\n ownerLabel: string,\n textSlots: Record<string, { purpose: string; whenToUse?: string; notes?: string[] }> | undefined,\n): string[] {\n return Object.entries(textSlots ?? {}).flatMap(([slotName, slotSpec]) => {\n const header = `${ownerLabel} ${slotName}: ${slotSpec.purpose}${slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : ''}`;\n const noteLines = (slotSpec.notes ?? []).map(\n (note) => `${ownerLabel} ${slotName} note: ${note}`,\n );\n return [header, ...noteLines];\n });\n}\n\nfunction buildResourceImplementationReferences(\n specification: AnyResourceSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n\n return toMarkdownListItems([\n formatCodeSymbolRef(codeHandling.mainSchema),\n codeHandling.resourceFactory ? formatCodeSymbolRef(codeHandling.resourceFactory) : undefined,\n codeHandling.resourceFactoryCollectionEntry\n ? formatCollectionEntryRef(codeHandling.resourceFactoryCollectionEntry)\n : undefined,\n codeHandling.resourceType\n ? `Use resource type member \\`${codeHandling.resourceType.memberName}\\` from \\`${codeHandling.resourceType.enumDeclaration.exportName}\\` imported via \\`${codeHandling.resourceType.enumDeclaration.packageName}\\`.`\n : undefined,\n codeHandling.operationVocabulary?.coreEnum\n ? `Core operation vocabulary: ${formatCodeSymbolRef(codeHandling.operationVocabulary.coreEnum)}`\n : undefined,\n codeHandling.operationVocabulary?.customEnum\n ? `Custom operation vocabulary: ${formatCodeSymbolRef(codeHandling.operationVocabulary.customEnum)}`\n : undefined,\n ...(codeHandling.frontendConfigurationSources ?? []).map((source) => (\n `Frontend configuration source: ${formatCodeSymbolRef(source)}`\n )),\n ...(codeHandling.frontendConfigurationSourceEntries ?? []).map((sourceEntry) => (\n `Frontend configuration source: ${formatCollectionEntryRef(sourceEntry)}`\n )),\n ...(codeHandling.notes ?? []),\n ]);\n}\n\n/**\n * Optional registry + materialization plumbing.\n *\n * - `resourceRelationships` — Phase 2B: threads the resource's relationship\n * slice into the field-spec extractor so `foreignKeySpec` fields can\n * derive their target via `ResourceRelationship.foreignKeyField`. The\n * resource type used to scope the lookup is `specificationId` (resource\n * specifications are keyed by resource type at the spec layer).\n * - `materializedConfig` — Phase 4: lets the renderer fire\n * `validateResourceFieldCompleteness(...)` against the resource's live\n * `mainSchema` + `inheritenceSchemaDefinition` before producing any\n * markdown. Missing overlay on an enum / array / FK field, or an\n * `enumSpec.values` divergence, throws synchronously so partial /\n * incorrect prompts cannot ship downstream.\n *\n * Both slices are optional rather than required because:\n * - test harnesses construct render requests without a live registry,\n * - non-resource family renderers do not need them,\n * - `additionalFieldSpecs` entries are passed through unchanged anyway\n * (per Q6-5, the Phase 3 shape gates apply but completeness derivation\n * does not).\n *\n * Production introspection callers always supply both; tests only supply\n * what they need to assert.\n */\nexport interface RenderResourceSpecificationOptions {\n resourceRelationships?: readonly ResourceRelationship[];\n materializedConfig?: {\n mainSchema: z.ZodTypeAny;\n inheritanceDefinition?: ResourceConfiguration_InheritanceSchemaDefinition<any, z.ZodTypeAny>;\n };\n}\n\nexport function renderResourceSpecificationContextPart(\n specificationId: string,\n specification: AnyResourceSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION,\n options: RenderResourceSpecificationOptions = {},\n): SpecificationMarkdownContextPart {\n const title = `Resource context: ${specificationId}`;\n const implementationReferences = buildResourceImplementationReferences(specification);\n const registryContext: ExtractFieldSpecsRegistryContext | undefined = options.resourceRelationships\n ? {\n currentResourceType: specificationId,\n relationships: options.resourceRelationships,\n }\n : undefined;\n const fieldSpecs = buildResourceFieldSpecs(specification, registryContext);\n\n // Phase 4 (D-6) — fail-closed completeness gate. Runs before any\n // markdown is produced so a missing overlay (enum/array/FK) on a\n // spec-worthy field aborts the render with a single combined message\n // instead of shipping a partial prompt downstream. Fires only when the\n // caller wired both the live schema (`materializedConfig`) AND the\n // registry slice (`resourceRelationships`) — production introspection\n // wires both; tests opt in selectively.\n if (options.materializedConfig && options.resourceRelationships) {\n validateResourceFieldCompleteness(\n `companion[render: ${specificationId}]: `,\n {\n mainSchema: options.materializedConfig.mainSchema,\n inheritanceDefinition: options.materializedConfig.inheritanceDefinition,\n fieldSpecs,\n relationships: options.resourceRelationships,\n currentResourceType: specificationId,\n },\n );\n }\n\n const fieldLines = buildResourceFieldLines(fieldSpecs, specification.pdfTemplates);\n const baseOperationLines = buildResourceOperationLines(specification.operations);\n const frontendViewLines = buildResourceOperationLines(specification.frontend?.views);\n const frontendLines = buildResourceFrontendLines(specification);\n const pdfTemplateLines = buildResourcePdfTemplateLines(specification.pdfTemplates);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n const lifecycleRole = formatLiteralLine('Lifecycle role', specification.lifecycleRole);\n\n switch (templateId) {\n case SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceTranslationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n fieldLines,\n frontendLines,\n baseOperationLines,\n frontendViewLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceCustomImplementationContext({\n title,\n purpose: specification.purpose,\n implementationReferences,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n frontendLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderResourceAllInformationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n implementationReferences,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n frontendLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"resource-specification-context.factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/resource-specification-context.factory.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,6BAA6B,EAC7B,8CAA8C,GAC/C,MAAM,+BAA+B,CAAC;AASvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iCAAiC,GAClC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,+CAA+C,GAChD,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,2CAA2C,GAC5C,MAAM,kEAAkE,CAAC;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BAAmB;iBACpB,CAAC;aACH,CAAC;QACJ,KAAK,8BAA8B,CAAC,kCAAkC;YACpE,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,QAAQ;gBAC3C,OAAO,EAAE,2BAA2B,CAAC,yBAAyB;gBAC9D,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,qCAAqC,CAAC;oBAC9C,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,YAAY,EAAE,aAAa,CAAC,YAAY;oBACxC,aAAa;oBACb,UAAU;oBACV,kBAAkB;oBAClB,iBAAiB;oBACjB,aAAa;oBACb,gBAAgB;oBAChB,mBAAmB;iBACpB,CAAC;aACH,CAAC;QACJ,KAAK,8BAA8B,CAAC,wBAAwB;YAC1D,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,QAAQ;gBAC3C,OAAO,EAAE,2BAA2B,CAAC,eAAe;gBACpD,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,mCAAmC,CAAC;oBAC5C,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,YAAY,EAAE,aAAa,CAAC,YAAY;oBACxC,aAAa;oBACb,wBAAwB;oBACxB,UAAU;oBACV,kBAAkB;oBAClB,iBAAiB;oBACjB,aAAa;oBACb,gBAAgB;oBAChB,mBAAmB;iBACpB,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type {\n AnyResourceSpecificationConfig,\n ExtractedFieldSpec,\n ExtractFieldSpecsRegistryContext,\n ResourceOperationCommunicationsSpecification,\n ResourceOperationEmailDeliverySpecification,\n ResourceOperationEmailSpecification,\n ResourceOperationM2MDeliverySpecification,\n ResourceOperationM2MSpecification,\n ResourceOperationNotificationDeliverySpecification,\n ResourceOperationNotificationSpecification,\n ResourcePdfTemplateSpecification,\n ResourceOperationScheduledExecutionSpecification,\n ResourceOperationViewSpecification,\n TranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from '@wildo-ai/saas-specifications';\nimport {\n extractFieldSpecsFromFieldMap,\n ResourceOperationScheduledExecutionVariantType,\n} from '@wildo-ai/saas-specifications';\nimport type {\n ResourceConfiguration_InheritanceSchemaDefinition,\n ResourceRelationship,\n} from '@wildo-ai/saas-models';\nimport type { z } from 'zod';\nimport type {\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport { validateResourceFieldCompleteness } from './validate-resource-field-completeness';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n RESOURCE_ALL_INFORMATION_TEMPLATE,\n} from './templates/resource/resource-all-information.template';\nimport {\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-custom-implementation-context.template';\nimport {\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-development-usage-context.template';\nimport {\n RESOURCE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/resource/resource-translation-context.template';\nimport {\n compileMarkdownTemplate,\n formatCollectionEntryRef,\n formatCodeSymbolRef,\n formatFieldSpecBlock,\n formatLiteralLine,\n formatRequiredFeaturesBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\n\nexport interface ResourceTranslationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n fieldLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nexport interface ResourceCustomImplementationContextModel {\n title: string;\n purpose: string;\n implementationReferences?: Array<{ text: string }>;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n /**\n * Resource-level invariants that the custom implementation must preserve.\n * Threaded into the template so the CUSTOM_IMPLEMENTATION concern matches\n * its sibling templates (TRANSLATION, DEVELOPMENT_USAGE, ALL_INFORMATION),\n * which all surface authored constraints under `## Constraints to preserve`.\n */\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface ResourceDevelopmentUsageContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nexport interface ResourceAllInformationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n implementationReferences?: Array<{ text: string }>;\n fieldLines?: Array<{ text: string }>;\n baseOperationLines?: Array<{ text: string }>;\n frontendViewLines?: Array<{ text: string }>;\n frontendLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n pdfTemplateLines?: Array<{ text: string }>;\n}\n\nconst renderResourceTranslationContext = compileMarkdownTemplate<ResourceTranslationContextModel>(\n RESOURCE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderResourceCustomImplementationContext = compileMarkdownTemplate<ResourceCustomImplementationContextModel>(\n RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderResourceDevelopmentUsageContext = compileMarkdownTemplate<ResourceDevelopmentUsageContextModel>(\n RESOURCE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderResourceAllInformationContext = compileMarkdownTemplate<ResourceAllInformationContextModel>(\n RESOURCE_ALL_INFORMATION_TEMPLATE,\n);\n\nfunction buildResourceFieldSpecs(\n specification: AnyResourceSpecificationConfig,\n registryContext: ExtractFieldSpecsRegistryContext | undefined,\n): ExtractedFieldSpec[] {\n const overlayFieldSpecs = specification.fields\n ? extractFieldSpecsFromFieldMap(\n specification.fields as Record<string, z.ZodTypeAny>,\n undefined,\n registryContext,\n )\n : [];\n return [...overlayFieldSpecs, ...(specification.additionalFieldSpecs ?? [])];\n}\n\nfunction buildResourceFieldLines(\n fieldSpecs: ExtractedFieldSpec[],\n pdfTemplates: readonly ResourcePdfTemplateSpecification[] | undefined,\n): Array<{ text: string }> | undefined {\n if (fieldSpecs.length === 0 && !pdfTemplates?.length) {\n return undefined;\n }\n const pdfTemplateByField = new Map((pdfTemplates ?? []).map((template) => [template.fieldName, template]));\n const matchedPdfTemplateFields = new Set<string>();\n const fieldLines = fieldSpecs.flatMap((fieldSpec) => {\n const fieldLine = { text: formatFieldSpecBlock(fieldSpec) };\n const pdfTemplate = pdfTemplateByField.get(fieldSpec.fieldName);\n if (!pdfTemplate) {\n return [fieldLine];\n }\n matchedPdfTemplateFields.add(pdfTemplate.fieldName);\n return [\n fieldLine,\n { text: formatPdfTemplateFieldLine(pdfTemplate) },\n ];\n });\n const unmatchedPdfTemplateLines = (pdfTemplates ?? [])\n .filter((template) => !matchedPdfTemplateFields.has(template.fieldName))\n .map((template) => ({ text: formatPdfTemplateFieldLine(template) }));\n return [...fieldLines, ...unmatchedPdfTemplateLines];\n}\n\nfunction buildResourcePdfTemplateLines(\n pdfTemplates: readonly ResourcePdfTemplateSpecification[] | undefined,\n): Array<{ text: string }> | undefined {\n if (!pdfTemplates?.length) {\n return undefined;\n }\n\n return toMarkdownListItems(\n pdfTemplates.flatMap((entry) => [\n `Generated PDF field \\`${entry.fieldName}\\` uses backend template \\`${entry.templateId}\\`. Output is ${entry.output.mimeType}, single-file, read-visible, write-stripped, and has no upload route (\\`uploadRoute: ${entry.output.uploadRoute}\\`).`,\n `Generated PDF operations for \\`${entry.fieldName}\\`: CREATE \\`${entry.operations.create}\\`; UPDATE \\`${entry.operations.update}\\`; explicit regenerate operation \\`${entry.operations.regenerateOperationIdentifier}\\`.`,\n `Generated PDF context for \\`${entry.fieldName}\\`: CREATE receives \\`${entry.contextAvailability.create}\\`; REGENERATE receives \\`${entry.contextAvailability.regenerate}\\`.`,\n ]),\n );\n}\n\nfunction formatPdfTemplateFieldLine(\n entry: ResourcePdfTemplateSpecification,\n): string {\n return `generated PDF field ${entry.fieldName}: template \\`${entry.templateId}\\`; read-visible; stripped from write DTOs; no upload route; regenerate via \\`${entry.operations.regenerateOperationIdentifier}\\`.`;\n}\n\nfunction buildResourceOperationLines(\n operations: Partial<Record<string, {\n purpose?: string;\n outcome?: string;\n whenToUse?: string;\n responseStatuses?: Array<{ code: string; meaning: string }>;\n errorScenarios?: Array<{ code: string; when: string; errorType?: string; customMessageReference?: string; errorCode?: string }>;\n idempotent?: boolean;\n rateLimitNote?: string;\n examples?: Array<{ title: string }>;\n communications?: ResourceOperationCommunicationsSpecification;\n scheduledExecution?: ResourceOperationScheduledExecutionSpecification;\n /*\n * `Partial<…>`, matching `ResourceOperationSpecificationVariants` on the real spec type (#352).\n * Restating it as a total `Record` made the whole parameter unassignable once `strictNullChecks`\n * was on — the drift a structural restatement of somebody else's type always risks. Safe at every\n * use: `operation.variants?.[variantId]` is already guarded by the `variant ?` below.\n */\n variants?: Partial<Record<string, {\n purpose?: string;\n outcome?: string;\n whenToUse?: string;\n }>>;\n views?: {\n default?: ResourceOperationViewSpecification;\n /* Partial for the same reason as `variants` above; the read site optional-chains. */\n variants?: Partial<Record<string, ResourceOperationViewSpecification>>;\n };\n /*\n * `Partial<Record<…>>`, because both callers pass one (#352). A partial record's values are\n * `T | undefined`, and `Object.entries` yields a key whose value was explicitly set to `undefined`\n * — so dereferencing `operation.purpose` below would have thrown on such an entry. It compiled\n * while `strictNullChecks` was off; the skip below is what makes it true rather than merely typed.\n */\n }>> | undefined,\n): Array<{ text: string }> | undefined {\n if (!operations) {\n return undefined;\n }\n\n return toMarkdownListItems(\n Object.entries(operations).flatMap(([operationId, operation]) => {\n if (operation === undefined) return [];\n const sharedLine = `${operationId}: ${operation.purpose ?? 'No explicit purpose provided.'}${operation.outcome ? ` Outcome: ${operation.outcome}.` : ''}${operation.whenToUse ? ` Use when ${operation.whenToUse}.` : ''}`;\n const sharedViewLine = formatOperationViewLine(\n `${operationId}.views.default`,\n operation.views?.default,\n );\n const communicationsLines = formatOperationCommunicationsLines(\n operationId,\n operation.communications,\n );\n const scheduledExecutionLine = formatOperationScheduledExecutionLine(\n operationId,\n operation.scheduledExecution,\n );\n const httpDocLines = formatOperationHttpDocLines(operationId, operation);\n const variantIds = Array.from(new Set([\n ...Object.keys(operation.variants ?? {}),\n ...Object.keys(operation.views?.variants ?? {}),\n ]));\n const variantLines = variantIds.flatMap((variantId) => {\n const variant = operation.variants?.[variantId];\n const variantLine = variant\n ? `${operationId}.${variantId}: ${variant.purpose ?? 'No explicit purpose provided.'}${variant.outcome ? ` Outcome: ${variant.outcome}.` : ''}${variant.whenToUse ? ` Use when ${variant.whenToUse}.` : ''}`\n : undefined;\n const variantViewLine = formatOperationViewLine(\n `${operationId}.views.${variantId}`,\n operation.views?.variants?.[variantId],\n );\n return [variantLine, variantViewLine];\n });\n return [\n sharedLine,\n sharedViewLine,\n ...communicationsLines,\n scheduledExecutionLine,\n ...httpDocLines,\n ...variantLines,\n ];\n }),\n );\n}\n\n/**\n * Renders the Tier-3 HTTP-documentation fields of one operation as greppable\n * `operationId.field:` lines so prose readers (and tooling that greps by\n * operation) can find every authored axis. Returns an empty array when the\n * operation authored none.\n */\nfunction formatOperationHttpDocLines(\n operationId: string,\n operation: {\n responseStatuses?: Array<{ code: string; meaning: string }>;\n errorScenarios?: Array<{ code: string; when: string; errorType?: string; customMessageReference?: string; errorCode?: string }>;\n idempotent?: boolean;\n rateLimitNote?: string;\n examples?: Array<{ title: string }>;\n },\n): Array<string | undefined> {\n const lines: Array<string | undefined> = [];\n if (operation.responseStatuses && operation.responseStatuses.length > 0) {\n lines.push(\n `${operationId}.responseStatuses: ${operation.responseStatuses\n .map((status) => `${status.code} — ${status.meaning}`)\n .join('; ')}`,\n );\n }\n if (operation.errorScenarios && operation.errorScenarios.length > 0) {\n lines.push(\n `${operationId}.errorScenarios: ${operation.errorScenarios\n .map((scenario) => {\n // Each identifier is named by the error-body field it arrives in: `error.type`,\n // `error.customMessageReference` and `error.code` are three fields, not one \"error code\".\n const identifiers = [\n scenario.errorType ? `error.type=${scenario.errorType}` : undefined,\n scenario.customMessageReference ? `error.customMessageReference=${scenario.customMessageReference}` : undefined,\n scenario.errorCode ? `error.code=${scenario.errorCode}` : undefined,\n ].filter((identifier): identifier is string => identifier !== undefined);\n return `${scenario.code}${identifiers.length > 0 ? ` (${identifiers.join(', ')})` : ''} — ${scenario.when}`;\n })\n .join('; ')}`,\n );\n }\n if (operation.idempotent !== undefined) {\n lines.push(`${operationId}.idempotent: ${operation.idempotent ? 'yes' : 'no'}`);\n }\n if (operation.rateLimitNote) {\n lines.push(`${operationId}.rateLimit: ${operation.rateLimitNote}`);\n }\n if (operation.examples && operation.examples.length > 0) {\n lines.push(\n `${operationId}.examples: ${operation.examples.map((example) => example.title).join('; ')}`,\n );\n }\n return lines;\n}\n\nfunction formatOperationCommunicationsLines(\n operationId: string,\n communications: ResourceOperationCommunicationsSpecification | undefined,\n): Array<string | undefined> {\n if (!communications) {\n return [];\n }\n return [\n formatOperationEmailLine(operationId, communications.email),\n formatOperationNotificationLine(operationId, communications.notification),\n formatOperationM2MLine(operationId, communications.m2m),\n ];\n}\n\n/**\n * Render every authored text slot — required and optional — as its own\n * dotted-bullet entry so companion prompts see each slot's `purpose` /\n * `whenToUse` / `notes`, not just a flat key list. The first key in\n * `requiredSlotKeys` is rendered first so the canonical \"subject\"/\"title\"\n * slot keeps its leading position; remaining slots follow declaration order.\n *\n * Distinct from {@link buildTextSlotLines} only in **key format**, not in\n * note rendering: this helper uses a dotted key (`${owner}.${slotKey}:`)\n * because communications text slots are addressable translation targets in\n * their own right, while {@link buildTextSlotLines} uses a humanised key\n * (`${owner} ${slotName}:`) for the resource frontend's label / layout /\n * guidance surfaces. **Both** helpers expand `notes` per-line under the\n * matching `… note: …` suffix so downstream tooling can grep for every\n * authored note as its own structural line — the consolidated\n * `assertOptionalNonEmptyStringList` validator JSDoc promises exactly that.\n *\n * **Casing convention** (intentionally two-tiered across this renderer):\n * - **Block-level headlines** (`Purpose:`, `Tone:`, `Audience:`,\n * `Use when …`, `Avoid when …`, `Channel:`, `Target:`, `Variant:`, etc.)\n * start with a capital letter because they are sentence-cased narrative\n * labels for the section the reader just entered.\n * - **Slot-level entries** here (`purpose:`, `when to use:`) start with a\n * lowercase letter because they are key-value metadata enumerated under\n * the slot's own dotted address, not narrative prose. Downstream tooling\n * can grep `${owner}.${slotKey}: purpose:` to find every authored slot\n * purpose without false-positive matches against the block headlines.\n *\n * Keep this convention stable: changing the casing breaks both companion\n * prompt readability and the grep contract.\n */\nfunction formatOperationTextSlotLines(\n ownerLabel: string,\n textSlots: TranslationSlotSpecificationMap,\n requiredSlotKeys: readonly string[],\n): string[] {\n const orderedKeys = [\n ...requiredSlotKeys.filter((key) => key in textSlots),\n ...Object.keys(textSlots).filter((key) => !requiredSlotKeys.includes(key)),\n ];\n const lines: string[] = [];\n for (const slotKey of orderedKeys) {\n const slot = textSlots[slotKey];\n if (!slot) {\n continue;\n }\n const slotParts = [\n `purpose: ${slot.purpose}`,\n slot.whenToUse ? `when to use: ${slot.whenToUse}` : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n lines.push(`${ownerLabel}.${slotKey}: ${slotParts.join(' ')}`);\n if (slot.notes?.length) {\n for (const note of slot.notes) {\n lines.push(`${ownerLabel}.${slotKey} note: ${note}`);\n }\n }\n }\n return lines;\n}\n\n/**\n * Render the optional `eventData` slot under its owner label as one\n * `purpose` (+ optional `whenToUse`) headline followed by per-note bullets.\n *\n * Mirrors the per-note grep-ability of\n * `system-email-template-specification-context.factory.ts`'s\n * `buildEventDataLines` (notes never silently flatten into a join), but the\n * surface format is intentionally different:\n *\n * - System-email renderer emits scalar `Meaning: …` and `Note: …` lines\n * because there is exactly ONE eventData per template (no ambiguity about\n * ownership). Downstream tooling for system-email greps for those scalar\n * prefixes inside one template's section.\n * - Resource-operation renderer (this function) emits owner-prefixed lines\n * `${ownerLabel}: purpose: …` and `${ownerLabel} note: …` because every\n * operation can have multiple communication blocks (email, notification,\n * m2m) and every block can have its own eventData; the owner label is the\n * only thing that disambiguates them inside the same operation list, and\n * downstream tooling greps by owner (e.g. `change_status.communications.email.eventData note:`).\n *\n * The validators in `resource-specification.schemas.ts`\n * (`assertOptionalEventDataSlot`) enforce non-empty trimmed entries on this\n * very surface, so the renderer MUST surface them here for the validation\n * contract to hold end-to-end.\n */\nfunction formatEventDataLines(\n ownerLabel: string,\n eventData: TranslationSlotSpecification | undefined,\n): string[] {\n if (!eventData) {\n return [];\n }\n const headlineParts = [\n `purpose: ${eventData.purpose}`,\n eventData.whenToUse ? `when to use: ${eventData.whenToUse}` : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n const lines = [`${ownerLabel}: ${headlineParts.join(' ')}`];\n for (const note of eventData.notes ?? []) {\n lines.push(`${ownerLabel} note: ${note}`);\n }\n return lines;\n}\n\n/**\n * The on-rendered noun used as a companion-bullet line prefix by\n * {@link formatBulletList}. Each member's string value IS the rendered prose,\n * so renaming a member value changes the compiled specification-context\n * Markdown that downstream tooling greps by prefix.\n */\nenum SpecificationBulletKind {\n /**\n * Parent-block `businessConstraints` (the canonical list a delivery\n * inherits from).\n */\n CONSTRAINT = 'constraint',\n /**\n * Per-delivery `additionalBusinessConstraints` (M5-8 cue) so prose readers\n * see the layering semantics explicitly instead of inferring them from the\n * path alone — the schema JSDoc on\n * `ResourceOperationEmailDeliverySpecification.additionalBusinessConstraints`\n * states these are layered on top of parent `businessConstraints`, but the\n * rendered Markdown previously read identically to the parent constraints\n * with only the path differing.\n */\n ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT = 'additional constraint (layered on parent)',\n /** `notes[]` and `codeHandling.notes[]` surfaces. */\n NOTE = 'note',\n}\n\n/**\n * Render an authored `string[]` companion-bullet surface as one line per\n * entry under the owner label. Mirrors the contract documented on\n * `assertOptionalNonEmptyStringList` (resource-specification.schemas.ts):\n * \"every entry must be a non-empty trimmed string because the renderer\n * emits each entry as a bullet\" — keep that promise truthful by emitting\n * one bullet per entry instead of an inline `Constraints: a b c` join, so\n * downstream tooling that greps for `${owner} constraint:` / `${owner}\n * note:` finds every authored entry as its own structural line.\n *\n * `bulletKind` carries the on-rendered noun used as the line prefix — see\n * {@link SpecificationBulletKind} for the per-member semantics.\n */\nfunction formatBulletList(\n ownerLabel: string,\n bulletKind: SpecificationBulletKind,\n values: readonly string[] | undefined,\n): string[] {\n if (!values?.length) {\n return [];\n }\n return values.map((value) => `${ownerLabel} ${bulletKind}: ${value}`);\n}\n\nfunction formatOperationEmailLine(\n operationId: string,\n email: ResourceOperationEmailSpecification | undefined,\n): string | undefined {\n if (!email) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.email`;\n const headlineParts = [\n `Purpose: ${email.purpose}`,\n `Tone: ${email.tone}`,\n email.useWhen ? `Use when ${email.useWhen}.` : undefined,\n email.avoidWhen ? `Avoid when ${email.avoidWhen}.` : undefined,\n `Deliveries: ${email.deliveries.length}.`,\n email.codeHandling?.eventDataSchemaSymbol\n ? `Event schema: ${formatCodeSymbolRef(email.codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n email.codeHandling?.eventDataTypeSymbol\n ? `Event type: ${formatCodeSymbolRef(email.codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(email.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, email.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, email.codeHandling?.notes);\n const eventDataLines = formatEventDataLines(`${ownerLabel}.eventData`, email.eventData);\n const slotLines = formatOperationTextSlotLines(\n `${ownerLabel}.textSlots`,\n email.textSlots,\n ['subject'],\n );\n const deliveryLines = email.deliveries.flatMap((delivery, index) => (\n formatEmailDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...eventDataLines,\n ...slotLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one email delivery as its own structural section so companion\n * prompts and transposers see every authored fan-out entry as a discrete\n * unit rather than buried prose. Per-delivery overrides\n * (`textSlotsOverrides`, `purposeOverride`, `additionalBusinessConstraints`,\n * `notes`) are surfaced ONLY when authored, so the common case where a\n * delivery shares the parent copy verbatim stays terse.\n *\n * The headline echoes the runtime fan-out keys (`targetRef`, `variantRef`,\n * `customDeliveryRef`) so transposers can compute the dispatcher's template\n * path (`email.{resourceId}.{op}.{variant?}.{target-kebab}_{customRef?}`)\n * directly from the spec without re-reading the resource configuration.\n */\nfunction formatEmailDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationEmailDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Target: \\`${delivery.targetRef}\\`.`,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n delivery.systemEmailTemplateRef\n ? `System-email template ref: \\`${delivery.systemEmailTemplateRef}\\`.`\n : undefined,\n delivery.purposeOverride\n ? `Purpose override (replaces parent purpose for this delivery): ${delivery.purposeOverride}`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT,\n delivery.additionalBusinessConstraints,\n );\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n const overrideSlotLines = delivery.textSlotsOverrides\n ? formatOperationTextSlotLines(\n `${ownerLabel}.textSlotsOverrides (replaces parent textSlots for this delivery)`,\n delivery.textSlotsOverrides,\n [],\n )\n : [];\n\n return [headline, ...constraintLines, ...noteLines, ...overrideSlotLines];\n}\n\nfunction formatOperationNotificationLine(\n operationId: string,\n notification: ResourceOperationNotificationSpecification | undefined,\n): string | undefined {\n if (!notification) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.notification`;\n const headlineParts = [\n `Purpose: ${notification.purpose}`,\n `Tone: ${notification.tone}`,\n notification.useWhen ? `Use when ${notification.useWhen}.` : undefined,\n notification.avoidWhen ? `Avoid when ${notification.avoidWhen}.` : undefined,\n `Deliveries: ${notification.deliveries.length}.`,\n notification.codeHandling?.channelEnum\n ? `Channel enum: ${formatCodeSymbolRef(notification.codeHandling.channelEnum)}`\n : undefined,\n notification.codeHandling?.eventDataSchemaSymbol\n ? `Event schema: ${formatCodeSymbolRef(notification.codeHandling.eventDataSchemaSymbol)}`\n : undefined,\n notification.codeHandling?.eventDataTypeSymbol\n ? `Event type: ${formatCodeSymbolRef(notification.codeHandling.eventDataTypeSymbol)}`\n : undefined,\n ...(notification.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, notification.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, notification.codeHandling?.notes);\n const eventDataLines = formatEventDataLines(`${ownerLabel}.eventData`, notification.eventData);\n const slotLines = formatOperationTextSlotLines(\n `${ownerLabel}.textSlots`,\n notification.textSlots,\n ['title'],\n );\n const deliveryLines = notification.deliveries.flatMap((delivery, index) => (\n formatNotificationDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...eventDataLines,\n ...slotLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one in-app notification delivery. Same contract as\n * {@link formatEmailDeliveryLines} with `channelRef` echoed in the headline\n * because notifications fan out per `(target, channel)` pair at runtime.\n */\nfunction formatNotificationDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationNotificationDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Channel: \\`${delivery.channelRef}\\`.`,\n `Target: \\`${delivery.targetRef}\\`.`,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n delivery.purposeOverride\n ? `Purpose override (replaces parent purpose for this delivery): ${delivery.purposeOverride}`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.ADDITIONAL_CONSTRAINT_LAYERED_ON_PARENT,\n delivery.additionalBusinessConstraints,\n );\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n const overrideSlotLines = delivery.textSlotsOverrides\n ? formatOperationTextSlotLines(\n `${ownerLabel}.textSlotsOverrides (replaces parent textSlots for this delivery)`,\n delivery.textSlotsOverrides,\n [],\n )\n : [];\n\n return [headline, ...constraintLines, ...noteLines, ...overrideSlotLines];\n}\n\n/**\n * Render the M2M (webhook) communications block, mirroring the email and\n * notification renderers. M2M dispatch carries no user-facing copy (no\n * `tone`, no `textSlots`), so the parent block surfaces only the shared\n * intent / use guidance / business constraints / payload schema, while\n * each delivery becomes its own structural section.\n */\nfunction formatOperationM2MLine(\n operationId: string,\n m2m: ResourceOperationM2MSpecification | undefined,\n): string | undefined {\n if (!m2m) {\n return undefined;\n }\n const ownerLabel = `${operationId}.communications.m2m`;\n const headlineParts = [\n `Purpose: ${m2m.purpose}`,\n m2m.useWhen ? `Use when ${m2m.useWhen}.` : undefined,\n m2m.avoidWhen ? `Avoid when ${m2m.avoidWhen}.` : undefined,\n `Deliveries: ${m2m.deliveries.length}.`,\n m2m.codeHandling?.channelEnum\n ? `Channel enum: ${formatCodeSymbolRef(m2m.codeHandling.channelEnum)}`\n : undefined,\n m2m.codeHandling?.levelEnum\n ? `Level enum: ${formatCodeSymbolRef(m2m.codeHandling.levelEnum)}`\n : undefined,\n m2m.codeHandling?.payloadSchemaSymbol\n ? `Payload schema: ${formatCodeSymbolRef(m2m.codeHandling.payloadSchemaSymbol)}`\n : undefined,\n m2m.codeHandling?.payloadTypeSymbol\n ? `Payload type: ${formatCodeSymbolRef(m2m.codeHandling.payloadTypeSymbol)}`\n : undefined,\n ...(m2m.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(ownerLabel, SpecificationBulletKind.CONSTRAINT, m2m.businessConstraints);\n const codeHandlingNoteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, m2m.codeHandling?.notes);\n // M2M opts INTO `crossRegistry: 'fail-soft'` at the validator layer\n // (see `assertOptionalRequiredFeaturesSpecification` consumer wiring) and\n // the renderer mirrors that contract by passing a bare ref formatter —\n // see `cross-registry-rendering.shared.ts` \"M2M is intentionally out of\n // scope\" section for the rationale.\n const requiredFeaturesBulletLines = (\n formatRequiredFeaturesBullets(m2m.requiredFeatures, {\n formatFeatureRef: (ref) => `\\`${ref}\\``,\n }) ?? []\n ).map((line) => `${ownerLabel} required-features: ${line}`);\n const deliveryLines = m2m.deliveries.flatMap((delivery, index) => (\n formatM2MDeliveryLines(ownerLabel, index, delivery)\n ));\n\n const allLines = [\n headline,\n ...constraintLines,\n ...codeHandlingNoteLines,\n ...requiredFeaturesBulletLines,\n ...deliveryLines,\n ].filter((value): value is string => Boolean(value));\n\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Render one M2M (webhook) delivery as its own structural section. Each\n * runtime `m2mNotifications[]` entry maps to one delivery here, so the\n * headline echoes `channelRef` / `level` / `variantRef` / `customDeliveryRef`\n * — the four fields that fully identify the dispatch at runtime.\n */\nfunction formatM2MDeliveryLines(\n parentLabel: string,\n index: number,\n delivery: ResourceOperationM2MDeliverySpecification,\n): string[] {\n const ownerLabel = `${parentLabel}.deliveries[${index}]`;\n const headlineParts = [\n `Audience: ${delivery.audience}`,\n `Channel: \\`${delivery.channelRef}\\`.`,\n delivery.level ? `Level: \\`${delivery.level}\\`.` : undefined,\n delivery.variantRef ? `Variant: \\`${delivery.variantRef}\\`.` : undefined,\n delivery.customDeliveryRef\n ? `Custom delivery ref: \\`${delivery.customDeliveryRef}\\`.`\n : undefined,\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = `${ownerLabel}: ${headlineParts.join(' ')}`;\n const noteLines = formatBulletList(ownerLabel, SpecificationBulletKind.NOTE, delivery.notes);\n\n return [headline, ...noteLines];\n}\n\n/**\n * Renders a flat markdown line for the discriminated-union\n * `scheduledExecution` overlay. Each arm surfaces only the fields the spec\n * arm actually carries — companion prompts must not imagine a cron on a\n * batch-job arm nor a custom-batch ref on the native arms. The union\n * discriminant (`variantType`) is echoed explicitly so downstream readers\n * can reason about the anchor class (`NATIVE_CRON_JOB` / `NATIVE_BATCH_JOB` /\n * `CUSTOM_BATCH`) without pattern-matching on field presence.\n */\nfunction formatOperationScheduledExecutionLine(\n operationId: string,\n scheduledExecution: ResourceOperationScheduledExecutionSpecification | undefined,\n): string | undefined {\n if (!scheduledExecution) {\n return undefined;\n }\n const ownerLabel = `${operationId}.scheduledExecution`;\n const variantLine = `Variant: ${scheduledExecution.variantType}.`;\n const cronLine = scheduledExecutionCronExpression(scheduledExecution);\n const customBatchRefLine = scheduledExecution.variantType === ResourceOperationScheduledExecutionVariantType.CUSTOM_BATCH\n ? `Custom batch ref: \\`${scheduledExecution.customBatchRef}\\`.`\n : undefined;\n const headlineParts = [\n variantLine,\n `Purpose: ${scheduledExecution.purpose}`,\n `Outcome: ${scheduledExecution.outcome}`,\n cronLine,\n customBatchRefLine,\n scheduledExecution.useWhen ? `Use when ${scheduledExecution.useWhen}.` : undefined,\n scheduledExecution.avoidWhen ? `Avoid when ${scheduledExecution.avoidWhen}.` : undefined,\n scheduledExecution.codeHandling?.inputSchemaSymbol\n ? `Input schema: ${formatCodeSymbolRef(scheduledExecution.codeHandling.inputSchemaSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.outputSchemaSymbol\n ? `Output schema: ${formatCodeSymbolRef(scheduledExecution.codeHandling.outputSchemaSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.inputTypeSymbol\n ? `Input type: ${formatCodeSymbolRef(scheduledExecution.codeHandling.inputTypeSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.outputTypeSymbol\n ? `Output type: ${formatCodeSymbolRef(scheduledExecution.codeHandling.outputTypeSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.customBatchRefSymbol\n ? `Batch ref symbol: ${formatCodeSymbolRef(scheduledExecution.codeHandling.customBatchRefSymbol)}`\n : undefined,\n scheduledExecution.codeHandling?.batchFactorySymbol\n ? `Batch factory: ${formatCodeSymbolRef(scheduledExecution.codeHandling.batchFactorySymbol)}`\n : undefined,\n ...(scheduledExecution.codeHandling?.supportingSymbols ?? []).map((symbol) => (\n `Supporting symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ].filter((value): value is string => Boolean(value && value.trim().length));\n\n const headline = headlineParts.length > 0\n ? `${ownerLabel}: ${headlineParts.join(' ')}`\n : undefined;\n const constraintLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.CONSTRAINT,\n scheduledExecution.businessConstraints,\n );\n const codeHandlingNoteLines = formatBulletList(\n ownerLabel,\n SpecificationBulletKind.NOTE,\n scheduledExecution.codeHandling?.notes,\n );\n\n const allLines = [headline, ...constraintLines, ...codeHandlingNoteLines]\n .filter((value): value is string => Boolean(value));\n return allLines.length > 0 ? allLines.join('\\n') : undefined;\n}\n\n/**\n * Returns the cron markdown token for arms that carry one. `NATIVE_BATCH_JOB`\n * is event-triggered by contract (validator fails closed on a declared cron),\n * so the renderer must not fabricate a cron line for it — consumers that see\n * no cron line know the run is dispatched, not scheduled.\n */\nfunction scheduledExecutionCronExpression(\n scheduledExecution: ResourceOperationScheduledExecutionSpecification,\n): string | undefined {\n switch (scheduledExecution.variantType) {\n case ResourceOperationScheduledExecutionVariantType.NATIVE_CRON_JOB:\n return `Cron: \\`${scheduledExecution.cronExpression}\\`.`;\n case ResourceOperationScheduledExecutionVariantType.CUSTOM_BATCH:\n return scheduledExecution.cronExpression\n ? `Cron: \\`${scheduledExecution.cronExpression}\\`.`\n : undefined;\n case ResourceOperationScheduledExecutionVariantType.NATIVE_BATCH_JOB:\n return undefined;\n default: {\n const exhaustiveCheck: never = scheduledExecution;\n throw new Error(\n `scheduledExecutionCronExpression(): unsupported variantType: ${JSON.stringify(exhaustiveCheck)}.`,\n );\n }\n }\n}\n\n/**\n * Render the views overlay for an operation. Custom hosts and linked views\n * each become a header line that echoes the structural identity (host\n * symbol / preset / declaration symbols, linked view kind + ref + purpose,\n * `whenToUse` guidance), followed by one structural bullet per authored\n * note via {@link formatBulletList}. The previous inline `${notes.join(' ')}`\n * silently flattened authored notes onto the header line and broke the\n * companion-bullet contract that downstream tooling depends on for\n * grep-able per-note lines (`${owner} note: …`).\n */\nfunction formatOperationViewLine(\n viewKey: string,\n views: ResourceOperationViewSpecification | undefined,\n): string | undefined {\n if (!views) {\n return undefined;\n }\n\n const lines: string[] = [];\n\n if (views.customView) {\n const customLabel = `${viewKey}.customView`;\n const customHeadline = `Custom host: ${formatCodeSymbolRef(\n views.customView.consumerFacingSymbol ?? views.customView.implementationSymbol,\n )}${views.customView.basedOnPreset ? ` Based on preset \\`${views.customView.basedOnPreset}\\`.` : ''}${views.customView.whenToUse ? ` Use when ${views.customView.whenToUse}.` : ''}${\n views.customView.declarationSymbols?.length\n ? ` Declared from ${views.customView.declarationSymbols.map((symbol) => `\\`${symbol.exportName}\\``).join(', ')}.`\n : ''\n }`;\n lines.push(`${customLabel}: ${customHeadline}`);\n lines.push(...formatBulletList(customLabel, SpecificationBulletKind.NOTE, views.customView.notes));\n }\n\n for (const [index, otherView] of (views.otherViews ?? []).entries()) {\n const otherLabel = `${viewKey}.otherViews[${index}]`;\n const otherHeadline = `Linked ${otherView.viewKind} view \\`${otherView.viewRef}\\`: ${otherView.purpose}${otherView.whenToUse ? ` Use when ${otherView.whenToUse}.` : ''}`;\n lines.push(`${otherLabel}: ${otherHeadline}`);\n lines.push(...formatBulletList(otherLabel, SpecificationBulletKind.NOTE, otherView.notes));\n }\n\n return lines.length > 0 ? lines.join('\\n') : undefined;\n}\n\nfunction buildResourceFrontendLines(\n specification: AnyResourceSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const frontend = specification.frontend;\n if (!frontend) {\n return undefined;\n }\n\n const guidanceLines = Object.entries(frontend.guidance ?? {}).map(([guidanceId, guidance]) => (\n `${guidanceId}: ${guidance.purpose}${guidance.whenToTrigger ? ` Trigger when ${guidance.whenToTrigger}.` : ''}`\n ));\n const layoutSlotLines = buildStructuralSlotLines('section', frontend.layout?.sections);\n const wizardStepLines = buildStructuralSlotLines('wizard step', frontend.layout?.wizardSteps);\n const groupLines = buildStructuralSlotLines('group', frontend.layout?.groups);\n const guidanceElementLines = Object.entries(frontend.guidance ?? {}).flatMap(([guidanceId, guidance]) => {\n const flowSlotLines = buildTextSlotLines(\n `guidance ${guidanceId}`,\n guidance.textSlots,\n );\n const elementLines = Object.entries(guidance.elements ?? {}).flatMap(([elementRef, element]) => ([\n `Guidance element ${guidanceId}.${elementRef}: ${element.purpose}${element.whenToUse ? ` Use when ${element.whenToUse}.` : ''}`,\n ...buildTextSlotLines(`guidance ${guidanceId}.${elementRef}`, element.textSlots),\n ]));\n return [...flowSlotLines, ...elementLines];\n });\n\n return toMarkdownListItems([\n frontend.label?.purpose ? `Label strategy: ${frontend.label.purpose}` : undefined,\n ...buildTextSlotLines('label strategy', frontend.label?.textSlots),\n frontend.layout?.purpose ? `Layout purpose: ${frontend.layout.purpose}` : undefined,\n frontend.layout?.displayPurpose ? `Display purpose: ${frontend.layout.displayPurpose}` : undefined,\n frontend.layout?.summaryPurpose ? `Summary purpose: ${frontend.layout.summaryPurpose}` : undefined,\n frontend.layout?.editPurpose ? `Edit purpose: ${frontend.layout.editPurpose}` : undefined,\n ...layoutSlotLines,\n ...wizardStepLines,\n ...groupLines,\n frontend.emptyState?.purpose ? `Empty state: ${frontend.emptyState.purpose}` : undefined,\n frontend.emptyState?.primaryActionPurpose\n ? `Empty-state primary action: ${frontend.emptyState.primaryActionPurpose}`\n : undefined,\n frontend.emptyState?.secondaryActionPurpose\n ? `Empty-state secondary action: ${frontend.emptyState.secondaryActionPurpose}`\n : undefined,\n ...guidanceLines,\n ...guidanceElementLines,\n ]);\n}\n\nfunction buildStructuralSlotLines(\n slotKind: string,\n slots: Record<string, { purpose: string; whenToUse?: string; textSlots?: Record<string, { purpose: string; whenToUse?: string }> }> | undefined,\n): string[] {\n return Object.entries(slots ?? {}).flatMap(([slotRef, slotSpec]) => ([\n `${slotKind} ${slotRef}: ${slotSpec.purpose}${slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : ''}`,\n ...buildTextSlotLines(`${slotKind} ${slotRef}`, slotSpec.textSlots),\n ]));\n}\n\n/**\n * Per-slot rendering for the resource frontend's labelling / layout /\n * guidance / structural slots. Each slot becomes one header line\n * (`${ownerLabel} ${slotName}: ${purpose} Use when …`) followed by one\n * additional line per authored note (`${ownerLabel} ${slotName} note: …`).\n *\n * The header line stays compact (single bullet per slot) but notes are\n * expanded so downstream tooling that greps for `${owner} … note:` finds\n * every authored entry as its own structural line — symmetric with\n * {@link formatOperationTextSlotLines} (operation communications) and the\n * system-email factory's `buildTextSlotLines`. The previous\n * `Notes: a b c` join silently flattened per-note grep-ability and\n * diverged from the per-note rendering pattern that the consolidated\n * `assertOptionalNonEmptyStringList` validator JSDoc promises across the\n * companion surface.\n */\nfunction buildTextSlotLines(\n ownerLabel: string,\n textSlots: Record<string, { purpose: string; whenToUse?: string; notes?: string[] }> | undefined,\n): string[] {\n return Object.entries(textSlots ?? {}).flatMap(([slotName, slotSpec]) => {\n const header = `${ownerLabel} ${slotName}: ${slotSpec.purpose}${slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : ''}`;\n const noteLines = (slotSpec.notes ?? []).map(\n (note) => `${ownerLabel} ${slotName} note: ${note}`,\n );\n return [header, ...noteLines];\n });\n}\n\nfunction buildResourceImplementationReferences(\n specification: AnyResourceSpecificationConfig,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n\n return toMarkdownListItems([\n formatCodeSymbolRef(codeHandling.mainSchema),\n codeHandling.resourceFactory ? formatCodeSymbolRef(codeHandling.resourceFactory) : undefined,\n codeHandling.resourceFactoryCollectionEntry\n ? formatCollectionEntryRef(codeHandling.resourceFactoryCollectionEntry)\n : undefined,\n codeHandling.resourceType\n ? `Use resource type member \\`${codeHandling.resourceType.memberName}\\` from \\`${codeHandling.resourceType.enumDeclaration.exportName}\\` imported via \\`${codeHandling.resourceType.enumDeclaration.packageName}\\`.`\n : undefined,\n codeHandling.operationVocabulary?.coreEnum\n ? `Core operation vocabulary: ${formatCodeSymbolRef(codeHandling.operationVocabulary.coreEnum)}`\n : undefined,\n codeHandling.operationVocabulary?.customEnum\n ? `Custom operation vocabulary: ${formatCodeSymbolRef(codeHandling.operationVocabulary.customEnum)}`\n : undefined,\n ...(codeHandling.frontendConfigurationSources ?? []).map((source) => (\n `Frontend configuration source: ${formatCodeSymbolRef(source)}`\n )),\n ...(codeHandling.frontendConfigurationSourceEntries ?? []).map((sourceEntry) => (\n `Frontend configuration source: ${formatCollectionEntryRef(sourceEntry)}`\n )),\n ...(codeHandling.notes ?? []),\n ]);\n}\n\n/**\n * Optional registry + materialization plumbing.\n *\n * - `resourceRelationships` — Phase 2B: threads the resource's relationship\n * slice into the field-spec extractor so `foreignKeySpec` fields can\n * derive their target via `ResourceRelationship.foreignKeyField`. The\n * resource type used to scope the lookup is `specificationId` (resource\n * specifications are keyed by resource type at the spec layer).\n * - `materializedConfig` — Phase 4: lets the renderer fire\n * `validateResourceFieldCompleteness(...)` against the resource's live\n * `mainSchema` + `inheritenceSchemaDefinition` before producing any\n * markdown. Missing overlay on an enum / array / FK field, or an\n * `enumSpec.values` divergence, throws synchronously so partial /\n * incorrect prompts cannot ship downstream.\n *\n * Both slices are optional rather than required because:\n * - test harnesses construct render requests without a live registry,\n * - non-resource family renderers do not need them,\n * - `additionalFieldSpecs` entries are passed through unchanged anyway\n * (per Q6-5, the Phase 3 shape gates apply but completeness derivation\n * does not).\n *\n * Production introspection callers always supply both; tests only supply\n * what they need to assert.\n */\nexport interface RenderResourceSpecificationOptions {\n resourceRelationships?: readonly ResourceRelationship[];\n materializedConfig?: {\n mainSchema: z.ZodTypeAny;\n inheritanceDefinition?: ResourceConfiguration_InheritanceSchemaDefinition<any, z.ZodTypeAny>;\n };\n}\n\nexport function renderResourceSpecificationContextPart(\n specificationId: string,\n specification: AnyResourceSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION,\n options: RenderResourceSpecificationOptions = {},\n): SpecificationMarkdownContextPart {\n const title = `Resource context: ${specificationId}`;\n const implementationReferences = buildResourceImplementationReferences(specification);\n const registryContext: ExtractFieldSpecsRegistryContext | undefined = options.resourceRelationships\n ? {\n currentResourceType: specificationId,\n relationships: options.resourceRelationships,\n }\n : undefined;\n const fieldSpecs = buildResourceFieldSpecs(specification, registryContext);\n\n // Phase 4 (D-6) — fail-closed completeness gate. Runs before any\n // markdown is produced so a missing overlay (enum/array/FK) on a\n // spec-worthy field aborts the render with a single combined message\n // instead of shipping a partial prompt downstream. Fires only when the\n // caller wired both the live schema (`materializedConfig`) AND the\n // registry slice (`resourceRelationships`) — production introspection\n // wires both; tests opt in selectively.\n if (options.materializedConfig && options.resourceRelationships) {\n validateResourceFieldCompleteness(\n `companion[render: ${specificationId}]: `,\n {\n mainSchema: options.materializedConfig.mainSchema,\n inheritanceDefinition: options.materializedConfig.inheritanceDefinition,\n fieldSpecs,\n relationships: options.resourceRelationships,\n currentResourceType: specificationId,\n },\n );\n }\n\n const fieldLines = buildResourceFieldLines(fieldSpecs, specification.pdfTemplates);\n const baseOperationLines = buildResourceOperationLines(specification.operations);\n const frontendViewLines = buildResourceOperationLines(specification.frontend?.views);\n const frontendLines = buildResourceFrontendLines(specification);\n const pdfTemplateLines = buildResourcePdfTemplateLines(specification.pdfTemplates);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n const lifecycleRole = formatLiteralLine('Lifecycle role', specification.lifecycleRole);\n\n switch (templateId) {\n case SpecificationContextTemplateId.RESOURCE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceTranslationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n fieldLines,\n frontendLines,\n baseOperationLines,\n frontendViewLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceCustomImplementationContext({\n title,\n purpose: specification.purpose,\n implementationReferences,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderResourceDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n frontendLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.RESOURCE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.RESOURCE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderResourceAllInformationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole,\n implementationReferences,\n fieldLines,\n baseOperationLines,\n frontendViewLines,\n frontendLines,\n pdfTemplateLines,\n businessConstraints,\n }),\n };\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"role-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/role-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA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,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAqCD,wBAAgB,kCAAkC,CAChD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,uBAAuB,EACtC,UAAU,EACN,8BAA8B,CAAC,wBAAwB,GACvD,8BAA8B,CAAC,kCAAkC,GACjE,8BAA8B,CAAC,8BAA8B,GAC7D,8BAA8B,CAAC,oBAAoB,GACtD,gCAAgC,CA8ElC"}
1
+ {"version":3,"file":"role-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/role-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAsBhD,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAA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8B,GAC7D,8BAA8B,CAAC,oBAAoB,GACtD,gCAAgC,CA8ElC"}
@@ -1 +1 @@
1
- {"version":3,"file":"role-specification-context.factory.js","sourceRoot":"","sources":["../../../../src/core/specifications/role-specification-context.factory.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,6BAA6B,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2CAA2C,GAC5C,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,uCAAuC,GACxC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,iCAAiC,GAClC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AA6ChD,MAAM,4BAA4B,GAAG,uBAAuB,CAC1D,iCAAiC,CAClC,CAAC;AACF,MAAM,qCAAqC,GAAG,uBAAuB,CACnE,2CAA2C,CAC5C,CAAC;AACF,MAAM,iCAAiC,GAAG,uBAAuB,CAC/D,uCAAuC,CACxC,CAAC;AACF,MAAM,+BAA+B,GAAG,uBAAuB,CAC7D,6BAA6B,CAC9B,CAAC;AAEF,SAAS,iCAAiC,CACxC,aAAsC;IAEtC,MAAM,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC;IAChD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,mBAAmB,CAAC;QACzB,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5F,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,mBAAmB,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAA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;YACtD,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,IAAI;gBACvC,OAAO,EAAE,2BAA2B,CAAC,eAAe;gBACpD,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,+BAA+B,CAAC;oBACxC,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,YAAY,EAAE,aAAa,CAAC,YAAY;oBACxC,aAAa,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,aAAa,CAAC,aAAa,CAAC;oBAC/E,iBAAiB,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,aAAa,CAAC,iBAAiB,CAAC;oBAC3F,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,wBAAwB;oBACxB,mBAAmB;iBACpB,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type { RoleSpecificationConfig } from '@wildo-ai/saas-specifications';\nimport type {\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n ROLE_ALL_INFORMATION_TEMPLATE,\n} from './templates/role/role-all-information.template';\nimport {\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/role/role-custom-implementation-context.template';\nimport {\n ROLE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/role/role-development-usage-context.template';\nimport {\n ROLE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/role/role-translation-context.template';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatLiteralLine,\n formatNamedMemberRef,\n formatOwnerRefBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\n\nexport interface RoleTranslationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface RoleCustomImplementationContextModel {\n title: string;\n purpose: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n implementationReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface RoleDevelopmentUsageContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n usageReferences?: Array<{ text: string }>;\n}\n\nexport interface RoleAllInformationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n implementationReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nconst renderRoleTranslationContext = compileMarkdownTemplate<RoleTranslationContextModel>(\n ROLE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderRoleCustomImplementationContext = compileMarkdownTemplate<RoleCustomImplementationContextModel>(\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderRoleDevelopmentUsageContext = compileMarkdownTemplate<RoleDevelopmentUsageContextModel>(\n ROLE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderRoleAllInformationContext = compileMarkdownTemplate<RoleAllInformationContextModel>(\n ROLE_ALL_INFORMATION_TEMPLATE,\n);\n\nfunction buildRoleImplementationReferences(\n specification: RoleSpecificationConfig,\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.definitionSymbol ? formatCodeSymbolRef(codeHandling.definitionSymbol) : undefined,\n codeHandling.definitionCollectionEntry\n ? `Locate the runtime definition inside \\`${codeHandling.definitionCollectionEntry.collectionSymbol.exportName}\\` by matching \\`${codeHandling.definitionCollectionEntry.identifierField}\\` = \\`${codeHandling.definitionCollectionEntry.identifierValue}\\`.`\n : undefined,\n codeHandling.identifierDeclaration\n ? formatNamedMemberRef(codeHandling.identifierDeclaration)\n : undefined,\n ...(codeHandling.supportingSymbols ?? []).map((symbol) => formatCodeSymbolRef(symbol)),\n ...(codeHandling.notes ?? []),\n ]);\n}\n\nexport function renderRoleSpecificationContextPart(\n specificationId: string,\n specification: RoleSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.ROLE_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `Role context: ${specificationId}`;\n const implementationReferences = buildRoleImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n\n switch (templateId) {\n case SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleTranslationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleCustomImplementationContext({\n title,\n purpose: specification.purpose,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n implementationReferences,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n }),\n };\n case SpecificationContextTemplateId.ROLE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderRoleAllInformationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n businessConstraints,\n }),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"role-specification-context.factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/role-specification-context.factory.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,6BAA6B,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,2CAA2C,GAC5C,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,uCAAuC,GACxC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,iCAAiC,GAClC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAA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type { RoleSpecificationConfig } from '@wildo-ai/saas-specifications';\nimport type {\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n ROLE_ALL_INFORMATION_TEMPLATE,\n} from './templates/role/role-all-information.template';\nimport {\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n} from './templates/role/role-custom-implementation-context.template';\nimport {\n ROLE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n} from './templates/role/role-development-usage-context.template';\nimport {\n ROLE_TRANSLATION_CONTEXT_TEMPLATE,\n} from './templates/role/role-translation-context.template';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatLiteralLine,\n formatNamedMemberRef,\n formatOwnerRefBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\n\nexport interface RoleTranslationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface RoleCustomImplementationContextModel {\n title: string;\n purpose: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n implementationReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nexport interface RoleDevelopmentUsageContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n usageReferences?: Array<{ text: string }>;\n}\n\nexport interface RoleAllInformationContextModel {\n title: string;\n purpose: string;\n businessRole: string;\n lifecycleRole?: string;\n authorityBoundary?: string;\n useWhen?: string;\n avoidWhen?: string;\n implementationReferences?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n}\n\nconst renderRoleTranslationContext = compileMarkdownTemplate<RoleTranslationContextModel>(\n ROLE_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderRoleCustomImplementationContext = compileMarkdownTemplate<RoleCustomImplementationContextModel>(\n ROLE_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderRoleDevelopmentUsageContext = compileMarkdownTemplate<RoleDevelopmentUsageContextModel>(\n ROLE_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderRoleAllInformationContext = compileMarkdownTemplate<RoleAllInformationContextModel>(\n ROLE_ALL_INFORMATION_TEMPLATE,\n);\n\nfunction buildRoleImplementationReferences(\n specification: RoleSpecificationConfig,\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.definitionSymbol ? formatCodeSymbolRef(codeHandling.definitionSymbol) : undefined,\n codeHandling.definitionCollectionEntry\n ? `Locate the runtime definition inside \\`${codeHandling.definitionCollectionEntry.collectionSymbol.exportName}\\` by matching \\`${codeHandling.definitionCollectionEntry.identifierField}\\` = \\`${codeHandling.definitionCollectionEntry.identifierValue}\\`.`\n : undefined,\n codeHandling.identifierDeclaration\n ? formatNamedMemberRef(codeHandling.identifierDeclaration)\n : undefined,\n ...(codeHandling.supportingSymbols ?? []).map((symbol) => formatCodeSymbolRef(symbol)),\n ...(codeHandling.notes ?? []),\n ]);\n}\n\nexport function renderRoleSpecificationContextPart(\n specificationId: string,\n specification: RoleSpecificationConfig,\n templateId:\n | SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.ROLE_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `Role context: ${specificationId}`;\n const implementationReferences = buildRoleImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n\n switch (templateId) {\n case SpecificationContextTemplateId.ROLE_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleTranslationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.ROLE_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleCustomImplementationContext({\n title,\n purpose: specification.purpose,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n implementationReferences,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.ROLE_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderRoleDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n }),\n };\n case SpecificationContextTemplateId.ROLE_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.ROLE,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderRoleAllInformationContext({\n title,\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: formatLiteralLine('Lifecycle role', specification.lifecycleRole),\n authorityBoundary: formatLiteralLine('Authority boundary', specification.authorityBoundary),\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n businessConstraints,\n }),\n };\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F,OAAO,KAAK,EACV,iDAAiD,EACjD,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAe7B,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAQhD,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,OAAO,GACb,kCAAkC,CASpC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gCAAgC;IAC/C,oFAAoF;IACpF,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;IACzB,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,iDAAiD,CAAC,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;CAC9F;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACxD;;;;;;;OAOG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;CAChF;AAED,wBAAgB,8BAA8B,CAC5C,gBAAgB,EAAE,8BAA8B,EAChD,OAAO,EAAE,kCAAkC,EAC3C,OAAO,GAAE,iCAAsC,GAC9C,gCAAgC,CA6NlC"}
1
+ {"version":3,"file":"specification-context-factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F,OAAO,KAAK,EACV,iDAAiD,EACjD,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAe7B,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAQhD,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,OAAO,GACb,kCAAkC,CASpC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gCAAgC;IAC/C,oFAAoF;IACpF,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;IACzB,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,iDAAiD,CAAC,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;CAC9F;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACxD;;;;;;;OAOG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;CAChF;AAED,wBAAgB,8BAA8B,CAC5C,gBAAgB,EAAE,8BAA8B,EAChD,OAAO,EAAE,kCAAkC,EAC3C,OAAO,GAAE,iCAAsC,GAC9C,gCAAgC,CA6NlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.js","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,uCAAuC,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAE,2CAA2C,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,2CAA2C,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,6C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ACb,OAAO,CAAC,UAAgF,CACzF,CAAC;QACJ,CAAC;QACD,KAAK,0BAA0B,CAAC,aAAa,CAAC,CAAC,CAAC;YAC9C,MAAM,aAAa,GACjB,gBAAgB,CAAC,0BAClB,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;YAC7B,IAAI,CAAC,aAAa,EAAE,CAAC;gBACnB,MAAM,IAAI,mCAAmC,CAC3C,mCAAmC,OAAO,CAAC,eAAe,gDAAgD,CAC3G,CAAC;YACJ,CAAC;YACD,OAAO,0CAA0C,CAC/C,OAAO,CAAC,eAAe,EACvB,aAAa,EACb,OAAO,CAAC,UAA8E,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type {\n ChartViewSpecification,\n CompositeViewSpecification,\n ExecutionViewSpecification,\n FeatureSpecification,\n FlowsActorsViewSpecification,\n FullCustomViewSpecification,\n FrontendComponentSpecification,\n GuidanceFlowSpecification,\n MilestoneSpecification,\n OnboardingViewSpecification,\n ProductSpecification,\n ResourceSpecification,\n RoleSpecification,\n SystemEmailTemplateSpecification,\n} from '@wildo-ai/saas-specifications';\nimport type { SpecificationsCompanionExports } from '@wildo-ai/saas-specifications/companion';\nimport type {\n ResourceConfiguration_InheritanceSchemaDefinition,\n ResourceRelationship,\n} from '@wildo-ai/saas-models';\nimport type { z } from 'zod';\nimport { renderChartViewSpecificationContextPart } from './chart-view-specification-context.factory';\nimport { renderCompositeViewSpecificationContextPart } from './composite-view-specification-context.factory';\nimport { renderExecutionViewSpecificationContextPart } from './execution-view-specification-context.factory';\nimport { renderFeatureSpecificationContextPart } from './feature-specification-context.factory';\nimport { renderFlowsActorsViewSpecificationContextPart } from './flows-actors-view-specification-context.factory';\nimport { renderFrontendComponentSpecificationContextPart } from './frontend-component-specification-context.factory';\nimport { renderFullCustomViewSpecificationContextPart } from './full-custom-view-specification-context.factory';\nimport { renderGuidanceFlowSpecificationContextPart } from './guidance-flow-specification-context.factory';\nimport { renderMilestoneSpecificationContextPart } from './milestone-specification-context.factory';\nimport { renderOnboardingViewSpecificationContextPart } from './onboarding-view-specification-context.factory';\nimport { renderProductSpecificationContextPart } from './product-specification-context.factory';\nimport { renderResourceSpecificationContextPart } from './resource-specification-context.factory';\nimport { renderRoleSpecificationContextPart } from './role-specification-context.factory';\nimport { renderSystemEmailTemplateSpecificationContextPart } from './system-email-template-specification-context.factory';\nimport type {\n SpecificationContextFactoryRequest,\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport {\n resolveSpecificationContextTemplateCase,\n SpecificationContextFamily,\n SpecificationContextValidationError,\n safeParseSpecificationContextFactoryRequest,\n} from './specification-context-factory.models';\n\nexport function parseSpecificationContextFactoryRequest(\n input: unknown,\n): SpecificationContextFactoryRequest {\n const parsedRequest = safeParseSpecificationContextFactoryRequest(input);\n if ('issues' in parsedRequest) {\n throw new SpecificationContextValidationError(\n parsedRequest.issues.map((issue) => issue.message).join('\\n'),\n );\n }\n\n return parsedRequest.data;\n}\n\n/**\n * Per-resource live materialization payload — provides the resource family\n * with the live Zod `mainSchema` + `inheritenceSchemaDefinition` it needs\n * to run the Phase 4 completeness validator (`validateResourceFieldCompleteness`).\n *\n * The dispatcher cannot reach into the materialized resource configurations\n * itself (it only sees JSON-safe `AnyResourceSpecificationConfig`), so the\n * caller — the introspection child handler that already loads the\n * configurations to align scope and derive FK targets — is responsible for\n * wiring this slice in.\n */\nexport interface RenderResourceMaterializedConfig {\n /** Live Zod object schema for the resource (`ResourceConfiguration.mainSchema`). */\n mainSchema: z.ZodTypeAny;\n /** Optional inheritance definition that introduces variant-only fields. */\n inheritanceDefinition?: ResourceConfiguration_InheritanceSchemaDefinition<any, z.ZodTypeAny>;\n}\n\n/**\n * Phase 2B + Phase 4 options bag: lets the caller hand the resource family\n * both the registry slice it needs to derive `foreignKeySpec` targets via\n * `ResourceRelationship.foreignKeyField` (Phase 2B) AND the per-resource\n * live materialization payload it needs to run the completeness validator\n * (Phase 4). Other families ignore both today — kept on the dispatcher\n * signature so future families that want registry context inherit the same\n * plumbing point.\n */\nexport interface RenderSpecificationContextOptions {\n /**\n * All declared resource relationships. The resource renderer scopes them\n * per-spec by `currentResourceType` before threading them into\n * `extractFieldSpecsFromFieldMap(...)` and the Phase 4 completeness\n * validator.\n */\n resourceRelationships?: readonly ResourceRelationship[];\n /**\n * Per-resource live materialization payload, keyed by resource type.\n * When the entry for the requested resource is present, the resource\n * renderer runs the Phase 4 completeness validator before producing\n * the rendered context part. When absent, the resource renderer skips\n * the validator (test fixtures and non-introspection callers may omit\n * it; production introspection callers always supply it).\n */\n resourceMaterializedConfigs?: Record<string, RenderResourceMaterializedConfig>;\n}\n\nexport function renderSpecificationContextPart(\n companionExports: SpecificationsCompanionExports,\n request: SpecificationContextFactoryRequest,\n options: RenderSpecificationContextOptions = {},\n): SpecificationMarkdownContextPart {\n const templateCase = resolveSpecificationContextTemplateCase(request.templateId);\n\n switch (templateCase.family) {\n case SpecificationContextFamily.RESOURCE: {\n const specification = (\n companionExports.resourceSpecifications as ResourceSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No resource specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderResourceSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderResourceSpecificationContextPart>[2],\n {\n resourceRelationships: options.resourceRelationships ?? [],\n materializedConfig:\n options.resourceMaterializedConfigs?.[request.specificationId],\n },\n );\n }\n case SpecificationContextFamily.COMPOSITE_VIEW: {\n const specification = (\n companionExports.compositeViewSpecifications as CompositeViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No composite-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderCompositeViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderCompositeViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FULL_CUSTOM_VIEW: {\n const specification = (\n companionExports.fullCustomViewSpecifications as FullCustomViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No full-custom-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFullCustomViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFullCustomViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FLOWS_ACTORS_VIEW: {\n const specification = (\n companionExports.flowsActorsViewSpecifications as FlowsActorsViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No flows-actors-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFlowsActorsViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFlowsActorsViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.CHART_VIEW: {\n const specification = (\n companionExports.chartViewSpecifications as ChartViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No chart-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderChartViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderChartViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.EXECUTION_VIEW: {\n const specification = (\n companionExports.executionViewSpecifications as ExecutionViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No execution-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderExecutionViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderExecutionViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FEATURE: {\n const specification = (\n companionExports.featureSpecifications as FeatureSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No feature specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFeatureSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFeatureSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.MILESTONE: {\n const specification = (\n companionExports.milestoneSpecifications as MilestoneSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No milestone specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderMilestoneSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderMilestoneSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.PRODUCT: {\n const specification = (\n companionExports.productSpecifications as ProductSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No product specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderProductSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderProductSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.ROLE: {\n const specification = (\n companionExports.roleSpecifications as RoleSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No role specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderRoleSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderRoleSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FRONTEND_COMPONENT: {\n const specification = (\n companionExports.frontendComponentSpecifications as FrontendComponentSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No frontend-component specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFrontendComponentSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFrontendComponentSpecificationContextPart>[2],\n request.presetId,\n );\n }\n case SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE: {\n const specification = (\n companionExports.systemEmailTemplateSpecifications as SystemEmailTemplateSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No system-email-template specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderSystemEmailTemplateSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderSystemEmailTemplateSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.ONBOARDING_VIEW: {\n const specification = (\n companionExports.onboardingViewSpecifications as OnboardingViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No onboarding-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderOnboardingViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderOnboardingViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.GUIDANCE_FLOW: {\n const specification = (\n companionExports.guidanceFlowSpecifications as GuidanceFlowSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No guidance-flow specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderGuidanceFlowSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderGuidanceFlowSpecificationContextPart>[2],\n );\n }\n }\n}\n"]}
1
+ {"version":3,"file":"specification-context-factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,uCAAuC,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAE,2CAA2C,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,2CAA2C,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,6CAA6C,EAAE,MAAM,mDAAmD,CAAC;AAClH,OAAO,EAAE,+CAA+C,EAAE,MAAM,oDAAoD,CAAC;AACrH,OAAO,EAAE,4CAA4C,EAAE,MAAM,kDAAkD,CAAC;AAChH,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CA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AAC;YAC7B,IAAI,CAAC,aAAa,EAAE,CAAC;gBACnB,MAAM,IAAI,mCAAmC,CAC3C,mCAAmC,OAAO,CAAC,eAAe,gDAAgD,CAC3G,CAAC;YACJ,CAAC;YACD,OAAO,0CAA0C,CAC/C,OAAO,CAAC,eAAe,EACvB,aAAa,EACb,OAAO,CAAC,UAA8E,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type {\n ChartViewSpecification,\n CompositeViewSpecification,\n ExecutionViewSpecification,\n FeatureSpecification,\n FlowsActorsViewSpecification,\n FullCustomViewSpecification,\n FrontendComponentSpecification,\n GuidanceFlowSpecification,\n MilestoneSpecification,\n OnboardingViewSpecification,\n ProductSpecification,\n ResourceSpecification,\n RoleSpecification,\n SystemEmailTemplateSpecification,\n} from '@wildo-ai/saas-specifications';\nimport type { SpecificationsCompanionExports } from '@wildo-ai/saas-specifications/companion';\nimport type {\n ResourceConfiguration_InheritanceSchemaDefinition,\n ResourceRelationship,\n} from '@wildo-ai/saas-models';\nimport type { z } from 'zod';\nimport { renderChartViewSpecificationContextPart } from './chart-view-specification-context.factory';\nimport { renderCompositeViewSpecificationContextPart } from './composite-view-specification-context.factory';\nimport { renderExecutionViewSpecificationContextPart } from './execution-view-specification-context.factory';\nimport { renderFeatureSpecificationContextPart } from './feature-specification-context.factory';\nimport { renderFlowsActorsViewSpecificationContextPart } from './flows-actors-view-specification-context.factory';\nimport { renderFrontendComponentSpecificationContextPart } from './frontend-component-specification-context.factory';\nimport { renderFullCustomViewSpecificationContextPart } from './full-custom-view-specification-context.factory';\nimport { renderGuidanceFlowSpecificationContextPart } from './guidance-flow-specification-context.factory';\nimport { renderMilestoneSpecificationContextPart } from './milestone-specification-context.factory';\nimport { renderOnboardingViewSpecificationContextPart } from './onboarding-view-specification-context.factory';\nimport { renderProductSpecificationContextPart } from './product-specification-context.factory';\nimport { renderResourceSpecificationContextPart } from './resource-specification-context.factory';\nimport { renderRoleSpecificationContextPart } from './role-specification-context.factory';\nimport { renderSystemEmailTemplateSpecificationContextPart } from './system-email-template-specification-context.factory';\nimport type {\n SpecificationContextFactoryRequest,\n SpecificationMarkdownContextPart,\n} from './specification-context-factory.models';\nimport {\n resolveSpecificationContextTemplateCase,\n SpecificationContextFamily,\n SpecificationContextValidationError,\n safeParseSpecificationContextFactoryRequest,\n} from './specification-context-factory.models';\n\nexport function parseSpecificationContextFactoryRequest(\n input: unknown,\n): SpecificationContextFactoryRequest {\n const parsedRequest = safeParseSpecificationContextFactoryRequest(input);\n if ('issues' in parsedRequest) {\n throw new SpecificationContextValidationError(\n parsedRequest.issues.map((issue) => issue.message).join('\\n'),\n );\n }\n\n return parsedRequest.data;\n}\n\n/**\n * Per-resource live materialization payload — provides the resource family\n * with the live Zod `mainSchema` + `inheritenceSchemaDefinition` it needs\n * to run the Phase 4 completeness validator (`validateResourceFieldCompleteness`).\n *\n * The dispatcher cannot reach into the materialized resource configurations\n * itself (it only sees JSON-safe `AnyResourceSpecificationConfig`), so the\n * caller — the introspection child handler that already loads the\n * configurations to align scope and derive FK targets — is responsible for\n * wiring this slice in.\n */\nexport interface RenderResourceMaterializedConfig {\n /** Live Zod object schema for the resource (`ResourceConfiguration.mainSchema`). */\n mainSchema: z.ZodTypeAny;\n /** Optional inheritance definition that introduces variant-only fields. */\n inheritanceDefinition?: ResourceConfiguration_InheritanceSchemaDefinition<any, z.ZodTypeAny>;\n}\n\n/**\n * Phase 2B + Phase 4 options bag: lets the caller hand the resource family\n * both the registry slice it needs to derive `foreignKeySpec` targets via\n * `ResourceRelationship.foreignKeyField` (Phase 2B) AND the per-resource\n * live materialization payload it needs to run the completeness validator\n * (Phase 4). Other families ignore both today — kept on the dispatcher\n * signature so future families that want registry context inherit the same\n * plumbing point.\n */\nexport interface RenderSpecificationContextOptions {\n /**\n * All declared resource relationships. The resource renderer scopes them\n * per-spec by `currentResourceType` before threading them into\n * `extractFieldSpecsFromFieldMap(...)` and the Phase 4 completeness\n * validator.\n */\n resourceRelationships?: readonly ResourceRelationship[];\n /**\n * Per-resource live materialization payload, keyed by resource type.\n * When the entry for the requested resource is present, the resource\n * renderer runs the Phase 4 completeness validator before producing\n * the rendered context part. When absent, the resource renderer skips\n * the validator (test fixtures and non-introspection callers may omit\n * it; production introspection callers always supply it).\n */\n resourceMaterializedConfigs?: Record<string, RenderResourceMaterializedConfig>;\n}\n\nexport function renderSpecificationContextPart(\n companionExports: SpecificationsCompanionExports,\n request: SpecificationContextFactoryRequest,\n options: RenderSpecificationContextOptions = {},\n): SpecificationMarkdownContextPart {\n const templateCase = resolveSpecificationContextTemplateCase(request.templateId);\n\n switch (templateCase.family) {\n case SpecificationContextFamily.RESOURCE: {\n const specification = (\n companionExports.resourceSpecifications as ResourceSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No resource specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderResourceSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderResourceSpecificationContextPart>[2],\n {\n resourceRelationships: options.resourceRelationships ?? [],\n materializedConfig:\n options.resourceMaterializedConfigs?.[request.specificationId],\n },\n );\n }\n case SpecificationContextFamily.COMPOSITE_VIEW: {\n const specification = (\n companionExports.compositeViewSpecifications as CompositeViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No composite-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderCompositeViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderCompositeViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FULL_CUSTOM_VIEW: {\n const specification = (\n companionExports.fullCustomViewSpecifications as FullCustomViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No full-custom-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFullCustomViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFullCustomViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FLOWS_ACTORS_VIEW: {\n const specification = (\n companionExports.flowsActorsViewSpecifications as FlowsActorsViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No flows-actors-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFlowsActorsViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFlowsActorsViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.CHART_VIEW: {\n const specification = (\n companionExports.chartViewSpecifications as ChartViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No chart-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderChartViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderChartViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.EXECUTION_VIEW: {\n const specification = (\n companionExports.executionViewSpecifications as ExecutionViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No execution-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderExecutionViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderExecutionViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FEATURE: {\n const specification = (\n companionExports.featureSpecifications as FeatureSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No feature specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFeatureSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFeatureSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.MILESTONE: {\n const specification = (\n companionExports.milestoneSpecifications as MilestoneSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No milestone specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderMilestoneSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderMilestoneSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.PRODUCT: {\n const specification = (\n companionExports.productSpecifications as ProductSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No product specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderProductSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderProductSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.ROLE: {\n const specification = (\n companionExports.roleSpecifications as RoleSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No role specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderRoleSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderRoleSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.FRONTEND_COMPONENT: {\n const specification = (\n companionExports.frontendComponentSpecifications as FrontendComponentSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No frontend-component specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderFrontendComponentSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderFrontendComponentSpecificationContextPart>[2],\n request.presetId,\n );\n }\n case SpecificationContextFamily.SYSTEM_EMAIL_TEMPLATE: {\n const specification = (\n companionExports.systemEmailTemplateSpecifications as SystemEmailTemplateSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No system-email-template specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderSystemEmailTemplateSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderSystemEmailTemplateSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.ONBOARDING_VIEW: {\n const specification = (\n companionExports.onboardingViewSpecifications as OnboardingViewSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No onboarding-view specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderOnboardingViewSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderOnboardingViewSpecificationContextPart>[2],\n );\n }\n case SpecificationContextFamily.GUIDANCE_FLOW: {\n const specification = (\n companionExports.guidanceFlowSpecifications as GuidanceFlowSpecification | undefined\n )?.[request.specificationId];\n if (!specification) {\n throw new SpecificationContextValidationError(\n `No guidance-flow specification \"${request.specificationId}\" is exported from the specifications package.`,\n );\n }\n return renderGuidanceFlowSpecificationContextPart(\n request.specificationId,\n specification,\n request.templateId as Parameters<typeof renderGuidanceFlowSpecificationContextPart>[2],\n );\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"specification-context-factory.models.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/specification-context-factory.models.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,oBAAY,2BAA2B;IACrC,mBAAmB,wBAAwB;IAC3C,6BAA6B,kCAAkC;IAC/D,yBAAyB,8BAA8B;IACvD,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,4BAA4B,iCAAiC;IAC7D,sCAAsC,2CAA2C;IACjF,kCAAkC,uCAAuC;IACzE,wBAAwB,6BAA6B;IACrD,kCAAkC,uCAAuC;IACzE,4CAA4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1
+ {"version":3,"file":"specification-context-factory.models.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/specification-context-factory.models.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,oBAAY,2BAA2B;IACrC,mBAAmB,wBAAwB;IAC3C,6BAA6B,kCAAkC;IAC/D,yBAAyB,8BAA8B;IACvD,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,4BAA4B,iCAAiC;IAC7D,sCAAsC,2CAA2C;IACjF,kCAAkC,uCAAuC;IACzE,wBAAwB,6BAA6B;IACrD,kCAAkC,uCAAuC;IACzE,4CAA4C,iDAAiD;IAC7F,wCAAwC,6CAA6C;IACrF,8BAA8B,mCAAmC;IACjE,oCAAoC,yCAAyC;IAC7E,8CAA8C,mDAAmD;IACjG,0CAA0C,+CAA+C;IACzF,gCAAgC,qCAAqC;IACrE,qCAAqC,0CAA0C;IAC/E,+CAA+C,oDAAoD;IACnG,2CAA2C,gDAAgD;IAC3F,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,wCAAwC,6CAA6C;IACrF,oCAAoC,yCAAyC;IAC7E,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;IACzE,4CAA4C,iDAAiD;IAC7F,wCAAwC,6CAA6C;IACrF,8BAA8B,mCAAmC;IACjE,2BAA2B,gCAAgC;IAC3D,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,uBAAuB,4BAA4B;IACnD,6BAA6B,kCAAkC;IAC/D,uCAAu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