@salsita-ai/sdk 0.50.0-develop.0b28d3ba99 → 0.50.0-develop.0d2418cc3b

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 (1442) hide show
  1. package/README.md +8 -2
  2. package/dist/admin/AdminShell.js +1 -1
  3. package/dist/admin/common/admin-interface.d.ts +1 -1
  4. package/dist/admin/legacy-admin/Application.js +1 -1
  5. package/dist/application-spec/caching/index.d.ts +6 -1
  6. package/dist/application-spec/caching/index.js +1 -1
  7. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -31
  8. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  9. package/dist/application-spec/core/index.d.ts +1 -3
  10. package/dist/application-spec/core/index.js +1 -1
  11. package/dist/application-spec/core/json-schema.d.ts +2 -52
  12. package/dist/application-spec/core/markers/index.d.ts +1 -1
  13. package/dist/application-spec/core/markers/index.js +1 -1
  14. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  15. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  16. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  17. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  18. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  19. package/dist/application-spec/errors/diagnostic-codes.d.ts +9 -1
  20. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  21. package/dist/application-spec/errors/diagnostic-messages.d.ts +16 -1
  22. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  23. package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +0 -19
  24. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  25. package/dist/application-spec/generate-application/code/index.d.ts +1 -0
  26. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  27. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +4 -3
  28. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  29. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-locale.js +1 -1
  30. package/dist/application-spec/generate-application/code/templates/editor.d.ts +1 -1
  31. package/dist/application-spec/generate-application/code/templates/editor.js +16 -3
  32. package/dist/application-spec/generate-application/code/templates/gitignore.js +2 -1
  33. package/dist/application-spec/generate-application/code/templates/html-index.d.ts +12 -1
  34. package/dist/application-spec/generate-application/code/templates/html-index.js +9 -10
  35. package/dist/application-spec/generate-application/code/templates/index.d.ts +3 -7
  36. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  37. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +5 -4
  38. package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -0
  39. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -0
  40. package/dist/application-spec/generate-application/code/templates/skills/core/index.d.ts +3 -0
  41. package/dist/application-spec/generate-application/code/templates/skills/core/index.js +1 -0
  42. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.d.ts +2 -0
  43. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +89 -0
  44. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.d.ts +2 -0
  45. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +44 -0
  46. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.d.ts +3 -0
  47. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.js +3 -0
  48. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.d.ts +1 -0
  49. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.js +1 -0
  50. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.d.ts +3 -0
  51. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.js +48 -0
  52. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.d.ts +3 -0
  53. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.js +38 -0
  54. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.d.ts +3 -0
  55. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.js +35 -0
  56. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.d.ts +3 -0
  57. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +61 -0
  58. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.d.ts +3 -0
  59. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +7 -0
  60. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.d.ts +3 -0
  61. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.js +79 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.d.ts +1 -0
  63. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.js +1 -0
  64. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.d.ts +3 -0
  65. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.js +52 -0
  66. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +3 -0
  67. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +49 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.d.ts +3 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.js +62 -0
  70. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.d.ts +3 -0
  71. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.js +40 -0
  72. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.d.ts +3 -0
  73. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.js +65 -0
  74. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.d.ts +3 -0
  75. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.js +58 -0
  76. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.d.ts +3 -0
  77. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.js +41 -0
  78. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.d.ts +3 -0
  79. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.js +24 -0
  80. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.d.ts +3 -0
  81. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.js +44 -0
  82. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.d.ts +3 -0
  83. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +74 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.d.ts +3 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.js +8 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.d.ts +1 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.js +1 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.d.ts +3 -0
  89. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +48 -0
  90. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.d.ts +3 -0
  91. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +64 -0
  92. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.d.ts +3 -0
  93. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +62 -0
  94. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.d.ts +3 -0
  95. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.js +1 -0
  96. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.d.ts +3 -0
  97. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.js +59 -0
  98. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.d.ts +3 -0
  99. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +46 -0
  100. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.d.ts +1 -0
  101. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.js +1 -0
  102. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.d.ts +3 -0
  103. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.js +43 -0
  104. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.d.ts +3 -0
  105. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.js +30 -0
  106. package/dist/application-spec/generate-application/code/templates/skills/features/features.d.ts +3 -0
  107. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -0
  108. package/dist/application-spec/generate-application/code/templates/skills/features/index.d.ts +1 -0
  109. package/dist/application-spec/generate-application/code/templates/skills/features/index.js +1 -0
  110. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.d.ts +2 -0
  111. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.js +1 -0
  112. package/dist/application-spec/generate-application/code/templates/skills/features/localization.d.ts +3 -0
  113. package/dist/application-spec/generate-application/code/templates/skills/features/localization.js +87 -0
  114. package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.d.ts +3 -0
  115. package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.js +43 -0
  116. package/dist/application-spec/generate-application/code/templates/skills/features/state/index.d.ts +1 -0
  117. package/dist/application-spec/generate-application/code/templates/skills/features/state/index.js +1 -0
  118. package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.d.ts +3 -0
  119. package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.js +48 -0
  120. package/dist/application-spec/generate-application/code/templates/skills/features/state/state.d.ts +3 -0
  121. package/dist/application-spec/generate-application/code/templates/skills/features/state/state.js +1 -0
  122. package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.d.ts +3 -0
  123. package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.js +39 -0
  124. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.d.ts +3 -0
  125. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +36 -0
  126. package/dist/application-spec/generate-application/code/templates/skills/features/variants.d.ts +2 -0
  127. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -0
  128. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/assistant-setup.d.ts +3 -0
  129. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/assistant-setup.js +32 -0
  130. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +3 -0
  131. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +42 -0
  132. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.d.ts +3 -0
  133. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.js +45 -0
  134. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.d.ts +3 -0
  135. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +38 -0
  136. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.d.ts +3 -0
  137. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.js +92 -0
  138. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.d.ts +1 -0
  139. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.js +1 -0
  140. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.d.ts +3 -0
  141. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -0
  142. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.d.ts +3 -0
  143. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.js +26 -0
  144. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.d.ts +3 -0
  145. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.js +51 -0
  146. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.d.ts +3 -0
  147. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.js +38 -0
  148. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.d.ts +1 -0
  149. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.js +1 -0
  150. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.d.ts +3 -0
  151. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.js +88 -0
  152. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.d.ts +3 -0
  153. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.js +68 -0
  154. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.d.ts +3 -0
  155. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.js +1 -0
  156. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.d.ts +3 -0
  157. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -0
  158. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +68 -0
  159. package/dist/application-spec/generate-application/code/templates/skills/guide.js +18 -0
  160. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  161. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +14 -0
  162. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.d.ts +9 -0
  163. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -0
  164. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.d.ts +2 -0
  165. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +23 -0
  166. package/dist/application-spec/generate-application/code/templates/skills/{phoenix-skill.d.ts → processes/beta.d.ts} +2 -1
  167. package/dist/application-spec/generate-application/code/templates/skills/processes/beta.js +4 -0
  168. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.d.ts +2 -0
  169. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.js +38 -0
  170. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.d.ts +3 -0
  171. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.js +1 -0
  172. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.d.ts +1 -0
  173. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.js +1 -0
  174. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.d.ts +2 -0
  175. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +7 -0
  176. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.d.ts +2 -0
  177. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.js +2 -0
  178. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.d.ts +2 -0
  179. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -0
  180. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.d.ts +2 -0
  181. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +25 -0
  182. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.d.ts +2 -0
  183. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +35 -0
  184. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.d.ts +3 -0
  185. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +3 -0
  186. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.d.ts +2 -0
  187. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +9 -0
  188. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.d.ts +1 -0
  189. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.js +1 -0
  190. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +8 -0
  191. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -0
  192. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.d.ts +2 -0
  193. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -0
  194. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.d.ts +2 -0
  195. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +46 -0
  196. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.d.ts +2 -0
  197. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +2 -0
  198. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.d.ts +2 -0
  199. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.js +6 -0
  200. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.d.ts +1 -0
  201. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.js +1 -0
  202. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.d.ts +3 -0
  203. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -0
  204. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.d.ts +2 -0
  205. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +13 -0
  206. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.d.ts +2 -0
  207. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.js +20 -0
  208. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.d.ts +2 -0
  209. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.js +1 -0
  210. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.d.ts +1 -0
  211. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.js +1 -0
  212. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.d.ts +2 -0
  213. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +22 -0
  214. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.d.ts +3 -0
  215. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -0
  216. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +2 -0
  217. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +25 -0
  218. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +49 -263
  219. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +3 -58
  220. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.d.ts +9 -0
  221. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -0
  222. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +1 -1
  223. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -1
  224. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -4
  225. package/dist/application-spec/generate-application/code/templates/tsconfig.js +2 -1
  226. package/dist/application-spec/generate-application/index.d.ts +1 -8
  227. package/dist/application-spec/generate-application/index.js +1 -1
  228. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  229. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  230. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  231. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  232. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  233. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  234. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  235. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  236. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +25 -20
  237. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  238. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.d.ts +1 -1
  239. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  240. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  241. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  242. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  243. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  244. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  245. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  246. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +4 -10
  247. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  248. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  249. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  250. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  251. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +2 -3
  252. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  253. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +2 -3
  254. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +2 -2
  255. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +7 -29
  256. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  257. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  258. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  259. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +2 -2
  260. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  261. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +4 -14
  262. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  263. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  264. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -31
  265. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  266. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  267. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +3 -7
  268. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  269. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  270. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  271. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  272. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  273. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  274. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  275. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  276. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  277. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +6 -23
  278. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  279. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  280. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  281. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  282. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  283. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  284. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  285. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  286. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  287. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  288. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  289. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  290. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  291. package/dist/client/authorized-client.d.ts +4 -2
  292. package/dist/client/authorized-client.js +1 -1
  293. package/dist/client/contract.d.ts +46 -5
  294. package/dist/client/contract.js +1 -1
  295. package/dist/client/index.d.ts +1 -1
  296. package/dist/client/local-authorized-client.d.ts +3 -1
  297. package/dist/client/local-authorized-client.js +1 -1
  298. package/dist/client/memory-authorized-client.d.ts +4 -1
  299. package/dist/client/memory-authorized-client.js +1 -1
  300. package/dist/client/phoenix-api.d.ts +657 -23
  301. package/dist/configurator/ConfiguratorApp.js +1 -1
  302. package/dist/configurator/agent-at-work/AgentAtWorkFallback.d.ts +7 -0
  303. package/dist/configurator/agent-at-work/AgentAtWorkFallback.js +1 -0
  304. package/dist/configurator/agent-at-work/AgentAtWorkPage.d.ts +20 -0
  305. package/dist/configurator/agent-at-work/AgentAtWorkPage.js +1 -0
  306. package/dist/configurator/agent-at-work/AgentModeBadge.d.ts +11 -0
  307. package/dist/configurator/agent-at-work/AgentModeBadge.js +1 -0
  308. package/dist/configurator/agent-at-work/StudioMark.d.ts +8 -0
  309. package/dist/configurator/agent-at-work/StudioMark.js +1 -0
  310. package/dist/configurator/agent-at-work/agent-at-work-copy.d.ts +17 -0
  311. package/dist/configurator/agent-at-work/agent-at-work-copy.js +1 -0
  312. package/dist/configurator/agent-at-work/agent-at-work-styles.d.ts +23 -0
  313. package/dist/configurator/agent-at-work/agent-at-work-styles.js +374 -0
  314. package/dist/configurator/agent-at-work/index.d.ts +3 -0
  315. package/dist/configurator/agent-at-work/index.js +1 -0
  316. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  317. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +31 -0
  318. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +146 -24
  319. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  320. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +21 -4
  321. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  322. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +43 -0
  323. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  324. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +4 -1
  325. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  326. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +70 -56
  327. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  328. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +38 -11
  329. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  330. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +40 -0
  331. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  332. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.d.ts +10 -0
  333. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.js +1 -0
  334. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +8 -0
  335. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  336. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +3 -2
  337. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  338. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +11 -0
  339. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  340. package/dist/configurator/common/configurator-interface.d.ts +14 -4
  341. package/dist/configurator/common/configurator-interface.js +1 -1
  342. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  343. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  344. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  345. package/dist/configurator/configurator-context/index.d.ts +0 -5
  346. package/dist/configurator/configurator-context/index.js +1 -1
  347. package/dist/configurator/index.d.ts +1 -0
  348. package/dist/configurator/index.js +1 -1
  349. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  350. package/dist/configurator/{ui/configurator-layout/universal → pages}/ExportingOverlay.d.ts +3 -2
  351. package/dist/configurator/pages/ExportingOverlay.js +1 -0
  352. package/dist/configurator/pages/InertRoot.d.ts +10 -0
  353. package/dist/configurator/pages/InertRoot.js +1 -0
  354. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  355. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  356. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  357. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  358. package/dist/configurator/pages/default-configurator-elements.d.ts +6 -2
  359. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  360. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.d.ts +8 -0
  361. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.js +1 -0
  362. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.d.ts +5 -0
  363. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.js +1 -0
  364. package/dist/configurator/pages/error-boundaries/DevContextFallback.d.ts +4 -2
  365. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  366. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.d.ts +6 -4
  367. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  368. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  369. package/dist/configurator/pages/error-boundaries/index.d.ts +1 -0
  370. package/dist/configurator/pages/error-boundaries/index.js +1 -1
  371. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.d.ts +3 -0
  372. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.js +1 -0
  373. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.d.ts +3 -0
  374. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.js +1 -0
  375. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.d.ts +3 -0
  376. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.js +1 -0
  377. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.d.ts +3 -0
  378. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.js +1 -0
  379. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.d.ts +3 -0
  380. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.js +1 -0
  381. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.d.ts +3 -0
  382. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.js +1 -0
  383. package/dist/configurator/pages/provider-slots/index.d.ts +6 -0
  384. package/dist/configurator/pages/provider-slots/index.js +1 -0
  385. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.d.ts +2 -0
  386. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.js +1 -0
  387. package/dist/configurator/pages/ui-elements/configurator-ui-elements.d.ts +3 -0
  388. package/dist/configurator/pages/ui-elements/configurator-ui-elements.js +1 -0
  389. package/dist/configurator/pages/ui-elements/index.d.ts +2 -0
  390. package/dist/configurator/pages/ui-elements/index.js +1 -0
  391. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  392. package/dist/configurator/ui/assistant/AssistantChips.d.ts +83 -1
  393. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  394. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +84 -1
  395. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  396. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +35 -1
  397. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  398. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +46 -1
  399. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  400. package/dist/configurator/ui/assistant/AssistantThread.d.ts +80 -4
  401. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  402. package/dist/configurator/ui/assistant/AssistantThreadItemView.d.ts +98 -0
  403. package/dist/configurator/ui/assistant/AssistantThreadItemView.js +1 -0
  404. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +39 -2
  405. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
  406. package/dist/configurator/ui/assistant/alert/index.d.ts +1 -1
  407. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +43 -0
  408. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -0
  409. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +5 -0
  410. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.js +1 -0
  411. package/dist/configurator/ui/assistant/annotation/AnnotationPin.d.ts +14 -0
  412. package/dist/configurator/ui/assistant/annotation/AnnotationPin.js +1 -0
  413. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.d.ts +12 -0
  414. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -0
  415. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.d.ts +11 -0
  416. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -0
  417. package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +80 -0
  418. package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -0
  419. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +49 -0
  420. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -0
  421. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +18 -0
  422. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -0
  423. package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.d.ts +22 -0
  424. package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.js +1 -0
  425. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +22 -0
  426. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -0
  427. package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.d.ts +17 -0
  428. package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.js +1 -0
  429. package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +2 -0
  430. package/dist/configurator/ui/assistant/annotation/editor/index.js +1 -0
  431. package/dist/configurator/ui/assistant/annotation/index.d.ts +5 -0
  432. package/dist/configurator/ui/assistant/annotation/index.js +1 -0
  433. package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.d.ts +2 -0
  434. package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.js +1 -0
  435. package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.d.ts +6 -0
  436. package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.js +1 -0
  437. package/dist/configurator/ui/assistant/assistant-failure.d.ts +17 -7
  438. package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
  439. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +63 -0
  440. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
  441. package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
  442. package/dist/configurator/ui/assistant/attachments/index.js +1 -0
  443. package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +24 -0
  444. package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
  445. package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +20 -0
  446. package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -0
  447. package/dist/configurator/ui/assistant/composer/index.d.ts +1 -0
  448. package/dist/configurator/ui/assistant/composer/index.js +1 -0
  449. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +35 -1
  450. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  451. package/dist/configurator/ui/assistant/entity-link/index.d.ts +2 -2
  452. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +59 -2
  453. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  454. package/dist/configurator/ui/assistant/form/built-in-form-slots.d.ts +16 -0
  455. package/dist/configurator/ui/assistant/form/built-in-form-slots.js +1 -0
  456. package/dist/configurator/ui/assistant/form/index.d.ts +2 -1
  457. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +26 -0
  458. package/dist/configurator/ui/assistant/form/registry/index.d.ts +1 -1
  459. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +59 -0
  460. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -1
  461. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +51 -0
  462. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -1
  463. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +47 -0
  464. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -1
  465. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +43 -0
  466. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
  467. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +51 -0
  468. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -1
  469. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +43 -0
  470. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -1
  471. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +51 -0
  472. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -1
  473. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +47 -0
  474. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -1
  475. package/dist/configurator/ui/assistant/form-elements/index.d.ts +8 -8
  476. package/dist/configurator/ui/assistant/index.d.ts +21 -3
  477. package/dist/configurator/ui/assistant/index.js +1 -1
  478. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.d.ts +49 -0
  479. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -0
  480. package/dist/configurator/ui/assistant/panel/index.d.ts +1 -0
  481. package/dist/configurator/ui/assistant/panel/index.js +1 -0
  482. package/dist/configurator/ui/assistant/popover/AssistantPopover.d.ts +24 -0
  483. package/dist/configurator/ui/assistant/popover/AssistantPopover.js +1 -0
  484. package/dist/configurator/ui/assistant/popover/index.d.ts +1 -0
  485. package/dist/configurator/ui/assistant/popover/index.js +1 -0
  486. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +43 -1
  487. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
  488. package/dist/configurator/ui/assistant/reference-link/index.d.ts +1 -1
  489. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -1
  490. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +35 -0
  491. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -1
  492. package/dist/configurator/ui/assistant/resource-image/index.d.ts +1 -1
  493. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +35 -1
  494. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -1
  495. package/dist/configurator/ui/assistant/screenshots/index.d.ts +2 -1
  496. package/dist/configurator/ui/assistant/screenshots/index.js +1 -1
  497. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +6 -4
  498. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
  499. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  500. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  501. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +11 -0
  502. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  503. package/dist/configurator/ui/assistant/thread-items.d.ts +5 -0
  504. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  505. package/dist/configurator/ui/assistant/tool-chip.d.ts +19 -9
  506. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  507. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +68 -0
  508. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -0
  509. package/dist/configurator/ui/assistant/use-assistant-thread.d.ts +52 -0
  510. package/dist/configurator/ui/assistant/use-assistant-thread.js +1 -0
  511. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +22 -0
  512. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -0
  513. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  514. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  515. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  516. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  517. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  518. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  519. package/dist/configurator/ui/index.d.ts +1 -1
  520. package/dist/configurator/ui/index.js +1 -1
  521. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  522. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  523. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  524. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  525. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  526. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  527. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  528. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  529. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  530. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  531. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  532. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  533. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  534. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -1
  535. package/dist/docs/3d-scene/animations-basic.mdx +0 -4
  536. package/dist/docs/3d-scene/camera-based-hiding.mdx +0 -2
  537. package/dist/docs/3d-scene/cameras/custom.mdx +4 -4
  538. package/dist/docs/3d-scene/cameras/fit-during-drag.mdx +0 -4
  539. package/dist/docs/3d-scene/cameras/locks.mdx +0 -4
  540. package/dist/docs/3d-scene/cameras/transitions.mdx +0 -2
  541. package/dist/docs/3d-scene/engraving.mdx +0 -4
  542. package/dist/docs/3d-scene/materials/custom.mdx +1 -2
  543. package/dist/docs/3d-scene/materials/inherit.mdx +0 -4
  544. package/dist/docs/3d-scene/materials/multilevel.mdx +0 -47
  545. package/dist/docs/3d-scene/materials/override.mdx +0 -4
  546. package/dist/docs/3d-scene/materials/simple.mdx +0 -4
  547. package/dist/docs/3d-scene/materials/transformer.mdx +0 -4
  548. package/dist/docs/3d-scene/materials/transition.mdx +0 -4
  549. package/dist/docs/3d-scene/materials/transmissive.mdx +0 -4
  550. package/dist/docs/3d-scene/postprocessing.mdx +0 -2
  551. package/dist/docs/3d-scene/rendering/basic.mdx +5 -9
  552. package/dist/docs/3d-scene/rendering/custom-entity.mdx +0 -6
  553. package/dist/docs/3d-scene/rendering/lights/ambient-light.mdx +0 -2
  554. package/dist/docs/3d-scene/rendering/lights/directional-light.mdx +0 -2
  555. package/dist/docs/3d-scene/rendering/lights/point-light.mdx +0 -2
  556. package/dist/docs/3d-scene/rendering/lights/rect-area-light.mdx +0 -2
  557. package/dist/docs/3d-scene/rendering/lights/spot-light.mdx +0 -2
  558. package/dist/docs/3d-scene/rendering/object-groups.mdx +0 -2
  559. package/dist/docs/3d-scene/rendering/objects.mdx +0 -4
  560. package/dist/docs/3d-scene/rendering/scene-entity-object.mdx +0 -43
  561. package/dist/docs/3d-scene/rendering/smma.mdx +0 -2
  562. package/dist/docs/3d-scene/rendering/soft-shadows.mdx +0 -2
  563. package/dist/docs/3d-scene/rendering/transformer.mdx +1 -3
  564. package/dist/docs/complex-use-cases/custom-ui-on-root-level.mdx +0 -1
  565. package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +19 -19
  566. package/dist/docs/complex-use-cases/navigation-guard.mdx +81 -19
  567. package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +28 -65
  568. package/dist/docs/complex-use-cases/navigation-reset-undo.mdx +16 -20
  569. package/dist/docs/complex-use-cases/sketching.mdx +2 -10
  570. package/dist/docs/controls/custom.mdx +88 -87
  571. package/dist/docs/controls/manage-child-entities/entitychildrenlist.mdx +0 -4
  572. package/dist/docs/controls/nullable-attributes.mdx +0 -2
  573. package/dist/docs/controls/scene/custom-controls.mdx +7 -8
  574. package/dist/docs/controls/scene/html-hotspots.mdx +0 -4
  575. package/dist/docs/controls/scene/object-html-hotspots.mdx +0 -4
  576. package/dist/docs/controls/select-attribute/cardselect.mdx +0 -4
  577. package/dist/docs/controls/select-attribute/listselect.mdx +0 -4
  578. package/dist/docs/controls/select-attribute/select.mdx +0 -4
  579. package/dist/docs/controls/select-attribute/swatchselect.mdx +0 -4
  580. package/dist/docs/controls/select-attribute/switchselect.mdx +0 -4
  581. package/dist/docs/controls/select-attribute/toggleselect.mdx +0 -4
  582. package/dist/docs/controls/select-child-entity/cardselect.mdx +2 -6
  583. package/dist/docs/controls/select-child-entity/listselect.mdx +5 -11
  584. package/dist/docs/controls/select-child-entity/toggleselect.mdx +4 -10
  585. package/dist/docs/controls/text-input.mdx +90 -19
  586. package/dist/docs/demos/glass.mdx +0 -4
  587. package/dist/docs/demos/heater.mdx +0 -10
  588. package/dist/docs/demos/office-chair.mdx +0 -8
  589. package/dist/docs/demos/office-desk.mdx +0 -8
  590. package/dist/docs/demos/ring.mdx +0 -9
  591. package/dist/docs/dimensions/3d-scene-integration/angle-indicators.mdx +0 -2
  592. package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +0 -2
  593. package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +0 -14
  594. package/dist/docs/dimensions/3d-scene-integration/editable-offset-indicator.mdx +0 -6
  595. package/dist/docs/dimensions/3d-scene-integration/editable-size-indicator.mdx +0 -4
  596. package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +0 -16
  597. package/dist/docs/dimensions/3d-scene-integration/offset-indicator.mdx +0 -6
  598. package/dist/docs/dimensions/3d-scene-integration/overlap-offset-demo.mdx +0 -6
  599. package/dist/docs/dimensions/basic-concepts/dimension-data-unit.mdx +0 -12
  600. package/dist/docs/dimensions/basic-concepts/dimension-unit-config.mdx +0 -12
  601. package/dist/docs/dimensions/input-controls/distance-input.mdx +0 -12
  602. package/dist/docs/dimensions/input-controls/distance-slider.mdx +6 -18
  603. package/dist/docs/dimensions/selection-controls/list-selector.mdx +0 -14
  604. package/dist/docs/dimensions/selection-controls/toggle-selector.mdx +0 -14
  605. package/dist/docs/drag-and-drop/drag-handle.mdx +0 -1
  606. package/dist/docs/drag-and-drop/hotspot-handle.mdx +0 -1
  607. package/dist/docs/drag-and-drop/no-selection.mdx +0 -1
  608. package/dist/docs/drag-and-drop/planes.mdx +0 -3
  609. package/dist/docs/drag-and-drop/room-planner.mdx +1 -7
  610. package/dist/docs/drag-and-drop/rotatable.mdx +0 -1
  611. package/dist/docs/drag-and-drop/snapping/auto-rotation-demo.mdx +0 -2
  612. package/dist/docs/drag-and-drop/snapping/label-matching-demo.mdx +0 -2
  613. package/dist/docs/drag-and-drop/snapping/multi-snap-composition-demo.mdx +0 -2
  614. package/dist/docs/drag-and-drop/snapping/nested-entity-demo.mdx +0 -2
  615. package/dist/docs/drag-and-drop/snapping/priority-demo.mdx +0 -2
  616. package/dist/docs/drag-and-drop/snapping/snap-axis-demo.mdx +0 -2
  617. package/dist/docs/drag-and-drop/snapping/snap-edge-demo.mdx +0 -2
  618. package/dist/docs/drag-and-drop/snapping/snap-plane-demo.mdx +0 -5
  619. package/dist/docs/drag-and-drop/snapping/snap-point-demo.mdx +0 -2
  620. package/dist/docs/drag-and-drop/spatial-constraints/collision-system.mdx +0 -2
  621. package/dist/docs/drag-and-drop/spatial-constraints/disjoint-and-within.mdx +0 -6
  622. package/dist/docs/drag-and-drop/spatial-constraints/geometry-override.mdx +0 -4
  623. package/dist/docs/drag-and-drop/spatial-constraints/multiple-collision-meshes.mdx +0 -4
  624. package/dist/docs/drag-and-drop/spatial-constraints/touches.mdx +0 -4
  625. package/dist/docs/drag-and-drop/swap.mdx +0 -4
  626. package/dist/docs/fabs/basic.mdx +6 -12
  627. package/dist/docs/fabs/layout.mdx +0 -7
  628. package/dist/docs/index.json +6 -6
  629. package/dist/docs/integrations/lifecycle-providers.mdx +0 -12
  630. package/dist/docs/integrations/onloadprovider.mdx +0 -3
  631. package/dist/docs/integrations/webcomponent-api/basics.mdx +6 -2
  632. package/dist/docs/integrations/webcomponent-api/preset-tags.mdx +4 -1
  633. package/dist/docs/integrations/woocommerce/overview.mdx +4 -2
  634. package/dist/docs/layouts/custom-layout.mdx +1 -41
  635. package/dist/docs/layouts/custom-price.mdx +0 -2
  636. package/dist/docs/layouts/custom-theme-handler.mdx +0 -4
  637. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3 -34
  638. package/dist/docs/layouts/gallery/corvid-drone.mdx +0 -29
  639. package/dist/docs/layouts/gallery/fenwick-window.mdx +0 -25
  640. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +0 -27
  641. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +0 -29
  642. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +2 -35
  643. package/dist/docs/layouts/gallery/sunfold-solar.mdx +0 -26
  644. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +0 -46
  645. package/dist/docs/layouts/header/custom.mdx +0 -2
  646. package/dist/docs/layouts/icon-sets.mdx +0 -6
  647. package/dist/docs/layouts/phoenix-elements.mdx +0 -4
  648. package/dist/docs/layouts/phoenix-handlers.mdx +19 -28
  649. package/dist/docs/layouts/presets/action-and-overlay.mdx +0 -8
  650. package/dist/docs/layouts/presets/custom.mdx +6 -13
  651. package/dist/docs/layouts/preview/always-expand.mdx +4 -14
  652. package/dist/docs/layouts/preview/always.mdx +4 -14
  653. package/dist/docs/layouts/preview/auto-presets.mdx +4 -14
  654. package/dist/docs/layouts/preview/auto.mdx +4 -14
  655. package/dist/docs/layouts/preview/never.mdx +4 -14
  656. package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +18 -13
  657. package/dist/docs/layouts/sidebar/property-page-stack.mdx +0 -2
  658. package/dist/docs/layouts/sidebar/property-page.mdx +0 -2
  659. package/dist/docs/layouts/sidebar/tabs.mdx +0 -4
  660. package/dist/docs/layouts/sidebar-footer/custom.mdx +0 -2
  661. package/dist/docs/layouts/sidebar-footer/universal.mdx +0 -10
  662. package/dist/docs/layouts/tool-controls.mdx +0 -1
  663. package/dist/docs/layouts/toolbar.mdx +0 -4
  664. package/dist/docs/layouts/universal.mdx +2 -22
  665. package/dist/docs/other-features/client-side-rendering/camera-padding.mdx +0 -2
  666. package/dist/docs/other-features/client-side-rendering/custom.mdx +0 -6
  667. package/dist/docs/other-features/client-side-rendering/declarative.mdx +0 -4
  668. package/dist/docs/other-features/client-side-rendering/postprocessing.mdx +0 -6
  669. package/dist/docs/other-features/component-filters.mdx +0 -7
  670. package/dist/docs/other-features/currency.mdx +5 -6
  671. package/dist/docs/other-features/domain-actions.mdx +0 -5
  672. package/dist/docs/other-features/dynamic-component-attachments.mdx +75 -46
  673. package/dist/docs/other-features/error-5xx.mdx +0 -14
  674. package/dist/docs/other-features/navigation-hotspot.mdx +0 -5
  675. package/dist/docs/other-features/not-found-404.mdx +0 -14
  676. package/dist/docs/other-features/projected-entities.mdx +0 -5
  677. package/dist/docs/other-features/side-effects.mdx +0 -23
  678. package/dist/docs/other-features/transformers.mdx +101 -96
  679. package/dist/docs/other-features/violation-messages.mdx +0 -4
  680. package/dist/docs/other-features/violation-severity.mdx +2 -3
  681. package/dist/docs/performance/clone-highlight.mdx +0 -7
  682. package/dist/docs/performance/dynamic-components.mdx +0 -6
  683. package/dist/docs/performance/editable-dimension-stress-test.mdx +0 -2
  684. package/dist/docs/performance/fast-highlight.mdx +0 -7
  685. package/dist/docs/performance/general.mdx +0 -7
  686. package/dist/docs/performance/render-isolation.mdx +0 -6
  687. package/dist/docs/phoenix/admin.mdx +105 -134
  688. package/dist/docs/phoenix/application-states.mdx +45 -27
  689. package/dist/docs/phoenix/blender-rendering.mdx +3 -1
  690. package/dist/docs/phoenix/components.mdx +53 -46
  691. package/dist/docs/phoenix/configurator-interface.mdx +263 -117
  692. package/dist/docs/phoenix/data-sources.mdx +61 -37
  693. package/dist/docs/phoenix/deployments.mdx +11 -1
  694. package/dist/docs/phoenix/domain-model.mdx +24 -16
  695. package/dist/docs/phoenix/expression-context.mdx +3 -29
  696. package/dist/docs/phoenix/finalization.mdx +2 -1
  697. package/dist/docs/phoenix/getting-started.mdx +0 -2
  698. package/dist/docs/phoenix/integration/authentication-internal.mdx +2 -2
  699. package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -1
  700. package/dist/docs/phoenix/layout-slots.mdx +21 -0
  701. package/dist/docs/phoenix/localization.mdx +66 -55
  702. package/dist/docs/phoenix/migration-guide.mdx +10 -11
  703. package/dist/docs/phoenix/phoenix-cli.mdx +65 -19
  704. package/dist/docs/phoenix/project-structure.mdx +58 -61
  705. package/dist/docs/phoenix/quickstart.mdx +1 -3
  706. package/dist/docs/phoenix/sdk-builder-workflow.mdx +12 -16
  707. package/dist/docs/phoenix/sessions-and-access.mdx +52 -34
  708. package/dist/docs/phoenix/sharing.mdx +1 -1
  709. package/dist/docs/phoenix/state-management.mdx +18 -16
  710. package/dist/docs/phoenix/testing.mdx +6 -1
  711. package/dist/docs/phoenix/webhooks.mdx +373 -241
  712. package/dist/docs/recipes-and-delete/delete-entity.mdx +3 -6
  713. package/dist/docs/recipes-and-delete/dynamic-root-entity.mdx +0 -2
  714. package/dist/docs/recipes-and-delete/grouped-button.mdx +0 -3
  715. package/dist/docs/recipes-and-delete/grouped-panel.mdx +0 -3
  716. package/dist/docs/recipes-and-delete/horizontal.mdx +3 -6
  717. package/dist/docs/recipes-and-delete/recipe-hierarchy-lists.mdx +0 -3
  718. package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +0 -5
  719. package/dist/docs/recipes-and-delete/replace-dropdown.mdx +3 -6
  720. package/dist/docs/recipes-and-delete/replace-panel.mdx +0 -7
  721. package/dist/docs/recipes-and-delete/simple.mdx +3 -6
  722. package/dist/docs/recipes-and-delete/vertical.mdx +3 -6
  723. package/dist/docs/relations/aliases.mdx +0 -2
  724. package/dist/docs/relations/all-of-type.mdx +0 -4
  725. package/dist/docs/relations/child-nullable.mdx +0 -4
  726. package/dist/docs/relations/child-required.mdx +0 -2
  727. package/dist/docs/relations/collection-direct.mdx +0 -4
  728. package/dist/docs/relations/collection-indirect.mdx +0 -4
  729. package/dist/docs/relations/collection-multiple.mdx +0 -2
  730. package/dist/docs/relations/cross-reference.mdx +0 -2
  731. package/dist/docs/relations/hierarchy.mdx +0 -2
  732. package/dist/docs/selection-and-highlight/canvas.mdx +0 -1
  733. package/dist/docs/selection-and-highlight/disable-highlight-per-object.mdx +0 -1
  734. package/dist/docs/selection-and-highlight/disable-highlight.mdx +0 -1
  735. package/dist/docs/selection-and-highlight/effects/outline.mdx +0 -3
  736. package/dist/docs/selection-and-highlight/effects/overlay.mdx +0 -3
  737. package/dist/docs/selection-and-highlight/fast-emissive-highlight.mdx +0 -3
  738. package/dist/docs/selection-and-highlight/group-highlighting.mdx +0 -1
  739. package/dist/docs/selection-and-highlight/hierarchy.mdx +100 -151
  740. package/dist/docs/selection-and-highlight/hotspots.mdx +0 -1
  741. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +1 -1
  742. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  743. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  744. package/dist/domain/application/application-config.d.ts +6 -26
  745. package/dist/domain/application/assistant/assistant-fields.d.ts +1 -1
  746. package/dist/domain/application/assistant/assistant-value-type.d.ts +1 -1
  747. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +1 -2
  748. package/dist/domain/application/assistant/build-assistant-lenses.js +1 -1
  749. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +1 -2
  750. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  751. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +1 -2
  752. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  753. package/dist/domain/application/assistant/index.d.ts +0 -4
  754. package/dist/domain/application/assistant/index.js +1 -1
  755. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +1 -1
  756. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +1 -1
  757. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  758. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +3 -5
  759. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  760. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +1 -2
  761. package/dist/domain/application/assistant-field-options.d.ts +1 -1
  762. package/dist/domain/application/assistant-mutations.d.ts +1 -1
  763. package/dist/domain/application/assistant-mutations.js +1 -1
  764. package/dist/domain/application/assistant-recipe-groups.d.ts +1 -1
  765. package/dist/domain/application/configurator-builder.d.ts +1 -2
  766. package/dist/domain/application/create-initial-published-data.d.ts +2 -1
  767. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  768. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  769. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  770. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  771. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  772. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  773. package/dist/domain/available-system-components/available-system-components.js +1 -0
  774. package/dist/domain/available-system-components/index.d.ts +1 -0
  775. package/dist/domain/available-system-components/index.js +1 -0
  776. package/dist/domain/core/domain.js +1 -1
  777. package/dist/domain/core/invariant/violation.d.ts +3 -2
  778. package/dist/domain/{domain-builder.d.ts → domain-builder/domain-builder.d.ts} +2 -2
  779. package/dist/domain/domain-builder/domain-builder.js +1 -0
  780. package/dist/domain/domain-builder/index.d.ts +1 -0
  781. package/dist/domain/domain-builder/index.js +1 -0
  782. package/dist/domain/domain-context/transformers/context.d.ts +4 -2
  783. package/dist/domain/domain-context/transformers/when-builder.d.ts +2 -1
  784. package/dist/domain/domain-runtime/domain-runtime.d.ts +30 -24
  785. package/dist/domain/domain-runtime/environment/actions.d.ts +1 -0
  786. package/dist/domain/domain-runtime/environment/actions.js +1 -1
  787. package/dist/domain/domain-runtime/environment/initialize.js +1 -1
  788. package/dist/domain/domain-runtime/environment/selectors.d.ts +2 -0
  789. package/dist/domain/domain-runtime/environment/selectors.js +1 -1
  790. package/dist/domain/domain-runtime/environment/types.d.ts +6 -0
  791. package/dist/domain/domain-runtime/index.d.ts +0 -1
  792. package/dist/domain/domain-runtime/index.js +1 -1
  793. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +1 -1
  794. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -1
  795. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  796. package/dist/domain/domain-runtime/spec/index.js +1 -1
  797. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  798. package/dist/domain/domain-runtime/spec/{module-checks/resolve-imported-transformers.d.ts → resolve-imported-transformers.d.ts} +3 -3
  799. package/dist/domain/domain-runtime/spec/resolve-imported-transformers.js +1 -0
  800. package/dist/domain/domain-runtime/spec/selectors.d.ts +5 -5
  801. package/dist/domain/domain-runtime/spec/types.d.ts +2 -2
  802. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +6 -0
  803. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  804. package/dist/domain/extensions/export-images/index.d.ts +1 -1
  805. package/dist/domain/extensions/export-images/index.js +1 -1
  806. package/dist/domain/extensions/index.d.ts +1 -1
  807. package/dist/domain/extensions/index.js +1 -1
  808. package/dist/domain/extensions/scene-entity-delete-fab.d.ts +1 -1
  809. package/dist/domain/extensions/scene-entity-delete-fab.js +1 -1
  810. package/dist/domain/index.d.ts +15 -2
  811. package/dist/domain/index.js +1 -1
  812. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +3 -0
  813. package/dist/domain/mocks/create-test-application-config.d.ts +1 -1
  814. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  815. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  816. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  817. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  818. package/dist/domain/spec/application/index.d.ts +5 -0
  819. package/dist/domain/spec/application/index.js +1 -0
  820. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  821. package/dist/domain/spec/components/bindings/index.js +1 -0
  822. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  823. package/dist/domain/spec/components/bindings/read-binding.js +1 -0
  824. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  825. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  826. package/dist/{application-spec/parse-application-files → domain}/spec/components/component-entry.d.ts +3 -3
  827. package/dist/domain/spec/components/component-entry.js +1 -0
  828. package/dist/{application-spec/core → domain/spec}/components/component-filter.d.ts +3 -2
  829. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  830. package/dist/domain/spec/components/component-filters.js +1 -0
  831. package/dist/domain/spec/components/components.d.ts +4 -0
  832. package/dist/domain/spec/components/components.js +1 -0
  833. package/dist/domain/spec/components/index.d.ts +6 -0
  834. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  835. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  836. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  837. package/dist/domain/spec/enhanced-json/index.js +1 -0
  838. package/dist/{application-spec/parse-application-files → domain}/spec/expressions/expression.d.ts +9 -3
  839. package/dist/domain/spec/expressions/expression.js +1 -0
  840. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  841. package/dist/domain/spec/expressions/expressions.js +1 -0
  842. package/dist/domain/spec/expressions/index.d.ts +5 -0
  843. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  844. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  845. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  846. package/dist/domain/spec/index.d.ts +4 -0
  847. package/dist/domain/spec/index.js +1 -0
  848. package/dist/domain/spec/invariants/index.d.ts +2 -0
  849. package/dist/domain/spec/invariants/index.js +1 -0
  850. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  851. package/dist/domain/spec/invariants/invariant.js +1 -0
  852. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  853. package/dist/domain/spec/invariants/invariants.js +1 -0
  854. package/dist/domain/spec/json-schema.d.ts +52 -0
  855. package/dist/domain/spec/json-schema.js +1 -0
  856. package/dist/domain/spec/markers/index.d.ts +3 -0
  857. package/dist/domain/spec/markers/index.js +1 -0
  858. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  859. package/dist/domain/spec/markers/msg-marker.js +1 -0
  860. package/dist/domain/spec/model/aliases.d.ts +9 -0
  861. package/dist/domain/spec/model/aliases.js +1 -0
  862. package/dist/domain/spec/model/common-types.d.ts +15 -0
  863. package/dist/domain/spec/model/common-types.js +1 -0
  864. package/dist/domain/spec/model/defaults.d.ts +33 -0
  865. package/dist/domain/spec/model/defaults.js +1 -0
  866. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  867. package/dist/domain/spec/model/entity-types.js +1 -0
  868. package/dist/domain/spec/model/index.d.ts +7 -0
  869. package/dist/domain/spec/model/index.js +1 -0
  870. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  871. package/dist/domain/spec/model/model-version-key.js +1 -0
  872. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  873. package/dist/domain/spec/model/names/action-name.js +1 -0
  874. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  875. package/dist/domain/spec/model/names/alias-name.js +1 -0
  876. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  877. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  878. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  879. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  880. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  881. package/dist/domain/spec/model/names/expression-name.js +1 -0
  882. package/dist/domain/spec/model/names/index.d.ts +9 -0
  883. package/dist/domain/spec/model/names/index.js +1 -0
  884. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  885. package/dist/domain/spec/model/names/instance-name.js +1 -0
  886. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  887. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  888. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  889. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  890. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  891. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  892. package/dist/domain/spec/model/presets.d.ts +30 -0
  893. package/dist/domain/spec/model/presets.js +1 -0
  894. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.d.ts +1 -1
  895. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/find-assistant-form-element-errors.d.ts +1 -1
  896. package/dist/domain/spec/modules/find-assistant-form-element-errors.js +1 -0
  897. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/index.d.ts +2 -3
  898. package/dist/domain/spec/modules/index.js +1 -0
  899. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/merge-expression-modules.d.ts +2 -2
  900. package/dist/domain/spec/modules/merge-expression-modules.js +1 -0
  901. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/project-modules.d.ts +1 -1
  902. package/dist/domain/spec/modules/project-modules.js +1 -0
  903. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.d.ts +1 -1
  904. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.d.ts +1 -1
  905. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.d.ts +1 -1
  906. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.d.ts +1 -1
  907. package/dist/domain/spec/phx/index.d.ts +1 -0
  908. package/dist/domain/spec/phx/index.js +1 -0
  909. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-application-types.d.ts +1 -1
  910. package/dist/domain/spec/phx/phx-application-types.js +1 -0
  911. package/dist/domain/spec/phx/phx-domain.js +1 -0
  912. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-model.d.ts +2 -2
  913. package/dist/domain/spec/phx/phx-model.js +1 -0
  914. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.d.ts +1 -2
  915. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-runtime.d.ts +7 -6
  916. package/dist/domain/spec/runtime/admin-runtime/admin-runtime.js +1 -0
  917. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-spec-runtime.d.ts +2 -2
  918. package/dist/domain/spec/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  919. package/dist/domain/spec/runtime/admin-runtime/index.d.ts +2 -0
  920. package/dist/domain/spec/runtime/admin-runtime/index.js +1 -0
  921. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.d.ts +1 -1
  922. package/dist/{application-spec/generate-application → domain/spec}/runtime/application-runtime.d.ts +8 -6
  923. package/dist/domain/spec/runtime/application-runtime.js +1 -0
  924. package/dist/{application-spec/generate-application → domain/spec}/runtime/application-spec-slice.d.ts +3 -1
  925. package/dist/domain/spec/runtime/application-spec-slice.js +1 -0
  926. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-runtime.d.ts +8 -10
  927. package/dist/domain/spec/runtime/configurator-runtime/configurator-runtime.js +1 -0
  928. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-spec-runtime.d.ts +2 -2
  929. package/dist/domain/spec/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  930. package/dist/domain/spec/runtime/configurator-runtime/index.d.ts +2 -0
  931. package/dist/domain/spec/runtime/configurator-runtime/index.js +1 -0
  932. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.d.ts +1 -1
  933. package/dist/{application-spec/generate-application → domain/spec}/runtime/create-application.d.ts +3 -2
  934. package/dist/domain/spec/runtime/create-application.js +1 -0
  935. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/expression-runtime.d.ts +5 -3
  936. package/dist/domain/spec/runtime/expressions/expression-runtime.js +1 -0
  937. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/generate-memo-eval-plan-runtime.d.ts +2 -2
  938. package/dist/domain/spec/runtime/expressions/generate-memo-eval-plan-runtime.js +1 -0
  939. package/dist/domain/spec/runtime/expressions/index.d.ts +3 -0
  940. package/dist/domain/spec/runtime/expressions/index.js +1 -0
  941. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.d.ts +2 -1
  942. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.d.ts +4 -3
  943. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/recipe-defaults.d.ts +1 -1
  944. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/recipe-defaults.js +1 -1
  945. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/static-violations.d.ts +2 -2
  946. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/static-violations.js +1 -1
  947. package/dist/{application-spec/generate-application → domain/spec}/runtime/generate-runtime-instance.d.ts +1 -1
  948. package/dist/domain/spec/runtime/generate-runtime-instance.js +1 -0
  949. package/dist/domain/spec/runtime/index.d.ts +13 -0
  950. package/dist/domain/spec/runtime/index.js +1 -0
  951. package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/migration-runtime.d.ts +2 -2
  952. package/dist/domain/spec/runtime/migrations/migration-runtime.js +1 -0
  953. package/dist/{application-spec/generate-application/runtime/admin-runtime → domain/spec/runtime/model}/admin-model-runtime.d.ts +4 -3
  954. package/dist/domain/spec/runtime/model/admin-model-runtime.js +1 -0
  955. package/dist/{application-spec/generate-application/runtime/configurator-runtime → domain/spec/runtime/model}/configurator-model-runtime.d.ts +4 -3
  956. package/dist/domain/spec/runtime/model/configurator-model-runtime.js +1 -0
  957. package/dist/domain/spec/runtime/model/index.d.ts +2 -0
  958. package/dist/domain/spec/runtime/model/index.js +1 -0
  959. package/dist/domain/spec/runtime/optics/build-sdk-optic.d.ts +7 -0
  960. package/dist/domain/spec/runtime/optics/build-sdk-optic.js +1 -0
  961. package/dist/domain/spec/runtime/optics/build-user-bound-optic.d.ts +7 -0
  962. package/dist/domain/spec/runtime/optics/build-user-bound-optic.js +1 -0
  963. package/dist/domain/spec/runtime/optics/built-component-optic.d.ts +11 -0
  964. package/dist/domain/spec/runtime/optics/built-component-optic.js +1 -0
  965. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.d.ts +4 -14
  966. package/dist/domain/spec/runtime/optics/index.d.ts +2 -0
  967. package/dist/domain/spec/runtime/optics/index.js +1 -0
  968. package/dist/{application-spec/caching → domain/spec/runtime}/runtime-reference-store.d.ts +1 -5
  969. package/dist/domain/spec/runtime/runtime-reference-store.js +1 -0
  970. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.d.ts +3 -3
  971. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.d.ts +2 -2
  972. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.d.ts +1 -1
  973. package/dist/domain/spec/runtime/sections/index.d.ts +6 -0
  974. package/dist/domain/spec/runtime/sections/index.js +1 -0
  975. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.d.ts +4 -4
  976. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.d.ts +1 -1
  977. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.d.ts +2 -2
  978. package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.d.ts +1 -1
  979. package/dist/domain/spec/runtime/spec-code/spec-code-module.js +1 -0
  980. package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-runtime.d.ts +3 -3
  981. package/dist/domain/spec/runtime/spec-runtime.js +1 -0
  982. package/dist/domain/spec/runtime-spec/index.d.ts +4 -0
  983. package/dist/domain/spec/runtime-spec/index.js +1 -0
  984. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +174 -0
  985. package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.d.ts +1 -1
  986. package/dist/domain/spec/sections/actions.d.ts +23 -0
  987. package/dist/domain/spec/sections/actions.js +1 -0
  988. package/dist/domain/spec/sections/app-metadata.d.ts +18 -0
  989. package/dist/domain/spec/sections/app-metadata.js +1 -0
  990. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  991. package/dist/domain/spec/sections/application-version.js +1 -0
  992. package/dist/domain/{application → spec/sections}/assistant/assistant-manifest.d.ts +13 -3
  993. package/dist/domain/{application → spec/sections}/assistant/assistant-resolved-manifest.d.ts +5 -9
  994. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.js +1 -0
  995. package/dist/domain/spec/sections/assistant/index.d.ts +4 -0
  996. package/dist/domain/spec/sections/assistant/index.js +1 -0
  997. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  998. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  999. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  1000. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  1001. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  1002. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  1003. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  1004. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  1005. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  1006. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  1007. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  1008. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  1009. package/dist/domain/spec/sections/index.d.ts +10 -0
  1010. package/dist/domain/spec/sections/index.js +1 -0
  1011. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  1012. package/dist/domain/spec/sections/infra/acl.js +1 -0
  1013. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  1014. package/dist/domain/spec/sections/infra/index.js +1 -0
  1015. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  1016. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  1017. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  1018. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  1019. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  1020. package/dist/domain/spec/sections/state-value.js +1 -0
  1021. package/dist/domain/spec/sections/theme.d.ts +10 -0
  1022. package/dist/domain/spec/sections/theme.js +1 -0
  1023. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  1024. package/dist/domain/spec/sections/transformers.js +1 -0
  1025. package/dist/domain/spec/sections/ui.d.ts +12 -0
  1026. package/dist/domain/spec/sections/ui.js +1 -0
  1027. package/dist/domain/system-components/phoenix-entity-elements/child-entity-card-selector.d.ts +2 -3
  1028. package/dist/domain/system-components/phoenix-entity-elements/child-entity-list-selector.d.ts +2 -3
  1029. package/dist/domain/system-components/phoenix-entity-elements/child-entity-toggle-selector.d.ts +2 -3
  1030. package/dist/domain/system-definitions.js +1 -1
  1031. package/dist/domain/utils/index.d.ts +2 -0
  1032. package/dist/domain/utils/index.js +1 -0
  1033. package/dist/editor/Editor.d.ts +5 -0
  1034. package/dist/editor/Editor.js +1 -1
  1035. package/dist/editor/EditorMode.d.ts +2 -0
  1036. package/dist/editor/EditorMode.js +1 -1
  1037. package/dist/editor/agent-mode/AgentModeBridge.d.ts +10 -0
  1038. package/dist/editor/agent-mode/AgentModeBridge.js +1 -0
  1039. package/dist/editor/agent-mode/agent-at-work-fonts.d.ts +2 -0
  1040. package/dist/editor/agent-mode/agent-at-work-fonts.js +1 -0
  1041. package/dist/editor/console-reporter/BrowserConsoleReporter.js +1 -1
  1042. package/dist/editor/console-reporter/console-capture.d.ts +20 -0
  1043. package/dist/editor/console-reporter/console-capture.js +1 -0
  1044. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  1045. package/dist/editor/index.d.ts +1 -0
  1046. package/dist/editor/index.js +1 -1
  1047. package/dist/editor/variants/VariantAnswerFooter.d.ts +8 -1
  1048. package/dist/editor/variants/VariantAnswerFooter.js +1 -1
  1049. package/dist/editor/variants/VariantPageUnavailable.d.ts +5 -0
  1050. package/dist/editor/variants/VariantPageUnavailable.js +1 -0
  1051. package/dist/editor/variants/VariantPreviewHandler.js +1 -1
  1052. package/dist/editor/variants/variant-preview-fonts.d.ts +2 -0
  1053. package/dist/editor/variants/variant-preview-fonts.js +1 -0
  1054. package/dist/editor/variants/variant-preview-styles.d.ts +40 -48
  1055. package/dist/editor/variants/variant-preview-styles.js +493 -1
  1056. package/dist/i18n/locales/cs/messages.js +1 -1
  1057. package/dist/i18n/locales/da/messages.js +1 -1
  1058. package/dist/i18n/locales/de/messages.js +1 -1
  1059. package/dist/i18n/locales/de-AT/messages.js +1 -1
  1060. package/dist/i18n/locales/en/messages.js +1 -1
  1061. package/dist/i18n/locales/en-AU/messages.js +1 -1
  1062. package/dist/i18n/locales/en-GB/messages.js +1 -1
  1063. package/dist/i18n/locales/es/messages.js +1 -1
  1064. package/dist/i18n/locales/fr/messages.js +1 -1
  1065. package/dist/i18n/locales/hu/messages.js +1 -1
  1066. package/dist/i18n/locales/it/messages.js +1 -1
  1067. package/dist/i18n/locales/nl/messages.js +1 -1
  1068. package/dist/i18n/locales/pl/messages.js +1 -1
  1069. package/dist/i18n/locales/pt/messages.js +1 -1
  1070. package/dist/i18n/locales/ro/messages.js +1 -1
  1071. package/dist/i18n/locales/sk/messages.js +1 -1
  1072. package/dist/i18n/locales/tr/messages.js +1 -1
  1073. package/dist/i18n/merge-catalogs.d.ts +4 -1
  1074. package/dist/i18n/merge-catalogs.js +1 -1
  1075. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  1076. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  1077. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +4 -2
  1078. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/i18n-index.js +3 -3
  1079. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  1080. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
  1081. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
  1082. package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
  1083. package/dist/phoenix/application-spec/application-spec-builder.d.ts +2 -2
  1084. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  1085. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +3 -1
  1086. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  1087. package/dist/phoenix/application-spec/generate-project-files.d.ts +4 -2
  1088. package/dist/phoenix/application-spec/generate-project-files.js +1 -1
  1089. package/dist/phoenix/application-spec/index.d.ts +3 -0
  1090. package/dist/phoenix/application-spec/index.js +1 -1
  1091. package/dist/phoenix/application-spec/project-files.d.ts +8 -2
  1092. package/dist/phoenix/application-spec/project-files.js +1 -1
  1093. package/dist/phoenix/application-spec/read-spec-project.d.ts +1 -2
  1094. package/dist/phoenix/application-spec/read-spec-project.js +1 -1
  1095. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +11 -0
  1096. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  1097. package/dist/phoenix/bin.js +1 -1
  1098. package/dist/phoenix/cli.js +1 -1
  1099. package/dist/phoenix/commands/activate-deployment.js +1 -1
  1100. package/dist/phoenix/commands/build.d.ts +2 -1
  1101. package/dist/phoenix/commands/build.js +1 -1
  1102. package/dist/phoenix/commands/changelog.js +1 -1
  1103. package/dist/phoenix/commands/check.js +1 -1
  1104. package/dist/phoenix/commands/clean.d.ts +2 -1
  1105. package/dist/phoenix/commands/clean.js +1 -1
  1106. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  1107. package/dist/phoenix/commands/create-environment.js +1 -1
  1108. package/dist/phoenix/commands/data.js +1 -1
  1109. package/dist/phoenix/commands/deploy.js +3 -3
  1110. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  1111. package/dist/phoenix/commands/dev.d.ts +2 -1
  1112. package/dist/phoenix/commands/dev.js +4 -5
  1113. package/dist/phoenix/commands/docs.js +1 -1
  1114. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  1115. package/dist/phoenix/commands/fix.js +1 -1
  1116. package/dist/phoenix/commands/index.d.ts +1 -1
  1117. package/dist/phoenix/commands/index.js +1 -1
  1118. package/dist/phoenix/commands/inspect-assets.js +1 -1
  1119. package/dist/phoenix/commands/list-environments.js +1 -1
  1120. package/dist/phoenix/commands/login.d.ts +4 -1
  1121. package/dist/phoenix/commands/login.js +2 -2
  1122. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  1123. package/dist/phoenix/commands/register-deployment.js +1 -1
  1124. package/dist/phoenix/commands/scene.js +1 -1
  1125. package/dist/phoenix/commands/screenshot.js +1 -1
  1126. package/dist/phoenix/commands/state.js +1 -1
  1127. package/dist/phoenix/commands/story-build.js +3 -3
  1128. package/dist/phoenix/commands/story-create.js +1 -1
  1129. package/dist/phoenix/commands/story-dev.js +2 -2
  1130. package/dist/phoenix/commands/sync.d.ts +2 -1
  1131. package/dist/phoenix/commands/sync.js +1 -1
  1132. package/dist/phoenix/commands/variants.js +1 -1
  1133. package/dist/phoenix/editor-server/commands-router.js +1 -1
  1134. package/dist/phoenix/editor-server/editor-server.d.ts +2 -13
  1135. package/dist/phoenix/editor-server/editor-server.js +1 -1
  1136. package/dist/phoenix/editor-server/spec-router.js +1 -1
  1137. package/dist/phoenix/editor-server/trpc.d.ts +2 -12
  1138. package/dist/phoenix/lingui/index.d.ts +1 -0
  1139. package/dist/phoenix/lingui/index.js +1 -0
  1140. package/dist/phoenix/lingui/lingui.d.ts +18 -0
  1141. package/dist/phoenix/lingui/lingui.js +1 -0
  1142. package/dist/phoenix/scripts/docs-utils.js +1 -1
  1143. package/dist/phoenix/services/application-spec-project-watcher.d.ts +14 -7
  1144. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  1145. package/dist/phoenix/services/cli-credentials.d.ts +3 -0
  1146. package/dist/phoenix/services/cli-credentials.js +1 -1
  1147. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  1148. package/dist/phoenix/services/cli-exit.js +1 -0
  1149. package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
  1150. package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
  1151. package/dist/phoenix/{commands → services/deployment}/generated-env-markers.d.ts +1 -0
  1152. package/dist/phoenix/services/deployment/generated-env-markers.js +1 -0
  1153. package/dist/phoenix/services/deployment/index.d.ts +2 -0
  1154. package/dist/phoenix/services/deployment/index.js +1 -0
  1155. package/dist/phoenix/services/dev-experience/dev-experience.d.ts +31 -0
  1156. package/dist/phoenix/services/dev-experience/dev-experience.js +1 -0
  1157. package/dist/phoenix/services/dev-experience/index.d.ts +3 -0
  1158. package/dist/phoenix/services/dev-experience/index.js +1 -0
  1159. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.d.ts +7 -0
  1160. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.js +1 -0
  1161. package/dist/phoenix/services/dev-experience/regenerated-page-experience.d.ts +24 -0
  1162. package/dist/phoenix/services/dev-experience/regenerated-page-experience.js +1 -0
  1163. package/dist/phoenix/services/index.d.ts +7 -2
  1164. package/dist/phoenix/services/index.js +1 -1
  1165. package/dist/phoenix/services/lingui-watcher.js +1 -1
  1166. package/dist/phoenix/services/phoenix-pubsub.d.ts +4 -0
  1167. package/dist/phoenix/services/phoenix-store.d.ts +3 -0
  1168. package/dist/phoenix/services/phoenix-store.js +1 -1
  1169. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  1170. package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
  1171. package/dist/phoenix/services/session/editor-server-handle.js +1 -0
  1172. package/dist/phoenix/services/session/index.d.ts +2 -0
  1173. package/dist/phoenix/services/session/index.js +1 -0
  1174. package/dist/phoenix/services/session/phoenix-application.d.ts +83 -0
  1175. package/dist/phoenix/services/session/phoenix-application.js +2 -0
  1176. package/dist/phoenix/services/source-archive.d.ts +2 -0
  1177. package/dist/phoenix/services/source-archive.js +1 -1
  1178. package/dist/phoenix/services/swc.d.ts +5 -4
  1179. package/dist/phoenix/services/swc.js +2 -2
  1180. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  1181. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  1182. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  1183. package/dist/phoenix/services/telemetry/index.js +1 -0
  1184. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  1185. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  1186. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  1187. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  1188. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  1189. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  1190. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  1191. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  1192. package/dist/phoenix/services/vite-config.d.ts +2 -1
  1193. package/dist/phoenix/services/vite-config.js +1 -1
  1194. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  1195. package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
  1196. package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
  1197. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  1198. package/dist/react-sdk/application-runtime/hooks/use-environment.d.ts +7 -0
  1199. package/dist/react-sdk/application-runtime/hooks/use-environment.js +1 -1
  1200. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +6 -0
  1201. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/ConfiguratorRoutingProvider.d.ts +1 -1
  1202. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  1203. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/OnGoToIndexHandler.d.ts +1 -2
  1204. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  1205. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  1206. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/index.js +1 -1
  1207. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/use-power-routing-lifecycle.d.ts +2 -0
  1208. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  1209. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.d.ts +7 -0
  1210. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.js +1 -0
  1211. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.d.ts +14 -0
  1212. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.js +1 -0
  1213. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.d.ts +18 -0
  1214. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.js +1 -0
  1215. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.d.ts +5 -0
  1216. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.js +1 -0
  1217. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.d.ts +17 -0
  1218. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.js +1 -0
  1219. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.d.ts +5 -0
  1220. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.js +1 -0
  1221. package/dist/react-sdk/configurator-ui-elements/index.d.ts +6 -0
  1222. package/dist/react-sdk/configurator-ui-elements/index.js +1 -0
  1223. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  1224. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  1225. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  1226. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  1227. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  1228. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  1229. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  1230. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  1231. package/dist/react-sdk/domain-application-context/index.js +1 -1
  1232. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +6 -1
  1233. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.js +1 -1
  1234. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.d.ts +2 -2
  1235. package/dist/react-sdk/domain-controls/ChildEntityCardSelector.d.ts +2 -3
  1236. package/dist/react-sdk/domain-controls/ChildEntityListSelector.d.ts +2 -3
  1237. package/dist/react-sdk/domain-controls/ChildEntityToggleSelector.d.ts +2 -3
  1238. package/dist/react-sdk/domain-controls/hooks/use-cook-replace-recipes.d.ts +3 -3
  1239. package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
  1240. package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
  1241. package/dist/react-sdk/index.d.ts +7 -0
  1242. package/dist/react-sdk/index.js +1 -1
  1243. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  1244. package/dist/react-sdk/integration/index.d.ts +1 -0
  1245. package/dist/react-sdk/integration/index.js +1 -0
  1246. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  1247. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  1248. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  1249. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  1250. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  1251. package/dist/react-sdk/notifications/index.d.ts +1 -0
  1252. package/dist/react-sdk/notifications/index.js +1 -0
  1253. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  1254. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  1255. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  1256. package/dist/react-sdk/preset-selection/index.d.ts +1 -0
  1257. package/dist/react-sdk/preset-selection/index.js +1 -0
  1258. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.d.ts +11 -0
  1259. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.js +1 -0
  1260. package/dist/react-sdk/provider-slots/configurator-provider-slot.d.ts +24 -0
  1261. package/dist/react-sdk/provider-slots/configurator-provider-slot.js +1 -0
  1262. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.d.ts +5 -0
  1263. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.js +1 -0
  1264. package/dist/react-sdk/provider-slots/index.d.ts +3 -0
  1265. package/dist/react-sdk/provider-slots/index.js +1 -0
  1266. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  1267. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  1268. package/dist/ui-sdk/components/numerical-input/InputField.d.ts +2 -0
  1269. package/dist/ui-sdk/components/numerical-input/InputField.js +1 -1
  1270. package/dist/ui-sdk/components/numerical-input/NumericalInput.d.ts +2 -2
  1271. package/dist/ui-sdk/components/numerical-input/Slider.d.ts +3 -1
  1272. package/dist/ui-sdk/components/numerical-input/Slider.js +1 -1
  1273. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +24 -3
  1274. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  1275. package/dist/ui-sdk/icons/__generated/ChatCircleText.d.ts +3 -0
  1276. package/dist/ui-sdk/icons/__generated/ChatCircleText.js +1 -0
  1277. package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
  1278. package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
  1279. package/dist/ui-sdk/icons/__generated/PencilSimpleLine.d.ts +3 -0
  1280. package/dist/ui-sdk/icons/__generated/PencilSimpleLine.js +1 -0
  1281. package/dist/ui-sdk/icons/__generated/index.d.ts +6 -0
  1282. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  1283. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  1284. package/dist/ui-sdk/theme/types.d.ts +0 -4
  1285. package/dist/watch/glob-matcher.d.ts +4 -4
  1286. package/dist/watch/glob-matcher.js +1 -1
  1287. package/dist/watch/watch.d.ts +4 -4
  1288. package/dist/watch/watch.js +1 -1
  1289. package/package.json +5 -3
  1290. package/schema/domain-spec.json +88 -4
  1291. package/dist/application-spec/caching/runtime-reference-store.js +0 -1
  1292. package/dist/application-spec/core/components/index.d.ts +0 -2
  1293. package/dist/application-spec/core/expressions/index.d.ts +0 -2
  1294. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.d.ts +0 -1
  1295. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +0 -1
  1296. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.d.ts +0 -3
  1297. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +0 -166
  1298. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.d.ts +0 -1
  1299. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +0 -54
  1300. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.d.ts +0 -1
  1301. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +0 -115
  1302. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +0 -1
  1303. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +0 -1
  1304. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +0 -6
  1305. package/dist/application-spec/generate-application/implementations/phx-application-types.js +0 -1
  1306. package/dist/application-spec/generate-application/implementations/phx-domain.js +0 -1
  1307. package/dist/application-spec/generate-application/implementations/phx-model.js +0 -1
  1308. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +0 -1
  1309. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +0 -1
  1310. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +0 -1
  1311. package/dist/application-spec/generate-application/runtime/application-runtime.js +0 -1
  1312. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +0 -1
  1313. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +0 -1
  1314. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +0 -1
  1315. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +0 -1
  1316. package/dist/application-spec/generate-application/runtime/create-application.js +0 -1
  1317. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +0 -1
  1318. package/dist/application-spec/generate-application/runtime/index.d.ts +0 -8
  1319. package/dist/application-spec/generate-application/runtime/index.js +0 -1
  1320. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +0 -1
  1321. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +0 -8
  1322. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +0 -1
  1323. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +0 -8
  1324. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +0 -1
  1325. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +0 -1
  1326. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +0 -1
  1327. package/dist/application-spec/generate-application/runtime/sections/index.d.ts +0 -10
  1328. package/dist/application-spec/generate-application/runtime/sections/index.js +0 -1
  1329. package/dist/application-spec/generate-application/runtime/spec-runtime.js +0 -1
  1330. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +0 -5
  1331. package/dist/application-spec/generate-application/runtime-spec/index.js +0 -1
  1332. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +0 -103
  1333. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.d.ts +0 -17
  1334. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.js +0 -1
  1335. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  1336. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  1337. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  1338. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  1339. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  1340. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  1341. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  1342. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  1343. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  1344. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  1345. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  1346. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  1347. package/dist/configurator/ui/assistant/theme.d.ts +0 -2
  1348. package/dist/configurator/ui/assistant/theme.js +0 -1
  1349. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +0 -1
  1350. package/dist/domain/available-system-components.d.ts +0 -11
  1351. package/dist/domain/available-system-components.js +0 -1
  1352. package/dist/domain/domain-builder.js +0 -1
  1353. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +0 -1
  1354. package/dist/domain/domain-runtime/spec/module-checks/index.js +0 -1
  1355. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +0 -1
  1356. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +0 -1
  1357. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +0 -1
  1358. package/dist/phoenix/commands/generated-env-markers.js +0 -1
  1359. package/dist/phoenix/services/lingui.d.ts +0 -15
  1360. package/dist/phoenix/services/lingui.js +0 -1
  1361. package/dist/phoenix/services/phoenix-application.d.ts +0 -21
  1362. package/dist/phoenix/services/phoenix-application.js +0 -1
  1363. /package/dist/{application-spec/core/expressions/relation-expression-params.js → configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.js} +0 -0
  1364. /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.d.ts +0 -0
  1365. /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.js +0 -0
  1366. /package/dist/{application-spec/generate-application/runtime/spec-code/spec-code-module.js → domain/spec/application/admin-pages-section.js} +0 -0
  1367. /package/dist/{application-spec/parse-application-files/spec/components/component-entry.js → domain/spec/application/admin-pages.js} +0 -0
  1368. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → domain/spec/application/admin-states.js} +0 -0
  1369. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  1370. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  1371. /package/dist/domain/{application/assistant/assistant-manifest.js → spec/application/configurator-states.js} +0 -0
  1372. /package/dist/{application-spec/core → domain/spec}/components/component-filter.js +0 -0
  1373. /package/dist/{application-spec/core → domain/spec}/components/index.js +0 -0
  1374. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.d.ts +0 -0
  1375. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.js +0 -0
  1376. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.d.ts +0 -0
  1377. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.js +0 -0
  1378. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.d.ts +0 -0
  1379. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.js +0 -0
  1380. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.d.ts +0 -0
  1381. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.js +0 -0
  1382. /package/dist/domain/{domain-runtime → spec}/errors/index.d.ts +0 -0
  1383. /package/dist/domain/{domain-runtime → spec}/errors/index.js +0 -0
  1384. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.d.ts +0 -0
  1385. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.js +0 -0
  1386. /package/dist/{application-spec/core → domain/spec}/expressions/index.js +0 -0
  1387. /package/dist/{application-spec/core → domain/spec}/expressions/relation-expression-params.d.ts +0 -0
  1388. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.d.ts +0 -0
  1389. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.js +0 -0
  1390. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  1391. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  1392. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  1393. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  1394. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.js +0 -0
  1395. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.d.ts +0 -0
  1396. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.js +0 -0
  1397. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.js +0 -0
  1398. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.js +0 -0
  1399. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.js +0 -0
  1400. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.js +0 -0
  1401. /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-domain.d.ts +0 -0
  1402. /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.js +0 -0
  1403. /package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.js +0 -0
  1404. /package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.js +0 -0
  1405. /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.js +0 -0
  1406. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.js +0 -0
  1407. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.d.ts +0 -0
  1408. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.js +0 -0
  1409. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.d.ts +0 -0
  1410. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.js +0 -0
  1411. /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.js +0 -0
  1412. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.js +0 -0
  1413. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.js +0 -0
  1414. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.js +0 -0
  1415. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.js +0 -0
  1416. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.js +0 -0
  1417. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.js +0 -0
  1418. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.d.ts +0 -0
  1419. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.js +0 -0
  1420. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.js +0 -0
  1421. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/spec-code-module.d.ts +0 -0
  1422. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.d.ts +0 -0
  1423. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.js +0 -0
  1424. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.d.ts +0 -0
  1425. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.js +0 -0
  1426. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.d.ts +0 -0
  1427. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.js +0 -0
  1428. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/runtime-spec.js +0 -0
  1429. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.js +0 -0
  1430. /package/dist/domain/{application/assistant/assistant-resolved-manifest.js → spec/sections/assistant/assistant-manifest.js} +0 -0
  1431. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.d.ts +0 -0
  1432. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.js +0 -0
  1433. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.d.ts +0 -0
  1434. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.js +0 -0
  1435. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.d.ts +0 -0
  1436. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.js +0 -0
  1437. /package/dist/domain/{application → spec/sections}/assistant/form/index.d.ts +0 -0
  1438. /package/dist/domain/{application → spec/sections}/assistant/form/index.js +0 -0
  1439. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  1440. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  1441. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
  1442. /package/dist/{configurator/configurator-context → react-sdk/preset-selection}/PresetSelectionProvider.d.ts +0 -0
