@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":"companion-platform-config.companion.js","sourceRoot":"","sources":["../../../../../src/core/runtime/utils/companion-platform-config.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,cAAc,EAId,eAAe,EACf,0BAA0B,EAC1B,uCAAuC,EACvC,mCAAmC,GACpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,+BAA+B,EAAE,kBAAkB,EAAE,eAAe,EAC3E,cAAc,GACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wCAAwC,GAGzC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAE7F,oLAAoL;AACpL,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;AAC7F,MAAM,gCAAgC,G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s';\nimport { resolve } from 'node:path';\nimport {\n JwtPrivateKeys,\n type AppConfiguration,\n type AppConfigurationSecrets,\n type AppConfiguration_BackendAuthored,\n MongoDBProtocol,\n applyBackendAuthoredConfig,\n buildMinimalPreOverrideAppConfiguration,\n buildStorageTopologyFromEnvironment,\n} from '@wildo-ai/saas-backend-lib';\nimport { parseDeclaredPersistenceAdapter, PersistenceAdapter, WildoHeaderKeys,\n BackendApiType,\n} from '@wildo-ai/saas-models';\nimport {\n buildPlatformRuntimeEndpoints,\n parseRuntimeEndpointsRecord,\n} from '@wildo-ai/platform-core-shared';\nimport {\n AppBootstrapConfigMetadataResponseSchema,\n type AppBootstrapConfigMetadataResponse,\n type SaasRuntimeProvidersArtifact,\n} from '@wildo-ai/platform-config-lib';\nimport { z } from 'zod';\nimport type { CompanionContext } from '../../context/companion-context';\nimport type { CompanionRuntimeConfig } from '../models/companion-runtime.models';\nimport { CompanionTraceabilityLevel } from '../../traceability/companion-traceability.models';\nimport { WORKBENCH_FRONTEND_SERVICE_NAME } from '@wildo-ai/platform-core-shared';\nimport { WORKBENCH_PORT_OFFSET_FROM_COMPANION } from './companion-workbench-topology';\nimport { ensureCompanionLocalSigningKeyPair } from './companion-local-signing-key.companion';\n\n// semantic-literal-boundary: 'true'/'false' is the process-env string encoding of a boolean, translated to a real boolean right here at the env boundary — not a domain vocabulary.\nconst booleanStringSchema = z.enum(['true', 'false']).transform((value) => value === 'true');\nconst CompanionTraceabilityLevelSchema = z.enum(CompanionTraceabilityLevel);\n\n/**\n * An optional env value where the EMPTY STRING means absent. Docker Compose interpolates an\n * unset variable to `''` rather than omitting the key, so a plain `.optional()` would hand\n * `''` to `new URL()` and to the adapter parser.\n */\nconst OptionalPlatformStoreUrlSchema = z\n .string()\n .optional()\n .transform((value) => (value === undefined || value.trim() === '' ? undefined : value));\n\nconst CompanionPlatformEnvSchema = z.object({\n APPLICATION_ID: z.string().min(1),\n SERVICE_NAME: z.string().min(1),\n PLATFORM_ENVIRONMENT_ID: z.string().min(1),\n PLATFORM_APPLICATION_PRIMARY_SECRET: z.string().min(1),\n PLATFORM_APPS_MANAGER_URL: z.url(),\n PLATFORM_APPS_MANAGER_PUBLIC_KEY: z.string().min(1),\n PLATFORM_CRONTABS_BATCHES_MANAGER_URL: z.url(),\n PLATFORM_MODULE_REGISTRY_URL: z.url(),\n APPLICATION_ENV: z.string().min(1),\n /**\n * The platform's stores. BOTH are optional and AT LEAST ONE must be present — the\n * pair rules below are what enforce that, and they live on the schema rather than at\n * a call site so every consumer of `parseCompanionPlatformEnv` inherits them.\n *\n * `MONGO_CONNECT_URL` was REQUIRED until 2026-08-28, which is what made the companion\n * unable to run on a PostgreSQL-engined platform at all (issue #94): it connected Mongo\n * unconditionally, read platform rows from a database the platform had stopped using,\n * and reported every application as unregistered. Absence now means \"not MongoDB-engined\".\n *\n * Empty string counts as absent — the compose interpolation contract, the same reading\n * apps-manager and module-registry use for these two keys.\n */\n MONGO_CONNECT_URL: OptionalPlatformStoreUrlSchema,\n PG_CONNECT_URL: OptionalPlatformStoreUrlSchema,\n /**\n * Which store the platform's own data lives in. Parsed through the shared seam, so a\n * present-but-unknown declaration REFUSES rather than collapsing into the Mongo lane.\n *\n * semantic-literal-boundary: the canonical name is\n * `ApplicationBackendDataEnvKey.DATABASE_DEFAULT_ADAPTER` (platform-core-shared), which\n * this package does not depend on; the CLI emits the key from that enum.\n */\n DATABASE_DEFAULT_ADAPTER: OptionalPlatformStoreUrlSchema,\n REDIS_HOST: z.string().min(1),\n REDIS_PORT: z.coerce.number().int().positive(),\n REDIS_ADMIN_USER: z.string().min(1).optional(),\n REDIS_ADMIN_PASSWORD: z.string().min(1).optional(),\n RABBITMQ_HOST: z.string().min(1),\n RABBITMQ_PORT: z.coerce.number().int().positive(),\n RABBITMQ_ADMIN_USERNAME: z.string().min(1).optional(),\n RABBITMQ_ADMIN_PASSWORD: z.string().min(1).optional(),\n STORAGE_PROVIDER: z.string().min(1).optional(),\n STORAGE_ENDPOINT: z.string().min(1).optional(),\n STORAGE_PORT: z.coerce.number().int().positive().optional(),\n STORAGE_USE_SSL: z.union([z.boolean(), booleanStringSchema]).transform((value) => value === true).optional(),\n STORAGE_BUCKET: z.string().min(1).optional(),\n // ⚠️ NO `STORAGE_ACCESS_KEY` / `STORAGE_SECRET_KEY`. Those are the object store's\n // ROOT credential, and the companion never consumed them — it runs the same\n // app-tier storage provider as backend-api, which fetches short-lived,\n // prefix-confined STS sessions from apps-manager using the bootstrap contract\n // above. Declaring them here would let the CLI start emitting them again without\n // anything noticing, since an unused declaration reads exactly like a used one.\n // See `.claude/plans/object-storage-root-credential-distribution.md`.\n HOST: z.string().min(1).default('0.0.0.0'),\n PORT: z.coerce.number().int().positive(),\n APPLICATION_RUNTIME_ENDPOINTS: z.string().optional(),\n})\n /**\n * The two store rules, on the SCHEMA so they cannot be bypassed by a consumer that parses\n * the env itself. Both are refusals at the door: the alternative is a companion that boots,\n * connects nothing usable, and then reports every platform row as missing for the rest of\n * the process lifetime — which is exactly how issue #94 presented, and why it was diagnosed\n * as an uninitialized platform rather than a wrong connection.\n */\n .superRefine((env, ctx) => {\n if (env.MONGO_CONNECT_URL === undefined && env.PG_CONNECT_URL === undefined) {\n ctx.addIssue({\n code: 'custom',\n path: ['MONGO_CONNECT_URL'],\n message:\n 'The companion needs a platform store: set MONGO_CONNECT_URL or PG_CONNECT_URL. '\n + 'Re-run `wildo config sync` to regenerate the companion environment.',\n });\n }\n // A declared PostgreSQL platform without its URL dies later inside a repository read with\n // an unsatisfiable message. Mirrored from module-registry's door and the apps-manager\n // env schema, which state the same pair rule for the same reason.\n if (parseDeclaredPersistenceAdapter(env.DATABASE_DEFAULT_ADAPTER) === PersistenceAdapter.POSTGRESQL\n && env.PG_CONNECT_URL === undefined) {\n ctx.addIssue({\n code: 'custom',\n path: ['PG_CONNECT_URL'],\n message:\n 'DATABASE_DEFAULT_ADAPTER=postgresql requires PG_CONNECT_URL: the companion pre-connects '\n + 'its own PostgreSQL from env before any repository is constructed. '\n + 'Re-run `wildo config sync`.',\n });\n }\n });\n\nexport type CompanionPlatformEnv = z.infer<typeof CompanionPlatformEnvSchema>;\n\nfunction deriveLocalOnlySecret(\n primarySecret: string,\n purpose: string,\n): string {\n return createHash('sha256')\n .update(`${primarySecret}:${purpose}`)\n .digest('hex');\n}\n\n/**\n * The workbench's frontend-service entry, derived from the application's own.\n *\n * Mirrors whichever application frontend declares users management, because the workbench signs in\n * the same people against the same store. Falls back to a minimal authenticating entry when the\n * application declares none — the workbench still has to be able to authenticate, and an empty map\n * silently produces a surface that authenticates and immediately loses the session.\n */\n/**\n * The workbench's frontend-service entry.\n *\n * ## `usersManagement` is EMPTY on purpose, and the reason is not \"nothing to manage\"\n *\n * It reads as a placeholder and is a decision. `resolveUserTypeFromFrontendServiceName` derives the\n * session's `activeUserType` from this map, and the orchestrator then requires the authenticating\n * user's `userTypes[]` to contain it. Declaring the APPLICATION's user type here — which is what an\n * application frontend does, and what this entry briefly did — makes every workbench login fail with\n * `authentication_user_type_mismatch`.\n *\n * It fails because the companion authenticates against a DIFFERENT DATABASE than the application.\n * Measured on the dogfood stack, where one email exists twice:\n *\n * wildo_platform → userTypes: [] ← the identity the companion resolves\n * wonder-crm-db → userTypes: [\"member\"] ← the application's own user\n *\n * So the application's user-type vocabulary is not the companion's to assert. An empty map leaves\n * `activeUserType` unset, the type gate is skipped, and the operator is authenticated as the platform\n * identity they actually are.\n *\n * The entry must still EXIST — without the key, `ApplicationConfigController` refuses the bootstrap\n * with `app_configuration_unknown_frontend_service` and no provider mounts at all.\n *\n * If the companion ever authenticates application users, this becomes a real decision rather than an\n * omission: it would need the user types of whichever store it resolves identities from.\n */\nfunction buildWorkbenchFrontendServiceEntry(): AppConfiguration['frontendServices'][string] {\n return { usersManagement: {} };\n}\n\nfunction assertNoCompanionRuntimeManagedOverrides(\n backendConfig: AppConfiguration_BackendAuthored | undefined,\n): void {\n if (!backendConfig) {\n return;\n }\n\n const forbiddenKeys = ['providers', 'providerConfigurations'];\n const authoredForbiddenKeys = forbiddenKeys.filter((key) =>\n Object.prototype.hasOwnProperty.call(backendConfig, key),\n );\n if (authoredForbiddenKeys.length === 0) {\n return;\n }\n\n throw new Error(\n `Companion backendConfig attempted to override runtime-managed fields: ${authoredForbiddenKeys.join(', ')}`,\n );\n}\n\nfunction resolveCompanionVersion(companionContext: CompanionContext): string {\n const candidateServices = [\n ...Object.values(companionContext.backendServices),\n ...Object.values(companionContext.frontendServices),\n ];\n\n for (const service of candidateServices) {\n const packageJsonPath = resolve(companionContext.saasRoot, service.path, 'package.json');\n if (!existsSync(packageJsonPath)) {\n continue;\n }\n\n try {\n const parsed = JSON.parse(readFileSync(packageJsonPath, 'utf8')) as { version?: unknown };\n if (typeof parsed.version === 'string' && parsed.version.trim()) {\n return parsed.version.trim();\n }\n } catch {\n // Fall through to the next candidate.\n }\n }\n\n return '1.0.0';\n}\n\n/**\n * On a platform with no MongoDB URL — a PostgreSQL-engined platform — this returns a\n * DISABLED block rather than a connected one.\n *\n * `enabled: false` is the contract's way of saying \"this store is not available here\":\n * `getDb()` refuses on it, so a Mongo-resolved repository fails with that answer instead\n * of binding to a connection this process never opened and failing at first use. The\n * configuration type requires the key, so omitting it is not available; declaring it\n * `enabled: true` unconditionally is the silent shape module-registry records paying for.\n */\nfunction resolveMongoRuntime(\n env: CompanionPlatformEnv,\n): {\n config: AppConfiguration['database']['mongodb'];\n secrets: AppConfigurationSecrets['database']['mongodb'];\n} {\n if (env.MONGO_CONNECT_URL === undefined) {\n return {\n config: {\n enabled: false,\n /*\n * The runtime schema requires a non-empty host and database name even on a disabled\n * block, so SOMETHING must go here — and the choice matters. A plausible default\n * (`localhost:27017`, `wildo_platform`) would mean that anything ignoring\n * `enabled: false` connects to whatever Mongo happens to be running on the machine and\n * silently reads an empty database, which is the exact failure this whole change exists\n * to remove. `.invalid` is reserved precisely so it can never resolve, so the same\n * mistake fails immediately and names its own cause.\n *\n * spec-cite: RFC 2606 §2 reserves the `.invalid` TLD for names that are \"clearly invalid\"\n * and guaranteed not to resolve in the global DNS.\n */\n host: 'mongodb-not-configured.invalid:27017',\n database: 'mongodb-not-configured',\n protocol: MongoDBProtocol.MONGODB,\n options: { retryWrites: false, w: 'majority', authSource: 'admin' },\n },\n secrets: {},\n };\n }\n const parsedUrl = new URL(env.MONGO_CONNECT_URL);\n const rawDatabase = parsedUrl.pathname.replace(/^\\/+/, '');\n const protocol = parsedUrl.protocol.replace(/:$/, '');\n const retryWrites = parsedUrl.searchParams.get('retryWrites') !== 'false';\n const directConnection = parsedUrl.searchParams.get('directConnection');\n\n return {\n config: {\n enabled: true,\n host: parsedUrl.host,\n database: rawDatabase || 'wildo_platform',\n protocol: protocol === MongoDBProtocol.MONGODB_SRV\n ? MongoDBProtocol.MONGODB_SRV\n : MongoDBProtocol.MONGODB,\n options: {\n retryWrites,\n w: parsedUrl.searchParams.get('w') ?? 'majority',\n authSource: parsedUrl.searchParams.get('authSource') ?? 'admin',\n ...(directConnection !== null ? { directConnection: directConnection === 'true' } : {}),\n },\n },\n secrets: {\n username: parsedUrl.username ? decodeURIComponent(parsedUrl.username) : undefined,\n password: parsedUrl.password ? decodeURIComponent(parsedUrl.password) : undefined,\n },\n };\n}\n\n/**\n * Which platform stores this environment says to connect, and with what.\n *\n * Extracted as a pure function because it is the decision issue #94 got wrong, and because\n * the startup service that executes it has ~15 injected dependencies and no unit test — so\n * left inline, the single most load-bearing branch of the fix was pinned by nothing. A\n * mutation that removed the PostgreSQL pre-connect entirely passed the whole suite.\n *\n * The startup service is now a trivial executor of this plan. Keep it that way: a branch\n * added there instead of here is a branch nothing can test.\n */\nexport interface CompanionPlatformStoreConnectionPlan {\n /** Present only when this environment declares a MongoDB platform store. */\n readonly mongoConnectUrl: string | undefined;\n /** Present only when this environment declares a PostgreSQL platform store. */\n readonly postgresConnectUrl: string | undefined;\n}\n\nexport function planCompanionPlatformStoreConnections(\n env: CompanionPlatformEnv,\n): CompanionPlatformStoreConnectionPlan {\n return {\n mongoConnectUrl: env.MONGO_CONNECT_URL,\n postgresConnectUrl: env.PG_CONNECT_URL,\n };\n}\n\nexport function parseCompanionPlatformEnv(\n source: NodeJS.ProcessEnv = process.env,\n): CompanionPlatformEnv {\n return CompanionPlatformEnvSchema.parse(source);\n}\n\nexport function resolveCompanionRuntimeConfig(\n source: NodeJS.ProcessEnv = process.env,\n): CompanionRuntimeConfig {\n const rawTraceabilityLevel = source.WILDO_DEV_COMPANION_TRACEABILITY_LEVEL;\n const normalizedTraceabilityLevel = rawTraceabilityLevel?.trim().toUpperCase();\n\n if (!normalizedTraceabilityLevel) {\n // ALWAYS-ON by default: the companion is a DEV-ONLY daemon whose whole\n // point is inspectable build-time work — a fresh checkout should leave\n // prompt/output artifacts for every agent call without anyone knowing a\n // magic env var. The old `NONE` default meant every derivation/deliberation\n // ran traceless unless the operator remembered to export the level (the\n // recurring \"why are there no trace rows?\" trap). The env var remains the\n // override for turning it DOWN (`NONE` / `DEBUG`) when disk noise matters.\n return {\n traceabilityLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n };\n }\n\n const parsedTraceabilityLevel = CompanionTraceabilityLevelSchema.safeParse(normalizedTraceabilityLevel);\n if (!parsedTraceabilityLevel.success) {\n const acceptedValues = Object.values(CompanionTraceabilityLevel).join(', ');\n throw new Error(\n `Invalid WILDO_DEV_COMPANION_TRACEABILITY_LEVEL \"${rawTraceabilityLevel}\". ` +\n `Accepted values: ${acceptedValues}.`,\n );\n }\n\n return {\n traceabilityLevel: parsedTraceabilityLevel.data,\n };\n}\n\n/**\n * Bootstrap material fetched from apps-manager — the authoritative source for\n * everything the operator authors in `wildo.infra.<env>.config.ts` and the\n * app declares in `wildo.saas.config.ts`. The companion fetches the SAME\n * payload that `AppConfigurationLoaderService.initialize()` fetches for\n * app backends (and the SAME `/apps-to-manager/application-config` route),\n * authenticated by the WT app credentials the companion already carries in\n * its env. This is what aligns the companion with the canonical bootstrap:\n * the parallel-path single-source-of-truth was an artefact of an earlier\n * design; now the companion derives JWT TTLs, frontendServices inventory,\n * appIdentity, engineCapabilities, providers, and email-management flags\n * from apps-manager instead of synthesising them locally.\n *\n * Returns `null` if apps-manager is unreachable or returns an unrecognised\n * payload — callers fall back to the locally-derived seed in that case.\n */\ntype AppsManagerBootstrapMaterial = Omit<AppBootstrapConfigMetadataResponse, 'jwt'> & { readonly jwt: AppConfiguration['jwt'] };\n\nasync function fetchAppsManagerBootstrapMaterial(\n env: CompanionPlatformEnv,\n): Promise<AppsManagerBootstrapMaterial | null> {\n try {\n const url = `${env.PLATFORM_APPS_MANAGER_URL}/api/v1/apps-to-manager/application-config`;\n const controller = new AbortController();\n const timeoutId = setTimeout(() => controller.abort(), 10_000);\n let response: Response;\n try {\n response = await fetch(url, {\n method: 'GET',\n headers: {\n [WildoHeaderKeys.CONTENT_TYPE]: 'application/json',\n [WildoHeaderKeys.SERVICE_ID]: env.SERVICE_NAME,\n [WildoHeaderKeys.PLATFORM_SECRET]: env.PLATFORM_APPLICATION_PRIMARY_SECRET,\n [WildoHeaderKeys.APPLICATION_ID]: env.APPLICATION_ID,\n },\n signal: controller.signal,\n });\n } finally {\n clearTimeout(timeoutId);\n }\n\n if (!response.ok) {\n return null;\n }\n\n const parsed = AppBootstrapConfigMetadataResponseSchema.safeParse(await response.json());\n if (!parsed.success || !parsed.data.jwt) {\n return null;\n }\n // Parse the exact producer contract rather than maintaining a second shape. In particular,\n // verification keys and their rotation cutoffs live under `jwt`; reading obsolete top-level\n // properties silently empties the companion's fresh-publication authority.\n return {\n ...parsed.data,\n jwt: {\n ...parsed.data.jwt,\n rotatedPublicKeys: parsed.data.jwt.rotatedPublicKeys ?? {},\n },\n };\n } catch {\n // Fail-soft: apps-manager unreachable, downstream uses local seed.\n return null;\n }\n}\n\n/**\n * Build the fully resolved application config used by existing companion\n * services after the companion API lane switches to the platform-style env\n * contract. The env now owns runtime topology + infra identity, while the app\n * still authors backend semantics through `backendConfig`.\n *\n * Now async because the bootstrap material (JWT TTLs, frontendServices,\n * appIdentity, engineCapabilities, providers, email flags) is fetched from\n * apps-manager — the same single source of truth that backend-api uses via\n * `AppConfigurationLoaderService`. Locally-derived values (saas-config,\n * env) are kept as fallback when apps-manager is unreachable.\n */\nexport async function buildCompanionResolvedAppConfig(input: {\n companionContext: CompanionContext;\n env: CompanionPlatformEnv;\n backendConfig?: AppConfiguration_BackendAuthored;\n providerRuntime?: SaasRuntimeProvidersArtifact;\n}): Promise<{\n boundaryBaseConfig: AppConfiguration;\n config: AppConfiguration;\n secrets: AppConfigurationSecrets;\n}> {\n const { companionContext, env, backendConfig, providerRuntime } = input;\n assertNoCompanionRuntimeManagedOverrides(backendConfig);\n\n // Fetch the canonical bootstrap material from apps-manager BEFORE building\n // the seed. Apps-manager is the single source of truth for the\n // operator-authored JWT TTLs, the app-declared frontendServices inventory,\n // and other bootstrap-material the companion would otherwise have to\n // synthesise locally (and drift away from what backend-api / other\n // consumers see). When apps-manager is unreachable the result is `null`\n // and the seed below falls back to companionContext + canonical defaults.\n const appsManagerMaterial = await fetchAppsManagerBootstrapMaterial(env);\n\n const mongoRuntime = resolveMongoRuntime(env);\n const runtimeEndpointsFromEnv = env.APPLICATION_RUNTIME_ENDPOINTS\n ? parseRuntimeEndpointsRecord(env.APPLICATION_RUNTIME_ENDPOINTS)\n : {};\n const preservedCompanionEndpoint = runtimeEndpointsFromEnv[env.SERVICE_NAME];\n /* This process's own address, published twice below: under its service name and as the backend\n * the frontends it serves must call. Derived once so the two cannot disagree. */\n const companionOwnEndpoint = {\n publicUrl: preservedCompanionEndpoint?.publicUrl ?? `http://localhost:${env.PORT}`,\n internalUrl: preservedCompanionEndpoint?.internalUrl ?? `http://localhost:${env.PORT}`,\n };\n\n /*\n * The workbench's own endpoint, DERIVED from this companion's port rather than configured.\n *\n * The engine's config inspector refuses a `frontendServices` entry with no matching\n * `runtime.endPoints` entry — measured, as a startup crash loop:\n * `frontendServices.application-creation-workbench is declared but\n * runtime.endPoints.application-creation-workbench is missing a matching public URL`. Declaring the\n * service without its endpoint is not a half-configuration the engine tolerates, and it is right\n * not to: a frontend the backend cannot address is not a frontend it serves.\n *\n * Derived because the pair is allocated as a pair: the workbench sits at the companion's port plus\n * the declared offset (`wildo local dev` starts it there), so reading it from configuration would\n * add a second place for the same fact to be stated and to drift.\n */\n const workbenchEndpointUrl = `http://localhost:${env.PORT + WORKBENCH_PORT_OFFSET_FROM_COMPANION}`;\n\n const runtimeEndpoints = {\n ...runtimeEndpointsFromEnv,\n [WORKBENCH_FRONTEND_SERVICE_NAME]: {\n publicUrl: workbenchEndpointUrl,\n internalUrl: workbenchEndpointUrl,\n },\n ...buildPlatformRuntimeEndpoints({\n appsManager: {\n publicUrl: env.PLATFORM_APPS_MANAGER_URL,\n internalUrl: env.PLATFORM_APPS_MANAGER_URL,\n },\n crontabsBatchesManager: {\n publicUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n internalUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n },\n moduleRegistry: {\n publicUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n internalUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n },\n }),\n appsManager: {\n publicUrl: env.PLATFORM_APPS_MANAGER_URL,\n internalUrl: env.PLATFORM_APPS_MANAGER_URL,\n },\n crontabsBatchesManager: {\n publicUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n internalUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n },\n moduleRegistry: {\n publicUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n internalUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n },\n [env.SERVICE_NAME]: {\n publicUrl: companionOwnEndpoint.publicUrl,\n internalUrl: companionOwnEndpoint.internalUrl,\n },\n /*\n * `main_backend_api` is the COMPANION, overriding the observed application's.\n *\n * `runtimeEndpointsFromEnv` is the whole application topology, and it names wonder-crm's backend\n * (`:4251`) under this key. Spreading it unchanged tells every frontend this companion serves —\n * the workbench — that ANOTHER APPLICATION'S backend is its own, which is not a cosmetic\n * mislabel: `AuthSessionContext` derives the realtime URL from this key and `FlowsActorsContext`\n * calls it with the caller's bearer token. Measured in the browser: the workbench opened a\n * socket at `http://localhost:4251` and retried forever behind a CORS wall, and only that wall\n * stopped its token reaching a backend that is not its own.\n *\n * The workbench's backend is this process — it is what serves `/api/v1` to it — so the honest\n * value is the companion's own endpoint, and it is the same one `[env.SERVICE_NAME]` above\n * publishes. Overriding rather than deleting keeps both frontend readers working (a missing key\n * makes each warn and skip), and it is placed AFTER the spread on purpose: the inherited value\n * must lose.\n */\n [BackendApiType.MAIN_BACKEND_API]: {\n publicUrl: companionOwnEndpoint.publicUrl,\n internalUrl: companionOwnEndpoint.internalUrl,\n },\n };\n\n const baseConfig = buildMinimalPreOverrideAppConfiguration({\n runtimeEndpoints,\n // Object-storage TOPOLOGY, and it is load-bearing: the companion runs the\n // app-tier `WildoManagedStorageProvider`, which reads its endpoint / bucket /\n // prefix from resolved configuration. Omitting this block makes the provider\n // report itself UNCONFIGURED, so `initializePlatformRuntimeDependencies()`\n // skips storage init and every companion file operation fails later with no\n // configuration error anywhere — a silent disabling, not a crash.\n // The derivation is the one the application loader and the platform services\n // use; see `buildStorageTopologyFromEnvironment`.\n storage: buildStorageTopologyFromEnvironment(env),\n database: {\n /*\n * The platform's adapter, from env — NOT a literal. This was\n * `PersistenceAdapter.MONGODB` from 2026-02-05 (when Mongo was the only adapter)\n * until 2026-08-28, and the PostgreSQL migration never enumerated the companion,\n * so the literal outlived the world that made it true. See issue #94.\n */\n // The parser returns the WIDER `PersistenceAdapterType` union (it also admits `http-api`),\n // while this configuration field is typed as the `PersistenceAdapter` enum. The values are\n // identical strings; the cast is the narrow bridge between the two spellings, kept at the\n // single field rather than casting the whole configuration object.\n defaultAdapter: parseDeclaredPersistenceAdapter(env.DATABASE_DEFAULT_ADAPTER) as PersistenceAdapter,\n // Each store carries its own availability; see `resolveMongoRuntime` for why the Mongo\n // block is present-but-disabled rather than absent on a PostgreSQL platform.\n mongodb: mongoRuntime.config,\n ...(env.PG_CONNECT_URL ? { postgresql: { enabled: true } } : {}),\n redis: {\n host: env.REDIS_HOST,\n port: env.REDIS_PORT,\n db: 0,\n },\n rabbitmq: {\n host: env.RABBITMQ_HOST,\n port: env.RABBITMQ_PORT,\n },\n },\n });\n\n // `frontendServices` inventory: prefer apps-manager (canonical, matches\n // what backend-api gets). Fall back to companionContext's SaaS-declared\n // inventory when apps-manager is unreachable, with empty-policy entries\n // so the engine's boundary inspector recognises every key that\n // `backendConfig` may later attach policy to.\n const seededFrontendServices: AppConfiguration['frontendServices'] = {\n ...(appsManagerMaterial?.frontendServices\n ?? Object.fromEntries(\n Object.keys(companionContext.frontendServices).map((serviceName) => [\n serviceName,\n { usersManagement: {} },\n ]),\n )),\n /*\n * The workbench is a frontend this companion SERVES, and it is not one of the application's\n * declared services — so neither source above can produce it.\n *\n * Without this entry `ApplicationConfigController` refuses the workbench's bootstrap with\n * `app_configuration_unknown_frontend_service`, and `ApplicationMainProvider` cannot mount at\n * all: the config fetch is phase four of ten and every provider sits behind it.\n *\n * ## `usersManagement` is DERIVED from the application's own frontend, not invented\n *\n * It was `{}` first, and an empty map is not a neutral default — it declares a surface that\n * manages no users, so the frontend never establishes a session and the shell logs the operator\n * straight back out after a successful password authentication.\n *\n * The workbench authenticates the SAME users, from the SAME database, as the application it\n * observes, so it declares the same users-management capability rather than a hand-written one\n * that can disagree with it. Registration is forced OFF: an operator surface signs EXISTING\n * administrators in, and must never be a place an account is created.\n *\n * Seeded LAST so it can never shadow an application service of the same name.\n */\n [WORKBENCH_FRONTEND_SERVICE_NAME]: buildWorkbenchFrontendServiceEntry(),\n };\n\n // `jwt` block: canonical source is apps-manager (operator-authored TTLs\n // in `wildo.infra.<env>.config.ts` → app registration → apps-manager\n // seed → bootstrap response). Local fallback uses the framework's\n // canonical defaults (15 min / 30 days from `WildoAuthConfigSchema`,\n // empty public-key maps) when apps-manager is unreachable — a missing\n // JWT block would otherwise break Zod validation of the final resolved\n // config.\n /*\n * Minted (or read back) before the JWT block is seeded, because BOTH halves must name the same\n * pair: the private key signs in `secrets`, the public key verifies in `config`. Seeding one from\n * apps-manager and the other locally would produce a token this process cannot verify.\n */\n const companionSigningKeyPair = ensureCompanionLocalSigningKeyPair(companionContext.saasRoot);\n\n const seededJwtSource: AppConfiguration['jwt'] = appsManagerMaterial?.jwt ?? {\n publicKey: {},\n rotatedPublicKeys: {},\n accessTokenExpirationMinutes: 15,\n refreshTokenExpirationDays: 30,\n };\n\n /*\n * The companion's own public key, merged over whichever source supplied the rest of the block.\n *\n * Apps-manager owns the operator-authored TTLs and any application keys, and it must keep owning\n * them — but it has no key for a token this process signs. Merging rather than replacing keeps the\n * TTLs canonical while making the locally-signed token verifiable here.\n */\n const seededJwt: AppConfiguration['jwt'] = {\n ...seededJwtSource,\n publicKey: {\n ...seededJwtSource.publicKey,\n [JwtPrivateKeys.APPLICATION_AUTH_TOKEN]: companionSigningKeyPair.publicKey,\n },\n };\n\n const seededConfig = {\n ...baseConfig,\n // Override HTTP server timeouts so long-running LLM-bound endpoints\n // (`/api/companion/labelling/labellize`, `.../translate`, email +\n // market generation) aren't killed by Node's default 5-minute\n // `requestTimeout`. The companion's labelling pipeline routinely\n // runs > 10 minutes when materializing a large app's labels via\n // OpenAI. The default is the right setting for production app\n // traffic — only the dev companion needs the longer ceiling.\n runtime: {\n ...baseConfig.runtime,\n httpServerConfiguration: {\n requestTimeout: 30 * 60_000,\n headersTimeout: 30 * 60_000,\n keepAliveTimeout: 30 * 60_000,\n },\n },\n frontendServices: seededFrontendServices,\n jwt: seededJwt,\n appIdentity: appsManagerMaterial?.appIdentity ?? {\n appName: companionContext.saasConfig.name,\n displayName: companionContext.saasConfig.displayName,\n description: companionContext.saasConfig.description,\n version: resolveCompanionVersion(companionContext),\n },\n engineCapabilities:\n appsManagerMaterial?.engineCapabilities\n ?? companionContext.saasConfig.engineCapabilities\n ?? {},\n providers: providerRuntime?.scope\n ? {\n scopes: { companion: providerRuntime.scope },\n // A runtime-provided scope replaces only WHAT VENDORS DO here; what the application OFFERS\n // (`connections`) is an application-level declaration and is carried through unchanged.\n connections:\n appsManagerMaterial?.providers?.connections\n ?? companionContext.saasConfig.providers?.connections\n ?? {},\n }\n : appsManagerMaterial?.providers\n ?? companionContext.saasConfig.providers\n ?? { scopes: {}, connections: {} },\n providerConfigurations:\n appsManagerMaterial?.providerConfigurations\n ?? companionContext.saasConfig.providerConfigurations\n ?? {},\n email: {\n ...baseConfig.email,\n isTransactionalWildoManaged:\n appsManagerMaterial?.email?.isTransactionalWildoManaged ?? true,\n isMarketingWildoManaged:\n appsManagerMaterial?.email?.isMarketingWildoManaged ?? true,\n },\n };\n\n const resolvedConfig = applyBackendAuthoredConfig(\n seededConfig,\n backendConfig ?? {},\n ) as AppConfiguration;\n\n const now = new Date();\n const resolvedSecrets: AppConfigurationSecrets = {\n database: {\n // REQUIRED by the secrets contract even on a PostgreSQL platform, so it is always present\n // and simply carries no credentials when no Mongo URL was declared. The CONFIG half above\n // is the one that must stay absent — that is what keeps repositories from binding to a\n // connection this process never opened.\n mongodb: mongoRuntime.secrets,\n // The engine PostgreSQL service reads `secrets.database.postgresql.connectUrl` first.\n // With the pre-connect door this is belt-and-braces, but a post-close reconnect must\n // find the same identity here rather than an unconfigurable blank.\n ...(env.PG_CONNECT_URL\n ? {\n postgresql: {\n connectUrl: env.PG_CONNECT_URL,\n // Required by the secrets contract. Read from the URL that is the actual\n // connection identity, so the two can never disagree; 5432 only when the URL\n // omits it, which is what the driver itself would assume.\n port: Number(new URL(env.PG_CONNECT_URL).port || '5432'),\n },\n }\n : {}),\n redis: {\n username: env.REDIS_ADMIN_USER,\n password: env.REDIS_ADMIN_PASSWORD,\n },\n rabbitmq: {\n username: env.RABBITMQ_ADMIN_USERNAME,\n password: env.RABBITMQ_ADMIN_PASSWORD,\n },\n },\n security: {\n jwt: {\n /*\n * The companion's OWN signing key, so the workbench operator can actually be issued a token.\n *\n * This was `{}` by construction, which made authentication run to completion and then fail\n * with `jwt_token_not_found`. The key is generated and persisted locally — see\n * `ensureCompanionLocalSigningKeyPair` for why it is deliberately NOT the application's:\n * a token signed here is one the application backend refuses, which is the correct boundary\n * between \"looking at a companion\" and \"acting on the application it observes\".\n */\n privateKey: { [JwtPrivateKeys.APPLICATION_AUTH_TOKEN]: companionSigningKeyPair.privateKey },\n },\n session: {\n secret: deriveLocalOnlySecret(env.PLATFORM_APPLICATION_PRIMARY_SECRET, 'companion-session'),\n encryptionKey: deriveLocalOnlySecret(\n env.PLATFORM_APPLICATION_PRIMARY_SECRET,\n 'companion-session-encryption',\n ),\n },\n },\n createdAt: now,\n updatedAt: now,\n };\n\n return {\n boundaryBaseConfig: seededConfig as AppConfiguration,\n config: resolvedConfig,\n secrets: resolvedSecrets,\n };\n}\n"]}
1
+ {"version":3,"file":"companion-platform-config.companion.js","sourceRoot":"","sources":["../../../../../../src/core/runtime/utils/companion-platform-config.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,cAAc,EAId,eAAe,EACf,0BAA0B,EAC1B,uCAAuC,EACvC,mCAAmC,GACpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,+BAA+B,EAAE,kBAAkB,EAAE,eAAe,EAC3E,cAAc,GACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wCAAwC,GAGzC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCA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EAAE;gBACL,QAAQ,EAAE,GAAG,CAAC,gBAAgB;gBAC9B,QAAQ,EAAE,GAAG,CAAC,oBAAoB;aACnC;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,GAAG,CAAC,uBAAuB;gBACrC,QAAQ,EAAE,GAAG,CAAC,uBAAuB;aACtC;SACF;QACD,QAAQ,EAAE;YACR,GAAG,EAAE;gBACH;;;;;;;;mBAQG;gBACH,UAAU,EAAE,EAAE,CAAC,cAAc,CAAC,sBAAsB,CAAC,EAAE,uBAAuB,CAAC,UAAU,EAAE;aAC5F;YACD,OAAO,EAAE;gBACP,MAAM,EAAE,qBAAqB,CAAC,GAAG,CAAC,mCAAmC,EAAE,mBAAmB,CAAC;gBAC3F,aAAa,EAAE,qBAAqB,CAClC,GAAG,CAAC,mCAAmC,EACvC,8BAA8B,CAC/B;aACF;SACF;QACD,SAAS,EAAE,GAAG;QACd,SAAS,EAAE,GAAG;KACf,CAAC;IAEF,OAAO;QACL,kBAAkB,EAAE,YAAgC;QACpD,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,eAAe;KACzB,CAAC;AACJ,CAAC","sourcesContent":["import { createHash } from 'node:crypto';\nimport { existsSync, readFileSync } from 'node:fs';\nimport { resolve } from 'node:path';\nimport {\n JwtPrivateKeys,\n type AppConfiguration,\n type AppConfigurationSecrets,\n type AppConfiguration_BackendAuthored,\n MongoDBProtocol,\n applyBackendAuthoredConfig,\n buildMinimalPreOverrideAppConfiguration,\n buildStorageTopologyFromEnvironment,\n} from '@wildo-ai/saas-backend-lib';\nimport { parseDeclaredPersistenceAdapter, PersistenceAdapter, WildoHeaderKeys,\n BackendApiType,\n} from '@wildo-ai/saas-models';\nimport {\n buildPlatformRuntimeEndpoints,\n parseRuntimeEndpointsRecord,\n} from '@wildo-ai/platform-core-shared';\nimport {\n AppBootstrapConfigMetadataResponseSchema,\n type AppBootstrapConfigMetadataResponse,\n type SaasRuntimeProvidersArtifact,\n} from '@wildo-ai/platform-config-lib';\nimport { z } from 'zod';\nimport type { CompanionContext } from '../../context/companion-context';\nimport type { CompanionRuntimeConfig } from '../models/companion-runtime.models';\nimport { CompanionTraceabilityLevel } from '../../traceability/companion-traceability.models';\nimport { WORKBENCH_FRONTEND_SERVICE_NAME } from '@wildo-ai/platform-core-shared';\nimport { WORKBENCH_PORT_OFFSET_FROM_COMPANION } from './companion-workbench-topology';\nimport { ensureCompanionLocalSigningKeyPair } from './companion-local-signing-key.companion';\n\n// semantic-literal-boundary: 'true'/'false' is the process-env string encoding of a boolean, translated to a real boolean right here at the env boundary — not a domain vocabulary.\nconst booleanStringSchema = z.enum(['true', 'false']).transform((value) => value === 'true');\nconst CompanionTraceabilityLevelSchema = z.enum(CompanionTraceabilityLevel);\n\n/**\n * An optional env value where the EMPTY STRING means absent. Docker Compose interpolates an\n * unset variable to `''` rather than omitting the key, so a plain `.optional()` would hand\n * `''` to `new URL()` and to the adapter parser.\n */\nconst OptionalPlatformStoreUrlSchema = z\n .string()\n .optional()\n .transform((value) => (value === undefined || value.trim() === '' ? undefined : value));\n\nconst CompanionPlatformEnvSchema = z.object({\n APPLICATION_ID: z.string().min(1),\n SERVICE_NAME: z.string().min(1),\n PLATFORM_ENVIRONMENT_ID: z.string().min(1),\n PLATFORM_APPLICATION_PRIMARY_SECRET: z.string().min(1),\n PLATFORM_APPS_MANAGER_URL: z.url(),\n PLATFORM_APPS_MANAGER_PUBLIC_KEY: z.string().min(1),\n PLATFORM_CRONTABS_BATCHES_MANAGER_URL: z.url(),\n PLATFORM_MODULE_REGISTRY_URL: z.url(),\n APPLICATION_ENV: z.string().min(1),\n /**\n * The platform's stores. BOTH are optional and AT LEAST ONE must be present — the\n * pair rules below are what enforce that, and they live on the schema rather than at\n * a call site so every consumer of `parseCompanionPlatformEnv` inherits them.\n *\n * `MONGO_CONNECT_URL` was REQUIRED until 2026-08-28, which is what made the companion\n * unable to run on a PostgreSQL-engined platform at all (issue #94): it connected Mongo\n * unconditionally, read platform rows from a database the platform had stopped using,\n * and reported every application as unregistered. Absence now means \"not MongoDB-engined\".\n *\n * Empty string counts as absent — the compose interpolation contract, the same reading\n * apps-manager and module-registry use for these two keys.\n */\n MONGO_CONNECT_URL: OptionalPlatformStoreUrlSchema,\n PG_CONNECT_URL: OptionalPlatformStoreUrlSchema,\n /**\n * Which store the platform's own data lives in. Parsed through the shared seam, so a\n * present-but-unknown declaration REFUSES rather than collapsing into the Mongo lane.\n *\n * semantic-literal-boundary: the canonical name is\n * `ApplicationBackendDataEnvKey.DATABASE_DEFAULT_ADAPTER` (platform-core-shared), which\n * this package does not depend on; the CLI emits the key from that enum.\n */\n DATABASE_DEFAULT_ADAPTER: OptionalPlatformStoreUrlSchema,\n REDIS_HOST: z.string().min(1),\n REDIS_PORT: z.coerce.number().int().positive(),\n REDIS_ADMIN_USER: z.string().min(1).optional(),\n REDIS_ADMIN_PASSWORD: z.string().min(1).optional(),\n RABBITMQ_HOST: z.string().min(1),\n RABBITMQ_PORT: z.coerce.number().int().positive(),\n RABBITMQ_ADMIN_USERNAME: z.string().min(1).optional(),\n RABBITMQ_ADMIN_PASSWORD: z.string().min(1).optional(),\n STORAGE_PROVIDER: z.string().min(1).optional(),\n STORAGE_ENDPOINT: z.string().min(1).optional(),\n STORAGE_PORT: z.coerce.number().int().positive().optional(),\n STORAGE_USE_SSL: z.union([z.boolean(), booleanStringSchema]).transform((value) => value === true).optional(),\n STORAGE_BUCKET: z.string().min(1).optional(),\n // ⚠️ NO `STORAGE_ACCESS_KEY` / `STORAGE_SECRET_KEY`. Those are the object store's\n // ROOT credential, and the companion never consumed them — it runs the same\n // app-tier storage provider as backend-api, which fetches short-lived,\n // prefix-confined STS sessions from apps-manager using the bootstrap contract\n // above. Declaring them here would let the CLI start emitting them again without\n // anything noticing, since an unused declaration reads exactly like a used one.\n // See `.claude/plans/object-storage-root-credential-distribution.md`.\n HOST: z.string().min(1).default('0.0.0.0'),\n PORT: z.coerce.number().int().positive(),\n APPLICATION_RUNTIME_ENDPOINTS: z.string().optional(),\n})\n /**\n * The two store rules, on the SCHEMA so they cannot be bypassed by a consumer that parses\n * the env itself. Both are refusals at the door: the alternative is a companion that boots,\n * connects nothing usable, and then reports every platform row as missing for the rest of\n * the process lifetime — which is exactly how issue #94 presented, and why it was diagnosed\n * as an uninitialized platform rather than a wrong connection.\n */\n .superRefine((env, ctx) => {\n if (env.MONGO_CONNECT_URL === undefined && env.PG_CONNECT_URL === undefined) {\n ctx.addIssue({\n code: 'custom',\n path: ['MONGO_CONNECT_URL'],\n message:\n 'The companion needs a platform store: set MONGO_CONNECT_URL or PG_CONNECT_URL. '\n + 'Re-run `wildo config sync` to regenerate the companion environment.',\n });\n }\n // A declared PostgreSQL platform without its URL dies later inside a repository read with\n // an unsatisfiable message. Mirrored from module-registry's door and the apps-manager\n // env schema, which state the same pair rule for the same reason.\n if (parseDeclaredPersistenceAdapter(env.DATABASE_DEFAULT_ADAPTER) === PersistenceAdapter.POSTGRESQL\n && env.PG_CONNECT_URL === undefined) {\n ctx.addIssue({\n code: 'custom',\n path: ['PG_CONNECT_URL'],\n message:\n 'DATABASE_DEFAULT_ADAPTER=postgresql requires PG_CONNECT_URL: the companion pre-connects '\n + 'its own PostgreSQL from env before any repository is constructed. '\n + 'Re-run `wildo config sync`.',\n });\n }\n });\n\nexport type CompanionPlatformEnv = z.infer<typeof CompanionPlatformEnvSchema>;\n\nfunction deriveLocalOnlySecret(\n primarySecret: string,\n purpose: string,\n): string {\n return createHash('sha256')\n .update(`${primarySecret}:${purpose}`)\n .digest('hex');\n}\n\n/**\n * The workbench's frontend-service entry.\n *\n * ## `usersManagement` is EMPTY on purpose, and the reason is not \"nothing to manage\"\n *\n * It reads as a placeholder and is a decision. `resolveUserTypeFromFrontendServiceName` derives the\n * session's `activeUserType` from this map, and the orchestrator then requires the authenticating\n * user's `userTypes[]` to contain it. Declaring the APPLICATION's user type here — which is what an\n * application frontend does, and what this entry briefly did — makes every workbench login fail with\n * `authentication_user_type_mismatch`.\n *\n * It fails because the companion authenticates against a DIFFERENT DATABASE than the application.\n * Measured on the dogfood stack, where one email exists twice:\n *\n * wildo_platform → userTypes: [] ← the identity the companion resolves\n * wonder-crm-db → userTypes: [\"member\"] ← the application's own user\n *\n * So the application's user-type vocabulary is not the companion's to assert. An empty map leaves\n * `activeUserType` unset, the type gate is skipped, and the operator is authenticated as the platform\n * identity they actually are.\n *\n * The entry must still EXIST — without the key, `ApplicationConfigController` refuses the bootstrap\n * with `app_configuration_unknown_frontend_service` and no provider mounts at all.\n *\n * If the companion ever authenticates application users, this becomes a real decision rather than an\n * omission: it would need the user types of whichever store it resolves identities from.\n */\nfunction buildWorkbenchFrontendServiceEntry(): AppConfiguration['frontendServices'][string] {\n return { usersManagement: {} };\n}\n\nfunction assertNoCompanionRuntimeManagedOverrides(\n backendConfig: AppConfiguration_BackendAuthored | undefined,\n): void {\n if (!backendConfig) {\n return;\n }\n\n const forbiddenKeys = ['providers', 'providerConfigurations'];\n const authoredForbiddenKeys = forbiddenKeys.filter((key) =>\n Object.prototype.hasOwnProperty.call(backendConfig, key),\n );\n if (authoredForbiddenKeys.length === 0) {\n return;\n }\n\n throw new Error(\n `Companion backendConfig attempted to override runtime-managed fields: ${authoredForbiddenKeys.join(', ')}`,\n );\n}\n\nfunction resolveCompanionVersion(companionContext: CompanionContext): string {\n const candidateServices = [\n ...Object.values(companionContext.backendServices),\n ...Object.values(companionContext.frontendServices),\n ];\n\n for (const service of candidateServices) {\n const packageJsonPath = resolve(companionContext.saasRoot, service.path, 'package.json');\n if (!existsSync(packageJsonPath)) {\n continue;\n }\n\n try {\n const parsed = JSON.parse(readFileSync(packageJsonPath, 'utf8')) as { version?: unknown };\n if (typeof parsed.version === 'string' && parsed.version.trim()) {\n return parsed.version.trim();\n }\n } catch {\n // Fall through to the next candidate.\n }\n }\n\n return '1.0.0';\n}\n\n/**\n * On a platform with no MongoDB URL — a PostgreSQL-engined platform — this returns a\n * DISABLED block rather than a connected one.\n *\n * `enabled: false` is the contract's way of saying \"this store is not available here\":\n * `getDb()` refuses on it, so a Mongo-resolved repository fails with that answer instead\n * of binding to a connection this process never opened and failing at first use. The\n * configuration type requires the key, so omitting it is not available; declaring it\n * `enabled: true` unconditionally is the silent shape module-registry records paying for.\n */\nfunction resolveMongoRuntime(\n env: CompanionPlatformEnv,\n): {\n config: AppConfiguration['database']['mongodb'];\n secrets: AppConfigurationSecrets['database']['mongodb'];\n} {\n if (env.MONGO_CONNECT_URL === undefined) {\n return {\n config: {\n enabled: false,\n /*\n * The runtime schema requires a non-empty host and database name even on a disabled\n * block, so SOMETHING must go here — and the choice matters. A plausible default\n * (`localhost:27017`, `wildo_platform`) would mean that anything ignoring\n * `enabled: false` connects to whatever Mongo happens to be running on the machine and\n * silently reads an empty database, which is the exact failure this whole change exists\n * to remove. `.invalid` is reserved precisely so it can never resolve, so the same\n * mistake fails immediately and names its own cause.\n *\n * spec-cite: RFC 2606 §2 reserves the `.invalid` TLD for names that are \"clearly invalid\"\n * and guaranteed not to resolve in the global DNS.\n */\n host: 'mongodb-not-configured.invalid:27017',\n database: 'mongodb-not-configured',\n protocol: MongoDBProtocol.MONGODB,\n options: { retryWrites: false, w: 'majority', authSource: 'admin' },\n },\n secrets: {},\n };\n }\n const parsedUrl = new URL(env.MONGO_CONNECT_URL);\n const rawDatabase = parsedUrl.pathname.replace(/^\\/+/, '');\n const protocol = parsedUrl.protocol.replace(/:$/, '');\n const retryWrites = parsedUrl.searchParams.get('retryWrites') !== 'false';\n const directConnection = parsedUrl.searchParams.get('directConnection');\n\n return {\n config: {\n enabled: true,\n host: parsedUrl.host,\n database: rawDatabase || 'wildo_platform',\n protocol: protocol === MongoDBProtocol.MONGODB_SRV\n ? MongoDBProtocol.MONGODB_SRV\n : MongoDBProtocol.MONGODB,\n options: {\n retryWrites,\n w: parsedUrl.searchParams.get('w') ?? 'majority',\n authSource: parsedUrl.searchParams.get('authSource') ?? 'admin',\n ...(directConnection !== null ? { directConnection: directConnection === 'true' } : {}),\n },\n },\n secrets: {\n username: parsedUrl.username ? decodeURIComponent(parsedUrl.username) : undefined,\n password: parsedUrl.password ? decodeURIComponent(parsedUrl.password) : undefined,\n },\n };\n}\n\n/**\n * Which platform stores this environment says to connect, and with what.\n *\n * Extracted as a pure function because it is the decision issue #94 got wrong, and because\n * the startup service that executes it has ~15 injected dependencies and no unit test — so\n * left inline, the single most load-bearing branch of the fix was pinned by nothing. A\n * mutation that removed the PostgreSQL pre-connect entirely passed the whole suite.\n *\n * The startup service is now a trivial executor of this plan. Keep it that way: a branch\n * added there instead of here is a branch nothing can test.\n */\nexport interface CompanionPlatformStoreConnectionPlan {\n /** Present only when this environment declares a MongoDB platform store. */\n readonly mongoConnectUrl: string | undefined;\n /** Present only when this environment declares a PostgreSQL platform store. */\n readonly postgresConnectUrl: string | undefined;\n}\n\nexport function planCompanionPlatformStoreConnections(\n env: CompanionPlatformEnv,\n): CompanionPlatformStoreConnectionPlan {\n return {\n mongoConnectUrl: env.MONGO_CONNECT_URL,\n postgresConnectUrl: env.PG_CONNECT_URL,\n };\n}\n\nexport function parseCompanionPlatformEnv(\n source: NodeJS.ProcessEnv = process.env,\n): CompanionPlatformEnv {\n return CompanionPlatformEnvSchema.parse(source);\n}\n\nexport function resolveCompanionRuntimeConfig(\n source: NodeJS.ProcessEnv = process.env,\n): CompanionRuntimeConfig {\n const rawTraceabilityLevel = source.WILDO_DEV_COMPANION_TRACEABILITY_LEVEL;\n const normalizedTraceabilityLevel = rawTraceabilityLevel?.trim().toUpperCase();\n\n if (!normalizedTraceabilityLevel) {\n // ALWAYS-ON by default: the companion is a DEV-ONLY daemon whose whole\n // point is inspectable build-time work — a fresh checkout should leave\n // prompt/output artifacts for every agent call without anyone knowing a\n // magic env var. The old `NONE` default meant every derivation/deliberation\n // ran traceless unless the operator remembered to export the level (the\n // recurring \"why are there no trace rows?\" trap). The env var remains the\n // override for turning it DOWN (`NONE` / `DEBUG`) when disk noise matters.\n return {\n traceabilityLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n };\n }\n\n const parsedTraceabilityLevel = CompanionTraceabilityLevelSchema.safeParse(normalizedTraceabilityLevel);\n if (!parsedTraceabilityLevel.success) {\n const acceptedValues = Object.values(CompanionTraceabilityLevel).join(', ');\n throw new Error(\n `Invalid WILDO_DEV_COMPANION_TRACEABILITY_LEVEL \"${rawTraceabilityLevel}\". ` +\n `Accepted values: ${acceptedValues}.`,\n );\n }\n\n return {\n traceabilityLevel: parsedTraceabilityLevel.data,\n };\n}\n\n/**\n * Bootstrap material fetched from apps-manager — the authoritative source for\n * everything the operator authors in `wildo.infra.<env>.config.ts` and the\n * app declares in `wildo.saas.config.ts`. The companion fetches the SAME\n * payload that `AppConfigurationLoaderService.initialize()` fetches for\n * app backends (and the SAME `/apps-to-manager/application-config` route),\n * authenticated by the WT app credentials the companion already carries in\n * its env. This is what aligns the companion with the canonical bootstrap:\n * the parallel-path single-source-of-truth was an artefact of an earlier\n * design; now the companion derives JWT TTLs, frontendServices inventory,\n * appIdentity, engineCapabilities, providers, and email-management flags\n * from apps-manager instead of synthesising them locally.\n *\n * Returns `null` if apps-manager is unreachable or returns an unrecognised\n * payload — callers fall back to the locally-derived seed in that case.\n */\ntype AppsManagerBootstrapMaterial = Omit<AppBootstrapConfigMetadataResponse, 'jwt'> & { readonly jwt: AppConfiguration['jwt'] };\n\nasync function fetchAppsManagerBootstrapMaterial(\n env: CompanionPlatformEnv,\n): Promise<AppsManagerBootstrapMaterial | null> {\n try {\n const url = `${env.PLATFORM_APPS_MANAGER_URL}/api/v1/apps-to-manager/application-config`;\n const controller = new AbortController();\n const timeoutId = setTimeout(() => controller.abort(), 10_000);\n let response: Response;\n try {\n response = await fetch(url, {\n method: 'GET',\n headers: {\n [WildoHeaderKeys.CONTENT_TYPE]: 'application/json',\n [WildoHeaderKeys.SERVICE_ID]: env.SERVICE_NAME,\n [WildoHeaderKeys.PLATFORM_SECRET]: env.PLATFORM_APPLICATION_PRIMARY_SECRET,\n [WildoHeaderKeys.APPLICATION_ID]: env.APPLICATION_ID,\n },\n signal: controller.signal,\n });\n } finally {\n clearTimeout(timeoutId);\n }\n\n if (!response.ok) {\n return null;\n }\n\n const parsed = AppBootstrapConfigMetadataResponseSchema.safeParse(await response.json());\n if (!parsed.success || !parsed.data.jwt) {\n return null;\n }\n // Parse the exact producer contract rather than maintaining a second shape. In particular,\n // verification keys and their rotation cutoffs live under `jwt`; reading obsolete top-level\n // properties silently empties the companion's fresh-publication authority.\n return {\n ...parsed.data,\n jwt: {\n ...parsed.data.jwt,\n rotatedPublicKeys: parsed.data.jwt.rotatedPublicKeys ?? {},\n },\n };\n } catch {\n // Fail-soft: apps-manager unreachable, downstream uses local seed.\n return null;\n }\n}\n\n/**\n * Build the fully resolved application config used by existing companion\n * services after the companion API lane switches to the platform-style env\n * contract. The env now owns runtime topology + infra identity, while the app\n * still authors backend semantics through `backendConfig`.\n *\n * Now async because the bootstrap material (JWT TTLs, frontendServices,\n * appIdentity, engineCapabilities, providers, email flags) is fetched from\n * apps-manager — the same single source of truth that backend-api uses via\n * `AppConfigurationLoaderService`. Locally-derived values (saas-config,\n * env) are kept as fallback when apps-manager is unreachable.\n */\nexport async function buildCompanionResolvedAppConfig(input: {\n companionContext: CompanionContext;\n env: CompanionPlatformEnv;\n backendConfig?: AppConfiguration_BackendAuthored;\n providerRuntime?: SaasRuntimeProvidersArtifact;\n}): Promise<{\n boundaryBaseConfig: AppConfiguration;\n config: AppConfiguration;\n secrets: AppConfigurationSecrets;\n}> {\n const { companionContext, env, backendConfig, providerRuntime } = input;\n assertNoCompanionRuntimeManagedOverrides(backendConfig);\n\n // Fetch the canonical bootstrap material from apps-manager BEFORE building\n // the seed. Apps-manager is the single source of truth for the\n // operator-authored JWT TTLs, the app-declared frontendServices inventory,\n // and other bootstrap-material the companion would otherwise have to\n // synthesise locally (and drift away from what backend-api / other\n // consumers see). When apps-manager is unreachable the result is `null`\n // and the seed below falls back to companionContext + canonical defaults.\n const appsManagerMaterial = await fetchAppsManagerBootstrapMaterial(env);\n\n const mongoRuntime = resolveMongoRuntime(env);\n const runtimeEndpointsFromEnv = env.APPLICATION_RUNTIME_ENDPOINTS\n ? parseRuntimeEndpointsRecord(env.APPLICATION_RUNTIME_ENDPOINTS)\n : {};\n const preservedCompanionEndpoint = runtimeEndpointsFromEnv[env.SERVICE_NAME];\n /* This process's own address, published twice below: under its service name and as the backend\n * the frontends it serves must call. Derived once so the two cannot disagree. */\n const companionOwnEndpoint = {\n publicUrl: preservedCompanionEndpoint?.publicUrl ?? `http://localhost:${env.PORT}`,\n internalUrl: preservedCompanionEndpoint?.internalUrl ?? `http://localhost:${env.PORT}`,\n };\n\n /*\n * The workbench's own endpoint, DERIVED from this companion's port rather than configured.\n *\n * The engine's config inspector refuses a `frontendServices` entry with no matching\n * `runtime.endPoints` entry — measured, as a startup crash loop:\n * `frontendServices.application-creation-workbench is declared but\n * runtime.endPoints.application-creation-workbench is missing a matching public URL`. Declaring the\n * service without its endpoint is not a half-configuration the engine tolerates, and it is right\n * not to: a frontend the backend cannot address is not a frontend it serves.\n *\n * Derived because the pair is allocated as a pair: the workbench sits at the companion's port plus\n * the declared offset (`wildo local dev` starts it there), so reading it from configuration would\n * add a second place for the same fact to be stated and to drift.\n */\n const workbenchEndpointUrl = `http://localhost:${env.PORT + WORKBENCH_PORT_OFFSET_FROM_COMPANION}`;\n\n const runtimeEndpoints = {\n ...runtimeEndpointsFromEnv,\n [WORKBENCH_FRONTEND_SERVICE_NAME]: {\n publicUrl: workbenchEndpointUrl,\n internalUrl: workbenchEndpointUrl,\n },\n ...buildPlatformRuntimeEndpoints({\n appsManager: {\n publicUrl: env.PLATFORM_APPS_MANAGER_URL,\n internalUrl: env.PLATFORM_APPS_MANAGER_URL,\n },\n crontabsBatchesManager: {\n publicUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n internalUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n },\n moduleRegistry: {\n publicUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n internalUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n },\n }),\n appsManager: {\n publicUrl: env.PLATFORM_APPS_MANAGER_URL,\n internalUrl: env.PLATFORM_APPS_MANAGER_URL,\n },\n crontabsBatchesManager: {\n publicUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n internalUrl: env.PLATFORM_CRONTABS_BATCHES_MANAGER_URL,\n },\n moduleRegistry: {\n publicUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n internalUrl: env.PLATFORM_MODULE_REGISTRY_URL,\n },\n [env.SERVICE_NAME]: {\n publicUrl: companionOwnEndpoint.publicUrl,\n internalUrl: companionOwnEndpoint.internalUrl,\n },\n /*\n * `main_backend_api` is the COMPANION, overriding the observed application's.\n *\n * `runtimeEndpointsFromEnv` is the whole application topology, and it names wonder-crm's backend\n * (`:4251`) under this key. Spreading it unchanged tells every frontend this companion serves —\n * the workbench — that ANOTHER APPLICATION'S backend is its own, which is not a cosmetic\n * mislabel: `AuthSessionContext` derives the realtime URL from this key and `FlowsActorsContext`\n * calls it with the caller's bearer token. Measured in the browser: the workbench opened a\n * socket at `http://localhost:4251` and retried forever behind a CORS wall, and only that wall\n * stopped its token reaching a backend that is not its own.\n *\n * The workbench's backend is this process — it is what serves `/api/v1` to it — so the honest\n * value is the companion's own endpoint, and it is the same one `[env.SERVICE_NAME]` above\n * publishes. Overriding rather than deleting keeps both frontend readers working (a missing key\n * makes each warn and skip), and it is placed AFTER the spread on purpose: the inherited value\n * must lose.\n */\n [BackendApiType.MAIN_BACKEND_API]: {\n publicUrl: companionOwnEndpoint.publicUrl,\n internalUrl: companionOwnEndpoint.internalUrl,\n },\n };\n\n const baseConfig = buildMinimalPreOverrideAppConfiguration({\n runtimeEndpoints,\n // Object-storage TOPOLOGY, and it is load-bearing: the companion runs the\n // app-tier `WildoManagedStorageProvider`, which reads its endpoint / bucket /\n // prefix from resolved configuration. Omitting this block makes the provider\n // report itself UNCONFIGURED, so `initializePlatformRuntimeDependencies()`\n // skips storage init and every companion file operation fails later with no\n // configuration error anywhere — a silent disabling, not a crash.\n // The derivation is the one the application loader and the platform services\n // use; see `buildStorageTopologyFromEnvironment`.\n storage: buildStorageTopologyFromEnvironment(env),\n database: {\n /*\n * The platform's adapter, from env — NOT a literal. This was\n * `PersistenceAdapter.MONGODB` from 2026-02-05 (when Mongo was the only adapter)\n * until 2026-08-28, and the PostgreSQL migration never enumerated the companion,\n * so the literal outlived the world that made it true. See issue #94.\n */\n // The parser returns the WIDER `PersistenceAdapterType` union (it also admits `http-api`),\n // while this configuration field is typed as the `PersistenceAdapter` enum. The values are\n // identical strings; the cast is the narrow bridge between the two spellings, kept at the\n // single field rather than casting the whole configuration object.\n defaultAdapter: parseDeclaredPersistenceAdapter(env.DATABASE_DEFAULT_ADAPTER) as PersistenceAdapter,\n // Each store carries its own availability; see `resolveMongoRuntime` for why the Mongo\n // block is present-but-disabled rather than absent on a PostgreSQL platform.\n mongodb: mongoRuntime.config,\n ...(env.PG_CONNECT_URL ? { postgresql: { enabled: true } } : {}),\n redis: {\n host: env.REDIS_HOST,\n port: env.REDIS_PORT,\n db: 0,\n },\n rabbitmq: {\n host: env.RABBITMQ_HOST,\n port: env.RABBITMQ_PORT,\n },\n },\n });\n\n // `frontendServices` inventory: prefer apps-manager (canonical, matches\n // what backend-api gets). Fall back to companionContext's SaaS-declared\n // inventory when apps-manager is unreachable, with empty-policy entries\n // so the engine's boundary inspector recognises every key that\n // `backendConfig` may later attach policy to.\n const seededFrontendServices: AppConfiguration['frontendServices'] = {\n ...(appsManagerMaterial?.frontendServices\n ?? Object.fromEntries(\n Object.keys(companionContext.frontendServices).map((serviceName) => [\n serviceName,\n { usersManagement: {} },\n ]),\n )),\n /*\n * The workbench is a frontend this companion SERVES, and it is not one of the application's\n * declared services — so neither source above can produce it.\n *\n * Without this entry `ApplicationConfigController` refuses the workbench's bootstrap with\n * `app_configuration_unknown_frontend_service`, and `ApplicationMainProvider` cannot mount at\n * all: the config fetch is phase four of ten and every provider sits behind it.\n *\n * ## `usersManagement` is DERIVED from the application's own frontend, not invented\n *\n * It was `{}` first, and an empty map is not a neutral default — it declares a surface that\n * manages no users, so the frontend never establishes a session and the shell logs the operator\n * straight back out after a successful password authentication.\n *\n * The workbench authenticates the SAME users, from the SAME database, as the application it\n * observes, so it declares the same users-management capability rather than a hand-written one\n * that can disagree with it. Registration is forced OFF: an operator surface signs EXISTING\n * administrators in, and must never be a place an account is created.\n *\n * Seeded LAST so it can never shadow an application service of the same name.\n */\n [WORKBENCH_FRONTEND_SERVICE_NAME]: buildWorkbenchFrontendServiceEntry(),\n };\n\n // `jwt` block: canonical source is apps-manager (operator-authored TTLs\n // in `wildo.infra.<env>.config.ts` → app registration → apps-manager\n // seed → bootstrap response). Local fallback uses the framework's\n // canonical defaults (15 min / 30 days from `WildoAuthConfigSchema`,\n // empty public-key maps) when apps-manager is unreachable — a missing\n // JWT block would otherwise break Zod validation of the final resolved\n // config.\n /*\n * Minted (or read back) before the JWT block is seeded, because BOTH halves must name the same\n * pair: the private key signs in `secrets`, the public key verifies in `config`. Seeding one from\n * apps-manager and the other locally would produce a token this process cannot verify.\n */\n const companionSigningKeyPair = ensureCompanionLocalSigningKeyPair(companionContext.saasRoot);\n\n const seededJwtSource: AppConfiguration['jwt'] = appsManagerMaterial?.jwt ?? {\n publicKey: {},\n rotatedPublicKeys: {},\n accessTokenExpirationMinutes: 15,\n refreshTokenExpirationDays: 30,\n };\n\n /*\n * The companion's own public key, merged over whichever source supplied the rest of the block.\n *\n * Apps-manager owns the operator-authored TTLs and any application keys, and it must keep owning\n * them — but it has no key for a token this process signs. Merging rather than replacing keeps the\n * TTLs canonical while making the locally-signed token verifiable here.\n */\n const seededJwt: AppConfiguration['jwt'] = {\n ...seededJwtSource,\n publicKey: {\n ...seededJwtSource.publicKey,\n [JwtPrivateKeys.APPLICATION_AUTH_TOKEN]: companionSigningKeyPair.publicKey,\n },\n };\n\n const seededConfig = {\n ...baseConfig,\n // Override HTTP server timeouts so long-running LLM-bound endpoints\n // (`/api/companion/labelling/labellize`, `.../translate`, email +\n // market generation) aren't killed by Node's default 5-minute\n // `requestTimeout`. The companion's labelling pipeline routinely\n // runs > 10 minutes when materializing a large app's labels via\n // OpenAI. The default is the right setting for production app\n // traffic — only the dev companion needs the longer ceiling.\n runtime: {\n ...baseConfig.runtime,\n httpServerConfiguration: {\n requestTimeout: 30 * 60_000,\n headersTimeout: 30 * 60_000,\n keepAliveTimeout: 30 * 60_000,\n },\n },\n frontendServices: seededFrontendServices,\n jwt: seededJwt,\n appIdentity: appsManagerMaterial?.appIdentity ?? {\n appName: companionContext.saasConfig.name,\n displayName: companionContext.saasConfig.displayName,\n description: companionContext.saasConfig.description,\n version: resolveCompanionVersion(companionContext),\n },\n engineCapabilities:\n appsManagerMaterial?.engineCapabilities\n ?? companionContext.saasConfig.engineCapabilities\n ?? {},\n providers: providerRuntime?.scope\n ? {\n scopes: { companion: providerRuntime.scope },\n // A runtime-provided scope replaces only WHAT VENDORS DO here; what the application OFFERS\n // (`connections`) is an application-level declaration and is carried through unchanged.\n connections:\n appsManagerMaterial?.providers?.connections\n ?? companionContext.saasConfig.providers?.connections\n ?? {},\n // Same standing as `connections`: an application-level declaration a runtime scope knows\n // nothing about (#367).\n browserOperations:\n appsManagerMaterial?.providers?.browserOperations\n ?? companionContext.saasConfig.providers?.browserOperations\n ?? {},\n }\n : appsManagerMaterial?.providers\n ?? companionContext.saasConfig.providers\n ?? { scopes: {}, connections: {}, browserOperations: {} },\n // The stored copy is the ENVIRONMENT's configuration: `wildo.saas.config.ts` with this environment's\n // `infrastructure/<env>/wildo.infra.<env>.config.ts > providerConfigurations` laid over it when the CLI registered the\n // application. The fallback is the application layer ALONE — it carries no per-deployment identifier (an OAuth client\n // ID, a frontend SDK DSN) — so a companion running without an apps-manager copy sees none of those values.\n providerConfigurations:\n appsManagerMaterial?.providerConfigurations\n ?? companionContext.saasConfig.providerConfigurations\n ?? {},\n // Declared in `wildo.saas.config.ts` and no longer backend-authored (#1032), so without this the companion's\n // configuration carries none and the startup validator refuses it. The stored copy wins, as for its siblings.\n organizationTypes:\n appsManagerMaterial?.organizationTypes\n ?? companionContext.saasConfig.organizationTypes,\n /*\n * #1055 — and this site was SKIPPED when the carrier hops were enumerated, on the wrong axis.\n *\n * The reasoning was \"the companion does not READ a system of record, so D2 says backend-only\".\n * True and irrelevant: the companion REGISTERS RESOURCES, so it runs the registration arm, which\n * refuses a binding naming an instance it cannot see. With this absent the companion died at boot\n * with `Declared: none` on an application whose declaration was perfectly correct.\n *\n * The axis that decides a carrier hop is not who reads the VALUE — it is who parses the\n * CONFIGURATION that has to contain it.\n */\n systemsOfRecord:\n appsManagerMaterial?.systemsOfRecord\n ?? companionContext.saasConfig.systemsOfRecord,\n email: {\n ...baseConfig.email,\n isTransactionalWildoManaged:\n appsManagerMaterial?.email?.isTransactionalWildoManaged ?? true,\n isMarketingWildoManaged:\n appsManagerMaterial?.email?.isMarketingWildoManaged ?? true,\n },\n };\n\n const resolvedConfig = applyBackendAuthoredConfig(\n seededConfig,\n backendConfig ?? {},\n ) as AppConfiguration;\n\n const now = new Date();\n const resolvedSecrets: AppConfigurationSecrets = {\n database: {\n // REQUIRED by the secrets contract even on a PostgreSQL platform, so it is always present\n // and simply carries no credentials when no Mongo URL was declared. The CONFIG half above\n // is the one that must stay absent — that is what keeps repositories from binding to a\n // connection this process never opened.\n mongodb: mongoRuntime.secrets,\n // The engine PostgreSQL service reads `secrets.database.postgresql.connectUrl` first.\n // With the pre-connect door this is belt-and-braces, but a post-close reconnect must\n // find the same identity here rather than an unconfigurable blank.\n ...(env.PG_CONNECT_URL\n ? {\n postgresql: {\n connectUrl: env.PG_CONNECT_URL,\n // Required by the secrets contract. Read from the URL that is the actual\n // connection identity, so the two can never disagree; 5432 only when the URL\n // omits it, which is what the driver itself would assume.\n port: Number(new URL(env.PG_CONNECT_URL).port || '5432'),\n },\n }\n : {}),\n redis: {\n username: env.REDIS_ADMIN_USER,\n password: env.REDIS_ADMIN_PASSWORD,\n },\n rabbitmq: {\n username: env.RABBITMQ_ADMIN_USERNAME,\n password: env.RABBITMQ_ADMIN_PASSWORD,\n },\n },\n security: {\n jwt: {\n /*\n * The companion's OWN signing key, so the workbench operator can actually be issued a token.\n *\n * This was `{}` by construction, which made authentication run to completion and then fail\n * with `jwt_token_not_found`. The key is generated and persisted locally — see\n * `ensureCompanionLocalSigningKeyPair` for why it is deliberately NOT the application's:\n * a token signed here is one the application backend refuses, which is the correct boundary\n * between \"looking at a companion\" and \"acting on the application it observes\".\n */\n privateKey: { [JwtPrivateKeys.APPLICATION_AUTH_TOKEN]: companionSigningKeyPair.privateKey },\n },\n session: {\n secret: deriveLocalOnlySecret(env.PLATFORM_APPLICATION_PRIMARY_SECRET, 'companion-session'),\n encryptionKey: deriveLocalOnlySecret(\n env.PLATFORM_APPLICATION_PRIMARY_SECRET,\n 'companion-session-encryption',\n ),\n },\n },\n createdAt: now,\n updatedAt: now,\n };\n\n return {\n boundaryBaseConfig: seededConfig as AppConfiguration,\n config: resolvedConfig,\n secrets: resolvedSecrets,\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"companion-workbench-topology.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/utils/companion-workbench-topology.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oCAAoC,IAAI,CAAC"}
1
+ {"version":3,"file":"companion-workbench-topology.d.ts","sourceRoot":"","sources":["../../../../../../src/core/runtime/utils/companion-workbench-topology.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oCAAoC,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platform-core-domain-modules.companion.d.ts","sourceRoot":"","sources":["../../../../../src/core/runtime/utils/platform-core-domain-modules.companion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiB9D;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAO/C,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,mBAKhD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,8BAA8B,EAAE,gBAM5C,CAAC"}
1
+ {"version":3,"file":"platform-core-domain-modules.companion.d.ts","sourceRoot":"","sources":["../../../../../../src/core/runtime/utils/platform-core-domain-modules.companion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiB9D;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAO/C,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,mBAKhD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,8BAA8B,EAAE,gBAM5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chart-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/chart-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D;;;;;;GAMG;AACH,wBAAgB,uCAAuC,CACrD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,8BAA8B,GAC7D,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,oCAAoC,GACnE,8BAA8B,CAAC,0BAA0B,GAC5D,gCAAgC,CAiFlC"}
1
+ {"version":3,"file":"chart-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/chart-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D;;;;;;GAMG;AACH,wBAAgB,uCAAuC,CACrD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,8BAA8B,GAC7D,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,oCAAoC,GACnE,8BAA8B,CAAC,0BAA0B,GAC5D,gCAAgC,CAiFlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/composite-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAoBhD,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,YAAY,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvC,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED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ChC,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AA6ED,wBAAgB,2CAA2C,CACzD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,gCAAgC,EAC/C,UAAU,EACN,8BAA8B,CAAC,kCAAkC,GACjE,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,8BAA8B,GAChE,gCAAgC,CAgFlC"}
1
+ {"version":3,"file":"composite-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/composite-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAoBhD,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,YAAY,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvC,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,6CAA6C;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9C,YAAY,C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,8BAA8B,CAAC,kCAAkC,GACjE,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,8BAA8B,GAChE,gCAAgC,CAgFlC"}
@@ -109,10 +109,6 @@ export declare function formatFeatureRefListWithCrossLink(refs: readonly string[
109
109
  /**
110
110
  * Format a comma-separated list of role refs, decorating each
111
111
  * unresolved entry with `(unknown)`. Used by:
112
- * - The shared `buildTriggerLines` in
113
- * `onboarding-element-rendering.shared.ts` for
114
- * `trigger.conditions.roleRefs` on both onboarding views and
115
- * guidance flows.
116
112
  * - The guidance flow's `buildAudienceLines` for `audience.roleRefs`
117
113
  * (wired by P3/I1 closure of
118
114
  * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;
@@ -1 +1 @@
1
- {"version":3,"file":"cross-registry-rendering.shared.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/cross-registry-rendering.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AA4EH;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAER;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAIR;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sCAAsC,CACpD,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAIR"}
1
+ {"version":3,"file":"cross-registry-rendering.shared.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/cross-registry-rendering.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AA4EH;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAER;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAIR;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sCAAsC,CACpD,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,MAAM,CAIR"}
@@ -158,10 +158,6 @@ export function formatFeatureRefListWithCrossLink(refs) {
158
158
  /**
159
159
  * Format a comma-separated list of role refs, decorating each
160
160
  * unresolved entry with `(unknown)`. Used by:
161
- * - The shared `buildTriggerLines` in
162
- * `onboarding-element-rendering.shared.ts` for
163
- * `trigger.conditions.roleRefs` on both onboarding views and
164
- * guidance flows.
165
161
  * - The guidance flow's `buildAudienceLines` for `audience.roleRefs`
166
162
  * (wired by P3/I1 closure of
167
163
  * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;
@@ -1 +1 @@
1
- {"version":3,"file":"cross-registry-rendering.shared.js","sourceRoot":"","sources":["../../../../../src/core/specifications/cross-registry-rendering.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AAEH,OAAO,EACL,kCAAkC,EAClC,+BAA+B,EAC/B,4CAA4C,EAC5C,kCAAkC,EAClC,uCAAuC,EACvC,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,EAC/B,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,+BAA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CAC/C,IAAuB;IAEvB,OAAO,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,8BAA8B,CAC5C,IAAuB;IAEvB,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;SAC7D,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,sCAAsC,CACpD,IAAuB;IAEvB,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,yBAAyB,CAAC,GAAG,CAAC,CAAC,CAAC;SACrE,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC","sourcesContent":["/**\n * Render-time cross-link decoration helpers for the Step 5 Phase 9\n * companion-renderer integration of the Phase 8 cross-registry retrofit.\n *\n * # Why this module exists\n *\n * Phase 8 wired the Step 4 deferred string-typed ref slots into the\n * three populated cross-registries (feature / role / guidance-flow).\n * That layer is **fail-soft when a registry is empty** so the\n * order-deferred bootstrap still works — apps that haven't called\n * `register*Specifications` yet keep validating without errors.\n *\n * The companion renderer is the *second* line of defence: it walks\n * the same refs at render time, normalises them through the same\n * bi-scoped-key helpers, and decorates each ref with `(unknown)`\n * when the registry returns null. This makes drift visible to\n * companion-prompt consumers without breaking validator behaviour:\n *\n * - **Authored ref resolves** — printed verbatim, e.g. `\\`org-owner\\``.\n * - **Authored ref does NOT resolve** — printed with the suffix,\n * e.g. `\\`org-owner\\` (unknown)`. Companion prompts surfacing\n * \"Required roles\" lines now signal \"this ref points nowhere\"\n * so reviewers spot the drift in the rendered markdown rather\n * than waiting for a downstream consumer (i18n collector, role\n * inheritance graph, audience evaluator) to silently miss the\n * prose overlay.\n *\n * # Why this lives in dev-companion (not saas-specifications)\n *\n * Cross-registry **validation** lives in the spec package\n * (`engine/saas-specifications/src/_core/cross-registry-assertions.ts`)\n * because every authoring site must run the same fail-closed checks\n * regardless of how the spec is consumed. Cross-registry **rendering**\n * is renderer-specific — only companion prompts care about the\n * `(unknown)` flag, runtime consumers (i18n collector, audience\n * evaluator) handle missing refs differently. Co-locating the\n * decorator with the other render helpers (`formatCodeSymbolRef`,\n * `formatOwnerRefBullets`, `formatLiteralLine`) keeps the renderer's\n * internal contract local.\n *\n * # M2M is intentionally out of scope\n *\n * `formatM2MRequiredFeaturesLine` in `resource-specification-context\n * .factory.ts` does NOT call these helpers. The M2M `requiredFeatures`\n * slot is documented to honour application-defined gates beyond the\n * engine baseline (see `ResourceOperationM2MSpecification.requiredFeatures`\n * JSDoc), so its validator opts into `{ crossRegistry: 'fail-soft' }`\n * and its renderer must follow suit — a `(unknown)` flag would\n * mislead readers into thinking the M2M dispatcher has a registry-\n * resolution invariant that does not exist at runtime.\n *\n * # `formatRequiredFeaturesBullets` is the tri-consumer bridge\n *\n * The shared `formatRequiredFeaturesBullets` helper in\n * `specification-context-factory.shared.ts` is the single rendering\n * entry point for `RequiredFeaturesSpecification` payloads across\n * **three** call sites with **two** decoration contracts:\n *\n * - **Onboarding-view** (`onboarding-view-specification-context.factory.ts`)\n * and **guidance-flow audience** (`guidance-flow-specification-context\n * .factory.ts`, wired by P3/I1 closure of\n * `non-view-specification-coverage-step9-spec-infrastructure-hardening.md`)\n * pass `formatFeatureRefWithCrossLink` as the per-ref formatter so each\n * `featureRefs[i]` / `limitChecks[i].featureRef` gets the `(unknown)`\n * suffix when the registry returns null — these surfaces run with the\n * default `'fail-closed'` validator mode and the renderer mirrors that\n * contract.\n * - **M2M** (`resource-specification-context.factory.ts`) calls\n * `formatRequiredFeaturesBullets` with the plain bare-backtick formatter\n * (no decoration), preserving the documented `'fail-soft'` opt-in (see\n * the \"M2M is intentionally out of scope\" section above).\n *\n * The flat-list `formatFeatureRefListWithCrossLink` helper has **no\n * in-tree consumer** (see its JSDoc) — every required-features call site\n * goes through `formatRequiredFeaturesBullets` instead, which iterates\n * the array internally and calls the per-ref formatter once per entry.\n *\n * # Bare-ref convention\n *\n * The retrofit slots all carry **bare runtime identifiers**\n * (`'AI_ASSISTANT'`, `'org-owner'`) rather than fully-qualified\n * bi-scoped keys. The lookup helpers normalise via the family-specific\n * app-level key builder (delegated to\n * `normaliseRefToBiScopedKey` from the spec package). Pre-qualified\n * keys (`'resources.todos.MY_FEATURE'`) are accepted verbatim — the\n * renderer leaves the formatting decision (whether to show the bare\n * ref or the bi-scoped key) up to the call site by passing the\n * authored ref through unchanged inside the backticks.\n */\n\nimport {\n appLevelFeatureSpecificationKeyFor,\n appLevelRoleSpecificationKeyFor,\n buildApplicationGuidanceFlowSpecificationKey,\n hasRegisteredFeatureSpecifications,\n hasRegisteredGuidanceFlowSpecifications,\n hasRegisteredRoleSpecifications,\n lookupFeatureSpecification,\n lookupGuidanceFlowSpecification,\n lookupRoleSpecification,\n normaliseRefToBiScopedKey,\n} from '@wildo-ai/saas-specifications';\n\nconst UNKNOWN_REF_SUFFIX = ' (unknown)';\n\nfunction formatCrossLinkRef(\n ref: string,\n resolves: boolean,\n): string {\n return resolves ? `\\`${ref}\\`` : `\\`${ref}\\`${UNKNOWN_REF_SUFFIX}`;\n}\n\n/**\n * Mirrors the {@link assertFeatureRefsResolveToRegistry} fail-soft\n * contract: when the registry is empty (no engine bootstrap, no app\n * wiring yet) we cannot verify cross-links, so we treat every ref\n * as resolved rather than spamming `(unknown)`. Engine bootstrap\n * populates the feature registry on import, so this branch only\n * matters in test isolation or when a consumer imports the renderer\n * without the engine barrel.\n */\nfunction isFeatureRefResolved(ref: string): boolean {\n if (!hasRegisteredFeatureSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelFeatureSpecificationKeyFor,\n );\n return Boolean(lookupFeatureSpecification(biScopedKey));\n}\n\n/** Same fail-soft-when-empty contract as {@link isFeatureRefResolved}. */\nfunction isRoleRefResolved(ref: string): boolean {\n if (!hasRegisteredRoleSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelRoleSpecificationKeyFor,\n );\n return Boolean(lookupRoleSpecification(biScopedKey));\n}\n\n/**\n * Same fail-soft-when-empty contract as {@link isFeatureRefResolved},\n * BUT engine ships zero guidance flows so the registry stays empty\n * until apps explicitly call `registerGuidanceFlowSpecifications`.\n * Until that wiring lands, `excludeIfCompletedFlowRefs` will render\n * verbatim — once the app wires its aggregator (typically through\n * `companion-exports.ts` aggregation), the renderer starts flagging\n * dangling refs automatically without any further code change.\n */\nfunction isGuidanceFlowRefResolved(ref: string): boolean {\n if (!hasRegisteredGuidanceFlowSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n buildApplicationGuidanceFlowSpecificationKey,\n );\n return Boolean(lookupGuidanceFlowSpecification(biScopedKey));\n}\n\n/**\n * Format a single feature ref with `(unknown)` suffix when the\n * registry does not resolve it. Used as the per-ref formatter passed\n * to {@link formatRequiredFeaturesBullets} by both the onboarding-view\n * `buildRequiredFeaturesLines` and the guidance-flow\n * `buildAudienceLines` call sites — covers both the header `featureRefs`\n * list and each `limitChecks[].featureRef` bullet.\n */\nexport function formatFeatureRefWithCrossLink(ref: string): string {\n return formatCrossLinkRef(ref, isFeatureRefResolved(ref));\n}\n\n/**\n * Format a comma-separated list of feature refs, decorating each\n * unresolved entry with `(unknown)`. Currently has no in-tree\n * consumer — the active onboarding-view and guidance-flow call sites\n * instead route through {@link formatRequiredFeaturesBullets} which\n * applies {@link formatFeatureRefWithCrossLink} per-ref. Kept exported\n * for future callers that need a flat comma-joined list (no header /\n * limit-check structure).\n */\nexport function formatFeatureRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs.map(formatFeatureRefWithCrossLink).join(', ');\n}\n\n/**\n * Format a comma-separated list of role refs, decorating each\n * unresolved entry with `(unknown)`. Used by:\n * - The shared `buildTriggerLines` in\n * `onboarding-element-rendering.shared.ts` for\n * `trigger.conditions.roleRefs` on both onboarding views and\n * guidance flows.\n * - The guidance flow's `buildAudienceLines` for `audience.roleRefs`\n * (wired by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;\n * before that closure the audience block emitted role refs verbatim\n * without the `(unknown)` flag, so dangling roles slipped through\n * the renderer surface).\n */\nexport function formatRoleRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs\n .map((ref) => formatCrossLinkRef(ref, isRoleRefResolved(ref)))\n .join(', ');\n}\n\n/**\n * Format a comma-separated list of guidance flow refs, decorating\n * each unresolved entry with `(unknown)`. Used by the guidance\n * flow's `buildAudienceLines` for `audience.excludeIfCompletedFlowRefs`\n * (wired by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;\n * before that closure the audience block emitted excluded-flow refs\n * verbatim).\n *\n * Engine ships zero guidance flows so the registry stays empty\n * unless an app calls `registerGuidanceFlowSpecifications` from\n * its own bootstrap. Until that wiring lands the helper renders\n * refs verbatim (mirrors the fail-soft validator contract) — once\n * the registry is populated, dangling refs auto-flag with no\n * further code change in the renderer.\n */\nexport function formatGuidanceFlowRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs\n .map((ref) => formatCrossLinkRef(ref, isGuidanceFlowRefResolved(ref)))\n .join(', ');\n}\n"]}
1
+ {"version":3,"file":"cross-registry-rendering.shared.js","sourceRoot":"","sources":["../../../../../src/core/specifications/cross-registry-rendering.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AAEH,OAAO,EACL,kCAAkC,EAClC,+BAA+B,EAC/B,4CAA4C,EAC5C,kCAAkC,EAClC,uCAAuC,EACvC,+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AAC,GAAG,CAAC,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,iCAAiC,CAC/C,IAAuB;IAEvB,OAAO,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,8BAA8B,CAC5C,IAAuB;IAEvB,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;SAC7D,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,sCAAsC,CACpD,IAAuB;IAEvB,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,yBAAyB,CAAC,GAAG,CAAC,CAAC,CAAC;SACrE,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC","sourcesContent":["/**\n * Render-time cross-link decoration helpers for the Step 5 Phase 9\n * companion-renderer integration of the Phase 8 cross-registry retrofit.\n *\n * # Why this module exists\n *\n * Phase 8 wired the Step 4 deferred string-typed ref slots into the\n * three populated cross-registries (feature / role / guidance-flow).\n * That layer is **fail-soft when a registry is empty** so the\n * order-deferred bootstrap still works — apps that haven't called\n * `register*Specifications` yet keep validating without errors.\n *\n * The companion renderer is the *second* line of defence: it walks\n * the same refs at render time, normalises them through the same\n * bi-scoped-key helpers, and decorates each ref with `(unknown)`\n * when the registry returns null. This makes drift visible to\n * companion-prompt consumers without breaking validator behaviour:\n *\n * - **Authored ref resolves** — printed verbatim, e.g. `\\`org-owner\\``.\n * - **Authored ref does NOT resolve** — printed with the suffix,\n * e.g. `\\`org-owner\\` (unknown)`. Companion prompts surfacing\n * \"Required roles\" lines now signal \"this ref points nowhere\"\n * so reviewers spot the drift in the rendered markdown rather\n * than waiting for a downstream consumer (i18n collector, role\n * inheritance graph, audience evaluator) to silently miss the\n * prose overlay.\n *\n * # Why this lives in dev-companion (not saas-specifications)\n *\n * Cross-registry **validation** lives in the spec package\n * (`engine/saas-specifications/src/_core/cross-registry-assertions.ts`)\n * because every authoring site must run the same fail-closed checks\n * regardless of how the spec is consumed. Cross-registry **rendering**\n * is renderer-specific — only companion prompts care about the\n * `(unknown)` flag, runtime consumers (i18n collector, audience\n * evaluator) handle missing refs differently. Co-locating the\n * decorator with the other render helpers (`formatCodeSymbolRef`,\n * `formatOwnerRefBullets`, `formatLiteralLine`) keeps the renderer's\n * internal contract local.\n *\n * # M2M is intentionally out of scope\n *\n * `formatM2MRequiredFeaturesLine` in `resource-specification-context\n * .factory.ts` does NOT call these helpers. The M2M `requiredFeatures`\n * slot is documented to honour application-defined gates beyond the\n * engine baseline (see `ResourceOperationM2MSpecification.requiredFeatures`\n * JSDoc), so its validator opts into `{ crossRegistry: 'fail-soft' }`\n * and its renderer must follow suit — a `(unknown)` flag would\n * mislead readers into thinking the M2M dispatcher has a registry-\n * resolution invariant that does not exist at runtime.\n *\n * # `formatRequiredFeaturesBullets` is the tri-consumer bridge\n *\n * The shared `formatRequiredFeaturesBullets` helper in\n * `specification-context-factory.shared.ts` is the single rendering\n * entry point for `RequiredFeaturesSpecification` payloads across\n * **three** call sites with **two** decoration contracts:\n *\n * - **Onboarding-view** (`onboarding-view-specification-context.factory.ts`)\n * and **guidance-flow audience** (`guidance-flow-specification-context\n * .factory.ts`, wired by P3/I1 closure of\n * `non-view-specification-coverage-step9-spec-infrastructure-hardening.md`)\n * pass `formatFeatureRefWithCrossLink` as the per-ref formatter so each\n * `featureRefs[i]` / `limitChecks[i].featureRef` gets the `(unknown)`\n * suffix when the registry returns null — these surfaces run with the\n * default `'fail-closed'` validator mode and the renderer mirrors that\n * contract.\n * - **M2M** (`resource-specification-context.factory.ts`) calls\n * `formatRequiredFeaturesBullets` with the plain bare-backtick formatter\n * (no decoration), preserving the documented `'fail-soft'` opt-in (see\n * the \"M2M is intentionally out of scope\" section above).\n *\n * The flat-list `formatFeatureRefListWithCrossLink` helper has **no\n * in-tree consumer** (see its JSDoc) — every required-features call site\n * goes through `formatRequiredFeaturesBullets` instead, which iterates\n * the array internally and calls the per-ref formatter once per entry.\n *\n * # Bare-ref convention\n *\n * The retrofit slots all carry **bare runtime identifiers**\n * (`'AI_ASSISTANT'`, `'org-owner'`) rather than fully-qualified\n * bi-scoped keys. The lookup helpers normalise via the family-specific\n * app-level key builder (delegated to\n * `normaliseRefToBiScopedKey` from the spec package). Pre-qualified\n * keys (`'resources.todos.MY_FEATURE'`) are accepted verbatim — the\n * renderer leaves the formatting decision (whether to show the bare\n * ref or the bi-scoped key) up to the call site by passing the\n * authored ref through unchanged inside the backticks.\n */\n\nimport {\n appLevelFeatureSpecificationKeyFor,\n appLevelRoleSpecificationKeyFor,\n buildApplicationGuidanceFlowSpecificationKey,\n hasRegisteredFeatureSpecifications,\n hasRegisteredGuidanceFlowSpecifications,\n hasRegisteredRoleSpecifications,\n lookupFeatureSpecification,\n lookupGuidanceFlowSpecification,\n lookupRoleSpecification,\n normaliseRefToBiScopedKey,\n} from '@wildo-ai/saas-specifications';\n\nconst UNKNOWN_REF_SUFFIX = ' (unknown)';\n\nfunction formatCrossLinkRef(\n ref: string,\n resolves: boolean,\n): string {\n return resolves ? `\\`${ref}\\`` : `\\`${ref}\\`${UNKNOWN_REF_SUFFIX}`;\n}\n\n/**\n * Mirrors the {@link assertFeatureRefsResolveToRegistry} fail-soft\n * contract: when the registry is empty (no engine bootstrap, no app\n * wiring yet) we cannot verify cross-links, so we treat every ref\n * as resolved rather than spamming `(unknown)`. Engine bootstrap\n * populates the feature registry on import, so this branch only\n * matters in test isolation or when a consumer imports the renderer\n * without the engine barrel.\n */\nfunction isFeatureRefResolved(ref: string): boolean {\n if (!hasRegisteredFeatureSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelFeatureSpecificationKeyFor,\n );\n return Boolean(lookupFeatureSpecification(biScopedKey));\n}\n\n/** Same fail-soft-when-empty contract as {@link isFeatureRefResolved}. */\nfunction isRoleRefResolved(ref: string): boolean {\n if (!hasRegisteredRoleSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelRoleSpecificationKeyFor,\n );\n return Boolean(lookupRoleSpecification(biScopedKey));\n}\n\n/**\n * Same fail-soft-when-empty contract as {@link isFeatureRefResolved},\n * BUT engine ships zero guidance flows so the registry stays empty\n * until apps explicitly call `registerGuidanceFlowSpecifications`.\n * Until that wiring lands, `excludeIfCompletedFlowRefs` will render\n * verbatim — once the app wires its aggregator (typically through\n * `companion-exports.ts` aggregation), the renderer starts flagging\n * dangling refs automatically without any further code change.\n */\nfunction isGuidanceFlowRefResolved(ref: string): boolean {\n if (!hasRegisteredGuidanceFlowSpecifications()) {\n return true;\n }\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n buildApplicationGuidanceFlowSpecificationKey,\n );\n return Boolean(lookupGuidanceFlowSpecification(biScopedKey));\n}\n\n/**\n * Format a single feature ref with `(unknown)` suffix when the\n * registry does not resolve it. Used as the per-ref formatter passed\n * to {@link formatRequiredFeaturesBullets} by both the onboarding-view\n * `buildRequiredFeaturesLines` and the guidance-flow\n * `buildAudienceLines` call sites — covers both the header `featureRefs`\n * list and each `limitChecks[].featureRef` bullet.\n */\nexport function formatFeatureRefWithCrossLink(ref: string): string {\n return formatCrossLinkRef(ref, isFeatureRefResolved(ref));\n}\n\n/**\n * Format a comma-separated list of feature refs, decorating each\n * unresolved entry with `(unknown)`. Currently has no in-tree\n * consumer — the active onboarding-view and guidance-flow call sites\n * instead route through {@link formatRequiredFeaturesBullets} which\n * applies {@link formatFeatureRefWithCrossLink} per-ref. Kept exported\n * for future callers that need a flat comma-joined list (no header /\n * limit-check structure).\n */\nexport function formatFeatureRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs.map(formatFeatureRefWithCrossLink).join(', ');\n}\n\n/**\n * Format a comma-separated list of role refs, decorating each\n * unresolved entry with `(unknown)`. Used by:\n * - The guidance flow's `buildAudienceLines` for `audience.roleRefs`\n * (wired by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;\n * before that closure the audience block emitted role refs verbatim\n * without the `(unknown)` flag, so dangling roles slipped through\n * the renderer surface).\n */\nexport function formatRoleRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs\n .map((ref) => formatCrossLinkRef(ref, isRoleRefResolved(ref)))\n .join(', ');\n}\n\n/**\n * Format a comma-separated list of guidance flow refs, decorating\n * each unresolved entry with `(unknown)`. Used by the guidance\n * flow's `buildAudienceLines` for `audience.excludeIfCompletedFlowRefs`\n * (wired by P3/I1 closure of\n * `.cursor/plans/non-view-specification-coverage-step9-spec-infrastructure-hardening.md`;\n * before that closure the audience block emitted excluded-flow refs\n * verbatim).\n *\n * Engine ships zero guidance flows so the registry stays empty\n * unless an app calls `registerGuidanceFlowSpecifications` from\n * its own bootstrap. Until that wiring lands the helper renders\n * refs verbatim (mirrors the fail-soft validator contract) — once\n * the registry is populated, dangling refs auto-flag with no\n * further code change in the renderer.\n */\nexport function formatGuidanceFlowRefListWithCrossLink(\n refs: readonly string[],\n): string {\n return refs\n .map((ref) => formatCrossLinkRef(ref, isGuidanceFlowRefResolved(ref)))\n .join(', ');\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"execution-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/execution-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,2CAA2C,CACzD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,kCAAkC,GACjE,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,8BAA8B,GAChE,gCAAgC,CAiFlC"}
1
+ {"version":3,"file":"execution-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/execution-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,2CAA2C,CACzD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,kCAAkC,GACjE,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,wCAAwC,GACvE,8BAA8B,CAAC,8BAA8B,GAChE,gCAAgC,CAiFlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/feature-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAsBhD,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CA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,CAAC,CAAC;CAC/C;AAqCD,wBAAgB,qCAAqC,CACnD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,0BAA0B,EACzC,UAAU,EACN,8BAA8B,CAAC,2BAA2B,GAC1D,8BAA8B,CAAC,qCAAqC,GACpE,8BAA8B,CAAC,iCAAiC,GAChE,8BAA8B,CAAC,uBAAuB,GACzD,gCAAgC,CA8ElC"}
1
+ {"version":3,"file":"feature-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/feature-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAsBhD,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,mCAAmC;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAqCD,wBAAgB,qCAAqC,CACnD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,0BAA0B,EACzC,UAAU,EACN,8BAA8B,CAAC,2BAA2B,GAC1D,8BAA8B,CAAC,qCAAqC,GACpE,8BAA8B,CAAC,iCAAiC,GAChE,8BAA8B,CAAC,uBAAuB,GACzD,gCAAgC,CA8ElC"}
@@ -1 +1 @@
1
- {"version":3,"file":"flows-actors-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/flows-actors-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,6CAA6C,CAC3D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,qCAAqC,GACpE,8BAA8B,CAAC,+CAA+C,GAC9E,8BAA8B,CAAC,2CAA2C,GAC1E,8BAA8B,CAAC,iCAAiC,GACnE,gCAAgC,CAoFlC"}
1
+ {"version":3,"file":"flows-actors-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/flows-actors-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,6CAA6C,CAC3D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,qCAAqC,GACpE,8BAA8B,CAAC,+CAA+C,GAC9E,8BAA8B,CAAC,2CAA2C,GAC1E,8BAA8B,CAAC,iCAAiC,GACnE,gCAAgC,CAoFlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-component-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/frontend-component-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,oCAAoC,EAErC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAE/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAsBlF,MAAM,WAAW,wCAAwC;IACvD,KAAK,EAAE,MAAM,CAAC;IAC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+CAA+C,CAC7D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,oCAAoC,EACnD,UAAU,EACN,8BAA8B,CAAC,sCAAsC,GACrE,8BAA8B,CAAC,gDAAgD,GAC/E,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,kCAAkC,EACrE,iBAAiB,CAAC,EAAE,MAAM,GACzB,gCAAgC,CA4GlC"}
1
+ {"version":3,"file":"frontend-component-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/frontend-component-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,oCAAoC,EAErC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAE/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAsBlF,MAAM,WAAW,wCAAwC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,iDAAiD;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtC,qBAAqB,CAAC,EA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E,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChD,yBAAyB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,cAAc,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpC,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9C,aAAa,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjC;AA+ZD,wBAAgB,+CAA+C,CAC7D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,oCAAoC,EACnD,UAAU,EACN,8BAA8B,CAAC,sCAAsC,GACrE,8BAA8B,CAAC,gDAAgD,GAC/E,8BAA8B,CAAC,4CAA4C,GAC3E,8BAA8B,CAAC,kCAAkC,EACrE,iBAAiB,CAAC,EAAE,MAAM,GACzB,gCAAgC,CA4GlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"full-custom-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/full-custom-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,4CAA4C,CAC1D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,oCAAoC,GACnE,8BAA8B,CAAC,8CAA8C,GAC7E,8BAA8B,CAAC,0CAA0C,GACzE,8BAA8B,CAAC,gCAAgC,GAClE,gCAAgC,CAoFlC"}
1
+ {"version":3,"file":"full-custom-view-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/full-custom-view-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,iCAAiC,EAGvC,MAAM,mDAAmD,CAAC;AAoB3D,wBAAgB,4CAA4C,CAC1D,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,iCAAiC,EAChD,UAAU,EACN,8BAA8B,CAAC,oCAAoC,GACnE,8BAA8B,CAAC,8CAA8C,GAC7E,8BAA8B,CAAC,0CAA0C,GACzE,8BAA8B,CAAC,gCAAgC,GAClE,gCAAgC,CAoFlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"guidance-flow-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/guidance-flow-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,uCAAuC,EACxC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAyFhD,KAAK,mBAAmB,GACpB,+BAA+B,GAC/B,uCAAuC,CAAC;AAqJ5C,wBAAgB,0CAA0C,CACxD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,mBAAmB,EAClC,UAAU,EACN,8BAA8B,CAAC,iCAAiC,GAChE,8BAA8B,CAAC,2CAA2C,GAC1E,8BAA8B,CAAC,uCAAuC,GACtE,8BAA8B,CAAC,6BAA6B,GAC/D,gCAAgC,CAiHlC"}
1
+ {"version":3,"file":"guidance-flow-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/guidance-flow-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,uCAAuC,EACxC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AA0FhD,KAAK,mBAAmB,GACpB,+BAA+B,GAC/B,uCAAuC,CAAC;AAqJ5C,wBAAgB,0CAA0C,CACxD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,mBAAmB,EAClC,UAAU,EACN,8BAA8B,CAAC,iCAAiC,GAChE,8BAA8B,CAAC,2CAA2C,GAC1E,8BAA8B,CAAC,uCAAuC,GACtE,8BAA8B,CAAC,6BAA6B,GAC/D,gCAAgC,CAiHlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"guidance-flow-specification-context.factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/guidance-flow-specification-context.factory.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,GAC/B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,sCAAsC,EAAE,MAAM,gFAAgF,CAAC;AACxI,OAAO,EAAE,oDAAoD,EAAE,MAAM,8FAA8F,CAAC;AACpK,OAAO,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eAAe,EAAE,aAAa,CAAC,eAAe;oBAC9C,MAAM,EAAE,aAAa,CAAC,MAAM;oBAC5B,UAAU;oBACV,eAAe;oBACf,aAAa;oBACb,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,eAAe,EAAE,wBAAwB;oBACzC,aAAa;oBACb,aAAa;oBACb,YAAY;oBACZ,aAAa;oBACb,mBAAmB;oBACnB,KAAK;iBACN,CAAC;aACH,CAAC;QACJ,KAAK,8BAA8B,CAAC,6BAA6B;YAC/D,OAAO;gBACL,UAAU;gBACV,MAAM,EAAE,0BAA0B,CAAC,aAAa;gBAChD,OAAO,EAAE,2BAA2B,CAAC,eAAe;gBACpD,eAAe;gBACf,KAAK;gBACL,QAAQ,EAAE,2BAA2B,CAAC;oBACpC,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,eAAe,EAAE,aAAa,CAAC,eAAe;oBAC9C,MAAM,EAAE,aAAa,CAAC,MAAM;oBAC5B,UAAU;oBACV,eAAe;oBACf,aAAa;oBACb,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,wBAAwB;oBACxB,aAAa;oBACb,aAAa;oBACb,YAAY;oBACZ,aAAa;oBACb,mBAAmB;oBACnB,KAAK;iBACN,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type {\n GuidanceFlowSpecificationConfig,\n ResourceGuidanceFlowSpecificationConfig,\n} from '@wildo-ai/saas-specifications';\n\nimport type { SpecificationMarkdownContextPart } from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatOwnerRefBullets,\n formatRequiredFeaturesBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\nimport {\n formatFeatureRefWithCrossLink,\n formatGuidanceFlowRefListWithCrossLink,\n formatRoleRefListWithCrossLink,\n} from './cross-registry-rendering.shared';\nimport {\n buildTriggerLines,\n renderElementBlock,\n} from './onboarding-element-rendering.shared';\nimport { GUIDANCE_FLOW_ALL_INFORMATION_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-all-information.template';\nimport { GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template';\nimport { GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-development-usage-context.template';\nimport { GUIDANCE_FLOW_TRANSLATION_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-translation-context.template';\n\n/**\n * Markdown context model for guidance flow specs. Mirrors the\n * onboarding-view twin shape (purpose / successCriteria / uiRole\n * required, per-element overlay rendered as `elementBlocks`),\n * adds guidance-specific routing fields (scope / renderMode /\n * priority echoed in a single `## Routing` line) and an\n * `audienceLines` block that flattens the unified runtime\n * `GuidanceAudienceSchema` (roles + requiredFeatures +\n * excludeIfCompleted + createdAfter) into bullets.\n *\n * `scopeLabel` is computed at render time\n * (`<guidanceScope> · application` for application-scope specs,\n * `<guidanceScope> · resource: <type>` for resource-scope specs).\n * The runtime guidance scope (USER vs ORGANIZATION) and the\n * spec-layer authoring scope (application vs resource) are\n * orthogonal axes both surfaced in the routing line so companion\n * prompts always see both.\n */\ninterface GuidanceFlowContextModel {\n title: string;\n purpose: string;\n successCriteria: string;\n uiRole: string;\n scopeLabel: string;\n renderModeLabel: string;\n priorityLabel?: string;\n useWhen?: string;\n avoidWhen?: string;\n textSlotLines?: Array<{ text: string }>;\n elementBlocks?: Array<{ markdown: string }>;\n /**\n * Optional `## Trigger` block produced by the shared\n * {@link buildTriggerLines} helper (mirrors the onboarding-view\n * twin). Includes the trigger type, route pattern / event name /\n * delay when authored, role-ref decoration via\n * {@link formatRoleRefListWithCrossLink}, and the F-12 humanised\n * `triggerOnce` / `newUsersOnly` overrides. Suppressed entirely\n * when the spec carries no trigger so the surrounding `## Trigger`\n * markdown section drops out of the rendered template.\n *\n * Wired across the all-information / custom-implementation /\n * development-usage templates (translation context intentionally\n * drops trigger semantics — same scoping the onboarding-view\n * twin uses, since translation prompts only need user-facing\n * copy hooks).\n */\n triggerLines?: Array<{ text: string }>;\n audienceLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n implementationReferences?: Array<{ text: string }>;\n usageReferences?: Array<{ text: string }>;\n notes?: Array<{ text: string }>;\n}\n\nconst renderTranslationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderCustomImplementationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderDevelopmentUsageContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderAllInformationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_ALL_INFORMATION_TEMPLATE,\n);\n\ntype GuidanceFlowSpecAny =\n | GuidanceFlowSpecificationConfig\n | ResourceGuidanceFlowSpecificationConfig;\n\nfunction isResourceScoped(\n specification: GuidanceFlowSpecAny,\n): specification is ResourceGuidanceFlowSpecificationConfig {\n return typeof (specification as { resourceType?: unknown }).resourceType === 'string';\n}\n\nfunction buildScopeLabel(specification: GuidanceFlowSpecAny): string {\n const authoringScope = isResourceScoped(specification)\n ? `resource: ${specification.resourceType}`\n : 'application';\n return `${specification.guidanceScope} · ${authoringScope}`;\n}\n\nfunction buildPriorityLabel(specification: GuidanceFlowSpecAny): string | undefined {\n return typeof specification.priority === 'number'\n ? `Priority: ${specification.priority}`\n : undefined;\n}\n\nfunction buildTextSlotLines(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const textSlots = specification.textSlots ?? {};\n const lines = Object.entries(textSlots).flatMap(([slotName, slotSpec]) => {\n if (!slotSpec) {\n return [];\n }\n const whenSuffix = slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : '';\n const header = `${slotName}: ${slotSpec.purpose}${whenSuffix}`;\n const noteLines = slotSpec.notes?.map((note) => `${slotName} note: ${note}`) ?? [];\n return [header, ...noteLines];\n });\n return toMarkdownListItems(lines);\n}\n\nfunction buildElementBlocks(\n specification: GuidanceFlowSpecAny,\n): Array<{ markdown: string }> | undefined {\n if (specification.elements.length === 0) {\n return undefined;\n }\n return specification.elements.map((element) => ({\n markdown: renderElementBlock(element),\n }));\n}\n\n/**\n * Render the optional `audience` block as a flat bullet list mirroring\n * the unified runtime `GuidanceAudienceSchema` (roles + requiredFeatures\n * + excludeIfCompleted + createdAfter).\n *\n * # Cross-link decoration parity\n *\n * Every ref bucket flows through the matching\n * `cross-registry-rendering.shared.ts` helper so unresolved refs\n * surface a `(unknown)` flag in the rendered markdown — the renderer-\n * side mirror of the fail-soft cross-registry validators. The\n * delegation is the second line of defence after the validator: when\n * an app's `register*Specifications` aggregator omits a flow / role /\n * feature, the audience block flags the dangling ref instead of\n * silently emitting it verbatim and losing the drift signal.\n *\n * - `roleRefs` → {@link formatRoleRefListWithCrossLink} (mirrors\n * the trigger renderer's role decoration).\n * - `requiredFeatures` → delegates the entire header + limit-check\n * block to the shared {@link formatRequiredFeaturesBullets} helper\n * (passes {@link formatFeatureRefWithCrossLink} as the per-ref\n * formatter — same contract as the onboarding-view audience block).\n * The shared helper omits `(mode: OR)` when mode is unset / `OR`\n * (the runtime default) and surfaces `(mode: AND)` only on the\n * rare authored override.\n * - `excludeIfCompletedFlowRefs` →\n * {@link formatGuidanceFlowRefListWithCrossLink}. Engine ships zero\n * guidance flows so the registry stays empty until apps wire\n * `registerGuidanceFlowSpecifications`; until then refs render\n * verbatim per the helper's fail-soft contract.\n *\n * # Why a single helper for `requiredFeatures` (not duplicated)\n *\n * The audience-block previously inlined a divergent `Required\n * features (OR): …` header that always emitted the mode parenthetical\n * even when redundant. Migrating to {@link formatRequiredFeaturesBullets}\n * unifies M2M + onboarding-view + guidance-flow on the same render\n * shape (Phase 4.5 follow-up\n * `m2m-webhook-organization-delivery-phase4-5-hardening.md` Step 4\n * follow-up — kept out of original Step 4 scope to limit churn on\n * the audience-block test fixtures, then closed by P3/I1 of\n * `non-view-specification-coverage-step9-spec-infrastructure-hardening`).\n * One structural type → one rendered shape.\n */\nfunction buildAudienceLines(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const audience = specification.audience;\n if (!audience) {\n return undefined;\n }\n const lines: string[] = [];\n if (audience.roleRefs && audience.roleRefs.length > 0) {\n lines.push(`Required roles: ${formatRoleRefListWithCrossLink(audience.roleRefs)}`);\n }\n const requiredFeaturesBullets = formatRequiredFeaturesBullets(\n audience.requiredFeatures,\n { formatFeatureRef: formatFeatureRefWithCrossLink },\n );\n if (requiredFeaturesBullets !== undefined) {\n lines.push(...requiredFeaturesBullets);\n }\n if (audience.excludeIfCompletedFlowRefs && audience.excludeIfCompletedFlowRefs.length > 0) {\n lines.push(\n `Exclude users who have completed: ${formatGuidanceFlowRefListWithCrossLink(audience.excludeIfCompletedFlowRefs)}`,\n );\n }\n if (audience.createdAfterIso) {\n lines.push(`Only show to users created after: ${audience.createdAfterIso}`);\n }\n return toMarkdownListItems(lines);\n}\n\nfunction buildImplementationReferences(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n return toMarkdownListItems([\n ...(codeHandling.definitionOwner ? formatOwnerRefBullets(codeHandling.definitionOwner) : []),\n codeHandling.guidanceScopeSymbol\n ? `Guidance-scope symbol: ${formatCodeSymbolRef(codeHandling.guidanceScopeSymbol)}`\n : undefined,\n codeHandling.renderModeSymbol\n ? `Render-mode symbol: ${formatCodeSymbolRef(codeHandling.renderModeSymbol)}`\n : undefined,\n codeHandling.triggerTypeSymbol\n ? `Trigger-type symbol: ${formatCodeSymbolRef(codeHandling.triggerTypeSymbol)}`\n : undefined,\n codeHandling.elementTypeSymbol\n ? `Element-type symbol: ${formatCodeSymbolRef(codeHandling.elementTypeSymbol)}`\n : undefined,\n ...(codeHandling.declarationSymbols ?? []).map((symbol) => (\n `Declaration symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ...(codeHandling.notes ?? []).map((note) => `Note: ${note}`),\n ]);\n}\n\nexport function renderGuidanceFlowSpecificationContextPart(\n specificationId: string,\n specification: GuidanceFlowSpecAny,\n templateId:\n | SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `Guidance flow context: ${specificationId}`;\n const scopeLabel = buildScopeLabel(specification);\n const renderModeLabel = specification.renderMode;\n const priorityLabel = buildPriorityLabel(specification);\n const textSlotLines = buildTextSlotLines(specification);\n const elementBlocks = buildElementBlocks(specification);\n const triggerLines = buildTriggerLines(specification.trigger);\n const audienceLines = buildAudienceLines(specification);\n const implementationReferences = buildImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n const notes = toMarkdownListItems(specification.notes ?? []);\n\n switch (templateId) {\n case SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderTranslationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n textSlotLines,\n elementBlocks,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderCustomImplementationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderAllInformationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"guidance-flow-specification-context.factory.js","sourceRoot":"","sources":["../../../../../src/core/specifications/guidance-flow-specification-context.factory.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,GAC/B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,sCAAsC,EAAE,MAAM,gFAAgF,CAAC;AACxI,OAAO,EAAE,oDAAoD,EAAE,MAAM,8FAA8F,CAAC;AACpK,OAAO,EAAE,gDAAgD,EAAE,MAAM,0FAA0F,CAAC;AAC5J,OAAO,EAAE,0CAA0C,EAAE,MAAM,oFAAoF,CAAC;AAyDhJ,MAAM,wBAAwB,GAAG,uBAAuB,CACtD,0CAA0C,CAC3C,CAAC;AACF,MAAM,iCAAiC,GAAG,uBAAuB,CAC/D,oDAAoD,CACrD,CAAC;AACF,MAAM,6BAA6B,GAAG,uBAAuB,CAC3D,gDAAgD,CACjD,CAAC;AACF,MAAM,2BAA2B,GAAG,uBAAuB,CACzD,sCAAsC,CACvC,CAAC;AAMF,SAAS,gBAAgB,CACvB,aAAkC;IAElC,OAAO,OAAQ,aAA4C,CAAC,YAAY,KAAK,QAAQ,CAAC;AACxF,CAAC;AAED,SAAS,eAAe,CAAC,aAAkC;IACzD,MAAM,cAAc,GAAG,gBAAgB,CAAC,aAAa,CAAC;QACpD,CAAC,CAAC,aAAa,aAAa,CAAC,YAAY,EAAE;QAC3C,CAAC,CAAC,aAAa,CAAC;IAClB,OAAO,GAAG,aAAa,CAA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BAC5B,UAAU;oBACV,eAAe;oBACf,aAAa;oBACb,OAAO,EAAE,aAAa,CAAC,OAAO;oBAC9B,SAAS,EAAE,aAAa,CAAC,SAAS;oBAClC,wBAAwB;oBACxB,aAAa;oBACb,aAAa;oBACb,YAAY;oBACZ,aAAa;oBACb,mBAAmB;oBACnB,KAAK;iBACN,CAAC;aACH,CAAC;IACN,CAAC;AACH,CAAC","sourcesContent":["import type {\n GuidanceFlowSpecificationConfig,\n ResourceGuidanceFlowSpecificationConfig,\n} from '@wildo-ai/saas-specifications';\n\nimport type { SpecificationMarkdownContextPart } from './specification-context-factory.models';\nimport {\n SpecificationContextConcern,\n SpecificationContextFamily,\n SpecificationContextTemplateId,\n} from './specification-context-factory.models';\nimport {\n compileMarkdownTemplate,\n formatCodeSymbolRef,\n formatOwnerRefBullets,\n formatRequiredFeaturesBullets,\n toMarkdownListItems,\n} from './specification-context-factory.shared';\nimport {\n formatFeatureRefWithCrossLink,\n formatGuidanceFlowRefListWithCrossLink,\n formatRoleRefListWithCrossLink,\n} from './cross-registry-rendering.shared';\nimport {\n buildTriggerLines,\n renderElementBlock,\n} from './onboarding-element-rendering.shared';\nimport { GUIDANCE_FLOW_ALL_INFORMATION_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-all-information.template';\nimport { GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template';\nimport { GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-development-usage-context.template';\nimport { GUIDANCE_FLOW_TRANSLATION_CONTEXT_TEMPLATE } from './templates/guidance-flow-specification/guidance-flow-translation-context.template';\n\n/**\n * Markdown context model for guidance flow specs. Mirrors the\n * onboarding-view twin shape (purpose / successCriteria / uiRole\n * required, per-element overlay rendered as `elementBlocks`),\n * adds guidance-specific routing fields (scope / renderMode /\n * priority echoed in a single `## Routing` line) and an\n * `audienceLines` block that flattens the unified runtime\n * `GuidanceAudienceSchema` (roles + requiredFeatures +\n * excludeIfCompleted + createdAfter) into bullets.\n *\n * `scopeLabel` is computed at render time\n * (`<guidanceScope> · application` for application-scope specs,\n * `<guidanceScope> · resource: <type>` for resource-scope specs).\n * The runtime guidance scope (USER vs ORGANIZATION) and the\n * spec-layer authoring scope (application vs resource) are\n * orthogonal axes both surfaced in the routing line so companion\n * prompts always see both.\n */\ninterface GuidanceFlowContextModel {\n title: string;\n purpose: string;\n successCriteria: string;\n uiRole: string;\n scopeLabel: string;\n renderModeLabel: string;\n priorityLabel?: string;\n useWhen?: string;\n avoidWhen?: string;\n textSlotLines?: Array<{ text: string }>;\n elementBlocks?: Array<{ markdown: string }>;\n /**\n * Optional `## Trigger` block produced by the shared\n * {@link buildTriggerLines} helper (mirrors the onboarding-view\n * twin). Includes the trigger type and the route pattern / event\n * name / delay when authored. The role-ref decoration and the F-12\n * humanised `triggerOnce` / `newUsersOnly` overrides went with\n * `trigger.conditions` in #1369; role gating is rendered from\n * `audience.roleRefs` instead. Suppressed entirely\n * when the spec carries no trigger so the surrounding `## Trigger`\n * markdown section drops out of the rendered template.\n *\n * Wired across the all-information / custom-implementation /\n * development-usage templates (translation context intentionally\n * drops trigger semantics — same scoping the onboarding-view\n * twin uses, since translation prompts only need user-facing\n * copy hooks).\n */\n triggerLines?: Array<{ text: string }>;\n audienceLines?: Array<{ text: string }>;\n businessConstraints?: Array<{ text: string }>;\n implementationReferences?: Array<{ text: string }>;\n usageReferences?: Array<{ text: string }>;\n notes?: Array<{ text: string }>;\n}\n\nconst renderTranslationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_TRANSLATION_CONTEXT_TEMPLATE,\n);\nconst renderCustomImplementationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT_TEMPLATE,\n);\nconst renderDevelopmentUsageContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT_TEMPLATE,\n);\nconst renderAllInformationContext = compileMarkdownTemplate<GuidanceFlowContextModel>(\n GUIDANCE_FLOW_ALL_INFORMATION_TEMPLATE,\n);\n\ntype GuidanceFlowSpecAny =\n | GuidanceFlowSpecificationConfig\n | ResourceGuidanceFlowSpecificationConfig;\n\nfunction isResourceScoped(\n specification: GuidanceFlowSpecAny,\n): specification is ResourceGuidanceFlowSpecificationConfig {\n return typeof (specification as { resourceType?: unknown }).resourceType === 'string';\n}\n\nfunction buildScopeLabel(specification: GuidanceFlowSpecAny): string {\n const authoringScope = isResourceScoped(specification)\n ? `resource: ${specification.resourceType}`\n : 'application';\n return `${specification.guidanceScope} · ${authoringScope}`;\n}\n\nfunction buildPriorityLabel(specification: GuidanceFlowSpecAny): string | undefined {\n return typeof specification.priority === 'number'\n ? `Priority: ${specification.priority}`\n : undefined;\n}\n\nfunction buildTextSlotLines(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const textSlots = specification.textSlots ?? {};\n const lines = Object.entries(textSlots).flatMap(([slotName, slotSpec]) => {\n if (!slotSpec) {\n return [];\n }\n const whenSuffix = slotSpec.whenToUse ? ` Use when ${slotSpec.whenToUse}.` : '';\n const header = `${slotName}: ${slotSpec.purpose}${whenSuffix}`;\n const noteLines = slotSpec.notes?.map((note) => `${slotName} note: ${note}`) ?? [];\n return [header, ...noteLines];\n });\n return toMarkdownListItems(lines);\n}\n\nfunction buildElementBlocks(\n specification: GuidanceFlowSpecAny,\n): Array<{ markdown: string }> | undefined {\n if (specification.elements.length === 0) {\n return undefined;\n }\n return specification.elements.map((element) => ({\n markdown: renderElementBlock(element),\n }));\n}\n\n/**\n * Render the optional `audience` block as a flat bullet list mirroring\n * the unified runtime `GuidanceAudienceSchema` (roles + requiredFeatures\n * + excludeIfCompleted + createdAfter).\n *\n * # Cross-link decoration parity\n *\n * Every ref bucket flows through the matching\n * `cross-registry-rendering.shared.ts` helper so unresolved refs\n * surface a `(unknown)` flag in the rendered markdown — the renderer-\n * side mirror of the fail-soft cross-registry validators. The\n * delegation is the second line of defence after the validator: when\n * an app's `register*Specifications` aggregator omits a flow / role /\n * feature, the audience block flags the dangling ref instead of\n * silently emitting it verbatim and losing the drift signal.\n *\n * - `roleRefs` → {@link formatRoleRefListWithCrossLink} (mirrors\n * the trigger renderer's role decoration).\n * - `requiredFeatures` → delegates the entire header + limit-check\n * block to the shared {@link formatRequiredFeaturesBullets} helper\n * (passes {@link formatFeatureRefWithCrossLink} as the per-ref\n * formatter — same contract as the onboarding-view audience block).\n * The shared helper omits `(mode: OR)` when mode is unset / `OR`\n * (the runtime default) and surfaces `(mode: AND)` only on the\n * rare authored override.\n * - `excludeIfCompletedFlowRefs` →\n * {@link formatGuidanceFlowRefListWithCrossLink}. Engine ships zero\n * guidance flows so the registry stays empty until apps wire\n * `registerGuidanceFlowSpecifications`; until then refs render\n * verbatim per the helper's fail-soft contract.\n *\n * # Why a single helper for `requiredFeatures` (not duplicated)\n *\n * The audience-block previously inlined a divergent `Required\n * features (OR): …` header that always emitted the mode parenthetical\n * even when redundant. Migrating to {@link formatRequiredFeaturesBullets}\n * unifies M2M + onboarding-view + guidance-flow on the same render\n * shape (Phase 4.5 follow-up\n * `m2m-webhook-organization-delivery-phase4-5-hardening.md` Step 4\n * follow-up — kept out of original Step 4 scope to limit churn on\n * the audience-block test fixtures, then closed by P3/I1 of\n * `non-view-specification-coverage-step9-spec-infrastructure-hardening`).\n * One structural type → one rendered shape.\n */\nfunction buildAudienceLines(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const audience = specification.audience;\n if (!audience) {\n return undefined;\n }\n const lines: string[] = [];\n if (audience.roleRefs && audience.roleRefs.length > 0) {\n lines.push(`Required roles: ${formatRoleRefListWithCrossLink(audience.roleRefs)}`);\n }\n const requiredFeaturesBullets = formatRequiredFeaturesBullets(\n audience.requiredFeatures,\n { formatFeatureRef: formatFeatureRefWithCrossLink },\n );\n if (requiredFeaturesBullets !== undefined) {\n lines.push(...requiredFeaturesBullets);\n }\n if (audience.excludeIfCompletedFlowRefs && audience.excludeIfCompletedFlowRefs.length > 0) {\n lines.push(\n `Exclude users who have completed: ${formatGuidanceFlowRefListWithCrossLink(audience.excludeIfCompletedFlowRefs)}`,\n );\n }\n if (audience.createdAfterIso) {\n lines.push(`Only show to users created after: ${audience.createdAfterIso}`);\n }\n return toMarkdownListItems(lines);\n}\n\nfunction buildImplementationReferences(\n specification: GuidanceFlowSpecAny,\n): Array<{ text: string }> | undefined {\n const codeHandling = specification.codeHandling;\n if (!codeHandling) {\n return undefined;\n }\n return toMarkdownListItems([\n ...(codeHandling.definitionOwner ? formatOwnerRefBullets(codeHandling.definitionOwner) : []),\n codeHandling.guidanceScopeSymbol\n ? `Guidance-scope symbol: ${formatCodeSymbolRef(codeHandling.guidanceScopeSymbol)}`\n : undefined,\n codeHandling.renderModeSymbol\n ? `Render-mode symbol: ${formatCodeSymbolRef(codeHandling.renderModeSymbol)}`\n : undefined,\n codeHandling.triggerTypeSymbol\n ? `Trigger-type symbol: ${formatCodeSymbolRef(codeHandling.triggerTypeSymbol)}`\n : undefined,\n codeHandling.elementTypeSymbol\n ? `Element-type symbol: ${formatCodeSymbolRef(codeHandling.elementTypeSymbol)}`\n : undefined,\n ...(codeHandling.declarationSymbols ?? []).map((symbol) => (\n `Declaration symbol: ${formatCodeSymbolRef(symbol)}`\n )),\n ...(codeHandling.notes ?? []).map((note) => `Note: ${note}`),\n ]);\n}\n\nexport function renderGuidanceFlowSpecificationContextPart(\n specificationId: string,\n specification: GuidanceFlowSpecAny,\n templateId:\n | SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT\n | SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION,\n): SpecificationMarkdownContextPart {\n const title = `Guidance flow context: ${specificationId}`;\n const scopeLabel = buildScopeLabel(specification);\n const renderModeLabel = specification.renderMode;\n const priorityLabel = buildPriorityLabel(specification);\n const textSlotLines = buildTextSlotLines(specification);\n const elementBlocks = buildElementBlocks(specification);\n const triggerLines = buildTriggerLines(specification.trigger);\n const audienceLines = buildAudienceLines(specification);\n const implementationReferences = buildImplementationReferences(specification);\n const businessConstraints = toMarkdownListItems(specification.businessConstraints ?? []);\n const notes = toMarkdownListItems(specification.notes ?? []);\n\n switch (templateId) {\n case SpecificationContextTemplateId.GUIDANCE_FLOW_TRANSLATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.TRANSLATION_CONTEXT,\n specificationId,\n title,\n markdown: renderTranslationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n textSlotLines,\n elementBlocks,\n businessConstraints,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_CUSTOM_IMPLEMENTATION_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.CUSTOM_IMPLEMENTATION_CONTEXT,\n specificationId,\n title,\n markdown: renderCustomImplementationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_DEVELOPMENT_USAGE_CONTEXT:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.DEVELOPMENT_USAGE_CONTEXT,\n specificationId,\n title,\n markdown: renderDevelopmentUsageContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n usageReferences: implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n case SpecificationContextTemplateId.GUIDANCE_FLOW_ALL_INFORMATION:\n return {\n templateId,\n family: SpecificationContextFamily.GUIDANCE_FLOW,\n concern: SpecificationContextConcern.ALL_INFORMATION,\n specificationId,\n title,\n markdown: renderAllInformationContext({\n title,\n purpose: specification.purpose,\n successCriteria: specification.successCriteria,\n uiRole: specification.uiRole,\n scopeLabel,\n renderModeLabel,\n priorityLabel,\n useWhen: specification.useWhen,\n avoidWhen: specification.avoidWhen,\n implementationReferences,\n textSlotLines,\n elementBlocks,\n triggerLines,\n audienceLines,\n businessConstraints,\n notes,\n }),\n };\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"milestone-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/milestone-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAsBhD,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,KAAK,CAAC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ACvB,aAAa,EAAE,4BAA4B,EAC3C,UAAU,EACN,8BAA8B,CAAC,6BAA6B,GAC5D,8BAA8B,CAAC,uCAAuC,GACtE,8BAA8B,CAAC,mCAAmC,GAClE,8BAA8B,CAAC,yBAAyB,GAC3D,gCAAgC,CA8ElC"}
1
+ {"version":3,"file":"milestone-specification-context.factory.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/milestone-specification-context.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EACV,gCAAgC,EACjC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAGL,8BAA8B,EAC/B,MAAM,wCAAwC,CAAC;AAsBhD,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,yCAAyC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,mCAAmC;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C;AAqCD,wBAAgB,uCAAuC,CACrD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,4BAA4B,EAC3C,UAAU,EACN,8BAA8B,CAAC,6BAA6B,GAC5D,8BAA8B,CAAC,uCAAuC,GACtE,8BAA8B,CAAC,mCAAmC,GAClE,8BAA8B,CAAC,yBAAyB,GAC3D,gCAAgC,CA8ElC"}
@@ -1 +1 @@
1
- {"version":3,"file":"non-composite-view-specification-context.shared.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/non-composite-view-specification-context.shared.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MA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AAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IACtF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,4BAA4B,CAAC;CAC7C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kCAAkC,CAChD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,SAAS,GAC/F,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAUrC;AAED,wBAAgB,6CAA6C,CAC3D,YAAY,EAAE,4BAA4B,GAAG,SAAS,EACtD,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAiBrC"}
1
+ {"version":3,"file":"non-composite-view-specification-context.shared.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/non-composite-view-specification-context.shared.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;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AAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,SAAS,GAC/F,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAUrC;AAED,wBAAgB,6CAA6C,CAC3D,YAAY,EAAE,4BAA4B,GAAG,SAAS,EACtD,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAiBrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding-element-rendering.shared.d.ts","sourceRoot":"","sources":["../../../../src/core/specifications/onboarding-element-rendering.shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EAClC,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,kCAAkC,GAAG,MAAM,CA8BtF;AAkBD,KAAK,aAAa,GAAG,WAAW,CAAC,iCAAiC,CAAC,SAAS,CAAC,CAAC,GAC1E,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,aAAa,GAAG,SAAS,GACjC,gBAAgB,EAAE,GAAG,SAAS,CA2ChC"}
1
+ {"version":3,"file":"onboarding-element-rendering.shared.d.ts","sourceRoot":"","sources":["../../../../../src/core/specifications/onboarding-element-rendering.shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EAClC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,kCAAkC,GAAG,MAAM,CA8BtF;AAQD,KAAK,aAAa,GAAG,WAAW,CAAC,iCAAiC,CAAC,SAAS,CAAC,CAAC,GAC1E,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,aAAa,GAAG,SAAS,GACjC,gBAAgB,EAAE,GAAG,SAAS,CAyBhC"}