@salsita-ai/sdk 0.50.0-develop.b5d443db78 → 0.50.0-develop.b5dfdd9774

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 (848) hide show
  1. package/README.md +10 -3
  2. package/dist/admin/common/admin-interface.d.ts +2 -2
  3. package/dist/application-spec/errors/diagnostic-codes.d.ts +8 -0
  4. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  5. package/dist/application-spec/errors/diagnostic-messages.d.ts +9 -1
  6. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  7. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  8. package/dist/application-spec/generate-application/code/index.d.ts +1 -0
  9. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +4 -3
  10. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  11. package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +1 -1
  12. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -2
  13. package/dist/application-spec/generate-application/code/templates/application-types.js +5 -5
  14. package/dist/application-spec/generate-application/code/templates/configurator-config.js +4 -2
  15. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +0 -1
  16. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +6 -8
  17. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -0
  18. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +8 -6
  19. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +6 -8
  20. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +3 -3
  21. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-base-configurator-builder.js +2 -1
  22. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +1 -1
  23. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +38 -41
  24. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +0 -3
  25. package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
  26. package/dist/application-spec/generate-application/code/templates/editor.d.ts +1 -1
  27. package/dist/application-spec/generate-application/code/templates/editor.js +16 -3
  28. package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
  29. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
  30. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +3 -3
  31. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +10 -6
  32. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -7
  33. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +10 -11
  34. package/dist/application-spec/generate-application/code/templates/html-index.d.ts +12 -1
  35. package/dist/application-spec/generate-application/code/templates/html-index.js +9 -10
  36. package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
  37. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
  38. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +8 -36
  39. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +15 -11
  40. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +1 -1
  41. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
  42. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
  43. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.d.ts +3 -0
  44. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
  45. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
  46. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
  47. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.d.ts +3 -0
  48. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
  49. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +3 -3
  50. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +1 -1
  51. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +1 -1
  52. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +1 -1
  53. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +4 -2
  54. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +3 -3
  55. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +2 -2
  56. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +1 -1
  57. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -1
  58. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +2 -2
  59. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -1
  60. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +3 -0
  61. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +42 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.d.ts +3 -0
  63. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.js +45 -0
  64. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.d.ts +3 -0
  65. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +38 -0
  66. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.d.ts +3 -0
  67. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.js +92 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.d.ts +1 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.js +1 -0
  70. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.d.ts +3 -0
  71. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -0
  72. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.d.ts +3 -0
  73. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.js +26 -0
  74. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.d.ts +3 -0
  75. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.js +51 -0
  76. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.d.ts +3 -0
  77. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.js +38 -0
  78. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.d.ts +1 -0
  79. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.js +1 -0
  80. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.d.ts +3 -0
  81. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.js +88 -0
  82. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.d.ts +3 -0
  83. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.js +68 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.d.ts +3 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.js +1 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.d.ts +3 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +1 -1
  89. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +3 -3
  90. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -1
  91. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +3 -3
  92. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
  93. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
  94. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +29 -1
  95. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -2
  96. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +29 -15
  97. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +17 -14
  98. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +2 -2
  99. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +3 -3
  100. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +2 -0
  101. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -1
  102. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -1
  103. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +2 -2
  104. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +1 -1
  105. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -1
  106. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +1 -1
  107. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
  108. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
  109. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +2 -0
  110. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -1
  111. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.d.ts +2 -0
  112. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.js +28 -0
  113. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +0 -7
  114. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +1 -1
  115. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
  116. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +7 -6
  117. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +2 -1
  118. package/dist/application-spec/generate-application/code/templates/webhook-index.js +2 -2
  119. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +3 -0
  120. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
  121. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  122. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  123. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
  124. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
  125. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +67 -8
  126. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  127. package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
  128. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +6 -3
  129. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  130. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  131. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  132. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
  133. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  134. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
  135. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
  136. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +14 -2
  137. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -1
  138. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +7 -10
  139. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  140. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +5 -6
  141. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.js +1 -1
  142. package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
  143. package/dist/application-spec/webhook-boundary.js +1 -1
  144. package/dist/client/authorized-client.d.ts +1 -0
  145. package/dist/client/authorized-client.js +1 -1
  146. package/dist/client/cli-client/cli-api-client.d.ts +17 -0
  147. package/dist/client/cli-client/cli-api-client.js +1 -0
  148. package/dist/client/cli-client/index.d.ts +2 -0
  149. package/dist/client/cli-client/index.js +1 -0
  150. package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
  151. package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
  152. package/dist/client/contract.d.ts +28 -10
  153. package/dist/client/contract.js +1 -1
  154. package/dist/client/index.d.ts +2 -1
  155. package/dist/client/index.js +1 -1
  156. package/dist/client/local-authorized-client.d.ts +1 -0
  157. package/dist/client/local-authorized-client.js +1 -1
  158. package/dist/client/memory-authorized-client.d.ts +1 -0
  159. package/dist/client/memory-authorized-client.js +1 -1
  160. package/dist/client/phoenix-api.d.ts +7503 -2093
  161. package/dist/client/unauthenticated-client.js +1 -1
  162. package/dist/configurator/ConfiguratorApp.js +1 -1
  163. package/dist/configurator/agent-at-work/AgentAtWorkFallback.d.ts +7 -0
  164. package/dist/configurator/agent-at-work/AgentAtWorkFallback.js +1 -0
  165. package/dist/configurator/agent-at-work/AgentAtWorkPage.d.ts +20 -0
  166. package/dist/configurator/agent-at-work/AgentAtWorkPage.js +1 -0
  167. package/dist/configurator/agent-at-work/AgentModeBadge.d.ts +11 -0
  168. package/dist/configurator/agent-at-work/AgentModeBadge.js +1 -0
  169. package/dist/configurator/agent-at-work/StudioMark.d.ts +8 -0
  170. package/dist/configurator/agent-at-work/StudioMark.js +1 -0
  171. package/dist/configurator/agent-at-work/agent-at-work-copy.d.ts +17 -0
  172. package/dist/configurator/agent-at-work/agent-at-work-copy.js +1 -0
  173. package/dist/configurator/agent-at-work/agent-at-work-styles.d.ts +23 -0
  174. package/dist/configurator/agent-at-work/agent-at-work-styles.js +374 -0
  175. package/dist/configurator/agent-at-work/index.d.ts +3 -0
  176. package/dist/configurator/agent-at-work/index.js +1 -0
  177. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.d.ts +5 -4
  178. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.js +1 -1
  179. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  180. package/dist/configurator/application-runtime/extensions/selectors.d.ts +4 -2
  181. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  182. package/dist/configurator/application-runtime/extensions/systems/action-system/action-context.d.ts +14 -0
  183. package/dist/configurator/application-runtime/extensions/systems/action-system/action-factory.d.ts +13 -0
  184. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.d.ts +55 -0
  185. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.js +1 -0
  186. package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +56 -0
  187. package/dist/configurator/application-runtime/extensions/systems/action-system/action.js +1 -0
  188. package/dist/configurator/application-runtime/extensions/systems/action-system/index.d.ts +6 -0
  189. package/dist/configurator/application-runtime/extensions/systems/action-system/index.js +1 -0
  190. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.d.ts +4 -3
  191. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.js +2 -2
  192. package/dist/{domain/spec/modules → configurator/application-runtime/extensions/systems/action-system}/resolve-action-modules.d.ts +2 -2
  193. package/dist/configurator/application-runtime/extensions/systems/action-system/resolve-action-modules.js +1 -0
  194. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +14 -8
  195. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.d.ts +18 -0
  196. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.js +1 -0
  197. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.d.ts +69 -0
  198. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.js +1 -0
  199. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +246 -22
  200. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  201. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.d.ts +63 -0
  202. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.js +1 -0
  203. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +52 -36
  204. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  205. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.d.ts +13 -0
  206. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.js +1 -0
  207. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.d.ts +7 -0
  208. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.js +1 -0
  209. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +3 -0
  210. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -0
  211. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +33 -0
  212. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -0
  213. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
  214. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
  215. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.d.ts +10 -0
  216. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.js +1 -0
  217. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +41 -35
  218. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  219. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +18 -5
  220. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  221. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +8 -1
  222. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  223. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +46 -12
  224. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  225. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.d.ts +16 -0
  226. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.js +1 -0
  227. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +26 -0
  228. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -0
  229. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +25 -8
  230. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -1
  231. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
  232. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
  233. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +15 -7
  234. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  235. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +8 -3
  236. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  237. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +11 -0
  238. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  239. package/dist/configurator/application-runtime/extensions/systems/sketching-system/sketching-system.d.ts +5 -5
  240. package/dist/configurator/application-runtime/hooks/use-configurator.d.ts +3 -3
  241. package/dist/configurator/common/configurator-interface.d.ts +11 -9
  242. package/dist/configurator/common/configurator-interface.js +1 -1
  243. package/dist/configurator/index.d.ts +1 -0
  244. package/dist/configurator/index.js +1 -1
  245. package/dist/configurator/{ui/configurator-layout/universal → pages}/ExportingOverlay.d.ts +3 -2
  246. package/dist/configurator/pages/ExportingOverlay.js +1 -0
  247. package/dist/configurator/pages/InertRoot.d.ts +10 -0
  248. package/dist/configurator/pages/InertRoot.js +1 -0
  249. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  250. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  251. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  252. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.d.ts +8 -0
  253. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.js +1 -0
  254. package/dist/configurator/pages/error-boundaries/DevContextFallback.d.ts +4 -2
  255. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  256. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.d.ts +6 -4
  257. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  258. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  259. package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
  260. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  261. package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
  262. package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
  263. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
  264. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  265. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
  266. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
  267. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -1
  268. package/dist/configurator/ui/assistant/AssistantChips.d.ts +78 -6
  269. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  270. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +99 -1
  271. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  272. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +37 -3
  273. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  274. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +51 -4
  275. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  276. package/dist/configurator/ui/assistant/AssistantThread.d.ts +85 -2
  277. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  278. package/dist/configurator/ui/assistant/AssistantThreadItemView.d.ts +83 -6
  279. package/dist/configurator/ui/assistant/AssistantThreadItemView.js +1 -1
  280. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +35 -1
  281. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
  282. package/dist/configurator/ui/assistant/alert/index.d.ts +1 -1
  283. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +34 -0
  284. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -1
  285. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +2 -3
  286. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -1
  287. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -1
  288. package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +59 -5
  289. package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -1
  290. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +40 -5
  291. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -1
  292. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +6 -5
  293. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -1
  294. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +5 -0
  295. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -1
  296. package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +1 -0
  297. package/dist/configurator/ui/assistant/annotation/index.d.ts +3 -2
  298. package/dist/configurator/ui/assistant/annotation/index.js +1 -1
  299. package/dist/configurator/ui/assistant/assistant-failure.d.ts +9 -4
  300. package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
  301. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +49 -5
  302. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -1
  303. package/dist/configurator/ui/assistant/attachments/index.d.ts +1 -1
  304. package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +7 -2
  305. package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -1
  306. package/dist/configurator/ui/assistant/composer/index.d.ts +1 -1
  307. package/dist/configurator/ui/assistant/composer/index.js +1 -1
  308. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
  309. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
  310. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
  311. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
  312. package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
  313. package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
  314. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +58 -0
  315. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -0
  316. package/dist/configurator/ui/assistant/drawing/index.d.ts +2 -0
  317. package/dist/configurator/ui/assistant/drawing/index.js +1 -0
  318. package/dist/configurator/ui/assistant/drawing/parse-drawing.d.ts +18 -0
  319. package/dist/configurator/ui/assistant/drawing/parse-drawing.js +1 -0
  320. package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +8 -0
  321. package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -0
  322. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +35 -1
  323. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  324. package/dist/configurator/ui/assistant/entity-link/index.d.ts +1 -1
  325. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +59 -2
  326. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  327. package/dist/configurator/ui/assistant/form/built-in-form-slots.d.ts +16 -0
  328. package/dist/configurator/ui/assistant/form/built-in-form-slots.js +1 -0
  329. package/dist/configurator/ui/assistant/form/form-model.d.ts +9 -0
  330. package/dist/configurator/ui/assistant/form/index.d.ts +2 -1
  331. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +6 -5
  332. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -1
  333. package/dist/configurator/ui/assistant/form/read-form-tile.d.ts +8 -0
  334. package/dist/configurator/ui/assistant/form/read-form-tile.js +1 -0
  335. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +6 -3
  336. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -1
  337. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +11 -7
  338. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +1 -1
  339. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -1
  340. package/dist/configurator/ui/assistant/form/registry/index.d.ts +1 -1
  341. package/dist/configurator/ui/assistant/form/split-form-rows.d.ts +7 -0
  342. package/dist/configurator/ui/assistant/form/split-form-rows.js +1 -0
  343. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +51 -0
  344. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -1
  345. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +47 -0
  346. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -1
  347. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +43 -0
  348. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
  349. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +56 -2
  350. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -1
  351. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +43 -0
  352. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -1
  353. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +47 -0
  354. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -1
  355. package/dist/configurator/ui/assistant/form-elements/FormTile.d.ts +72 -0
  356. package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -0
  357. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +27 -0
  358. package/dist/configurator/ui/assistant/form-elements/index.d.ts +8 -9
  359. package/dist/configurator/ui/assistant/form-elements/index.js +1 -1
  360. package/dist/configurator/ui/assistant/image-view/ImageView.d.ts +66 -0
  361. package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -0
  362. package/dist/configurator/ui/assistant/image-view/index.d.ts +1 -0
  363. package/dist/configurator/ui/assistant/image-view/index.js +1 -0
  364. package/dist/configurator/ui/assistant/image-view/use-image-blob.d.ts +7 -0
  365. package/dist/configurator/ui/assistant/image-view/use-image-blob.js +1 -0
  366. package/dist/configurator/ui/assistant/index.d.ts +21 -10
  367. package/dist/configurator/ui/assistant/index.js +1 -1
  368. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.d.ts +57 -0
  369. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -0
  370. package/dist/configurator/ui/assistant/panel/index.d.ts +1 -0
  371. package/dist/configurator/ui/assistant/panel/index.js +1 -0
  372. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +43 -1
  373. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
  374. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +4 -1
  375. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -1
  376. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -2
  377. package/dist/configurator/ui/assistant/reference-link/index.js +1 -1
  378. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +49 -2
  379. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -1
  380. package/dist/configurator/ui/assistant/resource-image/index.d.ts +1 -1
  381. package/dist/configurator/ui/assistant/resource-image/index.js +1 -1
  382. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +34 -0
  383. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -1
  384. package/dist/configurator/ui/assistant/screenshots/index.d.ts +1 -1
  385. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +2 -6
  386. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
  387. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +5 -6
  388. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -1
  389. package/dist/configurator/ui/assistant/thread-items.d.ts +17 -3
  390. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  391. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +32 -7
  392. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -2
  393. package/dist/configurator/ui/assistant/use-assistant-thread.d.ts +15 -1
  394. package/dist/configurator/ui/assistant/use-assistant-thread.js +1 -1
  395. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +3 -3
  396. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -1
  397. package/dist/configurator/ui/assistant/{annotation/use-end-on-unmount.d.ts → use-on-unmount.d.ts} +1 -1
  398. package/dist/configurator/ui/assistant/use-on-unmount.js +1 -0
  399. package/dist/configurator/ui/assistant/voice/RecordingBar.d.ts +21 -0
  400. package/dist/configurator/ui/assistant/voice/RecordingBar.js +1 -0
  401. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.d.ts +43 -0
  402. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.js +1 -0
  403. package/dist/configurator/ui/assistant/voice/index.d.ts +4 -0
  404. package/dist/configurator/ui/assistant/voice/index.js +1 -0
  405. package/dist/configurator/ui/assistant/voice/use-voice-recording.d.ts +39 -0
  406. package/dist/configurator/ui/assistant/voice/use-voice-recording.js +1 -0
  407. package/dist/configurator/ui/assistant/voice/voice-capture.d.ts +22 -0
  408. package/dist/configurator/ui/assistant/voice/voice-capture.js +1 -0
  409. package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
  410. package/dist/configurator/ui/configurator-layout/index.js +1 -1
  411. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  412. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
  413. package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
  414. package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
  415. package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
  416. package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
  417. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
  418. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
  419. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
  420. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
  421. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  422. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  423. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  424. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  425. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  426. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
  427. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
  428. package/dist/configurator/ui/index.d.ts +1 -1
  429. package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
  430. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  431. package/dist/docs/index.json +130 -5
  432. package/dist/docs/integrations/woocommerce/overview.mdx +4 -2
  433. package/dist/docs/layouts/nested-view-controls.mdx +223 -0
  434. package/dist/docs/layouts/presets/custom.mdx +1 -0
  435. package/dist/docs/layouts/preview/always.mdx +22 -0
  436. package/dist/docs/layouts/view-controls.mdx +2 -0
  437. package/dist/docs/other-features/domain-actions.mdx +82 -55
  438. package/dist/docs/other-features/violation-messages.mdx +3 -1
  439. package/dist/docs/phoenix/admin.mdx +30 -34
  440. package/dist/docs/phoenix/application-states.mdx +1 -1
  441. package/dist/docs/phoenix/assistant/actions.mdx +183 -0
  442. package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
  443. package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
  444. package/dist/docs/phoenix/assistant/overview.mdx +137 -0
  445. package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
  446. package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
  447. package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
  448. package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
  449. package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
  450. package/dist/docs/phoenix/blender-rendering.mdx +3 -1
  451. package/dist/docs/phoenix/configurator-interface.mdx +105 -10
  452. package/dist/docs/phoenix/data-sources.mdx +61 -37
  453. package/dist/docs/phoenix/finalization.mdx +2 -1
  454. package/dist/docs/phoenix/getting-started.mdx +1 -1
  455. package/dist/docs/phoenix/integration/authentication-internal.mdx +2 -2
  456. package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -1
  457. package/dist/docs/phoenix/layout-slots.mdx +2 -2
  458. package/dist/docs/phoenix/localization.mdx +2 -1
  459. package/dist/docs/phoenix/migrations.mdx +1 -1
  460. package/dist/docs/phoenix/phoenix-cli.mdx +97 -57
  461. package/dist/docs/phoenix/project-structure.mdx +17 -7
  462. package/dist/docs/phoenix/sdk-builder-workflow.mdx +61 -30
  463. package/dist/docs/phoenix/sessions-and-access.mdx +62 -41
  464. package/dist/docs/phoenix/sharing.mdx +1 -1
  465. package/dist/docs/phoenix/theming.mdx +5 -9
  466. package/dist/docs/phoenix/webhook-membership.mdx +1 -1
  467. package/dist/docs/phoenix/webhooks.mdx +417 -241
  468. package/dist/docs/ux-guidelines/choosing-navigation.mdx +2 -0
  469. package/dist/docs/ux-guidelines/designing-the-configuration-journey.mdx +43 -0
  470. package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
  471. package/dist/docs/ux-guidelines/overview.mdx +11 -9
  472. package/dist/domain/admin-domain/index.d.ts +2 -2
  473. package/dist/domain/application/application-config.d.ts +8 -1
  474. package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
  475. package/dist/domain/application/assistant/assistant-exposure.js +1 -0
  476. package/dist/domain/application/assistant/assistant-selection.d.ts +30 -0
  477. package/dist/domain/application/assistant/assistant-selection.js +1 -0
  478. package/dist/domain/application/assistant/build-assistant-lenses.js +4 -4
  479. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +2 -2
  480. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  481. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +18 -2
  482. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  483. package/dist/domain/application/assistant/index.d.ts +5 -1
  484. package/dist/domain/application/assistant/index.js +1 -1
  485. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.d.ts +16 -0
  486. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.js +1 -0
  487. package/dist/domain/application/assistant/read-assistant-navigation.d.ts +40 -0
  488. package/dist/domain/application/assistant/read-assistant-navigation.js +1 -0
  489. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  490. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +30 -2
  491. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  492. package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
  493. package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
  494. package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
  495. package/dist/domain/application/assistant/session-setup/index.js +1 -1
  496. package/dist/domain/application/assistant-field-options.d.ts +2 -0
  497. package/dist/domain/application/assistant-field-options.js +1 -1
  498. package/dist/domain/application/assistant-mutations.d.ts +17 -11
  499. package/dist/domain/application/assistant-mutations.js +1 -1
  500. package/dist/domain/application/assistant-recipe-groups.d.ts +4 -3
  501. package/dist/domain/application/assistant-recipe-groups.js +1 -1
  502. package/dist/domain/application/configurator-builder.d.ts +45 -37
  503. package/dist/domain/application/configurator-builder.js +1 -1
  504. package/dist/domain/available-system-components/available-system-components.d.ts +1 -1
  505. package/dist/domain/available-system-components/available-system-components.js +1 -1
  506. package/dist/domain/core/action/action.d.ts +0 -49
  507. package/dist/domain/core/action/index.d.ts +0 -1
  508. package/dist/domain/core/action/index.js +1 -1
  509. package/dist/domain/core/component/system-component-filter.d.ts +1 -0
  510. package/dist/domain/core/component/system-component-filter.js +1 -1
  511. package/dist/domain/core/component/view-state-component.d.ts +4 -3
  512. package/dist/domain/core/component/view-state-component.js +1 -1
  513. package/dist/domain/core/domain-factory.d.ts +2 -3
  514. package/dist/domain/core/index.d.ts +1 -1
  515. package/dist/domain/core/index.js +1 -1
  516. package/dist/domain/core/invariant/control-violation-hints.d.ts +37 -0
  517. package/dist/domain/core/invariant/control-violation-hints.js +1 -0
  518. package/dist/domain/core/invariant/index.d.ts +1 -0
  519. package/dist/domain/core/invariant/index.js +1 -1
  520. package/dist/domain/domain-builder/domain-builder.d.ts +1 -6
  521. package/dist/domain/domain-builder/domain-builder.js +1 -1
  522. package/dist/domain/domain-context/domain-context-systems.d.ts +3 -5
  523. package/dist/domain/domain-context/index.d.ts +0 -1
  524. package/dist/domain/domain-context/index.js +1 -1
  525. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
  526. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  527. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  528. package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +1 -1
  529. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  530. package/dist/domain/domain-runtime/domain-context/index.d.ts +0 -1
  531. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +5 -4
  532. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  533. package/dist/domain/domain-runtime/domain-runtime.d.ts +19 -13
  534. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  535. package/dist/domain/domain-runtime/environment/actions.d.ts +1 -0
  536. package/dist/domain/domain-runtime/environment/actions.js +1 -1
  537. package/dist/domain/domain-runtime/environment/initialize.js +1 -1
  538. package/dist/domain/domain-runtime/environment/selectors.d.ts +2 -0
  539. package/dist/domain/domain-runtime/environment/selectors.js +1 -1
  540. package/dist/domain/domain-runtime/environment/types.d.ts +6 -0
  541. package/dist/domain/domain-runtime/spec/index.d.ts +0 -1
  542. package/dist/domain/domain-runtime/spec/index.js +1 -1
  543. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  544. package/dist/domain/domain-runtime/spec/selectors.d.ts +2 -2
  545. package/dist/domain/domain-runtime/spec/types.d.ts +12 -10
  546. package/dist/domain/extensions/assistant/assistant-greeting.d.ts +30 -0
  547. package/dist/domain/extensions/assistant/assistant-greeting.js +1 -0
  548. package/dist/domain/extensions/assistant/index.d.ts +1 -0
  549. package/dist/domain/extensions/assistant/index.js +1 -0
  550. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +5 -4
  551. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  552. package/dist/domain/extensions/index.d.ts +1 -1
  553. package/dist/domain/extensions/index.js +1 -1
  554. package/dist/domain/index.d.ts +1 -1
  555. package/dist/domain/index.js +1 -1
  556. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -6
  557. package/dist/domain/spec/expressions/relation-expression-params.d.ts +1 -1
  558. package/dist/domain/spec/modules/index.d.ts +0 -1
  559. package/dist/domain/spec/modules/index.js +1 -1
  560. package/dist/domain/spec/phx/phx-domain.d.ts +0 -1
  561. package/dist/domain/spec/phx/phx-domain.js +1 -1
  562. package/dist/domain/spec/runtime/application-spec-slice.d.ts +5 -5
  563. package/dist/domain/spec/runtime/application-spec-slice.js +1 -1
  564. package/dist/domain/spec/runtime/create-application.d.ts +5 -2
  565. package/dist/domain/spec/runtime/create-application.js +1 -1
  566. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +2 -2
  567. package/dist/domain/spec/sections/actions.d.ts +3 -2
  568. package/dist/domain/spec/sections/app-metadata.d.ts +3 -0
  569. package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
  570. package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
  571. package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +35 -2
  572. package/dist/domain/spec/sections/assistant/assistant-navigation.d.ts +21 -0
  573. package/dist/domain/spec/sections/assistant/assistant-navigation.js +1 -0
  574. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +55 -13
  575. package/dist/domain/spec/sections/assistant/assistant-select.d.ts +12 -0
  576. package/dist/domain/spec/sections/assistant/assistant-select.js +1 -0
  577. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.d.ts +10 -26
  578. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.js +1 -1
  579. package/dist/domain/spec/sections/assistant/index.d.ts +5 -2
  580. package/dist/domain/system-components/index.d.ts +1 -0
  581. package/dist/domain/system-components/index.js +1 -1
  582. package/dist/domain/system-components/navigation/index.d.ts +1 -0
  583. package/dist/domain/system-components/navigation/index.js +1 -0
  584. package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
  585. package/dist/domain/system-components/navigation/view-controls.js +1 -0
  586. package/dist/editor/Editor.d.ts +5 -0
  587. package/dist/editor/Editor.js +1 -1
  588. package/dist/editor/EditorMode.d.ts +2 -0
  589. package/dist/editor/EditorMode.js +1 -1
  590. package/dist/editor/agent-mode/AgentModeBridge.d.ts +10 -0
  591. package/dist/editor/agent-mode/AgentModeBridge.js +1 -0
  592. package/dist/editor/agent-mode/agent-at-work-fonts.d.ts +2 -0
  593. package/dist/editor/agent-mode/agent-at-work-fonts.js +1 -0
  594. package/dist/editor/console-reporter/BrowserConsoleReporter.js +1 -1
  595. package/dist/editor/console-reporter/console-capture.d.ts +20 -0
  596. package/dist/editor/console-reporter/console-capture.js +1 -0
  597. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  598. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  599. package/dist/editor/domain-editors/use-implementation-files.d.ts +4 -3
  600. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  601. package/dist/editor/index.d.ts +1 -0
  602. package/dist/editor/index.js +1 -1
  603. package/dist/editor/variants/VariantAnswerFooter.d.ts +8 -1
  604. package/dist/editor/variants/VariantAnswerFooter.js +1 -1
  605. package/dist/editor/variants/VariantPageUnavailable.d.ts +5 -0
  606. package/dist/editor/variants/VariantPageUnavailable.js +1 -0
  607. package/dist/editor/variants/VariantPreviewHandler.js +1 -1
  608. package/dist/editor/variants/variant-preview-fonts.d.ts +2 -0
  609. package/dist/editor/variants/variant-preview-fonts.js +1 -0
  610. package/dist/editor/variants/variant-preview-styles.d.ts +40 -48
  611. package/dist/editor/variants/variant-preview-styles.js +493 -1
  612. package/dist/extras/cognito/CognitoSignInPage.d.ts +2 -0
  613. package/dist/extras/cognito/CognitoSignInPage.js +1 -0
  614. package/dist/extras/cognito/index.d.ts +1 -0
  615. package/dist/extras/cognito/index.js +1 -0
  616. package/dist/globals/index.d.ts +5 -0
  617. package/dist/i18n/locales/cs/messages.js +1 -1
  618. package/dist/i18n/locales/da/messages.js +1 -1
  619. package/dist/i18n/locales/de/messages.js +1 -1
  620. package/dist/i18n/locales/de-AT/messages.js +1 -1
  621. package/dist/i18n/locales/en/messages.js +1 -1
  622. package/dist/i18n/locales/en-AU/messages.js +1 -1
  623. package/dist/i18n/locales/en-GB/messages.js +1 -1
  624. package/dist/i18n/locales/es/messages.js +1 -1
  625. package/dist/i18n/locales/fr/messages.js +1 -1
  626. package/dist/i18n/locales/hu/messages.js +1 -1
  627. package/dist/i18n/locales/it/messages.js +1 -1
  628. package/dist/i18n/locales/nl/messages.js +1 -1
  629. package/dist/i18n/locales/pl/messages.js +1 -1
  630. package/dist/i18n/locales/pt/messages.js +1 -1
  631. package/dist/i18n/locales/ro/messages.js +1 -1
  632. package/dist/i18n/locales/sk/messages.js +1 -1
  633. package/dist/i18n/locales/tr/messages.js +1 -1
  634. package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
  635. package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
  636. package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
  637. package/dist/legacy/domain-cli/gen/configurator-builder.js +5 -4
  638. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  639. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  640. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +25 -3
  641. package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
  642. package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
  643. package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
  644. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  645. package/dist/legacy/webhook-cli/lib/webhook-boundary.js +1 -1
  646. package/dist/phoenix/application-spec/application-spec-builder.d.ts +2 -2
  647. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  648. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +2 -1
  649. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  650. package/dist/phoenix/application-spec/generate-project-files.d.ts +4 -3
  651. package/dist/phoenix/application-spec/generate-project-files.js +1 -1
  652. package/dist/phoenix/application-spec/index.d.ts +2 -1
  653. package/dist/phoenix/application-spec/index.js +1 -1
  654. package/dist/phoenix/application-spec/read-spec-project.d.ts +1 -2
  655. package/dist/phoenix/application-spec/read-spec-project.js +1 -1
  656. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +1 -0
  657. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  658. package/dist/phoenix/cli.js +1 -1
  659. package/dist/phoenix/commands/account/index.d.ts +1 -0
  660. package/dist/phoenix/commands/account/index.js +1 -0
  661. package/dist/phoenix/commands/account/whoami.d.ts +10 -0
  662. package/dist/phoenix/commands/account/whoami.js +4 -0
  663. package/dist/phoenix/commands/build.d.ts +2 -1
  664. package/dist/phoenix/commands/build.js +1 -1
  665. package/dist/phoenix/commands/clean.d.ts +2 -1
  666. package/dist/phoenix/commands/clean.js +1 -1
  667. package/dist/phoenix/commands/cleanup-environment.js +1 -1
  668. package/dist/phoenix/commands/deploy.d.ts +7 -2
  669. package/dist/phoenix/commands/deploy.js +9 -3
  670. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  671. package/dist/phoenix/commands/dev.d.ts +2 -1
  672. package/dist/phoenix/commands/dev.js +4 -4
  673. package/dist/phoenix/commands/feedback.d.ts +2 -2
  674. package/dist/phoenix/commands/feedback.js +1 -1
  675. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  676. package/dist/phoenix/commands/index.d.ts +1 -0
  677. package/dist/phoenix/commands/index.js +1 -1
  678. package/dist/phoenix/commands/init-starter-spec.js +3 -4
  679. package/dist/phoenix/commands/init.d.ts +2 -2
  680. package/dist/phoenix/commands/init.js +1 -1
  681. package/dist/phoenix/commands/login.d.ts +6 -3
  682. package/dist/phoenix/commands/login.js +3 -3
  683. package/dist/phoenix/commands/logout.js +1 -1
  684. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  685. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  686. package/dist/phoenix/commands/sync.d.ts +2 -1
  687. package/dist/phoenix/commands/sync.js +1 -1
  688. package/dist/phoenix/services/application-spec-project-watcher.d.ts +3 -1
  689. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  690. package/dist/phoenix/services/cli-credentials.d.ts +26 -7
  691. package/dist/phoenix/services/cli-credentials.js +2 -2
  692. package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
  693. package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
  694. package/dist/phoenix/services/cli-server/index.d.ts +2 -0
  695. package/dist/phoenix/services/cli-server/index.js +1 -0
  696. package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +19 -0
  697. package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
  698. package/dist/phoenix/services/dev-experience/dev-experience.d.ts +31 -0
  699. package/dist/phoenix/services/dev-experience/dev-experience.js +1 -0
  700. package/dist/phoenix/services/dev-experience/index.d.ts +3 -0
  701. package/dist/phoenix/services/dev-experience/index.js +1 -0
  702. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.d.ts +7 -0
  703. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.js +1 -0
  704. package/dist/phoenix/services/dev-experience/regenerated-page-experience.d.ts +24 -0
  705. package/dist/phoenix/services/dev-experience/regenerated-page-experience.js +1 -0
  706. package/dist/phoenix/services/development-credential.js +1 -1
  707. package/dist/phoenix/services/frontend-config.d.ts +2 -0
  708. package/dist/phoenix/services/index.d.ts +6 -3
  709. package/dist/phoenix/services/index.js +1 -1
  710. package/dist/phoenix/services/phoenix-pubsub.d.ts +4 -0
  711. package/dist/phoenix/services/phoenix-regions.d.ts +6 -1
  712. package/dist/phoenix/services/phoenix-regions.js +1 -1
  713. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  714. package/dist/phoenix/services/session/phoenix-application.d.ts +2 -1
  715. package/dist/phoenix/services/session/phoenix-application.js +2 -2
  716. package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
  717. package/dist/phoenix/services/signed-in-development-environment.js +1 -1
  718. package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
  719. package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
  720. package/dist/phoenix/services/spec-project/index.d.ts +3 -0
  721. package/dist/phoenix/services/spec-project/index.js +1 -0
  722. package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
  723. package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
  724. package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
  725. package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
  726. package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
  727. package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
  728. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -1
  729. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +1 -1
  730. package/dist/phoenix/services/telemetry/telemetry-state.js +1 -1
  731. package/dist/phoenix/services/variant-file-session.js +1 -1
  732. package/dist/phoenix/services/vite-config.d.ts +2 -1
  733. package/dist/phoenix/services/vite-config.js +1 -1
  734. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  735. package/dist/react-sdk/application-runtime/common-services/index.d.ts +1 -0
  736. package/dist/react-sdk/application-runtime/common-services/index.js +1 -1
  737. package/dist/react-sdk/application-runtime/common-services/selectors.d.ts +2 -0
  738. package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
  739. package/dist/react-sdk/application-runtime/common-services/webmcp/index.d.ts +3 -0
  740. package/dist/react-sdk/application-runtime/common-services/webmcp/index.js +1 -0
  741. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.d.ts +35 -0
  742. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.js +1 -0
  743. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.d.ts +44 -0
  744. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.js +1 -0
  745. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.d.ts +24 -0
  746. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.js +1 -0
  747. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.d.ts +7 -1
  748. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.js +1 -1
  749. package/dist/react-sdk/application-runtime/domain-application-context/domain-application-systems.d.ts +2 -2
  750. package/dist/react-sdk/application-runtime/domain-application-context/selectors.d.ts +1 -3
  751. package/dist/react-sdk/application-runtime/domain-application-context/selectors.js +1 -1
  752. package/dist/react-sdk/application-runtime/hooks/index.d.ts +1 -0
  753. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  754. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +2 -0
  755. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -1
  756. package/dist/react-sdk/application-runtime/hooks/use-environment.d.ts +7 -0
  757. package/dist/react-sdk/application-runtime/hooks/use-environment.js +1 -1
  758. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  759. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.d.ts +7 -0
  760. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.js +1 -0
  761. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  762. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +6 -0
  763. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -1
  764. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -1
  765. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -1
  766. package/dist/react-sdk/application-runtime/responsive/types.d.ts +9 -0
  767. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +28 -12
  768. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  769. package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
  770. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +2 -2
  771. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +1 -1
  772. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.js +1 -1
  773. package/dist/react-sdk/domain-context/index.d.ts +3 -2
  774. package/dist/react-sdk/domain-context/index.js +1 -1
  775. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +1 -5
  776. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -1
  777. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
  778. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
  779. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
  780. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  781. package/dist/react-sdk/preset-selection/PresetSelectionProvider.d.ts +11 -0
  782. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
  783. package/dist/react-sdk/preset-selection/PresetWebMcpTools.d.ts +14 -0
  784. package/dist/react-sdk/preset-selection/PresetWebMcpTools.js +1 -0
  785. package/dist/react-sdk/preset-selection/index.d.ts +2 -1
  786. package/dist/react-sdk/preset-selection/index.js +1 -1
  787. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.d.ts +31 -0
  788. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.js +1 -0
  789. package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
  790. package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
  791. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  792. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  793. package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
  794. package/dist/ui-sdk/components/preview/Preview.js +2 -2
  795. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +3 -2
  796. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  797. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
  798. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
  799. package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
  800. package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
  801. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
  802. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
  803. package/dist/ui-sdk/icons/__generated/Microphone.d.ts +3 -0
  804. package/dist/ui-sdk/icons/__generated/Microphone.js +1 -0
  805. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.d.ts +3 -0
  806. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.js +1 -0
  807. package/dist/ui-sdk/icons/__generated/SpeakerHigh.d.ts +3 -0
  808. package/dist/ui-sdk/icons/__generated/SpeakerHigh.js +1 -0
  809. package/dist/ui-sdk/icons/__generated/SpeakerSlash.d.ts +3 -0
  810. package/dist/ui-sdk/icons/__generated/SpeakerSlash.js +1 -0
  811. package/dist/ui-sdk/icons/__generated/Stop.d.ts +3 -0
  812. package/dist/ui-sdk/icons/__generated/Stop.js +1 -0
  813. package/dist/ui-sdk/icons/__generated/index.d.ts +10 -0
  814. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  815. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  816. package/dist/ui-sdk/theme/types.d.ts +0 -4
  817. package/dist/webhook/builders/auth-handler-builder.d.ts +3 -0
  818. package/dist/webhook/builders/auth-handler-builder.js +1 -1
  819. package/dist/webhook/builders/common.d.ts +5 -3
  820. package/dist/webhook/builders/webhook-builder.d.ts +5 -0
  821. package/dist/webhook/builders/webhook-builder.js +1 -1
  822. package/package.json +11 -4
  823. package/schema/domain-spec.json +444 -65
  824. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.d.ts +0 -2
  825. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.js +0 -1
  826. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +0 -2
  827. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +0 -25
  828. package/dist/configurator/ui/assistant/annotation/annotation-host-context.d.ts +0 -5
  829. package/dist/configurator/ui/assistant/annotation/annotation-host-context.js +0 -1
  830. package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.js +0 -1
  831. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +0 -9
  832. package/dist/configurator/ui/assistant/form-elements/FormCard.js +0 -1
  833. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +0 -10
  834. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +0 -1
  835. package/dist/configurator/ui/assistant/theme.d.ts +0 -2
  836. package/dist/configurator/ui/assistant/theme.js +0 -1
  837. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +0 -1
  838. package/dist/domain/core/action/action-factory.d.ts +0 -11
  839. package/dist/domain/domain-context/action-system/action-system.d.ts +0 -38
  840. package/dist/domain/domain-context/action-system/action-system.js +0 -1
  841. package/dist/domain/domain-context/action-system/index.d.ts +0 -1
  842. package/dist/domain/domain-context/action-system/index.js +0 -1
  843. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +0 -11
  844. package/dist/domain/extensions/view-controls.d.ts +0 -25
  845. package/dist/domain/extensions/view-controls.js +0 -1
  846. package/dist/domain/spec/modules/resolve-action-modules.js +0 -1
  847. /package/dist/{domain/domain-runtime/domain-context → configurator/application-runtime/extensions/systems/action-system}/action-context.js +0 -0
  848. /package/dist/{domain/core/action → configurator/application-runtime/extensions/systems/action-system}/action-factory.js +0 -0
