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

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 (980) hide show
  1. package/README.md +10 -3
  2. package/dist/admin/common/admin-interface.d.ts +13 -3
  3. package/dist/admin/common/admin-interface.js +1 -1
  4. package/dist/admin/ui/layout/UserProfile.d.ts +1 -1
  5. package/dist/admin/ui/layout/UserProfile.js +1 -1
  6. package/dist/admin/ui/maintenance/ImportPresets.js +1 -1
  7. package/dist/application/mount-application.js +1 -1
  8. package/dist/application/mount-configurator.js +1 -1
  9. package/dist/application/studio-embedding.d.ts +6 -0
  10. package/dist/application/studio-embedding.js +1 -0
  11. package/dist/application-spec/core/enhanced-json-schema.d.ts +5 -6
  12. package/dist/application-spec/core/enhanced-json-schema.js +1 -1
  13. package/dist/application-spec/core/markers/index.d.ts +1 -0
  14. package/dist/application-spec/core/markers/index.js +1 -1
  15. package/dist/application-spec/core/markers/set-in-studio-marker.d.ts +15 -0
  16. package/dist/application-spec/core/markers/set-in-studio-marker.js +1 -0
  17. package/dist/application-spec/errors/diagnostic-codes.d.ts +22 -0
  18. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  19. package/dist/application-spec/errors/diagnostic-messages.d.ts +23 -1
  20. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  21. package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +3 -3
  22. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  23. package/dist/application-spec/generate-application/code/index.d.ts +1 -0
  24. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +4 -15
  25. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  26. package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +5 -1
  27. package/dist/application-spec/generate-application/code/templates/admin-config.js +4 -3
  28. package/dist/application-spec/generate-application/code/templates/application-types.js +5 -5
  29. package/dist/application-spec/generate-application/code/templates/configurator-config.js +8 -6
  30. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +0 -1
  31. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +6 -8
  32. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -0
  33. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +8 -6
  34. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +6 -8
  35. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +3 -3
  36. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-base-configurator-builder.js +2 -1
  37. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +1 -1
  38. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +38 -41
  39. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.d.ts +1 -1
  40. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +19 -3
  41. package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
  42. package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
  43. package/dist/application-spec/generate-application/code/templates/editor.d.ts +1 -1
  44. package/dist/application-spec/generate-application/code/templates/editor.js +16 -3
  45. package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
  46. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
  47. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +3 -3
  48. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +10 -6
  49. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -7
  50. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +12 -13
  51. package/dist/application-spec/generate-application/code/templates/globals.js +21 -12
  52. package/dist/application-spec/generate-application/code/templates/html-index.d.ts +12 -1
  53. package/dist/application-spec/generate-application/code/templates/html-index.js +9 -10
  54. package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
  55. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.d.ts +5 -0
  56. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.js +1 -0
  57. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
  58. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +8 -36
  59. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +15 -11
  60. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +1 -1
  61. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
  63. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.d.ts +3 -0
  64. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
  65. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
  66. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
  67. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.d.ts +3 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +3 -3
  70. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +1 -1
  71. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +1 -1
  72. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.d.ts +3 -0
  73. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.js +19 -0
  74. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +1 -1
  75. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +4 -2
  76. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +3 -3
  77. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +2 -2
  78. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +1 -1
  79. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -1
  80. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +2 -2
  81. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -1
  82. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +3 -0
  83. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +48 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.d.ts +3 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.js +45 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.d.ts +3 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +36 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.d.ts +3 -0
  89. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.js +92 -0
  90. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.d.ts +1 -0
  91. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.js +1 -0
  92. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.d.ts +3 -0
  93. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -0
  94. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.d.ts +3 -0
  95. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.js +1 -0
  96. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.d.ts +3 -0
  97. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.js +26 -0
  98. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.d.ts +3 -0
  99. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.js +51 -0
  100. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.d.ts +3 -0
  101. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.js +38 -0
  102. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.d.ts +1 -0
  103. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.js +1 -0
  104. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.d.ts +3 -0
  105. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.js +88 -0
  106. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.d.ts +3 -0
  107. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.js +68 -0
  108. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.d.ts +3 -0
  109. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.js +1 -0
  110. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.d.ts +3 -0
  111. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -0
  112. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +2 -2
  113. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +3 -3
  114. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -1
  115. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +3 -3
  116. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
  117. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
  118. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +29 -1
  119. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -2
  120. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +29 -15
  121. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +17 -14
  122. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +2 -2
  123. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +3 -3
  124. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +2 -0
  125. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -1
  126. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -1
  127. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +2 -2
  128. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +1 -1
  129. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -1
  130. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +1 -1
  131. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
  132. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
  133. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +2 -0
  134. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -1
  135. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.d.ts +2 -0
  136. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.js +28 -0
  137. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +0 -7
  138. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +1 -1
  139. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
  140. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +8 -6
  141. package/dist/application-spec/generate-application/code/templates/webhook-index.js +2 -6
  142. package/dist/application-spec/generate-application/code/webhook-safe-files.d.ts +3 -1
  143. package/dist/application-spec/generate-application/code/webhook-safe-files.js +1 -1
  144. package/dist/application-spec/parse-application-files/access/access-handler-kinds.d.ts +18 -0
  145. package/dist/application-spec/parse-application-files/access/access-handler-kinds.js +1 -0
  146. package/dist/application-spec/parse-application-files/access/analyzed-file.d.ts +7 -0
  147. package/dist/application-spec/parse-application-files/access/check-access-handler-files.d.ts +20 -0
  148. package/dist/application-spec/parse-application-files/access/check-access-handler-files.js +1 -0
  149. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.d.ts +17 -0
  150. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.js +1 -0
  151. package/dist/application-spec/parse-application-files/access/index.d.ts +5 -0
  152. package/dist/application-spec/parse-application-files/access/index.js +1 -0
  153. package/dist/application-spec/parse-application-files/access/sign-in-control.d.ts +7 -0
  154. package/dist/application-spec/parse-application-files/access/sign-in-control.js +1 -0
  155. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +2 -1
  156. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  157. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +30 -4
  158. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  159. package/dist/application-spec/parse-application-files/categorize/webhook-safety.js +1 -1
  160. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +17 -1
  161. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
  162. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  163. package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +7 -1
  164. package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
  165. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  166. package/dist/application-spec/parse-application-files/parse-common-admin-spec.js +1 -1
  167. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
  168. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
  169. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +67 -8
  170. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  171. package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
  172. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +12 -3
  173. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  174. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  175. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +6 -0
  176. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  177. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  178. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +2 -1
  179. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  180. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.d.ts +5 -2
  181. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
  182. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.d.ts +1 -0
  183. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.js +1 -0
  184. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.d.ts +15 -0
  185. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.js +1 -0
  186. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  187. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
  188. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
  189. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +14 -2
  190. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -1
  191. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +7 -10
  192. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  193. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +5 -6
  194. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.js +1 -1
  195. package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
  196. package/dist/application-spec/webhook-boundary.js +1 -1
  197. package/dist/client/authenticated-client.d.ts +5 -1
  198. package/dist/client/authenticated-client.js +1 -1
  199. package/dist/client/authorized-client.d.ts +4 -1
  200. package/dist/client/authorized-client.js +1 -1
  201. package/dist/client/base-client.d.ts +15 -1
  202. package/dist/client/base-client.js +1 -1
  203. package/dist/client/cli-client/cli-api-client.d.ts +17 -0
  204. package/dist/client/cli-client/cli-api-client.js +1 -0
  205. package/dist/client/cli-client/index.d.ts +2 -0
  206. package/dist/client/cli-client/index.js +1 -0
  207. package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
  208. package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
  209. package/dist/client/contract.d.ts +53 -10
  210. package/dist/client/contract.js +1 -1
  211. package/dist/client/index.d.ts +2 -1
  212. package/dist/client/index.js +1 -1
  213. package/dist/client/local-authorized-client.d.ts +1 -0
  214. package/dist/client/local-authorized-client.js +1 -1
  215. package/dist/client/memory-authorized-client.d.ts +1 -0
  216. package/dist/client/memory-authorized-client.js +1 -1
  217. package/dist/client/phoenix-api.d.ts +8470 -2127
  218. package/dist/client/unauthenticated-client.d.ts +1 -0
  219. package/dist/client/unauthenticated-client.js +1 -1
  220. package/dist/configurator/ConfiguratorApp.js +1 -1
  221. package/dist/configurator/agent-at-work/AgentAtWorkFallback.d.ts +7 -0
  222. package/dist/configurator/agent-at-work/AgentAtWorkFallback.js +1 -0
  223. package/dist/configurator/agent-at-work/AgentAtWorkPage.d.ts +20 -0
  224. package/dist/configurator/agent-at-work/AgentAtWorkPage.js +1 -0
  225. package/dist/configurator/agent-at-work/AgentModeBadge.d.ts +11 -0
  226. package/dist/configurator/agent-at-work/AgentModeBadge.js +1 -0
  227. package/dist/configurator/agent-at-work/StudioMark.d.ts +8 -0
  228. package/dist/configurator/agent-at-work/StudioMark.js +1 -0
  229. package/dist/configurator/agent-at-work/agent-at-work-copy.d.ts +17 -0
  230. package/dist/configurator/agent-at-work/agent-at-work-copy.js +1 -0
  231. package/dist/configurator/agent-at-work/agent-at-work-styles.d.ts +23 -0
  232. package/dist/configurator/agent-at-work/agent-at-work-styles.js +374 -0
  233. package/dist/configurator/agent-at-work/index.d.ts +3 -0
  234. package/dist/configurator/agent-at-work/index.js +1 -0
  235. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.d.ts +5 -4
  236. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.js +1 -1
  237. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  238. package/dist/configurator/application-runtime/extensions/selectors.d.ts +4 -2
  239. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  240. package/dist/configurator/application-runtime/extensions/systems/action-system/action-context.d.ts +14 -0
  241. package/dist/configurator/application-runtime/extensions/systems/action-system/action-context.js +1 -0
  242. package/dist/configurator/application-runtime/extensions/systems/action-system/action-factory.d.ts +13 -0
  243. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.d.ts +55 -0
  244. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.js +1 -0
  245. package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +56 -0
  246. package/dist/configurator/application-runtime/extensions/systems/action-system/action.js +1 -0
  247. package/dist/configurator/application-runtime/extensions/systems/action-system/index.d.ts +6 -0
  248. package/dist/configurator/application-runtime/extensions/systems/action-system/index.js +1 -0
  249. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.d.ts +4 -3
  250. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.js +2 -2
  251. package/dist/{domain/spec/modules → configurator/application-runtime/extensions/systems/action-system}/resolve-action-modules.d.ts +2 -2
  252. package/dist/configurator/application-runtime/extensions/systems/action-system/resolve-action-modules.js +1 -0
  253. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +14 -8
  254. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.d.ts +18 -0
  255. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.js +1 -0
  256. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.d.ts +69 -0
  257. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.js +1 -0
  258. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +252 -22
  259. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  260. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.d.ts +63 -0
  261. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.js +1 -0
  262. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +52 -36
  263. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  264. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.d.ts +13 -0
  265. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.js +1 -0
  266. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.d.ts +7 -0
  267. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.js +1 -0
  268. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +3 -0
  269. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -0
  270. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +33 -0
  271. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -0
  272. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
  273. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
  274. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.d.ts +10 -0
  275. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.js +1 -0
  276. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +41 -35
  277. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  278. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +18 -5
  279. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  280. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +8 -1
  281. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  282. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +46 -12
  283. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  284. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.d.ts +16 -0
  285. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.js +1 -0
  286. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +26 -0
  287. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -0
  288. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +25 -8
  289. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -1
  290. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
  291. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
  292. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +15 -7
  293. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  294. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +8 -3
  295. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  296. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +11 -0
  297. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  298. package/dist/configurator/application-runtime/extensions/systems/sketching-system/sketching-system.d.ts +5 -5
  299. package/dist/configurator/application-runtime/hooks/use-configurator.d.ts +3 -3
  300. package/dist/configurator/common/configurator-interface.d.ts +21 -9
  301. package/dist/configurator/common/configurator-interface.js +1 -1
  302. package/dist/configurator/index.d.ts +1 -0
  303. package/dist/configurator/index.js +1 -1
  304. package/dist/configurator/{ui/configurator-layout/universal → pages}/ExportingOverlay.d.ts +3 -2
  305. package/dist/configurator/pages/ExportingOverlay.js +1 -0
  306. package/dist/configurator/pages/InertRoot.d.ts +10 -0
  307. package/dist/configurator/pages/InertRoot.js +1 -0
  308. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  309. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  310. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  311. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.d.ts +8 -0
  312. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.js +1 -0
  313. package/dist/configurator/pages/error-boundaries/DevContextFallback.d.ts +4 -2
  314. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  315. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.d.ts +6 -4
  316. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  317. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  318. package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
  319. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  320. package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
  321. package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
  322. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
  323. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  324. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
  325. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
  326. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -1
  327. package/dist/configurator/ui/assistant/AssistantChips.d.ts +78 -6
  328. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  329. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +99 -1
  330. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  331. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +37 -3
  332. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  333. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +51 -4
  334. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  335. package/dist/configurator/ui/assistant/AssistantThread.d.ts +85 -2
  336. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  337. package/dist/configurator/ui/assistant/AssistantThreadItemView.d.ts +83 -6
  338. package/dist/configurator/ui/assistant/AssistantThreadItemView.js +1 -1
  339. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +35 -1
  340. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
  341. package/dist/configurator/ui/assistant/alert/index.d.ts +1 -1
  342. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +34 -0
  343. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -1
  344. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +2 -3
  345. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -1
  346. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -1
  347. package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +59 -5
  348. package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -1
  349. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +40 -5
  350. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -1
  351. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +6 -5
  352. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -1
  353. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +5 -0
  354. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -1
  355. package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +1 -0
  356. package/dist/configurator/ui/assistant/annotation/index.d.ts +3 -2
  357. package/dist/configurator/ui/assistant/annotation/index.js +1 -1
  358. package/dist/configurator/ui/assistant/assistant-failure.d.ts +9 -4
  359. package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
  360. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +49 -5
  361. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -1
  362. package/dist/configurator/ui/assistant/attachments/index.d.ts +1 -1
  363. package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +7 -2
  364. package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -1
  365. package/dist/configurator/ui/assistant/composer/index.d.ts +1 -1
  366. package/dist/configurator/ui/assistant/composer/index.js +1 -1
  367. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
  368. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
  369. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
  370. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
  371. package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
  372. package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
  373. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +58 -0
  374. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -0
  375. package/dist/configurator/ui/assistant/drawing/index.d.ts +2 -0
  376. package/dist/configurator/ui/assistant/drawing/index.js +1 -0
  377. package/dist/configurator/ui/assistant/drawing/parse-drawing.d.ts +18 -0
  378. package/dist/configurator/ui/assistant/drawing/parse-drawing.js +1 -0
  379. package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +8 -0
  380. package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -0
  381. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +35 -1
  382. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  383. package/dist/configurator/ui/assistant/entity-link/index.d.ts +1 -1
  384. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +59 -2
  385. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  386. package/dist/configurator/ui/assistant/form/built-in-form-slots.d.ts +16 -0
  387. package/dist/configurator/ui/assistant/form/built-in-form-slots.js +1 -0
  388. package/dist/configurator/ui/assistant/form/form-model.d.ts +9 -0
  389. package/dist/configurator/ui/assistant/form/index.d.ts +2 -1
  390. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +6 -5
  391. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -1
  392. package/dist/configurator/ui/assistant/form/read-form-tile.d.ts +8 -0
  393. package/dist/configurator/ui/assistant/form/read-form-tile.js +1 -0
  394. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +6 -3
  395. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -1
  396. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +11 -7
  397. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +1 -1
  398. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -1
  399. package/dist/configurator/ui/assistant/form/registry/index.d.ts +1 -1
  400. package/dist/configurator/ui/assistant/form/split-form-rows.d.ts +7 -0
  401. package/dist/configurator/ui/assistant/form/split-form-rows.js +1 -0
  402. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +51 -0
  403. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -1
  404. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +47 -0
  405. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -1
  406. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +43 -0
  407. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
  408. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +56 -2
  409. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -1
  410. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +43 -0
  411. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -1
  412. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +47 -0
  413. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -1
  414. package/dist/configurator/ui/assistant/form-elements/FormTile.d.ts +72 -0
  415. package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -0
  416. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +27 -0
  417. package/dist/configurator/ui/assistant/form-elements/index.d.ts +8 -9
  418. package/dist/configurator/ui/assistant/form-elements/index.js +1 -1
  419. package/dist/configurator/ui/assistant/image-view/ImageView.d.ts +66 -0
  420. package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -0
  421. package/dist/configurator/ui/assistant/image-view/index.d.ts +1 -0
  422. package/dist/configurator/ui/assistant/image-view/index.js +1 -0
  423. package/dist/configurator/ui/assistant/image-view/use-image-blob.d.ts +7 -0
  424. package/dist/configurator/ui/assistant/image-view/use-image-blob.js +1 -0
  425. package/dist/configurator/ui/assistant/index.d.ts +21 -10
  426. package/dist/configurator/ui/assistant/index.js +1 -1
  427. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.d.ts +57 -0
  428. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -0
  429. package/dist/configurator/ui/assistant/panel/index.d.ts +1 -0
  430. package/dist/configurator/ui/assistant/panel/index.js +1 -0
  431. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +43 -1
  432. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
  433. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +4 -1
  434. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -1
  435. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -2
  436. package/dist/configurator/ui/assistant/reference-link/index.js +1 -1
  437. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +49 -2
  438. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -1
  439. package/dist/configurator/ui/assistant/resource-image/index.d.ts +1 -1
  440. package/dist/configurator/ui/assistant/resource-image/index.js +1 -1
  441. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +34 -0
  442. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -1
  443. package/dist/configurator/ui/assistant/screenshots/index.d.ts +1 -1
  444. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +2 -6
  445. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
  446. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +5 -6
  447. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -1
  448. package/dist/configurator/ui/assistant/thread-items.d.ts +17 -3
  449. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  450. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +32 -7
  451. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -2
  452. package/dist/configurator/ui/assistant/use-assistant-thread.d.ts +15 -1
  453. package/dist/configurator/ui/assistant/use-assistant-thread.js +1 -1
  454. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +3 -3
  455. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -1
  456. package/dist/configurator/ui/assistant/{annotation/use-end-on-unmount.d.ts → use-on-unmount.d.ts} +1 -1
  457. package/dist/configurator/ui/assistant/use-on-unmount.js +1 -0
  458. package/dist/configurator/ui/assistant/voice/RecordingBar.d.ts +21 -0
  459. package/dist/configurator/ui/assistant/voice/RecordingBar.js +1 -0
  460. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.d.ts +43 -0
  461. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.js +1 -0
  462. package/dist/configurator/ui/assistant/voice/index.d.ts +4 -0
  463. package/dist/configurator/ui/assistant/voice/index.js +1 -0
  464. package/dist/configurator/ui/assistant/voice/use-voice-recording.d.ts +39 -0
  465. package/dist/configurator/ui/assistant/voice/use-voice-recording.js +1 -0
  466. package/dist/configurator/ui/assistant/voice/voice-capture.d.ts +22 -0
  467. package/dist/configurator/ui/assistant/voice/voice-capture.js +1 -0
  468. package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
  469. package/dist/configurator/ui/configurator-layout/index.js +1 -1
  470. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  471. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
  472. package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
  473. package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
  474. package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
  475. package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
  476. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
  477. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
  478. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
  479. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
  480. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  481. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  482. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  483. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  484. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  485. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
  486. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
  487. package/dist/configurator/ui/index.d.ts +1 -1
  488. package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
  489. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  490. package/dist/docs/index.json +130 -5
  491. package/dist/docs/integrations/woocommerce/overview.mdx +4 -2
  492. package/dist/docs/layouts/nested-view-controls.mdx +223 -0
  493. package/dist/docs/layouts/presets/custom.mdx +1 -0
  494. package/dist/docs/layouts/preview/always.mdx +22 -0
  495. package/dist/docs/layouts/view-controls.mdx +2 -0
  496. package/dist/docs/other-features/domain-actions.mdx +82 -55
  497. package/dist/docs/other-features/violation-messages.mdx +3 -1
  498. package/dist/docs/phoenix/admin.mdx +25 -64
  499. package/dist/docs/phoenix/application-states.mdx +1 -1
  500. package/dist/docs/phoenix/assistant/actions.mdx +183 -0
  501. package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
  502. package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
  503. package/dist/docs/phoenix/assistant/overview.mdx +137 -0
  504. package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
  505. package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
  506. package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
  507. package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
  508. package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
  509. package/dist/docs/phoenix/blender-rendering.mdx +3 -1
  510. package/dist/docs/phoenix/clerk-sign-in.mdx +9 -5
  511. package/dist/docs/phoenix/configurator-interface.mdx +105 -10
  512. package/dist/docs/phoenix/data-sources.mdx +71 -51
  513. package/dist/docs/phoenix/deployments.mdx +3 -3
  514. package/dist/docs/phoenix/finalization.mdx +2 -2
  515. package/dist/docs/phoenix/getting-started.mdx +1 -1
  516. package/dist/docs/phoenix/integration/authentication-external.mdx +5 -5
  517. package/dist/docs/phoenix/integration/authentication-internal.mdx +3 -3
  518. package/dist/docs/phoenix/integration/finalization-internal.mdx +2 -5
  519. package/dist/docs/phoenix/integration/integration-modes-internal.mdx +9 -0
  520. package/dist/docs/phoenix/layout-slots.mdx +2 -2
  521. package/dist/docs/phoenix/localization.mdx +2 -1
  522. package/dist/docs/phoenix/migrations.mdx +1 -1
  523. package/dist/docs/phoenix/phoenix-cli.mdx +100 -60
  524. package/dist/docs/phoenix/project-structure.mdx +30 -15
  525. package/dist/docs/phoenix/publishing.mdx +21 -28
  526. package/dist/docs/phoenix/sdk-builder-workflow.mdx +61 -30
  527. package/dist/docs/phoenix/sessions-and-access.mdx +180 -153
  528. package/dist/docs/phoenix/sharing.mdx +1 -1
  529. package/dist/docs/phoenix/theming.mdx +5 -9
  530. package/dist/docs/phoenix/webhook-membership.mdx +4 -1
  531. package/dist/docs/phoenix/webhooks.mdx +449 -296
  532. package/dist/docs/ux-guidelines/choosing-navigation.mdx +2 -0
  533. package/dist/docs/ux-guidelines/designing-the-configuration-journey.mdx +43 -0
  534. package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
  535. package/dist/docs/ux-guidelines/overview.mdx +11 -9
  536. package/dist/domain/admin-domain/index.d.ts +2 -2
  537. package/dist/domain/application/access/access-handlers.d.ts +19 -0
  538. package/dist/domain/application/access/access-handlers.js +1 -0
  539. package/dist/domain/application/access/anonymous-handler.d.ts +16 -0
  540. package/dist/domain/application/access/anonymous-handler.js +1 -0
  541. package/dist/domain/application/access/chunk-scopes-handler.d.ts +27 -0
  542. package/dist/domain/application/access/chunk-scopes-handler.js +1 -0
  543. package/dist/domain/application/access/code-handler.d.ts +16 -0
  544. package/dist/domain/application/access/code-handler.js +1 -0
  545. package/dist/domain/application/access/index.d.ts +7 -0
  546. package/dist/domain/application/access/index.js +1 -0
  547. package/dist/domain/application/access/refresh-handler.d.ts +16 -0
  548. package/dist/domain/application/access/refresh-handler.js +1 -0
  549. package/dist/domain/application/access/signed-in-handler.d.ts +44 -0
  550. package/dist/domain/application/access/signed-in-handler.js +1 -0
  551. package/dist/domain/application/access/visitor-handler.d.ts +23 -0
  552. package/dist/domain/application/access/visitor-handler.js +1 -0
  553. package/dist/domain/application/application-config.d.ts +37 -1
  554. package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
  555. package/dist/domain/application/assistant/assistant-exposure.js +1 -0
  556. package/dist/domain/application/assistant/assistant-selection.d.ts +30 -0
  557. package/dist/domain/application/assistant/assistant-selection.js +1 -0
  558. package/dist/domain/application/assistant/build-assistant-lenses.js +4 -4
  559. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +2 -2
  560. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  561. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +18 -2
  562. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  563. package/dist/domain/application/assistant/index.d.ts +5 -1
  564. package/dist/domain/application/assistant/index.js +1 -1
  565. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.d.ts +16 -0
  566. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.js +1 -0
  567. package/dist/domain/application/assistant/read-assistant-navigation.d.ts +40 -0
  568. package/dist/domain/application/assistant/read-assistant-navigation.js +1 -0
  569. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  570. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +30 -2
  571. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  572. package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
  573. package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
  574. package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
  575. package/dist/domain/application/assistant/session-setup/index.js +1 -1
  576. package/dist/domain/application/assistant-field-options.d.ts +2 -0
  577. package/dist/domain/application/assistant-field-options.js +1 -1
  578. package/dist/domain/application/assistant-mutations.d.ts +17 -11
  579. package/dist/domain/application/assistant-mutations.js +1 -1
  580. package/dist/domain/application/assistant-recipe-groups.d.ts +4 -3
  581. package/dist/domain/application/assistant-recipe-groups.js +1 -1
  582. package/dist/domain/application/configurator-builder.d.ts +47 -37
  583. package/dist/domain/application/configurator-builder.js +1 -1
  584. package/dist/domain/application/index.d.ts +2 -1
  585. package/dist/domain/application/index.js +1 -1
  586. package/dist/domain/application/standard-properties.d.ts +1 -1
  587. package/dist/domain/application/standard-properties.js +1 -1
  588. package/dist/domain/available-system-components/available-system-components.d.ts +1 -1
  589. package/dist/domain/available-system-components/available-system-components.js +1 -1
  590. package/dist/domain/core/action/action.d.ts +0 -49
  591. package/dist/domain/core/action/index.d.ts +0 -1
  592. package/dist/domain/core/action/index.js +1 -1
  593. package/dist/domain/core/component/system-component-filter.d.ts +1 -0
  594. package/dist/domain/core/component/system-component-filter.js +1 -1
  595. package/dist/domain/core/component/view-state-component.d.ts +4 -3
  596. package/dist/domain/core/component/view-state-component.js +1 -1
  597. package/dist/domain/core/domain-factory.d.ts +8 -3
  598. package/dist/domain/core/domain-factory.js +1 -1
  599. package/dist/domain/core/fit-session-data.d.ts +16 -0
  600. package/dist/domain/core/fit-session-data.js +1 -0
  601. package/dist/domain/core/index.d.ts +1 -1
  602. package/dist/domain/core/index.js +1 -1
  603. package/dist/domain/core/invariant/control-violation-hints.d.ts +37 -0
  604. package/dist/domain/core/invariant/control-violation-hints.js +1 -0
  605. package/dist/domain/core/invariant/index.d.ts +1 -0
  606. package/dist/domain/core/invariant/index.js +1 -1
  607. package/dist/domain/domain-builder/domain-builder.d.ts +1 -6
  608. package/dist/domain/domain-builder/domain-builder.js +1 -1
  609. package/dist/domain/domain-context/domain-context-systems.d.ts +3 -5
  610. package/dist/domain/domain-context/index.d.ts +0 -1
  611. package/dist/domain/domain-context/index.js +1 -1
  612. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
  613. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  614. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  615. package/dist/domain/domain-runtime/domain-context/actions.d.ts +4 -0
  616. package/dist/domain/domain-runtime/domain-context/actions.js +1 -1
  617. package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +9 -1
  618. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  619. package/dist/domain/domain-runtime/domain-context/index.d.ts +0 -1
  620. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +6 -4
  621. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  622. package/dist/domain/domain-runtime/domain-context/types.d.ts +8 -4
  623. package/dist/domain/domain-runtime/domain-runtime.d.ts +27 -13
  624. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  625. package/dist/domain/domain-runtime/environment/actions.d.ts +1 -0
  626. package/dist/domain/domain-runtime/environment/actions.js +1 -1
  627. package/dist/domain/domain-runtime/environment/initialize.js +1 -1
  628. package/dist/domain/domain-runtime/environment/selectors.d.ts +2 -0
  629. package/dist/domain/domain-runtime/environment/selectors.js +1 -1
  630. package/dist/domain/domain-runtime/environment/types.d.ts +6 -0
  631. package/dist/domain/domain-runtime/spec/index.d.ts +0 -1
  632. package/dist/domain/domain-runtime/spec/index.js +1 -1
  633. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  634. package/dist/domain/domain-runtime/spec/selectors.d.ts +2 -2
  635. package/dist/domain/domain-runtime/spec/types.d.ts +12 -10
  636. package/dist/domain/extensions/assistant/assistant-greeting.d.ts +30 -0
  637. package/dist/domain/extensions/assistant/assistant-greeting.js +1 -0
  638. package/dist/domain/extensions/assistant/index.d.ts +1 -0
  639. package/dist/domain/extensions/assistant/index.js +1 -0
  640. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +5 -4
  641. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  642. package/dist/domain/extensions/index.d.ts +1 -1
  643. package/dist/domain/extensions/index.js +1 -1
  644. package/dist/domain/index.d.ts +1 -1
  645. package/dist/domain/index.js +1 -1
  646. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +13 -6
  647. package/dist/domain/spec/expressions/relation-expression-params.d.ts +1 -1
  648. package/dist/domain/spec/modules/index.d.ts +0 -1
  649. package/dist/domain/spec/modules/index.js +1 -1
  650. package/dist/domain/spec/phx/phx-domain.d.ts +0 -1
  651. package/dist/domain/spec/phx/phx-domain.js +1 -1
  652. package/dist/domain/spec/runtime/application-spec-slice.d.ts +5 -5
  653. package/dist/domain/spec/runtime/application-spec-slice.js +1 -1
  654. package/dist/domain/spec/runtime/create-application.d.ts +5 -2
  655. package/dist/domain/spec/runtime/create-application.js +1 -1
  656. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +2 -2
  657. package/dist/domain/spec/sections/actions.d.ts +3 -2
  658. package/dist/domain/spec/sections/app-metadata.d.ts +13 -0
  659. package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
  660. package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
  661. package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +35 -2
  662. package/dist/domain/spec/sections/assistant/assistant-navigation.d.ts +21 -0
  663. package/dist/domain/spec/sections/assistant/assistant-navigation.js +1 -0
  664. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +55 -13
  665. package/dist/domain/spec/sections/assistant/assistant-select.d.ts +12 -0
  666. package/dist/domain/spec/sections/assistant/assistant-select.js +1 -0
  667. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.d.ts +10 -26
  668. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.js +1 -1
  669. package/dist/domain/spec/sections/assistant/index.d.ts +5 -2
  670. package/dist/domain/system-components/index.d.ts +1 -0
  671. package/dist/domain/system-components/index.js +1 -1
  672. package/dist/domain/system-components/navigation/index.d.ts +1 -0
  673. package/dist/domain/system-components/navigation/index.js +1 -0
  674. package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
  675. package/dist/domain/system-components/navigation/view-controls.js +1 -0
  676. package/dist/editor/Editor.d.ts +5 -0
  677. package/dist/editor/Editor.js +1 -1
  678. package/dist/editor/EditorMode.d.ts +2 -0
  679. package/dist/editor/EditorMode.js +1 -1
  680. package/dist/editor/agent-mode/AgentModeBridge.d.ts +10 -0
  681. package/dist/editor/agent-mode/AgentModeBridge.js +1 -0
  682. package/dist/editor/agent-mode/agent-at-work-fonts.d.ts +2 -0
  683. package/dist/editor/agent-mode/agent-at-work-fonts.js +1 -0
  684. package/dist/editor/console-reporter/BrowserConsoleReporter.js +1 -1
  685. package/dist/editor/console-reporter/console-capture.d.ts +20 -0
  686. package/dist/editor/console-reporter/console-capture.js +1 -0
  687. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  688. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  689. package/dist/editor/domain-editors/use-implementation-files.d.ts +4 -3
  690. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  691. package/dist/editor/index.d.ts +1 -0
  692. package/dist/editor/index.js +1 -1
  693. package/dist/editor/variants/VariantAnswerFooter.d.ts +8 -1
  694. package/dist/editor/variants/VariantAnswerFooter.js +1 -1
  695. package/dist/editor/variants/VariantPageUnavailable.d.ts +5 -0
  696. package/dist/editor/variants/VariantPageUnavailable.js +1 -0
  697. package/dist/editor/variants/VariantPreviewHandler.js +1 -1
  698. package/dist/editor/variants/variant-preview-fonts.d.ts +2 -0
  699. package/dist/editor/variants/variant-preview-fonts.js +1 -0
  700. package/dist/editor/variants/variant-preview-styles.d.ts +40 -48
  701. package/dist/editor/variants/variant-preview-styles.js +493 -1
  702. package/dist/extras/clerk/index.d.ts +6 -0
  703. package/dist/extras/cognito/AccountAvatar.d.ts +7 -0
  704. package/dist/extras/cognito/AccountAvatar.js +1 -0
  705. package/dist/extras/cognito/AccountControl.d.ts +13 -0
  706. package/dist/extras/cognito/AccountControl.js +1 -0
  707. package/dist/extras/cognito/AdminSignInPage.d.ts +26 -0
  708. package/dist/extras/cognito/AdminSignInPage.js +1 -0
  709. package/dist/extras/cognito/CognitoSignInPage.d.ts +8 -0
  710. package/dist/extras/cognito/CognitoSignInPage.js +1 -0
  711. package/dist/extras/cognito/ConfiguratorSignInPage.d.ts +19 -0
  712. package/dist/extras/cognito/ConfiguratorSignInPage.js +1 -0
  713. package/dist/extras/cognito/SignInFailurePage.d.ts +11 -0
  714. package/dist/extras/cognito/SignInFailurePage.js +1 -0
  715. package/dist/extras/cognito/SignInGateLayout.d.ts +25 -0
  716. package/dist/extras/cognito/SignInGateLayout.js +1 -0
  717. package/dist/extras/cognito/SignInNotice.d.ts +8 -0
  718. package/dist/extras/cognito/SignInNotice.js +1 -0
  719. package/dist/extras/cognito/index.d.ts +5 -0
  720. package/dist/extras/cognito/index.js +1 -0
  721. package/dist/globals/index.d.ts +5 -0
  722. package/dist/i18n/locales/cs/messages.js +1 -1
  723. package/dist/i18n/locales/da/messages.js +1 -1
  724. package/dist/i18n/locales/de/messages.js +1 -1
  725. package/dist/i18n/locales/de-AT/messages.js +1 -1
  726. package/dist/i18n/locales/en/messages.js +1 -1
  727. package/dist/i18n/locales/en-AU/messages.js +1 -1
  728. package/dist/i18n/locales/en-GB/messages.js +1 -1
  729. package/dist/i18n/locales/es/messages.js +1 -1
  730. package/dist/i18n/locales/fr/messages.js +1 -1
  731. package/dist/i18n/locales/hu/messages.js +1 -1
  732. package/dist/i18n/locales/it/messages.js +1 -1
  733. package/dist/i18n/locales/nl/messages.js +1 -1
  734. package/dist/i18n/locales/pl/messages.js +1 -1
  735. package/dist/i18n/locales/pt/messages.js +1 -1
  736. package/dist/i18n/locales/ro/messages.js +1 -1
  737. package/dist/i18n/locales/sk/messages.js +1 -1
  738. package/dist/i18n/locales/tr/messages.js +1 -1
  739. package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
  740. package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
  741. package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
  742. package/dist/legacy/domain-cli/gen/configurator-builder.js +5 -4
  743. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  744. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  745. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +25 -3
  746. package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
  747. package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
  748. package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
  749. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  750. package/dist/legacy/webhook-cli/lib/webhook-boundary.js +1 -1
  751. package/dist/phoenix/application-spec/application-spec-builder.d.ts +2 -2
  752. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  753. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +2 -1
  754. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  755. package/dist/phoenix/application-spec/generate-project-files.d.ts +4 -3
  756. package/dist/phoenix/application-spec/generate-project-files.js +1 -1
  757. package/dist/phoenix/application-spec/index.d.ts +2 -1
  758. package/dist/phoenix/application-spec/index.js +1 -1
  759. package/dist/phoenix/application-spec/read-spec-project.d.ts +1 -2
  760. package/dist/phoenix/application-spec/read-spec-project.js +1 -1
  761. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +10 -2
  762. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  763. package/dist/phoenix/cli.js +1 -1
  764. package/dist/phoenix/commands/account/index.d.ts +1 -0
  765. package/dist/phoenix/commands/account/index.js +1 -0
  766. package/dist/phoenix/commands/account/whoami.d.ts +10 -0
  767. package/dist/phoenix/commands/account/whoami.js +4 -0
  768. package/dist/phoenix/commands/build.d.ts +2 -1
  769. package/dist/phoenix/commands/build.js +1 -1
  770. package/dist/phoenix/commands/clean.d.ts +2 -1
  771. package/dist/phoenix/commands/clean.js +1 -1
  772. package/dist/phoenix/commands/cleanup-environment.js +1 -1
  773. package/dist/phoenix/commands/deploy.d.ts +7 -2
  774. package/dist/phoenix/commands/deploy.js +9 -3
  775. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  776. package/dist/phoenix/commands/deps/deps.js +2 -2
  777. package/dist/phoenix/commands/dev.d.ts +2 -1
  778. package/dist/phoenix/commands/dev.js +4 -4
  779. package/dist/phoenix/commands/feedback.d.ts +2 -2
  780. package/dist/phoenix/commands/feedback.js +1 -1
  781. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  782. package/dist/phoenix/commands/index.d.ts +1 -0
  783. package/dist/phoenix/commands/index.js +1 -1
  784. package/dist/phoenix/commands/init-starter-spec.js +3 -4
  785. package/dist/phoenix/commands/init.d.ts +2 -2
  786. package/dist/phoenix/commands/init.js +1 -1
  787. package/dist/phoenix/commands/login.d.ts +6 -3
  788. package/dist/phoenix/commands/login.js +3 -3
  789. package/dist/phoenix/commands/logout.js +1 -1
  790. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  791. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  792. package/dist/phoenix/commands/sync.d.ts +2 -1
  793. package/dist/phoenix/commands/sync.js +1 -1
  794. package/dist/phoenix/services/application-spec-project-watcher.d.ts +3 -1
  795. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  796. package/dist/phoenix/services/cli-credentials.d.ts +26 -7
  797. package/dist/phoenix/services/cli-credentials.js +2 -2
  798. package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
  799. package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
  800. package/dist/phoenix/services/cli-server/index.d.ts +2 -0
  801. package/dist/phoenix/services/cli-server/index.js +1 -0
  802. package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +19 -0
  803. package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
  804. package/dist/phoenix/services/dev-experience/dev-experience.d.ts +31 -0
  805. package/dist/phoenix/services/dev-experience/dev-experience.js +1 -0
  806. package/dist/phoenix/services/dev-experience/index.d.ts +3 -0
  807. package/dist/phoenix/services/dev-experience/index.js +1 -0
  808. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.d.ts +7 -0
  809. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.js +1 -0
  810. package/dist/phoenix/services/dev-experience/regenerated-page-experience.d.ts +24 -0
  811. package/dist/phoenix/services/dev-experience/regenerated-page-experience.js +1 -0
  812. package/dist/phoenix/services/development-credential.js +1 -1
  813. package/dist/phoenix/services/frontend-config.d.ts +2 -0
  814. package/dist/phoenix/services/index.d.ts +6 -3
  815. package/dist/phoenix/services/index.js +1 -1
  816. package/dist/phoenix/services/phoenix-pubsub.d.ts +4 -0
  817. package/dist/phoenix/services/phoenix-regions.d.ts +6 -1
  818. package/dist/phoenix/services/phoenix-regions.js +1 -1
  819. package/dist/phoenix/services/prepare-development-environment.js +2 -2
  820. package/dist/phoenix/services/session/phoenix-application.d.ts +2 -1
  821. package/dist/phoenix/services/session/phoenix-application.js +2 -2
  822. package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
  823. package/dist/phoenix/services/signed-in-development-environment.js +1 -1
  824. package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
  825. package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
  826. package/dist/phoenix/services/spec-project/index.d.ts +3 -0
  827. package/dist/phoenix/services/spec-project/index.js +1 -0
  828. package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
  829. package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
  830. package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
  831. package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
  832. package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
  833. package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
  834. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -1
  835. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +1 -1
  836. package/dist/phoenix/services/telemetry/telemetry-state.js +1 -1
  837. package/dist/phoenix/services/variant-file-session.js +1 -1
  838. package/dist/phoenix/services/vite-config.d.ts +2 -1
  839. package/dist/phoenix/services/vite-config.js +1 -1
  840. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  841. package/dist/react-sdk/application-runtime/common-services/index.d.ts +1 -0
  842. package/dist/react-sdk/application-runtime/common-services/index.js +1 -1
  843. package/dist/react-sdk/application-runtime/common-services/selectors.d.ts +2 -0
  844. package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
  845. package/dist/react-sdk/application-runtime/common-services/webmcp/index.d.ts +3 -0
  846. package/dist/react-sdk/application-runtime/common-services/webmcp/index.js +1 -0
  847. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.d.ts +35 -0
  848. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.js +1 -0
  849. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.d.ts +44 -0
  850. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.js +1 -0
  851. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.d.ts +24 -0
  852. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.js +1 -0
  853. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.d.ts +7 -1
  854. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.js +1 -1
  855. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.d.ts +6 -0
  856. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.js +1 -1
  857. package/dist/react-sdk/application-runtime/domain-application-context/domain-application-systems.d.ts +2 -2
  858. package/dist/react-sdk/application-runtime/domain-application-context/selectors.d.ts +1 -3
  859. package/dist/react-sdk/application-runtime/domain-application-context/selectors.js +1 -1
  860. package/dist/react-sdk/application-runtime/hooks/index.d.ts +1 -0
  861. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  862. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +2 -0
  863. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -1
  864. package/dist/react-sdk/application-runtime/hooks/use-environment.d.ts +7 -0
  865. package/dist/react-sdk/application-runtime/hooks/use-environment.js +1 -1
  866. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  867. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.d.ts +7 -0
  868. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.js +1 -0
  869. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +2 -2
  870. package/dist/react-sdk/application-runtime/integration/integration-mode.d.ts +30 -0
  871. package/dist/react-sdk/application-runtime/integration/integration-mode.js +1 -1
  872. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  873. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +6 -0
  874. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -1
  875. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -1
  876. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -1
  877. package/dist/react-sdk/application-runtime/responsive/types.d.ts +9 -0
  878. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +48 -18
  879. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  880. package/dist/react-sdk/application-runtime/session/actions.d.ts +2 -1
  881. package/dist/react-sdk/application-runtime/session/actions.js +1 -1
  882. package/dist/react-sdk/application-runtime/session/initialize.js +1 -1
  883. package/dist/react-sdk/application-runtime/session/selectors.d.ts +2 -0
  884. package/dist/react-sdk/application-runtime/session/selectors.js +1 -1
  885. package/dist/react-sdk/application-runtime/session/session-service.d.ts +34 -1
  886. package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
  887. package/dist/react-sdk/application-runtime/session/session-token.d.ts +8 -0
  888. package/dist/react-sdk/application-runtime/session/session-token.js +1 -1
  889. package/dist/react-sdk/application-runtime/session/types.d.ts +6 -1
  890. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +3 -2
  891. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +1 -1
  892. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.js +1 -1
  893. package/dist/react-sdk/domain-context/index.d.ts +3 -2
  894. package/dist/react-sdk/domain-context/index.js +1 -1
  895. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +1 -5
  896. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -1
  897. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
  898. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
  899. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
  900. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  901. package/dist/react-sdk/preset-selection/PresetSelectionProvider.d.ts +11 -0
  902. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
  903. package/dist/react-sdk/preset-selection/PresetWebMcpTools.d.ts +14 -0
  904. package/dist/react-sdk/preset-selection/PresetWebMcpTools.js +1 -0
  905. package/dist/react-sdk/preset-selection/index.d.ts +2 -1
  906. package/dist/react-sdk/preset-selection/index.js +1 -1
  907. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.d.ts +31 -0
  908. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.js +1 -0
  909. package/dist/react-sdk/session/AccessDeniedAdminPage.d.ts +13 -0
  910. package/dist/react-sdk/session/AccessDeniedAdminPage.js +1 -0
  911. package/dist/react-sdk/session/AccessDeniedPage.d.ts +20 -0
  912. package/dist/react-sdk/session/AccessDeniedPage.js +1 -0
  913. package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
  914. package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
  915. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  916. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  917. package/dist/react-sdk/session/index.d.ts +3 -0
  918. package/dist/react-sdk/session/index.js +1 -1
  919. package/dist/react-sdk/session/sign-in-address.d.ts +13 -0
  920. package/dist/react-sdk/session/sign-in-address.js +1 -0
  921. package/dist/react-sdk/session/studio-frame.d.ts +7 -0
  922. package/dist/react-sdk/session/studio-frame.js +1 -0
  923. package/dist/react-sdk/session/use-sign-in.d.ts +50 -0
  924. package/dist/react-sdk/session/use-sign-in.js +1 -0
  925. package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
  926. package/dist/ui-sdk/components/preview/Preview.js +2 -2
  927. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +3 -2
  928. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  929. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
  930. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
  931. package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
  932. package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
  933. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
  934. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
  935. package/dist/ui-sdk/icons/__generated/Microphone.d.ts +3 -0
  936. package/dist/ui-sdk/icons/__generated/Microphone.js +1 -0
  937. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.d.ts +3 -0
  938. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.js +1 -0
  939. package/dist/ui-sdk/icons/__generated/SpeakerHigh.d.ts +3 -0
  940. package/dist/ui-sdk/icons/__generated/SpeakerHigh.js +1 -0
  941. package/dist/ui-sdk/icons/__generated/SpeakerSlash.d.ts +3 -0
  942. package/dist/ui-sdk/icons/__generated/SpeakerSlash.js +1 -0
  943. package/dist/ui-sdk/icons/__generated/Stop.d.ts +3 -0
  944. package/dist/ui-sdk/icons/__generated/Stop.js +1 -0
  945. package/dist/ui-sdk/icons/__generated/index.d.ts +10 -0
  946. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  947. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  948. package/dist/ui-sdk/theme/types.d.ts +0 -4
  949. package/dist/webhook/builders/auth-handler-builder.d.ts +24 -1
  950. package/dist/webhook/builders/auth-handler-builder.js +1 -1
  951. package/dist/webhook/builders/common.d.ts +14 -3
  952. package/dist/webhook/builders/webhook-builder.d.ts +18 -0
  953. package/dist/webhook/builders/webhook-builder.js +1 -1
  954. package/package.json +11 -4
  955. package/schema/domain-spec.json +444 -65
  956. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.d.ts +0 -2
  957. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.js +0 -1
  958. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +0 -2
  959. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +0 -25
  960. package/dist/configurator/ui/assistant/annotation/annotation-host-context.d.ts +0 -5
  961. package/dist/configurator/ui/assistant/annotation/annotation-host-context.js +0 -1
  962. package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.js +0 -1
  963. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +0 -9
  964. package/dist/configurator/ui/assistant/form-elements/FormCard.js +0 -1
  965. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +0 -10
  966. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +0 -1
  967. package/dist/configurator/ui/assistant/theme.d.ts +0 -2
  968. package/dist/configurator/ui/assistant/theme.js +0 -1
  969. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +0 -1
  970. package/dist/domain/core/action/action-factory.d.ts +0 -11
  971. package/dist/domain/domain-context/action-system/action-system.d.ts +0 -38
  972. package/dist/domain/domain-context/action-system/action-system.js +0 -1
  973. package/dist/domain/domain-context/action-system/index.d.ts +0 -1
  974. package/dist/domain/domain-context/action-system/index.js +0 -1
  975. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +0 -11
  976. package/dist/domain/extensions/view-controls.d.ts +0 -25
  977. package/dist/domain/extensions/view-controls.js +0 -1
  978. package/dist/domain/spec/modules/resolve-action-modules.js +0 -1
  979. /package/dist/{domain/domain-runtime/domain-context/action-context.js → application-spec/parse-application-files/access/analyzed-file.js} +0 -0
  980. /package/dist/{domain/core/action → configurator/application-runtime/extensions/systems/action-system}/action-factory.js +0 -0
