@salsita-ai/sdk 0.50.0-develop.f101f4c3c9 → 0.50.0-develop.f16492b14e

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 (872) hide show
  1. package/README.md +5 -1
  2. package/dist/application/index.d.ts +1 -0
  3. package/dist/application/index.js +1 -1
  4. package/dist/application/mount-application.d.ts +1 -1
  5. package/dist/application/mount-application.js +1 -1
  6. package/dist/application/mount-configurator.d.ts +19 -0
  7. package/dist/application/mount-configurator.js +1 -0
  8. package/dist/application/mounted-application-runtime.d.ts +4 -0
  9. package/dist/application/mounted-application-runtime.js +1 -0
  10. package/dist/application/register-web-component.d.ts +2 -0
  11. package/dist/application/register-web-component.js +1 -0
  12. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -31
  13. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  14. package/dist/application-spec/core/index.d.ts +1 -3
  15. package/dist/application-spec/core/index.js +1 -1
  16. package/dist/application-spec/core/json-schema.d.ts +2 -52
  17. package/dist/application-spec/core/markers/index.d.ts +1 -1
  18. package/dist/application-spec/core/markers/index.js +1 -1
  19. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  20. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  21. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  22. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  23. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  24. package/dist/application-spec/errors/diagnostic-codes.d.ts +17 -1
  25. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  26. package/dist/application-spec/errors/diagnostic-messages.d.ts +25 -2
  27. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  28. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  29. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  30. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  31. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  32. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  33. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  34. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  35. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  36. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  37. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  38. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +24 -22
  39. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +1 -0
  40. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  41. package/dist/application-spec/generate-application/code/templates/index.d.ts +2 -6
  42. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  43. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  44. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +7 -0
  45. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  46. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +14 -7
  47. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +2 -2
  48. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  49. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  50. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  51. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  52. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  53. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  54. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  55. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  56. package/dist/application-spec/generate-application/index.d.ts +2 -0
  57. package/dist/application-spec/generate-application/index.js +1 -1
  58. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +3 -4
  59. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +7 -4
  60. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  61. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  62. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  63. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +17 -4
  64. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  65. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +71 -0
  66. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  67. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +3 -4
  68. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +7 -5
  69. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  70. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  71. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  72. package/dist/application-spec/generate-application/runtime/create-application.d.ts +57 -0
  73. package/dist/application-spec/generate-application/runtime/create-application.js +1 -0
  74. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +1 -2
  75. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +1 -1
  76. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -1
  77. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +1 -2
  78. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -1
  79. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.d.ts +1 -1
  80. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +1 -1
  81. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  82. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  83. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.d.ts +1 -2
  84. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +1 -1
  85. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  86. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +1 -1
  87. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +1 -2
  88. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +9 -4
  89. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  90. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +1 -2
  91. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  92. package/dist/application-spec/generate-application/runtime/sections/preset-runtime.d.ts +2 -3
  93. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +1 -1
  94. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +1 -1
  95. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  96. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  97. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +3 -2
  98. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +124 -24
  99. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -1
  100. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +1 -1
  101. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  102. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  103. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  104. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  105. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  106. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  107. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  108. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  109. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +58 -23
  110. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  111. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.d.ts +1 -1
  112. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  113. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  114. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  115. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  116. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  117. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  118. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  119. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +4 -10
  120. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  121. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  122. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  123. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  124. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +2 -3
  125. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  126. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +2 -3
  127. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +2 -2
  128. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +7 -29
  129. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  130. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  131. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  132. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +2 -2
  133. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  134. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +4 -14
  135. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  136. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  137. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -31
  138. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  139. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  140. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +3 -7
  141. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  142. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  143. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  144. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  145. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  146. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  147. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  148. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  149. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  150. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +6 -23
  151. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  152. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  153. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  154. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  155. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +4 -1
  156. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  157. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  158. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  159. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  160. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  161. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  162. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  163. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  164. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  165. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  166. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  167. package/dist/client/authorized-client.d.ts +3 -1
  168. package/dist/client/authorized-client.js +1 -1
  169. package/dist/client/contract.d.ts +17 -0
  170. package/dist/client/index.d.ts +1 -1
  171. package/dist/client/local-authorized-client.d.ts +3 -1
  172. package/dist/client/local-authorized-client.js +1 -1
  173. package/dist/client/memory-authorized-client.d.ts +4 -1
  174. package/dist/client/memory-authorized-client.js +1 -1
  175. package/dist/client/phoenix-api.d.ts +240 -1
  176. package/dist/configurator/ConfiguratorApp.js +1 -1
  177. package/dist/configurator/app-loader-content/index.d.ts +0 -1
  178. package/dist/configurator/app-loader-content/index.js +1 -1
  179. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  180. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +17 -3
  181. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  182. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +52 -9
  183. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  184. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  185. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  186. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  187. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  188. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  189. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  190. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +82 -55
  191. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  192. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +66 -4
  193. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  194. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +40 -0
  195. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  196. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  197. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  198. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  199. package/dist/configurator/common/configurator-interface.d.ts +9 -6
  200. package/dist/configurator/common/configurator-interface.js +1 -1
  201. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  202. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  203. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +0 -6
  204. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -1
  205. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -2
  206. package/dist/configurator/configuration-not-found-page/index.js +1 -1
  207. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.d.ts +3 -3
  208. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.js +1 -1
  209. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  210. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  211. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  212. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  213. package/dist/configurator/configurator-context/index.d.ts +0 -5
  214. package/dist/configurator/configurator-context/index.js +1 -1
  215. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +3 -3
  216. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -1
  217. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +0 -5
  218. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -1
  219. package/dist/configurator/configurator-error-page/index.d.ts +1 -2
  220. package/dist/configurator/configurator-error-page/index.js +1 -1
  221. package/dist/configurator/index.d.ts +9 -2
  222. package/dist/configurator/index.js +1 -1
  223. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  224. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  225. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  226. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  227. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  228. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  229. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  230. package/dist/configurator/ui/assistant/AssistantChips.d.ts +3 -2
  231. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  232. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  233. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +1 -2
  234. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -1
  235. package/dist/configurator/ui/assistant/form/form-model.d.ts +1 -3
  236. package/dist/configurator/ui/assistant/form/form-state.d.ts +1 -1
  237. package/dist/configurator/ui/assistant/form/index.d.ts +2 -0
  238. package/dist/configurator/ui/assistant/form/index.js +1 -1
  239. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +1 -1
  240. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -1
  241. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +1 -1
  242. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -1
  243. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  244. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  245. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  246. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  247. package/dist/configurator/ui/assistant/form/{form-element-definition.d.ts → registry/form-element-definition.d.ts} +3 -1
  248. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  249. package/dist/configurator/ui/assistant/form/{form-registry.d.ts → registry/form-registry.d.ts} +1 -1
  250. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  251. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  252. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  253. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  254. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  255. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +1 -1
  256. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -1
  257. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +1 -1
  258. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -1
  259. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +1 -1
  260. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -1
  261. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +5 -5
  262. package/dist/configurator/ui/assistant/index.d.ts +3 -0
  263. package/dist/configurator/ui/assistant/index.js +1 -1
  264. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  265. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  266. package/dist/configurator/ui/assistant/screenshots/index.d.ts +2 -0
  267. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  268. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +22 -0
  269. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  270. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  271. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  272. package/dist/configurator/ui/assistant/tool-chip.d.ts +19 -9
  273. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  274. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  275. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  276. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  277. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  278. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  279. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  280. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  281. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  282. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  283. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  284. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  285. package/dist/configurator/ui/index.d.ts +1 -0
  286. package/dist/configurator/ui/index.js +1 -1
  287. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  288. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  289. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  290. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  291. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  292. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  293. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  294. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  295. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  296. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  297. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -2
  298. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  299. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  300. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  301. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  302. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  303. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  304. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  305. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +0 -2
  306. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  307. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  308. package/dist/configurator/ui/preset-layout/index.js +1 -1
  309. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -1
  310. package/dist/docs/3d-scene/cameras/custom.mdx +4 -2
  311. package/dist/docs/drag-and-drop/room-planner.mdx +1 -1
  312. package/dist/docs/index.json +95 -1
  313. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  314. package/dist/docs/layouts/custom-layout.mdx +318 -158
  315. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  316. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  317. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  318. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  319. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  320. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  321. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  322. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  323. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
  324. package/dist/docs/phoenix/configurator-interface.mdx +9 -7
  325. package/dist/docs/phoenix/domain-model.mdx +4 -1
  326. package/dist/docs/phoenix/layout-slots.mdx +21 -0
  327. package/dist/docs/phoenix/phoenix-cli.mdx +40 -7
  328. package/dist/docs/phoenix/project-structure.mdx +21 -17
  329. package/dist/docs/phoenix/sdk-builder-workflow.mdx +6 -4
  330. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  331. package/dist/docs/phoenix/webhooks.mdx +5 -1
  332. package/dist/domain/application/application-config.d.ts +6 -24
  333. package/dist/domain/application/assistant/assistant-manifest.d.ts +29 -4
  334. package/dist/domain/application/assistant/assistant-manifest.js +1 -1
  335. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +12 -9
  336. package/dist/domain/application/assistant/assistant-resolved-manifest.js +1 -1
  337. package/dist/domain/application/assistant/build-assistant-lenses.js +1 -1
  338. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  339. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  340. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  341. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +39 -28
  342. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -1
  343. package/dist/domain/application/assistant/form/index.d.ts +1 -1
  344. package/dist/domain/application/assistant/form/index.js +1 -1
  345. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +1 -1
  346. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  347. package/dist/domain/application/assistant/index.d.ts +3 -3
  348. package/dist/domain/application/assistant/index.js +1 -1
  349. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  350. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +4 -4
  351. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  352. package/dist/domain/application/assistant-mutations.js +1 -1
  353. package/dist/domain/application/configurator-builder.d.ts +7 -1
  354. package/dist/domain/application/configurator-builder.js +1 -1
  355. package/dist/domain/application/index.d.ts +1 -1
  356. package/dist/domain/application/index.js +1 -1
  357. package/dist/domain/application/standard-properties.js +1 -1
  358. package/dist/domain/application/web-component-property.d.ts +3 -1
  359. package/dist/domain/application/web-component-property.js +1 -1
  360. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  361. package/dist/domain/available-system-components/available-system-components.js +1 -0
  362. package/dist/domain/available-system-components/index.d.ts +1 -0
  363. package/dist/domain/available-system-components/index.js +1 -0
  364. package/dist/domain/{domain-builder.d.ts → domain-builder/domain-builder.d.ts} +11 -5
  365. package/dist/domain/domain-builder/domain-builder.js +1 -0
  366. package/dist/domain/domain-builder/index.d.ts +1 -0
  367. package/dist/domain/domain-builder/index.js +1 -0
  368. package/dist/domain/domain-context/store-system/store-system.d.ts +5 -0
  369. package/dist/domain/domain-context/store-system/store-system.js +1 -1
  370. package/dist/domain/domain-runtime/application.d.ts +39 -0
  371. package/dist/domain/domain-runtime/application.js +1 -0
  372. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
  373. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  374. package/dist/domain/domain-runtime/domain-runtime.d.ts +44 -4
  375. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  376. package/dist/domain/domain-runtime/environment/initialize.d.ts +1 -1
  377. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  378. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +2 -0
  379. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -1
  380. package/dist/domain/domain-runtime/index.d.ts +2 -1
  381. package/dist/domain/domain-runtime/index.js +1 -1
  382. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  383. package/dist/domain/domain-runtime/spec/index.js +1 -1
  384. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  385. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +15 -1
  386. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -1
  387. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  388. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  389. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +3 -1
  390. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -1
  391. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  392. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  393. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +3 -4
  394. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -1
  395. package/dist/domain/domain-runtime/spec/selectors.d.ts +3 -1
  396. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  397. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  398. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  399. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  400. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  401. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  402. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  403. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  404. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +24 -0
  405. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  406. package/dist/domain/extensions/{client-side-image.d.ts → export-images/client-side-image.d.ts} +2 -2
  407. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  408. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  409. package/dist/domain/extensions/export-images/index.js +1 -0
  410. package/dist/domain/extensions/{save-template-thumbnail.d.ts → export-images/save-template-thumbnail.d.ts} +2 -2
  411. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  412. package/dist/domain/extensions/index.d.ts +1 -2
  413. package/dist/domain/extensions/index.js +1 -1
  414. package/dist/domain/index.d.ts +3 -2
  415. package/dist/domain/index.js +1 -1
  416. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -0
  417. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  418. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  419. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  420. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  421. package/dist/domain/spec/application/index.d.ts +5 -0
  422. package/dist/domain/spec/application/index.js +1 -0
  423. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  424. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  425. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  426. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  427. package/dist/{application-spec/parse-application-files → domain}/spec/components/component-entry.d.ts +3 -3
  428. package/dist/domain/spec/components/component-entry.js +1 -0
  429. package/dist/{application-spec/core → domain/spec}/components/component-filter.d.ts +3 -2
  430. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  431. package/dist/domain/spec/components/component-filters.js +1 -0
  432. package/dist/domain/spec/components/components.d.ts +4 -0
  433. package/dist/domain/spec/components/components.js +1 -0
  434. package/dist/domain/spec/components/index.d.ts +6 -0
  435. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  436. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  437. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  438. package/dist/domain/spec/enhanced-json/index.js +1 -0
  439. package/dist/{application-spec/parse-application-files → domain}/spec/expressions/expression.d.ts +9 -3
  440. package/dist/domain/spec/expressions/expression.js +1 -0
  441. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  442. package/dist/domain/spec/expressions/expressions.js +1 -0
  443. package/dist/domain/spec/expressions/index.d.ts +5 -0
  444. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  445. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  446. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  447. package/dist/domain/spec/index.d.ts +9 -0
  448. package/dist/domain/spec/index.js +1 -0
  449. package/dist/domain/spec/invariants/index.d.ts +2 -0
  450. package/dist/domain/spec/invariants/index.js +1 -0
  451. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  452. package/dist/domain/spec/invariants/invariant.js +1 -0
  453. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  454. package/dist/domain/spec/invariants/invariants.js +1 -0
  455. package/dist/domain/spec/json-schema.d.ts +52 -0
  456. package/dist/domain/spec/json-schema.js +1 -0
  457. package/dist/domain/spec/markers/index.d.ts +3 -0
  458. package/dist/domain/spec/markers/index.js +1 -0
  459. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  460. package/dist/domain/spec/markers/msg-marker.js +1 -0
  461. package/dist/domain/spec/model/aliases.d.ts +9 -0
  462. package/dist/domain/spec/model/aliases.js +1 -0
  463. package/dist/domain/spec/model/common-types.d.ts +15 -0
  464. package/dist/domain/spec/model/common-types.js +1 -0
  465. package/dist/domain/spec/model/defaults.d.ts +33 -0
  466. package/dist/domain/spec/model/defaults.js +1 -0
  467. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  468. package/dist/domain/spec/model/entity-types.js +1 -0
  469. package/dist/domain/spec/model/index.d.ts +7 -0
  470. package/dist/domain/spec/model/index.js +1 -0
  471. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  472. package/dist/domain/spec/model/model-version-key.js +1 -0
  473. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  474. package/dist/domain/spec/model/names/action-name.js +1 -0
  475. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  476. package/dist/domain/spec/model/names/alias-name.js +1 -0
  477. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  478. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  479. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  480. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  481. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  482. package/dist/domain/spec/model/names/expression-name.js +1 -0
  483. package/dist/domain/spec/model/names/index.d.ts +9 -0
  484. package/dist/domain/spec/model/names/index.js +1 -0
  485. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  486. package/dist/domain/spec/model/names/instance-name.js +1 -0
  487. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  488. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  489. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  490. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  491. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  492. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  493. package/dist/domain/spec/model/presets.d.ts +30 -0
  494. package/dist/domain/spec/model/presets.js +1 -0
  495. package/dist/domain/spec/sections/actions.d.ts +23 -0
  496. package/dist/domain/spec/sections/actions.js +1 -0
  497. package/dist/domain/spec/sections/app-metadata.d.ts +18 -0
  498. package/dist/domain/spec/sections/app-metadata.js +1 -0
  499. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  500. package/dist/domain/spec/sections/application-version.js +1 -0
  501. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  502. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  503. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  504. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  505. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  506. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  507. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  508. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  509. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  510. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  511. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  512. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  513. package/dist/domain/spec/sections/index.d.ts +9 -0
  514. package/dist/domain/spec/sections/index.js +1 -0
  515. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  516. package/dist/domain/spec/sections/infra/acl.js +1 -0
  517. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  518. package/dist/domain/spec/sections/infra/index.js +1 -0
  519. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  520. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  521. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  522. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  523. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  524. package/dist/domain/spec/sections/state-value.js +1 -0
  525. package/dist/domain/spec/sections/theme.d.ts +10 -0
  526. package/dist/domain/spec/sections/theme.js +1 -0
  527. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  528. package/dist/domain/spec/sections/transformers.js +1 -0
  529. package/dist/domain/spec/sections/ui.d.ts +12 -0
  530. package/dist/domain/spec/sections/ui.js +1 -0
  531. package/dist/domain/system-definitions.js +1 -1
  532. package/dist/domain/utils/index.d.ts +2 -0
  533. package/dist/domain/utils/index.js +1 -0
  534. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  535. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  536. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  537. package/dist/editor/domain-editors/use-implementation-files.d.ts +6 -14
  538. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  539. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  540. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  541. package/dist/i18n/locales/cs/messages.js +1 -1
  542. package/dist/i18n/locales/da/messages.js +1 -1
  543. package/dist/i18n/locales/de/messages.js +1 -1
  544. package/dist/i18n/locales/de-AT/messages.js +1 -1
  545. package/dist/i18n/locales/en/messages.js +1 -1
  546. package/dist/i18n/locales/en-AU/messages.js +1 -1
  547. package/dist/i18n/locales/en-GB/messages.js +1 -1
  548. package/dist/i18n/locales/es/messages.js +1 -1
  549. package/dist/i18n/locales/fr/messages.js +1 -1
  550. package/dist/i18n/locales/hu/messages.js +1 -1
  551. package/dist/i18n/locales/it/messages.js +1 -1
  552. package/dist/i18n/locales/nl/messages.js +1 -1
  553. package/dist/i18n/locales/pl/messages.js +1 -1
  554. package/dist/i18n/locales/pt/messages.js +1 -1
  555. package/dist/i18n/locales/ro/messages.js +1 -1
  556. package/dist/i18n/locales/sk/messages.js +1 -1
  557. package/dist/i18n/locales/tr/messages.js +1 -1
  558. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  559. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  560. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +16 -0
  561. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  562. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  563. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  564. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  565. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +11 -5
  566. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +1 -0
  567. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  568. package/dist/phoenix/application-spec/generate-project-files.d.ts +1 -0
  569. package/dist/phoenix/application-spec/index.d.ts +1 -0
  570. package/dist/phoenix/application-spec/index.js +1 -1
  571. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +11 -0
  572. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  573. package/dist/phoenix/bin.js +1 -1
  574. package/dist/phoenix/cli.js +1 -1
  575. package/dist/phoenix/commands/activate-deployment.js +1 -1
  576. package/dist/phoenix/commands/build.js +1 -1
  577. package/dist/phoenix/commands/changelog.js +1 -1
  578. package/dist/phoenix/commands/check.js +1 -1
  579. package/dist/phoenix/commands/clean.js +1 -1
  580. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  581. package/dist/phoenix/commands/create-environment.js +1 -1
  582. package/dist/phoenix/commands/data.js +1 -1
  583. package/dist/phoenix/commands/deploy.js +1 -1
  584. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  585. package/dist/phoenix/commands/dev.js +5 -5
  586. package/dist/phoenix/commands/docs.js +1 -1
  587. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  588. package/dist/phoenix/commands/fix.js +1 -1
  589. package/dist/phoenix/commands/generated-env-markers.d.ts +1 -0
  590. package/dist/phoenix/commands/generated-env-markers.js +1 -1
  591. package/dist/phoenix/commands/index.d.ts +1 -1
  592. package/dist/phoenix/commands/index.js +1 -1
  593. package/dist/phoenix/commands/inspect-assets.js +1 -1
  594. package/dist/phoenix/commands/list-environments.js +1 -1
  595. package/dist/phoenix/commands/login.d.ts +4 -1
  596. package/dist/phoenix/commands/login.js +2 -2
  597. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  598. package/dist/phoenix/commands/register-deployment.js +1 -1
  599. package/dist/phoenix/commands/scene.js +1 -1
  600. package/dist/phoenix/commands/screenshot.js +1 -1
  601. package/dist/phoenix/commands/state.js +1 -1
  602. package/dist/phoenix/commands/story-build.js +3 -3
  603. package/dist/phoenix/commands/story-create.js +1 -1
  604. package/dist/phoenix/commands/sync.js +1 -1
  605. package/dist/phoenix/commands/variants.js +1 -1
  606. package/dist/phoenix/lingui/index.d.ts +1 -0
  607. package/dist/phoenix/lingui/index.js +1 -0
  608. package/dist/phoenix/{services → lingui}/lingui.d.ts +5 -2
  609. package/dist/phoenix/lingui/lingui.js +1 -0
  610. package/dist/phoenix/services/application-spec-project-watcher.d.ts +3 -1
  611. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  612. package/dist/phoenix/services/cli-credentials.d.ts +3 -0
  613. package/dist/phoenix/services/cli-credentials.js +1 -1
  614. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  615. package/dist/phoenix/services/cli-exit.js +1 -0
  616. package/dist/phoenix/services/index.d.ts +3 -0
  617. package/dist/phoenix/services/index.js +1 -1
  618. package/dist/phoenix/services/lingui-watcher.js +1 -1
  619. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  620. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  621. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  622. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  623. package/dist/phoenix/services/telemetry/index.js +1 -0
  624. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  625. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  626. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  627. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  628. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  629. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  630. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  631. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  632. package/dist/phoenix/services/vite-config.js +1 -1
  633. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +1 -1
  634. package/dist/react-sdk/application-runtime/common-services/initialize.d.ts +2 -2
  635. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  636. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  637. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  638. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  639. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  640. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  641. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  642. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  643. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  644. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  645. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  646. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  647. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  648. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  649. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  650. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  651. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  652. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  653. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  654. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  655. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  656. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  657. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  658. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  659. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  660. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +5 -0
  661. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  662. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  663. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  664. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  665. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  666. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  667. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  668. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  669. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  670. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  671. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  672. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  673. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  674. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  675. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  676. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  677. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  678. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  679. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  680. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  681. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  682. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  683. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  684. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  685. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  686. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  687. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  688. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  689. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  690. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  691. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  692. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  693. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  694. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  695. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  696. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  697. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  698. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  699. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  700. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  701. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  702. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  703. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  704. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  705. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  706. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  707. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  708. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  709. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  710. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  711. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  712. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  713. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  714. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  715. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  716. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  717. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  718. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +313 -10
  719. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  720. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/ConfiguratorRoutingProvider.d.ts +1 -1
  721. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  722. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/OnGoToIndexHandler.d.ts +1 -2
  723. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  724. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  725. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/index.js +1 -1
  726. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/use-power-routing-lifecycle.d.ts +2 -0
  727. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  728. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  729. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  730. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  731. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  732. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  733. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  734. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  735. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  736. package/dist/react-sdk/domain-application-context/index.js +1 -1
  737. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +1 -0
  738. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -1
  739. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  740. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  741. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
  742. package/dist/react-sdk/domain-context/index.d.ts +1 -0
  743. package/dist/react-sdk/domain-context/index.js +1 -1
  744. package/dist/react-sdk/elements/index.d.ts +0 -1
  745. package/dist/react-sdk/index.d.ts +6 -1
  746. package/dist/react-sdk/index.js +1 -1
  747. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  748. package/dist/react-sdk/integration/index.d.ts +1 -0
  749. package/dist/react-sdk/integration/index.js +1 -0
  750. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  751. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  752. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  753. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  754. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  755. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  756. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  757. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  758. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  759. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  760. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  761. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  762. package/dist/react-sdk/loading-state/index.js +1 -1
  763. package/dist/react-sdk/loading-state/{LoadingStateProvider.d.ts → loading-state-hooks.d.ts} +3 -12
  764. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  765. package/dist/react-sdk/notifications/index.d.ts +1 -0
  766. package/dist/react-sdk/notifications/index.js +1 -0
  767. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  768. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  769. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  770. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  771. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  772. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  773. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  774. package/dist/{configurator/configuration-not-found-page → react-sdk/page-elements}/create-configuration-not-found-page.d.ts +7 -1
  775. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  776. package/dist/{configurator/configurator-error-page → react-sdk/page-elements}/create-configurator-error-page.d.ts +6 -1
  777. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  778. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  779. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  780. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  781. package/dist/react-sdk/page-elements/index.js +1 -0
  782. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  783. package/dist/react-sdk/preset-selection/index.d.ts +1 -0
  784. package/dist/react-sdk/preset-selection/index.js +1 -0
  785. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  786. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  787. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  788. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  789. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  790. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  791. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +24 -3
  792. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  793. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +2 -2
  794. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +11 -9
  795. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -1
  796. package/dist/ui-sdk/theme/types.d.ts +5 -1
  797. package/dist/watch/glob-matcher.d.ts +4 -4
  798. package/dist/watch/glob-matcher.js +1 -1
  799. package/dist/watch/watch.d.ts +4 -4
  800. package/dist/watch/watch.js +1 -1
  801. package/package.json +13 -3
  802. package/schema/domain-spec.json +140 -0
  803. package/dist/application-spec/core/components/index.d.ts +0 -2
  804. package/dist/application-spec/core/expressions/index.d.ts +0 -2
  805. package/dist/configurator/app-loader-content/app-loader-content-name.d.ts +0 -5
  806. package/dist/configurator/app-loader-content/app-loader-content-name.js +0 -1
  807. package/dist/configurator/configuration-not-found-page/create-configuration-not-found-page.js +0 -1
  808. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  809. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  810. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  811. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  812. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  813. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  814. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  815. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  816. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  817. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  818. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  819. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  820. package/dist/configurator/configurator-error-page/create-configurator-error-page.js +0 -1
  821. package/dist/configurator/ui/assistant/form/built-in-form-registry.d.ts +0 -10
  822. package/dist/configurator/ui/assistant/form/built-in-form-registry.js +0 -1
  823. package/dist/configurator/ui/assistant/form/form-registry.js +0 -8
  824. package/dist/domain/application/assistant/form/get-assistant-form-value-attribute.d.ts +0 -6
  825. package/dist/domain/application/assistant/form/get-assistant-form-value-attribute.js +0 -1
  826. package/dist/domain/available-system-components.d.ts +0 -11
  827. package/dist/domain/available-system-components.js +0 -1
  828. package/dist/domain/domain-builder.js +0 -1
  829. package/dist/domain/extensions/client-side-image.js +0 -1
  830. package/dist/domain/extensions/save-template-thumbnail.js +0 -1
  831. package/dist/phoenix/services/lingui.js +0 -1
  832. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  833. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  834. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  835. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -37
  836. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  837. package/dist/react-sdk/responsive-state/ResponsiveStateProvider.d.ts +0 -25
  838. package/dist/react-sdk/responsive-state/ResponsiveStateProvider.js +0 -1
  839. package/dist/react-sdk/responsive-state/canvas-padding.d.ts +0 -14
  840. package/dist/react-sdk/responsive-state/index.d.ts +0 -5
  841. package/dist/react-sdk/responsive-state/index.js +0 -1
  842. package/dist/react-sdk/responsive-state/responsive-state-manager.d.ts +0 -111
  843. package/dist/react-sdk/responsive-state/responsive-state-manager.js +0 -1
  844. package/dist/react-sdk/responsive-state/use-responsive-state-manager.d.ts +0 -10
  845. package/dist/react-sdk/responsive-state/use-responsive-state-manager.js +0 -1
  846. package/dist/react-sdk/responsive-state/use-responsive-state.d.ts +0 -11
  847. package/dist/react-sdk/responsive-state/use-responsive-state.js +0 -1
  848. /package/dist/{application-spec/core/expressions/relation-expression-params.js → domain/spec/application/admin-pages-section.js} +0 -0
  849. /package/dist/{application-spec/parse-application-files/spec/components/component-entry.js → domain/spec/application/admin-pages.js} +0 -0
  850. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → domain/spec/application/admin-states.js} +0 -0
  851. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  852. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  853. /package/dist/{configurator/ui/assistant/form/form-element-definition.js → domain/spec/application/configurator-states.js} +0 -0
  854. /package/dist/{react-sdk/elements/configurator-error-page-props.js → domain/spec/components/bindings/index.js} +0 -0
  855. /package/dist/{react-sdk/responsive-state/canvas-padding.js → domain/spec/components/bindings/read-binding.js} +0 -0
  856. /package/dist/{application-spec/core → domain/spec}/components/component-filter.js +0 -0
  857. /package/dist/{application-spec/core → domain/spec}/components/index.js +0 -0
  858. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.d.ts +0 -0
  859. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.js +0 -0
  860. /package/dist/{application-spec/core → domain/spec}/expressions/index.js +0 -0
  861. /package/dist/{application-spec/core → domain/spec}/expressions/relation-expression-params.d.ts +0 -0
  862. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.d.ts +0 -0
  863. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.js +0 -0
  864. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  865. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  866. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  867. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  868. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  869. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  870. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
  871. /package/dist/react-sdk/{elements → page-elements}/configurator-error-page-props.d.ts +0 -0
  872. /package/dist/{configurator/configurator-context → react-sdk/preset-selection}/PresetSelectionProvider.d.ts +0 -0
