@salsita-ai/sdk 0.50.0-develop.996c9540be → 0.50.0-develop.9c4074f2fa

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 (2539) hide show
  1. package/README.md +25 -8
  2. package/dist/admin/AdminShell.js +1 -1
  3. package/dist/admin/common/admin-interface.d.ts +14 -4
  4. package/dist/admin/common/admin-interface.js +1 -1
  5. package/dist/admin/default-admin-elements.d.ts +9 -0
  6. package/dist/admin/default-admin-elements.js +1 -0
  7. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  8. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  9. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  10. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  11. package/dist/admin/default-elements/index.d.ts +2 -0
  12. package/dist/admin/default-elements/index.js +1 -0
  13. package/dist/admin/index.d.ts +1 -0
  14. package/dist/admin/index.js +1 -1
  15. package/dist/admin/legacy-admin/Application.js +1 -1
  16. package/dist/admin/ui/layout/UserProfile.d.ts +1 -1
  17. package/dist/admin/ui/layout/UserProfile.js +1 -1
  18. package/dist/admin/ui/maintenance/ImportPresets.js +1 -1
  19. package/dist/application/index.d.ts +1 -0
  20. package/dist/application/index.js +1 -1
  21. package/dist/application/mount-application.d.ts +1 -1
  22. package/dist/application/mount-application.js +1 -1
  23. package/dist/application/mount-configurator.d.ts +19 -0
  24. package/dist/application/mount-configurator.js +1 -0
  25. package/dist/application/mounted-application-runtime.d.ts +4 -0
  26. package/dist/application/mounted-application-runtime.js +1 -0
  27. package/dist/application/register-web-component.d.ts +2 -0
  28. package/dist/application/register-web-component.js +1 -0
  29. package/dist/application/studio-embedding.d.ts +6 -0
  30. package/dist/application/studio-embedding.js +1 -0
  31. package/dist/application-spec/caching/content-diff.js +1 -1
  32. package/dist/application-spec/caching/index.d.ts +6 -1
  33. package/dist/application-spec/caching/index.js +1 -1
  34. package/dist/application-spec/core/application-file.d.ts +0 -2
  35. package/dist/application-spec/core/application-file.js +1 -1
  36. package/dist/application-spec/core/enhanced-json-schema.d.ts +5 -6
  37. package/dist/application-spec/core/enhanced-json-schema.js +1 -1
  38. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -31
  39. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  40. package/dist/application-spec/core/index.d.ts +1 -3
  41. package/dist/application-spec/core/index.js +1 -1
  42. package/dist/application-spec/core/json-schema.d.ts +2 -52
  43. package/dist/application-spec/core/markers/index.d.ts +2 -1
  44. package/dist/application-spec/core/markers/index.js +1 -1
  45. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  46. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  47. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  48. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  49. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  50. package/dist/application-spec/core/markers/set-in-studio-marker.d.ts +15 -0
  51. package/dist/application-spec/core/markers/set-in-studio-marker.js +1 -0
  52. package/dist/application-spec/errors/diagnostic-codes.d.ts +43 -1
  53. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  54. package/dist/application-spec/errors/diagnostic-messages.d.ts +51 -2
  55. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  56. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  57. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  58. package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
  59. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  60. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  61. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  62. package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +3 -22
  63. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  64. package/dist/application-spec/generate-application/code/index.d.ts +1 -0
  65. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +10 -14
  66. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  67. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +4 -15
  68. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  69. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  70. package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +5 -1
  71. package/dist/application-spec/generate-application/code/templates/admin-config.js +6 -2
  72. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  73. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  74. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  75. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  76. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  77. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  78. package/dist/application-spec/generate-application/code/templates/configurator-config.js +8 -6
  79. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +0 -1
  80. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +6 -8
  81. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -0
  82. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +8 -6
  83. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  84. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  85. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +33 -0
  86. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  87. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  88. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  89. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-base-configurator-builder.js +2 -1
  90. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  91. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +6 -6
  92. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +1 -1
  93. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +57 -64
  94. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +8 -0
  95. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  96. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-locale.js +1 -1
  97. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.d.ts +1 -1
  98. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +19 -3
  99. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  100. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +13 -13
  101. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  102. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  103. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +2 -1
  104. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  105. package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
  106. package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
  107. package/dist/application-spec/generate-application/code/templates/editor.d.ts +1 -1
  108. package/dist/application-spec/generate-application/code/templates/editor.js +16 -3
  109. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  110. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  111. package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
  112. package/dist/application-spec/generate-application/code/templates/gitignore.js +3 -4
  113. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
  114. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  115. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +16 -0
  116. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  117. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  118. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +32 -0
  119. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +2 -0
  120. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  121. package/dist/application-spec/generate-application/code/templates/globals.js +31 -41
  122. package/dist/application-spec/generate-application/code/templates/html-index.d.ts +12 -1
  123. package/dist/application-spec/generate-application/code/templates/html-index.js +9 -10
  124. package/dist/application-spec/generate-application/code/templates/index.d.ts +5 -9
  125. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  126. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  127. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +3 -2
  128. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  129. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  130. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.d.ts +5 -0
  131. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.js +1 -0
  132. package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -0
  133. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -0
  134. package/dist/application-spec/generate-application/code/templates/skills/core/index.d.ts +3 -0
  135. package/dist/application-spec/generate-application/code/templates/skills/core/index.js +1 -0
  136. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.d.ts +2 -0
  137. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +90 -0
  138. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.d.ts +2 -0
  139. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +48 -0
  140. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.d.ts +3 -0
  141. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.js +3 -0
  142. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.d.ts +1 -0
  143. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.js +1 -0
  144. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.d.ts +3 -0
  145. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.js +48 -0
  146. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.d.ts +3 -0
  147. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.js +38 -0
  148. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.d.ts +3 -0
  149. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.js +35 -0
  150. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.d.ts +3 -0
  151. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +61 -0
  152. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
  153. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
  154. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.d.ts +3 -0
  155. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
  156. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
  157. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
  158. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.d.ts +3 -0
  159. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
  160. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.d.ts +3 -0
  161. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +7 -0
  162. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.d.ts +3 -0
  163. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.js +79 -0
  164. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.d.ts +1 -0
  165. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.js +1 -0
  166. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.d.ts +3 -0
  167. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.js +52 -0
  168. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +3 -0
  169. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +49 -0
  170. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.d.ts +3 -0
  171. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.js +62 -0
  172. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.d.ts +3 -0
  173. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.js +19 -0
  174. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.d.ts +3 -0
  175. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.js +40 -0
  176. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.d.ts +3 -0
  177. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.js +65 -0
  178. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.d.ts +3 -0
  179. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.js +58 -0
  180. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.d.ts +3 -0
  181. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.js +41 -0
  182. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.d.ts +3 -0
  183. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.js +24 -0
  184. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.d.ts +3 -0
  185. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.js +44 -0
  186. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.d.ts +3 -0
  187. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +74 -0
  188. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.d.ts +3 -0
  189. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.js +8 -0
  190. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.d.ts +1 -0
  191. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.js +1 -0
  192. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.d.ts +3 -0
  193. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +50 -0
  194. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.d.ts +3 -0
  195. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +64 -0
  196. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.d.ts +3 -0
  197. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +62 -0
  198. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.d.ts +3 -0
  199. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.js +1 -0
  200. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.d.ts +3 -0
  201. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.js +59 -0
  202. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.d.ts +3 -0
  203. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +46 -0
  204. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.d.ts +1 -0
  205. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.js +1 -0
  206. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.d.ts +3 -0
  207. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.js +43 -0
  208. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.d.ts +3 -0
  209. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.js +30 -0
  210. package/dist/application-spec/generate-application/code/templates/skills/features/features.d.ts +3 -0
  211. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -0
  212. package/dist/application-spec/generate-application/code/templates/skills/features/index.d.ts +1 -0
  213. package/dist/application-spec/generate-application/code/templates/skills/features/index.js +1 -0
  214. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.d.ts +2 -0
  215. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.js +1 -0
  216. package/dist/application-spec/generate-application/code/templates/skills/features/localization.d.ts +3 -0
  217. package/dist/application-spec/generate-application/code/templates/skills/features/localization.js +87 -0
  218. package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.d.ts +3 -0
  219. package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.js +43 -0
  220. package/dist/application-spec/generate-application/code/templates/skills/features/state/index.d.ts +1 -0
  221. package/dist/application-spec/generate-application/code/templates/skills/features/state/index.js +1 -0
  222. package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.d.ts +3 -0
  223. package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.js +48 -0
  224. package/dist/application-spec/generate-application/code/templates/skills/features/state/state.d.ts +3 -0
  225. package/dist/application-spec/generate-application/code/templates/skills/features/state/state.js +1 -0
  226. package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.d.ts +3 -0
  227. package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.js +39 -0
  228. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.d.ts +3 -0
  229. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +36 -0
  230. package/dist/application-spec/generate-application/code/templates/skills/features/variants.d.ts +2 -0
  231. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -0
  232. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +3 -0
  233. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +48 -0
  234. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.d.ts +3 -0
  235. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.js +45 -0
  236. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.d.ts +3 -0
  237. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +36 -0
  238. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.d.ts +3 -0
  239. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.js +92 -0
  240. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.d.ts +1 -0
  241. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.js +1 -0
  242. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.d.ts +3 -0
  243. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -0
  244. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.d.ts +3 -0
  245. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.js +1 -0
  246. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.d.ts +3 -0
  247. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.js +26 -0
  248. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.d.ts +3 -0
  249. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.js +51 -0
  250. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.d.ts +3 -0
  251. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.js +38 -0
  252. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.d.ts +1 -0
  253. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.js +1 -0
  254. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.d.ts +3 -0
  255. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.js +88 -0
  256. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.d.ts +3 -0
  257. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.js +68 -0
  258. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.d.ts +3 -0
  259. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.js +1 -0
  260. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.d.ts +3 -0
  261. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -0
  262. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +68 -0
  263. package/dist/application-spec/generate-application/code/templates/skills/guide.js +18 -0
  264. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  265. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +14 -0
  266. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.d.ts +9 -0
  267. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -0
  268. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.d.ts +2 -0
  269. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +23 -0
  270. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
  271. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
  272. package/dist/application-spec/generate-application/code/templates/skills/processes/beta.d.ts +14 -0
  273. package/dist/application-spec/generate-application/code/templates/skills/processes/beta.js +4 -0
  274. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.d.ts +2 -0
  275. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.js +38 -0
  276. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.d.ts +3 -0
  277. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.js +1 -0
  278. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.d.ts +1 -0
  279. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.js +1 -0
  280. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.d.ts +2 -0
  281. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +35 -0
  282. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.d.ts +2 -0
  283. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.js +2 -0
  284. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.d.ts +2 -0
  285. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -0
  286. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.d.ts +2 -0
  287. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +39 -0
  288. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.d.ts +2 -0
  289. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +38 -0
  290. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.d.ts +3 -0
  291. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +3 -0
  292. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.d.ts +2 -0
  293. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +9 -0
  294. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.d.ts +1 -0
  295. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.js +1 -0
  296. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +10 -0
  297. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -0
  298. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.d.ts +2 -0
  299. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -0
  300. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.d.ts +2 -0
  301. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +46 -0
  302. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.d.ts +2 -0
  303. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +2 -0
  304. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.d.ts +2 -0
  305. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.js +6 -0
  306. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.d.ts +1 -0
  307. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.js +1 -0
  308. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.d.ts +3 -0
  309. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -0
  310. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.d.ts +2 -0
  311. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +13 -0
  312. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
  313. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
  314. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.d.ts +2 -0
  315. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.js +20 -0
  316. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.d.ts +2 -0
  317. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.js +1 -0
  318. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.d.ts +1 -0
  319. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.js +1 -0
  320. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.d.ts +2 -0
  321. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +24 -0
  322. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.d.ts +3 -0
  323. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -0
  324. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.d.ts +2 -0
  325. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.js +28 -0
  326. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +49 -245
  327. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +3 -58
  328. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.d.ts +9 -0
  329. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -0
  330. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  331. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  332. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  333. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  334. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  335. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  336. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  337. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  338. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  339. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  340. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  341. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  342. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  343. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +4 -5
  344. package/dist/application-spec/generate-application/code/templates/tsconfig.js +2 -1
  345. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +8 -6
  346. package/dist/application-spec/generate-application/code/templates/webhook-index.js +2 -6
  347. package/dist/application-spec/generate-application/code/webhook-safe-files.d.ts +3 -1
  348. package/dist/application-spec/generate-application/code/webhook-safe-files.js +1 -1
  349. package/dist/application-spec/generate-application/index.d.ts +1 -6
  350. package/dist/application-spec/generate-application/index.js +1 -1
  351. package/dist/application-spec/parse-application-files/access/access-handler-kinds.d.ts +18 -0
  352. package/dist/application-spec/parse-application-files/access/access-handler-kinds.js +1 -0
  353. package/dist/application-spec/parse-application-files/access/analyzed-file.d.ts +7 -0
  354. package/dist/application-spec/parse-application-files/access/check-access-handler-files.d.ts +20 -0
  355. package/dist/application-spec/parse-application-files/access/check-access-handler-files.js +1 -0
  356. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.d.ts +17 -0
  357. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.js +1 -0
  358. package/dist/application-spec/parse-application-files/access/index.d.ts +5 -0
  359. package/dist/application-spec/parse-application-files/access/index.js +1 -0
  360. package/dist/application-spec/parse-application-files/access/sign-in-control.d.ts +7 -0
  361. package/dist/application-spec/parse-application-files/access/sign-in-control.js +1 -0
  362. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +20 -1
  363. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  364. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  365. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  366. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +30 -4
  367. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  368. package/dist/application-spec/parse-application-files/categorize/webhook-safety.js +1 -1
  369. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +17 -1
  370. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
  371. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  372. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  373. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  374. package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +7 -1
  375. package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
  376. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  377. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  378. package/dist/application-spec/parse-application-files/parse-common-admin-spec.js +1 -1
  379. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  380. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  381. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  382. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
  383. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
  384. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  385. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +121 -27
  386. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  387. package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
  388. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.d.ts +1 -1
  389. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  390. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  391. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +12 -3
  392. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  393. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  394. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  395. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  396. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  397. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +6 -0
  398. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  399. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  400. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +1 -0
  401. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -1
  402. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  403. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  404. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  405. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  406. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +4 -10
  407. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  408. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  409. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  410. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  411. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +5 -3
  412. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  413. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +5 -3
  414. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  415. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  416. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  417. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  418. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  419. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  420. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +12 -30
  421. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  422. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  423. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  424. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  425. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +5 -3
  426. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  427. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  428. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +4 -14
  429. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  430. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  431. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -31
  432. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  433. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +2 -1
  434. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  435. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  436. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +3 -7
  437. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  438. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  439. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  440. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  441. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  442. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  443. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  444. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  445. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  446. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.d.ts +5 -2
  447. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
  448. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.d.ts +1 -0
  449. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.js +1 -0
  450. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.d.ts +15 -0
  451. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.js +1 -0
  452. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  453. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +6 -23
  454. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
  455. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  456. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
  457. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  458. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +21 -0
  459. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  460. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +11 -11
  461. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  462. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +5 -6
  463. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.js +1 -1
  464. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  465. package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
  466. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  467. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  468. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  469. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  470. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  471. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  472. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  473. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  474. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  475. package/dist/application-spec/webhook-boundary.js +1 -1
  476. package/dist/client/authenticated-client.d.ts +5 -1
  477. package/dist/client/authenticated-client.js +1 -1
  478. package/dist/client/authorized-client.d.ts +8 -3
  479. package/dist/client/authorized-client.js +1 -1
  480. package/dist/client/base-client.d.ts +15 -1
  481. package/dist/client/base-client.js +1 -1
  482. package/dist/client/cli-client/cli-api-client.d.ts +17 -0
  483. package/dist/client/cli-client/cli-api-client.js +1 -0
  484. package/dist/client/cli-client/index.d.ts +2 -0
  485. package/dist/client/cli-client/index.js +1 -0
  486. package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
  487. package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
  488. package/dist/client/contract.d.ts +91 -7
  489. package/dist/client/contract.js +1 -1
  490. package/dist/client/index.d.ts +3 -2
  491. package/dist/client/index.js +1 -1
  492. package/dist/client/local-authorized-client.d.ts +4 -1
  493. package/dist/client/local-authorized-client.js +1 -1
  494. package/dist/client/memory-authorized-client.d.ts +5 -1
  495. package/dist/client/memory-authorized-client.js +1 -1
  496. package/dist/client/phoenix-api.d.ts +8725 -2105
  497. package/dist/client/unauthenticated-client.d.ts +1 -0
  498. package/dist/client/unauthenticated-client.js +1 -1
  499. package/dist/configurator/ConfiguratorApp.js +1 -1
  500. package/dist/configurator/agent-at-work/AgentAtWorkFallback.d.ts +7 -0
  501. package/dist/configurator/agent-at-work/AgentAtWorkFallback.js +1 -0
  502. package/dist/configurator/agent-at-work/AgentAtWorkPage.d.ts +20 -0
  503. package/dist/configurator/agent-at-work/AgentAtWorkPage.js +1 -0
  504. package/dist/configurator/agent-at-work/AgentModeBadge.d.ts +11 -0
  505. package/dist/configurator/agent-at-work/AgentModeBadge.js +1 -0
  506. package/dist/configurator/agent-at-work/StudioMark.d.ts +8 -0
  507. package/dist/configurator/agent-at-work/StudioMark.js +1 -0
  508. package/dist/configurator/agent-at-work/agent-at-work-copy.d.ts +17 -0
  509. package/dist/configurator/agent-at-work/agent-at-work-copy.js +1 -0
  510. package/dist/configurator/agent-at-work/agent-at-work-styles.d.ts +23 -0
  511. package/dist/configurator/agent-at-work/agent-at-work-styles.js +374 -0
  512. package/dist/configurator/agent-at-work/index.d.ts +3 -0
  513. package/dist/configurator/agent-at-work/index.js +1 -0
  514. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  515. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  516. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  517. package/dist/configurator/app-loader-content/index.js +1 -0
  518. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.d.ts +5 -4
  519. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.js +1 -1
  520. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  521. package/dist/configurator/application-runtime/extensions/selectors.d.ts +4 -2
  522. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  523. package/dist/configurator/application-runtime/extensions/systems/action-system/action-context.d.ts +14 -0
  524. package/dist/configurator/application-runtime/extensions/systems/action-system/action-factory.d.ts +13 -0
  525. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.d.ts +55 -0
  526. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.js +1 -0
  527. package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +56 -0
  528. package/dist/configurator/application-runtime/extensions/systems/action-system/index.d.ts +6 -0
  529. package/dist/configurator/application-runtime/extensions/systems/action-system/index.js +1 -0
  530. package/dist/configurator/application-runtime/extensions/systems/action-system/prepare-action-implementations.d.ts +16 -0
  531. package/dist/configurator/application-runtime/extensions/systems/action-system/prepare-action-implementations.js +5 -0
  532. package/dist/configurator/application-runtime/extensions/systems/action-system/resolve-action-modules.d.ts +4 -0
  533. package/dist/configurator/application-runtime/extensions/systems/action-system/resolve-action-modules.js +1 -0
  534. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +37 -0
  535. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.d.ts +18 -0
  536. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.js +1 -0
  537. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.d.ts +69 -0
  538. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.js +1 -0
  539. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +376 -27
  540. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  541. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.d.ts +63 -0
  542. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.js +1 -0
  543. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +83 -24
  544. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  545. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.d.ts +13 -0
  546. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.js +1 -0
  547. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.d.ts +7 -0
  548. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.js +1 -0
  549. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +3 -0
  550. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -0
  551. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +33 -0
  552. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -0
  553. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
  554. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
  555. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.d.ts +10 -0
  556. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.js +1 -0
  557. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +54 -5
  558. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  559. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  560. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  561. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  562. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  563. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +40 -5
  564. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  565. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  566. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  567. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +89 -55
  568. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  569. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +109 -7
  570. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  571. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.d.ts +16 -0
  572. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.js +1 -0
  573. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +26 -0
  574. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -0
  575. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +57 -0
  576. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  577. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.d.ts +10 -0
  578. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.js +1 -0
  579. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
  580. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
  581. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +37 -12
  582. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  583. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +8 -2
  584. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  585. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +11 -0
  586. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  587. package/dist/configurator/application-runtime/extensions/systems/sketching-system/sketching-system.d.ts +5 -5
  588. package/dist/configurator/application-runtime/hooks/use-configurator.d.ts +3 -3
  589. package/dist/configurator/common/configurator-interface.d.ts +152 -15
  590. package/dist/configurator/common/configurator-interface.js +1 -1
  591. package/dist/configurator/common/index.d.ts +2 -2
  592. package/dist/configurator/common/index.js +1 -1
  593. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  594. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  595. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  596. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  597. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  598. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  599. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  600. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  601. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  602. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  603. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  604. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +10 -0
  605. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  606. package/dist/configurator/configurator-context/index.d.ts +0 -5
  607. package/dist/configurator/configurator-context/index.js +1 -1
  608. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  609. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  610. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  611. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  612. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  613. package/dist/configurator/configurator-error-page/index.js +1 -0
  614. package/dist/configurator/index.d.ts +11 -0
  615. package/dist/configurator/index.js +1 -1
  616. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  617. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  618. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  619. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +3 -2
  620. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  621. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  622. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  623. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  624. package/dist/configurator/pages/ExportingOverlay.d.ts +6 -0
  625. package/dist/configurator/pages/ExportingOverlay.js +1 -0
  626. package/dist/configurator/pages/InertRoot.d.ts +10 -0
  627. package/dist/configurator/pages/InertRoot.js +1 -0
  628. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  629. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  630. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +2 -2
  631. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  632. package/dist/configurator/pages/RootPage.js +1 -1
  633. package/dist/configurator/pages/default-configurator-elements.d.ts +11 -1
  634. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  635. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  636. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  637. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  638. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  639. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  640. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  641. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  642. package/dist/configurator/pages/default-elements/index.js +1 -0
  643. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  644. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  645. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  646. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  647. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  648. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  649. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  650. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  651. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  652. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  653. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  654. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  655. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  656. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  657. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  658. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  659. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  660. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  661. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  662. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  663. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.d.ts +8 -0
  664. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.js +1 -0
  665. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.d.ts +5 -0
  666. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.js +1 -0
  667. package/dist/configurator/pages/error-boundaries/DevContextFallback.d.ts +4 -2
  668. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  669. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.d.ts +6 -4
  670. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  671. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  672. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  673. package/dist/configurator/pages/error-boundaries/index.d.ts +1 -0
  674. package/dist/configurator/pages/error-boundaries/index.js +1 -1
  675. package/dist/configurator/pages/provider-slots/ConfiguratorResponsiveProvider.d.ts +12 -0
  676. package/dist/configurator/pages/provider-slots/ConfiguratorResponsiveProvider.js +1 -0
  677. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.d.ts +3 -0
  678. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.js +1 -0
  679. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.d.ts +3 -0
  680. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.js +1 -0
  681. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.d.ts +3 -0
  682. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.js +1 -0
  683. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.d.ts +3 -0
  684. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.js +1 -0
  685. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.d.ts +3 -0
  686. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.js +1 -0
  687. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.d.ts +3 -0
  688. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.js +1 -0
  689. package/dist/configurator/pages/provider-slots/index.d.ts +6 -0
  690. package/dist/configurator/pages/provider-slots/index.js +1 -0
  691. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.d.ts +2 -0
  692. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.js +1 -0
  693. package/dist/configurator/pages/ui-elements/configurator-ui-elements.d.ts +3 -0
  694. package/dist/configurator/pages/ui-elements/configurator-ui-elements.js +1 -0
  695. package/dist/configurator/pages/ui-elements/index.d.ts +2 -0
  696. package/dist/configurator/pages/ui-elements/index.js +1 -0
  697. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  698. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  699. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  700. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  701. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  702. package/dist/configurator/preset-screen-elements/index.js +1 -0
  703. package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
  704. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  705. package/dist/configurator/scene/index.d.ts +1 -0
  706. package/dist/configurator/scene/index.js +1 -1
  707. package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
  708. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  709. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  710. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  711. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  712. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  713. package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
  714. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
  715. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  716. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
  717. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
  718. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  719. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  720. package/dist/configurator/toolbar-actions/index.js +1 -0
  721. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  722. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  723. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  724. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  725. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  726. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  727. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  728. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  729. package/dist/configurator/ui/assistant/AssistantChips.d.ts +88 -5
  730. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  731. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +103 -1
  732. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  733. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +41 -2
  734. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  735. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +51 -4
  736. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  737. package/dist/configurator/ui/assistant/AssistantThread.d.ts +89 -5
  738. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  739. package/dist/configurator/ui/assistant/AssistantThreadItemView.d.ts +104 -0
  740. package/dist/configurator/ui/assistant/AssistantThreadItemView.js +1 -0
  741. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +45 -0
  742. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  743. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  744. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  745. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  746. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  747. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +43 -0
  748. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -0
  749. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +5 -0
  750. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.js +1 -0
  751. package/dist/configurator/ui/assistant/annotation/AnnotationPin.d.ts +14 -0
  752. package/dist/configurator/ui/assistant/annotation/AnnotationPin.js +1 -0
  753. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.d.ts +12 -0
  754. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -0
  755. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.d.ts +11 -0
  756. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -0
  757. package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +80 -0
  758. package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -0
  759. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +50 -0
  760. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -0
  761. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +19 -0
  762. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -0
  763. package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.d.ts +22 -0
  764. package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.js +1 -0
  765. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +27 -0
  766. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -0
  767. package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.d.ts +17 -0
  768. package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.js +1 -0
  769. package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +2 -0
  770. package/dist/configurator/ui/assistant/annotation/editor/index.js +1 -0
  771. package/dist/configurator/ui/assistant/annotation/index.d.ts +5 -0
  772. package/dist/configurator/ui/assistant/annotation/index.js +1 -0
  773. package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.d.ts +2 -0
  774. package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.js +1 -0
  775. package/dist/configurator/ui/assistant/assistant-failure.d.ts +22 -7
  776. package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
  777. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +63 -0
  778. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
  779. package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
  780. package/dist/configurator/ui/assistant/attachments/index.js +1 -0
  781. package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +24 -0
  782. package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
  783. package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +20 -0
  784. package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -0
  785. package/dist/configurator/ui/assistant/composer/index.d.ts +1 -0
  786. package/dist/configurator/ui/assistant/composer/index.js +1 -0
  787. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
  788. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
  789. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
  790. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
  791. package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
  792. package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
  793. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +58 -0
  794. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -0
  795. package/dist/configurator/ui/assistant/drawing/index.d.ts +2 -0
  796. package/dist/configurator/ui/assistant/drawing/index.js +1 -0
  797. package/dist/configurator/ui/assistant/drawing/parse-drawing.d.ts +18 -0
  798. package/dist/configurator/ui/assistant/drawing/parse-drawing.js +1 -0
  799. package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +8 -0
  800. package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -0
  801. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +36 -2
  802. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  803. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +1 -1
  804. package/dist/configurator/ui/assistant/entity-link/index.d.ts +2 -3
  805. package/dist/configurator/ui/assistant/entity-link/index.js +1 -1
  806. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +76 -0
  807. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  808. package/dist/configurator/ui/assistant/form/built-in-form-slots.d.ts +16 -0
  809. package/dist/configurator/ui/assistant/form/built-in-form-slots.js +1 -0
  810. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  811. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  812. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  813. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  814. package/dist/configurator/ui/assistant/form/form-model.d.ts +46 -0
  815. package/dist/configurator/ui/assistant/form/form-model.js +1 -0
  816. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  817. package/dist/configurator/ui/assistant/form/form-state.js +1 -0
  818. package/dist/configurator/ui/assistant/form/index.d.ts +5 -0
  819. package/dist/configurator/ui/assistant/form/index.js +1 -0
  820. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +11 -0
  821. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  822. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  823. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  824. package/dist/configurator/ui/assistant/form/read-form-tile.d.ts +8 -0
  825. package/dist/configurator/ui/assistant/form/read-form-tile.js +1 -0
  826. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +32 -0
  827. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  828. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +35 -0
  829. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  830. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  831. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  832. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  833. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  834. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  835. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  836. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  837. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  838. package/dist/configurator/ui/assistant/form/split-form-rows.d.ts +7 -0
  839. package/dist/configurator/ui/assistant/form/split-form-rows.js +1 -0
  840. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +60 -0
  841. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  842. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +53 -0
  843. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  844. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +52 -0
  845. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  846. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +60 -0
  847. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  848. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +49 -0
  849. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  850. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +53 -0
  851. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  852. package/dist/configurator/ui/assistant/form-elements/FormTile.d.ts +72 -0
  853. package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -0
  854. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  855. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  856. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +65 -0
  857. package/dist/configurator/ui/assistant/form-elements/form-element-props.js +1 -0
  858. package/dist/configurator/ui/assistant/form-elements/index.d.ts +8 -0
  859. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  860. package/dist/configurator/ui/assistant/image-view/ImageView.d.ts +66 -0
  861. package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -0
  862. package/dist/configurator/ui/assistant/image-view/index.d.ts +1 -0
  863. package/dist/configurator/ui/assistant/image-view/index.js +1 -0
  864. package/dist/configurator/ui/assistant/image-view/use-image-blob.d.ts +7 -0
  865. package/dist/configurator/ui/assistant/image-view/use-image-blob.js +1 -0
  866. package/dist/configurator/ui/assistant/index.d.ts +25 -1
  867. package/dist/configurator/ui/assistant/index.js +1 -1
  868. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.d.ts +57 -0
  869. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -0
  870. package/dist/configurator/ui/assistant/panel/index.d.ts +1 -0
  871. package/dist/configurator/ui/assistant/panel/index.js +1 -0
  872. package/dist/configurator/ui/assistant/popover/AssistantPopover.d.ts +24 -0
  873. package/dist/configurator/ui/assistant/popover/AssistantPopover.js +1 -0
  874. package/dist/configurator/ui/assistant/popover/index.d.ts +1 -0
  875. package/dist/configurator/ui/assistant/popover/index.js +1 -0
  876. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +58 -0
  877. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  878. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  879. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  880. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +28 -0
  881. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  882. package/dist/configurator/ui/assistant/reference-link/index.d.ts +4 -0
  883. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  884. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  885. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  886. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  887. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  888. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +56 -0
  889. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  890. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  891. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  892. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  893. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  894. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  895. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  896. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +43 -0
  897. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  898. package/dist/configurator/ui/assistant/screenshots/index.d.ts +3 -0
  899. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  900. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +12 -0
  901. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  902. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +7 -0
  903. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  904. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +15 -2
  905. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  906. package/dist/configurator/ui/assistant/thread-items.d.ts +29 -3
  907. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  908. package/dist/configurator/ui/assistant/tool-chip.d.ts +19 -9
  909. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  910. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +94 -0
  911. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -0
  912. package/dist/configurator/ui/assistant/use-assistant-thread.d.ts +66 -0
  913. package/dist/configurator/ui/assistant/use-assistant-thread.js +1 -0
  914. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -1
  915. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +22 -0
  916. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -0
  917. package/dist/configurator/ui/assistant/use-on-unmount.d.ts +6 -0
  918. package/dist/configurator/ui/assistant/use-on-unmount.js +1 -0
  919. package/dist/configurator/ui/assistant/voice/RecordingBar.d.ts +21 -0
  920. package/dist/configurator/ui/assistant/voice/RecordingBar.js +1 -0
  921. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.d.ts +43 -0
  922. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.js +1 -0
  923. package/dist/configurator/ui/assistant/voice/index.d.ts +4 -0
  924. package/dist/configurator/ui/assistant/voice/index.js +1 -0
  925. package/dist/configurator/ui/assistant/voice/use-voice-recording.d.ts +39 -0
  926. package/dist/configurator/ui/assistant/voice/use-voice-recording.js +1 -0
  927. package/dist/configurator/ui/assistant/voice/voice-capture.d.ts +22 -0
  928. package/dist/configurator/ui/assistant/voice/voice-capture.js +1 -0
  929. package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
  930. package/dist/configurator/ui/configurator-layout/index.js +1 -1
  931. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  932. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  933. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  934. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  935. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
  936. package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
  937. package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
  938. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  939. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  940. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  941. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  942. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  943. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  944. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  945. package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
  946. package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
  947. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
  948. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
  949. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
  950. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
  951. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  952. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  953. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  954. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +1 -1
  955. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  956. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
  957. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
  958. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +1 -1
  959. package/dist/configurator/ui/index.d.ts +1 -0
  960. package/dist/configurator/ui/index.js +1 -1
  961. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  962. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  963. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  964. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  965. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  966. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  967. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  968. package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
  969. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  970. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  971. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  972. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  973. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  974. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  975. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  976. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  977. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  978. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  979. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  980. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  981. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  982. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  983. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  984. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  985. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  986. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  987. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  988. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  989. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  990. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  991. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  992. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  993. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  994. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  995. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  996. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  997. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  998. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  999. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  1000. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  1001. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  1002. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  1003. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  1004. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  1005. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  1006. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  1007. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  1008. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  1009. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  1010. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  1011. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  1012. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  1013. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  1014. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  1015. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  1016. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  1017. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  1018. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  1019. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  1020. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  1021. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  1022. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  1023. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  1024. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  1025. package/dist/configurator/ui/preset-layout/index.js +1 -1
  1026. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  1027. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  1028. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  1029. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  1030. package/dist/docs/3d-scene/animations-basic.mdx +0 -4
  1031. package/dist/docs/3d-scene/camera-based-hiding.mdx +0 -2
  1032. package/dist/docs/3d-scene/cameras/custom.mdx +4 -4
  1033. package/dist/docs/3d-scene/cameras/fit-during-drag.mdx +0 -4
  1034. package/dist/docs/3d-scene/cameras/locks.mdx +0 -4
  1035. package/dist/docs/3d-scene/cameras/transitions.mdx +0 -2
  1036. package/dist/docs/3d-scene/engraving.mdx +0 -4
  1037. package/dist/docs/3d-scene/materials/custom.mdx +1 -2
  1038. package/dist/docs/3d-scene/materials/inherit.mdx +0 -4
  1039. package/dist/docs/3d-scene/materials/multilevel.mdx +0 -47
  1040. package/dist/docs/3d-scene/materials/override.mdx +0 -4
  1041. package/dist/docs/3d-scene/materials/simple.mdx +0 -4
  1042. package/dist/docs/3d-scene/materials/transformer.mdx +0 -4
  1043. package/dist/docs/3d-scene/materials/transition.mdx +0 -4
  1044. package/dist/docs/3d-scene/materials/transmissive.mdx +0 -4
  1045. package/dist/docs/3d-scene/postprocessing.mdx +0 -2
  1046. package/dist/docs/3d-scene/rendering/basic.mdx +5 -9
  1047. package/dist/docs/3d-scene/rendering/custom-entity.mdx +0 -6
  1048. package/dist/docs/3d-scene/rendering/lights/ambient-light.mdx +0 -2
  1049. package/dist/docs/3d-scene/rendering/lights/directional-light.mdx +0 -2
  1050. package/dist/docs/3d-scene/rendering/lights/point-light.mdx +0 -2
  1051. package/dist/docs/3d-scene/rendering/lights/rect-area-light.mdx +0 -2
  1052. package/dist/docs/3d-scene/rendering/lights/spot-light.mdx +0 -2
  1053. package/dist/docs/3d-scene/rendering/object-groups.mdx +0 -2
  1054. package/dist/docs/3d-scene/rendering/objects.mdx +0 -4
  1055. package/dist/docs/3d-scene/rendering/scene-entity-object.mdx +0 -43
  1056. package/dist/docs/3d-scene/rendering/smma.mdx +0 -2
  1057. package/dist/docs/3d-scene/rendering/soft-shadows.mdx +0 -2
  1058. package/dist/docs/3d-scene/rendering/transformer.mdx +1 -3
  1059. package/dist/docs/complex-use-cases/custom-ui-on-root-level.mdx +0 -1
  1060. package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +19 -19
  1061. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  1062. package/dist/docs/complex-use-cases/navigation-guard.mdx +81 -19
  1063. package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +28 -65
  1064. package/dist/docs/complex-use-cases/navigation-reset-undo.mdx +16 -20
  1065. package/dist/docs/complex-use-cases/sketching.mdx +2 -10
  1066. package/dist/docs/controls/custom.mdx +88 -87
  1067. package/dist/docs/controls/manage-child-entities/entitychildrenlist.mdx +0 -4
  1068. package/dist/docs/controls/nullable-attributes.mdx +0 -2
  1069. package/dist/docs/controls/scene/custom-controls.mdx +7 -8
  1070. package/dist/docs/controls/scene/html-hotspots.mdx +0 -4
  1071. package/dist/docs/controls/scene/object-html-hotspots.mdx +0 -4
  1072. package/dist/docs/controls/select-attribute/cardselect.mdx +0 -4
  1073. package/dist/docs/controls/select-attribute/listselect.mdx +0 -4
  1074. package/dist/docs/controls/select-attribute/select.mdx +0 -4
  1075. package/dist/docs/controls/select-attribute/swatchselect.mdx +0 -4
  1076. package/dist/docs/controls/select-attribute/switchselect.mdx +0 -4
  1077. package/dist/docs/controls/select-attribute/toggleselect.mdx +0 -4
  1078. package/dist/docs/controls/select-child-entity/cardselect.mdx +3 -6
  1079. package/dist/docs/controls/select-child-entity/listselect.mdx +5 -11
  1080. package/dist/docs/controls/select-child-entity/toggleselect.mdx +4 -10
  1081. package/dist/docs/controls/text-input.mdx +90 -19
  1082. package/dist/docs/demos/glass.mdx +0 -4
  1083. package/dist/docs/demos/heater.mdx +0 -10
  1084. package/dist/docs/demos/office-chair.mdx +0 -8
  1085. package/dist/docs/demos/office-desk.mdx +0 -8
  1086. package/dist/docs/demos/ring.mdx +0 -9
  1087. package/dist/docs/dimensions/3d-scene-integration/angle-indicators.mdx +0 -2
  1088. package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +0 -2
  1089. package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +0 -14
  1090. package/dist/docs/dimensions/3d-scene-integration/editable-offset-indicator.mdx +0 -6
  1091. package/dist/docs/dimensions/3d-scene-integration/editable-size-indicator.mdx +0 -4
  1092. package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +0 -16
  1093. package/dist/docs/dimensions/3d-scene-integration/offset-indicator.mdx +0 -6
  1094. package/dist/docs/dimensions/3d-scene-integration/overlap-offset-demo.mdx +0 -6
  1095. package/dist/docs/dimensions/basic-concepts/dimension-data-unit.mdx +0 -12
  1096. package/dist/docs/dimensions/basic-concepts/dimension-unit-config.mdx +0 -12
  1097. package/dist/docs/dimensions/input-controls/distance-input.mdx +0 -12
  1098. package/dist/docs/dimensions/input-controls/distance-slider.mdx +6 -18
  1099. package/dist/docs/dimensions/selection-controls/list-selector.mdx +0 -14
  1100. package/dist/docs/dimensions/selection-controls/toggle-selector.mdx +0 -14
  1101. package/dist/docs/drag-and-drop/drag-handle.mdx +0 -1
  1102. package/dist/docs/drag-and-drop/hotspot-handle.mdx +0 -1
  1103. package/dist/docs/drag-and-drop/no-selection.mdx +0 -1
  1104. package/dist/docs/drag-and-drop/planes.mdx +0 -3
  1105. package/dist/docs/drag-and-drop/room-planner.mdx +1 -7
  1106. package/dist/docs/drag-and-drop/rotatable.mdx +0 -1
  1107. package/dist/docs/drag-and-drop/snapping/auto-rotation-demo.mdx +0 -2
  1108. package/dist/docs/drag-and-drop/snapping/label-matching-demo.mdx +0 -2
  1109. package/dist/docs/drag-and-drop/snapping/multi-snap-composition-demo.mdx +0 -2
  1110. package/dist/docs/drag-and-drop/snapping/nested-entity-demo.mdx +0 -2
  1111. package/dist/docs/drag-and-drop/snapping/priority-demo.mdx +0 -2
  1112. package/dist/docs/drag-and-drop/snapping/snap-axis-demo.mdx +0 -2
  1113. package/dist/docs/drag-and-drop/snapping/snap-edge-demo.mdx +0 -2
  1114. package/dist/docs/drag-and-drop/snapping/snap-plane-demo.mdx +0 -5
  1115. package/dist/docs/drag-and-drop/snapping/snap-point-demo.mdx +0 -2
  1116. package/dist/docs/drag-and-drop/spatial-constraints/collision-system.mdx +0 -2
  1117. package/dist/docs/drag-and-drop/spatial-constraints/disjoint-and-within.mdx +0 -6
  1118. package/dist/docs/drag-and-drop/spatial-constraints/geometry-override.mdx +0 -4
  1119. package/dist/docs/drag-and-drop/spatial-constraints/multiple-collision-meshes.mdx +0 -4
  1120. package/dist/docs/drag-and-drop/spatial-constraints/touches.mdx +0 -4
  1121. package/dist/docs/drag-and-drop/swap.mdx +0 -4
  1122. package/dist/docs/fabs/basic.mdx +12 -14
  1123. package/dist/docs/fabs/layout.mdx +0 -7
  1124. package/dist/docs/index.json +227 -8
  1125. package/dist/docs/integrations/lifecycle-providers.mdx +0 -12
  1126. package/dist/docs/integrations/onloadprovider.mdx +0 -3
  1127. package/dist/docs/integrations/webcomponent-api/basics.mdx +8 -2
  1128. package/dist/docs/integrations/webcomponent-api/preset-tags.mdx +4 -1
  1129. package/dist/docs/integrations/woocommerce/overview.mdx +4 -2
  1130. package/dist/docs/layouts/custom-layout.mdx +624 -192
  1131. package/dist/docs/layouts/custom-price.mdx +0 -2
  1132. package/dist/docs/layouts/custom-theme-handler.mdx +0 -4
  1133. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3485 -0
  1134. package/dist/docs/layouts/gallery/corvid-drone.mdx +3399 -0
  1135. package/dist/docs/layouts/gallery/fenwick-window.mdx +2778 -0
  1136. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6540 -0
  1137. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1829 -0
  1138. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3665 -0
  1139. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2657 -0
  1140. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5157 -0
  1141. package/dist/docs/layouts/header/custom.mdx +0 -2
  1142. package/dist/docs/layouts/icon-sets.mdx +0 -6
  1143. package/dist/docs/layouts/nested-view-controls.mdx +223 -0
  1144. package/dist/docs/layouts/phoenix-elements.mdx +0 -4
  1145. package/dist/docs/layouts/phoenix-handlers.mdx +19 -28
  1146. package/dist/docs/layouts/presets/action-and-overlay.mdx +0 -8
  1147. package/dist/docs/layouts/presets/custom.mdx +7 -13
  1148. package/dist/docs/layouts/preview/always-expand.mdx +4 -14
  1149. package/dist/docs/layouts/preview/always.mdx +26 -14
  1150. package/dist/docs/layouts/preview/auto-presets.mdx +4 -14
  1151. package/dist/docs/layouts/preview/auto.mdx +4 -14
  1152. package/dist/docs/layouts/preview/never.mdx +4 -14
  1153. package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +18 -13
  1154. package/dist/docs/layouts/sidebar/property-page-stack.mdx +0 -2
  1155. package/dist/docs/layouts/sidebar/property-page.mdx +0 -2
  1156. package/dist/docs/layouts/sidebar/tabs.mdx +0 -4
  1157. package/dist/docs/layouts/sidebar-footer/custom.mdx +0 -2
  1158. package/dist/docs/layouts/sidebar-footer/universal.mdx +0 -10
  1159. package/dist/docs/layouts/tool-controls.mdx +0 -1
  1160. package/dist/docs/layouts/toolbar.mdx +0 -4
  1161. package/dist/docs/layouts/universal.mdx +2 -22
  1162. package/dist/docs/layouts/view-controls.mdx +2 -0
  1163. package/dist/docs/other-features/client-side-rendering/camera-padding.mdx +0 -2
  1164. package/dist/docs/other-features/client-side-rendering/custom.mdx +0 -6
  1165. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -5
  1166. package/dist/docs/other-features/client-side-rendering/postprocessing.mdx +0 -6
  1167. package/dist/docs/other-features/component-filters.mdx +0 -7
  1168. package/dist/docs/other-features/currency.mdx +5 -6
  1169. package/dist/docs/other-features/domain-actions.mdx +81 -59
  1170. package/dist/docs/other-features/dynamic-component-attachments.mdx +75 -46
  1171. package/dist/docs/other-features/error-5xx.mdx +1 -15
  1172. package/dist/docs/other-features/navigation-hotspot.mdx +2 -5
  1173. package/dist/docs/other-features/not-found-404.mdx +1 -15
  1174. package/dist/docs/other-features/projected-entities.mdx +0 -5
  1175. package/dist/docs/other-features/side-effects.mdx +0 -23
  1176. package/dist/docs/other-features/transformers.mdx +101 -96
  1177. package/dist/docs/other-features/violation-messages.mdx +3 -5
  1178. package/dist/docs/other-features/violation-severity.mdx +2 -3
  1179. package/dist/docs/performance/clone-highlight.mdx +0 -7
  1180. package/dist/docs/performance/dynamic-components.mdx +0 -6
  1181. package/dist/docs/performance/editable-dimension-stress-test.mdx +0 -2
  1182. package/dist/docs/performance/fast-highlight.mdx +0 -7
  1183. package/dist/docs/performance/general.mdx +0 -7
  1184. package/dist/docs/performance/render-isolation.mdx +0 -6
  1185. package/dist/docs/phoenix/admin.mdx +100 -164
  1186. package/dist/docs/phoenix/application-states.mdx +46 -28
  1187. package/dist/docs/phoenix/assistant/actions.mdx +183 -0
  1188. package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
  1189. package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
  1190. package/dist/docs/phoenix/assistant/overview.mdx +137 -0
  1191. package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
  1192. package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
  1193. package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
  1194. package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
  1195. package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
  1196. package/dist/docs/phoenix/blender-rendering.mdx +3 -1
  1197. package/dist/docs/phoenix/clerk-sign-in.mdx +10 -6
  1198. package/dist/docs/phoenix/components.mdx +53 -46
  1199. package/dist/docs/phoenix/configurator-interface.mdx +515 -165
  1200. package/dist/docs/phoenix/data-sources.mdx +71 -51
  1201. package/dist/docs/phoenix/deployments.mdx +14 -4
  1202. package/dist/docs/phoenix/domain-model.mdx +26 -16
  1203. package/dist/docs/phoenix/expression-context.mdx +3 -29
  1204. package/dist/docs/phoenix/finalization.mdx +3 -3
  1205. package/dist/docs/phoenix/getting-started.mdx +6 -6
  1206. package/dist/docs/phoenix/integration/authentication-external.mdx +5 -5
  1207. package/dist/docs/phoenix/integration/authentication-internal.mdx +3 -3
  1208. package/dist/docs/phoenix/integration/finalization-internal.mdx +2 -5
  1209. package/dist/docs/phoenix/integration/integration-modes-internal.mdx +9 -0
  1210. package/dist/docs/phoenix/layout-slots.mdx +44 -23
  1211. package/dist/docs/phoenix/localization.mdx +70 -55
  1212. package/dist/docs/phoenix/migration-guide.mdx +22 -21
  1213. package/dist/docs/phoenix/migrations.mdx +1 -1
  1214. package/dist/docs/phoenix/phoenix-cli.mdx +177 -80
  1215. package/dist/docs/phoenix/project-structure.mdx +115 -81
  1216. package/dist/docs/phoenix/publishing.mdx +21 -28
  1217. package/dist/docs/phoenix/quickstart.mdx +8 -10
  1218. package/dist/docs/phoenix/sdk-builder-workflow.mdx +70 -43
  1219. package/dist/docs/phoenix/sessions-and-access.mdx +181 -152
  1220. package/dist/docs/phoenix/sharing.mdx +1 -1
  1221. package/dist/docs/phoenix/state-management.mdx +18 -16
  1222. package/dist/docs/phoenix/testing.mdx +13 -0
  1223. package/dist/docs/phoenix/theming.mdx +5 -9
  1224. package/dist/docs/phoenix/webhook-membership.mdx +4 -1
  1225. package/dist/docs/phoenix/webhooks.mdx +455 -294
  1226. package/dist/docs/recipes-and-delete/delete-entity.mdx +3 -6
  1227. package/dist/docs/recipes-and-delete/dynamic-root-entity.mdx +0 -2
  1228. package/dist/docs/recipes-and-delete/grouped-button.mdx +0 -3
  1229. package/dist/docs/recipes-and-delete/grouped-panel.mdx +0 -3
  1230. package/dist/docs/recipes-and-delete/horizontal.mdx +3 -6
  1231. package/dist/docs/recipes-and-delete/recipe-hierarchy-lists.mdx +0 -3
  1232. package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +0 -5
  1233. package/dist/docs/recipes-and-delete/replace-dropdown.mdx +3 -6
  1234. package/dist/docs/recipes-and-delete/replace-panel.mdx +0 -7
  1235. package/dist/docs/recipes-and-delete/simple.mdx +3 -6
  1236. package/dist/docs/recipes-and-delete/vertical.mdx +3 -6
  1237. package/dist/docs/relations/aliases.mdx +0 -2
  1238. package/dist/docs/relations/all-of-type.mdx +0 -4
  1239. package/dist/docs/relations/child-nullable.mdx +0 -4
  1240. package/dist/docs/relations/child-required.mdx +0 -2
  1241. package/dist/docs/relations/collection-direct.mdx +0 -4
  1242. package/dist/docs/relations/collection-indirect.mdx +0 -4
  1243. package/dist/docs/relations/collection-multiple.mdx +0 -2
  1244. package/dist/docs/relations/cross-reference.mdx +0 -2
  1245. package/dist/docs/relations/hierarchy.mdx +0 -2
  1246. package/dist/docs/selection-and-highlight/canvas.mdx +0 -1
  1247. package/dist/docs/selection-and-highlight/disable-highlight-per-object.mdx +0 -1
  1248. package/dist/docs/selection-and-highlight/disable-highlight.mdx +0 -1
  1249. package/dist/docs/selection-and-highlight/effects/outline.mdx +0 -3
  1250. package/dist/docs/selection-and-highlight/effects/overlay.mdx +0 -3
  1251. package/dist/docs/selection-and-highlight/fast-emissive-highlight.mdx +0 -3
  1252. package/dist/docs/selection-and-highlight/group-highlighting.mdx +0 -1
  1253. package/dist/docs/selection-and-highlight/hierarchy.mdx +100 -151
  1254. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -1
  1255. package/dist/docs/ux-guidelines/choosing-navigation.mdx +2 -0
  1256. package/dist/docs/ux-guidelines/designing-the-configuration-journey.mdx +43 -0
  1257. package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
  1258. package/dist/docs/ux-guidelines/overview.mdx +11 -9
  1259. package/dist/domain/admin-domain/index.d.ts +2 -2
  1260. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +1 -1
  1261. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  1262. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  1263. package/dist/domain/application/access/access-handlers.d.ts +19 -0
  1264. package/dist/domain/application/access/access-handlers.js +1 -0
  1265. package/dist/domain/application/access/anonymous-handler.d.ts +16 -0
  1266. package/dist/domain/application/access/anonymous-handler.js +1 -0
  1267. package/dist/domain/application/access/chunk-scopes-handler.d.ts +27 -0
  1268. package/dist/domain/application/access/chunk-scopes-handler.js +1 -0
  1269. package/dist/domain/application/access/code-handler.d.ts +16 -0
  1270. package/dist/domain/application/access/code-handler.js +1 -0
  1271. package/dist/domain/application/access/index.d.ts +7 -0
  1272. package/dist/domain/application/access/index.js +1 -0
  1273. package/dist/domain/application/access/refresh-handler.d.ts +16 -0
  1274. package/dist/domain/application/access/refresh-handler.js +1 -0
  1275. package/dist/domain/application/access/signed-in-handler.d.ts +44 -0
  1276. package/dist/domain/application/access/signed-in-handler.js +1 -0
  1277. package/dist/domain/application/access/visitor-handler.d.ts +23 -0
  1278. package/dist/domain/application/access/visitor-handler.js +1 -0
  1279. package/dist/domain/application/application-config.d.ts +43 -27
  1280. package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
  1281. package/dist/domain/application/assistant/assistant-exposure.js +1 -0
  1282. package/dist/domain/application/assistant/assistant-fields.d.ts +1 -1
  1283. package/dist/domain/application/assistant/assistant-selection.d.ts +30 -0
  1284. package/dist/domain/application/assistant/assistant-selection.js +1 -0
  1285. package/dist/domain/application/assistant/assistant-value-type.d.ts +1 -1
  1286. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +1 -2
  1287. package/dist/domain/application/assistant/build-assistant-lenses.js +4 -4
  1288. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +2 -3
  1289. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  1290. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +20 -2
  1291. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  1292. package/dist/domain/application/assistant/index.d.ts +5 -4
  1293. package/dist/domain/application/assistant/index.js +1 -1
  1294. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.d.ts +16 -0
  1295. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.js +1 -0
  1296. package/dist/domain/application/assistant/read-assistant-navigation.d.ts +40 -0
  1297. package/dist/domain/application/assistant/read-assistant-navigation.js +1 -0
  1298. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +1 -1
  1299. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +1 -1
  1300. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  1301. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +34 -6
  1302. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  1303. package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
  1304. package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
  1305. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +1 -2
  1306. package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
  1307. package/dist/domain/application/assistant/session-setup/index.js +1 -1
  1308. package/dist/domain/application/assistant-field-options.d.ts +3 -1
  1309. package/dist/domain/application/assistant-field-options.js +1 -1
  1310. package/dist/domain/application/assistant-mutations.d.ts +18 -12
  1311. package/dist/domain/application/assistant-mutations.js +1 -1
  1312. package/dist/domain/application/assistant-recipe-groups.d.ts +8 -5
  1313. package/dist/domain/application/assistant-recipe-groups.js +1 -1
  1314. package/dist/domain/application/configurator-builder.d.ts +54 -39
  1315. package/dist/domain/application/configurator-builder.js +1 -1
  1316. package/dist/domain/application/create-initial-published-data.d.ts +2 -1
  1317. package/dist/domain/application/index.d.ts +3 -2
  1318. package/dist/domain/application/index.js +1 -1
  1319. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  1320. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  1321. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  1322. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  1323. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  1324. package/dist/domain/application/standard-properties.d.ts +1 -1
  1325. package/dist/domain/application/standard-properties.js +1 -1
  1326. package/dist/domain/application/web-component-property.d.ts +3 -1
  1327. package/dist/domain/application/web-component-property.js +1 -1
  1328. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  1329. package/dist/domain/available-system-components/available-system-components.js +1 -0
  1330. package/dist/domain/available-system-components/index.d.ts +1 -0
  1331. package/dist/domain/available-system-components/index.js +1 -0
  1332. package/dist/domain/core/action/action.d.ts +0 -49
  1333. package/dist/domain/core/action/index.d.ts +0 -1
  1334. package/dist/domain/core/action/index.js +1 -1
  1335. package/dist/domain/core/component/system-component-filter.d.ts +1 -0
  1336. package/dist/domain/core/component/system-component-filter.js +1 -1
  1337. package/dist/domain/core/component/view-state-component.d.ts +4 -3
  1338. package/dist/domain/core/component/view-state-component.js +1 -1
  1339. package/dist/domain/core/domain-factory.d.ts +8 -3
  1340. package/dist/domain/core/domain-factory.js +1 -1
  1341. package/dist/domain/core/domain.js +1 -1
  1342. package/dist/domain/core/fit-session-data.d.ts +16 -0
  1343. package/dist/domain/core/fit-session-data.js +1 -0
  1344. package/dist/domain/core/index.d.ts +1 -1
  1345. package/dist/domain/core/index.js +1 -1
  1346. package/dist/domain/core/invariant/control-violation-hints.d.ts +37 -0
  1347. package/dist/domain/core/invariant/control-violation-hints.js +1 -0
  1348. package/dist/domain/core/invariant/index.d.ts +1 -0
  1349. package/dist/domain/core/invariant/index.js +1 -1
  1350. package/dist/domain/core/invariant/violation.d.ts +3 -2
  1351. package/dist/domain/core/schema/extended-schema-validator.js +1 -1
  1352. package/dist/domain/domain-builder/domain-builder.d.ts +41 -0
  1353. package/dist/domain/domain-builder/domain-builder.js +1 -0
  1354. package/dist/domain/domain-builder/index.d.ts +1 -0
  1355. package/dist/domain/domain-builder/index.js +1 -0
  1356. package/dist/domain/domain-context/domain-context-systems.d.ts +3 -5
  1357. package/dist/domain/domain-context/index.d.ts +0 -1
  1358. package/dist/domain/domain-context/index.js +1 -1
  1359. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
  1360. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  1361. package/dist/domain/domain-context/store-system/store-system.d.ts +5 -0
  1362. package/dist/domain/domain-context/store-system/store-system.js +1 -1
  1363. package/dist/domain/domain-context/transformers/context.d.ts +4 -2
  1364. package/dist/domain/domain-context/transformers/when-builder.d.ts +2 -1
  1365. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  1366. package/dist/domain/domain-runtime/application.d.ts +39 -0
  1367. package/dist/domain/domain-runtime/application.js +1 -0
  1368. package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +1 -1
  1369. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  1370. package/dist/domain/domain-runtime/domain-context/index.d.ts +0 -1
  1371. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +6 -4
  1372. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  1373. package/dist/domain/domain-runtime/domain-runtime.d.ts +87 -41
  1374. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  1375. package/dist/domain/domain-runtime/environment/actions.d.ts +1 -0
  1376. package/dist/domain/domain-runtime/environment/actions.js +1 -1
  1377. package/dist/domain/domain-runtime/environment/initialize.d.ts +1 -1
  1378. package/dist/domain/domain-runtime/environment/initialize.js +1 -1
  1379. package/dist/domain/domain-runtime/environment/selectors.d.ts +2 -0
  1380. package/dist/domain/domain-runtime/environment/selectors.js +1 -1
  1381. package/dist/domain/domain-runtime/environment/types.d.ts +7 -1
  1382. package/dist/domain/domain-runtime/index.d.ts +1 -1
  1383. package/dist/domain/domain-runtime/index.js +1 -1
  1384. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +1 -1
  1385. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -1
  1386. package/dist/domain/domain-runtime/spec/index.d.ts +1 -2
  1387. package/dist/domain/domain-runtime/spec/index.js +1 -1
  1388. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  1389. package/dist/domain/domain-runtime/spec/resolve-imported-transformers.d.ts +22 -0
  1390. package/dist/domain/domain-runtime/spec/resolve-imported-transformers.js +1 -0
  1391. package/dist/domain/domain-runtime/spec/selectors.d.ts +10 -8
  1392. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  1393. package/dist/domain/domain-runtime/spec/types.d.ts +13 -11
  1394. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  1395. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  1396. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  1397. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  1398. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  1399. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  1400. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  1401. package/dist/domain/extensions/assistant/assistant-greeting.d.ts +30 -0
  1402. package/dist/domain/extensions/assistant/assistant-greeting.js +1 -0
  1403. package/dist/domain/extensions/assistant/index.d.ts +1 -0
  1404. package/dist/domain/extensions/assistant/index.js +1 -0
  1405. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +31 -0
  1406. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  1407. package/dist/domain/extensions/export-images/client-side-image.d.ts +14 -0
  1408. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  1409. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  1410. package/dist/domain/extensions/export-images/index.js +1 -0
  1411. package/dist/domain/extensions/export-images/save-template-thumbnail.d.ts +14 -0
  1412. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  1413. package/dist/domain/extensions/index.d.ts +2 -3
  1414. package/dist/domain/extensions/index.js +1 -1
  1415. package/dist/domain/extensions/scene-entity-delete-fab.d.ts +1 -1
  1416. package/dist/domain/extensions/scene-entity-delete-fab.js +1 -1
  1417. package/dist/domain/index.d.ts +15 -2
  1418. package/dist/domain/index.js +1 -1
  1419. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +18 -6
  1420. package/dist/domain/mocks/create-test-application-config.d.ts +1 -1
  1421. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  1422. package/dist/domain/spec/application/admin-pages-section.js +1 -0
  1423. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  1424. package/dist/domain/spec/application/admin-pages.js +1 -0
  1425. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  1426. package/dist/domain/spec/application/admin-states.js +1 -0
  1427. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  1428. package/dist/domain/spec/application/configurator-states.js +1 -0
  1429. package/dist/domain/spec/application/index.d.ts +5 -0
  1430. package/dist/domain/spec/application/index.js +1 -0
  1431. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  1432. package/dist/domain/spec/components/bindings/index.js +1 -0
  1433. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  1434. package/dist/domain/spec/components/bindings/read-binding.js +1 -0
  1435. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  1436. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  1437. package/dist/domain/spec/components/component-entry.d.ts +90 -0
  1438. package/dist/domain/spec/components/component-entry.js +1 -0
  1439. package/dist/domain/spec/components/component-filter.d.ts +54 -0
  1440. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  1441. package/dist/domain/spec/components/component-filters.js +1 -0
  1442. package/dist/domain/spec/components/components.d.ts +4 -0
  1443. package/dist/domain/spec/components/components.js +1 -0
  1444. package/dist/domain/spec/components/index.d.ts +6 -0
  1445. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  1446. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  1447. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  1448. package/dist/domain/spec/enhanced-json/index.js +1 -0
  1449. package/dist/domain/spec/errors/implementation-error-collector.d.ts +21 -0
  1450. package/dist/domain/spec/errors/implementation-error-collector.js +1 -0
  1451. package/dist/domain/spec/expressions/expression.d.ts +49 -0
  1452. package/dist/domain/spec/expressions/expression.js +1 -0
  1453. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  1454. package/dist/domain/spec/expressions/expressions.js +1 -0
  1455. package/dist/domain/spec/expressions/index.d.ts +5 -0
  1456. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  1457. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  1458. package/dist/domain/spec/expressions/relation-expression-params.d.ts +11 -0
  1459. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  1460. package/dist/domain/spec/index.d.ts +4 -0
  1461. package/dist/domain/spec/index.js +1 -0
  1462. package/dist/domain/spec/invariants/index.d.ts +2 -0
  1463. package/dist/domain/spec/invariants/index.js +1 -0
  1464. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  1465. package/dist/domain/spec/invariants/invariant.js +1 -0
  1466. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  1467. package/dist/domain/spec/invariants/invariants.js +1 -0
  1468. package/dist/domain/spec/json-schema.d.ts +52 -0
  1469. package/dist/domain/spec/json-schema.js +1 -0
  1470. package/dist/domain/spec/markers/index.d.ts +3 -0
  1471. package/dist/domain/spec/markers/index.js +1 -0
  1472. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  1473. package/dist/domain/spec/markers/msg-marker.js +1 -0
  1474. package/dist/domain/spec/model/aliases.d.ts +9 -0
  1475. package/dist/domain/spec/model/aliases.js +1 -0
  1476. package/dist/domain/spec/model/common-types.d.ts +15 -0
  1477. package/dist/domain/spec/model/common-types.js +1 -0
  1478. package/dist/domain/spec/model/defaults.d.ts +33 -0
  1479. package/dist/domain/spec/model/defaults.js +1 -0
  1480. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  1481. package/dist/domain/spec/model/entity-types.js +1 -0
  1482. package/dist/domain/spec/model/index.d.ts +7 -0
  1483. package/dist/domain/spec/model/index.js +1 -0
  1484. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  1485. package/dist/domain/spec/model/model-version-key.js +1 -0
  1486. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  1487. package/dist/domain/spec/model/names/action-name.js +1 -0
  1488. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  1489. package/dist/domain/spec/model/names/alias-name.js +1 -0
  1490. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  1491. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  1492. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  1493. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  1494. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  1495. package/dist/domain/spec/model/names/expression-name.js +1 -0
  1496. package/dist/domain/spec/model/names/index.d.ts +9 -0
  1497. package/dist/domain/spec/model/names/index.js +1 -0
  1498. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  1499. package/dist/domain/spec/model/names/instance-name.js +1 -0
  1500. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  1501. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  1502. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  1503. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  1504. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  1505. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  1506. package/dist/domain/spec/model/presets.d.ts +30 -0
  1507. package/dist/domain/spec/model/presets.js +1 -0
  1508. package/dist/domain/spec/modules/element-registration.d.ts +125 -0
  1509. package/dist/domain/spec/modules/element-registration.js +1 -0
  1510. package/dist/domain/spec/modules/find-assistant-form-element-errors.d.ts +12 -0
  1511. package/dist/domain/spec/modules/find-assistant-form-element-errors.js +1 -0
  1512. package/dist/domain/spec/modules/index.d.ts +8 -0
  1513. package/dist/domain/spec/modules/index.js +1 -0
  1514. package/dist/domain/spec/modules/merge-expression-modules.d.ts +23 -0
  1515. package/dist/domain/spec/modules/merge-expression-modules.js +1 -0
  1516. package/dist/domain/spec/modules/project-modules.d.ts +32 -0
  1517. package/dist/domain/spec/modules/project-modules.js +1 -0
  1518. package/dist/domain/spec/modules/resolve-component-optic-modules.d.ts +4 -0
  1519. package/dist/domain/spec/modules/resolve-expression-modules.d.ts +14 -0
  1520. package/dist/domain/spec/modules/resolve-expression-modules.js +1 -0
  1521. package/dist/domain/spec/modules/resolve-invariant-modules.d.ts +6 -0
  1522. package/dist/domain/spec/phx/index.d.ts +1 -0
  1523. package/dist/domain/spec/phx/index.js +1 -0
  1524. package/dist/domain/spec/phx/phx-application-types.d.ts +25 -0
  1525. package/dist/domain/spec/phx/phx-application-types.js +1 -0
  1526. package/dist/domain/spec/phx/phx-domain.d.ts +35 -0
  1527. package/dist/domain/spec/phx/phx-domain.js +1 -0
  1528. package/dist/domain/spec/phx/phx-model.d.ts +24 -0
  1529. package/dist/domain/spec/phx/phx-model.js +1 -0
  1530. package/dist/domain/spec/phx/phx.d.ts +21 -0
  1531. package/dist/domain/spec/phx/phx.js +1 -0
  1532. package/dist/domain/spec/runtime/admin-runtime/admin-runtime.d.ts +32 -0
  1533. package/dist/domain/spec/runtime/admin-runtime/admin-runtime.js +1 -0
  1534. package/dist/domain/spec/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  1535. package/dist/domain/spec/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  1536. package/dist/domain/spec/runtime/admin-runtime/index.d.ts +2 -0
  1537. package/dist/domain/spec/runtime/admin-runtime/index.js +1 -0
  1538. package/dist/domain/spec/runtime/admin-runtime/states-runtime.d.ts +8 -0
  1539. package/dist/domain/spec/runtime/application-runtime.d.ts +62 -0
  1540. package/dist/domain/spec/runtime/application-runtime.js +1 -0
  1541. package/dist/domain/spec/runtime/application-spec-slice.d.ts +73 -0
  1542. package/dist/domain/spec/runtime/application-spec-slice.js +1 -0
  1543. package/dist/domain/spec/runtime/configurator-runtime/configurator-runtime.d.ts +37 -0
  1544. package/dist/domain/spec/runtime/configurator-runtime/configurator-runtime.js +1 -0
  1545. package/dist/domain/spec/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  1546. package/dist/domain/spec/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  1547. package/dist/domain/spec/runtime/configurator-runtime/index.d.ts +2 -0
  1548. package/dist/domain/spec/runtime/configurator-runtime/index.js +1 -0
  1549. package/dist/domain/spec/runtime/configurator-runtime/states-runtime.d.ts +11 -0
  1550. package/dist/domain/spec/runtime/create-application.d.ts +61 -0
  1551. package/dist/domain/spec/runtime/create-application.js +1 -0
  1552. package/dist/domain/spec/runtime/expressions/expression-runtime.d.ts +57 -0
  1553. package/dist/domain/spec/runtime/expressions/expression-runtime.js +1 -0
  1554. package/dist/domain/spec/runtime/expressions/generate-memo-eval-plan-runtime.d.ts +33 -0
  1555. package/dist/domain/spec/runtime/expressions/generate-memo-eval-plan-runtime.js +1 -0
  1556. package/dist/domain/spec/runtime/expressions/index.d.ts +3 -0
  1557. package/dist/domain/spec/runtime/expressions/index.js +1 -0
  1558. package/dist/domain/spec/runtime/expressions/reflection-constants-runtime.d.ts +11 -0
  1559. package/dist/domain/spec/runtime/expressions/reflection-constants-runtime.js +1 -0
  1560. package/dist/domain/spec/runtime/factory-data/factory-data-runtime.d.ts +44 -0
  1561. package/dist/domain/spec/runtime/factory-data/recipe-defaults.d.ts +13 -0
  1562. package/dist/domain/spec/runtime/factory-data/recipe-defaults.js +1 -0
  1563. package/dist/domain/spec/runtime/factory-data/static-violations.d.ts +16 -0
  1564. package/dist/domain/spec/runtime/factory-data/static-violations.js +1 -0
  1565. package/dist/domain/spec/runtime/generate-runtime-instance.d.ts +2 -0
  1566. package/dist/domain/spec/runtime/generate-runtime-instance.js +1 -0
  1567. package/dist/domain/spec/runtime/index.d.ts +13 -0
  1568. package/dist/domain/spec/runtime/index.js +1 -0
  1569. package/dist/domain/spec/runtime/migrations/migration-runtime.d.ts +53 -0
  1570. package/dist/domain/spec/runtime/migrations/migration-runtime.js +1 -0
  1571. package/dist/domain/spec/runtime/model/admin-model-runtime.d.ts +31 -0
  1572. package/dist/domain/spec/runtime/model/admin-model-runtime.js +1 -0
  1573. package/dist/domain/spec/runtime/model/configurator-model-runtime.d.ts +33 -0
  1574. package/dist/domain/spec/runtime/model/configurator-model-runtime.js +1 -0
  1575. package/dist/domain/spec/runtime/model/index.d.ts +2 -0
  1576. package/dist/domain/spec/runtime/model/index.js +1 -0
  1577. package/dist/domain/spec/runtime/optics/build-sdk-optic.d.ts +7 -0
  1578. package/dist/domain/spec/runtime/optics/build-sdk-optic.js +1 -0
  1579. package/dist/domain/spec/runtime/optics/build-user-bound-optic.d.ts +7 -0
  1580. package/dist/domain/spec/runtime/optics/build-user-bound-optic.js +1 -0
  1581. package/dist/domain/spec/runtime/optics/built-component-optic.d.ts +11 -0
  1582. package/dist/domain/spec/runtime/optics/built-component-optic.js +1 -0
  1583. package/dist/domain/spec/runtime/optics/component-optic.d.ts +26 -0
  1584. package/dist/domain/spec/runtime/optics/component-optic.js +1 -0
  1585. package/dist/domain/spec/runtime/optics/index.d.ts +2 -0
  1586. package/dist/domain/spec/runtime/optics/index.js +1 -0
  1587. package/dist/domain/spec/runtime/runtime-reference-store.d.ts +46 -0
  1588. package/dist/domain/spec/runtime/runtime-reference-store.js +1 -0
  1589. package/dist/domain/spec/runtime/sections/actions-runtime.d.ts +14 -0
  1590. package/dist/domain/spec/runtime/sections/assistant-runtime.d.ts +10 -0
  1591. package/dist/domain/spec/runtime/sections/data-runtime.d.ts +13 -0
  1592. package/dist/domain/spec/runtime/sections/index.d.ts +6 -0
  1593. package/dist/domain/spec/runtime/sections/index.js +1 -0
  1594. package/dist/domain/spec/runtime/sections/preset-runtime.d.ts +20 -0
  1595. package/dist/domain/spec/runtime/sections/theme-runtime.d.ts +10 -0
  1596. package/dist/domain/spec/runtime/sections/transformers-runtime.d.ts +19 -0
  1597. package/dist/domain/spec/runtime/spec-code/index.d.ts +2 -0
  1598. package/dist/domain/spec/runtime/spec-code/index.js +1 -0
  1599. package/dist/domain/spec/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  1600. package/dist/domain/spec/runtime/spec-code/resolve-spec-code.js +1 -0
  1601. package/dist/domain/spec/runtime/spec-code/spec-code-module.d.ts +17 -0
  1602. package/dist/domain/spec/runtime/spec-code/spec-code-module.js +1 -0
  1603. package/dist/domain/spec/runtime/spec-runtime.d.ts +21 -0
  1604. package/dist/domain/spec/runtime/spec-runtime.js +1 -0
  1605. package/dist/domain/spec/runtime-spec/decode-runtime-spec.d.ts +9 -0
  1606. package/dist/domain/spec/runtime-spec/decode-runtime-spec.js +1 -0
  1607. package/dist/domain/spec/runtime-spec/encode-runtime-spec.d.ts +8 -0
  1608. package/dist/domain/spec/runtime-spec/encode-runtime-spec.js +1 -0
  1609. package/dist/domain/spec/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  1610. package/dist/domain/spec/runtime-spec/encoded-runtime-spec.js +1 -0
  1611. package/dist/domain/spec/runtime-spec/index.d.ts +4 -0
  1612. package/dist/domain/spec/runtime-spec/index.js +1 -0
  1613. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +174 -0
  1614. package/dist/domain/spec/runtime-spec/runtime-spec.js +1 -0
  1615. package/dist/domain/spec/runtime-spec/spec-code-id.d.ts +40 -0
  1616. package/dist/domain/spec/runtime-spec/spec-code-id.js +1 -0
  1617. package/dist/domain/spec/sections/actions.d.ts +24 -0
  1618. package/dist/domain/spec/sections/actions.js +1 -0
  1619. package/dist/domain/spec/sections/app-metadata.d.ts +31 -0
  1620. package/dist/domain/spec/sections/app-metadata.js +1 -0
  1621. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  1622. package/dist/domain/spec/sections/application-version.js +1 -0
  1623. package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
  1624. package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
  1625. package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +129 -0
  1626. package/dist/domain/spec/sections/assistant/assistant-navigation.d.ts +21 -0
  1627. package/dist/domain/spec/sections/assistant/assistant-navigation.js +1 -0
  1628. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +176 -0
  1629. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.js +1 -0
  1630. package/dist/domain/spec/sections/assistant/assistant-select.d.ts +12 -0
  1631. package/dist/domain/spec/sections/assistant/assistant-select.js +1 -0
  1632. package/dist/domain/spec/sections/assistant/form/assistant-form-element-name.d.ts +11 -0
  1633. package/dist/domain/spec/sections/assistant/form/assistant-form-element-name.js +8 -0
  1634. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.d.ts +158 -0
  1635. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.js +1 -0
  1636. package/dist/domain/spec/sections/assistant/form/assistant-resource-path.d.ts +10 -0
  1637. package/dist/domain/spec/sections/assistant/form/assistant-resource-path.js +1 -0
  1638. package/dist/domain/spec/sections/assistant/form/index.d.ts +4 -0
  1639. package/dist/domain/spec/sections/assistant/form/index.js +1 -0
  1640. package/dist/domain/spec/sections/assistant/index.d.ts +7 -0
  1641. package/dist/domain/spec/sections/assistant/index.js +1 -0
  1642. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  1643. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  1644. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  1645. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  1646. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  1647. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  1648. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  1649. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  1650. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  1651. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  1652. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  1653. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  1654. package/dist/domain/spec/sections/index.d.ts +10 -0
  1655. package/dist/domain/spec/sections/index.js +1 -0
  1656. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  1657. package/dist/domain/spec/sections/infra/acl.js +1 -0
  1658. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  1659. package/dist/domain/spec/sections/infra/index.js +1 -0
  1660. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  1661. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  1662. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  1663. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  1664. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  1665. package/dist/domain/spec/sections/state-value.js +1 -0
  1666. package/dist/domain/spec/sections/theme.d.ts +10 -0
  1667. package/dist/domain/spec/sections/theme.js +1 -0
  1668. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  1669. package/dist/domain/spec/sections/transformers.js +1 -0
  1670. package/dist/domain/spec/sections/ui.d.ts +12 -0
  1671. package/dist/domain/spec/sections/ui.js +1 -0
  1672. package/dist/domain/system-components/child-entity-selection.js +1 -1
  1673. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  1674. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  1675. package/dist/domain/system-components/index.d.ts +1 -0
  1676. package/dist/domain/system-components/index.js +1 -1
  1677. package/dist/domain/system-components/navigation/index.d.ts +1 -0
  1678. package/dist/domain/system-components/navigation/index.js +1 -0
  1679. package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
  1680. package/dist/domain/system-components/navigation/view-controls.js +1 -0
  1681. package/dist/domain/system-components/phoenix-entity-elements/child-entity-card-selector.d.ts +2 -3
  1682. package/dist/domain/system-components/phoenix-entity-elements/child-entity-list-selector.d.ts +2 -3
  1683. package/dist/domain/system-components/phoenix-entity-elements/child-entity-toggle-selector.d.ts +2 -3
  1684. package/dist/domain/system-definitions.js +1 -1
  1685. package/dist/domain/utils/index.d.ts +2 -0
  1686. package/dist/domain/utils/index.js +1 -0
  1687. package/dist/editor/Editor.d.ts +12 -0
  1688. package/dist/editor/Editor.js +1 -1
  1689. package/dist/editor/EditorMode.d.ts +2 -0
  1690. package/dist/editor/EditorMode.js +1 -1
  1691. package/dist/editor/agent-mode/AgentModeBridge.d.ts +10 -0
  1692. package/dist/editor/agent-mode/AgentModeBridge.js +1 -0
  1693. package/dist/editor/agent-mode/agent-at-work-fonts.d.ts +2 -0
  1694. package/dist/editor/agent-mode/agent-at-work-fonts.js +1 -0
  1695. package/dist/editor/console-reporter/BrowserConsoleReporter.js +1 -1
  1696. package/dist/editor/console-reporter/console-capture.d.ts +20 -0
  1697. package/dist/editor/console-reporter/console-capture.js +1 -0
  1698. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  1699. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  1700. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  1701. package/dist/editor/domain-editors/use-implementation-files.d.ts +10 -17
  1702. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  1703. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  1704. package/dist/editor/index.d.ts +1 -0
  1705. package/dist/editor/index.js +1 -1
  1706. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  1707. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  1708. package/dist/editor/mocks/EditorMockContext.js +1 -1
  1709. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  1710. package/dist/editor/variants/VariantAnswerFooter.d.ts +8 -1
  1711. package/dist/editor/variants/VariantAnswerFooter.js +1 -1
  1712. package/dist/editor/variants/VariantPageUnavailable.d.ts +5 -0
  1713. package/dist/editor/variants/VariantPageUnavailable.js +1 -0
  1714. package/dist/editor/variants/VariantPreviewHandler.js +1 -1
  1715. package/dist/editor/variants/variant-preview-fonts.d.ts +2 -0
  1716. package/dist/editor/variants/variant-preview-fonts.js +1 -0
  1717. package/dist/editor/variants/variant-preview-styles.d.ts +40 -48
  1718. package/dist/editor/variants/variant-preview-styles.js +493 -1
  1719. package/dist/extras/clerk/index.d.ts +6 -0
  1720. package/dist/extras/cognito/AccountAvatar.d.ts +7 -0
  1721. package/dist/extras/cognito/AccountAvatar.js +1 -0
  1722. package/dist/extras/cognito/AccountControl.d.ts +13 -0
  1723. package/dist/extras/cognito/AccountControl.js +1 -0
  1724. package/dist/extras/cognito/AdminSignInPage.d.ts +26 -0
  1725. package/dist/extras/cognito/AdminSignInPage.js +1 -0
  1726. package/dist/extras/cognito/CognitoSignInPage.d.ts +8 -0
  1727. package/dist/extras/cognito/CognitoSignInPage.js +1 -0
  1728. package/dist/extras/cognito/ConfiguratorSignInPage.d.ts +19 -0
  1729. package/dist/extras/cognito/ConfiguratorSignInPage.js +1 -0
  1730. package/dist/extras/cognito/SignInFailurePage.d.ts +11 -0
  1731. package/dist/extras/cognito/SignInFailurePage.js +1 -0
  1732. package/dist/extras/cognito/SignInGateLayout.d.ts +25 -0
  1733. package/dist/extras/cognito/SignInGateLayout.js +1 -0
  1734. package/dist/extras/cognito/SignInNotice.d.ts +8 -0
  1735. package/dist/extras/cognito/SignInNotice.js +1 -0
  1736. package/dist/extras/cognito/index.d.ts +5 -0
  1737. package/dist/extras/cognito/index.js +1 -0
  1738. package/dist/globals/index.d.ts +5 -0
  1739. package/dist/i18n/locales/cs/messages.js +1 -1
  1740. package/dist/i18n/locales/da/messages.js +1 -1
  1741. package/dist/i18n/locales/de/messages.js +1 -1
  1742. package/dist/i18n/locales/de-AT/messages.js +1 -1
  1743. package/dist/i18n/locales/en/messages.js +1 -1
  1744. package/dist/i18n/locales/en-AU/messages.js +1 -1
  1745. package/dist/i18n/locales/en-GB/messages.js +1 -1
  1746. package/dist/i18n/locales/es/messages.js +1 -1
  1747. package/dist/i18n/locales/fr/messages.js +1 -1
  1748. package/dist/i18n/locales/hu/messages.js +1 -1
  1749. package/dist/i18n/locales/it/messages.js +1 -1
  1750. package/dist/i18n/locales/nl/messages.js +1 -1
  1751. package/dist/i18n/locales/pl/messages.js +1 -1
  1752. package/dist/i18n/locales/pt/messages.js +1 -1
  1753. package/dist/i18n/locales/ro/messages.js +1 -1
  1754. package/dist/i18n/locales/sk/messages.js +1 -1
  1755. package/dist/i18n/locales/tr/messages.js +1 -1
  1756. package/dist/i18n/merge-catalogs.d.ts +4 -1
  1757. package/dist/i18n/merge-catalogs.js +1 -1
  1758. package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
  1759. package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
  1760. package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
  1761. package/dist/legacy/domain-cli/gen/configurator-builder.js +5 -4
  1762. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  1763. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  1764. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +121 -82
  1765. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  1766. package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
  1767. package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
  1768. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  1769. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  1770. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  1771. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +11 -5
  1772. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +10 -11
  1773. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +9 -10
  1774. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/i18n-index.js +3 -3
  1775. package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
  1776. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  1777. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
  1778. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
  1779. package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
  1780. package/dist/legacy/webhook-cli/lib/webhook-boundary.js +1 -1
  1781. package/dist/phoenix/application-spec/application-spec-builder.d.ts +2 -4
  1782. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  1783. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +3 -3
  1784. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  1785. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  1786. package/dist/phoenix/application-spec/generate-project-files.d.ts +4 -4
  1787. package/dist/phoenix/application-spec/generate-project-files.js +1 -1
  1788. package/dist/phoenix/application-spec/index.d.ts +3 -0
  1789. package/dist/phoenix/application-spec/index.js +1 -1
  1790. package/dist/phoenix/application-spec/project-files.d.ts +8 -2
  1791. package/dist/phoenix/application-spec/project-files.js +1 -1
  1792. package/dist/phoenix/application-spec/read-spec-project.d.ts +1 -2
  1793. package/dist/phoenix/application-spec/read-spec-project.js +1 -1
  1794. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +19 -0
  1795. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  1796. package/dist/phoenix/bin.d.ts +2 -0
  1797. package/dist/phoenix/bin.js +2 -0
  1798. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  1799. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  1800. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  1801. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  1802. package/dist/phoenix/check-configs/index.d.ts +8 -0
  1803. package/dist/phoenix/check-configs/index.js +1 -0
  1804. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  1805. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  1806. package/dist/phoenix/cli.d.ts +0 -1
  1807. package/dist/phoenix/cli.js +1 -2
  1808. package/dist/phoenix/commands/account/index.d.ts +1 -0
  1809. package/dist/phoenix/commands/account/index.js +1 -0
  1810. package/dist/phoenix/commands/account/whoami.d.ts +10 -0
  1811. package/dist/phoenix/commands/account/whoami.js +4 -0
  1812. package/dist/phoenix/commands/activate-deployment.js +1 -1
  1813. package/dist/phoenix/commands/build.d.ts +2 -1
  1814. package/dist/phoenix/commands/build.js +1 -1
  1815. package/dist/phoenix/commands/changelog.js +1 -1
  1816. package/dist/phoenix/commands/check.js +1 -1
  1817. package/dist/phoenix/commands/clean.d.ts +2 -1
  1818. package/dist/phoenix/commands/clean.js +1 -1
  1819. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  1820. package/dist/phoenix/commands/create-environment.js +1 -1
  1821. package/dist/phoenix/commands/data.js +1 -1
  1822. package/dist/phoenix/commands/deploy.d.ts +7 -2
  1823. package/dist/phoenix/commands/deploy.js +9 -3
  1824. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  1825. package/dist/phoenix/commands/deps/deps.d.ts +22 -1
  1826. package/dist/phoenix/commands/deps/deps.js +2 -2
  1827. package/dist/phoenix/commands/deps/index.d.ts +1 -1
  1828. package/dist/phoenix/commands/deps/index.js +1 -1
  1829. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -1
  1830. package/dist/phoenix/commands/dev.d.ts +2 -1
  1831. package/dist/phoenix/commands/dev.js +4 -5
  1832. package/dist/phoenix/commands/docs.js +1 -1
  1833. package/dist/phoenix/commands/feedback.d.ts +2 -2
  1834. package/dist/phoenix/commands/feedback.js +1 -1
  1835. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  1836. package/dist/phoenix/commands/fix.js +1 -1
  1837. package/dist/phoenix/commands/index.d.ts +2 -1
  1838. package/dist/phoenix/commands/index.js +1 -1
  1839. package/dist/phoenix/commands/init-starter-spec.js +3 -4
  1840. package/dist/phoenix/commands/init.d.ts +17 -5
  1841. package/dist/phoenix/commands/init.js +1 -1
  1842. package/dist/phoenix/commands/inspect-assets.js +1 -1
  1843. package/dist/phoenix/commands/link.js +1 -1
  1844. package/dist/phoenix/commands/list-environments.js +1 -1
  1845. package/dist/phoenix/commands/login.d.ts +10 -4
  1846. package/dist/phoenix/commands/login.js +3 -3
  1847. package/dist/phoenix/commands/logout.js +1 -1
  1848. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  1849. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  1850. package/dist/phoenix/commands/prettier.js +1 -1
  1851. package/dist/phoenix/commands/register-deployment.js +1 -1
  1852. package/dist/phoenix/commands/scene.js +1 -1
  1853. package/dist/phoenix/commands/screenshot.js +1 -1
  1854. package/dist/phoenix/commands/state.js +1 -1
  1855. package/dist/phoenix/commands/story-build.js +3 -3
  1856. package/dist/phoenix/commands/story-create.js +1 -1
  1857. package/dist/phoenix/commands/story-dev.js +2 -2
  1858. package/dist/phoenix/commands/sync.d.ts +2 -1
  1859. package/dist/phoenix/commands/sync.js +1 -1
  1860. package/dist/phoenix/commands/unlink.js +1 -1
  1861. package/dist/phoenix/commands/variants.js +1 -1
  1862. package/dist/phoenix/editor-server/commands-router.js +1 -1
  1863. package/dist/phoenix/editor-server/editor-server.d.ts +2 -13
  1864. package/dist/phoenix/editor-server/editor-server.js +1 -1
  1865. package/dist/phoenix/editor-server/spec-router.js +1 -1
  1866. package/dist/phoenix/editor-server/trpc.d.ts +2 -12
  1867. package/dist/phoenix/lingui/index.d.ts +1 -0
  1868. package/dist/phoenix/lingui/index.js +1 -0
  1869. package/dist/phoenix/lingui/lingui.d.ts +18 -0
  1870. package/dist/phoenix/lingui/lingui.js +1 -0
  1871. package/dist/phoenix/scripts/docs-utils.js +1 -1
  1872. package/dist/phoenix/services/application-spec-project-watcher.d.ts +14 -9
  1873. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  1874. package/dist/phoenix/services/cli-credentials.d.ts +29 -7
  1875. package/dist/phoenix/services/cli-credentials.js +2 -2
  1876. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  1877. package/dist/phoenix/services/cli-exit.js +1 -0
  1878. package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
  1879. package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
  1880. package/dist/phoenix/services/cli-server/index.d.ts +2 -0
  1881. package/dist/phoenix/services/cli-server/index.js +1 -0
  1882. package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +19 -0
  1883. package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
  1884. package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
  1885. package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
  1886. package/dist/phoenix/services/deployment/generated-env-markers.d.ts +8 -0
  1887. package/dist/phoenix/services/deployment/generated-env-markers.js +1 -0
  1888. package/dist/phoenix/services/deployment/index.d.ts +2 -0
  1889. package/dist/phoenix/services/deployment/index.js +1 -0
  1890. package/dist/phoenix/services/dev-experience/dev-experience.d.ts +31 -0
  1891. package/dist/phoenix/services/dev-experience/dev-experience.js +1 -0
  1892. package/dist/phoenix/services/dev-experience/index.d.ts +3 -0
  1893. package/dist/phoenix/services/dev-experience/index.js +1 -0
  1894. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.d.ts +7 -0
  1895. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.js +1 -0
  1896. package/dist/phoenix/services/dev-experience/regenerated-page-experience.d.ts +24 -0
  1897. package/dist/phoenix/services/dev-experience/regenerated-page-experience.js +1 -0
  1898. package/dist/phoenix/services/development-credential.js +1 -1
  1899. package/dist/phoenix/services/frontend-config.d.ts +2 -0
  1900. package/dist/phoenix/services/index.d.ts +11 -4
  1901. package/dist/phoenix/services/index.js +1 -1
  1902. package/dist/phoenix/services/lingui-watcher.js +1 -1
  1903. package/dist/phoenix/services/phoenix-pubsub.d.ts +4 -0
  1904. package/dist/phoenix/services/phoenix-regions.d.ts +6 -1
  1905. package/dist/phoenix/services/phoenix-regions.js +1 -1
  1906. package/dist/phoenix/services/phoenix-store.d.ts +3 -0
  1907. package/dist/phoenix/services/phoenix-store.js +1 -1
  1908. package/dist/phoenix/services/prepare-development-environment.js +2 -2
  1909. package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
  1910. package/dist/phoenix/services/session/editor-server-handle.js +1 -0
  1911. package/dist/phoenix/services/session/index.d.ts +2 -0
  1912. package/dist/phoenix/services/session/index.js +1 -0
  1913. package/dist/phoenix/services/session/phoenix-application.d.ts +83 -0
  1914. package/dist/phoenix/services/session/phoenix-application.js +2 -0
  1915. package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
  1916. package/dist/phoenix/services/signed-in-development-environment.js +1 -1
  1917. package/dist/phoenix/services/source-archive.d.ts +2 -0
  1918. package/dist/phoenix/services/source-archive.js +1 -1
  1919. package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
  1920. package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
  1921. package/dist/phoenix/services/spec-project/index.d.ts +3 -0
  1922. package/dist/phoenix/services/spec-project/index.js +1 -0
  1923. package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
  1924. package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
  1925. package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
  1926. package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
  1927. package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
  1928. package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
  1929. package/dist/phoenix/services/swc.d.ts +5 -4
  1930. package/dist/phoenix/services/swc.js +2 -2
  1931. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  1932. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  1933. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  1934. package/dist/phoenix/services/telemetry/index.js +1 -0
  1935. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  1936. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  1937. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  1938. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  1939. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  1940. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  1941. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  1942. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  1943. package/dist/phoenix/services/variant-file-session.js +1 -1
  1944. package/dist/phoenix/services/vite-config.d.ts +2 -1
  1945. package/dist/phoenix/services/vite-config.js +1 -1
  1946. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  1947. package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
  1948. package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
  1949. package/dist/phoenix/utils/index.d.ts +3 -2
  1950. package/dist/phoenix/utils/index.js +1 -1
  1951. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  1952. package/dist/phoenix/utils/node-version/index.js +1 -0
  1953. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  1954. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  1955. package/dist/phoenix/utils/package-info.d.ts +0 -9
  1956. package/dist/phoenix/utils/package-info.js +1 -1
  1957. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  1958. package/dist/phoenix/utils/package-manager/index.js +1 -0
  1959. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  1960. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  1961. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  1962. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  1963. package/dist/phoenix/utils/run-command.d.ts +11 -0
  1964. package/dist/phoenix/utils/run-command.js +1 -1
  1965. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  1966. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  1967. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  1968. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  1969. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +1 -1
  1970. package/dist/react-sdk/application-runtime/common-services/analytics/frontend-analytics.d.ts +52 -0
  1971. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  1972. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  1973. package/dist/react-sdk/application-runtime/common-services/index.d.ts +1 -0
  1974. package/dist/react-sdk/application-runtime/common-services/index.js +1 -1
  1975. package/dist/react-sdk/application-runtime/common-services/initialize.d.ts +2 -2
  1976. package/dist/react-sdk/application-runtime/common-services/selectors.d.ts +2 -0
  1977. package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
  1978. package/dist/react-sdk/application-runtime/common-services/webmcp/index.d.ts +3 -0
  1979. package/dist/react-sdk/application-runtime/common-services/webmcp/index.js +1 -0
  1980. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.d.ts +35 -0
  1981. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.js +1 -0
  1982. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.d.ts +44 -0
  1983. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.js +1 -0
  1984. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.d.ts +24 -0
  1985. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.js +1 -0
  1986. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.d.ts +7 -1
  1987. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.js +1 -1
  1988. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  1989. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.d.ts +6 -0
  1990. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.js +1 -1
  1991. package/dist/react-sdk/application-runtime/domain-application-context/domain-application-systems.d.ts +2 -2
  1992. package/dist/react-sdk/application-runtime/domain-application-context/selectors.d.ts +1 -3
  1993. package/dist/react-sdk/application-runtime/domain-application-context/selectors.js +1 -1
  1994. package/dist/react-sdk/application-runtime/hooks/index.d.ts +3 -0
  1995. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  1996. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  1997. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  1998. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  1999. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  2000. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  2001. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  2002. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  2003. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  2004. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  2005. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  2006. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  2007. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  2008. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  2009. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  2010. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  2011. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  2012. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +28 -0
  2013. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  2014. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  2015. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  2016. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  2017. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  2018. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +5 -0
  2019. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  2020. package/dist/react-sdk/application-runtime/hooks/use-environment.d.ts +7 -0
  2021. package/dist/react-sdk/application-runtime/hooks/use-environment.js +1 -1
  2022. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  2023. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  2024. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  2025. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  2026. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  2027. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  2028. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.d.ts +7 -0
  2029. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.js +1 -0
  2030. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  2031. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  2032. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  2033. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  2034. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  2035. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  2036. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  2037. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  2038. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  2039. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  2040. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  2041. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  2042. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  2043. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  2044. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  2045. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  2046. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  2047. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  2048. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  2049. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  2050. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  2051. package/dist/react-sdk/application-runtime/integration/integration-mode.d.ts +30 -0
  2052. package/dist/react-sdk/application-runtime/integration/integration-mode.js +1 -1
  2053. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  2054. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  2055. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  2056. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  2057. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  2058. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  2059. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  2060. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  2061. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  2062. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  2063. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  2064. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  2065. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  2066. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  2067. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  2068. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  2069. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  2070. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  2071. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +53 -0
  2072. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  2073. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  2074. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  2075. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  2076. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  2077. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  2078. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  2079. package/dist/react-sdk/application-runtime/responsive/types.d.ts +113 -0
  2080. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  2081. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  2082. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  2083. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +347 -22
  2084. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  2085. package/dist/react-sdk/application-runtime/session/actions.d.ts +2 -1
  2086. package/dist/react-sdk/application-runtime/session/actions.js +1 -1
  2087. package/dist/react-sdk/application-runtime/session/initialize.js +1 -1
  2088. package/dist/react-sdk/application-runtime/session/selectors.d.ts +2 -0
  2089. package/dist/react-sdk/application-runtime/session/selectors.js +1 -1
  2090. package/dist/react-sdk/application-runtime/session/session-service.d.ts +34 -1
  2091. package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
  2092. package/dist/react-sdk/application-runtime/session/session-token.d.ts +8 -0
  2093. package/dist/react-sdk/application-runtime/session/session-token.js +1 -1
  2094. package/dist/react-sdk/application-runtime/session/types.d.ts +6 -1
  2095. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.d.ts +11 -0
  2096. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  2097. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.d.ts +9 -0
  2098. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  2099. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  2100. package/dist/react-sdk/configurator-routing/index.js +1 -0
  2101. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.d.ts +11 -0
  2102. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  2103. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.d.ts +7 -0
  2104. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.js +1 -0
  2105. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.d.ts +14 -0
  2106. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.js +1 -0
  2107. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.d.ts +18 -0
  2108. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.js +1 -0
  2109. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.d.ts +5 -0
  2110. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.js +1 -0
  2111. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.d.ts +17 -0
  2112. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.js +1 -0
  2113. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.d.ts +5 -0
  2114. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.js +1 -0
  2115. package/dist/react-sdk/configurator-ui-elements/index.d.ts +6 -0
  2116. package/dist/react-sdk/configurator-ui-elements/index.js +1 -0
  2117. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  2118. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  2119. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  2120. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  2121. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  2122. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  2123. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  2124. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  2125. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  2126. package/dist/react-sdk/domain-application-context/index.js +1 -1
  2127. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  2128. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  2129. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  2130. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  2131. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +15 -4
  2132. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -1
  2133. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +3 -2
  2134. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +7 -2
  2135. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.js +1 -1
  2136. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  2137. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  2138. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  2139. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  2140. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  2141. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  2142. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  2143. package/dist/react-sdk/domain-context/index.d.ts +9 -1
  2144. package/dist/react-sdk/domain-context/index.js +1 -1
  2145. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  2146. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  2147. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +4 -0
  2148. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  2149. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
  2150. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
  2151. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.d.ts +2 -2
  2152. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  2153. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  2154. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  2155. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
  2156. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  2157. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  2158. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  2159. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  2160. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  2161. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  2162. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  2163. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  2164. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  2165. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  2166. package/dist/react-sdk/domain-controls/ChildEntityCardSelector.d.ts +2 -3
  2167. package/dist/react-sdk/domain-controls/ChildEntityListSelector.d.ts +2 -3
  2168. package/dist/react-sdk/domain-controls/ChildEntityToggleSelector.d.ts +2 -3
  2169. package/dist/react-sdk/domain-controls/hooks/use-cook-replace-recipes.d.ts +3 -3
  2170. package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
  2171. package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
  2172. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  2173. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  2174. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  2175. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  2176. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  2177. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  2178. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  2179. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  2180. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  2181. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  2182. package/dist/react-sdk/handlers/index.d.ts +6 -0
  2183. package/dist/react-sdk/handlers/index.js +1 -1
  2184. package/dist/react-sdk/handlers/use-finalize-action.d.ts +32 -0
  2185. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  2186. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  2187. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  2188. package/dist/react-sdk/index.d.ts +9 -0
  2189. package/dist/react-sdk/index.js +1 -1
  2190. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  2191. package/dist/react-sdk/integration/index.d.ts +1 -0
  2192. package/dist/react-sdk/integration/index.js +1 -0
  2193. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  2194. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  2195. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  2196. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  2197. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  2198. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  2199. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  2200. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  2201. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  2202. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  2203. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  2204. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  2205. package/dist/react-sdk/loading-state/index.js +1 -1
  2206. package/dist/react-sdk/loading-state/loading-state-hooks.d.ts +22 -0
  2207. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  2208. package/dist/react-sdk/notifications/index.d.ts +1 -0
  2209. package/dist/react-sdk/notifications/index.js +1 -0
  2210. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  2211. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  2212. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  2213. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  2214. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  2215. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  2216. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  2217. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  2218. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  2219. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  2220. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  2221. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  2222. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  2223. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  2224. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  2225. package/dist/react-sdk/page-elements/index.js +1 -0
  2226. package/dist/react-sdk/preset-selection/PresetSelectionProvider.d.ts +63 -0
  2227. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  2228. package/dist/react-sdk/preset-selection/PresetWebMcpTools.d.ts +14 -0
  2229. package/dist/react-sdk/preset-selection/PresetWebMcpTools.js +1 -0
  2230. package/dist/react-sdk/preset-selection/index.d.ts +2 -0
  2231. package/dist/react-sdk/preset-selection/index.js +1 -0
  2232. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.d.ts +31 -0
  2233. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.js +1 -0
  2234. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.d.ts +11 -0
  2235. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.js +1 -0
  2236. package/dist/react-sdk/provider-slots/configurator-provider-slot.d.ts +24 -0
  2237. package/dist/react-sdk/provider-slots/configurator-provider-slot.js +1 -0
  2238. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.d.ts +5 -0
  2239. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.js +1 -0
  2240. package/dist/react-sdk/provider-slots/index.d.ts +3 -0
  2241. package/dist/react-sdk/provider-slots/index.js +1 -0
  2242. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  2243. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  2244. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  2245. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  2246. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  2247. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  2248. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  2249. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  2250. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  2251. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  2252. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  2253. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  2254. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  2255. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  2256. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  2257. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  2258. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  2259. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  2260. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  2261. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  2262. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  2263. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  2264. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  2265. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  2266. package/dist/react-sdk/session/AccessDeniedAdminPage.d.ts +13 -0
  2267. package/dist/react-sdk/session/AccessDeniedAdminPage.js +1 -0
  2268. package/dist/react-sdk/session/AccessDeniedPage.d.ts +20 -0
  2269. package/dist/react-sdk/session/AccessDeniedPage.js +1 -0
  2270. package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
  2271. package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
  2272. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  2273. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  2274. package/dist/react-sdk/session/SessionServiceProvider.d.ts +10 -0
  2275. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  2276. package/dist/react-sdk/session/index.d.ts +3 -0
  2277. package/dist/react-sdk/session/index.js +1 -1
  2278. package/dist/react-sdk/session/sign-in-address.d.ts +13 -0
  2279. package/dist/react-sdk/session/sign-in-address.js +1 -0
  2280. package/dist/react-sdk/session/studio-frame.d.ts +7 -0
  2281. package/dist/react-sdk/session/studio-frame.js +1 -0
  2282. package/dist/react-sdk/session/use-sign-in.d.ts +50 -0
  2283. package/dist/react-sdk/session/use-sign-in.js +1 -0
  2284. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  2285. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  2286. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  2287. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  2288. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  2289. package/dist/ui-sdk/components/numerical-input/InputField.d.ts +2 -0
  2290. package/dist/ui-sdk/components/numerical-input/InputField.js +1 -1
  2291. package/dist/ui-sdk/components/numerical-input/NumericalInput.d.ts +2 -2
  2292. package/dist/ui-sdk/components/numerical-input/Slider.d.ts +3 -1
  2293. package/dist/ui-sdk/components/numerical-input/Slider.js +1 -1
  2294. package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
  2295. package/dist/ui-sdk/components/preview/Preview.js +2 -2
  2296. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +27 -5
  2297. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  2298. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
  2299. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
  2300. package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
  2301. package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
  2302. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
  2303. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
  2304. package/dist/ui-sdk/icons/__generated/ChatCircleText.d.ts +3 -0
  2305. package/dist/ui-sdk/icons/__generated/ChatCircleText.js +1 -0
  2306. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  2307. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  2308. package/dist/ui-sdk/icons/__generated/Microphone.d.ts +3 -0
  2309. package/dist/ui-sdk/icons/__generated/Microphone.js +1 -0
  2310. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.d.ts +3 -0
  2311. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.js +1 -0
  2312. package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
  2313. package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
  2314. package/dist/ui-sdk/icons/__generated/PencilSimpleLine.d.ts +3 -0
  2315. package/dist/ui-sdk/icons/__generated/PencilSimpleLine.js +1 -0
  2316. package/dist/ui-sdk/icons/__generated/SpeakerHigh.d.ts +3 -0
  2317. package/dist/ui-sdk/icons/__generated/SpeakerHigh.js +1 -0
  2318. package/dist/ui-sdk/icons/__generated/SpeakerSlash.d.ts +3 -0
  2319. package/dist/ui-sdk/icons/__generated/SpeakerSlash.js +1 -0
  2320. package/dist/ui-sdk/icons/__generated/Stop.d.ts +3 -0
  2321. package/dist/ui-sdk/icons/__generated/Stop.js +1 -0
  2322. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  2323. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  2324. package/dist/ui-sdk/icons/__generated/index.d.ts +20 -0
  2325. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  2326. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  2327. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  2328. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  2329. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  2330. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  2331. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  2332. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  2333. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  2334. package/dist/ui-sdk/theme/types.d.ts +3 -3
  2335. package/dist/watch/glob-matcher.d.ts +4 -4
  2336. package/dist/watch/glob-matcher.js +1 -1
  2337. package/dist/watch/watch.d.ts +4 -4
  2338. package/dist/watch/watch.js +1 -1
  2339. package/dist/webhook/builders/auth-handler-builder.d.ts +24 -1
  2340. package/dist/webhook/builders/auth-handler-builder.js +1 -1
  2341. package/dist/webhook/builders/common.d.ts +14 -3
  2342. package/dist/webhook/builders/webhook-builder.d.ts +18 -0
  2343. package/dist/webhook/builders/webhook-builder.js +1 -1
  2344. package/package.json +37 -12
  2345. package/schema/domain-spec.json +742 -61
  2346. package/dist/application-spec/caching/runtime-reference-store.d.ts +0 -50
  2347. package/dist/application-spec/caching/runtime-reference-store.js +0 -1
  2348. package/dist/application-spec/core/components/component-filter.d.ts +0 -53
  2349. package/dist/application-spec/core/components/index.d.ts +0 -2
  2350. package/dist/application-spec/core/expressions/index.d.ts +0 -2
  2351. package/dist/application-spec/core/expressions/relation-expression-params.d.ts +0 -11
  2352. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  2353. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  2354. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  2355. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  2356. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.d.ts +0 -1
  2357. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +0 -1
  2358. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.d.ts +0 -3
  2359. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +0 -166
  2360. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.d.ts +0 -1
  2361. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +0 -54
  2362. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.d.ts +0 -1
  2363. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +0 -115
  2364. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.d.ts +0 -13
  2365. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +0 -1
  2366. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +0 -1
  2367. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +0 -6
  2368. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +0 -28
  2369. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +0 -1
  2370. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +0 -27
  2371. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +0 -1
  2372. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +0 -8
  2373. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +0 -40
  2374. package/dist/application-spec/generate-application/runtime/application-runtime.js +0 -1
  2375. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +0 -30
  2376. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +0 -1
  2377. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +0 -36
  2378. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +0 -1
  2379. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +0 -11
  2380. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +0 -43
  2381. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +0 -13
  2382. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +0 -1
  2383. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +0 -16
  2384. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +0 -1
  2385. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.d.ts +0 -2
  2386. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +0 -1
  2387. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +0 -53
  2388. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +0 -1
  2389. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.d.ts +0 -14
  2390. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +0 -10
  2391. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +0 -7
  2392. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +0 -1
  2393. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +0 -7
  2394. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +0 -1
  2395. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +0 -33
  2396. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +0 -1
  2397. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +0 -13
  2398. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +0 -46
  2399. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +0 -1
  2400. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +0 -29
  2401. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +0 -1
  2402. package/dist/application-spec/generate-application/runtime/sections/index.d.ts +0 -10
  2403. package/dist/application-spec/generate-application/runtime/sections/index.js +0 -1
  2404. package/dist/application-spec/generate-application/runtime/sections/preset-runtime.d.ts +0 -20
  2405. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +0 -8
  2406. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +0 -1
  2407. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +0 -10
  2408. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +0 -19
  2409. package/dist/application-spec/parse-application-files/spec/components/component-entry.d.ts +0 -90
  2410. package/dist/application-spec/parse-application-files/spec/expressions/expression.d.ts +0 -43
  2411. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.d.ts +0 -17
  2412. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.js +0 -1
  2413. package/dist/configurator/common/frontend-analytics.d.ts +0 -48
  2414. package/dist/configurator/common/use-finalize-action.d.ts +0 -31
  2415. package/dist/configurator/common/use-finalize-action.js +0 -1
  2416. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  2417. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  2418. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  2419. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  2420. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  2421. package/dist/configurator/configurator-context/PresetSelectionProvider.d.ts +0 -52
  2422. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  2423. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  2424. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  2425. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.d.ts +0 -11
  2426. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  2427. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.d.ts +0 -10
  2428. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  2429. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  2430. package/dist/configurator/configurator-context/configurator-routing/index.js +0 -1
  2431. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.d.ts +0 -9
  2432. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  2433. package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +0 -5
  2434. package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +0 -1
  2435. package/dist/configurator/ui/assistant/theme.d.ts +0 -2
  2436. package/dist/configurator/ui/assistant/theme.js +0 -1
  2437. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  2438. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  2439. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  2440. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  2441. package/dist/domain/application/assistant/assistant-manifest.d.ts +0 -71
  2442. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +0 -131
  2443. package/dist/domain/available-system-components.d.ts +0 -11
  2444. package/dist/domain/available-system-components.js +0 -1
  2445. package/dist/domain/core/action/action-factory.d.ts +0 -11
  2446. package/dist/domain/domain-builder.d.ts +0 -40
  2447. package/dist/domain/domain-builder.js +0 -1
  2448. package/dist/domain/domain-context/action-system/action-system.d.ts +0 -38
  2449. package/dist/domain/domain-context/action-system/action-system.js +0 -1
  2450. package/dist/domain/domain-context/action-system/index.d.ts +0 -1
  2451. package/dist/domain/domain-context/action-system/index.js +0 -1
  2452. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +0 -11
  2453. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +0 -19
  2454. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +0 -1
  2455. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +0 -110
  2456. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +0 -1
  2457. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +0 -8
  2458. package/dist/domain/domain-runtime/spec/module-checks/index.js +0 -1
  2459. package/dist/domain/domain-runtime/spec/module-checks/project-modules.d.ts +0 -32
  2460. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +0 -1
  2461. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.d.ts +0 -4
  2462. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.js +0 -1
  2463. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.d.ts +0 -4
  2464. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +0 -15
  2465. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +0 -1
  2466. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.d.ts +0 -22
  2467. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +0 -1
  2468. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.d.ts +0 -6
  2469. package/dist/domain/domain-runtime/spec/prepare-action-implementations.d.ts +0 -15
  2470. package/dist/domain/domain-runtime/spec/prepare-action-implementations.js +0 -5
  2471. package/dist/domain/extensions/client-side-image.d.ts +0 -14
  2472. package/dist/domain/extensions/client-side-image.js +0 -1
  2473. package/dist/domain/extensions/save-template-thumbnail.d.ts +0 -14
  2474. package/dist/domain/extensions/save-template-thumbnail.js +0 -1
  2475. package/dist/domain/extensions/view-controls.d.ts +0 -25
  2476. package/dist/domain/extensions/view-controls.js +0 -1
  2477. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  2478. package/dist/phoenix/commands/generate-project-files.js +0 -1
  2479. package/dist/phoenix/commands/generated-env-markers.d.ts +0 -7
  2480. package/dist/phoenix/commands/generated-env-markers.js +0 -1
  2481. package/dist/phoenix/services/lingui.d.ts +0 -7
  2482. package/dist/phoenix/services/lingui.js +0 -1
  2483. package/dist/phoenix/services/phoenix-application.d.ts +0 -21
  2484. package/dist/phoenix/services/phoenix-application.js +0 -1
  2485. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  2486. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  2487. package/dist/react-sdk/loading-state/LoadingStateProvider.d.ts +0 -31
  2488. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  2489. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  2490. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  2491. /package/dist/application-spec/{core/expressions/relation-expression-params.js → parse-application-files/access/analyzed-file.js} +0 -0
  2492. /package/dist/application-spec/parse-application-files/spec/{components/component-entry.js → expressions/expression-read.js} +0 -0
  2493. /package/dist/{domain/domain-runtime/domain-context → configurator/application-runtime/extensions/systems/action-system}/action-context.js +0 -0
  2494. /package/dist/{domain/core/action → configurator/application-runtime/extensions/systems/action-system}/action-factory.js +0 -0
  2495. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → configurator/application-runtime/extensions/systems/action-system/action.js} +0 -0
  2496. /package/dist/{domain/application/assistant/assistant-manifest.js → configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.js} +0 -0
  2497. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  2498. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  2499. /package/dist/{application-spec/core → domain/spec}/components/component-filter.js +0 -0
  2500. /package/dist/{application-spec/core → domain/spec}/components/index.js +0 -0
  2501. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.d.ts +0 -0
  2502. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.js +0 -0
  2503. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.d.ts +0 -0
  2504. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.js +0 -0
  2505. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.d.ts +0 -0
  2506. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.js +0 -0
  2507. /package/dist/domain/{domain-runtime → spec}/errors/index.d.ts +0 -0
  2508. /package/dist/domain/{domain-runtime → spec}/errors/index.js +0 -0
  2509. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.d.ts +0 -0
  2510. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.js +0 -0
  2511. /package/dist/{application-spec/core → domain/spec}/expressions/index.js +0 -0
  2512. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.d.ts +0 -0
  2513. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.js +0 -0
  2514. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  2515. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  2516. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  2517. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  2518. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.d.ts +0 -0
  2519. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.js +0 -0
  2520. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.js +0 -0
  2521. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.js +0 -0
  2522. /package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.js +0 -0
  2523. /package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.js +0 -0
  2524. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.js +0 -0
  2525. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.d.ts +0 -0
  2526. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.js +0 -0
  2527. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.d.ts +0 -0
  2528. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.js +0 -0
  2529. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.js +0 -0
  2530. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.js +0 -0
  2531. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.js +0 -0
  2532. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.js +0 -0
  2533. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.js +0 -0
  2534. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.js +0 -0
  2535. /package/dist/domain/{application/assistant/assistant-resolved-manifest.js → spec/sections/assistant/assistant-manifest.js} +0 -0
  2536. /package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.js +0 -0
  2537. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  2538. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  2539. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