@@ -558,12 +558,12 @@ The `application.yaml` file contains global application-level settings. These fi
558
558
 
559
559
  ### Core Application
560
560
 
561
- | Field | Type | Description |
562
- | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
563
- | `project` | `string` | Server project `phoenix dev` develops in: a project slug, or `default` for the default project of the signed-in workspace. Read only by the CLI; overridden by `--projectSlug` and `PROJECT_SLUG` |
564
- | `applicationVersion` | `string` | Semantic version (`x.y.z`) exported as `ApplicationVersion` constant, stored on the deployment record and named in the banner comment of built bundles |
565
- | `webComponentTag` | `string` | Custom HTML web component tag name for embedding |
566
- | `pageTitle` | `string` | Browser page title |
561
+ | Field | Type | Description |
562
+ | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
563
+ | `project` | `string` | Server project for `phoenix dev` and `phoenix deploy`: a project slug. `--project` overrides it on both commands, and dev also takes `--projectSlug` and `PROJECT_SLUG`. When neither names a project, the commands choose from the projects the sign-in can reach |
564
+ | `applicationVersion` | `string` | Semantic version (`x.y.z`) exported as `ApplicationVersion` constant, stored on the deployment record and named in the banner comment of built bundles |
565
+ | `webComponentTag` | `string` | Custom HTML web component tag name for embedding |
566
+ | `pageTitle` | `string` | Browser page title |
567
567
 