@@ -126,7 +126,7 @@ The SDK waits up to 10 seconds for each canvas flush and logs a `Force flush tim
126
126
 
127
127
  ### Known gaps
128
128
 
129
- Images render offscreen, and the live canvas shows a still of the current view while they generate, so animations pause until generation finishes. Without [Postprocessing](?path=/docs/other-features-client-side-rendering-postprocessing--docs), tone mapping and the sRGB conversion run once over the finished image instead of per material, as on the canvas. The scene renders over a transparent background, and a background colour (a Color `scene.background`, the image's `backgroundColor`, or white for JPEG) is composited behind it afterwards. That means:
129
+ Images render offscreen, and the live canvas shows a still of the current view while they generate, so animations pause until generation finishes. Exports run one after another, never interleaved, and while one is waiting or running the built-in universal layout does not respond: a press shows that the configurator is exporting. Afterwards it shows the configuration as currently committed. Without [Postprocessing](?path=/docs/other-features-client-side-rendering-postprocessing--docs), tone mapping and the sRGB conversion run once over the finished image instead of per material, as on the canvas. The scene renders over a transparent background, and a background colour (a Color `scene.background`, the image's `backgroundColor`, or white for JPEG) is composited behind it afterwards. That means:
130
130
 
131
131
  - materials with `toneMapped: false` are tone mapped in exported images;
132
132
  - a texture or environment `scene.background` in an sRGB colour space is tone mapped in exported images, while the canvas draws it without tone mapping;
@@ -391,7 +391,7 @@ Use these factories to customize the preset-selection screen without changing ho
391
391
  - `createPresetPageAction` adds project-specific content below the default preset cards.
392
392
  - `createPresetDeviceNotSupported` adds project-specific overlay content above the default preset cards.
393
393
 
394
- Without `createPresetUi`, Phoenix renders its built-in preset screen, which is the default `PresetUi` registration in `defaultConfiguratorElements`. The action and the overlay are parts of that built-in screen and render nothing until the project registers them.
394
+ Without `createPresetUi`, Phoenix renders its built-in preset screen, which is the default `PresetUi` registration in `defaultConfiguratorElements`. The action and the overlay are parts of that built-in screen and render nothing until the project registers them. `createPresetUi` and the element's name, `PresetUiName`, are also exported from `@salsita-ai/sdk/react`.
395
395
 
396
396
  ```typescript
