@wildo-ai/dev-companion 1.1.4 → 1.1.5

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 (1275) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
  3. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  4. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  5. package/dist/esm/__time-gov.probe.d.mts +0 -0
  6. package/dist/esm/__time-gov.probe.d.mts.map +0 -0
  7. package/dist/esm/__time-gov.probe.mjs.map +0 -0
  8. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  13. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  14. package/dist/esm/brand/services/brand-accept.companion.service.js +24 -5
  15. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  16. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +7 -0
  17. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  18. package/dist/esm/brand/services/logo-deliberation.companion.service.js +7 -0
  19. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  20. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  23. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  24. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  25. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  26. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +143 -0
  27. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -0
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +84 -0
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -0
  30. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +129 -16
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +173 -11
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  34. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts +85 -0
  35. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -0
  36. package/dist/esm/claude-cli/models/coding-session-frame-retention.js +122 -0
  37. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -0
  38. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +98 -0
  39. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -0
  40. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +135 -0
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -0
  42. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts +94 -0
  43. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -0
  44. package/dist/esm/claude-cli/models/parked-question-answer.models.js +137 -0
  45. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -0
  46. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts +16 -0
  47. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -0
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +46 -0
  49. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -0
  50. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +46 -0
  51. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -0
  52. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +135 -0
  53. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -0
  54. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +131 -0
  55. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -0
  56. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +371 -0
  57. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -0
  58. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +679 -78
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +1909 -420
  61. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  62. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +109 -0
  63. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -0
  64. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +186 -0
  65. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -0
  66. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +215 -7
  67. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +532 -60
  69. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  70. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +27 -6
  71. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  72. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +97 -6
  73. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  74. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  75. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  76. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  77. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  78. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +8 -1
  79. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  80. package/dist/esm/companion-api/companion-api.schemas.d.ts +219 -142
  81. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  82. package/dist/esm/companion-api/companion-api.schemas.js +52 -6
  83. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  84. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  85. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  86. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +14 -3
  87. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  88. package/dist/esm/companion-api/controllers/companion.controller.d.ts +170 -13
  89. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  90. package/dist/esm/companion-api/controllers/companion.controller.js +520 -87
  91. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  92. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +39 -4
  93. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  94. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +39 -4
  95. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  96. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  114. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  116. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts +54 -0
  117. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -0
  118. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js +78 -0
  119. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -0
  120. package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
  121. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  122. package/dist/esm/core/config/primary-language.companion.utils.js +12 -0
  123. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  124. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  125. package/dist/esm/core/context/companion-context.js +4 -0
  126. package/dist/esm/core/context/companion-context.js.map +1 -1
  127. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +57 -0
  128. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  129. package/dist/esm/core/context/companion-package-loaders.companion.js +181 -7
  130. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  131. package/dist/esm/core/context/draft-family-values.companion.d.ts +23 -0
  132. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -0
  133. package/dist/esm/core/context/draft-family-values.companion.js +49 -0
  134. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -0
  135. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  136. package/dist/esm/core/inject/models/container.js +28 -4
  137. package/dist/esm/core/inject/models/container.js.map +1 -1
  138. package/dist/esm/core/inject/models/service-types.d.ts +12 -2
  139. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  140. package/dist/esm/core/inject/models/service-types.js +14 -2
  141. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  142. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  143. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +74 -2
  144. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  145. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +37 -1
  146. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/models/companion-introspection.models.js +55 -0
  148. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  149. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +93 -0
  150. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -0
  151. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +290 -0
  152. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -0
  153. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  154. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +630 -16
  155. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  156. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +592 -17
  157. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  158. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +1417 -93
  159. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  160. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +61 -4
  161. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  162. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +136 -10
  163. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  164. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +11 -0
  166. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  167. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +21 -0
  169. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +21 -3
  171. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  172. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +11 -3
  174. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  175. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +15 -5
  176. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  177. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +28 -15
  178. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  179. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +24 -0
  180. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +29 -5
  182. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  183. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  184. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +116 -0
  185. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -0
  186. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +223 -0
  187. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -0
  188. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +9 -6
  189. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  190. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  191. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts +2 -1
  192. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  194. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  195. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  198. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +82 -49
  200. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  205. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts +33 -0
  207. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -0
  208. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js +59 -0
  209. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -0
  210. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +33 -0
  212. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
  214. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
  215. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
  216. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +46 -140
  217. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +15 -0
  219. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +140 -46
  221. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +24 -0
  225. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +116 -10
  227. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +79 -0
  229. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -0
  230. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +49 -0
  231. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -0
  232. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +314 -212
  234. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +72 -0
  236. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -0
  237. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +123 -0
  238. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -0
  239. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +184 -0
  240. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -0
  241. package/dist/esm/core/introspection/workspace-element-index.companion.js +311 -0
  242. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -0
  243. package/dist/esm/core/introspection/workspace-elements.companion.d.ts +54 -0
  244. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -0
  245. package/dist/esm/core/introspection/workspace-elements.companion.js +43 -0
  246. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -0
  247. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  248. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  249. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +7 -0
  250. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  251. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  252. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +7 -4
  253. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  254. package/dist/esm/core/lock/wildo-saas-lock.schemas.js +1 -0
  255. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  256. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +31 -0
  257. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -0
  258. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +53 -0
  259. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -0
  260. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  261. package/dist/esm/core/runtime/companion-startup-assembly.js +30 -1
  262. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  263. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  264. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  265. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts +54 -0
  266. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -0
  267. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js +54 -0
  268. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -0
  269. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +11 -2
  270. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  271. package/dist/esm/core/runtime/services/start-companion-application.service.js +182 -31
  272. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  273. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +3 -3
  275. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  276. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +27 -9
  277. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  278. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  279. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  280. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  281. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  282. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +0 -4
  283. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  284. package/dist/esm/core/specifications/cross-registry-rendering.shared.js +0 -4
  285. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  286. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  287. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  288. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  289. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  290. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  291. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  292. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  293. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  294. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  295. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  296. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js +6 -34
  297. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  298. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  299. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  300. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  301. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  302. package/dist/esm/core/specifications/resource-specification-context.factory.js +2 -0
  303. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  304. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  305. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  306. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  307. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  308. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  309. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  310. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  311. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  312. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  313. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  314. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  315. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  316. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  317. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  318. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  319. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  320. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  322. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  324. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  326. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  328. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  330. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  332. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  354. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +4 -2
  355. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  356. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +12 -2
  357. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  358. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  359. package/dist/esm/core/traceability/companion-traceability.service.d.ts +21 -1
  360. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  361. package/dist/esm/core/traceability/companion-traceability.service.js +25 -1
  362. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  363. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  364. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +45 -0
  365. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -0
  366. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +96 -0
  367. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -0
  368. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts +35 -0
  369. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -0
  370. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +118 -0
  371. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -0
  372. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +34 -0
  373. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -0
  374. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +280 -0
  375. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -0
  376. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  377. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  378. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +19 -1
  379. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  380. package/dist/esm/deliberations/services/deliberation.companion.service.js +61 -5
  381. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  382. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -1
  383. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  384. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +7 -2
  385. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  386. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  387. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  388. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  389. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  390. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  391. package/dist/esm/email/services/email-template.companion.service.d.ts +30 -0
  392. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  393. package/dist/esm/email/services/email-template.companion.service.js +92 -41
  394. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  395. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  396. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  397. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +34 -0
  398. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -0
  399. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +130 -0
  400. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -0
  401. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +36 -3
  402. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  403. package/dist/esm/executions/services/companion-executions.companion.service.js +136 -5
  404. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  405. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  406. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  407. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  408. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  409. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  410. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +5 -0
  411. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  412. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +58 -8
  413. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  414. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts +8 -0
  415. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -0
  416. package/dist/esm/expert-personas/services/persona-source-ownership.js +83 -0
  417. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -0
  418. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +1 -1
  419. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  420. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js +1 -1
  421. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  422. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +4 -4
  423. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  424. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +4 -4
  425. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  426. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts +2 -2
  427. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  428. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js +2 -2
  429. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  430. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  431. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  432. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +4 -2
  433. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  434. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +5 -3
  435. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  436. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts +2 -1
  437. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  438. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js +2 -1
  439. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  440. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts +1 -1
  441. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  442. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js +1 -1
  443. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  444. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +6 -5
  445. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  446. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +7 -6
  447. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  448. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +3 -3
  449. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  450. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +3 -3
  451. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  452. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  453. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -2
  454. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  455. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +2 -2
  456. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  457. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +2 -1
  458. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  459. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +2 -1
  460. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  461. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +1 -1
  462. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  463. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +1 -1
  464. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  465. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +1 -1
  466. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  467. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +1 -1
  468. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  469. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +43 -0
  470. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -0
  471. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +43 -0
  472. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -0
  473. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts +26 -0
  474. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -0
  475. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js +26 -0
  476. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -0
  477. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts +18 -0
  478. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -0
  479. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js +18 -0
  480. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -0
  481. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +3 -3
  482. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  483. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js +3 -3
  484. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  485. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts +1 -1
  486. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  487. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js +1 -1
  488. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  489. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +2 -2
  490. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  491. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +2 -2
  492. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  493. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +4 -1
  494. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  495. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +4 -1
  496. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  497. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts +10 -10
  498. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js +10 -10
  500. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  501. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +25 -13
  502. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +26 -14
  504. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  505. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
  506. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +2 -1
  508. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  509. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts +17 -0
  510. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -0
  511. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js +17 -0
  512. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -0
  513. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +5 -5
  514. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js +5 -5
  516. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  517. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts +1 -1
  518. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js +1 -1
  520. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  521. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts +1 -1
  522. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js +1 -1
  524. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  525. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +16 -2
  526. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +16 -2
  528. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  529. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts +3 -3
  530. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js +3 -3
  532. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  533. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  534. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +8 -8
  535. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  536. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +8 -8
  537. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  538. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +14 -14
  539. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  540. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +14 -14
  541. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +22 -6
  543. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +23 -7
  545. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts +2 -2
  547. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js +2 -2
  549. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +2 -2
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +2 -2
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +21 -0
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -0
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +21 -0
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -0
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts +2 -2
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js +2 -2
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +4 -5
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +4 -5
  598. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts +4 -4
  600. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js +4 -4
  602. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts +2 -2
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js +2 -2
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts +1 -0
  612. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js +2 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +25 -0
  616. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -0
  617. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +25 -0
  618. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -0
  619. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +1 -0
  620. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js +2 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +3 -2
  624. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +4 -3
  626. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts +3 -2
  628. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js +4 -3
  630. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +3 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +4 -2
  634. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts +3 -3
  640. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js +3 -3
  642. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +3 -3
  648. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +3 -3
  650. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +15 -0
  652. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -0
  653. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +15 -0
  654. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -0
  655. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts +12 -0
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -0
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js +12 -0
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -0
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +4 -3
  671. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +4 -3
  673. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +3 -0
  679. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +4 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts +22 -0
  710. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -0
  711. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js +22 -0
  712. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -0
  713. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +2 -2
  714. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js +2 -2
  716. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +6 -6
  719. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +6 -6
  721. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +3 -3
  723. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +3 -3
  725. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +15 -8
  727. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +16 -9
  729. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  730. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +20 -0
  731. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -0
  732. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +20 -0
  733. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -0
  734. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +1 -1
  736. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +1 -1
  738. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  739. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +39 -20
  740. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +39 -20
  742. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  743. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  744. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +5 -5
  746. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +5 -5
  748. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  749. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +1 -1
  753. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js +1 -1
  755. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  756. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  758. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts +13 -0
  759. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -0
  760. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js +13 -0
  761. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -0
  762. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts +13 -0
  763. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -0
  764. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js +13 -0
  765. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -0
  766. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  768. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +3 -3
  769. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  770. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +3 -3
  771. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  772. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +15 -0
  773. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -0
  774. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +15 -0
  775. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -0
  776. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +5 -3
  777. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  778. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js +6 -4
  779. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  780. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts +10 -9
  781. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  782. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js +11 -10
  783. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  784. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  786. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts +5 -5
  787. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  788. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js +5 -5
  789. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  790. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +6 -6
  791. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  792. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +6 -6
  793. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  794. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts +7 -7
  795. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  796. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js +7 -7
  797. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  798. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts +1 -1
  799. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  800. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js +1 -1
  801. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  802. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts +1 -1
  803. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js +1 -1
  805. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  806. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts +4 -4
  807. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js +4 -4
  809. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  810. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts +24 -0
  811. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -0
  812. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js +24 -0
  813. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -0
  814. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +6 -4
  815. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +6 -4
  817. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  818. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +14 -10
  819. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +14 -10
  821. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  822. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts +6 -6
  823. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js +6 -6
  825. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  826. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +11 -8
  827. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  828. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +12 -9
  829. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  830. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +9 -8
  831. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  832. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +9 -8
  833. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  834. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +25 -9
  835. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  836. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +25 -9
  837. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  838. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +1 -1
  839. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  840. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +1 -1
  841. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  842. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +2 -2
  843. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  844. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -2
  845. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  846. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts +1 -0
  847. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  848. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js +2 -1
  849. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  850. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +25 -24
  851. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +26 -25
  853. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  854. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts +1 -1
  855. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  856. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js +1 -1
  857. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  858. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +3 -1
  859. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +4 -2
  861. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  862. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +2 -2
  863. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  864. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +2 -2
  865. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  866. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +11 -11
  867. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +11 -11
  869. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  870. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +1 -1
  871. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  872. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +1 -1
  873. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  874. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +12 -0
  875. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  876. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +13 -1
  877. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  878. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts +6 -6
  880. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +6 -6
  882. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  883. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +2 -2
  884. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  885. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +2 -2
  886. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  887. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +2 -2
  888. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  889. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +2 -2
  890. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  891. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/components/guidance_banner.en.d.ts +1 -1
  893. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  894. package/dist/esm/i18n/components/guidance_banner.en.js +1 -1
  895. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  896. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  897. package/dist/esm/i18n/components/guidance_checklist.en.d.ts +2 -2
  898. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  899. package/dist/esm/i18n/components/guidance_checklist.en.js +2 -2
  900. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  901. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +1 -0
  902. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  903. package/dist/esm/i18n/components/guidance_checklist_item.en.js +2 -1
  904. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  905. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  906. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts +1 -1
  907. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  908. package/dist/esm/i18n/components/guidance_onboarding_view.en.js +1 -1
  909. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  910. package/dist/esm/i18n/components/guidance_survey.en.d.ts +1 -0
  911. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  912. package/dist/esm/i18n/components/guidance_survey.en.js +2 -1
  913. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  914. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  915. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  916. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +1 -1
  917. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  918. package/dist/esm/i18n/components/progression_achievement_badge.en.js +1 -1
  919. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  920. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +5 -1
  921. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  922. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +6 -2
  923. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  924. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -13
  925. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -1
  926. package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -1
  927. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +17 -0
  928. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -0
  929. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +252 -0
  930. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -0
  931. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts +15 -0
  932. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -0
  933. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +58 -0
  934. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -0
  935. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  936. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +96 -0
  937. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -0
  938. package/dist/esm/i18n/errors_messages/errors-messages.en.js +54 -0
  939. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -0
  940. package/dist/esm/i18n/index.d.ts.map +1 -1
  941. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +2014 -1
  942. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  943. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +516 -0
  944. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  945. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +878 -8
  946. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  947. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +247 -0
  948. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  949. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +504 -1
  950. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  951. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +153 -0
  952. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  953. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts +78 -0
  954. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -0
  955. package/dist/esm/i18n/resources/workbenchAspects.en.js +255 -0
  956. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -0
  957. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +149 -0
  958. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -0
  959. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +79 -0
  960. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -0
  961. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +89 -0
  962. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -0
  963. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +74 -0
  964. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -0
  965. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +70 -5
  966. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  967. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +67 -0
  968. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  969. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +80 -0
  970. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -0
  971. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +50 -0
  972. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -0
  973. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts +95 -0
  974. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -0
  975. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js +54 -0
  976. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -0
  977. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts +95 -0
  978. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -0
  979. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js +51 -0
  980. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -0
  981. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +1 -1
  982. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  983. package/dist/esm/i18n/resources/workbenchDomainResources.en.js +2 -2
  984. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  985. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +108 -0
  986. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -0
  987. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +61 -0
  988. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -0
  989. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +99 -0
  990. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -0
  991. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +87 -0
  992. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -0
  993. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts +121 -0
  994. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -0
  995. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js +84 -0
  996. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -0
  997. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +83 -0
  998. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -0
  999. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +71 -0
  1000. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -0
  1001. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +159 -0
  1002. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -0
  1003. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +103 -0
  1004. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -0
  1005. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +142 -6
  1006. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  1007. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +103 -0
  1008. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  1009. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +94 -4
  1010. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  1011. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +79 -0
  1012. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  1013. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +5074 -257
  1014. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  1015. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +1201 -44
  1016. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  1017. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +86 -3
  1018. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  1019. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +90 -0
  1020. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  1021. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +97 -0
  1022. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -0
  1023. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +77 -0
  1024. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -0
  1025. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +272 -0
  1026. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -0
  1027. package/dist/esm/i18n/system_enums/application-creation.en.js +319 -0
  1028. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -0
  1029. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +154 -0
  1030. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -0
  1031. package/dist/esm/i18n/system_enums/compliance-programme.en.js +154 -0
  1032. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -0
  1033. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +54 -0
  1034. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -0
  1035. package/dist/esm/i18n/system_enums/flows-actors.en.js +54 -0
  1036. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -0
  1037. package/dist/esm/i18n/system_enums/market.en.d.ts +12 -2
  1038. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  1039. package/dist/esm/i18n/system_enums/market.en.js +12 -2
  1040. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  1041. package/dist/esm/i18n/system_enums/processor-register.en.d.ts +43 -0
  1042. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -0
  1043. package/dist/esm/i18n/system_enums/processor-register.en.js +43 -0
  1044. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -0
  1045. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +56 -0
  1046. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -0
  1047. package/dist/esm/i18n/system_enums/risk-register.en.js +56 -0
  1048. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -0
  1049. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +50 -0
  1050. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -0
  1051. package/dist/esm/i18n/system_enums/workbench-build.en.js +55 -0
  1052. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -0
  1053. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +47 -0
  1054. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -0
  1055. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +48 -0
  1056. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -0
  1057. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +18 -0
  1058. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -0
  1059. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +18 -0
  1060. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -0
  1061. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts +29 -0
  1062. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -0
  1063. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js +29 -0
  1064. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -0
  1065. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +24 -0
  1066. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -0
  1067. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +24 -0
  1068. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -0
  1069. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +51 -3
  1070. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  1071. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +36 -2
  1072. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  1073. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  1074. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  1075. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  1076. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +26 -16
  1077. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  1078. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +167 -40
  1079. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  1080. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +8 -8
  1081. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  1082. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +45 -39
  1083. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  1084. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +104 -0
  1085. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  1086. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +456 -16
  1087. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  1088. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  1089. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +30 -1
  1090. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  1091. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts +91 -0
  1092. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -0
  1093. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js +149 -0
  1094. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -0
  1095. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +27 -0
  1096. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -0
  1097. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +44 -0
  1098. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -0
  1099. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +27 -0
  1100. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  1101. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +27 -0
  1102. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  1103. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts +12 -0
  1104. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  1105. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +58 -1
  1106. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  1107. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  1108. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js +19 -0
  1109. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  1110. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  1111. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  1112. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  1113. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  1114. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  1115. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -0
  1116. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  1117. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  1118. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +27 -24
  1119. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  1120. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +176 -136
  1121. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  1122. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +11 -0
  1123. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  1124. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +27 -3
  1125. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  1126. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  1127. package/dist/esm/index.d.ts.map +1 -1
  1128. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  1129. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts +29 -0
  1130. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -0
  1131. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +59 -0
  1132. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -0
  1133. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +35 -0
  1134. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  1135. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +69 -3
  1136. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  1137. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  1138. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +6 -4
  1139. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  1140. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +1 -0
  1141. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  1142. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +21 -0
  1143. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  1144. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +46 -0
  1145. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -0
  1146. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +43 -0
  1147. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -0
  1148. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +34 -0
  1149. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -0
  1150. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +59 -0
  1151. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -0
  1152. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +65 -0
  1153. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -0
  1154. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +83 -0
  1155. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -0
  1156. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +69 -7
  1157. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1158. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +70 -7
  1159. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1160. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1161. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +27 -5
  1162. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1163. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +208 -0
  1164. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -0
  1165. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +273 -0
  1166. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -0
  1167. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +356 -0
  1168. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -0
  1169. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +417 -0
  1170. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -0
  1171. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts +14 -0
  1172. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -0
  1173. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js +21 -0
  1174. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -0
  1175. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  1176. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +3 -1
  1177. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  1178. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +65 -0
  1179. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -0
  1180. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +148 -0
  1181. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -0
  1182. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +929 -51
  1183. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1184. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +2047 -146
  1185. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1186. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +115 -36
  1187. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1188. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +270 -47
  1189. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1190. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +402 -16
  1191. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1192. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +1398 -70
  1193. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1194. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts +47 -0
  1195. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -0
  1196. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +103 -0
  1197. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -0
  1198. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +29 -0
  1199. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -0
  1200. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +88 -0
  1201. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -0
  1202. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +47 -0
  1203. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -0
  1204. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +102 -0
  1205. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -0
  1206. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
  1207. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
  1208. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
  1209. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +81 -0
  1210. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -0
  1211. package/dist/esm/meta-workflows/services/dossier.companion.service.js +231 -0
  1212. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -0
  1213. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts +36 -0
  1214. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -0
  1215. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js +72 -0
  1216. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -0
  1217. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +82 -1
  1218. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1219. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +200 -31
  1220. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1221. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts +16 -0
  1222. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -0
  1223. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js +29 -0
  1224. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -0
  1225. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +196 -1
  1226. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1227. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +380 -10
  1228. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1229. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts +2 -0
  1230. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -0
  1231. package/dist/esm/meta-workflows/services/landed-module-import.companion.js +36 -0
  1232. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -0
  1233. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1234. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +57 -0
  1235. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1236. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +83 -3
  1237. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1238. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +949 -177
  1239. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1240. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +3151 -454
  1241. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1242. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +100 -0
  1243. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -0
  1244. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +156 -0
  1245. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -0
  1246. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts +49 -0
  1247. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -0
  1248. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js +93 -0
  1249. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -0
  1250. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts +45 -0
  1251. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -0
  1252. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js +145 -0
  1253. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -0
  1254. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +33 -9
  1255. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1256. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +70 -29
  1257. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1258. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +20 -5
  1259. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1260. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +38 -16
  1261. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1262. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1263. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1264. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1265. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1266. package/package.json +18 -18
  1267. package/dist/esm/i18n/composite_views/app.creation-board.en.js +0 -91
  1268. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +0 -92
  1269. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +0 -1
  1270. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +0 -178
  1271. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +0 -1
  1272. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +0 -107
  1273. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +0 -1
  1274. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +0 -188
  1275. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"asset-noop.d.ts","sourceRoot":"","sources":["../../../src/__tests__/asset-noop.ts"],"names":[],"mappings":"wBAAe,EAAE;AAAjB,wBAAkB"}