568
568
  ### Internationalization
569
569
 
@@ -588,6 +588,16 @@ The `application.yaml` file contains global application-level settings. These fi
588
588
  | `workspace` | `boolean` | Enable multi-user workspace collaboration |
589
589
  | `collectFinalizeData` | `boolean` | Collect data during finalization |
590
590
 
591
+ ### 3D Assets
592
+
593
+ `gltfDecoderWorkerLimit` and `exportPixelRatio` apply only to projects built with the application-spec pipeline.
594
+
595
+ | Field | Type | Description |
596
+ | ------------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
597
+ | `gltfDecoder` | `'wasm'\|'js'` | Draco decoder build (default: `wasm`); see [CSP](?path=/docs/phoenix-csp--docs) |
598
+ | `gltfDecoderWorkerLimit` | positive integer | Most Draco decoder workers alive at once (default: `4`). Each worker holds its own decoder heap, so a lower limit saves memory on phones with large models at the cost of decode speed |
599
+ | `exportPixelRatio` | positive number | Pixel ratio image captures render at (default: the device pixel ratio). A lower ratio keeps the canvas smaller during a capture, but postprocessing effects, glass transmission and `PointsMaterial` point sizes then render at that ratio in the exported image |
600
+
591
601
  ### UI Configuration
592
602
 
