@wildo-ai/dev-companion 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1372) hide show
  1. package/LICENSE +34 -0
  2. package/dist/esm/.builder.pid +9 -0
  3. package/dist/esm/.tsbuildinfo +1 -0
  4. package/dist/esm/__tests__/asset-noop.d.ts +3 -0
  5. package/dist/esm/__tests__/asset-noop.d.ts.map +1 -0
  6. package/dist/esm/__tests__/asset-noop.js +2 -0
  7. package/dist/esm/__tests__/asset-noop.js.map +1 -0
  8. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +2 -0
  9. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -0
  10. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +44 -0
  11. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +1 -0
  12. package/dist/esm/__tests__/internal-test-view.d.ts +39 -0
  13. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -0
  14. package/dist/esm/__tests__/internal-test-view.js +2 -0
  15. package/dist/esm/__tests__/internal-test-view.js.map +1 -0
  16. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts +57 -0
  17. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -0
  18. package/dist/esm/brand/models/logo-creative-brief.schemas.js +58 -0
  19. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -0
  20. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts +32 -0
  21. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -0
  22. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +72 -0
  23. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -0
  24. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts +36 -0
  25. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -0
  26. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +86 -0
  27. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -0
  28. package/dist/esm/brand/models/logo-judge.schemas.d.ts +68 -0
  29. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -0
  30. package/dist/esm/brand/models/logo-judge.schemas.js +66 -0
  31. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -0
  32. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +168 -0
  33. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -0
  34. package/dist/esm/brand/services/brand-accept.companion.service.js +507 -0
  35. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -0
  36. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +99 -0
  37. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -0
  38. package/dist/esm/brand/services/logo-deliberation.companion.service.js +429 -0
  39. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -0
  40. package/dist/esm/brand/services/logo-generation.companion.service.d.ts +50 -0
  41. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -0
  42. package/dist/esm/brand/services/logo-generation.companion.service.js +223 -0
  43. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -0
  44. package/dist/esm/brand/utils/derived-brand-assets.d.ts +39 -0
  45. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -0
  46. package/dist/esm/brand/utils/derived-brand-assets.js +55 -0
  47. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -0
  48. package/dist/esm/brand/utils/stage-brand-candidate.d.ts +56 -0
  49. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -0
  50. package/dist/esm/brand/utils/stage-brand-candidate.js +90 -0
  51. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -0
  52. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +256 -0
  53. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -0
  54. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +229 -0
  55. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -0
  56. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +239 -0
  57. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -0
  58. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +1213 -0
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -0
  60. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +174 -0
  61. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -0
  62. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +634 -0
  63. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -0
  64. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +86 -0
  65. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -0
  66. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +148 -0
  67. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -0
  68. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts +2 -0
  69. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -0
  70. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js +166 -0
  71. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -0
  72. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts +2 -0
  73. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -0
  74. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +463 -0
  75. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -0
  76. package/dist/esm/companion-api/companion-api.schemas.d.ts +1742 -0
  77. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -0
  78. package/dist/esm/companion-api/companion-api.schemas.js +240 -0
  79. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -0
  80. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts +14 -0
  81. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -0
  82. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js +43 -0
  83. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -0
  84. package/dist/esm/companion-api/controllers/companion.controller.d.ts +425 -0
  85. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -0
  86. package/dist/esm/companion-api/controllers/companion.controller.js +2268 -0
  87. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -0
  88. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +84 -0
  89. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -0
  90. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +196 -0
  91. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -0
  92. package/dist/esm/core/catalogs/catalog-context.factory.d.ts +17 -0
  93. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -0
  94. package/dist/esm/core/catalogs/catalog-context.factory.js +61 -0
  95. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -0
  96. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts +17 -0
  97. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -0
  98. package/dist/esm/core/catalogs/catalog-context.factory.models.js +5 -0
  99. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -0
  100. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts +6 -0
  101. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -0
  102. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js +5 -0
  103. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -0
  104. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts +6 -0
  105. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -0
  106. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js +5 -0
  107. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -0
  108. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts +6 -0
  109. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -0
  110. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js +5 -0
  111. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -0
  112. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts +6 -0
  113. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -0
  114. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js +5 -0
  115. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -0
  116. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts +6 -0
  117. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -0
  118. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js +5 -0
  119. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -0
  120. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts +6 -0
  121. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -0
  122. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js +5 -0
  123. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -0
  124. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts +6 -0
  125. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -0
  126. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js +5 -0
  127. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -0
  128. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts +6 -0
  129. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -0
  130. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js +5 -0
  131. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -0
  132. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts +6 -0
  133. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -0
  134. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js +5 -0
  135. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -0
  136. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts +6 -0
  137. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -0
  138. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js +5 -0
  139. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -0
  140. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts +32 -0
  141. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -0
  142. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js +325 -0
  143. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -0
  144. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts +4 -0
  145. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -0
  146. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js +5 -0
  147. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -0
  148. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts +6 -0
  149. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -0
  150. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js +5 -0
  151. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -0
  152. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts +14 -0
  153. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -0
  154. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +132 -0
  155. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -0
  156. package/dist/esm/core/config/primary-language.companion.utils.d.ts +21 -0
  157. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -0
  158. package/dist/esm/core/config/primary-language.companion.utils.js +26 -0
  159. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -0
  160. package/dist/esm/core/context/companion-context.d.ts +63 -0
  161. package/dist/esm/core/context/companion-context.d.ts.map +1 -0
  162. package/dist/esm/core/context/companion-context.js +144 -0
  163. package/dist/esm/core/context/companion-context.js.map +1 -0
  164. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +38 -0
  165. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -0
  166. package/dist/esm/core/context/companion-package-loaders.companion.js +241 -0
  167. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -0
  168. package/dist/esm/core/inject/models/container.d.ts +15 -0
  169. package/dist/esm/core/inject/models/container.d.ts.map +1 -0
  170. package/dist/esm/core/inject/models/container.js +236 -0
  171. package/dist/esm/core/inject/models/container.js.map +1 -0
  172. package/dist/esm/core/inject/models/service-types.d.ts +50 -0
  173. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -0
  174. package/dist/esm/core/inject/models/service-types.js +105 -0
  175. package/dist/esm/core/inject/models/service-types.js.map +1 -0
  176. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts +5 -0
  177. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -0
  178. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +558 -0
  179. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -0
  180. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +118 -0
  181. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -0
  182. package/dist/esm/core/introspection/models/companion-introspection.models.js +153 -0
  183. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -0
  184. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts +97 -0
  185. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -0
  186. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +266 -0
  187. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -0
  188. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts +7 -0
  189. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -0
  190. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js +24 -0
  191. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -0
  192. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +83 -0
  193. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -0
  194. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +503 -0
  195. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -0
  196. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts +46 -0
  197. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -0
  198. package/dist/esm/core/introspection/services/translation-placement.companion.service.js +134 -0
  199. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -0
  200. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts +195 -0
  201. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -0
  202. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +571 -0
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -0
  204. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts +9 -0
  205. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -0
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js +21 -0
  207. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -0
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts +2 -0
  209. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -0
  210. package/dist/esm/core/introspection/subprocess/asset-noop-register.js +14 -0
  211. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -0
  212. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts +21 -0
  213. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -0
  214. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js +97 -0
  215. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -0
  216. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts +28 -0
  217. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -0
  218. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js +44 -0
  219. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -0
  220. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +22 -0
  221. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -0
  222. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +1069 -0
  223. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -0
  224. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts +32 -0
  225. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -0
  226. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js +218 -0
  227. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -0
  228. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts +13 -0
  229. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -0
  230. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js +43 -0
  231. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -0
  232. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +252 -0
  233. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -0
  234. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +206 -0
  235. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -0
  236. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts +80 -0
  237. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -0
  238. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js +95 -0
  239. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -0
  240. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +62 -0
  241. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -0
  242. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +102 -0
  243. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -0
  244. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +75 -0
  245. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -0
  246. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +767 -0
  247. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -0
  248. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts +99 -0
  249. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -0
  250. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +364 -0
  251. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -0
  252. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +66 -0
  253. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -0
  254. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +290 -0
  255. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -0
  256. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +238 -0
  257. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -0
  258. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +1072 -0
  259. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -0
  260. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts +98 -0
  261. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -0
  262. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +230 -0
  263. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -0
  264. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +70 -0
  265. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -0
  266. package/dist/esm/core/lock/wildo-saas-lock.models.js +29 -0
  267. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -0
  268. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +74 -0
  269. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -0
  270. package/dist/esm/core/lock/wildo-saas-lock.schemas.js +42 -0
  271. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -0
  272. package/dist/esm/core/runtime/companion-startup-assembly.d.ts +26 -0
  273. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -0
  274. package/dist/esm/core/runtime/companion-startup-assembly.js +156 -0
  275. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -0
  276. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts +44 -0
  277. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts.map +1 -0
  278. package/dist/esm/core/runtime/companion-startup-composition-fence.js +85 -0
  279. package/dist/esm/core/runtime/companion-startup-composition-fence.js.map +1 -0
  280. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts +5 -0
  281. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -0
  282. package/dist/esm/core/runtime/models/companion-runtime.models.js +2 -0
  283. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -0
  284. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +243 -0
  285. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -0
  286. package/dist/esm/core/runtime/services/start-companion-application.service.js +844 -0
  287. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -0
  288. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts +44 -0
  289. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -0
  290. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js +70 -0
  291. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -0
  292. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +83 -0
  293. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -0
  294. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +641 -0
  295. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -0
  296. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts +17 -0
  297. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -0
  298. package/dist/esm/core/runtime/utils/companion-workbench-topology.js +17 -0
  299. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -0
  300. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts +27 -0
  301. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -0
  302. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js +45 -0
  303. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -0
  304. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts +12 -0
  305. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -0
  306. package/dist/esm/core/specifications/chart-view-specification-context.factory.js +97 -0
  307. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -0
  308. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts +69 -0
  309. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -0
  310. package/dist/esm/core/specifications/composite-view-specification-context.factory.js +136 -0
  311. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -0
  312. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +141 -0
  313. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -0
  314. package/dist/esm/core/specifications/cross-registry-rendering.shared.js +198 -0
  315. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -0
  316. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts +5 -0
  317. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -0
  318. package/dist/esm/core/specifications/execution-view-specification-context.factory.js +90 -0
  319. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -0
  320. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts +56 -0
  321. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -0
  322. package/dist/esm/core/specifications/feature-specification-context.factory.js +107 -0
  323. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -0
  324. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts +5 -0
  325. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -0
  326. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js +90 -0
  327. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -0
  328. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts +94 -0
  329. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -0
  330. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js +431 -0
  331. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -0
  332. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts +5 -0
  333. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -0
  334. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js +90 -0
  335. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -0
  336. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts +7 -0
  337. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -0
  338. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js +249 -0
  339. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -0
  340. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts +56 -0
  341. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -0
  342. package/dist/esm/core/specifications/milestone-specification-context.factory.js +107 -0
  343. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -0
  344. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts +82 -0
  345. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -0
  346. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js +42 -0
  347. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -0
  348. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts +54 -0
  349. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -0
  350. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js +126 -0
  351. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -0
  352. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts +7 -0
  353. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -0
  354. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js +198 -0
  355. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -0
  356. package/dist/esm/core/specifications/product-specification-context.factory.d.ts +56 -0
  357. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -0
  358. package/dist/esm/core/specifications/product-specification-context.factory.js +107 -0
  359. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -0
  360. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts +142 -0
  361. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -0
  362. package/dist/esm/core/specifications/resource-specification-context.factory.js +797 -0
  363. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -0
  364. package/dist/esm/core/specifications/role-specification-context.factory.d.ts +56 -0
  365. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -0
  366. package/dist/esm/core/specifications/role-specification-context.factory.js +107 -0
  367. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -0
  368. package/dist/esm/core/specifications/specification-context-factory.d.ts +51 -0
  369. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -0
  370. package/dist/esm/core/specifications/specification-context-factory.js +129 -0
  371. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -0
  372. package/dist/esm/core/specifications/specification-context-factory.models.d.ts +121 -0
  373. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -0
  374. package/dist/esm/core/specifications/specification-context-factory.models.js +450 -0
  375. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -0
  376. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts +232 -0
  377. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -0
  378. package/dist/esm/core/specifications/specification-context-factory.shared.js +386 -0
  379. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -0
  380. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts +5 -0
  381. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -0
  382. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js +181 -0
  383. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -0
  384. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts +2 -0
  385. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -0
  386. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js +53 -0
  387. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -0
  388. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts +2 -0
  389. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -0
  390. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js +19 -0
  391. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -0
  392. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts +2 -0
  393. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -0
  394. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js +39 -0
  395. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -0
  396. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts +2 -0
  397. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -0
  398. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js +39 -0
  399. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -0
  400. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts +2 -0
  401. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -0
  402. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js +42 -0
  403. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -0
  404. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts +2 -0
  405. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -0
  406. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js +29 -0
  407. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -0
  408. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts +2 -0
  409. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -0
  410. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js +35 -0
  411. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -0
  412. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts +2 -0
  413. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -0
  414. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js +35 -0
  415. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -0
  416. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts +2 -0
  417. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -0
  418. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js +98 -0
  419. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -0
  420. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts +2 -0
  421. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -0
  422. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js +54 -0
  423. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -0
  424. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts +2 -0
  425. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -0
  426. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js +58 -0
  427. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -0
  428. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts +2 -0
  429. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -0
  430. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js +33 -0
  431. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -0
  432. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts +2 -0
  433. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -0
  434. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js +74 -0
  435. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -0
  436. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts +2 -0
  437. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -0
  438. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js +64 -0
  439. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -0
  440. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts +2 -0
  441. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -0
  442. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js +74 -0
  443. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -0
  444. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts +2 -0
  445. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -0
  446. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js +46 -0
  447. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -0
  448. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts +2 -0
  449. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -0
  450. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js +42 -0
  451. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -0
  452. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts +2 -0
  453. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -0
  454. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js +29 -0
  455. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -0
  456. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts +2 -0
  457. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -0
  458. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js +35 -0
  459. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -0
  460. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts +2 -0
  461. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -0
  462. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js +35 -0
  463. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -0
  464. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts +2 -0
  465. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -0
  466. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js +46 -0
  467. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -0
  468. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts +2 -0
  469. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -0
  470. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js +29 -0
  471. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -0
  472. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts +2 -0
  473. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -0
  474. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js +32 -0
  475. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -0
  476. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts +2 -0
  477. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -0
  478. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js +32 -0
  479. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -0
  480. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts +2 -0
  481. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -0
  482. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js +74 -0
  483. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -0
  484. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts +2 -0
  485. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -0
  486. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js +64 -0
  487. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -0
  488. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts +2 -0
  489. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -0
  490. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js +74 -0
  491. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -0
  492. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts +2 -0
  493. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -0
  494. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js +46 -0
  495. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -0
  496. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts +2 -0
  497. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -0
  498. package/dist/esm/core/specifications/templates/product/product-all-information.template.js +42 -0
  499. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -0
  500. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts +2 -0
  501. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -0
  502. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js +29 -0
  503. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -0
  504. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts +2 -0
  505. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -0
  506. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js +35 -0
  507. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -0
  508. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts +2 -0
  509. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -0
  510. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js +35 -0
  511. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -0
  512. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts +2 -0
  513. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -0
  514. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js +62 -0
  515. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -0
  516. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts +2 -0
  517. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -0
  518. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js +47 -0
  519. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -0
  520. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts +2 -0
  521. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -0
  522. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js +55 -0
  523. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -0
  524. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts +2 -0
  525. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -0
  526. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js +55 -0
  527. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -0
  528. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts +2 -0
  529. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -0
  530. package/dist/esm/core/specifications/templates/role/role-all-information.template.js +42 -0
  531. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -0
  532. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts +2 -0
  533. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -0
  534. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js +29 -0
  535. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -0
  536. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts +2 -0
  537. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -0
  538. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js +35 -0
  539. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -0
  540. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts +2 -0
  541. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -0
  542. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js +35 -0
  543. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -0
  544. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts +2 -0
  545. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -0
  546. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js +50 -0
  547. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -0
  548. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts +2 -0
  549. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -0
  550. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js +40 -0
  551. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -0
  552. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts +2 -0
  553. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -0
  554. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js +50 -0
  555. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -0
  556. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts +2 -0
  557. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -0
  558. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js +43 -0
  559. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -0
  560. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts +106 -0
  561. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -0
  562. package/dist/esm/core/specifications/validate-resource-field-completeness.js +270 -0
  563. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -0
  564. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +44 -0
  565. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -0
  566. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +192 -0
  567. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -0
  568. package/dist/esm/core/traceability/companion-traceability.models.d.ts +129 -0
  569. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -0
  570. package/dist/esm/core/traceability/companion-traceability.models.js +86 -0
  571. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -0
  572. package/dist/esm/core/traceability/companion-traceability.service.d.ts +114 -0
  573. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -0
  574. package/dist/esm/core/traceability/companion-traceability.service.js +529 -0
  575. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -0
  576. package/dist/esm/core/utils/atomic-write.utils.d.ts +17 -0
  577. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -0
  578. package/dist/esm/core/utils/atomic-write.utils.js +25 -0
  579. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -0
  580. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +41 -0
  581. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -0
  582. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +150 -0
  583. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -0
  584. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +86 -0
  585. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -0
  586. package/dist/esm/deliberations/services/deliberation.companion.service.js +324 -0
  587. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -0
  588. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +64 -0
  589. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -0
  590. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +193 -0
  591. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -0
  592. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +22 -0
  593. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -0
  594. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +60 -0
  595. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -0
  596. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts +46 -0
  597. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -0
  598. package/dist/esm/email/models/email-template.actors-system.definitions.js +84 -0
  599. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -0
  600. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts +75 -0
  601. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -0
  602. package/dist/esm/email/services/email-spec-context-loader.companion.service.js +136 -0
  603. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -0
  604. package/dist/esm/email/services/email-template.companion.service.d.ts +258 -0
  605. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -0
  606. package/dist/esm/email/services/email-template.companion.service.js +1386 -0
  607. package/dist/esm/email/services/email-template.companion.service.js.map +1 -0
  608. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts +34 -0
  609. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -0
  610. package/dist/esm/email/utils/email-labels-file-source.utils.js +233 -0
  611. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -0
  612. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts +16 -0
  613. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -0
  614. package/dist/esm/email/utils/email-template-fs-discovery.utils.js +65 -0
  615. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -0
  616. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +190 -0
  617. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -0
  618. package/dist/esm/executions/services/companion-executions.companion.service.js +1279 -0
  619. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -0
  620. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts +23 -0
  621. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -0
  622. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +77 -0
  623. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -0
  624. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts +31 -0
  625. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -0
  626. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +88 -0
  627. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -0
  628. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +97 -0
  629. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -0
  630. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +94 -0
  631. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -0
  632. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +181 -0
  633. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -0
  634. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +778 -0
  635. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -0
  636. package/dist/esm/expert-personas/utils/canonical-json.d.ts +25 -0
  637. package/dist/esm/expert-personas/utils/canonical-json.d.ts.map +1 -0
  638. package/dist/esm/expert-personas/utils/canonical-json.js +45 -0
  639. package/dist/esm/expert-personas/utils/canonical-json.js.map +1 -0
  640. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +13 -0
  641. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -0
  642. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js +13 -0
  643. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -0
  644. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +40 -0
  645. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -0
  646. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +40 -0
  647. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -0
  648. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts +23 -0
  649. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -0
  650. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js +23 -0
  651. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -0
  652. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts +14 -0
  653. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -0
  654. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js +14 -0
  655. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -0
  656. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts +12 -0
  657. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -0
  658. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js +12 -0
  659. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -0
  660. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +33 -0
  661. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -0
  662. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +33 -0
  663. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -0
  664. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts +14 -0
  665. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -0
  666. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js +14 -0
  667. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -0
  668. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts +17 -0
  669. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -0
  670. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js +17 -0
  671. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -0
  672. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +24 -0
  673. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -0
  674. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +24 -0
  675. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -0
  676. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +20 -0
  677. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -0
  678. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +20 -0
  679. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -0
  680. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts +13 -0
  681. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -0
  682. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js +13 -0
  683. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -0
  684. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +22 -0
  685. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -0
  686. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +22 -0
  687. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -0
  688. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +14 -0
  689. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -0
  690. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +14 -0
  691. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -0
  692. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +17 -0
  693. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -0
  694. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +17 -0
  695. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -0
  696. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +21 -0
  697. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -0
  698. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +21 -0
  699. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -0
  700. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +20 -0
  701. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -0
  702. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js +20 -0
  703. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -0
  704. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts +13 -0
  705. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -0
  706. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js +13 -0
  707. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -0
  708. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +23 -0
  709. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -0
  710. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +23 -0
  711. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -0
  712. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts +41 -0
  713. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -0
  714. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js +41 -0
  715. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -0
  716. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +66 -0
  717. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -0
  718. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +66 -0
  719. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -0
  720. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +13 -0
  721. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -0
  722. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +13 -0
  723. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -0
  724. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +26 -0
  725. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -0
  726. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js +26 -0
  727. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -0
  728. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts +13 -0
  729. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -0
  730. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js +13 -0
  731. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -0
  732. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts +14 -0
  733. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -0
  734. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js +14 -0
  735. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -0
  736. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +13 -0
  737. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -0
  738. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +13 -0
  739. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -0
  740. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts +19 -0
  741. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -0
  742. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js +19 -0
  743. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -0
  744. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts +12 -0
  745. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -0
  746. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js +12 -0
  747. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -0
  748. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +44 -0
  749. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -0
  750. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +44 -0
  751. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -0
  752. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +84 -0
  753. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -0
  754. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +84 -0
  755. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -0
  756. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +35 -0
  757. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -0
  758. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +35 -0
  759. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -0
  760. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts +16 -0
  761. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -0
  762. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js +16 -0
  763. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -0
  764. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +34 -0
  765. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -0
  766. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +34 -0
  767. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -0
  768. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts +12 -0
  769. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -0
  770. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js +12 -0
  771. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -0
  772. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts +12 -0
  773. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -0
  774. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js +12 -0
  775. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -0
  776. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +21 -0
  777. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -0
  778. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js +21 -0
  779. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -0
  780. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts +17 -0
  781. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -0
  782. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js +17 -0
  783. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -0
  784. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts +15 -0
  785. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -0
  786. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js +15 -0
  787. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -0
  788. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +21 -0
  789. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -0
  790. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +21 -0
  791. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -0
  792. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +21 -0
  793. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -0
  794. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +21 -0
  795. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -0
  796. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts +14 -0
  797. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -0
  798. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js +14 -0
  799. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -0
  800. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts +22 -0
  801. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -0
  802. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js +22 -0
  803. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -0
  804. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts +26 -0
  805. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -0
  806. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js +26 -0
  807. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -0
  808. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts +14 -0
  809. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -0
  810. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js +14 -0
  811. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -0
  812. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts +17 -0
  813. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -0
  814. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js +17 -0
  815. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -0
  816. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts +12 -0
  817. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -0
  818. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js +12 -0
  819. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -0
  820. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts +12 -0
  821. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -0
  822. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js +12 -0
  823. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -0
  824. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts +12 -0
  825. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -0
  826. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js +12 -0
  827. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -0
  828. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts +14 -0
  829. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -0
  830. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js +14 -0
  831. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -0
  832. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +65 -0
  833. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -0
  834. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +65 -0
  835. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -0
  836. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts +31 -0
  837. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -0
  838. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js +31 -0
  839. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -0
  840. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts +19 -0
  841. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -0
  842. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js +19 -0
  843. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -0
  844. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts +12 -0
  845. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -0
  846. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js +12 -0
  847. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -0
  848. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts +20 -0
  849. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -0
  850. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js +20 -0
  851. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -0
  852. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +19 -0
  853. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -0
  854. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +19 -0
  855. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -0
  856. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +13 -0
  857. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -0
  858. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js +13 -0
  859. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -0
  860. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +31 -0
  861. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -0
  862. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +31 -0
  863. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -0
  864. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts +17 -0
  865. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts.map +1 -0
  866. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js +17 -0
  867. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js.map +1 -0
  868. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts +24 -0
  869. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -0
  870. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js +24 -0
  871. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -0
  872. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +22 -0
  873. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -0
  874. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +22 -0
  875. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -0
  876. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts +13 -0
  877. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -0
  878. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js +13 -0
  879. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -0
  880. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts +15 -0
  881. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -0
  882. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js +15 -0
  883. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -0
  884. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts +13 -0
  885. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -0
  886. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js +13 -0
  887. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -0
  888. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts +13 -0
  889. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -0
  890. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js +13 -0
  891. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -0
  892. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts +17 -0
  893. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -0
  894. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js +17 -0
  895. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -0
  896. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts +13 -0
  897. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -0
  898. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js +13 -0
  899. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -0
  900. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +28 -0
  901. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -0
  902. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +28 -0
  903. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -0
  904. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts +13 -0
  905. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -0
  906. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js +13 -0
  907. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -0
  908. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +12 -0
  909. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -0
  910. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js +12 -0
  911. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -0
  912. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts +21 -0
  913. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -0
  914. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js +21 -0
  915. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -0
  916. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts +12 -0
  917. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -0
  918. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js +12 -0
  919. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -0
  920. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts +12 -0
  921. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -0
  922. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js +12 -0
  923. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -0
  924. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +21 -0
  925. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -0
  926. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +21 -0
  927. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -0
  928. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts +14 -0
  929. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -0
  930. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js +14 -0
  931. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -0
  932. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +14 -0
  933. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -0
  934. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +14 -0
  935. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -0
  936. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts +16 -0
  937. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -0
  938. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js +16 -0
  939. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -0
  940. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts +15 -0
  941. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -0
  942. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js +15 -0
  943. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -0
  944. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts +14 -0
  945. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -0
  946. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js +14 -0
  947. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -0
  948. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts +12 -0
  949. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -0
  950. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js +12 -0
  951. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -0
  952. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +12 -0
  953. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -0
  954. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js +12 -0
  955. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -0
  956. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts +12 -0
  957. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -0
  958. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js +12 -0
  959. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -0
  960. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts +12 -0
  961. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -0
  962. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js +12 -0
  963. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -0
  964. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts +12 -0
  965. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -0
  966. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js +12 -0
  967. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -0
  968. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts +12 -0
  969. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -0
  970. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js +12 -0
  971. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -0
  972. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +23 -0
  973. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -0
  974. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js +23 -0
  975. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -0
  976. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts +13 -0
  977. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -0
  978. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js +13 -0
  979. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -0
  980. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +30 -0
  981. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -0
  982. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +30 -0
  983. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -0
  984. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +16 -0
  985. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -0
  986. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +16 -0
  987. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -0
  988. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +32 -0
  989. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -0
  990. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +32 -0
  991. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -0
  992. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts +21 -0
  993. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -0
  994. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js +21 -0
  995. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -0
  996. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +12 -0
  997. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -0
  998. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +12 -0
  999. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -0
  1000. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +40 -0
  1001. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -0
  1002. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +40 -0
  1003. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -0
  1004. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts +12 -0
  1005. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -0
  1006. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js +12 -0
  1007. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -0
  1008. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +15 -0
  1009. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -0
  1010. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +15 -0
  1011. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -0
  1012. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +43 -0
  1013. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -0
  1014. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +43 -0
  1015. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -0
  1016. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts +19 -0
  1017. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -0
  1018. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js +19 -0
  1019. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -0
  1020. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts +12 -0
  1021. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -0
  1022. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js +12 -0
  1023. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -0
  1024. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts +12 -0
  1025. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -0
  1026. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js +12 -0
  1027. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -0
  1028. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +16 -0
  1029. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -0
  1030. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js +16 -0
  1031. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -0
  1032. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts +17 -0
  1033. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -0
  1034. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js +17 -0
  1035. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -0
  1036. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts +15 -0
  1037. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -0
  1038. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js +15 -0
  1039. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -0
  1040. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts +13 -0
  1041. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -0
  1042. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js +13 -0
  1043. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -0
  1044. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts +13 -0
  1045. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -0
  1046. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js +13 -0
  1047. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -0
  1048. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +14 -0
  1049. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -0
  1050. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +14 -0
  1051. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -0
  1052. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +17 -0
  1053. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -0
  1054. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js +17 -0
  1055. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -0
  1056. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts +44 -0
  1057. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -0
  1058. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js +44 -0
  1059. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -0
  1060. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts +17 -0
  1061. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -0
  1062. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js +17 -0
  1063. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -0
  1064. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +45 -0
  1065. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -0
  1066. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +45 -0
  1067. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -0
  1068. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts +22 -0
  1069. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -0
  1070. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js +22 -0
  1071. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -0
  1072. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts +14 -0
  1073. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -0
  1074. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js +14 -0
  1075. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -0
  1076. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts +16 -0
  1077. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -0
  1078. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js +16 -0
  1079. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -0
  1080. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts +17 -0
  1081. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -0
  1082. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js +17 -0
  1083. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -0
  1084. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +16 -0
  1085. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -0
  1086. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +16 -0
  1087. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -0
  1088. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +46 -0
  1089. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -0
  1090. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +46 -0
  1091. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -0
  1092. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts +32 -0
  1093. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -0
  1094. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js +32 -0
  1095. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -0
  1096. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +44 -0
  1097. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -0
  1098. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +44 -0
  1099. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -0
  1100. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +37 -0
  1101. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -0
  1102. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +37 -0
  1103. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -0
  1104. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +44 -0
  1105. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -0
  1106. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +44 -0
  1107. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -0
  1108. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +16 -0
  1109. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -0
  1110. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +16 -0
  1111. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -0
  1112. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +15 -0
  1113. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -0
  1114. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +15 -0
  1115. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -0
  1116. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts +14 -0
  1117. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -0
  1118. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js +14 -0
  1119. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -0
  1120. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +60 -0
  1121. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -0
  1122. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +60 -0
  1123. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -0
  1124. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts +15 -0
  1125. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -0
  1126. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js +15 -0
  1127. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -0
  1128. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +20 -0
  1129. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -0
  1130. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +20 -0
  1131. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -0
  1132. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +13 -0
  1133. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -0
  1134. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +13 -0
  1135. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -0
  1136. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +38 -0
  1137. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -0
  1138. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +38 -0
  1139. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -0
  1140. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +12 -0
  1141. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -0
  1142. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +12 -0
  1143. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -0
  1144. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +17 -0
  1145. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -0
  1146. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +17 -0
  1147. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -0
  1148. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts +17 -0
  1149. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -0
  1150. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js +17 -0
  1151. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -0
  1152. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts +24 -0
  1153. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -0
  1154. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +24 -0
  1155. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -0
  1156. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +16 -0
  1157. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -0
  1158. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +16 -0
  1159. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -0
  1160. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +13 -0
  1161. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -0
  1162. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +13 -0
  1163. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -0
  1164. package/dist/esm/i18n/components/guidance_announcement.en.d.ts +12 -0
  1165. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -0
  1166. package/dist/esm/i18n/components/guidance_announcement.en.js +12 -0
  1167. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -0
  1168. package/dist/esm/i18n/components/guidance_banner.en.d.ts +13 -0
  1169. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -0
  1170. package/dist/esm/i18n/components/guidance_banner.en.js +13 -0
  1171. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -0
  1172. package/dist/esm/i18n/components/guidance_card.en.d.ts +12 -0
  1173. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -0
  1174. package/dist/esm/i18n/components/guidance_card.en.js +12 -0
  1175. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -0
  1176. package/dist/esm/i18n/components/guidance_checklist.en.d.ts +16 -0
  1177. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -0
  1178. package/dist/esm/i18n/components/guidance_checklist.en.js +16 -0
  1179. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -0
  1180. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +13 -0
  1181. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -0
  1182. package/dist/esm/i18n/components/guidance_checklist_item.en.js +13 -0
  1183. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -0
  1184. package/dist/esm/i18n/components/guidance_modal.en.d.ts +15 -0
  1185. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -0
  1186. package/dist/esm/i18n/components/guidance_modal.en.js +15 -0
  1187. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -0
  1188. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts +18 -0
  1189. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -0
  1190. package/dist/esm/i18n/components/guidance_onboarding_view.en.js +18 -0
  1191. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -0
  1192. package/dist/esm/i18n/components/guidance_survey.en.d.ts +18 -0
  1193. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -0
  1194. package/dist/esm/i18n/components/guidance_survey.en.js +18 -0
  1195. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -0
  1196. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts +13 -0
  1197. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -0
  1198. package/dist/esm/i18n/components/guidance_tooltip.en.js +13 -0
  1199. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -0
  1200. package/dist/esm/i18n/components/guidance_tour.en.d.ts +17 -0
  1201. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -0
  1202. package/dist/esm/i18n/components/guidance_tour.en.js +17 -0
  1203. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -0
  1204. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +14 -0
  1205. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -0
  1206. package/dist/esm/i18n/components/progression_achievement_badge.en.js +14 -0
  1207. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -0
  1208. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +19 -0
  1209. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -0
  1210. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +19 -0
  1211. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -0
  1212. package/dist/esm/i18n/index.d.ts +32 -0
  1213. package/dist/esm/i18n/index.d.ts.map +1 -0
  1214. package/dist/esm/i18n/index.js +35 -0
  1215. package/dist/esm/i18n/index.js.map +1 -0
  1216. package/dist/esm/i18n/resources/workbenchApplicationModules.en.d.ts +36 -0
  1217. package/dist/esm/i18n/resources/workbenchApplicationModules.en.d.ts.map +1 -0
  1218. package/dist/esm/i18n/resources/workbenchApplicationModules.en.js +32 -0
  1219. package/dist/esm/i18n/resources/workbenchApplicationModules.en.js.map +1 -0
  1220. package/dist/esm/i18n/resources/workbenchResourceRelationships.en.d.ts +29 -0
  1221. package/dist/esm/i18n/resources/workbenchResourceRelationships.en.d.ts.map +1 -0
  1222. package/dist/esm/i18n/resources/workbenchResourceRelationships.en.js +25 -0
  1223. package/dist/esm/i18n/resources/workbenchResourceRelationships.en.js.map +1 -0
  1224. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +193 -0
  1225. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -0
  1226. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +58 -0
  1227. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -0
  1228. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts +8 -0
  1229. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -0
  1230. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +88 -0
  1231. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -0
  1232. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts +91 -0
  1233. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -0
  1234. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js +551 -0
  1235. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -0
  1236. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +114 -0
  1237. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -0
  1238. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +975 -0
  1239. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -0
  1240. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +298 -0
  1241. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -0
  1242. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +1010 -0
  1243. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -0
  1244. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +135 -0
  1245. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -0
  1246. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +736 -0
  1247. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -0
  1248. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +85 -0
  1249. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -0
  1250. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +568 -0
  1251. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -0
  1252. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +99 -0
  1253. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -0
  1254. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +77 -0
  1255. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -0
  1256. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts +48 -0
  1257. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -0
  1258. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +115 -0
  1259. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -0
  1260. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts +17 -0
  1261. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -0
  1262. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js +52 -0
  1263. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -0
  1264. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +30 -0
  1265. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -0
  1266. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +46 -0
  1267. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -0
  1268. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts +21 -0
  1269. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -0
  1270. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js +63 -0
  1271. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -0
  1272. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +93 -0
  1273. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -0
  1274. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +299 -0
  1275. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -0
  1276. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +95 -0
  1277. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -0
  1278. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +79 -0
  1279. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -0
  1280. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts +4 -0
  1281. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -0
  1282. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js +10 -0
  1283. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -0
  1284. package/dist/esm/index.d.ts +2 -0
  1285. package/dist/esm/index.d.ts.map +1 -0
  1286. package/dist/esm/index.js +61 -0
  1287. package/dist/esm/index.js.map +1 -0
  1288. package/dist/esm/market/services/market-generation.companion.service.d.ts +101 -0
  1289. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -0
  1290. package/dist/esm/market/services/market-generation.companion.service.js +223 -0
  1291. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -0
  1292. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +39 -0
  1293. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -0
  1294. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +83 -0
  1295. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -0
  1296. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +45 -0
  1297. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -0
  1298. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +90 -0
  1299. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -0
  1300. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +52 -0
  1301. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -0
  1302. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +52 -0
  1303. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -0
  1304. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts +43 -0
  1305. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -0
  1306. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +233 -0
  1307. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -0
  1308. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +8 -0
  1309. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -0
  1310. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +41 -0
  1311. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -0
  1312. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +128 -0
  1313. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -0
  1314. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +260 -0
  1315. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -0
  1316. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +113 -0
  1317. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -0
  1318. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +213 -0
  1319. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -0
  1320. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +39 -0
  1321. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -0
  1322. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +153 -0
  1323. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -0
  1324. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +50 -0
  1325. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -0
  1326. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +115 -0
  1327. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -0
  1328. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +87 -0
  1329. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -0
  1330. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +155 -0
  1331. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -0
  1332. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +92 -0
  1333. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +1 -0
  1334. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +178 -0
  1335. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +1 -0
  1336. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts +22 -0
  1337. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -0
  1338. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js +51 -0
  1339. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -0
  1340. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +65 -0
  1341. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -0
  1342. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +154 -0
  1343. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -0
  1344. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +682 -0
  1345. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -0
  1346. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +2684 -0
  1347. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -0
  1348. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +67 -0
  1349. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +1 -0
  1350. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +126 -0
  1351. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +1 -0
  1352. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +231 -0
  1353. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -0
  1354. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +668 -0
  1355. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -0
  1356. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +31 -0
  1357. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -0
  1358. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +223 -0
  1359. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -0
  1360. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts +37 -0
  1361. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -0
  1362. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js +84 -0
  1363. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -0
  1364. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts +13 -0
  1365. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -0
  1366. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js +155 -0
  1367. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -0
  1368. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +107 -0
  1369. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -0
  1370. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +341 -0
  1371. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -0
  1372. package/package.json +89 -0
