@wildo-ai/dev-companion 1.1.4 → 1.1.6

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 (1429) 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/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +0 -1
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +0 -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 +8 -0
  14. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  15. package/dist/esm/brand/services/brand-accept.companion.service.js +30 -5
  16. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  17. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts +21 -0
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -0
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js +33 -0
  20. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -0
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +7 -0
  22. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/logo-deliberation.companion.service.js +7 -0
  24. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  25. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  26. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  27. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  29. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  30. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  31. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +143 -0
  32. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -0
  33. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +84 -0
  34. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -0
  35. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +197 -16
  36. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  37. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +255 -12
  38. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  39. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts +85 -0
  40. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -0
  41. package/dist/esm/claude-cli/models/coding-session-frame-retention.js +122 -0
  42. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -0
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +102 -0
  44. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -0
  45. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +139 -0
  46. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -0
  47. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts +94 -0
  48. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -0
  49. package/dist/esm/claude-cli/models/parked-question-answer.models.js +137 -0
  50. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -0
  51. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts +16 -0
  52. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -0
  53. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +46 -0
  54. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -0
  55. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +50 -0
  56. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -0
  57. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +157 -0
  58. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -0
  59. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +279 -0
  60. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -0
  61. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +754 -0
  62. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -0
  63. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +957 -83
  64. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  65. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +2743 -410
  66. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  67. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +115 -0
  68. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -0
  69. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +192 -0
  70. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -0
  71. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +215 -7
  72. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  73. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +532 -60
  74. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  75. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts +20 -0
  76. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -0
  77. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +29 -0
  78. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -0
  79. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +38 -6
  80. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  81. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +156 -12
  82. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  83. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +5 -4
  84. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  85. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +13 -4
  86. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  87. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  88. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  89. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +8 -1
  90. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  91. package/dist/esm/companion-api/companion-api.schemas.d.ts +408 -140
  92. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  93. package/dist/esm/companion-api/companion-api.schemas.js +72 -7
  94. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  95. package/dist/esm/companion-api/companion-error-guidance.models.d.ts +25 -0
  96. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -0
  97. package/dist/esm/companion-api/companion-error-guidance.models.js +26 -0
  98. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -0
  99. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts +44 -0
  100. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -0
  101. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js +111 -0
  102. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -0
  103. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  104. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +6 -14
  105. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  106. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +20 -17
  107. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  108. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts +12 -0
  109. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -0
  110. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js +20 -0
  111. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -0
  112. package/dist/esm/companion-api/controllers/companion.controller.d.ts +268 -21
  113. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  114. package/dist/esm/companion-api/controllers/companion.controller.js +998 -171
  115. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  116. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +39 -4
  117. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  118. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +39 -4
  119. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  120. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  128. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  130. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  131. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  132. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  133. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  134. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  135. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  136. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  137. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  138. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  139. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +6 -38
  140. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  141. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts +54 -0
  142. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -0
  143. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js +78 -0
  144. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -0
  145. package/dist/esm/core/config/primary-language.companion.utils.d.ts +26 -0
  146. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  147. package/dist/esm/core/config/primary-language.companion.utils.js +31 -0
  148. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  149. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  150. package/dist/esm/core/context/companion-context.js +4 -0
  151. package/dist/esm/core/context/companion-context.js.map +1 -1
  152. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +57 -0
  153. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  154. package/dist/esm/core/context/companion-package-loaders.companion.js +179 -43
  155. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  156. package/dist/esm/core/context/draft-family-values.companion.d.ts +23 -0
  157. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -0
  158. package/dist/esm/core/context/draft-family-values.companion.js +49 -0
  159. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -0
  160. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  161. package/dist/esm/core/inject/models/container.js +32 -4
  162. package/dist/esm/core/inject/models/container.js.map +1 -1
  163. package/dist/esm/core/inject/models/service-types.d.ts +16 -2
  164. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  165. package/dist/esm/core/inject/models/service-types.js +18 -2
  166. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  167. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +90 -2
  169. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  170. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +37 -1
  171. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  172. package/dist/esm/core/introspection/models/companion-introspection.models.js +61 -0
  173. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  174. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts +41 -0
  175. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -0
  176. package/dist/esm/core/introspection/resources/application-secrets.companion.js +155 -0
  177. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -0
  178. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +76 -0
  179. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -0
  180. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +197 -0
  181. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -0
  182. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +47 -0
  183. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -0
  184. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +199 -0
  185. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -0
  186. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +93 -0
  187. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -0
  188. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +290 -0
  189. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -0
  190. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +42 -0
  191. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  192. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +788 -23
  193. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  194. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +580 -17
  195. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +1678 -91
  197. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  198. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +80 -37
  199. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  200. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +181 -19
  201. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  202. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts +1 -1
  203. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +21 -15
  205. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  206. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  207. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +21 -0
  208. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  209. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +21 -3
  210. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  211. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  212. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +11 -3
  213. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  214. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +15 -5
  215. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +28 -15
  217. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  218. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +24 -0
  219. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  220. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +29 -5
  221. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  222. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +116 -0
  224. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -0
  225. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +223 -0
  226. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -0
  227. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +11 -6
  228. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts +2 -1
  231. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts +4 -0
  234. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +153 -52
  241. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +45 -3
  245. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +8 -1
  247. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts +33 -0
  250. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -0
  251. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js +59 -0
  252. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -0
  253. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +33 -0
  255. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  256. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +46 -140
  257. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  258. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +18 -2
  259. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  260. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +147 -48
  261. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  262. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  263. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  264. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +54 -1
  265. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  266. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +242 -28
  267. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  268. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +79 -0
  269. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -0
  270. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +49 -0
  271. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -0
  272. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +13 -0
  273. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  274. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +334 -228
  275. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  276. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +72 -0
  277. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -0
  278. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +123 -0
  279. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -0
  280. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +184 -0
  281. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -0
  282. package/dist/esm/core/introspection/workspace-element-index.companion.js +311 -0
  283. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -0
  284. package/dist/esm/core/introspection/workspace-elements.companion.d.ts +54 -0
  285. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -0
  286. package/dist/esm/core/introspection/workspace-elements.companion.js +43 -0
  287. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -0
  288. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  289. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  290. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +7 -0
  291. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  292. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  293. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +7 -4
  294. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  295. package/dist/esm/core/lock/wildo-saas-lock.schemas.js +1 -0
  296. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  297. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +31 -0
  298. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -0
  299. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +53 -0
  300. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -0
  301. package/dist/esm/core/runtime/companion-endpoint-record.d.ts +8 -0
  302. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -0
  303. package/dist/esm/core/runtime/companion-endpoint-record.js +23 -0
  304. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -0
  305. package/dist/esm/core/runtime/companion-env-file.d.ts +30 -0
  306. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -0
  307. package/dist/esm/core/runtime/companion-env-file.js +53 -0
  308. package/dist/esm/core/runtime/companion-env-file.js.map +1 -0
  309. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  310. package/dist/esm/core/runtime/companion-startup-assembly.js +30 -1
  311. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  312. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +5 -0
  313. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  314. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +11 -0
  315. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  316. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts +56 -0
  317. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -0
  318. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js +97 -0
  319. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -0
  320. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  321. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts +54 -0
  322. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -0
  323. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js +54 -0
  324. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -0
  325. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +51 -2
  326. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  327. package/dist/esm/core/runtime/services/start-companion-application.service.js +290 -34
  328. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  329. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  330. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +14 -4
  331. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  332. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +69 -28
  333. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  334. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  335. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +0 -4
  339. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/cross-registry-rendering.shared.js +0 -4
  341. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  342. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  349. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js +6 -34
  353. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  354. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  356. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/resource-specification-context.factory.js +12 -1
  359. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  360. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  363. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  365. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  367. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  369. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  371. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  373. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  375. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  377. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  379. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  381. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  383. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  385. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  387. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  389. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  391. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  393. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  395. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  397. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  399. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  401. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  403. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  405. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  407. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  409. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  410. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +4 -2
  411. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  412. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +12 -2
  413. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  414. package/dist/esm/core/traceability/companion-traceability.models.d.ts +1 -7
  415. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  416. package/dist/esm/core/traceability/companion-traceability.models.js +3 -5
  417. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  418. package/dist/esm/core/traceability/companion-traceability.service.d.ts +21 -1
  419. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  420. package/dist/esm/core/traceability/companion-traceability.service.js +25 -1
  421. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  422. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  423. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +45 -0
  424. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -0
  425. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +96 -0
  426. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -0
  427. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts +35 -0
  428. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -0
  429. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +119 -0
  430. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -0
  431. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +11 -0
  432. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -0
  433. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +481 -0
  434. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -0
  435. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  436. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +0 -2
  437. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  438. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +19 -1
  439. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  440. package/dist/esm/deliberations/services/deliberation.companion.service.js +63 -6
  441. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  442. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -1
  443. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  444. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +7 -2
  445. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  446. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  447. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  448. package/dist/esm/email/models/email-template.actors-system.definitions.js +0 -1
  449. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  450. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  451. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  452. package/dist/esm/email/services/email-template.companion.service.d.ts +35 -3
  453. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  454. package/dist/esm/email/services/email-template.companion.service.js +145 -296
  455. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  456. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts +12 -0
  457. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  458. package/dist/esm/email/utils/email-labels-file-source.utils.js +62 -3
  459. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  460. package/dist/esm/email/utils/email-labels-tree.utils.d.ts +52 -0
  461. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -0
  462. package/dist/esm/email/utils/email-labels-tree.utils.js +261 -0
  463. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -0
  464. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  465. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +36 -0
  466. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -0
  467. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +150 -0
  468. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -0
  469. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +54 -4
  470. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  471. package/dist/esm/executions/services/companion-executions.companion.service.js +321 -49
  472. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  473. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  474. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +0 -1
  475. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  476. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  477. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +0 -1
  478. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  479. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  480. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +5 -0
  481. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  482. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +68 -8
  483. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  484. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts +8 -0
  485. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -0
  486. package/dist/esm/expert-personas/services/persona-source-ownership.js +83 -0
  487. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -0
  488. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +1 -1
  489. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  490. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js +1 -1
  491. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  492. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +4 -4
  493. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  494. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +4 -4
  495. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts +2 -2
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js +2 -2
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +5 -10
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +6 -11
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts +2 -1
  507. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  508. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js +2 -1
  509. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts +1 -1
  511. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  512. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js +1 -1
  513. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +6 -5
  515. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  516. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +7 -6
  517. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +3 -3
  519. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  520. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +3 -3
  521. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +4 -2
  524. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +5 -3
  526. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  527. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +2 -1
  528. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +2 -1
  530. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts +32 -0
  532. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -0
  533. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js +32 -0
  534. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -0
  535. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +0 -1
  536. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +0 -1
  538. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  539. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +0 -7
  540. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +0 -7
  542. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  543. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +69 -0
  544. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -0
  545. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +69 -0
  546. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -0
  547. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts +26 -0
  548. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -0
  549. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js +26 -0
  550. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -0
  551. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts +18 -0
  552. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -0
  553. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js +18 -0
  554. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -0
  555. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +3 -3
  556. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js +3 -3
  558. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  559. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts +1 -1
  560. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js +1 -1
  562. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  563. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +1 -3
  564. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +1 -3
  566. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  567. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +8 -1
  568. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +8 -1
  570. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  571. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts +10 -10
  572. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js +10 -10
  574. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  575. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +21 -23
  576. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +21 -23
  578. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  579. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
  580. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +2 -1
  582. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  583. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts +17 -0
  584. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -0
  585. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js +17 -0
  586. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -0
  587. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +5 -5
  588. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js +5 -5
  590. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  591. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts +1 -1
  592. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js +1 -1
  594. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  595. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts +1 -1
  596. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js +1 -1
  598. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  599. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +16 -2
  600. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +16 -2
  602. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  603. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts +3 -3
  604. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js +3 -3
  606. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +8 -8
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +8 -8
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +14 -17
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +14 -17
  615. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +54 -5
  617. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +55 -6
  619. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts +2 -2
  621. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js +2 -2
  623. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +2 -2
  640. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +2 -2
  642. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +21 -0
  644. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -0
  645. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +21 -0
  646. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -0
  647. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts +2 -2
  659. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js +2 -2
  661. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +4 -10
  670. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +4 -10
  672. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts +4 -4
  674. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js +4 -4
  676. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts +2 -2
  678. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js +2 -2
  680. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts +1 -0
  686. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js +2 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +28 -0
  690. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -0
  691. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +28 -0
  692. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -0
  693. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +1 -0
  694. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js +2 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +10 -3
  698. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +11 -4
  700. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts +3 -2
  702. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js +4 -3
  704. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +4 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +5 -2
  708. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts +3 -3
  714. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js +3 -3
  716. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +3 -3
  722. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +3 -3
  724. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +15 -0
  726. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -0
  727. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +15 -0
  728. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -0
  729. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  730. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts +12 -0
  731. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -0
  732. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js +12 -0
  733. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -0
  734. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +1 -1
  735. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  736. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js +1 -1
  737. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  738. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts +1 -1
  740. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js +1 -1
  742. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  743. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  744. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +5 -3
  745. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  746. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +5 -3
  747. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  748. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts +1 -1
  749. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js +1 -1
  751. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  752. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +3 -0
  753. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +4 -1
  755. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  756. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts +1 -1
  758. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js +1 -1
  760. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  761. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  762. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts +12 -0
  764. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -0
  765. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js +12 -0
  766. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -0
  767. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +1 -1
  768. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js +1 -1
  770. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  771. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts +1 -1
  772. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js +1 -1
  774. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  775. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts +1 -1
  776. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js +1 -1
  778. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  779. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts +1 -1
  780. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js +1 -1
  782. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  783. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts +1 -1
  784. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js +1 -1
  786. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  787. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts +22 -0
  788. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -0
  789. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js +22 -0
  790. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -0
  791. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +2 -2
  792. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js +2 -2
  794. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  795. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  796. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +6 -6
  797. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  798. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +6 -6
  799. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  800. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +3 -3
  801. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +3 -3
  803. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  804. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +16 -8
  805. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +17 -9
  807. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  808. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +30 -0
  809. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -0
  810. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +30 -0
  811. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -0
  812. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +1 -1
  814. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  815. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +1 -1
  816. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  817. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +47 -20
  818. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +47 -20
  820. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  821. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  822. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +3 -0
  823. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +4 -1
  825. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  826. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +5 -5
  827. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  828. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +5 -5
  829. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  830. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  831. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  832. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  833. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +1 -1
  834. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  835. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js +1 -1
  836. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  837. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  839. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts +13 -0
  840. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -0
  841. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js +13 -0
  842. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -0
  843. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts +13 -0
  844. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -0
  845. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js +13 -0
  846. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -0
  847. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  848. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  849. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +3 -3
  850. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  851. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +3 -3
  852. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  853. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +15 -0
  854. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -0
  855. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +15 -0
  856. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -0
  857. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +5 -3
  858. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  859. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js +6 -4
  860. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  861. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts +10 -9
  862. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  863. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js +11 -10
  864. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  865. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  866. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  867. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts +5 -5
  868. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  869. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js +5 -5
  870. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  871. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +6 -6
  872. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  873. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +6 -6
  874. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  875. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts +7 -7
  876. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  877. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js +7 -7
  878. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  879. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts +1 -1
  880. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js +1 -1
  882. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  883. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts +1 -1
  884. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  885. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js +1 -1
  886. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  887. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts +4 -4
  888. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  889. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js +4 -4
  890. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  891. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts +24 -0
  892. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -0
  893. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js +24 -0
  894. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -0
  895. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +6 -4
  896. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  897. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +6 -4
  898. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  899. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +14 -10
  900. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  901. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +14 -10
  902. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  903. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts +6 -6
  904. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  905. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js +6 -6
  906. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  907. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +11 -8
  908. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  909. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +12 -9
  910. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  911. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +9 -8
  912. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  913. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +9 -8
  914. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  915. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +25 -9
  916. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  917. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +25 -9
  918. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  919. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +1 -1
  920. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  921. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +1 -1
  922. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  923. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +2 -2
  924. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  925. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -2
  926. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  927. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts +1 -0
  928. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  929. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js +2 -1
  930. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  931. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +25 -24
  932. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  933. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +26 -25
  934. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  935. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts +1 -1
  936. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  937. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js +1 -1
  938. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  939. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +3 -1
  940. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  941. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +4 -2
  942. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  943. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +2 -2
  944. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  945. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +2 -2
  946. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  947. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +13 -12
  948. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  949. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +13 -12
  950. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  951. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +7 -1
  952. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  953. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +7 -1
  954. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  955. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +13 -0
  956. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  957. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +14 -1
  958. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  959. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  960. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts +6 -6
  961. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  962. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +6 -6
  963. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  964. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +2 -2
  965. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  966. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +2 -2
  967. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  968. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +2 -2
  969. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  970. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +2 -2
  971. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  972. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  973. package/dist/esm/i18n/components/guidance_banner.en.d.ts +1 -1
  974. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  975. package/dist/esm/i18n/components/guidance_banner.en.js +1 -1
  976. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  977. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  978. package/dist/esm/i18n/components/guidance_checklist.en.d.ts +2 -2
  979. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  980. package/dist/esm/i18n/components/guidance_checklist.en.js +2 -2
  981. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  982. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +1 -0
  983. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  984. package/dist/esm/i18n/components/guidance_checklist_item.en.js +2 -1
  985. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  986. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  987. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts +1 -1
  988. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  989. package/dist/esm/i18n/components/guidance_onboarding_view.en.js +1 -1
  990. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  991. package/dist/esm/i18n/components/guidance_survey.en.d.ts +1 -0
  992. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  993. package/dist/esm/i18n/components/guidance_survey.en.js +2 -1
  994. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  995. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  996. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  997. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +1 -1
  998. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  999. package/dist/esm/i18n/components/progression_achievement_badge.en.js +1 -1
  1000. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  1001. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +5 -3
  1002. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  1003. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +6 -4
  1004. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  1005. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +18 -0
  1006. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -0
  1007. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +356 -0
  1008. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -0
  1009. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts +15 -0
  1010. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -0
  1011. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +70 -0
  1012. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -0
  1013. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  1014. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts +25 -0
  1015. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -0
  1016. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js +26 -0
  1017. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -0
  1018. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +119 -0
  1019. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -0
  1020. package/dist/esm/i18n/errors_messages/errors-messages.en.js +76 -0
  1021. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -0
  1022. package/dist/esm/i18n/index.d.ts +10 -8
  1023. package/dist/esm/i18n/index.d.ts.map +1 -1
  1024. package/dist/esm/i18n/index.js +10 -8
  1025. package/dist/esm/i18n/index.js.map +1 -1
  1026. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +2024 -1
  1027. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  1028. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +518 -0
  1029. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  1030. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +878 -8
  1031. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  1032. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +247 -0
  1033. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  1034. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +504 -1
  1035. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  1036. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +153 -0
  1037. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  1038. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts +97 -0
  1039. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -0
  1040. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js +60 -0
  1041. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -0
  1042. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts +78 -0
  1043. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -0
  1044. package/dist/esm/i18n/resources/workbenchAspects.en.js +261 -0
  1045. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -0
  1046. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +149 -0
  1047. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -0
  1048. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +79 -0
  1049. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -0
  1050. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +94 -0
  1051. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -0
  1052. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +75 -0
  1053. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -0
  1054. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +70 -5
  1055. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  1056. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +67 -0
  1057. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  1058. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +104 -0
  1059. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -0
  1060. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +58 -0
  1061. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -0
  1062. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts +95 -0
  1063. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -0
  1064. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js +54 -0
  1065. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -0
  1066. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts +95 -0
  1067. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -0
  1068. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js +51 -0
  1069. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -0
  1070. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +1 -1
  1071. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  1072. package/dist/esm/i18n/resources/workbenchDomainResources.en.js +2 -2
  1073. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  1074. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +138 -0
  1075. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -0
  1076. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +70 -0
  1077. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -0
  1078. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +112 -0
  1079. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -0
  1080. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +115 -0
  1081. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -0
  1082. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts +121 -0
  1083. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -0
  1084. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js +84 -0
  1085. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -0
  1086. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +89 -0
  1087. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -0
  1088. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +75 -0
  1089. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -0
  1090. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +170 -0
  1091. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -0
  1092. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +113 -0
  1093. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -0
  1094. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +167 -6
  1095. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  1096. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +113 -0
  1097. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  1098. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +95 -4
  1099. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  1100. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +85 -0
  1101. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  1102. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +5174 -247
  1103. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  1104. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +1238 -55
  1105. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  1106. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +86 -3
  1107. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  1108. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +90 -0
  1109. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  1110. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +107 -0
  1111. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -0
  1112. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +91 -0
  1113. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -0
  1114. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +282 -0
  1115. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -0
  1116. package/dist/esm/i18n/system_enums/application-creation.en.js +330 -0
  1117. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -0
  1118. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +154 -0
  1119. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -0
  1120. package/dist/esm/i18n/system_enums/compliance-programme.en.js +154 -0
  1121. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -0
  1122. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +54 -0
  1123. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -0
  1124. package/dist/esm/i18n/system_enums/flows-actors.en.js +54 -0
  1125. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -0
  1126. package/dist/esm/i18n/system_enums/market.en.d.ts +12 -2
  1127. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  1128. package/dist/esm/i18n/system_enums/market.en.js +12 -2
  1129. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  1130. package/dist/esm/i18n/system_enums/processor-register.en.d.ts +49 -0
  1131. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -0
  1132. package/dist/esm/i18n/system_enums/processor-register.en.js +49 -0
  1133. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -0
  1134. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +56 -0
  1135. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -0
  1136. package/dist/esm/i18n/system_enums/risk-register.en.js +56 -0
  1137. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -0
  1138. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +50 -0
  1139. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -0
  1140. package/dist/esm/i18n/system_enums/workbench-build.en.js +55 -0
  1141. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -0
  1142. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +47 -0
  1143. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -0
  1144. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +48 -0
  1145. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -0
  1146. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +21 -0
  1147. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -0
  1148. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +22 -0
  1149. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -0
  1150. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts +29 -0
  1151. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -0
  1152. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js +29 -0
  1153. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -0
  1154. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +46 -0
  1155. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -0
  1156. package/dist/esm/i18n/system_enums/workbench-secrets.en.js +46 -0
  1157. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -0
  1158. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +32 -0
  1159. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -0
  1160. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +37 -0
  1161. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -0
  1162. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +61 -0
  1163. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -0
  1164. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +22 -0
  1165. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -0
  1166. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +134 -5
  1167. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  1168. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +69 -4
  1169. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  1170. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  1171. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +0 -2
  1172. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  1173. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  1174. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts +48 -0
  1175. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -0
  1176. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +145 -0
  1177. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -0
  1178. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +82 -20
  1179. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  1180. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +433 -89
  1181. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  1182. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +53 -8
  1183. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  1184. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +253 -45
  1185. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  1186. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +113 -0
  1187. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  1188. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +539 -16
  1189. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  1190. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +64 -1
  1191. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  1192. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +423 -71
  1193. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  1194. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts +91 -0
  1195. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -0
  1196. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js +149 -0
  1197. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -0
  1198. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +31 -0
  1199. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -0
  1200. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +44 -0
  1201. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -0
  1202. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts +54 -0
  1203. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -0
  1204. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +74 -0
  1205. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -0
  1206. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +30 -3
  1207. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  1208. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +27 -0
  1209. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  1210. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts +12 -0
  1211. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  1212. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +58 -1
  1213. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  1214. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts +24 -0
  1215. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -0
  1216. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js +34 -0
  1217. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -0
  1218. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  1219. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js +19 -0
  1220. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  1221. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  1222. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  1223. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  1224. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +5 -1
  1225. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  1226. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  1227. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -0
  1228. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  1229. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts +76 -0
  1230. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -0
  1231. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js +110 -0
  1232. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -0
  1233. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts +17 -0
  1234. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -0
  1235. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js +23 -0
  1236. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -0
  1237. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  1238. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +63 -27
  1239. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  1240. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +251 -139
  1241. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  1242. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +11 -0
  1243. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  1244. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +27 -3
  1245. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  1246. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts +38 -0
  1247. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -0
  1248. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js +66 -0
  1249. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -0
  1250. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  1251. package/dist/esm/index.d.ts.map +1 -1
  1252. package/dist/esm/index.js +9 -3
  1253. package/dist/esm/index.js.map +1 -1
  1254. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  1255. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts +29 -0
  1256. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -0
  1257. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +58 -0
  1258. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -0
  1259. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +35 -0
  1260. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  1261. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +69 -5
  1262. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  1263. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts +11 -0
  1264. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -0
  1265. package/dist/esm/meta-workflows/models/application-line-catalog.models.js +17 -0
  1266. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -0
  1267. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  1268. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +6 -5
  1269. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  1270. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +1 -0
  1271. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  1272. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +22 -1
  1273. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  1274. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +46 -0
  1275. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -0
  1276. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +43 -0
  1277. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -0
  1278. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +34 -0
  1279. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -0
  1280. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +59 -0
  1281. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -0
  1282. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +79 -0
  1283. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -0
  1284. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +101 -0
  1285. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -0
  1286. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts +14 -0
  1287. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -0
  1288. package/dist/esm/meta-workflows/models/human-decision-settler.models.js +18 -0
  1289. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -0
  1290. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +83 -13
  1291. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1292. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +101 -7
  1293. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1294. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1295. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +28 -8
  1296. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1297. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +227 -0
  1298. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -0
  1299. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +305 -0
  1300. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -0
  1301. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +401 -0
  1302. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -0
  1303. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +470 -0
  1304. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -0
  1305. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts +14 -0
  1306. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -0
  1307. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js +21 -0
  1308. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -0
  1309. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  1310. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +3 -1
  1311. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  1312. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +79 -0
  1313. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -0
  1314. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +193 -0
  1315. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -0
  1316. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +969 -48
  1317. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1318. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +2123 -150
  1319. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1320. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts +19 -0
  1321. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -0
  1322. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js +36 -0
  1323. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -0
  1324. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +124 -36
  1325. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1326. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +305 -58
  1327. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1328. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +442 -16
  1329. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1330. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +1514 -69
  1331. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1332. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +32 -0
  1333. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -0
  1334. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +161 -0
  1335. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -0
  1336. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts +47 -0
  1337. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -0
  1338. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +103 -0
  1339. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -0
  1340. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +31 -0
  1341. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -0
  1342. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +89 -0
  1343. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -0
  1344. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +48 -0
  1345. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -0
  1346. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +111 -0
  1347. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -0
  1348. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +154 -0
  1349. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -0
  1350. package/dist/esm/meta-workflows/services/dossier.companion.service.js +428 -0
  1351. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -0
  1352. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts +36 -0
  1353. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -0
  1354. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js +72 -0
  1355. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -0
  1356. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +82 -1
  1357. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1358. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +200 -31
  1359. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1360. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts +16 -0
  1361. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -0
  1362. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js +29 -0
  1363. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -0
  1364. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +225 -3
  1365. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1366. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +445 -12
  1367. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1368. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts +40 -0
  1369. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -0
  1370. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js +91 -0
  1371. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -0
  1372. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts +25 -0
  1373. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -0
  1374. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js +40 -0
  1375. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -0
  1376. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts +2 -0
  1377. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -0
  1378. package/dist/esm/meta-workflows/services/landed-module-import.companion.js +36 -0
  1379. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -0
  1380. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1381. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +90 -0
  1382. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -0
  1383. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +307 -0
  1384. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -0
  1385. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +86 -0
  1386. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1387. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +126 -6
  1388. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1389. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +1278 -193
  1390. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1391. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +4375 -500
  1392. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1393. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +100 -0
  1394. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -0
  1395. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +156 -0
  1396. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -0
  1397. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts +49 -0
  1398. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -0
  1399. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js +93 -0
  1400. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -0
  1401. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts +45 -0
  1402. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -0
  1403. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js +145 -0
  1404. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -0
  1405. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +33 -9
  1406. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1407. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +70 -29
  1408. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1409. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +20 -5
  1410. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1411. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +38 -16
  1412. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1413. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1414. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1415. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1416. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1417. package/package.json +18 -18
  1418. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -13
  1419. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -1
  1420. package/dist/esm/i18n/composite_views/app.creation-board.en.js +0 -91
  1421. package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -1
  1422. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +0 -92
  1423. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +0 -1
  1424. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +0 -178
  1425. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +0 -1
  1426. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +0 -107
  1427. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +0 -1
  1428. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +0 -188
  1429. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +0 -1