@@ -80,9 +80,10 @@ a file can share its name with a file in another entity folder.
80
80
 
81
81
  Two naming limits still apply:
82
82
 
83
- - Transformer file names must be unique across all subfolders of `src/transformers/`, because each transformer
84
- registers under its file name. Application-spec projects also treat names that differ only in letter case or dashes
85
- as the same name.
83
+ - Transformer file names must be unique across all subfolders of `src/transformers/`, and names that differ only in
84
+ letter case or dashes count as the same name: each `transformers:` entry of the spec names the file that holds its
85
+ transformer that way. The transformer the file builds carries the entry's name exactly, as `build('clampWidth')`
86
+ does for the entry `clampWidth`.
86
87
  - Files named `index.ts` inside entity folders are not auto-registered, except in application-spec projects. Give
87
88
  entity files descriptive names instead.
88
89
 
@@ -155,7 +156,7 @@ In a project on the legacy pipeline (see [Current and legacy project tooling](?p
155
156
 
156
157
  A project installs with any package manager: pnpm, npm, Yarn or Bun. Phoenix writes no package-manager settings and no `packageManager` field; the lockfile, `pnpm-workspace.yaml`, `.npmrc` and `.yarnrc.yml` are the project's own. Run `phoenix` through the package manager the project uses, such as `pnpm phoenix sync` or `npx phoenix sync`.
157
158
 
158
- A project that installs with pnpm 11 needs a `pnpm-workspace.yaml` in its root before the first install. pnpm 11 stops an install until every dependency build script is allowed or denied, and the SDK's dependencies have three. Its default minimum release age also refuses a package published only recently, so the exclusion lets the project install an SDK build on the day it is released; it is optional:
159
+ A project that installs with pnpm 11 needs a `pnpm-workspace.yaml` in its root before the first install. pnpm 11 stops an install until every dependency build script is allowed or denied, and the SDK's dependencies have three. An install that skipped a build script writes a placeholder entry under `allowBuilds` instead of `true` or `false`; replace it, because the platform build stops on it and `phoenix deploy` refuses it. Its default minimum release age also refuses a package published only recently, so the exclusion lets the project install an SDK build on the day it is released; it is optional:
159
160
 
160
161
  ```yaml
161
162
  allowBuilds:
@@ -179,9 +180,9 @@ Phoenix generates typed interfaces available globally:
179
180
 
180
181
  Types are auto-generated in `.phoenix/` from your domain schema:
181
182
 
182
- - `.phoenix/configurator-interface.ts` - Configurator interface types
183
- - `.phoenix/admin-interface.ts` - Admin interface types
184
- - `.phoenix/globals.d.ts` - Global type definitions
183
+ - `.phoenix/configurator-globals.ts` - assigns `phx.frontend`
184
+ - `.phoenix/admin-globals.ts` - assigns `phx.frontend.admin`
185
+ - `.phoenix/globals.d.ts` - the type of the `phx` global
185
186
 
186
187
  Access in code:
187
188
 
@@ -199,23 +200,23 @@ type CustomMaterial = Phx['AdminModel']['CustomMaterial']
199
200
 
200
201
  ### Root Level Files
201
202
 
202
- | File | Auto-Generated? | Notes |
203
- | ------------------------------------------------------ | --------------- | ------------------------------------- |
204
- | `package.json` | No | Yours; see Dependencies |
205
- | `tsconfig.json` | Once | Yours; see below |
206
- | `eslint.config.js` | Once | Yours; see below |
207
- | `prettier.config.js` | Once | Yours; see below |
208
- | `.prettierignore` | No | Optional and your own; see below |
209
- | `pnpm-workspace.yaml` | No | Only with pnpm; see Package manager |
210
- | `.gitignore` | Partially | Only in a git repository; see Markers |
211
- | `.env` | No | Git-ignored, local config |
212
- | `.env.example` | No | Template for env vars |
213
- | `.env.generated` | Yes | Optional, git-ignored; see below |
214
- | `README.md` | No | Project documentation |
215
- | `AGENTS.md` | No | Your own coding-agent instructions |
216
- | `.claude/skills/phoenix*/`, `.agents/skills/phoenix*/` | Yes | Phoenix agent skills |
217
-
218
- Sync does not write `README.md`, `AGENTS.md`, `.env.example`, `.env.ci` or the `README.md` files in `assets/public/` and `assets/private/`. Earlier SDK versions wrote them once; a project that has them keeps them, and they are yours to edit.
203
+ | File | Auto-Generated? | Notes |
204
+ | ---------------------------------------------------- | --------------- | --------------------------------------------- |
205
+ | `package.json` | No | Yours; see Dependencies |
206
+ | `tsconfig.json` | Once | Yours; see below |
207
+ | `eslint.config.js` | Once | Yours; see below |
208
+ | `prettier.config.js` | Once | Yours; see below |
209
+ | `.prettierignore` | No | Optional and your own; see below |
210
+ | `pnpm-workspace.yaml` | No | Only with pnpm; see Package manager |
211
+ | `.gitignore` | Partially | Only in a git repository; see Markers |
212
+ | `.env` | No | Git-ignored, local config |
213
+ | `.env.example` | No | Template for env vars |
214
+ | `.env.generated` | Yes | Optional, git-ignored; see below |
215
+ | `README.md` | No | Project documentation |
216
+ | `AGENTS.md` | No | Project-owned instructions; preserved by sync |
217
+ | `.claude/skills/phoenix/`, `.agents/skills/phoenix/` | Yes | SDK-managed files; see below |
218
+
219
+ With the application-spec pipeline, sync does not write `README.md`, `.env.example`, `.env.ci` or the `README.md` files in `assets/public/` and `assets/private/`. These files are yours to create and edit; sync preserves them. The legacy pipeline writes `README.md`, `.env.example`, `.env.ci` and the asset-folder `README.md` files when they are missing.
219
220
 
220
221
  Phoenix keeps the generated env file, with the IDs and values of the prepared deployment, in `.phoenix/` unless the project has a `.env.generated` in its root, which then is the one that counts. `phoenix dev` creates no `.env.generated` in the project root; the deployment and environment commands write it there. See [The generated env file](?path=/docs/phoenix-phoenix-cli--docs#the-generated-env-file).
221
222
 
@@ -229,30 +230,26 @@ With the application-spec pipeline, the project's TypeScript settings are in `.p
229
230
 
230
231
  The only root `tsconfig.json` sync replaces is the full file earlier SDK versions generated there, recognised by its settings; any other stays as it is. `phoenix dev`, `phoenix build` and the webhook bundle do not resolve `paths` aliases, so an alias added to the root file passes `phoenix check` and fails the build. `phoenix check` type-checks with the root `tsconfig.json`, or with `.phoenix/tsconfig.json` when the project has none. The legacy pipeline writes the full `tsconfig.json` on every sync.
231
232
 
232
- With the application-spec pipeline, sync writes `eslint.config.js` and `prettier.config.js` only when the project has none, each re-exporting the SDK's shared configuration so editors find it. They are yours to commit and to change. The only ones sync replaces are the files earlier SDK versions generated there; any other stays as it is. `phoenix check` and `phoenix fix` lint and format with the project's files, and with the SDK's configurations when a file is missing (see [`phoenix check`](?path=/docs/phoenix-phoenix-cli--docs#phoenix-check)). Sync formats the files it generates in the project root, such as the agent skills, with the same Prettier configuration, so `phoenix check` accepts them; while the project's configuration cannot be loaded, as before the first install, they get the SDK's settings. The legacy pipeline writes both files on every sync.
233
+ With the application-spec pipeline, sync writes `eslint.config.js` and `prettier.config.js` only when the project has none, each re-exporting the SDK's shared configuration so editors find it. They are yours to commit and to change. The only ones sync replaces are the files earlier SDK versions generated there; any other stays as it is. `phoenix check` and `phoenix fix` lint and format with the project's files, and with the SDK's configurations when a file is missing (see [`phoenix check`](?path=/docs/phoenix-phoenix-cli--docs#phoenix-check)). Sync formats the files it generates in the project root, such as `tsconfig.json`, with the same Prettier configuration, so `phoenix check` accepts them; while the project's configuration cannot be loaded, as before the first install, they get the SDK's settings. The legacy pipeline writes both files on every sync.
233
234
 
234
235
  With the application-spec pipeline, the Lingui configuration is `.phoenix/.linguirc`, which sync rewrites with the rest of `.phoenix/` from `availableLocales` in `spec/application.yaml`. Phoenix passes that file to Lingui every time it extracts or compiles the catalogs and to its Vite builds, so a `.linguirc` in the project root is not read and can be deleted. To run Lingui yourself, name the file: `npx lingui extract --config .phoenix/.linguirc`, from the project root. The legacy pipeline writes `.linguirc` in the project root on every sync.
235
236
 
236
237
  ### DO NOT EDIT (Fully Auto-Generated)
237
238
 
238
- - **Everything in `.phoenix/`** - Completely regenerated on each build. The exceptions are `.phoenix/variants/`, where a coding agent writes the option files for `phoenix variants`, and `.phoenix/.env.generated`, the generated env file of `phoenix dev`; a rebuild keeps both
239
+ - **Generated files in `.phoenix/`** — Rewritten on each build. In application-spec projects, `.phoenix/workspace/` is project-owned: sync, build and clean preserve it, and deploy includes it in the private source archive rather than build inputs or public assets. Rebuilds also keep `.phoenix/variants/`, which holds variant option files, and `.phoenix/.env.generated`, the generated env file of `phoenix dev`.
239
240
  - `src/locales/**/*.ts` - Compiled from `.po` catalogs
240
241
  - `.env.generated`
241
- - `phoenix` and `phoenix-*` skill folders under `.claude/skills/` and `.agents/skills/` — rewritten on every sync with anything else inside them removed, and other `phoenix`-prefixed skill folders are removed; to customise a skill, copy it to a folder whose name does not start with `phoenix`
242
-
243
- ### Agent Guidance
244
-
245
- Coding agents (Claude Code, Codex, Cursor) read the Phoenix agent skills. An `AGENTS.md` is yours to add for your own instructions; sync does not write one. The `phoenix`, `phoenix-cli`, `phoenix-feedback` and `phoenix-review` skills carry the SDK conventions, CLI tooling and review checklist, and the `phoenix-create-configurator` skill walks the agent from your product documents and assets to a reviewed configurator in five stages. The `phoenix-variants` skill has the agent show you several options over the dev preview when a decision is a matter of taste, and build the one you pick. Phoenix keeps them in step with the installed SDK, including the reference files inside a skill folder. During the internal beta, a project created from a canary build of the SDK gets one more section in the `phoenix` skill: once per conversation the agent checks for a newer canary and, after telling you, updates the project's SDK, runs `phoenix deps`, installs, then runs `phoenix sync`. Other skill folders are never touched.
246
-
247
- Projects created by earlier SDK versions had this guidance in `CLAUDE.md`, `.cursor/rules/phoenix.mdc` and `commands/review.md`. Sync removes the SDK block from the first two, keeps your own text around it, deletes a file that held nothing else, and deletes the review commands; use the `phoenix-review` skill instead of `/review`.
242
+ - The SDK-managed `phoenix` and `phoenix-*` folders under `.claude/skills/` and `.agents/skills/` — sync rewrites the current bundle, removes unrecognized files inside it and deletes retired folders with those prefixes. Keep custom files outside those prefixes. Sync also removes the SDK blocks from legacy `CLAUDE.md` and `.cursor/rules/phoenix.mdc`, preserves surrounding project text, deletes files left empty and removes the legacy review-command files.
248
243
 
249
244
  ### Markers for Partial Auto-Generation
250
245
 
251
- `.gitignore` holds the Phoenix entries between two marker lines. Sync rewrites that block and keeps everything outside it. With the application-spec pipeline the block does not list the files sync writes once, `tsconfig.json`, `eslint.config.js` and `prettier.config.js`, so a project commits them:
246
+ `.gitignore` holds the Phoenix entries between two marker lines. Sync rewrites that block and keeps everything outside it. With the application-spec pipeline the block does not list the files sync writes once, `tsconfig.json`, `eslint.config.js` and `prettier.config.js`, so a project commits them. It ignores generated entries inside `.phoenix/` but leaves `.phoenix/workspace/` available for version control, so working records can travel with a checkout:
252
247
 
253
248
  ```gitignore
254
249
  # ===== BEGIN PHOENIX AUTO-GENERATED =====
255
- # ... Phoenix-managed ignores ...
250
+ # ... other Phoenix-managed ignores ...
251
+ **/.phoenix/*
252
+ !**/.phoenix/workspace/
256
253
  # ===== END PHOENIX AUTO-GENERATED =====
257
254
 
258
255
  # Your custom ignores (preserved)
@@ -263,6 +260,8 @@ With the application-spec pipeline (see [Current and legacy project tooling](?pa
263
260
 
264
261
  ### Safe to Edit
265
262
 
263
+ - `.phoenix/workspace/` (application-spec project records and specification sources; include durable records in version control)
264
+ - `docs/` (client documents such as rendered specification PDFs; deploy includes them in the private source archive, not in build inputs or public assets)
266
265
  - `src/` (except compiled `src/locales/**/*.ts` files)
267
266
  - `spec/`
268
267
  - `public/`
@@ -274,7 +273,7 @@ With the application-spec pipeline (see [Current and legacy project tooling](?pa
274
273
  - `.env`, `.env.example`, `.env.ci`
275
274
  - `tsconfig.json` (application-spec pipeline; keep it extending `.phoenix/tsconfig.json`)
276
275
  - `eslint.config.js`, `prettier.config.js` (application-spec pipeline; sync writes them once, and they are the project's afterwards)
277
- - `README.md`, `AGENTS.md`
276
+ - `README.md`
278
277
 
279
278
  ## File Naming Conventions
280
279
 
@@ -355,32 +354,30 @@ project-root/
355
354
  │
356
355
  ├── blender/ # 3D model source files (Blender)
357
356
  │
358
- ├── .phoenix/ # AUTO-GENERATED (DO NOT EDIT)
359
- │ ├── domain/ # Compiled domain specs
360
- │ │ ├── model/ # Configurator model
361
- │ │ └── admin-model/ # Admin model
362
- │ ├── webhooks/ # Generated webhook files
363
- │ │ ├── index.ts
364
- │ │ └── builders.ts
365
- │ ├── .swc/ # SWC transpiled sources
366
- │ ├── .lingui/ # Compiled i18n catalogs
367
- │ ├── variants/ # Option files of `phoenix variants`, written by coding agents
357
+ ├── .phoenix/ # Generated output, except the project-owned workspace/
358
+ │ ├── workspace/ # Specification sources and project records, available for version control
359
+ │ ├── variants/ # Option files of `phoenix variants`; kept by rebuilds, removed by clean
368
360
  │ ├── dist/ # Build output
369
- │ │ ├── frontend/ # Frontend bundles
370
- │ │ └── webhooks/ # Webhook bundles
371
361
  │ ├── public -> ../public # Symlink to public
362
+ │ ├── application-spec.json # The parsed application spec
363
+ │ ├── domain-spec.ts # Domain model and reflections; assigns `phx.domain`
364
+ │ ├── spec-code.ts # Code generated from the spec
365
+ │ ├── spec-messages.ts # Messages of the spec
372
366
  │ ├── domain.ts # Domain exports
373
367
  │ ├── configurator.ts # Configurator entry
368
+ │ ├── configurator-config.ts # Configurator configuration
369
+ │ ├── configurator-globals.ts # Assigns `phx.frontend`
370
+ │ ├── embedded-configurator.ts # Embedded configurator entry
374
371
  │ ├── admin.ts # Admin entry
372
+ │ ├── admin-config.ts # Admin configuration
373
+ │ ├── admin-globals.ts # Assigns `phx.frontend.admin`
375
374
  │ ├── embedded-admin.ts # Embedded admin entry
375
+ │ ├── webhook.ts # Webhook entry
376
+ │ ├── webhook-builders.ts # Assigns `phx.webhooks`
376
377
  │ ├── editor.tsx # Editor component
377
- │ ├── frontend.config.ts # Frontend configuration
378
- │ ├── webhooks.config.ts # Webhook configuration
379
- │ ├── phoenix.config.ts # Phoenix framework config
380
- │ ├── configurator-interface.ts # Configurator interface types
381
- │ ├── admin-interface.ts # Admin interface types
382
- │ ├── i18n.ts # i18n initialization
383
- │ ├── globals.d.ts # Global type definitions
378
+ │ ├── frontend.config.ts # Frontend runtime configuration
379
+ │ ├── webhooks.config.ts # Webhook runtime configuration
380
+ │ ├── globals.d.ts # The type of the `phx` global
384
381
  │ ├── tsconfig.json # TypeScript settings, extended by the root tsconfig.json
385
382
  │ ├── .linguirc # Lingui configuration
386
383
  │ ├── index.html # Configurator HTML entry
@@ -561,12 +558,12 @@ The `application.yaml` file contains global application-level settings. These fi
561
558
 
562
559
  ### Core Application
563
560
 
564
- | Field | Type | Description |
565
- | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
566
- | `project` | `string` | Server project `phoenix dev` develops in: a project slug, or `default` for the default project of the signed-in workspace. Read only by the CLI; overridden by `--projectSlug` and `PROJECT_SLUG` |
567
- | `applicationVersion` | `string` | Semantic version (`x.y.z`) exported as `ApplicationVersion` constant, stored on the deployment record and named in the banner comment of built bundles |
568
- | `webComponentTag` | `string` | Custom HTML web component tag name for embedding |
569
- | `pageTitle` | `string` | Browser page title |
561
+ | Field | Type | Description |
562
+ | -------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
563
+ | `project` | `string` | Server project for `phoenix dev` and `phoenix deploy`: a project slug, or `default` for the signed-in workspace’s default project. The dev command allows `--projectSlug` and `PROJECT_SLUG` overrides; deploy reads the spec directly |
564
+ | `applicationVersion` | `string` | Semantic version (`x.y.z`) exported as `ApplicationVersion` constant, stored on the deployment record and named in the banner comment of built bundles |
565
+ | `webComponentTag` | `string` | Custom HTML web component tag name for embedding |
566
+ | `pageTitle` | `string` | Browser page title |
570
567
 
571
568
  ### Internationalization
572
569
 
@@ -267,7 +267,7 @@ export default phx.domain.implementCustomExpressions({
267
267
  })
268
268
  ```
269
269
 
270
- Application projects receive `phx` as a global. Storybook examples cannot rely on that project environment, so the complete example below imports it from `../../.phoenix/phx.js`; that import is the only intentional difference.
270
+ Application projects receive `phx` as a global. Storybook examples cannot rely on that project environment, so the example's files import it from `../../.phoenix/phx.js`; a project leaves that import out, the only intentional difference.
271
271
 
272
272
  After sync, the property panel offers Grey, Black, and White. Selecting one updates the domain field, recomputes `$frameColor`, and smoothly changes the real `metalMaterial` in the model. Explore the individual pieces in [Attribute List Selector](?path=/docs/controls-select-attribute-listselect--docs) and [Material Transition](?path=/docs/3d-scene-materials-transition--docs).
273
273
 
@@ -1092,8 +1092,6 @@ components:
1092
1092
  ### ./src/expressions/table.ts
1093
1093
 
1094
1094
  ```ts
1095
- import { phx } from '../../.phoenix/phx.js'
1096
-
1097
1095
  const FRAME_COLORS = {
1098
1096
  Grey: '#6f7378',
1099
1097
  Black: '#202124',
@@ -1,6 +1,6 @@
1
1
  # SDK Builder Workflow
2
2
 
3
- An SDK-builder workspace lets you build one configurator from the application spec and develop and deploy it from your terminal. You don't need a repository, a CI pipeline, project keys or a development key. You write `spec/` and `src/`, run `phoenix dev` to develop and `phoenix deploy` to go live, and the platform builds and deploys the project for you.
3
+ An SDK-builder workspace lets you build configurators from application specs and develop and deploy them from your terminal. You don't need a repository, a CI pipeline, project keys or a development key. You write `spec/` and `src/`, run `phoenix dev` to develop and `phoenix deploy` to go live, and the platform builds and deploys the project for you.
4
4
 
5
5
  Your workspace comes with one project and one `production` environment. Its first deployment is a hello-world configurator, so you have a live link before you change anything.
6
6
 
@@ -22,13 +22,13 @@ pnpm install
22
22
  pnpm phoenix sync
23
23
  ```
24
24
 
25
- `phoenix init [folder]` writes the starter project: `package.json` and the starter spec, `spec/application.yaml` and `spec/configurator.yaml`, which describe one box you can resize and recolour. The starter depends on the same SDK version as the CLI that created it and on the packages the SDK requires next to it (React, three.js, MUI, Lingui and the others, with their type packages), with ESLint and Prettier at the versions the SDK uses itself. Its `package.json` has the `dev`, `build`, `deploy`, `check` and `fix` scripts, which are yours to change. `phoenix sync` then adds the rest of the project: the TypeScript, lint and formatting config and the agent skills. It writes no webhook code: a project without `src/webhooks/index.ts` gets a built-in webhook (see [Webhook Entry Point](?path=/docs/phoenix-webhooks--docs#webhook-entry-point)). It writes a `.gitignore` only when the folder is inside a git repository; run `git init` before the first sync, or sync again after it, to get the file.
25
+ `phoenix init [folder]` writes the starter project: `package.json` and the starter spec, `spec/application.yaml` and `spec/configurator.yaml`, which describe one box you can resize and recolour. The starter depends on the same SDK version as the CLI that created it and on the packages the SDK requires next to it (React, three.js, MUI, Lingui and the others, with their type packages), with ESLint and Prettier at the versions the SDK uses itself. Its `package.json` has the `dev`, `build`, `deploy`, `check` and `fix` scripts, which are yours to change. `phoenix sync` then adds the TypeScript, lint and formatting config and the other generated files described in [Project Structure](?path=/docs/phoenix-project-structure--docs#root-level-files). It writes no webhook code: a project without `src/webhooks/index.ts` gets a built-in webhook (see [Webhook Entry Point](?path=/docs/phoenix-webhooks--docs#webhook-entry-point)). It writes a `.gitignore` only when the folder is inside a git repository; run `git init` before the first sync, or sync again after it, to get the file.
26
26
 
27
27
  `init` only writes these files: it asks nothing and contacts no server. It refuses a folder that already has a `spec/` folder. A `package.json` already in the folder is kept, as long as it depends on the SDK, and gains only the entries it lacks (see [Starting a New Project](?path=/docs/phoenix-phoenix-cli--docs#starting-a-new-project)).
28
28
 
29
29
  Phoenix writes no package-manager settings. With pnpm 11, add a `pnpm-workspace.yaml` that allows the build scripts of the SDK's dependencies before the first install; [Package manager](?path=/docs/phoenix-project-structure--docs#package-manager) has the file.
30
30
 
31
- The starter `spec/application.yaml` begins with `project: default`, which means the default project of the workspace you sign in to. Leave it as it is; a workspace has one project.
31
+ The starter `spec/application.yaml` begins with `project: default`, which means the default project of the workspace you sign in to. To develop and deploy another project in that workspace, set `project` to its actual slug. Staff can create or move projects into your workspace; choose the project in Studio's **Project** selector to see its overview, builds, environment variables and allowed sites.
32
32
 
33
33
  ## 2. Sign in
34
34
 
@@ -36,7 +36,7 @@ The starter `spec/application.yaml` begins with `project: default`, which means
36
36
  pnpm phoenix login <workspace>
37
37
  ```
38
38
 
39
- `phoenix login` opens Studio, where you name the token and approve the sign-in. Only a super admin of the workspace can open Studio, so only a super admin can approve it. The CLI suggests `phoenix CLI on <computer>`; a name of your own, such as the agent and the machine, tells your tokens apart later. Studio sends a one-time code back to the CLI on `127.0.0.1`, the CLI exchanges it for a personal token and returns the browser to Studio, which confirms the sign-in. The code only works for the CLI that asked for it and expires after five minutes. **Deny** stops the waiting CLI at once and creates no token. Use `--no-open` to print the link instead of opening a browser.
39
+ `phoenix login` opens Studio, where you name the token and approve the sign-in. Only a super admin of the workspace can open Studio, so only a super admin can approve it. The CLI suggests `phoenix CLI on <computer>`; a name of your own, such as its purpose and the machine, tells your tokens apart later. Studio sends a one-time code back to the CLI on `127.0.0.1`, the CLI exchanges it for a personal token and returns the browser to Studio, which confirms the sign-in. The code only works for the CLI that asked for it and expires after five minutes. **Deny** stops the waiting CLI at once and creates no token. Use `--no-open` to print the link instead of opening a browser.
40
40
 
41
41
  The CLI stores the token in `~/.phoenix/credentials.json`, readable only by you, with one entry per server. `PHOENIX_CREDENTIALS_FILE` moves the file. The token acts for you in your workspace until you revoke it. It stops working when you are removed from the workspace or banned.
42
42
 
@@ -63,10 +63,6 @@ Every user who signs the CLI in gets their own development environment, so a tea
63
63
 
64
64
  `pnpm phoenix dev --persistence local-storage` still runs the project without any server, with state kept in the browser.
65
65
 
66
- Coding agents follow the generated `phoenix` skill: before their first change they start `phoenix dev` and open the preview in your browser, and after `phoenix deploy` starts a build they open its page in Studio.
67
-
68
- To build the configurator with your coding agent, give it your product documents, prices, pictures, drawings or models and ask it to create the configurator. The generated `phoenix-create-configurator` skill guides it through five stages: a representative first slice you can try early, a plan of the whole configuration experience, options and features added in small increments, finalization, and a complete review. It studies the SDK documentation before building, keeps a `configurator-spec.md` in the project as the record of what is decided and what remains open, and asks you only for decisions it cannot derive from your materials.
69
-
70
66
  ## 4. Deploy
71
67
 
72
68
  ```bash
@@ -76,7 +72,7 @@ pnpm phoenix deploy
76
72
  `phoenix deploy` goes through these steps:
77
73
 
78
74
  1. It validates the application spec.
79
- 2. It packs the project files: the `.yaml` files in `spec`, everything in `src`, `mocks`, `assets`, `public` and `templates`, and `package.json`, `tsconfig.json`, `pnpm-lock.yaml`, `pnpm-workspace.yaml`, `.gitignore`, `CLAUDE.md` and `.cursor/rules/phoenix.mdc`. Every `node_modules`, `.phoenix` and `__generated` folder, every `.DS_Store` and `._*` file and every `.env` and `.env.*` file are left out, at any depth.
75
+ 2. It packs the project files: the `.yaml` files in `spec`, everything in `src`, `mocks`, `assets`, `public` and `templates`, and `package.json`, `tsconfig.json`, `pnpm-lock.yaml`, `pnpm-workspace.yaml`, `.gitignore`, `CLAUDE.md` and `.cursor/rules/phoenix.mdc`. Project-owned `.phoenix/workspace/` records and the client documents in `docs/` also travel in the private source archive; they are excluded from build inputs and public assets. Other `.phoenix` contents, every `node_modules` and `__generated` folder, every `.DS_Store` and `._*` file and every `.env` and `.env.*` file are left out.
80
76
  3. It asks the server for a build. The server compares your domain model with the deployed one and refuses, before anything is uploaded, a model that changed under an already deployed model version; see [Migrations](?path=/docs/phoenix-migrations--docs).
81
77
  4. It uploads the archive, which may be up to 200 MB.
82
78
  5. It starts the build, prints a link to the build's page in Studio and follows the build until your configurator is live, then prints its URL.
@@ -85,7 +81,9 @@ On the server, the install runs pnpm. It follows your `pnpm-lock.yaml` and `pnpm
85
81
 
86
82
  If the build fails, is cancelled or takes too long, `phoenix deploy` prints the end of the build log and exits with an error. `--no-wait` returns as soon as the build starts.
87
83
 
88
- Studio's **Builds & deployments** page lists your builds and shows which one your configurator serves. Each build shows its progress, its error and the full build log while it runs.
84
+ Studio's **Builds & deployments** page lists your builds, 20 to a page, and shows which one your configurator serves. Filter it to the live build or to the builds that failed. Each build shows its progress, its error and the full build log while it runs, and who deployed it with which CLI token.
85
+
86
+ **Rebuild** on a build's page builds the files uploaded with that build again, with your environment variables as they are now, without a new `phoenix deploy`. Use it after changing a variable, or when a build failed for a reason on our side. If the rebuild succeeds it goes live, so rebuilding an older build rolls production back to it.
89
87
 
90
88
  `phoenix deploy` refuses symlinks, hard-linked files and other special files among the project files, because builds only accept regular files. Packing uses the system `tar`, which macOS, Linux and Windows 10 or later all include. The build runner checks the uploaded archive again and keeps only project files, so a file outside the list above never reaches the build.
91
89
 
@@ -97,15 +95,13 @@ Tell us what is broken, confusing or missing, from wherever you are:
97
95
  - In the terminal, `pnpm phoenix feedback "<message>" --type bug|idea|other` sends it with your sign-in, and `--file <path>` sends a text file instead of the argument. See the [CLI reference](?path=/docs/phoenix-phoenix-cli--docs).
98
96
  - On a build's page in Studio, **Download** → **Sources** downloads the archive `phoenix deploy` uploaded for that build, so a report only needs to name the build.
99
97
 
100
- Coding agents working in your project use the same command, guided by the generated `phoenix-feedback` skill. They never send on their own: an agent shows you a draft, right away when the problem is crucial and otherwise at the end of the task, and sends it only after you approve it. A report names the build with its Studio page link and the live configurator, says what the agent was doing, what happened and what it expected, quotes the exact error and ends with a condensed conversation log. Agents are told never to include secrets, credentials or personal data; parts of your project and your own words go in only through a draft you approved. When you are done with the configurator, the agent also asks you, once per conversation, to evaluate the run: minutes spent, then scores from 0 to 10 for the agent's guidance, functionality, UX, 3D quality, UI visuals and the overall result, and your comments. It asks one question at a time, never picks a score for you, tells you the answers go to the Phoenix team, shows the message and sends it only after you approve it.
101
-
102
98
  ## Known limits
103
99
 
104
- - You can deploy once the workspace's first deployment is live. Until then, `phoenix deploy` tells you the workspace is still being set up.
100
+ - You can deploy once the selected project's production setup is ready. Until then, `phoenix deploy` tells you that project's setup is incomplete.
105
101
  - The first deployment is the starter, so the starter's model is version 1 in production. Replacing it with your own model needs the starter's model kept as `v1` and a migration to version 2; [Migrations](?path=/docs/phoenix-migrations--docs) shows the migration for replacing a model entirely.
106
- - One workspace has one project, one `production` environment and one development environment per user.
107
- - `phoenix deploy` always deploys to the workspace's default project; it doesn't read `project` from the spec yet.
102
+ - Each project uses its `production` environment and has a development environment per user. Creating or moving projects requires staff.
103
+ - `phoenix deploy` reads `project` from the application spec. Omitted or `default` selects the workspace’s original default project. After moving a project into another workspace, sign in to that workspace and set the actual moved project slug before deploying. Targeting a nondefault project requires server API 1.61.0 or newer; the CLI stops before upload if the server cannot confirm support.
108
104
  - Only `phoenix dev` works from the sign-in. `phoenix deployment:prepare-dev` still needs the `.env` block of a Studio development environment.
109
105
  - Every deploy uploads the whole project; there are no incremental uploads.
110
- - Your own environment variables are set in Studio under Environment, by a super admin of the workspace, and apply from the next deploy. `phoenix dev` doesn't receive them: your development environment has its own variables. A build reads them from `process.env`; a webhook reads the ones the spec declares under `env.webhook`, through `phx.webhooksEnv` (see [Webhooks](?path=/docs/phoenix-webhooks--docs)). They can't use platform names such as `LAMBDA_FUNCTION_NAME`, the `AWS_` prefix, the identity provider settings such as `CLERK_API_KEY`, or names the CLI and the deploy tooling read themselves, such as `SERVER_URL` or `NODE_OPTIONS`; Studio refuses those names.
106
+ - Your own environment variables are set in Studio under Environment, by a super admin of the workspace, and apply from the next deploy. After a change, **Redeploy #N now** there rebuilds your live build with the new values, without a new `phoenix deploy`; it appears once your own build is live. `phoenix dev` doesn't receive them: your development environment has its own variables. A build reads them from `process.env`; a webhook reads the ones the spec declares under `env.webhook`, through `phx.webhooksEnv` (see [Webhooks](?path=/docs/phoenix-webhooks--docs)). They can't use platform names such as `LAMBDA_FUNCTION_NAME`, the `AWS_` prefix, the identity provider settings such as `CLERK_API_KEY`, or names the CLI and the deploy tooling read themselves, such as `SERVER_URL` or `NODE_OPTIONS`; Studio refuses those names.
111
107
  - Only super admins of a workspace can open its Studio. Admins and users see a page that says so.
@@ -169,8 +169,8 @@ Each handler returns _session data_, _role information_, and _token metadata_ th
169
169
  Once authentication succeeds:
170
170
 
171
171
  - Phoenix **stores session and refresh tokens**
172
- - Session determines user's **role** (admin, user, or anonymous)
173
- - Admin users receive an **additional admin session token** for accessing the Admin application
172
+ - Session determines user's **role** (superadmin, admin, user, or anonymous)
173
+ - Admin and superadmin users receive an **additional admin session token** for accessing the Admin application
174
174
  - Users can now access _general pages_ like presets and deployments
175
175
 
176
176
  ### 4. Configuration Access Validation
@@ -194,8 +194,8 @@ Finally, Phoenix creates an **authorized API client** that:
194
194
 
195
195
  Authentication logic is implemented through **webhook handlers** when the deployment is configured with **`useAuthHook: true`**. These handlers:
196
196
 
197
- - **Run in AWS Lambda** - Serverless execution environment
198
- - **Control user roles** - Determine admin, user, or anonymous access
197
+ - **Run in AWS Lambda** - Serverless execution environment; under `phoenix dev` they run on the developer's machine through the development webhook tunnel
198
+ - **Control user roles** - Determine superadmin, admin, user, or anonymous access
199
199
  - **Generate session data** - Custom data attached to user sessions
200
200
  - **Manage token generation** - Control session and refresh token creation
201
201
 
@@ -210,7 +210,7 @@ useAuthHook: true # Enable webhook authentication
210
210
  useClerk: true # Enables Clerk + sets useAuthHook automatically
211
211
  ```
212
212
 
213
- Webhook handlers are implemented in `src/webhooks/index.ts`. The builders and type definitions are auto-generated in `.phoenix/webhooks/builders.ts` based on your spec configuration.
213
+ The webhook entry is the default export of `src/webhooks/index.ts`. The builders and their types are generated from your spec configuration into `.phoenix/webhook-builders.ts`, which sets the `phx.webhooks` global, so project code never imports builders from `.phoenix/`.
214
214
 
215
215
  The auth handler builder provides a fluent API for configuring authentication methods. You can combine multiple handlers to support different authentication scenarios. The builder is accessed through the `phx.webhooks` global namespace:
216
216
 
@@ -240,22 +240,37 @@ For custom third-party integrations (not SSO - use Clerk handlers for that), you
240
240
  ```typescript
241
241
  // src/webhooks/index.ts
242
242
  const authHandler = phx.webhooks.authHandlerBuilder
243
- .withCodeHandler(async (payload, ctx) => {
244
- const { code, accessToken, idToken } = payload
245
- // Server retrieves tokens from Redis and passes them to webhook
243
+ .withCodeHandler(async ({ accessToken }, { logger }) => {
244
+ // The platform already redeemed the one-time code, so the payload holds
245
+ // { type: 'code', accessToken, refreshToken?, idToken? } and no code.
246
+ // PARTNER_API_URL is declared under `env.webhook` in a spec file
247
+ const response = await fetch(`${phx.webhooksEnv.PARTNER_API_URL}/me`, {
248
+ headers: { authorization: `Bearer ${accessToken}` },
249
+ })
250
+
251
+ if (!response.ok) {
252
+ logger.warn(`The partner API refused the access token with status ${response.status}.`)
253
+
254
+ return { success: false }
255
+ }
246
256
 
247
- // Process third-party integration data
248
- const userData = await processThirdPartyData(accessToken, idToken)
257
+ const userData: {
258
+ readonly id: string
259
+ readonly email: string
260
+ readonly permissions: string[]
261
+ readonly isAdmin: boolean
262
+ } = await response.json()
249
263
 
250
264
  return {
251
265
  success: true,
252
266
  data: {
253
- userId: userData.id,
254
267
  email: userData.email,
255
268
  tags: userData.permissions,
256
269
  },
257
- role: determineRole(userData),
258
- refreshToken: await generateRefreshToken(userData),
270
+ role: userData.isAdmin ? 'admin' : 'user',
271
+ // The session user, a top-level field rather than part of the session data
272
+ userId: userData.id,
273
+ // An absolute Unix timestamp in seconds; three hours from now when omitted
259
274
  expirationTime: Math.floor(Date.now() / 1000) + 3600,
260
275
  }
261
276
  })
@@ -263,7 +278,6 @@ const authHandler = phx.webhooks.authHandlerBuilder
263
278
  return {
264
279
  success: true,
265
280
  data: {
266
- userId: 'anonymous',
267
281
  tags: [],
268
282
  },
269
283
  role: 'anonymous',
@@ -275,7 +289,7 @@ const authHandler = phx.webhooks.authHandlerBuilder
275
289
  export default phx.webhooks.webhookBuilder.withAuthHook(authHandler).build()
276
290
  ```
277
291
 
278
- Each handler receives the authentication payload and returns session data, user role, and token metadata. The session data you return becomes available throughout the application and can include any custom fields defined in your domain's SessionData type.
292
+ Each handler receives the authentication payload and returns session data, user role, and token metadata. A handler refuses the session with `{ success: false }`; log the reason with the `logger`, because the response carries no error message. The session data you return becomes available throughout the application and can include any custom fields declared in the spec's `sessionData` schema, which declares no required properties.
279
293
 
280
294
  Phoenix supports several types of authentication handlers:
281
295
 
@@ -305,17 +319,9 @@ To enable Clerk authentication:
305
319
  useClerk: true # Enables Clerk auth and sets useAuthHook automatically
306
320
  ```
307
321
 
308
- **2. Set environment variables** (defined in your project's `.env` file):
309
-
310
- ```bash
311
- CLERK_SECRET_KEY=sk_...
312
- JWT_SECRET_BASE64=...
313
- OAUTH_PROVIDER_BASE_URL=https://...
314
- OAUTH_PROVIDER_CLIENT_ID=...
315
- OAUTH_PROVIDER_CLIENT_SECRET=...
316
- ```
322
+ **2. Configure Clerk for the workspace in Studio.** The Clerk credentials come from the workspace's Clerk settings in Studio and reach the webhook as generated variables (`CLERK_API_KEY`, `JWT_SECRET_BASE64`, `OAUTH_PROVIDER_CLIENT_ID`, `OAUTH_PROVIDER_CLIENT_SECRET`, `OAUTH_PROVIDER_BASE_URL`, `FRONTEND_URL` and `RESOURCES_URL`). The project neither declares them nor keeps them in its `.env`. See [Clerk Sign-In](?path=/docs/phoenix-clerk-sign-in--docs).
317
323
 
318
- **3. Use Clerk handlers** in your webhook (the builder is auto-generated in `.phoenix/webhooks/builders.ts`):
324
+ **3. Use Clerk handlers** in your webhook (`phx.webhooks` is set by the generated `.phoenix/webhook-builders.ts`):
319
325
 
320
326
  ```typescript
321
327
  // src/webhooks/index.ts
@@ -493,24 +499,36 @@ Use custom code handlers for third-party integrations. The server handles Redis
493
499
  ```typescript
494
500
  // src/webhooks/index.ts
495
501
  const authHandler = phx.webhooks.authHandlerBuilder
496
- .withCodeHandler(async (payload, ctx) => {
497
- const { code, accessToken, idToken } = payload
502
+ .withCodeHandler(async ({ accessToken }, { logger }) => {
498
503
  // Server already retrieved tokens from Redis and passed them here
499
504
 
500
- // Verify and process third-party tokens
501
- const integrationUser = await thirdPartyAPI.validateToken(accessToken)
505
+ // Verify the third-party token; INTEGRATION_API_URL is declared under `env.webhook` in a spec file
506
+ const response = await fetch(`${phx.webhooksEnv.INTEGRATION_API_URL}/tokens/verify`, {
507
+ headers: { authorization: `Bearer ${accessToken}` },
508
+ })
509
+
510
+ if (!response.ok) {
511
+ logger.warn(`The integration rejected the access token with status ${response.status}.`)
512
+
513
+ return { success: false }
514
+ }
515
+
516
+ const integrationUser: {
517
+ readonly id: string
518
+ readonly email: string
519
+ readonly permissions?: string[]
520
+ readonly isAdmin: boolean
521
+ } = await response.json()
502
522
 
503
523
  // Map third-party data to Phoenix session
504
524
  return {
505
525
  success: true,
506
526
  data: {
507
- userId: integrationUser.id,
508
527
  email: integrationUser.email,
509
- customData: integrationUser.metadata,
510
- tags: integrationUser.permissions || [],
528
+ tags: integrationUser.permissions ?? [],
511
529
  },
512
- role: determineRoleFromIntegration(integrationUser),
513
- refreshToken: await generateRefreshToken(integrationUser),
530
+ role: integrationUser.isAdmin ? 'admin' : 'user',
531
+ userId: integrationUser.id,
514
532
  expirationTime: Math.floor(Date.now() / 1000) + 3600,
515
533
  }
516
534
  })
@@ -240,7 +240,7 @@ env:
240
240
 
241
241
  ```ts
242
242
  export const linkTasks = phx.webhooks.taskFactory.createGenerateConfigurationLinkTask((resources, data) => {
243
- const frontendUrl = phx.runtimeConfig.CUSTOM_FRONTEND_URL ?? data.frontendUrl
243
+ const frontendUrl = phx.webhooksEnv.CUSTOM_FRONTEND_URL ?? data.frontendUrl
244
244
 
245
245
  return [
246
246
  {
@@ -315,14 +315,15 @@ const update = phx.frontend.updates.DomainEntityModification({
315
315
  updateTag: 'UserResizing',
316
316
  })
317
317
 
318
- // Component modification
318
+ // Component modification (distanceDimensionComponent from '@salsita-ai/sdk/domain')
319
319
  const componentUpdate = phx.frontend.updates.ComponentModification({
320
320
  componentInstance: {
321
321
  entityId: 'Cabinet-1',
322
- componentType: selectionComponent,
323
- instanceName: 'main',
322
+ componentType: distanceDimensionComponent,
323
+ instanceName: 'width',
324
324
  },
325
- writableState: { selected: true },
325
+ writableState: { value: 1200 },
326
+ updateTag: 'UserResizing',
326
327
  })
327
328
  ```
328
329
 
@@ -356,7 +357,7 @@ storeSystem.commit()
356
357
 
357
358
  During commitment:
358
359
 
359
- - OnBeforeCommit hooks can intercept or modify the commit
360
+ - `onBeforeCommit` hooks can hold the commit by returning `false`, for example to ask the user first; a held commit resets the rendered slice, and the hook can commit the same emission later through the `emit` callback it receives. A hook cannot change what is committed
360
361
  - Final validation occurs
361
362
  - Committed state is emitted to committed slice
362
363
  - All attempts (valid or invalid) are emitted to potentiallyInvalid slice
@@ -426,7 +427,7 @@ Validation produces structured results indicating state validity:
426
427
  type StateValidationResult =
427
428
  | { valid: true, severity: null } // Perfect state
428
429
  | { valid: true, severity: 'warning' | 'notice', entityViolations: [...] } // Valid with warnings
429
- | { valid: false, severity: 'fatal' | 'fixable', entityViolations: [...] } // Invalid but recoverable
430
+ | { valid: false, severity: 'fatal' | 'fixable', entityViolations: [...] } // Invalid, never committed
430
431
  | { valid: false, severity: 'uncaught', error: Error } // Critical error
431
432
  ```
432
433
 
@@ -434,7 +435,7 @@ type StateValidationResult =
434
435
 
435
436
  Different violation severities have different behavioral impacts:
436
437
 
437
- **Notice**: Informational only, doesn't affect functionality
438
+ **Notice**: Informational only: the change is committed and saved, and nothing is blocked
438
439
 
439
440
  ```typescript
440
441
  // Example: Suggesting better material combinations
@@ -445,7 +446,7 @@ Different violation severities have different behavioral impacts:
445
446
  }
446
447
  ```
447
448
 
448
- **Warning**: Alerts user but allows operation
449
+ **Warning**: The change is committed and saved, but the configuration cannot be finalized
449
450
 
450
451
  ```typescript
451
452
  // Example: Performance warnings
@@ -456,18 +457,18 @@ Different violation severities have different behavioral impacts:
456
457
  }
457
458
  ```
458
459
 
459
- **Fixable**: Prevents some actions but can be auto-corrected
460
+ **Fixable**: Rejected like `fatal`; marks a violation that a project [transformer](?path=/docs/other-features-transformers--docs) repairs before validation. Nothing corrects it automatically: without such a transformer the change is not committed.
460
461
 
461
462
  ```typescript
462
463
  // Example: Dimension constraints
463
464
  {
464
465
  type: 'dimensionTooLarge',
465
466
  severity: 'fixable',
466
- message: 'Cabinet width exceeds room width, adjusting automatically'
467
+ message: 'Cabinet width exceeds room width'
467
468
  }
468
469
  ```
469
470
 
470
- **Fatal**: Prevents finalization and major operations
471
+ **Fatal**: The change is never committed: it does not reach the rendered state, the undo stack or the saved configuration
471
472
 
472
473
  ```typescript
473
474
  // Example: Critical business rules
@@ -488,8 +489,8 @@ const emission = storeSystem.stage(updates)
488
489
  if (emission.validity.valid) {
489
490
  // State is valid, can be rendered
490
491
  renderState(emission.state)
491
- } else if (emission.validity.severity === 'fatal') {
492
- // Fatal errors prevent rendering updates
492
+ } else if (emission.validity.severity === 'fatal' || emission.validity.severity === 'fixable') {
493
+ // The change is rejected: the rendered slice keeps the last valid state
493
494
  showErrors(emission.validity.entityViolations)
494
495
  }
495
496
 
@@ -552,9 +553,10 @@ Phoenix uses `useSyncExternalStore` to efficiently synchronize store state with
552
553
  // Select specific entities
553
554
  const cabinets = phx.frontend.useStoreSelector(state => state.state.entities.filter(e => e.type === 'Cabinet'), [])
554
555
 
555
- // Select computed values with dependencies
556
- const totalPrice = phx.frontend.useStoreSelector(
557
- state => state.state.entities.filter(e => e.type === 'Cabinet').reduce((sum, cabinet) => sum + cabinet.$price, 0),
556
+ // Select computed values: `state.state.entities` holds raw entities without `$` fields,
557
+ // so read expressions and relations from an enhanced entity, here the root `Room`
558
+ const totalPrice = phx.frontend.useRootEntitySelector(
559
+ room => room.$cabinets.reduce((sum, cabinet) => sum + cabinet.$price, 0),
558
560
  []
559
561
  )
560
562