@@ -0,0 +1,2268 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
11
+ return function (target, key) { decorator(target, key, paramIndex); }
12
+ };
13
+ import { injectable, inject } from 'inversify';
14
+ import { AbstractControllerBackendService, LoggerService, ErrorBuilderBackendService, ErrorHandlerService, SAAS_SERVICE_TYPES, mergeBackendDomainModules, describeCaughtError, } from '@wildo-ai/saas-backend-lib';
15
+ import { CompanionActorTasksListQuerySchema, CompanionCreateActorTaskRequestSchema, CompanionCreateActorExecutionRequestSchema, CompanionCreateFlowExecutionRequestSchema, CompanionExecutionsListQuerySchema, CompanionIntrospectionRequestSchema, CompanionUpdateActorTaskRequestSchema, } from '../companion-api.schemas.js';
16
+ import { ErrorType, ErrorCustomMessageReference, AppFrontendType, computeChartRegistrationAlignment, normalizeChartExecutionRef, } from '@wildo-ai/saas-models';
17
+ import { loadBackendCompanionExports } from '../../core/context/companion-package-loaders.companion.js';
18
+ import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
19
+ import { LabellingPlannerCompanionService } from '../../i18n-labelling/services/labelling-planner.companion.service.js';
20
+ import { LabellizeOrchestratorCompanionService } from '../../i18n-labelling/services/labellize-orchestrator.companion.service.js';
21
+ import { TranslateOrchestratorCompanionService } from '../../i18n-labelling/services/translate-orchestrator.companion.service.js';
22
+ import { EmailTemplateCompanionService } from '../../email/services/email-template.companion.service.js';
23
+ import { PlaybookLoopAlreadyRunningError, PlaybookNotReadyError, PlaybookRunCompanionService, UnknownPlaybookError } from '../../meta-workflows/services/playbook-run.companion.service.js';
24
+ import { FoundationExecutionError } from '../../meta-workflows/services/foundation-executor.companion.service.js';
25
+ import { SuspendedPlaybookRunNotFoundError } from '../../meta-workflows/services/playbook-suspended-run.companion.service.js';
26
+ import { PlaybookClarificationAction } from '@wildo-ai/application-creation-runtime';
27
+ import { ExecutionTraceNotFoundError, ExecutionTraceReadCompanionService, } from '../../meta-workflows/services/execution-trace-read.companion.service.js';
28
+ import { ApplicationBuildDispatchCompanionService, ApplicationBuildPlanExhaustedError, ApplicationBuildPlanUnavailableError, } from '../../meta-workflows/services/application-build-dispatch.companion.service.js';
29
+ import { ApplicationBuildTaskNotACodingTaskError } from '../../meta-workflows/services/application-build-task-coding-policy.companion.service.js';
30
+ import { ApplicationBuildUnknownGenerationStepError } from '../../meta-workflows/services/application-build-generation-step.companion.service.js';
31
+ import { PlaybookRunWriteRegisterCompanionService, PlaybookRunWriteRecordNotFoundError } from '../../meta-workflows/services/playbook-run-write-register.companion.service.js';
32
+ import { PlaybookElicitationError } from '@wildo-ai/application-creation-runtime';
33
+ import { MarketGenerationCompanionService } from '../../market/services/market-generation.companion.service.js';
34
+ import { LogoGenerationCompanionService } from '../../brand/services/logo-generation.companion.service.js';
35
+ import { LogoDeliberationCompanionService } from '../../brand/services/logo-deliberation.companion.service.js';
36
+ import { BrandAcceptCompanionService } from '../../brand/services/brand-accept.companion.service.js';
37
+ import { ExpertPersonaCompanionService } from '../../expert-personas/services/expert-persona.companion.service.js';
38
+ import { DeliberationCompanionService } from '../../deliberations/services/deliberation.companion.service.js';
39
+ import { ExpertWorkDomain } from '@wildo-ai/saas-models';
40
+ import { BuildPlanTaskTargetKind } from '@wildo-ai/saas-specifications/application-creation';
41
+ import { TechnicalDocCompanionService } from '../../technical-doc/services/technical-doc.companion.service.js';
42
+ import { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service.js';
43
+ import { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service.js';
44
+ import { ResearchAgentDispatchCompanionService, ResearchAgentUnavailableError, } from '../../claude-cli/services/research-agent-dispatch.companion.service.js';
45
+ import { CodingAgentDispatchCompanionService } from '../../claude-cli/services/coding-agent-dispatch.companion.service.js';
46
+ import { CompanionTraceabilityLevel, isTraceExemptProbe } from '../../core/traceability/companion-traceability.models.js';
47
+ import { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service.js';
48
+ import { SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME } from '../../core/specifications/specification-context-factory.models.js';
49
+ import { StructuredDataCatalogAuditService } from '../../core/catalogs/structured-data-catalog-audit.service.js';
50
+ import { assertCompanionAvailableLanguage, assertEmailTemplateTestSendSucceeded, parseCompanionTargetLocales, } from './companion-i18n-api-contract.utils.js';
51
+ import * as fs from 'fs/promises';
52
+ import * as path from 'path';
53
+ /**
54
+ * Dev-companion HTTP surface mounted under {@link getCustomMountBasePath}
55
+ * (`/api/companion`). Hosts labelling, email-template authoring, file
56
+ * operations, persisted executions, meta/introspection, and market generation
57
+ * routes.
58
+ *
59
+ * ── OD-4.a ─ `/api/companion/email-templates/*` routing contract ─────────────
60
+ *
61
+ * The `email-templates/*` route group (`generate`, `preview`, `test-send`,
62
+ * `status`, `translate`) targets the **filesystem-based** template registry
63
+ * exposed via {@link EmailTemplateCompanionService}, which delegates every
64
+ * read through the in-memory `EmailTemplateRegistryBackendService`
65
+ * (file: `engine/saas-backend-lib/src/notifications/email/services/email-template-registry.backend.service.ts`).
66
+ *
67
+ * It does NOT — and must never — reach for the deleted DB-backed
68
+ * `EMAIL_TEMPLATES` core resource. That `CoreResourceType` member, its
69
+ * resource-config, repository, registry wiring, presets, schemas, header /
70
+ * footer sibling, and all event-triggered batch coupling were removed in
71
+ * Steps 4 / 5 / 6 of the email-templates deprecation
72
+ * (`.cursor/plans/email-templates-deprecate-db-backed.md`).
73
+ *
74
+ * The `/email-templates/*` path segment therefore reflects the **conceptual
75
+ * surface** the operator interacts with — the developer-facing template
76
+ * authoring flow — not a persistence layer. Renaming the routes would break
77
+ * existing companion-frontend wiring and provides no semantic gain. The
78
+ * filesystem-only contract is pinned by
79
+ * `src/email/services/__tests__/email-template-preview.companion.service.test.ts`,
80
+ * which fails fast if the preview path ever drifts back toward a DB-backed
81
+ * lookup.
82
+ */
83
+ let CompanionController = class CompanionController extends AbstractControllerBackendService {
84
+ companionContext;
85
+ labellingPlannerService;
86
+ labellizeOrchestratorService;
87
+ runWriteRegister;
88
+ translateOrchestratorService;
89
+ emailTemplateService;
90
+ marketGenerationService;
91
+ playbookRunService;
92
+ buildDispatchService;
93
+ executionTraceReadService;
94
+ logoGenerationService;
95
+ logoDeliberationService;
96
+ brandAcceptService;
97
+ expertPersonaService;
98
+ deliberationService;
99
+ technicalDocService;
100
+ companionIntrospectionService;
101
+ executionsService;
102
+ traceabilityService;
103
+ codingAgentDispatchService;
104
+ researchAgentDispatchService;
105
+ constructor(logger, errorBuilder, errorHandler, companionContext, labellingPlannerService, labellizeOrchestratorService, runWriteRegister, translateOrchestratorService, emailTemplateService, marketGenerationService, playbookRunService, buildDispatchService, executionTraceReadService, logoGenerationService, logoDeliberationService, brandAcceptService, expertPersonaService, deliberationService, technicalDocService, companionIntrospectionService, executionsService, traceabilityService, codingAgentDispatchService, researchAgentDispatchService) {
106
+ super(logger, errorBuilder, errorHandler, 'CompanionController');
107
+ this.companionContext = companionContext;
108
+ this.labellingPlannerService = labellingPlannerService;
109
+ this.labellizeOrchestratorService = labellizeOrchestratorService;
110
+ this.runWriteRegister = runWriteRegister;
111
+ this.translateOrchestratorService = translateOrchestratorService;
112
+ this.emailTemplateService = emailTemplateService;
113
+ this.marketGenerationService = marketGenerationService;
114
+ this.playbookRunService = playbookRunService;
115
+ this.buildDispatchService = buildDispatchService;
116
+ this.executionTraceReadService = executionTraceReadService;
117
+ this.logoGenerationService = logoGenerationService;
118
+ this.logoDeliberationService = logoDeliberationService;
119
+ this.brandAcceptService = brandAcceptService;
120
+ this.expertPersonaService = expertPersonaService;
121
+ this.deliberationService = deliberationService;
122
+ this.technicalDocService = technicalDocService;
123
+ this.companionIntrospectionService = companionIntrospectionService;
124
+ this.executionsService = executionsService;
125
+ this.traceabilityService = traceabilityService;
126
+ this.codingAgentDispatchService = codingAgentDispatchService;
127
+ this.researchAgentDispatchService = researchAgentDispatchService;
128
+ }
129
+ setupRoutes() {
130
+ this.router.use(this.attachRequestTraceSession.bind(this));
131
+ // Health
132
+ this.router.get('/', this.asyncHandler(this.health.bind(this)));
133
+ this.logRouteRegistration('get', '/', 'Companion health');
134
+ // ── Labelling (per-unit, lock-file-tracked) ────────────────────
135
+ // The decentralized labelling pipeline:
136
+ // 1. /labelling/plan → list units (components, resources, themes, …)
137
+ // 2. /labelling/labellize → primary-language labels per unit
138
+ // 3. /labelling/translate → per-unit per-locale translations
139
+ //
140
+ // There is intentionally no aggregate step. Per-unit files are the
141
+ // runtime source of truth — apps load them via
142
+ // `scanCustomLabelsDirectory` from `@wildo-ai/saas-backend-lib`,
143
+ // which walks the per-unit tree at module load. Keeping things
144
+ // separated is the contract.
145
+ this.router.get('/labelling/plan', this.asyncHandler(this.labellingPlan.bind(this)));
146
+ this.logRouteRegistration('get', '/labelling/plan', 'List planned labelling units');
147
+ this.router.post('/labelling/labellize', this.asyncHandler(this.labellingLabellize.bind(this)));
148
+ this.logRouteRegistration('post', '/labelling/labellize', 'Run per-unit labellize for primary locale');
149
+ this.router.post('/labelling/translate', this.asyncHandler(this.labellingTranslate.bind(this)));
150
+ this.logRouteRegistration('post', '/labelling/translate', 'Run per-unit per-locale translation');
151
+ // ── Email templates ────────────────────────────────────────────
152
+ // OD-4.a: every route in this block resolves through the
153
+ // **filesystem-based** `EmailTemplateRegistryBackendService` via
154
+ // `EmailTemplateCompanionService` — never through a DB repository for the
155
+ // (deleted) `EMAIL_TEMPLATES` core resource. See the class JSDoc above.
156
+ this.router.post('/email-templates/generate', this.asyncHandler(this.emailTemplatesGenerate.bind(this)));
157
+ this.logRouteRegistration('post', '/email-templates/generate', 'Generate email templates');
158
+ this.router.post('/email-templates/preview', this.asyncHandler(this.emailTemplatesPreview.bind(this)));
159
+ this.logRouteRegistration('post', '/email-templates/preview', 'Preview email template');
160
+ this.router.post('/email-templates/test-send', this.asyncHandler(this.emailTemplatesTestSend.bind(this)));
161
+ this.logRouteRegistration('post', '/email-templates/test-send', 'Send test email from template');
162
+ this.router.get('/email-templates/status', this.asyncHandler(this.emailTemplatesStatus.bind(this)));
163
+ this.logRouteRegistration('get', '/email-templates/status', 'Get email template filesystem status');
164
+ this.router.post('/email-templates/translate', this.asyncHandler(this.emailTemplatesTranslate.bind(this)));
165
+ this.logRouteRegistration('post', '/email-templates/translate', 'Translate email templates');
166
+ // ── File operations ────────────────────────────────────────────
167
+ this.router.post('/files/update', this.asyncHandler(this.updateFiles.bind(this)));
168
+ this.logRouteRegistration('post', '/files/update', 'Update files');
169
+ this.router.get('/file', this.asyncHandler(this.getFile.bind(this)));
170
+ this.logRouteRegistration('get', '/file', 'Get single file');
171
+ this.router.get('/files/list', this.asyncHandler(this.listFiles.bind(this)));
172
+ this.logRouteRegistration('get', '/files/list', 'List files in directory');
173
+ // ── Persisted executions ────────────────────────────────────────
174
+ this.router.post('/executions/actors', this.asyncHandler(this.createActorExecution.bind(this)));
175
+ this.logRouteRegistration('post', '/executions/actors', 'Persist actor execution');
176
+ this.router.get('/executions/actors', this.asyncHandler(this.listActorExecutions.bind(this)));
177
+ this.logRouteRegistration('get', '/executions/actors', 'List persisted actor executions');
178
+ this.router.get('/executions/actors/:executionId', this.asyncHandler(this.getActorExecution.bind(this)));
179
+ this.logRouteRegistration('get', '/executions/actors/:executionId', 'Read persisted actor execution');
180
+ this.router.post('/executions/flows', this.asyncHandler(this.createFlowExecution.bind(this)));
181
+ this.logRouteRegistration('post', '/executions/flows', 'Persist flow execution');
182
+ this.router.get('/executions/flows', this.asyncHandler(this.listFlowExecutions.bind(this)));
183
+ this.logRouteRegistration('get', '/executions/flows', 'List persisted flow executions');
184
+ this.router.get('/executions/flows/:executionId', this.asyncHandler(this.getFlowExecution.bind(this)));
185
+ this.logRouteRegistration('get', '/executions/flows/:executionId', 'Read persisted flow execution');
186
+ this.router.post('/tasks/actors', this.asyncHandler(this.createActorTask.bind(this)));
187
+ this.logRouteRegistration('post', '/tasks/actors', 'Persist actor task');
188
+ this.router.get('/tasks/actors', this.asyncHandler(this.listActorTasks.bind(this)));
189
+ this.logRouteRegistration('get', '/tasks/actors', 'List persisted actor tasks');
190
+ this.router.get('/tasks/actors/:taskId', this.asyncHandler(this.getActorTask.bind(this)));
191
+ this.logRouteRegistration('get', '/tasks/actors/:taskId', 'Read persisted actor task');
192
+ this.router.patch('/tasks/actors/:taskId', this.asyncHandler(this.updateActorTask.bind(this)));
193
+ this.logRouteRegistration('patch', '/tasks/actors/:taskId', 'Update persisted actor task');
194
+ // ── Meta / introspection ───────────────────────────────────────
195
+ this.router.get('/_meta/resources-registry', this.asyncHandler(this.getResourcesRegistry.bind(this)));
196
+ this.logRouteRegistration('get', '/_meta/resources-registry', 'Get resources registry');
197
+ this.router.get('/_meta/resources-registry/app/:appSlug', this.asyncHandler(this.getResourcesRegistry.bind(this)));
198
+ this.logRouteRegistration('get', '/_meta/resources-registry/app/:appSlug', 'Get resources registry for specific app');
199
+ this.router.post('/_meta/introspect', this.asyncHandler(this.requestIntrospection.bind(this)));
200
+ this.logRouteRegistration('post', '/_meta/introspect', 'Execute companion introspection behavior');
201
+ this.router.post('/charts/audit', this.asyncHandler(this.chartsAudit.bind(this)));
202
+ this.logRouteRegistration('post', '/charts/audit', 'Audit chart registration alignment (frontend chartViews vs backend registry)');
203
+ this.router.get('/_meta/website/structured-data-audit', this.asyncHandler(this.getWebsiteStructuredDataAudit.bind(this)));
204
+ this.logRouteRegistration('get', '/_meta/website/structured-data-audit', 'Audit website structured-data emissions against the merged Schema.org catalog');
205
+ // ── Coding-agent status (typed Flows/Actors coding path) ───────
206
+ // The raw POST /coding-agent/dispatch endpoint (caller-composed prompt)
207
+ // was deleted at the first-activation hard cut: every coding run now
208
+ // enters through the typed `runApplicationCodingTask` wrapper on the
209
+ // episode runtime. The GET status probe stays open (read-only routes
210
+ // keep the DD-6 posture).
211
+ this.router.get('/coding-agent/status', this.asyncHandler(this.codingAgentStatus.bind(this)));
212
+ this.router.post('/coding-agent/cancel', this.asyncHandler(this.codingAgentCancel.bind(this)));
213
+ this.logRouteRegistration('get', '/coding-agent/status', 'Coding-agent dispatch readiness (does NOT guarantee CLI binary presence or auth)');
214
+ // ── Prompt (TODO) ──────────────────────────────────────────────
215
+ this.router.post('/prompt', this.asyncHandler(this.buildPrompt.bind(this)));
216
+ this.logRouteRegistration('post', '/prompt', 'Build prompt from template and context');
217
+ // ── Playbooks (application-creation, P2) ─────────────────────────
218
+ // One compiled Framework Knowledge playbook, run end to end: brief the model against each declared
219
+ // family's own schema, then write the answers as specification FILES. It writes and stops — a human
220
+ // commits, which is the only acceptance (`.claude/rules/one-source-of-truth.md`, rules 2 and 3).
221
+ this.router.get('/build/next', this.asyncHandler(this.describeNextBuildTask.bind(this)));
222
+ this.logRouteRegistration('get', '/build/next', 'What the next ready build-plan run would be (either executor) — read-only');
223
+ this.router.post('/build/dispatch-next', this.asyncHandler(this.dispatchNextBuildTask.bind(this)));
224
+ this.logRouteRegistration('post', '/build/dispatch-next', 'Run the next ready build-plan task (coding agent or companion generation step)');
225
+ // ── Execution traces (what actually happened) ────────────────────
226
+ this.router.get('/traces', this.asyncHandler(this.listExecutionTraces.bind(this)));
227
+ this.logRouteRegistration('get', '/traces', 'Recent execution sessions');
228
+ this.router.get('/traces/:sessionId', this.asyncHandler(this.readExecutionTrace.bind(this)));
229
+ this.logRouteRegistration('get', '/traces/:sessionId', 'One session: every event in order, and its step artifacts');
230
+ this.router.get('/traces/:sessionId/steps/:stepDirName/artifacts/:fileName', this.asyncHandler(this.readExecutionTraceArtifact.bind(this)));
231
+ this.logRouteRegistration('get', '/traces/:sessionId/steps/:stepDirName/artifacts/:fileName', 'One artifact body — the brief the model saw, or the answer it gave');
232
+ this.router.post('/research', this.asyncHandler(this.runResearchTask.bind(this)));
233
+ this.logRouteRegistration('post', '/research', 'Run one READ-ONLY research objective and return the evidence it found (no writes, no lock)');
234
+ this.router.get('/playbooks/coherence', this.asyncHandler(this.readCoherenceReport.bind(this)));
235
+ this.logRouteRegistration('get', '/playbooks/coherence', 'Cross-family coherence of the CURRENT working tree — what is stated with nothing behind it, and what references something absent');
236
+ this.router.get('/playbooks', this.asyncHandler(this.listPlaybooks.bind(this)));
237
+ this.router.get('/playbooks/runs', this.asyncHandler(this.readPlaybookRunsInFlight.bind(this)));
238
+ this.router.post('/playbooks/loop', this.asyncHandler(this.runPlaybookLoop.bind(this)));
239
+ this.logRouteRegistration('post', '/playbooks/loop', 'Chain playbooks: deterministic gate, model choice, run, repeat');
240
+ this.logRouteRegistration('get', '/playbooks', 'Eligibility board: which playbooks can run now, and why not the rest');
241
+ this.router.post('/playbooks/:playbookRef/run', this.asyncHandler(this.runPlaybook.bind(this)));
242
+ this.logRouteRegistration('post', '/playbooks/:playbookRef/run', 'Run one playbook and land its outputs as specification files (body dryRun:true tests the pipe, writes nothing)');
243
+ this.router.post('/playbooks/runs/:runId/resume', this.asyncHandler(this.resumePlaybookRun.bind(this)));
244
+ this.logRouteRegistration('post', '/playbooks/runs/:runId/resume', 'Answer a suspended run\'s questions and continue it (action: accept | decline | cancel)');
245
+ this.router.post('/playbooks/:playbookRef/judge', this.asyncHandler(this.judgePlaybookArtifacts.bind(this)));
246
+ this.logRouteRegistration('post', '/playbooks/:playbookRef/judge', 'Judge SUPPLIED artifacts against a playbook\'s evaluation treatment (the judge value-eval bench; nothing lands)');
247
+ this.router.get('/runs/writes', this.asyncHandler(this.listRunWrites.bind(this)));
248
+ this.logRouteRegistration('get', '/runs/writes', 'The write register: which files each playbook run wrote, revertible per run');
249
+ this.router.post('/runs/writes/:runId/revert', this.asyncHandler(this.revertRunWrites.bind(this)));
250
+ this.logRouteRegistration('post', '/runs/writes/:runId/revert', 'Restore the pre-images of one run (refuses files a human edited since; body force:true overrides)');
251
+ // ── Market (Market generation, Phase 4.2) ───────────────────────
252
+ this.router.post('/market/generate', this.asyncHandler(this.marketGenerate.bind(this)));
253
+ this.router.post('/brand/generate-logo', this.asyncHandler(this.brandGenerateLogo.bind(this)));
254
+ this.router.post('/brand/deliberate-logo', this.asyncHandler(this.brandDeliberateLogo.bind(this)));
255
+ this.router.post('/brand/accept-logo', this.asyncHandler(this.brandAcceptLogo.bind(this)));
256
+ this.logRouteRegistration('post', '/market/generate', 'Render a market generation message template + invoke generation agent');
257
+ this.logRouteRegistration('post', '/brand/deliberate-logo', 'Art-director brief → per-direction generation → expert-panel deliberation → stage the winner');
258
+ this.logRouteRegistration('post', '/brand/accept-logo', 'Judge + promote a staged logo candidate into the specification SSOT (accept review point)');
259
+ // ── Expert personas (agentic deliberation system) ────────────────
260
+ this.router.post('/expert-personas/derive', this.asyncHandler(this.expertPersonaDerive.bind(this)));
261
+ this.router.post('/expert-personas/accept', this.asyncHandler(this.expertPersonaAccept.bind(this)));
262
+ this.logRouteRegistration('post', '/expert-personas/derive', 'Derive an app-specific expert-persona charter proposal from a framework role template + the spec artifacts');
263
+ this.logRouteRegistration('post', '/expert-personas/accept', 'Promote a staged expert-persona charter proposal into specifications/src/personas/ (committed SSOT)');
264
+ // ── Deliberations (agentic deliberation system, Step 3) ──────────
265
+ this.router.post('/deliberations/run', this.asyncHandler(this.deliberationRun.bind(this)));
266
+ this.logRouteRegistration('post', '/deliberations/run', 'Run a charter-built expert-panel deliberation over TEXT candidates (rubric → rounds → synthesis)');
267
+ // ── Technical documentation (saas-technical-doc.md Step 3) ─────
268
+ this.router.post('/technical-doc/generate-openapi', this.asyncHandler(this.technicalDocGenerateOpenApi.bind(this)));
269
+ this.logRouteRegistration('post', '/technical-doc/generate-openapi', 'Generate consumer API OpenAPI documents on demand');
270
+ this.router.post('/technical-doc/publish-openapi', this.asyncHandler(this.technicalDocPublishOpenApi.bind(this)));
271
+ this.logRouteRegistration('post', '/technical-doc/publish-openapi', 'Publish generated OpenAPI files into the stable API-reference tree');
272
+ // ── Technical documentation source-based derivation (decision D14) ──
273
+ this.router.post('/technical-doc/derive-bundles', this.asyncHandler(this.technicalDocDeriveBundles.bind(this)));
274
+ this.logRouteRegistration('post', '/technical-doc/derive-bundles', 'Derive the source-based documentation evidence snapshot + authorized bundles (read-only)');
275
+ // ── Technical documentation generation (synchronizes src/generated/consumer-documentation/) ──
276
+ this.router.post('/technical-doc/publish-managed', this.asyncHandler(this.technicalDocPublishManaged.bind(this)));
277
+ this.logRouteRegistration('post', '/technical-doc/publish-managed', 'Derive, render, measure, validate and publish the complete managed documentation tree');
278
+ // ── Module Registry (KD-6 — companion owns SaaS-app source mutations) ──
279
+ // Phase 2 wires the route shape; the actual ts-morph + filesystem
280
+ // mutation work lands in Phase 5 (install/update/remove) + Phase 6
281
+ // (publish). Until those land, every handler returns a
282
+ // `RegistryRouteResultSchema`-shaped not-implemented envelope so
283
+ // CLI clients (`RegistryCompanionClient`) parse the response
284
+ // uniformly.
285
+ this.router.post('/registry/install', this.asyncHandler(this.registryInstallNotImplemented.bind(this)));
286
+ this.logRouteRegistration('post', '/registry/install', 'Module-registry install (Phase 5)');
287
+ this.router.post('/registry/update', this.asyncHandler(this.registryUpdateNotImplemented.bind(this)));
288
+ this.logRouteRegistration('post', '/registry/update', 'Module-registry update (Phase 5)');
289
+ this.router.post('/registry/remove', this.asyncHandler(this.registryRemoveNotImplemented.bind(this)));
290
+ this.logRouteRegistration('post', '/registry/remove', 'Module-registry remove (Phase 5)');
291
+ this.router.post('/registry/publish', this.asyncHandler(this.registryPublishNotImplemented.bind(this)));
292
+ this.logRouteRegistration('post', '/registry/publish', 'Module-registry publish (Phase 6)');
293
+ }
294
+ getCustomMountBasePath() { return '/api/companion'; }
295
+ attachRequestTraceSession(req, res, next) {
296
+ // Polled probes are infrastructure noise, not build-time work — see
297
+ // `isTraceExemptProbe` for the full rationale (session-dir spam + live-
298
+ // session eviction under the always-on traceability default).
299
+ if (isTraceExemptProbe(req.method, req.path, ['/', '/health', '/coding-agent/status'])) {
300
+ next();
301
+ return;
302
+ }
303
+ const sessionContext = this.traceabilityService.createApiRequestSession({
304
+ method: req.method,
305
+ routePath: req.path,
306
+ urlPath: req.originalUrl || req.url,
307
+ ip: req.ip,
308
+ userAgent: req.get('user-agent') ?? undefined,
309
+ });
310
+ res.locals.companionTraceSession = sessionContext;
311
+ let didFinish = false;
312
+ void this.traceabilityService.traceEvent({
313
+ session: sessionContext,
314
+ minimumLevel: CompanionTraceabilityLevel.DEBUG,
315
+ type: 'api-request-start',
316
+ summary: `Start ${req.method.toUpperCase()} ${req.path}`,
317
+ payload: {
318
+ method: req.method.toUpperCase(),
319
+ url: req.originalUrl || req.url,
320
+ query: req.query,
321
+ },
322
+ });
323
+ res.on('finish', () => {
324
+ didFinish = true;
325
+ void this.traceabilityService.traceEvent({
326
+ session: sessionContext,
327
+ minimumLevel: CompanionTraceabilityLevel.DEBUG,
328
+ type: 'api-request-finish',
329
+ summary: `Finish ${req.method.toUpperCase()} ${req.path} with ${res.statusCode}`,
330
+ payload: {
331
+ method: req.method.toUpperCase(),
332
+ url: req.originalUrl || req.url,
333
+ statusCode: res.statusCode,
334
+ },
335
+ });
336
+ });
337
+ res.on('close', () => {
338
+ if (didFinish) {
339
+ return;
340
+ }
341
+ void this.traceabilityService.traceEvent({
342
+ session: sessionContext,
343
+ minimumLevel: CompanionTraceabilityLevel.DEBUG,
344
+ type: 'api-request-close',
345
+ summary: `Connection closed before finish for ${req.method.toUpperCase()} ${req.path}`,
346
+ payload: {
347
+ method: req.method.toUpperCase(),
348
+ url: req.originalUrl || req.url,
349
+ statusCode: res.statusCode,
350
+ },
351
+ });
352
+ });
353
+ next();
354
+ }
355
+ getTraceSession(res) {
356
+ return res.locals.companionTraceSession;
357
+ }
358
+ createTraceStep(res, kind, label) {
359
+ const session = this.getTraceSession(res);
360
+ return session
361
+ ? this.traceabilityService.createStep(session, { kind, label })
362
+ : undefined;
363
+ }
364
+ async traceSessionEvent(res, minimumLevel, type, summary, payload, step) {
365
+ const session = this.getTraceSession(res);
366
+ if (!session) {
367
+ return;
368
+ }
369
+ await this.traceabilityService.traceEvent({
370
+ session,
371
+ minimumLevel,
372
+ type,
373
+ summary,
374
+ ...(payload !== undefined ? { payload } : {}),
375
+ ...(step ? { step } : {}),
376
+ });
377
+ }
378
+ async traceSessionArtifact(res, minimumLevel, fileName, content, step) {
379
+ const session = this.getTraceSession(res);
380
+ if (!session) {
381
+ return;
382
+ }
383
+ await this.traceabilityService.writeArtifact({
384
+ session,
385
+ minimumLevel,
386
+ fileName,
387
+ content,
388
+ ...(step ? { step } : {}),
389
+ });
390
+ }
391
+ // ─────────────────────────────────────────────────────────────────────────────
392
+ // HEALTH
393
+ // ─────────────────────────────────────────────────────────────────────────────
394
+ async health(_req, res, _next) {
395
+ this.jsonSuccess(res, { status: 'ok', service: 'dev-companion' });
396
+ }
397
+ // ─────────────────────────────────────────────────────────────────────────────
398
+ // LABELLING (per-unit, lock-file-tracked)
399
+ // ─────────────────────────────────────────────────────────────────────────────
400
+ async labellingPlan(_req, res, next) {
401
+ try {
402
+ const units = await this.labellingPlannerService.planAllUnits();
403
+ const summary = units.map((u) => ({
404
+ id: u.id,
405
+ category: u.category,
406
+ displayLabel: u.displayLabel,
407
+ bucket: u.filePathHint.bucket,
408
+ slug: u.filePathHint.slug,
409
+ chunkCount: u.chunks.length,
410
+ keyCount: u.chunks.reduce((sum, c) => sum + c.keys.length, 0),
411
+ }));
412
+ this.jsonSuccess(res, { totalUnits: units.length, units: summary });
413
+ }
414
+ catch (e) {
415
+ this.jsonError(res, e, next);
416
+ }
417
+ }
418
+ /**
419
+ * Audit chart-registration alignment: compares every frontend
420
+ * `chartViews[].chartDefinition.ref` (materialized in the FRONTEND subprocess)
421
+ * against the backend-registered chart refs (from the merged backend modules).
422
+ * Returns the two-channel report — `unregisteredFrontendCharts` (each a
423
+ * guaranteed runtime `chart_not_found` 404) + `orphanBackendCharts` (backend-only
424
+ * charts, valid for API/programmatic use). The CLI renders + gates on it.
425
+ */
426
+ async chartsAudit(_req, res, next) {
427
+ try {
428
+ // Frontend side — the chart authoring surface, readable only in the frontend subprocess.
429
+ const appFrontendServiceKey = Object.entries(this.companionContext.servicesByKey)
430
+ .find(([, service]) => service.frontendType === AppFrontendType.SAAS_APP)?.[0];
431
+ if (!appFrontendServiceKey) {
432
+ throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {
433
+ customMessageReference: ErrorCustomMessageReference.CONFIGURATION,
434
+ context: { message: 'chart-registration audit: no SAAS_APP frontend service found.' },
435
+ });
436
+ }
437
+ const result = await this.companionIntrospectionService.requestInfo({
438
+ serviceKey: appFrontendServiceKey,
439
+ behavior: 'chart-registration-refs',
440
+ });
441
+ if (!result.success) {
442
+ const message = 'error' in result ? result.error.message : 'unknown error';
443
+ throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {
444
+ customMessageReference: ErrorCustomMessageReference.INTERNAL,
445
+ context: { message: `chart-registration-refs introspection failed: ${message}` },
446
+ });
447
+ }
448
+ const frontendChartRefs = result.data
449
+ .frontendChartRegistrationRefs ?? [];
450
+ // Backend side — the merged backend-module chartDefinitions (what registers).
451
+ const backendExports = await loadBackendCompanionExports(this.companionContext);
452
+ const backendOwnedModules = await backendExports.loadBackendModules();
453
+ const mergedBackend = mergeBackendDomainModules(...backendOwnedModules.flatMap((ownedModule) => ownedModule.backendModule ? [ownedModule.backendModule] : []));
454
+ const backendRegisteredRefs = (mergedBackend.chartDefinitions ?? []).map((definition) => normalizeChartExecutionRef(definition.ref));
455
+ this.jsonSuccess(res, computeChartRegistrationAlignment({ frontendChartRefs, backendRegisteredRefs }));
456
+ }
457
+ catch (e) {
458
+ this.jsonError(res, e, next);
459
+ }
460
+ }
461
+ async labellingLabellize(req, res, next) {
462
+ try {
463
+ const { forceRegenerate, unitIds } = req.body || {};
464
+ if (forceRegenerate !== undefined && typeof forceRegenerate !== 'boolean') {
465
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
466
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
467
+ context: { message: 'forceRegenerate must be a boolean when provided' },
468
+ });
469
+ }
470
+ if (unitIds !== undefined && (!Array.isArray(unitIds) || unitIds.some((v) => typeof v !== 'string'))) {
471
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
472
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
473
+ context: { message: 'unitIds must be an array of strings when provided' },
474
+ });
475
+ }
476
+ const result = await this.labellizeOrchestratorService.labellize({
477
+ forceRegenerate: forceRegenerate === true,
478
+ ...(Array.isArray(unitIds) ? { unitIdFilter: unitIds } : {}),
479
+ }, this.getTraceSession(res));
480
+ this.jsonSuccess(res, result);
481
+ }
482
+ catch (e) {
483
+ this.jsonError(res, e, next);
484
+ }
485
+ }
486
+ async labellingTranslate(req, res, next) {
487
+ try {
488
+ const { targetLocales, forceRetranslate, unitIds } = req.body || {};
489
+ const validatedTargets = parseCompanionTargetLocales(targetLocales, this.errorBuilder);
490
+ if (forceRetranslate !== undefined && typeof forceRetranslate !== 'boolean') {
491
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
492
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
493
+ context: { message: 'forceRetranslate must be a boolean when provided' },
494
+ });
495
+ }
496
+ if (unitIds !== undefined && (!Array.isArray(unitIds) || unitIds.some((v) => typeof v !== 'string'))) {
497
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
498
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
499
+ context: { message: 'unitIds must be an array of strings when provided' },
500
+ });
501
+ }
502
+ const result = await this.translateOrchestratorService.translate({
503
+ targetLocales: validatedTargets,
504
+ forceRetranslate: forceRetranslate === true,
505
+ ...(Array.isArray(unitIds) ? { unitIdFilter: unitIds } : {}),
506
+ }, this.getTraceSession(res));
507
+ this.jsonSuccess(res, result);
508
+ }
509
+ catch (e) {
510
+ this.jsonError(res, e, next);
511
+ }
512
+ }
513
+ /**
514
+ * Validate a locale string against `AvailableLanguage`. Without this,
515
+ * the orchestrators would happily write `<bucket>/<slug>.xx.ts`
516
+ * files for arbitrary input and create unbounded locale entries in
517
+ * the lock file.
518
+ */
519
+ assertAvailableLanguage(value, fieldName) {
520
+ return assertCompanionAvailableLanguage(value, fieldName, this.errorBuilder);
521
+ }
522
+ // ─────────────────────────────────────────────────────────────────────────────
523
+ // EMAIL TEMPLATES
524
+ //
525
+ // OD-4.a: All handlers in this block delegate to
526
+ // `EmailTemplateCompanionService`, which exclusively reads from the in-memory
527
+ // `EmailTemplateRegistryBackendService` (file-based template + per-locale
528
+ // labels, refreshed via dynamic `import()` of the compiled `dist/`
529
+ // artifacts). The deleted DB-backed `EMAIL_TEMPLATES` core resource is NOT
530
+ // a fallback. See the `CompanionController` class JSDoc for the full
531
+ // contract and the deprecation plan reference.
532
+ // ─────────────────────────────────────────────────────────────────────────────
533
+ async emailTemplatesGenerate(req, res, next) {
534
+ try {
535
+ this.logDebug('emailTemplatesGenerate');
536
+ const { forceRegenerate, templateRefs, locales } = req.body || {};
537
+ if (templateRefs !== undefined && (!Array.isArray(templateRefs) || templateRefs.some((value) => typeof value !== 'string'))) {
538
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
539
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
540
+ context: { message: 'templateRefs must be an array of template ref strings when provided' },
541
+ });
542
+ }
543
+ if (locales !== undefined && (!Array.isArray(locales) || locales.some((value) => typeof value !== 'string'))) {
544
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
545
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
546
+ context: { message: 'locales must be an array of locale strings when provided' },
547
+ });
548
+ }
549
+ if (forceRegenerate !== undefined && typeof forceRegenerate !== 'boolean') {
550
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
551
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
552
+ context: { message: 'forceRegenerate must be a boolean when provided' },
553
+ });
554
+ }
555
+ const result = await this.emailTemplateService.generateTemplates({
556
+ forceRegenerate,
557
+ templateRefs,
558
+ locales,
559
+ }, this.getTraceSession(res));
560
+ this.jsonSuccess(res, result);
561
+ }
562
+ catch (e) {
563
+ this.jsonError(res, e, next);
564
+ }
565
+ }
566
+ async emailTemplatesPreview(req, res, next) {
567
+ try {
568
+ const { templateRef, locale, mockContext } = req.body || {};
569
+ if (!templateRef || typeof templateRef !== 'string' || !locale || typeof locale !== 'string') {
570
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
571
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
572
+ context: { message: 'templateRef and locale are required' },
573
+ });
574
+ }
575
+ const validatedLocale = this.assertAvailableLanguage(locale, 'locale');
576
+ const result = await this.emailTemplateService.previewTemplate({
577
+ templateRef,
578
+ locale: validatedLocale,
579
+ mockContext,
580
+ }, this.getTraceSession(res));
581
+ this.jsonSuccess(res, result);
582
+ }
583
+ catch (e) {
584
+ this.jsonError(res, e, next);
585
+ }
586
+ }
587
+ async emailTemplatesTestSend(req, res, next) {
588
+ try {
589
+ const { templateRef, locale, recipientEmail, mockContext } = req.body || {};
590
+ if (!templateRef || typeof templateRef !== 'string'
591
+ || !locale || typeof locale !== 'string'
592
+ || !recipientEmail || typeof recipientEmail !== 'string') {
593
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
594
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
595
+ context: { message: 'templateRef, locale, and recipientEmail are required' },
596
+ });
597
+ }
598
+ const validatedLocale = this.assertAvailableLanguage(locale, 'locale');
599
+ const result = await this.emailTemplateService.testSend({
600
+ templateRef,
601
+ locale: validatedLocale,
602
+ recipientEmail,
603
+ mockContext,
604
+ }, this.getTraceSession(res));
605
+ assertEmailTemplateTestSendSucceeded(result, {
606
+ templateRef,
607
+ locale: validatedLocale,
608
+ recipientEmail,
609
+ }, this.errorBuilder);
610
+ this.jsonSuccess(res, result);
611
+ }
612
+ catch (e) {
613
+ this.jsonError(res, e, next);
614
+ }
615
+ }
616
+ async emailTemplatesStatus(req, res, next) {
617
+ try {
618
+ const templateRefs = typeof req.query.templateRefs === 'string'
619
+ ? req.query.templateRefs.split(',').map((value) => value.trim()).filter(Boolean)
620
+ : undefined;
621
+ const result = await this.emailTemplateService.getTemplateStatus(templateRefs, this.getTraceSession(res));
622
+ this.jsonSuccess(res, result);
623
+ }
624
+ catch (e) {
625
+ this.jsonError(res, e, next);
626
+ }
627
+ }
628
+ async emailTemplatesTranslate(req, res, next) {
629
+ try {
630
+ const { targetLocales, templateRefs, dryRun } = req.body || {};
631
+ this.logDebug('emailTemplatesTranslate', { targetLocales, templateRefs, dryRun });
632
+ const validatedTargets = parseCompanionTargetLocales(targetLocales, this.errorBuilder);
633
+ if (templateRefs !== undefined && (!Array.isArray(templateRefs) || templateRefs.some((value) => typeof value !== 'string'))) {
634
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
635
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
636
+ context: { message: 'templateRefs must be an array of template ref strings when provided' },
637
+ });
638
+ }
639
+ if (dryRun !== undefined && typeof dryRun !== 'boolean') {
640
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
641
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
642
+ context: { message: 'dryRun must be a boolean when provided' },
643
+ });
644
+ }
645
+ const result = await this.emailTemplateService.translateEmailTemplateLabels({
646
+ targetLocales: validatedTargets,
647
+ templateRefs,
648
+ dryRun: !!dryRun,
649
+ }, this.getTraceSession(res));
650
+ this.jsonSuccess(res, result);
651
+ }
652
+ catch (e) {
653
+ this.jsonError(res, e, next);
654
+ }
655
+ }
656
+ // ─────────────────────────────────────────────────────────────────────────────
657
+ // FILE OPERATIONS
658
+ // ─────────────────────────────────────────────────────────────────────────────
659
+ /**
660
+ * Single source of truth for the SaaS app root consumed by file operations.
661
+ *
662
+ * Always returns `this.companionContext.saasRoot`. Earlier revisions used
663
+ * `process.env.COMPANION_WORKSPACE_ROOT || this.companionContext.saasRoot`,
664
+ * which let a stale env var (from a parent shell, prior session, or leaked
665
+ * Vitest worker) silently override the trusted CompanionContext snapshot.
666
+ * `COMPANION_WORKSPACE_ROOT` is now only used as a BOOTSTRAP seed for
667
+ * subprocess consumers that have no CompanionContext (see
668
+ * `applyTrustedHomesToChildProcess` and the code-compliance scripts) —
669
+ * never as a runtime override inside services that already hold a resolved
670
+ * context.
671
+ */
672
+ getWorkspaceRoot() {
673
+ return this.companionContext.saasRoot;
674
+ }
675
+ resolveRequestedPath(filePath) {
676
+ return path.resolve(this.getWorkspaceRoot(), filePath);
677
+ }
678
+ async updateFiles(req, res, next) {
679
+ const traceStep = this.createTraceStep(res, 'file-operation', 'update-files');
680
+ try {
681
+ this.logDebug('updateFiles');
682
+ const { files } = req.body;
683
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-update-start', 'Start file update request', {
684
+ fileCount: Array.isArray(files) ? files.length : 0,
685
+ }, traceStep);
686
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'update-files-request.json', req.body ?? {}, traceStep);
687
+ if (!files || !Array.isArray(files)) {
688
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
689
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
690
+ context: { message: 'Request body must contain a "files" array' }
691
+ });
692
+ }
693
+ const results = {
694
+ success: true,
695
+ updatedFiles: [],
696
+ errors: [],
697
+ };
698
+ for (const file of files) {
699
+ try {
700
+ const absolutePath = this.resolveRequestedPath(file.path);
701
+ if (file.createDirectories !== false) {
702
+ await fs.mkdir(path.dirname(absolutePath), { recursive: true });
703
+ }
704
+ const encoding = (file.encoding || 'utf-8');
705
+ await fs.writeFile(absolutePath, file.content, { encoding });
706
+ results.updatedFiles.push(file.path);
707
+ }
708
+ catch (error) {
709
+ results.success = false;
710
+ results.errors.push({
711
+ path: file.path,
712
+ message: describeCaughtError(error),
713
+ });
714
+ }
715
+ }
716
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, results.success ? 'file-update-success' : 'file-update-mixed-result', results.success
717
+ ? `Updated ${results.updatedFiles.length} files`
718
+ : `Updated ${results.updatedFiles.length} files with ${results.errors.length} failures`, {
719
+ updatedCount: results.updatedFiles.length,
720
+ errorCount: results.errors.length,
721
+ success: results.success,
722
+ }, traceStep);
723
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'update-files-result.json', results, traceStep);
724
+ this.jsonSuccess(res, results);
725
+ }
726
+ catch (e) {
727
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-update-failure', 'Workspace file update failed', {
728
+ error: describeCaughtError(e),
729
+ }, traceStep);
730
+ this.jsonError(res, e, next);
731
+ }
732
+ }
733
+ async getFile(req, res, next) {
734
+ const traceStep = this.createTraceStep(res, 'file-operation', 'get-file');
735
+ try {
736
+ this.logDebug('getFile');
737
+ const filePath = req.query.path;
738
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-read-start', 'Start file read request', { filePath }, traceStep);
739
+ if (!filePath) {
740
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
741
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
742
+ context: { message: 'Query parameter "path" is required' }
743
+ });
744
+ }
745
+ const absolutePath = this.resolveRequestedPath(filePath);
746
+ const content = await fs.readFile(absolutePath, 'utf-8');
747
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-read-success', `Read file ${filePath}`, {
748
+ filePath,
749
+ contentLength: content.length,
750
+ }, traceStep);
751
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'file-read-result.json', {
752
+ filePath,
753
+ content,
754
+ encoding: 'utf-8',
755
+ }, traceStep);
756
+ this.jsonSuccess(res, { content, encoding: 'utf-8' });
757
+ }
758
+ catch (e) {
759
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-read-failure', 'Workspace file read failed', {
760
+ error: describeCaughtError(e),
761
+ filePath: req.query.path,
762
+ }, traceStep);
763
+ this.jsonError(res, e, next);
764
+ }
765
+ }
766
+ async listFiles(req, res, next) {
767
+ const traceStep = this.createTraceStep(res, 'file-operation', 'list-files');
768
+ try {
769
+ this.logDebug('listFiles');
770
+ const directory = req.query.directory;
771
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-list-start', 'Start workspace directory listing request', { directory }, traceStep);
772
+ if (!directory) {
773
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
774
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
775
+ context: { message: 'Query parameter "directory" is required' }
776
+ });
777
+ }
778
+ const absolutePath = this.resolveRequestedPath(directory);
779
+ const entries = await fs.readdir(absolutePath, { withFileTypes: true });
780
+ const files = entries.map(entry => ({
781
+ name: entry.name,
782
+ isDirectory: entry.isDirectory(),
783
+ path: path.join(directory, entry.name),
784
+ }));
785
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-list-success', `Listed workspace directory ${directory}`, {
786
+ directory,
787
+ entryCount: files.length,
788
+ }, traceStep);
789
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'file-list-result.json', {
790
+ directory,
791
+ files,
792
+ }, traceStep);
793
+ this.jsonSuccess(res, files);
794
+ }
795
+ catch (e) {
796
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'file-list-failure', 'Workspace directory listing failed', {
797
+ error: describeCaughtError(e),
798
+ directory: req.query.directory,
799
+ }, traceStep);
800
+ this.jsonError(res, e, next);
801
+ }
802
+ }
803
+ // ─────────────────────────────────────────────────────────────────────────────
804
+ // CODING-AGENT STATUS (typed Flows/Actors coding path)
805
+ // ─────────────────────────────────────────────────────────────────────────────
806
+ // The P-29 token middleware that used to live here guarded only the raw
807
+ // POST /coding-agent/dispatch endpoint; it was deleted with that endpoint
808
+ // at the first-activation hard cut. Token-gated mutations remain on the
809
+ // journey transition-control and public-v2 controllers, each of which owns
810
+ // its own middleware against the same auth floor.
811
+ /**
812
+ * Stop the in-flight coding run.
813
+ *
814
+ * Answers 200 with the task that was signalled, or 200 with
815
+ * `cancelled: false` when nothing is running — an operator asking to stop a
816
+ * run that already finished has not made an error, and a 404 would read like
817
+ * a broken route rather than an empty queue.
818
+ *
819
+ * The run terminalises normally with stop reason `cancelled` and its captured
820
+ * change set, so what the agent had already written stays visible.
821
+ */
822
+ async codingAgentCancel(_req, res, next) {
823
+ try {
824
+ const cancelled = this.codingAgentDispatchService.cancelActiveApplicationCodingTask();
825
+ this.jsonSuccess(res, cancelled ? { cancelled: true, ...cancelled } : { cancelled: false });
826
+ }
827
+ catch (error) {
828
+ next(error);
829
+ }
830
+ }
831
+ /**
832
+ * What is running, and what died leaving something resumable.
833
+ *
834
+ * A composite is a minutes-long operation — 780s for a five-iteration run — and until now nothing
835
+ * could report that one was in progress. On 2026-08-29 a parallel session published a single file
836
+ * 32 seconds after a research turn had succeeded; the companion restarted correctly and the run
837
+ * died. That session had no way to know, and no way to find out (#125).
838
+ *
839
+ * Two fields because they answer two different questions:
840
+ *
841
+ * - `running` comes from MEMORY, and is the only evidence of a run still inside its first
842
+ * iteration — the most expensive moment to interrupt, and one no checkpoint has reached yet.
843
+ * - `interrupted` comes from DISK, and lists runs whose process is gone. A checkpoint outlives its
844
+ * run only when the process was taken away, because a run that concludes consumes its own.
845
+ *
846
+ * Deliberately NOT a lock. `CLAUDE.md` is explicit that sessions are independent and shared-file
847
+ * collisions are accepted; a run that refused to let someone save a file would be worse than one
848
+ * that loses an iteration.
849
+ */
850
+ async readPlaybookRunsInFlight(_req, res, next) {
851
+ try {
852
+ this.jsonSuccess(res, await this.playbookRunService.readRunsInFlight());
853
+ }
854
+ catch (e) {
855
+ this.jsonError(res, e, next);
856
+ }
857
+ }
858
+ async codingAgentStatus(_req, res, next) {
859
+ try {
860
+ this.jsonSuccess(res, this.codingAgentDispatchService.getStatus());
861
+ }
862
+ catch (e) {
863
+ this.jsonError(res, e, next);
864
+ }
865
+ }
866
+ // ─────────────────────────────────────────────────────────────────────────────
867
+ // PERSISTED EXECUTIONS
868
+ // ─────────────────────────────────────────────────────────────────────────────
869
+ async createActorExecution(req, res, next) {
870
+ try {
871
+ const payload = CompanionCreateActorExecutionRequestSchema.parse(req.body ?? {});
872
+ const result = await this.executionsService.createActorExecution(payload, this.getTraceSession(res));
873
+ this.jsonSuccess(res, result);
874
+ }
875
+ catch (e) {
876
+ this.jsonError(res, e, next);
877
+ }
878
+ }
879
+ async listActorExecutions(req, res, next) {
880
+ try {
881
+ const query = CompanionExecutionsListQuerySchema.parse(req.query ?? {});
882
+ const result = await this.executionsService.listActorExecutions(query, this.getTraceSession(res));
883
+ this.jsonSuccess(res, result);
884
+ }
885
+ catch (e) {
886
+ this.jsonError(res, e, next);
887
+ }
888
+ }
889
+ async getActorExecution(req, res, next) {
890
+ try {
891
+ const executionId = req.params.executionId;
892
+ if (!executionId || Array.isArray(executionId)) {
893
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
894
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
895
+ context: { message: 'executionId route param is required' },
896
+ });
897
+ }
898
+ const result = await this.executionsService.getActorExecution(executionId, this.getTraceSession(res));
899
+ this.jsonSuccess(res, result);
900
+ }
901
+ catch (e) {
902
+ this.jsonError(res, e, next);
903
+ }
904
+ }
905
+ async createFlowExecution(req, res, next) {
906
+ try {
907
+ const payload = CompanionCreateFlowExecutionRequestSchema.parse(req.body ?? {});
908
+ const result = await this.executionsService.createFlowExecution(payload, this.getTraceSession(res));
909
+ this.jsonSuccess(res, result);
910
+ }
911
+ catch (e) {
912
+ this.jsonError(res, e, next);
913
+ }
914
+ }
915
+ async listFlowExecutions(req, res, next) {
916
+ try {
917
+ const query = CompanionExecutionsListQuerySchema.parse(req.query ?? {});
918
+ const result = await this.executionsService.listFlowExecutions(query, this.getTraceSession(res));
919
+ this.jsonSuccess(res, result);
920
+ }
921
+ catch (e) {
922
+ this.jsonError(res, e, next);
923
+ }
924
+ }
925
+ async getFlowExecution(req, res, next) {
926
+ try {
927
+ const executionId = req.params.executionId;
928
+ if (!executionId || Array.isArray(executionId)) {
929
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
930
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
931
+ context: { message: 'executionId route param is required' },
932
+ });
933
+ }
934
+ const result = await this.executionsService.getFlowExecution(executionId, this.getTraceSession(res));
935
+ this.jsonSuccess(res, result);
936
+ }
937
+ catch (e) {
938
+ this.jsonError(res, e, next);
939
+ }
940
+ }
941
+ async createActorTask(req, res, next) {
942
+ try {
943
+ const payload = CompanionCreateActorTaskRequestSchema.parse(req.body ?? {});
944
+ const result = await this.executionsService.createActorTask(payload, this.getTraceSession(res));
945
+ this.jsonSuccess(res, result);
946
+ }
947
+ catch (e) {
948
+ this.jsonError(res, e, next);
949
+ }
950
+ }
951
+ async listActorTasks(req, res, next) {
952
+ try {
953
+ const query = CompanionActorTasksListQuerySchema.parse(req.query ?? {});
954
+ const result = await this.executionsService.listActorTasks(query, this.getTraceSession(res));
955
+ this.jsonSuccess(res, result);
956
+ }
957
+ catch (e) {
958
+ this.jsonError(res, e, next);
959
+ }
960
+ }
961
+ async getActorTask(req, res, next) {
962
+ try {
963
+ const taskId = req.params.taskId;
964
+ if (!taskId || Array.isArray(taskId)) {
965
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
966
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
967
+ context: { message: 'taskId route param is required' },
968
+ });
969
+ }
970
+ const result = await this.executionsService.getActorTask(taskId, this.getTraceSession(res));
971
+ this.jsonSuccess(res, result);
972
+ }
973
+ catch (e) {
974
+ this.jsonError(res, e, next);
975
+ }
976
+ }
977
+ async updateActorTask(req, res, next) {
978
+ try {
979
+ const taskId = req.params.taskId;
980
+ if (!taskId || Array.isArray(taskId)) {
981
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
982
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
983
+ context: { message: 'taskId route param is required' },
984
+ });
985
+ }
986
+ const payload = CompanionUpdateActorTaskRequestSchema.parse(req.body ?? {});
987
+ const result = await this.executionsService.updateActorTask(taskId, payload, this.getTraceSession(res));
988
+ this.jsonSuccess(res, result);
989
+ }
990
+ catch (e) {
991
+ this.jsonError(res, e, next);
992
+ }
993
+ }
994
+ // ─────────────────────────────────────────────────────────────────────────────
995
+ // META / INTROSPECTION
996
+ // ─────────────────────────────────────────────────────────────────────────────
997
+ /**
998
+ * Get resources registry, optionally scoped to a specific app.
999
+ */
1000
+ async getResourcesRegistry(req, res, next) {
1001
+ const traceStep = this.createTraceStep(res, 'meta-introspection', 'resources-registry');
1002
+ let mappedFailureAlreadyTraced = false;
1003
+ try {
1004
+ const appSlug = req.params.appSlug;
1005
+ this.logDebug('getResourcesRegistry', { appSlug: appSlug ?? 'all' });
1006
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'resources-registry-start', 'Resolve companion resources registry', { appSlug: appSlug ?? null }, traceStep);
1007
+ const result = await this.companionIntrospectionService.requestInfo({
1008
+ serviceKey: this.pickResourcesRegistryCarrierServiceKey(),
1009
+ behavior: 'resources-registry',
1010
+ });
1011
+ if (!result.success) {
1012
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'resources-registry-failure-result.json', result, traceStep);
1013
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'resources-registry-upstream-failure', 'Companion resources registry introspection returned a failure result', {
1014
+ appSlug: appSlug ?? null,
1015
+ serviceKey: result.serviceKey,
1016
+ behavior: result.behavior,
1017
+ targetId: result.targetId,
1018
+ durationMs: result.durationMs,
1019
+ stdout: result.stdout,
1020
+ stderr: result.stderr,
1021
+ error: 'error' in result ? result.error : undefined,
1022
+ }, traceStep);
1023
+ mappedFailureAlreadyTraced = true;
1024
+ const failureMessage = 'error' in result
1025
+ ? result.error.message
1026
+ : 'Companion resources-registry introspection failed.';
1027
+ throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {
1028
+ customMessageReference: ErrorCustomMessageReference.INTERNAL,
1029
+ context: {
1030
+ message: failureMessage,
1031
+ serviceKey: result.serviceKey,
1032
+ behavior: result.behavior,
1033
+ targetId: result.targetId,
1034
+ },
1035
+ });
1036
+ }
1037
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'resources-registry-result.json', result.data ?? null, traceStep);
1038
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'resources-registry-success', 'Resolved companion resources registry', { appSlug: appSlug ?? null }, traceStep);
1039
+ this.jsonSuccess(res, result.data ?? null);
1040
+ }
1041
+ catch (e) {
1042
+ if (!mappedFailureAlreadyTraced) {
1043
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'resources-registry-failure', 'Failed to resolve companion resources registry', {
1044
+ appSlug: req.params.appSlug ?? null,
1045
+ error: describeCaughtError(e),
1046
+ }, traceStep);
1047
+ }
1048
+ this.jsonError(res, e, next);
1049
+ }
1050
+ }
1051
+ pickResourcesRegistryCarrierServiceKey() {
1052
+ const backendServiceKey = Object.entries(this.companionContext.servicesByKey)
1053
+ .find(([, service]) => !service.frontendType)?.[0];
1054
+ if (!backendServiceKey) {
1055
+ throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {
1056
+ customMessageReference: ErrorCustomMessageReference.CONFIGURATION,
1057
+ context: {
1058
+ message: 'No backend service is available to resolve the companion resources-registry behavior.',
1059
+ },
1060
+ });
1061
+ }
1062
+ return backendServiceKey;
1063
+ }
1064
+ async getWebsiteStructuredDataAudit(req, res, next) {
1065
+ const traceStep = this.createTraceStep(res, 'meta-introspection', 'website-structured-data-audit');
1066
+ try {
1067
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'website-structured-data-audit-start', 'Run website structured-data reconciliation against the merged Schema.org catalog', {}, traceStep);
1068
+ const report = await StructuredDataCatalogAuditService.audit(this.companionContext);
1069
+ const warningCount = report.result.findings.length;
1070
+ const responseBody = {
1071
+ status: warningCount === 0 ? 'passed-with-zero-findings' : 'completed-with-warnings',
1072
+ warningCount,
1073
+ warnings: report.result.findings,
1074
+ report,
1075
+ };
1076
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'website-structured-data-audit-result.json', responseBody, traceStep);
1077
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, warningCount === 0
1078
+ ? 'website-structured-data-audit-success'
1079
+ : 'website-structured-data-audit-warnings', warningCount === 0
1080
+ ? 'Website structured-data audit completed with zero findings'
1081
+ : 'Website structured-data audit completed with warning findings', {
1082
+ pageCount: report.pageCount,
1083
+ sectionCount: report.sectionCount,
1084
+ warningCount,
1085
+ }, traceStep);
1086
+ this.jsonSuccess(res, responseBody);
1087
+ }
1088
+ catch (e) {
1089
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'website-structured-data-audit-failure', 'Failed to run website structured-data audit', {
1090
+ error: describeCaughtError(e),
1091
+ }, traceStep);
1092
+ this.jsonError(res, e, next);
1093
+ }
1094
+ }
1095
+ isValidationIntrospectionFailure(result, requestedBehavior) {
1096
+ const effectiveBehavior = requestedBehavior ?? result.behavior;
1097
+ if (result.success || effectiveBehavior !== 'specification-context-parts') {
1098
+ return false;
1099
+ }
1100
+ return result.error?.name === 'ZodError'
1101
+ || result.error?.name === SPECIFICATION_CONTEXT_VALIDATION_ERROR_NAME;
1102
+ }
1103
+ async requestIntrospection(req, res, next) {
1104
+ const traceStep = this.createTraceStep(res, 'meta-introspection', 'request-introspection');
1105
+ let mappedFailureAlreadyTraced = false;
1106
+ try {
1107
+ const { serviceKey, behavior, input } = CompanionIntrospectionRequestSchema.parse(req.body ?? {});
1108
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'introspection-request-start', `Resolve companion introspection behavior ${behavior}`, {
1109
+ serviceKey,
1110
+ behavior,
1111
+ }, traceStep);
1112
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'introspection-request.json', { serviceKey, behavior, input }, traceStep);
1113
+ const result = await this.companionIntrospectionService.requestInfo({
1114
+ serviceKey,
1115
+ behavior,
1116
+ input,
1117
+ });
1118
+ if (!result.success && 'error' in result) {
1119
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'introspection-failure-result.json', result, traceStep);
1120
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'introspection-request-upstream-failure', `Companion introspection behavior ${behavior} returned a failure result`, {
1121
+ serviceKey: result.serviceKey,
1122
+ behavior: result.behavior,
1123
+ targetId: result.targetId,
1124
+ durationMs: result.durationMs,
1125
+ stdout: result.stdout,
1126
+ stderr: result.stderr,
1127
+ error: result.error,
1128
+ }, traceStep);
1129
+ mappedFailureAlreadyTraced = true;
1130
+ const failureMessage = result.error.message;
1131
+ const errorType = this.isValidationIntrospectionFailure(result, behavior)
1132
+ ? ErrorType.VALIDATION
1133
+ : ErrorType.INTERNAL;
1134
+ const customMessageReference = errorType === ErrorType.VALIDATION
1135
+ ? ErrorCustomMessageReference.VALIDATION
1136
+ : ErrorCustomMessageReference.INTERNAL;
1137
+ throw this.errorBuilder.buildError(errorType, undefined, {
1138
+ customMessageReference,
1139
+ context: {
1140
+ message: failureMessage,
1141
+ serviceKey: result.serviceKey,
1142
+ behavior: result.behavior,
1143
+ targetId: result.targetId,
1144
+ },
1145
+ });
1146
+ }
1147
+ await this.traceSessionArtifact(res, CompanionTraceabilityLevel.DEBUG_VERBOSE, 'introspection-result.json', result, traceStep);
1148
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'introspection-request-success', `Resolved companion introspection behavior ${behavior}`, {
1149
+ serviceKey,
1150
+ behavior,
1151
+ targetId: result.targetId,
1152
+ durationMs: result.durationMs,
1153
+ }, traceStep);
1154
+ this.jsonSuccess(res, result);
1155
+ }
1156
+ catch (e) {
1157
+ if (!mappedFailureAlreadyTraced) {
1158
+ await this.traceSessionEvent(res, CompanionTraceabilityLevel.DEBUG, 'introspection-request-failure', 'Companion introspection request failed', {
1159
+ error: describeCaughtError(e),
1160
+ }, traceStep);
1161
+ }
1162
+ this.jsonError(res, e, next);
1163
+ }
1164
+ }
1165
+ // ─────────────────────────────────────────────────────────────────────────────
1166
+ // PROMPT (TODO)
1167
+ // ─────────────────────────────────────────────────────────────────────────────
1168
+ async buildPrompt(_req, res, _next) {
1169
+ try {
1170
+ this.jsonSuccess(res, { prompt: 'Not implemented yet', message: 'Prompt building service is not yet available' });
1171
+ }
1172
+ catch (e) {
1173
+ this.jsonError(res, e, _next);
1174
+ }
1175
+ }
1176
+ // ─────────────────────────────────────────────────────────────────────────────
1177
+ // MARKET (Market generation, Phase 4.2)
1178
+ // ─────────────────────────────────────────────────────────────────────────────
1179
+ /**
1180
+ * POST /api/companion/market/generate
1181
+ *
1182
+ * Body: `MarketGenerationRequest`
1183
+ * - `templateRef` (required) — `MarketMessageTemplate.ref`
1184
+ * - `icpRef`, `featureRef`, `benefitRef`, `channelRef`, `objectionRef` —
1185
+ * resolved against the snapshot; their inclusion must match the
1186
+ * template's `requiredInputs`.
1187
+ * - `outputLanguage` — defaults to "English" inside the renderer when
1188
+ * omitted; honored verbatim when provided.
1189
+ *
1190
+ * The handler is intentionally thin — `MarketGenerationCompanionService`
1191
+ * owns the introspection + LLM orchestration. We only do
1192
+ * minimal-shape validation here so the operator gets a clean
1193
+ * 400 instead of a confusing 500 when `templateRef` is missing.
1194
+ */
1195
+ /**
1196
+ * `GET /playbooks/coherence` — the questions no single family answers about itself.
1197
+ *
1198
+ * Returns both the structured findings and the rendered markdown: the first for a workbench, the
1199
+ * second because the intended reader is a human deciding whether to commit, and prose is what they
1200
+ * read. It REPORTS — a coverage gap is frequently a deliberate decision — so there is no verdict
1201
+ * field and nothing here refuses.
1202
+ */
1203
+ /**
1204
+ * `POST /research` — one read-only research turn.
1205
+ *
1206
+ * Deliberately NOT under `/playbooks`: research is a capability, and binding it to the playbook
1207
+ * lane before a playbook consumes it would make the first consumer's shape the contract. It is
1208
+ * reachable on its own so the lane can be exercised and measured before anything is choreographed
1209
+ * around it.
1210
+ */
1211
+ async runResearchTask(req, res, next) {
1212
+ try {
1213
+ const objective = (req.body ?? {}).objective;
1214
+ if (typeof objective !== 'string') {
1215
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1216
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1217
+ context: { message: '`objective` is required and must be a string.' },
1218
+ });
1219
+ }
1220
+ const result = await this.researchAgentDispatchService.runResearchTask({ objective });
1221
+ // The whole result, including the permission decisions: a thin answer has two very different
1222
+ // causes — little was found, or a tool was refused — and the prose alone cannot tell them apart.
1223
+ res.json(result);
1224
+ }
1225
+ catch (error) {
1226
+ if (error instanceof ResearchAgentUnavailableError) {
1227
+ next(this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {
1228
+ customMessageReference: ErrorCustomMessageReference.CONFLICT,
1229
+ context: { message: error.message },
1230
+ }));
1231
+ return;
1232
+ }
1233
+ next(error);
1234
+ }
1235
+ }
1236
+ async readCoherenceReport(_req, res, next) {
1237
+ try {
1238
+ const { report, markdown } = await this.playbookRunService.buildCoherenceReport();
1239
+ res.json({ ...report, markdown });
1240
+ }
1241
+ catch (error) {
1242
+ next(error);
1243
+ }
1244
+ }
1245
+ /**
1246
+ * `POST /playbooks/loop` — chain playbooks unattended.
1247
+ *
1248
+ * `maximumIterations` is required and bounded: an unattended loop over a developer's source tree must
1249
+ * have a ceiling the CALLER chose, not one this handler picked on their behalf.
1250
+ */
1251
+ async runPlaybookLoop(req, res, next) {
1252
+ try {
1253
+ const body = req.body || {};
1254
+ const goal = typeof body.goal === 'string' && body.goal.trim().length > 0 ? body.goal.trim() : null;
1255
+ if (!goal) {
1256
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1257
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1258
+ context: { message: '`goal` is required and must be a non-empty string.' },
1259
+ });
1260
+ }
1261
+ const maximumIterations = Number(body.maximumIterations);
1262
+ if (!Number.isSafeInteger(maximumIterations) || maximumIterations < 1 || maximumIterations > 20) {
1263
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1264
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1265
+ context: { message: '`maximumIterations` is required and must be an integer between 1 and 20.' },
1266
+ });
1267
+ }
1268
+ const fanOut = body.fanOut === undefined ? undefined : Number(body.fanOut);
1269
+ if (fanOut !== undefined && (!Number.isSafeInteger(fanOut) || fanOut < 1 || fanOut > 5)) {
1270
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1271
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1272
+ context: { message: '`fanOut` (lanes per iteration) must be an integer between 1 and 5 when provided.' },
1273
+ });
1274
+ }
1275
+ const result = await this.playbookRunService.runPlaybookLoop({
1276
+ goal,
1277
+ maximumIterations,
1278
+ ...(fanOut !== undefined ? { maximumLanesPerIteration: fanOut } : {}),
1279
+ ...(res.locals.companionTraceSession ? { session: res.locals.companionTraceSession } : {}),
1280
+ });
1281
+ res.json({
1282
+ stoppedBecause: result.stoppedBecause,
1283
+ steps: result.steps,
1284
+ accepted: false,
1285
+ note: 'Any files written are working edits. Review `git status` and commit to accept them. '
1286
+ + 'Each iteration may run several output-disjoint lanes concurrently; every lane records its own revertible run.',
1287
+ });
1288
+ }
1289
+ catch (error) {
1290
+ if (error instanceof PlaybookLoopAlreadyRunningError) {
1291
+ // 409: the caller is authorized and the payload is valid; the current STATE forbids a second loop.
1292
+ next(this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {
1293
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1294
+ context: { message: error.message },
1295
+ }));
1296
+ return;
1297
+ }
1298
+ next(error);
1299
+ }
1300
+ }
1301
+ /**
1302
+ * Read `elicitationAnswers` off an untrusted body without inventing anything.
1303
+ *
1304
+ * Shape only — whether the answers MATCH the playbook's declared questions is the runtime's contract to
1305
+ * enforce, and duplicating that check here would create a second description of the interview.
1306
+ */
1307
+ /**
1308
+ * The operator-facing sentence for a DISPATCH run.
1309
+ *
1310
+ * Extracted because the two call sites had drifted into two half-true copies, and a LIVE dry run
1311
+ * caught both: the note claimed "Application CODE was written in the workspace" on a run that
1312
+ * wrote nothing, and said "to the coding agent" for a task whose targetKind was
1313
+ * COMPANION_GENERATION_STEP -- which the COMPANION executes, not a coding agent. The dispatch
1314
+ * service routes by the task's own target kind and serves BOTH executors, so the message must read
1315
+ * it rather than assume one.
1316
+ *
1317
+ * No unit test caught either: they assert the service RESULT, and this is the controller's prose.
1318
+ */
1319
+ describeDispatchOutcome(result) {
1320
+ const executor = result.targetKind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP
1321
+ ? "the companion's own generation pipeline"
1322
+ : 'the coding agent';
1323
+ const remainder = `${result.remainingReadyTaskRefs.length} further task(s) were ready and were NOT run: dispatch is single-flight, one task per run.`;
1324
+ if (result.dryRun === true) {
1325
+ return `Dry run: the next ready build task is \`${result.taskRef}\`, which would run on ${executor}. NOTHING was dispatched and nothing was written. ${remainder}`;
1326
+ }
1327
+ return `Dispatched build task \`${result.taskRef}\` to ${executor}. Work landed in the application WORKSPACE -- not the specifications package -- so review \`git status\` there and commit to accept it. ${remainder}`;
1328
+ }
1329
+ readElicitationAnswers(value) {
1330
+ if (value === undefined || value === null)
1331
+ return undefined;
1332
+ if (!Array.isArray(value)) {
1333
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1334
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1335
+ context: { message: '`elicitationAnswers` must be an array of { questionRef, answer }.' },
1336
+ });
1337
+ }
1338
+ return value.map((entry, index) => {
1339
+ const shaped = entry;
1340
+ if (typeof shaped?.questionRef !== 'string' || typeof shaped.answer !== 'string') {
1341
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1342
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1343
+ context: { message: `elicitationAnswers[${index}] must be { questionRef: string, answer: string }.` },
1344
+ });
1345
+ }
1346
+ return { questionRef: shaped.questionRef, answer: shaped.answer };
1347
+ });
1348
+ }
1349
+ /**
1350
+ * `GET /build/next` — what the next coding run would be.
1351
+ *
1352
+ * A read, deliberately separate from the action rather than a flag on it. Seeing the scope before
1353
+ * starting a run is genuinely useful; making the run itself demand a second "yes" is a ceremony that
1354
+ * enforces nothing the mutation scope, the lock and the change-set capture do not already enforce.
1355
+ */
1356
+ async describeNextBuildTask(req, res, next) {
1357
+ try {
1358
+ const budget = Number(req.query.maximumTokenBudget);
1359
+ const plan = await this.buildDispatchService.describeNextBuildTask(Number.isSafeInteger(budget) ? { maximumTokenBudget: budget } : {});
1360
+ res.json({ plan, dispatched: false });
1361
+ }
1362
+ catch (error) {
1363
+ this.forwardBuildDispatchError(error, next);
1364
+ }
1365
+ }
1366
+ /**
1367
+ * `POST /build/dispatch-next` — run the next ready build-plan coding task.
1368
+ *
1369
+ * It runs. The boundary is the task's own `target.kind`, one workspace-mutating run is admitted at a
1370
+ * time, the change-set is captured around it, and the required checks gate the result — and none of that
1371
+ * is accepted until a human commits.
1372
+ */
1373
+ async dispatchNextBuildTask(req, res, next) {
1374
+ try {
1375
+ const body = req.body || {};
1376
+ const result = await this.buildDispatchService.dispatchNextBuildTask(Number.isSafeInteger(body.maximumTokenBudget) ? { maximumTokenBudget: body.maximumTokenBudget } : {}, this.getTraceSession(res));
1377
+ res.json({
1378
+ plan: result.plan,
1379
+ dispatched: true,
1380
+ ...(result.admission ? { admission: result.admission } : {}),
1381
+ ...(result.generationStep ? { generationStep: result.generationStep } : {}),
1382
+ note: result.generationStep
1383
+ ? 'The companion ran this generation step itself. Review `git status` and commit what you accept.'
1384
+ : 'A coding agent is running. Its change-set is captured; review `git status` and commit what you accept.',
1385
+ });
1386
+ }
1387
+ catch (error) {
1388
+ this.forwardBuildDispatchError(error, next);
1389
+ }
1390
+ }
1391
+ /** `GET /runs/writes` — the write register, newest first. Pre-images stay in the records; the listing is a summary. */
1392
+ async judgePlaybookArtifacts(req, res, next) {
1393
+ try {
1394
+ const { playbookRef } = req.params;
1395
+ const body = req.body || {};
1396
+ if (!playbookRef || typeof playbookRef !== 'string') {
1397
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1398
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1399
+ context: { message: '`playbookRef` path parameter is required.' },
1400
+ });
1401
+ }
1402
+ if (!Array.isArray(body.artifacts) || body.artifacts.length === 0
1403
+ || body.artifacts.some((entry) => typeof entry?.family !== 'string')) {
1404
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1405
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1406
+ context: { message: '`artifacts` must be a non-empty array of { family, value }.' },
1407
+ });
1408
+ }
1409
+ const creatorBrief = typeof body.creatorBrief === 'string' ? body.creatorBrief : undefined;
1410
+ const elicitationAnswers = this.readElicitationAnswers(body.elicitationAnswers);
1411
+ const result = await this.playbookRunService.judgeArtifacts({
1412
+ playbookRef,
1413
+ artifacts: body.artifacts,
1414
+ ...(creatorBrief ? { creatorBrief } : {}),
1415
+ ...(elicitationAnswers ? { elicitationAnswers } : {}),
1416
+ ...(res.locals.companionTraceSession ? { session: res.locals.companionTraceSession } : {}),
1417
+ });
1418
+ res.json(result);
1419
+ }
1420
+ catch (error) {
1421
+ if (error instanceof UnknownPlaybookError) {
1422
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1423
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1424
+ context: { message: error.message },
1425
+ }));
1426
+ return;
1427
+ }
1428
+ next(error);
1429
+ }
1430
+ }
1431
+ async listRunWrites(_req, res, next) {
1432
+ try {
1433
+ const records = await this.runWriteRegister.list();
1434
+ res.json({
1435
+ runs: records.map((record) => ({
1436
+ runId: record.runId,
1437
+ playbookRef: record.playbookRef,
1438
+ at: record.at,
1439
+ files: record.files.map((file) => ({ path: file.path, existedBefore: file.existedBefore })),
1440
+ })),
1441
+ });
1442
+ }
1443
+ catch (error) {
1444
+ next(error);
1445
+ }
1446
+ }
1447
+ /** `POST /runs/writes/:runId/revert` — restore one run's pre-images. Refuses human-edited files unless `force`. */
1448
+ async revertRunWrites(req, res, next) {
1449
+ try {
1450
+ const runId = req.params.runId;
1451
+ if (!runId || typeof runId !== 'string') {
1452
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1453
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1454
+ context: { message: '`runId` path parameter is required.' },
1455
+ });
1456
+ }
1457
+ const force = (req.body || {}).force === true;
1458
+ const outcome = await this.runWriteRegister.revert(runId, { force });
1459
+ res.json({
1460
+ ...outcome,
1461
+ note: outcome.refusedDiverged.length > 0
1462
+ ? 'Some files were edited after the run and were NOT reverted; pass force:true to revert them anyway.'
1463
+ : 'All of this run\'s writes were reverted.',
1464
+ });
1465
+ }
1466
+ catch (error) {
1467
+ if (error instanceof PlaybookRunWriteRecordNotFoundError) {
1468
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1469
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1470
+ context: { message: error.message },
1471
+ }));
1472
+ return;
1473
+ }
1474
+ next(error);
1475
+ }
1476
+ }
1477
+ /**
1478
+ * A missing or exhausted build plan is a bad request, not a broken host.
1479
+ *
1480
+ * Shared by the two BUILD routes and by the playbook run route, which reaches the same dispatch
1481
+ * through a playbook declaring `executor: CODING_AGENT` (#119). Falls through to `next(error)` for
1482
+ * anything else, so it is safe to call as the last arm of a catch.
1483
+ */
1484
+ forwardBuildDispatchError(error, next) {
1485
+ if (error instanceof ApplicationBuildPlanUnavailableError
1486
+ || error instanceof ApplicationBuildPlanExhaustedError
1487
+ || error instanceof ApplicationBuildTaskNotACodingTaskError
1488
+ || error instanceof ApplicationBuildUnknownGenerationStepError) {
1489
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1490
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1491
+ context: { message: error.message },
1492
+ }));
1493
+ return;
1494
+ }
1495
+ next(error);
1496
+ }
1497
+ /** `GET /traces` — recent execution sessions, newest first. */
1498
+ async listExecutionTraces(req, res, next) {
1499
+ try {
1500
+ const limit = Number(req.query.limit);
1501
+ const sessions = await this.executionTraceReadService.listSessions(Number.isSafeInteger(limit) && limit > 0 && limit <= 200 ? limit : undefined);
1502
+ res.json({ sessions });
1503
+ }
1504
+ catch (error) {
1505
+ next(error);
1506
+ }
1507
+ }
1508
+ /**
1509
+ * `GET /traces/:sessionId` — one run, in order.
1510
+ *
1511
+ * Events carry what happened and why; artifacts are LISTED rather than inlined, because one model answer
1512
+ * can be tens of kilobytes and a session can hold several. Fetch a body when you want it.
1513
+ */
1514
+ async readExecutionTrace(req, res, next) {
1515
+ try {
1516
+ res.json(await this.executionTraceReadService.readSession(String(req.params.sessionId)));
1517
+ }
1518
+ catch (error) {
1519
+ this.forwardExecutionTraceError(error, next);
1520
+ }
1521
+ }
1522
+ /** `GET /traces/:sessionId/steps/:stepDirName/artifacts/:fileName` — one artifact body, verbatim. */
1523
+ async readExecutionTraceArtifact(req, res, next) {
1524
+ try {
1525
+ const body = await this.executionTraceReadService.readArtifact(String(req.params.sessionId), String(req.params.stepDirName), String(req.params.fileName));
1526
+ res.type('text/plain').send(body);
1527
+ }
1528
+ catch (error) {
1529
+ this.forwardExecutionTraceError(error, next);
1530
+ }
1531
+ }
1532
+ /** A missing trace is a bad request, not a broken host. */
1533
+ forwardExecutionTraceError(error, next) {
1534
+ if (error instanceof ExecutionTraceNotFoundError) {
1535
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1536
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1537
+ context: { message: error.message },
1538
+ }));
1539
+ return;
1540
+ }
1541
+ next(error);
1542
+ }
1543
+ /**
1544
+ * `GET /playbooks` — the eligibility board.
1545
+ *
1546
+ * Deterministic and side-effect-free: it reads the working tree and answers what can run now. This is
1547
+ * the gate a model may choose WITHIN and can never widen.
1548
+ */
1549
+ async listPlaybooks(_req, res, next) {
1550
+ try {
1551
+ const board = await this.playbookRunService.listPlaybookEligibility();
1552
+ res.json({
1553
+ phase: board.phase,
1554
+ eligibleCount: board.playbooks.filter((entry) => entry.eligible).length,
1555
+ playbooks: board.playbooks,
1556
+ });
1557
+ }
1558
+ catch (error) {
1559
+ next(error);
1560
+ }
1561
+ }
1562
+ /**
1563
+ * `POST /playbooks/:playbookRef/run` — run one compiled playbook and land its outputs.
1564
+ *
1565
+ * The response reports the FILES that appeared and how many attempts each family took. It reports no
1566
+ * acceptance, because none happened: `git status` is the next step and a human commits.
1567
+ */
1568
+ async runPlaybook(req, res, next) {
1569
+ try {
1570
+ const playbookRef = req.params.playbookRef;
1571
+ if (!playbookRef || typeof playbookRef !== 'string') {
1572
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1573
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1574
+ context: { message: '`playbookRef` path parameter is required.' },
1575
+ });
1576
+ }
1577
+ const body = req.body || {};
1578
+ const creatorBrief = typeof body.creatorBrief === 'string' ? body.creatorBrief : undefined;
1579
+ const elicitationAnswers = this.readElicitationAnswers(body.elicitationAnswers);
1580
+ const dryRun = body.dryRun === true;
1581
+ const result = await this.playbookRunService.runPlaybook({
1582
+ playbookRef,
1583
+ ...(res.locals.companionTraceSession ? { session: res.locals.companionTraceSession } : {}),
1584
+ ...(creatorBrief ? { creatorBrief } : {}),
1585
+ ...(elicitationAnswers ? { elicitationAnswers } : {}),
1586
+ ...(dryRun ? { dryRun: true } : {}),
1587
+ });
1588
+ if ('status' in result) {
1589
+ // 200, not an error status: the run is HEALTHY and waiting. The creator answers through
1590
+ // POST /playbooks/runs/:runId/resume, which is the industry three-action model
1591
+ // (accept / decline / cancel) at the transport.
1592
+ res.json({
1593
+ ...result,
1594
+ accepted: false,
1595
+ note: 'The derivation stopped at a decision only you can make. Answer with '
1596
+ + `POST /api/companion/playbooks/runs/${result.runId}/resume — `
1597
+ + '{ "action": "accept", "answers": [{ "ref": "...", "answer": "..." }] }, '
1598
+ + 'or "decline" to have it choose and state its assumption, or "cancel" to abandon the run. '
1599
+ + 'Nothing has been generated or written.',
1600
+ });
1601
+ return;
1602
+ }
1603
+ if ('scenarios' in result) {
1604
+ // The composite foundation executor: no landed families — the deliverable is the composed
1605
+ // application itself (config mutation + module/resource slices in the working tree).
1606
+ res.json({
1607
+ ...result,
1608
+ accepted: false,
1609
+ ...(dryRun ? { dryRun: true } : {}),
1610
+ note: dryRun
1611
+ ? 'Dry run: the foundation plan was derived and NOTHING was written.'
1612
+ : 'The application was composed from the domain plan. Review `git status` and commit to accept it.',
1613
+ });
1614
+ return;
1615
+ }
1616
+ /*
1617
+ * The WHOLE result, not a hand-picked list of it.
1618
+ *
1619
+ * This branch used to name five fields — `playbookRef`, `landed`, `generation`, `judge`,
1620
+ * `runId` — while the service returned ten, so `diagrams`, `decisions`, `reviewGuide`, `wired`
1621
+ * and `wiringSkipped` were computed on every run and dropped at the last hop. A creator never
1622
+ * saw which pictures were written, which decisions were recorded, what the playbook says a good
1623
+ * result is, or which families were deliberately not wired. Found by the first live run
1624
+ * (2026-08-28), not by any test: the service tests assert the service's return value, and
1625
+ * nothing asserted what the HTTP layer forwards.
1626
+ *
1627
+ * The service already returns the SLIM shape — pre-images and rendered bytes stay in the write
1628
+ * register — so spreading it is safe, and it is what both sibling branches above already do. A
1629
+ * hand-picked list is a second description of the response that silently drifts from the first
1630
+ * every time the service grows a field.
1631
+ */
1632
+ res.json({
1633
+ ...result,
1634
+ accepted: false,
1635
+ ...(dryRun ? { dryRun: true } : {}),
1636
+ note: 'assessed' in result
1637
+ ? 'Assessed — this playbook produces no artifact. Nothing was generated or written; the verdict and the review guide are above.'
1638
+ /*
1639
+ * A DISPATCH run wrote application CODE in the workspace, not a specification. The generic
1640
+ * note below would be false twice over: it names the wrong tree, and it offers a write-register
1641
+ * revert (`POST /runs/writes/{runId}/revert`) that has no record for this run — a remedy an
1642
+ * operator would try and find missing at the moment they need it.
1643
+ */
1644
+ : 'dispatched' in result
1645
+ ? this.describeDispatchOutcome(result)
1646
+ : dryRun
1647
+ ? 'Dry run: the full pipe ran (generation, validation, rendering, judge) and NOTHING was written.'
1648
+ : 'Files were written to the specifications package. Review `git status` and commit to accept them — or revert this run via POST /runs/writes/{runId}/revert.',
1649
+ });
1650
+ }
1651
+ catch (error) {
1652
+ // Refusals a creator must be able to READ, rather than a sanitized 500.
1653
+ if (error instanceof UnknownPlaybookError) {
1654
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1655
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1656
+ context: { message: error.message },
1657
+ }));
1658
+ return;
1659
+ }
1660
+ if (error instanceof PlaybookNotReadyError || error instanceof PlaybookElicitationError || error instanceof FoundationExecutionError) {
1661
+ // Readiness and a malformed interview are both bad requests: the caller must change what they sent
1662
+ // (supply the answers, or produce the missing input first). Neither has a "proceed anyway".
1663
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1664
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1665
+ context: { message: error.message },
1666
+ }));
1667
+ return;
1668
+ }
1669
+ /*
1670
+ * A DISPATCH refusal reaches here now, and it did not before.
1671
+ *
1672
+ * Wiring `executor: CODING_AGENT` to the build dispatch (#119) made this route a third caller
1673
+ * of `dispatchNextBuildTask`, whose refusals — an exhausted plan, a missing plan, an unknown
1674
+ * generation step — are bad requests carrying an actionable message. They were translated for
1675
+ * the two BUILD routes only, so through this one they fell to `next(error)` and reached the
1676
+ * creator as a sanitized 500 saying "internal".
1677
+ *
1678
+ * That is reachable today rather than hypothetically: a build plan whose tasks have all landed
1679
+ * throws `ApplicationBuildPlanExhaustedError`, and "the build is finished" is precisely the
1680
+ * state a creator running the playbook is most likely to be in.
1681
+ */
1682
+ this.forwardBuildDispatchError(error, next);
1683
+ }
1684
+ }
1685
+ /**
1686
+ * `POST /playbooks/runs/:runId/resume` — the creator's half of a mid-run clarification.
1687
+ *
1688
+ * Body: `{ action: 'accept' | 'decline' | 'cancel', answers?: [{ ref, answer }] }`. The vocabulary
1689
+ * is MCP elicitation's, because a creator answering a derivation's question is the same interaction
1690
+ * an MCP client mediates, and inventing a fourth verb for it would only make the two harder to
1691
+ * bridge later.
1692
+ */
1693
+ async resumePlaybookRun(req, res, next) {
1694
+ try {
1695
+ const runId = req.params.runId;
1696
+ if (!runId || typeof runId !== 'string') {
1697
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1698
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1699
+ context: { message: '`runId` path parameter is required.' },
1700
+ });
1701
+ }
1702
+ const body = req.body || {};
1703
+ const rawAction = typeof body.action === 'string' ? body.action : PlaybookClarificationAction.ACCEPT;
1704
+ const action = Object.values(PlaybookClarificationAction).find((candidate) => candidate === rawAction);
1705
+ if (!action) {
1706
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1707
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1708
+ context: {
1709
+ message: `Unknown action \`${rawAction}\`. Expected one of: ${Object.values(PlaybookClarificationAction).join(', ')}.`,
1710
+ },
1711
+ });
1712
+ }
1713
+ const answers = Array.isArray(body.answers)
1714
+ ? body.answers
1715
+ .filter((entry) => typeof entry === 'object' && entry !== null
1716
+ && typeof entry.ref === 'string'
1717
+ && typeof entry.answer === 'string')
1718
+ .map((entry) => ({ ref: entry.ref, answer: entry.answer }))
1719
+ : [];
1720
+ if (action === PlaybookClarificationAction.ACCEPT && answers.length === 0) {
1721
+ // Refused rather than silently treated as a decline: "I answered" and "you decide" lead to
1722
+ // different artifacts, and a dropped answer would be invisible in both.
1723
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1724
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1725
+ context: { message: 'Action `accept` requires at least one `{ ref, answer }` in `answers`. Use `decline` to have the derivation choose and state its assumption.' },
1726
+ });
1727
+ }
1728
+ const result = await this.playbookRunService.resumePlaybookRun({
1729
+ runId,
1730
+ action,
1731
+ ...(answers.length > 0 ? { answers } : {}),
1732
+ ...(res.locals.companionTraceSession ? { session: res.locals.companionTraceSession } : {}),
1733
+ ...(body.dryRun === true ? { dryRun: true } : {}),
1734
+ });
1735
+ if ('status' in result && result.status === 'cancelled') {
1736
+ res.json({ ...result, note: 'The run was abandoned. Nothing was generated and nothing was written.' });
1737
+ return;
1738
+ }
1739
+ if ('status' in result) {
1740
+ res.json({
1741
+ ...result,
1742
+ accepted: false,
1743
+ note: 'Still waiting: the derivation has further questions. Answer them at '
1744
+ + `POST /api/companion/playbooks/runs/${result.runId}/resume.`,
1745
+ });
1746
+ return;
1747
+ }
1748
+ if ('scenarios' in result) {
1749
+ res.json({ ...result, accepted: false, note: 'The application was composed. Review `git status` and commit to accept it.' });
1750
+ return;
1751
+ }
1752
+ // The whole result, for the same reason the run handler forwards it whole: a hand-picked
1753
+ // list is a second description of the response that drifts every time the service grows a
1754
+ // field. This branch had the same five-of-ten omission and nobody had noticed it either.
1755
+ res.json({
1756
+ ...result,
1757
+ accepted: false,
1758
+ note: 'assessed' in result
1759
+ ? 'Assessed — nothing was generated or written; the verdict and the review guide are above.'
1760
+ // Same correction as the run handler: a dispatch wrote CODE in the workspace, not a specification.
1761
+ : 'dispatched' in result
1762
+ ? this.describeDispatchOutcome(result)
1763
+ : 'Files were written to the specifications package. Review `git status` and commit to accept them.',
1764
+ });
1765
+ }
1766
+ catch (error) {
1767
+ if (error instanceof SuspendedPlaybookRunNotFoundError) {
1768
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1769
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1770
+ context: { message: error.message },
1771
+ }));
1772
+ return;
1773
+ }
1774
+ next(error);
1775
+ }
1776
+ }
1777
+ async marketGenerate(req, res, next) {
1778
+ try {
1779
+ const body = req.body || {};
1780
+ const { templateRef, icpRef, featureRef, benefitRef, channelRef, objectionRef, outputLanguage, } = body;
1781
+ if (!templateRef || typeof templateRef !== 'string') {
1782
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1783
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1784
+ context: { message: '`templateRef` is required and must be a non-empty string.' },
1785
+ });
1786
+ }
1787
+ const optionalString = (key, value) => {
1788
+ if (value === undefined || value === null)
1789
+ return undefined;
1790
+ if (typeof value !== 'string') {
1791
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1792
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1793
+ context: { message: `\`${key}\` must be a string when provided.` },
1794
+ });
1795
+ }
1796
+ return value.length > 0 ? value : undefined;
1797
+ };
1798
+ // Thread the request session + a dedicated agent step into the LLM call so
1799
+ // the engine AgentCallTraceSink records the prompt/output/usage for this
1800
+ // market generation — the same observability every companion LLM
1801
+ // call gets. Best-effort: undefined when tracing is off (sink no-ops).
1802
+ const traceSession = this.getTraceSession(res);
1803
+ const traceStep = this.createTraceStep(res, 'agent-invocation', `market-generation-${templateRef}`);
1804
+ const traceContext = traceSession && traceStep
1805
+ ? {
1806
+ sessionRef: traceSession.sessionId,
1807
+ stepRef: traceStep.stepId,
1808
+ label: 'market-generation-generate',
1809
+ attributes: { templateRef },
1810
+ }
1811
+ : undefined;
1812
+ const result = await this.marketGenerationService.generate({
1813
+ templateRef,
1814
+ icpRef: optionalString('icpRef', icpRef),
1815
+ featureRef: optionalString('featureRef', featureRef),
1816
+ benefitRef: optionalString('benefitRef', benefitRef),
1817
+ channelRef: optionalString('channelRef', channelRef),
1818
+ objectionRef: optionalString('objectionRef', objectionRef),
1819
+ outputLanguage: optionalString('outputLanguage', outputLanguage),
1820
+ }, traceContext);
1821
+ this.jsonSuccess(res, result);
1822
+ }
1823
+ catch (e) {
1824
+ this.jsonError(res, e, next);
1825
+ }
1826
+ }
1827
+ /**
1828
+ * `POST /api/companion/brand/generate-logo` — generate the application logo
1829
+ * from the authored `BrandSnapshot`. Thin: `LogoGenerationCompanionService`
1830
+ * owns the flow (introspect `brand-render-prompt` → invoke the image agent →
1831
+ * persist the master + manifest). Body: optional `{ forceRegenerate }`.
1832
+ */
1833
+ async brandGenerateLogo(req, res, next) {
1834
+ try {
1835
+ const forceRegenerate = (req.body || {}).forceRegenerate === true;
1836
+ const traceSession = this.getTraceSession(res);
1837
+ const traceStep = this.createTraceStep(res, 'agent-invocation', 'logo-generation');
1838
+ const traceContext = traceSession && traceStep
1839
+ ? {
1840
+ sessionRef: traceSession.sessionId,
1841
+ stepRef: traceStep.stepId,
1842
+ label: 'logo-generation-generate',
1843
+ attributes: {},
1844
+ }
1845
+ : undefined;
1846
+ const result = await this.logoGenerationService.generate({ forceRegenerate }, traceContext);
1847
+ this.jsonSuccess(res, result);
1848
+ }
1849
+ catch (e) {
1850
+ this.jsonError(res, e, next);
1851
+ }
1852
+ }
1853
+ /**
1854
+ * `POST /api/companion/brand/deliberate-logo` — full logo DELIBERATION
1855
+ * (agentic deliberation system, Step 4): the art-director expert authors the
1856
+ * creative brief (N app-derived concept directions), one candidate generates
1857
+ * per direction, the expert panel (art-director + design-system-guardian +
1858
+ * brand-strategist) deliberates with regeneration-as-revision, and the winner
1859
+ * is staged as the single-candidate manifest the EXISTING
1860
+ * `POST /brand/accept-logo` review point promotes. Thin:
1861
+ * `LogoDeliberationCompanionService` owns the flow.
1862
+ *
1863
+ * Body (all optional): `{ directionCount?: number, roundBudget?: number,
1864
+ * shortlistSize?: number }` — positive integers; service defaults 4 / 2 / 1.
1865
+ */
1866
+ async brandDeliberateLogo(req, res, next) {
1867
+ try {
1868
+ const body = req.body || {};
1869
+ const { directionCount, roundBudget, shortlistSize } = body;
1870
+ for (const [name, value] of Object.entries({ directionCount, roundBudget, shortlistSize })) {
1871
+ if (value !== undefined && (typeof value !== 'number' || !Number.isInteger(value) || value < 1)) {
1872
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1873
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1874
+ context: { message: `\`${name}\` must be a positive integer when provided.` },
1875
+ });
1876
+ }
1877
+ }
1878
+ const traceSession = this.getTraceSession(res);
1879
+ const traceStep = this.createTraceStep(res, 'agent-invocation', 'logo-deliberation');
1880
+ const traceContext = traceSession && traceStep
1881
+ ? {
1882
+ sessionRef: traceSession.sessionId,
1883
+ stepRef: traceStep.stepId,
1884
+ label: 'logo-deliberation',
1885
+ attributes: {},
1886
+ }
1887
+ : undefined;
1888
+ const result = await this.logoDeliberationService.run({
1889
+ ...(typeof directionCount === 'number' ? { directionCount } : {}),
1890
+ ...(typeof roundBudget === 'number' ? { roundBudget } : {}),
1891
+ ...(typeof shortlistSize === 'number' ? { shortlistSize } : {}),
1892
+ }, traceContext);
1893
+ this.jsonSuccess(res, result);
1894
+ }
1895
+ catch (e) {
1896
+ this.jsonError(res, e, next);
1897
+ }
1898
+ }
1899
+ /**
1900
+ * `POST /api/companion/expert-personas/derive` — derive an app-specific
1901
+ * expert-persona charter PROPOSAL (agentic deliberation system). Thin:
1902
+ * `ExpertPersonaCompanionService.derive` owns the flow (resolve shaping
1903
+ * inputs via introspection → digest → invoke the derivation agent → stage
1904
+ * the proposal). Body: `{ roleRef: string, forceRederive?: boolean }`.
1905
+ */
1906
+ async expertPersonaDerive(req, res, next) {
1907
+ try {
1908
+ const body = req.body || {};
1909
+ const { roleRef, forceRederive } = body;
1910
+ if (typeof roleRef !== 'string' || roleRef.length === 0) {
1911
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1912
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1913
+ context: { message: '`roleRef` must be a non-empty string.' },
1914
+ });
1915
+ }
1916
+ if (forceRederive !== undefined && typeof forceRederive !== 'boolean') {
1917
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1918
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1919
+ context: { message: '`forceRederive` must be a boolean when provided.' },
1920
+ });
1921
+ }
1922
+ const traceSession = this.getTraceSession(res);
1923
+ const traceStep = this.createTraceStep(res, 'agent-invocation', 'expert-persona-derive');
1924
+ const traceContext = traceSession && traceStep
1925
+ ? {
1926
+ sessionRef: traceSession.sessionId,
1927
+ stepRef: traceStep.stepId,
1928
+ label: 'expert-persona-derive',
1929
+ attributes: {},
1930
+ }
1931
+ : undefined;
1932
+ const result = await this.expertPersonaService.derive({ roleRef, ...(typeof forceRederive === 'boolean' ? { forceRederive } : {}) }, traceContext);
1933
+ this.jsonSuccess(res, result);
1934
+ }
1935
+ catch (e) {
1936
+ this.jsonError(res, e, next);
1937
+ }
1938
+ }
1939
+ /**
1940
+ * `POST /api/companion/expert-personas/accept` — promote a STAGED charter
1941
+ * proposal into the committed SSOT (`specifications/src/personas/`). Thin:
1942
+ * `ExpertPersonaCompanionService.accept` owns the flow (human-edit
1943
+ * overwrite guard → fail-closed set validation → write generated charter
1944
+ * module + regenerate the aggregator). Body: `{ roleRef: string }`.
1945
+ */
1946
+ async expertPersonaAccept(req, res, next) {
1947
+ try {
1948
+ const body = req.body || {};
1949
+ const { roleRef } = body;
1950
+ if (typeof roleRef !== 'string' || roleRef.length === 0) {
1951
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1952
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1953
+ context: { message: '`roleRef` must be a non-empty string.' },
1954
+ });
1955
+ }
1956
+ const result = await this.expertPersonaService.accept({ roleRef });
1957
+ this.jsonSuccess(res, result);
1958
+ }
1959
+ catch (e) {
1960
+ this.jsonError(res, e, next);
1961
+ }
1962
+ }
1963
+ /**
1964
+ * `POST /api/companion/deliberations/run` — run a charter-built expert-panel
1965
+ * deliberation over TEXT candidates (agentic deliberation system, Step 3).
1966
+ * Thin: `DeliberationCompanionService.run` composes the plan (narrowness
1967
+ * fail-closed, committed charters only) and the engine
1968
+ * `ActorsSystemBackendService.executeDeliberation` orchestrates
1969
+ * (rubric -> review rounds -> shortlist revisions -> synthesis). Body:
1970
+ * `{ workDomain, briefContext, candidates: [{ref, text}], reviewerRoleRefs,
1971
+ * coordinatorRoleRef, rubricDeriverRoleRef?, roundBudget?, shortlistSize? }`.
1972
+ */
1973
+ async deliberationRun(req, res, next) {
1974
+ try {
1975
+ const body = req.body || {};
1976
+ const { workDomain, briefContext, candidates, reviewerRoleRefs, coordinatorRoleRef } = body;
1977
+ const knownDomains = new Set(Object.values(ExpertWorkDomain));
1978
+ if (typeof workDomain !== 'string' || !knownDomains.has(workDomain)) {
1979
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1980
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1981
+ context: { message: `\`workDomain\` must be one of [${[...knownDomains].join(', ')}].` },
1982
+ });
1983
+ }
1984
+ if (typeof briefContext !== 'string' || briefContext.length === 0) {
1985
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1986
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1987
+ context: { message: '`briefContext` must be a non-empty string.' },
1988
+ });
1989
+ }
1990
+ if (!Array.isArray(candidates) || candidates.some((candidate) => {
1991
+ const entry = candidate;
1992
+ return typeof entry?.ref !== 'string' || entry.ref.length === 0
1993
+ || typeof entry?.text !== 'string' || entry.text.length === 0;
1994
+ })) {
1995
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1996
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1997
+ context: { message: '`candidates` must be an array of `{ ref, text }` with non-empty strings.' },
1998
+ });
1999
+ }
2000
+ if (!Array.isArray(reviewerRoleRefs) || reviewerRoleRefs.some((role) => typeof role !== 'string')
2001
+ || typeof coordinatorRoleRef !== 'string' || coordinatorRoleRef.length === 0) {
2002
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
2003
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2004
+ context: { message: '`reviewerRoleRefs` must be a string array and `coordinatorRoleRef` a non-empty string.' },
2005
+ });
2006
+ }
2007
+ const traceSession = this.getTraceSession(res);
2008
+ const traceStep = this.createTraceStep(res, 'agent-invocation', 'deliberation-run');
2009
+ const traceContext = traceSession && traceStep
2010
+ ? {
2011
+ sessionRef: traceSession.sessionId,
2012
+ stepRef: traceStep.stepId,
2013
+ label: 'deliberation-run',
2014
+ attributes: {},
2015
+ }
2016
+ : undefined;
2017
+ const result = await this.deliberationService.run({
2018
+ workDomain: workDomain,
2019
+ briefContext,
2020
+ candidates,
2021
+ reviewerRoleRefs,
2022
+ coordinatorRoleRef,
2023
+ ...(typeof body.rubricDeriverRoleRef === 'string' ? { rubricDeriverRoleRef: body.rubricDeriverRoleRef } : {}),
2024
+ ...(typeof body.roundBudget === 'number' ? { roundBudget: body.roundBudget } : {}),
2025
+ ...(typeof body.shortlistSize === 'number' ? { shortlistSize: body.shortlistSize } : {}),
2026
+ }, traceContext);
2027
+ this.jsonSuccess(res, result);
2028
+ }
2029
+ catch (e) {
2030
+ this.jsonError(res, e, next);
2031
+ }
2032
+ }
2033
+ /**
2034
+ * `POST /api/companion/brand/accept-logo` — the ACCEPT review point of the
2035
+ * brand/logo workflow. Thin: `BrandAcceptCompanionService` owns the flow
2036
+ * (read staged candidate → optionally run the `brand.logo.judge.agent`
2037
+ * review → promote the accepted candidate into the specification SSOT:
2038
+ * copy files into `specifications/src/brand/assets/` + rewrite
2039
+ * `resolved-assets.generated.ts`).
2040
+ *
2041
+ * Body (all optional): `{ candidateRef?, runJudge?, requireJudgeAcceptance? }`.
2042
+ * `candidateRef` defaults to the single/latest staged candidate; the judge
2043
+ * runs by default and its verdict is advisory (the human accept POST is the
2044
+ * authority) unless `requireJudgeAcceptance` gates on it.
2045
+ */
2046
+ async brandAcceptLogo(req, res, next) {
2047
+ try {
2048
+ const body = req.body || {};
2049
+ const { candidateRef, runJudge, requireJudgeAcceptance } = body;
2050
+ if (candidateRef !== undefined && typeof candidateRef !== 'string') {
2051
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
2052
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2053
+ context: { message: '`candidateRef` must be a string when provided.' },
2054
+ });
2055
+ }
2056
+ if (runJudge !== undefined && typeof runJudge !== 'boolean') {
2057
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
2058
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2059
+ context: { message: '`runJudge` must be a boolean when provided.' },
2060
+ });
2061
+ }
2062
+ if (requireJudgeAcceptance !== undefined && typeof requireJudgeAcceptance !== 'boolean') {
2063
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
2064
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2065
+ context: { message: '`requireJudgeAcceptance` must be a boolean when provided.' },
2066
+ });
2067
+ }
2068
+ const traceSession = this.getTraceSession(res);
2069
+ const traceStep = this.createTraceStep(res, 'agent-invocation', 'logo-accept');
2070
+ const traceContext = traceSession && traceStep
2071
+ ? {
2072
+ sessionRef: traceSession.sessionId,
2073
+ stepRef: traceStep.stepId,
2074
+ label: 'logo-accept-judge',
2075
+ attributes: {},
2076
+ }
2077
+ : undefined;
2078
+ const result = await this.brandAcceptService.accept({
2079
+ ...(typeof candidateRef === 'string' ? { candidateRef } : {}),
2080
+ ...(typeof runJudge === 'boolean' ? { runJudge } : {}),
2081
+ ...(typeof requireJudgeAcceptance === 'boolean' ? { requireJudgeAcceptance } : {}),
2082
+ }, traceContext);
2083
+ this.jsonSuccess(res, result);
2084
+ }
2085
+ catch (e) {
2086
+ this.jsonError(res, e, next);
2087
+ }
2088
+ }
2089
+ /**
2090
+ * `POST /api/companion/technical-doc/generate-openapi` — on-demand
2091
+ * OpenAPI generation for the SaaS app. Returns the
2092
+ * `{ documents, stats, metadata }` shape produced by
2093
+ * {@link TechnicalDocCompanionService.generateOpenApiDocuments}
2094
+ * verbatim. The route deliberately accepts no request body
2095
+ * today: every input (`appSlug`, `appDisplayName`,
2096
+ * `publicMarketingTitle`, operations) is derived from the
2097
+ * loaded `WildoSaasConfig` + the `'openapi-generation-input'`
2098
+ * subprocess introspection. A future CLI flag (per-section
2099
+ * filter, custom version override) will plug in here as
2100
+ * optional body fields without breaking this no-body contract.
2101
+ */
2102
+ async technicalDocGenerateOpenApi(req, res, next) {
2103
+ try {
2104
+ const result = await this.technicalDocService.generateOpenApiDocuments();
2105
+ this.jsonSuccess(res, result);
2106
+ }
2107
+ catch (e) {
2108
+ this.jsonError(res, e, next);
2109
+ }
2110
+ }
2111
+ async technicalDocPublishOpenApi(_req, res, next) {
2112
+ try {
2113
+ this.jsonSuccess(res, await this.technicalDocService.publishOpenApiReference());
2114
+ }
2115
+ catch (e) {
2116
+ this.jsonError(res, e, next);
2117
+ }
2118
+ }
2119
+ /**
2120
+ * `POST /api/companion/technical-doc/derive-bundles` — the trigger for the
2121
+ * source-based derivation introduced by decision **D14**.
2122
+ *
2123
+ * Until this route existed, `deriveApplicationDocumentationBundles` had NO
2124
+ * caller outside its own tests, so the whole D14 evidence path — the
2125
+ * environment evidence snapshot, the applicability gates and the two
2126
+ * authorized bundles — could only ever be verified behaviourally. That is why
2127
+ * the route earns its place despite duplicating no logic: it is the seam that
2128
+ * makes the decision observable on a running companion.
2129
+ *
2130
+ * **Read-only by construction.** It derives and returns; it writes nothing and
2131
+ * publishes nothing. The Phase 2A publication path
2132
+ * `backendServiceKey` is resolved the same way every other companion behavior
2133
+ * resolves it ({@link pickResourcesRegistryCarrierServiceKey}) rather than
2134
+ * accepted from the caller, so a request cannot name a service the application
2135
+ * does not declare. The derivation publishes framework-owned topics only; it
2136
+ * does not interpret application resource, workflow, or editorial declarations.
2137
+ */
2138
+ async technicalDocDeriveBundles(_req, res, next) {
2139
+ try {
2140
+ const result = await this.technicalDocService.deriveApplicationDocumentationBundles({
2141
+ backendServiceKey: this.pickResourcesRegistryCarrierServiceKey(),
2142
+ });
2143
+ this.jsonSuccess(res, result);
2144
+ }
2145
+ catch (e) {
2146
+ this.jsonError(res, e, next);
2147
+ }
2148
+ }
2149
+ /**
2150
+ * `POST /api/companion/technical-doc/publish-managed` — the operation that emits
2151
+ * `src/generated/consumer-documentation`, the generator-owned framework
2152
+ * documentation tree served by this application. Git owns history and rollback;
2153
+ * publication owns only validation and synchronization of the current bytes.
2154
+ *
2155
+ * Unlike `derive-bundles` this WRITES: it synchronizes a complete verified render into
2156
+ * one stable generated tree. It is exposed as its own route rather than folded into the
2157
+ * derivation for exactly that reason — a caller should never reach a publication by
2158
+ * asking for a read.
2159
+ *
2160
+ * `refuseProvisionalAssets` is the environment's call, so it is accepted per request
2161
+ * rather than defaulted here: a production run passes `true` and fails if any screenshot
2162
+ * is still a placeholder; development omits it and ships documentation ahead of its
2163
+ * pictures.
2164
+ */
2165
+ async technicalDocPublishManaged(req, res, next) {
2166
+ try {
2167
+ const { refuseProvisionalAssets } = req.body || {};
2168
+ const result = await this.technicalDocService.publishManagedDocumentation({
2169
+ backendServiceKey: this.pickResourcesRegistryCarrierServiceKey(),
2170
+ ...(refuseProvisionalAssets === undefined ? {} : { refuseProvisionalAssets: refuseProvisionalAssets === true }),
2171
+ });
2172
+ this.jsonSuccess(res, result);
2173
+ }
2174
+ catch (e) {
2175
+ this.jsonError(res, e, next);
2176
+ }
2177
+ }
2178
+ // ── Module Registry handlers ───────────────────────────────────────────
2179
+ //
2180
+ // Phase 2 wires the route shape only — every handler returns a
2181
+ // `RegistryRouteResultSchema`-shaped envelope with `ok: false` and
2182
+ // a `message` pointing at the deferred phase. The CLI client
2183
+ // (`RegistryCompanionClient.{install,update,remove,publish}`)
2184
+ // parses the response uniformly, so the 501-equivalent UX is
2185
+ // surfaced as a regular error rather than an HTTP 501 the parser
2186
+ // chokes on. Phase 5 fills out install/update/remove with real
2187
+ // ts-morph + fs work; Phase 6 fills out publish.
2188
+ async registryInstallNotImplemented(req, res) {
2189
+ this.jsonSuccess(res, {
2190
+ ok: false,
2191
+ filesTouched: [],
2192
+ message: 'Module-registry install is a Phase 5 deliverable. The route shape is wired; the AST + filesystem work lands when Phase 5 ships.',
2193
+ });
2194
+ }
2195
+ async registryUpdateNotImplemented(req, res) {
2196
+ this.jsonSuccess(res, {
2197
+ ok: false,
2198
+ filesTouched: [],
2199
+ message: 'Module-registry update is a Phase 5 deliverable.',
2200
+ });
2201
+ }
2202
+ async registryRemoveNotImplemented(req, res) {
2203
+ this.jsonSuccess(res, {
2204
+ ok: false,
2205
+ filesTouched: [],
2206
+ message: 'Module-registry remove is a Phase 5 deliverable.',
2207
+ });
2208
+ }
2209
+ async registryPublishNotImplemented(req, res) {
2210
+ this.jsonSuccess(res, {
2211
+ ok: false,
2212
+ filesTouched: [],
2213
+ message: 'Module-registry publish is a Phase 6 deliverable.',
2214
+ });
2215
+ }
2216
+ };
2217
+ CompanionController = __decorate([
2218
+ injectable(),
2219
+ __param(0, inject(SAAS_SERVICE_TYPES.Logger)),
2220
+ __param(1, inject(SAAS_SERVICE_TYPES.ErrorBuilderService)),
2221
+ __param(2, inject(SAAS_SERVICE_TYPES.ErrorHandlerService)),
2222
+ __param(3, inject(COMPANION_SERVICE_TYPES.CompanionContext)),
2223
+ __param(4, inject(COMPANION_SERVICE_TYPES.LabellingPlannerService)),
2224
+ __param(5, inject(COMPANION_SERVICE_TYPES.LabellizeOrchestratorService)),
2225
+ __param(6, inject(COMPANION_SERVICE_TYPES.PlaybookRunWriteRegisterService)),
2226
+ __param(7, inject(COMPANION_SERVICE_TYPES.TranslateOrchestratorService)),
2227
+ __param(8, inject(COMPANION_SERVICE_TYPES.EmailTemplateService)),
2228
+ __param(9, inject(COMPANION_SERVICE_TYPES.MarketGenerationService)),
2229
+ __param(10, inject(COMPANION_SERVICE_TYPES.PlaybookRunService)),
2230
+ __param(11, inject(COMPANION_SERVICE_TYPES.ApplicationBuildDispatchService)),
2231
+ __param(12, inject(COMPANION_SERVICE_TYPES.ExecutionTraceReadService)),
2232
+ __param(13, inject(COMPANION_SERVICE_TYPES.LogoGenerationService)),
2233
+ __param(14, inject(COMPANION_SERVICE_TYPES.LogoDeliberationService)),
2234
+ __param(15, inject(COMPANION_SERVICE_TYPES.BrandAcceptService)),
2235
+ __param(16, inject(COMPANION_SERVICE_TYPES.ExpertPersonaService)),
2236
+ __param(17, inject(COMPANION_SERVICE_TYPES.DeliberationService)),
2237
+ __param(18, inject(COMPANION_SERVICE_TYPES.TechnicalDocService)),
2238
+ __param(19, inject(COMPANION_SERVICE_TYPES.IntrospectionService)),
2239
+ __param(20, inject(COMPANION_SERVICE_TYPES.ExecutionsService)),
2240
+ __param(21, inject(COMPANION_SERVICE_TYPES.TraceabilityService)),
2241
+ __param(22, inject(COMPANION_SERVICE_TYPES.CodingAgentDispatchService)),
2242
+ __param(23, inject(COMPANION_SERVICE_TYPES.ResearchAgentDispatchService)),
2243
+ __metadata("design:paramtypes", [LoggerService,
2244
+ ErrorBuilderBackendService,
2245
+ ErrorHandlerService, Object, LabellingPlannerCompanionService,
2246
+ LabellizeOrchestratorCompanionService,
2247
+ PlaybookRunWriteRegisterCompanionService,
2248
+ TranslateOrchestratorCompanionService,
2249
+ EmailTemplateCompanionService,
2250
+ MarketGenerationCompanionService,
2251
+ PlaybookRunCompanionService,
2252
+ ApplicationBuildDispatchCompanionService,
2253
+ ExecutionTraceReadCompanionService,
2254
+ LogoGenerationCompanionService,
2255
+ LogoDeliberationCompanionService,
2256
+ BrandAcceptCompanionService,
2257
+ ExpertPersonaCompanionService,
2258
+ DeliberationCompanionService,
2259
+ TechnicalDocCompanionService,
2260
+ CompanionIntrospectionService,
2261
+ CompanionExecutionsCompanionService,
2262
+ CompanionTraceabilityService,
2263
+ CodingAgentDispatchCompanionService,
2264
+ ResearchAgentDispatchCompanionService])
2265
+ ], CompanionController);
2266
+ export { CompanionController };
2267
+ export default CompanionController;
2268
+ //# sourceMappingURL=companion.controller.js.map