593
603
  | Field | Type | Description |
@@ -668,7 +678,7 @@ env:
668
678
  ### Example application.yaml
669
679
 
670
680
  ```yaml
671
- project: default
681
+ project: my-configurator
672
682
  applicationVersion: '1.0.0'
673
683
  webComponentTag: 'my-configurator'
674
684
  pageTitle: 'Product Configurator'
@@ -1,15 +1,15 @@
1
1
  # SDK Builder Workflow
2
2
 
3
- An SDK-builder workspace lets you build one configurator from the application spec and develop and deploy it from your terminal. You don't need a repository, a CI pipeline, project keys or a development key. You write `spec/` and `src/`, run `phoenix dev` to develop and `phoenix deploy` to go live, and the platform builds and deploys the project for you.
3
+ An SDK-builder workspace lets you build configurators from application specs and develop and deploy them from your terminal. You don't need a repository, a CI pipeline, project keys or a development key. You write `spec/` and `src/`, run `phoenix dev` to develop and `phoenix deploy` to go live, and the platform builds and deploys the project for you.
4
4
 
5
- Your workspace comes with one project and one `production` environment. Its first deployment is a hello-world configurator, so you have a live link before you change anything.
5
+ Your workspace starts with one project, which has a `production` environment; staff can add more projects. A new project starts empty: setting it up takes about a minute, and nothing is live until your first `phoenix deploy`, which also creates the address your configurator is served at.
6
6
 
7
- Your workspace's Studio shows the setup, the link to your configurator and the setup steps with your workspace filled in. If the first deployment fails, Studio shows why and lets you retry it.
7
+ Your workspace's Studio shows the setup, the setup steps with your project filled in and, once you have deployed, the link to your configurator. If the setup fails, Studio shows why and lets you retry it with **Retry setup**.
8
8
 
9
9
  ## Before you start
10
10
 
11
11
  - **Package access:** `@salsita-ai/sdk` is public on npm; any package manager downloads it without a registry token.
12
- - **Workspace details:** you need your workspace slug and its Phoenix region (`eu` or `us`), which you also received with your workspace.
12
+ - **Workspace details:** you need the Phoenix region of your workspace (`eu` or `us`), which you received with it. The project slug to deploy to is shown in Studio.
13
13
  - **Tools:** Node.js and a package manager. The commands below use pnpm; with npm, run `npm install` and `npx phoenix …` instead, with Yarn `yarn phoenix …`, with Bun `bunx phoenix …`.
14
14
  - **SDK build:** during the internal beta, use the `canary` build of the SDK, as the commands below do. It is published from every change to the platform, so it is newer than the last release.
15
15
 
@@ -28,28 +28,48 @@ pnpm phoenix sync
28
28
 
29
29
  Phoenix writes no package-manager settings. With pnpm 11, add a `pnpm-workspace.yaml` that allows the build scripts of the SDK's dependencies before the first install; [Package manager](?path=/docs/phoenix-project-structure--docs#package-manager) has the file.
30
30
 
31
- The starter `spec/application.yaml` begins with `project: default`, which means the default project of the workspace you sign in to. Leave it as it is; a workspace has one project.
31
+ The starter `spec/application.yaml` names no project. After `phoenix login`, `phoenix dev` and `phoenix deploy` work in the project that `--project <slug>` names, else the one `project` in the spec names. With neither, in a terminal they let you select one of the projects your account can reach and offer to write `project: <slug>` into the spec; without a terminal they use the only project you can reach and print the line to add, or stop and list the projects when there are several. To develop and deploy another project, set `project` to its actual slug. Staff can create projects in your workspace, and workspace superadmins create them in Studio; pick the project in the project switcher at the top of Studio's sidebar (on a phone, the **Projects** tab) to see its overview, builds, environment variables and allowed sites. The switcher finds a project by its name or slug and keeps the page you are on, and the overview of a live project shows the `project: <slug>` line and the sign-in and deploy commands under **Deploy from the CLI**.
32
32
 
33
33
  ## 2. Sign in
34
34
 
35
35
  ```bash
