@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
@@ -0,0 +1,44 @@
1
+ import { ErrorCustomMessageReference } from '@wildo-ai/saas-models';
2
+ import { LabellingTypes } from '@wildo-ai/presets-components-models';
3
+ const ERROR_MESSAGE_REFERENCE_VALUES = new Set(Object.values(ErrorCustomMessageReference));
4
+ /** How many distinct `when` texts to carry into generation — enough to show the code's meaning, bounded. */
5
+ const MAX_WHEN_TEXTS_PER_CODE = 3;
6
+ export function collectDeclaredRefusals(specifications) {
7
+ const byCode = new Map();
8
+ const visit = (node, depth) => {
9
+ if (depth > 12 || node === null || typeof node !== 'object')
10
+ return;
11
+ if (Array.isArray(node)) {
12
+ for (const item of node)
13
+ visit(item, depth + 1);
14
+ return;
15
+ }
16
+ for (const [key, value] of Object.entries(node)) {
17
+ if (key === 'errorScenarios' && Array.isArray(value)) {
18
+ for (const scenario of value) {
19
+ const { errorCode, when } = (scenario ?? {});
20
+ if (typeof errorCode !== 'string' || errorCode.length === 0)
21
+ continue;
22
+ if (ERROR_MESSAGE_REFERENCE_VALUES.has(errorCode))
23
+ continue;
24
+ const texts = byCode.get(errorCode) ?? [];
25
+ if (typeof when === 'string' && when.length > 0 && !texts.includes(when))
26
+ texts.push(when);
27
+ byCode.set(errorCode, texts);
28
+ }
29
+ continue;
30
+ }
31
+ visit(value, depth + 1);
32
+ }
33
+ };
34
+ for (const specification of Object.values(specifications))
35
+ visit(specification, 0);
36
+ return [...byCode.entries()]
37
+ .sort(([left], [right]) => left.localeCompare(right))
38
+ .map(([code, when]) => ({ code, when: when.slice(0, MAX_WHEN_TEXTS_PER_CODE) }));
39
+ }
40
+ /** The label key a declared refusal's words live under. */
41
+ export function refusalLabelKey(code) {
42
+ return `${LabellingTypes.ERRORS_REFUSALS}.${code}.msg`;
43
+ }
44
+ //# sourceMappingURL=declared-refusal-codes.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declared-refusal-codes.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/declared-refusal-codes.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AA0BrE,MAAM,8BAA8B,GAAwB,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAEhH,4GAA4G;AAC5G,MAAM,uBAAuB,GAAG,CAAC,CAAC;AAElC,MAAM,UAAU,uBAAuB,CAAC,cAAiD;IACvF,MAAM,MAAM,GAAG,IAAI,GAAG,EAAoB,CAAC;IAC3C,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,KAAa,EAAQ,EAAE;QACnD,IAAI,KAAK,GAAG,EAAE,IAAI,IAAI,KAAK,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ;YAAE,OAAO;QACpE,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAAC,KAAK,MAAM,IAAI,IAAI,IAAI;gBAAE,KAAK,CAAC,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;YAAC,OAAO;QAAC,CAAC;QACrF,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,IAAI,GAAG,KAAK,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACrD,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE,CAAC;oBAC7B,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,CAAC,QAAQ,IAAI,EAAE,CAA4C,CAAC;oBACxF,IAAI,OAAO,SAAS,KAAK,Q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ingTypes } from '@wildo-ai/presets-components-models';\n\n/**\n * The DECLARED refusal codes of an application's resources, and what each one means (#1048).\n *\n * A resource specification documents each failure mode of an operation as an `errorScenarios[]` entry:\n * `{ code, when, errorCode? }`. `errorCode` is the machine-stable identifier the API returns in the error\n * body, and `when` is the business-language trigger — for a custom refusal, usually the REMEDY\n * (\"name the slot by its contract key\"). Nothing gave those codes words, so a form refused with one\n * showed only the generic validation sentence, and the remedy the specification documents never reached\n * the person.\n *\n * Collected by WALKING each specification for `errorScenarios` arrays rather than by naming the path to\n * them, because a scenario is authored on an operation or on one of its variants; a walker cannot miss a\n * nesting level a named path would.\n *\n * TOTAL over the declared codes, with one exclusion: a code that is already an\n * {@link ErrorCustomMessageReference} value has words in `errors_messages`, and planning it again here\n * would give one refusal two sources of text.\n */\nexport interface DeclaredRefusal {\n readonly code: string;\n /** The distinct `when` texts authored for this code, in first-seen order. */\n readonly when: readonly string[];\n}\n\nconst ERROR_MESSAGE_REFERENCE_VALUES: ReadonlySet<string> = new Set(Object.values(ErrorCustomMessageReference));\n\n/** How many distinct `when` texts to carry into generation — enough to show the code's meaning, bounded. */\nconst MAX_WHEN_TEXTS_PER_CODE = 3;\n\nexport function collectDeclaredRefusals(specifications: Readonly<Record<string, unknown>>): readonly DeclaredRefusal[] {\n const byCode = new Map<string, string[]>();\n const visit = (node: unknown, depth: number): void => {\n if (depth > 12 || node === null || typeof node !== 'object') return;\n if (Array.isArray(node)) { for (const item of node) visit(item, depth + 1); return; }\n for (const [key, value] of Object.entries(node)) {\n if (key === 'errorScenarios' && Array.isArray(value)) {\n for (const scenario of value) {\n const { errorCode, when } = (scenario ?? {}) as { errorCode?: unknown; when?: unknown };\n if (typeof errorCode !== 'string' || errorCode.length === 0) continue;\n if (ERROR_MESSAGE_REFERENCE_VALUES.has(errorCode)) continue;\n const texts = byCode.get(errorCode) ?? [];\n if (typeof when === 'string' && when.length > 0 && !texts.includes(when)) texts.push(when);\n byCode.set(errorCode, texts);\n }\n continue;\n }\n visit(value, depth + 1);\n }\n };\n for (const specification of Object.values(specifications)) visit(specification, 0);\n return [...byCode.entries()]\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([code, when]) => ({ code, when: when.slice(0, MAX_WHEN_TEXTS_PER_CODE) }));\n}\n\n/** The label key a declared refusal's words live under. */\nexport function refusalLabelKey(code: string): string {\n return `${LabellingTypes.ERRORS_REFUSALS}.${code}.msg`;\n}\n"]}
@@ -74,6 +74,33 @@ export interface FrontendDerivedLabelKeys {
74
74
  * until the dist catches up — same best-effort contract as the guidance/onboarding fields).
75
75
  */
76
76
  emptyStateSecondaryActionRefs: string[];
77
+ /**
78
+ * Structural layout refs per resource — `resourceType → { sections, wizardSteps, groups,
79
+ * filterPresets }`.
80
+ *
81
+ * The same frontend-only-fact problem as `operationDescriptionOptIns`, and it had no bridge, so
82
+ * NO SECTION IN ANY APPLICATION HAS EVER BEEN LABELLED. Measured 2026-09-18 across both dogfood
83
+ * applications: 0 of 315 resource label units carry a `sections` block, while the section policy
84
+ * (`RESOURCES_SECTIONS`) is populated and `<Section>` resolves
85
+ * `resources.{type}.sections.{ref}.title` — so every sectioned form rendered its own raw ref as a
86
+ * heading (`who`, `reach`, `occurrence`).
87
+ *
88
+ * The refs are authored in the ui-behavior (`layout.refs`), which only the SUBPROCESS can import.
89
+ * `planResourceUnits` read them from `resourceConfig.frontendConfiguration.layout.refs` on the
90
+ * backend registry, where they are always absent, and the subprocess — which computes the very
91
+ * same keys correctly — has its `resources.*` keys DROPPED as "owned by planResourceUnits". So the
92
+ * party that could see them was ignored, and the party that emitted them was blind: the keys fell
93
+ * through the gap between the two rather than being forgotten by either.
94
+ *
95
+ * Tolerant `Record<string, string[]>` per axis, like every sibling: a stale subprocess degrades to
96
+ * no section labels (today's behaviour) instead of crashing the plan.
97
+ */
98
+ resourceLayoutRefs: Record<string, {
99
+ sections: string[];
100
+ wizardSteps: string[];
101
+ groups: string[];
102
+ filterPresets: string[];
103
+ }>;
77
104
  }
78
105
  /**
79
106
  * Shared empty snapshot returned when discovery is skipped (no SAAS_APP frontend
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-derived-label-keys.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/frontend-derived-label-keys.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1C;;;;;;;;;;;;OAYG;IACH,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACrD;;;;;;;;;;;;OAYG;IACH,6BAA6B,EAAE,MAAM,EAAE,CAAC;CACzC;AAED;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,wBAQ/C,CAAC;AAgCF;;;;;;;;;;;;GAYG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,OAAO,GAAG,wBAAwB,GAAG,IAAI,CA0BhG"}
1
+ {"version":3,"file":"frontend-derived-label-keys.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/frontend-derived-label-keys.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1C;;;;;;;;;;;;OAYG;IACH,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C;;;;;;;;;;;;;;;;;OAiBG;IACH,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACrD;;;;;;;;;;;;OAYG;IACH,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,WAAW,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,aAAa,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;CAC9H;AAED;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,wBAS/C,CAAC;AAwDF;;;;;;;;;;;;GAYG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,OAAO,GAAG,wBAAwB,GAAG,IAAI,CA4BhG"}
@@ -12,6 +12,7 @@ export const EMPTY_FRONTEND_DERIVED_LABEL_KEYS = {
12
12
  settingsHubKeyMeta: {},
13
13
  operationDescriptionOptIns: {},
14
14
  emptyStateSecondaryActionRefs: [],
15
+ resourceLayoutRefs: {},
15
16
  };
16
17
  function onlyStringRecord(value) {
17
18
  if (typeof value !== 'object' || value === null || Array.isArray(value))
@@ -44,6 +45,31 @@ function onlyStringArrayRecord(value) {
44
45
  }
45
46
  return result;
46
47
  }
48
+ /**
49
+ * Coerce an unknown into the per-resource structural-ref map, dropping malformed entries and
50
+ * resources that declare no ref on any axis. Same tolerance contract as `onlyStringArrayRecord`:
51
+ * a stale subprocess simply contributes nothing rather than failing the plan.
52
+ */
53
+ function onlyLayoutRefsRecord(value) {
54
+ if (typeof value !== 'object' || value === null || Array.isArray(value))
55
+ return {};
56
+ const result = {};
57
+ for (const [resourceType, entry] of Object.entries(value)) {
58
+ if (typeof entry !== 'object' || entry === null)
59
+ continue;
60
+ const axes = entry;
61
+ const refs = {
62
+ sections: onlyStrings(axes.sections),
63
+ wizardSteps: onlyStrings(axes.wizardSteps),
64
+ groups: onlyStrings(axes.groups),
65
+ filterPresets: onlyStrings(axes.filterPresets),
66
+ };
67
+ if (refs.sections.length || refs.wizardSteps.length || refs.groups.length || refs.filterPresets.length) {
68
+ result[resourceType] = refs;
69
+ }
70
+ }
71
+ return result;
72
+ }
47
73
  /**
48
74
  * Parse the raw `frontend-labels-needed-info` IPC payload into a typed snapshot.
49
75
  *
@@ -72,6 +98,7 @@ export function parseFrontendDerivedLabelSnapshot(data) {
72
98
  settingsHubKeyMeta: onlyStringRecord(payload?.settingsHubKeyMeta),
73
99
  operationDescriptionOptIns: onlyStringArrayRecord(payload?.operationDescriptionOptIns),
74
100
  emptyStateSecondaryActionRefs: onlyStrings(payload?.emptyStateSecondaryActionRefs),
101
+ resourceLayoutRefs: onlyLayoutRefsRecord(payload?.resourceLayoutRefs),
75
102
  };
76
103
  }
77
104
  //# sourceMappingURL=frontend-derived-label-keys.utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-derived-label-keys.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/frontend-derived-label-keys.utils.ts"],"names":[],"mappings":"AA8EA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA6B;IACzE,oBAAoB,EAAE,EAAE;IACxB,6BAA6B,EAAE,EAAE;IACjC,uBAAuB,EAAE,EAAE;IAC3B,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;IACtB,0BAA0B,EAAE,EAAE;IAC9B,6BAA6B,EAAE,EAAE;CAClC,CAAC;AAEF,SAAS,gBAAgB,CAAC,KAAc;IACtC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACn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BAAoB,EAAE,WAAW,CAAC,OAAO,CAAC,oBAAoB,CAAC;QAC/D,6BAA6B,EAAE,WAAW,CAAC,OAAO,EAAE,6BAA6B,CAAC;QAClF,uBAAuB,EAAE,WAAW,CAAC,OAAO,EAAE,uBAAuB,CAAC;QACtE,eAAe,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC;QAChE,wEAAwE;QACxE,qEAAqE;QACrE,kBAAkB,EAAE,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,CAAC;QACjE,0BAA0B,EAAE,qBAAqB,CAAC,OAAO,EAAE,0BAA0B,CAAC;QACtF,6BAA6B,EAAE,WAAW,CAAC,OAAO,EAAE,6BAA6B,CAAC;KACnF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * The frontend-derived label-key snapshot returned by the\n * `frontend-labels-needed-info` introspection behavior. It runs once per plan in\n * the companion SUBPROCESS — the only process that can import the frontend module\n * graph — and is split by ownership so the planner can route each part:\n * - `appSpecificLabelKeys`: consumed SELECTIVELY by `planFrontendDerivedUnits`\n * (composite_views / views / sidebar_sections kept; resources + resource-scoped\n * guidance dropped — those are owned by `planResourceUnits`).\n * - `appLevelGuidanceFlowLabelKeys`: app-level `module.guidanceFlows`, used by\n * `planAppGuidanceUnit` as the fallback when no `setGuidanceFlowProvider`\n * override is registered.\n * - `onboardingViewLabelKeys`: `module.onboardingViews`, always owned by\n * `planAppGuidanceUnit` (onboarding views have no provider contract).\n *\n * Lives in a light util (no frontend-lib / saas-specifications imports) so the\n * parsing contract is unit-testable without loading the heavy planner module\n * graph.\n */\nexport interface FrontendDerivedLabelKeys {\n appSpecificLabelKeys: string[];\n appLevelGuidanceFlowLabelKeys: string[];\n onboardingViewLabelKeys: string[];\n /**\n * Per-key interpolation params (full `views.*` key → param names) for CUSTOM\n * execution-view labels. Consumed by `planFrontendDerivedUnits` to thread the\n * placeholder contract into the `views:root` unit's chunks (mirrors the\n * components bucket). Defaults to `{}` for stale subprocesses / no param'd labels.\n */\n viewLabelParams: Record<string, string[]>;\n /**\n * Per-key AUTHORED wording for settings-hub labels (full `settings_hub.*` key\n * → the label the application/engine already wrote).\n *\n * Threaded into the `settings-hub:root` unit as `purpose`, because without it\n * the labellize prompt sees only the REF and invents from it. Measured on\n * Wonder CRM 2026-08-30: `scim` became \"SCIM\" where the rail said \"User\n * provisioning\", and `siem` became \"SIEM\" where it said \"Audit streaming\" —\n * and since a generated key WINS over the authored fallback\n * (`tSettingsHubSection`), that is a live wording regression, not a cosmetic\n * one. The authored string is the intent; generation should translate it, not\n * replace it.\n */\n settingsHubKeyMeta: Record<string, string>;\n /**\n * Per-operation description OPT-IN, keyed `resourceType → operationIdentifier[]`.\n *\n * Authored ENTIRELY in the frontend ui-behavior (`operationFrontendConfig.hasDescription`),\n * so it is a frontend-only fact that ONLY the subprocess can read — the planner\n * main process sees the backend registry + policy, never `operationFrontendConfig`\n * (it carries React components: `iconOverride`, `customView`). This is the\n * dedicated bridge field that routes that fact to `planResourceUnits`, which emits\n * the `resources.{type}.operations.{op}.description` key for each flagged op so it\n * flows through `projectResourceKeyMeta` (spec-driven copy quality) like every other\n * resource key. Covers EVERY resource in the merged ui-behavior — including engine\n * resources (e.g. `organizations`) that are NOT materialized in the subprocess's\n * shared base but ARE present in the `RESOURCES_FRONTEND_MAIN_APP` overlay.\n *\n * Mirrors `viewLabelParams`' tolerant `Record<string, string[]>` shape: defaults to\n * `{}` for stale subprocesses (operation descriptions silently no-op until the\n * subprocess dist catches up — titles still generate off the policy).\n */\n operationDescriptionOptIns: Record<string, string[]>;\n /**\n * Resource types whose frontend empty-state config declares a `secondaryAction`.\n *\n * The empty-state `secondaryActionLabel` is the one empty-state label with NO generic\n * fallback in `ResourceEmptyState` — it renders ONLY when `frontendConfiguration.emptyState\n * .secondaryAction` is set (a frontend-only fact). So generating it for every resource is\n * pure waste. The planner emits `resources.{type}.emptyState.secondaryActionLabel` only for\n * the resource types in this list. (Empty-state *presence* and `primaryActionLabel` are\n * gated by the planner directly off backend collection/CREATE operations — title and\n * primaryActionLabel DO have generic fallbacks, so they need no bridge.) Tolerant `string[]`:\n * defaults to `[]` for a stale subprocess (a configured secondary label simply renders empty\n * until the dist catches up — same best-effort contract as the guidance/onboarding fields).\n */\n emptyStateSecondaryActionRefs: string[];\n}\n\n/**\n * Shared empty snapshot returned when discovery is skipped (no SAAS_APP frontend\n * service, subprocess failure, or malformed payload). Read-only by every consumer\n * (`planFrontendDerivedUnits` filters into new arrays; `planAppGuidanceUnit`\n * spreads into a new Set), so the singleton reference is safe to share.\n */\nexport const EMPTY_FRONTEND_DERIVED_LABEL_KEYS: FrontendDerivedLabelKeys = {\n appSpecificLabelKeys: [],\n appLevelGuidanceFlowLabelKeys: [],\n onboardingViewLabelKeys: [],\n viewLabelParams: {},\n settingsHubKeyMeta: {},\n operationDescriptionOptIns: {},\n emptyStateSecondaryActionRefs: [],\n};\n\nfunction onlyStringRecord(value: unknown): Record<string, string> {\n if (typeof value !== 'object' || value === null || Array.isArray(value)) return {};\n const result: Record<string, string> = {};\n for (const [key, entry] of Object.entries(value as Record<string, unknown>)) {\n if (typeof entry === 'string' && entry.length > 0) result[key] = entry;\n }\n return result;\n}\n\nfunction onlyStrings(value: unknown): string[] {\n return Array.isArray(value)\n ? value.filter((key): key is string => typeof key === 'string')\n : [];\n}\n\n/**\n * Coerce an unknown into `Record<string, string[]>`, dropping non-string entries\n * and empty arrays. Used for the `viewLabelParams` map (tolerant of absence or a\n * malformed shape from a stale subprocess).\n */\nfunction onlyStringArrayRecord(value: unknown): Record<string, string[]> {\n if (typeof value !== 'object' || value === null) return {};\n const result: Record<string, string[]> = {};\n for (const [key, entry] of Object.entries(value as Record<string, unknown>)) {\n const params = onlyStrings(entry);\n if (params.length > 0) result[key] = params;\n }\n return result;\n}\n\n/**\n * Parse the raw `frontend-labels-needed-info` IPC payload into a typed snapshot.\n *\n * Returns `null` when the payload is missing the required `appSpecificLabelKeys`\n * array (malformed / non-success subprocess), so the caller can log + fall back\n * to {@link EMPTY_FRONTEND_DERIVED_LABEL_KEYS}.\n *\n * The two app-level guidance fields are TOLERANT of absence (default `[]`): a\n * stale subprocess emitting only the original single-field shape degrades\n * gracefully instead of throwing — composite/view/sidebar labels still generate;\n * only app-level guidance flows + onboarding views silently no-op until the\n * subprocess dist catches up. Non-string array entries are filtered out.\n */\nexport function parseFrontendDerivedLabelSnapshot(data: unknown): FrontendDerivedLabelKeys | null {\n const payload = data as {\n appSpecificLabelKeys?: unknown;\n appLevelGuidanceFlowLabelKeys?: unknown;\n onboardingViewLabelKeys?: unknown;\n viewLabelParams?: unknown;\n settingsHubKeyMeta?: unknown;\n operationDescriptionOptIns?: unknown;\n emptyStateSecondaryActionRefs?: unknown;\n } | undefined;\n\n if (!Array.isArray(payload?.appSpecificLabelKeys)) {\n return null;\n }\n\n return {\n appSpecificLabelKeys: onlyStrings(payload.appSpecificLabelKeys),\n appLevelGuidanceFlowLabelKeys: onlyStrings(payload?.appLevelGuidanceFlowLabelKeys),\n onboardingViewLabelKeys: onlyStrings(payload?.onboardingViewLabelKeys),\n viewLabelParams: onlyStringArrayRecord(payload?.viewLabelParams),\n // Tolerant of absence, like every sibling: a STALE subprocess predating\n // this field must degrade to no keyMeta, never crash the whole plan.\n settingsHubKeyMeta: onlyStringRecord(payload?.settingsHubKeyMeta),\n operationDescriptionOptIns: onlyStringArrayRecord(payload?.operationDescriptionOptIns),\n emptyStateSecondaryActionRefs: onlyStrings(payload?.emptyStateSecondaryActionRefs),\n };\n}\n"]}
1
+ {"version":3,"file":"frontend-derived-label-keys.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/frontend-derived-label-keys.utils.ts"],"names":[],"mappings":"AAoGA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA6B;IACzE,oBAAoB,EAAE,EAAE;IACxB,6BAA6B,EAAE,EAAE;IACjC,uBAAuB,EAAE,EAAE;IAC3B,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;IACtB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AAO,CAAC,oBAAoB,CAAC;QAC/D,6BAA6B,EAAE,WAAW,CAAC,OAAO,EAAE,6BAA6B,CAAC;QAClF,uBAAuB,EAAE,WAAW,CAAC,OAAO,EAAE,uBAAuB,CAAC;QACtE,eAAe,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC;QAChE,wEAAwE;QACxE,qEAAqE;QACrE,kBAAkB,EAAE,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,CAAC;QACjE,0BAA0B,EAAE,qBAAqB,CAAC,OAAO,EAAE,0BAA0B,CAAC;QACtF,6BAA6B,EAAE,WAAW,CAAC,OAAO,EAAE,6BAA6B,CAAC;QAClF,kBAAkB,EAAE,oBAAoB,CAAC,OAAO,EAAE,kBAAkB,CAAC;KACtE,CAAC;AACJ,CAAC","sourcesContent":["/**\n * The frontend-derived label-key snapshot returned by the\n * `frontend-labels-needed-info` introspection behavior. It runs once per plan in\n * the companion SUBPROCESS — the only process that can import the frontend module\n * graph — and is split by ownership so the planner can route each part:\n * - `appSpecificLabelKeys`: consumed SELECTIVELY by `planFrontendDerivedUnits`\n * (composite_views / views / sidebar_sections kept; resources + resource-scoped\n * guidance dropped — those are owned by `planResourceUnits`).\n * - `appLevelGuidanceFlowLabelKeys`: app-level `module.guidanceFlows`, used by\n * `planAppGuidanceUnit` as the fallback when no `setGuidanceFlowProvider`\n * override is registered.\n * - `onboardingViewLabelKeys`: `module.onboardingViews`, always owned by\n * `planAppGuidanceUnit` (onboarding views have no provider contract).\n *\n * Lives in a light util (no frontend-lib / saas-specifications imports) so the\n * parsing contract is unit-testable without loading the heavy planner module\n * graph.\n */\nexport interface FrontendDerivedLabelKeys {\n appSpecificLabelKeys: string[];\n appLevelGuidanceFlowLabelKeys: string[];\n onboardingViewLabelKeys: string[];\n /**\n * Per-key interpolation params (full `views.*` key → param names) for CUSTOM\n * execution-view labels. Consumed by `planFrontendDerivedUnits` to thread the\n * placeholder contract into the `views:root` unit's chunks (mirrors the\n * components bucket). Defaults to `{}` for stale subprocesses / no param'd labels.\n */\n viewLabelParams: Record<string, string[]>;\n /**\n * Per-key AUTHORED wording for settings-hub labels (full `settings_hub.*` key\n * → the label the application/engine already wrote).\n *\n * Threaded into the `settings-hub:root` unit as `purpose`, because without it\n * the labellize prompt sees only the REF and invents from it. Measured on\n * Wonder CRM 2026-08-30: `scim` became \"SCIM\" where the rail said \"User\n * provisioning\", and `siem` became \"SIEM\" where it said \"Audit streaming\" —\n * and since a generated key WINS over the authored fallback\n * (`tSettingsHubSection`), that is a live wording regression, not a cosmetic\n * one. The authored string is the intent; generation should translate it, not\n * replace it.\n */\n settingsHubKeyMeta: Record<string, string>;\n /**\n * Per-operation description OPT-IN, keyed `resourceType → operationIdentifier[]`.\n *\n * Authored ENTIRELY in the frontend ui-behavior (`operationFrontendConfig.hasDescription`),\n * so it is a frontend-only fact that ONLY the subprocess can read — the planner\n * main process sees the backend registry + policy, never `operationFrontendConfig`\n * (it carries React components: `iconOverride`, `customView`). This is the\n * dedicated bridge field that routes that fact to `planResourceUnits`, which emits\n * the `resources.{type}.operations.{op}.description` key for each flagged op so it\n * flows through `projectResourceKeyMeta` (spec-driven copy quality) like every other\n * resource key. Covers EVERY resource in the merged ui-behavior — including engine\n * resources (e.g. `organizations`) that are NOT materialized in the subprocess's\n * shared base but ARE present in the `RESOURCES_FRONTEND_MAIN_APP` overlay.\n *\n * Mirrors `viewLabelParams`' tolerant `Record<string, string[]>` shape: defaults to\n * `{}` for stale subprocesses (operation descriptions silently no-op until the\n * subprocess dist catches up — titles still generate off the policy).\n */\n operationDescriptionOptIns: Record<string, string[]>;\n /**\n * Resource types whose frontend empty-state config declares a `secondaryAction`.\n *\n * The empty-state `secondaryActionLabel` is the one empty-state label with NO generic\n * fallback in `ResourceEmptyState` — it renders ONLY when `frontendConfiguration.emptyState\n * .secondaryAction` is set (a frontend-only fact). So generating it for every resource is\n * pure waste. The planner emits `resources.{type}.emptyState.secondaryActionLabel` only for\n * the resource types in this list. (Empty-state *presence* and `primaryActionLabel` are\n * gated by the planner directly off backend collection/CREATE operations — title and\n * primaryActionLabel DO have generic fallbacks, so they need no bridge.) Tolerant `string[]`:\n * defaults to `[]` for a stale subprocess (a configured secondary label simply renders empty\n * until the dist catches up — same best-effort contract as the guidance/onboarding fields).\n */\n emptyStateSecondaryActionRefs: string[];\n /**\n * Structural layout refs per resource — `resourceType → { sections, wizardSteps, groups,\n * filterPresets }`.\n *\n * The same frontend-only-fact problem as `operationDescriptionOptIns`, and it had no bridge, so\n * NO SECTION IN ANY APPLICATION HAS EVER BEEN LABELLED. Measured 2026-09-18 across both dogfood\n * applications: 0 of 315 resource label units carry a `sections` block, while the section policy\n * (`RESOURCES_SECTIONS`) is populated and `<Section>` resolves\n * `resources.{type}.sections.{ref}.title` — so every sectioned form rendered its own raw ref as a\n * heading (`who`, `reach`, `occurrence`).\n *\n * The refs are authored in the ui-behavior (`layout.refs`), which only the SUBPROCESS can import.\n * `planResourceUnits` read them from `resourceConfig.frontendConfiguration.layout.refs` on the\n * backend registry, where they are always absent, and the subprocess — which computes the very\n * same keys correctly — has its `resources.*` keys DROPPED as \"owned by planResourceUnits\". So the\n * party that could see them was ignored, and the party that emitted them was blind: the keys fell\n * through the gap between the two rather than being forgotten by either.\n *\n * Tolerant `Record<string, string[]>` per axis, like every sibling: a stale subprocess degrades to\n * no section labels (today's behaviour) instead of crashing the plan.\n */\n resourceLayoutRefs: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }>;\n}\n\n/**\n * Shared empty snapshot returned when discovery is skipped (no SAAS_APP frontend\n * service, subprocess failure, or malformed payload). Read-only by every consumer\n * (`planFrontendDerivedUnits` filters into new arrays; `planAppGuidanceUnit`\n * spreads into a new Set), so the singleton reference is safe to share.\n */\nexport const EMPTY_FRONTEND_DERIVED_LABEL_KEYS: FrontendDerivedLabelKeys = {\n appSpecificLabelKeys: [],\n appLevelGuidanceFlowLabelKeys: [],\n onboardingViewLabelKeys: [],\n viewLabelParams: {},\n settingsHubKeyMeta: {},\n operationDescriptionOptIns: {},\n emptyStateSecondaryActionRefs: [],\n resourceLayoutRefs: {},\n};\n\nfunction onlyStringRecord(value: unknown): Record<string, string> {\n if (typeof value !== 'object' || value === null || Array.isArray(value)) return {};\n const result: Record<string, string> = {};\n for (const [key, entry] of Object.entries(value as Record<string, unknown>)) {\n if (typeof entry === 'string' && entry.length > 0) result[key] = entry;\n }\n return result;\n}\n\nfunction onlyStrings(value: unknown): string[] {\n return Array.isArray(value)\n ? value.filter((key): key is string => typeof key === 'string')\n : [];\n}\n\n/**\n * Coerce an unknown into `Record<string, string[]>`, dropping non-string entries\n * and empty arrays. Used for the `viewLabelParams` map (tolerant of absence or a\n * malformed shape from a stale subprocess).\n */\nfunction onlyStringArrayRecord(value: unknown): Record<string, string[]> {\n if (typeof value !== 'object' || value === null) return {};\n const result: Record<string, string[]> = {};\n for (const [key, entry] of Object.entries(value as Record<string, unknown>)) {\n const params = onlyStrings(entry);\n if (params.length > 0) result[key] = params;\n }\n return result;\n}\n\n/**\n * Coerce an unknown into the per-resource structural-ref map, dropping malformed entries and\n * resources that declare no ref on any axis. Same tolerance contract as `onlyStringArrayRecord`:\n * a stale subprocess simply contributes nothing rather than failing the plan.\n */\nfunction onlyLayoutRefsRecord(value: unknown): Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }> {\n if (typeof value !== 'object' || value === null || Array.isArray(value)) return {};\n const result: Record<string, { sections: string[]; wizardSteps: string[]; groups: string[]; filterPresets: string[] }> = {};\n for (const [resourceType, entry] of Object.entries(value as Record<string, unknown>)) {\n if (typeof entry !== 'object' || entry === null) continue;\n const axes = entry as { sections?: unknown; wizardSteps?: unknown; groups?: unknown; filterPresets?: unknown };\n const refs = {\n sections: onlyStrings(axes.sections),\n wizardSteps: onlyStrings(axes.wizardSteps),\n groups: onlyStrings(axes.groups),\n filterPresets: onlyStrings(axes.filterPresets),\n };\n if (refs.sections.length || refs.wizardSteps.length || refs.groups.length || refs.filterPresets.length) {\n result[resourceType] = refs;\n }\n }\n return result;\n}\n\n/**\n * Parse the raw `frontend-labels-needed-info` IPC payload into a typed snapshot.\n *\n * Returns `null` when the payload is missing the required `appSpecificLabelKeys`\n * array (malformed / non-success subprocess), so the caller can log + fall back\n * to {@link EMPTY_FRONTEND_DERIVED_LABEL_KEYS}.\n *\n * The two app-level guidance fields are TOLERANT of absence (default `[]`): a\n * stale subprocess emitting only the original single-field shape degrades\n * gracefully instead of throwing — composite/view/sidebar labels still generate;\n * only app-level guidance flows + onboarding views silently no-op until the\n * subprocess dist catches up. Non-string array entries are filtered out.\n */\nexport function parseFrontendDerivedLabelSnapshot(data: unknown): FrontendDerivedLabelKeys | null {\n const payload = data as {\n appSpecificLabelKeys?: unknown;\n appLevelGuidanceFlowLabelKeys?: unknown;\n onboardingViewLabelKeys?: unknown;\n viewLabelParams?: unknown;\n settingsHubKeyMeta?: unknown;\n operationDescriptionOptIns?: unknown;\n emptyStateSecondaryActionRefs?: unknown;\n resourceLayoutRefs?: unknown;\n } | undefined;\n\n if (!Array.isArray(payload?.appSpecificLabelKeys)) {\n return null;\n }\n\n return {\n appSpecificLabelKeys: onlyStrings(payload.appSpecificLabelKeys),\n appLevelGuidanceFlowLabelKeys: onlyStrings(payload?.appLevelGuidanceFlowLabelKeys),\n onboardingViewLabelKeys: onlyStrings(payload?.onboardingViewLabelKeys),\n viewLabelParams: onlyStringArrayRecord(payload?.viewLabelParams),\n // Tolerant of absence, like every sibling: a STALE subprocess predating\n // this field must degrade to no keyMeta, never crash the whole plan.\n settingsHubKeyMeta: onlyStringRecord(payload?.settingsHubKeyMeta),\n operationDescriptionOptIns: onlyStringArrayRecord(payload?.operationDescriptionOptIns),\n emptyStateSecondaryActionRefs: onlyStrings(payload?.emptyStateSecondaryActionRefs),\n resourceLayoutRefs: onlyLayoutRefsRecord(payload?.resourceLayoutRefs),\n };\n}\n"]}
@@ -1,4 +1,6 @@
1
1
  import { type AnyResourceConfiguration, type GuidanceFlowDefinition } from '@wildo-ai/saas-models';
2
+ import type { GuidanceFlowSpecificationConfig, OnboardingViewSpecificationConfig } from '@wildo-ai/saas-specifications';
3
+ import type { LabelKeyMeta } from '../models/labelling-unit.models';
2
4
  /**
3
5
  * Shared guidance-flow → translation-key extractor used by both the
4
6
  * app-level guidance unit and the per-resource guidance subgroup.
@@ -45,4 +47,14 @@ export declare function resolveAppLevelGuidanceLabelKeys(args: {
45
47
  /** `guidance.<viewRef>.*` keys discovered from `module.onboardingViews`. */
46
48
  onboardingViewKeys: ReadonlyArray<string>;
47
49
  }): string[];