@@ -60,6 +60,15 @@ Maximum host control. The configurator is embedded as a web component, but the h
60
60
 
61
61
  Despite the name, the configurator still renders its full UI — "headless" refers to the host providing the brain (routing, auth, lifecycle decisions), not the absence of a visual interface.
62
62
 
63
+ ### embedded
64
+
65
+ Builder Studio's own mode, never set by a project: Studio opens a hosted configurator or admin panel in a frame on the page's own address, with `?code=…&embedded=studio`, and a framed page with that parameter starts in this mode by itself. A page that sets its own `integration-mode` keeps it.
66
+
67
+ - Consumes the one-use `code` from the URL, which signs the frame in as the Studio account
68
+ - Stores auth tokens in sessionStorage, so the sign-in ends with the tab
69
+ - Hides the configurator's own sign-in elements and never redirects to sign in; Studio's bar shows the account
70
+ - Tells Studio its state (`ready`, `denied`, `failed`) by `postMessage`, only to the Studio origin the server names in `GET /auth/config`
71
+
63
72
  ## Which Mode Do I Pick?
64
73
 
65
74
  Start at the top, stop at the first match:
@@ -61,7 +61,7 @@ const components: ThemeOptions['components'] = {
61
61
  ```
62
62
 
63
63
  - `styleOverrides` styles three slots: `content`, notistack's outer element; `alert`, the `Alert` with the message; and `actionButton`, a button such as **Dismiss**.
64
- - `defaultProps.slotProps` passes props to the slots, such as `{ alert: { variant: 'filled' } }`, and `defaultProps.slots` replaces a slot's component. The `MuiAlert` and `MuiButton` overrides of the theme reach the snackbars too.
64
+ - `defaultProps.slotProps` passes props to the slots, such as `{ alert: { variant: 'filled' } }`, and `defaultProps.slots` replaces a slot's component. The `MuiAlert` and `MuiButton` overrides of the theme reach the snackbars too, except the success icon: a success snackbar shows a filled circle with a tick cut out of it whatever the theme's `MuiAlert` `iconMapping` says, and `defaultProps.slotProps.alert.iconMapping.success` replaces it. Keep `variant: 'standard'` next to it, because `slotProps` replaces the default `{ alert: { variant: 'standard' } }`.
65
65
  - A snackbar's button is described as data, not as an element: the code that raises it passes `actionButton: { label, onClick }` to notistack's `enqueueSnackbar`, and `PhxSnackbar` renders it in the `actionButton` slot, an MUI `Button` with `color="inherit"` and `size="small"`, after the snackbar's notistack `action` if it has one. `onClick` receives the snackbar's key, to close it with `closeSnackbar`. A project's own snackbars take the same option, typed by `SnackbarActionButton` from `@salsita-ai/sdk/react`, so their buttons follow the theme; an element passed as `action` renders as it is.
66
66
  - Where the snackbars appear is the snackbar root's job, see `DesktopSnackbarsRoot` and `MobileSnackbarsRoot`.
67
67
 
@@ -69,7 +69,7 @@ const components: ThemeOptions['components'] = {
69
69
 
70
70
  | Member | Shows | Fed by | With nothing configured | Read mode |
71
71
  | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
72
- | `DesktopSidebar` | The whole built-in desktop sidebar: tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel. Props: `width`, and `side` (`'start'` or `'end'`, typed `DesktopSidebarSide`; `DesktopSidebarProps` types both) | The members below | As its parts | As its parts. In fullscreen it stays in place, transparent and inert |
72
+ | `DesktopSidebar` | The whole built-in desktop sidebar: tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel, which leaves the sidebar footer usable below it. Props: `width`, and `side` (`'start'` or `'end'`, typed `DesktopSidebarSide`; `DesktopSidebarProps` types both) | The members below | As its parts | As its parts. In fullscreen it stays in place, transparent and inert |
73
73
  | `DesktopSidebarTabs` | Tabs that switch the navigation state | The `sidebarTabs` components of the selected entity; the `horizontalTabs` component is not shown here | Nothing; also nothing while the summary is shown | No change |
74
74
  | `useSidebarTabs()` | A hook, `{ tabs, activeTab, onChange }`: each tab is `{ label, icon, value, isActive }`, `activeTab` is the active tab's value or `'none'`, and `onChange(value)` switches to that tab's first navigation state. A project layout reads its tabs with `phx.frontend.useTabNavigation()` instead, see [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout) | As `DesktopSidebarTabs` | `tabs` is empty | No change |
75
75
  | `DesktopSidebarBackButton` | A "Back" button. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxDesktopSidebarBackButton`; the application config's `sidebarBackIcon` takes precedence over both | The sidebar's way back: a navigation state to pop, a stacked property page, or a selected entity other than the root, unless the application config sets `showSelectionBackButton` to `false` or sets `ignoreSelectionInSidebar` | Nothing while there is no way back | No change |
@@ -503,7 +503,8 @@ export const orderHttpTask = phx.webhooks.taskFactory.createSendHttpRequestTask(
503
503
 
504
504
  return {
505
505
  type: 'SendHttpRequest',
506
- url: phx.runtimeConfig.ORDER_WEBHOOK_URL,
506
+ // ORDER_WEBHOOK_URL is declared under `env.webhook` in a spec file, with `type: url` and `required: true`
507
+ url: phx.webhooksEnv.ORDER_WEBHOOK_URL,
507
508
  method: 'POST',
508
509
  headers: { 'Content-Type': 'application/json' },
509
510
  body: JSON.stringify({
@@ -118,7 +118,7 @@ const toTableId = (id: ModelV1.Box['id']) =>
118
118
 
119
119
  ### Replacing the Model Entirely
120
120
 
121
- When the new model has nothing in common with the deployed one, there is nothing to convert. This is the case when a project that was first deployed as the starter gets its real model: the starter's `Box` model is version 1 in production, and a deployed version cannot change. Keep the deployed model as `v1`, define the real model in `latest`, and let the migration return the starting state of the new model, the `initialDomainEntities` of its preset:
121
+ When the new model has nothing in common with the deployed one, there is nothing to convert. This is the case when a project whose production was first deployed as the hello-world starter, which only early beta projects were, gets its real model: the starter's `Box` model is version 1 in production, and a deployed version cannot change. A project created since starts empty, so the model of its first deploy is version 1 and needs no such migration. Keep the deployed model as `v1`, define the real model in `latest`, and let the migration return the starting state of the new model, the `initialDomainEntities` of its preset:
122
122
 
123
123
  ```typescript
124
124
  // src/migrations/v2.ts
@@ -11,6 +11,7 @@ The Phoenix CLI (`phoenix` command) is the unified tool for all configurator dev
11
11
  - [SDK Development](#sdk-development)
12
12
  - [Utilities](#utilities)
13
13
  - [Deployment](#deployment)
14
+ - [SDK Builders](#sdk-builders)
14
15
 
15
16
  ## Starting a New Project
16
17
 
@@ -23,7 +24,8 @@ npx -p @salsita-ai/sdk@canary phoenix init my-configurator
23
24
  cd my-configurator
24
25
  pnpm install
25
26
  pnpm phoenix sync
26
- pnpm phoenix login <workspace>
27
+ pnpm phoenix login
28
+ # Set project to its explicit slug in spec/application.yaml
27
29
  pnpm phoenix dev
28
30
  ```
29
31
 
@@ -32,7 +34,7 @@ pnpm phoenix dev
32
34
  1. Refuses to run when a `spec/` folder already exists, so it never touches an existing project.
33
35
  2. Writes a `package.json` when the folder has none, and an existing one is kept, as long as it depends on the SDK. Either way, `package.json` gains the entries it lacks, and an entry it already has stays as it is:
34
36
  - the CLI's SDK version, in a new `package.json`;
35
- - every package the SDK requires as a peer, at the version [`phoenix deps`](#phoenix-deps) writes: the lowest of the SDK's range, with the `@types/*` packages in `devDependencies`. A peer the project declares in any dependency field counts, whatever its version. `@clerk/clerk-react` is not among them, because the starter spec does not set `useClerk`;
37
+ - every package the SDK requires as a peer, at the version [`phoenix deps`](#phoenix-deps) writes: the lowest of the SDK's range, with the `@types/*` packages in `devDependencies`. A peer the project declares in any dependency field counts, whatever its version. `@clerk/clerk-react` is not among them, because the starter spec does not set `access: legacy-clerk`;
36
38
  - `eslint` and `prettier` in `devDependencies`, at the versions the SDK runs itself, so an editor formats and lints with the same versions as `phoenix check`.
37
39
 
38
40
  With these, the install gives the project everything `phoenix dev`, `build` and `check` need. `init` writes no `packageManager` field and no package-manager settings: a project that installs with pnpm 11 adds the settings in [Package manager](?path=/docs/phoenix-project-structure--docs#package-manager) itself.
@@ -52,7 +54,7 @@ Aliases are recorded as their canonical command names. Delivery failures never c
52
54
 
53
55
  Before a successful `phoenix login`, telemetry uses only random anonymous identifiers. Failed login attempts remain anonymous. The CLI stores an installation UUID, work-session UUID and last activity time in `~/.phoenix/telemetry.json`; a work session continues while commands occur less than 30 minutes apart.
54
56
 
55
- After a successful login, the login completion and later commands from that installation include the stable authenticated builder user ID and the internal workspace UUID. Amplitude uses the unchanged installation ID to associate the earlier anonymous command path with that user. A later successful login replaces the stored user and workspace association. The state file never contains a login token, email address, machine fingerprint, project path or project content. Because the installation ID belongs to the operating-system user profile, people who share that profile also share its command history and latest association.
57
+ After a successful login, the login completion and later commands from that installation include the stable authenticated builder user ID. Workspace-bound login also associates its internal workspace UUID; personal login clears that workspace association. Amplitude uses the unchanged installation ID to associate the earlier anonymous command path with that user. A later successful login replaces the stored user and workspace association. The state file never contains a login token, email address, machine fingerprint, project path or project content. Because the installation ID belongs to the operating-system user profile, people who share that profile also share its command history and latest association.
56
58
 
57
59
  The events contain only:
58
60
 
@@ -68,18 +70,20 @@ Set `PHOENIX_TELEMETRY_DISABLED=1` to opt out. The opted-out CLI neither sends t
68
70
 
69
71
  ### Which project `phoenix dev` develops in
70
72
 
71
- The starter `spec/application.yaml` starts with `project: default`. `project` names the server project the application is developed in: a project slug, or `default` for the default project of the workspace you are signed in to. `phoenix dev` resolves the project in this order:
73
+ `project` in `spec/application.yaml` names the server project the application is developed and deployed in, by its slug. The starter spec that `phoenix init` writes has no `project` line. `phoenix dev` and `phoenix deploy` choose the project in this order:
72
74
 
73
- 1. `--projectSlug`
74
- 2. `PROJECT_SLUG` in `.env`
75
- 3. `project` in the spec
75
+ 1. `--project <slug>`. `phoenix dev` also accepts `--projectSlug`, and reads `PROJECT_SLUG` in `.env` after the flags; `phoenix deploy` does not read `PROJECT_SLUG`. A project named this way wins over the spec, and the CLI says so when the spec names another one.
76
+ 2. `project` in the spec. A spec without `project`, or one that still says `project: default`, names no project: `default` is not a project slug, and no project can be created with it.
77
+ 3. The projects your sign-in or token can reach, which `phoenix whoami` lists by workspace. In a terminal the CLI shows them in a select, even when there is only one, and then asks whether to write `project: <slug>` into `spec/application.yaml`. Without a terminal (a coding agent, CI or piped input) it uses the only project it can reach and prints the `project: <slug>` line to add; when it can reach several, it stops and lists their slugs by workspace. When it can reach none, it stops and tells you to create a project in Studio or ask a workspace administrator for access.
76
78
 
77
- `phoenix dev` fails when none of them names a project. The field is read only by the CLI and never reaches the built application.
79
+ A project is named by its slug. When you can reach projects with the same slug in two workspaces, the slug alone is refused with the names that tell them apart, `<project>--<workspace>` (for example `shop--acme`), and the select shows those names; use one with `--project` or as `project:` in the spec. It names the project of that workspace only.
80
+
81
+ When `--project` names a project and the spec names none, the CLI offers to save it the same way: in a terminal it asks, without one it prints the line to add. The spec is written only when you answer yes. The field is read only by the CLI and never reaches the built application.
78
82
 
79
83
  ### How `phoenix dev` authenticates
80
84
 
81
- - **Signed in with `phoenix login`** (SDK-builder workspaces): nothing else is needed. On start, `phoenix dev` asks the server for your development environment in the project; the server creates it on the first run. Every user gets their own development environment, so teammates don't overwrite each other's schema or webhook tunnel. The server comes from `--serverUrl`, then `SERVER_URL` in `.env`, then the region (`--region` or `PHOENIX_REGION`, default `eu`). `phoenix dev` hands that server to the preview as `SERVER_URL`, so the preview talks to the server the development deployment was prepared on even without a `.env`, and prints the preview address as `Preview: <url>` once the dev server is up (also written to `.phoenix/phoenix-dev.log`).
82
- - **With a Studio development environment**: create the project and a development environment in PHX Studio and paste its `.env` block (`SERVER_URL`, `PROJECT_SLUG`, `ENVIRONMENT_SLUG`, `DEVELOPMENT_KEY`) into `.env`. A `DEVELOPMENT_KEY` always takes precedence over the sign-in, and `PROJECT_SLUG` overrides the starter spec's `project: default`, which a development key cannot resolve.
85
+ - **Signed in with `phoenix login`**: nothing else is needed. `phoenix dev` uses the saved sign-in only and does not read `PHOENIX_API_TOKEN`. On start, `phoenix dev` asks the server for your development environment in the project; the server creates it on the first run. Every user gets their own development environment, so teammates don't overwrite each other's schema or webhook tunnel. The server comes from the same rule as for the other sign-in commands, see [Which server the CLI talks to](#which-server-the-cli-talks-to). When `PHOENIX_API_TOKEN` is set, `phoenix dev` says that it ignores it. `phoenix dev` hands that server to the preview as `SERVER_URL`, so the preview talks to the server the development deployment was prepared on even without a `.env`, and prints the preview address as `Preview: <url>` once the dev server is up (also written to `.phoenix/phoenix-dev.log`).
86
+ - **With a Studio development environment**: create the project and a development environment in PHX Studio and paste its `.env` block (`SERVER_URL`, `PROJECT_SLUG`, `ENVIRONMENT_SLUG`, `DEVELOPMENT_KEY`) into `.env`. A `DEVELOPMENT_KEY` always takes precedence over the sign-in. A development key lists no projects to choose from, so the project must be named by `PROJECT_SLUG`, a flag or the spec.
83
87
 
84
88
  ## Local Development Setup
85
89
 
@@ -207,7 +211,7 @@ spec/application.yaml → Server prepares environment → CLI writes the generat
207
211
  | -------- | ---------------- | --------------------------------------------- |
208
212
  | `dev` | `phoenix dev` | Dev server with hot reload |
209
213
  | `build` | `phoenix build` | Production build |
210
- | `deploy` | `phoenix deploy` | Build and publish the project |
214
+ | `deploy` | `phoenix deploy` | Build and publish the project into a preview |
211
215
  | `check` | `phoenix check` | Run all checks (TypeScript, ESLint, Prettier) |
212
216
  | `fix` | `phoenix fix` | Auto-fix lint and formatting issues |
213
217
 
@@ -237,7 +241,7 @@ These are automatically computed by the server and written to the generated env
237
241
  | `DD_SERVICE_NAME` | Datadog service name |
238
242
  | `TERRAFORM_BACKEND_BUCKET` | Terraform backend bucket |
239
243
 
240
- **Conditional Clerk/OAuth variables** (generated when `useClerk` is enabled in `spec/application.yaml`):
244
+ **Conditional Clerk/OAuth variables** (generated when `spec/application.yaml` sets `access: legacy-clerk`):
241
245
 
242
246
  - `CLERK_PUBLISHABLE_KEY`
243
247
  - `CLERK_API_KEY`
@@ -298,7 +302,7 @@ The frontend reads these at runtime from the generated config:
298
302
  | `DEPLOYMENT_RESOURCES_PATH` | No | `deployment-resources` |
299
303
  | Clerk vars (if enabled) | Yes | — |
300
304
 
301
- A development environment keeps the AI assistant's conversation when the assistant setup (manifest, instructions, AI settings) changes, and applies the new setup from the next message on. Set `ASSISTANT_STRICT_THREADS=true` in `.env` to try the behavior of every other environment locally, where a changed setup locks the conversation and the next message continues it in a summarized one. The variable has no effect outside a development environment.
305
+ A development environment keeps the AI assistant's conversation when the assistant setup (manifest, instructions, AI settings) changes, and applies the new setup from the next message on. Set `ASSISTANT_STRICT_THREADS=true` in `.env` to try the behavior of every other environment locally, where a changed setup locks the conversation and the next message continues it in a summarized one. The variable has no effect outside a development environment. See [When the setup changes](?path=/docs/phoenix-assistant-instructions-and-ai-settings--docs#when-the-setup-changes).
302
306
 
303
307
  ### Precedence
304
308
 
@@ -308,12 +312,14 @@ Environment variables are resolved in this order (highest to lowest priority):
308
312
  2. [The generated env file](#the-generated-env-file): `.env.generated` in the project root when the project has one, otherwise `.phoenix/.env.generated`
309
313
  3. `.env` (manual overrides)
310
314
 
315
+ [`PHOENIX_API_TOKEN`](#phoenix_api_token) is the exception: `phoenix deploy` and `phoenix whoami` read it from the process environment only.
316
+
311
317
  ### Generated Config Files
312
318
 
313
319
  The Phoenix CLI auto-generates config files that read these variables:
314
320
 
315
- - `src/frontend.config.ts` — Frontend runtime config
316
- - `src/webhooks.config.ts` — Webhook runtime config
321
+ - `.phoenix/frontend.config.ts` — Frontend runtime config
322
+ - `.phoenix/webhooks.config.ts` — Webhook runtime config
317
323
 
318
324
  ## Development Workflow
319
325
 
@@ -321,20 +327,23 @@ The Phoenix CLI auto-generates config files that read these variables:
321
327
 
322
328
  Starts the full development environment: Vite dev server, development webhook tunnel, domain-cli watcher, and editor WebSocket server.
323
329
 
324
- | Flag | Env Variable | Default | Description |
325
- | ----------------------- | ------------------ | -------------------- | ------------------------------------------------------------------------------- |
326
- | `--workspace` | — | from `.phoenix.json` | Override workspace mode |
327
- | `--editor` | `ENABLE_EDITOR` | `true` | Enable editor file generation |
328
- | `--editorWsPort` | `EDITOR_WS_PORT` | `3020` | Editor WebSocket port |
329
- | `--debug` | `DEBUG` | `false` | Verbose logging |
330
- | `--projectSlug` | `PROJECT_SLUG` | `local` | Project slug |
331
- | `--environmentSlug` | `ENVIRONMENT_SLUG` | package.json name | Environment slug |
332
- | `--withLingui` | `WITH_LINGUI` | `false` | Enable i18n extraction/compilation and watch i18n sources during dev |
333
- | `--persistence` | `PERSISTENCE_MODE` | `server` | Persistence mode |
334
- | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache, and prepare the development deployment again |
335
- | `--serverUrl` | `SERVER_URL` | the region's server | Phoenix server URL |
336
- | `--region` | `PHOENIX_REGION` | `eu` | Region of the signed-in workspace, used when no server URL is set |
337
- | `--skipUpload` / `--su` | `SKIP_UPLOAD` | `false` | Skip the S3 asset upload when the development deployment is prepared at startup |
330
+ When it runs as the signed-in Studio user, `phoenix dev` starts in **agent mode**, for projects an AI agent builds. The editor still runs, so the inspect commands work, but its UI is hidden and the preview shows only the configurator. Every dev error that would show a detailed error page or Vite's error overlay shows an "Agent at work" screen instead, with no error details. The details go to the terminal and `.phoenix/phoenix-dev.log`. A corner badge shows when the latest change didn't build, and the page recovers by itself after the next successful rebuild. With a development key, `--local` or an offline persistence mode, dev keeps the visible editor and the detailed error pages. Agent mode comes from the credentials alone: `--editor` and `--no-editor`, or `ENABLE_EDITOR` in the environment or `.env`, keep their meaning on every route, the editor or the configurator alone with the detailed error pages; the value development preparation writes into the generated env file does not count for dev. `phoenix sync`, `build` and `clean` keep an agent-mode page that dev generated unless the flag or `ENABLE_EDITOR` in the environment or `.env` says otherwise; without one they choose as before, with the generated env file's `ENABLE_EDITOR` ahead of `.env`.
331
+
332
+ | Flag | Env Variable | Default | Description |
333
+ | ------------------- | ------------------ | --------------------------------------------------------- | ------------------------------------------------------------------------------- |
334
+ | `--workspace` | — | from `.phoenix.json` | Override workspace mode |
335
+ | `--editor` | `ENABLE_EDITOR` | see agent mode above | Show the editor (`true`) or the configurator alone (`false`) |
336
+ | `--editorWsPort` | `EDITOR_WS_PORT` | `3020` | Editor WebSocket port |
337
+ | `--debug` | `DEBUG` | `false` | Verbose logging |
338
+ | `--project` | — | — | Slug of the project to develop in, instead of `project` of the spec |
339
+ | `--projectSlug` | `PROJECT_SLUG` | `local` with `--local`; the package name in offline modes | Same as `--project` |
340
+ | `--environmentSlug` | `ENVIRONMENT_SLUG` | package.json name | Environment slug |
341
+ | `--withLingui` | `WITH_LINGUI` | `false` | Enable i18n extraction/compilation and watch i18n sources during dev |
342
+ | `--persistence` | `PERSISTENCE_MODE` | `server` | Persistence mode |
343
+ | `--force` / `-f` | `FORCE_REBUILD` | `false` | Force full rebuild, skip cache, and prepare the development deployment again |
344
+ | `--serverUrl` | `SERVER_URL` | your saved sign-in, else the region's server | Phoenix server URL |
345
+ | `--region` | `PHOENIX_REGION` | your saved sign-in, else `eu` | Region you are signed in to |
346
+ | `--skipUpload` | `SKIP_UPLOAD` | `false` | Skip the S3 asset upload when the development deployment is prepared at startup |
338
347
 
339
348
  With the application-spec pipeline, `phoenix dev` creates an empty `src/` folder when the project has none, so that it rebuilds when the first source file, such as `src/webhooks/index.ts`, is added.
340
349
 
@@ -342,7 +351,7 @@ By default, with the application-spec pipeline, `phoenix dev` bootstraps missing
342
351
 
343
352
  The SDK's own Lingui CLI uses the configuration generated in `.phoenix/.linguirc`, both for `--withLingui` and when `phoenix sync` and `phoenix build` extract and compile the catalogs; see [Root Level Files](?path=/docs/phoenix-project-structure--docs#root-level-files). The dev server and `phoenix build` compile the Lingui macros (`msg`, `t`, `Trans` and the others, imported from `@lingui/core/macro`, `@lingui/react/macro` or `@lingui/macro`) with the SDK's own Lingui macro plugin and the same configuration, so the project needs neither `babel-plugin-macros` nor `@lingui/macro` for them. Babel macros of other packages are not compiled.
344
353
 
345
- In `server` persistence mode the project comes from `--projectSlug`, `PROJECT_SLUG` or `project` in the spec, and the credential from `DEVELOPMENT_KEY` or the `phoenix login` sign-in; see [Starting a New Project](#starting-a-new-project). When signed in, the environment is always your own development environment and `--environmentSlug` is ignored.
354
+ In `server` persistence mode the project comes from `--project` or `--projectSlug`, `PROJECT_SLUG`, `project` in the spec or, when signed in, the projects you can reach (see [Which project `phoenix dev` develops in](#which-project-phoenix-dev-develops-in)), and the credential from `DEVELOPMENT_KEY` or the `phoenix login` sign-in; see [Starting a New Project](#starting-a-new-project). When signed in, the environment is always your own development environment and `--environmentSlug` is ignored.
346
355
 
347
356
  The dev server watches for changes in:
348
357
 
@@ -456,7 +465,7 @@ With the application-spec pipeline, sync never writes `package.json`. Before it
456
465
 
457
466
  ### `phoenix deps`
458
467
 
459
- Brings `package.json` in line with the SDK's peer dependencies: the packages the SDK's code imports and the project installs next to it, so the project and the SDK share one copy. The `peerDependencies` of the installed `@salsita-ai/sdk` decide which packages and which versions. `@clerk/clerk-react` is needed only when the spec sets `useClerk`.
468
+ Brings `package.json` in line with the SDK's peer dependencies: the packages the SDK's code imports and the project installs next to it, so the project and the SDK share one copy. The `peerDependencies` of the installed `@salsita-ai/sdk` decide which packages and which versions. `@clerk/clerk-react` is needed only when the spec sets `access: legacy-clerk`.
460
469
 
461
470
  ```bash
462
471
  pnpm phoenix deps
@@ -487,7 +496,7 @@ run `phoenix sync` to refresh generated legacy configuration files.
487
496
 
488
497
  ## Inspect & Debug Tools
489
498
 
490
- All inspect commands connect to the editor via WebSocket (default port `3020`). The editor must be running (`phoenix dev` with `--editor` enabled) for these commands to work.
499
+ All inspect commands connect to the editor via WebSocket (default port `3020`). `phoenix dev` must be running with the preview open; in agent mode the editor runs with its UI hidden and the commands work the same.
491
500
 
492
501
  ### `phoenix inspect:assets`
493
502
 
@@ -586,7 +595,7 @@ export default ({ read, write, remove }) => {
586
595
  }
587
596
  ```
588
597
 
589
- `read(path)` always reads the baseline. `write(path, contents)` replaces or creates a file; `remove(path)` deletes it. Scripts run in the browser and collect edits; Phoenix validates and writes the batch locally. Supported files are YAML under `spec/` outside `spec/admin/`, and TypeScript under `src/components`, `transformers`, `handlers`, `elements` and `_`-prefixed shared folders. Expressions, actions and invariants also run on the server, so a script cannot edit them.
598
+ `read(path)` always reads the baseline. `write(path, contents)` replaces or creates a file; `remove(path)` deletes it. Scripts run in the browser and collect edits; Phoenix validates and writes the batch locally. Supported files are YAML under `spec/` outside `spec/admin/`, and TypeScript under `src/components`, `transformers`, `handlers`, `elements` and `_`-prefixed shared folders. Expressions and invariants also run on the server; those folders and action files are outside the supported edit surface.
590
599
 
591
600
  For standalone UI or branding proposals, write self-contained HTML files. Each page renders in its own iframe when selected; its `<title>` names the option and `<meta name="description" content="...">` describes it. HTML and scripts may share a set if their file names give distinct option ids.
592
601
 
@@ -750,38 +759,69 @@ For full deployment documentation including CI/CD integration, environment manag
750
759
 
751
760
  ## SDK Builders
752
761
 
753
- SDK-builder workspaces sign the CLI in with a personal API token instead of project keys, and deploy by uploading the project. See [SDK Builder Workflow](?path=/docs/phoenix-sdk-builder-workflow--docs) for the whole flow.
762
+ SDK builders sign the CLI in with an API token instead of project keys, and deploy by uploading the project. A token is one of three kinds: a personal token from `phoenix login`, which follows your access across all your workspaces; a workspace-bound token from the older `phoenix login <workspace>`; or a deploy-only automation token for CI, passed as [`PHOENIX_API_TOKEN`](#phoenix_api_token). See [SDK Builder Workflow](?path=/docs/phoenix-sdk-builder-workflow--docs) for the whole flow.
754
763
 
755
- ### `phoenix login <customer>`
764
+ ### `phoenix login [workspace]`
756
765
 
757
- Signs the CLI in to the SDK-builder workspace `<customer>`:
766
+ Signs the CLI in to your Phoenix account. Run it without an argument: the token is personal, follows your current access across all your SDK-builder workspaces, and needs no workspace slug.
758
767
 
759
- 1. Opens Studio, where you name the token and approve the sign-in (use `--no-open` to only print the link). Only a super admin of the workspace can open its Studio, so only a super admin can sign the CLI in. The page shows the workspace, your account, the computer the CLI runs on and how long the link still works. The CLI suggests the name `phoenix CLI on <computer>`; change it so you can tell your sign-ins apart later.
768
+ 1. Opens Studio, where you name the token and approve the sign-in (use `--no-open` to only print the link). Approving needs only an active account; developing and deploying need a current project Superadmin grant or workspace Superadmin membership, and the token follows that access as it changes. The page shows your account, the computer the CLI runs on and how long the link still works. The CLI suggests the name `phoenix CLI on <computer>`; change it so you can tell your sign-ins apart later.
760
769
  2. Studio sends a one-time code back to the CLI on `127.0.0.1`.
761
770
  3. The CLI exchanges the code for a token with the name you approved, and sends the browser back to Studio, which confirms the sign-in.
762
771
 
763
772
  **Deny** in Studio stops the CLI at once: it exits with `The sign-in was denied in Studio` and no token is created. The link works for five minutes and only for the CLI that printed it; after that, Studio shows that it no longer works and the CLI gives up.
764
773
 
765
- The token is stored in `~/.phoenix/credentials.json`, readable only by you, per server, together with the Studio URL of the sign-in; `PHOENIX_CREDENTIALS_FILE` moves the file. The token works until you revoke it. Signing in again to the same server revokes the token it replaces; the CLI warns if the server could not revoke it.
774
+ The token is stored in `~/.phoenix/credentials.json`, readable only by you, with one entry per server, together with the Studio URL of the sign-in; `PHOENIX_CREDENTIALS_FILE` moves the file. The token works until you revoke it. Signing in again to the same server revokes the token it replaces; when the server could not revoke it, the CLI warns and names Studio's **Tokens** page, where you can revoke it yourself.
775
+
776
+ | Flag | Env | Default | Description |
777
+ | ---------------------- | ---------------- | -------------------------------------------- | ------------------------------------------------ |
778
+ | `--region` | `PHOENIX_REGION` | your saved sign-in, else `eu` | Phoenix region to sign in to: `eu` or `us` |
779
+ | `--serverUrl` / `--su` | `SERVER_URL` | your saved sign-in, else the region's server | Phoenix server URL, for a local or custom server |
780
+ | `--studioUrl` | — | the Studio of the server | Studio URL matching the server |
781
+ | `--open` | — | `true` | Open the approval page in your browser |
782
+
783
+ The CLI prints the server it signs in to, and refuses a server and a Studio that do not belong to the same installation; this holds for the older workspace form too, whose Studio is a subdomain of the server's Studio. The Studio is known only for the server of a region, so a local or custom server needs `--studioUrl`.
784
+
785
+ #### Which server the CLI talks to
766
786
 
767
- | Flag | Default | Description |
768
- | ---------------------- | ------------------------------------ | ------------------------------------------------ |
769
- | `--region` | `eu` | Phoenix region of the workspace: `eu` or `us` |
770
- | `--serverUrl` / `--su` | the region's server | Phoenix server URL, for a local or custom server |
771
- | `--studioUrl` | the workspace's Studio in the region | Studio URL of the workspace |
772
- | `--open` | `true` | Open the approval page in your browser |
787
+ `login`, `dev` (when signed in), `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. The current saved sign-in is the most recent `phoenix login`; after `phoenix logout` of it, the most recent of the remaining sign-ins takes over. So after `phoenix login --region us`, a plain `phoenix deploy` goes to the US server. A `SERVER_URL` in a project's `.env` steers all of these commands in that folder.
773
788
 
774
- The sign-in follows the region, not the `SERVER_URL` in a project's `.env`: that variable names the server of the project's own environment. The CLI prints the server it signs in to.
789
+ When the chosen server holds no sign-in, the error lists the servers that do and the flag that selects each.
775
790
 
776
- For a local server, pass both URLs: `phoenix login <customer> --serverUrl http://localhost:3000 --studioUrl http://localhost:5500`.
791
+ For a local server, pass both URLs: `phoenix login --serverUrl http://localhost:3000 --studioUrl http://localhost:5500`.
792
+
793
+ `phoenix login <workspace>` is the older form. It still works and issues a token bound to that one workspace, approved in the workspace's own Studio (`--studioUrl` then defaults to it) by a member with workspace Superadmin or at least one project Superadmin assignment. With it, the project must belong to that workspace. It shares the one saved sign-in per server with the personal form, so each replaces the other. Studio and these pages show only plain `phoenix login`; prefer it.
777
794
 
778
795
  ### `phoenix logout`
779
796
 
780
- Revokes the token on the server and removes it from the credentials file. `--region` (default `eu`) or `--serverUrl` selects the server, as for `login`. When the server can't be reached, the token is still removed locally, and the CLI warns that it stays valid on the server.
797
+ Revokes the saved token on the server and removes it from the credentials file. The server is chosen as described in [Which server the CLI talks to](#which-server-the-cli-talks-to). When the server can't be reached, the token is still removed locally, and the CLI warns that it stays valid on the server and names Studio's **Tokens** page, where you can revoke it. `logout` acts only on the saved sign-in: it never revokes the token in `PHOENIX_API_TOKEN` and says so when the variable is set, and prints `Not signed in to <server>.` when there is no saved sign-in.
798
+
799
+ ### `phoenix whoami`
800
+
801
+ Shows what the credential the CLI would use can reach. It prints the account's email (its id on a server older than API 1.85.0), where the credential comes from (the saved sign-in with its file, or `PHOENIX_API_TOKEN`), whether it is personal or bound to a workspace, the server, and one line per workspace, `Name (slug): project slugs`; these are the slugs to put into `project` in the spec. For an automation token it also prints the token's actions and whether its scope is one project or the workspace. In a project folder it also says whether the credential can reach the `project` of the spec, which is the way to check where `phoenix deploy` would go without deploying.
802
+
803
+ ```bash
804
+ phoenix whoami
805
+ ```
806
+
807
+ The server is chosen as described in [Which server the CLI talks to](#which-server-the-cli-talks-to).
808
+
809
+ ### `PHOENIX_API_TOKEN`
810
+
811
+ For CI, create an automation token on Studio's **Tokens** page and pass it in the process environment as `PHOENIX_API_TOKEN`; see [Automation tokens](?path=/docs/phoenix-sdk-builder-workflow--docs#automation-tokens). An automation token is deploy only and is scoped to one project or one workspace.
812
+
813
+ - `phoenix deploy` and `phoenix whoami` read the variable, and it takes precedence over the saved sign-in; both name it as the credential. `phoenix dev`, `phoenix feedback`, `phoenix login` and `phoenix logout` ignore it and use the saved sign-in; `dev`, `feedback` and `logout` print one line that says so.
814
+ - It is read only from the process environment, never from `.env` or the generated env file, and is never written to the credentials file.
815
+ - An empty or malformed value stops the command; it does not fall back to the saved sign-in. When the server refuses the token, signing in again does not help: set the variable to a valid token, or unset it to use your saved sign-in.
816
+ - A deploy that runs with it prints no `Follow the build in Studio` link, because the link comes from the saved sign-in.
781
817
 
782
818
  ### `phoenix deploy`
783
819
 
784
- Validates the spec, packs and uploads the project, starts its build on the server and follows it until the configurator is live. Before the upload the server compares the domain model with the deployed one: a model that changed under an already deployed model version is refused with the reason, and needs a new model version and a [migration](?path=/docs/phoenix-migrations--docs). Before packing, it also refuses a `pnpm-workspace.yaml` whose `allowBuilds` leaves a package undecided, an entry that is neither `true` nor `false`, such as the placeholder pnpm 11 writes for a build script it skipped, because the platform build stops on it; the message names the packages. Once the build starts it prints `Follow the build in Studio: <url>`, the build's page in the Studio you signed in through; a sign-in stored by an older CLI has no Studio URL, so sign in again to get the link. It prints `Your configurator is live at <url>` when deployment succeeds. `--region` or `--serverUrl` selects the server, as for `login`; `--no-wait` returns as soon as the build starts.
820
+ Deploys to the project chosen as described in [Which project `phoenix dev` develops in](#which-project-phoenix-dev-develops-in): `--project <slug>`, then `project` in `spec/application.yaml`, then the projects the sign-in or token can reach. The project is the slug of one the credential can manage, in whichever of your workspaces owns it; [`phoenix whoami`](#phoenix-whoami) lists those slugs. Deploy does not read `PROJECT_SLUG` or `--projectSlug`, so the `.env` block of a development environment cannot redirect it. An automation token and the older workspace-bound sign-in (`phoenix login <workspace>`) belong to one workspace: with them the project must belong to that workspace. In CI with a deploy token (`PHOENIX_API_TOKEN`), a token limited to one project needs nothing more; a token for a whole workspace with several projects needs the project named in the spec or with `--project`. The project's storage must be ready. For a project other than the workspace's initial one, which carries the workspace's slug, the CLI checks server API 1.61.0 or newer before uploading, so an older server cannot silently deploy it to the initial project. Studio build links retain the selected project.
821
+
822
+ A deploy builds into a **preview** of the project, never into production: production changes only when a preview build is promoted in Studio, or rolled back there to an earlier build. Without `--env` it builds into `preview`, which the deploy creates when the project has none (and says so), as long as the project is below its workspace plan's preview limit (three on Trial, Basic and Beta). After `preview` is deleted, deploys without `--env` are refused until its removal has finished, so name another preview with `--env`. `--env <name>` builds into another preview of the project, which must exist: `--env` never creates one, and an unknown name, `production` or a preview being deleted stops the deploy before packing, with the project's previews. Automation tokens and older SDKs follow the same rule. The CLI needs server API 1.93.0 or newer, because an older server would build into production; it stops before packing otherwise.
823
+
824
+ Validates the spec, packs and uploads the project, starts its build on the server and follows it until the preview's configurator is live. Before packing it prints where the deploy goes and as whom: the server, the workspace with its slug, the project, the environment, the account and the credential source. A project the credential cannot reach stops the deploy there, with the project slugs it can reach in each workspace. A preview replaces a stored schema that changed under the same model version, because its saved configurations are test data; promoting such a build to production is refused, because production never replaces a schema, and needs a new model version and a [migration](?path=/docs/phoenix-migrations--docs). Before packing, it also refuses a `pnpm-workspace.yaml` whose `allowBuilds` leaves a package undecided, an entry that is neither `true` nor `false`, such as the placeholder pnpm 11 writes for a build script it skipped, because the platform build stops on it; the message names the packages. Builds of one preview run one at a time: a build started while another one of the preview runs waits, and the deploy prints `Build #54 is queued behind build #53 in preview` once, and again when the build ahead changes, then follows it as usual. At most three builds wait per environment; a further deploy is refused before the upload. Once the build starts it prints `Build #<n> started in <preview>` and `Follow the build in Studio: <url>`, the build's page in the Studio you signed in through; a sign-in stored by an older CLI has no Studio URL, so sign in again to get the link, and a deploy that runs with `PHOENIX_API_TOKEN` prints none. It prints `Your configurator is live at <url>` when deployment succeeds. The server is chosen as described in [Which server the CLI talks to](#which-server-the-cli-talks-to); `--no-wait` returns as soon as the build starts or joins the queue, after printing the queue line and the Studio link.
785
825
 
786
826
  A follow-up evaluation hint is addressed to coding agents; you can ignore it when running the command manually.
787
827
 
@@ -800,7 +840,7 @@ Review and redact credentials or unrelated sensitive content before uploading th
800
840
 
801
841
  ### `phoenix feedback [message]`
802
842
 
803
- Sends feedback about the SDK, the CLI, the documentation or Studio to the Phoenix team. It needs `phoenix login`: the server records the workspace, user and API token of the sign-in, so the message itself needs no introduction.
843
+ Sends feedback about the SDK, the CLI, the documentation or Studio to the Phoenix team. It needs the saved `phoenix login` sign-in, not `PHOENIX_API_TOKEN`: the server records the user and API token of the sign-in and the workspace of the project, so the message itself needs no introduction.
804
844
 
805
845
  ```bash
806
846
  phoenix feedback "phoenix build reports a missing entity when a module file is empty" --type bug
@@ -809,17 +849,17 @@ phoenix feedback --file report.txt --type bug
809
849
 
810
850
  Pass the message as the argument for a short note, or `--file` for a longer report: the content of the file is the message, read as UTF-8, so quotes, backticks and new lines arrive unchanged. Giving both, or neither, is an error.
811
851
 
812
- | Flag | Env | Default | Description |
813
- | ---------------------- | -------------- | ----------------------------- | --------------------------------------------------------- |
814
- | `--file` | — | — | Text file that holds the message, instead of the argument |
815
- | `--type` | — | `other` | What the feedback is about: `bug`, `idea` or `other` |
816
- | `--contact` | — | — | How to reach you, when you want a reply |
817
- | `--agent` | — | — | Name of the coding agent submitting the feedback |
818
- | `--projectSlug` / `-p` | `PROJECT_SLUG` | `project` of the spec, if any | Workspace project the feedback is about |
819
- | `--region` | — | `eu` | Phoenix region of the workspace: `eu` or `us` |
820
- | `--serverUrl` / `--su` | — | the region's server | Phoenix server URL, for a local or custom server |
821
-
822
- A message holds at most 100,000 characters, from the argument or from the file. Besides the message and the flags, the CLI sends only the SDK version, the operating system and the Node.js version; no file of the project is attached, and the Phoenix team reads a build's sources through the build's page in Studio. The project must belong to the signed-in workspace, otherwise the server refuses the feedback; without a project, the feedback is sent on its own.
852
+ | Flag | Env | Default | Description |
853
+ | ---------------------- | ---------------- | -------------------------------------------- | --------------------------------------------------------- |
854
+ | `--file` | — | — | Text file that holds the message, instead of the argument |
855
+ | `--type` | — | `other` | What the feedback is about: `bug`, `idea` or `other` |
856
+ | `--contact` | — | — | How to reach you, when you want a reply |
857
+ | `--agent` | — | — | Name of the coding agent submitting the feedback |
858
+ | `--projectSlug` / `-p` | `PROJECT_SLUG` | `project` of the spec, if it names one | Workspace project the feedback is about |
859
+ | `--region` | `PHOENIX_REGION` | your saved sign-in, else `eu` | Phoenix region you are signed in to: `eu` or `us` |
860
+ | `--serverUrl` / `--su` | `SERVER_URL` | your saved sign-in, else the region's server | Phoenix server URL, for a local or custom server |
861
+
862
+ A message holds at most 100,000 characters, from the argument or from the file. Besides the message and the flags, the CLI sends only the SDK version, the operating system and the Node.js version; no file of the project is attached, and the Phoenix team reads a build's sources through the build's page in Studio. The project must be one the sign-in can manage, otherwise the server refuses the feedback. A personal sign-in needs a project, from the spec or `--projectSlug`; with a workspace-bound sign-in, feedback without a project is sent on its own.
823
863
 
824
864
  Review the message before sending and omit secrets, credentials and personal data. The command needs a server with API 1.40.0 or newer; a message over 5000 characters needs API 1.43.0 or newer.
825
865
 
@@ -439,12 +439,15 @@ Handlers respond to application events and process backend tasks.
439
439
 
440
440
  **Event Handlers** are application lifecycle handlers for frontend events. They include `createCollectFrontendDataHandler()` for finalization data collection, `createOnGoToIndexHandler()` for navigation interception, and other lifecycle hooks.
441
441
 
442
+ **Access Handlers** customise the sign-in the `access` mode builds into the webhook: `phx.access.createChunkScopesHandler()`, `createVisitorHandler()`, in `access: invited` and `public-with-sign-in` `createSignedInHandler()` and, in `access: custom`, `createCodeHandler()`, `createRefreshHandler()` and `createAnonymousHandler()`. See [Webhooks - Auth Hook](?path=/docs/phoenix-webhooks--docs#auth-hook).
443
+
442
444
  **Webhook Handlers** are server-side task handlers for configuration finalization. Built with `phx.webhooks.finalizeHandlerBuilder`. They chain tasks like PDF generation, email sending, image rendering, and CSV export. These run on the backend after user submits configuration.
443
445
 
444
446
  | Purpose | Location | Example Files |
445
447
  | ---------------- | ------------------------ | ------------------------------------------------------- |
446
448
  | Event Handlers | `src/handlers/` | `collect-frontend-data.ts`, `GetResourcesMapHandler.ts` |
447
- | Webhook Handlers | `src/webhooks/handlers/` | `auth-handler.ts`, finalize handlers |
449
+ | Access Handlers | `src/handlers/` | `chunk-scopes.ts`, `visitor.ts` |
450
+ | Webhook Handlers | `src/webhooks/handlers/` | finalize handlers |
448
451
 
449
452
  ### Admin Interface
450
453
 
@@ -558,12 +561,12 @@ The `application.yaml` file contains global application-level settings. These fi
558
561
 
559
562
  ### Core Application
560
563
 
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 |
564
+ | Field | Type | Description |
565
+ | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
566
+ | `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 |
567
+ | `applicationVersion` | `string` | Semantic version (`x.y.z`) exported as `ApplicationVersion` constant, stored on the deployment record and named in the banner comment of built bundles |
568
+ | `webComponentTag` | `string` | Custom HTML web component tag name for embedding |
569
+ | `pageTitle` | `string` | Browser page title |
567
570
 
568
571
  ### Internationalization
569
572
 
@@ -574,12 +577,14 @@ The `application.yaml` file contains global application-level settings. These fi
574
577
 
575
578
  ### Authentication & Access Control
576
579
 
577
- | Field | Type | Description |
578
- | --------------- | ---------- | ------------------------------------------------------- |
579
- | `useAuthHook` | `boolean` | Enable authentication hook integration |
580
- | `useClerk` | `boolean` | Enable Clerk auth provider (auto-enables `useAuthHook`) |
581
- | `acl` | `object` | Access control list defining permissions |
582
- | `acl.canCreate` | `string[]` | Roles that can create configurations |
580
+ | Field | Type | Description |
581
+ | --------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
582
+ | `access` | `string` | Who can open the configurator and who signs its users in: `public` (default), `invited`, `public-with-sign-in`, `custom` or `legacy-clerk` |
583
+ | `useAuthHook` | `boolean` | Deprecated: `true` is replaced by `access: custom`, `false` by `access: public` |
584
+ | `useClerk` | `boolean` | Deprecated: replaced by `access: legacy-clerk` |
585
+ | `useCognito` | `boolean` | Deprecated: replaced by `access: invited`, or `access: public-with-sign-in` in a project with `src/webhooks/index.ts` |
586
+ | `acl` | `object` | Access control list defining permissions |
587
+ | `acl.canCreate` | `string[]` | Roles that can create configurations |
583
588
 
584
589
  ### Workspace & Data
585
590
 
@@ -588,6 +593,16 @@ The `application.yaml` file contains global application-level settings. These fi
588
593
  | `workspace` | `boolean` | Enable multi-user workspace collaboration |
589
594
  | `collectFinalizeData` | `boolean` | Collect data during finalization |
590
595
 
596
+ ### 3D Assets
597
+
598
+ `gltfDecoderWorkerLimit` and `exportPixelRatio` apply only to projects built with the application-spec pipeline.
599
+
600
+ | Field | Type | Description |
601
+ | ------------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
602
+ | `gltfDecoder` | `'wasm'\|'js'` | Draco decoder build (default: `wasm`); see [CSP](?path=/docs/phoenix-csp--docs) |
603
+ | `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 |
604
+ | `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 |
605
+
591
606
  ### UI Configuration
592
607
 
593
608
  | Field | Type | Description |
@@ -668,7 +683,7 @@ env:
668
683
  ### Example application.yaml
669
684
 
670
685
  ```yaml
671
- project: default
686
+ project: my-configurator
672
687
  applicationVersion: '1.0.0'
673
688
  webComponentTag: 'my-configurator'
674
689
  pageTitle: 'Product Configurator'
@@ -678,7 +693,7 @@ availableLocales:
678
693
  - de
679
694
  - fr
680
695
 
681
- useClerk: true
696
+ access: legacy-clerk
682
697
  sessionData:
683
698
  type: object
684
699
  properties: