@wildo-ai/dev-companion 1.1.5 → 1.1.7

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 (1246) 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__/asset-noop.js.map +1 -1
  4. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  5. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +1 -1
  6. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  7. package/dist/esm/__tests__/internal-test-view.js.map +1 -1
  8. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  10. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +0 -1
  12. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  13. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +0 -1
  15. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  16. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  17. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  18. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +8 -0
  19. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  20. package/dist/esm/brand/services/brand-accept.companion.service.js +6 -0
  21. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  22. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts +21 -0
  23. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -0
  24. package/dist/esm/brand/services/brand-propagation.companion.utils.js +33 -0
  25. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -0
  26. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  27. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  28. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  29. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  30. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  31. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  32. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  33. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  34. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  35. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  36. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +69 -1
  37. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  38. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +84 -3
  39. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  41. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +8 -4
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  44. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +9 -5
  45. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  46. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  47. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  49. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +1 -1
  50. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  51. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +4 -0
  52. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
  53. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +25 -3
  54. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
  55. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +159 -11
  56. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  57. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +424 -41
  58. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +333 -60
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  61. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +1029 -185
  62. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  63. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +8 -2
  64. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  65. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +8 -2
  66. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  67. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  69. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts +20 -0
  70. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -0
  71. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +29 -0
  72. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -0
  73. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +11 -0
  74. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  75. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +60 -7
  76. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  77. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +5 -4
  78. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  79. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +13 -4
  80. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  81. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  82. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  83. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  84. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  85. package/dist/esm/companion-api/companion-api.schemas.d.ts +193 -2
  86. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  87. package/dist/esm/companion-api/companion-api.schemas.js +20 -1
  88. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  89. package/dist/esm/companion-api/companion-error-guidance.models.d.ts +25 -0
  90. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -0
  91. package/dist/esm/companion-api/companion-error-guidance.models.js +26 -0
  92. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -0
  93. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts +44 -0
  94. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -0
  95. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js +111 -0
  96. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -0
  97. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  98. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  99. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +6 -14
  100. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  101. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +6 -14
  102. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  103. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts +12 -0
  104. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -0
  105. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js +20 -0
  106. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -0
  107. package/dist/esm/companion-api/controllers/companion.controller.d.ts +104 -14
  108. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  109. package/dist/esm/companion-api/controllers/companion.controller.js +516 -122
  110. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  111. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  112. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  113. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  114. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  115. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  116. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.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/faq-page-catalog-context.factory.js.map +1 -1
  129. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  130. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  131. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  132. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  133. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  134. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  135. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  136. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  137. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  138. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  139. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  140. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  141. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  142. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  143. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  144. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  145. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  146. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +6 -38
  147. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  148. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  149. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  150. package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
  151. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  152. package/dist/esm/core/config/primary-language.companion.utils.js +19 -0
  153. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  154. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  155. package/dist/esm/core/context/companion-context.js.map +1 -1
  156. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  157. package/dist/esm/core/context/companion-package-loaders.companion.js +1 -39
  158. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  159. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  160. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  161. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  162. package/dist/esm/core/inject/models/container.js +4 -0
  163. package/dist/esm/core/inject/models/container.js.map +1 -1
  164. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  165. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  166. package/dist/esm/core/inject/models/service-types.js +4 -0
  167. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  168. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  169. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +16 -0
  170. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  171. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +1 -1
  172. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/models/companion-introspection.models.js +6 -0
  174. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  175. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts +41 -0
  176. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -0
  177. package/dist/esm/core/introspection/resources/application-secrets.companion.js +155 -0
  178. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -0
  179. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +76 -0
  180. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -0
  181. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +197 -0
  182. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -0
  183. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +47 -0
  184. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -0
  185. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +199 -0
  186. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -0
  187. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  188. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  189. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +42 -0
  190. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  191. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +173 -22
  192. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  193. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +78 -90
  194. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  195. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +288 -25
  196. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +22 -36
  198. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +49 -13
  200. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  201. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts +1 -1
  202. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  203. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +10 -15
  204. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  205. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  207. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  208. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  209. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  210. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  211. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  212. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  213. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  214. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  215. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  217. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +2 -0
  220. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts +4 -0
  225. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +77 -9
  235. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +45 -3
  241. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +8 -1
  243. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  251. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  252. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +3 -2
  253. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +8 -3
  255. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  256. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  257. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  258. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  259. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  260. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +30 -1
  261. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  262. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +128 -20
  263. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  264. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  265. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  266. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +13 -0
  267. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  268. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +21 -17
  269. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  270. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  271. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  272. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  273. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  274. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  275. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  276. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  277. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  278. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  279. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  280. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  281. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  282. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  283. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  284. package/dist/esm/core/runtime/companion-endpoint-record.d.ts +8 -0
  285. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -0
  286. package/dist/esm/core/runtime/companion-endpoint-record.js +23 -0
  287. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -0
  288. package/dist/esm/core/runtime/companion-env-file.d.ts +30 -0
  289. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -0
  290. package/dist/esm/core/runtime/companion-env-file.js +53 -0
  291. package/dist/esm/core/runtime/companion-env-file.js.map +1 -0
  292. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  293. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  294. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +5 -0
  295. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  296. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +11 -0
  297. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  298. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts +56 -0
  299. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -0
  300. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js +97 -0
  301. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -0
  302. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  303. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  304. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  305. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  306. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +43 -3
  307. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  308. package/dist/esm/core/runtime/services/start-companion-application.service.js +127 -22
  309. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  310. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  311. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  312. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +11 -1
  313. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  314. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +42 -19
  315. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  316. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  317. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  318. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  319. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  320. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  322. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  324. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  326. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  328. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  330. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  332. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  334. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  336. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  338. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  340. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  342. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  344. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  346. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  348. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/resource-specification-context.factory.js +10 -1
  350. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  351. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  353. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  355. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  357. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  359. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  361. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  363. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  365. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  367. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.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-all-information.template.js.map +1 -1
  371. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  415. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  417. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  418. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  419. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  420. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  421. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  422. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  423. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  424. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  425. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  426. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  427. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  428. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  429. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  430. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  431. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  432. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  433. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  434. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  435. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  436. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  437. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  438. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  439. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  440. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  441. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  442. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  443. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  444. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  445. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  446. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  447. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  448. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  449. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  450. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  451. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  452. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  453. package/dist/esm/core/traceability/companion-traceability.models.d.ts +1 -7
  454. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  455. package/dist/esm/core/traceability/companion-traceability.models.js +3 -5
  456. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  457. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  458. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  459. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  460. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  461. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  462. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  463. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  464. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +15 -14
  465. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  466. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +0 -23
  467. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  468. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +251 -50
  469. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  470. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  471. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +0 -2
  472. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  473. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  474. package/dist/esm/deliberations/services/deliberation.companion.service.js +3 -2
  475. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  476. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  477. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  478. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  479. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  480. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  481. package/dist/esm/email/models/email-template.actors-system.definitions.js +0 -1
  482. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  483. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  484. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  485. package/dist/esm/email/services/email-template.companion.service.d.ts +5 -3
  486. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  487. package/dist/esm/email/services/email-template.companion.service.js +53 -255
  488. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  489. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts +12 -0
  490. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  491. package/dist/esm/email/utils/email-labels-file-source.utils.js +62 -3
  492. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  493. package/dist/esm/email/utils/email-labels-tree.utils.d.ts +52 -0
  494. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -0
  495. package/dist/esm/email/utils/email-labels-tree.utils.js +261 -0
  496. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -0
  497. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  498. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  499. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +2 -0
  500. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  501. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +21 -1
  502. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  503. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +18 -1
  504. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  505. package/dist/esm/executions/services/companion-executions.companion.service.js +187 -46
  506. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  507. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  508. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +0 -1
  509. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  510. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  511. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +0 -1
  512. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  513. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  514. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  515. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  516. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +10 -0
  517. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  518. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  519. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  520. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +1 -8
  531. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  532. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +2 -9
  533. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  534. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  536. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  538. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  540. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  542. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  544. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -0
  545. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  546. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +3 -1
  547. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  548. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  550. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts +32 -0
  551. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -0
  552. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js +32 -0
  553. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -0
  554. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +0 -1
  555. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  556. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +0 -1
  557. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  558. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +0 -7
  559. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  560. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +0 -7
  561. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  562. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +30 -4
  563. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  564. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +31 -5
  565. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  566. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  568. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  570. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  572. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  574. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +0 -2
  575. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  576. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +0 -2
  577. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  578. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +4 -0
  579. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  580. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +5 -1
  581. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  582. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  584. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +1 -15
  585. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  586. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +1 -15
  587. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  588. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  590. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  592. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  594. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +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.map +1 -1
  598. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  600. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +0 -3
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +0 -3
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +49 -16
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +49 -16
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +0 -5
  653. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +0 -5
  655. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +3 -0
  665. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +4 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +7 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +8 -2
  673. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +1 -0
  677. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +2 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +1 -0
  709. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +2 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts +12 -0
  725. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -0
  726. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js +12 -0
  727. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -0
  728. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  730. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  732. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  734. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  736. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  738. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  740. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  742. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  744. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  746. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  748. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +1 -0
  749. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  750. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +2 -1
  751. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  752. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +10 -0
  753. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  754. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +11 -1
  755. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  756. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  758. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  760. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +8 -0
  761. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  762. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +9 -1
  763. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  764. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  766. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +3 -0
  767. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  768. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +4 -1
  769. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  770. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  772. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  774. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  776. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  778. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  780. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  782. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  784. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  786. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  788. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  790. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  792. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  794. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  796. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  798. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  800. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  801. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  802. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  803. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  804. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  806. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  807. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  808. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  809. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  810. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  811. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  812. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  814. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  815. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  816. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  817. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  818. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  820. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  821. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  822. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  823. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  824. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  825. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  826. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  828. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  829. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  830. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  831. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  832. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  833. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  834. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  835. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  836. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  837. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  838. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  839. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  840. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  841. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  842. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +2 -1
  843. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  844. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +3 -2
  845. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  846. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +6 -0
  847. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  848. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +7 -1
  849. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  850. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +1 -0
  851. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +2 -1
  853. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  854. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  855. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  856. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  857. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  858. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  859. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  860. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  861. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  862. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  863. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  864. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  865. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  866. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  867. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  868. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  869. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  870. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  871. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  872. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  873. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  874. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  875. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  876. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  877. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  878. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  880. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  882. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  883. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  884. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +0 -2
  885. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +0 -2
  887. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  888. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  889. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  890. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +123 -19
  891. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  892. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  893. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +12 -0
  894. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  895. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  896. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  897. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts +25 -0
  898. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -0
  899. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js +26 -0
  900. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -0
  901. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +26 -3
  902. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  903. package/dist/esm/i18n/errors_messages/errors-messages.en.js +25 -3
  904. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  905. package/dist/esm/i18n/index.d.ts +10 -8
  906. package/dist/esm/i18n/index.d.ts.map +1 -1
  907. package/dist/esm/i18n/index.js +10 -8
  908. package/dist/esm/i18n/index.js.map +1 -1
  909. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +10 -0
  910. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  911. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +2 -0
  912. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  913. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  914. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  915. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  916. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  917. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts +97 -0
  918. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -0
  919. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js +60 -0
  920. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -0
  921. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  922. package/dist/esm/i18n/resources/workbenchAspects.en.js +6 -0
  923. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  924. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  925. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  926. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +5 -0
  927. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  928. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +1 -0
  929. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  930. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  931. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  932. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +24 -0
  933. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  934. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +8 -0
  935. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  936. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  937. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  938. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  939. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  940. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  941. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  942. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +30 -0
  943. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  944. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +9 -0
  945. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  946. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +17 -4
  947. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  948. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +32 -4
  949. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  950. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  951. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  952. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +8 -2
  953. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  954. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +6 -2
  955. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  956. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +18 -7
  957. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  958. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +17 -7
  959. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  960. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +28 -3
  961. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  962. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +13 -3
  963. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  964. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +3 -2
  965. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  966. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +8 -2
  967. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  968. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +118 -8
  969. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  970. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +42 -16
  971. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  972. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  973. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  974. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +12 -2
  975. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  976. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +16 -2
  977. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  978. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +10 -0
  979. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  980. package/dist/esm/i18n/system_enums/application-creation.en.js +11 -0
  981. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  982. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  983. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  984. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  985. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  986. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  987. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  988. package/dist/esm/i18n/system_enums/processor-register.en.d.ts +6 -0
  989. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  990. package/dist/esm/i18n/system_enums/processor-register.en.js +6 -0
  991. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  992. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  993. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  994. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  995. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  996. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  997. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  998. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +4 -1
  999. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  1000. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +5 -1
  1001. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  1002. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  1003. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  1004. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +46 -0
  1005. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -0
  1006. package/dist/esm/i18n/system_enums/workbench-secrets.en.js +46 -0
  1007. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -0
  1008. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +8 -0
  1009. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  1010. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +13 -0
  1011. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  1012. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +61 -0
  1013. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -0
  1014. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +22 -0
  1015. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -0
  1016. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +105 -24
  1017. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  1018. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +55 -24
  1019. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  1020. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  1021. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +0 -2
  1022. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  1023. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  1024. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  1025. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts +48 -0
  1026. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -0
  1027. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +145 -0
  1028. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -0
  1029. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +70 -18
  1030. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  1031. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +330 -113
  1032. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  1033. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +45 -0
  1034. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  1035. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +208 -6
  1036. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  1037. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +11 -2
  1038. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +101 -18
  1040. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  1041. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +64 -1
  1042. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  1043. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +393 -70
  1044. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  1045. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  1046. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  1047. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +9 -5
  1048. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  1049. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  1050. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts +54 -0
  1051. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -0
  1052. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +74 -0
  1053. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -0
  1054. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +3 -3
  1055. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  1056. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  1057. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  1058. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  1059. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts +24 -0
  1060. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -0
  1061. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js +34 -0
  1062. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -0
  1063. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  1064. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  1065. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  1066. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  1067. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  1068. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +5 -1
  1069. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  1070. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  1071. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  1072. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts +76 -0
  1073. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -0
  1074. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js +110 -0
  1075. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -0
  1076. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts +17 -0
  1077. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -0
  1078. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js +23 -0
  1079. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -0
  1080. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  1081. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  1082. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +36 -3
  1083. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  1084. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +77 -5
  1085. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  1086. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  1087. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  1088. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts +38 -0
  1089. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -0
  1090. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js +66 -0
  1091. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -0
  1092. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  1093. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  1094. package/dist/esm/index.d.ts.map +1 -1
  1095. package/dist/esm/index.js +9 -3
  1096. package/dist/esm/index.js.map +1 -1
  1097. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  1098. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  1099. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  1100. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +0 -1
  1101. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  1102. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  1103. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +1 -3
  1104. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  1105. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts +11 -0
  1106. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -0
  1107. package/dist/esm/meta-workflows/models/application-line-catalog.models.js +17 -0
  1108. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -0
  1109. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  1110. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +0 -1
  1111. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  1112. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +1 -1
  1114. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  1115. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1117. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1118. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1119. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +14 -0
  1120. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1121. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +18 -0
  1122. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1123. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts +14 -0
  1124. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -0
  1125. package/dist/esm/meta-workflows/models/human-decision-settler.models.js +18 -0
  1126. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -0
  1127. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +31 -23
  1128. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1129. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +36 -5
  1130. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1131. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1132. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +1 -3
  1133. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1134. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +19 -0
  1135. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1136. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +38 -6
  1137. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1138. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +48 -3
  1139. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1140. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +61 -8
  1141. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1142. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1143. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1144. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  1145. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
  1146. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +15 -1
  1147. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
  1148. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +50 -5
  1149. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
  1150. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +52 -9
  1151. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1152. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +131 -59
  1153. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1154. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts +19 -0
  1155. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -0
  1156. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js +36 -0
  1157. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -0
  1158. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +9 -0
  1159. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1160. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +41 -17
  1161. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1162. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +42 -2
  1163. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1164. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +121 -4
  1165. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1166. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +32 -0
  1167. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -0
  1168. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +161 -0
  1169. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -0
  1170. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1171. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1172. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +2 -0
  1173. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1174. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +1 -0
  1175. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1176. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +3 -2
  1177. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1178. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +12 -3
  1179. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1180. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -1
  1181. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1182. package/dist/esm/meta-workflows/services/dossier.companion.service.js +227 -30
  1183. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1184. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1185. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1186. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1187. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1188. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1189. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1190. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +29 -2
  1191. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1192. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +68 -5
  1193. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1194. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts +40 -0
  1195. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -0
  1196. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js +91 -0
  1197. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -0
  1198. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts +25 -0
  1199. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -0
  1200. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js +40 -0
  1201. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -0
  1202. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1203. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1204. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1205. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1206. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +90 -0
  1207. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -0
  1208. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +307 -0
  1209. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -0
  1210. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +29 -0
  1211. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1212. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +44 -4
  1213. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1214. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +360 -47
  1215. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1216. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +1424 -246
  1217. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1218. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1219. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1220. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1221. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1222. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1223. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1224. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1225. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1226. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1227. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1228. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1229. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1230. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1231. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1232. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1233. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1234. package/package.json +17 -17
  1235. package/dist/esm/__time-gov.probe.d.mts +0 -0
  1236. package/dist/esm/__time-gov.probe.d.mts.map +0 -0
  1237. package/dist/esm/__time-gov.probe.mjs.map +0 -0
  1238. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
  1239. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
  1240. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
  1241. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -0
  1242. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -0
  1243. package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -0
  1244. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
  1245. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
  1246. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
@@ -1,4 +1,4 @@
1
- import type { AppConfigurationService, LoggerService, WebSocketService } from '@wildo-ai/saas-backend-lib';
1
+ import type { ApplicationIdentityBackendService, LoggerService, WebSocketService } from '@wildo-ai/saas-backend-lib';
2
2
  import type { IntrospectionSourceWatcherCompanionService } from '../services/introspection-source-watcher.companion.service';
3
3
  import type { IntrospectionResourceSourceCompanionService } from './introspection-resource-source.companion.service';
4
4
  import type { CreationPlaneBoardChange, CreationPlaneProjectionCompanionService } from './creation-plane-projection.companion.service';
@@ -13,45 +13,12 @@ interface ProjectedRowDiff {
13
13
  readonly updated: readonly Record<string, unknown>[];
14
14
  readonly deletedIds: readonly string[];
15
15
  }
16
- /**
17
- * Publishes an introspection recompilation — and, since #1310, a creation-plane board that moved —
18
- * to the frontends watching it.
19
- *
20
- * ## What this joins, rather than builds
21
- *
22
- * Every part of the delivery already existed and none of it was reachable from here:
23
- *
24
- * - the companion MOUNTS the engine WebSocket server (`skipWebSocket: false`), and before this
25
- * change held no reference to `WebSocketService` at all — it served a frontend and emitted nothing;
26
- * - `sendResourceData` builds a sync-grade payload and validates the row against the resource's own
27
- * canonical READ DTO before it leaves the process;
28
- * - `RMMWebSocketBridge` receives that payload, re-validates it, diffs it FIELD BY FIELD against
29
- * what the client holds, and applies the result with no refetch.
30
- *
31
- * So a changed row travels from a `tsc` emit to a repainted field without anybody asking for it, and
32
- * the only new code is the diff below.
33
- *
34
- * ## Why the diff is computed here rather than pushed wholesale
35
- *
36
- * A recompilation of a 93-row derivation in which one row moved must not repaint 93 rows. The rows
37
- * are keyed by the identity the binding already composes — the same value a READ addresses — so the
38
- * three sets fall out of a map comparison, and a derivation that recompiled to a byte-identical
39
- * payload never reaches this service at all (the state service reports it as unchanged).
40
- *
41
- * ## The `version` is the derivation's generation, and that is load-bearing
42
- *
43
- * `sendResourceData` refuses a non-DELETED sync payload with no version, and
44
- * `ResourceMutationManager` DROPS any update whose version is not strictly greater than the one it
45
- * holds. Introspection rows carry no `_version`, so the generation is supplied explicitly — and it
46
- * is wall-clock-derived precisely so that a companion restart cannot hand an open browser tab a
47
- * lower number than it already has, which would silently freeze that tab forever.
48
- */
49
16
  export declare class IntrospectionResourceNotifierCompanionService {
50
17
  private readonly logger;
51
18
  private readonly websocketService;
52
19
  private readonly watcher;
53
20
  private readonly resourceSource;
54
- private readonly appConfigService;
21
+ private readonly applicationIdentity;
55
22
  private readonly creationPlane;
56
23
  private readonly logDebug;
57
24
  private unsubscribe;
@@ -63,12 +30,31 @@ export declare class IntrospectionResourceNotifierCompanionService {
63
30
  * companion restart cannot move backwards under an open tab.
64
31
  */
65
32
  private lastCreationPlaneGeneration;
66
- constructor(logger: LoggerService, websocketService: WebSocketService, watcher: IntrospectionSourceWatcherCompanionService, resourceSource: IntrospectionResourceSourceCompanionService, appConfigService: AppConfigurationService, creationPlane: CreationPlaneProjectionCompanionService);
33
+ /** Whether the missing-identity warning has been given — once per process (see {@link applicationRoomId}). */
34
+ private warnedIdentityMissing;
35
+ /** When the last heal attempt was fired, so a missing identity is re-asked at most every {@link IDENTITY_HEAL_RETRY_MS}. */
36
+ private lastIdentityHealAttemptAt;
37
+ constructor(logger: LoggerService, websocketService: WebSocketService, watcher: IntrospectionSourceWatcherCompanionService, resourceSource: IntrospectionResourceSourceCompanionService, applicationIdentity: ApplicationIdentityBackendService, creationPlane: CreationPlaneProjectionCompanionService);
67
38
  /** Begin publishing recompilations AND creation-plane board changes. Idempotent. */
68
39
  start(): void;
69
40
  stop(): void;
70
41
  /** Publish every resource that projects the behavior this outcome recompiled. */
71
42
  private publishOutcome;
43
+ /**
44
+ * The id the APPLICATION collection room is named by, or `undefined` while the canonical identity is
45
+ * not yet settled.
46
+ *
47
+ * The companion's startup primes it before this notifier starts (`primeApplicationIdentity`), so a
48
+ * miss AFTER `start()` means priming failed and every board is going unpublished. That is never
49
+ * silent: the first such miss warns once, and misses fire an async resolution at most every
50
+ * {@link IDENTITY_HEAL_RETRY_MS}, which settles the identity for every later call once the record is
51
+ * readable. It was silent once, and the fix for #1767
52
+ * then worked only because a model call happened to settle the identity first.
53
+ *
54
+ * The synchronous door throws before priming rather than falling back to the platform id, and that
55
+ * refusal is kept: a fallback would bring back exactly the wrong room this reads around.
56
+ */
57
+ private applicationRoomId;
72
58
  /**
73
59
  * Whether a publication for this creation-plane behavior would reach any socket.
74
60
  *
@@ -1 +1 @@
1
- {"version":3,"file":"introspection-resource-notifier.companion.service.d.ts","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/introspection-resource-notifier.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IAKnB,iFAAiF;IACjF,OAAO,CAAC,cAAc;IAgCtB;;;;;;;;;;;;;;;;OAgBG;IACI,8BAA8B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAUhE;;;;;;;;;;;;OAYG;IACI,0BAA0B,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAuBzE;;;;;;;;OAQG;IACH,OAAO,CAAC,WAAW;IAqCnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,OAAO,CAAC,qBAAqB;IA8D7B,OAAO,CAAC,OAAO;CAyBhB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC1C,KAAK,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACzC,aAAa,EAAE,MAAM,GACpB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAapC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC1C,KAAK,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACzC,aAAa,EAAE,MAAM,EACrB,aAAa,GAAE,SAAS,MAAM,EAAO,GACpC,gBAAgB,CAoClB"}
1
+ {"version":3,"file":"introspection-resource-notifier.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/introspection-resource-notifier.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iCAAiC,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAarH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,4DAA4D,CAAC;AAC7H,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,mDAAmD,CAAC;AACrH,OAAO,KAAK,EACV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;OAYG;IACI,0BAA0B,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAuBzE;;;;;;;;OAQG;IACH,OAAO,CAAC,WAAW;IAqCnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,OAAO,CAAC,qBAAqB;IA0D7B,OAAO,CAAC,OAAO;CAyBhB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC1C,KAAK,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACzC,aAAa,EAAE,MAAM,GACpB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAapC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC1C,KAAK,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACzC,aAAa,EAAE,MAAM,EACrB,aAAa,GAAE,SAAS,MAAM,EAAO,GACpC,gBAAgB,CAoClB"}
@@ -47,12 +47,14 @@ import { COMPANION_SERVICE_TYPES } from '../../inject/models/service-types.js';
47
47
  * is wall-clock-derived precisely so that a companion restart cannot hand an open browser tab a
48
48
  * lower number than it already has, which would silently freeze that tab forever.
49
49
  */
50
+ /** How often a missing application identity is re-resolved while boards go unpublished (see `applicationRoomId`). */
51
+ const IDENTITY_HEAL_RETRY_MS = 30_000;
50
52
  let IntrospectionResourceNotifierCompanionService = class IntrospectionResourceNotifierCompanionService {
51
53
  logger;
52
54
  websocketService;
53
55
  watcher;
54
56
  resourceSource;
55
- appConfigService;
57
+ applicationIdentity;
56
58
  creationPlane;
57
59
  logDebug;
58
60
  unsubscribe;
@@ -64,12 +66,16 @@ let IntrospectionResourceNotifierCompanionService = class IntrospectionResourceN
64
66
  * companion restart cannot move backwards under an open tab.
65
67
  */
66
68
  lastCreationPlaneGeneration = 0;
67
- constructor(logger, websocketService, watcher, resourceSource, appConfigService, creationPlane) {
69
+ /** Whether the missing-identity warning has been given — once per process (see {@link applicationRoomId}). */
70
+ warnedIdentityMissing = false;
71
+ /** When the last heal attempt was fired, so a missing identity is re-asked at most every {@link IDENTITY_HEAL_RETRY_MS}. */
72
+ lastIdentityHealAttemptAt = Number.NEGATIVE_INFINITY;
73
+ constructor(logger, websocketService, watcher, resourceSource, applicationIdentity, creationPlane) {
68
74
  this.logger = logger;
69
75
  this.websocketService = websocketService;
70
76
  this.watcher = watcher;
71
77
  this.resourceSource = resourceSource;
72
- this.appConfigService = appConfigService;
78
+ this.applicationIdentity = applicationIdentity;
73
79
  this.creationPlane = creationPlane;
74
80
  this.logDebug = this.logger.debugByType('IntrospectionResourceNotifier');
75
81
  this.logger.setDebugTypeLogging('IntrospectionResourceNotifier', true);
@@ -144,6 +150,41 @@ let IntrospectionResourceNotifierCompanionService = class IntrospectionResourceN
144
150
  this.publishDiff(resourceType, identityField, diff, outcome.next.generation);
145
151
  }
146
152
  }
153
+ /**
154
+ * The id the APPLICATION collection room is named by, or `undefined` while the canonical identity is
155
+ * not yet settled.
156
+ *
157
+ * The companion's startup primes it before this notifier starts (`primeApplicationIdentity`), so a
158
+ * miss AFTER `start()` means priming failed and every board is going unpublished. That is never
159
+ * silent: the first such miss warns once, and misses fire an async resolution at most every
160
+ * {@link IDENTITY_HEAL_RETRY_MS}, which settles the identity for every later call once the record is
161
+ * readable. It was silent once, and the fix for #1767
162
+ * then worked only because a model call happened to settle the identity first.
163
+ *
164
+ * The synchronous door throws before priming rather than falling back to the platform id, and that
165
+ * refusal is kept: a fallback would bring back exactly the wrong room this reads around.
166
+ */
167
+ applicationRoomId() {
168
+ try {
169
+ return this.applicationIdentity.getCanonicalApplicationIdOrThrow();
170
+ }
171
+ catch (error) {
172
+ if (this.unsubscribe) {
173
+ if (!this.warnedIdentityMissing) {
174
+ this.warnedIdentityMissing = true;
175
+ this.logger.warn('[IntrospectionResourceNotifier] The APPLICATION record identity is not resolved, so no workbench board '
176
+ + 'or recompilation can be published (its room is named by that id). Startup priming failed; retrying.', { error: describeCaughtError(error) });
177
+ }
178
+ /* Throttled, not once: a heal that fails must not end the attempts, and a miss arrives on every sweep. */
179
+ const now = Date.now();
180
+ if (now - this.lastIdentityHealAttemptAt >= IDENTITY_HEAL_RETRY_MS) {
181
+ this.lastIdentityHealAttemptAt = now;
182
+ void this.applicationIdentity.getCanonicalApplicationId().catch(() => undefined);
183
+ }
184
+ }
185
+ return undefined;
186
+ }
187
+ }
147
188
  /**
148
189
  * Whether a publication for this creation-plane behavior would reach any socket.
149
190
  *
@@ -162,9 +203,7 @@ let IntrospectionResourceNotifierCompanionService = class IntrospectionResourceN
162
203
  * `countLocalRoomMembers`).
163
204
  */
164
205
  isCreationPlaneBehaviorWatched(behavior) {
165
- if (!this.appConfigService.isInitialized())
166
- return false;
167
- const applicationId = this.appConfigService.applicationId;
206
+ const applicationId = this.applicationRoomId();
168
207
  if (!applicationId)
169
208
  return false;
170
209
  const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(behavior) ?? [];
@@ -275,12 +314,9 @@ let IntrospectionResourceNotifierCompanionService = class IntrospectionResourceN
275
314
  * for a client that IS holding the row.
276
315
  */
277
316
  emitCollectionRefresh(resourceType, identityField, diff) {
278
- if (!this.appConfigService.isInitialized()) {
279
- // Boot ordering only: a recompilation that beats app configuration has no room to address.
280
- // The next recompilation carries the same rows, so nothing is lost that a re-read would not find.
281
- return;
282
- }
283
- const applicationId = this.appConfigService.applicationId;
317
+ // Boot ordering only: a recompilation that beats the identity's priming has no room to address.
318
+ // The next recompilation carries the same rows, so nothing is lost that a re-read would not find.
319
+ const applicationId = this.applicationRoomId();
284
320
  if (!applicationId)
285
321
  return;
286
322
  /*
@@ -342,7 +378,7 @@ IntrospectionResourceNotifierCompanionService = __decorate([
342
378
  __param(1, inject(SAAS_SERVICE_TYPES.WebSocketService)),
343
379
  __param(2, inject(COMPANION_SERVICE_TYPES.IntrospectionSourceWatcherService)),
344
380
  __param(3, inject(SAAS_SERVICE_TYPES.IntrospectionResourceSource)),
345
- __param(4, inject(SAAS_SERVICE_TYPES.AppConfigService)),
381
+ __param(4, inject(SAAS_SERVICE_TYPES.ApplicationIdentityService)),
346
382
  __param(5, inject(COMPANION_SERVICE_TYPES.CreationPlaneProjectionService)),
347
383
  __metadata("design:paramtypes", [Function, Function, Function, Function, Function, Function])
348
384
  ], IntrospectionResourceNotifierCompanionService);
@@ -1 +1 @@
1
- {"version":3,"file":"introspection-resource-notifier.companion.service.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/introspection-resource-notifier.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,iCAAiC,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACxH,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAqB5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEI,IAAM,6CAA6C,GAAnD,MAAM,6CAA6C;IAaF;IACU;IAE7C;IAQA;IAOA;IAQA;IAtCF,QAAQ,CAA+D;IAChF,WAAW,CAA2B;IAC9C;;;;;;OAMG;IACK,2BAA2B,GAAG,CAAC,CAAC;IAExC,YACsD,MAAqB,EACX,gBAAkC,EAE/E,OAAmD,EAQnD,cAA2D,EAO3D,gBAAyC,EAQzC,aAAsD;QA1BnB,WAAM,GAAN,MAAM,CAAe;QACX,qBAAgB,GAAhB,gBAAgB,CAAkB;QAE/E,YAAO,GAAP,OAAO,CAA4C;QAQnD,m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,EAAmC,CAAC;IAC9D,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,MAAM,EAAE,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,IAAI,OAAO,EAAE,KAAK,QAAQ;YAAE,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,OAAO,GAA8B,EAAE,CAAC;IAC9C,MAAM,OAAO,GAA8B,EAAE,CAAC;IAC9C,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAE/B,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;QACxB,MAAM,EAAE,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,IAAI,OAAO,EAAE,KAAK,QAAQ;YAAE,SAAS;QACrC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACb,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAClB,SAAS;QACX,CAAC;QACD,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IAED,MAAM,UAAU,GAAG,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAC1C,CAAC","sourcesContent":["import { inject, injectable } from 'inversify';\nimport type { AppConfigurationService, LoggerService, WebSocketService } from '@wildo-ai/saas-backend-lib';\nimport { buildScopeRoomNotificationPayload, SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport {\n buildScopeRoomName,\n CoreResourceOperation,\n CoreWebSocketEvent,\n DataMode,\n ResourceAction,\n ResourceScopeRoomKey,\n} from '@wildo-ai/saas-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../inject/models/service-types';\nimport type { IntrospectionRecompileOutcome } from '../services/introspection-derivation-state.companion.service';\nimport type { IntrospectionSourceWatcherCompanionService } from '../services/introspection-source-watcher.companion.service';\nimport type { IntrospectionResourceSourceCompanionService } from './introspection-resource-source.companion.service';\nimport type {\n CreationPlaneBoardChange,\n CreationPlaneProjectionCompanionService,\n} from './creation-plane-projection.companion.service';\n\n/**\n * What one recompilation did to one resource's rows.\n *\n * Deliberately the same three verbs the engine's `ResourceAction` already publishes, because the\n * consumer is `RMMWebSocketBridge` and it already knows how to apply exactly these.\n */\ninterface ProjectedRowDiff {\n readonly created: readonly Record<string, unknown>[];\n readonly updated: readonly Record<string, unknown>[];\n readonly deletedIds: readonly string[];\n}\n\n/**\n * Publishes an introspection recompilation — and, since #1310, a creation-plane board that moved —\n * to the frontends watching it.\n *\n * ## What this joins, rather than builds\n *\n * Every part of the delivery already existed and none of it was reachable from here:\n *\n * - the companion MOUNTS the engine WebSocket server (`skipWebSocket: false`), and before this\n * change held no reference to `WebSocketService` at all — it served a frontend and emitted nothing;\n * - `sendResourceData` builds a sync-grade payload and validates the row against the resource's own\n * canonical READ DTO before it leaves the process;\n * - `RMMWebSocketBridge` receives that payload, re-validates it, diffs it FIELD BY FIELD against\n * what the client holds, and applies the result with no refetch.\n *\n * So a changed row travels from a `tsc` emit to a repainted field without anybody asking for it, and\n * the only new code is the diff below.\n *\n * ## Why the diff is computed here rather than pushed wholesale\n *\n * A recompilation of a 93-row derivation in which one row moved must not repaint 93 rows. The rows\n * are keyed by the identity the binding already composes — the same value a READ addresses — so the\n * three sets fall out of a map comparison, and a derivation that recompiled to a byte-identical\n * payload never reaches this service at all (the state service reports it as unchanged).\n *\n * ## The `version` is the derivation's generation, and that is load-bearing\n *\n * `sendResourceData` refuses a non-DELETED sync payload with no version, and\n * `ResourceMutationManager` DROPS any update whose version is not strictly greater than the one it\n * holds. Introspection rows carry no `_version`, so the generation is supplied explicitly — and it\n * is wall-clock-derived precisely so that a companion restart cannot hand an open browser tab a\n * lower number than it already has, which would silently freeze that tab forever.\n */\n@injectable()\nexport class IntrospectionResourceNotifierCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n private unsubscribe: (() => void) | undefined;\n /**\n * The creation plane's own generation, minted the way the derivation state mints one: wall-clock,\n * never decreasing, `+1` only to break a same-millisecond tie. Creation-plane rows carry no\n * `_version` and no recompilation generation, and `sendResourceData` refuses a sync payload\n * without a version — so the number has to come from somewhere, and a clock is the one source a\n * companion restart cannot move backwards under an open tab.\n */\n private lastCreationPlaneGeneration = 0;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.WebSocketService) private readonly websocketService: WebSocketService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionSourceWatcherService)\n private readonly watcher: IntrospectionSourceWatcherCompanionService,\n /*\n * Injected by the ENGINE port symbol it is bound under, not by a companion-local one. The\n * companion binds this class as `SAAS_SERVICE_TYPES.IntrospectionResourceSource`; adding a\n * second symbol for the same singleton would make two names for one thing and invite a future\n * binding to satisfy one of them with a different instance.\n */\n @inject(SAAS_SERVICE_TYPES.IntrospectionResourceSource)\n private readonly resourceSource: IntrospectionResourceSourceCompanionService,\n /*\n * Read ONLY for the application id the collection lane addresses its room by. The companion\n * initialises this service with `runtimeEnv.APPLICATION_ID` at startup, which is the same id an\n * APPLICATION-scoped resource's room is keyed on.\n */\n @inject(SAAS_SERVICE_TYPES.AppConfigService)\n private readonly appConfigService: AppConfigurationService,\n /*\n * The IN-PROCESS lane's publisher (#1310). The creation plane cannot inject this notifier — the\n * notifier already reaches it through the resource source, so the reverse edge would be a cycle —\n * so it announces board changes through a listener seam and this side subscribes, the same\n * direction the watcher's seam already points.\n */\n @inject(COMPANION_SERVICE_TYPES.CreationPlaneProjectionService)\n private readonly creationPlane: CreationPlaneProjectionCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('IntrospectionResourceNotifier');\n this.logger.setDebugTypeLogging('IntrospectionResourceNotifier', true);\n }\n\n /** Begin publishing recompilations AND creation-plane board changes. Idempotent. */\n public start(): void {\n if (this.unsubscribe) return;\n const unsubscribeCreationPlane = this.creationPlane.onBoardRowsChanged((change) => {\n try {\n this.publishCreationPlaneChange(change);\n } catch (error) {\n this.logger.warn('Creation-plane board change could not be published', {\n behavior: change.behavior,\n error: describeCaughtError(error),\n });\n }\n }, (behavior) => this.isCreationPlaneBehaviorWatched(behavior));\n const unsubscribeRecompiled = this.watcher.onRecompiled((outcomes) => {\n for (const outcome of outcomes) {\n try {\n this.publishOutcome(outcome);\n } catch (error) {\n // A resource whose rows cannot be projected must not stop the others being published. The\n // dominant cause is an authoring error the read path reports far more legibly.\n this.logger.warn('Introspection recompilation could not be published', {\n behavior: outcome.behavior,\n error: describeCaughtError(error),\n });\n }\n }\n });\n this.unsubscribe = () => {\n unsubscribeRecompiled();\n unsubscribeCreationPlane();\n };\n }\n\n public stop(): void {\n this.unsubscribe?.();\n this.unsubscribe = undefined;\n }\n\n /** Publish every resource that projects the behavior this outcome recompiled. */\n private publishOutcome(outcome: IntrospectionRecompileOutcome): void {\n if (!outcome.next) return;\n\n /*\n * A FIRST compilation is not a change, and must not be published.\n *\n * With no previous state there is nothing to diff against, so every row would be reported as\n * CREATED — which at boot means the whole catalog, for every resource, to every connected\n * client. A client that has not read this resource yet learns it by reading; a client that has\n * read it already holds rows this compilation did not move. Neither is served by an all-created\n * wave, so the honest answer for \"I have nothing to compare with\" is silence.\n */\n if (!outcome.previous) {\n this.logDebug('Skipped publication: first compilation has nothing to diff against', {\n behavior: outcome.behavior,\n generation: outcome.next.generation,\n });\n return;\n }\n\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(outcome.behavior) ?? [];\n for (const resourceType of resourceTypes) {\n const identityField = this.resourceSource.resolveRowIdentityField(resourceType);\n const before = this.resourceSource.projectRowsForResource(resourceType, outcome.previous.result.data);\n const after = this.resourceSource.projectRowsForResource(resourceType, outcome.next.result.data);\n if (!after || !before) continue;\n\n const diff = diffProjectedRows(before, after, identityField);\n this.publishDiff(resourceType, identityField, diff, outcome.next.generation);\n }\n }\n\n /**\n * Whether a publication for this creation-plane behavior would reach any socket.\n *\n * Asked by the creation plane BEFORE it re-derives a board for publication, because the derivation\n * is the expensive half (seconds) and the emit is free. A board is watched while any socket connected\n * to this process sits in the APPLICATION collection room of a resource projecting it — the room\n * {@link emitCollectionRefresh} addresses.\n *\n * WHO joins that room matters for reading the answer. It is not `useCreationPlaneList` itself: the\n * browser's `ResourceReadCacheBridge` claims the room when it STORES a cacheable read of the\n * resource — a LIST, or a READ by id — and keeps the claim for the life of the tab. So \"watched\" means \"a tab that has read\n * this board is still open\" — which is exactly the population whose read cache only a publication\n * can refresh. With the read cache switched off (`VITE_RESOURCE_READ_CACHE=off`) no room is joined\n * and nothing is ever watched; those tabs re-read on their own polls, so nothing is lost. A companion\n * is one process with a local adapter, so a local count is the whole count here (see\n * `countLocalRoomMembers`).\n */\n public isCreationPlaneBehaviorWatched(behavior: string): boolean {\n if (!this.appConfigService.isInitialized()) return false;\n const applicationId = this.appConfigService.applicationId;\n if (!applicationId) return false;\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(behavior) ?? [];\n return resourceTypes.some((resourceType) => this.websocketService.countLocalRoomMembers(\n buildScopeRoomName(resourceType, ResourceScopeRoomKey.APPLICATION, applicationId),\n ) > 0);\n }\n\n /**\n * Publish one creation-plane board that recomputed differently from what its readers were served.\n *\n * The SAME path an introspection recompilation takes from the diff onward — per-row sync, then the\n * APPLICATION collection event the workbench's `useCreationPlaneList` already subscribes to — so\n * the two lanes cannot come to disagree about what a publication is. What differs is only where\n * the two row sets come from: a creation-plane behavior's rows are already the resource's rows\n * (the projection stamps their identity itself), so there is no `rowsPath` to project.\n *\n * The provenance fields the plane names are left out of the comparison. `computedAt` is stamped\n * on every eligibility row at recompute, so without that one exclusion a single moved row would\n * report EVERY row updated — the full-repaint shape the determinism suite exists to prevent.\n */\n public publishCreationPlaneChange(change: CreationPlaneBoardChange): void {\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(change.behavior) ?? [];\n if (resourceTypes.length === 0) return;\n this.lastCreationPlaneGeneration = Math.max(Date.now(), this.lastCreationPlaneGeneration + 1);\n for (const resourceType of resourceTypes) {\n const identityField = this.resourceSource.resolveRowIdentityField(resourceType);\n const diff = diffProjectedRows(change.before, change.after, identityField, change.provenanceFields);\n this.publishDiff(resourceType, identityField, diff, this.lastCreationPlaneGeneration);\n /*\n * A pure REORDER moves no row, so the diff is empty and `publishDiff` stays silent — while the\n * plane, which compares boards in order, has already advanced its baseline. A list shows order,\n * so the collection is told it moved, naming the rows whose position changed. Collection lane\n * only: a per-row sync carries a row's content, which did not change.\n */\n const reordered = diff.created.length + diff.updated.length + diff.deletedIds.length === 0\n ? findReorderedRows(change.before, change.after, identityField)\n : [];\n if (reordered.length > 0) {\n this.emitCollectionRefresh(resourceType, identityField, { created: [], updated: reordered, deletedIds: [] });\n }\n }\n }\n\n /**\n * Emit one sync-grade event per changed row, then one collection-level event.\n *\n * Both are needed and they serve different consumers. The per-row events reach a live\n * `ResourceMutationManager` and repaint fields in place. The collection event reaches\n * `WebSocketEventBridge`, which fans it out to `RESOURCE_REFRESH` and is what a LIST surface\n * listens to — lists are served in `SUMMARY` mode and therefore cannot consume the RAW canonical\n * replay a per-row sync carries.\n */\n private publishDiff(\n resourceType: string,\n identityField: string,\n diff: ProjectedRowDiff,\n generation: number,\n ): void {\n for (const row of diff.created) {\n this.emitRow(resourceType, identityField, row, ResourceAction.CREATED, generation);\n }\n for (const row of diff.updated) {\n this.emitRow(resourceType, identityField, row, ResourceAction.UPDATED, generation);\n }\n for (const deletedId of diff.deletedIds) {\n this.websocketService.sendResourceData(\n resourceType,\n deletedId,\n CoreWebSocketEvent.RESOURCE_DELETED,\n ResourceAction.DELETED,\n {},\n { operationIdentifier: CoreResourceOperation.DELETE, version: generation },\n );\n }\n\n const changedCount = diff.created.length + diff.updated.length + diff.deletedIds.length;\n if (changedCount === 0) return;\n\n this.emitCollectionRefresh(resourceType, identityField, diff);\n\n this.logDebug('Published introspection recompilation', {\n resourceType,\n created: diff.created.length,\n updated: diff.updated.length,\n deleted: diff.deletedIds.length,\n generation,\n });\n }\n\n /**\n * Tell every subscriber of this resource's COLLECTION that its rows moved.\n *\n * ## Why the per-row lane is not enough, measured rather than assumed\n *\n * `sendResourceData` emits into the PER-ROW room, and a client is only in that room while a live\n * `ResourceMutationManager` holds it — `RMMWebSocketBridge` claims row rooms from live RMM\n * instances and destroys one 100 ms after unmount. The application-creation workbench instantiates\n * NONE: its surfaces are read-only lists and a graph. So on 2026-09-03 a source edit produced a\n * correct, versioned, single-row publication that a browser sitting on the affected surface\n * received **zero** frames of (issue #283). The producer was right and the room was empty.\n *\n * The collection lane has a subscriber that already exists and is already confirmed. The same\n * browser sends `resource:subscribe` for these resource types and the server answers\n * `{\"success\": true}` — those are SCOPE rooms, which is a different family from the row room the\n * push went to. Emitting here is what makes the two meet.\n *\n * ## Why the APPLICATION room, and only that one\n *\n * Every resource this notifier serves is APPLICATION-scoped by declaration — the workbench's\n * introspection resources anchor `isPrimaryScope: true` on `CoreResourceType.APPLICATION`, and\n * their configuration says so in prose: \"APPLICATION rather than ORGANIZATIONS on purpose: these\n * rows describe the application's own structure\". They carry no tenant dimension, so there is no\n * organization or user room they could honestly be addressed by — and this notifier, which runs\n * off a filesystem watcher rather than a request, has no principal whose org or user it could\n * borrow. `app` is the only room that is true of the data.\n *\n * That room is joinable and authorized because issue #247 made it so; before that a client could\n * not subscribe to it at all.\n *\n * ## Notification-grade on purpose\n *\n * No `resourceData`. A collection-room payload cannot settle a list's membership, ordering or\n * pagination for a client whose query it does not know, so it says only \"this collection moved\"\n * and lets the surface re-read. The per-row sync emit above is unchanged and stays authoritative\n * for a client that IS holding the row.\n */\n private emitCollectionRefresh(\n resourceType: string,\n identityField: string,\n diff: ProjectedRowDiff,\n ): void {\n if (!this.appConfigService.isInitialized()) {\n // Boot ordering only: a recompilation that beats app configuration has no room to address.\n // The next recompilation carries the same rows, so nothing is lost that a re-read would not find.\n return;\n }\n\n const applicationId = this.appConfigService.applicationId;\n if (!applicationId) return;\n\n /*\n * Refuse to address a TENANT's rows to the application room.\n *\n * Every introspection resource is APPLICATION-anchored today, so this never fires — and that is\n * exactly why it is here rather than in a comment. The set is open: the day someone adds a\n * tenant-scoped introspection resource, an application-room broadcast would carry one tenant's\n * row ids to every user of the application, and nothing else in this path would notice.\n */\n if (!this.resourceSource.isApplicationScoped(resourceType)) {\n this.logger.warn(\n `[IntrospectionResourceNotifier] '${resourceType}' is not APPLICATION-scoped, so its collection `\n + 'event has no room that is true of its rows — emitting it to the application room would cross '\n + 'a tenant boundary. Per-row sync is unaffected; only the collection lane is withheld.',\n );\n return;\n }\n\n /*\n * The ids that actually moved, so a consumer that wants to be selective can be. `affectedIds`\n * is `min(1)` by schema and we already returned on an empty diff, so this cannot be empty.\n */\n const affectedIds = [\n ...diff.created.map((row) => row[identityField]),\n ...diff.updated.map((row) => row[identityField]),\n ...diff.deletedIds,\n ].filter((id): id is string => typeof id === 'string' && id.length > 0);\n if (affectedIds.length === 0) return;\n\n this.websocketService.emitToScopeRooms(\n resourceType,\n [{ scopeKey: ResourceScopeRoomKey.APPLICATION, scopeId: applicationId }],\n CoreWebSocketEvent.RESOURCE_UPDATED,\n buildScopeRoomNotificationPayload({\n resourceType,\n resourceId: affectedIds[0],\n // No principal and no tenant: this notifier runs off a filesystem watcher, and the rows it\n // serves are application-wide. The room already carries the only identifier that is true.\n contextResourceIdentifiers: { applicationId },\n action: ResourceAction.UPDATED,\n affectedIds,\n operationIdentifier: CoreResourceOperation.LIST,\n // Notification-grade: the collection moved. `currentObject` is deliberately absent — see\n // the method docstring for why a scope room must not carry row data here.\n currentObject: undefined,\n }),\n );\n }\n\n private emitRow(\n resourceType: string,\n identityField: string,\n row: Record<string, unknown>,\n action: ResourceAction,\n generation: number,\n ): void {\n const rowId = row[identityField];\n if (typeof rowId !== 'string') return;\n this.websocketService.sendResourceData(\n resourceType,\n rowId,\n CoreWebSocketEvent.RESOURCE_UPDATED,\n action,\n row,\n {\n operationIdentifier: CoreResourceOperation.READ,\n // The canonical replay lane is RAW-only on both ends: the server resolves the READ DTO for\n // this mode, and `CANONICAL_RMM_DATA_MODE` on the client is `RAW`. Declaring anything else\n // makes the payload fail validation and be silently dropped rather than applied.\n dataMode: DataMode.RAW,\n version: generation,\n },\n );\n }\n}\n\n/**\n * The rows present in both projections whose POSITION among those shared rows changed.\n *\n * Exported for its own test. Positions are compared over the rows both sides hold, so a creation or\n * deletion elsewhere does not make every later row look moved.\n */\nexport function findReorderedRows(\n before: readonly Record<string, unknown>[],\n after: readonly Record<string, unknown>[],\n identityField: string,\n): readonly Record<string, unknown>[] {\n const identityOf = (row: Record<string, unknown>): string | undefined => {\n const id = row[identityField];\n return typeof id === 'string' ? id : undefined;\n };\n const afterIds = new Set(after.map(identityOf).filter((id): id is string => id !== undefined));\n const sharedBefore = before.map(identityOf).filter((id): id is string => id !== undefined && afterIds.has(id));\n const beforeIds = new Set(sharedBefore);\n const sharedAfter = after.filter((row) => {\n const id = identityOf(row);\n return id !== undefined && beforeIds.has(id);\n });\n return sharedAfter.filter((row, index) => identityOf(row) !== sharedBefore[index]);\n}\n\n/**\n * Compare two projections of one resource by the identity the binding composes.\n *\n * Exported for its own test: this is the whole of what decides whether a frontend repaints one row\n * or ninety-three, and it is the only part of the notification path this repository owns.\n *\n * An `updated` row is one whose serialized content differs. Serializing is honest here for the same\n * reason it is in the state service's payload comparison — a row is produced by one code path from\n * one imported module graph, so key order is stable between two runs of the same bytes.\n *\n * `ignoredFields` are left out of that comparison, never out of the published row. It exists for\n * ONE caller: the creation plane stamps `computedAt` provenance onto its eligibility rows by design\n * (the board renders \"as of\"), and that field differs on every recompute by construction. The\n * producer names its own provenance fields — a vocabulary of fields somebody ELSE might stamp was\n * rejected in `projected-row-determinism.test.ts`, and this is not one: it is the plane declaring\n * what it itself writes.\n */\nexport function diffProjectedRows(\n before: readonly Record<string, unknown>[],\n after: readonly Record<string, unknown>[],\n identityField: string,\n ignoredFields: readonly string[] = [],\n): ProjectedRowDiff {\n const comparable = (row: Record<string, unknown>): string => {\n if (ignoredFields.length === 0) return JSON.stringify(row);\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(row)) {\n if (!ignoredFields.includes(key)) kept[key] = value;\n }\n return JSON.stringify(kept);\n };\n\n const beforeById = new Map<string, Record<string, unknown>>();\n for (const row of before) {\n const id = row[identityField];\n if (typeof id === 'string') beforeById.set(id, row);\n }\n\n const created: Record<string, unknown>[] = [];\n const updated: Record<string, unknown>[] = [];\n const seen = new Set<string>();\n\n for (const row of after) {\n const id = row[identityField];\n if (typeof id !== 'string') continue;\n seen.add(id);\n const previous = beforeById.get(id);\n if (!previous) {\n created.push(row);\n continue;\n }\n if (comparable(previous) !== comparable(row)) {\n updated.push(row);\n }\n }\n\n const deletedIds = [...beforeById.keys()].filter((id) => !seen.has(id));\n return { created, updated, deletedIds };\n}\n"]}
1
+ {"version":3,"file":"introspection-resource-notifier.companion.service.js","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/introspection-resource-notifier.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,iCAAiC,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACxH,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,oBAAoB,GACrB,MAAM,uB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C,CAAC;IAEF,MAAM,UAAU,GAAG,IAAI,GAAG,EAAmC,CAAC;IAC9D,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,MAAM,EAAE,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,IAAI,OAAO,EAAE,KAAK,QAAQ;YAAE,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,OAAO,GAA8B,EAAE,CAAC;IAC9C,MAAM,OAAO,GAA8B,EAAE,CAAC;IAC9C,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAE/B,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;QACxB,MAAM,EAAE,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;QAC9B,IAAI,OAAO,EAAE,KAAK,QAAQ;YAAE,SAAS;QACrC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACb,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAClB,SAAS;QACX,CAAC;QACD,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IAED,MAAM,UAAU,GAAG,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACxE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAC1C,CAAC","sourcesContent":["import { inject, injectable } from 'inversify';\nimport type { ApplicationIdentityBackendService, LoggerService, WebSocketService } from '@wildo-ai/saas-backend-lib';\nimport { buildScopeRoomNotificationPayload, SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport {\n buildScopeRoomName,\n CoreResourceOperation,\n CoreWebSocketEvent,\n DataMode,\n ResourceAction,\n ResourceScopeRoomKey,\n} from '@wildo-ai/saas-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../inject/models/service-types';\nimport type { IntrospectionRecompileOutcome } from '../services/introspection-derivation-state.companion.service';\nimport type { IntrospectionSourceWatcherCompanionService } from '../services/introspection-source-watcher.companion.service';\nimport type { IntrospectionResourceSourceCompanionService } from './introspection-resource-source.companion.service';\nimport type {\n CreationPlaneBoardChange,\n CreationPlaneProjectionCompanionService,\n} from './creation-plane-projection.companion.service';\n\n/**\n * What one recompilation did to one resource's rows.\n *\n * Deliberately the same three verbs the engine's `ResourceAction` already publishes, because the\n * consumer is `RMMWebSocketBridge` and it already knows how to apply exactly these.\n */\ninterface ProjectedRowDiff {\n readonly created: readonly Record<string, unknown>[];\n readonly updated: readonly Record<string, unknown>[];\n readonly deletedIds: readonly string[];\n}\n\n/**\n * Publishes an introspection recompilation — and, since #1310, a creation-plane board that moved —\n * to the frontends watching it.\n *\n * ## What this joins, rather than builds\n *\n * Every part of the delivery already existed and none of it was reachable from here:\n *\n * - the companion MOUNTS the engine WebSocket server (`skipWebSocket: false`), and before this\n * change held no reference to `WebSocketService` at all — it served a frontend and emitted nothing;\n * - `sendResourceData` builds a sync-grade payload and validates the row against the resource's own\n * canonical READ DTO before it leaves the process;\n * - `RMMWebSocketBridge` receives that payload, re-validates it, diffs it FIELD BY FIELD against\n * what the client holds, and applies the result with no refetch.\n *\n * So a changed row travels from a `tsc` emit to a repainted field without anybody asking for it, and\n * the only new code is the diff below.\n *\n * ## Why the diff is computed here rather than pushed wholesale\n *\n * A recompilation of a 93-row derivation in which one row moved must not repaint 93 rows. The rows\n * are keyed by the identity the binding already composes — the same value a READ addresses — so the\n * three sets fall out of a map comparison, and a derivation that recompiled to a byte-identical\n * payload never reaches this service at all (the state service reports it as unchanged).\n *\n * ## The `version` is the derivation's generation, and that is load-bearing\n *\n * `sendResourceData` refuses a non-DELETED sync payload with no version, and\n * `ResourceMutationManager` DROPS any update whose version is not strictly greater than the one it\n * holds. Introspection rows carry no `_version`, so the generation is supplied explicitly — and it\n * is wall-clock-derived precisely so that a companion restart cannot hand an open browser tab a\n * lower number than it already has, which would silently freeze that tab forever.\n */\n/** How often a missing application identity is re-resolved while boards go unpublished (see `applicationRoomId`). */\nconst IDENTITY_HEAL_RETRY_MS = 30_000;\n\n@injectable()\nexport class IntrospectionResourceNotifierCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n private unsubscribe: (() => void) | undefined;\n /**\n * The creation plane's own generation, minted the way the derivation state mints one: wall-clock,\n * never decreasing, `+1` only to break a same-millisecond tie. Creation-plane rows carry no\n * `_version` and no recompilation generation, and `sendResourceData` refuses a sync payload\n * without a version — so the number has to come from somewhere, and a clock is the one source a\n * companion restart cannot move backwards under an open tab.\n */\n private lastCreationPlaneGeneration = 0;\n /** Whether the missing-identity warning has been given — once per process (see {@link applicationRoomId}). */\n private warnedIdentityMissing = false;\n /** When the last heal attempt was fired, so a missing identity is re-asked at most every {@link IDENTITY_HEAL_RETRY_MS}. */\n private lastIdentityHealAttemptAt = Number.NEGATIVE_INFINITY;\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.WebSocketService) private readonly websocketService: WebSocketService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionSourceWatcherService)\n private readonly watcher: IntrospectionSourceWatcherCompanionService,\n /*\n * Injected by the ENGINE port symbol it is bound under, not by a companion-local one. The\n * companion binds this class as `SAAS_SERVICE_TYPES.IntrospectionResourceSource`; adding a\n * second symbol for the same singleton would make two names for one thing and invite a future\n * binding to satisfy one of them with a different instance.\n */\n @inject(SAAS_SERVICE_TYPES.IntrospectionResourceSource)\n private readonly resourceSource: IntrospectionResourceSourceCompanionService,\n /*\n * Read ONLY for the id the APPLICATION collection room is named by: the APPLICATION RECORD's `_id`.\n *\n * NOT `AppConfigurationService.applicationId`, which is the PLATFORM's id for this application\n * (`runtimeEnv.APPLICATION_ID`) and names no scope room. The configuration endpoint hands every\n * client the record id (`ApplicationConfigController.resolveCanonicalApplicationIdForClients`), so\n * that is the room a browser joins. Until 2026-09-26 this read the platform id: every workbench\n * board counted and published into a room no browser was in, while each browser, confirmed in\n * the other room, served its polls from its read cache and never re-read — a run started from the\n * conversation stayed invisible until a reload (#1767). The engine's rule, in its own words:\n * anything that resolves a SCOPE asks this service.\n */\n @inject(SAAS_SERVICE_TYPES.ApplicationIdentityService)\n private readonly applicationIdentity: ApplicationIdentityBackendService,\n /*\n * The IN-PROCESS lane's publisher (#1310). The creation plane cannot inject this notifier — the\n * notifier already reaches it through the resource source, so the reverse edge would be a cycle —\n * so it announces board changes through a listener seam and this side subscribes, the same\n * direction the watcher's seam already points.\n */\n @inject(COMPANION_SERVICE_TYPES.CreationPlaneProjectionService)\n private readonly creationPlane: CreationPlaneProjectionCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('IntrospectionResourceNotifier');\n this.logger.setDebugTypeLogging('IntrospectionResourceNotifier', true);\n }\n\n /** Begin publishing recompilations AND creation-plane board changes. Idempotent. */\n public start(): void {\n if (this.unsubscribe) return;\n const unsubscribeCreationPlane = this.creationPlane.onBoardRowsChanged((change) => {\n try {\n this.publishCreationPlaneChange(change);\n } catch (error) {\n this.logger.warn('Creation-plane board change could not be published', {\n behavior: change.behavior,\n error: describeCaughtError(error),\n });\n }\n }, (behavior) => this.isCreationPlaneBehaviorWatched(behavior));\n const unsubscribeRecompiled = this.watcher.onRecompiled((outcomes) => {\n for (const outcome of outcomes) {\n try {\n this.publishOutcome(outcome);\n } catch (error) {\n // A resource whose rows cannot be projected must not stop the others being published. The\n // dominant cause is an authoring error the read path reports far more legibly.\n this.logger.warn('Introspection recompilation could not be published', {\n behavior: outcome.behavior,\n error: describeCaughtError(error),\n });\n }\n }\n });\n this.unsubscribe = () => {\n unsubscribeRecompiled();\n unsubscribeCreationPlane();\n };\n }\n\n public stop(): void {\n this.unsubscribe?.();\n this.unsubscribe = undefined;\n }\n\n /** Publish every resource that projects the behavior this outcome recompiled. */\n private publishOutcome(outcome: IntrospectionRecompileOutcome): void {\n if (!outcome.next) return;\n\n /*\n * A FIRST compilation is not a change, and must not be published.\n *\n * With no previous state there is nothing to diff against, so every row would be reported as\n * CREATED — which at boot means the whole catalog, for every resource, to every connected\n * client. A client that has not read this resource yet learns it by reading; a client that has\n * read it already holds rows this compilation did not move. Neither is served by an all-created\n * wave, so the honest answer for \"I have nothing to compare with\" is silence.\n */\n if (!outcome.previous) {\n this.logDebug('Skipped publication: first compilation has nothing to diff against', {\n behavior: outcome.behavior,\n generation: outcome.next.generation,\n });\n return;\n }\n\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(outcome.behavior) ?? [];\n for (const resourceType of resourceTypes) {\n const identityField = this.resourceSource.resolveRowIdentityField(resourceType);\n const before = this.resourceSource.projectRowsForResource(resourceType, outcome.previous.result.data);\n const after = this.resourceSource.projectRowsForResource(resourceType, outcome.next.result.data);\n if (!after || !before) continue;\n\n const diff = diffProjectedRows(before, after, identityField);\n this.publishDiff(resourceType, identityField, diff, outcome.next.generation);\n }\n }\n\n /**\n * The id the APPLICATION collection room is named by, or `undefined` while the canonical identity is\n * not yet settled.\n *\n * The companion's startup primes it before this notifier starts (`primeApplicationIdentity`), so a\n * miss AFTER `start()` means priming failed and every board is going unpublished. That is never\n * silent: the first such miss warns once, and misses fire an async resolution at most every\n * {@link IDENTITY_HEAL_RETRY_MS}, which settles the identity for every later call once the record is\n * readable. It was silent once, and the fix for #1767\n * then worked only because a model call happened to settle the identity first.\n *\n * The synchronous door throws before priming rather than falling back to the platform id, and that\n * refusal is kept: a fallback would bring back exactly the wrong room this reads around.\n */\n private applicationRoomId(): string | undefined {\n try {\n return this.applicationIdentity.getCanonicalApplicationIdOrThrow();\n } catch (error) {\n if (this.unsubscribe) {\n if (!this.warnedIdentityMissing) {\n this.warnedIdentityMissing = true;\n this.logger.warn(\n '[IntrospectionResourceNotifier] The APPLICATION record identity is not resolved, so no workbench board '\n + 'or recompilation can be published (its room is named by that id). Startup priming failed; retrying.',\n { error: describeCaughtError(error) },\n );\n }\n /* Throttled, not once: a heal that fails must not end the attempts, and a miss arrives on every sweep. */\n const now = Date.now();\n if (now - this.lastIdentityHealAttemptAt >= IDENTITY_HEAL_RETRY_MS) {\n this.lastIdentityHealAttemptAt = now;\n void this.applicationIdentity.getCanonicalApplicationId().catch(() => undefined);\n }\n }\n return undefined;\n }\n }\n\n /**\n * Whether a publication for this creation-plane behavior would reach any socket.\n *\n * Asked by the creation plane BEFORE it re-derives a board for publication, because the derivation\n * is the expensive half (seconds) and the emit is free. A board is watched while any socket connected\n * to this process sits in the APPLICATION collection room of a resource projecting it — the room\n * {@link emitCollectionRefresh} addresses.\n *\n * WHO joins that room matters for reading the answer. It is not `useCreationPlaneList` itself: the\n * browser's `ResourceReadCacheBridge` claims the room when it STORES a cacheable read of the\n * resource — a LIST, or a READ by id — and keeps the claim for the life of the tab. So \"watched\" means \"a tab that has read\n * this board is still open\" — which is exactly the population whose read cache only a publication\n * can refresh. With the read cache switched off (`VITE_RESOURCE_READ_CACHE=off`) no room is joined\n * and nothing is ever watched; those tabs re-read on their own polls, so nothing is lost. A companion\n * is one process with a local adapter, so a local count is the whole count here (see\n * `countLocalRoomMembers`).\n */\n public isCreationPlaneBehaviorWatched(behavior: string): boolean {\n const applicationId = this.applicationRoomId();\n if (!applicationId) return false;\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(behavior) ?? [];\n return resourceTypes.some((resourceType) => this.websocketService.countLocalRoomMembers(\n buildScopeRoomName(resourceType, ResourceScopeRoomKey.APPLICATION, applicationId),\n ) > 0);\n }\n\n /**\n * Publish one creation-plane board that recomputed differently from what its readers were served.\n *\n * The SAME path an introspection recompilation takes from the diff onward — per-row sync, then the\n * APPLICATION collection event the workbench's `useCreationPlaneList` already subscribes to — so\n * the two lanes cannot come to disagree about what a publication is. What differs is only where\n * the two row sets come from: a creation-plane behavior's rows are already the resource's rows\n * (the projection stamps their identity itself), so there is no `rowsPath` to project.\n *\n * The provenance fields the plane names are left out of the comparison. `computedAt` is stamped\n * on every eligibility row at recompute, so without that one exclusion a single moved row would\n * report EVERY row updated — the full-repaint shape the determinism suite exists to prevent.\n */\n public publishCreationPlaneChange(change: CreationPlaneBoardChange): void {\n const resourceTypes = this.resourceSource.resolveResourceTypesByBehavior().get(change.behavior) ?? [];\n if (resourceTypes.length === 0) return;\n this.lastCreationPlaneGeneration = Math.max(Date.now(), this.lastCreationPlaneGeneration + 1);\n for (const resourceType of resourceTypes) {\n const identityField = this.resourceSource.resolveRowIdentityField(resourceType);\n const diff = diffProjectedRows(change.before, change.after, identityField, change.provenanceFields);\n this.publishDiff(resourceType, identityField, diff, this.lastCreationPlaneGeneration);\n /*\n * A pure REORDER moves no row, so the diff is empty and `publishDiff` stays silent — while the\n * plane, which compares boards in order, has already advanced its baseline. A list shows order,\n * so the collection is told it moved, naming the rows whose position changed. Collection lane\n * only: a per-row sync carries a row's content, which did not change.\n */\n const reordered = diff.created.length + diff.updated.length + diff.deletedIds.length === 0\n ? findReorderedRows(change.before, change.after, identityField)\n : [];\n if (reordered.length > 0) {\n this.emitCollectionRefresh(resourceType, identityField, { created: [], updated: reordered, deletedIds: [] });\n }\n }\n }\n\n /**\n * Emit one sync-grade event per changed row, then one collection-level event.\n *\n * Both are needed and they serve different consumers. The per-row events reach a live\n * `ResourceMutationManager` and repaint fields in place. The collection event reaches\n * `WebSocketEventBridge`, which fans it out to `RESOURCE_REFRESH` and is what a LIST surface\n * listens to — lists are served in `SUMMARY` mode and therefore cannot consume the RAW canonical\n * replay a per-row sync carries.\n */\n private publishDiff(\n resourceType: string,\n identityField: string,\n diff: ProjectedRowDiff,\n generation: number,\n ): void {\n for (const row of diff.created) {\n this.emitRow(resourceType, identityField, row, ResourceAction.CREATED, generation);\n }\n for (const row of diff.updated) {\n this.emitRow(resourceType, identityField, row, ResourceAction.UPDATED, generation);\n }\n for (const deletedId of diff.deletedIds) {\n this.websocketService.sendResourceData(\n resourceType,\n deletedId,\n CoreWebSocketEvent.RESOURCE_DELETED,\n ResourceAction.DELETED,\n {},\n { operationIdentifier: CoreResourceOperation.DELETE, version: generation },\n );\n }\n\n const changedCount = diff.created.length + diff.updated.length + diff.deletedIds.length;\n if (changedCount === 0) return;\n\n this.emitCollectionRefresh(resourceType, identityField, diff);\n\n this.logDebug('Published introspection recompilation', {\n resourceType,\n created: diff.created.length,\n updated: diff.updated.length,\n deleted: diff.deletedIds.length,\n generation,\n });\n }\n\n /**\n * Tell every subscriber of this resource's COLLECTION that its rows moved.\n *\n * ## Why the per-row lane is not enough, measured rather than assumed\n *\n * `sendResourceData` emits into the PER-ROW room, and a client is only in that room while a live\n * `ResourceMutationManager` holds it — `RMMWebSocketBridge` claims row rooms from live RMM\n * instances and destroys one 100 ms after unmount. The application-creation workbench instantiates\n * NONE: its surfaces are read-only lists and a graph. So on 2026-09-03 a source edit produced a\n * correct, versioned, single-row publication that a browser sitting on the affected surface\n * received **zero** frames of (issue #283). The producer was right and the room was empty.\n *\n * The collection lane has a subscriber that already exists and is already confirmed. The same\n * browser sends `resource:subscribe` for these resource types and the server answers\n * `{\"success\": true}` — those are SCOPE rooms, which is a different family from the row room the\n * push went to. Emitting here is what makes the two meet.\n *\n * ## Why the APPLICATION room, and only that one\n *\n * Every resource this notifier serves is APPLICATION-scoped by declaration — the workbench's\n * introspection resources anchor `isPrimaryScope: true` on `CoreResourceType.APPLICATION`, and\n * their configuration says so in prose: \"APPLICATION rather than ORGANIZATIONS on purpose: these\n * rows describe the application's own structure\". They carry no tenant dimension, so there is no\n * organization or user room they could honestly be addressed by — and this notifier, which runs\n * off a filesystem watcher rather than a request, has no principal whose org or user it could\n * borrow. `app` is the only room that is true of the data.\n *\n * That room is joinable and authorized because issue #247 made it so; before that a client could\n * not subscribe to it at all.\n *\n * ## Notification-grade on purpose\n *\n * No `resourceData`. A collection-room payload cannot settle a list's membership, ordering or\n * pagination for a client whose query it does not know, so it says only \"this collection moved\"\n * and lets the surface re-read. The per-row sync emit above is unchanged and stays authoritative\n * for a client that IS holding the row.\n */\n private emitCollectionRefresh(\n resourceType: string,\n identityField: string,\n diff: ProjectedRowDiff,\n ): void {\n // Boot ordering only: a recompilation that beats the identity's priming has no room to address.\n // The next recompilation carries the same rows, so nothing is lost that a re-read would not find.\n const applicationId = this.applicationRoomId();\n if (!applicationId) return;\n\n /*\n * Refuse to address a TENANT's rows to the application room.\n *\n * Every introspection resource is APPLICATION-anchored today, so this never fires — and that is\n * exactly why it is here rather than in a comment. The set is open: the day someone adds a\n * tenant-scoped introspection resource, an application-room broadcast would carry one tenant's\n * row ids to every user of the application, and nothing else in this path would notice.\n */\n if (!this.resourceSource.isApplicationScoped(resourceType)) {\n this.logger.warn(\n `[IntrospectionResourceNotifier] '${resourceType}' is not APPLICATION-scoped, so its collection `\n + 'event has no room that is true of its rows — emitting it to the application room would cross '\n + 'a tenant boundary. Per-row sync is unaffected; only the collection lane is withheld.',\n );\n return;\n }\n\n /*\n * The ids that actually moved, so a consumer that wants to be selective can be. `affectedIds`\n * is `min(1)` by schema and we already returned on an empty diff, so this cannot be empty.\n */\n const affectedIds = [\n ...diff.created.map((row) => row[identityField]),\n ...diff.updated.map((row) => row[identityField]),\n ...diff.deletedIds,\n ].filter((id): id is string => typeof id === 'string' && id.length > 0);\n if (affectedIds.length === 0) return;\n\n this.websocketService.emitToScopeRooms(\n resourceType,\n [{ scopeKey: ResourceScopeRoomKey.APPLICATION, scopeId: applicationId }],\n CoreWebSocketEvent.RESOURCE_UPDATED,\n buildScopeRoomNotificationPayload({\n resourceType,\n resourceId: affectedIds[0],\n // No principal and no tenant: this notifier runs off a filesystem watcher, and the rows it\n // serves are application-wide. The room already carries the only identifier that is true.\n contextResourceIdentifiers: { applicationId },\n action: ResourceAction.UPDATED,\n affectedIds,\n operationIdentifier: CoreResourceOperation.LIST,\n // Notification-grade: the collection moved. `currentObject` is deliberately absent — see\n // the method docstring for why a scope room must not carry row data here.\n currentObject: undefined,\n }),\n );\n }\n\n private emitRow(\n resourceType: string,\n identityField: string,\n row: Record<string, unknown>,\n action: ResourceAction,\n generation: number,\n ): void {\n const rowId = row[identityField];\n if (typeof rowId !== 'string') return;\n this.websocketService.sendResourceData(\n resourceType,\n rowId,\n CoreWebSocketEvent.RESOURCE_UPDATED,\n action,\n row,\n {\n operationIdentifier: CoreResourceOperation.READ,\n // The canonical replay lane is RAW-only on both ends: the server resolves the READ DTO for\n // this mode, and `CANONICAL_RMM_DATA_MODE` on the client is `RAW`. Declaring anything else\n // makes the payload fail validation and be silently dropped rather than applied.\n dataMode: DataMode.RAW,\n version: generation,\n },\n );\n }\n}\n\n/**\n * The rows present in both projections whose POSITION among those shared rows changed.\n *\n * Exported for its own test. Positions are compared over the rows both sides hold, so a creation or\n * deletion elsewhere does not make every later row look moved.\n */\nexport function findReorderedRows(\n before: readonly Record<string, unknown>[],\n after: readonly Record<string, unknown>[],\n identityField: string,\n): readonly Record<string, unknown>[] {\n const identityOf = (row: Record<string, unknown>): string | undefined => {\n const id = row[identityField];\n return typeof id === 'string' ? id : undefined;\n };\n const afterIds = new Set(after.map(identityOf).filter((id): id is string => id !== undefined));\n const sharedBefore = before.map(identityOf).filter((id): id is string => id !== undefined && afterIds.has(id));\n const beforeIds = new Set(sharedBefore);\n const sharedAfter = after.filter((row) => {\n const id = identityOf(row);\n return id !== undefined && beforeIds.has(id);\n });\n return sharedAfter.filter((row, index) => identityOf(row) !== sharedBefore[index]);\n}\n\n/**\n * Compare two projections of one resource by the identity the binding composes.\n *\n * Exported for its own test: this is the whole of what decides whether a frontend repaints one row\n * or ninety-three, and it is the only part of the notification path this repository owns.\n *\n * An `updated` row is one whose serialized content differs. Serializing is honest here for the same\n * reason it is in the state service's payload comparison — a row is produced by one code path from\n * one imported module graph, so key order is stable between two runs of the same bytes.\n *\n * `ignoredFields` are left out of that comparison, never out of the published row. It exists for\n * ONE caller: the creation plane stamps `computedAt` provenance onto its eligibility rows by design\n * (the board renders \"as of\"), and that field differs on every recompute by construction. The\n * producer names its own provenance fields — a vocabulary of fields somebody ELSE might stamp was\n * rejected in `projected-row-determinism.test.ts`, and this is not one: it is the plane declaring\n * what it itself writes.\n */\nexport function diffProjectedRows(\n before: readonly Record<string, unknown>[],\n after: readonly Record<string, unknown>[],\n identityField: string,\n ignoredFields: readonly string[] = [],\n): ProjectedRowDiff {\n const comparable = (row: Record<string, unknown>): string => {\n if (ignoredFields.length === 0) return JSON.stringify(row);\n const kept: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(row)) {\n if (!ignoredFields.includes(key)) kept[key] = value;\n }\n return JSON.stringify(kept);\n };\n\n const beforeById = new Map<string, Record<string, unknown>>();\n for (const row of before) {\n const id = row[identityField];\n if (typeof id === 'string') beforeById.set(id, row);\n }\n\n const created: Record<string, unknown>[] = [];\n const updated: Record<string, unknown>[] = [];\n const seen = new Set<string>();\n\n for (const row of after) {\n const id = row[identityField];\n if (typeof id !== 'string') continue;\n seen.add(id);\n const previous = beforeById.get(id);\n if (!previous) {\n created.push(row);\n continue;\n }\n if (comparable(previous) !== comparable(row)) {\n updated.push(row);\n }\n }\n\n const deletedIds = [...beforeById.keys()].filter((id) => !seen.has(id));\n return { created, updated, deletedIds };\n}\n"]}
@@ -137,7 +137,7 @@ export declare class IntrospectionResourceSourceCompanionService implements Intr
137
137
  /**
138
138
  * Refuse a composed key the framework cannot carry in a URL.
139
139
  *
140
- * A key violating {@link ADDRESSABLE_IDENTITY_PATTERN} LISTS perfectly and is refused on every
140
+ * A key the introspection id format refuses LISTS perfectly and is refused on every
141
141
  * READ — the same shows-but-cannot-be-reached failure the duplicate check exists to prevent,
142
142
  * arriving by a different route. Measured: `'::'` as a separator produced exactly that, a 200 list
143
143
  * of 16 rows and `api_call_initiator_parameter_unsupported` on each one.
@@ -1 +1 @@
1
- {"version":3,"file":"introspection-resource-source.companion.service.d.ts","sourceRoot":"","sources":["../../../../../../src/core/introspection/resources/introspection-resource-source.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACrC,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AAC3G,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAgDxG,qBACa,2CAA4C,YAAW,sCAAsC;IAGtG,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAErC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAEjC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAElC,OAAO,CAAC,QAAQ,CAAC,aAAa;gBANb,oBAAoB,EAAE,6BAA6B,EAEnD,gBAAgB,EAAE,gBAAgB,EAElC,iBAAiB,EAAE,+BAA+B,EAElD,aAAa,EAAE,uCAAuC;IAGlE,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;IAIjC,UAAU,CAAC,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAkD9F;;;;;;;;;;;;;;;;OAgBG;IACU,uBAAuB,IAAI,OAAO,CAAC;QAC9C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;IAiBF;;;;;;;;OAQG;IACI,8BAA8B,IAAI,WAAW,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAgB/E;;;;;;OAMG;IACI,sBAAsB,CAC3B,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,OAAO,GACZ,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS;IAMjD,uFAAuF;IAChF,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAI5D;;;;;;;;;OASG;IACI,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;IAOzD,OAAO,CAAC,cAAc;IAOtB;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAc9B;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;IAQzB;;;;;;;;;OASG;IACH,OAAO,CAAC,WAAW;IAgBnB;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,qBAAqB;IAsC7B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,UAAU;IAYlB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAS1B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,iBAAiB;CAsB1B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACxC,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,MAAM,GACnB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAuBpC"}
1
+ {"version":3,"file":"introspection-resource-source.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/resources/introspection-resource-source.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACrC,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AAC3G,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CA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eG;IACH,OAAO,CAAC,UAAU;IAYlB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAS1B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,iBAAiB;CAsB1B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACxC,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,MAAM,GACnB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAuBpC"}
@@ -12,7 +12,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  };
13
13
  import { inject, injectable } from 'inversify';
14
14
  import { SAAS_SERVICE_TYPES, } from '@wildo-ai/saas-backend-lib';
15
- import { ResourcePrimaryScope } from '@wildo-ai/saas-models';
15
+ import { INTROSPECTION_RESOURCE_ID_CHARSET, ResourcePrimaryScope, Resources_SharedUtils } from '@wildo-ai/saas-models';
16
16
  import { COMPANION_SERVICE_TYPES } from '../../inject/models/service-types.js';
17
17
  import { CreationPlaneProjectionCompanionService } from './creation-plane-projection.companion.service.js';
18
18
  /**
@@ -44,17 +44,12 @@ import { CreationPlaneProjectionCompanionService } from './creation-plane-projec
44
44
  * identifiers are camelCase and carry no underscores, so a doubled one is safe.
45
45
  */
46
46
  const COMPOSED_IDENTITY_SEPARATOR = '__';
47
- /**
48
- * The charset an INTROSPECTION-backed id must satisfy.
49
- *
50
- * The INTERSECTION of the two gates a READ passes through, which are not the same rule:
51
- * `ResourceIdFormat.INTROSPECTION_SYNTHESIZED` admits `[A-Za-z0-9._~-]`, while
52
- * `validateParameterFormat` admits only `[a-zA-Z0-9_-]` for a parameter whose field name ends in
53
- * `id`. A key using `.` or `~` would pass the id validator and be refused as a path parameter — so
54
- * the narrower rule is the real one, and stating it here keeps the failure at composition time
55
- * rather than on someone's first READ.
47
+ /*
48
+ * The charset an INTROSPECTION-backed id must satisfy is the format's own
49
+ * (`Resources_SharedUtils.isIntrospectionSynthesizedId`). This file used to keep the INTERSECTION of two gates that
50
+ * disagreed: the format admitted `[A-Za-z0-9._~-]` while the path-parameter check admitted only `[a-zA-Z0-9_-]`.
51
+ * Since #2048 the path-parameter check asks the resource's format, so there is one rule and it is read here.
56
52
  */
57
- const ADDRESSABLE_IDENTITY_PATTERN = /^[a-zA-Z0-9_-]+$/;
58
53
  /** The framework's own path-parameter length limit. */
59
54
  const MAXIMUM_ADDRESSABLE_IDENTITY_LENGTH = 255;
60
55
  let IntrospectionResourceSourceCompanionService = class IntrospectionResourceSourceCompanionService {
@@ -346,7 +341,7 @@ let IntrospectionResourceSourceCompanionService = class IntrospectionResourceSou
346
341
  /**
347
342
  * Refuse a composed key the framework cannot carry in a URL.
348
343
  *
349
- * A key violating {@link ADDRESSABLE_IDENTITY_PATTERN} LISTS perfectly and is refused on every
344
+ * A key the introspection id format refuses LISTS perfectly and is refused on every
350
345
  * READ — the same shows-but-cannot-be-reached failure the duplicate check exists to prevent,
351
346
  * arriving by a different route. Measured: `'::'` as a separator produced exactly that, a 200 list
352
347
  * of 16 rows and `api_call_initiator_parameter_unsupported` on each one.
@@ -356,11 +351,11 @@ let IntrospectionResourceSourceCompanionService = class IntrospectionResourceSou
356
351
  * author chose, so it can appear long after the binding was written.
357
352
  */
358
353
  assertAddressable(composed, binding, identityFields, index) {
359
- if (!ADDRESSABLE_IDENTITY_PATTERN.test(composed)) {
354
+ if (!Resources_SharedUtils.isIntrospectionSynthesizedId(composed)) {
360
355
  throw new Error(`Introspection behavior '${binding.behavior}' composed the identity '${composed}' (row ${index}) from `
361
356
  + `identityFields [${identityFields.join(', ')}], which cannot be used as a URL path parameter: the `
362
- + `framework requires ${ADDRESSABLE_IDENTITY_PATTERN.source}. The row would be listable and unreadable. `
363
- + 'Choose identity fields whose values are alphanumeric.');
357
+ + `framework requires ${INTROSPECTION_RESOURCE_ID_CHARSET.source}. The row would be listable and unreadable. `
358
+ + 'Choose identity fields whose values stay within it.');
364
359
  }
365
360
  if (composed.length > MAXIMUM_ADDRESSABLE_IDENTITY_LENGTH) {
366
361
  throw new Error(`Introspection behavior '${binding.behavior}' composed a ${composed.length}-character identity (row ${index}), `