397
397
  const PresetScreen = phx.frontend.createPresetUi(CustomPresetScreen)
@@ -413,7 +413,7 @@ export default phx.frontend.createConfigurationNotFoundPage(({ onBack }) => (
413
413
  ))
414
414
  ```
415
415
 
416
- The helper types the page's props as `ConfigurationNotFoundPageProps` from `@salsita-ai/sdk/react`. A layout element registered under the name `ConfigurationNotFoundPage` with `createCustomPhoenixLayoutElement` replaces the page too, but its component is typed as taking only `children`.
416
+ The helper types the page's props as `ConfigurationNotFoundPageProps` from `@salsita-ai/sdk/react`, which also exports the helper and the element's name, `ConfigurationNotFoundPageName`. A layout element registered under the name `ConfigurationNotFoundPage` with `createCustomPhoenixLayoutElement` replaces the page too, but its component is typed as taking only `children`.
417
417
 
418
418
  - The page receives one optional prop, `onBack`, which returns to the start of the configurator. It is set when a configuration fails to load or is opened without a valid access key. It is not set on the start page itself, so a page that offers a way back shows it only when `onBack` is set.
419
419
  - The configurator renders the element in four cases: a configuration fails to load, for example because its ID does not exist or the server rejects its access key; a configuration is opened without an access key for it; a signed-in user whose role may not create configurations (`acl.canCreate`) opens the start page; the preset screen has no preset category to show, for example because the host's `presetTags` match no preset. The last case happens inside the built-in preset screen, so a project that replaces it with `createPresetUi` decides what to show itself.
@@ -434,7 +434,7 @@ export default phx.frontend.createConfiguratorErrorPage(({ reason, onRetry }) =>
434
434
  ))
435
435
  ```