@@ -10,54 +10,62 @@
10
10
  - [Dynamic Resources Factory](#dynamic-resources-factory)
11
11
  - [Backend Data Handler](#backend-data-handler)
12
12
 
13
- To support project specific finalization workflows, authentication and custom integrations, platform provides a way to define webhooks.
14
- These webhooks are deployed on aws lambda and can be triggered by specific platform triggers. Currently we support three types of webhooks.
13
+ To support project specific finalization workflows, authentication and custom integrations, the platform runs a project webhook: one bundle, deployed as a cloud function (AWS Lambda), that the platform calls for these operations:
15
14
 
16
- - Configurator Finalization
17
- - Admin Finalization
18
- - Auth Hook
15
+ - **auth** - creating or refreshing a configurator session ([Auth Hook](#auth-hook))
16
+ - **fetchBackendData** - server-side data for the configurator ([Backend Data Handler](#backend-data-handler))
17
+ - **finalize** - configurator finalization ([Configurator Finalization](#configurator-finalization)) and Admin finalization when an admin publishes from Project Admin ([Admin Finalization](#admin-finalization))
18
+ - **callback** - the result of a configurator finalization ([Callback Hook / Result](#callback-hook--result))
19
+ - **assistantSetup** - the assistant's setup for a session, when the spec configures the assistant ([Per-session Setup](?path=/docs/phoenix-assistant-per-session-setup--docs))
20
+
21
+ Under `phoenix dev` the webhook runs on the developer's machine, and the platform reaches it through the development webhook tunnel instead of the cloud function.
19
22
 
20
23
  ## Webhook builders
21
24
 
22
- Phoenix provides domain-aware builders through the global `phx.webhooks` namespace. These are automatically generated from your `spec/application.yaml` configuration and available without imports.
25
+ Phoenix provides domain-aware builders through the global `phx.webhooks` namespace. These are automatically generated from your spec into `.phoenix/webhook-builders.ts` and available without imports.
23
26
 
24
27
  **Available builders and factories:**
25
28
 
26
- - `phx.webhooks.webhookBuilder` - Main webhook builder for composing handlers
27
- - `phx.webhooks.finalizeHandlerBuilder` - Configurator finalization handler builder
28
- - `phx.webhooks.adminFinalizeHandlerBuilder` - Admin finalization handler builder
29
- - `phx.webhooks.authHandlerBuilder` - Authentication handler builder
29
+ - `phx.webhooks.authHandlerBuilder` - Deprecated authentication handler builder (see [Auth Hook](#auth-hook))
30
+ - `phx.webhooks.webhookBuilder` - Main webhook builder for composing handlers: `withFetchBackendData`, `withConfiguratorFinalize`, `withConfigurationInsights`, the deprecated `withAuthHook`, and `build()`. The [Precision demo](https://github.com/salsita/configurator-phoenix/blob/develop/packages/demos/demo-precision/README.md#saved-configuration-insights) shows how to publish expressions with `withConfigurationInsights`.
30
31
  - `phx.webhooks.taskFactory` - Factory for creating finalization tasks
32
+ - `phx.webhooks.finalizeHandlerBuilder` - Configurator finalization handler builder; pass its `build()` result to `withConfiguratorFinalize`
31
33
  - `phx.webhooks.callbackBuilder` - Builder for callback handlers
32
34
  - `phx.webhooks.prefetchBuilder` - Builder for prefetch handlers
33
35
  - `phx.webhooks.dynamicResourcesFactory` - Factory for dynamic resource creation
34
36
 
37
+ There is no builder for Admin finalization: the SDK builds it itself (see [Admin Finalization](#admin-finalization)).
38
+
35
39
  ### Webhook Entry Point
36
40
 
37
- Your webhook is the default export of `src/webhooks/index.ts`. With the application-spec pipeline (see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), the file is yours to create; sync does not write it. A project without it gets a built-in webhook, so it builds and deploys with no webhook code. The built-in webhook has one handler, an anonymous auth handler, which the platform calls only when `spec/application.yaml` sets `useAuthHook`. The legacy pipeline writes the file with that webhook on the first sync.
41
+ Your webhook is the default export of `src/webhooks/index.ts`. With the application-spec pipeline (see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), the file is yours to create; sync does not write it. A project without it gets a built-in webhook, so it builds and deploys with no webhook code. The legacy pipeline writes the file with an anonymous-only webhook on the first sync.
42
+
43
+ With or without the file, the `access` mode in `spec/application.yaml` builds the auth hook, so the project writes no sign-in code:
38
44
 
39
- Create `src/webhooks/index.ts` when the project needs its own handlers: finalization, backend data, or an auth handler that does more than start an anonymous session. A project that sets `useAuthHook` or `useClerk` needs its own auth handler, because the built-in one answers only anonymous requests. The smallest file is the built-in webhook itself:
45
+ - `public`, `invited` and `public-with-sign-in` sign people in with Studio accounts. `invited` refuses visitors; the other two let them in.
46
+ - `legacy-clerk` signs people in with the built-in Clerk handlers and lets visitors in.
47
+ - `custom` has no built-in sign-in: the project's own code, refresh and anonymous handlers decide every role.
48
+
49
+ Files in `src/handlers/` customise that hook (see [Auth Hook](#auth-hook)): a chunk scopes handler in every mode, a visitor handler in `public` and `public-with-sign-in`, a signed-in handler in `invited` and `public-with-sign-in`, and code, refresh and anonymous handlers in `custom`. With `access: custom` and neither `src/webhooks/index.ts` nor one of those three handler files, sync, build, clean and dev report `AUTH_WITHOUT_PROJECT_WEBHOOK`, because every session would fail.
50
+
51
+ Create `src/webhooks/index.ts` when the project needs its own handlers: finalization, backend data or configuration insights. The smallest file is the built-in webhook itself:
40
52
 
41
53
  ```ts
42
54
  // src/webhooks/index.ts
43
- const authHandler = phx.webhooks.authHandlerBuilder
44
- .withAnonymousHandler(async () => ({ success: true, data: {}, role: 'anonymous' }))
45
- .build()
46
-
47
- export default phx.webhooks.webhookBuilder.withAuthHook(authHandler).build()
55
+ export default phx.webhooks.webhookBuilder.build()
48
56
  ```
49
57
 
50
- The next `phoenix sync` or `phoenix build`, or the rebuild of a running `phoenix dev`, uses the file; deleting it brings the built-in webhook back. A webhook needs at least one handler, and a project with any other file in `src/webhooks/` must have `index.ts`.
58
+ The next `phoenix sync` or `phoenix build`, or the rebuild of a running `phoenix dev`, uses the file; deleting it brings the built-in webhook back. A project with any other file in `src/webhooks/` must have `index.ts`.
59
+
60
+ Only `src/webhooks/index.ts` is imported: other files in `src/webhooks/` run only when it imports them. Sync generates the rest: `.phoenix/webhook.ts` (the bundle's entry, which exports your webhook or the built-in one), `.phoenix/webhook-builders.ts` (the `phx.webhooks` builders) and `.phoenix/webhooks.config.ts` (the reader of [environment variables](#environment-variables)).
51
61
 
52
62
  A webhook with more handlers:
53
63
 
54
64
  ```ts
55
65
  // src/webhooks/index.ts
56
- import { authHandler } from './handlers/auth-handler.js'
57
66
  import { configuratorFinalizeHandler } from './handlers/configurator-finalize-handler/configurator-finalize-handler.js'
58
67
 
59
68
  export default phx.webhooks.webhookBuilder
60
- .withAuthHook(authHandler)
61
69
  .withConfiguratorFinalize(configuratorFinalizeHandler)
62
70
  .withFetchBackendData(async ({ frontendData }, { logger }) => {
63
71
  logger.info('Fetching backend data')
@@ -80,16 +88,35 @@ Environment variables for webhooks are defined in `spec/application.yaml` under
80
88
  # spec/application.yaml
81
89
  env:
82
90
  webhook:
83
- EMAIL_TO:
84
- type: email
91
+ CRM_API_URL:
92
+ type: url
93
+ required: true
94
+ devDefault: http://localhost:4000
95
+ CRM_API_TOKEN:
96
+ type: str
97
+ required: true
85
98
  EMAIL_FROM:
86
- type: email
99
+ type: str
100
+ default: configurator@example.com
101
+ WOOCOMMERCE_SHOP_URL:
102
+ type: url
103
+ WOOCOMMERCE_API_KEY:
104
+ type: str
87
105
  GOOGLE_SPREADSHEET_ID:
88
106
  type: str
89
- GOOGLE_SERVICE_ACCOUNT_KEY:
107
+ GOOGLE_SERVICE_ACCOUNT_JSON:
90
108
  type: str
91
109
  ```
92
110
 
111
+ Each entry accepts only these keys:
112
+
113
+ - `type` - `bool`, `str`, `num` or `url`
114
+ - `default` - the value when the variable is not set
115
+ - `devDefault` - the value when the variable is not set under `phoenix dev`, which builds the webhook outside production
116
+ - `required` - `true` when the variable must be set
117
+
118
+ A variable that is neither required nor defaulted is `undefined` when it is not set, so code checks it before use.
119
+
93
120
  ### Using Environment Variables
94
121
 
95
122
  Environment variables are available through the `phx.webhooksEnv` global:
@@ -97,11 +124,11 @@ Environment variables are available through the `phx.webhooksEnv` global:
97
124
  ```ts
98
125
  // src/webhooks/handlers/some-handler.ts
99
126
  const GOOGLE_SPREADSHEET_ID = phx.webhooksEnv.GOOGLE_SPREADSHEET_ID
100
- const GOOGLE_SERVICE_ACCOUNT_KEY = phx.webhooksEnv.GOOGLE_SERVICE_ACCOUNT_KEY
127
+ const GOOGLE_SERVICE_ACCOUNT_JSON = phx.webhooksEnv.GOOGLE_SERVICE_ACCOUNT_JSON
101
128
  ```
102
129
 
103
- These variables are automatically injected from the project's parameter store in the CI pipeline and are built into the bundled lambda code deployed to AWS.
104
- They cannot be changed after deployment - redeployment is required to update them.
130
+ The values are inlined into the webhook bundle when it is built, so a changed value takes effect only after a restart of `phoenix dev`, or a new deploy on a deployed environment.
131
+ Deployed builds take the values from the environment variables a workspace or project Superadmin sets in Studio (see [SDK Builder Workflow](?path=/docs/phoenix-sdk-builder-workflow--docs)); `phoenix dev` reads them from the project's `.env`.
105
132
 
106
133
  ## Configurator Finalization
107
134
 
@@ -177,7 +204,7 @@ Additionally, tasks receive:
177
204
  - `prefetchedData`: Results from [prefetch handlers](#prefetch-tasks), if configured
178
205
  - `backendData`: Server-side data from [backend data handlers](#backend-data-handler), if configured
179
206
 
180
- Before the task is executed, the domain state is validated using the configurator's domain and its violations. If any violations are found (warning level and up), the task is not executed and the error is returned to the client.
207
+ Before the task is executed, the domain state is validated using the configurator's domain and its violations. If any violations are found (warning level and up), the task is not executed and the finalization fails; the client learns only that it failed, and the reason is in the webhook's log.
181
208
 
182
209
  #### Task Context
183
210
 
@@ -207,26 +234,28 @@ export interface TaskContext<
207
234
 
208
235
  #### Static assets
209
236
 
210
- Some tasks may need access to static assets, like logos, fonts, scripts, blender files, etc... The deployment client allows to upload public and private assets.
211
- To make these assets available to the tasks, put them in `/assets/private` and `/assets/public` folders respectively.
237
+ Some tasks may need access to static assets, like logos, fonts, scripts, blender files, etc...
238
+ Put files only the server uses (Blender templates, models, render scripts) in `/assets/private`, and files that must be reachable by URL (logos, fonts) in `/assets/public`. Both folders are uploaded with the deployment; a task resolves a public file's URL with `ctx.getPublicAssetUrl(path)`.
212
239
 
213
240
  ### Task execution order
214
241
 
215
- The webhook finalization follows a specific execution order to ensure proper data flow and resource availability:
242
+ The webhook prepares the finalization, then the platform runs its tasks:
216
243
 
217
- 1. **Backend Data Handler** (if configured) - Fetches server-side data
244
+ 1. **Backend Data Handler** (if configured) - The webhook runs it again before every configurator finalization; a failure fails the finalization
218
245
  2. **Prefetch Handler** (if configured) - Data preparation and external system setup
219
- 3. **Task execution in fixed order** - Tasks run sequentially to allow resource reuse:
220
- - GenerateConfigurationLinkTask / PublishRevisionTask
221
- - GenerateImages
222
- - GenerateCsv
223
- - GeneratePdf
224
- - SendEmail
225
- - SendHttpRequest
226
- - WooCommerceAddToCart
227
- - EditGoogleSpreadsheet
228
- 4. **Callback Handler** (if configured) - Process results and return final response
229
- 5. **Result** - Final response returned to client
246
+ 3. **Task collection** - The webhook calls the `withTask` and `withResources` handlers and returns the tasks and resources to the platform
247
+ 4. **Task execution by type** - The server runs tasks by type, not in `withTask` order. Tasks of one type run in parallel, except server renders, which the rendering worker takes one at a time:
248
+ 1. As child jobs: `GenerateConfigurationLink` (and the `Publish*` tasks of Admin finalization) on the server, and `GenerateImages` on the rendering worker
249
+ 2. Then, on the finalize worker: `GenerateCsv`, then `GeneratePdf` and `GenerateStaticPdf`
250
+ 3. The generated PDFs and CSVs are uploaded to their `s3Key` - only when the finalization also has a `CallLambdaBack` or `WooCommerceAddToCart` task
251
+ 4. `SendEmail` and `SendStaticEmail`
252
+ 5. `SendHttpRequest`
253
+ 6. `WooCommerceAddToCart`
254
+ 7. `EditGoogleSpreadsheet`
255
+ 8. `CallLambdaBack` - the [callback](#callback-hook--result), last
256
+ 5. **Result** - The callback's result is returned to the client; without a callback the client receives no result
257
+
258
+ So a PDF or an email can use the links and rendered images, and an email can attach the generated PDFs and CSVs. Nothing is retried or rolled back: when a task fails, the finalization fails and what already ran stays done.
230
259
 
231
260
  ### GenerateConfigurationLink Task
232
261
 
@@ -698,11 +727,26 @@ To avoid sending real emails through SES during local development, set the `EMAI
698
727
 
699
728
  ### SendHttpRequest Task
700
729
 
701
- Sends a HTTP request to the provided URL.
730
+ Sends an HTTP request to the provided URL with `method` (`GET` by default), `headers` and a string `body`. A body needs a method other than `GET`. An answer outside 2xx fails the finalization; there is no timeout and no retry.
702
731
 
703
- TODO: Provide a simple example
732
+ Following example shows a task that posts the configuration to a CRM, with the URL and token from [environment variables](#environment-variables):
704
733
 
705
- Following example shows a simple task that sends a HTTP request to the provided URL.
734
+ ```ts
735
+ // src/webhooks/handlers/configurator-finalize-handler/tasks/crm-quote-task.ts
736
+ export const crmQuoteTask = phx.webhooks.taskFactory.createSendHttpRequestTask((_resources, data, ctx) => {
737
+ const chair = ctx.domain.getRoot$Entity(data.state)
738
+
739
+ return {
740
+ type: 'SendHttpRequest',
741
+ url: `${phx.webhooksEnv.CRM_API_URL}/quotes`,
742
+ method: 'POST',
743
+ headers: { authorization: `Bearer ${phx.webhooksEnv.CRM_API_TOKEN}`, 'content-type': 'application/json' },
744
+ body: JSON.stringify({ configurationId: data.configurationId, model: chair.label }),
745
+ }
746
+ })
747
+ ```
748
+
749
+ Full definition of the task is defined in the `SendHttpRequestTask` type.
706
750
 
707
751
  ```ts
708
752
  /**
@@ -729,11 +773,52 @@ export interface SendHttpRequestTask {
729
773
  }
730
774
  ```
731
775
 
732
- ### WoocommerceAddToCart Task
776
+ ### WooCommerceAddToCart Task
733
777
 
734
778
  Adds the configured product to a WooCommerce cart. This task is part of the WooCommerce integration, which also requires the WordPress plugin —
735
- see [Integrations / WooCommerce / Overview](/docs/integrations-woocommerce-overview--docs) for the full picture and
736
- [Integrations / WooCommerce / Local Development](/docs/integrations-woocommerce-local-development--docs) for a local setup guide.
779
+ see [Integrations / WooCommerce / Overview](?path=/docs/integrations-woocommerce-overview--docs) for the full picture and
780
+ [Integrations / WooCommerce / Local Development](?path=/docs/integrations-woocommerce-local-development--docs) for a local setup guide.
781
+
782
+ The task takes:
783
+
784
+ - `items` - each with a `product`, and optionally `productName`, `productDescription`, `price`, `quantity`, `image` (the name of a declared `Image` resource, not a URL), `customData` and `resources` listed in the order as `{ type, name, label }`
785
+ - `fees` - optional, each `{ type: 'Flat' | 'Percentage', name, amount, taxable?, taxClass? }`
786
+ - `session` and `addToCartUrl` - the Phoenix WordPress plugin puts `session` and a relative `add-to-cart-url` as attributes on the configurator tag; the configurator passes both unchanged in the finalize data. The task's `addToCartUrl` must be absolute, and the platform sends the API key to it, so the webhook builds it from the shop's URL in a webhook environment variable and refuses any other origin: a URL taken from the browser as-is would let anyone have the key sent to a server of their choosing
787
+ - `apiKey` - the key configured in the plugin, kept in a webhook environment variable
788
+
789
+ The example assumes `cartSession` and `addToCartUrl` in the `finalizeData` schema and skips the task when the configurator does not run in the shop:
790
+
791
+ ```ts
792
+ // src/webhooks/handlers/configurator-finalize-handler/tasks/cart-task.ts
793
+ export const cartTask = phx.webhooks.taskFactory.createWooCommerceAddToCartTask((resources, data, ctx) => {
794
+ const { cartSession, addToCartUrl } = data.finalizeData
795
+ const shopUrl = phx.webhooksEnv.WOOCOMMERCE_SHOP_URL
796
+ const apiKey = phx.webhooksEnv.WOOCOMMERCE_API_KEY
797
+
798
+ if (cartSession === undefined || addToCartUrl === undefined || shopUrl === undefined || apiKey === undefined) {
799
+ return null
800
+ }
801
+
802
+ // The platform sends the API key to this URL, so it may only point at the shop
803
+ const cartEndpoint = new URL(addToCartUrl, shopUrl)
804
+
805
+ if (cartEndpoint.origin !== new URL(shopUrl).origin) {
806
+ throw new Error(
807
+ `The add-to-cart URL ${addToCartUrl} is not on the shop ${shopUrl}. Pass the plugin's add-to-cart-url unchanged.`
808
+ )
809
+ }
810
+
811
+ const chair = ctx.domain.getRoot$Entity(data.state)
812
+
813
+ return {
814
+ type: 'WooCommerceAddToCart',
815
+ session: cartSession,
816
+ addToCartUrl: cartEndpoint.href,
817
+ apiKey,
818
+ items: [{ product: 'custom-chair', productName: chair.label, quantity: 1, image: resources.simpleImage }],
819
+ }
820
+ })
821
+ ```
737
822
 
738
823
  ### EditGoogleSpreadsheet Task
739
824
 
@@ -743,8 +828,8 @@ Google spreadsheet and share it with a service account created for this purpose.
743
828
 
744
829
  For details on how to create a service account, see the [official documentation](https://cloud.google.com/iam/docs/service-accounts-create).
745
830
 
746
- To edit the spreadsheet, the lambda returns a `EditGoogleSpreadsheetTask` object in tasks. The lambda specifies the
747
- service account key (content of credentials json file), the id of the spreadsheet (from url), and an array of edits to make to the spreadsheet.
831
+ To edit the spreadsheet, the webhook returns an `EditGoogleSpreadsheetTask` object in tasks. The task specifies the
832
+ service account key (the parsed content of the credentials JSON file), the id of the spreadsheet (from its URL), and an array of edits to make to the spreadsheet.
748
833
 
749
834
  ```ts
750
835
  export interface EditGoogleSpreadsheetTask {
@@ -772,19 +857,21 @@ There are currently two types of edit mode available:
772
857
  - **overwrite** overwrite the contents of one or more ranges of cells in the spreadsheet
773
858
  - **append** append new rows of cells
774
859
 
775
- Within each edit, the lambda provides one or more operations to perform. Each operation relates to a single range of cells and their corresponding new values.
860
+ Within each edit, the task provides one or more operations to perform. Each operation relates to a single range of cells and their corresponding new values.
776
861
 
777
862
  ```ts
863
+ export type GoogleSpreadsheetCellValue = string | number | boolean | { type: 'ConfigurationLink'; name: string }
864
+
778
865
  export interface GoogleSpreadsheetEdit {
779
866
  /**
780
867
  * Ranges of cells to edit
781
868
  */
782
- ranges: Record<string, Array<Array<string | number | boolean>>>
869
+ ranges: Record<string, GoogleSpreadsheetCellValue[][]>
783
870
 
784
871
  /**
785
872
  * Edit mode
786
873
  */
787
- mode: GoogleSpreadsheetEditMode
874
+ mode: 'append' | 'overwrite'
788
875
  }
789
876
  ```
790
877
 
@@ -793,51 +880,62 @@ The operations are stored in the `ranges` property. The keys represent reference
793
880
  In append mode, the key represents the range of columns that the appended row or rows will span. Cells in the given range are scanned, and data is inserted into the first row where all cells in the range of that row and all subsequent rows are empty.
794
881
 
795
882
  The values are two dimensional arrays of corresponding cell content to write. The major dimension is always 'rows'. That means
796
- that the outer array represents rows and the inner arrays represent cells arranged in columns.
883
+ that the outer array represents rows and the inner arrays represent cells arranged in columns. A cell is a string, number or boolean, written exactly as given (raw, not parsed as a formula), or `{ type: 'ConfigurationLink', name }`, replaced with a link generated in the same finalization.
797
884
 
798
885
  example:
799
886
 
800
887
  ```ts
801
- const editSpreadsheetTask: EditGoogleSpreadsheetTask = {
802
- type: 'EditGoogleSpreadsheet',
803
- spreadsheetId: phx.webhooksEnv.GOOGLE_SPREADSHEET_ID,
804
- credentials: <service account credentials>,
805
- edits: [
806
- {
807
- ranges: {
808
- 'Orders!A:B': [
809
- ['Custom Chair', 1000],
810
- ['Custom Table', 2000]
811
- ],
888
+ // src/webhooks/handlers/configurator-finalize-handler/tasks/spreadsheet-task.ts
889
+ export const spreadsheetTask = phx.webhooks.taskFactory.createEditGoogleSpreadsheetTask((resources, data) => {
890
+ const spreadsheetId = phx.webhooksEnv.GOOGLE_SPREADSHEET_ID
891
+ const serviceAccount = phx.webhooksEnv.GOOGLE_SERVICE_ACCOUNT_JSON
892
+
893
+ if (spreadsheetId === undefined || serviceAccount === undefined) {
894
+ return null
895
+ }
896
+
897
+ return {
898
+ type: 'EditGoogleSpreadsheet',
899
+ spreadsheetId,
900
+ credentials: JSON.parse(serviceAccount),
901
+ edits: [
902
+ {
903
+ ranges: {
904
+ 'Orders!A:C': [
905
+ [data.configurationId, 'Custom Chair', { type: 'ConfigurationLink', name: resources.ownerLink }],
906
+ ],
907
+ },
908
+ mode: 'append',
812
909
  },
813
- mode: 'append',
814
- },
815
- {
816
- ranges: {
817
- 'Summary!B5': [[new Date().toLocaleString('en-GB')]],
910
+ {
911
+ ranges: {
912
+ 'Summary!B5': [[new Date().toLocaleString('en-GB')]],
913
+ },
914
+ mode: 'overwrite',
818
915
  },
819
- mode: 'overwrite',
820
- },
821
- ],
822
- }
916
+ ],
917
+ }
918
+ })
823
919
  ```
824
920
 
825
921
  ### Callback Hook / Result
826
922
 
827
- Sometimes, the provided tasks are not enough and you need to define a custom callback to be called after the tasks are executed. You can define a callback task in `phx.webhooks.finalizeHandlerBuilder` and even return a result to the client.
923
+ Sometimes, the provided tasks are not enough and you need to define a custom callback to be called after the tasks are executed. Build it with `phx.webhooks.callbackBuilder`, register it with `withCallback` on `phx.webhooks.finalizeHandlerBuilder`, and even return a result to the client.
828
924
  This callback handler is meant to be used for custom integrations, sending data to 3rd party services, etc.
829
925
 
830
- The callback definition has two parts, first you define a `CallbackData` handler that maps the resources and state to the data that will be passed to the callback handler.
926
+ The callback adds a `CallLambdaBack` task, which the platform runs after all other tasks; it then calls the webhook's callback operation with the data and resource links. The resource links it receives are signed and expire after 30 minutes. Only resources with an `s3Key` (generated PDFs, CSVs and images) and configuration links can be passed.
927
+
928
+ The callback definition has two parts, first you define a `CallbackData` handler that maps the resources and task data to the data that will be passed to the callback handler.
831
929
 
832
930
  ```ts
833
931
  // src/webhooks/handlers/configurator-finalize-handler/tasks/callback-task.ts
834
932
  export const callbackTask = phx.webhooks.callbackBuilder
835
933
  // Task Data and Context is available
836
- .withCallbackData((resources, state) => {
934
+ .withCallbackData((resources, data) => {
837
935
  return {
838
936
  // data that will be passed to the callback handler
839
937
  replayData: {
840
- emailAddress: state.finalizeData.emailAddress,
938
+ emailAddress: data.finalizeData.emailAddress,
841
939
  },
842
940
  // generated resources that should be forwarded to the callback handler
843
941
  resources: {
@@ -876,7 +974,7 @@ The `FinalizeResult` returned from the callback handler is then passed back to t
876
974
 
877
975
  ## Admin Finalization
878
976
 
879
- Admin finalization is triggered when an admin publishes an AdminConfiguration. The Admin Finalization handler can publish a `PublishRevisionTask`, that maps `AdminConfiguration` to a public
977
+ Admin finalization is triggered when an admin publishes from Project Admin. The SDK builds the Admin finalization handler automatically: `phx.webhooks` has no builder for it, and `src/webhooks/index.ts` registers nothing. Without chunks, it returns a `PublishRevision` task that maps the `AdminConfiguration` to a public
880
978
  `PublishedDataRevision` that is stored in the database and published to s3. Latest published revision link is stored in `SessionToken` and its data are fetched before initializing domain.
881
979
 
882
980
  When chunks are defined in the domain spec, the handler auto-detects them and maps the published data into per-chunk payloads. Current servers provide a pre-signed staging URL; the current SDK uploads all chunks there and returns the lightweight `PublishRevisionChunksStaged` task, keeping chunk data out of the Lambda response and Redis job payload. The server checks the staged object before downloading it: payloads up to **100 MiB** are accepted, while a larger payload fails publishing with an explicit size-limit error.
@@ -885,77 +983,91 @@ Compatibility is preserved during upgrades. An older SDK still returns the inlin
885
983
 
886
984
  No sensitive data should be exposed!
887
985
 
888
- The schema of the published data is defined in the `AdminData` type passed from domain and it is validated before initializing a domain.
986
+ The published data is validated against the project's published data schema before a configurator initializes its domain with it.
987
+
988
+ Presets, preset categories, recipes and swatch options are published without project code. To customise the published data, default-export a handler from a file in `src/handlers/`:
889
989
 
890
- You can define the Admin Finalization handler in the following way.
990
+ - `phx.domain.admin.createMapPublishedRevisionDataHandler(({ entities, adminEntity }) => data)` - the published data of a project without chunks (the `PublishRevision` task)
991
+ - `phx.domain.admin.createMapPublishedChunkedDataHandler(({ entities, adminEntity, connectedSheetData }) => chunks)` - per-chunk data of a project with chunks (the `PublishRevisionChunksStaged` task, or `PublishRevisionChunks` inline when the platform offers no staging upload)
992
+ - `phx.domain.admin.createDataRowValidatorHandler` and `phx.domain.admin.createSheetValidatorHandler` - business rules for manual and connected data, checked again when publishing
891
993
 
892
994
  ```ts
893
- // src/webhooks/handlers/admin-finalize-handler.ts
894
- export const adminFinalizeHandler = phx.webhooks.adminFinalizeHandlerBuilder
895
- .withPublishedRevision(entities => {
896
- // validated configuration state is passed to the handler
897
- return entities
898
- .filter((e): e is AdminDomain.PresetCategory => AdminDomain.PresetCategory.is(e) && e.visible)
899
- .sort((a, b) => a.index - b.index)
900
- .map(category => {
901
- // .. map the admin data to whatever the configurator needs
902
- })
903
- })
904
- .build()
995
+ // src/handlers/map-published-revision-data.ts
996
+ export default phx.domain.admin.createMapPublishedRevisionDataHandler(({ entities }) => {
997
+ // validated admin entities are passed to the handler
998
+ return {
999
+ customMaterials: entities
1000
+ .filter(phx.domain.admin.model.CustomMaterial.is)
1001
+ .filter(material => material.visible)
1002
+ .map(material => ({ id: material.id, name: material.name })),
1003
+ }
1004
+ })
905
1005
  ```
906
1006
 
907
- Before the admin finalization handler is called, the `AdminConfiguration` data are first validated via the admin domain and its violations.
1007
+ Before the admin finalization runs, the `AdminConfiguration` data are first validated via the admin domain and its violations. See **[Publishing](?path=/docs/phoenix-publishing--docs)** for the mapping handlers and chunks, and **[Connected Data Sources](?path=/docs/phoenix-connected-data-sources--docs)** for `connectedSheetData` and the validators.
908
1008
 
909
1009
  ## Auth Hook
910
1010
 
911
- Auth hook is triggered when a configurator session is created or refreshed and the deployment enables it. For legacy projects, set this in `spec/application.yaml`, then run `phoenix sync`:
1011
+ Auth hook is triggered when a configurator session is created or refreshed, in every access mode. The access mode in a spec file such as `spec/application.yaml` builds it, with or without `src/webhooks/index.ts`; run `phoenix sync` after changing it:
912
1012
 
913
1013
  ```yaml
914
- useAuthHook: true
1014
+ access: custom
915
1015
  ```
916
1016
 
917
- Auth hook can define different types of handlers.
1017
+ - `public` (the default), `invited` and `public-with-sign-in` sign people in with Studio accounts (see [Studio-account sign-in](#studio-account-sign-in)). Visitors are let in as anonymous sessions, except in `invited`, which refuses them. The server decides every other role from the person's grant in the project: it refuses a project's own code or refresh sign-in, and a visitor session with a role other than `anonymous`, with 403 "Access is not allowed.". The session data holds the identity fields `id`, `emailAddress`, `fullName`, `tags` and `accessToken` without the spec declaring them.
1018
+ - `legacy-clerk` signs people in with the built-in Clerk handlers (see [Clerk handlers](#clerk-handlers)) and lets visitors in.
1019
+ - `custom` has no built-in sign-in: the project's own code, refresh and anonymous handlers decide every role, admin included.
1020
+
1021
+ `useAuthHook`, `useClerk` and `useCognito` are deprecated and replaced by `access`; a spec that still sets them keeps working and parsing reports `ACCESS_FLAGS_DEPRECATED` with the mode it works as.
918
1022
 
919
- - For Clerk:
920
- - CodeFlow Handler
921
- - RefreshFlow Handler
922
- - Custom handlers:
923
- - CodeFlow Handler
924
- - RefreshFlow Handler
925
- - AnonymousFlow Handler
1023
+ The project customises the hook with handler files in `src/handlers/`, each default-exporting one `phx.access` handler. They are bundled into the webhook only, never into the configurator's browser code, so they may import server-only modules. A project has at most one file of each kind (`ACCESS_HANDLER_DUPLICATE`), a file that creates a handler without default-exporting it fails parsing with `ACCESS_HANDLER_NOT_EXPORTED`, a file that default-exports other handlers beside it fails with `ACCESS_HANDLER_NOT_ALONE`, and a kind its mode does not allow fails with `ACCESS_HANDLER_NOT_ALLOWED`.
1024
+
1025
+ | Handler | Modes | Decides |
1026
+ | ------------------------------------- | -------------------------------- | ---------------------------------------------------------------------------- |
1027
+ | `phx.access.createChunkScopesHandler` | every mode | the published-data chunk scopes a session may read; `public` is always added |
1028
+ | `phx.access.createVisitorHandler` | `public`, `public-with-sign-in` | the session data of a visitor; it cannot refuse a visitor or give one a role |
1029
+ | `phx.access.createSignedInHandler` | `invited`, `public-with-sign-in` | the session data of a person signed in with a Studio account, or a refusal |
1030
+ | `phx.access.createCodeHandler` | `custom` | the [CodeFlow](#codeflow-handler) |
1031
+ | `phx.access.createRefreshHandler` | `custom` | the [RefreshFlow](#refreshflow-handler) |
1032
+ | `phx.access.createAnonymousHandler` | `custom` | the [AnonymousFlow](#anonymousflow-handler) |
926
1033
 
927
1034
  ```ts
928
- // src/webhooks/handlers/auth-handler.ts
929
- export const authHandler = phx.webhooks.authHandlerBuilder
930
- // To enable default authentication method with Clerk:
931
- .withClerkCodeHandler()
932
- .withClerkRefreshHandler()
933
-
934
- // To implement custom auth handlers.
935
- // For example to integrate with customer's auth.
936
- .withCodeHandler(async payload => {
937
- // ... CodeFlow implementation
938
- })
939
- .withRefreshHandler(async payload => {
940
- // .. RefreshFlow implementation
941
- })
1035
+ // src/handlers/chunk-scopes.ts
1036
+ // Assign chunk scopes for chunked published data access control.
1037
+ // The system chunk scope ("public") is auto-injected — no need to include it.
1038
+ export default phx.access.createChunkScopesHandler(({ role }) => {
1039
+ if (role === 'admin') return ['dealer', 'admin']
1040
+ return []
1041
+ })
1042
+ ```
942
1043
 
943
- // Add to allow anonymous access.
944
- .withAnonymousHandler(async () => {
945
- return { success: false }
946
- })
1044
+ ```ts
1045
+ // src/handlers/visitor.ts
1046
+ export default phx.access.createVisitorHandler(async ({ data }) => ({
1047
+ data: {
1048
+ ...data,
1049
+ // custom session data for people who are not signed in - defined via the sessionData schema
1050
+ },
1051
+ }))
1052
+ ```
947
1053
 
948
- // Assign chunk scopes for chunked published data access control.
949
- // The system chunk scope ("public") is auto-injected — no need to include it.
950
- // See Publishing page for details.
951
- .withPublishedChunkScopes(({ role }) => {
952
- if (role === 'admin') return ['dealer', 'admin']
953
- return []
954
- })
955
- .build()
1054
+ ```ts
1055
+ // src/handlers/signed-in.ts
1056
+ // Runs at every Studio-account sign-in and session refresh, so about every three hours per person.
1057
+ export default phx.access.createSignedInHandler(async ({ user, role, data }) => {
1058
+ const account = await findCrmAccount(user.email) // your own lookup
1059
+ if (!account && role === 'user') return { allow: false } // refused: 403 access-refused with the account's email
1060
+ return { data: { priceList: account?.priceList } } // wins over the value set in Studio
1061
+ })
956
1062
  ```
957
1063
 
958
- For full details on `withPublishedChunkScopes()`, scope resolver patterns, and chunked publishing, see **[Publishing - Access Control](?path=/docs/phoenix-publishing--docs#access-control)**.
1064
+ The signed-in handler receives the person (`id`, `email`, and `name`, the name on their Studio account or `null`), their role and the session data with the values set in Studio. A returned property wins over the value set in Studio and is checked against `sessionData`: one that does not fit is left out with a warning in the logs. It fills properties marked `setInStudio: false`. `{ allow: false }` refuses the person whatever their role, so a refused admin is kept out of Project Admin too, until a deploy changes the handler. The server answers a refusal with `403` and `code: 'access-refused'` with the account's email address and name. A throw, an answer that is neither, or no answer within ten seconds fails the sign-in with `503` and `code: 'sign-in-unavailable'`, a try-again answer, and never lets the person in. It cannot change the identity fields or the role: a changed identity field makes the server refuse the sign-in.
1065
+
1066
+ For scope resolver patterns and chunked publishing, see **[Publishing - Access Control](?path=/docs/phoenix-publishing--docs#access-control)**.
1067
+
1068
+ `phx.webhooks.authHandlerBuilder` and `withAuthHook` are deprecated. A project that declares `public`, `invited` or `public-with-sign-in` and assembles an auth hook with them fails parsing with `AUTH_HOOK_NOT_ALLOWED`; any other project keeps its hook, which replaces the one the mode builds, and parsing reports `AUTH_HOOK_DEPRECATED`. A builder's own handlers win over the handler files: `withPublishedChunkScopes` over a chunk scopes handler, `withAnonymousHandler` over a visitor or anonymous handler. A hook written as a plain function, without `phx.webhooks.authHandlerBuilder`, answers on its own and applies no handler file. To migrate, remove `withAuthHook` and move `withPublishedChunkScopes` to a chunk scopes handler, and in `custom` move `withCodeHandler`, `withRefreshHandler` and `withAnonymousHandler` to the matching handler files: they take the same payloads and return the same answer, without the second `{ logger }` argument.
1069
+
1070
+ A handler answers `{ success: false }` to refuse the session, or `{ success: true, data, role, refreshToken?, expirationTime?, scopes?, userId? }` to grant it. `role` is `anonymous`, `user`, `admin` or `superadmin`. `expirationTime` is an absolute Unix timestamp in seconds, not a duration, and defaults to 3 hours from now; keep the default, which session tracking assumes, unless the client needs other session lengths. `data` is validated against the spec's `sessionData` schema, which may not declare required properties: Admin and preset sessions carry no custom session data.
959
1071
 
960
1072
  ### Clerk handlers
961
1073
 
@@ -984,31 +1096,15 @@ We get the rest of the Clerk ENVs after creating a new OAuth application in `[YO
984
1096
  - `https://<your server>/deployments/auth/callback` for every server the configurator is deployed to
985
1097
  - `http://localhost:3000/deployments/auth/callback` for local development
986
1098
 
987
- Save the OAuth application, then copy these values to the webhook environment only:
1099
+ Save the OAuth application, then enter in the customer's **Clerk Settings** tab in Studio:
988
1100
 
989
- ```
990
- # Application credentials -> Client ID
991
- # Where to put it: webhook
992
- OAUTH_PROVIDER_CLIENT_ID=xxx
993
-
994
- # Application credentials -> Client Secret
995
- # Where to put it: webhook
996
- OAUTH_PROVIDER_CLIENT_SECRET=xxx
1101
+ - the client ID and client secret from **Application credentials**
1102
+ - the base URL, the origin part of the Discovery URL (`https://<your Clerk frontend API domain>/`)
1103
+ - a JWT secret for signing tokens: the base64 of a long random key
997
1104
 
998
- # Origin part of the Discovery URL
999
- # Where to put it: webhook
1000
- OAUTH_PROVIDER_BASE_URL=https://<your Clerk frontend API domain>/
1001
- ```
1105
+ The platform passes them to the webhook as the generated variables `OAUTH_PROVIDER_CLIENT_ID`, `OAUTH_PROVIDER_CLIENT_SECRET`, `OAUTH_PROVIDER_BASE_URL` and `JWT_SECRET_BASE64`, beside `CLERK_API_KEY`, `FRONTEND_URL` and `RESOURCES_URL`. The project declares none of them and keeps none of them in its `.env`.
1002
1106
 
1003
- Save the same OAuth client ID, client secret, and base URL in the customer's **Clerk Settings** tab in Studio. The remaining webhook variable is not taken from Clerk:
1004
-
1005
- ```
1006
- # For signing tokens - generate reasonably long alphanumeric key
1007
- # Where to put it: webhook
1008
- JWT_SECRET_BASE64=<base64 of a long random key>
1009
- ```
1010
-
1011
- For a deployment, run `pnpm phoenix deployment:prepare` followed by `pnpm phoenix deployment:finish`. For local development, run `pnpm phoenix deployment:prepare-local`. These current commands use the customer settings stored in Studio; the removed `environment:create` and `deployment:register` commands are not part of the setup flow.
1107
+ Deploy with `pnpm phoenix deploy`; CI pipelines run `pnpm phoenix deployment:prepare` followed by `pnpm phoenix deployment:finish`. For local development, `phoenix dev` prepares its own development deployment. All of them use the customer settings stored in Studio.
1012
1108
 
1013
1109
  #### Clerk organization
1014
1110
 
@@ -1028,7 +1124,7 @@ If you need to make tags available to your application in Studio, configure them
1028
1124
 
1029
1125
  #### Phoenix Session Data
1030
1126
 
1031
- Configure your Session Data. With `useClerk` enabled, the schema must declare the complete payload the Clerk handlers return — application-spec parsing rejects the spec with a `CLERK_SESSION_DATA_INCOMPATIBLE` diagnostic otherwise:
1127
+ Configure your Session Data. With `access: legacy-clerk`, the schema must declare the complete payload the Clerk handlers return — application-spec parsing rejects the spec with a `CLERK_SESSION_DATA_INCOMPATIBLE` diagnostic otherwise:
1032
1128
 
1033
1129
  ```yaml
1034
1130
  sessionData:
@@ -1060,27 +1156,41 @@ CodeFlow solves the problem of safely passing credentials to the client from 3rd
1060
1156
  and receives a one time `code` in return. This code is then passed to the client in a query parameter and used to authenticate the session. The server after receiving
1061
1157
  the code, retrieves the passed credentials from temporary storage and calls the Auth Hook CodeFlow Handler. The handler is then responsible for authenticating the user and returning the session data.
1062
1158
 
1159
+ The code handler receives `{ type: 'code', accessToken, refreshToken?, idToken? }`.
1160
+
1063
1161
  ```ts
1064
- export const authHandler = phx.webhooks.authHandlerBuilder.withCodeHandler(async payload => {
1162
+ // src/handlers/code.ts
1163
+ export default phx.access.createCodeHandler(async payload => {
1065
1164
  // refresh token may or may not be present based on what the 3rd party service sends
1066
1165
  const { accessToken, refreshToken } = payload
1067
1166
 
1068
- // authenticate the user using the provided credentials, fetch user data, etc...
1167
+ // authenticate the visitor using the provided credentials, fetch user data, etc...
1168
+ const response = await fetch(`${phx.webhooksEnv.CRM_API_URL}/me`, {
1169
+ headers: { authorization: `Bearer ${accessToken}` },
1170
+ })
1171
+
1172
+ if (!response.ok) {
1173
+ console.warn(`The CRM refused the access token with status ${response.status}.`)
1174
+ // refuse the session
1175
+ return { success: false }
1176
+ }
1177
+
1178
+ const { id: userId }: { readonly id: string } = await response.json()
1069
1179
 
1070
1180
  return {
1071
- // return true/false based on the authentication result, if error is returned, the webhook will return 500 and an error will be reported to the alerting system
1181
+ // return true/false based on the authentication result, if the handler throws, the webhook will return 500 and an error will be reported to the alerting system
1072
1182
  success: true,
1073
1183
  data: {
1074
- // custom session data that will be stored in the session - defined via the SessionData type
1184
+ // custom session data that will be stored in the session - defined via the sessionData schema
1075
1185
  },
1076
- // role of the user, can be 'admin','user' or 'anonymous'
1186
+ // role of the session, can be 'superadmin', 'admin', 'user' or 'anonymous'
1077
1187
  role: 'user',
1078
1188
  // id of the signed-in user in your system; the session token's `sub` becomes `custom-<userId>`
1079
1189
  userId,
1080
1190
  // refresh token that will be passed to the refresh flow when the session expires
1081
1191
  refreshToken,
1082
- // expiration time of the session in seconds
1083
- expirationTime,
1192
+ // optional expirationTime: an absolute Unix timestamp in seconds, not a duration. Keep the 3-hour default,
1193
+ // which session tracking assumes, unless the client needs other session lengths
1084
1194
  }
1085
1195
  })
1086
1196
  ```
@@ -1089,57 +1199,67 @@ export const authHandler = phx.webhooks.authHandlerBuilder.withCodeHandler(async
1089
1199
 
1090
1200
  #### RefreshFlow Handler
1091
1201
 
1092
- RefreshFlow is triggered when the session is authenticated via `refreshToken`. The handler is responsible for refreshing the session data and returning the new session data.
1202
+ RefreshFlow is triggered when the session is authenticated via `refreshToken`. The handler is responsible for refreshing the session data and returning the new session data. It receives `{ type: 'refresh', refreshToken }`.
1093
1203
 
1094
1204
  ```ts
1095
- export const authHandler = phx.webhooks.authHandlerBuilder.withRefreshHandler(async payload => {
1205
+ // src/handlers/refresh.ts
1206
+ export default phx.access.createRefreshHandler(async payload => {
1096
1207
  // refresh token passed from code handler / client
1097
1208
  const { refreshToken } = payload
1098
1209
 
1099
1210
  // Use the refresh token to refresh the session data, fetch user data, etc...
1211
+ const response = await fetch(`${phx.webhooksEnv.CRM_API_URL}/token/refresh`, {
1212
+ method: 'POST',
1213
+ headers: { 'content-type': 'application/json' },
1214
+ body: JSON.stringify({ refreshToken }),
1215
+ })
1216
+
1217
+ if (!response.ok) {
1218
+ return { success: false }
1219
+ }
1220
+
1221
+ const refreshed: { readonly userId: string; readonly refreshToken: string } = await response.json()
1100
1222
 
1101
1223
  return {
1102
- // return true/false based on the authentication result, if error is returned, the webhook will return 500 and an error will be reported to the alerting system
1224
+ // return true/false based on the authentication result, if the handler throws, the webhook will return 500 and an error will be reported to the alerting system
1103
1225
  success: true,
1104
1226
  data: {
1105
- // custom session data that will be stored in the session - defined via the SessionData type
1227
+ // custom session data that will be stored in the session - defined via the sessionData schema
1106
1228
  },
1107
- // role of the user, can be 'admin','user' or 'anonymous'
1229
+ // role of the session, can be 'superadmin', 'admin', 'user' or 'anonymous'
1108
1230
  role: 'user',
1109
1231
  // return the user id again: a refresh without it turns the session into the browser's anonymous user
1110
- userId,
1232
+ userId: refreshed.userId,
1111
1233
  // refresh token that will be passed to the refresh flow when the session expires
1112
- refreshToken,
1113
- // expiration time of the session in seconds
1114
- expirationTime,
1234
+ refreshToken: refreshed.refreshToken,
1235
+ // optional expirationTime: an absolute Unix timestamp in seconds, not a duration. Keep the 3-hour default,
1236
+ // which session tracking assumes, unless the client needs other session lengths
1115
1237
  }
1116
1238
  })
1117
1239
  ```
1118
1240
 
1119
1241
  ### AnonymousFlow Handler
1120
1242
 
1121
- AnonymousFlow is triggered when the session is being authenticated without any credentials or refreshToken.
1243
+ AnonymousFlow is triggered when the session is being authenticated without any credentials or refreshToken. In `custom` the anonymous handler decides about visitors; in the other modes the mode does (see [Auth Hook](#auth-hook)).
1122
1244
 
1123
1245
  ```ts
1124
- export const authHandler = phx.webhooks.authHandlerBuilder
1125
- // No payload is passed to the anonymous handler
1126
- .withAnonymousHandler(async () => {
1127
- // Do whatever you need to here, but it is probably not a good idea
1246
+ // src/handlers/anonymous.ts
1247
+ // The payload carries no credentials
1248
+ export default phx.access.createAnonymousHandler(async () => {
1249
+ // Do whatever you need to here, but it is probably not a good idea
1128
1250
 
1129
- return {
1130
- // return true/false based on the authentication result, if error is returned, the webhook will return 500 and an error will be reported to the alerting system
1131
- success: true,
1132
- data: {
1133
- // custom session data that will be stored in the session - defined via the SessionData type
1134
- },
1135
- // role of the user, can be 'admin','user' or 'anonymous'
1136
- role: 'anonymous',
1137
- // refresh token that will be passed to the refresh flow when the session expires
1138
- refreshToken,
1139
- // expiration time of the session in seconds
1140
- expirationTime,
1141
- }
1142
- })
1251
+ return {
1252
+ // return true/false based on the authentication result, if the handler throws, the webhook will return 500 and an error will be reported to the alerting system
1253
+ success: true,
1254
+ data: {
1255
+ // custom session data that will be stored in the session - defined via the sessionData schema
1256
+ },
1257
+ // role of the session, can be 'superadmin', 'admin', 'user' or 'anonymous'
1258
+ role: 'anonymous',
1259
+ // optional: absolute Unix timestamp in seconds, not a duration; defaults to 3 hours from now
1260
+ expirationTime: Math.floor(Date.now() / 1000) + 3 * 60 * 60,
1261
+ }
1262
+ })
1143
1263
  ```
1144
1264
 
1145
1265
  ## Advanced Features
@@ -1202,35 +1322,31 @@ export const configuratorFinalizeHandler = phx.webhooks.finalizeHandlerBuilder
1202
1322
 
1203
1323
  The data returned by your prefetch handler is available to all subsequent tasks as `prefetchedData`:
1204
1324
 
1205
- ```ts
1325
+ ```tsx
1206
1326
  // Tasks can access prefetched data
1207
1327
  export const pdfTask = phx.webhooks.taskFactory.createGeneratePdfTask((resources, data, ctx) => {
1208
1328
  // Access prefetched data
1209
1329
  const { totalPrice, estimatedDeliveryDate, productCatalog } = data.prefetchedData
1210
1330
 
1211
- return {
1212
- type: 'GeneratePdf',
1213
- name: resources.configurationPdf,
1214
- html: {
1215
- template: `
1216
- <h1>Configuration Summary</h1>
1217
- <p>Total Price: ${'{{'}totalPrice{{"}}"}}</p>
1218
- <p>Estimated Delivery: ${'{{'}deliveryDate{{"}}"}}</p>
1219
- <ul>
1220
- ${'{{'}#each products${'}}'}
1221
- <li>${'{{'}this.name${'}}'} - ${'{{'}this.sku{{"}}"}}</li>
1222
- ${'{{'}/each${'}}'}
1223
- </ul>
1224
- `,
1225
- data: {
1226
- totalPrice,
1227
- deliveryDate: estimatedDeliveryDate,
1228
- products: productCatalog.items,
1229
- },
1230
- includeResources: [],
1231
- },
1232
- // ... rest of PDF configuration
1233
- }
1331
+ return ctx.pdfTaskBuilder
1332
+ .withResourceName(resources.configurationPdf)
1333
+ .withReactBody(
1334
+ <html>
1335
+ <body>
1336
+ <h1>Configuration Summary</h1>
1337
+ <p>Total Price: {totalPrice}</p>
1338
+ <p>Estimated Delivery: {estimatedDeliveryDate}</p>
1339
+ <ul>
1340
+ {productCatalog.items.map(item => (
1341
+ <li key={item.sku}>
1342
+ {item.name} - {item.sku}
1343
+ </li>
1344
+ ))}
1345
+ </ul>
1346
+ </body>
1347
+ </html>
1348
+ )
1349
+ .build()
1234
1350
  })
1235
1351
  ```
1236
1352
 
@@ -1262,39 +1378,38 @@ export interface PrefetchTaskData<
1262
1378
 
1263
1379
  ## Dynamic Resources Factory
1264
1380
 
1265
- The Dynamic Resources Factory allows you to create resources dynamically at runtime based on configuration state, user data, or other conditions. Unlike static resource definitions in the domain, dynamic resources are generated programmatically during finalization.
1381
+ The Dynamic Resources Factory allows you to create resources dynamically at runtime based on configuration state, finalize data, or other conditions. Unlike static resource definitions in the spec, dynamic resources are generated programmatically during finalization.
1266
1382
 
1267
1383
  Its handler context exposes the same request-bound `ctx.resolveLocalizable(value)` and raw `ctx.i18n` as task handlers.
1268
1384
 
1269
- **Important**: Dynamic resource names are not statically typed since they are created at runtime. You'll need to reference them by string names in templates and tasks.
1385
+ **Important**: Dynamic resource names are not statically typed since they are created at runtime, and they are not part of the `resources` map tasks receive. You'll need to reference them by string names in templates and tasks.
1270
1386
 
1271
1387
  ### Available Resource Creation Methods
1272
1388
 
1273
1389
  The `phx.webhooks.dynamicResourcesFactory` provides methods for creating different types of resources:
1274
1390
 
1275
1391
  ```ts
1276
- // src/webhooks/handlers/dynamic-resources.ts
1392
+ // src/webhooks/handlers/configurator-finalize-handler/tasks/dynamic-resources.ts
1277
1393
 
1278
- // Server-generated images
1279
- const generatedImageHandler = phx.webhooks.dynamicResourcesFactory.createGeneratedImage((resources, data, ctx) => {
1394
+ // Server-generated images, produced by a GenerateImages task under the same name
1395
+ export const generatedImageHandler = phx.webhooks.dynamicResourcesFactory.createGeneratedImage((resources, data) => {
1280
1396
  return {
1281
- type: 'GeneratedImage',
1397
+ type: 'Image',
1282
1398
  name: 'dynamicServerImage',
1283
1399
  s3Key: `generated/${data.configurationId}/render.png`,
1284
1400
  }
1285
1401
  })
1286
1402
 
1287
- // Dynamic links
1288
- const linkHandler = phx.webhooks.dynamicResourcesFactory.createLink((resources, data, ctx) => {
1403
+ // Dynamic configuration links, produced by a GenerateConfigurationLink task under the same name
1404
+ export const linkHandler = phx.webhooks.dynamicResourcesFactory.createLink(() => {
1289
1405
  return {
1290
- type: 'Link',
1406
+ type: 'ConfigurationLink',
1291
1407
  name: 'customShareLink',
1292
- url: `${data.frontendUrl}/share/${data.configurationId}?utm_source=dynamic`,
1293
1408
  }
1294
1409
  })
1295
1410
 
1296
- // Dynamic PDFs
1297
- const pdfHandler = phx.webhooks.dynamicResourcesFactory.createPdf((resources, data, ctx) => {
1411
+ // Dynamic PDFs, produced by a PDF task under the same name
1412
+ export const pdfHandler = phx.webhooks.dynamicResourcesFactory.createPdf((resources, data) => {
1298
1413
  return {
1299
1414
  type: 'Pdf',
1300
1415
  name: 'dynamicReport',
@@ -1303,7 +1418,21 @@ const pdfHandler = phx.webhooks.dynamicResourcesFactory.createPdf((resources, da
1303
1418
  })
1304
1419
  ```
1305
1420
 
1306
- Other available methods include: `createClientGeneratedImage`, `createExistingImage`, `createCsv`, and `createResource`.
1421
+ Other available methods include: `createClientGeneratedImage` (`{ type: 'Image', name, clientGenerated: true, s3Key }`), `createExistingImage` (`{ type: 'Image', name, exists: true, url }`), `createCsv` (`{ type: 'Csv', name, s3Key? }`), and `createResource` (any of these). `getClientSideImageResourceName(entityId, instanceName)` returns the name of a configurator-rendered image resource.
1422
+
1423
+ ### Registering dynamic resources
1424
+
1425
+ A dynamic resource takes effect only when its handler is registered with `withResources` on the finalization handler, one call per handler:
1426
+
1427
+ ```ts
1428
+ // src/webhooks/handlers/configurator-finalize-handler/configurator-finalize-handler.ts
1429
+ export const configuratorFinalizeHandler = phx.webhooks.finalizeHandlerBuilder
1430
+ .withResources(generatedImageHandler)
1431
+ .withResources(pdfHandler)
1432
+ .withTask(dynamicImageTask)
1433
+ .withTask(dynamicReportTask)
1434
+ .build()
1435
+ ```
1307
1436
 
1308
1437
  ### Conditional Resource Creation
1309
1438
 
@@ -1320,7 +1449,7 @@ const conditionalImageHandler = phx.webhooks.dynamicResourcesFactory.createGener
1320
1449
  }
1321
1450
 
1322
1451
  return {
1323
- type: 'GeneratedImage',
1452
+ type: 'Image',
1324
1453
  name: 'customMaterialPreview',
1325
1454
  s3Key: `previews/${data.configurationId}/custom-materials.png`,
1326
1455
  }
@@ -1336,7 +1465,7 @@ const multipleImagesHandler = phx.webhooks.dynamicResourcesFactory.createGenerat
1336
1465
  const colorOptions = data.finalizeData.requestedColors || []
1337
1466
 
1338
1467
  return colorOptions.map((color, index) => ({
1339
- type: 'GeneratedImage',
1468
+ type: 'Image',
1340
1469
  name: `colorPreview${index}`,
1341
1470
  s3Key: `colors/${data.configurationId}/${color}.png`,
1342
1471
  }))
@@ -1345,58 +1474,76 @@ const multipleImagesHandler = phx.webhooks.dynamicResourcesFactory.createGenerat
1345
1474
 
1346
1475
  ### Using Dynamic Resources in Tasks
1347
1476
 
1348
- Dynamic resources are automatically available to finalization tasks:
1477
+ Registered dynamic resources are available to finalization tasks by name. A `GenerateImages` task renders the dynamic image, and a PDF built with `pdfTaskBuilder` embeds it and is stored as the dynamic PDF:
1478
+
1479
+ ```tsx
1480
+ // src/webhooks/handlers/configurator-finalize-handler/tasks/dynamic-tasks.tsx
1481
+ import { ResourceHelpers } from '@salsita-ai/sdk/webhook'
1482
+
1483
+ export const dynamicImageTask = phx.webhooks.taskFactory.createGenerateImagesTask((_resources, data, ctx) => {
1484
+ const imageConfig = ctx.blenderProjections.getBlenderImageConfig(data.state, 'Default', data.state.rootEntityId, {
1485
+ width: 1920,
1486
+ height: 1080,
1487
+ })
1349
1488
 
1350
- ```ts
1351
- export const emailTask = phx.webhooks.taskFactory.createSendEmailTask((resources, data) => {
1352
1489
  return {
1353
- type: 'SendEmail',
1354
- from: 'noreply@example.com',
1355
- to: data.finalizeData.emailAddress,
1356
- subject: 'Your Configuration',
1357
- html: {
1358
- template: '<img src="${"{{"}resource-dynamicServerImage{{"}}"}}" />',
1359
- data: {},
1360
- includeResources: [
1361
- {
1362
- name: 'dynamicServerImage', // Reference dynamic resource
1363
- type: 'Image',
1364
- embeddingType: 'Embedded',
1365
- },
1366
- ],
1367
- },
1368
- attachments: [],
1490
+ type: 'GenerateImages',
1491
+ deploymentId: data.deploymentId,
1492
+ blenderSetupTemplate: 'template.blend',
1493
+ templateFiles: ['LaProvencal.gltf'],
1494
+ images: [{ name: 'dynamicServerImage', fileFormat: 'PNG', ...imageConfig }],
1369
1495
  }
1370
1496
  })
1497
+
1498
+ export const dynamicReportTask = phx.webhooks.taskFactory.createGeneratePdfTask((_resources, _data, ctx) => {
1499
+ return ctx.pdfTaskBuilder
1500
+ .withResourceName('dynamicReport')
1501
+ .withIncludedResources({
1502
+ // Reference the dynamic resource by its name
1503
+ other: [{ name: 'dynamicServerImage', type: 'Image', embeddingType: 'Embedded' }],
1504
+ })
1505
+ .withReactBody(
1506
+ <html>
1507
+ <body>
1508
+ <ResourceHelpers.Image resource="dynamicServerImage" alt="Your configuration" />
1509
+ </body>
1510
+ </html>
1511
+ )
1512
+ .build()
1513
+ })
1371
1514
  ```
1372
1515
 
1373
1516
  ## Backend Data Handler
1374
1517
 
1375
1518
  The Backend Data Handler allows you to fetch data on the server that will be automatically made available both in the domain (client-side) and in webhook contexts. Its main purpose is to securely fetch data using API keys or other sensitive credentials that cannot be exposed to the client, while making that data available throughout your application.
1376
1519
 
1520
+ Responses of at least 32 KiB are automatically gzip-compressed when the caller accepts gzip and the base64 representation is smaller. Project handlers return the same `backendData` object; the API and configurator receive decoded JSON. This also works through `phoenix dev` when both the server and CLI support gzip. Older tunnel clients keep plain JSON.
1521
+
1522
+ Compression does not remove platform limits: the complete encoded development-tunnel request must fit within 5 MiB, and deployed webhooks remain subject to Lambda's buffered response limit. The tunnel accepts up to 100 MiB of decoded gzip data. Data that does not compress enough must be reduced or split. Binary responses appear as a byte-count placeholder in the development tunnel inspector.
1523
+
1524
+ The configurator requests backend data in the browser, and the webhook runs the handler again before every configurator finalization, so tasks get their own fresh `backendData`. A failure in the browser only leaves `backendData` undefined; a failure before a finalization fails the finalization.
1525
+
1377
1526
  ### Defining a Backend Data Handler
1378
1527
 
1379
- Backend data handlers are defined inline in the webhook builder:
1528
+ Backend data handlers are defined inline in the webhook builder. The handler returns `{ backendData }`:
1380
1529
 
1381
1530
  ```ts
1382
1531
  // src/webhooks/index.ts
1383
1532
  export default phx.webhooks.webhookBuilder
1384
- .withAuthHook(authHandler)
1385
1533
  .withConfiguratorFinalize(configuratorFinalizeHandler)
1386
- .withFetchBackendData(async ({ frontendData, sessionPayload, deploymentId }, { logger }) => {
1534
+ .withFetchBackendData(async ({ sessionPayload }, { logger }) => {
1387
1535
  logger.info('Fetching backend data')
1388
1536
 
1389
- // Fetch data using API keys not exposed to client
1390
- const userProfile = await fetch('https://api.example.com/users/' + sessionPayload.userId, {
1391
- headers: { Authorization: `Bearer ${phx.webhooksEnv.API_KEY}` },
1392
- }).then(res => res.json())
1393
-
1394
- const pricingData = await fetchPricingData(deploymentId, phx.webhooksEnv.PRICING_API_KEY)
1537
+ // Fetch with an API key the browser never sees; customerId is a field of the spec's sessionData
1538
+ const response = await fetch(`${phx.webhooksEnv.PRICING_API_URL}/customers/${sessionPayload.customerId}`, {
1539
+ headers: { Authorization: `Bearer ${phx.webhooksEnv.PRICING_API_KEY}` },
1540
+ })
1541
+ const customer: { readonly tier: string; readonly basePrice: number } = await response.json()
1395
1542
 
1396
1543
  return {
1397
1544
  backendData: {
1398
- userProfile,
1399
- pricingData,
1545
+ tier: customer.tier,
1546
+ basePrice: customer.basePrice,
1400
1547
  fetchedAt: new Date().toISOString(),
1401
1548
  },
1402
1549
  }
@@ -1413,12 +1560,14 @@ Define the schema for backend data in `spec/application.yaml`:
1413
1560
  backendData:
1414
1561
  type: object
1415
1562
  properties:
1416
- exchangeRateAtStartTime:
1563
+ tier:
1564
+ type: string
1565
+ basePrice:
1417
1566
  type: number
1418
- userProfile:
1419
- type: object
1567
+ fetchedAt:
1568
+ type: string
1420
1569
  required:
1421
- - exchangeRateAtStartTime
1570
+ - fetchedAt
1422
1571
  additionalProperties: false
1423
1572
  ```
1424
1573
 
@@ -1428,46 +1577,31 @@ Backend data is automatically fetched and made available throughout your applica
1428
1577
 
1429
1578
  **In the Domain (Client-side)**: The data is automatically available in the domain context and can be used in expressions, components, and UI logic.
1430
1579
 
1431
- **In Webhooks**: Backend data is available to prefetch handlers and finalization tasks:
1580
+ **In Webhooks**: Backend data is available to prefetch handlers and finalization tasks as `data.backendData`. Like `ctx.backendData` in expressions, it is `Record<string, unknown> | undefined`: the schema validates the handler's answer but does not type what reads it, so narrow each value before use:
1432
1581
 
1433
- ```ts
1582
+ ```tsx
1434
1583
  // Prefetch handlers receive backend data
1435
1584
  export const prefetchHandler = phx.webhooks.prefetchBuilder
1436
- .withPrefetchHandler(async (data, ctx) => {
1437
- const { userProfile, pricingData } = data.backendData || {}
1438
-
1439
- // Use backend data to prepare additional information
1440
- const discountRate = userProfile?.tier === 'premium' ? 0.15 : 0.05
1441
- const finalPrice = pricingData?.basePrice * (1 - discountRate)
1442
-
1443
- // Fetch additional data based on user profile
1444
- const recommendedProducts = await fetchRecommendedProducts(userProfile?.preferences)
1585
+ .withPrefetchHandler(data => {
1586
+ const tier = data.backendData?.['tier']
1587
+ const basePrice = data.backendData?.['basePrice']
1588
+ const discountRate = tier === 'premium' ? 0.15 : 0.05
1445
1589
 
1446
1590
  return {
1447
1591
  discountRate,
1448
- finalPrice,
1449
- recommendedProducts,
1450
- userTier: userProfile?.tier,
1592
+ finalPrice: typeof basePrice === 'number' ? basePrice * (1 - discountRate) : null,
1451
1593
  }
1452
1594
  })
1453
1595
  .build()
1454
1596
 
1455
1597
  // Tasks also receive backend data
1456
1598
  export const pricingTask = phx.webhooks.taskFactory.createGeneratePdfTask((resources, data, ctx) => {
1457
- const { pricingData } = data.backendData || {}
1599
+ const basePrice = data.backendData?.['basePrice']
1458
1600
 
1459
- return {
1460
- type: 'GeneratePdf',
1461
- name: resources.pricingReport,
1462
- html: {
1463
- template: '<h1>Price: ${"{{"}price{{"}}"}}</h1>',
1464
- data: {
1465
- price: pricingData?.totalPrice || 'N/A',
1466
- },
1467
- includeResources: [],
1468
- },
1469
- // ... rest of PDF configuration
1470
- }
1601
+ return ctx.pdfTaskBuilder
1602
+ .withResourceName(resources.pricingReport)
1603
+ .withReactBody(<h1>Price: {typeof basePrice === 'number' ? basePrice.toFixed(2) : 'N/A'}</h1>)
1604
+ .build()
1471
1605
  })
1472
1606
  ```
1473
1607
 
@@ -1482,13 +1616,16 @@ export interface FetchBackendDataPayload<
1482
1616
  > {
1483
1617
  deploymentId: DeploymentId
1484
1618
  frontendUrl: FrontendUrl
1485
- frontendData: FRONTEND_DATA
1619
+ frontendData?: FRONTEND_DATA
1486
1620
  sessionRole: SessionRole
1487
1621
  sessionPayload: SESSION_DATA
1488
- publishedAdminRevisionPath: string | undefined
1622
+ publishedAdminRevisionPath?: string
1623
+ publishedChunkUrls?: Record<string, string>
1489
1624
  }
1490
1625
  ```
1491
1626
 
1627
+ The `backendData` the handler returns is validated against the `backendData` schema.
1628
+
1492
1629
  ### Use Cases
1493
1630
 
1494
1631
  Backend data handlers are ideal when you need to:
@@ -1526,11 +1663,11 @@ In this guide, we explored Phoenix's webhook system:
1526
1663
  - **Webhook-based architecture** enables server-side processing for authentication, finalization, and admin workflows
1527
1664
  - **Domain-aware builders** provide type-safe webhook development with full access to domain context
1528
1665
  - **Environment variables** allow secure configuration management for API keys and external service credentials
1529
- - **Task execution pipeline** processes resources sequentially to enable resource reuse and dependency management
1666
+ - **Task execution pipeline** runs tasks by type, so links and rendered images are ready before the PDFs, emails and callback that use them
1530
1667
  - **Resource system** manages static domain resources and dynamic runtime-generated resources
1531
1668
  - **React templates** render PDF and email bodies as `.tsx` trees via builder chains, with Handlebars retained as legacy
1532
1669
  - **Authentication hooks** support custom auth flows, Clerk integration, and anonymous access patterns
1533
- - **Admin finalization** transforms admin configurations into published data for configurators
1670
+ - **Admin finalization**, built by the SDK and customised with handlers, transforms admin configurations into published data for configurators
1534
1671
 
1535
1672
  **Advanced Features:**
1536
1673
 
@@ -1551,3 +1688,27 @@ Now that you understand Phoenix's webhook system, explore these related topics:
1551
1688
  - **[Best Practices](?path=/docs/phoenix-best-practices--docs)** - Follow proven patterns for webhook implementation and deployment
1552
1689
 
1553
1690
  For hands-on practice, explore webhook examples in the **[demo projects](?path=/docs/phoenix-quickstart--docs)** and finalization workflows.
1691
+
1692
+ ## Studio-account sign-in
1693
+
1694
+ Use Salsita Studio accounts when invited dealers should open a configurator and project administrators should edit its catalog. This path requires a workspace with Studio accounts and the current application-spec pipeline. Workspaces Salsita set up with Clerk keep it as the legacy `legacy-clerk` mode; existing `legacy-clerk` and `custom` projects keep their handlers.
1695
+
1696
+ Add this to `spec/application.yaml`, then run `phoenix sync` and deploy to your workspace:
1697
+
1698
+ ```yaml
1699
+ access: invited # or public-with-sign-in, to let visitors in too
1700
+ ```
1701
+
1702
+ `access: invited` and `access: public-with-sign-in` enable generated redirect sign-in pages and build the Studio-account sign-in into the webhook, with or without `src/webhooks/index.ts`; they replace the deprecated `useCognito: true`, which maps to `invited` without `src/webhooks/index.ts` and to `public-with-sign-in` with it. In `public`, the default, only the admin signs in with a Studio account, on `AdminSignInPage`, as in the other two; the configurator's own sign-in page, its access-denied pages and the account control of `public-with-sign-in` come from `@salsita-ai/sdk/extras/cognito`; see [Sessions and Access](?path=/docs/phoenix-sessions-and-access--docs). In a workspace without Studio accounts the deploy goes through with a warning, and Studio-account sign-in does not work there. The project writes no auth code: `invited` refuses anonymous sessions, and the other two let visitors in, with the session data of a visitor handler if the project has one (see [Auth Hook](#auth-hook)). Assembling an auth hook with `phx.webhooks.authHandlerBuilder` or `withAuthHook` in these modes fails parsing with `AUTH_HOOK_NOT_ALLOWED`.
1703
+
1704
+ The session data holds the identity fields `id`, `emailAddress`, `fullName`, `tags` and `accessToken` without the spec declaring them. A spec that declares one with another type reports `COGNITO_SESSION_DATA_INCOMPATIBLE`.
1705
+
1706
+ The server redirects through the shared Studio sign-in page, then returns a one-use code to the exact allowed frontend origin, preserving its path and query. A signed-in Studio account may still need to authenticate. A missing project grant opens **Access denied**, with an explicit retry instead of a redirect loop. Project User grants open the configurator; Admin and Superadmin grants also open its admin. Workspace Superadmins inherit every project. Workspace User/Admin membership alone grants no project access and does not grant Builder management access.
1707
+
1708
+ `id` is the stable Phoenix account UUID; the session subject is `phoenix-<id>`. `emailAddress` comes from verified native email, `tags` from the current workspace membership, and `fullName` is the display name on the person's Studio account, or null when none is set. `accessToken` is an empty compatibility field: Cognito credentials never reach project code. Custom fields may be added to the schema, but the server protects identity, role and tags from changes by a webhook.
1709
+
1710
+ A sign-in lasts 30 days from sign-in, and its sessions last three hours, never past the sign-in's end. Refresh does not extend the sign-in. A sign-in ends when the project is deployed again (a new build, promotion or rollback); a person whose Studio session is still valid comes back without Studio's form, and so does a person already signed in to Salsita Studio in the browser. The server checks current account status, membership, project role and tags on each protected API request and refresh. Revocation takes effect on the next API request; changed tags or role require a refresh. This does not retract data already downloaded by the browser. Signing out of the configurator ends its sign-in on the server at once, without signing the person out of Studio; the next sign-in asks which account continues.
1711
+
1712
+ Only the existing public `SERVER_URL` and `DEPLOYMENT_ID` are needed in generated projects. The server owns the pool/client configuration, login callback and credentials. There is no customer OAuth secret or per-customer Cognito client. The server sends resolved identities only over the existing IAM-authenticated Lambda transport or authenticated development tunnel; never expose a production webhook as an unauthenticated HTTP endpoint.
1713
+
1714
+ The Fold `demo-modular-layout` demonstrates Cognito admin sign-in alongside a public anonymous configurator. Its README describes workspace setup and the manual regression flow. Browser-local persistence cannot exercise real Cognito sign-in. Public signup, custom branding and moving a Clerk workspace to Studio accounts are separate work.