36
- pnpm phoenix login <workspace>
36
+ pnpm phoenix login
37
37
  ```
38
38
 
39
- `phoenix login` opens Studio, where you name the token and approve the sign-in. Only a super admin of the workspace can open Studio, so only a super admin can approve it. The CLI suggests `phoenix CLI on <computer>`; a name of your own, such as its purpose and the machine, tells your tokens apart later. Studio sends a one-time code back to the CLI on `127.0.0.1`, the CLI exchanges it for a personal token and returns the browser to Studio, which confirms the sign-in. The code only works for the CLI that asked for it and expires after five minutes. **Deny** stops the waiting CLI at once and creates no token. Use `--no-open` to print the link instead of opening a browser.
39
+ `phoenix login` opens Studio, where you name the token and approve the sign-in. The approval page shows who signs in, the computer the CLI runs on, when the link expires and what the sign-in can reach: every project of the workspaces where you are a Superadmin, and the projects you manage elsewhere. You can approve a personal sign-in before receiving project access, and the page then says that it cannot develop or deploy anything yet; developing and deploying require a current project Superadmin grant or workspace Superadmin membership. The CLI suggests `phoenix CLI on <computer>`; a name of your own, such as its purpose and the machine, tells your tokens apart later. Studio sends a one-time code back to the CLI on `127.0.0.1`, the CLI exchanges it for a personal token and returns the browser to Studio, which confirms the sign-in. The code only works for the CLI that asked for it and expires after five minutes. **Deny** stops the waiting CLI at once and creates no token. Use `--no-open` to print the link instead of opening a browser.
40
40
 
41
- The CLI stores the token in `~/.phoenix/credentials.json`, readable only by you, with one entry per server. `PHOENIX_CREDENTIALS_FILE` moves the file. The token acts for you in your workspace until you revoke it. It stops working when you are removed from the workspace or banned.
41
+ The CLI stores the token in `~/.phoenix/credentials.json`, readable only by you, with one entry per server. `PHOENIX_CREDENTIALS_FILE` moves the file. The token follows your current access across SDK-builder workspaces until you revoke it. Removing workspace membership or a project grant immediately removes access to that target; disabling your account blocks the token. `pnpm phoenix whoami` shows the current accessible projects. The legacy `phoenix login <workspace>` command still issues a workspace-bound token. Tokens cannot manage users, roles or other tokens.
42
42
 
43
- `pnpm phoenix logout` revokes the token and removes it from the file. Studio's **CLI tokens** page lists your tokens by the names you gave them, with when they were last used, and revokes any of them, for example one left on another computer. A revoked token leaves the list.
43
+ `pnpm phoenix logout` revokes the token and removes it from the file. Studio's **Tokens** page lists your CLI sign-ins by the names you gave them, with when they were last used, and revokes any of them, for example one left on another computer. A revoked token leaves the list.
44
44
 
45
- `login`, `logout` and `deploy` follow the region, not the `SERVER_URL` in the project's `.env`. `dev` follows the region too when `.env` has no `SERVER_URL`:
45
+ `login`, `dev`, `deploy`, `whoami`, `logout` and `feedback` choose the server by one rule: a flag (`--serverUrl`, else `--region`), then `SERVER_URL`, then `PHOENIX_REGION`, each from the environment or `.env`, then the server of your current saved sign-in, then the `eu` region. After `phoenix login --region us`, the other commands therefore reach the US server without a flag. `whoami` shows the account, the server and whether the project of the current folder is reachable, and `deploy` prints the same target before it packs:
46
46
 
47
- | Flag | Default | Description |
48
- | ---------------------- | ------------------------------------ | ------------------------------------------------ |
49
- | `--region` | `eu` | Phoenix region of the workspace: `eu` or `us` |
50
- | `--serverUrl` / `--su` | the region's server | Phoenix server URL, for a local or custom server |
51
- | `--studioUrl` | the workspace's Studio in the region | Studio URL of the workspace (`login`) |
52
- | `--open` | `true` | Open the approval page in your browser (`login`) |
47
+ | Flag | Default | Description |
48
+ | ---------------------- | -------------------------------------------- | ------------------------------------------------ |
49
+ | `--region` | your saved sign-in, else `eu` | Phoenix region to sign in to: `eu` or `us` |
50
+ | `--serverUrl` / `--su` | your saved sign-in, else the region's server | Phoenix server URL, for a local or custom server |
51
+ | `--studioUrl` | the Studio of the server | Studio URL matching the server (`login`) |
52
+ | `--open` | `true` | Open the approval page in your browser (`login`) |
53
+
54
+ ## Automation tokens
55
+
56
+ In Studio's **Tokens** page, choose **Create automation token**. Choose one project (the default) or the current workspace, give the token a name and choose when it expires: in 30, 90 (the default) or 365 days, on a day up to a year ahead, or never, which Studio advises against. Copy the secret when it appears: it is shown only once, and **Copy and close** closes only after the copy worked. Scope and deploy-only permissions are immutable; revoke and replace a token to change them.
57
+
58
+ The token's owners and the superadmins of its project and workspace get an email 7 days before it expires. **Regenerate** gives the same token a new secret that expires its original lifetime from today: the old secret stops working at once, so replace it in your CI right after. An expired token is refused with a message naming the day it expired, which `phoenix deploy` prints; regenerate it, or **Remove** it from the list. Tokens created before expiry existed show **No expiry**.
59
+
60
+ Supply `PHOENIX_API_TOKEN` through your CI secret store in the process environment, then run `phoenix whoami --region <region>` or `phoenix deploy --region <region>`. The variable takes precedence over saved login for these two commands. It is never saved to the credentials file, read from dotenv files, or included in generated project environment variables. An empty or malformed value fails without falling back to saved login. `phoenix logout` still revokes the saved interactive login; revoke automation credentials in Studio.
61
+
62
+ A token limited to one project deploys to that project with no further setting. A token for a whole workspace with several projects needs the project named, with `project: <project-slug>` in `spec/application.yaml` or `--project <project-slug>`: without a terminal, deploy stops and lists the projects instead of choosing one.
63
+
64
+ Automation tokens use `phxa_` and require server API 1.76.0 or later. They can upload sources, start builds and read status/logs within their scope; they cannot develop, submit feedback or administer users, roles or tokens. `whoami` shows only scoped projects. A token belongs to its workspace or to the one project it is scoped to, not to the person who created it: it keeps working when that person leaves the workspace, is suspended or changes role, so CI keeps deploying. Only a workspace Superadmin can create a workspace-wide token, which reaches every project of the workspace, including ones created later. Revocation takes effect on the next request, and a token stops working while its workspace is suspended. A project token stays bound to its original workspace and cannot access a project moved out of it. Existing personal and workspace login tokens keep their behavior.
65
+
66
+ ## Team token administration
67
+
68
+ **Your CLI sign-ins** shows your own personal credentials; every sign-in acts as you, so they all reach the same projects. They don't expire; one unused for 90 days is marked **Unused for 3 months**, and every new sign-in emails your account. Without a Builder workspace you find and revoke your sign-ins on your account screen instead. **Automation tokens** shows every automation token you manage, including the ones you created: workspace Superadmins see, regenerate and revoke all automation tokens of the workspace, project Superadmins those restricted to a project they manage. The creator of a token has no special rights over it; each row names its creator and says when that person is no longer a member. Workspace Superadmins can also revoke other members' legacy workspace login tokens. Revoke stops the whole token; it does not remove membership or alter other tokens. The confirmation shows the scope, the creator, the last use and the expiry.
69
+
70
+ Removing a member stops their CLI sign-ins in the workspace. The automation tokens they created keep working, and the person may still hold a copy of the secrets: the Remove member dialog lists those tokens and offers to revoke them with the removal.
71
+
72
+ Applicable broader workspace and cross-workspace personal tokens are shown read-only with a generic name, hint and local applicability. Their original names and global last-use timestamps are hidden to protect unrelated work. Only tokens wholly within your authority show full names and usage. Cross-workspace personal CLI credentials can be revoked only by their owners. Remove someone's workspace membership or project grant to stop those credentials accessing that target. Staff use **Customer → API tokens** for Cognito Builder customers without joining their workspace. Partial revocation of a broader token and administrative audit history are unavailable. Use **Load more tokens** to see further credentials; a failed page load keeps the rows already shown so you can retry.
53
73
 
54
74
  ## 3. Develop
55
75
 
@@ -57,9 +77,9 @@ The CLI stores the token in `~/.phoenix/credentials.json`, readable only by you,
57
77
  pnpm phoenix dev
58
78
  ```
