@salsita-ai/sdk 0.50.0-develop.2331d4a6b7 → 0.50.0-develop.24077d65e6

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 (1291) hide show
  1. package/README.md +20 -12
  2. package/dist/admin/create-admin-pages-from-spec.d.ts +1 -1
  3. package/dist/application-spec/core/components/component-filter.d.ts +53 -0
  4. package/dist/application-spec/core/components/component-filter.js +1 -0
  5. package/dist/application-spec/core/components/index.d.ts +2 -0
  6. package/dist/application-spec/core/components/index.js +1 -0
  7. package/dist/application-spec/core/components/sdk-code-ref.d.ts +9 -0
  8. package/dist/application-spec/core/components/sdk-code-ref.js +1 -0
  9. package/dist/application-spec/core/enhanced-json-value.d.ts +0 -68
  10. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  11. package/dist/application-spec/core/expressions/index.d.ts +2 -0
  12. package/dist/application-spec/core/expressions/index.js +1 -0
  13. package/dist/application-spec/core/expressions/relation-expression-params.d.ts +11 -0
  14. package/dist/application-spec/core/expressions/sdk-expression-implementation.d.ts +24 -0
  15. package/dist/application-spec/core/expressions/sdk-expression-implementation.js +1 -0
  16. package/dist/application-spec/core/index.d.ts +2 -0
  17. package/dist/application-spec/core/index.js +1 -1
  18. package/dist/application-spec/core/json-value.d.ts +1 -1
  19. package/dist/application-spec/{core → enhanced-json}/eval-to-constant.d.ts +1 -1
  20. package/dist/application-spec/enhanced-json/index.d.ts +4 -0
  21. package/dist/application-spec/enhanced-json/index.js +1 -0
  22. package/dist/application-spec/enhanced-json/is-enhanced-json-array.d.ts +2 -0
  23. package/dist/application-spec/enhanced-json/is-enhanced-json-array.js +1 -0
  24. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.d.ts +18 -0
  25. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.js +1 -0
  26. package/dist/application-spec/enhanced-json/schema-from-value.d.ts +24 -0
  27. package/dist/application-spec/enhanced-json/schema-from-value.js +1 -0
  28. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.d.ts +14 -0
  29. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.js +1 -0
  30. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.d.ts +12 -0
  31. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.js +1 -0
  32. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.d.ts +13 -0
  33. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.js +1 -0
  34. package/dist/application-spec/errors/diagnostic-codes.d.ts +15 -0
  35. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  36. package/dist/application-spec/errors/diagnostic-messages.d.ts +18 -0
  37. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  38. package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
  39. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  40. package/dist/application-spec/generate-application/code/common/project-module-list.d.ts +8 -0
  41. package/dist/application-spec/generate-application/code/common/project-module-list.js +3 -0
  42. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  43. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +8 -1
  44. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  45. package/dist/application-spec/generate-application/code/templates/admin-domain-code.d.ts +1 -2
  46. package/dist/application-spec/generate-application/code/templates/admin-domain-code.js +6 -14
  47. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.d.ts +1 -2
  48. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.js +4 -4
  49. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  50. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +2 -2
  51. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +7 -13
  52. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -2
  53. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +7 -9
  54. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.d.ts +2 -2
  55. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.js +1 -1
  56. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +4 -4
  57. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.d.ts +4 -2
  58. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.js +1 -1
  59. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +3 -1
  60. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +68 -64
  61. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +1 -1
  62. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  63. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +6 -0
  64. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-relation-expressions.js +1 -1
  65. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.d.ts +6 -8
  66. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +11 -11
  67. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +1 -1
  68. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  69. package/dist/application-spec/generate-application/code/templates/domain-spec.js +11 -11
  70. package/dist/application-spec/generate-application/code/templates/domain.js +4 -4
  71. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +11 -0
  72. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +8 -0
  73. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +1 -0
  74. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  75. package/dist/application-spec/generate-application/code/templates/globals.js +6 -4
  76. package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -7
  77. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  78. package/dist/application-spec/generate-application/code/templates/package-json.js +1 -1
  79. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  80. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +95 -41
  81. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +39 -16
  82. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +13 -5
  83. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  84. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +1 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +6 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +42 -13
  87. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +19 -7
  88. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +9 -4
  89. package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -2
  90. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +1 -3
  91. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +3 -3
  92. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  93. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.d.ts +14 -0
  94. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.js +1 -0
  95. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +4 -3
  96. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.js +1 -1
  97. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +1 -1
  98. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  99. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +2 -1
  100. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  101. package/dist/application-spec/generate-application/runtime/sections/index.d.ts +1 -0
  102. package/dist/application-spec/generate-application/runtime/sections/index.js +1 -1
  103. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +2 -4
  104. package/dist/application-spec/index.d.ts +1 -0
  105. package/dist/application-spec/index.js +1 -1
  106. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +3 -1
  107. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  108. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +1 -1
  109. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  110. package/dist/application-spec/parse-application-files/merge/index.d.ts +1 -0
  111. package/dist/application-spec/parse-application-files/merge/index.js +1 -1
  112. package/dist/application-spec/parse-application-files/merge/merged-actions.d.ts +11 -0
  113. package/dist/application-spec/parse-application-files/merge/merged-actions.js +1 -0
  114. package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +2 -0
  115. package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
  116. package/dist/application-spec/parse-application-files/raw-spec/index.d.ts +1 -0
  117. package/dist/application-spec/parse-application-files/raw-spec/index.js +1 -1
  118. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +18 -0
  119. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -0
  120. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +29 -4
  121. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  122. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +2 -0
  123. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  124. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  125. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  126. package/dist/application-spec/parse-application-files/spec/application/application-spec.js +1 -1
  127. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +4 -2
  128. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  129. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
  130. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  131. package/dist/application-spec/parse-application-files/spec/common/schema-ref-resolver.d.ts +23 -0
  132. package/dist/application-spec/parse-application-files/spec/common/schema-ref-resolver.js +1 -0
  133. package/dist/application-spec/parse-application-files/spec/components/component-entry.d.ts +1 -9
  134. package/dist/application-spec/parse-application-files/spec/components/component-entry.js +1 -1
  135. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +1 -54
  136. package/dist/application-spec/parse-application-files/spec/components/component-filter.js +1 -1
  137. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -1
  138. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  139. package/dist/application-spec/parse-application-files/spec/expressions/expression.d.ts +1 -28
  140. package/dist/application-spec/parse-application-files/spec/expressions/expression.js +1 -1
  141. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +1 -1
  142. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  143. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  144. package/dist/application-spec/parse-application-files/spec/expressions/index.js +1 -1
  145. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  146. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  147. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +7 -2
  148. package/dist/application-spec/parse-application-files/spec/model/defaults.js +1 -1
  149. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +10 -0
  150. package/dist/application-spec/parse-application-files/spec/model/names/action-name.js +1 -0
  151. package/dist/application-spec/parse-application-files/spec/model/names/index.d.ts +1 -0
  152. package/dist/application-spec/parse-application-files/spec/model/names/index.js +1 -1
  153. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.d.ts +25 -0
  154. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.js +1 -0
  155. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.d.ts +46 -0
  156. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.js +1 -0
  157. package/dist/application-spec/parse-application-files/spec/relations/relations.d.ts +4 -3
  158. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  159. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +35 -0
  160. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -0
  161. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.d.ts +5 -21
  162. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.js +1 -1
  163. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +14 -39
  164. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  165. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +2 -2
  166. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.d.ts +5 -19
  167. package/dist/application-spec/parse-application-files/spec/sections/index.d.ts +1 -0
  168. package/dist/application-spec/parse-application-files/spec/sections/index.js +1 -1
  169. package/dist/application-spec/parse-application-files/spec/sections/infra.d.ts +2 -0
  170. package/dist/application-spec/parse-application-files/spec/sections/infra.js +1 -1
  171. package/dist/client/authorized-client.d.ts +3 -1
  172. package/dist/client/authorized-client.js +1 -1
  173. package/dist/client/contract.d.ts +34 -0
  174. package/dist/client/contract.js +1 -1
  175. package/dist/client/index.d.ts +2 -2
  176. package/dist/client/index.js +1 -1
  177. package/dist/client/local-authorized-client.d.ts +3 -1
  178. package/dist/client/local-authorized-client.js +1 -1
  179. package/dist/client/memory-authorized-client.d.ts +3 -1
  180. package/dist/client/memory-authorized-client.js +1 -1
  181. package/dist/client/phoenix-api.d.ts +367 -30
  182. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  183. package/dist/configurator/application-runtime/extensions/selectors.d.ts +3 -1
  184. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  185. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +247 -13
  186. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  187. package/dist/configurator/application-runtime/extensions/systems/assistant-system/change-recorder.d.ts +85 -0
  188. package/dist/configurator/application-runtime/extensions/systems/assistant-system/change-recorder.js +1 -0
  189. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +8 -3
  190. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  191. package/dist/configurator/application-runtime/extensions/systems/drag-and-drop-system/drag-and-drop-system.d.ts +3 -3
  192. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +4 -0
  193. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  194. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +30 -5
  195. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  196. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.d.ts +11 -0
  197. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.js +1 -0
  198. package/dist/configurator/application-runtime/extensions/systems/graphql-system/side-effects.d.ts +9 -0
  199. package/dist/configurator/application-runtime/extensions/systems/graphql-system/side-effects.js +1 -0
  200. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  201. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +4 -2
  202. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  203. package/dist/configurator/common/configurator-interface.d.ts +11 -1
  204. package/dist/configurator/common/configurator-interface.js +1 -1
  205. package/dist/configurator/common/frontend-analytics.d.ts +23 -21
  206. package/dist/configurator/common/frontend-analytics.js +1 -1
  207. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +1 -1
  208. package/dist/configurator/index.d.ts +0 -1
  209. package/dist/configurator/index.js +1 -1
  210. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +6 -0
  211. package/dist/configurator/pages/DefaultConfiguratorLayout.js +1 -0
  212. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  213. package/dist/configurator/scene/scene-analytics/scene-analytics.d.ts +2 -2
  214. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragHandle.d.ts +1 -1
  215. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragSceneHandle.d.ts +1 -1
  216. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicator.d.ts +1 -1
  217. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicatorInternal.d.ts +1 -1
  218. package/dist/configurator/scene/scene-entity/drag-and-drop/shared.d.ts +2 -2
  219. package/dist/configurator/scene/scene-entity/drag-and-drop/use-drag-object.d.ts +1 -1
  220. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  221. package/dist/configurator/scene/scene-entity/objects/SceneEntityObjectTextDecal.d.ts +1 -1
  222. package/dist/configurator/ui/assistant/AssistantChips.d.ts +11 -0
  223. package/dist/configurator/ui/assistant/AssistantChips.js +1 -0
  224. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +7 -0
  225. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -0
  226. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -0
  227. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -0
  228. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +11 -0
  229. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -0
  230. package/dist/configurator/ui/assistant/AssistantThread.d.ts +10 -0
  231. package/dist/configurator/ui/assistant/AssistantThread.js +1 -0
  232. package/dist/configurator/ui/assistant/assistant-failure.d.ts +18 -0
  233. package/dist/configurator/ui/assistant/assistant-failure.js +1 -0
  234. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +13 -0
  235. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -0
  236. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.d.ts +22 -0
  237. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.js +1 -0
  238. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +27 -0
  239. package/dist/configurator/ui/assistant/entity-link/entity-link-state.js +1 -0
  240. package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +5 -0
  241. package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +1 -0
  242. package/dist/configurator/ui/assistant/entity-link/index.d.ts +3 -0
  243. package/dist/configurator/ui/assistant/entity-link/index.js +1 -0
  244. package/dist/configurator/ui/assistant/index.d.ts +2 -0
  245. package/dist/configurator/ui/assistant/index.js +1 -0
  246. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +6 -0
  247. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -0
  248. package/dist/configurator/ui/assistant/theme.d.ts +2 -0
  249. package/dist/configurator/ui/assistant/theme.js +1 -0
  250. package/dist/configurator/ui/assistant/thread-items.d.ts +48 -0
  251. package/dist/configurator/ui/assistant/thread-items.js +1 -0
  252. package/dist/configurator/ui/assistant/tool-chip.d.ts +44 -0
  253. package/dist/configurator/ui/assistant/tool-chip.js +1 -0
  254. package/dist/configurator/ui/assistant/use-follow-stream.d.ts +17 -0
  255. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -0
  256. package/dist/configurator/ui/assistant/use-is-assistant-panel-open.d.ts +5 -0
  257. package/dist/configurator/ui/assistant/use-is-assistant-panel-open.js +1 -0
  258. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.d.ts +1 -0
  259. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.js +1 -0
  260. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.d.ts +11 -0
  261. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.js +1 -0
  262. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.d.ts +101 -0
  263. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +16 -0
  264. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.d.ts +1 -0
  265. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.js +1 -0
  266. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.d.ts +4 -4
  267. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  268. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.d.ts +3 -6
  269. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.js +1 -1
  270. package/dist/configurator/ui/configurator-layout/slots/slots.d.ts +1 -0
  271. package/dist/configurator/ui/configurator-layout/slots/slots.js +1 -1
  272. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.d.ts +0 -74
  273. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.js +5 -20
  274. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  275. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.d.ts +2 -0
  276. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  277. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  278. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +47 -0
  279. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -0
  280. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +11 -26
  281. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.js +1 -1
  282. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.d.ts +2 -2
  283. package/dist/configurator/ui/legacy/mobile-controls/MobileControls.d.ts +1 -1
  284. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.d.ts +10 -0
  285. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -0
  286. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -2
  287. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +1 -0
  288. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  289. package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +100 -117
  290. package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +18 -12
  291. package/dist/docs/complex-use-cases/sketching.mdx +0 -38
  292. package/dist/docs/controls/select-attribute/cardselect.mdx +9 -13
  293. package/dist/docs/dimensions/3d-scene-integration/dimension-indicators.mdx +2 -2
  294. package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +1 -1
  295. package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +1 -1
  296. package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +1 -1
  297. package/dist/docs/drag-and-drop/drag-handle.mdx +1 -1
  298. package/dist/docs/drag-and-drop/hotspot-handle.mdx +1 -1
  299. package/dist/docs/drag-and-drop/planes.mdx +1 -1
  300. package/dist/docs/drag-and-drop/rotatable.mdx +2 -2
  301. package/dist/docs/index.json +53 -2
  302. package/dist/docs/integrations/woocommerce/local-development.mdx +1 -1
  303. package/dist/docs/layouts/custom-layout.mdx +1164 -0
  304. package/dist/docs/layouts/custom-price.mdx +14 -16
  305. package/dist/docs/layouts/header/fixed.mdx +2 -2
  306. package/dist/docs/layouts/header/floating.mdx +2 -2
  307. package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +380 -0
  308. package/dist/docs/layouts/sidebar/tabs.mdx +24 -21
  309. package/dist/docs/layouts/sidebar-footer/basic.mdx +32 -77
  310. package/dist/docs/layouts/toolbar.mdx +6 -0
  311. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
  312. package/dist/docs/other-features/domain-actions.mdx +418 -0
  313. package/dist/docs/other-features/side-effects.mdx +76 -45
  314. package/dist/docs/other-features/transformers.mdx +5 -1
  315. package/dist/docs/other-features/violation-messages.mdx +52 -56
  316. package/dist/docs/phoenix/admin.mdx +11 -26
  317. package/dist/docs/phoenix/application-states.mdx +9 -7
  318. package/dist/docs/phoenix/best-practices.mdx +1 -0
  319. package/dist/docs/phoenix/configurator-interface.mdx +184 -80
  320. package/dist/docs/phoenix/deployments.mdx +1 -1
  321. package/dist/docs/phoenix/domain-model.mdx +4 -0
  322. package/dist/docs/phoenix/expression-context.mdx +11 -3
  323. package/dist/docs/phoenix/finalization.mdx +2 -2
  324. package/dist/docs/phoenix/getting-started.mdx +1 -1
  325. package/dist/docs/phoenix/integration/headless-mode-external.mdx +5 -5
  326. package/dist/docs/phoenix/integration/widget-mode-external.mdx +5 -5
  327. package/dist/docs/phoenix/layout-slots.mdx +114 -0
  328. package/dist/docs/phoenix/localization.mdx +3 -22
  329. package/dist/docs/phoenix/phoenix-cli.mdx +183 -66
  330. package/dist/docs/phoenix/project-structure.mdx +29 -12
  331. package/dist/docs/phoenix/quickstart.mdx +2 -2
  332. package/dist/docs/phoenix/sdk-builder-workflow.mdx +15 -13
  333. package/dist/docs/phoenix/testing.mdx +140 -0
  334. package/dist/docs/phoenix/webhook-membership.mdx +10 -9
  335. package/dist/docs/phoenix/webhooks.mdx +2 -2
  336. package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +15 -13
  337. package/dist/docs/relations/hierarchy.mdx +13 -2
  338. package/dist/docs/ux-guidelines/choosing-a-control.mdx +11 -0
  339. package/dist/domain/admin-domain/__generated/enhanced-model.d.ts +1 -2
  340. package/dist/domain/admin-domain/__generated/model/versions/v1.d.ts +1 -1
  341. package/dist/domain/admin-domain/__generated/model/versions/v2.d.ts +1 -1
  342. package/dist/domain/admin-domain/__generated/model/versions/v3.d.ts +1 -1
  343. package/dist/domain/admin-domain/__generated/model/versions/v4.d.ts +1 -1
  344. package/dist/domain/admin-domain/__generated/model/versions/v5.d.ts +1 -1
  345. package/dist/domain/admin-domain/__generated/model/versions/v6.d.ts +2 -2
  346. package/dist/domain/admin-domain/__generated/model/versions/v6.js +1 -1
  347. package/dist/domain/admin-domain/implementation/common-admin-expressions.d.ts +26 -14
  348. package/dist/domain/admin-domain/implementation/common-admin-migrations.d.ts +1 -1
  349. package/dist/domain/admin-domain/implementation/common-admin-publish.d.ts +1 -2
  350. package/dist/domain/admin-domain/index.d.ts +9 -5
  351. package/dist/domain/admin-domain/index.js +1 -1
  352. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +2 -2
  353. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  354. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  355. package/dist/domain/application/admin-page-factories.d.ts +1 -2
  356. package/dist/domain/application/application-config.d.ts +28 -95
  357. package/dist/domain/application/assistant/assistant-fields.d.ts +12 -0
  358. package/dist/domain/application/assistant/assistant-fields.js +1 -0
  359. package/dist/domain/application/assistant/assistant-manifest.d.ts +71 -0
  360. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +131 -0
  361. package/dist/domain/application/assistant/assistant-resolved-manifest.js +1 -0
  362. package/dist/domain/application/assistant/assistant-value-type.d.ts +9 -0
  363. package/dist/domain/application/assistant/assistant-value-type.js +1 -0
  364. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +14 -0
  365. package/dist/domain/application/assistant/build-assistant-lenses.js +5 -0
  366. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +4 -0
  367. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -0
  368. package/dist/domain/application/assistant/create-assistant-execution-schema.d.ts +32 -0
  369. package/dist/domain/application/assistant/create-assistant-execution-schema.js +1 -0
  370. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +3 -0
  371. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -0
  372. package/dist/domain/application/assistant/index.d.ts +9 -0
  373. package/dist/domain/application/assistant/index.js +1 -0
  374. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +20 -0
  375. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.js +1 -0
  376. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +10 -0
  377. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -0
  378. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +48 -0
  379. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -0
  380. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +15 -0
  381. package/dist/domain/application/assistant/session-setup/create-session-assistant.js +1 -0
  382. package/dist/domain/application/assistant/session-setup/index.d.ts +4 -0
  383. package/dist/domain/application/assistant/session-setup/index.js +1 -0
  384. package/dist/domain/application/assistant-field-options.d.ts +2 -3
  385. package/dist/domain/application/assistant-mutations.d.ts +16 -17
  386. package/dist/domain/application/assistant-mutations.js +1 -1
  387. package/dist/domain/application/assistant-recipe-groups.d.ts +3 -7
  388. package/dist/domain/application/configurator-builder.d.ts +33 -18
  389. package/dist/domain/application/configurator-builder.js +1 -1
  390. package/dist/domain/application/create-initial-published-data.d.ts +6 -7
  391. package/dist/domain/application/index.d.ts +3 -6
  392. package/dist/domain/application/index.js +1 -1
  393. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  394. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  395. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  396. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  397. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  398. package/dist/domain/application/published-data/build-legend-data.d.ts +1 -1
  399. package/dist/domain/application/published-data/create-finalize-admin-domain.d.ts +1 -2
  400. package/dist/domain/application/published-data/format-field-type.d.ts +1 -1
  401. package/dist/domain/application/published-data/map-data-to-sheet.d.ts +1 -1
  402. package/dist/domain/application/published-data/map-published-chunked-data.d.ts +3 -3
  403. package/dist/domain/application/published-data/map-published-data.d.ts +7 -4
  404. package/dist/domain/application/published-data/validate-sheet-data.d.ts +1 -1
  405. package/dist/domain/available-system-components.js +1 -1
  406. package/dist/domain/core/action/action-factory.d.ts +11 -0
  407. package/dist/domain/core/action/action-factory.js +1 -0
  408. package/dist/domain/core/action/action.d.ts +71 -0
  409. package/dist/domain/core/action/index.d.ts +2 -0
  410. package/dist/domain/core/action/index.js +1 -0
  411. package/dist/domain/{components → core/component}/component-reader-types.d.ts +1 -2
  412. package/dist/domain/{components → core/component}/debug-state-component.d.ts +1 -1
  413. package/dist/domain/core/component/debug-state-component.js +1 -0
  414. package/dist/domain/core/component/domain-component-optic.d.ts +65 -0
  415. package/dist/domain/core/component/domain-component-optic.js +16 -0
  416. package/dist/domain/{components → core/component}/drag-state-component.d.ts +1 -1
  417. package/dist/domain/core/component/drag-state-component.js +1 -0
  418. package/dist/domain/{components → core/component}/export-state-component.d.ts +1 -1
  419. package/dist/domain/core/component/export-state-component.js +1 -0
  420. package/dist/domain/{components → core/component}/fullscreen-state-component.d.ts +1 -1
  421. package/dist/domain/core/component/fullscreen-state-component.js +1 -0
  422. package/dist/domain/{components → core/component}/group-components-by-entity-id-and-name.d.ts +1 -2
  423. package/dist/domain/core/component/group-components-by-entity-id-and-name.js +1 -0
  424. package/dist/domain/{components → core/component}/hover-state-component.d.ts +1 -1
  425. package/dist/domain/core/component/hover-state-component.js +1 -0
  426. package/dist/domain/core/component/index.d.ts +18 -0
  427. package/dist/domain/core/component/index.js +1 -0
  428. package/dist/domain/{components → core/component}/legacy-filter.d.ts +4 -19
  429. package/dist/domain/{components → core/component}/navigation-state-component.d.ts +1 -1
  430. package/dist/domain/core/component/navigation-state-component.js +1 -0
  431. package/dist/domain/{components → core/component}/selection-state-component.d.ts +1 -1
  432. package/dist/domain/core/component/selection-state-component.js +1 -0
  433. package/dist/domain/{components → core/component}/system-component-builder.d.ts +1 -2
  434. package/dist/domain/core/component/system-component-builder.js +1 -0
  435. package/dist/domain/{components → core/component}/system-component-filter.d.ts +38 -20
  436. package/dist/domain/core/component/system-virtual-entity.js +1 -0
  437. package/dist/domain/{components → core/component}/tool-state-component.d.ts +1 -1
  438. package/dist/domain/core/component/tool-state-component.js +1 -0
  439. package/dist/domain/{components → core/component}/updates.d.ts +17 -2
  440. package/dist/domain/{components → core/component}/view-state-component.d.ts +1 -1
  441. package/dist/domain/core/component/view-state-component.js +1 -0
  442. package/dist/domain/{components → core/component}/viewport-state-component.d.ts +1 -1
  443. package/dist/domain/core/component/viewport-state-component.js +1 -0
  444. package/dist/domain/core/data-schema/data-cell-value.d.ts +4 -0
  445. package/dist/domain/core/data-schema/data-schema-array-field.d.ts +5 -0
  446. package/dist/domain/core/data-schema/data-schema-field-object.d.ts +4 -0
  447. package/dist/domain/core/data-schema/data-schema-field-object.js +1 -0
  448. package/dist/domain/core/data-schema/data-schema-field.d.ts +2 -0
  449. package/dist/domain/core/data-schema/data-schema-field.js +1 -0
  450. package/dist/domain/core/data-schema/data-schema-localized-field.d.ts +4 -0
  451. package/dist/domain/core/data-schema/data-schema-localized-field.js +1 -0
  452. package/dist/domain/core/data-schema/data-schema-primitive-field.d.ts +5 -0
  453. package/dist/domain/core/data-schema/data-schema-primitive-field.js +1 -0
  454. package/dist/domain/core/data-schema/data-schema.d.ts +2 -0
  455. package/dist/domain/core/data-schema/data-schema.js +1 -0
  456. package/dist/domain/core/data-schema/index.d.ts +7 -0
  457. package/dist/domain/core/data-schema/index.js +1 -0
  458. package/dist/domain/core/decoder/create-decoder.d.ts +6 -0
  459. package/dist/domain/core/decoder/create-decoder.js +1 -0
  460. package/dist/domain/core/decoder/decoder.d.ts +6 -0
  461. package/dist/domain/core/decoder/decoder.js +1 -0
  462. package/dist/domain/core/decoder/index.d.ts +2 -0
  463. package/dist/domain/core/decoder/index.js +1 -0
  464. package/dist/domain/core/domain-factory.d.ts +7 -4
  465. package/dist/domain/core/domain-factory.js +1 -1
  466. package/dist/domain/core/domain.d.ts +4 -5
  467. package/dist/domain/core/domain.js +1 -1
  468. package/dist/domain/core/emission/index.d.ts +8 -0
  469. package/dist/domain/core/emission/index.js +1 -0
  470. package/dist/domain/core/emission/reset-state-emission.d.ts +12 -0
  471. package/dist/domain/core/emission/reset-state-emission.js +1 -0
  472. package/dist/domain/core/emission/state-emission.d.ts +4 -0
  473. package/dist/domain/core/emission/state-emission.js +1 -0
  474. package/dist/domain/core/emission/state-update-emission.d.ts +14 -0
  475. package/dist/domain/core/emission/state-update-emission.js +1 -0
  476. package/dist/domain/core/emission/state-validation-result.d.ts +18 -0
  477. package/dist/domain/core/emission/state-validation-result.js +1 -0
  478. package/dist/domain/core/emission/transformation-log.d.ts +2 -0
  479. package/dist/domain/core/emission/transformation-log.js +1 -0
  480. package/dist/domain/core/emission/transformer-log-entry.d.ts +6 -0
  481. package/dist/domain/core/emission/transformer-log-entry.js +1 -0
  482. package/dist/domain/core/emission/transformer-log.d.ts +11 -0
  483. package/dist/domain/core/emission/transformer-log.js +1 -0
  484. package/dist/domain/core/emission/transformer-phase.d.ts +1 -0
  485. package/dist/domain/core/emission/transformer-phase.js +1 -0
  486. package/dist/domain/core/expression/aliased-expressions.d.ts +10 -0
  487. package/dist/domain/core/expression/aliased-expressions.js +1 -0
  488. package/dist/domain/core/expression/constant-expressions.d.ts +16 -0
  489. package/dist/domain/core/expression/constant-expressions.js +1 -0
  490. package/dist/domain/core/expression/custom-expression.d.ts +25 -0
  491. package/dist/domain/core/expression/custom-expression.js +1 -0
  492. package/dist/domain/core/expression/expression.d.ts +46 -0
  493. package/dist/domain/core/expression/expression.js +1 -0
  494. package/dist/domain/core/expression/index.d.ts +4 -0
  495. package/dist/domain/core/expression/index.js +1 -0
  496. package/dist/domain/core/index.d.ts +13 -16
  497. package/dist/domain/core/index.js +1 -1
  498. package/dist/domain/{invariants → core/invariant}/builtin-invariant.d.ts +2 -2
  499. package/dist/domain/core/invariant/custom-invariants.d.ts +13 -0
  500. package/dist/domain/core/invariant/custom-invariants.js +1 -0
  501. package/dist/domain/core/invariant/index.d.ts +5 -0
  502. package/dist/domain/core/invariant/index.js +1 -0
  503. package/dist/domain/core/invariant/invariants.d.ts +10 -0
  504. package/dist/domain/core/invariant/invariants.js +1 -0
  505. package/dist/domain/core/invariant/violation-component.js +1 -0
  506. package/dist/domain/{invariants → core/invariant}/violation.d.ts +52 -4
  507. package/dist/domain/core/invariant/violation.js +1 -0
  508. package/dist/domain/core/{component.d.ts → model/component.d.ts} +1 -1
  509. package/dist/domain/core/model/index.d.ts +6 -0
  510. package/dist/domain/core/model/index.js +1 -0
  511. package/dist/domain/core/{model.d.ts → model/model.d.ts} +1 -1
  512. package/dist/domain/core/{reflection.d.ts → model/reflection.d.ts} +1 -1
  513. package/dist/domain/core/model/reflection.js +1 -0
  514. package/dist/domain/core/recipe/index.d.ts +1 -0
  515. package/dist/domain/core/recipe/index.js +1 -0
  516. package/dist/domain/core/recipe/recipes.d.ts +23 -0
  517. package/dist/domain/core/recipe/recipes.js +1 -0
  518. package/dist/domain/core/relation/all-of-type-relation.d.ts +19 -0
  519. package/dist/domain/core/relation/all-of-type-relation.js +1 -0
  520. package/dist/domain/{relations → core/relation}/component-factories.d.ts +1 -2
  521. package/dist/domain/core/relation/component-factories.js +1 -0
  522. package/dist/domain/{relations → core/relation}/composed-of.d.ts +1 -1
  523. package/dist/domain/core/relation/composed-of.js +1 -0
  524. package/dist/domain/core/relation/direct-relation.d.ts +17 -0
  525. package/dist/domain/core/relation/index.d.ts +8 -0
  526. package/dist/domain/core/relation/index.js +1 -0
  527. package/dist/domain/core/relation/indirect-relation.d.ts +25 -0
  528. package/dist/domain/core/relation/indirect-relation.js +1 -0
  529. package/dist/domain/{relations → core/relation}/reference-component.d.ts +4 -5
  530. package/dist/domain/core/relation/reference-component.js +1 -0
  531. package/dist/domain/{relations → core/relation}/reference-field.d.ts +1 -1
  532. package/dist/domain/core/relation/reference-field.js +1 -0
  533. package/dist/domain/core/relation/relation-factory.d.ts +22 -0
  534. package/dist/domain/core/relation/relation-factory.js +1 -0
  535. package/dist/domain/core/schema/enhanced-json-schema.js +1 -0
  536. package/dist/domain/core/schema/extended-schema-validator.js +1 -0
  537. package/dist/domain/core/schema/index.d.ts +3 -0
  538. package/dist/domain/core/schema/index.js +1 -0
  539. package/dist/domain/core/schema/schema-validator.js +1 -0
  540. package/dist/domain/core/state/id-sequence.d.ts +15 -0
  541. package/dist/domain/core/state/id-sequence.js +1 -0
  542. package/dist/domain/core/state/index.d.ts +3 -0
  543. package/dist/domain/core/state/index.js +1 -0
  544. package/dist/domain/core/{migrations.d.ts → state/migrations.d.ts} +15 -47
  545. package/dist/domain/core/state/migrations.js +1 -0
  546. package/dist/domain/core/{state.d.ts → state/state.d.ts} +2 -3
  547. package/dist/domain/domain-builder.d.ts +16 -9
  548. package/dist/domain/domain-builder.js +1 -1
  549. package/dist/domain/domain-context/action-system/action-system.d.ts +38 -0
  550. package/dist/domain/domain-context/action-system/action-system.js +1 -0
  551. package/dist/domain/domain-context/action-system/index.d.ts +1 -0
  552. package/dist/domain/domain-context/action-system/index.js +1 -0
  553. package/dist/domain/domain-context/analytics-system/index.d.ts +2 -0
  554. package/dist/domain/domain-context/analytics-system/index.js +1 -0
  555. package/dist/domain/domain-context/create-transformer.d.ts +2 -2
  556. package/dist/domain/domain-context/dimension-system/dimension-state.js +1 -1
  557. package/dist/domain/domain-context/dimension-system/dimension-system.d.ts +3 -4
  558. package/dist/domain/domain-context/dimension-system/dimension-system.js +1 -1
  559. package/dist/domain/domain-context/dimension-system/index.d.ts +1 -0
  560. package/dist/domain/domain-context/dimension-system/index.js +1 -0
  561. package/dist/domain/domain-context/domain-context-systems.d.ts +11 -10
  562. package/dist/domain/domain-context/index.d.ts +8 -17
  563. package/dist/domain/domain-context/index.js +1 -1
  564. package/dist/domain/domain-context/navigation-system/index.d.ts +3 -0
  565. package/dist/domain/domain-context/navigation-system/index.js +1 -0
  566. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +5 -8
  567. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  568. package/dist/domain/domain-context/navigation-system/navigation-updates.d.ts +1 -12
  569. package/dist/domain/domain-context/navigation-system/navigation-updates.js +1 -1
  570. package/dist/domain/domain-context/navigation-system/selection-transformers.d.ts +2 -2
  571. package/dist/domain/domain-context/navigation-system/selection-transformers.js +1 -1
  572. package/dist/domain/domain-context/recipe-system/index.d.ts +1 -0
  573. package/dist/domain/domain-context/recipe-system/index.js +1 -0
  574. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.d.ts +2 -4
  575. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.js +1 -1
  576. package/dist/domain/domain-context/relation-transformers/cascade-deletes.d.ts +3 -3
  577. package/dist/domain/domain-context/relation-transformers/cascade-deletes.js +1 -1
  578. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.d.ts +3 -3
  579. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.js +1 -1
  580. package/dist/domain/domain-context/relation-transformers/create-entity-refs.d.ts +3 -3
  581. package/dist/domain/domain-context/relation-transformers/create-entity-refs.js +2 -2
  582. package/dist/domain/domain-context/relation-transformers/index.d.ts +4 -0
  583. package/dist/domain/domain-context/relation-transformers/index.js +1 -0
  584. package/dist/domain/domain-context/relation-transformers/replace-refs.d.ts +3 -3
  585. package/dist/domain/domain-context/relation-transformers/replace-refs.js +1 -1
  586. package/dist/domain/domain-context/store-system/apply-updates.d.ts +1 -3
  587. package/dist/domain/domain-context/store-system/apply-updates.js +1 -1
  588. package/dist/domain/domain-context/store-system/index.d.ts +4 -0
  589. package/dist/domain/domain-context/store-system/index.js +1 -0
  590. package/dist/domain/domain-context/store-system/next-domain-entity-id.d.ts +1 -13
  591. package/dist/domain/domain-context/store-system/next-domain-entity-id.js +1 -1
  592. package/dist/domain/domain-context/store-system/reconcile-projected-entities.d.ts +1 -2
  593. package/dist/domain/domain-context/store-system/reconcile-projected-entities.js +1 -1
  594. package/dist/domain/domain-context/store-system/store-system.d.ts +2 -39
  595. package/dist/domain/domain-context/store-system/store-system.js +2 -2
  596. package/dist/domain/domain-context/store-system/system-state.d.ts +2 -4
  597. package/dist/domain/domain-context/store-system/system-state.js +1 -1
  598. package/dist/domain/domain-context/transformers/actions-builder.d.ts +1 -2
  599. package/dist/domain/domain-context/transformers/actions-builder.js +1 -1
  600. package/dist/domain/domain-context/transformers/auto-snap-transformer.d.ts +6 -10
  601. package/dist/domain/domain-context/transformers/auto-snap-transformer.js +1 -1
  602. package/dist/domain/domain-context/transformers/chain-builder.d.ts +3 -3
  603. package/dist/domain/domain-context/transformers/context.d.ts +2 -7
  604. package/dist/domain/domain-context/transformers/context.js +1 -1
  605. package/dist/domain/domain-context/transformers/entity-builder.d.ts +1 -5
  606. package/dist/domain/domain-context/transformers/entity-builder.js +1 -1
  607. package/dist/domain/domain-context/transformers/index.d.ts +1 -1
  608. package/dist/domain/domain-context/transformers/index.js +1 -1
  609. package/dist/domain/domain-context/transformers/then-builder.d.ts +1 -2
  610. package/dist/domain/domain-context/transformers/then-builder.js +1 -1
  611. package/dist/domain/domain-context/transformers/when-builder.d.ts +3 -9
  612. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  613. package/dist/domain/domain-context/undo-system.d.ts +2 -3
  614. package/dist/domain/domain-runtime/access/selectors.d.ts +9 -0
  615. package/dist/domain/domain-runtime/access/selectors.js +1 -1
  616. package/dist/domain/domain-runtime/access/types.d.ts +2 -0
  617. package/dist/domain/domain-runtime/access/types.js +1 -1
  618. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +11 -0
  619. package/dist/domain/domain-runtime/domain-context/action-context.js +1 -0
  620. package/dist/domain/domain-runtime/domain-context/component-reader.d.ts +1 -4
  621. package/dist/domain/domain-runtime/domain-context/component-reader.js +1 -1
  622. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  623. package/dist/domain/domain-runtime/domain-context/expression-context.d.ts +8 -0
  624. package/dist/domain/domain-runtime/domain-context/expression-context.js +1 -0
  625. package/dist/domain/domain-runtime/domain-context/index.d.ts +3 -0
  626. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.d.ts +18 -0
  627. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.js +1 -0
  628. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +22 -24
  629. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  630. package/dist/domain/domain-runtime/domain-context/types.d.ts +4 -1
  631. package/dist/domain/domain-runtime/domain-runtime.d.ts +100 -72
  632. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +19 -0
  633. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -0
  634. package/dist/domain/domain-runtime/errors/implementation-error.d.ts +46 -0
  635. package/dist/domain/domain-runtime/errors/implementation-error.js +1 -0
  636. package/dist/domain/domain-runtime/errors/implementation-errors.d.ts +13 -0
  637. package/dist/domain/domain-runtime/errors/implementation-errors.js +1 -0
  638. package/dist/domain/domain-runtime/errors/index.d.ts +4 -0
  639. package/dist/domain/domain-runtime/errors/index.js +1 -0
  640. package/dist/domain/domain-runtime/errors/to-implementation-errors.d.ts +10 -0
  641. package/dist/domain/domain-runtime/errors/to-implementation-errors.js +1 -0
  642. package/dist/domain/domain-runtime/index.d.ts +1 -0
  643. package/dist/domain/domain-runtime/index.js +1 -1
  644. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +24 -0
  645. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -0
  646. package/dist/domain/domain-runtime/spec/index.d.ts +5 -0
  647. package/dist/domain/domain-runtime/spec/index.js +1 -1
  648. package/dist/domain/domain-runtime/spec/initialize.d.ts +11 -0
  649. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  650. package/dist/domain/{expressions → domain-runtime/spec}/memoize-expression.d.ts +1 -2
  651. package/dist/domain/{application → domain-runtime/spec/module-checks}/element-registration.d.ts +6 -1
  652. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -0
  653. package/dist/domain/{application → domain-runtime/spec/module-checks}/handler-registration.d.ts +5 -0
  654. package/dist/domain/domain-runtime/spec/module-checks/handler-registration.js +1 -0
  655. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +8 -0
  656. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -0
  657. package/dist/domain/domain-runtime/spec/module-checks/project-modules.d.ts +32 -0
  658. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +1 -0
  659. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.d.ts +4 -0
  660. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.js +1 -0
  661. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.d.ts +4 -0
  662. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.js +1 -0
  663. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +15 -0
  664. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -0
  665. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.d.ts +22 -0
  666. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +1 -0
  667. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.d.ts +6 -0
  668. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.js +1 -0
  669. package/dist/domain/domain-runtime/spec/prepare-action-implementations.d.ts +15 -0
  670. package/dist/domain/domain-runtime/spec/prepare-action-implementations.js +5 -0
  671. package/dist/domain/{expressions → domain-runtime/spec}/prepare-domain-expressions.d.ts +1 -1
  672. package/dist/domain/domain-runtime/spec/selectors.d.ts +7 -8
  673. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  674. package/dist/domain/domain-runtime/spec/types.d.ts +20 -6
  675. package/dist/domain/{system-components → extensions}/angle-indicator.d.ts +1 -1
  676. package/dist/domain/extensions/angle-indicator.js +1 -0
  677. package/dist/domain/{system-components → extensions}/attribute-switch.d.ts +1 -1
  678. package/dist/domain/extensions/attribute-switch.js +1 -0
  679. package/dist/domain/{system-components → extensions}/autorotate-camera-component.d.ts +1 -1
  680. package/dist/domain/extensions/autorotate-camera-component.js +1 -0
  681. package/dist/domain/{system-components → extensions}/basic-sidebar-footer.d.ts +1 -1
  682. package/dist/domain/extensions/basic-sidebar-footer.js +1 -0
  683. package/dist/domain/extensions/camera-based-hidden-entity-object.js +1 -0
  684. package/dist/domain/extensions/camera-based-hidden-entity.js +1 -0
  685. package/dist/domain/{system-components → extensions}/canvas-config.d.ts +2 -2
  686. package/dist/domain/extensions/canvas-config.js +1 -0
  687. package/dist/domain/extensions/canvas-custom-environment.js +1 -0
  688. package/dist/domain/{system-components → extensions}/canvas-padding.d.ts +1 -1
  689. package/dist/domain/extensions/canvas-padding.js +1 -0
  690. package/dist/domain/{system-components → extensions}/canvas-preset-environment.d.ts +1 -1
  691. package/dist/domain/extensions/canvas-preset-environment.js +1 -0
  692. package/dist/domain/{system-components → extensions}/child-entity-recipe-hierarchy.d.ts +2 -2
  693. package/dist/domain/extensions/child-entity-recipe-hierarchy.js +1 -0
  694. package/dist/domain/{system-components → extensions}/client-side-image.d.ts +2 -2
  695. package/dist/domain/extensions/client-side-image.js +1 -0
  696. package/dist/domain/extensions/color-value.js +1 -0
  697. package/dist/domain/{system-components → extensions}/common/angle-indicator-schema.d.ts +3 -3
  698. package/dist/domain/extensions/common/angle-indicator-schema.js +1 -0
  699. package/dist/domain/{system-components → extensions}/common/dimension-indicator-schema.d.ts +3 -3
  700. package/dist/domain/extensions/common/dimension-indicator-schema.js +1 -0
  701. package/dist/domain/extensions/common/index.d.ts +4 -0
  702. package/dist/domain/extensions/common/index.js +1 -0
  703. package/dist/domain/{system-components → extensions}/custom-header.d.ts +2 -2
  704. package/dist/domain/{system-components → extensions}/custom-header.js +1 -1
  705. package/dist/domain/extensions/custom-price-footer.js +1 -0
  706. package/dist/domain/{system-components → extensions}/custom-sidebar-footer.d.ts +2 -2
  707. package/dist/domain/{system-components → extensions}/custom-sidebar-footer.js +1 -1
  708. package/dist/domain/{system-components → extensions}/dimension-indicator.d.ts +1 -1
  709. package/dist/domain/extensions/dimension-indicator.js +1 -0
  710. package/dist/domain/{system-components → extensions}/editable-angle-indicator.d.ts +4 -3
  711. package/dist/domain/extensions/editable-angle-indicator.js +1 -0
  712. package/dist/domain/{system-components → extensions}/editable-distance-dimension-indicator.d.ts +4 -3
  713. package/dist/domain/extensions/editable-distance-dimension-indicator.js +1 -0
  714. package/dist/domain/{system-components → extensions}/editable-offset-indicator.d.ts +4 -3
  715. package/dist/domain/extensions/editable-offset-indicator.js +1 -0
  716. package/dist/domain/{system-components → extensions}/editable-size-indicator.d.ts +3 -2
  717. package/dist/domain/extensions/editable-size-indicator.js +1 -0
  718. package/dist/domain/{system-components → extensions}/entity-header.d.ts +1 -1
  719. package/dist/domain/extensions/entity-header.js +1 -0
  720. package/dist/domain/{system-components → extensions}/exit-tool-mode-fab.d.ts +1 -1
  721. package/dist/domain/extensions/exit-tool-mode-fab.js +1 -0
  722. package/dist/domain/{system-components → extensions}/finalize-action.d.ts +1 -1
  723. package/dist/domain/extensions/finalize-action.js +1 -0
  724. package/dist/domain/extensions/finalize-component.js +1 -0
  725. package/dist/domain/extensions/fit-selection-orthographic-camera-component.js +1 -0
  726. package/dist/domain/extensions/fit-selection-perspective-camera-component.js +1 -0
  727. package/dist/domain/{system-components → extensions}/fixed-header.d.ts +1 -1
  728. package/dist/domain/extensions/fixed-header.js +1 -0
  729. package/dist/domain/{system-components → extensions}/floating-header.d.ts +1 -1
  730. package/dist/domain/extensions/floating-header.js +1 -0
  731. package/dist/domain/{system-components → extensions}/hidden-header.d.ts +1 -1
  732. package/dist/domain/extensions/hidden-header.js +1 -0
  733. package/dist/domain/{system-components → extensions}/hidden-sidebar-footer.d.ts +1 -1
  734. package/dist/domain/extensions/hidden-sidebar-footer.js +1 -0
  735. package/dist/domain/{system-components → extensions}/horizontal-tabs.d.ts +3 -3
  736. package/dist/domain/extensions/horizontal-tabs.js +1 -0
  737. package/dist/domain/extensions/index.d.ts +69 -0
  738. package/dist/domain/extensions/index.js +1 -0
  739. package/dist/domain/{system-components → extensions}/list-selector-dimension-indicator.d.ts +4 -3
  740. package/dist/domain/extensions/list-selector-dimension-indicator.js +1 -0
  741. package/dist/domain/extensions/multilingual-text-value.js +1 -0
  742. package/dist/domain/{system-components → extensions}/navigation-steps.d.ts +2 -2
  743. package/dist/domain/extensions/navigation-steps.js +1 -0
  744. package/dist/domain/{system-components → extensions}/offset-anchors.d.ts +1 -1
  745. package/dist/domain/extensions/offset-anchors.js +1 -0
  746. package/dist/domain/{system-components → extensions}/offset-indicator.d.ts +1 -2
  747. package/dist/domain/extensions/offset-indicator.js +1 -0
  748. package/dist/domain/{system-components → extensions}/offset.d.ts +1 -1
  749. package/dist/domain/extensions/offset.js +1 -0
  750. package/dist/domain/{system-components → extensions}/other-action.d.ts +1 -1
  751. package/dist/domain/extensions/other-action.js +1 -0
  752. package/dist/domain/{system-components → extensions}/property-page.d.ts +2 -2
  753. package/dist/domain/extensions/property-page.js +1 -0
  754. package/dist/domain/{system-components → extensions}/read-sidebar-footer.d.ts +1 -1
  755. package/dist/domain/extensions/read-sidebar-footer.js +1 -0
  756. package/dist/domain/{system-components → extensions}/replace-entity-recipe-hierarchy.d.ts +2 -2
  757. package/dist/domain/extensions/replace-entity-recipe-hierarchy.js +1 -0
  758. package/dist/domain/extensions/rotatable.js +1 -0
  759. package/dist/domain/{system-components → extensions}/rotation-handle.d.ts +2 -2
  760. package/dist/domain/extensions/rotation-handle.js +1 -0
  761. package/dist/domain/{system-components → extensions}/save-template-thumbnail.d.ts +2 -2
  762. package/dist/domain/extensions/save-template-thumbnail.js +1 -0
  763. package/dist/domain/{system-components → extensions}/scene-entity-add-fab.d.ts +1 -1
  764. package/dist/domain/extensions/scene-entity-add-fab.js +1 -0
  765. package/dist/domain/extensions/scene-entity-animation.js +1 -0
  766. package/dist/domain/extensions/scene-entity-control.js +1 -0
  767. package/dist/domain/{system-components → extensions}/scene-entity-delete-fab.d.ts +1 -1
  768. package/dist/domain/extensions/scene-entity-delete-fab.js +1 -0
  769. package/dist/domain/extensions/scene-entity-floor-object.js +1 -0
  770. package/dist/domain/{system-components → extensions}/scene-entity-html-hotspot.d.ts +1 -1
  771. package/dist/domain/extensions/scene-entity-html-hotspot.js +1 -0
  772. package/dist/domain/{system-components → extensions}/scene-entity-navigation-hotspot.d.ts +1 -1
  773. package/dist/domain/extensions/scene-entity-navigation-hotspot.js +1 -0
  774. package/dist/domain/{system-components → extensions}/scene-entity-object-html-hotspot.d.ts +1 -1
  775. package/dist/domain/extensions/scene-entity-object-html-hotspot.js +1 -0
  776. package/dist/domain/{system-components → extensions}/scene-entity-select-hotspot.d.ts +1 -1
  777. package/dist/domain/extensions/scene-entity-select-hotspot.js +1 -0
  778. package/dist/domain/extensions/scene-entity-wall-object.js +1 -0
  779. package/dist/domain/extensions/selectable-component.js +1 -0
  780. package/dist/domain/{system-components → extensions}/sidebar-tabs.d.ts +1 -1
  781. package/dist/domain/extensions/sidebar-tabs.js +1 -0
  782. package/dist/domain/extensions/simple-summary.js +1 -0
  783. package/dist/domain/{system-components → extensions}/size.d.ts +1 -1
  784. package/dist/domain/extensions/size.js +1 -0
  785. package/dist/domain/{system-components → extensions}/sketching-draw.d.ts +1 -1
  786. package/dist/domain/extensions/sketching-draw.js +1 -0
  787. package/dist/domain/{system-components → extensions}/sketching-edit.d.ts +2 -2
  788. package/dist/domain/extensions/sketching-edit.js +1 -0
  789. package/dist/domain/extensions/summary-component.js +1 -0
  790. package/dist/domain/extensions/text-value.js +1 -0
  791. package/dist/domain/extensions/tool-controls.js +1 -0
  792. package/dist/domain/{system-components → extensions}/tool-menu-fab.d.ts +2 -2
  793. package/dist/domain/extensions/tool-menu-fab.js +1 -0
  794. package/dist/domain/{system-components → extensions}/toolbar.d.ts +2 -2
  795. package/dist/domain/{system-components → extensions}/toolbar.js +1 -1
  796. package/dist/domain/{system-components → extensions}/universal-sidebar-footer.d.ts +1 -1
  797. package/dist/domain/extensions/universal-sidebar-footer.js +1 -0
  798. package/dist/domain/extensions/view-controls.js +1 -0
  799. package/dist/domain/index.d.ts +2 -30
  800. package/dist/domain/index.js +1 -1
  801. package/dist/domain/mocks/create-mock-domain-context.d.ts +1 -1
  802. package/dist/domain/mocks/create-mock-domain-runtime-services.d.ts +1 -1
  803. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +36 -21
  804. package/dist/domain/mocks/create-mock-domain-runtime.js +1 -1
  805. package/dist/domain/mocks/create-mock-domain.d.ts +1 -1
  806. package/dist/domain/mocks/create-mock-domain.js +1 -1
  807. package/dist/domain/mocks/create-mock-state.d.ts +2 -2
  808. package/dist/domain/mocks/create-test-application-config.d.ts +59 -0
  809. package/dist/domain/mocks/create-test-application-config.js +1 -0
  810. package/dist/domain/mocks/index.d.ts +1 -0
  811. package/dist/domain/mocks/index.js +1 -1
  812. package/dist/domain/projections/blender-projections/blender-projections.d.ts +2 -3
  813. package/dist/domain/projections/blender-projections/blender-projections.js +1 -1
  814. package/dist/domain/projections/blender-projections/camera.d.ts +2 -2
  815. package/dist/domain/projections/collision-projections.d.ts +1 -1
  816. package/dist/domain/projections/composition-projections.d.ts +1 -1
  817. package/dist/domain/projections/composition-projections.js +1 -1
  818. package/dist/domain/projections/constraint-projections.d.ts +1 -1
  819. package/dist/domain/projections/index.d.ts +1 -1
  820. package/dist/domain/projections/position-projections.d.ts +1 -1
  821. package/dist/domain/projections/projected-entities-projections.d.ts +2 -3
  822. package/dist/domain/projections/snap-matching.d.ts +1 -2
  823. package/dist/domain/projections/snap-utils.d.ts +1 -2
  824. package/dist/domain/projections/snapping-projections.d.ts +1 -1
  825. package/dist/domain/projections/validation-projections.d.ts +3 -20
  826. package/dist/domain/projections/validation-projections.js +1 -1
  827. package/dist/domain/sketching/sketching-projections.d.ts +1 -1
  828. package/dist/domain/system-components/admin-sidebar.d.ts +1 -1
  829. package/dist/domain/system-components/admin-sidebar.js +1 -1
  830. package/dist/domain/system-components/angle-dimension.js +1 -1
  831. package/dist/domain/system-components/application-config.d.ts +3 -3
  832. package/dist/domain/system-components/application-config.js +1 -1
  833. package/dist/domain/system-components/attribute-selection.js +1 -1
  834. package/dist/domain/system-components/bounding-box-component.d.ts +1 -1
  835. package/dist/domain/system-components/bounding-box-component.js +1 -1
  836. package/dist/domain/system-components/bounding-sphere-component.d.ts +1 -1
  837. package/dist/domain/system-components/bounding-sphere-component.js +1 -1
  838. package/dist/domain/system-components/child-entity-recipes.d.ts +1 -1
  839. package/dist/domain/system-components/child-entity-recipes.js +1 -1
  840. package/dist/domain/system-components/child-entity-selection.d.ts +1 -2
  841. package/dist/domain/system-components/child-entity-selection.js +1 -1
  842. package/dist/domain/system-components/collision-box-geometry.d.ts +5 -3
  843. package/dist/domain/system-components/collision-box-geometry.js +1 -1
  844. package/dist/domain/system-components/collision-geometries.d.ts +1 -1
  845. package/dist/domain/system-components/collision-geometry.d.ts +5 -3
  846. package/dist/domain/system-components/collision-geometry.js +1 -1
  847. package/dist/domain/system-components/collision-point-geometry.d.ts +5 -3
  848. package/dist/domain/system-components/collision-point-geometry.js +1 -1
  849. package/dist/domain/system-components/common/index.d.ts +0 -4
  850. package/dist/domain/system-components/common/index.js +1 -1
  851. package/dist/domain/system-components/common/material-override-schema.d.ts +2 -2
  852. package/dist/domain/system-components/common/recipes.d.ts +21 -4
  853. package/dist/domain/system-components/common/recipes.js +1 -1
  854. package/dist/domain/system-components/constraint.d.ts +11 -24
  855. package/dist/domain/system-components/constraint.js +1 -1
  856. package/dist/domain/system-components/create-blueprint.d.ts +1 -1
  857. package/dist/domain/system-components/custom-scene-entity.d.ts +1 -1
  858. package/dist/domain/system-components/custom-scene-entity.js +1 -1
  859. package/dist/domain/system-components/detail.js +1 -1
  860. package/dist/domain/system-components/distance-dimension-select.d.ts +1 -1
  861. package/dist/domain/system-components/distance-dimension-select.js +1 -1
  862. package/dist/domain/system-components/distance-dimension.d.ts +1 -1
  863. package/dist/domain/system-components/distance-dimension.js +1 -1
  864. package/dist/domain/system-components/drag-handle.d.ts +2 -2
  865. package/dist/domain/system-components/drag-handle.js +1 -1
  866. package/dist/domain/system-components/fit-entity-orthographic-camera-component.js +1 -1
  867. package/dist/domain/system-components/fit-entity-perspective-camera-component.js +1 -1
  868. package/dist/domain/system-components/fit-root-orthographic-camera-component.js +1 -1
  869. package/dist/domain/system-components/fit-root-perspective-camera-component.js +1 -1
  870. package/dist/domain/system-components/generic-dimension.d.ts +1 -1
  871. package/dist/domain/system-components/generic-dimension.js +1 -1
  872. package/dist/domain/system-components/hidden-entity.js +1 -1
  873. package/dist/domain/system-components/hotspot-drag-handle.d.ts +2 -3
  874. package/dist/domain/system-components/hotspot-drag-handle.js +1 -1
  875. package/dist/domain/system-components/index.d.ts +0 -68
  876. package/dist/domain/system-components/index.js +1 -1
  877. package/dist/domain/system-components/material-override-property-transition.js +1 -1
  878. package/dist/domain/system-components/material-override-transformer.js +1 -1
  879. package/dist/domain/system-components/material-swatch.js +1 -1
  880. package/dist/domain/system-components/navigation-page.js +1 -1
  881. package/dist/domain/system-components/navigation-panel-list.js +1 -1
  882. package/dist/domain/system-components/phoenix-entity-elements/admin-data-table-sidebar.d.ts +1 -1
  883. package/dist/domain/system-components/phoenix-layout-elements/admin-connected-resource-page.d.ts +1 -1
  884. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-actions.d.ts +1 -1
  885. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-page.d.ts +1 -1
  886. package/dist/domain/system-components/phoenix-layout-elements/assistant-toolbar-button.d.ts +44 -0
  887. package/dist/domain/system-components/phoenix-layout-elements/assistant-toolbar-button.js +1 -0
  888. package/dist/domain/system-components/phoenix-layout-elements/index.d.ts +1 -0
  889. package/dist/domain/system-components/phoenix-layout-elements/index.js +1 -1
  890. package/dist/domain/system-components/phoenix-layout-elements/phoenix-layout-element.d.ts +2 -1
  891. package/dist/domain/system-components/phoenix-layout-elements/phoenix-layout-element.js +1 -1
  892. package/dist/domain/system-components/pivot-point.d.ts +1 -1
  893. package/dist/domain/system-components/pivot-point.js +1 -1
  894. package/dist/domain/system-components/price.js +1 -1
  895. package/dist/domain/system-components/projected-entities.d.ts +1 -1
  896. package/dist/domain/system-components/projected-entities.js +1 -1
  897. package/dist/domain/system-components/replace-entity-recipes.d.ts +1 -1
  898. package/dist/domain/system-components/replace-entity-recipes.js +1 -1
  899. package/dist/domain/system-components/scene-entity-ambient-light.js +1 -1
  900. package/dist/domain/system-components/scene-entity-box-object.js +1 -1
  901. package/dist/domain/system-components/scene-entity-directional-light.js +1 -1
  902. package/dist/domain/system-components/scene-entity-local-material-override.js +1 -1
  903. package/dist/domain/system-components/scene-entity-material-override.d.ts +1 -1
  904. package/dist/domain/system-components/scene-entity-material-override.js +1 -1
  905. package/dist/domain/system-components/scene-entity-object-clip.js +1 -1
  906. package/dist/domain/system-components/scene-entity-object-decal.js +1 -1
  907. package/dist/domain/system-components/scene-entity-object-group.js +1 -1
  908. package/dist/domain/system-components/scene-entity-object-local-material-override.js +1 -1
  909. package/dist/domain/system-components/scene-entity-object-material-override.d.ts +1 -1
  910. package/dist/domain/system-components/scene-entity-object-material-override.js +1 -1
  911. package/dist/domain/system-components/scene-entity-object-properties.js +1 -1
  912. package/dist/domain/system-components/scene-entity-object-remote-material-override.js +1 -1
  913. package/dist/domain/system-components/scene-entity-object-text-decal.d.ts +1 -1
  914. package/dist/domain/system-components/scene-entity-object-text-decal.js +1 -1
  915. package/dist/domain/system-components/scene-entity-object-transformer.js +1 -1
  916. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.d.ts +1 -1
  917. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.js +1 -1
  918. package/dist/domain/system-components/scene-entity-object.js +1 -1
  919. package/dist/domain/system-components/scene-entity-point-light.js +1 -1
  920. package/dist/domain/system-components/scene-entity-properties.js +1 -1
  921. package/dist/domain/system-components/scene-entity-rect-area-light.js +1 -1
  922. package/dist/domain/system-components/scene-entity-remote-material-override.js +1 -1
  923. package/dist/domain/system-components/scene-entity-remote-object.js +1 -1
  924. package/dist/domain/system-components/scene-entity-spot-light.js +1 -1
  925. package/dist/domain/system-components/scene-entity-transimissive-material-override.d.ts +1 -1
  926. package/dist/domain/system-components/scene-entity-transimissive-material-override.js +1 -1
  927. package/dist/domain/system-components/sketching-line.d.ts +1 -1
  928. package/dist/domain/system-components/sketching-line.js +1 -1
  929. package/dist/domain/system-components/sketching-rectangle.d.ts +1 -1
  930. package/dist/domain/system-components/sketching-rectangle.js +1 -1
  931. package/dist/domain/system-components/sketching.d.ts +1 -1
  932. package/dist/domain/system-components/sketching.js +1 -1
  933. package/dist/domain/system-components/snap-axis.d.ts +1 -1
  934. package/dist/domain/system-components/snap-axis.js +1 -1
  935. package/dist/domain/system-components/snap-edge.d.ts +1 -1
  936. package/dist/domain/system-components/snap-edge.js +1 -1
  937. package/dist/domain/system-components/snap-plane.d.ts +1 -1
  938. package/dist/domain/system-components/snap-plane.js +1 -1
  939. package/dist/domain/system-components/snap-point.d.ts +1 -1
  940. package/dist/domain/system-components/snap-point.js +1 -1
  941. package/dist/domain/system-components/static-orthographic-camera-component.d.ts +1 -1
  942. package/dist/domain/system-components/static-orthographic-camera-component.js +1 -1
  943. package/dist/domain/system-components/static-perspective-camera-component.d.ts +1 -1
  944. package/dist/domain/system-components/static-perspective-camera-component.js +1 -1
  945. package/dist/domain/utils/eval-cache.d.ts +2 -3
  946. package/dist/domain/utils/map-nested-object.d.ts +1 -1
  947. package/dist/domain/utils/memo-eval.d.ts +2 -4
  948. package/dist/editor/Editor.js +1 -1
  949. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  950. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  951. package/dist/editor/domain-editors/use-implementation-files.d.ts +12 -8
  952. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  953. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  954. package/dist/editor/mocks/EditorMockContext.js +1 -1
  955. package/dist/editor/variants/VariantAnswerFooter.d.ts +17 -0
  956. package/dist/editor/variants/VariantAnswerFooter.js +1 -0
  957. package/dist/editor/variants/VariantPreviewHandler.d.ts +6 -0
  958. package/dist/editor/variants/VariantPreviewHandler.js +1 -0
  959. package/dist/editor/variants/variant-preview-styles.d.ts +49 -0
  960. package/dist/editor/variants/variant-preview-styles.js +1 -0
  961. package/dist/i18n/locales/cs/messages.js +1 -1
  962. package/dist/i18n/locales/da/messages.js +1 -1
  963. package/dist/i18n/locales/de/messages.js +1 -1
  964. package/dist/i18n/locales/de-AT/messages.js +1 -1
  965. package/dist/i18n/locales/en/messages.js +1 -1
  966. package/dist/i18n/locales/en-AU/messages.js +1 -1
  967. package/dist/i18n/locales/en-GB/messages.js +1 -1
  968. package/dist/i18n/locales/es/messages.js +1 -1
  969. package/dist/i18n/locales/fr/messages.js +1 -1
  970. package/dist/i18n/locales/hu/messages.js +1 -1
  971. package/dist/i18n/locales/it/messages.js +1 -1
  972. package/dist/i18n/locales/nl/messages.js +1 -1
  973. package/dist/i18n/locales/pl/messages.js +1 -1
  974. package/dist/i18n/locales/pt/messages.js +1 -1
  975. package/dist/i18n/locales/ro/messages.js +1 -1
  976. package/dist/i18n/locales/sk/messages.js +1 -1
  977. package/dist/i18n/locales/tr/messages.js +1 -1
  978. package/dist/legacy/domain-cli/gen/configurator-builder.js +30 -16
  979. package/dist/legacy/domain-cli/gen/constant-expressions.js +1 -3
  980. package/dist/legacy/domain-cli/gen/defaults.js +1 -7
  981. package/dist/legacy/domain-cli/gen/implementation.js +7 -11
  982. package/dist/legacy/domain-cli/gen/invariants.js +7 -6
  983. package/dist/legacy/domain-cli/gen/relations.js +1 -1
  984. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  985. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  986. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +87 -68
  987. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  988. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  989. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  990. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +2 -0
  991. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/domain-index.js +17 -15
  992. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.d.ts +1 -1
  993. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.js +4 -0
  994. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +18 -19
  995. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +15 -16
  996. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +22 -23
  997. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +15 -16
  998. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.d.ts +7 -2
  999. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.js +8 -12
  1000. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.d.ts +1 -1
  1001. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.js +1 -1
  1002. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/webhook-builders.js +7 -7
  1003. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  1004. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +4 -3
  1005. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  1006. package/dist/phoenix/cli.js +1 -1
  1007. package/dist/phoenix/commands/build.d.ts +5 -0
  1008. package/dist/phoenix/commands/build.js +1 -1
  1009. package/dist/phoenix/commands/deploy.js +2 -2
  1010. package/dist/phoenix/commands/dev.js +5 -5
  1011. package/dist/phoenix/commands/feedback.d.ts +2 -1
  1012. package/dist/phoenix/commands/feedback.js +1 -1
  1013. package/dist/phoenix/commands/index.d.ts +1 -0
  1014. package/dist/phoenix/commands/index.js +1 -1
  1015. package/dist/phoenix/commands/init.d.ts +4 -4
  1016. package/dist/phoenix/commands/init.js +1 -1
  1017. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  1018. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  1019. package/dist/phoenix/commands/prettier.js +1 -1
  1020. package/dist/phoenix/commands/story-dev.js +2 -2
  1021. package/dist/phoenix/commands/variants.d.ts +35 -0
  1022. package/dist/phoenix/commands/variants.js +1 -0
  1023. package/dist/phoenix/editor-server/commands-router.d.ts +68 -1
  1024. package/dist/phoenix/editor-server/commands-router.js +1 -1
  1025. package/dist/phoenix/editor-server/editor-router.d.ts +65 -0
  1026. package/dist/phoenix/editor-server/editor-server.d.ts +3 -3
  1027. package/dist/phoenix/editor-server/editor-server.js +1 -1
  1028. package/dist/phoenix/editor-server/protocol.d.ts +1 -0
  1029. package/dist/phoenix/editor-server/spec-router.js +1 -1
  1030. package/dist/phoenix/editor-server/trpc.d.ts +3 -0
  1031. package/dist/phoenix/scripts/build-admin.js +1 -1
  1032. package/dist/phoenix/services/application-spec-project-watcher.d.ts +13 -2
  1033. package/dist/phoenix/services/application-spec-project-watcher.js +3 -3
  1034. package/dist/phoenix/services/index.d.ts +5 -0
  1035. package/dist/phoenix/services/index.js +1 -1
  1036. package/dist/phoenix/services/phoenix-application.d.ts +21 -0
  1037. package/dist/phoenix/services/phoenix-application.js +1 -0
  1038. package/dist/phoenix/services/phoenix-store.d.ts +48 -0
  1039. package/dist/phoenix/services/phoenix-store.js +1 -0
  1040. package/dist/phoenix/services/phx-banner-plugin.d.ts +32 -0
  1041. package/dist/phoenix/services/phx-banner-plugin.js +1 -0
  1042. package/dist/phoenix/services/phx-licenses-plugin.d.ts +55 -0
  1043. package/dist/phoenix/services/phx-licenses-plugin.js +8 -0
  1044. package/dist/phoenix/services/phx-variant-previews-plugin.d.ts +9 -0
  1045. package/dist/phoenix/services/phx-variant-previews-plugin.js +1 -0
  1046. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  1047. package/dist/phoenix/services/source-archive.d.ts +1 -0
  1048. package/dist/phoenix/services/source-archive.js +1 -1
  1049. package/dist/phoenix/services/variant-file-session.d.ts +36 -0
  1050. package/dist/phoenix/services/variant-file-session.js +1 -0
  1051. package/dist/phoenix/services/variant-preview-service.d.ts +80 -0
  1052. package/dist/phoenix/services/variant-preview-service.js +1 -0
  1053. package/dist/phoenix/services/vite-config.d.ts +2 -0
  1054. package/dist/phoenix/services/vite-config.js +1 -1
  1055. package/dist/phoenix/utils/git/index.d.ts +1 -0
  1056. package/dist/phoenix/utils/git/index.js +1 -0
  1057. package/dist/phoenix/utils/git/is-inside-git-repository.d.ts +6 -0
  1058. package/dist/phoenix/utils/git/is-inside-git-repository.js +1 -0
  1059. package/dist/phoenix/utils/index.d.ts +2 -0
  1060. package/dist/phoenix/utils/index.js +1 -1
  1061. package/dist/phoenix/utils/read-git-commit.d.ts +14 -0
  1062. package/dist/phoenix/utils/read-git-commit.js +1 -0
  1063. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +2 -2
  1064. package/dist/react-sdk/application-runtime/common-services/analytics/domain-controls-analytics.d.ts +21 -21
  1065. package/dist/react-sdk/application-runtime/hooks/data/use-published-data.d.ts +1 -1
  1066. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +2 -0
  1067. package/dist/react-sdk/application-runtime/hooks/use-domain-application-props.d.ts +5 -2
  1068. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  1069. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.d.ts +1 -1
  1070. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  1071. package/dist/react-sdk/application-runtime/routing/access-service.d.ts +1 -0
  1072. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +69 -40
  1073. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  1074. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +30 -0
  1075. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -0
  1076. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +12 -9
  1077. package/dist/react-sdk/domain-context/index.d.ts +2 -1
  1078. package/dist/react-sdk/domain-context/index.js +1 -1
  1079. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +6 -0
  1080. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  1081. package/dist/react-sdk/domain-controls/hooks/use-angle-dimension.d.ts +1 -1
  1082. package/dist/ui-sdk/common/use-viewport-size.d.ts +4 -1
  1083. package/dist/ui-sdk/common/use-viewport-size.js +1 -1
  1084. package/dist/ui-sdk/components/mobile-controls/index.d.ts +1 -1
  1085. package/dist/ui-sdk/theme/types.d.ts +4 -0
  1086. package/dist/webhook/builders/common.d.ts +8 -0
  1087. package/dist/webhook/builders/webhook-builder.d.ts +1 -1
  1088. package/dist/webhook/builders/webhook-builder.js +1 -1
  1089. package/package.json +5 -8
  1090. package/schema/domain-spec.json +1139 -209
  1091. package/dist/application-spec/generate-application/code/templates/env-ci.d.ts +0 -1
  1092. package/dist/application-spec/generate-application/code/templates/env-ci.js +0 -25
  1093. package/dist/application-spec/generate-application/code/templates/env-example.d.ts +0 -1
  1094. package/dist/application-spec/generate-application/code/templates/env-example.js +0 -90
  1095. package/dist/application-spec/generate-application/code/templates/prettier-ignore.d.ts +0 -1
  1096. package/dist/application-spec/generate-application/code/templates/prettier-ignore.js +0 -6
  1097. package/dist/application-spec/generate-application/code/templates/private-assets-readme.d.ts +0 -1
  1098. package/dist/application-spec/generate-application/code/templates/private-assets-readme.js +0 -24
  1099. package/dist/application-spec/generate-application/code/templates/public-assets-readme.d.ts +0 -1
  1100. package/dist/application-spec/generate-application/code/templates/public-assets-readme.js +0 -24
  1101. package/dist/application-spec/generate-application/code/templates/readme.d.ts +0 -1
  1102. package/dist/application-spec/generate-application/code/templates/readme.js +0 -23
  1103. package/dist/application-spec/generate-application/code/templates/skills/agents-md.d.ts +0 -1
  1104. package/dist/application-spec/generate-application/code/templates/skills/agents-md.js +0 -2
  1105. package/dist/configurator/assistant/index.d.ts +0 -1
  1106. package/dist/configurator/assistant/index.js +0 -1
  1107. package/dist/configurator/assistant/use-assistant-chat.d.ts +0 -20
  1108. package/dist/configurator/assistant/use-assistant-chat.js +0 -1
  1109. package/dist/domain/application/element-registration.js +0 -1
  1110. package/dist/domain/application/handler-registration.js +0 -1
  1111. package/dist/domain/application/resolve-imported-transformers.d.ts +0 -13
  1112. package/dist/domain/application/resolve-imported-transformers.js +0 -1
  1113. package/dist/domain/application/resource-builder.d.ts +0 -13
  1114. package/dist/domain/application/resource-builder.js +0 -1
  1115. package/dist/domain/components/debug-state-component.js +0 -1
  1116. package/dist/domain/components/domain-component-optic.d.ts +0 -76
  1117. package/dist/domain/components/domain-component-optic.js +0 -16
  1118. package/dist/domain/components/drag-state-component.js +0 -1
  1119. package/dist/domain/components/export-state-component.js +0 -1
  1120. package/dist/domain/components/fullscreen-state-component.js +0 -1
  1121. package/dist/domain/components/group-components-by-entity-id-and-name.js +0 -1
  1122. package/dist/domain/components/hover-state-component.js +0 -1
  1123. package/dist/domain/components/index.d.ts +0 -2
  1124. package/dist/domain/components/index.js +0 -1
  1125. package/dist/domain/components/navigation-state-component.js +0 -1
  1126. package/dist/domain/components/selection-state-component.js +0 -1
  1127. package/dist/domain/components/system-component-builder.js +0 -1
  1128. package/dist/domain/components/system-virtual-entity.js +0 -1
  1129. package/dist/domain/components/tool-state-component.js +0 -1
  1130. package/dist/domain/components/view-state-component.js +0 -1
  1131. package/dist/domain/components/viewport-state-component.js +0 -1
  1132. package/dist/domain/core/expression.d.ts +0 -50
  1133. package/dist/domain/core/json-schema.js +0 -1
  1134. package/dist/domain/core/migrations.js +0 -1
  1135. package/dist/domain/core/reflection.js +0 -1
  1136. package/dist/domain/domain-context/recipe-system/recipes.d.ts +0 -57
  1137. package/dist/domain/domain-context/recipe-system/recipes.js +0 -1
  1138. package/dist/domain/expressions/constant-expressions.d.ts +0 -9
  1139. package/dist/domain/expressions/constant-expressions.js +0 -1
  1140. package/dist/domain/expressions/custom-expression.d.ts +0 -13
  1141. package/dist/domain/expressions/custom-expression.js +0 -1
  1142. package/dist/domain/expressions/index.d.ts +0 -1
  1143. package/dist/domain/expressions/index.js +0 -1
  1144. package/dist/domain/invariants/custom-invariants.d.ts +0 -22
  1145. package/dist/domain/invariants/custom-invariants.js +0 -1
  1146. package/dist/domain/invariants/invariants.d.ts +0 -68
  1147. package/dist/domain/invariants/invariants.js +0 -1
  1148. package/dist/domain/invariants/violation-component.js +0 -1
  1149. package/dist/domain/invariants/violation.js +0 -1
  1150. package/dist/domain/relations/all-of-type-relation.d.ts +0 -33
  1151. package/dist/domain/relations/all-of-type-relation.js +0 -1
  1152. package/dist/domain/relations/component-factories.js +0 -1
  1153. package/dist/domain/relations/composed-of.js +0 -1
  1154. package/dist/domain/relations/direct-relation.d.ts +0 -29
  1155. package/dist/domain/relations/indirect-relation.d.ts +0 -81
  1156. package/dist/domain/relations/indirect-relation.js +0 -1
  1157. package/dist/domain/relations/reference-component.js +0 -1
  1158. package/dist/domain/relations/relation-factory.d.ts +0 -19
  1159. package/dist/domain/relations/relation-factory.js +0 -1
  1160. package/dist/domain/relations/relation-implementation.d.ts +0 -8
  1161. package/dist/domain/system-components/angle-indicator.js +0 -1
  1162. package/dist/domain/system-components/attribute-switch.js +0 -1
  1163. package/dist/domain/system-components/autorotate-camera-component.js +0 -1
  1164. package/dist/domain/system-components/basic-sidebar-footer.js +0 -1
  1165. package/dist/domain/system-components/camera-based-hidden-entity-object.js +0 -1
  1166. package/dist/domain/system-components/camera-based-hidden-entity.js +0 -1
  1167. package/dist/domain/system-components/canvas-config.js +0 -1
  1168. package/dist/domain/system-components/canvas-custom-environment.js +0 -1
  1169. package/dist/domain/system-components/canvas-padding.js +0 -1
  1170. package/dist/domain/system-components/canvas-preset-environment.js +0 -1
  1171. package/dist/domain/system-components/child-entity-recipe-hierarchy.js +0 -1
  1172. package/dist/domain/system-components/client-side-image.js +0 -1
  1173. package/dist/domain/system-components/color-value.js +0 -1
  1174. package/dist/domain/system-components/common/angle-indicator-schema.js +0 -1
  1175. package/dist/domain/system-components/common/dimension-indicator-schema.js +0 -1
  1176. package/dist/domain/system-components/custom-price-footer.js +0 -1
  1177. package/dist/domain/system-components/dimension-indicator.js +0 -1
  1178. package/dist/domain/system-components/editable-angle-indicator.js +0 -1
  1179. package/dist/domain/system-components/editable-distance-dimension-indicator.js +0 -1
  1180. package/dist/domain/system-components/editable-offset-indicator.js +0 -1
  1181. package/dist/domain/system-components/editable-size-indicator.js +0 -1
  1182. package/dist/domain/system-components/entity-header.js +0 -1
  1183. package/dist/domain/system-components/exit-tool-mode-fab.js +0 -1
  1184. package/dist/domain/system-components/finalize-action.js +0 -1
  1185. package/dist/domain/system-components/finalize-component.js +0 -1
  1186. package/dist/domain/system-components/fit-selection-orthographic-camera-component.js +0 -1
  1187. package/dist/domain/system-components/fit-selection-perspective-camera-component.js +0 -1
  1188. package/dist/domain/system-components/fixed-header.js +0 -1
  1189. package/dist/domain/system-components/floating-header.js +0 -1
  1190. package/dist/domain/system-components/hidden-header.js +0 -1
  1191. package/dist/domain/system-components/hidden-sidebar-footer.js +0 -1
  1192. package/dist/domain/system-components/horizontal-tabs.js +0 -1
  1193. package/dist/domain/system-components/list-selector-dimension-indicator.js +0 -1
  1194. package/dist/domain/system-components/multilingual-text-value.js +0 -1
  1195. package/dist/domain/system-components/navigation-steps.js +0 -1
  1196. package/dist/domain/system-components/offset-anchors.js +0 -1
  1197. package/dist/domain/system-components/offset-indicator.js +0 -1
  1198. package/dist/domain/system-components/offset.js +0 -1
  1199. package/dist/domain/system-components/other-action.js +0 -1
  1200. package/dist/domain/system-components/property-page.js +0 -1
  1201. package/dist/domain/system-components/read-sidebar-footer.js +0 -1
  1202. package/dist/domain/system-components/replace-entity-recipe-hierarchy.js +0 -1
  1203. package/dist/domain/system-components/rotatable.js +0 -1
  1204. package/dist/domain/system-components/rotation-handle.js +0 -1
  1205. package/dist/domain/system-components/save-template-thumbnail.js +0 -1
  1206. package/dist/domain/system-components/scene-entity-add-fab.js +0 -1
  1207. package/dist/domain/system-components/scene-entity-animation.js +0 -1
  1208. package/dist/domain/system-components/scene-entity-control.js +0 -1
  1209. package/dist/domain/system-components/scene-entity-delete-fab.js +0 -1
  1210. package/dist/domain/system-components/scene-entity-floor-object.js +0 -1
  1211. package/dist/domain/system-components/scene-entity-html-hotspot.js +0 -1
  1212. package/dist/domain/system-components/scene-entity-navigation-hotspot.js +0 -1
  1213. package/dist/domain/system-components/scene-entity-object-html-hotspot.js +0 -1
  1214. package/dist/domain/system-components/scene-entity-select-hotspot.js +0 -1
  1215. package/dist/domain/system-components/scene-entity-wall-object.js +0 -1
  1216. package/dist/domain/system-components/selectable-component.js +0 -1
  1217. package/dist/domain/system-components/sidebar-tabs.js +0 -1
  1218. package/dist/domain/system-components/simple-summary.js +0 -1
  1219. package/dist/domain/system-components/size.js +0 -1
  1220. package/dist/domain/system-components/sketching-draw.js +0 -1
  1221. package/dist/domain/system-components/sketching-edit.js +0 -1
  1222. package/dist/domain/system-components/summary-component.js +0 -1
  1223. package/dist/domain/system-components/text-value.js +0 -1
  1224. package/dist/domain/system-components/tool-controls.js +0 -1
  1225. package/dist/domain/system-components/tool-menu-fab.js +0 -1
  1226. package/dist/domain/system-components/universal-sidebar-footer.js +0 -1
  1227. package/dist/domain/system-components/view-controls.js +0 -1
  1228. package/dist/extras/assistant/AssistantChat.d.ts +0 -6
  1229. package/dist/extras/assistant/AssistantChat.js +0 -1
  1230. package/dist/extras/assistant/index.d.ts +0 -1
  1231. package/dist/extras/assistant/index.js +0 -1
  1232. package/dist/phoenix/application-spec/generate-assistant-prompt.d.ts +0 -12
  1233. package/dist/phoenix/application-spec/generate-assistant-prompt.js +0 -1
  1234. /package/dist/{domain/components/component-reader-types.js → application-spec/core/expressions/relation-expression-params.js} +0 -0
  1235. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.d.ts +0 -0
  1236. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.js +0 -0
  1237. /package/dist/application-spec/{core → enhanced-json}/eval-to-constant.js +0 -0
  1238. /package/dist/domain/{core/enhanced-json-schema.js → application/assistant/assistant-manifest.js} +0 -0
  1239. /package/dist/domain/core/{expression.js → action/action.js} +0 -0
  1240. /package/dist/domain/core/{schema-validator.js → component/component-reader-types.js} +0 -0
  1241. /package/dist/domain/{components → core/component}/legacy-filter.js +0 -0
  1242. /package/dist/domain/{components → core/component}/system-component-filter.js +0 -0
  1243. /package/dist/domain/{components → core/component}/system-virtual-entity.d.ts +0 -0
  1244. /package/dist/domain/{components → core/component}/updates.js +0 -0
  1245. /package/dist/domain/{relations/reference-field.js → core/data-schema/data-cell-value.js} +0 -0
  1246. /package/dist/domain/{relations/relation-implementation.js → core/data-schema/data-schema-array-field.js} +0 -0
  1247. /package/dist/domain/{invariants → core/invariant}/builtin-invariant.js +0 -0
  1248. /package/dist/domain/{invariants → core/invariant}/violation-component.d.ts +0 -0
  1249. /package/dist/domain/core/{alias.d.ts → model/alias.d.ts} +0 -0
  1250. /package/dist/domain/core/{alias.js → model/alias.js} +0 -0
  1251. /package/dist/domain/core/{common-definitions.d.ts → model/common-definitions.d.ts} +0 -0
  1252. /package/dist/domain/core/{common-definitions.js → model/common-definitions.js} +0 -0
  1253. /package/dist/domain/core/{component.js → model/component.js} +0 -0
  1254. /package/dist/domain/core/{model.js → model/model.js} +0 -0
  1255. /package/dist/domain/core/{preset.d.ts → model/preset.d.ts} +0 -0
  1256. /package/dist/domain/core/{preset.js → model/preset.js} +0 -0
  1257. /package/dist/domain/{relations → core/relation}/direct-relation.js +0 -0
  1258. /package/dist/domain/core/{schema-validator-ajv.d.ts → schema/create-ajv-schema-validator.d.ts} +0 -0
  1259. /package/dist/domain/core/{schema-validator-ajv.js → schema/create-ajv-schema-validator.js} +0 -0
  1260. /package/dist/domain/core/{schema-validator-csp.d.ts → schema/create-csp-schema-validator.d.ts} +0 -0
  1261. /package/dist/domain/core/{schema-validator-csp.js → schema/create-csp-schema-validator.js} +0 -0
  1262. /package/dist/domain/core/{enhanced-json-schema.d.ts → schema/enhanced-json-schema.d.ts} +0 -0
  1263. /package/dist/domain/core/{json-schema.d.ts → schema/extended-schema-validator.d.ts} +0 -0
  1264. /package/dist/domain/core/{schema-validator.d.ts → schema/schema-validator.d.ts} +0 -0
  1265. /package/dist/domain/core/{state.js → state/state.js} +0 -0
  1266. /package/dist/domain/{expressions → domain-runtime/spec}/memoize-expression.js +0 -0
  1267. /package/dist/domain/{expressions → domain-runtime/spec}/prepare-domain-expressions.js +0 -0
  1268. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity-object.d.ts +0 -0
  1269. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity.d.ts +0 -0
  1270. /package/dist/domain/{system-components → extensions}/canvas-custom-environment.d.ts +0 -0
  1271. /package/dist/domain/{system-components → extensions}/color-value.d.ts +0 -0
  1272. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.d.ts +0 -0
  1273. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.js +0 -0
  1274. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.d.ts +0 -0
  1275. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.js +0 -0
  1276. /package/dist/domain/{system-components → extensions}/custom-price-footer.d.ts +0 -0
  1277. /package/dist/domain/{system-components → extensions}/finalize-component.d.ts +0 -0
  1278. /package/dist/domain/{system-components → extensions}/fit-selection-orthographic-camera-component.d.ts +0 -0
  1279. /package/dist/domain/{system-components → extensions}/fit-selection-perspective-camera-component.d.ts +0 -0
  1280. /package/dist/domain/{system-components → extensions}/multilingual-text-value.d.ts +0 -0
  1281. /package/dist/domain/{system-components → extensions}/rotatable.d.ts +0 -0
  1282. /package/dist/domain/{system-components → extensions}/scene-entity-animation.d.ts +0 -0
  1283. /package/dist/domain/{system-components → extensions}/scene-entity-control.d.ts +0 -0
  1284. /package/dist/domain/{system-components → extensions}/scene-entity-floor-object.d.ts +0 -0
  1285. /package/dist/domain/{system-components → extensions}/scene-entity-wall-object.d.ts +0 -0
  1286. /package/dist/domain/{system-components → extensions}/selectable-component.d.ts +0 -0
  1287. /package/dist/domain/{system-components → extensions}/simple-summary.d.ts +0 -0
  1288. /package/dist/domain/{system-components → extensions}/summary-component.d.ts +0 -0
  1289. /package/dist/domain/{system-components → extensions}/text-value.d.ts +0 -0
  1290. /package/dist/domain/{system-components → extensions}/tool-controls.d.ts +0 -0
  1291. /package/dist/domain/{system-components → extensions}/view-controls.d.ts +0 -0