1
+ {"version":3,"file":"asset-noop.d.ts","sourceRoot":"","sources":["../../../../src/__tests__/asset-noop.ts"],"names":[],"mappings":"wBAAe,EAAE;AAAjB,wBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"chdir-dogfood-app.setup.d.ts","sourceRoot":"","sources":["../../../src/__tests__/chdir-dogfood-app.setup.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chdir-dogfood-app.setup.d.ts","sourceRoot":"","sources":["../../../../src/__tests__/chdir-dogfood-app.setup.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"internal-test-view.d.ts","sourceRoot":"","sources":["../../../src/__tests__/internal-test-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,aAAa,CAAC,QAAQ,EAAE,UAAU,IAAI,IAAI,CAAC,QAAQ,EAAE,MAAM,UAAU,CAAC,GAAG,UAAU,CAAC;AAEhG;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,oBAAoB,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"internal-test-view.d.ts","sourceRoot":"","sources":["../../../../src/__tests__/internal-test-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,aAAa,CAAC,QAAQ,EAAE,UAAU,IAAI,IAAI,CAAC,QAAQ,EAAE,MAAM,UAAU,CAAC,GAAG,UAAU,CAAC;AAEhG;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,oBAAoB,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
File without changes
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"logo-creative-brief.schemas.d.ts","sourceRoot":"","sources":["../../../../src/brand/models/logo-creative-brief.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,4BAA4B;;;;iBAWhC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BACnB,CAAC;AAC/B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEjF,QAAA,MAAM,8BAA8B;;;;;;iBAElC,CAAC;AACH,eAAO,MAAM,6BAA6B,EAAE,OAAO,8BACnB,CAAC;AACjC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAErF,QAAA,MAAM,oCAAoC;;;;;;kBAE/B,CAAC;AACZ,eAAO,MAAM,mCAAmC,EAAE,OAAO,oCACnB,CAAC;AAEvC;;;;;;;;GAQG;AACH,QAAA,MAAM,iCAAiC;;iBAQrC,CAAC;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAO,iCACnB,CAAC;AACpC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE3F,QAAA,MAAM,uCAAuC;;kBAElC,CAAC;AACZ,eAAO,MAAM,sCAAsC,EAAE,OAAO,uCACnB,CAAC"}
1
+ {"version":3,"file":"logo-creative-brief.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/brand/models/logo-creative-brief.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,4BAA4B;;;;iBAWhC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BACnB,CAAC;AAC/B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEjF,QAAA,MAAM,8BAA8B;;;;;;iBAElC,CAAC;AACH,eAAO,MAAM,6BAA6B,EAAE,OAAO,8BACnB,CAAC;AACjC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAErF,QAAA,MAAM,oCAAoC;;;;;;kBAE/B,CAAC;AACZ,eAAO,MAAM,mCAAmC,EAAE,OAAO,oCACnB,CAAC;AAEvC;;;;;;;;GAQG;AACH,QAAA,MAAM,iCAAiC;;iBAQrC,CAAC;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAO,iCACnB,CAAC;AACpC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE3F,QAAA,MAAM,uCAAuC;;kBAElC,CAAC;AACZ,eAAO,MAAM,sCAAsC,EAAE,OAAO,uCACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"logo-generation.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../src/brand/models/logo-generation.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAqB/D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AAEvE,wBAAgB,wBAAwB,IAAI,iBAAiB,CAuC5D"}
1
+ {"version":3,"file":"logo-generation.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/brand/models/logo-generation.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAqB/D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AAEvE,wBAAgB,wBAAwB,IAAI,iBAAiB,CAuC5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"logo-judge.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../src/brand/models/logo-judge.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAU/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAU7D,wBAAgB,mBAAmB,IAAI,iBAAiB,CAkDvD"}
1
+ {"version":3,"file":"logo-judge.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/brand/models/logo-judge.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAU/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAU7D,wBAAgB,mBAAmB,IAAI,iBAAiB,CAkDvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"logo-judge.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/brand/models/logo-judge.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGtQ;;;;;;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lowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLMProvider_ReasoningEffort, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Brand-logo JUDGE agent — a COMPANION-OWNED, build-time REVIEW agent (same\n * ownership tier as the labelling / meta-workflows / logo-generation agents:\n * defined and registered by the companion, NOT shipped as an engine default).\n *\n * It is the JUDGE review point of the brand/logo ACCEPT workflow. Where\n * `brand.logo.generation.agent` PRODUCES a candidate (IMAGE modality), this\n * agent SCORES a staged candidate against the authored `BrandSnapshot` brief\n * and returns a structured verdict (`BrandLogoJudgeVerdict`) the accept step\n * includes in its result.\n *\n * **True VISION structured-output judge.** It rides GENERATE_STRUCTURED on\n * `openai/gpt-5.6-terra` (multimodal-vision capable) via the AI SDK `generateObject`\n * path, but with the staged MASTER logo image attached as a VISION part\n * (`LLMProvider_GenerateStructuredInputSchema.images` — the generic engine\n * multimodal-structured extension). So the provider feeds the ACTUAL RENDERED\n * PIXELS to the model AND constrains the answer to a schema-conformant\n * {@link BrandLogoJudgeVerdict} — no free-form prose to parse-and-hope. The\n * judge SEES the mark and scores composition, small-size legibility, on-brand\n * aesthetic, and adherence to the authored mark direction + avoid-list, while\n * the assembled brief text (the DESIRED mark) plus the manifest's structural\n * asset descriptors (asset-set completeness + freshness) travel as supporting\n * context. When a staged master is not a vision-readable raster (a hand-staged\n * SVG/ICO the model cannot decode) the accept step omits the image and the\n * judge degrades to a structural review, told so in the prompt — it never\n * pretends to have seen pixels it could not decode.\n *\n * Model-default sampling (the GPT-5.6 family rejects explicit temperature); judging stays analytical, not creative\n * writing. Provider availability / enablement / secret resolution stay enforced\n * by the standard backend runtime path the companion reuses — if OpenAI is not\n * configured there, the call fails honestly rather than being guessed.\n */\nexport const LOGO_JUDGE_AGENT_REF = 'brand.logo.judge.agent';\n\n/**\n * VISUAL_JUDGMENT, which is exactly this: the input is an image and the output is an assessment of\n * it (#439). Resolution refuses any model whose catalog row does not evidence MULTIMODAL_VISION, so\n * a logo judge can never be silently handed a text-only model. Resolves to `gpt-5.6-terra` on\n * `openai` today, which is the model this pinned.\n */\nconst LOGO_JUDGE_APPLICABILITY = LLM_Model_Applicability.VISUAL_JUDGMENT;\n\nexport function buildLogoJudgeAgent(): FlowsActors_Agent {\n return {\n ref: LOGO_JUDGE_AGENT_REF,\n displayName: 'Brand Logo Judge Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'openai',\n modelApplicability: LOGO_JUDGE_APPLICABILITY,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // No sampling params: the GPT-5.6 family rejects non-default temperature (verified live 2026-07-16).\n // HIGH reasoning (Phase 3): judging a mark against a brief is deliberation,\n // not perception — favicon-legibility vs distinctiveness tradeoffs need real\n // reasoning. GPT-5.6 supports none/low/medium/high/xhigh (verified live).\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'openai',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You are a brand identity reviewer judging a single application logo candidate. You '\n + 'receive the fully-assembled visual brief (brand name, mark direction, symbolism, '\n + 'visual tone, things to avoid), the actual generated MASTER logo IMAGE (attached for '\n + 'you to look at directly), and a structural description of the staged candidate (its '\n + 'generated + derived asset set and freshness). You LOOK at the image and emit a typed '\n + 'verdict object conforming EXACTLY to the provided output schema.',\n persona:\n 'You judge the mark you can SEE against the brief: you assess composition and visual '\n + 'balance, legibility when scaled down to a favicon/small size, on-brand aesthetic and '\n + 'colour, and whether the image honours the authored mark direction + symbolism and '\n + 'respects the avoid-list. You use the structural descriptors only for asset-set '\n + 'completeness/coherence and freshness. You never invent details the image does not '\n + 'show; if the image is missing you say so and judge structurally. You reward marks that '\n + 'satisfy the brief and flag brief-misses honestly rather than padding the verdict with '\n + 'noise. You explain WHY each score and the recommendation earn their place, grounded in '\n + 'what you actually observe.',\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n instructions: [],\n },\n createdAt: '2026-07-12T00:00:00.000Z',\n };\n}\n"]}
1
+ {"version":3,"file":"logo-judge.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/brand/models/logo-judge.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGtQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,wBAAwB,GAAG,uBAAuB,CAAC,eAAe,CAAC;AAEzE,MAAM,UAAU,mBAAmB;IACjC,OAAO;QACL,GAAG,EAAE,oBAAoB;QACzB,WAAW,EAAE,wBAAwB;QACrC,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,QAAQ;YACrB,kBAAkB,EAAE,wBAAwB;YAC5C,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,qGAAqG;YACrG,4EAA4E;YAC5E,6EAA6E;YAC7E,0EAA0E;YAC1E,eAAe,EAAE,2BAA2B,CAAC,IAAI;YACjD,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,qFAAqF;kBACnF,mFAAmF;kBACnF,sFAAsF;kBACtF,sFAAsF;kBACtF,uFAAuF;kBACvF,kEAAkE;YACtE,OAAO,EACL,sFAAsF;kBACpF,uFAAuF;kBACvF,oFAAoF;kBACpF,iFAAiF;kBACjF,oFAAoF;kBACpF,yFAAyF;kBACzF,wFAAwF;kBACxF,yFAAyF;kBACzF,4BAA4B;YAChC,SAAS,EAAE,4BAA4B,CAAC,QAAQ;YAChD,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLMProvider_ReasoningEffort, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Brand-logo JUDGE agent — a COMPANION-OWNED, build-time REVIEW agent (same\n * ownership tier as the labelling / meta-workflows / logo-generation agents:\n * defined and registered by the companion, NOT shipped as an engine default).\n *\n * It is the JUDGE review point of the brand/logo ACCEPT workflow. Where\n * `brand.logo.generation.agent` PRODUCES a candidate (IMAGE modality), this\n * agent SCORES a staged candidate against the authored `BrandSnapshot` brief\n * and returns a structured verdict (`BrandLogoJudgeVerdict`) the accept step\n * includes in its result.\n *\n * **True VISION structured-output judge.** It rides GENERATE_STRUCTURED on\n * `openai/gpt-5.6-terra` (multimodal-vision capable) via the AI SDK `generateObject`\n * path, but with the staged MASTER logo image attached as a VISION part\n * (`LLMProvider_GenerateStructuredInputSchema.images` — the generic engine\n * multimodal-structured extension). So the provider feeds the ACTUAL RENDERED\n * PIXELS to the model AND constrains the answer to a schema-conformant\n * {@link BrandLogoJudgeVerdict} — no free-form prose to parse-and-hope. The\n * judge SEES the mark and scores composition, small-size legibility, on-brand\n * aesthetic, and adherence to the authored mark direction + avoid-list, while\n * the assembled brief text (the DESIRED mark) plus the manifest's structural\n * asset descriptors (asset-set completeness + freshness) travel as supporting\n * context. When a staged master is not a vision-readable raster (a hand-staged\n * SVG/ICO the model cannot decode) the accept step omits the image and the\n * judge degrades to a structural review, told so in the prompt — it never\n * pretends to have seen pixels it could not decode.\n *\n * Model-default sampling (the GPT-5.6 family rejects explicit temperature); judging stays analytical, not creative\n * writing. Provider availability / enablement / secret resolution stay enforced\n * by the standard backend runtime path the companion reuses — if OpenAI is not\n * configured there, the call fails honestly rather than being guessed.\n */\nexport const LOGO_JUDGE_AGENT_REF = 'brand.logo.judge.agent';\n\n/**\n * VISUAL_JUDGMENT, which is exactly this: the input is an image and the output is an assessment of\n * it (#439). Resolution refuses any model whose catalog row does not evidence MULTIMODAL_VISION, so\n * a logo judge can never be silently handed a text-only model. Resolves to `gpt-5.6-terra` on\n * `openai` today, which is the model this pinned.\n */\nconst LOGO_JUDGE_APPLICABILITY = LLM_Model_Applicability.VISUAL_JUDGMENT;\n\nexport function buildLogoJudgeAgent(): FlowsActors_Agent {\n return {\n ref: LOGO_JUDGE_AGENT_REF,\n displayName: 'Brand Logo Judge Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'openai',\n modelApplicability: LOGO_JUDGE_APPLICABILITY,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // No sampling params: the GPT-5.6 family rejects non-default temperature (verified live 2026-07-16).\n // HIGH reasoning (Phase 3): judging a mark against a brief is deliberation,\n // not perception — favicon-legibility vs distinctiveness tradeoffs need real\n // reasoning. GPT-5.6 supports none/low/medium/high/xhigh (verified live).\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'openai',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You are a brand identity reviewer judging a single application logo candidate. You '\n + 'receive the fully-assembled visual brief (brand name, mark direction, symbolism, '\n + 'visual tone, things to avoid), the actual generated MASTER logo IMAGE (attached for '\n + 'you to look at directly), and a structural description of the staged candidate (its '\n + 'generated + derived asset set and freshness). You LOOK at the image and emit a typed '\n + 'verdict object conforming EXACTLY to the provided output schema.',\n persona:\n 'You judge the mark you can SEE against the brief: you assess composition and visual '\n + 'balance, legibility when scaled down to a favicon/small size, on-brand aesthetic and '\n + 'colour, and whether the image honours the authored mark direction + symbolism and '\n + 'respects the avoid-list. You use the structural descriptors only for asset-set '\n + 'completeness/coherence and freshness. You never invent details the image does not '\n + 'show; if the image is missing you say so and judge structurally. You reward marks that '\n + 'satisfy the brief and flag brief-misses honestly rather than padding the verdict with '\n + 'noise. You explain WHY each score and the recommendation earn their place, grounded in '\n + 'what you actually observe.',\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n instructions: [],\n },\n createdAt: '2026-07-12T00:00:00.000Z',\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"logo-judge.schemas.d.ts","sourceRoot":"","sources":["../../../../src/brand/models/logo-judge.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AAEH,8EAA8E;AAC9E,oBAAY,4BAA4B;IACtC,6EAA6E;IAC7E,MAAM,WAAW;IACjB,4FAA4F;IAC5F,MAAM,WAAW;IACjB,wEAAwE;IACxE,MAAM,WAAW;CAClB;AAED,QAAA,MAAM,4BAA4B;;;;;;;;iBAehC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BAA2D,CAAC;AAC7G,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,kCAAkC;;;;;;;;kBAAwC,CAAC;AACjF,eAAO,MAAM,iCAAiC,EAAE,OAAO,kCACnB,CAAC"}
1
+ {"version":3,"file":"logo-judge.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/brand/models/logo-judge.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AAEH,8EAA8E;AAC9E,oBAAY,4BAA4B;IACtC,6EAA6E;IAC7E,MAAM,WAAW;IACjB,4FAA4F;IAC5F,MAAM,WAAW;IACjB,wEAAwE;IACxE,MAAM,WAAW;CAClB;AAED,QAAA,MAAM,4BAA4B;;;;;;;;iBAehC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BAA2D,CAAC;AAC7G,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,kCAAkC;;;;;;;;kBAAwC,CAAC;AACjF,eAAO,MAAM,iCAAiC,EAAE,OAAO,kCACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"brand-accept.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/brand/services/brand-accept.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,aAAa,EAEb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAE5H,OAAO,EAIL,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAC;AAWtC,MAAM,WAAW,kBAAkB;IACjC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,6FAA6F;IAC7F,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,+FAA+F;IAC/F,cAAc,EAAE,gBAAgB,EAAE,CAAC;IACnC,+DAA+D;IAC/D,wBAAwB,EAAE,MAAM,CAAC;IACjC,0EAA0E;IAC1E,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC3C,iFAAiF;IACjF,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAQD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,2BAA2B;IAID,OAAO,CAAC,QAAQ,CAAC,MAAM;IAE1D,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAEjC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;IAXhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EAExD,YAAY,EAAE,0BAA0B,EAExC,aAAa,EAAE,oBAAoB,EAEnC,gBAAgB,EAAE,gBAAgB,EAElC,6BAA6B,EAAE,6BAA6B;IAMlE,MAAM,CACjB,OAAO,GAAE,kBAAuB,EAChC,YAAY,CAAC,EAAE,iBAAiB,GAC/B,OAAO,CAAC,iBAAiB,CAAC;IA4G7B,uGAAuG;YACzF,mBAAmB;IA8CjC;;;;;;;;;;;;;;;;;;;;;;OAsBG;YACW,cAAc;IAyD5B;;;;;;;;;;;OAWG;YACW,uBAAuB;IA+BrC,8HAA8H;IAC9H,OAAO,CAAC,wBAAwB;IAWhC;;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IA8CxB;;;;;;;OAOG;YACW,2BAA2B;IAgBzC;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAmB3B,6GAA6G;IAC7G,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAmBtB,0FAA0F;IAC1F,OAAO,CAAC,CAAC;IAIT;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;CAenC"}
1
+ {"version":3,"file":"brand-accept.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/brand/services/brand-accept.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,aAAa,EAEb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AAIvC,OAAO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;OAsBG;YACW,cAAc;IAyD5B;;;;;;;;;;;OAWG;YACW,uBAAuB;IA+BrC,8HAA8H;IAC9H,OAAO,CAAC,wBAAwB;IAWhC;;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IA8CxB;;;;;;;OAOG;YACW,2BAA2B;IAgBzC;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAoB3B,6GAA6G;IAC7G,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAqCtB,0FAA0F;IAC1F,OAAO,CAAC,CAAC;IAIT;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;CAenC"}
@@ -394,7 +394,8 @@ let BrandAcceptCompanionService = class BrandAcceptCompanionService {
394
394
  return existing.slice(0, index);
395
395
  }
396
396
  }
397
- return (`import type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\n\n`
397
+ return (`import { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme } from '@wildo-ai/saas-specifications';\n`
398
+ + `import type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\n\n`
398
399
  + `/**\n`
399
400
  + ` * GENERATED + COMMITTED brand assets — the ACCEPTED logo set. This is the\n`
400
401
  + ` * source-of-truth \`resolvedAssets\` consumed by the application-owned brand snapshot.\n`
@@ -415,11 +416,29 @@ let BrandAcceptCompanionService = class BrandAcceptCompanionService {
415
416
  lines.push(` ${key}: ${value},`);
416
417
  };
417
418
  push('ref', this.q(asset.ref));
418
- push('composition', this.q(asset.composition));
419
- push('theme', this.q(asset.theme));
420
- push('purpose', this.q(asset.purpose));
419
+ /*
420
+ * The four closed vocabularies are emitted as ENUM MEMBERS, never as quoted strings.
421
+ *
422
+ * `BrandAssetConfig` types these fields as `BrandAssetComposition`, `BrandAssetTheme`,
423
+ * `BrandAssetPurpose` and `BrandAssetFormat`. A quoted literal is not assignable to a TS enum, so
424
+ * emitting `composition: 'SYMBOL'` produced `TS2322: Type '"SYMBOL"' is not assignable to type
425
+ * 'BrandAssetComposition'` — and the file this writes lives in the application's SPECIFICATIONS
426
+ * package, whose typecheck is a required verification for every spec-stage and view build task.
427
+ *
428
+ * Measured on the first end-to-end journey run (#1273): the brand accept step promoted nine
429
+ * assets at 08:34 and every spec-stage and view task from that moment on failed
430
+ * `check:specifications-typecheck`, authored nothing, and was re-dispatched. 36 errors, all in
431
+ * this one generated file, and the whole band stalled behind them for hours.
432
+ *
433
+ * The member NAME equals its VALUE in all four enums, so the mapping is direct rather than a
434
+ * lookup — and if that ever stops being true this line breaks loudly at the application's
435
+ * typecheck, which is where it should break.
436
+ */
437
+ push('composition', `BrandAssetComposition.${asset.composition}`);
438
+ push('theme', `BrandAssetTheme.${asset.theme}`);
439
+ push('purpose', `BrandAssetPurpose.${asset.purpose}`);
421
440
  push('storageRef', this.q(asset.storageRef));
422
- push('format', this.q(asset.format));
441
+ push('format', `BrandAssetFormat.${asset.format}`);
423
442
  if (asset.width !== undefined)
424
443
  push('width', String(asset.width));
425
444
  if (asset.height !== undefined)
@@ -1 +1 @@
1
- {"version":3,"file":"brand-accept.companion.service.js","sourceRoot":"","sources":["../../../../src/brand/services/brand-accept.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAElB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,GAGV,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,gBAAgB,EAChB,+BAA+B,GAEhC,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;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AC,oBAAoB,CAAC,CAAA;qCAPO,aAAa;QAE1C,0BAA0B,oBAMT,6BAA6B;GAZpE,2BAA2B,CAkdvC","sourcesContent":["import { copyFile, mkdir, readFile, writeFile } from 'node:fs/promises';\nimport { basename, resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n type AgentTraceContext,\n type FlowsActors_Agent_Invocation,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n} from '@wildo-ai/external-connectors-models';\nimport {\n BrandAssetFormat,\n BrandRenderPromptResponseSchema,\n type BrandAssetConfig,\n} from '@wildo-ai/saas-specifications';\nimport type { LLMProvider_ImageContent } from '@wildo-ai/external-connectors-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { LOGO_JUDGE_AGENT_REF } from '../models/logo-judge.actors-system.definitions';\nimport {\n BrandLogoJudgeRecommendation,\n BrandLogoJudgeVerdictSchema,\n BrandLogoJudgeVerdictStrictSchema,\n type BrandLogoJudgeVerdict,\n} from '../models/logo-judge.schemas';\n\n/**\n * The staging manifest written by `LogoGenerationCompanionService` or the logo deliberation\n * (`generated/brand/manifest.json`). Only `assets` is read here; the generation step's own verbatim\n * `prompt` cache key is ignored.\n */\ninterface GeneratedAssetManifest {\n assets: BrandAssetConfig[];\n}\n\nexport interface BrandAcceptOptions {\n /** Run the judge review point and include its verdict (default: true). */\n runJudge?: boolean;\n /**\n * Gate promotion on the judge: when true, a non-`ACCEPT` verdict throws\n * before any file is written. Default false — the human accept POST is the\n * authority and may override a `REVISE`/`REJECT` verdict (the judge is\n * advisory). Ignored when `runJudge` is false.\n */\n requireJudgeAcceptance?: boolean;\n}\n\n/** The promoted result surfaced back to the accept route. */\nexport interface BrandAcceptResult {\n /** SSOT-relative paths of the image files copied into `specifications/src/brand/assets/`. */\n promotedFiles: string[];\n /** The `BrandAssetConfig[]` written into `resolved-assets.generated.ts` (SSOT storageRefs). */\n promotedAssets: BrandAssetConfig[];\n /** The app-root-relative path of the rewritten SSOT module. */\n resolvedAssetsModulePath: string;\n /** The judge verdict when the judge ran and succeeded; null otherwise. */\n judgeVerdict: BrandLogoJudgeVerdict | null;\n /** Non-fatal warnings (e.g. the judge was requested but its LLM call failed). */\n warnings: string[];\n}\n\nconst GENERATED_BRAND_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'brand'] as const;\nconst SPEC_BRAND_DIR_SEGMENTS = ['specifications', 'src', 'brand'] as const;\nconst RESOLVED_ASSETS_MODULE = 'resolved-assets.generated.ts';\n/** The `storageRef` prefix promoted assets carry — relative to the brand spec folder. */\nconst SSOT_ASSET_REF_PREFIX = './assets';\n\n/**\n * Brand ACCEPT / PROMOTE companion service — the second, DECOUPLED half of the\n * brand/logo system (the first half is `LogoGenerationCompanionService`, which\n * generates candidates into staging).\n *\n * It performs the ACCEPT review-point promotion: it reads a staged candidate\n * from the generation STAGING area (`.wildo-saas/generated/brand/`), OPTIONALLY\n * invokes the `brand.logo.judge.agent` VISION review point (attaching the staged\n * master logo image so the judge scores the actual rendered pixels against the\n * authored brief) and includes its verdict, then PROMOTES the\n * accepted candidate into the specification SSOT: it copies the master +\n * derived image files into `specifications/src/brand/assets/` and rewrites\n * `specifications/src/brand/resolved-assets.generated.ts` so\n * `generatedResolvedBrandAssets` lists the promoted `BrandAssetConfig[]` with\n * `storageRef` now pointing at `./assets/<file>` (relative to the brand spec\n * folder). The application-owned brand snapshot composes that module through\n * its `resolvedAssets` field, so the promoted set becomes the source of truth\n * every brand-image consumer resolves against.\n *\n * **Human bypass.** The promote step is exactly what a HUMAN path performs by\n * hand: drop logo files into `specifications/src/brand/assets/` and list them\n * in `resolved-assets.generated.ts`. Because promotion works from ANY staged\n * candidate manifest (whether the image agent or a designer produced the\n * files), a human can bypass generation entirely — stage a hand-made master +\n * `manifest.json` under `.wildo-saas/generated/brand/` and run accept, or edit\n * the SSOT module directly. The accept step is a convenience over the SSOT, not\n * a gate on it.\n */\n@injectable()\nexport class BrandAcceptCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n ) {\n this.logDebug = this.logger.debugByType('BrandAcceptCompanionService');\n this.logger.setDebugTypeLogging('BrandAcceptCompanionService', true);\n }\n\n public async accept(\n options: BrandAcceptOptions = {},\n traceContext?: AgentTraceContext,\n ): Promise<BrandAcceptResult> {\n const runJudge = options.runJudge !== false;\n const warnings: string[] = [];\n\n // ── 1. Read + validate the staged candidate ────────────────\n const brandDir = resolve(this.companionContext.saasRoot, ...GENERATED_BRAND_DIR_SEGMENTS);\n const manifest = await this.readStagingManifest(brandDir);\n this.logDebug('brand accept — candidate loaded', { assetCount: manifest.assets.length });\n\n // ── 2. Judge review point (optional, advisory) ─────────────\n let judgeVerdict: BrandLogoJudgeVerdict | null = null;\n if (runJudge) {\n const outcome = await this.runJudgeReview(manifest, traceContext);\n if (outcome.verdict) {\n judgeVerdict = outcome.verdict;\n this.logDebug('brand accept — judge verdict', {\n recommendation: judgeVerdict.recommendation,\n overallScore: judgeVerdict.overallScore,\n });\n if (\n options.requireJudgeAcceptance\n && judgeVerdict.recommendation !== BrandLogoJudgeRecommendation.ACCEPT\n ) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n `Judge did not recommend ACCEPT (got ${judgeVerdict.recommendation}, `\n + `overallScore ${judgeVerdict.overallScore}) and \\`requireJudgeAcceptance\\` was set. `\n + `Rationale: ${judgeVerdict.rationale}`,\n },\n });\n }\n } else {\n // The judge is advisory: a failed LLM call must not block a human accept\n // (unless the human explicitly gated on it via requireJudgeAcceptance).\n if (options.requireJudgeAcceptance) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message:\n `\\`requireJudgeAcceptance\\` was set but the judge review could not complete: `\n + `${outcome.error ?? 'unknown error'}`,\n },\n });\n }\n warnings.push(`Judge review requested but did not complete: ${outcome.error ?? 'unknown error'}`);\n }\n }\n\n // ── 3. Promote: copy files → SSOT assets/ ──────────────────\n const specBrandDir = resolve(this.companionContext.saasRoot, ...SPEC_BRAND_DIR_SEGMENTS);\n const assetsDir = resolve(specBrandDir, 'assets');\n await mkdir(assetsDir, { recursive: true });\n\n const promotedAt = new Date().toISOString();\n const promotedAssets: BrandAssetConfig[] = [];\n const promotedFiles: string[] = [];\n\n for (const asset of manifest.assets) {\n const fileName = basename(asset.storageRef);\n const sourceFile = resolve(this.companionContext.saasRoot, asset.storageRef);\n const destFile = resolve(assetsDir, fileName);\n\n try {\n await copyFile(sourceFile, destFile);\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message:\n `Failed to copy staged asset '${asset.ref}' from '${asset.storageRef}' into the `\n + `specification SSOT assets/ folder: `\n + describeCaughtError(error),\n },\n });\n }\n\n promotedAssets.push({\n ...asset,\n // Rewrite the storage locator to the SSOT-relative path; preserve\n // composition / theme / purpose / derivedFrom; stamp the\n // acceptance moment as generatedAt.\n storageRef: `${SSOT_ASSET_REF_PREFIX}/${fileName}`,\n generatedAt: promotedAt,\n });\n promotedFiles.push(`${SPEC_BRAND_DIR_SEGMENTS.join('/')}/assets/${fileName}`);\n }\n\n // ── 4. Rewrite the SSOT module ─────────────────────────────\n const resolvedAssetsPath = resolve(specBrandDir, RESOLVED_ASSETS_MODULE);\n await this.rewriteResolvedAssetsModule(resolvedAssetsPath, promotedAssets, promotedAt);\n\n const resolvedAssetsModulePath = `${SPEC_BRAND_DIR_SEGMENTS.join('/')}/${RESOLVED_ASSETS_MODULE}`;\n this.logDebug('brand accept — promoted to SSOT', {\n promotedFiles: promotedFiles.length,\n resolvedAssetsModulePath,\n });\n\n return {\n promotedFiles,\n promotedAssets,\n resolvedAssetsModulePath,\n judgeVerdict,\n warnings,\n };\n }\n\n /** Read + shape-check the staging manifest; a missing/invalid manifest is a clear VALIDATION error. */\n private async readStagingManifest(brandDir: string): Promise<GeneratedAssetManifest> {\n let raw: string;\n try {\n raw = await readFile(resolve(brandDir, 'manifest.json'), 'utf8');\n } catch {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n 'No staged logo candidate found. Expected a manifest at '\n + '`.wildo-saas/generated/brand/manifest.json` (produced by `POST /api/companion/brand/generate-logo`, '\n + 'or dropped there by a human path).',\n },\n });\n }\n\n let manifest: GeneratedAssetManifest;\n try {\n manifest = JSON.parse(raw) as GeneratedAssetManifest;\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Staged brand manifest is not valid JSON: ${describeCaughtError(error)}`,\n },\n });\n }\n\n if (\n !manifest\n || !Array.isArray(manifest.assets)\n || manifest.assets.length === 0\n ) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n 'Staged brand manifest is malformed — expected `{ assets: BrandAssetConfig[] }` '\n + 'with at least one asset.',\n },\n });\n }\n\n return manifest;\n }\n\n /**\n * Run the JUDGE review point as a TRUE VISION review: re-assemble the current\n * brief (via the `brand-render-prompt` introspection subprocess, the same\n * source the logo generation step used), READ the staged master logo image off\n * disk and base64-encode it, then invoke `brand.logo.judge.agent`\n * (GENERATE_STRUCTURED with a VISION image part) so the model SCORES the actual\n * rendered pixels against the brief and returns the strict-validated verdict.\n *\n * The master image rides the engine's multimodal structured-generation path\n * (`LLMProvider_GenerateStructuredInputSchema.images`): the AI SDK feeds the\n * pixels to the vision-capable model (`gpt-4o`) while still constraining the\n * answer to {@link BrandLogoJudgeVerdictSchema}. The structural asset\n * descriptors (the derived asset set) remain in the text prompt as\n * SUPPORTING metadata — they answer \"is the asset set complete?\", which the\n * pixels alone cannot. When the master is not a vision-readable raster\n * (e.g. a hand-staged SVG master), the image is omitted and the judge degrades\n * to the structural review, noted in the prompt so it never silently pretends\n * to have seen pixels it could not decode.\n *\n * Best-effort by design: any failure (subprocess, provider, malformed output,\n * unreadable image) is returned as `{ verdict: null, error }` so the caller can\n * decide whether to proceed (advisory) or fail (`requireJudgeAcceptance`).\n */\n private async runJudgeReview(\n manifest: GeneratedAssetManifest,\n traceContext?: AgentTraceContext,\n ): Promise<{ verdict: BrandLogoJudgeVerdict | null; error?: string }> {\n try {\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: this.pickBrandCarrierServiceKey(),\n behavior: 'brand-render-prompt',\n input: {},\n });\n if (introspection.success === false) {\n return { verdict: null, error: `brief assembly failed: ${introspection.error.message}` };\n }\n\n const render = BrandRenderPromptResponseSchema.parse(introspection.data);\n const masterImage = await this.loadMasterImageForJudge(manifest);\n const prompt = this.buildJudgePrompt(render.prompt, manifest, masterImage.attached);\n\n const input: {\n prompt: string;\n schema: typeof BrandLogoJudgeVerdictSchema;\n images?: LLMProvider_ImageContent[];\n } = { prompt, schema: BrandLogoJudgeVerdictSchema };\n if (masterImage.image) {\n input.images = [masterImage.image];\n }\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: LOGO_JUDGE_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input,\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const rawObject = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = BrandLogoJudgeVerdictStrictSchema.safeParse(rawObject);\n if (!parsed.success) {\n return {\n verdict: null,\n error:\n 'judge returned a verdict that does not match the contract: '\n + parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n };\n }\n return { verdict: parsed.data };\n } catch (error) {\n return { verdict: null, error: describeCaughtError(error) };\n }\n }\n\n /**\n * Locate the staged MASTER logo (the generated primary — the single asset with\n * no `derivedFrom`), read its bytes off disk and return a base64 data-URI image\n * part the judge invocation attaches for vision review.\n *\n * Only vision-readable RASTER masters (PNG / WEBP) are attached; a non-raster\n * master (a hand-staged SVG / ICO the model cannot decode) returns\n * `{ image: null, attached: false }` so the judge degrades to a structural\n * review rather than shipping an undecodable part to the provider. A read\n * failure likewise degrades (best-effort — the caller already treats a\n * verdict-less outcome as advisory).\n */\n private async loadMasterImageForJudge(\n manifest: GeneratedAssetManifest,\n ): Promise<{ image: LLMProvider_ImageContent | null; attached: boolean }> {\n const master = manifest.assets.find((asset) => !asset.derivedFrom) ?? manifest.assets[0];\n if (!master) {\n return { image: null, attached: false };\n }\n\n const mediaType = this.rasterMediaTypeForFormat(master.format);\n if (!mediaType) {\n this.logDebug('brand accept — master is not a vision-readable raster; judge degrades to structural review', {\n masterRef: master.ref,\n format: master.format,\n });\n return { image: null, attached: false };\n }\n\n try {\n const bytes = await readFile(resolve(this.companionContext.saasRoot, master.storageRef));\n const dataUri = `data:${mediaType};base64,${bytes.toString('base64')}`;\n return { image: { type: 'image', image: dataUri }, attached: true };\n } catch (error) {\n this.logDebug('brand accept — could not read master image for judge; degrading to structural review', {\n masterRef: master.ref,\n storageRef: master.storageRef,\n error: describeCaughtError(error),\n });\n return { image: null, attached: false };\n }\n }\n\n /** Map a raster brand-asset format to its IANA media type; non-raster formats (SVG/ICO) return null (not vision-readable). */\n private rasterMediaTypeForFormat(format: BrandAssetConfig['format']): string | null {\n switch (format) {\n case BrandAssetFormat.PNG:\n return 'image/png';\n case BrandAssetFormat.WEBP:\n return 'image/webp';\n default:\n return null;\n }\n }\n\n /**\n * Compose the judge text prompt: the desired-mark brief + a structural\n * description of the staged candidate. When `imageAttached` is true the master\n * logo image travels alongside this text as a vision part (see\n * {@link runJudgeReview}); the prompt then directs the model to judge the\n * PIXELS it can see, using the asset descriptors only as supporting metadata.\n * When false the model has no pixels and judges structurally, and the prompt\n * says so honestly.\n */\n private buildJudgePrompt(\n briefPrompt: string,\n manifest: GeneratedAssetManifest,\n imageAttached: boolean,\n ): string {\n const lines: string[] = [];\n lines.push('# Brand brief (the DESIRED logo)');\n lines.push(briefPrompt);\n lines.push('');\n lines.push('# Candidate under review (staged)');\n lines.push(\n imageAttached\n ? '- The generated MASTER logo image is ATTACHED to this message. Judge what you actually SEE.'\n : '- NOTE: the master image could not be attached (not a vision-readable raster, or unreadable). '\n + 'Judge structurally from the descriptors below and say so in your rationale.',\n );\n lines.push(`- asset count: ${manifest.assets.length}`);\n lines.push('- assets:');\n for (const asset of manifest.assets) {\n const dims = asset.width && asset.height ? ` ${asset.width}x${asset.height}` : '';\n const derived = asset.derivedFrom ? ` derivedFrom=${asset.derivedFrom}` : ' (generated primary — the ATTACHED master)';\n lines.push(\n ` - ${asset.ref}: ${asset.composition}/${asset.theme}/${asset.purpose} `\n + `${asset.format}${dims}${derived}`,\n );\n }\n lines.push('');\n lines.push('# Your task');\n lines.push(\n imageAttached\n ? 'Judge how well the ATTACHED master logo satisfies the brief. Evaluate what you SEE: '\n + 'composition + visual balance, legibility when scaled down to a favicon/small size, '\n + 'on-brand aesthetic + colour, and adherence to the authored mark direction + symbolism '\n + '(and respect for the avoid-list). Use the asset descriptors above only for asset-set '\n + 'completeness/coherence. Score overall fit, brief alignment, and production '\n + 'craft. Give a recommendation (ACCEPT / REVISE / REJECT), a rationale grounded in the '\n + 'image, concrete strengths, and concrete concerns. Do not invent details you cannot see.'\n : 'Judge how well this candidate satisfies the brief from the descriptors above (no image was '\n + 'available). Score overall fit, brief alignment (mark direction + symbolism honoured, '\n + 'avoid-list respected), and production craft (asset-set completeness + coherence). '\n + 'Give a recommendation (ACCEPT / REVISE / REJECT), a rationale, concrete strengths, and '\n + 'concrete concerns. Judge only from the brief and descriptors — do not invent facts.',\n );\n return lines.join('\\n');\n }\n\n /**\n * Rewrite `resolved-assets.generated.ts` so `generatedResolvedBrandAssets`\n * lists the promoted assets. Preserves the file's existing header (import +\n * JSDoc) by splicing at the `export const generatedResolvedBrandAssets`\n * marker and re-emitting only the export. The output is valid TS that\n * compiles: `import type { BrandAssetConfig } from '@wildo-ai/saas-specifications'`\n * stays in the header, and the const is typed `BrandAssetConfig[]`.\n */\n private async rewriteResolvedAssetsModule(\n modulePath: string,\n assets: BrandAssetConfig[],\n generatedAt: string,\n ): Promise<void> {\n const existing = await readFile(modulePath, 'utf8').catch(() => null);\n const header = this.extractModuleHeader(existing);\n const body =\n `export const generatedResolvedBrandAssets: BrandAssetConfig[] = ${this.serializeAssets(assets)};\\n`;\n const banner =\n `// Promoted by the brand ACCEPT step (BrandAcceptCompanionService) at ${generatedAt}.\\n`\n + `// Do NOT hand-edit for AI-path promotions — re-run accept. Human path: replace files in\\n`\n + `// ./assets/ and edit this list directly.\\n`;\n await writeFile(modulePath, `${header}${banner}${body}`, 'utf8');\n }\n\n /**\n * Recover the module header (everything before the `generatedResolvedBrandAssets`\n * export) so the authored import + JSDoc survive the rewrite. Falls back to a\n * faithful minimal header if the file is missing or the marker is absent (e.g.\n * a human deleted it) — the accept step must still emit a compiling module.\n */\n private extractModuleHeader(existing: string | null): string {\n const marker = 'export const generatedResolvedBrandAssets';\n if (existing) {\n const index = existing.indexOf(marker);\n if (index >= 0) {\n return existing.slice(0, index);\n }\n }\n return (\n `import type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\\n\\n`\n + `/**\\n`\n + ` * GENERATED + COMMITTED brand assets — the ACCEPTED logo set. This is the\\n`\n + ` * source-of-truth \\`resolvedAssets\\` consumed by the application-owned brand snapshot.\\n`\n + ` * The image files live beside this file in \\`./assets/\\`; each entry's\\n`\n + ` * \\`storageRef\\` is a path relative to THIS spec's brand folder.\\n`\n + ` */\\n`\n );\n }\n\n /** Serialize the promoted assets as an idiomatic TS array literal (unquoted keys, single-quoted strings). */\n private serializeAssets(assets: BrandAssetConfig[]): string {\n if (assets.length === 0) return '[]';\n const entries = assets.map((asset) => this.serializeAsset(asset));\n return `[\\n${entries.join('\\n')}\\n]`;\n }\n\n private serializeAsset(asset: BrandAssetConfig): string {\n const lines: string[] = [' {'];\n const push = (key: string, value: string): void => {\n lines.push(` ${key}: ${value},`);\n };\n push('ref', this.q(asset.ref));\n push('composition', this.q(asset.composition));\n push('theme', this.q(asset.theme));\n push('purpose', this.q(asset.purpose));\n push('storageRef', this.q(asset.storageRef));\n push('format', this.q(asset.format));\n if (asset.width !== undefined) push('width', String(asset.width));\n if (asset.height !== undefined) push('height', String(asset.height));\n if (asset.derivedFrom !== undefined) push('derivedFrom', this.q(asset.derivedFrom));\n push('generatedAt', this.q(asset.generatedAt));\n lines.push(' },');\n return lines.join('\\n');\n }\n\n /** Single-quote a string for TS source emission, escaping backslashes + single quotes. */\n private q(value: string): string {\n return `'${value.replace(/\\\\/g, '\\\\\\\\').replace(/'/g, \"\\\\'\")}'`;\n }\n\n /**\n * Pick the first backend service — the `brand-render-prompt` behavior routes\n * to the `specifications` target every backend service declares (mirror of\n * `LogoGenerationCompanionService.pickBrandCarrierServiceKey`).\n */\n private pickBrandCarrierServiceKey(): string {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: {\n message: 'No backend service is available to resolve the brand-render-prompt behavior '\n + '(needed for the judge review). It routes to the `specifications` target, declared on '\n + 'every backend service.',\n },\n });\n }\n return backendServiceKey;\n }\n}\n"]}
1
+ {"version":3,"file":"brand-accept.companion.service.js","sourceRoot":"","sources":["../../../../../src/brand/services/brand-accept.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAElB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,GAGV,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,gBAAgB,EAChB,+BAA+B,GAEhC,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAC5H,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,iCAAiC,GAElC,MAAM,8BAA8B,CAAC;AAqCtC,MAAM,4BAA4B,GAAG,CAAC,aAAa,EAAE,WAAW,EAAE,OAAO,CAAU,CAAC;AACpF,MAAM,uBAAuB,GAAG,CAAC,gBAAgB,EAAE,KAAK,EAAE,OAAO,CAAU,CAAC;AAC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AIG;IACK,0BAA0B;QAChC,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC;aAC1E,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACrD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,aAAa,EAAE,SAAS,EAAE;gBACrE,sBAAsB,EAAE,2BAA2B,CAAC,aAAa;gBACjE,OAAO,EAAE;oBACP,OAAO,EAAE,8EAA8E;0BACnF,uFAAuF;0BACvF,wBAAwB;iBAC7B;aACF,CAAC,CAAC;QACL,CAAC;QACD,OAAO,iBAAiB,CAAC;IAC3B,CAAC;CACF,CAAA;AAreY,2BAA2B;IADvC,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAE9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;IAE/C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;qCAPO,aAAa;QAE1C,0BAA0B,oBAMT,6BAA6B;GAZpE,2BAA2B,CAqevC","sourcesContent":["import { copyFile, mkdir, readFile, writeFile } from 'node:fs/promises';\nimport { basename, resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n type AgentTraceContext,\n type FlowsActors_Agent_Invocation,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n} from '@wildo-ai/external-connectors-models';\nimport {\n BrandAssetFormat,\n BrandRenderPromptResponseSchema,\n type BrandAssetConfig,\n} from '@wildo-ai/saas-specifications';\nimport type { LLMProvider_ImageContent } from '@wildo-ai/external-connectors-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { LOGO_JUDGE_AGENT_REF } from '../models/logo-judge.actors-system.definitions';\nimport {\n BrandLogoJudgeRecommendation,\n BrandLogoJudgeVerdictSchema,\n BrandLogoJudgeVerdictStrictSchema,\n type BrandLogoJudgeVerdict,\n} from '../models/logo-judge.schemas';\n\n/**\n * The staging manifest written by `LogoGenerationCompanionService` or the logo deliberation\n * (`generated/brand/manifest.json`). Only `assets` is read here; the generation step's own verbatim\n * `prompt` cache key is ignored.\n */\ninterface GeneratedAssetManifest {\n assets: BrandAssetConfig[];\n}\n\nexport interface BrandAcceptOptions {\n /** Run the judge review point and include its verdict (default: true). */\n runJudge?: boolean;\n /**\n * Gate promotion on the judge: when true, a non-`ACCEPT` verdict throws\n * before any file is written. Default false — the human accept POST is the\n * authority and may override a `REVISE`/`REJECT` verdict (the judge is\n * advisory). Ignored when `runJudge` is false.\n */\n requireJudgeAcceptance?: boolean;\n}\n\n/** The promoted result surfaced back to the accept route. */\nexport interface BrandAcceptResult {\n /** SSOT-relative paths of the image files copied into `specifications/src/brand/assets/`. */\n promotedFiles: string[];\n /** The `BrandAssetConfig[]` written into `resolved-assets.generated.ts` (SSOT storageRefs). */\n promotedAssets: BrandAssetConfig[];\n /** The app-root-relative path of the rewritten SSOT module. */\n resolvedAssetsModulePath: string;\n /** The judge verdict when the judge ran and succeeded; null otherwise. */\n judgeVerdict: BrandLogoJudgeVerdict | null;\n /** Non-fatal warnings (e.g. the judge was requested but its LLM call failed). */\n warnings: string[];\n}\n\nconst GENERATED_BRAND_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'brand'] as const;\nconst SPEC_BRAND_DIR_SEGMENTS = ['specifications', 'src', 'brand'] as const;\nconst RESOLVED_ASSETS_MODULE = 'resolved-assets.generated.ts';\n/** The `storageRef` prefix promoted assets carry — relative to the brand spec folder. */\nconst SSOT_ASSET_REF_PREFIX = './assets';\n\n/**\n * Brand ACCEPT / PROMOTE companion service — the second, DECOUPLED half of the\n * brand/logo system (the first half is `LogoGenerationCompanionService`, which\n * generates candidates into staging).\n *\n * It performs the ACCEPT review-point promotion: it reads a staged candidate\n * from the generation STAGING area (`.wildo-saas/generated/brand/`), OPTIONALLY\n * invokes the `brand.logo.judge.agent` VISION review point (attaching the staged\n * master logo image so the judge scores the actual rendered pixels against the\n * authored brief) and includes its verdict, then PROMOTES the\n * accepted candidate into the specification SSOT: it copies the master +\n * derived image files into `specifications/src/brand/assets/` and rewrites\n * `specifications/src/brand/resolved-assets.generated.ts` so\n * `generatedResolvedBrandAssets` lists the promoted `BrandAssetConfig[]` with\n * `storageRef` now pointing at `./assets/<file>` (relative to the brand spec\n * folder). The application-owned brand snapshot composes that module through\n * its `resolvedAssets` field, so the promoted set becomes the source of truth\n * every brand-image consumer resolves against.\n *\n * **Human bypass.** The promote step is exactly what a HUMAN path performs by\n * hand: drop logo files into `specifications/src/brand/assets/` and list them\n * in `resolved-assets.generated.ts`. Because promotion works from ANY staged\n * candidate manifest (whether the image agent or a designer produced the\n * files), a human can bypass generation entirely — stage a hand-made master +\n * `manifest.json` under `.wildo-saas/generated/brand/` and run accept, or edit\n * the SSOT module directly. The accept step is a convenience over the SSOT, not\n * a gate on it.\n */\n@injectable()\nexport class BrandAcceptCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n ) {\n this.logDebug = this.logger.debugByType('BrandAcceptCompanionService');\n this.logger.setDebugTypeLogging('BrandAcceptCompanionService', true);\n }\n\n public async accept(\n options: BrandAcceptOptions = {},\n traceContext?: AgentTraceContext,\n ): Promise<BrandAcceptResult> {\n const runJudge = options.runJudge !== false;\n const warnings: string[] = [];\n\n // ── 1. Read + validate the staged candidate ────────────────\n const brandDir = resolve(this.companionContext.saasRoot, ...GENERATED_BRAND_DIR_SEGMENTS);\n const manifest = await this.readStagingManifest(brandDir);\n this.logDebug('brand accept — candidate loaded', { assetCount: manifest.assets.length });\n\n // ── 2. Judge review point (optional, advisory) ─────────────\n let judgeVerdict: BrandLogoJudgeVerdict | null = null;\n if (runJudge) {\n const outcome = await this.runJudgeReview(manifest, traceContext);\n if (outcome.verdict) {\n judgeVerdict = outcome.verdict;\n this.logDebug('brand accept — judge verdict', {\n recommendation: judgeVerdict.recommendation,\n overallScore: judgeVerdict.overallScore,\n });\n if (\n options.requireJudgeAcceptance\n && judgeVerdict.recommendation !== BrandLogoJudgeRecommendation.ACCEPT\n ) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n `Judge did not recommend ACCEPT (got ${judgeVerdict.recommendation}, `\n + `overallScore ${judgeVerdict.overallScore}) and \\`requireJudgeAcceptance\\` was set. `\n + `Rationale: ${judgeVerdict.rationale}`,\n },\n });\n }\n } else {\n // The judge is advisory: a failed LLM call must not block a human accept\n // (unless the human explicitly gated on it via requireJudgeAcceptance).\n if (options.requireJudgeAcceptance) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message:\n `\\`requireJudgeAcceptance\\` was set but the judge review could not complete: `\n + `${outcome.error ?? 'unknown error'}`,\n },\n });\n }\n warnings.push(`Judge review requested but did not complete: ${outcome.error ?? 'unknown error'}`);\n }\n }\n\n // ── 3. Promote: copy files → SSOT assets/ ──────────────────\n const specBrandDir = resolve(this.companionContext.saasRoot, ...SPEC_BRAND_DIR_SEGMENTS);\n const assetsDir = resolve(specBrandDir, 'assets');\n await mkdir(assetsDir, { recursive: true });\n\n const promotedAt = new Date().toISOString();\n const promotedAssets: BrandAssetConfig[] = [];\n const promotedFiles: string[] = [];\n\n for (const asset of manifest.assets) {\n const fileName = basename(asset.storageRef);\n const sourceFile = resolve(this.companionContext.saasRoot, asset.storageRef);\n const destFile = resolve(assetsDir, fileName);\n\n try {\n await copyFile(sourceFile, destFile);\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message:\n `Failed to copy staged asset '${asset.ref}' from '${asset.storageRef}' into the `\n + `specification SSOT assets/ folder: `\n + describeCaughtError(error),\n },\n });\n }\n\n promotedAssets.push({\n ...asset,\n // Rewrite the storage locator to the SSOT-relative path; preserve\n // composition / theme / purpose / derivedFrom; stamp the\n // acceptance moment as generatedAt.\n storageRef: `${SSOT_ASSET_REF_PREFIX}/${fileName}`,\n generatedAt: promotedAt,\n });\n promotedFiles.push(`${SPEC_BRAND_DIR_SEGMENTS.join('/')}/assets/${fileName}`);\n }\n\n // ── 4. Rewrite the SSOT module ─────────────────────────────\n const resolvedAssetsPath = resolve(specBrandDir, RESOLVED_ASSETS_MODULE);\n await this.rewriteResolvedAssetsModule(resolvedAssetsPath, promotedAssets, promotedAt);\n\n const resolvedAssetsModulePath = `${SPEC_BRAND_DIR_SEGMENTS.join('/')}/${RESOLVED_ASSETS_MODULE}`;\n this.logDebug('brand accept — promoted to SSOT', {\n promotedFiles: promotedFiles.length,\n resolvedAssetsModulePath,\n });\n\n return {\n promotedFiles,\n promotedAssets,\n resolvedAssetsModulePath,\n judgeVerdict,\n warnings,\n };\n }\n\n /** Read + shape-check the staging manifest; a missing/invalid manifest is a clear VALIDATION error. */\n private async readStagingManifest(brandDir: string): Promise<GeneratedAssetManifest> {\n let raw: string;\n try {\n raw = await readFile(resolve(brandDir, 'manifest.json'), 'utf8');\n } catch {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n 'No staged logo candidate found. Expected a manifest at '\n + '`.wildo-saas/generated/brand/manifest.json` (produced by `POST /api/companion/brand/generate-logo`, '\n + 'or dropped there by a human path).',\n },\n });\n }\n\n let manifest: GeneratedAssetManifest;\n try {\n manifest = JSON.parse(raw) as GeneratedAssetManifest;\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Staged brand manifest is not valid JSON: ${describeCaughtError(error)}`,\n },\n });\n }\n\n if (\n !manifest\n || !Array.isArray(manifest.assets)\n || manifest.assets.length === 0\n ) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message:\n 'Staged brand manifest is malformed — expected `{ assets: BrandAssetConfig[] }` '\n + 'with at least one asset.',\n },\n });\n }\n\n return manifest;\n }\n\n /**\n * Run the JUDGE review point as a TRUE VISION review: re-assemble the current\n * brief (via the `brand-render-prompt` introspection subprocess, the same\n * source the logo generation step used), READ the staged master logo image off\n * disk and base64-encode it, then invoke `brand.logo.judge.agent`\n * (GENERATE_STRUCTURED with a VISION image part) so the model SCORES the actual\n * rendered pixels against the brief and returns the strict-validated verdict.\n *\n * The master image rides the engine's multimodal structured-generation path\n * (`LLMProvider_GenerateStructuredInputSchema.images`): the AI SDK feeds the\n * pixels to the vision-capable model (`gpt-4o`) while still constraining the\n * answer to {@link BrandLogoJudgeVerdictSchema}. The structural asset\n * descriptors (the derived asset set) remain in the text prompt as\n * SUPPORTING metadata — they answer \"is the asset set complete?\", which the\n * pixels alone cannot. When the master is not a vision-readable raster\n * (e.g. a hand-staged SVG master), the image is omitted and the judge degrades\n * to the structural review, noted in the prompt so it never silently pretends\n * to have seen pixels it could not decode.\n *\n * Best-effort by design: any failure (subprocess, provider, malformed output,\n * unreadable image) is returned as `{ verdict: null, error }` so the caller can\n * decide whether to proceed (advisory) or fail (`requireJudgeAcceptance`).\n */\n private async runJudgeReview(\n manifest: GeneratedAssetManifest,\n traceContext?: AgentTraceContext,\n ): Promise<{ verdict: BrandLogoJudgeVerdict | null; error?: string }> {\n try {\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: this.pickBrandCarrierServiceKey(),\n behavior: 'brand-render-prompt',\n input: {},\n });\n if (introspection.success === false) {\n return { verdict: null, error: `brief assembly failed: ${introspection.error.message}` };\n }\n\n const render = BrandRenderPromptResponseSchema.parse(introspection.data);\n const masterImage = await this.loadMasterImageForJudge(manifest);\n const prompt = this.buildJudgePrompt(render.prompt, manifest, masterImage.attached);\n\n const input: {\n prompt: string;\n schema: typeof BrandLogoJudgeVerdictSchema;\n images?: LLMProvider_ImageContent[];\n } = { prompt, schema: BrandLogoJudgeVerdictSchema };\n if (masterImage.image) {\n input.images = [masterImage.image];\n }\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: LOGO_JUDGE_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input,\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const rawObject = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = BrandLogoJudgeVerdictStrictSchema.safeParse(rawObject);\n if (!parsed.success) {\n return {\n verdict: null,\n error:\n 'judge returned a verdict that does not match the contract: '\n + parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n };\n }\n return { verdict: parsed.data };\n } catch (error) {\n return { verdict: null, error: describeCaughtError(error) };\n }\n }\n\n /**\n * Locate the staged MASTER logo (the generated primary — the single asset with\n * no `derivedFrom`), read its bytes off disk and return a base64 data-URI image\n * part the judge invocation attaches for vision review.\n *\n * Only vision-readable RASTER masters (PNG / WEBP) are attached; a non-raster\n * master (a hand-staged SVG / ICO the model cannot decode) returns\n * `{ image: null, attached: false }` so the judge degrades to a structural\n * review rather than shipping an undecodable part to the provider. A read\n * failure likewise degrades (best-effort — the caller already treats a\n * verdict-less outcome as advisory).\n */\n private async loadMasterImageForJudge(\n manifest: GeneratedAssetManifest,\n ): Promise<{ image: LLMProvider_ImageContent | null; attached: boolean }> {\n const master = manifest.assets.find((asset) => !asset.derivedFrom) ?? manifest.assets[0];\n if (!master) {\n return { image: null, attached: false };\n }\n\n const mediaType = this.rasterMediaTypeForFormat(master.format);\n if (!mediaType) {\n this.logDebug('brand accept — master is not a vision-readable raster; judge degrades to structural review', {\n masterRef: master.ref,\n format: master.format,\n });\n return { image: null, attached: false };\n }\n\n try {\n const bytes = await readFile(resolve(this.companionContext.saasRoot, master.storageRef));\n const dataUri = `data:${mediaType};base64,${bytes.toString('base64')}`;\n return { image: { type: 'image', image: dataUri }, attached: true };\n } catch (error) {\n this.logDebug('brand accept — could not read master image for judge; degrading to structural review', {\n masterRef: master.ref,\n storageRef: master.storageRef,\n error: describeCaughtError(error),\n });\n return { image: null, attached: false };\n }\n }\n\n /** Map a raster brand-asset format to its IANA media type; non-raster formats (SVG/ICO) return null (not vision-readable). */\n private rasterMediaTypeForFormat(format: BrandAssetConfig['format']): string | null {\n switch (format) {\n case BrandAssetFormat.PNG:\n return 'image/png';\n case BrandAssetFormat.WEBP:\n return 'image/webp';\n default:\n return null;\n }\n }\n\n /**\n * Compose the judge text prompt: the desired-mark brief + a structural\n * description of the staged candidate. When `imageAttached` is true the master\n * logo image travels alongside this text as a vision part (see\n * {@link runJudgeReview}); the prompt then directs the model to judge the\n * PIXELS it can see, using the asset descriptors only as supporting metadata.\n * When false the model has no pixels and judges structurally, and the prompt\n * says so honestly.\n */\n private buildJudgePrompt(\n briefPrompt: string,\n manifest: GeneratedAssetManifest,\n imageAttached: boolean,\n ): string {\n const lines: string[] = [];\n lines.push('# Brand brief (the DESIRED logo)');\n lines.push(briefPrompt);\n lines.push('');\n lines.push('# Candidate under review (staged)');\n lines.push(\n imageAttached\n ? '- The generated MASTER logo image is ATTACHED to this message. Judge what you actually SEE.'\n : '- NOTE: the master image could not be attached (not a vision-readable raster, or unreadable). '\n + 'Judge structurally from the descriptors below and say so in your rationale.',\n );\n lines.push(`- asset count: ${manifest.assets.length}`);\n lines.push('- assets:');\n for (const asset of manifest.assets) {\n const dims = asset.width && asset.height ? ` ${asset.width}x${asset.height}` : '';\n const derived = asset.derivedFrom ? ` derivedFrom=${asset.derivedFrom}` : ' (generated primary — the ATTACHED master)';\n lines.push(\n ` - ${asset.ref}: ${asset.composition}/${asset.theme}/${asset.purpose} `\n + `${asset.format}${dims}${derived}`,\n );\n }\n lines.push('');\n lines.push('# Your task');\n lines.push(\n imageAttached\n ? 'Judge how well the ATTACHED master logo satisfies the brief. Evaluate what you SEE: '\n + 'composition + visual balance, legibility when scaled down to a favicon/small size, '\n + 'on-brand aesthetic + colour, and adherence to the authored mark direction + symbolism '\n + '(and respect for the avoid-list). Use the asset descriptors above only for asset-set '\n + 'completeness/coherence. Score overall fit, brief alignment, and production '\n + 'craft. Give a recommendation (ACCEPT / REVISE / REJECT), a rationale grounded in the '\n + 'image, concrete strengths, and concrete concerns. Do not invent details you cannot see.'\n : 'Judge how well this candidate satisfies the brief from the descriptors above (no image was '\n + 'available). Score overall fit, brief alignment (mark direction + symbolism honoured, '\n + 'avoid-list respected), and production craft (asset-set completeness + coherence). '\n + 'Give a recommendation (ACCEPT / REVISE / REJECT), a rationale, concrete strengths, and '\n + 'concrete concerns. Judge only from the brief and descriptors — do not invent facts.',\n );\n return lines.join('\\n');\n }\n\n /**\n * Rewrite `resolved-assets.generated.ts` so `generatedResolvedBrandAssets`\n * lists the promoted assets. Preserves the file's existing header (import +\n * JSDoc) by splicing at the `export const generatedResolvedBrandAssets`\n * marker and re-emitting only the export. The output is valid TS that\n * compiles: `import type { BrandAssetConfig } from '@wildo-ai/saas-specifications'`\n * stays in the header, and the const is typed `BrandAssetConfig[]`.\n */\n private async rewriteResolvedAssetsModule(\n modulePath: string,\n assets: BrandAssetConfig[],\n generatedAt: string,\n ): Promise<void> {\n const existing = await readFile(modulePath, 'utf8').catch(() => null);\n const header = this.extractModuleHeader(existing);\n const body =\n `export const generatedResolvedBrandAssets: BrandAssetConfig[] = ${this.serializeAssets(assets)};\\n`;\n const banner =\n `// Promoted by the brand ACCEPT step (BrandAcceptCompanionService) at ${generatedAt}.\\n`\n + `// Do NOT hand-edit for AI-path promotions — re-run accept. Human path: replace files in\\n`\n + `// ./assets/ and edit this list directly.\\n`;\n await writeFile(modulePath, `${header}${banner}${body}`, 'utf8');\n }\n\n /**\n * Recover the module header (everything before the `generatedResolvedBrandAssets`\n * export) so the authored import + JSDoc survive the rewrite. Falls back to a\n * faithful minimal header if the file is missing or the marker is absent (e.g.\n * a human deleted it) — the accept step must still emit a compiling module.\n */\n private extractModuleHeader(existing: string | null): string {\n const marker = 'export const generatedResolvedBrandAssets';\n if (existing) {\n const index = existing.indexOf(marker);\n if (index >= 0) {\n return existing.slice(0, index);\n }\n }\n return (\n `import { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme } from '@wildo-ai/saas-specifications';\\n`\n + `import type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\\n\\n`\n + `/**\\n`\n + ` * GENERATED + COMMITTED brand assets — the ACCEPTED logo set. This is the\\n`\n + ` * source-of-truth \\`resolvedAssets\\` consumed by the application-owned brand snapshot.\\n`\n + ` * The image files live beside this file in \\`./assets/\\`; each entry's\\n`\n + ` * \\`storageRef\\` is a path relative to THIS spec's brand folder.\\n`\n + ` */\\n`\n );\n }\n\n /** Serialize the promoted assets as an idiomatic TS array literal (unquoted keys, single-quoted strings). */\n private serializeAssets(assets: BrandAssetConfig[]): string {\n if (assets.length === 0) return '[]';\n const entries = assets.map((asset) => this.serializeAsset(asset));\n return `[\\n${entries.join('\\n')}\\n]`;\n }\n\n private serializeAsset(asset: BrandAssetConfig): string {\n const lines: string[] = [' {'];\n const push = (key: string, value: string): void => {\n lines.push(` ${key}: ${value},`);\n };\n push('ref', this.q(asset.ref));\n /*\n * The four closed vocabularies are emitted as ENUM MEMBERS, never as quoted strings.\n *\n * `BrandAssetConfig` types these fields as `BrandAssetComposition`, `BrandAssetTheme`,\n * `BrandAssetPurpose` and `BrandAssetFormat`. A quoted literal is not assignable to a TS enum, so\n * emitting `composition: 'SYMBOL'` produced `TS2322: Type '\"SYMBOL\"' is not assignable to type\n * 'BrandAssetComposition'` — and the file this writes lives in the application's SPECIFICATIONS\n * package, whose typecheck is a required verification for every spec-stage and view build task.\n *\n * Measured on the first end-to-end journey run (#1273): the brand accept step promoted nine\n * assets at 08:34 and every spec-stage and view task from that moment on failed\n * `check:specifications-typecheck`, authored nothing, and was re-dispatched. 36 errors, all in\n * this one generated file, and the whole band stalled behind them for hours.\n *\n * The member NAME equals its VALUE in all four enums, so the mapping is direct rather than a\n * lookup — and if that ever stops being true this line breaks loudly at the application's\n * typecheck, which is where it should break.\n */\n push('composition', `BrandAssetComposition.${asset.composition}`);\n push('theme', `BrandAssetTheme.${asset.theme}`);\n push('purpose', `BrandAssetPurpose.${asset.purpose}`);\n push('storageRef', this.q(asset.storageRef));\n push('format', `BrandAssetFormat.${asset.format}`);\n if (asset.width !== undefined) push('width', String(asset.width));\n if (asset.height !== undefined) push('height', String(asset.height));\n if (asset.derivedFrom !== undefined) push('derivedFrom', this.q(asset.derivedFrom));\n push('generatedAt', this.q(asset.generatedAt));\n lines.push(' },');\n return lines.join('\\n');\n }\n\n /** Single-quote a string for TS source emission, escaping backslashes + single quotes. */\n private q(value: string): string {\n return `'${value.replace(/\\\\/g, '\\\\\\\\').replace(/'/g, \"\\\\'\")}'`;\n }\n\n /**\n * Pick the first backend service — the `brand-render-prompt` behavior routes\n * to the `specifications` target every backend service declares (mirror of\n * `LogoGenerationCompanionService.pickBrandCarrierServiceKey`).\n */\n private pickBrandCarrierServiceKey(): string {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: {\n message: 'No backend service is available to resolve the brand-render-prompt behavior '\n + '(needed for the judge review). It routes to the `specifications` target, declared on '\n + 'every backend service.',\n },\n });\n }\n return backendServiceKey;\n }\n}\n"]}
@@ -24,6 +24,13 @@ export interface LogoDeliberationResult {
24
24
  };
25
25
  warnings: string[];
26
26
  }
27
+ /**
28
+ * Every role the logo step SEATS, for the roster `top_down.expert-personas` staffs (#572). Derived from
29
+ * the three constants above rather than re-listed, so a seat added to the panel is staffed by existing.
30
+ * A generation step is not a playbook declaration, which is why the runtime's roster function takes
31
+ * these as `additionalConveners` instead of reading them off the catalog.
32
+ */
33
+ export declare const LOGO_PANEL_ROLE_REFS: readonly string[];
27
34
  /**
28
35
  * Brand-logo DELIBERATION (agentic deliberation system, Step 4) — the
29
36
  * IMAGE adopter that REPLACES the deleted taste-as-code interim
@@ -1 +1 @@
1
- {"version":3,"file":"logo-deliberation.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/brand/services/logo-deliberation.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EAIb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAKL,KAAK,iBA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ExD,YAAY,EAAE,0BAA0B,EAExC,mBAAmB,EAAE,0BAA0B,EAE/C,aAAa,EAAE,oBAAoB,EAEnC,gBAAgB,EAAE,gBAAgB,EAElC,6BAA6B,EAAE,6BAA6B,EAE5D,oBAAoB,EAAE,4BAA4B;IAMxD,GAAG,CACd,OAAO,GAAE,uBAA4B,EACrC,YAAY,CAAC,EAAE,iBAAiB,GAC/B,OAAO,CAAC,sBAAsB,CAAC;IA4LlC,mFAAmF;YACrE,mBAAmB;IAwBjC;;;;;OAKG;YACW,mBAAmB;IAsDjC;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,mBAAmB;IAe3B;;;;OAIG;YACW,sBAAsB;IAoDpC,sFAAsF;YACxE,mBAAmB;CA0BlC"}
1
+ {"version":3,"file":"logo-deliberation.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/brand/services/logo-deliberation.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EAIb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAKL,KAAK,iBAAiB,EAGtB,KAAK,kBAAkB,EAExB,MAAM,uBAAuB,CAAC;AAS/B,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAC5H,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAG3G,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAG/C,MAAM,WAAW,uBAAuB;IACtC,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,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@@ -30,6 +30,13 @@ const BRAND_STAGING_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'brand'];
30
30
  const LOGO_REVIEWER_ROLES = ['art-director', 'design-system-guardian', 'brand-strategist'];
31
31
  const LOGO_COORDINATOR_ROLE = 'brand-strategist';
32
32
  const LOGO_RUBRIC_DERIVER_ROLE = 'art-director';
33
+ /**
34
+ * Every role the logo step SEATS, for the roster `top_down.expert-personas` staffs (#572). Derived from
35
+ * the three constants above rather than re-listed, so a seat added to the panel is staffed by existing.
36
+ * A generation step is not a playbook declaration, which is why the runtime's roster function takes
37
+ * these as `additionalConveners` instead of reading them off the catalog.
38
+ */
39
+ export const LOGO_PANEL_ROLE_REFS = [...new Set([...LOGO_REVIEWER_ROLES, LOGO_COORDINATOR_ROLE, LOGO_RUBRIC_DERIVER_ROLE])];
33
40
  /**
34
41
  * Brand-logo DELIBERATION (agentic deliberation system, Step 4) — the
35
42
  * IMAGE adopter that REPLACES the deleted taste-as-code interim
@@ -1 +1 @@
1
- {"version":3,"file":"logo-deliberation.companion.service.js","sourceRoot":"","sources":["../../../../src/brand/services/logo-deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EAErB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EACT,gBAAgB,EAChB,uBAAuB,GAMxB,MAAM,uBAAuB,CAAC;AAS/B,OAAO,EACL,qBAAqB,EACrB,+BAA+B,GAEhC,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O,EAAE,8CAA8C,EAAE;aACrE,CAAC,CAAC;QACL,CAAC;QACD,MAAM,OAAO,GAAG,MAAM,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;QACjF,OAAO,qBAAqB,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;CACF,CAAA;AA1ZY,gCAAgC;IAD5C,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAE9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAA;IAErD,WAAA,MAAM,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;IAE/C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;IAEpD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;qCAXQ,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,oBAMhB,6BAA6B;QAEtC,4BAA4B;GAhB1D,gCAAgC,CA0Z5C","sourcesContent":["import { createHash, randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ActorsSystemBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n removeSolidBackground,\n SAAS_SERVICE_TYPES,\n trimTransparentBorder,\n type AgentsBackendService,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n ExpertWorkDomain,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationPlan,\n type DeliberationRecord,\n type FlowsActors_Agent_Invocation,\n} from '@wildo-ai/saas-models';\nimport {\n ImageProvider_GenerateImageInputSchema,\n ImageProvider_GenerateImageOutputSchema,\n ImageProvider_OperationContext_BaseSchema,\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n type ImageProvider_GenerateImageOutput,\n} from '@wildo-ai/external-connectors-models';\nimport {\n BrandAssetComposition,\n BrandRenderPromptResponseSchema,\n type BrandAssetConfig,\n} from '@wildo-ai/saas-specifications';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { DeliberationCompanionService } from '../../deliberations/services/deliberation.companion.service';\nimport { expertAgentRefForRole } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { LOGO_GENERATION_AGENT_REF } from '../models/logo-generation.actors-system.definitions';\nimport {\n LogoCreativeBriefOutputSchema,\n LogoCreativeBriefOutputStrictSchema,\n LogoRevisedDirectionOutputSchema,\n LogoRevisedDirectionOutputStrictSchema,\n type LogoCreativeDirection,\n} from '../models/logo-creative-brief.schemas';\nimport { stageBrandCandidate } from '../utils/stage-brand-candidate';\n\nexport interface LogoDeliberationOptions {\n /** How many concept directions the art-director authors (default 4). */\n directionCount?: number;\n roundBudget?: number;\n shortlistSize?: number;\n}\n\nexport interface LogoDeliberationResult {\n record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n recordPath: string;\n /** The art-director's derived creative brief (audit). */\n directions: LogoCreativeDirection[];\n /** The winner, staged as the standard single-candidate manifest for accept-logo. */\n staged: { winnerRef: string; assets: BrandAssetConfig[] };\n warnings: string[];\n}\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\nconst BRAND_STAGING_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'brand'] as const;\n\n/** The logo deliberation's fixed panel (v1): craft + coherence + strategy lenses. */\nconst LOGO_REVIEWER_ROLES = ['art-director', 'design-system-guardian', 'brand-strategist'] as const;\nconst LOGO_COORDINATOR_ROLE = 'brand-strategist';\nconst LOGO_RUBRIC_DERIVER_ROLE = 'art-director';\n\n/**\n * Brand-logo DELIBERATION (agentic deliberation system, Step 4) — the\n * IMAGE adopter that REPLACES the deleted taste-as-code interim\n * (`LOGO_CONCEPT_LENSES` + the hardcoded selection judge):\n *\n * 1. The BRIEF comes from the DOMAIN OWNER: the art-director expert\n * (charter-built agent, `BRIEF` capability) authors N genuinely\n * distinct concept directions from the assembled brand prompt — art\n * direction is DERIVED per app, never framework vocabulary.\n * 2. One candidate is GENERATED per direction (transparent-first\n * `gpt-image-1.5` via the logo agent) and cleaned + squared\n * (`removeSolidBackground` → `trimTransparentBorder`).\n * 3. The ENGINE deliberation runs the panel: art-director (craft lens) +\n * design-system-guardian (coherence lens) + brand-strategist\n * (strategy lens) review every candidate against the art-director's\n * per-run rubric; the coordinator (brand-strategist) shortlists;\n * REVISION = REGENERATION (RF-4): the producer re-invokes the image\n * agent with the candidate's ROOT DIRECTION + the panel's critique\n * addendum, then cleans + squares the new master.\n * 4. The WINNER is staged as the standard single-candidate brand manifest\n * (`stageBrandCandidate` + `manifest.json`) — the EXISTING\n * `POST /brand/accept-logo` review point promotes it to the SSOT\n * unchanged (human authority preserved).\n *\n * Charter/narrowness composition is delegated to the shared\n * `DeliberationCompanionService` seams (`readCommittedCharters` +\n * `bindExpert`) — reviewers gate on `reviewScopes` (lens reach), the\n * rubric deriver on `workDomains` (ownership).\n */\n@injectable()\nexport class LogoDeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n @inject(COMPANION_SERVICE_TYPES.DeliberationService)\n private readonly deliberationComposer: DeliberationCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('LogoDeliberationCompanionService');\n this.logger.setDebugTypeLogging('LogoDeliberationCompanionService', true);\n }\n\n public async run(\n options: LogoDeliberationOptions = {},\n traceContext?: AgentTraceContext,\n ): Promise<LogoDeliberationResult> {\n const warnings: string[] = [];\n const directionCount = options.directionCount ?? 4;\n\n // ── 1. Assemble the brand prompt (shared brand-render-prompt seam) ──\n const basePrompt = await this.assembleBrandPrompt();\n\n // ── 2. Panel composition (shared composer seams; narrowness gated) ──\n const charters = await this.deliberationComposer.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const reviewers = LOGO_REVIEWER_ROLES.map((roleRef) =>\n this.deliberationComposer.bindExpert(roleRef, charterByRole, {\n reviewDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n }));\n const coordinator = this.deliberationComposer.bindExpert(LOGO_COORDINATOR_ROLE, charterByRole, {});\n const rubricDeriver = this.deliberationComposer.bindExpert(LOGO_RUBRIC_DERIVER_ROLE, charterByRole, {\n ownDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n });\n\n // ── 3. Creative brief from the DOMAIN OWNER (BRIEF capability) ──\n const directions = await this.deriveCreativeBrief(basePrompt, directionCount, traceContext);\n\n const deliberationRef = `delib-visual_brand_mark-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(\n this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef,\n );\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n\n // ── 4. One candidate per direction (parallel; failures degrade with a warning) ──\n const rootDirectionByRef = new Map<string, LogoCreativeDirection>();\n const generated = await Promise.all(directions.map(async (direction) => {\n try {\n const master = await this.generateCleanMaster(\n this.composeMasterPrompt(\n basePrompt,\n `CONCEPT DIRECTION for this specific mark — ${direction.label}: ${direction.artDirection}`,\n ),\n traceContext,\n );\n const fileName = `${direction.ref}.png`;\n await writeFile(resolve(candidatesDirAbs, fileName), master);\n const candidate: DeliberationCandidateInput = {\n ref: direction.ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.IMAGE,\n imageDataUri: `data:image/png;base64,${master.toString('base64')}`,\n },\n };\n rootDirectionByRef.set(direction.ref, direction);\n return candidate;\n } catch (error) {\n warnings.push(`Direction '${direction.ref}' failed to generate and was skipped: `\n + describeCaughtError(error));\n return null;\n }\n }));\n const initialCandidates = generated.filter(\n (candidate): candidate is DeliberationCandidateInput => candidate !== null,\n );\n if (initialCandidates.length < 2) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message: `Logo deliberation needs ≥2 generated candidates to deliberate (got ${initialCandidates.length}). `\n + 'Check the OpenAI IMAGE_PROVIDER configuration.',\n },\n });\n }\n\n // ── 5. IMAGE producer: revision = REGENERATION (RF-4) ──────\n let revisionSequence = 0;\n const producer = {\n produceRevision: async (\n parent: DeliberationCandidateInput,\n revisionPrompt: string,\n ): Promise<DeliberationCandidateInput> => {\n const rootDirection = rootDirectionByRef.get(parent.ref);\n if (!rootDirection) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `No root direction tracked for candidate '${parent.ref}'.` },\n });\n }\n // TRANSLATE, then regenerate: the engine's revisionPrompt is a\n // critique DIFF (\"address every point below\") written for an LLM —\n // image models execute target-state descriptions, not diffs. The\n // art-director (domain owner) rewrites {root direction + critiques}\n // into one self-contained revised direction; the record still carries\n // the raw revisionPrompt as revision provenance.\n const revisedArtDirection = await this.deriveRevisedDirection(\n basePrompt, rootDirection, revisionPrompt, traceContext,\n );\n const master = await this.generateCleanMaster(\n this.composeMasterPrompt(\n basePrompt,\n `CONCEPT DIRECTION for this specific mark — ${rootDirection.label} (revised after panel review): ${revisedArtDirection}`,\n ),\n traceContext,\n );\n revisionSequence += 1;\n const ref = `${parent.ref}-rev${revisionSequence}`;\n const fileName = `${ref}.png`;\n await writeFile(resolve(candidatesDirAbs, fileName), master);\n rootDirectionByRef.set(ref, rootDirection);\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.IMAGE,\n imageDataUri: `data:image/png;base64,${master.toString('base64')}`,\n },\n };\n },\n };\n\n // ── 6. Engine deliberation ─────────────────────────────────\n const briefContext = [\n basePrompt,\n '',\n '# Creative brief (derived by the art-director)',\n ...directions.map((direction) => `- \\`${direction.ref}\\` — ${direction.label}: ${direction.artDirection}`),\n ].join('\\n');\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n subjectKind: FlowsActors_IO_PartKind.IMAGE,\n briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n producerAgentRef: LOGO_GENERATION_AGENT_REF,\n producer,\n initialCandidates,\n roundBudget: options.roundBudget ?? 2,\n shortlistSize: options.shortlistSize ?? 1,\n };\n const record = await this.actorsSystemService.executeDeliberation(plan, traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(resolve(deliberationDirAbs, 'record.json'), `${JSON.stringify(record, null, 2)}\\n`, 'utf8');\n\n // ── 7. Stage the WINNER for the existing accept-logo review point ──\n const winnerRef = record.synthesis?.winnerRef;\n if (!winnerRef) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: 'Deliberation finished without a synthesis winner — nothing to stage.' },\n });\n }\n const winnerFile = resolve(candidatesDirAbs, `${winnerRef}.png`);\n const { readFile } = await import('node:fs/promises');\n const winnerBytes = await readFile(winnerFile);\n const brandDir = resolve(this.companionContext.saasRoot, ...BRAND_STAGING_DIR_SEGMENTS);\n const staged = await stageBrandCandidate({\n brandDir,\n masterBuffer: winnerBytes,\n masterComposition: BrandAssetComposition.SYMBOL,\n generatedAt: new Date().toISOString(),\n storageDir: BRAND_STAGING_DIR_SEGMENTS.join('/'),\n onDeriveDegraded: (reason) => {\n warnings.push(`Derived-asset pipeline unavailable — winner staged master-only: ${reason}`);\n },\n });\n await writeFile(\n resolve(brandDir, 'manifest.json'),\n `${JSON.stringify({ assets: staged.assets }, null, 2)}\\n`,\n 'utf8',\n );\n\n this.logDebug('logo deliberation complete', {\n deliberationRef,\n status: record.status,\n rounds: record.rounds.length,\n winnerRef,\n directions: directions.length,\n candidates: initialCandidates.length,\n });\n return {\n record,\n recordPath,\n directions,\n staged: { winnerRef, assets: staged.assets },\n warnings,\n };\n }\n\n /** Assemble the brand prompt through the shared `brand-render-prompt` behavior. */\n private async assembleBrandPrompt(): Promise<string> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: { message: 'No backend service available to resolve brand-render-prompt.' },\n });\n }\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'brand-render-prompt',\n input: {},\n });\n if (introspection.success === false) {\n const failure = introspection;\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: failure.error.message, behavior: failure.behavior },\n });\n }\n return BrandRenderPromptResponseSchema.parse(introspection.data).prompt;\n }\n\n /**\n * The art-director authors the creative brief (BRIEF capability): N\n * genuinely distinct concept directions, derived from the brand prompt.\n * Direction refs are service-validated (kebab-case, unique) — a bad echo\n * re-asks once, then fails.\n */\n private async deriveCreativeBrief(\n basePrompt: string,\n directionCount: number,\n traceContext?: AgentTraceContext,\n ): Promise<LogoCreativeDirection[]> {\n const refPattern = /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;\n let lastError = '';\n for (let attempt = 1; attempt <= 2; attempt += 1) {\n const prompt = [\n basePrompt,\n '',\n '# Your task — author the CREATIVE BRIEF for a logo exploration',\n `Author exactly ${directionCount} genuinely DISTINCT concept directions for this mark — one `\n + 'compositional idea each, studio-voiced, concrete enough for an image model to execute. '\n + 'Each direction: a stable kebab-case `ref`, a short `label`, and the `artDirection` naming '\n + 'the ONE idea, the two-color application (which color leads, where the single accent beat '\n + 'lands), and the craft posture. The directions must explore meaningfully different '\n + 'territories (e.g. negative space vs continuous line vs modular construction vs contained '\n + 'emblem) — no two variations of the same idea.',\n attempt === 2 ? `# PREVIOUS ATTEMPT REJECTED\\n${lastError}\\nCorrect the output.` : '',\n ].filter((part) => part.length > 0).join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: expertAgentRefForRole(LOGO_RUBRIC_DERIVER_ROLE),\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: LogoCreativeBriefOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = LogoCreativeBriefOutputStrictSchema.safeParse(raw);\n if (!parsed.success) {\n lastError = parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ');\n continue;\n }\n const refs = parsed.data.directions.map((direction) => direction.ref);\n if (new Set(refs).size !== refs.length || refs.some((ref) => !refPattern.test(ref))) {\n lastError = `Direction refs must be unique kebab-case (got [${refs.join(', ')}]).`;\n continue;\n }\n return parsed.data.directions;\n }\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `Creative-brief derivation failed validation twice: ${lastError}` },\n });\n }\n\n /**\n * Compose one image-model prompt with a stable section structure: brand\n * prompt → concept direction → MECHANICAL master constraints LAST (image\n * models weight the prompt tail; the flat run-on composition of the first\n * live run buried the base prompt's guardrails under the long direction\n * text and shipped gradients/halos/border boxes).\n *\n * The trailing block is deliberately TRANSPORT-mechanical, not taste: the\n * master feeds `removeSolidBackground` → `trimTransparentBorder`, and\n * glows/soft edges break background removal while an enclosing frame\n * survives the trim and poisons every derived asset. Taste stays derived\n * (the direction text) — this block only protects the derivation pipeline.\n */\n private composeMasterPrompt(basePrompt: string, directionBlock: string): string {\n return [\n basePrompt,\n '',\n directionBlock,\n '',\n 'MASTER OUTPUT REQUIREMENTS (mechanical — this master is post-processed by background '\n + 'removal and border trimming): exactly one isolated mark; fully transparent or solid '\n + 'uniform background only; NO enclosing frame, border box, outline rectangle, or '\n + 'background panel around the mark; flat solid color fills with hard, sharp edges — no '\n + 'gradients, glows, halos, soft shadows, or blur (they break background removal); '\n + 'no text or letters anywhere.',\n ].join('\\n');\n }\n\n /**\n * The art-director translates {root direction + panel critiques} into ONE\n * revised, self-contained direction (target-state prose an image model can\n * execute). Retry-once-then-throw, mirroring `deriveCreativeBrief`.\n */\n private async deriveRevisedDirection(\n basePrompt: string,\n rootDirection: LogoCreativeDirection,\n revisionPrompt: string,\n traceContext?: AgentTraceContext,\n ): Promise<string> {\n let lastError = '';\n for (let attempt = 1; attempt <= 2; attempt += 1) {\n const prompt = [\n basePrompt,\n '',\n `# Root concept direction — ${rootDirection.label}`,\n rootDirection.artDirection,\n '',\n '# Panel review of the previous execution',\n revisionPrompt,\n '',\n '# Your task — rewrite the direction for regeneration',\n 'Author the REVISED `artDirection`: the same ONE concept as the root direction with every '\n + 'panel critique incorporated as a positive, observable property of the mark to CREATE. '\n + 'Self-contained target-state prose for an image model — describe only what the mark IS; '\n + 'never mention the previous attempt, the panel, or what to avoid fixing.',\n attempt === 2 ? `# PREVIOUS ATTEMPT REJECTED\\n${lastError}\\nCorrect the output.` : '',\n ].filter((part) => part.length > 0).join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: expertAgentRefForRole(LOGO_RUBRIC_DERIVER_ROLE),\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: LogoRevisedDirectionOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = LogoRevisedDirectionOutputStrictSchema.safeParse(raw);\n if (!parsed.success) {\n lastError = parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ');\n continue;\n }\n return parsed.data.artDirection;\n }\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `Revised-direction derivation failed validation twice: ${lastError}` },\n });\n }\n\n /** One image generation + the mandatory master cleanup (bg removal → trim/square). */\n private async generateCleanMaster(prompt: string, traceContext?: AgentTraceContext): Promise<Buffer> {\n const invocation: FlowsActors_Agent_Invocation<\n typeof ImageProvider_GenerateImageInputSchema,\n typeof ImageProvider_GenerateImageOutputSchema,\n typeof ImageProvider_OperationContext_BaseSchema\n > = {\n agentRef: LOGO_GENERATION_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt },\n output: { images: [] },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n const result = await this.agentsService.invokeAgent(invocation, traceContext);\n const output = result.output as ImageProvider_GenerateImageOutput;\n const image = output?.images?.[0];\n if (!image || typeof image.base64 !== 'string' || image.base64.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: 'The logo generation agent returned no image.' },\n });\n }\n const cleaned = await removeSolidBackground(Buffer.from(image.base64, 'base64'));\n return trimTransparentBorder(cleaned);\n }\n}\n"]}
1
+ {"version":3,"file":"logo-deliberation.companion.service.js","sourceRoot":"","sources":["../../../../../src/brand/services/logo-deliberation.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EAErB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,SAAS,EACT,gBAAgB,EAChB,uBAAuB,GAMxB,MAAM,uBAAuB,CAAC;AAS/B,OAAO,EACL,qBAAqB,EACrB,+BAA+B,GAEhC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAC5H,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,qBAAqB,EAAE,MAAM,0EAA0E,CAAC;AACjH,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,EACL,6BAA6B,EAC7B,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,GAEvC,MAAM,uCAAuC,CAAC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F,CAAA;AA1ZY,gCAAgC;IAD5C,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAE9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAA;IAErD,WAAA,MAAM,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;IAE/C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAEhD,WAAA,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;IAEpD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;qCAXQ,aAAa;QAE1C,0BAA0B;QAEnB,0BAA0B,oBAMhB,6BAA6B;QAEtC,4BAA4B;GAhB1D,gCAAgC,CA0Z5C","sourcesContent":["import { createHash, randomUUID } from 'node:crypto';\nimport { mkdir, writeFile } from 'node:fs/promises';\nimport { resolve } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport {\n ActorsSystemBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n removeSolidBackground,\n SAAS_SERVICE_TYPES,\n trimTransparentBorder,\n type AgentsBackendService,\n describeCaughtError,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n ErrorCustomMessageReference,\n ErrorType,\n ExpertWorkDomain,\n FlowsActors_IO_PartKind,\n type AgentTraceContext,\n type DeliberationCandidateInput,\n type DeliberationPlan,\n type DeliberationRecord,\n type FlowsActors_Agent_Invocation,\n} from '@wildo-ai/saas-models';\nimport {\n ImageProvider_GenerateImageInputSchema,\n ImageProvider_GenerateImageOutputSchema,\n ImageProvider_OperationContext_BaseSchema,\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n type ImageProvider_GenerateImageOutput,\n} from '@wildo-ai/external-connectors-models';\nimport {\n BrandAssetComposition,\n BrandRenderPromptResponseSchema,\n type BrandAssetConfig,\n} from '@wildo-ai/saas-specifications';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { DeliberationCompanionService } from '../../deliberations/services/deliberation.companion.service';\nimport { expertAgentRefForRole } from '../../deliberations/models/deliberation-agents.actors-system.definitions';\nimport { LOGO_GENERATION_AGENT_REF } from '../models/logo-generation.actors-system.definitions';\nimport {\n LogoCreativeBriefOutputSchema,\n LogoCreativeBriefOutputStrictSchema,\n LogoRevisedDirectionOutputSchema,\n LogoRevisedDirectionOutputStrictSchema,\n type LogoCreativeDirection,\n} from '../models/logo-creative-brief.schemas';\nimport { stageBrandCandidate } from '../utils/stage-brand-candidate';\n\nexport interface LogoDeliberationOptions {\n /** How many concept directions the art-director authors (default 4). */\n directionCount?: number;\n roundBudget?: number;\n shortlistSize?: number;\n}\n\nexport interface LogoDeliberationResult {\n record: DeliberationRecord;\n /** saasRoot-relative path of the persisted record. */\n recordPath: string;\n /** The art-director's derived creative brief (audit). */\n directions: LogoCreativeDirection[];\n /** The winner, staged as the standard single-candidate manifest for accept-logo. */\n staged: { winnerRef: string; assets: BrandAssetConfig[] };\n warnings: string[];\n}\n\nconst DELIBERATIONS_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'deliberations'] as const;\nconst BRAND_STAGING_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'brand'] as const;\n\n/** The logo deliberation's fixed panel (v1): craft + coherence + strategy lenses. */\nconst LOGO_REVIEWER_ROLES = ['art-director', 'design-system-guardian', 'brand-strategist'] as const;\nconst LOGO_COORDINATOR_ROLE = 'brand-strategist';\nconst LOGO_RUBRIC_DERIVER_ROLE = 'art-director';\n/**\n * Every role the logo step SEATS, for the roster `top_down.expert-personas` staffs (#572). Derived from\n * the three constants above rather than re-listed, so a seat added to the panel is staffed by existing.\n * A generation step is not a playbook declaration, which is why the runtime's roster function takes\n * these as `additionalConveners` instead of reading them off the catalog.\n */\nexport const LOGO_PANEL_ROLE_REFS: readonly string[] = [...new Set([...LOGO_REVIEWER_ROLES, LOGO_COORDINATOR_ROLE, LOGO_RUBRIC_DERIVER_ROLE])];\n\n/**\n * Brand-logo DELIBERATION (agentic deliberation system, Step 4) — the\n * IMAGE adopter that REPLACES the deleted taste-as-code interim\n * (`LOGO_CONCEPT_LENSES` + the hardcoded selection judge):\n *\n * 1. The BRIEF comes from the DOMAIN OWNER: the art-director expert\n * (charter-built agent, `BRIEF` capability) authors N genuinely\n * distinct concept directions from the assembled brand prompt — art\n * direction is DERIVED per app, never framework vocabulary.\n * 2. One candidate is GENERATED per direction (transparent-first\n * `gpt-image-1.5` via the logo agent) and cleaned + squared\n * (`removeSolidBackground` → `trimTransparentBorder`).\n * 3. The ENGINE deliberation runs the panel: art-director (craft lens) +\n * design-system-guardian (coherence lens) + brand-strategist\n * (strategy lens) review every candidate against the art-director's\n * per-run rubric; the coordinator (brand-strategist) shortlists;\n * REVISION = REGENERATION (RF-4): the producer re-invokes the image\n * agent with the candidate's ROOT DIRECTION + the panel's critique\n * addendum, then cleans + squares the new master.\n * 4. The WINNER is staged as the standard single-candidate brand manifest\n * (`stageBrandCandidate` + `manifest.json`) — the EXISTING\n * `POST /brand/accept-logo` review point promotes it to the SSOT\n * unchanged (human authority preserved).\n *\n * Charter/narrowness composition is delegated to the shared\n * `DeliberationCompanionService` seams (`readCommittedCharters` +\n * `bindExpert`) — reviewers gate on `reviewScopes` (lens reach), the\n * rubric deriver on `workDomains` (ownership).\n */\n@injectable()\nexport class LogoDeliberationCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystemService: ActorsSystemBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly companionIntrospectionService: CompanionIntrospectionService,\n @inject(COMPANION_SERVICE_TYPES.DeliberationService)\n private readonly deliberationComposer: DeliberationCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('LogoDeliberationCompanionService');\n this.logger.setDebugTypeLogging('LogoDeliberationCompanionService', true);\n }\n\n public async run(\n options: LogoDeliberationOptions = {},\n traceContext?: AgentTraceContext,\n ): Promise<LogoDeliberationResult> {\n const warnings: string[] = [];\n const directionCount = options.directionCount ?? 4;\n\n // ── 1. Assemble the brand prompt (shared brand-render-prompt seam) ──\n const basePrompt = await this.assembleBrandPrompt();\n\n // ── 2. Panel composition (shared composer seams; narrowness gated) ──\n const charters = await this.deliberationComposer.readCommittedCharters();\n const charterByRole = new Map(charters.map((charter) => [charter.roleRef, charter]));\n const reviewers = LOGO_REVIEWER_ROLES.map((roleRef) =>\n this.deliberationComposer.bindExpert(roleRef, charterByRole, {\n reviewDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n }));\n const coordinator = this.deliberationComposer.bindExpert(LOGO_COORDINATOR_ROLE, charterByRole, {});\n const rubricDeriver = this.deliberationComposer.bindExpert(LOGO_RUBRIC_DERIVER_ROLE, charterByRole, {\n ownDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n });\n\n // ── 3. Creative brief from the DOMAIN OWNER (BRIEF capability) ──\n const directions = await this.deriveCreativeBrief(basePrompt, directionCount, traceContext);\n\n const deliberationRef = `delib-visual_brand_mark-${randomUUID().slice(0, 8)}`;\n const deliberationDirAbs = resolve(\n this.companionContext.saasRoot, ...DELIBERATIONS_DIR_SEGMENTS, deliberationRef,\n );\n const candidatesDirAbs = resolve(deliberationDirAbs, 'candidates');\n await mkdir(candidatesDirAbs, { recursive: true });\n const relDir = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/candidates`;\n\n // ── 4. One candidate per direction (parallel; failures degrade with a warning) ──\n const rootDirectionByRef = new Map<string, LogoCreativeDirection>();\n const generated = await Promise.all(directions.map(async (direction) => {\n try {\n const master = await this.generateCleanMaster(\n this.composeMasterPrompt(\n basePrompt,\n `CONCEPT DIRECTION for this specific mark — ${direction.label}: ${direction.artDirection}`,\n ),\n traceContext,\n );\n const fileName = `${direction.ref}.png`;\n await writeFile(resolve(candidatesDirAbs, fileName), master);\n const candidate: DeliberationCandidateInput = {\n ref: direction.ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.IMAGE,\n imageDataUri: `data:image/png;base64,${master.toString('base64')}`,\n },\n };\n rootDirectionByRef.set(direction.ref, direction);\n return candidate;\n } catch (error) {\n warnings.push(`Direction '${direction.ref}' failed to generate and was skipped: `\n + describeCaughtError(error));\n return null;\n }\n }));\n const initialCandidates = generated.filter(\n (candidate): candidate is DeliberationCandidateInput => candidate !== null,\n );\n if (initialCandidates.length < 2) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: {\n message: `Logo deliberation needs ≥2 generated candidates to deliberate (got ${initialCandidates.length}). `\n + 'Check the OpenAI IMAGE_PROVIDER configuration.',\n },\n });\n }\n\n // ── 5. IMAGE producer: revision = REGENERATION (RF-4) ──────\n let revisionSequence = 0;\n const producer = {\n produceRevision: async (\n parent: DeliberationCandidateInput,\n revisionPrompt: string,\n ): Promise<DeliberationCandidateInput> => {\n const rootDirection = rootDirectionByRef.get(parent.ref);\n if (!rootDirection) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `No root direction tracked for candidate '${parent.ref}'.` },\n });\n }\n // TRANSLATE, then regenerate: the engine's revisionPrompt is a\n // critique DIFF (\"address every point below\") written for an LLM —\n // image models execute target-state descriptions, not diffs. The\n // art-director (domain owner) rewrites {root direction + critiques}\n // into one self-contained revised direction; the record still carries\n // the raw revisionPrompt as revision provenance.\n const revisedArtDirection = await this.deriveRevisedDirection(\n basePrompt, rootDirection, revisionPrompt, traceContext,\n );\n const master = await this.generateCleanMaster(\n this.composeMasterPrompt(\n basePrompt,\n `CONCEPT DIRECTION for this specific mark — ${rootDirection.label} (revised after panel review): ${revisedArtDirection}`,\n ),\n traceContext,\n );\n revisionSequence += 1;\n const ref = `${parent.ref}-rev${revisionSequence}`;\n const fileName = `${ref}.png`;\n await writeFile(resolve(candidatesDirAbs, fileName), master);\n rootDirectionByRef.set(ref, rootDirection);\n return {\n ref,\n storageRef: `${relDir}/${fileName}`,\n content: {\n kind: FlowsActors_IO_PartKind.IMAGE,\n imageDataUri: `data:image/png;base64,${master.toString('base64')}`,\n },\n };\n },\n };\n\n // ── 6. Engine deliberation ─────────────────────────────────\n const briefContext = [\n basePrompt,\n '',\n '# Creative brief (derived by the art-director)',\n ...directions.map((direction) => `- \\`${direction.ref}\\` — ${direction.label}: ${direction.artDirection}`),\n ].join('\\n');\n const plan: DeliberationPlan = {\n deliberationRef,\n workDomain: ExpertWorkDomain.VISUAL_BRAND_MARK,\n subjectKind: FlowsActors_IO_PartKind.IMAGE,\n briefContext,\n reviewers,\n coordinator,\n rubricDeriver,\n producerAgentRef: LOGO_GENERATION_AGENT_REF,\n producer,\n initialCandidates,\n roundBudget: options.roundBudget ?? 2,\n shortlistSize: options.shortlistSize ?? 1,\n };\n const record = await this.actorsSystemService.executeDeliberation(plan, traceContext);\n const recordPath = `${DELIBERATIONS_DIR_SEGMENTS.join('/')}/${deliberationRef}/record.json`;\n await writeFile(resolve(deliberationDirAbs, 'record.json'), `${JSON.stringify(record, null, 2)}\\n`, 'utf8');\n\n // ── 7. Stage the WINNER for the existing accept-logo review point ──\n const winnerRef = record.synthesis?.winnerRef;\n if (!winnerRef) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: 'Deliberation finished without a synthesis winner — nothing to stage.' },\n });\n }\n const winnerFile = resolve(candidatesDirAbs, `${winnerRef}.png`);\n const { readFile } = await import('node:fs/promises');\n const winnerBytes = await readFile(winnerFile);\n const brandDir = resolve(this.companionContext.saasRoot, ...BRAND_STAGING_DIR_SEGMENTS);\n const staged = await stageBrandCandidate({\n brandDir,\n masterBuffer: winnerBytes,\n masterComposition: BrandAssetComposition.SYMBOL,\n generatedAt: new Date().toISOString(),\n storageDir: BRAND_STAGING_DIR_SEGMENTS.join('/'),\n onDeriveDegraded: (reason) => {\n warnings.push(`Derived-asset pipeline unavailable — winner staged master-only: ${reason}`);\n },\n });\n await writeFile(\n resolve(brandDir, 'manifest.json'),\n `${JSON.stringify({ assets: staged.assets }, null, 2)}\\n`,\n 'utf8',\n );\n\n this.logDebug('logo deliberation complete', {\n deliberationRef,\n status: record.status,\n rounds: record.rounds.length,\n winnerRef,\n directions: directions.length,\n candidates: initialCandidates.length,\n });\n return {\n record,\n recordPath,\n directions,\n staged: { winnerRef, assets: staged.assets },\n warnings,\n };\n }\n\n /** Assemble the brand prompt through the shared `brand-render-prompt` behavior. */\n private async assembleBrandPrompt(): Promise<string> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw this.errorBuilder.buildError(ErrorType.CONFIGURATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFIGURATION,\n context: { message: 'No backend service available to resolve brand-render-prompt.' },\n });\n }\n const introspection = await this.companionIntrospectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'brand-render-prompt',\n input: {},\n });\n if (introspection.success === false) {\n const failure = introspection;\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: failure.error.message, behavior: failure.behavior },\n });\n }\n return BrandRenderPromptResponseSchema.parse(introspection.data).prompt;\n }\n\n /**\n * The art-director authors the creative brief (BRIEF capability): N\n * genuinely distinct concept directions, derived from the brand prompt.\n * Direction refs are service-validated (kebab-case, unique) — a bad echo\n * re-asks once, then fails.\n */\n private async deriveCreativeBrief(\n basePrompt: string,\n directionCount: number,\n traceContext?: AgentTraceContext,\n ): Promise<LogoCreativeDirection[]> {\n const refPattern = /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;\n let lastError = '';\n for (let attempt = 1; attempt <= 2; attempt += 1) {\n const prompt = [\n basePrompt,\n '',\n '# Your task — author the CREATIVE BRIEF for a logo exploration',\n `Author exactly ${directionCount} genuinely DISTINCT concept directions for this mark — one `\n + 'compositional idea each, studio-voiced, concrete enough for an image model to execute. '\n + 'Each direction: a stable kebab-case `ref`, a short `label`, and the `artDirection` naming '\n + 'the ONE idea, the two-color application (which color leads, where the single accent beat '\n + 'lands), and the craft posture. The directions must explore meaningfully different '\n + 'territories (e.g. negative space vs continuous line vs modular construction vs contained '\n + 'emblem) — no two variations of the same idea.',\n attempt === 2 ? `# PREVIOUS ATTEMPT REJECTED\\n${lastError}\\nCorrect the output.` : '',\n ].filter((part) => part.length > 0).join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: expertAgentRefForRole(LOGO_RUBRIC_DERIVER_ROLE),\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: LogoCreativeBriefOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = LogoCreativeBriefOutputStrictSchema.safeParse(raw);\n if (!parsed.success) {\n lastError = parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ');\n continue;\n }\n const refs = parsed.data.directions.map((direction) => direction.ref);\n if (new Set(refs).size !== refs.length || refs.some((ref) => !refPattern.test(ref))) {\n lastError = `Direction refs must be unique kebab-case (got [${refs.join(', ')}]).`;\n continue;\n }\n return parsed.data.directions;\n }\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `Creative-brief derivation failed validation twice: ${lastError}` },\n });\n }\n\n /**\n * Compose one image-model prompt with a stable section structure: brand\n * prompt → concept direction → MECHANICAL master constraints LAST (image\n * models weight the prompt tail; the flat run-on composition of the first\n * live run buried the base prompt's guardrails under the long direction\n * text and shipped gradients/halos/border boxes).\n *\n * The trailing block is deliberately TRANSPORT-mechanical, not taste: the\n * master feeds `removeSolidBackground` → `trimTransparentBorder`, and\n * glows/soft edges break background removal while an enclosing frame\n * survives the trim and poisons every derived asset. Taste stays derived\n * (the direction text) — this block only protects the derivation pipeline.\n */\n private composeMasterPrompt(basePrompt: string, directionBlock: string): string {\n return [\n basePrompt,\n '',\n directionBlock,\n '',\n 'MASTER OUTPUT REQUIREMENTS (mechanical — this master is post-processed by background '\n + 'removal and border trimming): exactly one isolated mark; fully transparent or solid '\n + 'uniform background only; NO enclosing frame, border box, outline rectangle, or '\n + 'background panel around the mark; flat solid color fills with hard, sharp edges — no '\n + 'gradients, glows, halos, soft shadows, or blur (they break background removal); '\n + 'no text or letters anywhere.',\n ].join('\\n');\n }\n\n /**\n * The art-director translates {root direction + panel critiques} into ONE\n * revised, self-contained direction (target-state prose an image model can\n * execute). Retry-once-then-throw, mirroring `deriveCreativeBrief`.\n */\n private async deriveRevisedDirection(\n basePrompt: string,\n rootDirection: LogoCreativeDirection,\n revisionPrompt: string,\n traceContext?: AgentTraceContext,\n ): Promise<string> {\n let lastError = '';\n for (let attempt = 1; attempt <= 2; attempt += 1) {\n const prompt = [\n basePrompt,\n '',\n `# Root concept direction — ${rootDirection.label}`,\n rootDirection.artDirection,\n '',\n '# Panel review of the previous execution',\n revisionPrompt,\n '',\n '# Your task — rewrite the direction for regeneration',\n 'Author the REVISED `artDirection`: the same ONE concept as the root direction with every '\n + 'panel critique incorporated as a positive, observable property of the mark to CREATE. '\n + 'Self-contained target-state prose for an image model — describe only what the mark IS; '\n + 'never mention the previous attempt, the panel, or what to avoid fixing.',\n attempt === 2 ? `# PREVIOUS ATTEMPT REJECTED\\n${lastError}\\nCorrect the output.` : '',\n ].filter((part) => part.length > 0).join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof LLMProvider_GenerateStructuredInputSchema,\n typeof LLMProvider_GenerateStructuredOutputSchema\n > = {\n agentRef: expertAgentRefForRole(LOGO_RUBRIC_DERIVER_ROLE),\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: LogoRevisedDirectionOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation, traceContext);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = LogoRevisedDirectionOutputStrictSchema.safeParse(raw);\n if (!parsed.success) {\n lastError = parsed.error.issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ');\n continue;\n }\n return parsed.data.artDirection;\n }\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: `Revised-direction derivation failed validation twice: ${lastError}` },\n });\n }\n\n /** One image generation + the mandatory master cleanup (bg removal → trim/square). */\n private async generateCleanMaster(prompt: string, traceContext?: AgentTraceContext): Promise<Buffer> {\n const invocation: FlowsActors_Agent_Invocation<\n typeof ImageProvider_GenerateImageInputSchema,\n typeof ImageProvider_GenerateImageOutputSchema,\n typeof ImageProvider_OperationContext_BaseSchema\n > = {\n agentRef: LOGO_GENERATION_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt },\n output: { images: [] },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n const result = await this.agentsService.invokeAgent(invocation, traceContext);\n const output = result.output as ImageProvider_GenerateImageOutput;\n const image = output?.images?.[0];\n if (!image || typeof image.base64 !== 'string' || image.base64.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.INTERNAL, undefined, {\n customMessageReference: ErrorCustomMessageReference.INTERNAL,\n context: { message: 'The logo generation agent returned no image.' },\n });\n }\n const cleaned = await removeSolidBackground(Buffer.from(image.base64, 'base64'));\n return trimTransparentBorder(cleaned);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"logo-generation.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/brand/services/logo-generation.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,aAAa,EAIb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,EAIL,KAAK,sBAAsB,EAC5B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAgB5H,MAAM,WAAW,qBAAqB;IACpC,+EAA+E;IAC/E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBACa,8BAA8B;IAIJ,OAAO,CAAC,QAAQ,CAAC,MAAM;IAE1D,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAEjC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;IAXhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EAExD,YAAY,EAAE,0BAA0B,EAExC,aAAa,EAAE,oBAAoB,EAEnC,gBAAgB,EAAE,gBAAgB,EAElC,6BAA6B,EAAE,6BAA6B;IAMlE,QAAQ,CACnB,OAAO,GAAE,qBAA0B,EACnC,YAAY,CAAC,EAAE,iBAAiB,GAC/B,OAAO,CAAC,sBAAsB,CAAC;IAkHlC;;;OAGG;YACW,mBAAmB;IAkBjC;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;CAcnC"}
1
+ {"version":3,"file":"logo-generation.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/brand/services/logo-generation.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,aAAa,EAIb,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,EAIL,KAAK,sBAAsB,EAC5B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6EAA6E,CAAC;AAgB5H,MAAM,WAAW,qBAAqB;IACpC,+EAA+E;IAC/E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBACa,8BAA8B;IAIJ,OAAO,CAAC,QAAQ,CAAC,MAAM;IAE1D,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAEjC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;IAXhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EAExD,YAAY,EAAE,0BAA0B,EAExC,aAAa,EAAE,oBAAoB,EAEnC,gBAAgB,EAAE,gBAAgB,EAElC,6BAA6B,EAAE,6BAA6B;IAMlE,QAAQ,CACnB,OAAO,GAAE,qBAA0B,EACnC,YAAY,CAAC,EAAE,iBAAiB,GAC/B,OAAO,CAAC,sBAAsB,CAAC;IAkHlC;;;OAGG;YACW,mBAAmB;IAkBjC;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;CAcnC"}