59
79
 
60
- Signed in, `phoenix dev` needs no `.env` and nothing set up in Studio. When it starts, it asks the server for your development environment in the project the spec names. The server creates that environment the first time and finds it again on every later run. `phoenix dev` prints the workspace, project and environment it works in, prepares a development deployment there and opens the webhook tunnel, as for any Phoenix project (see [Phoenix CLI](?path=/docs/phoenix-phoenix-cli--docs)). It then prints the address of the preview as `Preview: <url>`; the preview talks to the server the deployment was prepared on.
80
+ Signed in, `phoenix dev` needs no `.env` and nothing set up in Studio beyond access to the project. When it starts, it asks the server for your development environment in the project the spec names. The server creates that environment the first time and finds it again on every later run. `phoenix dev` prints the project and environment it works in, prepares a development deployment there and opens the webhook tunnel, as for any Phoenix project (see [Phoenix CLI](?path=/docs/phoenix-phoenix-cli--docs)). It then prints the address of the preview as `Preview: <url>`; the preview talks to the server the deployment was prepared on.
61
81
 
62
- Every user who signs the CLI in gets their own development environment, so a teammate (a super admin of the workspace, like you) who clones the project and signs in doesn't overwrite your schema or take over your webhooks. The development environment is separate from `production`: nothing you do in `phoenix dev` changes the live configurator.
82
+ Every user who signs the CLI in gets their own development environment, so a teammate with access to the project who clones it and signs in doesn't overwrite your schema or take over your webhooks. The development environment is separate from `production`: nothing you do in `phoenix dev` changes the live configurator.
63
83
 
64
84
  `pnpm phoenix dev --persistence local-storage` still runs the project without any server, with state kept in the browser.
65
85
 
@@ -67,26 +87,37 @@ Every user who signs the CLI in gets their own development environment, so a tea
67
87
 
68
88
  ```bash
69
89
  pnpm phoenix deploy
90
+ pnpm phoenix deploy --env staging
70
91
  ```
71
92
 