50
+ /**
51
+ * Map ONE guidance label sub-path (everything after `guidance.<ref>.`) to the authored meta that
52
+ * grounds its generated copy: `title` / `description` at flow level,
53
+ * `elements.<ref>.{title,description,content,actionLabel}` per element, and a survey's
54
+ * `elements.<ref>.survey_questions.<questionId>.question`.
55
+ *
56
+ * Pure, and lives here rather than inside the loader so the mapping can be read and tested without
57
+ * a companion context — the loader only decides WHICH spec a key belongs to.
58
+ */
59
+ export declare function projectGuidanceLabelKeyMeta(suffix: string, spec: GuidanceFlowSpecificationConfig | OnboardingViewSpecificationConfig): LabelKeyMeta | undefined;
48
60
  //# sourceMappingURL=guidance-keys.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"guidance-keys.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/guidance-keys.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAG/B;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,MAAM,EAAE,CAmDX;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,CAAC,sBAAsB,CAAC,GAAG,MAAM,EAAE,CAU7F;AAED,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,wBAAwB,GACvC,MAAM,EAAE,CAiBV;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE;IACrD,8EAA8E;IAC9E,8BAA8B,EAAE,OAAO,CAAC;IACxC,gFAAgF;IAChF,wBAAwB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAChD,0EAA0E;IAC1E,0BAA0B,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAClD,4EAA4E;IAC5E,kBAAkB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC3C,GAAG,MAAM,EAAE,CAKX"}