@@ -0,0 +1,114 @@
1
+ # Layout Slots
2
+
3
+ A project layout registered as `ConfiguratorLayout` builds its UI from its own components and from the pieces of the built-in layout it wants to keep. Those pieces are the members of `LayoutSlots`, from `@salsita-ai/sdk/configurator`. This page lists every member: what it shows, what in the spec or the configurator's state feeds it, what it renders when the spec configures nothing for it, and what it does in read mode. [Configurator Interface → Loaded Configuration UI](?path=/docs/phoenix-configurator-interface--docs#loaded-configuration-ui) says what a project layout has to mount, and its [Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout) list the hooks for a layout that draws its own UI.
4
+
5
+ - [How the slots behave](#how-the-slots-behave)
6
+ - [Canvas and services](#canvas-and-services)
7
+ - [Desktop sidebar](#desktop-sidebar)
8
+ - [Header, toolbar and controls](#header-toolbar-and-controls)
9
+ - [Banners and branding](#banners-and-branding)
10
+ - [Page footer](#page-footer)
11
+ - [Phone layout](#phone-layout)
12
+ - [Others](#others)
13
+
14
+ ## How the slots behave
15
+
16
+ ```tsx
17
+ import { LayoutSlots } from '@salsita-ai/sdk/configurator'
18
+
19
+ // Part of a ConfiguratorLayout: the built-in toolbar, placed by the layout in the bottom right corner
20
+ export const Toolbar = () => (
21
+ <div style={{ position: 'absolute', insetBlockEnd: 24, insetInlineEnd: 24 }}>
22
+ <LayoutSlots.DesktopToolbar />
23
+ </div>
24
+ )
25
+ ```
26
+
27
+ - A slot takes no props unless its row names them, and reads what it shows from the spec and the configurator's state. It renders inside the configurator only, under a `ConfiguratorLayout`.
28
+ - A slot brings its own look but not its place: it adds no padding or scrolling around itself, so the layout puts it in a container. Two members differ: `SharedCanvas` fills its nearest positioned ancestor, and `DesktopSidebar` brings the sidebar's spacing and scrolling with it.
29
+ - Read mode means `useAccessService().accessInfo.viewMode` is `true`: a configuration shared for viewing is open, or the host sets the `readonly` property. "No change" in the read-mode column means the slot renders the same for a viewer, so the layout decides whether a viewer sees it.
30
+ - `Desktop*` and `Mobile*` members are twins that differ in size and arrangement; [Phone layout](#phone-layout) lists the phone ones. The container's width, not the window's, decides which one fits: `useActiveViewports()` from `@salsita-ai/sdk/react` returns the breakpoints the container satisfies.
31
+
32
+ ## Canvas and services
33
+
34
+ | Member | Shows | Fed by | With nothing configured | Read mode |
35
+ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ----------------------- | --------- |
36
+ | `SharedCanvas` | The 3D scene, in a container that is `position: absolute; inset: 0` with the scene's background colour. The scene is hidden for a moment while the preview expands or collapses. | The scene of the spec, through `Canvas` | Always renders | No change |
37
+ | `Canvas` | The WebGL canvas alone, or `GPUIssuePage` when the browser has no WebGL or no GPU acceleration. It reports the scene-assets loading phase the app loader waits for. | The scene, the canvas settings and the `CanvasLoader` element | Always renders | No change |
38
+ | `Services` | Nothing visible: it mounts `InvariantViolations` and `SideEffects`, which show the messages of `useConfiguratorMessages()` as snackbars | The configurator's state | Always mounted | No change |
39
+ | `InvariantViolations` | When a change is rejected, a snackbar for each violation of the rejected state, including notices and warnings already present, as `<entity id>: <message>` (a `notice` as info, a `warning` as warning, `fixable` and `fatal` as error), and "Oops, something went wrong" for an error thrown while the state was validated | The spec's invariants | Nothing | No change |
40
+ | `SideEffects` | An info snackbar for each committed update that carries a hint | The hints of committed updates | Nothing | No change |
41
+ | `DesktopSnackbarsRoot` | The element the snackbars are rendered into: a stack anchored to its bottom edge, at most 320 pixels wide | Every snackbar the configurator raises | An empty element | No change |
42
+
43
+ - Mount `SharedCanvas`, not `Canvas`: `Canvas` suspends while it probes the GPU on its first mount, and `SharedCanvas` holds the boundary that catches it. Without either, the app loader stays on screen unless the project sets `appLoader: legacy`.
44
+ - `SharedCanvas` fills its nearest positioned ancestor and paints an opaque background, so the layout positions its own UI after it in the markup.
45
+ - Snackbars are raised by `Services`, and also by the built-in finalize and footer actions when their handler fails and when saving the configuration fails. A layout that shows violations, side-effect hints and validation errors its own way calls `phx.frontend.useConfiguratorMessages(onMessage)` instead of mounting `Services`, see [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout); the other snackbars still need a root. They render into the snackbar root the layout mounts; with no root mounted they render into the page's `document.body`, outside the configurator. The desktop root is a zero-height element the snackbars stack upwards from, so the layout places it where their bottom edge belongs. The phone root leaves them fixed to the viewport, see `MobileSnackbarsRoot`.
46
+
47
+ ## Desktop sidebar
48
+
49
+ | Member | Shows | Fed by | With nothing configured | Read mode |
50
+ | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | `DesktopSidebar` | The whole built-in desktop sidebar: tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel. Props: `width`, and `side` (`'start'` or `'end'`, typed `DesktopSidebarSide`; `DesktopSidebarProps` types both) | The members below | As its parts | As its parts. In fullscreen it stays in place, transparent and inert |
52
+ | `DesktopSidebarTabs` | Tabs that switch the navigation state | The `sidebarTabs` components of the selected entity; the `horizontalTabs` component is not shown here | Nothing; also nothing while the summary is shown | No change |
53
+ | `useSidebarTabs()` | A hook, `{ tabs, activeTab, onChange }`: each tab is `{ label, icon, value, isActive }`, `activeTab` is the active tab's value or `'none'`, and `onChange(value)` switches to that tab's first navigation state | As `DesktopSidebarTabs` | `tabs` is empty | No change |
54
+ | `DesktopSidebarBackButton` | A "Back" button. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxDesktopSidebarBackButton`; the application config's `sidebarBackIcon` takes precedence over both | The sidebar's way back: a navigation state to pop, a stacked property page, or a selected entity other than the root, unless the application config sets `showSelectionBackButton` to `false` or sets `ignoreSelectionInSidebar` | Nothing while there is no way back | No change |
55
+ | `DesktopSidebarContent` | The property pages of the selected entity with its entity header, a stacked page opened from them, or the summary page while the summary is shown. With the application config's `ignoreSelectionInSidebar` set, every `propertyPage` of every entity shows under the root, whatever is selected | `propertyPage`, `entityHeader`, `simpleSummary` and `customSummaryPage` components, and `ignoreSelectionInSidebar` | Nothing | **No change: the controls stay editable.** Limit them with `$filter.modes`, or render something else in read mode |
56
+ | `useSidebarContent(options?)` | A hook, `{ content, goBack, hasMiniSidebar, hasSplitSidebar }`: `content` is what `DesktopSidebarContent` shows, `goBack` is the back action or `null`. `options` sets the `HeaderContainer` and `BodyContainer` components the content is wrapped in | As `DesktopSidebarContent` | `content` is empty | No change |
57
+ | `EntityHeader` | An entity's title, subtitle, description and thumbnail, with its primary and secondary buttons, such as delete or replace. Props, typed `EntityHeaderProps`: `entityId` and `headerComponent` | The texts and thumbnail from the entity's `detail` component (the title falls back to the entity type); the buttons from the `entityHeader` component passed in | — | No change |
58
+ | `DesktopSidebarFooter` | The price and the actions | `basicSidebarFooter`, `universalSidebarFooter`, `readSidebarFooter`, `hiddenSidebarFooter` or `customSidebarFooter`. The basic footer offers a `finalizeButton`, else a button for a `finalizePage`, else a disabled button; the universal footer offers the `finalizeAction` and `otherAction` components | The basic footer: the price and a finalize button. With a `navigationSteps` component of two or more steps, previous and next step buttons and the finalize button only on the last step; with a summary and no steps, a **Summary** button until the summary is shown; in a preset embed, **Save Template** instead of finalize | With nothing configured, the read footer: price only. The basic footer hides its buttons. **The universal footer still shows its finalize and other actions to a viewer**; limit them with `$filter.modes` |
59
+
60
+ A sidebar footer with `universalSidebarFooter` does not check read mode, although the component's own description says its buttons are hidden then. A viewer of a shared configuration sees its actions. The `custom` footer renders its children unchanged as well.
61
+
62
+ ## Header, toolbar and controls
63
+
64
+ | Member | Shows | Fed by | With nothing configured | Read mode |
65
+ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
66
+ | `DesktopHeader` | The floating, fixed or custom header | The first `floatingHeader`, `fixedHeader`, `hiddenHeader` or `customHeader` component | The floating header. Nothing with `hiddenHeader` or in fullscreen | The floating header shows the back button instead of the step navigation; the fixed header hides its horizontal tabs |
67
+ | `DesktopToolbar` | The toolbar's button groups | The `toolbar` component's `desktop` list, or else a default set | Default buttons: fullscreen and camera reset; language with more than one locale; share unless sharing is disabled; measurements with more than one dimension or with `indicatorSwitch` on (the default), and help in that group when the project registers a `ToolbarHelp` element; undo and redo; the assistant when the spec has an `assistant` section. In fullscreen, only the exit button | The default set drops share and undo/redo; a configured `toolbar` is shown unchanged |
68
+ | `DesktopViewControls` | A toggle between view states | The root entity's `viewControls` component and the active view state | Nothing without the component or without an active view state | No change |
69
+ | `DesktopToolControls` | A vertical group of tool buttons that switch the tool state | The root entity's `toolControls` component | Nothing without the component | No change |
70
+ | `ToolControls` | The same component as `DesktopToolControls` and `MobileToolControls` | As `DesktopToolControls` | Nothing without the component | No change |
71
+ | `DesktopCallToAction` | **The button that leaves a tool mode, not the finalize button.** Clicking it switches to the component's `exitTo` tool state | An `exitToolModeFab` component, usually filtered to the tool states it belongs to | Nothing. It throws when more than one is active | Nothing |
72
+
73
+ ## Banners and branding
74
+
75
+ | Member | Shows | Fed by | With nothing configured | Read mode |
76
+ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
77
+ | `DesktopReadonlyBanner` | "You're viewing a read-only configuration" with an **Edit configuration** button that opens `CloneToEditDialog`. Props: the MUI `Alert` props and `icon`, also settable in the theme as `PhxDesktopReadonlyBanner` | `useIsCloningAllowed()`; its icon from the application config's `readonlyBannerIcon` | Nothing unless cloning is allowed | **It does not check read mode.** The layout renders it only in read mode, as the built-in layout does while not in fullscreen |
78
+ | `MobileReadonlyBanner` | An **Edit** button that opens `CloneToEditDialog`. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxMobileReadonlyBanner` | As `DesktopReadonlyBanner` | Nothing unless cloning is allowed | As `DesktopReadonlyBanner` |
79
+ | `CloneToEditDialog` | The "Edit configuration" dialog that creates an editable copy of the configuration and opens it. Props, typed `CloneToEditDialogProps`: `open` and `onClose` | The open configuration | — | — |
80
+ | `useIsCloningAllowed()` | A hook, `boolean`: `true` when the application config sets `shareCloneToEdit` and the session's role may create configurations | The application config and the session | `false` | Does not check read mode |
81
+ | `DesktopPoweredBy` / `MobilePoweredBy` | The "Powered by Salsita" mark, a link | Its props `visible`, `variant` (`'black'` or `'white'`), `href`, `title`, `slots` and `slotProps`. All but `href` and `title` are also settable in the theme as `PhxDesktopBrandingPoweredBy` / `PhxMobileBrandingPoweredBy` | The mark | No change |
82
+
83
+ ## Page footer
84
+
85
+ | Member | Shows | Fed by | With nothing configured | Read mode |
86
+ | -------------------------------- | ------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------- | --------- |
87
+ | `DesktopFooter` / `MobileFooter` | A footer below the whole layout, not the sidebar footer | The project's `LayoutFooter` element, registered with `phx.frontend.createLayoutFooter` | Nothing | No change |
88
+
89
+ ## Phone layout
90
+
91
+ The phone twins read the same spec as their desktop members.
92
+
93
+ | Member | Shows | Differences from the desktop member |
94
+ | ------------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
95
+ | `MobileHeader` | The header | The floating and fixed headers show a back button and the branding; the back button is hidden with steps and in read mode |
96
+ | `MobileToolbar` | The toolbar | Reads the `toolbar` component's `mobile` list, rendered in reverse order. The default set has undo and redo, camera reset, fullscreen and the assistant, and drops undo and redo in read mode |
97
+ | `MobileHamburgerMenu` | A menu button that opens the remaining actions in a dialog | Reads the `toolbar` component's `mobileMenu` list, or else share, measurements, language and help under the same conditions as the desktop toolbar; share is dropped in read mode. Nothing when the list is empty. Props: `icon` and `closeIcon`, also settable in the theme as `PhxMobileHamburgerMenu`; the application config's `hamburgerIcon` and `toolbarCloseIcon` take precedence |
98
+ | `MobileTabs` | Scrollable tabs that switch the navigation state | Reads the selected entity's `sidebarTabs` or the `horizontalTabs` component, and throws when both are active or when more than one of either is active. Nothing without tabs or while the summary is shown. Unlike the desktop fixed header, it keeps horizontal tabs in read mode |
99
+ | `MobileViewControls` | A toolbar button with the active view's icon that opens the list of views | Nothing without the component, an active view state or that view's icon |
100
+ | `MobileToolControls` | The tool buttons | Same component as `DesktopToolControls` |
101
+ | `MobileCallToAction` | The button that leaves a tool mode | Same as `DesktopCallToAction` |
102
+ | `MobileSidebarBackButton` | A "Back" button | Same as `DesktopSidebarBackButton`, smaller, with `sidebarBackIcon` taking precedence the same way; its theme name is `PhxMobileSidebarBackButton` |
103
+ | `MobileSidebarContent` | The property pages | Same content as `DesktopSidebarContent` |
104
+ | `MobileSidebarFooter` | The price and the actions | Same as `DesktopSidebarFooter`; the universal footer adds the step label and progress |
105
+ | `MobileSnackbarsRoot` | The element the snackbars are rendered into | It does not position the snackbars: they keep notistack's `position: fixed` and sit at the viewport's edge wherever the root is. The built-in phone layout positions them with its own styles; a project layout styles `notistackSnackbarClasses.container` from `@salsita-ai/sdk/ui` |
106
+
107
+ ## Others
108
+
109
+ | Member | Shows |
110
+ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
111
+ | `GPUIssuePage` | `WebGLNotSupported` or `GPUAccelerationDisabled`, chosen by its `issue` prop. `Canvas` renders it; a layout does not need it |
112
+ | `GPUIssue` | The two values of that prop, `'no-gpu'` and `'no-acceleration'`, as a constant and a type |
113
+ | `WebGLNotSupported` | A full-page message that WebGL is not supported, with a **Go To Homepage** button that returns to the configurator's start page |
114
+ | `GPUAccelerationDisabled` | A full-page message that GPU acceleration is disabled, with the same button |
@@ -116,28 +116,9 @@ After running `pnpm lingui:compile`, your custom translations will override the
116
116
  - Adapt translations for your target audience
117
117
  - Maintain consistency with your existing product language
118
118
 
119
- **Frontend integration**:
120
-
121
- ```typescript
122
- import { configuratorBuilder } from 'project-domain'
123
- import { createI18n } from 'project-i18n'
124
-
125
- const i18n = createI18n()
126
-
127
- export const config = configuratorBuilder
128
- .withComponentOptics(customComponents)
129
- .withPresets(presets)
130
- .withI18n(i18n) // Register i18n service with configurator
131
- .buildConfig({
132
- features: {
133
- availableLocales: ['en', 'de', 'cs'],
134
- },
135
- services: {
136
- logger,
137
- },
138
- // ... other configuration
139
- })
140
- ```
119
+ **Frontend integration**: the generated `.phoenix` code creates the i18n service from `.phoenix/i18n.ts` and registers
120
+ it with the application, so there is nothing to wire by hand. The languages come from `availableLocales` in
121
+ `spec/application.yaml`.
141
122
 
142
123
  ## Working with YAML Domain Specifications
143
124
 
@@ -29,10 +29,11 @@ pnpm phoenix dev
29
29
 
30
30
  1. Refuses to run when a `spec/` folder already exists, so it never touches an existing project.
31
31
  2. Writes a `package.json` that depends on the CLI's SDK version when the folder has none. An existing `package.json` is kept, as long as it depends on the SDK.
32
- 3. Writes a starter spec (`spec/application.yaml`, `spec/configurator.yaml`) with one resizable, recolorable box, and switches `package.json` to the application-spec pipeline.
33
- 4. Writes `pnpm-workspace.yaml` with the pnpm settings the first install needs: the build scripts of the SDK's dependencies are allowed or denied, and `@salsita-ai/*` packages are exempt from pnpm's minimum release age. A project inside a pnpm monorepo gets no file; the workspace root holds these settings.
32
+ 3. Adds the `dev`, `build`, `deploy`, `check` and `fix` scripts to `package.json` (see [Project Scripts](#project-scripts)). A script the project already has under one of those names keeps its command.
33
+ 4. Writes a starter spec (`spec/application.yaml`, `spec/configurator.yaml`) with one resizable, recolorable box, and switches `package.json` to the application-spec pipeline.
34
+ 5. Writes `pnpm-workspace.yaml` with the pnpm settings the first install needs: the build scripts of the SDK's dependencies are allowed or denied, and `@salsita-ai/*` packages are exempt from pnpm's minimum release age. A project inside a pnpm monorepo gets no file; the workspace root holds these settings.
34
35
 
35
- It asks nothing, writes no `.env` and contacts no server. `phoenix sync` then generates every other project file, including `AGENTS.md` and the agent skills described in [Project Structure](?path=/docs/phoenix-project-structure--docs).
36
+ It asks nothing, writes no `.env` and contacts no server. `phoenix sync` then generates every other project file, including the agent skills described in [Project Structure](?path=/docs/phoenix-project-structure--docs). The `.gitignore` is among them only when the folder is inside a git repository, so run `git init` before the first sync, or sync again after it.
36
37
 
37
38
  ### Which project `phoenix dev` develops in
38
39
 
@@ -114,8 +115,6 @@ For quick local development without a server, use:
114
115
 
115
116
  ```bash
116
117
  phoenix dev --persistence local-storage
117
- # or use the shortcut script:
118
- pnpm dev:local
119
118
  ```
120
119
 
121
120
  **Important:** The server must be running before `deployment:prepare-local` when using `server` persistence mode.
@@ -158,27 +157,19 @@ spec/application.yaml → Server prepares environment → CLI writes .env.genera
158
157
 
159
158
  ### Project Scripts
160
159
 
161
- When you run `phoenix sync` or `phoenix clean`, the CLI auto-generates standardized scripts in your `package.json`. These scripts are enforced — they cannot be overridden by custom scripts with the same name.
162
-
163
- | Script | Command | Purpose |
164
- | -------------------------- | ------------------------------------------------------- | --------------------------------------------- |
165
- | `dev` | `phoenix dev` | Dev server with hot reload |
166
- | `dev:local` | `phoenix dev --persistence local-storage` | Dev without server dependency |
167
- | `build` | `phoenix build` | Production build |
168
- | `clean` | `phoenix clean` | Clean all artifacts and rebuild |
169
- | `sync` | `phoenix sync` | Sync generated code and dependencies |
170
- | `check` | `phoenix check` | Run all checks (TypeScript, ESLint, Prettier) |
171
- | `ts:check` | `phoenix check` | Alias for `check` |
172
- | `fix` | `phoenix fix` | Auto-fix lint and formatting issues |
173
- | `lint:fix` | `eslint src --fix` | ESLint fix only |
174
- | `prettify:fix` | `prettier --write .` | Prettier fix only |
175
- | `verify:fix` | `phoenix build && phoenix fix && phoenix check --types` | Build, fix, then type-check |
176
- | `test` | `vitest --passWithNoTests run` | Run tests |
177
- | `test:watch` | `vitest` | Tests in watch mode |
178
- | `prepare:ci` | `phoenix prepare:ci` | CI environment setup |
179
- | `deployment:prepare-local` | `phoenix deployment:prepare-local` | Prepare local environment |
180
-
181
- Custom scripts you add to `package.json` are preserved during sync. Deprecated scripts (like `environment:create`, `deployment:register`) are automatically removed.
160
+ `phoenix init` writes five scripts into `package.json`, each a shortcut for the CLI command of the same name:
161
+
162
+ | Script | Command | Purpose |
163
+ | -------- | ---------------- | --------------------------------------------- |
164
+ | `dev` | `phoenix dev` | Dev server with hot reload |
165
+ | `build` | `phoenix build` | Production build |
166
+ | `deploy` | `phoenix deploy` | Build and publish the project |
167
+ | `check` | `phoenix check` | Run all checks (TypeScript, ESLint, Prettier) |
168
+ | `fix` | `phoenix fix` | Auto-fix lint and formatting issues |
169
+
170
+ The scripts are yours: change, rename or delete them, and add your own. `phoenix sync` and `phoenix clean` leave the `scripts` section of `package.json` as it is, so they add no script, restore none you removed and remove none. Every CLI command also runs without a script, as `pnpm phoenix <command>`.
171
+
172
+ A project may have other scripts than these five, such as `sync`, `test` or `verify:fix`; they are its own and stay as they are. All of this holds for a project on the application-spec pipeline, which `phoenix init` selects. In a project on the legacy pipeline (see [Current and legacy project tooling](#current-and-legacy-project-tooling)), `phoenix sync` and `phoenix clean` write their own set of scripts into `package.json` on every run, over scripts of the same name.
182
173
 
183
174
  ### Server-Generated Variables
184
175
 
@@ -231,7 +222,7 @@ A build pipeline that receives the source archive of a [`phoenix deploy`](#phoen
231
222
  - it refuses an archive over 200 MB, one that extracts to more than 1 GB, or one with more than 100,000 files;
232
223
  - it refuses links, special files, absolute paths, paths that leave the folder, names with control characters, and entries that repeat or collide with an earlier one;
233
224
  - it refuses an archive it cannot read to the end, such as a truncated upload;
234
- - it extracts only project files, the same set `phoenix deploy` packs, and reports the entries it left out.
225
+ - it extracts only project files and reports the entries it left out, including the optional `conversation.log` that deploy keeps in the private archive for review.
235
226
 
236
227
  `<folder>` must be new or empty. When the command refuses an archive, it removes the folder, so a partly extracted project is never built.
237
228
 
@@ -257,11 +248,14 @@ The frontend reads these at runtime from the generated config:
257
248
  | Variable | Required | Default |
258
249
  | -------------------------------- | -------- | ----------------------- |
259
250
  | `IS_DEV` | No | `false` (`true` in dev) |
251
+ | `ASSISTANT_STRICT_THREADS` | No | `false` |
260
252
  | `AWS_S3_PUBLIC_RESOURCES_BUCKET` | Yes | — |
261
253
  | `AWS_S3_RESOURCES_REGION` | Yes | — |
262
254
  | `DEPLOYMENT_RESOURCES_PATH` | No | `deployment-resources` |
263
255
  | Clerk vars (if enabled) | Yes | — |
264
256
 
257
+ A development environment keeps the AI assistant's conversation when the assistant setup (manifest, instructions, AI settings) changes, and applies the new setup from the next message on. Set `ASSISTANT_STRICT_THREADS=true` in `.env` to try the behavior of every other environment locally, where a changed setup locks the conversation and the next message continues it in a summarized one. The variable has no effect outside a development environment.
258
+
265
259
  ### Precedence
266
260
 
267
261
  Environment variables are resolved in this order (highest to lowest priority):
@@ -283,20 +277,20 @@ The Phoenix CLI auto-generates config files that read these variables:
283
277
 
284
278
  Starts the full development environment: Vite dev server, development webhook tunnel, domain-cli watcher, and editor WebSocket server.
285
279
 
286
- | Flag | Env Variable | Default | Description |
287
- | ---------------------- | ------------------ | -------------------- | ------------------------------------------------------------------------------- |
288
- | `--workspace` | — | from `.phoenix.json` | Override workspace mode |
289
- | `--editor` | `ENABLE_EDITOR` | `true` | Enable editor file generation |
290
- | `--editorWsPort` | `EDITOR_WS_PORT` | `3020` | Editor WebSocket port |
291
- | `--debug` | `DEBUG` | `false` | Verbose logging |
292
- | `--projectSlug` | `PROJECT_SLUG` | `local` | Project slug |
293
- | `--environmentSlug` | `ENVIRONMENT_SLUG` | package.json name | Environment slug |
294
- | `--withLingui` | `WITH_LINGUI` | `false` | Enable i18n extraction/compilation and watch i18n sources during dev |
295
- | `--persistence` | `PERSISTENCE_MODE` | `server` | Persistence mode |
296
- | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
297
- | `--serverUrl` | `SERVER_URL` | the region's server | Phoenix server URL |
298
- | `--region` | `PHOENIX_REGION` | `eu` | Region of the signed-in workspace, used when no server URL is set |
299
- | `--skipUpload` / `-su` | `SKIP_UPLOAD` | `false` | Skip the S3 asset upload when the development deployment is prepared at startup |
280
+ | Flag | Env Variable | Default | Description |
281
+ | ----------------------- | ------------------ | -------------------- | ------------------------------------------------------------------------------- |
282
+ | `--workspace` | — | from `.phoenix.json` | Override workspace mode |
283
+ | `--editor` | `ENABLE_EDITOR` | `true` | Enable editor file generation |
284
+ | `--editorWsPort` | `EDITOR_WS_PORT` | `3020` | Editor WebSocket port |
285
+ | `--debug` | `DEBUG` | `false` | Verbose logging |
286
+ | `--projectSlug` | `PROJECT_SLUG` | `local` | Project slug |
287
+ | `--environmentSlug` | `ENVIRONMENT_SLUG` | package.json name | Environment slug |
288
+ | `--withLingui` | `WITH_LINGUI` | `false` | Enable i18n extraction/compilation and watch i18n sources during dev |
289
+ | `--persistence` | `PERSISTENCE_MODE` | `server` | Persistence mode |
290
+ | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
291
+ | `--serverUrl` | `SERVER_URL` | the region's server | Phoenix server URL |
292
+ | `--region` | `PHOENIX_REGION` | `eu` | Region of the signed-in workspace, used when no server URL is set |
293
+ | `--skipUpload` / `--su` | `SKIP_UPLOAD` | `false` | Skip the S3 asset upload when the development deployment is prepared at startup |
300
294
 
301
295
  In `server` persistence mode the project comes from `--projectSlug`, `PROJECT_SLUG` or `project` in the spec, and the credential from `DEVELOPMENT_KEY` or the `phoenix login` sign-in; see [Starting a New Project](#starting-a-new-project). When signed in, the environment is always your own development environment and `--environmentSlug` is ignored.
302
296
 
@@ -327,15 +321,49 @@ as restart-required unless their feature documentation explicitly states live-up
327
321
 
328
322
  Builds the project for production deployment.
329
323
 
330
- | Flag | Env Variable | Default | Description |
331
- | ---------------- | --------------- | ------- | ------------------------------ |
332
- | `--onlyFrontend` | — | — | Build only the frontend bundle |
333
- | `--onlyWebhook` | — | — | Build only webhooks |
334
- | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
335
- | `--debug` | `DEBUG` | `false` | Verbose logging |
324
+ | Flag | Env Variable | Default | Description |
325
+ | ----------------- | --------------- | ------- | --------------------------------------------------- |
326
+ | `--onlyFrontend` | — | — | Build only the frontend bundle |
327
+ | `--onlyWebhook` | — | — | Build only webhooks |
328
+ | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
329
+ | `--banner <text>` | — | — | Replaces the application line of the banner comment |
330
+ | `--debug` | `DEBUG` | `false` | Verbose logging |
336
331
 
337
332
  The build target can also be controlled via `BUILD_TARGET` env (`frontend`, `webhook`, or `both`).
338
333
 
334
+ #### Banner comment
335
+
336
+ Every JavaScript file the frontend build emits (the configurator, admin and embedded bundles, and the editor's entry and lazy chunks) starts with a comment that identifies the build, so `head -n 5 <bundle.js>` tells two deployed bundles of nearly the same size apart:
337
+
338
+ ```js
339
+ /*!
340
+ * App version: 1.2.3; Commit: 9fd79ce0f4c1a2b3d4e5f60718293a4b5c6d7e8f
341
+ * Built with Salsita SDK 3.4.0. Copyright (c) Salsita s.r.o. All rights reserved.
342
+ * Third-party licences: THIRD-PARTY-LICENSES.txt
343
+ */
344
+ ```
345
+
346
+ The first line is the application's. By default it holds `applicationVersion` from `spec/application.yaml` and the commit checked out in the project, read with `git rev-parse HEAD`. Where git cannot read a commit for the project (no checkout, git missing or refusing the repository, or the project's `package.json` is not tracked by the repository around it), the line holds the version only and `--debug` logs it; this is the case for a platform build from uploaded sources.
347
+
348
+ `--banner <text>` replaces that line with your own text, for example when CI knows a release name the spec does not:
349
+
350
+ ```sh
351
+ pnpm phoenix build --banner "Release: ${RELEASE_NAME}; Commit: ${COMMIT_SHA}"
352
+ ```
353
+
354
+ The line is **public**: it ships in every bundle. The default publishes the application version and the commit SHA; pass `--banner ""` to leave the line out, and never put a secret or internal detail in your own text. The text is written as comment text only. Each line of a multi-line value (or each repeated `--banner`) becomes its own comment line and `*/` is written as `*\/`. There is no environment-variable fallback, and the option has no effect on webhook output or with `--onlyWebhook`. Lazy chunks keep their hashed file name when only the banner text changes.
355
+
356
+ The banner and the licences file below are produced by the application-spec pipeline; the legacy pipeline's build ignores `--banner`.
357
+
358
+ #### Third-party licences
359
+
360
+ The frontend build writes `.phoenix/dist/frontend/THIRD-PARTY-LICENSES.txt` next to the bundles and the banner comment points to it. It lists every third-party package whose code or styles are in any of the frontend bundles, once each, sorted by name and version, with the package's version, the licence declared in its `package.json` and the text of its licence file (`LICENSE*`, `LICENCE*` or `COPYING*`). A package that ships no licence file is listed without the text. Your project's own source is not listed.
361
+
362
+ Deploy the file together with the bundles, so the notices those licences ask for travel with every copy. The build lists licences; it does not judge whether a licence suits your product. Two kinds of package are not in the list, so add their notices yourself when you use them:
363
+
364
+ - packages used only inside a web worker, which are bundled separately;
365
+ - packages a stylesheet reaches on its own, through CSS `@import`, Sass `@use` or `url()`. A stylesheet imported from JavaScript or TypeScript (`import 'some-font/index.css'`) is listed.
366
+
339
367
  #### Bundle-size budgets
340
368
 
341
369
  Application-spec projects can set gzip-size limits for the standalone configurator and webhook bundles. Add the optional `budgets` section to a spec YAML file:
@@ -362,6 +390,8 @@ Removes all build artifacts (`.phoenix/`, `node_modules/`), reinstalls dependenc
362
390
 
363
391
  Syncs project dependencies and regenerates all project files without building Vite bundles or webhooks. Faster than `clean` — use this for routine updates after changing spec files or upgrading dependencies. Before installing, it adds the pnpm settings `phoenix init` writes to a standalone project's `pnpm-workspace.yaml` when they are missing; values you set there are kept.
364
392
 
393
+ With the application-spec pipeline (see [Current and legacy project tooling](#current-and-legacy-project-tooling)), `.gitignore` is written only when the project is inside a git repository: the project folder or one of its parent folders holds a `.git` entry. Outside a repository, sync neither creates the file nor changes one that is already there, and the same holds for `dev`, `build` and `clean`. Run `git init` before the first sync, or sync again after it, to get the file. The legacy pipeline writes `.gitignore` in every project.
394
+
365
395
  | Flag | Env Variable | Default | Description |
366
396
  | ---------------- | --------------- | ------- | ------------------------------ |
367
397
  | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
@@ -457,6 +487,85 @@ phoenix screenshot -o preview.png -w 1920 --height 1080
457
487
  | `--height` | `1080` | Image height in pixels |
458
488
  | `--format` / `-f` | `png` | Image format (`png` or `jpeg`) |
459
489
 
490
+ ### `phoenix variants`
491
+
492
+ Show several options over the configurator and wait for your pick. It is built for coding agents: when a decision is a matter of taste, such as the edge of a table top, how glossy a finish is or where a control sits, the agent writes one file per option, you choose in the browser, and the command hands your answer back to the agent.
493
+
494
+ ```bash
495
+ phoenix variants .phoenix/variants/table-edge --title 'Which edge suits the table?' --description 'Only the edge of the top differs.'
496
+ ```
497
+
498
+ Every `<id>.variant.js` script or `<id>.html` page in the folder is one option, shown in file-name order. Each script edits frontend project files on top of the same captured baseline. Original is always the first choice and restores that baseline. Switching options removes the previous option's edits and applies the selected script; the editor dialog has any number of choices on the left and your already loaded configurator on the right.
499
+
500
+ ```js
501
+ // .phoenix/variants/brand/blue.variant.js
502
+ export const title = 'Blue brand'
503
+ export const description = 'A blue primary colour with the current layout.'
504
+
505
+ export default ({ read, write, remove }) => {
506
+ const file = 'src/handlers/theme.ts'
507
+ write(file, read(file).replace("main: '#E93335'", "main: '#2364aa'"))
508
+ }
509
+ ```
510
+
511
+ `read(path)` always reads the baseline. `write(path, contents)` replaces or creates a file; `remove(path)` deletes it. Scripts run in the browser and collect edits; Phoenix validates and writes the batch locally. Supported files are YAML under `spec/` outside `spec/admin/`, and TypeScript under `src/components`, `transformers`, `handlers`, `elements` and `_`-prefixed shared folders. Expressions, actions and invariants also run on the server, so a script cannot edit them.
512
+
513
+ For standalone UI or branding proposals, write self-contained HTML files. Each page renders in its own iframe when selected; its `<title>` names the option and `<meta name="description" content="...">` describes it. HTML and scripts may share a set if their file names give distinct option ids.
514
+
515
+ ```html
516
+ <!-- .phoenix/variants/brand/blue.html -->
517
+ <!doctype html>
518
+ <title>Blue studio</title>
519
+ <meta name="description" content="A calm blue identity with generous spacing." />
520
+ <style>
521
+ body {
522
+ margin: 0;
523
+ padding: 40px;
524
+ background: #f0f5fa;
525
+ color: #163b66;
526
+ font-family: sans-serif;
527
+ }
528
+ </style>
529
+ <h1>Made for your everyday.</h1>
530
+ <button>Design your table</button>
531
+ ```
532
+
533
+ Scripts run once per selection. The completed file batch calls the existing rebuild queue directly, without a separate file-change event stream or a watcher that reapplies the option.
534
+
535
+ Use script options for controls, layout, brand, lights, visual effects, materials, positions, components, elements and transformers. Changes to the model, schemas, data or deployment settings are rejected before any files are written. Environment files, webhooks, their shared implementation dependencies, dependencies and uploaded assets cannot be overridden. Files connected through symbolic links are also excluded, so restoring the baseline preserves the original files. No server preparation or webhook rebuild runs for a variant transaction.
536
+
537
+ Picking a script keeps its exact implementation in the project. Picking an HTML page returns the selected proposal for the agent to implement; the page itself changes no project source files. Choosing Original keeps the captured baseline. Users finish by confirming Original or another option. Escape stays available to the configurator, and clicking the backdrop leaves the comparison open. The agent can use `--close` to restore the baseline source files without giving an answer. Phoenix records recovery information on disk and restores interrupted previews at the next `phoenix dev` start. It never overwrites a file edited outside the preview: switching options over such an edit is refused, and when the comparison ends, or is restored at the next start, that file is left as it is with a warning in the dev log while the others are restored. Other source changes made while a comparison is open are rebuilt once it ends.
538
+
539
+ Answers are held for four seconds with Undo and Send now.
540
+
541
+ The command prints the outcome as JSON. After `chosen` it removes the folder:
542
+
543
+ | `status` | Meaning |
544
+ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
545
+ | `chosen` | An option was picked: `choice` is its id, or `null` for Original; `label` is its name. |
546
+ | `waiting` | The wait ran out. The preview stays open: the same command attaches to it again, and an answer given in between is returned by the next run. |
547
+ | `closed` | The preview was closed without an answer, by `--close` or by another set of options taking its place. The folder is kept. |
548
+
549
+ | Flag | Default | Description |
550
+ | ---------------------- | ----------------------------- | --------------------------------------------------------- |
551
+ | `--title` / `-t` | `Which option do you prefer?` | Question shown above the options |
552
+ | `--description` / `-d` | — | A line saying what differs between the options |
553
+ | `--timeout` | `540` | Seconds to wait for the answer |
554
+ | `--keep` | `false` | Keep the folder after the answer |
555
+ | `--close` | `false` | Close the open preview without an answer; needs no folder |
556
+ | `--port` / `-p` | `3020` | Editor WebSocket port |
557
+
558
+ Known limits:
559
+
560
+ - Variant transactions start rebuilding immediately, bypassing the normal file-watcher debounce. Hot reload still needs to parse and apply the updated implementation. There is no wait for UI or scene loading to settle; allow a visible transition to finish before judging or choosing.
561
+ - Only one option is displayed at a time; simultaneous comparison is not supported.
562
+ - For script options and Original, the dialog moves the existing configurator into the preview and returns it on close, preserving the loaded scene, camera and UI state. Opening the dialog starts no second application or initial loading screen. Configuration interactions still change the current configuration; restoring source files does not undo them.
563
+ - Custom scripts are trusted project code. Their file API stages edits; scripts must not make network requests or other side effects.
564
+ - Binary assets, CSS files, locale catalog changes, dependency changes and edits requiring a full application restart are unsupported.
565
+ - Storybook `story-dev` has no variant previews. A project on the legacy pipeline has no variant previews; the command says so and exits.
566
+
567
+ Generated projects carry the `phoenix-variants` agent skill, which tells coding agents when to offer options, how to write each kind and what to do with your answer.
568
+
460
569
  ## SDK Development
461
570
 
462
571
  ### `phoenix link`
@@ -569,7 +678,7 @@ SDK-builder workspaces sign the CLI in with a personal API token instead of proj
569
678
 
570
679
  Signs the CLI in to the SDK-builder workspace `<customer>`:
571
680
 
572
- 1. Opens Studio, where you name the token and approve the sign-in (use `--no-open` to only print the link). The page shows the workspace, your account, the computer the CLI runs on and how long the link still works. The CLI suggests the name `phoenix CLI on <computer>`; change it so you can tell your machines and agents apart later.
681
+ 1. Opens Studio, where you name the token and approve the sign-in (use `--no-open` to only print the link). Only a super admin of the workspace can open its Studio, so only a super admin can sign the CLI in. The page shows the workspace, your account, the computer the CLI runs on and how long the link still works. The CLI suggests the name `phoenix CLI on <computer>`; change it so you can tell your machines and agents apart later.
573
682
  2. Studio sends a one-time code back to the CLI on `127.0.0.1`.
574
683
  3. The CLI exchanges the code for a token with the name you approved, and sends the browser back to Studio, which confirms the sign-in.
575
684
 
@@ -577,12 +686,12 @@ Signs the CLI in to the SDK-builder workspace `<customer>`:
577
686
 
578
687
  The token is stored in `~/.phoenix/credentials.json`, readable only by you, per server, together with the Studio URL of the sign-in; `PHOENIX_CREDENTIALS_FILE` moves the file. The token works until you revoke it. Signing in again to the same server revokes the token it replaces; the CLI warns if the server could not revoke it.
579
688
 
580
- | Flag | Default | Description |
581
- | --------------------- | ------------------------------------ | ------------------------------------------------ |
582
- | `--region` | `eu` | Phoenix region of the workspace: `eu` or `us` |
583
- | `--serverUrl` / `-su` | the region's server | Phoenix server URL, for a local or custom server |
584
- | `--studioUrl` | the workspace's Studio in the region | Studio URL of the workspace |
585
- | `--open` | `true` | Open the approval page in your browser |
689
+ | Flag | Default | Description |
690
+ | ---------------------- | ------------------------------------ | ------------------------------------------------ |
691
+ | `--region` | `eu` | Phoenix region of the workspace: `eu` or `us` |
692
+ | `--serverUrl` / `--su` | the region's server | Phoenix server URL, for a local or custom server |
693
+ | `--studioUrl` | the workspace's Studio in the region | Studio URL of the workspace |
694
+ | `--open` | `true` | Open the approval page in your browser |
586
695
 
587
696
  The sign-in follows the region, not the `SERVER_URL` in a project's `.env`: that variable names the server of the project's own environment. The CLI prints the server it signs in to.
588
697
 
@@ -594,28 +703,36 @@ Revokes the token on the server and removes it from the credentials file. `--reg
594
703
 
595
704
  ### `phoenix deploy`
596
705
 
597
- Validates the spec, adds the pnpm settings `phoenix init` writes to `pnpm-workspace.yaml` when they are missing, packs and uploads the project, starts its build on the server and follows it until the configurator is live. Before the upload the server compares the domain model with the deployed one: a model that changed under an already deployed model version is refused with the reason, and needs a new model version and a [migration](?path=/docs/phoenix-migrations--docs). Once the build starts it prints `Follow the build in Studio: <url>`, the build's page in the Studio you signed in through; a sign-in stored by an older CLI has no Studio URL, so sign in again to get the link. `--region` or `--serverUrl` selects the server, as for `login`; `--no-wait` returns as soon as the build starts.
706
+ Validates the spec, adds the pnpm settings `phoenix init` writes to `pnpm-workspace.yaml` when they are missing, packs and uploads the project, starts its build on the server and follows it until the configurator is live. Before the upload the server compares the domain model with the deployed one: a model that changed under an already deployed model version is refused with the reason, and needs a new model version and a [migration](?path=/docs/phoenix-migrations--docs). Once the build starts it prints `Follow the build in Studio: <url>`, the build's page in the Studio you signed in through; a sign-in stored by an older CLI has no Studio URL, so sign in again to get the link. After `Your configurator is live at <url>` it prints one line for coding agents, which tells them to offer the run evaluation of the `phoenix-feedback` skill once you have nothing more to build; you can ignore it when you run the command yourself. `--region` or `--serverUrl` selects the server, as for `login`; `--no-wait` returns as soon as the build starts.
707
+
708
+ To keep the conversation that led to a build, place a reviewed UTF-8 transcript in `conversation.log` at the project root before deploying. Deploy automatically includes it in the private source archive. Download the build's sources from Studio to read it; access is the same as for the rest of that build's sources. The build extractor skips the log, so it is not an application build input or a public asset. Missing logs produce a warning and deployment continues. Directories, links and special files at that path are rejected.
598
709
 
599
- ### `phoenix feedback <message>`
710
+ The Phoenix agent skill explains how to prepare the transcript: prefer a native session export; otherwise mark a reconstruction as incomplete. Preserve available user/assistant messages and tool calls, cap individual tool results at 16 KiB with explicit truncation markers, and reference images rather than embedding them. Include the agent, export time, source and known omissions. Review and redact credentials or unrelated sensitive content before approving upload. The CLI uploads the file as supplied; it does not collect agent history, redact content, check freshness or verify completeness. Remove the file from the project root to deploy without it. The log counts toward the source archive's existing size limits; there is no separate conversation upload or viewer.
711
+
712
+ ### `phoenix feedback [message]`
600
713
 
601
714
  Sends feedback about the SDK, the CLI, the documentation or Studio to the Phoenix team. It needs `phoenix login`: the server records the workspace, user and API token of the sign-in, so the message itself needs no introduction.
602
715
 
603
716
  ```bash
604
717
  phoenix feedback "phoenix build reports a missing entity when a module file is empty" --type bug
718
+ phoenix feedback --file report.txt --type bug
605
719
  ```
606
720
 
607
- | Flag | Env | Default | Description |
608
- | ---------------------- | -------------- | ----------------------------- | ---------------------------------------------------- |
609
- | `--type` | — | `other` | What the feedback is about: `bug`, `idea` or `other` |
610
- | `--contact` | — | — | How to reach you, when you want a reply |
611
- | `--agent` | — | — | Name of the coding agent that writes the feedback |
612
- | `--projectSlug` / `-p` | `PROJECT_SLUG` | `project` of the spec, if any | Workspace project the feedback is about |
613
- | `--region` | — | `eu` | Phoenix region of the workspace: `eu` or `us` |
614
- | `--serverUrl` / `-su` | — | the region's server | Phoenix server URL, for a local or custom server |
721
+ Pass the message as the argument for a short note, or `--file` for a longer report: the content of the file is the message, read as UTF-8, so quotes, backticks and new lines arrive unchanged. Giving both, or neither, is an error.
722
+
723
+ | Flag | Env | Default | Description |
724
+ | ---------------------- | -------------- | ----------------------------- | --------------------------------------------------------- |
725
+ | `--file` | — | — | Text file that holds the message, instead of the argument |
726
+ | `--type` | — | `other` | What the feedback is about: `bug`, `idea` or `other` |
727
+ | `--contact` | — | — | How to reach you, when you want a reply |
728
+ | `--agent` | — | — | Name of the coding agent that writes the feedback |
729
+ | `--projectSlug` / `-p` | `PROJECT_SLUG` | `project` of the spec, if any | Workspace project the feedback is about |
730
+ | `--region` | — | `eu` | Phoenix region of the workspace: `eu` or `us` |
731
+ | `--serverUrl` / `--su` | — | the region's server | Phoenix server URL, for a local or custom server |
615
732
 
616
- A message holds at most 5000 characters. Besides the message and the flags, the CLI sends only the SDK version, the operating system and the Node.js version; nothing of the project's files is attached. The project must belong to the signed-in workspace, otherwise the server refuses the feedback; without a project, the feedback is sent on its own.
733
+ A message holds at most 100,000 characters, from the argument or from the file. Besides the message and the flags, the CLI sends only the SDK version, the operating system and the Node.js version; no file of the project is attached, and the Phoenix team reads a build's sources through the build's page in Studio. The project must belong to the signed-in workspace, otherwise the server refuses the feedback; without a project, the feedback is sent on its own.
617
734
 
618
- Generated projects carry the `phoenix-feedback` agent skill. It tells coding agents when to draft feedback, to show you the draft and send it only after you approve it, and what must never go into it: secrets, customer data and the project's source. The command needs a server with API 1.40.0 or newer.
735
+ Generated projects carry the `phoenix-feedback` agent skill. It tells coding agents when to draft feedback, to show you the draft and send it only after you approve it, and how to write a report: the build id with its Studio page link, the live configurator link, what the agent was doing, what happened and what was expected, the exact error or output, the workaround and a condensed conversation log. When you say you are done, or a deploy went live and you confirm the run is finished, the agent asks you to evaluate the run, one question at a time: minutes spent, then a score from 0 to 10 for the agent's guidance, the configurator's functionality, its UX, the quality of the 3D, the UI visuals and the overall result, then your comments. It never picks a score for you and sends nothing when you decline. Secrets, credentials and personal data never go into a message; file paths, spec and code snippets and your own words may, once you approved the draft that contains them. The command needs a server with API 1.40.0 or newer; a message over 5000 characters needs API 1.43.0 or newer.
619
736
 
620
737
  ## Next Steps
621
738