93
+ `phoenix deploy` builds into a **preview**, never into production. Every new project has `production` and a preview called `preview`; you can have up to three previews and create or delete them in Studio (the environment picker's **New preview**, or Project settings). Without `--env` the deploy builds into `preview`, and creates it when your project has none. `--env <name>` builds into another preview that already exists. Production changes only when you **promote** a preview build in Studio, or roll it back to an earlier build (see Roll back production below).
94
+
72
95
  `phoenix deploy` goes through these steps:
73
96
 
74
97
  1. It validates the application spec.
75
98
  2. It packs the project files: the `.yaml` files in `spec`, everything in `src`, `mocks`, `assets`, `public` and `templates`, and `package.json`, `tsconfig.json`, `pnpm-lock.yaml`, `pnpm-workspace.yaml`, `.gitignore`, `CLAUDE.md` and `.cursor/rules/phoenix.mdc`. Project-owned `.phoenix/workspace/` records and the client documents in `docs/` also travel in the private source archive; they are excluded from build inputs and public assets. Other `.phoenix` contents, every `node_modules` and `__generated` folder, every `.DS_Store` and `._*` file and every `.env` and `.env.*` file are left out.
76
- 3. It asks the server for a build. The server compares your domain model with the deployed one and refuses, before anything is uploaded, a model that changed under an already deployed model version; see [Migrations](?path=/docs/phoenix-migrations--docs).
99
+ 3. It asks the server for a build in the preview. A preview replaces a stored schema that changed under the same model version, because its saved configurations are test data; production does not, so promoting such a build is refused (see [Migrations](?path=/docs/phoenix-migrations--docs)).
77
100
  4. It uploads the archive, which may be up to 200 MB.
78
- 5. It starts the build, prints a link to the build's page in Studio and follows the build until your configurator is live, then prints its URL.
101
+ 5. It starts the build, prints its number and a link to the build's page in Studio and follows the build until the preview is live, then prints its URL. Builds of one preview run one at a time: a build started while another runs there waits in a queue, first in, first out, and starts by itself; the deploy says what it waits for. At most three builds wait per environment.
79
102
 
80
103
  On the server, the install runs pnpm. It follows your `pnpm-lock.yaml` and `pnpm-workspace.yaml` when the project has them, so a pnpm project gets the same build scripts and package versions as on your computer; without them, pnpm resolves `package.json` with the settings the SDK needs. The build runs without platform secrets. It sees only your own environment variables and the public platform values, the [build environment](?path=/docs/phoenix-phoenix-cli--docs) that `phoenix deployment:build-envs` writes. The trusted deploy step then publishes the frontend, webhooks and assets.
81
104
 
82
- If the build fails, is cancelled or takes too long, `phoenix deploy` prints the end of the build log and exits with an error. `--no-wait` returns as soon as the build starts.
105
+ 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 or joins the queue.
106
+
107
+ ### Promote to production
83
108
 
84
- Studio's **Builds & deployments** page lists your builds, 20 to a page, and shows which one your configurator serves. Filter it to the live build or to the builds that failed. Each build shows its progress, its error and the full build log while it runs, and who deployed it with which CLI token.
109
+ Check the preview, then choose **Promote #N to production** on the preview's overview or the build's page. Production builds the same uploaded files again with production's environment variables, and keeps serving its current build until the new one is live; a promotion that fails before it switches production's frontend changes nothing there. The dialog shows what production serves now, whether production accepts the build's data schema (a changed model under the same version is refused, as above) and the variables the preview sets that production does not. The first promotion also sets up production's hosting, which takes a few minutes longer. Every promotion is a build in production that names the preview build it came from.
85
110
 
86
- **Rebuild** on a build's page builds the files uploaded with that build again, with your environment variables as they are now, without a new `phoenix deploy`. Use it after changing a variable, or when a build failed for a reason on our side. If the rebuild succeeds it goes live, so rebuilding an older build rolls production back to it.
111
+ Studio's **Builds** page lists the builds of the environment you are in, 20 to a page, and shows which one your configurator serves. Filter the listed builds by build number or by who deployed them. Each build shows its progress, its error and the full build log while it runs, and who deployed it with which CLI token.
112
+
113
+ **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. A rebuild waits for a running build of the same environment.
87
114
 
88
115
  `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.
89
116
 
117
+ ### Roll back production
118
+
119
+ When a promotion goes wrong, choose **Roll back** on production's overview, in the header for the build that was live before, or on an earlier row of **Production deployments**. The earlier build goes live again in about a minute, without a new build and with the variables it was built with; it doesn't count toward your builds, and the build it replaces stays in the history, so you can make it live again the same way. Production serves its current build until the switch is done. You can roll back to the ten newest production builds whose files are kept. Production can't roll back while a production build runs or waits, including one that has run for over 45 minutes and could still finish, for up to 90 minutes after it started. When the earlier build uses a lower data-model version, the dialog warns that configurations saved by the newer build stay stored but won't open until production runs that version again.
120
+
90
121
  ## Send feedback
91
122
 
92
123
  Tell us what is broken, confusing or missing, from wherever you are:
@@ -97,11 +128,11 @@ Tell us what is broken, confusing or missing, from wherever you are:
97
128
 
98
129
  ## Known limits
99
130
 
100
- - You can deploy once the workspace's first deployment is live. Until then, `phoenix deploy` tells you the workspace is still being set up.
101
- - The first deployment is the starter, so the starter's model is version 1 in production. Replacing it with your own model needs the starter's model kept as `v1` and a migration to version 2; [Migrations](?path=/docs/phoenix-migrations--docs) shows the migration for replacing a model entirely.
102
- - One workspace has one project, one `production` environment and one development environment per user.
103
- - `phoenix deploy` always deploys to the workspace's default project; it doesn't read `project` from the spec yet.
104
- - Only `phoenix dev` works from the sign-in. `phoenix deployment:prepare-dev` still needs the `.env` block of a Studio development environment.
131
+ - You can deploy and run `phoenix dev` once the selected project is set up, about a minute after it is created. Until then, both tell you the project is still being set up; if the setup failed, they tell you to retry it in Studio.
132
+ - The model of your first promotion is version 1 in production; there is nothing to migrate from. Only a project whose production was first deployed as the hello-world starter, in the early beta, has the starter's model as version 1: replacing it with your own model needs the starter's model kept as `v1` and a migration to version 2, and [Migrations](?path=/docs/phoenix-migrations--docs) shows the migration for replacing a model entirely.
133
+ - Each project has its `production`, up to three previews and a development environment per user. A deleted preview's name cannot be reused until its removal has finished. Staff can create projects in your workspace, and workspace superadmins create them in Studio; a project cannot move to another workspace.
134
+ - `phoenix deploy` deploys to the project `--project` or `project` of the application spec names, or else to one of the projects the sign-in can reach, as `phoenix dev` does; it does not read `PROJECT_SLUG`. `project: default` names no project. When a slug is in several of your workspaces, name the project as `<project>--<workspace>`. Targeting a project other than the workspace's initial one requires server API 1.61.0 or newer; the CLI stops before upload if the server cannot confirm support.
135
+ - Of the development commands, only `phoenix dev` works from the sign-in. `phoenix deployment:prepare-dev` still needs the `.env` block of a Studio development environment.
105
136
  - Every deploy uploads the whole project; there are no incremental uploads.
106
- - Your own environment variables are set in Studio under Environment, by a super admin of the workspace, and apply from the next deploy. After a change, **Redeploy #N now** there rebuilds your live build with the new values, without a new `phoenix deploy`; it appears once your own build is live. `phoenix dev` doesn't receive them: your development environment has its own variables. A build reads them from `process.env`; a webhook reads the ones the spec declares under `env.webhook`, through `phx.webhooksEnv` (see [Webhooks](?path=/docs/phoenix-webhooks--docs)). They can't use platform names such as `LAMBDA_FUNCTION_NAME`, the `AWS_` prefix, the identity provider settings such as `CLERK_API_KEY`, or names the CLI and the deploy tooling read themselves, such as `SERVER_URL` or `NODE_OPTIONS`; Studio refuses those names.
107
- - Only super admins of a workspace can open its Studio. Admins and users see a page that says so.
137
+ - Your own environment variables are set in Studio under Environment, by a workspace Superadmin or a Superadmin of the project. A preview's apply from its next deploy; production's apply from the next promotion, and rolling back keeps the values each build was made with. 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.
138
+ - Every active member of a workspace can open its Studio for their account and their own CLI sign-ins. The project pages and the CLI need a workspace Superadmin, who reaches every project, or a project Superadmin grant; the Admin and User roles alone give neither.
@@ -81,15 +81,18 @@ When chunked publishing is configured, session tokens may also contain a `chunkS
81
81
 
82
82
  Configurator and admin session tokens can carry a `sub` claim naming the user the session belongs to. Per-user server data, such as assistant threads, is keyed on it. It is for the server only: the SDK does not expose it in `sessionPayload`, so do not key frontend data on it. The server builds it from the source of the id, so an id sent by the browser can never pass as a signed-in user:
83
83
 
84
- | `sub` | When |
85
- | ------------------ | ------------------------------------------------------------------------------------------- |
86
- | `clerk-<id>` | The auth handler builder's Clerk handlers signed the user in; `<id>` is the Clerk user id. |
87
- | `custom-<id>` | Any other auth handler returned `userId`; `<id>` is that value. |
88
- | `anonymous-<uuid>` | No auth hook, or the handler returned no `userId`; `<uuid>` is the browser's anonymous id. |
89
- | `studio-<id>` | Studio minted the token for its signed-in user (embedded admin, edit and preview sessions). |
84
+ | `sub` | When |
85
+ | ------------------ | ---------------------------------------------------------------------------------------------------------------- |
86
+ | `clerk-<id>` | The auth handler builder's Clerk handlers signed the user in; `<id>` is the Clerk user id. |
87
+ | `phoenix-<id>` | The shared Cognito flow resolved a Phoenix account and current project grant; `<id>` is its stable account UUID. |
88
+ | `custom-<id>` | Any other auth handler returned `userId`; `<id>` is that value. |
89
+ | `anonymous-<uuid>` | No auth hook, or the handler returned no `userId`; `<uuid>` is the browser's anonymous id. |
90
+ | `studio-<id>` | Studio minted the token for its signed-in user (embedded admin, edit and preview sessions). |
90
91
 
91
92
  The browser's anonymous id is a random UUID the SDK keeps under the localStorage key `configurator-user-id` and sends with every session authentication, so one browser is one anonymous user. It is separate from the analytics `user_id`. When storage is unavailable, the id lasts for the page's lifetime.
92
93
 
94
+ For shared Cognito sign-in, provider configuration, role gates and revocation, see **[Webhooks — Cognito configurator sign-in](?path=/docs/phoenix-webhooks--docs#cognito-configurator-sign-in)**.
95
+
93
96
  A signed-in user therefore keeps the same identity across browsers, while an anonymous one is tied to the browser. A custom refresh handler must return `userId` again, or the renewed session becomes the browser's anonymous user. Return `userId` from your handlers as shown in **[Webhooks - Custom auth handlers](?path=/docs/phoenix-webhooks--docs#custom-auth-handlers)**.
94
97
 
95
98
  ### Studio Embedded Admin Sessions
@@ -169,8 +172,8 @@ Each handler returns _session data_, _role information_, and _token metadata_ th
169
172
  Once authentication succeeds:
170
173
 
171
174
  - Phoenix **stores session and refresh tokens**
172
- - Session determines user's **role** (admin, user, or anonymous)
173
- - Admin users receive an **additional admin session token** for accessing the Admin application
175
+ - Session determines user's **role** (superadmin, admin, user, or anonymous)
176
+ - Admin and superadmin users receive an **additional admin session token** for accessing the Admin application
174
177
  - Users can now access _general pages_ like presets and deployments
175
178
 
176
179
  ### 4. Configuration Access Validation
@@ -194,8 +197,8 @@ Finally, Phoenix creates an **authorized API client** that:
194
197
 
195
198
  Authentication logic is implemented through **webhook handlers** when the deployment is configured with **`useAuthHook: true`**. These handlers:
196
199
 
197
- - **Run in AWS Lambda** - Serverless execution environment
198
- - **Control user roles** - Determine admin, user, or anonymous access
200
+ - **Run in AWS Lambda** - Serverless execution environment; under `phoenix dev` they run on the developer's machine through the development webhook tunnel
201
+ - **Control user roles** - Determine superadmin, admin, user, or anonymous access
199
202
  - **Generate session data** - Custom data attached to user sessions
200
203
  - **Manage token generation** - Control session and refresh token creation
201
204
 
@@ -210,7 +213,7 @@ useAuthHook: true # Enable webhook authentication
210
213
  useClerk: true # Enables Clerk + sets useAuthHook automatically
211
214
  ```
212
215
 
213
- Webhook handlers are implemented in `src/webhooks/index.ts`. The builders and type definitions are auto-generated in `.phoenix/webhooks/builders.ts` based on your spec configuration.
216
+ The webhook entry is the default export of `src/webhooks/index.ts`. The builders and their types are generated from your spec configuration into `.phoenix/webhook-builders.ts`, which sets the `phx.webhooks` global, so project code never imports builders from `.phoenix/`.
214
217
 
215
218
  The auth handler builder provides a fluent API for configuring authentication methods. You can combine multiple handlers to support different authentication scenarios. The builder is accessed through the `phx.webhooks` global namespace:
216
219
 
@@ -240,22 +243,37 @@ For custom third-party integrations (not SSO - use Clerk handlers for that), you
240
243
  ```typescript
241
244
  // src/webhooks/index.ts
242
245
  const authHandler = phx.webhooks.authHandlerBuilder
243
- .withCodeHandler(async (payload, ctx) => {
244
- const { code, accessToken, idToken } = payload
245
- // Server retrieves tokens from Redis and passes them to webhook
246
+ .withCodeHandler(async ({ accessToken }, { logger }) => {
247
+ // The platform already redeemed the one-time code, so the payload holds
248
+ // { type: 'code', accessToken, refreshToken?, idToken? } and no code.
249
+ // PARTNER_API_URL is declared under `env.webhook` in a spec file
250
+ const response = await fetch(`${phx.webhooksEnv.PARTNER_API_URL}/me`, {
251
+ headers: { authorization: `Bearer ${accessToken}` },
252
+ })
253
+
254
+ if (!response.ok) {
255
+ logger.warn(`The partner API refused the access token with status ${response.status}.`)
256
+
257
+ return { success: false }
258
+ }
246
259
 
247
- // Process third-party integration data
248
- const userData = await processThirdPartyData(accessToken, idToken)
260
+ const userData: {
261
+ readonly id: string
262
+ readonly email: string
263
+ readonly permissions: string[]
264
+ readonly isAdmin: boolean
265
+ } = await response.json()
249
266
 
250
267
  return {
251
268
  success: true,
252
269
  data: {
253
- userId: userData.id,
254
270
  email: userData.email,
255
271
  tags: userData.permissions,
256
272
  },
257
- role: determineRole(userData),
258
- refreshToken: await generateRefreshToken(userData),
273
+ role: userData.isAdmin ? 'admin' : 'user',
274
+ // The session user, a top-level field rather than part of the session data
275
+ userId: userData.id,
276
+ // An absolute Unix timestamp in seconds; three hours from now when omitted
259
277
  expirationTime: Math.floor(Date.now() / 1000) + 3600,
260
278
  }
261
279
  })
@@ -263,7 +281,6 @@ const authHandler = phx.webhooks.authHandlerBuilder
263
281
  return {
264
282
  success: true,
265
283
  data: {
266
- userId: 'anonymous',
267
284
  tags: [],
268
285
  },
269
286
  role: 'anonymous',
@@ -275,7 +292,7 @@ const authHandler = phx.webhooks.authHandlerBuilder
275
292
  export default phx.webhooks.webhookBuilder.withAuthHook(authHandler).build()
276
293
  ```
277
294
 
278
- Each handler receives the authentication payload and returns session data, user role, and token metadata. The session data you return becomes available throughout the application and can include any custom fields defined in your domain's SessionData type.
295
+ Each handler receives the authentication payload and returns session data, user role, and token metadata. A handler refuses the session with `{ success: false }`; log the reason with the `logger`, because the response carries no error message. The session data you return becomes available throughout the application and can include any custom fields declared in the spec's `sessionData` schema, which declares no required properties.
279
296
 
280
297
  Phoenix supports several types of authentication handlers:
281
298
 
@@ -305,17 +322,9 @@ To enable Clerk authentication:
305
322
  useClerk: true # Enables Clerk auth and sets useAuthHook automatically
306
323
  ```
307
324
 
308
- **2. Set environment variables** (defined in your project's `.env` file):
309
-
310
- ```bash
311
- CLERK_SECRET_KEY=sk_...
312
- JWT_SECRET_BASE64=...
313
- OAUTH_PROVIDER_BASE_URL=https://...
314
- OAUTH_PROVIDER_CLIENT_ID=...
315
- OAUTH_PROVIDER_CLIENT_SECRET=...
316
- ```
325
+ **2. Configure Clerk for the workspace in Studio.** The Clerk credentials come from the workspace's Clerk settings in Studio and reach the webhook as generated variables (`CLERK_API_KEY`, `JWT_SECRET_BASE64`, `OAUTH_PROVIDER_CLIENT_ID`, `OAUTH_PROVIDER_CLIENT_SECRET`, `OAUTH_PROVIDER_BASE_URL`, `FRONTEND_URL` and `RESOURCES_URL`). The project neither declares them nor keeps them in its `.env`. See [Clerk Sign-In](?path=/docs/phoenix-clerk-sign-in--docs).
317
326
 
318
- **3. Use Clerk handlers** in your webhook (the builder is auto-generated in `.phoenix/webhooks/builders.ts`):
327
+ **3. Use Clerk handlers** in your webhook (`phx.webhooks` is set by the generated `.phoenix/webhook-builders.ts`):
319
328
 
320
329
  ```typescript
321
330
  // src/webhooks/index.ts
@@ -427,7 +436,7 @@ The `readonly` web component property lets the host force view mode without chan
427
436
 
428
437
  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
438
 
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.
439
+ 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. See [Security and Limits](?path=/docs/phoenix-assistant-security-and-limits--docs#what-the-assistant-can-be-talked-into).
431
440
 
432
441
  ```html
433
442
  <salsita-configurator readonly></salsita-configurator>
@@ -493,24 +502,36 @@ Use custom code handlers for third-party integrations. The server handles Redis
493
502
  ```typescript
494
503
  // src/webhooks/index.ts
495
504
  const authHandler = phx.webhooks.authHandlerBuilder
496
- .withCodeHandler(async (payload, ctx) => {
497
- const { code, accessToken, idToken } = payload
505
+ .withCodeHandler(async ({ accessToken }, { logger }) => {
498
506
  // Server already retrieved tokens from Redis and passed them here
499
507
 
500
- // Verify and process third-party tokens
501
- const integrationUser = await thirdPartyAPI.validateToken(accessToken)
508
+ // Verify the third-party token; INTEGRATION_API_URL is declared under `env.webhook` in a spec file
509
+ const response = await fetch(`${phx.webhooksEnv.INTEGRATION_API_URL}/tokens/verify`, {
510
+ headers: { authorization: `Bearer ${accessToken}` },
511
+ })
512
+
513
+ if (!response.ok) {
514
+ logger.warn(`The integration rejected the access token with status ${response.status}.`)
515
+
516
+ return { success: false }
517
+ }
518
+
519
+ const integrationUser: {
520
+ readonly id: string
521
+ readonly email: string
522
+ readonly permissions?: string[]
523
+ readonly isAdmin: boolean
524
+ } = await response.json()
502
525
 
503
526
  // Map third-party data to Phoenix session
504
527
  return {
505
528
  success: true,
506
529
  data: {
507
- userId: integrationUser.id,
508
530
  email: integrationUser.email,
509
- customData: integrationUser.metadata,
510
- tags: integrationUser.permissions || [],
531
+ tags: integrationUser.permissions ?? [],
511
532
  },
512
- role: determineRoleFromIntegration(integrationUser),
513
- refreshToken: await generateRefreshToken(integrationUser),
533
+ role: integrationUser.isAdmin ? 'admin' : 'user',
534
+ userId: integrationUser.id,
514
535
  expirationTime: Math.floor(Date.now() / 1000) + 3600,
515
536
  }
516
537
  })
@@ -240,7 +240,7 @@ env:
240
240
 
241
241
  ```ts
242
242
  export const linkTasks = phx.webhooks.taskFactory.createGenerateConfigurationLinkTask((resources, data) => {
243
- const frontendUrl = phx.runtimeConfig.CUSTOM_FRONTEND_URL ?? data.frontendUrl
243
+ const frontendUrl = phx.webhooksEnv.CUSTOM_FRONTEND_URL ?? data.frontendUrl
244
244
 
245
245
  return [
246
246
  {
@@ -1,16 +1,12 @@
1
1
  # Theming
2
2
 
3
- The SDK uses MUI 5's theming system with pre-configured themes that handle all styling needs.
3
+ Use Phoenix themes to give the configurator consistent brand colors, typography and component styling. Start from a preset and customize it for the product's visual identity.
4
4
 
5
- > **☝️ For FS developers, your focus should be on functionality, not styling details**
5
+ ## Choosing the customization
6
6
 
7
- ## Best Practices
8
-
9
- 1. **Don't Waste Time on UI Details**<br />
10
- Make it work and let the cleaning lady (UI Dev) match the designs.
11
-
12
- 2. **Avoid Theme Style Overrides**<br />
13
- When you need different styling, raise a flag to create proper props or variants rather than overriding styles.
7
+ - Use theme options for shared colors, typography, shape and component defaults or style overrides.
8
+ - Use a custom project layout when the page composition or interaction layout needs to change; see [Custom layout](../?path=/docs/layouts-custom-layout--docs).
9
+ - Keep focus, disabled, error and phone states legible when customizing the appearance.
14
10
 
15
11
  ## YAML Configuration
16
12
 
@@ -19,7 +19,7 @@ Published-data, validator and assistant setup handlers are detected when they re
19
19
  - `createMapPublishedChunkedDataHandler`
20
20
  - `createDataRowValidatorHandler`
21
21
  - `createSheetValidatorHandler`
22
- - `phx.domain.createAssistantSetupHandler`
22
+ - `phx.domain.createAssistantSetupHandler` (see [Per-session Setup](?path=/docs/phoenix-assistant-per-session-setup--docs))
23
23
 
24
24
  ## Pin a Server-Safe Component
25
25