1
+ {"version":3,"file":"guidance-keys.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/guidance-keys.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAC;AAExH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,MAAM,EAAE,CAmDX;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,CAAC,sBAAsB,CAAC,GAAG,MAAM,EAAE,CAU7F;AAED,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,wBAAwB,GACvC,MAAM,EAAE,CAiBV;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE;IACrD,8EAA8E;IAC9E,8BAA8B,EAAE,OAAO,CAAC;IACxC,gFAAgF;IAChF,wBAAwB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAChD,0EAA0E;IAC1E,0BAA0B,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAClD,4EAA4E;IAC5E,kBAAkB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC3C,GAAG,MAAM,EAAE,CAKX;AAED;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,+BAA+B,GAAG,iCAAiC,GACxE,YAAY,GAAG,SAAS,CA6C1B"}
@@ -1,5 +1,5 @@
1
1
  import { GUIDANCE_ELEMENT_FIELDS, OnboardingElementType, } from '@wildo-ai/saas-models';
2
- import { LabellingTypes } from '@wildo-ai/presets-components-models';
2
+ import { LabelKind, LabellingTypes } from '@wildo-ai/presets-components-models';
3
3
  /**
4
4
  * Shared guidance-flow → translation-key extractor used by both the
5
5
  * app-level guidance unit and the per-resource guidance subgroup.
@@ -112,4 +112,61 @@ export function resolveAppLevelGuidanceLabelKeys(args) {
112
112
  : args.discoveredGuidanceFlowKeys;
113
113
  return Array.from(new Set([...guidanceFlowKeys, ...args.onboardingViewKeys]));
114
114
  }
115
+ /**
116
+ * Map ONE guidance label sub-path (everything after `guidance.<ref>.`) to the authored meta that
117
+ * grounds its generated copy: `title` / `description` at flow level,
118
+ * `elements.<ref>.{title,description,content,actionLabel}` per element, and a survey's
119
+ * `elements.<ref>.survey_questions.<questionId>.question`.
120
+ *
121
+ * Pure, and lives here rather than inside the loader so the mapping can be read and tested without
122
+ * a companion context — the loader only decides WHICH spec a key belongs to.
123
+ */
124
+ export function projectGuidanceLabelKeyMeta(suffix, spec) {
125
+ if (suffix === 'title' || suffix === 'description') {
126
+ const slot = spec.textSlots?.[suffix];
127
+ const kind = suffix === 'title' ? LabelKind.HEADING : LabelKind.DESCRIPTION;
128
+ const purpose = slot?.purpose ?? spec.purpose;
129
+ const notes = slot?.notes;
130
+ return { kind, ...(purpose ? { purpose } : {}), ...(notes && notes.length > 0 ? { notes } : {}) };
131
+ }
132
+ if (suffix.startsWith('elements.')) {
133
+ const [, elementRef, field, questionId, questionField] = suffix.split('.');
134
+ if (!elementRef || !field)
135
+ return undefined;
136
+ const element = spec.elements?.find((e) => e.ref === elementRef);
137
+ if (!element)
138
+ return undefined;
139
+ /*
140
+ * A SURVEY's QUESTION — `elements.<ref>.survey_questions.<id>.question`. Its wording is the one
141
+ * piece of guidance copy with no `GUIDANCE_ELEMENT_FIELDS` slot, so it is authored per question
142
+ * id on the element spec. Without it the generator saw only the refs: a question bound to a
143
+ * person's profile `displayName`, in a module named tasks-manager, was generated as "What should
144
+ * this task be called?".
145
+ *
146
+ * LABEL rather than DESCRIPTION, because a question is the prompt above an input — the register
147
+ * of a field label, not of supporting prose beneath one.
148
+ */
149
+ if (field === 'survey_questions' && questionId && questionField === 'question') {
150
+ const questionSlot = element.surveyQuestions?.[questionId];
151
+ const questionPurpose = questionSlot?.purpose ?? element.purpose;
152
+ const questionNotes = questionSlot?.notes;
153
+ return {
154
+ kind: LabelKind.LABEL,
155
+ ...(questionPurpose ? { purpose: questionPurpose } : {}),
156
+ ...(questionNotes && questionNotes.length > 0 ? { notes: questionNotes } : {}),
157
+ };
158
+ }
159
+ const slot = element.textSlots?.[field];
160
+ const kind = field === 'title' ? LabelKind.HEADING
161
+ : field === 'actionLabel' ? LabelKind.BUTTON
162
+ : field === 'content' ? LabelKind.MESSAGE
163
+ : LabelKind.DESCRIPTION;
164
+ const purpose = slot?.purpose ?? element.purpose;
165
+ const notes = slot?.notes;
166
+ return purpose
167
+ ? { kind, purpose, ...(notes && notes.length > 0 ? { notes } : {}) }
168
+ : { kind };
169
+ }
170
+ return undefined;
171
+ }
115
172
  //# sourceMappingURL=guidance-keys.utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"guidance-keys.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/guidance-keys.utils.ts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,CAAC,CAAC;AAChF,CAAC","sourcesContent":["import {\n GUIDANCE_ELEMENT_FIELDS,\n OnboardingElementType,\n type AnyResourceConfiguration,\n type GuidanceFlowDefinition,\n} from '@wildo-ai/saas-models';\nimport { LabellingTypes } from '@wildo-ai/presets-components-models';\n\n/**\n * Shared guidance-flow → translation-key extractor used by both the\n * app-level guidance unit and the per-resource guidance subgroup.\n *\n * The `flowNamespace` parameter is the segment that appears between\n * `LabellingTypes.GUIDANCE` and the rest of the path:\n * - app-level: `<flowRef>`\n * - resource-scoped: `<resourceType>.<flowRef>`\n */\nexport function buildGuidanceFlowKeys(args: {\n flowNamespace: string;\n elements: ReadonlyArray<unknown>;\n}): string[] {\n const prefix = LabellingTypes.GUIDANCE;\n const keys: string[] = [];\n\n keys.push(`${prefix}.${args.flowNamespace}.title`);\n keys.push(`${prefix}.${args.flowNamespace}.description`);\n\n for (const rawElement of args.elements) {\n const element = rawElement as {\n ref?: string;\n type?: OnboardingElementType;\n steps?: Array<{ ref?: string }>;\n questions?: Array<{ id?: string; ref?: string; options?: Array<{ ref?: string }> }>;\n };\n const elementRef = element?.ref;\n const elementType = element?.type;\n if (!elementRef || !elementType) continue;\n\n const fields = GUIDANCE_ELEMENT_FIELDS[elementType] ?? [];\n for (const field of fields) {\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.${field}`);\n }\n\n if (elementType === OnboardingElementType.TOUR && Array.isArray(element.steps)) {\n for (const step of element.steps) {\n const stepRef = step?.ref;\n if (!stepRef) continue;\n for (const stepField of ['title', 'description', 'content'] as const) {\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.tour_steps.${stepRef}.${stepField}`);\n }\n }\n }\n\n if (elementType === OnboardingElementType.SURVEY && Array.isArray(element.questions)) {\n for (const question of element.questions) {\n const questionId = question?.id || question?.ref;\n if (!questionId) continue;\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.survey_questions.${questionId}.question`);\n\n if (Array.isArray(question.options)) {\n for (const option of question.options) {\n const optionRef = option?.ref;\n if (!optionRef) continue;\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.survey_questions.${questionId}.options.${optionRef}.label`);\n }\n }\n }\n }\n }\n\n return keys;\n}\n\nexport function collectAppGuidanceKeys(flows: ReadonlyArray<GuidanceFlowDefinition>): string[] {\n const keys: string[] = [];\n for (const flow of flows) {\n if (!flow?.ref) continue;\n keys.push(...buildGuidanceFlowKeys({\n flowNamespace: flow.ref,\n elements: flow.elements ?? [],\n }));\n }\n return keys;\n}\n\nexport function collectResourceGuidanceKeys(\n resourceType: string,\n resourceConfig: AnyResourceConfiguration,\n): string[] {\n const guidance = (resourceConfig as { frontendConfiguration?: { guidance?: Array<{ ref?: string; elements?: unknown[] }> } })\n .frontendConfiguration?.guidance;\n if (!Array.isArray(guidance) || guidance.length === 0) return [];\n const keys: string[] = [];\n for (const flow of guidance) {\n // A resource-scoped flow with missing/non-array `elements` is\n // skipped entirely (no title/description either). Diverging here\n // would silently widen the planned key set and shift the input\n // fingerprint for any resource that drifts into a malformed state.\n if (!flow?.ref || !Array.isArray(flow.elements)) continue;\n keys.push(...buildGuidanceFlowKeys({\n flowNamespace: `${resourceType}.${flow.ref}`,\n elements: flow.elements,\n }));\n }\n return keys;\n}\n\n/**\n * Resolve the final app-level `guidance.*` key set for the planner's\n * app-guidance unit. The `guidance.*` namespace at app level has two sub-sources\n * with DIFFERENT ownership rules:\n *\n * - **App-level guidance flows** (`module.guidanceFlows`): the app-bootstrap\n * `setGuidanceFlowProvider` is the OVERRIDE owner. When an app registers a\n * provider, the planner trusts it as the single source of guidance-flow keys;\n * otherwise it falls back to the frontend-module discovery keys (the only\n * other place `module.guidanceFlows` is visible, since the planner runs in a\n * process that cannot import the frontend module graph).\n * - **Onboarding views** (`module.onboardingViews`): ALWAYS sourced from\n * frontend-module discovery. Onboarding views share the `guidance.*` runtime\n * namespace but are NOT part of the `GuidanceFlowDefinition` provider\n * contract, so a registered provider must never suppress them.\n *\n * Keys are de-duplicated because, in principle, a guidance flow and an\n * onboarding view could be authored with the same ref (they share the\n * `guidance.<ref>` namespace), and the override branch and the onboarding branch\n * could otherwise emit overlapping keys.\n */\nexport function resolveAppLevelGuidanceLabelKeys(args: {\n /** Whether an app called `setGuidanceFlowProvider` (true) — provider wins. */\n guidanceFlowProviderRegistered: boolean;\n /** `guidance.<flowRef>.*` keys from the registered provider (empty if none). */\n providerGuidanceFlowKeys: ReadonlyArray<string>;\n /** `guidance.<flowRef>.*` keys discovered from `module.guidanceFlows`. */\n discoveredGuidanceFlowKeys: ReadonlyArray<string>;\n /** `guidance.<viewRef>.*` keys discovered from `module.onboardingViews`. */\n onboardingViewKeys: ReadonlyArray<string>;\n}): string[] {\n const guidanceFlowKeys = args.guidanceFlowProviderRegistered\n ? args.providerGuidanceFlowKeys\n : args.discoveredGuidanceFlowKeys;\n return Array.from(new Set([...guidanceFlowKeys, ...args.onboardingViewKeys]));\n}\n"]}