436
436
 
437
- The helper types the page's props as `ConfiguratorErrorPageProps` from `@salsita-ai/sdk/react`. A layout element registered under the name `ConfiguratorErrorPage` with `createCustomPhoenixLayoutElement` replaces the page too, but its component is typed as taking only `children`.
437
+ The helper types the page's props as `ConfiguratorErrorPageProps` from `@salsita-ai/sdk/react`, which also exports the helper and the element's name, `ConfiguratorErrorPageName`. A layout element registered under the name `ConfiguratorErrorPage` with `createCustomPhoenixLayoutElement` replaces the page too, but its component is typed as taking only `children`.
438
438
 
439
439
  - The page receives two props. `reason` says what failed: `uncaughtError` when rendering the configurator failed with an error nothing else handled, `presetCreationFailed` when starting a configuration from the only preset failed. `onRetry` tries again: after `uncaughtError` it renders the configurator again, after `presetCreationFailed` it reloads the page. The error itself is not passed; it is logged to the console.
440
440
  - The configurator renders the element in two cases: an error reaches the configurator's error boundary, which wraps everything from the scene resources and the session down to the pages, including a failure while the application starts; and creating a configuration fails on a start screen with a single preset. The element is available in both, because the spec and its elements are part of the application before the configurator renders.
@@ -451,6 +451,7 @@ export default phx.frontend.createAppLoader(({ phases }) => <span>{phases[0]?.la
451
451
  ```
452
452
 
453
453
  - Phoenix keeps the overlay, its place over the safe area and its fade-in; the element is only what it shows.
454
+ - `createAppLoader`, the props type `AppLoaderContentProps` and the element's name, `AppLoaderContentName`, are also exported from `@salsita-ai/sdk/react`.
454
455
  - The overlay stays up while a loading phase runs: the session, the project's data, the configuration and the 3D scene. It waits for the scene only when the loaded configuration's layout mounts a canvas, as the built-in layouts and `LayoutSlots.SharedCanvas` do. A `ConfiguratorLayout` without a canvas is not held by the loader: the overlay leaves once the configuration is up.
455
456
  - The top-level `appLoader: legacy` key in the spec turns the overlay off.
456
457
  - The built-in content is the default `AppLoaderContent` registration in `defaultConfiguratorElements`, see below.
@@ -546,7 +547,7 @@ export default phx.frontend.createCustomPhoenixLayoutElement('ConfiguratorLayout
546
547
  - `LayoutSlots.DesktopSidebar` is the built-in desktop sidebar as one piece: the spec's tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel. Use it when the spec's property pages are what the customer should see and only their place changes, for example a sidebar on the left; build the controls yourself when they have to look like the brand's own. Without `width` it fills its container, so the layout positions and sizes that container; `miniSidebar` does not shrink it, so a layout that honours it reads `LayoutSlots.useSidebarContent().hasMiniSidebar` and lets the container take the sidebar's height. Its tabs sit outside it on the left; `side="start"` puts them on its right, for a sidebar on the left. In fullscreen it stays in place, transparent and inert, so a layout that wants the space back removes it while `phx.frontend.useIsFullscreenActive()` is set. See [Sidebar in a Custom Layout](?path=/docs/layouts-sidebar-in-a-custom-layout--docs).
547
548
  - Nothing of the built-in layouts is rendered for it. A project layout finalizes over the spec's `finalizeAction` components, see the finalize paragraph of [Hooks for a Project Layout](#hooks-for-a-project-layout). The `finalizePage` and `finalizeButton` components are legacy: they cannot be declared in YAML, only in TypeScript, and `Legacy.CommonFinalizePage`, which is deprecated, shows a `finalizePage` for projects that still have one. `LayoutDialog` renders only what the project registers with `createLayoutDialog` and is not part of the finalize flow. The preview start screen is `DesktopPreview` or `MobilePreview`, which the layout shows while `phx.frontend.usePreview().isPreview` is set. Both previews frame the scene themselves, so the layout renders the component that calls `phx.frontend.useSceneSafeArea()` only while `isPreview` is not set; it then measures when it mounts after the preview. The assistant panel is available to a project layout only inside `LayoutSlots.DesktopSidebar`.
548
549
  - The layout reads the state it has to react to from hooks, listed with what each returns in [Hooks for a Project Layout](#hooks-for-a-project-layout).
549
- - Messages for the user come one of two ways. `LayoutSlots.Services` shows violations of a rejected change, side-effect hints, errors and failed saves as the built-in snackbars, which render into `LayoutSlots.DesktopSnackbarsRoot` or `LayoutSlots.MobileSnackbarsRoot` wherever the layout mounts it. `phx.frontend.useConfiguratorMessages(onMessage)` hands the same messages to the layout's own UI instead, with their text resolved, as the toast in [Custom Layout](?path=/docs/layouts-custom-layout--docs#show-messages) does; mount one of the two, not both, or every message is shown twice. A failure to save the configuration, and the first successful save after it, are messages too, so a layout that mounts neither shows no sign of a failed save. An error of the built-in finalize and other actions stays a snackbar either way. It renders into the snackbar root, so a layout that mounts none shows it outside the configurator, in the page's `body`. A failure to start a configuration from a preset is not a message of the hook either: it happens on the preset screen, before any `ConfiguratorLayout` mounts. In production with more than one preset it is a snackbar there, also on a preset screen replaced with `createPresetUi` (see [Preset UI](#preset-ui)), which reads the error from `phx.frontend.usePresetSelection().selectionError` and mounts `PresetSnackbarsRoot` to keep the snackbar inside the configurator. With a single preset it is the [Configurator Error Page](#configurator-error-page). A finalize action the layout runs with `phx.frontend.useFinalizeActions` or `phx.frontend.useFinalizeAction` reports its error as the action's `error` instead, neither as a message nor as a snackbar.
550
+ - Messages for the user come one of two ways. `LayoutSlots.Services` shows violations of a rejected change, side-effect hints, errors and failed saves as the built-in snackbars, which render into `LayoutSlots.DesktopSnackbarsRoot` or `LayoutSlots.MobileSnackbarsRoot` wherever the layout mounts it; the theme styles them, see [Layout Slots → Styling the snackbars](?path=/docs/phoenix-layout-slots--docs#styling-the-snackbars). `phx.frontend.useConfiguratorMessages(onMessage)` hands the same messages to the layout's own UI instead, with their text resolved, as the toast in [Custom Layout](?path=/docs/layouts-custom-layout--docs#show-messages) does; mount one of the two, not both, or every message is shown twice. A failure to save the configuration, and the first successful save after it, are messages too, so a layout that mounts neither shows no sign of a failed save. An error of the built-in finalize and other actions stays a snackbar either way. It renders into the snackbar root, so a layout that mounts none shows it outside the configurator, in the page's `body`. A failure to start a configuration from a preset is not a message of the hook either: it happens on the preset screen, before any `ConfiguratorLayout` mounts. In production with more than one preset it is a snackbar there, also on a preset screen replaced with `createPresetUi` (see [Preset UI](#preset-ui)), which reads the error from `phx.frontend.usePresetSelection().selectionError` and mounts `PresetSnackbarsRoot` to keep the snackbar inside the configurator. With a single preset it is the [Configurator Error Page](#configurator-error-page). A finalize action the layout runs with `phx.frontend.useFinalizeActions` or `phx.frontend.useFinalizeAction` reports its error as the action's `error` instead, neither as a message nor as a snackbar.
550
551
  - Any project layout element named `ConfiguratorLayout` takes over the page.
551
552
 
552
553
  `defaultConfiguratorElements`, exported from `@salsita-ai/sdk/configurator`, holds the built-in UI as a `ConfiguratorLayout` registration that renders the layout the spec selects, the built-in not-found page as a `ConfigurationNotFoundPage` registration, the built-in not-authenticated page as a `NotAuthenticatedPage` registration, the built-in preset screen as a `PresetUi` registration, the built-in error page as a `ConfiguratorErrorPage` registration, the app loader's built-in content as an `AppLoaderContent` registration, and the built-in in-scene controls under the names of [In-Scene Controls](#in-scene-controls). Generated code registers these defaults with `withDefaultElements`, apart from the project's elements, so the built-in UI is a registration like any other; a project element registered under the same name wins over a default. The list also holds the configurator's built-in controls and layout elements under the kinds the spec names them by, such as `attributeSelect` or `undoToolbarButton`, so a project element registered under one of those names replaces the built-in one wherever the spec names that kind. A config assembled by hand, without generated code, calls `withDefaultElements(defaultConfiguratorElements)` too; the lists are the only way the built-in elements are registered, so without it the page shows a "not found" box instead of the configurator, and a project layout shows one in place of every built-in control. The admin mounts a full configurator, so its list, `defaultAdminElements` from `@salsita-ai/sdk/admin`, holds the configurator's defaults followed by the admin's built-in pages, sidebars and actions; generated admin code passes it to `withDefaultElements` in place of `defaultConfiguratorElements`, because each call replaces the defaults passed before.
@@ -598,7 +599,7 @@ Texts from the spec, such as option titles and the `detail` fields, are `Localiz
598
599
 
599
600
  **Steps and tabs**
600
601
 
601
- A project layout builds its steps and tabs from the spec, so the structure stays in `navigationSteps`, `sidebarTabs` and `horizontalTabs`, where `$filter` switches it, and the layout decides how it looks. `phx.frontend.useStepNavigation()` gives a wizard its steps with a `status` each, and `next`, `previous` and `goTo`; `phx.frontend.useTabNavigation()` gives tabs with `isActive` each, and `select`. Both enter a navigation state, so controls, cameras and components filtered by `navigationStates` follow. Neither hides anything in read mode or blocks a step on violations: a layout that should not move on while the configuration is invalid combines `canGoNext` with `useStateValidity()`, and a stepper that offers only earlier steps enables the steps whose `status` is `'complete'`.
602
+ A project layout builds its steps and tabs from the spec, so the structure stays in `navigationSteps`, `sidebarTabs` and `horizontalTabs`, where `$filter` switches it, and the layout decides how it looks. `phx.frontend.useStepNavigation()` gives a wizard its steps with a `status` each, and `next`, `previous` and `goTo`; `phx.frontend.useTabNavigation()` gives tabs with `isActive` each, and `select`. Both enter a navigation state, so controls, cameras and components filtered by `navigationStates` follow. Neither hides anything in read mode or blocks a step on violations: a layout that should not move on while the configuration has a problem requires `phx.frontend.useStateValidity().severity !== 'warning'` besides `canGoNext`, because a change with a `fixable` or `fatal` violation is rejected and the committed configuration is never invalid, while a `warning` stays and blocks finalizing. A stepper that offers only earlier steps enables the steps whose `status` is `'complete'`.
602
603
 
603
604
  ```tsx
604
605
  export const Wizard = () => {
@@ -647,6 +648,7 @@ A layout builds its toolbar from `phx.frontend.useToolbarActions()`, which retur
647
648
  | `phx.frontend.useStateValidity()` | The validity of the last committed state: `{ valid: true, severity: null }`, or `{ valid: true, severity: 'notice' \| 'warning', entityViolations }`. A change that leaves a `fixable` or `fatal` violation is rejected and never committed, and neither is a change during which an error was thrown, so neither is seen here. |
648
649
  | `phx.frontend.useFinalizeViolations()` | `{ disabled, hints, violations }`. `disabled` is `true` while a `warning`, `fixable` or `fatal` violation holds or the configuration failed to save; `hints` is the violations' text, or `undefined`. |
649
650
  | `phx.frontend.useConfiguratorMessages(onMessage)` | Nothing. It calls `onMessage(message)` once per message: `{ kind: 'violation', entityId, violation, text }` for each violation of the rejected state, including notices and warnings already present, so `violation.severity` tells the reason for the rejection (`fixable` or `fatal`) from them, `{ kind: 'sideEffect', text }` for each hint of a committed update, `{ kind: 'error', error, text }` when an error is thrown while a change is validated, with `text` the generic "Oops, something went wrong", `{ kind: 'saveError', error, text }` each time saving the configuration fails, with `error` what the save rejected with and `text` a generic message, and `{ kind: 'saveRecovery', text }` when a save succeeds after a failed one, with `text` "Configuration updated". `text` is resolved to the current language; a violation's is its `message`, or its `type` without one, and the built-in snackbar prefixes it with `entityId`. Hints committed before the layout mounted are not delivered, nor is a save that failed before it mounted; when the most recent change was rejected or threw, its messages are delivered again when the hook mounts. `onMessage` may be a new function on every render. On `phx.frontend` the message is typed by the project, so `violation.type` narrows to its violation types; from `@salsita-ai/sdk/react` the type is `ConfiguratorMessage`. |
651
+ | `phx.frontend.useConfigurationSaveState()` | `{ revisionId, isSaving, failure }`, the save status of the configuration. An editable configuration saves every committed change on its own, three seconds after the last one, and a read-only one never saves. `revisionId` is the revision the configuration is at: the loaded one, then the one the latest save created. `isSaving` is `true` while a save runs. `failure` is `{ error, timestamp }` of the latest failed save, with `timestamp` in milliseconds since the epoch, and `null` once a later save succeeds or another configuration loads. A layout shows a save indicator with it; the messages of a failed save and of its recovery come from `useConfiguratorMessages`. Besides `phx.frontend`, `@salsita-ai/sdk/react` exports it. |
650
652
  | `phx.frontend.useFinalizeAction(handler)` | `{ run, isPending, error, disabled, hints }` for the `finalizeAction` whose `handler` it is given; see the Finalize paragraph below for how to call it. `run()` records the finalize-button click for analytics and runs the project's handler, does nothing while `disabled` or `isPending`, and returns a promise that resolves once the handler has settled and never rejects; `error` is what the handler's last run rejected with, or `null`; `disabled` and `hints` are those of `useFinalizeViolations()`. The type of the result is `UseFinalizeActionResult` from `@salsita-ai/sdk/configurator`, which also exports the hook. |
651
653
  | `phx.frontend.useFinalizeActions()` | `{ actions, primary, secondary, disabled, hints }`: every active `finalizeAction` of the spec in spec order, `primary` the first `'primary'` one, or else the first, or `null`, and `secondary` the others; see the Finalize paragraph below. Each action is `{ key, handler, variant, label, title, icon, run, isPending, error, disabled }`, with `label` and `title` resolved; `run()` records the finalize-button click for analytics and runs the action's handler, does nothing while `disabled` or `isPending`, and returns a promise that never rejects. `disabled` and `hints` are those of `useFinalizeViolations()`. Besides `phx.frontend`, `@salsita-ai/sdk/react` exports it. |
652
654
 
@@ -654,7 +656,7 @@ A layout builds its toolbar from `phx.frontend.useToolbarActions()`, which retur
654
656
 
655
657
  **Finalize**
656
658
 
657
- A project layout finalizes over the spec's `finalizeAction` components, each `{ variant, label, title, icon, handler }`, where `variant` is `'primary'` or `'secondary'` and `handler` names the project's handler registered with `phx.frontend.createPhoenixHandler`. `phx.frontend.useFinalizeActions()` is the convenient way: it lists them with what a button needs, runs their handlers itself, and can be called anywhere in the layout, including a dialog the layout opens with `useModal`, as often as it likes. It returns:
659
+ A project layout finalizes over the spec's `finalizeAction` components, each `{ variant, label, title, icon, handler }`, where `variant` is `'primary'` or `'secondary'` and `handler` names the project's handler registered with `phx.frontend.createPhoenixHandler`. `phx.frontend.useFinalizeActions()` is the convenient way: it lists them with what a button needs, runs their handlers itself, and can be called anywhere in the layout, including a dialog the layout opens with `useModal`, as often as it likes; [Custom Layout](?path=/docs/layouts-custom-layout--docs#request-a-quote) offers its primary action this way in its review step. It returns:
658
660
 
659
661
  - `actions`, every active `finalizeAction` in spec order, and `primary` and `secondary`, the same actions split as the built-in footer splits them: `primary` is the first `'primary'` action, or else the first action, or `null` without any, and `secondary` the others in spec order.
660
662
  - `disabled` and `hints`, those of `useFinalizeViolations()`: finalizing is not possible while a `warning`, `fixable` or `fatal` violation holds or the configuration failed to save, and `hints` says why.
@@ -698,7 +700,7 @@ export const Finalize = () => {
698
700
 
699
701
  The configurator runs the handlers outside the layout, beside it, whenever a configuration is open, also in read mode and on every step. A handler can use what the configurator provides, such as `useModal`, but not a provider the layout itself adds; such a handler fails to load and shows as that action's `error`. An action's `isPending` and `error` are kept while the layout re-renders and while its components unmount and mount again.
700
702
 
701
- To run a single action the layout already knows, `phx.frontend.useFinalizeAction(handler)` runs it in the layout itself and returns `{ run, isPending, error, disabled, hints }`, with the same meaning. It runs the project's handler factory, which calls hooks, so the layout calls it once per component, never in a loop or conditionally, and wraps that component in `<PhoenixHandlerBoundary name={handler}>` from `@salsita-ai/sdk/react`, so an edited handler takes effect without a reload. Its `isPending` and `error` belong to the mounted component: when it unmounts during a run, the handler keeps running, and a component mounted afterwards starts with `isPending` false and no `error`. [Custom Layout](?path=/docs/layouts-custom-layout--docs#request-a-quote) runs a finalize action this way from its review step.
703
+ To run a single action the layout already knows, `phx.frontend.useFinalizeAction(handler)` runs it in the layout itself and returns `{ run, isPending, error, disabled, hints }`, with the same meaning. It runs the project's handler factory, which calls hooks, so the layout calls it once per component, never in a loop or conditionally, and wraps that component in `<PhoenixHandlerBoundary name={handler}>` from `@salsita-ai/sdk/react`, so an edited handler takes effect without a reload. Its `isPending` and `error` belong to the mounted component: when it unmounts during a run, the handler keeps running, and a component mounted afterwards starts with `isPending` false and no `error`.
702
704
 
703
705
  Neither hook checks read mode, so the layout hides finalizing while `accessInfo.viewMode` is `true`, as above.
704
706
 
@@ -842,7 +842,10 @@ Phoenix automatically:
842
842
  During `phoenix dev`, schema-compatible configurator changes can refresh the mounted application in
843
843
  place. Changes to the domain model itself are rejected from live application and require a restart;
844
844
  this preserves the last valid runtime and loaded configuration until migration and deployment can be
845
- coordinated atomically.
845
+ coordinated atomically. With server persistence, restart `phoenix dev` itself: it logs an error that
846
+ asks for the restart, and registers the changed model with its development deployment when it starts
847
+ again. Then open the preview address it prints rather than a tab whose address has `?cid=`, which
848
+ loads a configuration saved with the earlier model.
846
849
 
847
850
  ### The phx Global Namespace
848
851
 
@@ -44,6 +44,27 @@ export const Toolbar = () => (
44
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
45
  - Snackbars are raised by `Services`, for violations, side-effect hints, validation errors and a failed save, and also by the built-in finalize and footer actions when their handler fails. A layout that shows these messages its own way calls `phx.frontend.useConfiguratorMessages(onMessage)` instead of mounting `Services`, and then shows the failed save too, 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`. A finalize action the layout runs with `phx.frontend.useFinalizeActions` or `phx.frontend.useFinalizeAction` raises no snackbar; its error is the action's `error`.
46
46
 
47
+ ### Styling the snackbars
48
+
49
+ Every snackbar of the configurator and the admin, raised by `Services`, a failed save, a failed preset creation or a built-in action, renders as `PhxSnackbar` from `@salsita-ai/sdk/ui`: an MUI `Alert` with the snackbar's variant as its severity, inside notistack's `SnackbarContent`. A project restyles the configurator's snackbars in its theme, from [`createGetThemeHandler`](?path=/docs/layouts-custom-theme-handler--docs), under `components.PhxSnackbar` (the admin's snackbars follow the admin's own theme, which ignores the theme handler):
50
+
51
+ ```ts
52
+ // Part of the ThemeOptions a theme handler returns
53
+ const components: ThemeOptions['components'] = {
54
+ PhxSnackbar: {
55
+ styleOverrides: {
56
+ alert: ({ theme }) => ({ borderRadius: 0, boxShadow: theme.shadows[3] }),
57
+ actionButton: { fontWeight: 600, textTransform: 'none' },
58
+ },
59
+ },
60
+ }
61
+ ```
62
+
63
+ - `styleOverrides` styles three slots: `content`, notistack's outer element; `alert`, the `Alert` with the message; and `actionButton`, a button such as **Dismiss**.
64
+ - `defaultProps.slotProps` passes props to the slots, such as `{ alert: { variant: 'filled' } }`, and `defaultProps.slots` replaces a slot's component. The `MuiAlert` and `MuiButton` overrides of the theme reach the snackbars too.
65
+ - A snackbar's button is described as data, not as an element: the code that raises it passes `actionButton: { label, onClick }` to notistack's `enqueueSnackbar`, and `PhxSnackbar` renders it in the `actionButton` slot, an MUI `Button` with `color="inherit"` and `size="small"`, after the snackbar's notistack `action` if it has one. `onClick` receives the snackbar's key, to close it with `closeSnackbar`. A project's own snackbars take the same option, typed by `SnackbarActionButton` from `@salsita-ai/sdk/react`, so their buttons follow the theme; an element passed as `action` renders as it is.
66
+ - Where the snackbars appear is the snackbar root's job, see `DesktopSnackbarsRoot` and `MobileSnackbarsRoot`.
67
+
47
68
  ## Desktop sidebar
48
69
 
49
70
  | Member | Shows | Fed by | With nothing configured | Read mode |
@@ -40,7 +40,31 @@ pnpm phoenix dev
40
40
  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.
41
41
  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.
42
42
 
43
- The next steps it prints use the package manager you ran it with, or name none when it cannot tell. 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.
43
+ The next steps it prints use the package manager you ran it with, or name none when it cannot tell. It asks nothing, writes no `.env` and contacts no Phoenix server. It does send the operational telemetry described below unless telemetry is disabled. `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.
44
+
45
+ ### CLI telemetry
46
+
47
+ Operational CLI telemetry is enabled by default. Recognized top-level `phoenix` commands send lifecycle events directly to Amplitude's US ingestion endpoint. Current commands record both started and completed events. Legacy commands retain their existing exit behavior, so completion may be absent when they exit directly, including when legacy `dev` stops.
48
+
49
+ For `phoenix dev`, `cli_dev_server_ready` records that startup finished and the server is listening; it does not prove that a browser connected or the application works. Its `duration_ms` measures startup time. With the current application-spec pipeline, the command stays open until its existing shutdown path emits completion, whose duration covers the whole run. A normal stop is not evidence of abandonment, and a missing completion (for example after a forced kill) means the outcome is unknown.
50
+
51
+ Aliases are recorded as their canonical command names. Delivery failures never change the command result, and the CLI stops waiting for each delivery after one second.
52
+
53
+ Before a successful `phoenix login`, telemetry uses only random anonymous identifiers. Failed login attempts remain anonymous. The CLI stores an installation UUID, work-session UUID and last activity time in `~/.phoenix/telemetry.json`; a work session continues while commands occur less than 30 minutes apart.
54
+
55
+ After a successful login, the login completion and later commands from that installation include the stable authenticated builder user ID and the internal workspace UUID. Amplitude uses the unchanged installation ID to associate the earlier anonymous command path with that user. A later successful login replaces the stored user and workspace association. The state file never contains a login token, email address, machine fingerprint, project path or project content. Because the installation ID belongs to the operating-system user profile, people who share that profile also share its command history and latest association.
56
+
57
+ The events contain only:
58
+
59
+ - schema version, source (`cli`) and command name;
60
+ - unique event and command-attempt IDs;
61
+ - occurrence time, phase, safe outcome/failure category and duration;
62
+ - SDK version, traffic classification (`unknown` before authentication, `general` after it) and work-session ID;
63
+ - after successful login only, the authenticated builder user ID and workspace UUID.
64
+
65
+ The CLI never sends raw arguments, local paths, environment values, credentials, source/specification content, URLs, free text or raw error messages. The shipped Amplitude ingestion API key is public and only selects the destination project; it grants no read or administrative access. Events sent by a public client can be forged and are observations, not authoritative proof of deployment or server state.
66
+
67
+ Set `PHOENIX_TELEMETRY_DISABLED=1` to opt out. The opted-out CLI neither sends telemetry nor creates or updates the state file. `PHOENIX_TELEMETRY_FILE` overrides the state path for tests and other isolated environments.
44
68
 
45
69
  ### Which project `phoenix dev` develops in
46
70
 
@@ -164,6 +188,8 @@ A project has one generated env file. Phoenix keeps it in `.phoenix/`, as `.phoe
164
188
  - The deployment and environment commands (`deployment:prepare`, `deployment:prepare-dev`, `deployment:prepare-local`, `deployment:build-envs` and the others with an `--outFile` option) write `.env.generated` in the project root unless `--outFile` or `OUT_FILE` names another file. Deploy pipelines read it there. Once one of them has written it, `phoenix dev` and `phoenix build` use it.
165
189
  - Everything that reads environment variables follows the same rule: the root `.env.generated` when it exists, otherwise `.phoenix/.env.generated`. The two files are never merged.
166
190
  - `phoenix clean` removes `.phoenix/` and with it `.phoenix/.env.generated`; the next `phoenix dev` prepares the development deployment again. A root `.env.generated` stays.
191
+ - `phoenix dev` starts on the deployment the file names, and prepares a new one when the file was written for another project, environment or server, when the spec registers something on the server the deployment was not prepared with (the domain model, the published data schema, the auth hook, the roles that may create configurations, or the assistant), and on `--force`. A running `phoenix dev` does not prepare again after such a change: it logs an error that asks for a restart.
192
+ - Asset contents do not trigger preparation. After changing uploaded assets, restart with `phoenix dev --force` to prepare and upload them again.
167
193
 
168
194
  This holds for a project on the application-spec pipeline. In a project on the legacy pipeline (see [Current and legacy project tooling](#current-and-legacy-project-tooling)), `phoenix dev` always reads and writes `.env.generated` in the project root.
169
195
 
@@ -305,14 +331,16 @@ Starts the full development environment: Vite dev server, development webhook tu
305
331
  | `--environmentSlug` | `ENVIRONMENT_SLUG` | package.json name | Environment slug |
306
332
  | `--withLingui` | `WITH_LINGUI` | `false` | Enable i18n extraction/compilation and watch i18n sources during dev |
307
333
  | `--persistence` | `PERSISTENCE_MODE` | `server` | Persistence mode |
308
- | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache |
334
+ | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache, and prepare the development deployment again |
309
335
  | `--serverUrl` | `SERVER_URL` | the region's server | Phoenix server URL |
310
336
  | `--region` | `PHOENIX_REGION` | `eu` | Region of the signed-in workspace, used when no server URL is set |
311
337
  | `--skipUpload` / `--su` | `SKIP_UPLOAD` | `false` | Skip the S3 asset upload when the development deployment is prepared at startup |
312
338
 
313
339
  With the application-spec pipeline, `phoenix dev` creates an empty `src/` folder when the project has none, so that it rebuilds when the first source file, such as `src/webhooks/index.ts`, is added.
314
340
 
315
- With the application-spec pipeline, the SDK's own Lingui CLI runs with the configuration in `.phoenix/.linguirc`, both for `--withLingui` and when `phoenix sync` and `phoenix build` extract and compile the catalogs; see [Root Level Files](?path=/docs/phoenix-project-structure--docs#root-level-files). The dev server and `phoenix build` compile the Lingui macros (`msg`, `t`, `Trans` and the others, imported from `@lingui/core/macro`, `@lingui/react/macro` or `@lingui/macro`) with the SDK's own Lingui macro plugin and the same configuration, so the project needs neither `babel-plugin-macros` nor `@lingui/macro` for them. Babel macros of other packages are not compiled.
341
+ By default, with the application-spec pipeline, `phoenix dev` bootstraps missing compiled catalogs for every configured locale at startup, so a fresh project can start without a prior sync. It compiles existing `.po` translations as they are and extracts a locale only when its `.po` source is also missing. Existing compiled catalogs and `.po` sources stay unchanged. New or changed messages still need `phoenix sync` or continuous updates enabled by `--withLingui` or `WITH_LINGUI=true`.
342
+
343
+ The SDK's own Lingui CLI uses the configuration generated in `.phoenix/.linguirc`, both for `--withLingui` and when `phoenix sync` and `phoenix build` extract and compile the catalogs; see [Root Level Files](?path=/docs/phoenix-project-structure--docs#root-level-files). The dev server and `phoenix build` compile the Lingui macros (`msg`, `t`, `Trans` and the others, imported from `@lingui/core/macro`, `@lingui/react/macro` or `@lingui/macro`) with the SDK's own Lingui macro plugin and the same configuration, so the project needs neither `babel-plugin-macros` nor `@lingui/macro` for them. Babel macros of other packages are not compiled.
316
344
 
317
345
  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.
318
346
 
@@ -320,6 +348,7 @@ The dev server watches for changes in:
320
348
 
321
349
  - `spec/**/*.yaml` — Domain specification files
322
350
  - `src/**/*.{ts,tsx,yaml,yml,json,html,css}` — Source files
351
+ - `package.json` — Root dependency declarations; changes recheck the SDK's peers. A mismatch is reported without stopping dev, and correcting the manifest triggers another rebuild. Install changed dependencies with your package manager; changes to installed packages can still require restarting dev.
323
352
  - `.env` — Environment file; a change restarts the Vite dev server
324
353
  - `.env.generated`, `.phoenix/.env.generated` — Generated env files; a change rebuilds the project files. Only a file that exists when `phoenix dev` starts is watched: a root `.env.generated` that a deployment command creates while dev runs is not watched; restart `phoenix dev` to use it.
325
354
 
@@ -336,7 +365,11 @@ Restart the application after fixing either failure; a subscriber or generation
336
365
  observed the attempted update.
337
366
 
338
367
  Domain-model changes are not applied live yet. Phoenix rejects them with a restart-required
339
- diagnostic so the mounted application cannot observe a new model with old configuration data. Other
368
+ diagnostic so the mounted application cannot observe a new model with old configuration data. With
369
+ server persistence, `phoenix dev` logs an error that asks for its own restart, because the
370
+ development deployment keeps the schema it was prepared with until `phoenix dev` starts again and
371
+ prepares it. After the restart, open the preview address it prints: a tab whose address has `?cid=`
372
+ loads a configuration saved with the earlier model, which the new model rejects. Other
340
373
  generated bootstrap, admin, data, environment, and host-integration surfaces should also be treated
341
374
  as restart-required unless their feature documentation explicitly states live-update support.
342
375
 
@@ -609,7 +642,7 @@ Known limits:
609
642
  - Binary assets, CSS files, locale catalog changes, dependency changes and edits requiring a full application restart are unsupported.
610
643
  - Storybook `story-dev` has no variant previews. A project on the legacy pipeline has no variant previews; the command says so and exits.
611
644
 
612
- 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.
645
+ Generated projects carry the `phoenix` agent skill, whose linked Variants guide tells coding agents when to offer options, how to write each kind and what to do with your answer.
613
646
 
614
647
  ## SDK Development
615
648
 
@@ -750,7 +783,7 @@ Revokes the token on the server and removes it from the credentials file. `--reg
750
783
 
751
784
  ### `phoenix deploy`
752
785
 
753
- Validates the spec, 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.
786
+ Validates the spec, 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 in the Feedback guide linked from the `phoenix` 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.
754
787
 
755
788
  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.
756
789
 
@@ -779,7 +812,7 @@ Pass the message as the argument for a short note, or `--file` for a longer repo
779
812
 
780
813
  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.
781
814
 
782
- 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.
815
+ Generated projects carry the `phoenix` agent skill. Its linked Feedback guide 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.
783
816
 
784
817
  ## Next Steps
785
818
 
@@ -199,21 +199,21 @@ type CustomMaterial = Phx['AdminModel']['CustomMaterial']
199
199
 
200
200
  ### Root Level Files
201
201
 
202
- | File | Auto-Generated? | Notes |
203
- | ------------------------------------------------------ | --------------- | ------------------------------------- |
204
- | `package.json` | No | Yours; see Dependencies |
205
- | `tsconfig.json` | Once | Yours; see below |
206
- | `eslint.config.js` | Once | Yours; see below |
207
- | `prettier.config.js` | Once | Yours; see below |
208
- | `.prettierignore` | No | Optional and your own; see below |
209
- | `pnpm-workspace.yaml` | No | Only with pnpm; see Package manager |
210
- | `.gitignore` | Partially | Only in a git repository; see Markers |
211
- | `.env` | No | Git-ignored, local config |
212
- | `.env.example` | No | Template for env vars |
213
- | `.env.generated` | Yes | Optional, git-ignored; see below |
214
- | `README.md` | No | Project documentation |
215
- | `AGENTS.md` | No | Your own coding-agent instructions |
216
- | `.claude/skills/phoenix*/`, `.agents/skills/phoenix*/` | Yes | Phoenix agent skills |
202
+ | File | Auto-Generated? | Notes |
203
+ | ---------------------------------------------------- | --------------- | ------------------------------------- |
204
+ | `package.json` | No | Yours; see Dependencies |
205
+ | `tsconfig.json` | Once | Yours; see below |
206
+ | `eslint.config.js` | Once | Yours; see below |
207
+ | `prettier.config.js` | Once | Yours; see below |
208
+ | `.prettierignore` | No | Optional and your own; see below |
209
+ | `pnpm-workspace.yaml` | No | Only with pnpm; see Package manager |
210
+ | `.gitignore` | Partially | Only in a git repository; see Markers |
211
+ | `.env` | No | Git-ignored, local config |
212
+ | `.env.example` | No | Template for env vars |
213
+ | `.env.generated` | Yes | Optional, git-ignored; see below |
214
+ | `README.md` | No | Project documentation |
215
+ | `AGENTS.md` | No | Your own coding-agent instructions |
216
+ | `.claude/skills/phoenix/`, `.agents/skills/phoenix/` | Yes | Phoenix agent skills |
217
217
 
218
218
  Sync does not write `README.md`, `AGENTS.md`, `.env.example`, `.env.ci` or the `README.md` files in `assets/public/` and `assets/private/`. Earlier SDK versions wrote them once; a project that has them keeps them, and they are yours to edit.
219
219
 
@@ -242,9 +242,13 @@ With the application-spec pipeline, the Lingui configuration is `.phoenix/.lingu
242
242
 
243
243
  ### Agent Guidance
244
244
 
245
- Coding agents (Claude Code, Codex, Cursor) read the Phoenix agent skills. An `AGENTS.md` is yours to add for your own instructions; sync does not write one. The `phoenix`, `phoenix-cli`, `phoenix-feedback` and `phoenix-review` skills carry the SDK conventions, CLI tooling and review checklist, and the `phoenix-create-configurator` skill walks the agent from your product documents and assets to a reviewed configurator in five stages. The `phoenix-variants` skill has the agent show you several options over the dev preview when a decision is a matter of taste, and build the one you pick. Phoenix keeps them in step with the installed SDK, including the reference files inside a skill folder. During the internal beta, a project created from a canary build of the SDK gets one more section in the `phoenix` skill: once per conversation the agent checks for a newer canary and, after telling you, updates the project's SDK, runs `phoenix deps`, installs, then runs `phoenix sync`. Other skill folders are never touched.
245
+ Coding agents (Claude Code, Codex, Cursor) enter through the single `phoenix` skill under `.claude/skills/phoenix/` or `.agents/skills/phoenix/`. Its `SKILL.md` routes to the existing project, CLI, configurator workflow, code review, variants and feedback guides in `references/`. Agents read the guides for their task rather than the whole tree. The configurator workflow retains its five stages and supporting discovery, UX, asset-conversion and appearance-review references.
246
246
 
247
- Projects created by earlier SDK versions had this guidance in `CLAUDE.md`, `.cursor/rules/phoenix.mdc` and `commands/review.md`. Sync removes the SDK block from the first two, keeps your own text around it, deletes a file that held nothing else, and deletes the review commands; use the `phoenix-review` skill instead of `/review`.
247
+ Phoenix keeps this guidance in step with the installed SDK. During the internal beta, a project created from a canary build gets the canary-update instructions in the linked project guide: once per conversation the agent checks for a newer canary and, after telling you, updates the SDK, runs `phoenix deps`, installs, then runs `phoenix sync`.
248
+
249
+ An `AGENTS.md` is yours to add; sync does not write one. Sync removes retired `phoenix-*` skill folders but leaves unrelated skills alone. If your own instructions name an earlier separate skill such as `phoenix-review`, point them at `phoenix` and the same task instead.
250
+
251
+ Projects created by earlier SDK versions had this guidance in `CLAUDE.md`, `.cursor/rules/phoenix.mdc` and `commands/review.md`. Sync removes the SDK block from the first two, keeps your own text around it, deletes a file that held nothing else, and deletes the review commands; ask `phoenix` to review instead of using `/review`.
248
252
 
249
253
  ### Markers for Partial Auto-Generation
250
254
 
@@ -65,7 +65,7 @@ Every user who signs the CLI in gets their own development environment, so a tea
65
65
 
66
66
  Coding agents follow the generated `phoenix` skill: before their first change they start `phoenix dev` and open the preview in your browser, and after `phoenix deploy` starts a build they open its page in Studio.
67
67
 
68
- To build the configurator with your coding agent, give it your product documents, prices, pictures, drawings or models and ask it to create the configurator. The generated `phoenix-create-configurator` skill guides it through five stages: a representative first slice you can try early, a plan of the whole configuration experience, options and features added in small increments, finalization, and a complete review. It studies the SDK documentation before building, keeps a `configurator-spec.md` in the project as the record of what is decided and what remains open, and asks you only for decisions it cannot derive from your materials.
68
+ To build the configurator with your coding agent, give it your product documents, prices, pictures, drawings or models and ask it to create the configurator. The generated `phoenix` skill’s Configurator workflow guide takes it through five stages: a representative first slice you can try early, a plan of the whole configuration experience, options and features added in small increments, finalization, and a complete review. It studies the SDK documentation before building, keeps a `configurator-spec.md` in the project as the record of what is decided and what remains open, and asks you only for decisions it cannot derive from your materials.
69
69
 
70
70
  ## 4. Deploy
71
71
 
@@ -85,7 +85,9 @@ On the server, the install runs pnpm. It follows your `pnpm-lock.yaml` and `pnpm
85
85
 
86
86
  If the build fails, is cancelled or takes too long, `phoenix deploy` prints the end of the build log and exits with an error. `--no-wait` returns as soon as the build starts.
87
87
 
88
- Studio's **Builds & deployments** page lists your builds and shows which one your configurator serves. Each build shows its progress, its error and the full build log while it runs.
88
+ Studio's **Builds & deployments** page lists your builds, 20 to a page, and shows which one your configurator serves. Filter it to the live build or to the builds that failed. Each build shows its progress, its error and the full build log while it runs, and who deployed it with which CLI token.
89
+
90
+ **Rebuild** on a build's page builds the files uploaded with that build again, with your environment variables as they are now, without a new `phoenix deploy`. Use it after changing a variable, or when a build failed for a reason on our side. If the rebuild succeeds it goes live, so rebuilding an older build rolls production back to it.
89
91
 
90
92
  `phoenix deploy` refuses symlinks, hard-linked files and other special files among the project files, because builds only accept regular files. Packing uses the system `tar`, which macOS, Linux and Windows 10 or later all include. The build runner checks the uploaded archive again and keeps only project files, so a file outside the list above never reaches the build.
91
93
 
@@ -97,7 +99,7 @@ Tell us what is broken, confusing or missing, from wherever you are:
97
99
  - In the terminal, `pnpm phoenix feedback "<message>" --type bug|idea|other` sends it with your sign-in, and `--file <path>` sends a text file instead of the argument. See the [CLI reference](?path=/docs/phoenix-phoenix-cli--docs).
98
100
  - On a build's page in Studio, **Download** → **Sources** downloads the archive `phoenix deploy` uploaded for that build, so a report only needs to name the build.
99
101
 
100
- Coding agents working in your project use the same command, guided by the generated `phoenix-feedback` skill. They never send on their own: an agent shows you a draft, right away when the problem is crucial and otherwise at the end of the task, and sends it only after you approve it. A report names the build with its Studio page link and the live configurator, says what the agent was doing, what happened and what it expected, quotes the exact error and ends with a condensed conversation log. Agents are told never to include secrets, credentials or personal data; parts of your project and your own words go in only through a draft you approved. When you are done with the configurator, the agent also asks you, once per conversation, to evaluate the run: minutes spent, then scores from 0 to 10 for the agent's guidance, functionality, UX, 3D quality, UI visuals and the overall result, and your comments. It asks one question at a time, never picks a score for you, tells you the answers go to the Phoenix team, shows the message and sends it only after you approve it.
102
+ Coding agents working in your project use the same command, guided by the generated `phoenix` skill’s Feedback guide. They never send on their own: an agent shows you a draft, right away when the problem is crucial and otherwise at the end of the task, and sends it only after you approve it. A report names the build with its Studio page link and the live configurator, says what the agent was doing, what happened and what it expected, quotes the exact error and ends with a condensed conversation log. Agents are told never to include secrets, credentials or personal data; parts of your project and your own words go in only through a draft you approved. When you are done with the configurator, the agent also asks you, once per conversation, to evaluate the run: minutes spent, then scores from 0 to 10 for the agent's guidance, functionality, UX, 3D quality, UI visuals and the overall result, and your comments. It asks one question at a time, never picks a score for you, tells you the answers go to the Phoenix team, shows the message and sends it only after you approve it.
101
103
 
102
104
  ## Known limits
103
105
 
@@ -107,5 +109,5 @@ Coding agents working in your project use the same command, guided by the genera
107
109
  - `phoenix deploy` always deploys to the workspace's default project; it doesn't read `project` from the spec yet.
108
110
  - Only `phoenix dev` works from the sign-in. `phoenix deployment:prepare-dev` still needs the `.env` block of a Studio development environment.
109
111
  - Every deploy uploads the whole project; there are no incremental uploads.
110
- - Your own environment variables are set in Studio under Environment, by a super admin of the workspace, and apply from the next deploy. `phoenix dev` doesn't receive them: your development environment has its own variables. A build reads them from `process.env`; a webhook reads the ones the spec declares under `env.webhook`, through `phx.webhooksEnv` (see [Webhooks](?path=/docs/phoenix-webhooks--docs)). They can't use platform names such as `LAMBDA_FUNCTION_NAME`, the `AWS_` prefix, the identity provider settings such as `CLERK_API_KEY`, or names the CLI and the deploy tooling read themselves, such as `SERVER_URL` or `NODE_OPTIONS`; Studio refuses those names.
112
+ - Your own environment variables are set in Studio under Environment, by a super admin of the workspace, and apply from the next deploy. After a change, **Redeploy #N now** there rebuilds your live build with the new values, without a new `phoenix deploy`; it appears once your own build is live. `phoenix dev` doesn't receive them: your development environment has its own variables. A build reads them from `process.env`; a webhook reads the ones the spec declares under `env.webhook`, through `phx.webhooksEnv` (see [Webhooks](?path=/docs/phoenix-webhooks--docs)). They can't use platform names such as `LAMBDA_FUNCTION_NAME`, the `AWS_` prefix, the identity provider settings such as `CLERK_API_KEY`, or names the CLI and the deploy tooling read themselves, such as `SERVER_URL` or `NODE_OPTIONS`; Studio refuses those names.
111
113
  - Only super admins of a workspace can open its Studio. Admins and users see a page that says so.
@@ -427,6 +427,8 @@ The `readonly` web component property lets the host force view mode without chan
427
427
 
428
428
  Because an owner-token session can be forced read-only client-side while the server still accepts writes from that owner token, Phoenix skips persistence and logs a warning instead of updating the configuration. This guards against the configuration being silently overwritten by code paths that mutate state in read-only mode. UI that triggers significant changes (anything that produces a new revision) should still be disabled when `accessInfo.viewMode` is true — the warning is a backstop, not a substitute.
429
429
 
430
+ The assistant follows the same read-only rule as the UI: its `apply` tool refuses changes while `accessInfo.viewMode` is true, that is with a read-revision token or while `readonly` is set, and makes them again once it is false. A switch of `readonly` takes effect at once, in both directions, and the configurator loads the configuration again. A change applied after `readonly` is cleared and before the configuration has loaded again is not saved; saving resumes once it has loaded. The `query` tool keeps working, including its dry-run mutations.
431
+
430
432
  ```html
431
433
  <salsita-configurator readonly></salsita-configurator>
432
434
  ```
@@ -36,7 +36,11 @@ Phoenix provides domain-aware builders through the global `phx.webhooks` namespa
36
36
 
37
37
  Your webhook is the default export of `src/webhooks/index.ts`. With the application-spec pipeline (see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), the file is yours to create; sync does not write it. A project without it gets a built-in webhook, so it builds and deploys with no webhook code. The built-in webhook has one handler, an anonymous auth handler, which the platform calls only when `spec/application.yaml` sets `useAuthHook`. The legacy pipeline writes the file with that webhook on the first sync.
38
38
 
39
- Create `src/webhooks/index.ts` when the project needs its own handlers: finalization, backend data, or an auth handler that does more than start an anonymous session. A project that sets `useAuthHook` or `useClerk` needs its own auth handler, because the built-in one answers only anonymous requests. The smallest file is the built-in webhook itself:
39
+ Create `src/webhooks/index.ts` when the project needs its own handlers: finalization, backend data, or an auth handler that does more than start an anonymous session.
40
+
41
+ If `useAuthHook` or `useClerk` is enabled without this file, sync, build, clean and dev report `AUTH_WITHOUT_PROJECT_WEBHOOK` and generation continues with the anonymous-only built-in webhook. This warning also applies when `useAuthHook: false` is explicit alongside `useClerk: true`. Add a default-exported webhook with the required Clerk or custom auth handlers, or disable the settings if they are unintended.
42
+
43
+ The smallest file is the built-in webhook itself:
40
44
 
41
45
  ```ts
42
46
  // src/webhooks/index.ts
@@ -9,6 +9,7 @@ import type { AdminIntegrationService } from '#package/react-sdk';
9
9
  import type { $DomainEntity, DataCellValue, DataSchema, DomainEntity, DomainFactory, ProductPreset } from '../core/index.js';
10
10
  import type { AnalyticsSystem, RegistrableTransformer, TransformerFactory } from '../domain-context/index.js';
11
11
  import type { ElementRegistration, ProjectModule } from '../domain-runtime/index.js';
12
+ import type { AdminPagesSection } from '../spec/index.js';
12
13
  import type { AssistantResolvedManifest } from './assistant/index.js';
13
14
  import type { WebComponentEventDescriptor } from './web-component-event.js';
14
15
  import type { WebComponentPropertyDescriptor } from './web-component-property.js';
@@ -55,30 +56,11 @@ export type DataSpec = {
55
56
  export type ChunksSpec = Readonly<Record<string, {
56
57
  readonly scope: string;
57
58
  }>>;
58
- export type AdminPagesSpec = {
59
- readonly presets?: boolean | {
60
- readonly categoryNavigationState?: string;
61
- readonly presetNavigationState?: string;
62
- };
63
- readonly recipes?: ReadonlyArray<{
64
- readonly name: string;
65
- readonly navigationState?: string;
66
- }>;
67
- readonly pages?: ReadonlyArray<{
68
- readonly key: string;
69
- readonly title: string;
70
- readonly icon?: string;
71
- readonly navigationState?: string;
72
- readonly entity?: string;
73
- readonly component?: string;
74
- readonly actionsComponent?: string;
75
- readonly connectedDataEntry?: string;
76
- readonly sidebar?: {
77
- readonly title: string;
78
- readonly component: string;
79
- };
80
- }>;
81
- };
59
+ /**
60
+ * The admin pages of an application config: the `$adminPages` section of the application spec as
61
+ * written, which `createAdminPagesFromSpec` turns into admin pages; see {@link AdminPagesSection}.
62
+ */
63
+ export type AdminPagesSpec = AdminPagesSection;
82
64
  type PersistenceConfig = {
83
65
  readonly type: 'server';
84
66
  /**
@@ -1,3 +1,4 @@
1
+ import type { AssistantFormElementDescriptor } from './form/index.js';
1
2
  /**
2
3
  * Where one exposed assistant GraphQL field reads its value on the `$` entity: a stored field name,
3
4
  * or an expression name including its `$`. `localized` marks a localizable value that resolves to a
@@ -7,18 +8,28 @@ export interface AssistantFieldSource {
7
8
  readonly source: string;
8
9
  readonly localized?: true;
9
10
  }
11
+ /**
12
+ * What the integrator promises about a list of choices, so the agent can read it once and reuse it:
13
+ * `sameForAllInstances` when every entity of the type gets the same list, `constantDuringSession`
14
+ * when the list does not change during a session. A hint only adds a sentence to the description of
15
+ * the recipe group or options edge it is declared on; nothing verifies it.
16
+ */
17
+ export declare const ASSISTANT_HINTS: readonly ['sameForAllInstances', 'constantDuringSession'];
18
+ export type AssistantResolvedHint = (typeof ASSISTANT_HINTS)[number];
10
19
  /**
11
20
  * One recipe group the assistant manifest exposes on an entity type: a `childEntityRecipes` instance
12
21
  * under `childRecipes`, a `replaceEntityRecipes` instance under `replaceRecipes`. `groupId` is the
13
- * name the agent addresses the group by, `instanceName` the component instance it reads,
14
- * `description` the manifest's text replacing the component's group description, and `dryRuns`
15
- * whether the recipes of the group can be dry-run.
22
+ * name of its field on `<Type>ChildRecipes` or `<Type>ReplaceRecipes` and the id the agent passes to
23
+ * `addChild` or `replaceEntity`, `instanceName` the component instance it reads, `description` the
24
+ * manifest's text for that field, `dryRuns` whether the recipes of the group can be dry-run, and
25
+ * `hints` the sentences of the field's description saying when the agent can reuse what it read.
16
26
  */
17
27
  export interface AssistantRecipeGroup {
18
28
  readonly groupId: string;
19
29
  readonly instanceName: string;
20
30
  readonly description?: string;
21
31
  readonly dryRuns: boolean;
32
+ readonly hints: readonly AssistantResolvedHint[];
22
33
  }
23
34
  /**
24
35
  * The options edge of one writable field the assistant manifest links to its component. `field` is
@@ -35,6 +46,16 @@ export interface AssistantFieldOptions {
35
46
  readonly validate: boolean;
36
47
  readonly dryRuns: boolean;
37
48
  }
49
+ /**
50
+ * One view the assistant manifest lets the agent take a screenshot of an entity from: `view` is the
51
+ * value of the `<Type>ScreenshotView` enum the agent asks for it by, `instanceName` the
52
+ * `agentScreenshot` component instance that renders it, and `description` what the view shows.
53
+ */
54
+ export interface AssistantScreenshotView {
55
+ readonly view: string;
56
+ readonly instanceName: string;
57
+ readonly description: string;
58
+ }
38
59
  /**
39
60
  * Experimental assistant manifest generated from the application spec `assistant` section. `sdl` is
40
61
  * the GraphQL schema text rebuilt from the resolved manifest; `fields` maps each GraphQL object type's exposed
@@ -46,7 +67,8 @@ export interface AssistantFieldOptions {
46
67
  * the recipe groups `meta { childRecipes }` and `addChild` expose, in manifest order, and absent
47
68
  * means none; `replaceRecipes` lists the same for `meta { replaceRecipes }` and `replaceEntity`;
48
69
  * `fieldOptions` lists, per entity type, the options edges `meta` exposes for its
49
- * writable fields, and absent means none; `actions` maps each custom `Mutation` field to the
70
+ * writable fields, and absent means none; `screenshots` lists, per entity type, the views
71
+ * `meta { screenshot }` renders, and absent means none; `actions` maps each custom `Mutation` field to the
50
72
  * declared action it runs, and absent means none; `lenses` holds the generated lens fragments, and
51
73
  * absent means none: `declarations` is the text the prompt shows, each lens once with its relations
52
74
  * spreading the lens itself, and `definitions` the valid GraphQL injected into an operation that
@@ -63,9 +85,12 @@ export interface AssistantManifest {
63
85
  readonly childRecipes?: Readonly<Record<string, readonly AssistantRecipeGroup[]>>;
64
86
  readonly replaceRecipes?: Readonly<Record<string, readonly AssistantRecipeGroup[]>>;
65
87
  readonly fieldOptions?: Readonly<Record<string, readonly AssistantFieldOptions[]>>;
88
+ readonly screenshots?: Readonly<Record<string, readonly AssistantScreenshotView[]>>;
66
89
  readonly actions?: Readonly<Record<string, string>>;
67
90
  readonly lenses?: {
68
91
  readonly declarations: string;
69
92
  readonly definitions: string;
70
93
  };
94
+ /** The project's own form elements, in YAML order; absent means none. */
95
+ readonly formElements?: readonly AssistantFormElementDescriptor[];
71
96
  }
@@ -1 +1 @@
1
- export{};
1
+ export const ASSISTANT_HINTS=["sameForAllInstances","constantDuringSession"];