@@ -0,0 +1,24 @@
1
+ import { type LabellingPlanIncompleteness, type LabellingUnit } from '../models/labelling-unit.models';
2
+ /**
3
+ * Whether a unit must be REFUSED by every path that writes its label files, and why.
4
+ *
5
+ * A unit carrying `plannedFromIncompleteInputs` holds a SUBSET of its real keys, and each of the three
6
+ * write paths prunes what the plan does not hold: labellize generation, labellize adoption, and
7
+ * translate (which drops target-locale keys the plan lacks and records the locale `fresh`, so the loss
8
+ * would be permanent — later runs skip a fresh locale). One predicate and one message for all three, so
9
+ * a fourth writer cannot guard differently.
10
+ *
11
+ * @returns the refusal message, or `undefined` when the unit's plan is complete.
12
+ */
13
+ export declare function incompletePlanRefusal(unit: Pick<LabellingUnit, 'plannedFromIncompleteInputs'>): string | undefined;
14
+ /**
15
+ * Which frontend incompleteness makes the key set of a unit that reads the frontend snapshot PARTIAL.
16
+ *
17
+ * An application with no SAAS_APP frontend service is not partial: it genuinely has no layout, no
18
+ * description opt-ins and no discovered guidance, so the empty snapshot is its complete answer, and
19
+ * tagging it would refuse its units for ever with a "repair the cause" that has no cause. Only a
20
+ * snapshot that SHOULD have answered and did not — the introspection failed, or answered malformed —
21
+ * is partial.
22
+ */
23
+ export declare function resolveFrontendPlanDegradation(incompleteness: LabellingPlanIncompleteness | undefined): LabellingPlanIncompleteness | undefined;
24
+ //# sourceMappingURL=incomplete-plan-refusal.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomplete-plan-refusal.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/incomplete-plan-refusal.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,aAAa,EACnB,MAAM,iCAAiC,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,6BAA6B,CAAC,GAAG,MAAM,GAAG,SAAS,CAOlH;AAED;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAC5C,cAAc,EAAE,2BAA2B,GAAG,SAAS,GACtD,2BAA2B,GAAG,SAAS,CAGzC"}
@@ -0,0 +1,34 @@
1
+ import { LabellingPlanIncompletenessReason, } from '../models/labelling-unit.models.js';
2
+ /**
3
+ * Whether a unit must be REFUSED by every path that writes its label files, and why.
4
+ *
5
+ * A unit carrying `plannedFromIncompleteInputs` holds a SUBSET of its real keys, and each of the three
6
+ * write paths prunes what the plan does not hold: labellize generation, labellize adoption, and
7
+ * translate (which drops target-locale keys the plan lacks and records the locale `fresh`, so the loss
8
+ * would be permanent — later runs skip a fresh locale). One predicate and one message for all three, so
9
+ * a fourth writer cannot guard differently.
10
+ *
11
+ * @returns the refusal message, or `undefined` when the unit's plan is complete.
12
+ */
13
+ export function incompletePlanRefusal(unit) {
14
+ const reasons = unit.plannedFromIncompleteInputs;
15
+ if (!reasons || reasons.length === 0)
16
+ return undefined;
17
+ return (`Not rewritten: part of this unit's keys come from a family that could not answer (${reasons.join(', ')}), ` +
18
+ 'so the plan is partial and writing it would delete the labels that family plans. Repair the cause and run again.');
19
+ }
20
+ /**
21
+ * Which frontend incompleteness makes the key set of a unit that reads the frontend snapshot PARTIAL.
22
+ *
23
+ * An application with no SAAS_APP frontend service is not partial: it genuinely has no layout, no
24
+ * description opt-ins and no discovered guidance, so the empty snapshot is its complete answer, and
25
+ * tagging it would refuse its units for ever with a "repair the cause" that has no cause. Only a
26
+ * snapshot that SHOULD have answered and did not — the introspection failed, or answered malformed —
27
+ * is partial.
28
+ */
29
+ export function resolveFrontendPlanDegradation(incompleteness) {
30
+ if (!incompleteness)
31
+ return undefined;
32
+ return incompleteness.reason === LabellingPlanIncompletenessReason.FRONTEND_INTROSPECTION_NO_APP_SERVICE ? undefined : incompleteness;
33
+ }
34
+ //# sourceMappingURL=incomplete-plan-refusal.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomplete-plan-refusal.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/incomplete-plan-refusal.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,GAGlC,MAAM,iCAAiC,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAAwD;IAC5F,MAAM,OAAO,GAAG,IAAI,CAAC,2BAA2B,CAAC;IACjD,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IACvD,OAAO,CACL,qFAAqF,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK;QAC5G,kHAAkH,CACnH,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,8BAA8B,CAC5C,cAAuD;IAEvD,IAAI,CAAC,cAAc;QAAE,OAAO,SAAS,CAAC;IACtC,OAAO,cAAc,CAAC,MAAM,KAAK,iCAAiC,CAAC,qCAAqC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC;AACxI,CAAC","sourcesContent":["import {\n LabellingPlanIncompletenessReason,\n type LabellingPlanIncompleteness,\n type LabellingUnit,\n} from '../models/labelling-unit.models';\n\n/**\n * Whether a unit must be REFUSED by every path that writes its label files, and why.\n *\n * A unit carrying `plannedFromIncompleteInputs` holds a SUBSET of its real keys, and each of the three\n * write paths prunes what the plan does not hold: labellize generation, labellize adoption, and\n * translate (which drops target-locale keys the plan lacks and records the locale `fresh`, so the loss\n * would be permanent — later runs skip a fresh locale). One predicate and one message for all three, so\n * a fourth writer cannot guard differently.\n *\n * @returns the refusal message, or `undefined` when the unit's plan is complete.\n */\nexport function incompletePlanRefusal(unit: Pick<LabellingUnit, 'plannedFromIncompleteInputs'>): string | undefined {\n const reasons = unit.plannedFromIncompleteInputs;\n if (!reasons || reasons.length === 0) return undefined;\n return (\n `Not rewritten: part of this unit's keys come from a family that could not answer (${reasons.join(', ')}), ` +\n 'so the plan is partial and writing it would delete the labels that family plans. Repair the cause and run again.'\n );\n}\n\n/**\n * Which frontend incompleteness makes the key set of a unit that reads the frontend snapshot PARTIAL.\n *\n * An application with no SAAS_APP frontend service is not partial: it genuinely has no layout, no\n * description opt-ins and no discovered guidance, so the empty snapshot is its complete answer, and\n * tagging it would refuse its units for ever with a \"repair the cause\" that has no cause. Only a\n * snapshot that SHOULD have answered and did not — the introspection failed, or answered malformed —\n * is partial.\n */\nexport function resolveFrontendPlanDegradation(\n incompleteness: LabellingPlanIncompleteness | undefined,\n): LabellingPlanIncompleteness | undefined {\n if (!incompleteness) return undefined;\n return incompleteness.reason === LabellingPlanIncompletenessReason.FRONTEND_INTROSPECTION_NO_APP_SERVICE ? undefined : incompleteness;\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,KAA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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,CAAC;IAClE,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAA6B,CAAC;IAEpE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,KAA+B,EAC/B,OAAiB,EAAE,EACnB,MAA8B,EAAE;IAEhC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACjD,MAAM,Q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AC;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;IACrD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAA6B,CAAC;IAEpE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,KAA+B,EAC/B,OAAiB,EAAE,EACnB,MAA8B,EAAE;IAEhC,KAAK,MAAM,CAAC,G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AQ,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.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AC,CAAC,CAAC;CAC9C,GAAG,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
+ {"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,GA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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,CAAC,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAIxC;IACC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAC5B,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7C,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,6BAA6B,CAAC,KAAK,CAAC,CAAC;IACrD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;IAEpC,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,G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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,IAAI,CAAC;IAC5B,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7C,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,6BAA6B,CAAC,KAAK,CAAC,CAAC;IACrD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;IAEpC,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,UAA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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"],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I,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;AAWzC;;;;;;;;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,CA8B7B;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,0BAA0B,GAAG,MAAM,CAqBvF"}
@@ -1,6 +1,7 @@
1
1
  import * as fs from 'node:fs/promises';
2
2
  import * as path from 'node:path';
3
3
  import { LANGUAGE_INFO_MAP } from '@wildo-ai/presets-components-models';
4
+ import { isEmailTemplateLabellingUnitId } from '../models/email-template-labelling-unit.models.js';
4
5
  /**
5
6
  * Every locale code the framework recognises. Total over `AvailableLanguage`
6
7
  * rather than a hand-kept list, so a language added to the vocabulary tomorrow
@@ -139,7 +140,10 @@ export function computeOrphanLabelArtifacts(args) {
139
140
  orphanFiles: existingFiles
140
141
  .filter((file) => !plannedPairs.has(`${file.bucket}/${file.slug}`))
141
142
  .map((file) => file.relativePath),
142
- orphanLockUnitIds: [...lockUnitIds].filter((id) => !plannedIds.has(id)).sort(),
143
+ // Email template rows (#1908) belong to the translate pipeline's email lane, which `planAllUnits()`
144
+ // never plans by design (an email's primary words are authored). Judged against this plan, every
145
+ // translated email would be named an orphan.
146
+ orphanLockUnitIds: [...lockUnitIds].filter((id) => !plannedIds.has(id) && !isEmailTemplateLabellingUnitId(id)).sort(),
143
147
  scannedFileCount: existingFiles.length,
144
148
  };
145
149
  }
@@ -1 +1 @@
1
- {"version":3,"file":"orphan-label-artifacts.utils.js","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/orphan-label-artifacts.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAMxE;;;;;GAKG;AACH,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAExF;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,2BAaX;AAbD,WAAY,2BAA2B;IACrC,yFAAyF;IACzF,oDAAqB,CAAA;IACrB,qFAAqF;IACrF,oFAAqD,CAAA;IACrD;;;;;;OAMG;IACH,kFAAmD,CAAA;AACrD,CAAC,EAbW,2BAA2B,KAA3B,2BAA2B,QAatC;AA0ED;;;;;;;;;GASG;AACH,MAAM,UAAU,2BAA2B,CACzC,QAAgB;IAEhB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,OAAO,GAAG,gBAAgB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAClD,IAAI,OAAO,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IACnC,MAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IACnD,IAAI,CAAC,kBAAk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,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QAC9E,MAAM,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,eAAe,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;KAChG;SACE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;SACjC,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["import * as fs from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { LANGUAGE_INFO_MAP } from '@wildo-ai/presets-components-models';\nimport type {\n LabellingPlanIncompleteness,\n LabellingUnit,\n} from '../models/labelling-unit.models';\n\n/**\n * Every locale code the framework recognises. Total over `AvailableLanguage`\n * rather than a hand-kept list, so a language added to the vocabulary tomorrow\n * is parsed as a locale by every existing installation instead of being\n * silently misread as part of a slug.\n */\nconst KNOWN_LOCALE_CODES: ReadonlySet<string> = new Set(Object.keys(LANGUAGE_INFO_MAP));\n\n/**\n * Whether the orphan question could be answered at all on this run.\n *\n * The two members are NOT \"found some\" / \"found none\" — that distinction is\n * `orphanFiles.length`. They separate a judgement from a REFUSAL to judge,\n * because the same empty `orphanFiles` array means opposite things in the two\n * cases and a consumer that conflated them would read \"nothing is stale\" off a\n * run that never looked.\n */\nexport enum OrphanLabelArtifactsOutcome {\n /** The planned unit set was total; `orphanFiles` / `orphanLockUnitIds` are a verdict. */\n REPORTED = 'reported',\n /** The plan declared itself incomplete; nothing was judged. See `incompleteness`. */\n UNAVAILABLE_PARTIAL_PLAN = 'unavailable-partial-plan',\n /**\n * The plan may have been fine; reading the i18n state was not — the directory\n * scan or the lock read threw. Distinct from `UNAVAILABLE_PARTIAL_PLAN`\n * because the remedies are different (repair the filesystem/lock vs. start the\n * frontend / bind the registry), and because merging them would let a broken\n * read masquerade as a known-partial plan. See `scanFailure`.\n */\n UNAVAILABLE_SCAN_FAILED = 'unavailable-scan-failed',\n}\n\n/** One generated label file discovered under the i18n root. */\nexport interface GeneratedLabelFile {\n /** Path relative to the i18n root, e.g. `resources/todos.en.ts`. */\n relativePath: string;\n /** Directory segment, e.g. `resources` — matches `LabellingUnit.filePathHint.bucket`. */\n bucket: string;\n /** File stem before the locale, e.g. `todos` — matches `filePathHint.slug`. */\n slug: string;\n /** Locale segment, guaranteed to be a member of `AvailableLanguage`. */\n locale: string;\n}\n\n/**\n * What label generation LEFT BEHIND: files and lock rows belonging to units the\n * application no longer plans.\n *\n * ## Why this reports and does not delete\n *\n * Key pruning inside a unit's file is safe because the unit was just planned and\n * regenerated — the planned key set is authoritative BY CONSTRUCTION for that\n * one unit. Unit pruning is a different question and has no such guarantee: it\n * asks whether a unit the run never mentioned still EXISTS, and the plan answers\n * that only as well as every one of its families could enumerate itself.\n *\n * Measured on the live planner, the frontend key snapshot degrades to EMPTY on\n * three separate conditions (no `SAAS_APP` frontend service, a failed\n * introspection subprocess, a malformed payload), each a logged warning rather\n * than a throw. On any of them all four frontend-derived buckets disappear from\n * the plan — on Wonder Todos that is `composite_views`, `views` and\n * `sidebar_sections`, three buckets of live, LLM-generated copy that a prune\n * would delete for the sole reason that the frontend dev server was not running.\n * Two more families (`milestones`, `billing`) vanish when their registry is not\n * bound in the container.\n *\n * Those five are DECLARED, so this report suppresses itself on them\n * ({@link OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN}). One class is\n * not declarable at all: a resources registry that loaded some of the\n * application's modules reports success with fewer resources, and no signal\n * distinguishes that from a resource genuinely removed. That residual is why the\n * outcome of this unit is a REPORT — a human reading a named list of six files\n * loses nothing if the list is wrong, and an unlink does not have that property.\n *\n * ## What would make deletion safe\n *\n * A plan whose totality is established rather than assumed: the resources\n * registry would have to report the module set it loaded against the module set\n * the application declares, and every remaining family would have to answer\n * \"I enumerate my whole space\" rather than merely \"I did not fail\". Given that,\n * a prune gated on `outcome === REPORTED` becomes defensible — and should still\n * be an explicit operator verb, never a side effect of a generation run.\n */\nexport interface OrphanLabelArtifactsReport {\n outcome: OrphanLabelArtifactsOutcome;\n /** The declared degradations. Empty exactly when `outcome` is `REPORTED`. */\n incompleteness: readonly LabellingPlanIncompleteness[];\n /**\n * i18n-root-relative paths of generated label files whose `(bucket, slug)`\n * belongs to no planned unit — BASE and TRANSLATION files alike (see the\n * translation note on {@link computeOrphanLabelArtifacts}).\n */\n orphanFiles: readonly string[];\n /** Lock `sections.i18n.units` ids that belong to no planned unit. */\n orphanLockUnitIds: readonly string[];\n /** Count of generated files considered — the denominator behind `orphanFiles`. */\n scannedFileCount: number;\n /**\n * Why the i18n state could not be READ, when that is what stopped the verdict.\n * Set exactly when `outcome` is `UNAVAILABLE_SCAN_FAILED`.\n */\n scanFailure?: string;\n}\n\n/**\n * Parse `<slug>.<locale>.ts` into its parts, or `undefined` when the name is not\n * a generated per-unit label file.\n *\n * Deliberately conservative in the ONE direction that matters: the locale\n * segment must be a known `AvailableLanguage` code. A hand-authored neighbour\n * (`index.ts`, a helper, anything whose penultimate segment is not a locale) is\n * therefore never parsed, so it can never be named an orphan. A slug containing\n * dots keeps them — only the LAST two dot-separated segments are structural.\n */\nexport function parseGeneratedLabelFileName(\n fileName: string,\n): { slug: string; locale: string } | undefined {\n if (!fileName.endsWith('.ts')) return undefined;\n const withoutExtension = fileName.slice(0, -'.ts'.length);\n const lastDot = withoutExtension.lastIndexOf('.');\n if (lastDot <= 0) return undefined;\n const locale = withoutExtension.slice(lastDot + 1);\n if (!KNOWN_LOCALE_CODES.has(locale)) return undefined;\n const slug = withoutExtension.slice(0, lastDot);\n if (slug.length === 0) return undefined;\n return { slug, locale };\n}\n\n/**\n * Walk `<i18nRoot>/<bucket>/<slug>.<locale>.ts` and return every generated label\n * file. One level deep, matching the layout `resolvePerUnitFilePath` writes.\n *\n * A missing root yields an empty list (a fresh application has generated\n * nothing yet); any other filesystem error propagates, because \"I could not read\n * the directory\" must never be reported to a caller as \"the directory is empty\"\n * — that is the reading a prune would act on.\n */\nexport async function collectGeneratedLabelFiles(i18nRoot: string): Promise<GeneratedLabelFile[]> {\n let bucketEntries;\n try {\n bucketEntries = await fs.readdir(i18nRoot, { withFileTypes: true });\n } catch (err: unknown) {\n if ((err as NodeJS.ErrnoException)?.code === 'ENOENT') return [];\n throw err;\n }\n\n const files: GeneratedLabelFile[] = [];\n for (const bucketEntry of bucketEntries) {\n if (!bucketEntry.isDirectory()) continue;\n const bucket = bucketEntry.name;\n const fileEntries = await fs.readdir(path.join(i18nRoot, bucket), { withFileTypes: true });\n for (const fileEntry of fileEntries) {\n if (!fileEntry.isFile()) continue;\n const parsed = parseGeneratedLabelFileName(fileEntry.name);\n if (!parsed) continue;\n files.push({\n relativePath: `${bucket}/${fileEntry.name}`,\n bucket,\n slug: parsed.slug,\n locale: parsed.locale,\n });\n }\n }\n return files.sort((a, b) => a.relativePath.localeCompare(b.relativePath));\n}\n\n/**\n * Decide which generated files and lock rows are orphaned by the current plan.\n *\n * Pure — the caller supplies the scan and the plan, so the decision is testable\n * without a filesystem and cannot be influenced by anything it did not receive.\n *\n * **Unit identity is `(bucket, slug)`, not a file name**, which is what makes one\n * sweep cover BOTH orphan shapes the pipeline can produce. A unit's base file\n * (`<slug>.<primaryLocale>.ts`) and every translation of it\n * (`<slug>.<targetLocale>.ts`) share that pair, so a unit that stops being\n * planned surfaces all of its files here at once — the translation files are not\n * a second mechanism needing a second answer. Nothing is judged per-locale: a\n * locale that is still on disk but no longer configured is a DIFFERENT question,\n * and it is deliberately not answered here because the lock's `trackedLocales`\n * only ever grows (`upsertI18nUnit` unions it) and therefore cannot serve as the\n * denominator for \"this locale was dropped\".\n *\n * @param incompleteness Declared degradations from `planAllUnitsWithCompleteness`.\n * Non-empty suppresses the whole verdict rather than only the suppressed\n * buckets: a family that could not enumerate itself is also unable to promise\n * that its units all live in the buckets it names.\n */\nexport function computeOrphanLabelArtifacts(args: {\n plannedUnits: readonly Pick<LabellingUnit, 'id' | 'filePathHint'>[];\n lockUnitIds: readonly string[];\n existingFiles: readonly GeneratedLabelFile[];\n incompleteness: readonly LabellingPlanIncompleteness[];\n}): OrphanLabelArtifactsReport {\n const { plannedUnits, lockUnitIds, existingFiles, incompleteness } = args;\n\n if (incompleteness.length > 0) {\n return {\n outcome: OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN,\n incompleteness,\n orphanFiles: [],\n orphanLockUnitIds: [],\n scannedFileCount: existingFiles.length,\n };\n }\n\n const plannedPairs = new Set(\n plannedUnits.map((unit) => `${unit.filePathHint.bucket}/${unit.filePathHint.slug}`),\n );\n const plannedIds = new Set(plannedUnits.map((unit) => unit.id));\n\n return {\n outcome: OrphanLabelArtifactsOutcome.REPORTED,\n incompleteness: [],\n orphanFiles: existingFiles\n .filter((file) => !plannedPairs.has(`${file.bucket}/${file.slug}`))\n .map((file) => file.relativePath),\n orphanLockUnitIds: [...lockUnitIds].filter((id) => !plannedIds.has(id)).sort(),\n scannedFileCount: existingFiles.length,\n };\n}\n\n/**\n * One operator-facing line summarising a report, for the run log. Names the\n * artifacts rather than counting them: the whole value of a report over a delete\n * is that a human can look at the list and recognise a file that should not be\n * on it.\n */\nexport function describeOrphanLabelArtifacts(report: OrphanLabelArtifactsReport): string {\n if (report.outcome === OrphanLabelArtifactsOutcome.UNAVAILABLE_SCAN_FAILED) {\n return `Stale-unit detection skipped — the i18n state could not be read: ${report.scanFailure ?? 'unknown error'}`;\n }\n if (report.outcome === OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN) {\n const reasons = report.incompleteness\n .map((entry) => `${entry.reason} (suppresses: ${entry.suppressedBuckets.join(', ') || 'none'})`)\n .join('; ');\n return `Stale-unit detection skipped — the plan is incomplete, so absence proves nothing: ${reasons}`;\n }\n const total = report.orphanFiles.length + report.orphanLockUnitIds.length;\n if (total === 0) {\n return `No stale label units: all ${report.scannedFileCount} generated file(s) belong to a planned unit`;\n }\n return [\n `${total} stale label artifact(s) from unit(s) no longer planned — NOT removed, review before deleting.`,\n report.orphanFiles.length > 0 ? `Files: ${report.orphanFiles.join(', ')}` : '',\n report.orphanLockUnitIds.length > 0 ? `Lock units: ${report.orphanLockUnitIds.join(', ')}` : '',\n ]\n .filter((part) => part.length > 0)\n .join(' ');\n}\n"]}
1
+ {"version":3,"file":"orphan-label-artifacts.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/orphan-label-artifacts.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAKxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAEhG;;;;;GAKG;AACH,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAExF;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,2BAaX;AAbD,WAAY,2BAA2B;IACrC,yFAAyF;IACzF,oDAAqB,CAAA;IACrB,qFAAqF;IACrF,oFAAqD,CAAA;IACrD;;;;;;OAMG;IACH,kFAAmD,CAAA;AACrD,CAAC,EAbW,2BAA2B,KAA3B,2BAA2B,QAatC;AA0ED;;;;;;;;;GASG;AACH,MAAM,UAAU,2BAA2B,CACzC,QAAgB;IAEhB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,OAAO,GAAG,gBAAgB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAClD,IAAI,OAAO,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IACnC,MAAM,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BAA6B,MAAM,CAAC,gBAAgB,6CAA6C,CAAC;IAC3G,CAAC;IACD,OAAO;QACL,GAAG,KAAK,gGAAgG;QACxG,MAAM,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QAC9E,MAAM,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,eAAe,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;KAChG;SACE,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;SACjC,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC","sourcesContent":["import * as fs from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { LANGUAGE_INFO_MAP } from '@wildo-ai/presets-components-models';\nimport type {\n LabellingPlanIncompleteness,\n LabellingUnit,\n} from '../models/labelling-unit.models';\nimport { isEmailTemplateLabellingUnitId } from '../models/email-template-labelling-unit.models';\n\n/**\n * Every locale code the framework recognises. Total over `AvailableLanguage`\n * rather than a hand-kept list, so a language added to the vocabulary tomorrow\n * is parsed as a locale by every existing installation instead of being\n * silently misread as part of a slug.\n */\nconst KNOWN_LOCALE_CODES: ReadonlySet<string> = new Set(Object.keys(LANGUAGE_INFO_MAP));\n\n/**\n * Whether the orphan question could be answered at all on this run.\n *\n * The two members are NOT \"found some\" / \"found none\" — that distinction is\n * `orphanFiles.length`. They separate a judgement from a REFUSAL to judge,\n * because the same empty `orphanFiles` array means opposite things in the two\n * cases and a consumer that conflated them would read \"nothing is stale\" off a\n * run that never looked.\n */\nexport enum OrphanLabelArtifactsOutcome {\n /** The planned unit set was total; `orphanFiles` / `orphanLockUnitIds` are a verdict. */\n REPORTED = 'reported',\n /** The plan declared itself incomplete; nothing was judged. See `incompleteness`. */\n UNAVAILABLE_PARTIAL_PLAN = 'unavailable-partial-plan',\n /**\n * The plan may have been fine; reading the i18n state was not — the directory\n * scan or the lock read threw. Distinct from `UNAVAILABLE_PARTIAL_PLAN`\n * because the remedies are different (repair the filesystem/lock vs. start the\n * frontend / bind the registry), and because merging them would let a broken\n * read masquerade as a known-partial plan. See `scanFailure`.\n */\n UNAVAILABLE_SCAN_FAILED = 'unavailable-scan-failed',\n}\n\n/** One generated label file discovered under the i18n root. */\nexport interface GeneratedLabelFile {\n /** Path relative to the i18n root, e.g. `resources/todos.en.ts`. */\n relativePath: string;\n /** Directory segment, e.g. `resources` — matches `LabellingUnit.filePathHint.bucket`. */\n bucket: string;\n /** File stem before the locale, e.g. `todos` — matches `filePathHint.slug`. */\n slug: string;\n /** Locale segment, guaranteed to be a member of `AvailableLanguage`. */\n locale: string;\n}\n\n/**\n * What label generation LEFT BEHIND: files and lock rows belonging to units the\n * application no longer plans.\n *\n * ## Why this reports and does not delete\n *\n * Key pruning inside a unit's file is safe because the unit was just planned and\n * regenerated — the planned key set is authoritative BY CONSTRUCTION for that\n * one unit. Unit pruning is a different question and has no such guarantee: it\n * asks whether a unit the run never mentioned still EXISTS, and the plan answers\n * that only as well as every one of its families could enumerate itself.\n *\n * Measured on the live planner, the frontend key snapshot degrades to EMPTY on\n * three separate conditions (no `SAAS_APP` frontend service, a failed\n * introspection subprocess, a malformed payload), each a logged warning rather\n * than a throw. On any of them all four frontend-derived buckets disappear from\n * the plan — on Wonder Todos that is `composite_views`, `views` and\n * `sidebar_sections`, three buckets of live, LLM-generated copy that a prune\n * would delete for the sole reason that the frontend dev server was not running.\n * Two more families (`milestones`, `billing`) vanish when their registry is not\n * bound in the container.\n *\n * Those five are DECLARED, so this report suppresses itself on them\n * ({@link OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN}). One class is\n * not declarable at all: a resources registry that loaded some of the\n * application's modules reports success with fewer resources, and no signal\n * distinguishes that from a resource genuinely removed. That residual is why the\n * outcome of this unit is a REPORT — a human reading a named list of six files\n * loses nothing if the list is wrong, and an unlink does not have that property.\n *\n * ## What would make deletion safe\n *\n * A plan whose totality is established rather than assumed: the resources\n * registry would have to report the module set it loaded against the module set\n * the application declares, and every remaining family would have to answer\n * \"I enumerate my whole space\" rather than merely \"I did not fail\". Given that,\n * a prune gated on `outcome === REPORTED` becomes defensible — and should still\n * be an explicit operator verb, never a side effect of a generation run.\n */\nexport interface OrphanLabelArtifactsReport {\n outcome: OrphanLabelArtifactsOutcome;\n /** The declared degradations. Empty exactly when `outcome` is `REPORTED`. */\n incompleteness: readonly LabellingPlanIncompleteness[];\n /**\n * i18n-root-relative paths of generated label files whose `(bucket, slug)`\n * belongs to no planned unit — BASE and TRANSLATION files alike (see the\n * translation note on {@link computeOrphanLabelArtifacts}).\n */\n orphanFiles: readonly string[];\n /** Lock `sections.i18n.units` ids that belong to no planned unit. */\n orphanLockUnitIds: readonly string[];\n /** Count of generated files considered — the denominator behind `orphanFiles`. */\n scannedFileCount: number;\n /**\n * Why the i18n state could not be READ, when that is what stopped the verdict.\n * Set exactly when `outcome` is `UNAVAILABLE_SCAN_FAILED`.\n */\n scanFailure?: string;\n}\n\n/**\n * Parse `<slug>.<locale>.ts` into its parts, or `undefined` when the name is not\n * a generated per-unit label file.\n *\n * Deliberately conservative in the ONE direction that matters: the locale\n * segment must be a known `AvailableLanguage` code. A hand-authored neighbour\n * (`index.ts`, a helper, anything whose penultimate segment is not a locale) is\n * therefore never parsed, so it can never be named an orphan. A slug containing\n * dots keeps them — only the LAST two dot-separated segments are structural.\n */\nexport function parseGeneratedLabelFileName(\n fileName: string,\n): { slug: string; locale: string } | undefined {\n if (!fileName.endsWith('.ts')) return undefined;\n const withoutExtension = fileName.slice(0, -'.ts'.length);\n const lastDot = withoutExtension.lastIndexOf('.');\n if (lastDot <= 0) return undefined;\n const locale = withoutExtension.slice(lastDot + 1);\n if (!KNOWN_LOCALE_CODES.has(locale)) return undefined;\n const slug = withoutExtension.slice(0, lastDot);\n if (slug.length === 0) return undefined;\n return { slug, locale };\n}\n\n/**\n * Walk `<i18nRoot>/<bucket>/<slug>.<locale>.ts` and return every generated label\n * file. One level deep, matching the layout `resolvePerUnitFilePath` writes.\n *\n * A missing root yields an empty list (a fresh application has generated\n * nothing yet); any other filesystem error propagates, because \"I could not read\n * the directory\" must never be reported to a caller as \"the directory is empty\"\n * — that is the reading a prune would act on.\n */\nexport async function collectGeneratedLabelFiles(i18nRoot: string): Promise<GeneratedLabelFile[]> {\n let bucketEntries;\n try {\n bucketEntries = await fs.readdir(i18nRoot, { withFileTypes: true });\n } catch (err: unknown) {\n if ((err as NodeJS.ErrnoException)?.code === 'ENOENT') return [];\n throw err;\n }\n\n const files: GeneratedLabelFile[] = [];\n for (const bucketEntry of bucketEntries) {\n if (!bucketEntry.isDirectory()) continue;\n const bucket = bucketEntry.name;\n const fileEntries = await fs.readdir(path.join(i18nRoot, bucket), { withFileTypes: true });\n for (const fileEntry of fileEntries) {\n if (!fileEntry.isFile()) continue;\n const parsed = parseGeneratedLabelFileName(fileEntry.name);\n if (!parsed) continue;\n files.push({\n relativePath: `${bucket}/${fileEntry.name}`,\n bucket,\n slug: parsed.slug,\n locale: parsed.locale,\n });\n }\n }\n return files.sort((a, b) => a.relativePath.localeCompare(b.relativePath));\n}\n\n/**\n * Decide which generated files and lock rows are orphaned by the current plan.\n *\n * Pure — the caller supplies the scan and the plan, so the decision is testable\n * without a filesystem and cannot be influenced by anything it did not receive.\n *\n * **Unit identity is `(bucket, slug)`, not a file name**, which is what makes one\n * sweep cover BOTH orphan shapes the pipeline can produce. A unit's base file\n * (`<slug>.<primaryLocale>.ts`) and every translation of it\n * (`<slug>.<targetLocale>.ts`) share that pair, so a unit that stops being\n * planned surfaces all of its files here at once — the translation files are not\n * a second mechanism needing a second answer. Nothing is judged per-locale: a\n * locale that is still on disk but no longer configured is a DIFFERENT question,\n * and it is deliberately not answered here because the lock's `trackedLocales`\n * only ever grows (`upsertI18nUnit` unions it) and therefore cannot serve as the\n * denominator for \"this locale was dropped\".\n *\n * @param incompleteness Declared degradations from `planAllUnitsWithCompleteness`.\n * Non-empty suppresses the whole verdict rather than only the suppressed\n * buckets: a family that could not enumerate itself is also unable to promise\n * that its units all live in the buckets it names.\n */\nexport function computeOrphanLabelArtifacts(args: {\n plannedUnits: readonly Pick<LabellingUnit, 'id' | 'filePathHint'>[];\n lockUnitIds: readonly string[];\n existingFiles: readonly GeneratedLabelFile[];\n incompleteness: readonly LabellingPlanIncompleteness[];\n}): OrphanLabelArtifactsReport {\n const { plannedUnits, lockUnitIds, existingFiles, incompleteness } = args;\n\n if (incompleteness.length > 0) {\n return {\n outcome: OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN,\n incompleteness,\n orphanFiles: [],\n orphanLockUnitIds: [],\n scannedFileCount: existingFiles.length,\n };\n }\n\n const plannedPairs = new Set(\n plannedUnits.map((unit) => `${unit.filePathHint.bucket}/${unit.filePathHint.slug}`),\n );\n const plannedIds = new Set(plannedUnits.map((unit) => unit.id));\n\n return {\n outcome: OrphanLabelArtifactsOutcome.REPORTED,\n incompleteness: [],\n orphanFiles: existingFiles\n .filter((file) => !plannedPairs.has(`${file.bucket}/${file.slug}`))\n .map((file) => file.relativePath),\n // Email template rows (#1908) belong to the translate pipeline's email lane, which `planAllUnits()`\n // never plans by design (an email's primary words are authored). Judged against this plan, every\n // translated email would be named an orphan.\n orphanLockUnitIds: [...lockUnitIds].filter((id) => !plannedIds.has(id) && !isEmailTemplateLabellingUnitId(id)).sort(),\n scannedFileCount: existingFiles.length,\n };\n}\n\n/**\n * One operator-facing line summarising a report, for the run log. Names the\n * artifacts rather than counting them: the whole value of a report over a delete\n * is that a human can look at the list and recognise a file that should not be\n * on it.\n */\nexport function describeOrphanLabelArtifacts(report: OrphanLabelArtifactsReport): string {\n if (report.outcome === OrphanLabelArtifactsOutcome.UNAVAILABLE_SCAN_FAILED) {\n return `Stale-unit detection skipped — the i18n state could not be read: ${report.scanFailure ?? 'unknown error'}`;\n }\n if (report.outcome === OrphanLabelArtifactsOutcome.UNAVAILABLE_PARTIAL_PLAN) {\n const reasons = report.incompleteness\n .map((entry) => `${entry.reason} (suppresses: ${entry.suppressedBuckets.join(', ') || 'none'})`)\n .join('; ');\n return `Stale-unit detection skipped — the plan is incomplete, so absence proves nothing: ${reasons}`;\n }\n const total = report.orphanFiles.length + report.orphanLockUnitIds.length;\n if (total === 0) {\n return `No stale label units: all ${report.scannedFileCount} generated file(s) belong to a planned unit`;\n }\n return [\n `${total} stale label artifact(s) from unit(s) no longer planned — NOT removed, review before deleting.`,\n report.orphanFiles.length > 0 ? `Files: ${report.orphanFiles.join(', ')}` : '',\n report.orphanLockUnitIds.length > 0 ? `Lock units: ${report.orphanLockUnitIds.join(', ')}` : '',\n ]\n .filter((part) => part.length > 0)\n .join(' ');\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"per-unit-file.utils.d.ts","sourceRoot":"","sources":["../../../../src/i18n-labelling/utils/per-unit-file.utils.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,GAAG,MAAM,CAElG;AAED,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CASzF;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC,GAAG,OAAO,CAAC,MAAM,CAAC,CAWlB"}
1
+ {"version":3,"file":"per-unit-file.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/per-unit-file.utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,GAAG,MAAM,CAElG;AAED,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CASzF;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC,GAAG,OAAO,CAAC,MAAM,CAAC,CAsBlB"}
@@ -2,6 +2,7 @@ import * as fs from 'node:fs/promises';
2
2
  import * as path from 'node:path';
3
3
  import { buildNestedLabelsFromFlatEntries, flattenNestedStringLabels, formatNestedLabelsTsFile, parseNestedLabelsTsSource, } from './label-file-source.utils.js';
4
4
  import { writeFileAtomic } from '../../core/utils/atomic-write.utils.js';
5
+ import { labelValueCarriesControlCharacter } from './structured-chunk-completion.utils.js';
5
6
  /**
6
7
  * Resolve the on-disk path for a unit's per-locale labels file.
7
8
  * Layout (under `<backendRoot>/src/engine/i18n/`):
@@ -32,6 +33,15 @@ export async function readPerUnitLabels(filePath) {
32
33
  }
33
34
  }
34
35
  export async function writePerUnitLabels(args) {
36
+ // The last door before disk (#1109). The completion loop already refuses and re-requests a
37
+ // value carrying a control character, so a value arriving here is one no generation path
38
+ // produced — a corrupt prior file being carried forward, or a caller that bypassed the loop.
39
+ // A bundle is loaded by the backend and served to every client, so refusing the unit is
40
+ // cheaper than any reader finding the byte.
41
+ const corrupt = Object.entries(args.flatEntries).filter(([, value]) => labelValueCarriesControlCharacter(value)).map(([key]) => key);
42
+ if (corrupt.length > 0) {
43
+ throw new Error(`Refusing to write ${args.filePath}: ${corrupt.length} label value(s) carry a control character (${corrupt.slice(0, 5).join(', ')}${corrupt.length > 5 ? ', …' : ''}). A control byte in a label reaches the UI, the logs and every export of the label tree; regenerate the unit.`);
44
+ }
35
45
  const nested = buildNestedLabelsFromFlatEntries(args.flatEntries);
36
46
  const content = formatNestedLabelsTsFile({
37
47
  localeCode: args.localeCode,
@@ -1 +1 @@
1
- {"version":3,"file":"per-unit-file.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/per-unit-file.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,gCAAgC,EAChC,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAStE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,sBAAsB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAuB;IACxF,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,UAAU,KAAK,CAAC,CAAC;AACxG,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,QAAgB;IACtD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACjD,MAAM,MAAM,GAAG,yBAAyB,CAAC,GAAG,CAAC,CAAC;QAC9C,OAAO,yBAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAAC,OAAO,GAAY,EAAE,CAAC;QACtB,IAAK,GAA6B,EAAE,IAAI,KAAK,QAAQ;YAAE,OAAO,EAAE,CAAC;QACjE,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,IAMxC;IACC,MAAM,MAAM,GAAG,gCAAgC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClE,MAAM,OAAO,GAAG,wBAAwB,CAAC;QACvC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,MAAM,EAAE,MAAM;KACf,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACjE,MAAM,eAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC9C,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import * as fs from 'node:fs/promises';\nimport * as path from 'node:path';\nimport {\n buildNestedLabelsFromFlatEntries,\n flattenNestedStringLabels,\n formatNestedLabelsTsFile,\n parseNestedLabelsTsSource,\n} from './label-file-source.utils';\nimport { writeFileAtomic } from '../../core/utils/atomic-write.utils';\nimport type { LabellingUnit } from '../models/labelling-unit.models';\n\nexport interface PerUnitFilePathArgs {\n i18nRoot: string;\n unit: Pick<LabellingUnit, 'filePathHint'>;\n localeCode: string;\n}\n\n/**\n * Resolve the on-disk path for a unit's per-locale labels file.\n * Layout (under `<backendRoot>/src/engine/i18n/`):\n * - `components/<slug>.<locale>.ts`\n * - `resources/<slug>.<locale>.ts`\n * - `themes/<slug>.<locale>.ts`\n * - `milestones/<slug>.<locale>.ts`\n * - `billing/<slug>.<locale>.ts`\n *\n * These per-unit files are the runtime source of truth — there is no\n * monolithic `labels.<locale>.ts`. The backend's engine i18n barrel\n * walks this tree at module load via\n * {@link scanCustomLabelsDirectory} from `@wildo-ai/saas-backend-lib`.\n */\nexport function resolvePerUnitFilePath({ i18nRoot, unit, localeCode }: PerUnitFilePathArgs): string {\n return path.resolve(i18nRoot, unit.filePathHint.bucket, `${unit.filePathHint.slug}.${localeCode}.ts`);\n}\n\nexport async function readPerUnitLabels(filePath: string): Promise<Record<string, string>> {\n try {\n const raw = await fs.readFile(filePath, 'utf-8');\n const parsed = parseNestedLabelsTsSource(raw);\n return flattenNestedStringLabels(parsed.labels);\n } catch (err: unknown) {\n if ((err as NodeJS.ErrnoException)?.code === 'ENOENT') return {};\n throw err;\n }\n}\n\nexport async function writePerUnitLabels(args: {\n filePath: string;\n localeCode: string;\n localeDisplayName: string;\n isPrimaryLocale: boolean;\n flatEntries: Record<string, string>;\n}): Promise<string> {\n const nested = buildNestedLabelsFromFlatEntries(args.flatEntries);\n const content = formatNestedLabelsTsFile({\n localeCode: args.localeCode,\n localeDisplayName: args.localeDisplayName,\n isPrimaryLocale: args.isPrimaryLocale,\n labels: nested,\n });\n await fs.mkdir(path.dirname(args.filePath), { recursive: true });\n await writeFileAtomic(args.filePath, content);\n return content;\n}\n"]}
1
+ {"version":3,"file":"per-unit-file.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/per-unit-file.utils.ts"],"names":[],"mappings":"AA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,CAAC,iCAAiC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC;IACrI,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CACb,qBAAqB,IAAI,CAAC,QAAQ,KAAK,OAAO,CAAC,MAAM,8CAA8C,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,gHAAgH,CACpR,CAAC;IACJ,CAAC;IACD,MAAM,MAAM,GAAG,gCAAgC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClE,MAAM,OAAO,GAAG,wBAAwB,CAAC;QACvC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,MAAM,EAAE,MAAM;KACf,CAAC,CAAC;IACH,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACjE,MAAM,eAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC9C,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import * as fs from 'node:fs/promises';\nimport * as path from 'node:path';\nimport {\n buildNestedLabelsFromFlatEntries,\n flattenNestedStringLabels,\n formatNestedLabelsTsFile,\n parseNestedLabelsTsSource,\n} from './label-file-source.utils';\nimport { writeFileAtomic } from '../../core/utils/atomic-write.utils';\nimport { labelValueCarriesControlCharacter } from './structured-chunk-completion.utils';\nimport type { LabellingUnit } from '../models/labelling-unit.models';\n\nexport interface PerUnitFilePathArgs {\n i18nRoot: string;\n unit: Pick<LabellingUnit, 'filePathHint'>;\n localeCode: string;\n}\n\n/**\n * Resolve the on-disk path for a unit's per-locale labels file.\n * Layout (under `<backendRoot>/src/engine/i18n/`):\n * - `components/<slug>.<locale>.ts`\n * - `resources/<slug>.<locale>.ts`\n * - `themes/<slug>.<locale>.ts`\n * - `milestones/<slug>.<locale>.ts`\n * - `billing/<slug>.<locale>.ts`\n *\n * These per-unit files are the runtime source of truth — there is no\n * monolithic `labels.<locale>.ts`. The backend's engine i18n barrel\n * walks this tree at module load via\n * {@link scanCustomLabelsDirectory} from `@wildo-ai/saas-backend-lib`.\n */\nexport function resolvePerUnitFilePath({ i18nRoot, unit, localeCode }: PerUnitFilePathArgs): string {\n return path.resolve(i18nRoot, unit.filePathHint.bucket, `${unit.filePathHint.slug}.${localeCode}.ts`);\n}\n\nexport async function readPerUnitLabels(filePath: string): Promise<Record<string, string>> {\n try {\n const raw = await fs.readFile(filePath, 'utf-8');\n const parsed = parseNestedLabelsTsSource(raw);\n return flattenNestedStringLabels(parsed.labels);\n } catch (err: unknown) {\n if ((err as NodeJS.ErrnoException)?.code === 'ENOENT') return {};\n throw err;\n }\n}\n\nexport async function writePerUnitLabels(args: {\n filePath: string;\n localeCode: string;\n localeDisplayName: string;\n isPrimaryLocale: boolean;\n flatEntries: Record<string, string>;\n}): Promise<string> {\n // The last door before disk (#1109). The completion loop already refuses and re-requests a\n // value carrying a control character, so a value arriving here is one no generation path\n // produced — a corrupt prior file being carried forward, or a caller that bypassed the loop.\n // A bundle is loaded by the backend and served to every client, so refusing the unit is\n // cheaper than any reader finding the byte.\n const corrupt = Object.entries(args.flatEntries).filter(([, value]) => labelValueCarriesControlCharacter(value)).map(([key]) => key);\n if (corrupt.length > 0) {\n throw new Error(\n `Refusing to write ${args.filePath}: ${corrupt.length} label value(s) carry a control character (${corrupt.slice(0, 5).join(', ')}${corrupt.length > 5 ? ', …' : ''}). A control byte in a label reaches the UI, the logs and every export of the label tree; regenerate the unit.`,\n );\n }\n const nested = buildNestedLabelsFromFlatEntries(args.flatEntries);\n const content = formatNestedLabelsTsFile({\n localeCode: args.localeCode,\n localeDisplayName: args.localeDisplayName,\n isPrimaryLocale: args.isPrimaryLocale,\n labels: nested,\n });\n await fs.mkdir(path.dirname(args.filePath), { recursive: true });\n await writeFileAtomic(args.filePath, content);\n return content;\n}\n"]}
@@ -0,0 +1,76 @@
1
+ import { type ProviderRuntimeArtifactKind } from '@wildo-ai/platform-config-lib';
2
+ import type { LabelKeyMeta } from '../models/labelling-unit.models';
3
+ /**
4
+ * Vendor display names — `providers.<ref>.displayName` — planned TOTAL over the providers an application declares
5
+ * (#1895).
6
+ *
7
+ * Every surface that names a third-party vendor resolves the name through that key
8
+ * (`buildProviderDisplayNameLabelKey`): the connected-accounts screen, the Security settings identity links, the social
9
+ * sign-in buttons, the billing provider label. Provider modules are deliberately locale-neutral — they carry the KEY,
10
+ * never the word — so the words have to be authored somewhere, and until this family existed nothing planned them: every
11
+ * vendor rendered its raw ref (`google-calendar`) in every locale. That was the "missing label looks missing" behaviour
12
+ * `display-text-comes-from-i18n.md` asks for; the gap was that nothing ever authored the words.
13
+ *
14
+ * ## Where the population comes from
15
+ *
16
+ * The per-runtime-kind provider artifacts `wildo config sync` writes under `.wildo-saas/generated/providers/`
17
+ * ({@link PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS}). Their `providerRefs` are the providers the application declares,
18
+ * already resolved per runtime scope, and the union over every kind is the set of vendors any of the application's
19
+ * processes may name — the backend's connected accounts, the frontend's social sign-in, a minion's integration.
20
+ * Reading the union rather than one scope matters: a vendor declared only for a frontend service (an analytics or
21
+ * captcha provider) is still a name the application may show.
22
+ *
23
+ * Derived rather than hand-listed, and total over what is declared, so a provider declared tomorrow is planned by
24
+ * construction and a withdrawn one stops being planned (`derive-before-you-ask.md`). A connection's BASE ref, which the
25
+ * connected-accounts screen keys the name on, is always itself a declared ref, so it is covered by the same union.
26
+ *
27
+ * ## What this does NOT do
28
+ *
29
+ * It never derives a WORD from the ref. The ref reaches the generator as intent (which vendor this is), and the
30
+ * generator writes the vendor's own product name — the thing a humanizing fallback would get wrong (`immudb`,
31
+ * `posthog`, `email-preview`). A key nobody generated still renders its raw ref.
32
+ */
33
+ /** The labelling bucket (and file-path bucket) the vendor-name unit writes to — the first segment of every key. */
34
+ export declare const PROVIDERS_LABEL_BUCKET: string;
35
+ /** One artifact that exists on disk but could not be read as a provider artifact. */
36
+ export interface UnreadableProviderRuntimeArtifact {
37
+ kind: ProviderRuntimeArtifactKind;
38
+ path: string;
39
+ detail: string;
40
+ }
41
+ /** Result of reading the application's declared provider population. */
42
+ export interface DeclaredProviderRefsReading {
43
+ /** Sorted, de-duplicated union of `providerRefs` over every readable artifact. */
44
+ refs: string[];
45
+ /**
46
+ * Artifacts present but unreadable. A non-empty list means the population is INCOMPLETE: a vendor declared only in
47
+ * the unreadable scope would be missing, and an orphan report must not condemn its existing words.
48
+ */
49
+ unreadable: UnreadableProviderRuntimeArtifact[];
50
+ }
51
+ /** File-system seam, so the reader is testable without a real application tree. */
52
+ export interface ProviderArtifactFileSystem {
53
+ exists(path: string): boolean;
54
+ read(path: string): string;
55
+ }
56
+ /**
57
+ * Read the union of declared provider refs from every per-runtime-kind artifact of the application at `saasRoot`.
58
+ *
59
+ * An ABSENT artifact is not a degradation: `wildo config sync` writes one only for the runtime kinds the application
60
+ * has (Wonder CRM has no node workers, so it has no `node-workers` artifact). A PRESENT artifact that does not parse is,
61
+ * and is reported so the caller can mark the family incomplete.
62
+ */
63
+ export declare function readDeclaredProviderRefs(saasRoot: string, fileSystem?: ProviderArtifactFileSystem): DeclaredProviderRefsReading;
64
+ /** The planned keys of the vendor-name family, with the per-key generation intent. */
65
+ export interface ProviderDisplayNameKeyPlan {
66
+ keys: string[];
67
+ keyMeta: Record<string, LabelKeyMeta>;
68
+ }
69
+ /**
70
+ * `providers.<ref>.displayName` for every declared ref, each carrying the ref as INTENT, never as the word.
71
+ *
72
+ * The purpose tells the generator the thing a ref cannot: that the label is a vendor's own product name, which users
73
+ * recognise by its official spelling and which is normally not translated.
74
+ */
75
+ export declare function planProviderDisplayNameKeys(refs: readonly string[]): ProviderDisplayNameKeyPlan;
76
+ //# sourceMappingURL=provider-display-name-keys.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-display-name-keys.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/provider-display-name-keys.utils.ts"],"names":[],"mappings":"AAKA,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,mHAAmH;AACnH,eAAO,MAAM,sBAAsB,QAAuD,CAAC;AAa3F,qFAAqF;AACrF,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,2BAA2B,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wEAAwE;AACxE,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf;;;OAGG;IACH,UAAU,EAAE,iCAAiC,EAAE,CAAC;CACjD;AAED,mFAAmF;AACnF,MAAM,WAAW,0BAA0B;IACzC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAOD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,UAAU,GAAE,0BAA6C,GACxD,2BAA2B,CAkB7B;AAED,sFAAsF;AACtF,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CACvC;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,0BAA0B,CAsB/F"}
@@ -0,0 +1,110 @@
1
+ import { existsSync, readFileSync } from 'node:fs';
2
+ import { join } from 'node:path';
3
+ import { z } from 'zod';
4
+ import { LabelAudience, LabelKind } from '@wildo-ai/presets-components-models';
5
+ import { buildProviderDisplayNameLabelKey } from '@wildo-ai/saas-models';
6
+ import { PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, SaasRuntimeProvidersArtifactSchema, } from '@wildo-ai/platform-config-lib';
7
+ /**
8
+ * Vendor display names — `providers.<ref>.displayName` — planned TOTAL over the providers an application declares
9
+ * (#1895).
10
+ *
11
+ * Every surface that names a third-party vendor resolves the name through that key
12
+ * (`buildProviderDisplayNameLabelKey`): the connected-accounts screen, the Security settings identity links, the social
13
+ * sign-in buttons, the billing provider label. Provider modules are deliberately locale-neutral — they carry the KEY,
14
+ * never the word — so the words have to be authored somewhere, and until this family existed nothing planned them: every
15
+ * vendor rendered its raw ref (`google-calendar`) in every locale. That was the "missing label looks missing" behaviour
16
+ * `display-text-comes-from-i18n.md` asks for; the gap was that nothing ever authored the words.
17
+ *
18
+ * ## Where the population comes from
19
+ *
20
+ * The per-runtime-kind provider artifacts `wildo config sync` writes under `.wildo-saas/generated/providers/`
21
+ * ({@link PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS}). Their `providerRefs` are the providers the application declares,
22
+ * already resolved per runtime scope, and the union over every kind is the set of vendors any of the application's
23
+ * processes may name — the backend's connected accounts, the frontend's social sign-in, a minion's integration.
24
+ * Reading the union rather than one scope matters: a vendor declared only for a frontend service (an analytics or
25
+ * captcha provider) is still a name the application may show.
26
+ *
27
+ * Derived rather than hand-listed, and total over what is declared, so a provider declared tomorrow is planned by
28
+ * construction and a withdrawn one stops being planned (`derive-before-you-ask.md`). A connection's BASE ref, which the
29
+ * connected-accounts screen keys the name on, is always itself a declared ref, so it is covered by the same union.
30
+ *
31
+ * ## What this does NOT do
32
+ *
33
+ * It never derives a WORD from the ref. The ref reaches the generator as intent (which vendor this is), and the
34
+ * generator writes the vendor's own product name — the thing a humanizing fallback would get wrong (`immudb`,
35
+ * `posthog`, `email-preview`). A key nobody generated still renders its raw ref.
36
+ */
37
+ /** The labelling bucket (and file-path bucket) the vendor-name unit writes to — the first segment of every key. */
38
+ export const PROVIDERS_LABEL_BUCKET = buildProviderDisplayNameLabelKey('_').split('.')[0];
39
+ /**
40
+ * Only the field this family reads, taken from the artifact's own schema so the two cannot disagree about its shape.
41
+ *
42
+ * Loose on purpose: the rest of the artifact (imports, digests, augmentations, scopes) is irrelevant to which vendors
43
+ * exist, and a strict parse would let an unrelated artifact-schema change — a field added by a newer `wildo config sync`
44
+ * — withhold every vendor name. The field itself is still validated exactly as the artifact declares it.
45
+ */
46
+ const ProviderRefsOnlySchema = z.looseObject({
47
+ providerRefs: SaasRuntimeProvidersArtifactSchema.shape.providerRefs,
48
+ });
49
+ const NODE_FILE_SYSTEM = {
50
+ exists: (path) => existsSync(path),
51
+ read: (path) => readFileSync(path, 'utf8'),
52
+ };
53
+ /**
54
+ * Read the union of declared provider refs from every per-runtime-kind artifact of the application at `saasRoot`.
55
+ *
56
+ * An ABSENT artifact is not a degradation: `wildo config sync` writes one only for the runtime kinds the application
57
+ * has (Wonder CRM has no node workers, so it has no `node-workers` artifact). A PRESENT artifact that does not parse is,
58
+ * and is reported so the caller can mark the family incomplete.
59
+ */
60
+ export function readDeclaredProviderRefs(saasRoot, fileSystem = NODE_FILE_SYSTEM) {
61
+ const refs = new Set();
62
+ const unreadable = [];
63
+ for (const [kind, relativePath] of Object.entries(PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS)) {
64
+ const path = join(saasRoot, relativePath);
65
+ if (!fileSystem.exists(path))
66
+ continue;
67
+ try {
68
+ const parsed = ProviderRefsOnlySchema.safeParse(JSON.parse(fileSystem.read(path)));
69
+ if (!parsed.success) {
70
+ unreadable.push({ kind, path, detail: parsed.error.message });
71
+ continue;
72
+ }
73
+ for (const ref of parsed.data.providerRefs)
74
+ refs.add(ref);
75
+ }
76
+ catch (error) {
77
+ unreadable.push({ kind, path, detail: error instanceof Error ? error.message : String(error) });
78
+ }
79
+ }
80
+ return { refs: [...refs].sort(), unreadable };
81
+ }
82
+ /**
83
+ * `providers.<ref>.displayName` for every declared ref, each carrying the ref as INTENT, never as the word.
84
+ *
85
+ * The purpose tells the generator the thing a ref cannot: that the label is a vendor's own product name, which users
86
+ * recognise by its official spelling and which is normally not translated.
87
+ */
88
+ export function planProviderDisplayNameKeys(refs) {
89
+ const keys = [];
90
+ const keyMeta = {};
91
+ for (const ref of [...new Set(refs)].sort()) {
92
+ const key = buildProviderDisplayNameLabelKey(ref);
93
+ keys.push(key);
94
+ keyMeta[key] = {
95
+ kind: LabelKind.LABEL,
96
+ audience: LabelAudience.END_USER,
97
+ purpose: `The name of the third-party service this application integrates with under the identifier "${ref}", written as ` +
98
+ 'that service\'s own users know it — its official product or brand name, shown on the screens where a person ' +
99
+ 'connects an account, signs in with it, or sees which service a feature uses. The identifier is a technical ' +
100
+ 'reference, not the name: write the name the vendor itself uses.',
101
+ notes: [
102
+ 'A brand name: keep the vendor\'s official spelling and capitalization.',
103
+ 'Do not translate it unless the vendor itself publishes a localized name in that language.',
104
+ 'The name only: no description, no "account" or "integration" suffix.',
105
+ ],
106
+ };
107
+ }
108
+ return { keys, keyMeta };
109
+ }
110
+ //# sourceMappingURL=provider-display-name-keys.utils.js.map