1
+ {"version":3,"file":"guidance-keys.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/guidance-keys.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAKhF;;;;;;;;GAQG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAGrC;IACC,MAAM,MAAM,GAAG,cAAc,CAAC,QAAQ,CAAC;IACvC,MAAM,IAAI,GAAa,EAAE,CAAC;IAE1B,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,aAAa,QAAQ,CAAC,CAAC;IACnD,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,aAAa,cAAc,CAAC,CAAC;IAEzD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,UAKf,CAA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,CAAC;QACD,MAAM,IAAI,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO;YAChD,CAAC,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM;gBAC5C,CAAC,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO;oBACzC,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC;QAC1B,MAAM,OAAO,GAAG,IAAI,EAAE,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC;QACjD,MAAM,KAAK,GAAG,IAAI,EAAE,KAAK,CAAC;QAC1B,OAAO,OAAO;YACZ,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE;YACpE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import {\n GUIDANCE_ELEMENT_FIELDS,\n OnboardingElementType,\n type AnyResourceConfiguration,\n type GuidanceFlowDefinition,\n} from '@wildo-ai/saas-models';\nimport { LabelKind, LabellingTypes } from '@wildo-ai/presets-components-models';\nimport type { GuidanceFlowSpecificationConfig, OnboardingViewSpecificationConfig } from '@wildo-ai/saas-specifications';\n\nimport type { LabelKeyMeta } from '../models/labelling-unit.models';\n\n/**\n * Shared guidance-flow → translation-key extractor used by both the\n * app-level guidance unit and the per-resource guidance subgroup.\n *\n * The `flowNamespace` parameter is the segment that appears between\n * `LabellingTypes.GUIDANCE` and the rest of the path:\n * - app-level: `<flowRef>`\n * - resource-scoped: `<resourceType>.<flowRef>`\n */\nexport function buildGuidanceFlowKeys(args: {\n flowNamespace: string;\n elements: ReadonlyArray<unknown>;\n}): string[] {\n const prefix = LabellingTypes.GUIDANCE;\n const keys: string[] = [];\n\n keys.push(`${prefix}.${args.flowNamespace}.title`);\n keys.push(`${prefix}.${args.flowNamespace}.description`);\n\n for (const rawElement of args.elements) {\n const element = rawElement as {\n ref?: string;\n type?: OnboardingElementType;\n steps?: Array<{ ref?: string }>;\n questions?: Array<{ id?: string; ref?: string; options?: Array<{ ref?: string }> }>;\n };\n const elementRef = element?.ref;\n const elementType = element?.type;\n if (!elementRef || !elementType) continue;\n\n const fields = GUIDANCE_ELEMENT_FIELDS[elementType] ?? [];\n for (const field of fields) {\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.${field}`);\n }\n\n if (elementType === OnboardingElementType.TOUR && Array.isArray(element.steps)) {\n for (const step of element.steps) {\n const stepRef = step?.ref;\n if (!stepRef) continue;\n for (const stepField of ['title', 'description', 'content'] as const) {\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.tour_steps.${stepRef}.${stepField}`);\n }\n }\n }\n\n if (elementType === OnboardingElementType.SURVEY && Array.isArray(element.questions)) {\n for (const question of element.questions) {\n const questionId = question?.id || question?.ref;\n if (!questionId) continue;\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.survey_questions.${questionId}.question`);\n\n if (Array.isArray(question.options)) {\n for (const option of question.options) {\n const optionRef = option?.ref;\n if (!optionRef) continue;\n keys.push(`${prefix}.${args.flowNamespace}.elements.${elementRef}.survey_questions.${questionId}.options.${optionRef}.label`);\n }\n }\n }\n }\n }\n\n return keys;\n}\n\nexport function collectAppGuidanceKeys(flows: ReadonlyArray<GuidanceFlowDefinition>): string[] {\n const keys: string[] = [];\n for (const flow of flows) {\n if (!flow?.ref) continue;\n keys.push(...buildGuidanceFlowKeys({\n flowNamespace: flow.ref,\n elements: flow.elements ?? [],\n }));\n }\n return keys;\n}\n\nexport function collectResourceGuidanceKeys(\n resourceType: string,\n resourceConfig: AnyResourceConfiguration,\n): string[] {\n const guidance = (resourceConfig as { frontendConfiguration?: { guidance?: Array<{ ref?: string; elements?: unknown[] }> } })\n .frontendConfiguration?.guidance;\n if (!Array.isArray(guidance) || guidance.length === 0) return [];\n const keys: string[] = [];\n for (const flow of guidance) {\n // A resource-scoped flow with missing/non-array `elements` is\n // skipped entirely (no title/description either). Diverging here\n // would silently widen the planned key set and shift the input\n // fingerprint for any resource that drifts into a malformed state.\n if (!flow?.ref || !Array.isArray(flow.elements)) continue;\n keys.push(...buildGuidanceFlowKeys({\n flowNamespace: `${resourceType}.${flow.ref}`,\n elements: flow.elements,\n }));\n }\n return keys;\n}\n\n/**\n * Resolve the final app-level `guidance.*` key set for the planner's\n * app-guidance unit. The `guidance.*` namespace at app level has two sub-sources\n * with DIFFERENT ownership rules:\n *\n * - **App-level guidance flows** (`module.guidanceFlows`): the app-bootstrap\n * `setGuidanceFlowProvider` is the OVERRIDE owner. When an app registers a\n * provider, the planner trusts it as the single source of guidance-flow keys;\n * otherwise it falls back to the frontend-module discovery keys (the only\n * other place `module.guidanceFlows` is visible, since the planner runs in a\n * process that cannot import the frontend module graph).\n * - **Onboarding views** (`module.onboardingViews`): ALWAYS sourced from\n * frontend-module discovery. Onboarding views share the `guidance.*` runtime\n * namespace but are NOT part of the `GuidanceFlowDefinition` provider\n * contract, so a registered provider must never suppress them.\n *\n * Keys are de-duplicated because, in principle, a guidance flow and an\n * onboarding view could be authored with the same ref (they share the\n * `guidance.<ref>` namespace), and the override branch and the onboarding branch\n * could otherwise emit overlapping keys.\n */\nexport function resolveAppLevelGuidanceLabelKeys(args: {\n /** Whether an app called `setGuidanceFlowProvider` (true) — provider wins. */\n guidanceFlowProviderRegistered: boolean;\n /** `guidance.<flowRef>.*` keys from the registered provider (empty if none). */\n providerGuidanceFlowKeys: ReadonlyArray<string>;\n /** `guidance.<flowRef>.*` keys discovered from `module.guidanceFlows`. */\n discoveredGuidanceFlowKeys: ReadonlyArray<string>;\n /** `guidance.<viewRef>.*` keys discovered from `module.onboardingViews`. */\n onboardingViewKeys: ReadonlyArray<string>;\n}): string[] {\n const guidanceFlowKeys = args.guidanceFlowProviderRegistered\n ? args.providerGuidanceFlowKeys\n : args.discoveredGuidanceFlowKeys;\n return Array.from(new Set([...guidanceFlowKeys, ...args.onboardingViewKeys]));\n}\n\n/**\n * Map ONE guidance label sub-path (everything after `guidance.<ref>.`) to the authored meta that\n * grounds its generated copy: `title` / `description` at flow level,\n * `elements.<ref>.{title,description,content,actionLabel}` per element, and a survey's\n * `elements.<ref>.survey_questions.<questionId>.question`.\n *\n * Pure, and lives here rather than inside the loader so the mapping can be read and tested without\n * a companion context — the loader only decides WHICH spec a key belongs to.\n */\nexport function projectGuidanceLabelKeyMeta(\n suffix: string,\n spec: GuidanceFlowSpecificationConfig | OnboardingViewSpecificationConfig,\n): LabelKeyMeta | undefined {\n if (suffix === 'title' || suffix === 'description') {\n const slot = spec.textSlots?.[suffix];\n const kind = suffix === 'title' ? LabelKind.HEADING : LabelKind.DESCRIPTION;\n const purpose = slot?.purpose ?? spec.purpose;\n const notes = slot?.notes;\n return { kind, ...(purpose ? { purpose } : {}), ...(notes && notes.length > 0 ? { notes } : {}) };\n }\n if (suffix.startsWith('elements.')) {\n const [, elementRef, field, questionId, questionField] = suffix.split('.');\n if (!elementRef || !field) return undefined;\n const element = spec.elements?.find((e) => e.ref === elementRef);\n if (!element) return undefined;\n /*\n * A SURVEY's QUESTION — `elements.<ref>.survey_questions.<id>.question`. Its wording is the one\n * piece of guidance copy with no `GUIDANCE_ELEMENT_FIELDS` slot, so it is authored per question\n * id on the element spec. Without it the generator saw only the refs: a question bound to a\n * person's profile `displayName`, in a module named tasks-manager, was generated as \"What should\n * this task be called?\".\n *\n * LABEL rather than DESCRIPTION, because a question is the prompt above an input — the register\n * of a field label, not of supporting prose beneath one.\n */\n if (field === 'survey_questions' && questionId && questionField === 'question') {\n const questionSlot = element.surveyQuestions?.[questionId];\n const questionPurpose = questionSlot?.purpose ?? element.purpose;\n const questionNotes = questionSlot?.notes;\n return {\n kind: LabelKind.LABEL,\n ...(questionPurpose ? { purpose: questionPurpose } : {}),\n ...(questionNotes && questionNotes.length > 0 ? { notes: questionNotes } : {}),\n };\n }\n const slot = element.textSlots?.[field];\n const kind = field === 'title' ? LabelKind.HEADING\n : field === 'actionLabel' ? LabelKind.BUTTON\n : field === 'content' ? LabelKind.MESSAGE\n : LabelKind.DESCRIPTION;\n const purpose = slot?.purpose ?? element.purpose;\n const notes = slot?.notes;\n return purpose\n ? { kind, purpose, ...(notes && notes.length > 0 ? { notes } : {}) }\n : { kind };\n }\n return undefined;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"label-file-source.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/label-file-source.utils.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,QAAQ,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAA;CAAE,CAAC;AAE5F,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB,CAahF;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC/B,IAAI,GAAE,MAAM,EAAO,EACnB,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAcxB;AAED,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAmB1B;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC,GAAG,MAAM,CAWT"}
1
+ {"version":3,"file":"label-file-source.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/label-file-source.utils.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,QAAQ,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAA;CAAE,CAAC;AAE5F,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB,CAahF;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC/B,IAAI,GAAE,MAAM,EAAO,EACnB,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAcxB;AAED,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAmB1B;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC,GAAG,MAAM,CA8BT"}
@@ -40,11 +40,30 @@ export function buildNestedLabelsFromFlatEntries(entries) {
40
40
  return root;
41
41
  }
42
42
  export function formatNestedLabelsTsFile(options) {
43
+ /*
44
+ * The DO-NOT-EDIT marker is the only thing standing between a person and a silently lost edit, and
45
+ * it was missing from every file this writer has ever produced (#1297).
46
+ *
47
+ * A hand edit to one of these files survives until the next pipeline run and is then overwritten
48
+ * with no warning — the `i18n-rerun-pipeline` skill names that hazard explicitly and tells the
49
+ * reader to fix the SOURCE (spec / ui-behavior / preset registration) and re-translate instead. The
50
+ * same skill ships a verification invariant and a red flag keyed on exactly this string, both
51
+ * installed into every generated application; with no writer emitting it, the invariant reported
52
+ * all 604 files of a healthy Wonder Todos tree as violations and the red flag told the reader that
53
+ * somebody had hand-edited every one of them.
54
+ *
55
+ * Spelled to match the skill's grep verbatim (`DO NOT EDIT THIS FILE MANUALLY`) — the check and the
56
+ * marker are one contract, so a reworded marker is the same defect with better prose.
57
+ */
43
58
  const header = `/**
44
59
  * ${options.localeDisplayName} (${options.localeCode}) — application labels.
45
60
  * ${options.isPrimaryLocale
46
61
  ? 'Primary locale source-of-truth file generated from application context.'
47
62
  : 'Translated from the primary locale; keep semantic keys and placeholders faithful to the source.'}
63
+ *
64
+ * DO NOT EDIT THIS FILE MANUALLY — it is regenerated by the labelling pipeline and a hand edit is
65
+ * overwritten on the next run. Change the source it derives from (specification, ui-behavior, or
66
+ * component label registration) and re-run \`wildo generate labels\` / \`wildo generate translate\`.
48
67
  */`;
49
68
  const body = JSON.stringify(options.labels, null, 2);
50
69
  return `${header}\nexport const labels = ${body} as const;\n`;
@@ -1 +1 @@
1
- {"version":3,"file":"label-file-source.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/label-file-source.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AAQlG,MAAM,UAAU,yBAAyB,CAAC,MAAc;IACtD,MAAM,KAAK,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC;IACrD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CA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;QAE5C,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC5C,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;YAChC,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;gBACtE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,GAAG,MAAM,CAAC,OAAO,CAA6B,CAAC;QACvD,CAAC;QAED,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,GAAG,KAAK,CAAC;IACjD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAKxC;IACC,MAAM,MAAM,GAAG;KACZ,OAAO,CAAC,iBAAiB,KAAK,OAAO,CAAC,UAAU;KAChD,OAAO,CAAC,eAAe;QACxB,CAAC,CAAC,yEAAyE;QAC3E,CAAC,CAAC,iGAAiG;IACnG,CAAC;IAEH,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAErD,OAAO,GAAG,MAAM,2BAA2B,IAAI,cAAc,CAAC;AAChE,CAAC","sourcesContent":["import { extractLabelsObjectInnerSource } from '../../email/utils/email-labels-file-source.utils';\n\ntype JsonLike = string | number | boolean | null | JsonLike[] | { [key: string]: JsonLike };\n\nexport interface ParsedNestedLabelsFile {\n labels: Record<string, JsonLike>;\n}\n\nexport function parseNestedLabelsTsSource(source: string): ParsedNestedLabelsFile {\n const inner = extractLabelsObjectInnerSource(source);\n if (inner === null) {\n throw new Error('Could not find export const labels = { ... }');\n }\n\n const labels = JSON.parse(`{${inner}}`) as Record<string, JsonLike>;\n\n if (!labels || typeof labels !== 'object' || Array.isArray(labels)) {\n throw new Error('Parsed labels object is not a plain object');\n }\n\n return { labels };\n}\n\nexport function flattenNestedStringLabels(\n input: Record<string, JsonLike>,\n path: string[] = [],\n out: Record<string, string> = {},\n): Record<string, string> {\n for (const [key, value] of Object.entries(input)) {\n const nextPath = [...path, key];\n if (typeof value === 'string') {\n out[nextPath.join('.')] = value;\n continue;\n }\n\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n flattenNestedStringLabels(value as Record<string, JsonLike>, nextPath, out);\n }\n }\n\n return out;\n}\n\nexport function buildNestedLabelsFromFlatEntries(\n entries: Record<string, string>,\n): Record<string, JsonLike> {\n const root: Record<string, JsonLike> = {};\n\n for (const [path, value] of Object.entries(entries)) {\n const segments = path.split('.');\n let cursor: Record<string, JsonLike> = root;\n\n for (const segment of segments.slice(0, -1)) {\n const current = cursor[segment];\n if (!current || typeof current !== 'object' || Array.isArray(current)) {\n cursor[segment] = {};\n }\n cursor = cursor[segment] as Record<string, JsonLike>;\n }\n\n cursor[segments[segments.length - 1]!] = value;\n }\n\n return root;\n}\n\nexport function formatNestedLabelsTsFile(options: {\n localeCode: string;\n localeDisplayName: string;\n isPrimaryLocale: boolean;\n labels: Record<string, JsonLike>;\n}): string {\n const header = `/**\n * ${options.localeDisplayName} (${options.localeCode}) — application labels.\n * ${options.isPrimaryLocale\n ? 'Primary locale source-of-truth file generated from application context.'\n : 'Translated from the primary locale; keep semantic keys and placeholders faithful to the source.'}\n */`;\n\n const body = JSON.stringify(options.labels, null, 2);\n\n return `${header}\\nexport const labels = ${body} as const;\\n`;\n}\n\n"]}
1
+ {"version":3,"file":"label-file-source.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/label-file-source.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AAQlG,MAAM,UAAU,yBAAyB,CAAC,MAAc;IACtD,MAAM,KAAK,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC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AAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACjC,IAAI,MAAM,GAA6B,IAAI,CAAC;QAE5C,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC5C,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;YAChC,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;gBACtE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,GAAG,MAAM,CAAC,OAAO,CAA6B,CAAC;QACvD,CAAC;QAED,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,GAAG,KAAK,CAAC;IACjD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAKxC;IACC;;;;;;;;;;;;;;OAcG;IACH,MAAM,MAAM,GAAG;KACZ,OAAO,CAAC,iBAAiB,KAAK,OAAO,CAAC,UAAU;KAChD,OAAO,CAAC,eAAe;QACxB,CAAC,CAAC,yEAAyE;QAC3E,CAAC,CAAC,iGAAiG;;;;;IAKnG,CAAC;IAEH,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAErD,OAAO,GAAG,MAAM,2BAA2B,IAAI,cAAc,CAAC;AAChE,CAAC","sourcesContent":["import { extractLabelsObjectInnerSource } from '../../email/utils/email-labels-file-source.utils';\n\ntype JsonLike = string | number | boolean | null | JsonLike[] | { [key: string]: JsonLike };\n\nexport interface ParsedNestedLabelsFile {\n labels: Record<string, JsonLike>;\n}\n\nexport function parseNestedLabelsTsSource(source: string): ParsedNestedLabelsFile {\n const inner = extractLabelsObjectInnerSource(source);\n if (inner === null) {\n throw new Error('Could not find export const labels = { ... }');\n }\n\n const labels = JSON.parse(`{${inner}}`) as Record<string, JsonLike>;\n\n if (!labels || typeof labels !== 'object' || Array.isArray(labels)) {\n throw new Error('Parsed labels object is not a plain object');\n }\n\n return { labels };\n}\n\nexport function flattenNestedStringLabels(\n input: Record<string, JsonLike>,\n path: string[] = [],\n out: Record<string, string> = {},\n): Record<string, string> {\n for (const [key, value] of Object.entries(input)) {\n const nextPath = [...path, key];\n if (typeof value === 'string') {\n out[nextPath.join('.')] = value;\n continue;\n }\n\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n flattenNestedStringLabels(value as Record<string, JsonLike>, nextPath, out);\n }\n }\n\n return out;\n}\n\nexport function buildNestedLabelsFromFlatEntries(\n entries: Record<string, string>,\n): Record<string, JsonLike> {\n const root: Record<string, JsonLike> = {};\n\n for (const [path, value] of Object.entries(entries)) {\n const segments = path.split('.');\n let cursor: Record<string, JsonLike> = root;\n\n for (const segment of segments.slice(0, -1)) {\n const current = cursor[segment];\n if (!current || typeof current !== 'object' || Array.isArray(current)) {\n cursor[segment] = {};\n }\n cursor = cursor[segment] as Record<string, JsonLike>;\n }\n\n cursor[segments[segments.length - 1]!] = value;\n }\n\n return root;\n}\n\nexport function formatNestedLabelsTsFile(options: {\n localeCode: string;\n localeDisplayName: string;\n isPrimaryLocale: boolean;\n labels: Record<string, JsonLike>;\n}): string {\n /*\n * The DO-NOT-EDIT marker is the only thing standing between a person and a silently lost edit, and\n * it was missing from every file this writer has ever produced (#1297).\n *\n * A hand edit to one of these files survives until the next pipeline run and is then overwritten\n * with no warning — the `i18n-rerun-pipeline` skill names that hazard explicitly and tells the\n * reader to fix the SOURCE (spec / ui-behavior / preset registration) and re-translate instead. The\n * same skill ships a verification invariant and a red flag keyed on exactly this string, both\n * installed into every generated application; with no writer emitting it, the invariant reported\n * all 604 files of a healthy Wonder Todos tree as violations and the red flag told the reader that\n * somebody had hand-edited every one of them.\n *\n * Spelled to match the skill's grep verbatim (`DO NOT EDIT THIS FILE MANUALLY`) — the check and the\n * marker are one contract, so a reworded marker is the same defect with better prose.\n */\n const header = `/**\n * ${options.localeDisplayName} (${options.localeCode}) — application labels.\n * ${options.isPrimaryLocale\n ? 'Primary locale source-of-truth file generated from application context.'\n : 'Translated from the primary locale; keep semantic keys and placeholders faithful to the source.'}\n *\n * DO NOT EDIT THIS FILE MANUALLY — it is regenerated by the labelling pipeline and a hand edit is\n * overwritten on the next run. Change the source it derives from (specification, ui-behavior, or\n * component label registration) and re-run \\`wildo generate labels\\` / \\`wildo generate translate\\`.\n */`;\n\n const body = JSON.stringify(options.labels, null, 2);\n\n return `${header}\\nexport const labels = ${body} as const;\\n`;\n}\n\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"label-placeholder-drift.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/label-placeholder-drift.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAUH;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+EAA+E;AAC/E,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAMrE;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,gBAAgB,GAAG,SAAS,CAW/B;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,E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,gBAAgB,EAAE,CAYrB;AAED,uEAAuE;AACvE,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACrD,uFAAuF;IACvF,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE;IAClD,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;CAChE,GAAG,uBAAuB,CAmC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"label-placeholder-drift.utils.js","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/label-placeholder-drift.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;;GAKG;AACH,MAAM,0BAA0B,GAAG,GAAW,EAAE,CAAC,YAAY,CAAC;AAoB9D,+EAA+E;AAC/E,MAAM,UAAU,6BAA6B,CAAC,KAAa;IACzD,MAAM,KAAK,GAAG,0BAA0B,EAAE,CAAC;IAC3C,MAAM,MAAM,GAAG,IAAI,GAAG,EAAU,CAAC;IACjC,IAAI,KAA6B,CAAC;IAClC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI;QAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,MAAM,CA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,EAAE,CAAC;QACvB,MAAM,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;QAClC,MAAM,KAAK,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAEpC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACpD,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtB,IAAI,OAAO,MAAM,KAAK,QAAQ;gBAAE,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;YACrD,SAAS;QACX,CAAC;QAED,4EAA4E;QAC5E,2EAA2E;QAC3E,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC/B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACpB,SAAS;QACX,CAAC;QAED,MAAM,KAAK,GAAG,wBAAwB,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,6BAA6B,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACxG,IAAI,KAAK,EAAE,CAAC;YACV,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC3B,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;YACrB,SAAS;QACX,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AACjD,CAAC","sourcesContent":["/**\n * The ONE implementation of \"do these placeholders match?\", shared by both\n * label-generation orchestrators.\n *\n * # Why it is shared\n *\n * `interpolateLabelParams` substitutes a single-brace `{name}` token only when\n * `name` is a param the render call actually passes. Everything else about a\n * placeholder is a failure mode:\n * - a token OUTSIDE the expected set renders literally to the user (`{limite}`\n * shows up in the UI as those eight characters), and\n * - an expected token that never appears means the runtime value silently\n * never shows.\n *\n * Both orchestrators must enforce that, and they were enforcing it in one place\n * only — labellize. A second, independently written copy in translate would be a\n * second grammar (`\\{(\\w+)\\}` is easy to write subtly differently), a second set\n * of edge cases (duplicate tokens, non-string values) and, in time, a second\n * answer to the same question. So the COMPARISON lives here once; each caller\n * supplies its own notion of what the EXPECTED tokens are, because that is the\n * one thing that genuinely differs between them:\n *\n * | caller | expected tokens come from | applies to |\n * |-----------|------------------------------------------|-------------------------------------|\n * | labellize | the key's DECLARED params (`keyParams`) | param-validated chunks only |\n * | translate | the tokens present in the SOURCE string | EVERY chunk, in every bucket |\n *\n * The translate side is source-scanned rather than `keyParams`-driven on purpose\n * — it mirrors exactly what `buildTranslatePrompt` tells the model to preserve,\n * and it therefore works for buckets that thread no declared params at all\n * (where `keyParams` is absent and labellize's check correctly stands down).\n */\n\n/**\n * The runtime's token grammar, mirrored so a check can never disagree with what\n * will actually be interpolated. Kept as a factory rather than a shared\n * `RegExp` constant: a `g`-flagged regex carries mutable `lastIndex`, and a\n * module-level one shared across calls is a classic source of skipped matches.\n */\nconst buildPlaceholderTokenRegex = (): RegExp => /\\{(\\w+)\\}/g;\n\n/**\n * One label value whose placeholders do not match the tokens expected of it.\n *\n * `unexpected` = emitted but not expected (renders literally to the user);\n * `missing` = expected but never emitted (the runtime value silently won't show).\n *\n * `expected` is deliberately NOT called `declared`: for a translation the\n * expectation comes from the source string, not from a declaration.\n */\nexport interface PlaceholderDrift {\n key: string;\n expected: string[];\n emitted: string[];\n unexpected: string[];\n missing: string[];\n value: string;\n}\n\n/** Every distinct single-brace token in `value`, in first-appearance order. */\nexport function extractLabelPlaceholderTokens(value: string): string[] {\n const regex = buildPlaceholderTokenRegex();\n const tokens = new Set<string>();\n let match: RegExpExecArray | null;\n while ((match = regex.exec(value)) !== null) tokens.add(match[1]!);\n return [...tokens];\n}\n\n/**\n * Compare one value's emitted tokens against the tokens expected of it.\n * Returns `undefined` when they agree — the common path — so callers can build\n * a drift list by filtering, and an empty list unambiguously means \"clean\".\n *\n * A key with no expected tokens is held to \"must contain no placeholder at\n * all\", which is what catches a plain-text label drifting to `{value}`.\n */\nexport function comparePlaceholderTokens(args: {\n key: string;\n expected: readonly string[];\n value: string;\n}): PlaceholderDrift | undefined {\n const { key, value } = args;\n const expected = [...new Set(args.expected)];\n const expectedSet = new Set(expected);\n const emitted = extractLabelPlaceholderTokens(value);\n const emittedSet = new Set(emitted);\n\n const unexpected = emitted.filter((token) => !expectedSet.has(token));\n const missing = expected.filter((token) => !emittedSet.has(token));\n if (unexpected.length === 0 && missing.length === 0) return undefined;\n return { key, expected, emitted, unexpected, missing, value };\n}\n\n/**\n * Labellize's expectation: emitted tokens must equal the key's DECLARED params.\n *\n * `keyParams` absent means the bucket does not thread declared params, so there\n * is nothing to compare against and the check stands down — the caller's\n * pre-existing contract, preserved verbatim.\n */\nexport function detectDeclaredPlaceholderDrift(args: {\n keys: readonly string[];\n keyParams: Readonly<Record<string, readonly string[]>> | undefined;\n generated: Readonly<Record<string, string>>;\n}): PlaceholderDrift[] {\n const { keys, keyParams, generated } = args;\n if (!keyParams) return [];\n\n const drifts: PlaceholderDrift[] = [];\n for (const key of keys) {\n const value = generated[key];\n if (typeof value !== 'string') continue;\n const drift = comparePlaceholderTokens({ key, expected: keyParams[key] ?? [], value });\n if (drift) drifts.push(drift);\n }\n return drifts;\n}\n\n/**\n * Translate's expectation: a translated value must carry EXACTLY the tokens its\n * SOURCE value carries — no more, no fewer. That is precisely the contract\n * `buildTranslatePrompt`'s \"# Variable keys — DO NOT translate\" block states to\n * the model, and until now nothing checked the answer against it.\n *\n * A key with no source entry is skipped rather than held to \"no placeholders\":\n * there is no source to compare against, and such a key is already handled by\n * the missing-key fallback.\n */\nexport function detectTranslationPlaceholderDrift(args: {\n keys: readonly string[];\n sourceEntries: Readonly<Record<string, string>>;\n translated: Readonly<Record<string, string>>;\n}): PlaceholderDrift[] {\n const { keys, sourceEntries, translated } = args;\n\n const drifts: PlaceholderDrift[] = [];\n for (const key of keys) {\n const value = translated[key];\n const source = sourceEntries[key];\n if (typeof value !== 'string' || typeof source !== 'string') continue;\n const drift = comparePlaceholderTokens({ key, expected: extractLabelPlaceholderTokens(source), value });\n if (drift) drifts.push(drift);\n }\n return drifts;\n}\n\n/** The outcome of assembling one translated chunk's on-disk values. */\nexport interface TranslatedChunkAssembly {\n /** What will be written for this chunk. Every value here is placeholder-correct. */\n readonly values: Record<string, string>;\n /**\n * Keys whose returned translation was REJECTED for placeholder drift and\n * replaced by the source string. Empty on the healthy path.\n */\n readonly rejectedDrifts: readonly PlaceholderDrift[];\n /** Keys that arrived as no usable string at all and fell back to the source string. */\n readonly missingKeys: readonly string[];\n}\n\n/**\n * Assemble the values a translated chunk will write, enforcing the placeholder\n * contract as it goes.\n *\n * Two distinct fallbacks land on the SAME value — the source string — for two\n * different reasons, and the caller reports them separately:\n *\n * - `missingKeys`: the model never returned a usable string (the pre-existing\n * behaviour; the repair loop has already spent its budget on these).\n * - `rejectedDrifts`: the model DID return a string and its placeholders do\n * not match the source's. This is the case that used to be written straight\n * through, and it is the worse of the two: an untranslated English label\n * still renders correctly, whereas `Limite atteinte : {limite}` renders the\n * eight literal characters `{limite}` to a user and drops the number.\n *\n * Falling back to the source is chosen over three alternatives:\n * - KEEPING the drifted translation (what labellize does with its persisted\n * drift, and what translate did implicitly): labellize writes into the\n * PRIMARY file, where a drifted token is the only text there is and a loud\n * on-disk signal beats an empty label. Translate always has a known-good\n * alternative sitting right there, so there is no reason to ship the broken\n * one.\n * - OMITTING the key: the planned-key set is written as a complete locale\n * bundle, nothing else in this orchestrator produces an absent planned key,\n * and an absent key is a different product (a different runtime path) from a\n * present-but-untranslated one.\n * - FAILING the unit: it would discard every good translation in the chunk\n * over one cosmetic key, and it is asymmetric with the missing-key path,\n * which deliberately does not fail.\n *\n * The source string is placeholder-correct BY CONSTRUCTION — it is the string\n * the expected token set was extracted from — so this makes the invariant total:\n * every value this function returns carries exactly its source's placeholders.\n */\nexport function assembleTranslatedChunkResult(args: {\n keys: readonly string[];\n sourceEntries: Readonly<Record<string, string>>;\n translatedValues: Readonly<Record<string, string | undefined>>;\n}): TranslatedChunkAssembly {\n const { keys, sourceEntries, translatedValues } = args;\n\n const values: Record<string, string> = {};\n const rejectedDrifts: PlaceholderDrift[] = [];\n const missingKeys: string[] = [];\n\n for (const key of keys) {\n const source = sourceEntries[key];\n const value = translatedValues[key];\n\n if (typeof value !== 'string' || value.length === 0) {\n missingKeys.push(key);\n if (typeof source === 'string') values[key] = source;\n continue;\n }\n\n // No source to compare against: there is nothing to preserve and nothing to\n // fall back to either, so the returned value stands as the only candidate.\n if (typeof source !== 'string') {\n values[key] = value;\n continue;\n }\n\n const drift = comparePlaceholderTokens({ key, expected: extractLabelPlaceholderTokens(source), value });\n if (drift) {\n rejectedDrifts.push(drift);\n values[key] = source;\n continue;\n }\n\n values[key] = value;\n }\n\n return { values, rejectedDrifts, missingKeys };\n}\n"]}
1
+ {"version":3,"file":"label-placeholder-drift.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/label-placeholder-drift.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;;GAKG;AACH,MAAM,0BAA0B,GAAG,GAAW,EAAE,CAAC,YAAY,CAAC;AAoB9D,+EAA+E;AAC/E,MAAM,UAAU,6BAA6B,CAAC,KAAa;IACzD,MAAM,KAAK,GAAG,0BAA0B,EAAE,CAAC;IAC3C,MAAM,MAAM,GAAG,IAAI,GAAG,EAAU,CAAC;IACjC,IAAI,KAA6B,CAAC;IAClC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI;QAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,MAAM,CAAC,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAIxC;IACC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG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QAEpC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACpD,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtB,IAAI,OAAO,MAAM,KAAK,QAAQ;gBAAE,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;YACrD,SAAS;QACX,CAAC;QAED,4EAA4E;QAC5E,2EAA2E;QAC3E,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC/B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACpB,SAAS;QACX,CAAC;QAED,MAAM,KAAK,GAAG,wBAAwB,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,6BAA6B,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACxG,IAAI,KAAK,EAAE,CAAC;YACV,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC3B,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;YACrB,SAAS;QACX,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AACjD,CAAC","sourcesContent":["/**\n * The ONE implementation of \"do these placeholders match?\", shared by both\n * label-generation orchestrators.\n *\n * # Why it is shared\n *\n * `interpolateLabelParams` substitutes a single-brace `{name}` token only when\n * `name` is a param the render call actually passes. Everything else about a\n * placeholder is a failure mode:\n * - a token OUTSIDE the expected set renders literally to the user (`{limite}`\n * shows up in the UI as those eight characters), and\n * - an expected token that never appears means the runtime value silently\n * never shows.\n *\n * Both orchestrators must enforce that, and they were enforcing it in one place\n * only — labellize. A second, independently written copy in translate would be a\n * second grammar (`\\{(\\w+)\\}` is easy to write subtly differently), a second set\n * of edge cases (duplicate tokens, non-string values) and, in time, a second\n * answer to the same question. So the COMPARISON lives here once; each caller\n * supplies its own notion of what the EXPECTED tokens are, because that is the\n * one thing that genuinely differs between them:\n *\n * | caller | expected tokens come from | applies to |\n * |-----------|------------------------------------------|-------------------------------------|\n * | labellize | the key's DECLARED params (`keyParams`) | param-validated chunks only |\n * | translate | the tokens present in the SOURCE string | EVERY chunk, in every bucket |\n *\n * The translate side is source-scanned rather than `keyParams`-driven on purpose\n * — it mirrors exactly what `buildTranslatePrompt` tells the model to preserve,\n * and it therefore works for buckets that thread no declared params at all\n * (where `keyParams` is absent and labellize's check correctly stands down).\n */\n\n/**\n * The runtime's token grammar, mirrored so a check can never disagree with what\n * will actually be interpolated. Kept as a factory rather than a shared\n * `RegExp` constant: a `g`-flagged regex carries mutable `lastIndex`, and a\n * module-level one shared across calls is a classic source of skipped matches.\n */\nconst buildPlaceholderTokenRegex = (): RegExp => /\\{(\\w+)\\}/g;\n\n/**\n * One label value whose placeholders do not match the tokens expected of it.\n *\n * `unexpected` = emitted but not expected (renders literally to the user);\n * `missing` = expected but never emitted (the runtime value silently won't show).\n *\n * `expected` is deliberately NOT called `declared`: for a translation the\n * expectation comes from the source string, not from a declaration.\n */\nexport interface PlaceholderDrift {\n key: string;\n expected: string[];\n emitted: string[];\n unexpected: string[];\n missing: string[];\n value: string;\n}\n\n/** Every distinct single-brace token in `value`, in first-appearance order. */\nexport function extractLabelPlaceholderTokens(value: string): string[] {\n const regex = buildPlaceholderTokenRegex();\n const tokens = new Set<string>();\n let match: RegExpExecArray | null;\n while ((match = regex.exec(value)) !== null) tokens.add(match[1]!);\n return [...tokens];\n}\n\n/**\n * Compare one value's emitted tokens against the tokens expected of it.\n * Returns `undefined` when they agree — the common path — so callers can build\n * a drift list by filtering, and an empty list unambiguously means \"clean\".\n *\n * A key with no expected tokens is held to \"must contain no placeholder at\n * all\", which is what catches a plain-text label drifting to `{value}`.\n */\nexport function comparePlaceholderTokens(args: {\n key: string;\n expected: readonly string[];\n value: string;\n}): PlaceholderDrift | undefined {\n const { key, value } = args;\n const expected = [...new Set(args.expected)];\n const expectedSet = new Set(expected);\n const emitted = extractLabelPlaceholderTokens(value);\n const emittedSet = new Set(emitted);\n\n const unexpected = emitted.filter((token) => !expectedSet.has(token));\n const missing = expected.filter((token) => !emittedSet.has(token));\n if (unexpected.length === 0 && missing.length === 0) return undefined;\n return { key, expected, emitted, unexpected, missing, value };\n}\n\n/**\n * Labellize's expectation: emitted tokens must equal the key's DECLARED params.\n *\n * `keyParams` absent means the bucket does not thread declared params, so there\n * is nothing to compare against and the check stands down — the caller's\n * pre-existing contract, preserved verbatim.\n */\nexport function detectDeclaredPlaceholderDrift(args: {\n keys: readonly string[];\n keyParams: Readonly<Record<string, readonly string[]>> | undefined;\n generated: Readonly<Record<string, string>>;\n}): PlaceholderDrift[] {\n const { keys, keyParams, generated } = args;\n if (!keyParams) return [];\n\n const drifts: PlaceholderDrift[] = [];\n for (const key of keys) {\n const value = generated[key];\n if (typeof value !== 'string') continue;\n const drift = comparePlaceholderTokens({ key, expected: keyParams[key] ?? [], value });\n if (drift) drifts.push(drift);\n }\n return drifts;\n}\n\n/**\n * Translate's expectation: a translated value must carry EXACTLY the tokens its\n * SOURCE value carries — no more, no fewer. That is precisely the contract\n * `buildTranslatePrompt`'s \"# Variable keys — DO NOT translate\" block states to\n * the model, and until now nothing checked the answer against it.\n *\n * A key with no source entry is skipped rather than held to \"no placeholders\":\n * there is no source to compare against, and such a key is already handled by\n * the missing-key fallback.\n */\nexport function detectTranslationPlaceholderDrift(args: {\n keys: readonly string[];\n sourceEntries: Readonly<Record<string, string>>;\n translated: Readonly<Record<string, string>>;\n}): PlaceholderDrift[] {\n const { keys, sourceEntries, translated } = args;\n\n const drifts: PlaceholderDrift[] = [];\n for (const key of keys) {\n const value = translated[key];\n const source = sourceEntries[key];\n if (typeof value !== 'string' || typeof source !== 'string') continue;\n const drift = comparePlaceholderTokens({ key, expected: extractLabelPlaceholderTokens(source), value });\n if (drift) drifts.push(drift);\n }\n return drifts;\n}\n\n/** The outcome of assembling one translated chunk's on-disk values. */\nexport interface TranslatedChunkAssembly {\n /** What will be written for this chunk. Every value here is placeholder-correct. */\n readonly values: Record<string, string>;\n /**\n * Keys whose returned translation was REJECTED for placeholder drift and\n * replaced by the source string. Empty on the healthy path.\n */\n readonly rejectedDrifts: readonly PlaceholderDrift[];\n /** Keys that arrived as no usable string at all and fell back to the source string. */\n readonly missingKeys: readonly string[];\n}\n\n/**\n * Assemble the values a translated chunk will write, enforcing the placeholder\n * contract as it goes.\n *\n * Two distinct fallbacks land on the SAME value — the source string — for two\n * different reasons, and the caller reports them separately:\n *\n * - `missingKeys`: the model never returned a usable string (the pre-existing\n * behaviour; the repair loop has already spent its budget on these).\n * - `rejectedDrifts`: the model DID return a string and its placeholders do\n * not match the source's. This is the case that used to be written straight\n * through, and it is the worse of the two: an untranslated English label\n * still renders correctly, whereas `Limite atteinte : {limite}` renders the\n * eight literal characters `{limite}` to a user and drops the number.\n *\n * Falling back to the source is chosen over three alternatives:\n * - KEEPING the drifted translation (what labellize does with its persisted\n * drift, and what translate did implicitly): labellize writes into the\n * PRIMARY file, where a drifted token is the only text there is and a loud\n * on-disk signal beats an empty label. Translate always has a known-good\n * alternative sitting right there, so there is no reason to ship the broken\n * one.\n * - OMITTING the key: the planned-key set is written as a complete locale\n * bundle, nothing else in this orchestrator produces an absent planned key,\n * and an absent key is a different product (a different runtime path) from a\n * present-but-untranslated one.\n * - FAILING the unit: it would discard every good translation in the chunk\n * over one cosmetic key, and it is asymmetric with the missing-key path,\n * which deliberately does not fail.\n *\n * The source string is placeholder-correct BY CONSTRUCTION — it is the string\n * the expected token set was extracted from — so this makes the invariant total:\n * every value this function returns carries exactly its source's placeholders.\n */\nexport function assembleTranslatedChunkResult(args: {\n keys: readonly string[];\n sourceEntries: Readonly<Record<string, string>>;\n translatedValues: Readonly<Record<string, string | undefined>>;\n}): TranslatedChunkAssembly {\n const { keys, sourceEntries, translatedValues } = args;\n\n const values: Record<string, string> = {};\n const rejectedDrifts: PlaceholderDrift[] = [];\n const missingKeys: string[] = [];\n\n for (const key of keys) {\n const source = sourceEntries[key];\n const value = translatedValues[key];\n\n if (typeof value !== 'string' || value.length === 0) {\n missingKeys.push(key);\n if (typeof source === 'string') values[key] = source;\n continue;\n }\n\n // No source to compare against: there is nothing to preserve and nothing to\n // fall back to either, so the returned value stands as the only candidate.\n if (typeof source !== 'string') {\n values[key] = value;\n continue;\n }\n\n const drift = comparePlaceholderTokens({ key, expected: extractLabelPlaceholderTokens(source), value });\n if (drift) {\n rejectedDrifts.push(drift);\n values[key] = source;\n continue;\n }\n\n values[key] = value;\n }\n\n return { values, rejectedDrifts, missingKeys };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"orphan-label-artifacts.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/orphan-label-artifacts.utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,2BAA2B,EAC3B,aAAa,EACd,MAAM,iCAAiC,CAAC;AAUzC;;;;;;;;GAQG;AACH,oBAAY,2BAA2B;IACrC,yFAAyF;IACzF,QAAQ,aAAa;IACrB,qFAAqF;IACrF,wBAAwB,6BAA6B;IACrD;;;;;;OAMG;IACH,uBAAuB,4BAA4B;CACpD;AAED,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC,oEAAoE;IACpE,YAAY,EAAE,MAAM,CAAC;IACrB,yFAAyF;IACzF,MAAM,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAC;IACb,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,2BAA2B,CAAC;IACrC,6EAA6E;IAC7E,cAAc,EAAE,SAAS,2BAA2B,EAAE,CAAC;IACvD;;;;OAIG;IACH,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,qEAAqE;IACrE,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,kFAAkF;IAClF,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,GACf;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAU9C;AAED;;;;;;;;GAQG;AACH,wBAAsB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CA2BhG;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE;IAChD,YAAY,EAAE,SAAS,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,cAAc,CAAC,EAAE,CAAC;IACpE,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAC7C,cAAc,EAAE,SAAS,2BAA2B,EAAE,CAAC;CACxD,GAAG,0BAA0B,CA2B7B;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,0BAA0B,GAAG,MAAM,CAqBvF"}
1
+ {"version":3,"file":"orphan-label-artifacts.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/orphan-label-artifacts.utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,2BAA2B,EAC3B,aAAa,EACd,MAAM,iCAAiC,CAAC;AAUzC;;;;;;;;GAQG;AACH,oBAAY,2BAA2B;IACrC,yFAAyF;IACzF,QAAQ,aAAa;IACrB,qFAAqF;IACrF,wBAAwB,6BAA6B;IACrD;;;;;;OAMG;IACH,uBAAuB,4BAA4B;CACpD;AAED,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC,oEAAoE;IACpE,YAAY,EAAE,MAA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