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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (848) hide show
  1. package/README.md +10 -3
  2. package/dist/admin/common/admin-interface.d.ts +2 -2
  3. package/dist/application-spec/errors/diagnostic-codes.d.ts +8 -0
  4. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  5. package/dist/application-spec/errors/diagnostic-messages.d.ts +9 -1
  6. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  7. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  8. package/dist/application-spec/generate-application/code/index.d.ts +1 -0
  9. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +4 -3
  10. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  11. package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +1 -1
  12. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -2
  13. package/dist/application-spec/generate-application/code/templates/application-types.js +5 -5
  14. package/dist/application-spec/generate-application/code/templates/configurator-config.js +4 -2
  15. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +0 -1
  16. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +6 -8
  17. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -0
  18. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +8 -6
  19. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +6 -8
  20. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +3 -3
  21. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-base-configurator-builder.js +2 -1
  22. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +1 -1
  23. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +38 -41
  24. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +0 -3
  25. package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
  26. package/dist/application-spec/generate-application/code/templates/editor.d.ts +1 -1
  27. package/dist/application-spec/generate-application/code/templates/editor.js +16 -3
  28. package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
  29. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
  30. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +3 -3
  31. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +10 -6
  32. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -7
  33. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +10 -11
  34. package/dist/application-spec/generate-application/code/templates/html-index.d.ts +12 -1
  35. package/dist/application-spec/generate-application/code/templates/html-index.js +9 -10
  36. package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
  37. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
  38. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +8 -36
  39. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +15 -11
  40. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +1 -1
  41. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
  42. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
  43. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.d.ts +3 -0
  44. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
  45. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
  46. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
  47. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.d.ts +3 -0
  48. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
  49. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +3 -3
  50. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +1 -1
  51. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +1 -1
  52. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +1 -1
  53. package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +4 -2
  54. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +3 -3
  55. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +2 -2
  56. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +1 -1
  57. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -1
  58. package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +2 -2
  59. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -1
  60. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +3 -0
  61. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +42 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.d.ts +3 -0
  63. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/backend-data.js +45 -0
  64. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.d.ts +3 -0
  65. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +38 -0
  66. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.d.ts +3 -0
  67. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/finalization.js +92 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.d.ts +1 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/index.js +1 -0
  70. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.d.ts +3 -0
  71. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -0
  72. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.d.ts +3 -0
  73. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/callback.js +26 -0
  74. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.d.ts +3 -0
  75. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/documents.js +51 -0
  76. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.d.ts +3 -0
  77. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/email.js +38 -0
  78. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.d.ts +1 -0
  79. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/index.js +1 -0
  80. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.d.ts +3 -0
  81. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/integrations.js +88 -0
  82. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.d.ts +3 -0
  83. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/links-and-images.js +68 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.d.ts +3 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/tasks/tasks.js +1 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.d.ts +3 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +1 -1
  89. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +3 -3
  90. package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -1
  91. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +3 -3
  92. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
  93. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
  94. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +29 -1
  95. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -2
  96. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +29 -15
  97. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +17 -14
  98. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +2 -2
  99. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +3 -3
  100. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +2 -0
  101. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -1
  102. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -1
  103. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +2 -2
  104. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +1 -1
  105. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -1
  106. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +1 -1
  107. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
  108. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
  109. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +2 -0
  110. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -1
  111. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.d.ts +2 -0
  112. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-specification.js +28 -0
  113. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +0 -7
  114. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +1 -1
  115. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
  116. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +7 -6
  117. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +2 -1
  118. package/dist/application-spec/generate-application/code/templates/webhook-index.js +2 -2
  119. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +3 -0
  120. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
  121. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  122. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  123. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
  124. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
  125. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +67 -8
  126. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  127. package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
  128. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +6 -3
  129. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  130. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  131. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  132. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
  133. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  134. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
  135. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
  136. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +14 -2
  137. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -1
  138. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +7 -10
  139. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  140. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +5 -6
  141. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.js +1 -1
  142. package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
  143. package/dist/application-spec/webhook-boundary.js +1 -1
  144. package/dist/client/authorized-client.d.ts +1 -0
  145. package/dist/client/authorized-client.js +1 -1
  146. package/dist/client/cli-client/cli-api-client.d.ts +17 -0
  147. package/dist/client/cli-client/cli-api-client.js +1 -0
  148. package/dist/client/cli-client/index.d.ts +2 -0
  149. package/dist/client/cli-client/index.js +1 -0
  150. package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
  151. package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
  152. package/dist/client/contract.d.ts +28 -10
  153. package/dist/client/contract.js +1 -1
  154. package/dist/client/index.d.ts +2 -1
  155. package/dist/client/index.js +1 -1
  156. package/dist/client/local-authorized-client.d.ts +1 -0
  157. package/dist/client/local-authorized-client.js +1 -1
  158. package/dist/client/memory-authorized-client.d.ts +1 -0
  159. package/dist/client/memory-authorized-client.js +1 -1
  160. package/dist/client/phoenix-api.d.ts +7503 -2093
  161. package/dist/client/unauthenticated-client.js +1 -1
  162. package/dist/configurator/ConfiguratorApp.js +1 -1
  163. package/dist/configurator/agent-at-work/AgentAtWorkFallback.d.ts +7 -0
  164. package/dist/configurator/agent-at-work/AgentAtWorkFallback.js +1 -0
  165. package/dist/configurator/agent-at-work/AgentAtWorkPage.d.ts +20 -0
  166. package/dist/configurator/agent-at-work/AgentAtWorkPage.js +1 -0
  167. package/dist/configurator/agent-at-work/AgentModeBadge.d.ts +11 -0
  168. package/dist/configurator/agent-at-work/AgentModeBadge.js +1 -0
  169. package/dist/configurator/agent-at-work/StudioMark.d.ts +8 -0
  170. package/dist/configurator/agent-at-work/StudioMark.js +1 -0
  171. package/dist/configurator/agent-at-work/agent-at-work-copy.d.ts +17 -0
  172. package/dist/configurator/agent-at-work/agent-at-work-copy.js +1 -0
  173. package/dist/configurator/agent-at-work/agent-at-work-styles.d.ts +23 -0
  174. package/dist/configurator/agent-at-work/agent-at-work-styles.js +374 -0
  175. package/dist/configurator/agent-at-work/index.d.ts +3 -0
  176. package/dist/configurator/agent-at-work/index.js +1 -0
  177. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.d.ts +5 -4
  178. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.js +1 -1
  179. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  180. package/dist/configurator/application-runtime/extensions/selectors.d.ts +4 -2
  181. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  182. package/dist/configurator/application-runtime/extensions/systems/action-system/action-context.d.ts +14 -0
  183. package/dist/configurator/application-runtime/extensions/systems/action-system/action-factory.d.ts +13 -0
  184. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.d.ts +55 -0
  185. package/dist/configurator/application-runtime/extensions/systems/action-system/action-system.js +1 -0
  186. package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +56 -0
  187. package/dist/configurator/application-runtime/extensions/systems/action-system/action.js +1 -0
  188. package/dist/configurator/application-runtime/extensions/systems/action-system/index.d.ts +6 -0
  189. package/dist/configurator/application-runtime/extensions/systems/action-system/index.js +1 -0
  190. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.d.ts +4 -3
  191. package/dist/{domain/domain-runtime/spec → configurator/application-runtime/extensions/systems/action-system}/prepare-action-implementations.js +2 -2
  192. package/dist/{domain/spec/modules → configurator/application-runtime/extensions/systems/action-system}/resolve-action-modules.d.ts +2 -2
  193. package/dist/configurator/application-runtime/extensions/systems/action-system/resolve-action-modules.js +1 -0
  194. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +14 -8
  195. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.d.ts +18 -0
  196. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-image-view.js +1 -0
  197. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.d.ts +69 -0
  198. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-speech-player.js +1 -0
  199. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +246 -22
  200. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  201. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.d.ts +63 -0
  202. package/dist/configurator/application-runtime/extensions/systems/assistant-system/composer-attachments.js +1 -0
  203. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +52 -36
  204. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  205. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.d.ts +13 -0
  206. package/dist/configurator/application-runtime/extensions/systems/assistant-system/rasterize-image.js +1 -0
  207. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.d.ts +7 -0
  208. package/dist/configurator/application-runtime/extensions/systems/assistant-system/speakable-reply.js +1 -0
  209. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +3 -0
  210. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -0
  211. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +33 -0
  212. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -0
  213. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
  214. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
  215. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.d.ts +10 -0
  216. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/to-webmcp-result.js +1 -0
  217. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +41 -35
  218. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  219. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +18 -5
  220. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  221. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +8 -1
  222. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  223. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +46 -12
  224. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  225. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.d.ts +16 -0
  226. package/dist/configurator/application-runtime/extensions/systems/graphql-system/is-offered-for-selection.js +1 -0
  227. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +26 -0
  228. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -0
  229. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +25 -8
  230. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -1
  231. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
  232. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
  233. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +15 -7
  234. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  235. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +8 -3
  236. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  237. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +11 -0
  238. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  239. package/dist/configurator/application-runtime/extensions/systems/sketching-system/sketching-system.d.ts +5 -5
  240. package/dist/configurator/application-runtime/hooks/use-configurator.d.ts +3 -3
  241. package/dist/configurator/common/configurator-interface.d.ts +11 -9
  242. package/dist/configurator/common/configurator-interface.js +1 -1
  243. package/dist/configurator/index.d.ts +1 -0
  244. package/dist/configurator/index.js +1 -1
  245. package/dist/configurator/{ui/configurator-layout/universal → pages}/ExportingOverlay.d.ts +3 -2
  246. package/dist/configurator/pages/ExportingOverlay.js +1 -0
  247. package/dist/configurator/pages/InertRoot.d.ts +10 -0
  248. package/dist/configurator/pages/InertRoot.js +1 -0
  249. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  250. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  251. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  252. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.d.ts +8 -0
  253. package/dist/configurator/pages/error-boundaries/AgentModeErrorFallback.js +1 -0
  254. package/dist/configurator/pages/error-boundaries/DevContextFallback.d.ts +4 -2
  255. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  256. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.d.ts +6 -4
  257. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  258. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  259. package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
  260. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  261. package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
  262. package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
  263. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
  264. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  265. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
  266. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
  267. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -1
  268. package/dist/configurator/ui/assistant/AssistantChips.d.ts +78 -6
  269. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  270. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +99 -1
  271. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  272. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +37 -3
  273. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  274. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +51 -4
  275. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  276. package/dist/configurator/ui/assistant/AssistantThread.d.ts +85 -2
  277. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  278. package/dist/configurator/ui/assistant/AssistantThreadItemView.d.ts +83 -6
  279. package/dist/configurator/ui/assistant/AssistantThreadItemView.js +1 -1
  280. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +35 -1
  281. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
  282. package/dist/configurator/ui/assistant/alert/index.d.ts +1 -1
  283. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +34 -0
  284. package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -1
  285. package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +2 -3
  286. package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -1
  287. package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -1
  288. package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +59 -5
  289. package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -1
  290. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +40 -5
  291. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -1
  292. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +6 -5
  293. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -1
  294. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +5 -0
  295. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -1
  296. package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +1 -0
  297. package/dist/configurator/ui/assistant/annotation/index.d.ts +3 -2
  298. package/dist/configurator/ui/assistant/annotation/index.js +1 -1
  299. package/dist/configurator/ui/assistant/assistant-failure.d.ts +9 -4
  300. package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
  301. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +49 -5
  302. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -1
  303. package/dist/configurator/ui/assistant/attachments/index.d.ts +1 -1
  304. package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +7 -2
  305. package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -1
  306. package/dist/configurator/ui/assistant/composer/index.d.ts +1 -1
  307. package/dist/configurator/ui/assistant/composer/index.js +1 -1
  308. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
  309. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
  310. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
  311. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
  312. package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
  313. package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
  314. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +58 -0
  315. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -0
  316. package/dist/configurator/ui/assistant/drawing/index.d.ts +2 -0
  317. package/dist/configurator/ui/assistant/drawing/index.js +1 -0
  318. package/dist/configurator/ui/assistant/drawing/parse-drawing.d.ts +18 -0
  319. package/dist/configurator/ui/assistant/drawing/parse-drawing.js +1 -0
  320. package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +8 -0
  321. package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -0
  322. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +35 -1
  323. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  324. package/dist/configurator/ui/assistant/entity-link/index.d.ts +1 -1
  325. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +59 -2
  326. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  327. package/dist/configurator/ui/assistant/form/built-in-form-slots.d.ts +16 -0
  328. package/dist/configurator/ui/assistant/form/built-in-form-slots.js +1 -0
  329. package/dist/configurator/ui/assistant/form/form-model.d.ts +9 -0
  330. package/dist/configurator/ui/assistant/form/index.d.ts +2 -1
  331. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +6 -5
  332. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -1
  333. package/dist/configurator/ui/assistant/form/read-form-tile.d.ts +8 -0
  334. package/dist/configurator/ui/assistant/form/read-form-tile.js +1 -0
  335. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +6 -3
  336. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -1
  337. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +11 -7
  338. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +1 -1
  339. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -1
  340. package/dist/configurator/ui/assistant/form/registry/index.d.ts +1 -1
  341. package/dist/configurator/ui/assistant/form/split-form-rows.d.ts +7 -0
  342. package/dist/configurator/ui/assistant/form/split-form-rows.js +1 -0
  343. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +51 -0
  344. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -1
  345. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +47 -0
  346. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -1
  347. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +43 -0
  348. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
  349. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +56 -2
  350. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -1
  351. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +43 -0
  352. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -1
  353. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +47 -0
  354. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -1
  355. package/dist/configurator/ui/assistant/form-elements/FormTile.d.ts +72 -0
  356. package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -0
  357. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +27 -0
  358. package/dist/configurator/ui/assistant/form-elements/index.d.ts +8 -9
  359. package/dist/configurator/ui/assistant/form-elements/index.js +1 -1
  360. package/dist/configurator/ui/assistant/image-view/ImageView.d.ts +66 -0
  361. package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -0
  362. package/dist/configurator/ui/assistant/image-view/index.d.ts +1 -0
  363. package/dist/configurator/ui/assistant/image-view/index.js +1 -0
  364. package/dist/configurator/ui/assistant/image-view/use-image-blob.d.ts +7 -0
  365. package/dist/configurator/ui/assistant/image-view/use-image-blob.js +1 -0
  366. package/dist/configurator/ui/assistant/index.d.ts +21 -10
  367. package/dist/configurator/ui/assistant/index.js +1 -1
  368. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.d.ts +57 -0
  369. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -0
  370. package/dist/configurator/ui/assistant/panel/index.d.ts +1 -0
  371. package/dist/configurator/ui/assistant/panel/index.js +1 -0
  372. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +43 -1
  373. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
  374. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +4 -1
  375. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -1
  376. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -2
  377. package/dist/configurator/ui/assistant/reference-link/index.js +1 -1
  378. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +49 -2
  379. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -1
  380. package/dist/configurator/ui/assistant/resource-image/index.d.ts +1 -1
  381. package/dist/configurator/ui/assistant/resource-image/index.js +1 -1
  382. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +34 -0
  383. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -1
  384. package/dist/configurator/ui/assistant/screenshots/index.d.ts +1 -1
  385. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +2 -6
  386. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
  387. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +5 -6
  388. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -1
  389. package/dist/configurator/ui/assistant/thread-items.d.ts +17 -3
  390. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  391. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +32 -7
  392. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -2
  393. package/dist/configurator/ui/assistant/use-assistant-thread.d.ts +15 -1
  394. package/dist/configurator/ui/assistant/use-assistant-thread.js +1 -1
  395. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +3 -3
  396. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -1
  397. package/dist/configurator/ui/assistant/{annotation/use-end-on-unmount.d.ts → use-on-unmount.d.ts} +1 -1
  398. package/dist/configurator/ui/assistant/use-on-unmount.js +1 -0
  399. package/dist/configurator/ui/assistant/voice/RecordingBar.d.ts +21 -0
  400. package/dist/configurator/ui/assistant/voice/RecordingBar.js +1 -0
  401. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.d.ts +43 -0
  402. package/dist/configurator/ui/assistant/voice/ReplyPlayButton.js +1 -0
  403. package/dist/configurator/ui/assistant/voice/index.d.ts +4 -0
  404. package/dist/configurator/ui/assistant/voice/index.js +1 -0
  405. package/dist/configurator/ui/assistant/voice/use-voice-recording.d.ts +39 -0
  406. package/dist/configurator/ui/assistant/voice/use-voice-recording.js +1 -0
  407. package/dist/configurator/ui/assistant/voice/voice-capture.d.ts +22 -0
  408. package/dist/configurator/ui/assistant/voice/voice-capture.js +1 -0
  409. package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
  410. package/dist/configurator/ui/configurator-layout/index.js +1 -1
  411. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  412. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
  413. package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
  414. package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
  415. package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
  416. package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
  417. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
  418. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
  419. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
  420. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
  421. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  422. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  423. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  424. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  425. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  426. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
  427. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
  428. package/dist/configurator/ui/index.d.ts +1 -1
  429. package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
  430. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  431. package/dist/docs/index.json +130 -5
  432. package/dist/docs/integrations/woocommerce/overview.mdx +4 -2
  433. package/dist/docs/layouts/nested-view-controls.mdx +223 -0
  434. package/dist/docs/layouts/presets/custom.mdx +1 -0
  435. package/dist/docs/layouts/preview/always.mdx +22 -0
  436. package/dist/docs/layouts/view-controls.mdx +2 -0
  437. package/dist/docs/other-features/domain-actions.mdx +82 -55
  438. package/dist/docs/other-features/violation-messages.mdx +3 -1
  439. package/dist/docs/phoenix/admin.mdx +30 -34
  440. package/dist/docs/phoenix/application-states.mdx +1 -1
  441. package/dist/docs/phoenix/assistant/actions.mdx +183 -0
  442. package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
  443. package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
  444. package/dist/docs/phoenix/assistant/overview.mdx +137 -0
  445. package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
  446. package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
  447. package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
  448. package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
  449. package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
  450. package/dist/docs/phoenix/blender-rendering.mdx +3 -1
  451. package/dist/docs/phoenix/configurator-interface.mdx +105 -10
  452. package/dist/docs/phoenix/data-sources.mdx +61 -37
  453. package/dist/docs/phoenix/finalization.mdx +2 -1
  454. package/dist/docs/phoenix/getting-started.mdx +1 -1
  455. package/dist/docs/phoenix/integration/authentication-internal.mdx +2 -2
  456. package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -1
  457. package/dist/docs/phoenix/layout-slots.mdx +2 -2
  458. package/dist/docs/phoenix/localization.mdx +2 -1
  459. package/dist/docs/phoenix/migrations.mdx +1 -1
  460. package/dist/docs/phoenix/phoenix-cli.mdx +97 -57
  461. package/dist/docs/phoenix/project-structure.mdx +17 -7
  462. package/dist/docs/phoenix/sdk-builder-workflow.mdx +61 -30
  463. package/dist/docs/phoenix/sessions-and-access.mdx +62 -41
  464. package/dist/docs/phoenix/sharing.mdx +1 -1
  465. package/dist/docs/phoenix/theming.mdx +5 -9
  466. package/dist/docs/phoenix/webhook-membership.mdx +1 -1
  467. package/dist/docs/phoenix/webhooks.mdx +417 -241
  468. package/dist/docs/ux-guidelines/choosing-navigation.mdx +2 -0
  469. package/dist/docs/ux-guidelines/designing-the-configuration-journey.mdx +43 -0
  470. package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
  471. package/dist/docs/ux-guidelines/overview.mdx +11 -9
  472. package/dist/domain/admin-domain/index.d.ts +2 -2
  473. package/dist/domain/application/application-config.d.ts +8 -1
  474. package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
  475. package/dist/domain/application/assistant/assistant-exposure.js +1 -0
  476. package/dist/domain/application/assistant/assistant-selection.d.ts +30 -0
  477. package/dist/domain/application/assistant/assistant-selection.js +1 -0
  478. package/dist/domain/application/assistant/build-assistant-lenses.js +4 -4
  479. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +2 -2
  480. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  481. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +18 -2
  482. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  483. package/dist/domain/application/assistant/index.d.ts +5 -1
  484. package/dist/domain/application/assistant/index.js +1 -1
  485. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.d.ts +16 -0
  486. package/dist/domain/application/assistant/prepare-assistant-navigation-updates.js +1 -0
  487. package/dist/domain/application/assistant/read-assistant-navigation.d.ts +40 -0
  488. package/dist/domain/application/assistant/read-assistant-navigation.js +1 -0
  489. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  490. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +30 -2
  491. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  492. package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
  493. package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
  494. package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
  495. package/dist/domain/application/assistant/session-setup/index.js +1 -1
  496. package/dist/domain/application/assistant-field-options.d.ts +2 -0
  497. package/dist/domain/application/assistant-field-options.js +1 -1
  498. package/dist/domain/application/assistant-mutations.d.ts +17 -11
  499. package/dist/domain/application/assistant-mutations.js +1 -1
  500. package/dist/domain/application/assistant-recipe-groups.d.ts +4 -3
  501. package/dist/domain/application/assistant-recipe-groups.js +1 -1
  502. package/dist/domain/application/configurator-builder.d.ts +45 -37
  503. package/dist/domain/application/configurator-builder.js +1 -1
  504. package/dist/domain/available-system-components/available-system-components.d.ts +1 -1
  505. package/dist/domain/available-system-components/available-system-components.js +1 -1
  506. package/dist/domain/core/action/action.d.ts +0 -49
  507. package/dist/domain/core/action/index.d.ts +0 -1
  508. package/dist/domain/core/action/index.js +1 -1
  509. package/dist/domain/core/component/system-component-filter.d.ts +1 -0
  510. package/dist/domain/core/component/system-component-filter.js +1 -1
  511. package/dist/domain/core/component/view-state-component.d.ts +4 -3
  512. package/dist/domain/core/component/view-state-component.js +1 -1
  513. package/dist/domain/core/domain-factory.d.ts +2 -3
  514. package/dist/domain/core/index.d.ts +1 -1
  515. package/dist/domain/core/index.js +1 -1
  516. package/dist/domain/core/invariant/control-violation-hints.d.ts +37 -0
  517. package/dist/domain/core/invariant/control-violation-hints.js +1 -0
  518. package/dist/domain/core/invariant/index.d.ts +1 -0
  519. package/dist/domain/core/invariant/index.js +1 -1
  520. package/dist/domain/domain-builder/domain-builder.d.ts +1 -6
  521. package/dist/domain/domain-builder/domain-builder.js +1 -1
  522. package/dist/domain/domain-context/domain-context-systems.d.ts +3 -5
  523. package/dist/domain/domain-context/index.d.ts +0 -1
  524. package/dist/domain/domain-context/index.js +1 -1
  525. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
  526. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  527. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  528. package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +1 -1
  529. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  530. package/dist/domain/domain-runtime/domain-context/index.d.ts +0 -1
  531. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +5 -4
  532. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  533. package/dist/domain/domain-runtime/domain-runtime.d.ts +19 -13
  534. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  535. package/dist/domain/domain-runtime/environment/actions.d.ts +1 -0
  536. package/dist/domain/domain-runtime/environment/actions.js +1 -1
  537. package/dist/domain/domain-runtime/environment/initialize.js +1 -1
  538. package/dist/domain/domain-runtime/environment/selectors.d.ts +2 -0
  539. package/dist/domain/domain-runtime/environment/selectors.js +1 -1
  540. package/dist/domain/domain-runtime/environment/types.d.ts +6 -0
  541. package/dist/domain/domain-runtime/spec/index.d.ts +0 -1
  542. package/dist/domain/domain-runtime/spec/index.js +1 -1
  543. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  544. package/dist/domain/domain-runtime/spec/selectors.d.ts +2 -2
  545. package/dist/domain/domain-runtime/spec/types.d.ts +12 -10
  546. package/dist/domain/extensions/assistant/assistant-greeting.d.ts +30 -0
  547. package/dist/domain/extensions/assistant/assistant-greeting.js +1 -0
  548. package/dist/domain/extensions/assistant/index.d.ts +1 -0
  549. package/dist/domain/extensions/assistant/index.js +1 -0
  550. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +5 -4
  551. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  552. package/dist/domain/extensions/index.d.ts +1 -1
  553. package/dist/domain/extensions/index.js +1 -1
  554. package/dist/domain/index.d.ts +1 -1
  555. package/dist/domain/index.js +1 -1
  556. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -6
  557. package/dist/domain/spec/expressions/relation-expression-params.d.ts +1 -1
  558. package/dist/domain/spec/modules/index.d.ts +0 -1
  559. package/dist/domain/spec/modules/index.js +1 -1
  560. package/dist/domain/spec/phx/phx-domain.d.ts +0 -1
  561. package/dist/domain/spec/phx/phx-domain.js +1 -1
  562. package/dist/domain/spec/runtime/application-spec-slice.d.ts +5 -5
  563. package/dist/domain/spec/runtime/application-spec-slice.js +1 -1
  564. package/dist/domain/spec/runtime/create-application.d.ts +5 -2
  565. package/dist/domain/spec/runtime/create-application.js +1 -1
  566. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +2 -2
  567. package/dist/domain/spec/sections/actions.d.ts +3 -2
  568. package/dist/domain/spec/sections/app-metadata.d.ts +3 -0
  569. package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
  570. package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
  571. package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +35 -2
  572. package/dist/domain/spec/sections/assistant/assistant-navigation.d.ts +21 -0
  573. package/dist/domain/spec/sections/assistant/assistant-navigation.js +1 -0
  574. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +55 -13
  575. package/dist/domain/spec/sections/assistant/assistant-select.d.ts +12 -0
  576. package/dist/domain/spec/sections/assistant/assistant-select.js +1 -0
  577. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.d.ts +10 -26
  578. package/dist/domain/spec/sections/assistant/form/assistant-form-elements.js +1 -1
  579. package/dist/domain/spec/sections/assistant/index.d.ts +5 -2
  580. package/dist/domain/system-components/index.d.ts +1 -0
  581. package/dist/domain/system-components/index.js +1 -1
  582. package/dist/domain/system-components/navigation/index.d.ts +1 -0
  583. package/dist/domain/system-components/navigation/index.js +1 -0
  584. package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
  585. package/dist/domain/system-components/navigation/view-controls.js +1 -0
  586. package/dist/editor/Editor.d.ts +5 -0
  587. package/dist/editor/Editor.js +1 -1
  588. package/dist/editor/EditorMode.d.ts +2 -0
  589. package/dist/editor/EditorMode.js +1 -1
  590. package/dist/editor/agent-mode/AgentModeBridge.d.ts +10 -0
  591. package/dist/editor/agent-mode/AgentModeBridge.js +1 -0
  592. package/dist/editor/agent-mode/agent-at-work-fonts.d.ts +2 -0
  593. package/dist/editor/agent-mode/agent-at-work-fonts.js +1 -0
  594. package/dist/editor/console-reporter/BrowserConsoleReporter.js +1 -1
  595. package/dist/editor/console-reporter/console-capture.d.ts +20 -0
  596. package/dist/editor/console-reporter/console-capture.js +1 -0
  597. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  598. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  599. package/dist/editor/domain-editors/use-implementation-files.d.ts +4 -3
  600. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  601. package/dist/editor/index.d.ts +1 -0
  602. package/dist/editor/index.js +1 -1
  603. package/dist/editor/variants/VariantAnswerFooter.d.ts +8 -1
  604. package/dist/editor/variants/VariantAnswerFooter.js +1 -1
  605. package/dist/editor/variants/VariantPageUnavailable.d.ts +5 -0
  606. package/dist/editor/variants/VariantPageUnavailable.js +1 -0
  607. package/dist/editor/variants/VariantPreviewHandler.js +1 -1
  608. package/dist/editor/variants/variant-preview-fonts.d.ts +2 -0
  609. package/dist/editor/variants/variant-preview-fonts.js +1 -0
  610. package/dist/editor/variants/variant-preview-styles.d.ts +40 -48
  611. package/dist/editor/variants/variant-preview-styles.js +493 -1
  612. package/dist/extras/cognito/CognitoSignInPage.d.ts +2 -0
  613. package/dist/extras/cognito/CognitoSignInPage.js +1 -0
  614. package/dist/extras/cognito/index.d.ts +1 -0
  615. package/dist/extras/cognito/index.js +1 -0
  616. package/dist/globals/index.d.ts +5 -0
  617. package/dist/i18n/locales/cs/messages.js +1 -1
  618. package/dist/i18n/locales/da/messages.js +1 -1
  619. package/dist/i18n/locales/de/messages.js +1 -1
  620. package/dist/i18n/locales/de-AT/messages.js +1 -1
  621. package/dist/i18n/locales/en/messages.js +1 -1
  622. package/dist/i18n/locales/en-AU/messages.js +1 -1
  623. package/dist/i18n/locales/en-GB/messages.js +1 -1
  624. package/dist/i18n/locales/es/messages.js +1 -1
  625. package/dist/i18n/locales/fr/messages.js +1 -1
  626. package/dist/i18n/locales/hu/messages.js +1 -1
  627. package/dist/i18n/locales/it/messages.js +1 -1
  628. package/dist/i18n/locales/nl/messages.js +1 -1
  629. package/dist/i18n/locales/pl/messages.js +1 -1
  630. package/dist/i18n/locales/pt/messages.js +1 -1
  631. package/dist/i18n/locales/ro/messages.js +1 -1
  632. package/dist/i18n/locales/sk/messages.js +1 -1
  633. package/dist/i18n/locales/tr/messages.js +1 -1
  634. package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
  635. package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
  636. package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
  637. package/dist/legacy/domain-cli/gen/configurator-builder.js +5 -4
  638. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  639. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  640. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +25 -3
  641. package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
  642. package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
  643. package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
  644. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  645. package/dist/legacy/webhook-cli/lib/webhook-boundary.js +1 -1
  646. package/dist/phoenix/application-spec/application-spec-builder.d.ts +2 -2
  647. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  648. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +2 -1
  649. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  650. package/dist/phoenix/application-spec/generate-project-files.d.ts +4 -3
  651. package/dist/phoenix/application-spec/generate-project-files.js +1 -1
  652. package/dist/phoenix/application-spec/index.d.ts +2 -1
  653. package/dist/phoenix/application-spec/index.js +1 -1
  654. package/dist/phoenix/application-spec/read-spec-project.d.ts +1 -2
  655. package/dist/phoenix/application-spec/read-spec-project.js +1 -1
  656. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +1 -0
  657. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  658. package/dist/phoenix/cli.js +1 -1
  659. package/dist/phoenix/commands/account/index.d.ts +1 -0
  660. package/dist/phoenix/commands/account/index.js +1 -0
  661. package/dist/phoenix/commands/account/whoami.d.ts +10 -0
  662. package/dist/phoenix/commands/account/whoami.js +4 -0
  663. package/dist/phoenix/commands/build.d.ts +2 -1
  664. package/dist/phoenix/commands/build.js +1 -1
  665. package/dist/phoenix/commands/clean.d.ts +2 -1
  666. package/dist/phoenix/commands/clean.js +1 -1
  667. package/dist/phoenix/commands/cleanup-environment.js +1 -1
  668. package/dist/phoenix/commands/deploy.d.ts +7 -2
  669. package/dist/phoenix/commands/deploy.js +9 -3
  670. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  671. package/dist/phoenix/commands/dev.d.ts +2 -1
  672. package/dist/phoenix/commands/dev.js +4 -4
  673. package/dist/phoenix/commands/feedback.d.ts +2 -2
  674. package/dist/phoenix/commands/feedback.js +1 -1
  675. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  676. package/dist/phoenix/commands/index.d.ts +1 -0
  677. package/dist/phoenix/commands/index.js +1 -1
  678. package/dist/phoenix/commands/init-starter-spec.js +3 -4
  679. package/dist/phoenix/commands/init.d.ts +2 -2
  680. package/dist/phoenix/commands/init.js +1 -1
  681. package/dist/phoenix/commands/login.d.ts +6 -3
  682. package/dist/phoenix/commands/login.js +3 -3
  683. package/dist/phoenix/commands/logout.js +1 -1
  684. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  685. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  686. package/dist/phoenix/commands/sync.d.ts +2 -1
  687. package/dist/phoenix/commands/sync.js +1 -1
  688. package/dist/phoenix/services/application-spec-project-watcher.d.ts +3 -1
  689. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  690. package/dist/phoenix/services/cli-credentials.d.ts +26 -7
  691. package/dist/phoenix/services/cli-credentials.js +2 -2
  692. package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
  693. package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
  694. package/dist/phoenix/services/cli-server/index.d.ts +2 -0
  695. package/dist/phoenix/services/cli-server/index.js +1 -0
  696. package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +19 -0
  697. package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
  698. package/dist/phoenix/services/dev-experience/dev-experience.d.ts +31 -0
  699. package/dist/phoenix/services/dev-experience/dev-experience.js +1 -0
  700. package/dist/phoenix/services/dev-experience/index.d.ts +3 -0
  701. package/dist/phoenix/services/dev-experience/index.js +1 -0
  702. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.d.ts +7 -0
  703. package/dist/phoenix/services/dev-experience/read-explicit-editor-setting.js +1 -0
  704. package/dist/phoenix/services/dev-experience/regenerated-page-experience.d.ts +24 -0
  705. package/dist/phoenix/services/dev-experience/regenerated-page-experience.js +1 -0
  706. package/dist/phoenix/services/development-credential.js +1 -1
  707. package/dist/phoenix/services/frontend-config.d.ts +2 -0
  708. package/dist/phoenix/services/index.d.ts +6 -3
  709. package/dist/phoenix/services/index.js +1 -1
  710. package/dist/phoenix/services/phoenix-pubsub.d.ts +4 -0
  711. package/dist/phoenix/services/phoenix-regions.d.ts +6 -1
  712. package/dist/phoenix/services/phoenix-regions.js +1 -1
  713. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  714. package/dist/phoenix/services/session/phoenix-application.d.ts +2 -1
  715. package/dist/phoenix/services/session/phoenix-application.js +2 -2
  716. package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
  717. package/dist/phoenix/services/signed-in-development-environment.js +1 -1
  718. package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
  719. package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
  720. package/dist/phoenix/services/spec-project/index.d.ts +3 -0
  721. package/dist/phoenix/services/spec-project/index.js +1 -0
  722. package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
  723. package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
  724. package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
  725. package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
  726. package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
  727. package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
  728. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -1
  729. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +1 -1
  730. package/dist/phoenix/services/telemetry/telemetry-state.js +1 -1
  731. package/dist/phoenix/services/variant-file-session.js +1 -1
  732. package/dist/phoenix/services/vite-config.d.ts +2 -1
  733. package/dist/phoenix/services/vite-config.js +1 -1
  734. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  735. package/dist/react-sdk/application-runtime/common-services/index.d.ts +1 -0
  736. package/dist/react-sdk/application-runtime/common-services/index.js +1 -1
  737. package/dist/react-sdk/application-runtime/common-services/selectors.d.ts +2 -0
  738. package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
  739. package/dist/react-sdk/application-runtime/common-services/webmcp/index.d.ts +3 -0
  740. package/dist/react-sdk/application-runtime/common-services/webmcp/index.js +1 -0
  741. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.d.ts +35 -0
  742. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-host.js +1 -0
  743. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.d.ts +44 -0
  744. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-model-context.js +1 -0
  745. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.d.ts +24 -0
  746. package/dist/react-sdk/application-runtime/common-services/webmcp/webmcp-tool-result.js +1 -0
  747. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.d.ts +7 -1
  748. package/dist/react-sdk/application-runtime/domain-application-context/application-runtime-extension.js +1 -1
  749. package/dist/react-sdk/application-runtime/domain-application-context/domain-application-systems.d.ts +2 -2
  750. package/dist/react-sdk/application-runtime/domain-application-context/selectors.d.ts +1 -3
  751. package/dist/react-sdk/application-runtime/domain-application-context/selectors.js +1 -1
  752. package/dist/react-sdk/application-runtime/hooks/index.d.ts +1 -0
  753. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  754. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +2 -0
  755. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -1
  756. package/dist/react-sdk/application-runtime/hooks/use-environment.d.ts +7 -0
  757. package/dist/react-sdk/application-runtime/hooks/use-environment.js +1 -1
  758. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  759. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.d.ts +7 -0
  760. package/dist/react-sdk/application-runtime/hooks/use-webmcp-host.js +1 -0
  761. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  762. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +6 -0
  763. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -1
  764. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -1
  765. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -1
  766. package/dist/react-sdk/application-runtime/responsive/types.d.ts +9 -0
  767. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +28 -12
  768. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  769. package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
  770. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +2 -2
  771. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +1 -1
  772. package/dist/react-sdk/domain-context/common-hooks/use-state-validity.js +1 -1
  773. package/dist/react-sdk/domain-context/index.d.ts +3 -2
  774. package/dist/react-sdk/domain-context/index.js +1 -1
  775. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +1 -5
  776. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -1
  777. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
  778. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
  779. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
  780. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  781. package/dist/react-sdk/preset-selection/PresetSelectionProvider.d.ts +11 -0
  782. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
  783. package/dist/react-sdk/preset-selection/PresetWebMcpTools.d.ts +14 -0
  784. package/dist/react-sdk/preset-selection/PresetWebMcpTools.js +1 -0
  785. package/dist/react-sdk/preset-selection/index.d.ts +2 -1
  786. package/dist/react-sdk/preset-selection/index.js +1 -1
  787. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.d.ts +31 -0
  788. package/dist/react-sdk/preset-selection/register-preset-webmcp-tools.js +1 -0
  789. package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
  790. package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
  791. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  792. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  793. package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
  794. package/dist/ui-sdk/components/preview/Preview.js +2 -2
  795. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +3 -2
  796. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  797. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
  798. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
  799. package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
  800. package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
  801. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
  802. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
  803. package/dist/ui-sdk/icons/__generated/Microphone.d.ts +3 -0
  804. package/dist/ui-sdk/icons/__generated/Microphone.js +1 -0
  805. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.d.ts +3 -0
  806. package/dist/ui-sdk/icons/__generated/MicrophoneSlash.js +1 -0
  807. package/dist/ui-sdk/icons/__generated/SpeakerHigh.d.ts +3 -0
  808. package/dist/ui-sdk/icons/__generated/SpeakerHigh.js +1 -0
  809. package/dist/ui-sdk/icons/__generated/SpeakerSlash.d.ts +3 -0
  810. package/dist/ui-sdk/icons/__generated/SpeakerSlash.js +1 -0
  811. package/dist/ui-sdk/icons/__generated/Stop.d.ts +3 -0
  812. package/dist/ui-sdk/icons/__generated/Stop.js +1 -0
  813. package/dist/ui-sdk/icons/__generated/index.d.ts +10 -0
  814. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  815. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  816. package/dist/ui-sdk/theme/types.d.ts +0 -4
  817. package/dist/webhook/builders/auth-handler-builder.d.ts +3 -0
  818. package/dist/webhook/builders/auth-handler-builder.js +1 -1
  819. package/dist/webhook/builders/common.d.ts +5 -3
  820. package/dist/webhook/builders/webhook-builder.d.ts +5 -0
  821. package/dist/webhook/builders/webhook-builder.js +1 -1
  822. package/package.json +11 -4
  823. package/schema/domain-spec.json +444 -65
  824. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.d.ts +0 -2
  825. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.js +0 -1
  826. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +0 -2
  827. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +0 -25
  828. package/dist/configurator/ui/assistant/annotation/annotation-host-context.d.ts +0 -5
  829. package/dist/configurator/ui/assistant/annotation/annotation-host-context.js +0 -1
  830. package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.js +0 -1
  831. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +0 -9
  832. package/dist/configurator/ui/assistant/form-elements/FormCard.js +0 -1
  833. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +0 -10
  834. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +0 -1
  835. package/dist/configurator/ui/assistant/theme.d.ts +0 -2
  836. package/dist/configurator/ui/assistant/theme.js +0 -1
  837. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +0 -1
  838. package/dist/domain/core/action/action-factory.d.ts +0 -11
  839. package/dist/domain/domain-context/action-system/action-system.d.ts +0 -38
  840. package/dist/domain/domain-context/action-system/action-system.js +0 -1
  841. package/dist/domain/domain-context/action-system/index.d.ts +0 -1
  842. package/dist/domain/domain-context/action-system/index.js +0 -1
  843. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +0 -11
  844. package/dist/domain/extensions/view-controls.d.ts +0 -25
  845. package/dist/domain/extensions/view-controls.js +0 -1
  846. package/dist/domain/spec/modules/resolve-action-modules.js +0 -1
  847. /package/dist/{domain/domain-runtime/domain-context → configurator/application-runtime/extensions/systems/action-system}/action-context.js +0 -0
  848. /package/dist/{domain/core/action → configurator/application-runtime/extensions/systems/action-system}/action-factory.js +0 -0
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../../guide.js';
2
+ /** Generated PDF and CSV documents. */
3
+ export declare const generatePhoenixDocumentsFeature: () => PhoenixGuide;
@@ -0,0 +1,51 @@
1
+ import{createPhoenixFeatureGuide as e}from"../../../guide.js";let t=`A quote PDF with the share link and the studio render, numbered pages and a draft watermark, and a one-row CSV for the sales team:
2
+
3
+ \`\`\`tsx
4
+ // src/webhooks/tasks/documents.tsx
5
+ import { PdfHelpers, ResourceHelpers } from '@salsita-ai/sdk/webhook'
6
+
7
+ export const quotePdfTask = phx.webhooks.taskFactory.createGeneratePdfTask((resources, data, ctx) => {
8
+ const chair = ctx.domain.getRoot$Entity(data.state)
9
+
10
+ return ctx.pdfTaskBuilder
11
+ .withResourceName(resources.quotePdf)
12
+ .withFormat('A4')
13
+ .withMargin({ top: '24mm', bottom: '20mm', left: '16mm', right: '16mm' })
14
+ .withIncludedResources({
15
+ other: [
16
+ { type: 'ConfigurationLink', name: resources.shareLink },
17
+ { type: 'Image', name: resources.studioRender, embeddingType: 'Link' },
18
+ ],
19
+ })
20
+ .withReactBody(
21
+ <main style={{ fontFamily: 'Georgia, serif' }}>
22
+ <img src={ctx.getPublicAssetUrl('pdf/logo.png')} alt="" width={96} />
23
+ <h1>Quote {data.prefetchedData.quoteNumber}</h1>
24
+ <ResourceHelpers.Image resource={resources.studioRender} alt={chair.label} style={{ width: '100%' }} />
25
+ <p>
26
+ {chair.label}, {chair.finish}, {chair.width} cm wide
27
+ </p>
28
+ <ResourceHelpers.Link resource={resources.shareLink}>Open your configuration</ResourceHelpers.Link>
29
+ </main>
30
+ )
31
+ .withReactFooter(
32
+ <div style={{ fontSize: '8pt', textAlign: 'center', width: '100%' }}>
33
+ <PdfHelpers.PageNumber /> / <PdfHelpers.TotalPages />
34
+ </div>,
35
+ { height: '12mm', startAt: 1 }
36
+ )
37
+ .withWatermarkText('DRAFT')
38
+ .build()
39
+ })
40
+
41
+ export const quoteCsvTask = phx.webhooks.taskFactory.createGenerateCsvTask((resources, data, ctx) => {
42
+ const chair = ctx.domain.getRoot$Entity(data.state)
43
+
44
+ return {
45
+ type: 'GenerateCsv',
46
+ name: resources.quoteCsv,
47
+ columns: ['quote', 'model', 'finish', 'width'],
48
+ data: [{ quote: data.prefetchedData.quoteNumber, model: chair.label, finish: chair.finish, width: chair.width }],
49
+ }
50
+ })
51
+ \`\`\``;export const generatePhoenixDocumentsFeature=()=>e({path:"features/webhooks/tasks/documents.md",title:"PDF and CSV documents",summary:"`GenerateStaticPdf` through `ctx.pdfTaskBuilder` with React templates, headers, footers and watermarks, legacy `GeneratePdf`, and `GenerateCsv`; read when finalization produces a document.",whenToUse:"Read when finalization produces a summary, quote or specification PDF, or a CSV for a spreadsheet or another system.",capabilities:"### PDF\n\n- Build a PDF with `ctx.pdfTaskBuilder` inside `createGeneratePdfTask`, in this order: `withResourceName` with a declared `Pdf` resource, then optionally `withLocale`, `withFormat` (A4 by default), `withMargin` and `withIncludedResources`, an optional header, `withReactBody` or `withHtmlBody`, an optional footer and an optional watermark, then `build()`. It produces a `GenerateStaticPdf` task, rendered from the HTML by the platform's print engine.\n- Show included resources with `ResourceHelpers.Link`, `ResourceHelpers.Image` and `ResourceHelpers.ClientSideImage` from `@salsita-ai/sdk/webhook`. Declare each with `withIncludedResources` first, or rendering throws. An image declared with `embeddingType: 'Link'` loads from a signed URL valid for 30 minutes; `'Embedded'` inlines it.\n- `withReactHeader` and `withReactFooter` take the band's `height` and the page it `startAt`. `PdfHelpers.PageNumber`, `TotalPages`, `Date`, `Title` and `Url` work only there and throw in the body.\n- Load logos, fonts and other files under `assets/public/` with `ctx.getPublicAssetUrl(path)`.\n- `withWatermarkText`, `withWatermarkImage` and `withWatermarkResourceImage` mark every page, such as a draft whose prices are still provisional.\n- `GeneratePdf` is the legacy form: a Handlebars template with `{{resource-<name>}}` placeholders. New projects use the builder.\n\n### CSV\n\n- `GenerateCsv` writes `columns` and `data` rows, objects keyed by column, under a declared `Csv` resource. `header` defaults to true, `delimiter` to a comma and `bom` to true, so spreadsheet applications detect UTF-8.\n- Resolve localizable text with `ctx.resolveLocalizable` before it becomes a cell.\n\n### Using the files\n\n- An email attaches the PDFs and CSVs of the same finalization ([Email](email.md)). A link to one, in a callback result or another document, works only when the finalization has a callback or WooCommerce task ([Finalization](../finalization.md)).",example:t,documentation:"Read `docs/phoenix/webhooks.mdx` with `pnpm phoenix docs -r docs/phoenix/webhooks.mdx` for the complete PDF template and every builder method. `docs/phoenix/localization.mdx` covers translated PDF text.",phxMembers:[]});
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../../guide.js';
2
+ /** Emails sent by finalization. */
3
+ export declare const generatePhoenixEmailFeature: () => PhoenixGuide;
@@ -0,0 +1,38 @@
1
+ import{createPhoenixFeatureGuide as e}from"../../../guide.js";let t=`The quote email, sent only when the configurator user entered an address, with the PDF and the render attached:
2
+
3
+ \`\`\`tsx
4
+ // src/webhooks/tasks/email.tsx
5
+ import { ResourceHelpers } from '@salsita-ai/sdk/webhook'
6
+
7
+ const EMAIL_ADDRESS = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/
8
+
9
+ export const quoteEmailTask = phx.webhooks.taskFactory.createSendEmailTask((resources, data, ctx) => {
10
+ const { email } = data.finalizeData
11
+
12
+ if (email === undefined || !EMAIL_ADDRESS.test(email)) {
13
+ return null
14
+ }
15
+
16
+ const { quoteNumber } = data.prefetchedData
17
+
18
+ return ctx.emailTaskBuilder
19
+ .withSender({ from: phx.webhooksEnv.QUOTE_SENDER })
20
+ .withRecipients({ to: email })
21
+ .withSubject(\`Your quote \${quoteNumber}\`)
22
+ .withBodyResources({ other: [{ type: 'ConfigurationLink', name: resources.shareLink }] })
23
+ .withReactBody(
24
+ <div style={{ fontFamily: 'Arial, sans-serif', maxWidth: 600 }}>
25
+ <img src={ctx.getPublicAssetUrl('email/logo.png')} alt="" width={120} />
26
+ <p>Your quote {quoteNumber} and a picture of your chair are attached.</p>
27
+ <ResourceHelpers.Link resource={resources.shareLink}>Open your configuration</ResourceHelpers.Link>
28
+ </div>
29
+ )
30
+ .withAttachments({
31
+ other: [
32
+ { type: 'resource', filename: \`\${quoteNumber}.pdf\`, resource: resources.quotePdf },
33
+ { type: 'resource', filename: 'chair.png', resource: resources.studioRender },
34
+ ],
35
+ })
36
+ .build()
37
+ })
38
+ \`\`\``;export const generatePhoenixEmailFeature=()=>e({path:"features/webhooks/tasks/email.md",title:"Email",summary:"`SendStaticEmail` through `ctx.emailTaskBuilder` with React bodies, links and attachments, images that survive mail clients, and legacy `SendEmail`; read when finalization sends an email.",whenToUse:"Read when finalization sends the configurator user, the client or a sales team an email.",capabilities:"### Building an email\n\n- Build an email with `ctx.emailTaskBuilder` inside `createSendEmailTask`, in this order: `withSender({ from, replyTo? })`, `withRecipients({ to, cc?, bcc? })` with comma-separated addresses, an optional `withLocale`, `withSubject`, an optional `withBodyResources`, `withReactBody` or `withHtmlBody`, an optional `withPlainTextBody` and `withAttachments`, then `build()`. It produces a `SendStaticEmail` task; a React body also yields its plain-text part.\n- Return `null` when this request sends nothing, such as a download without an email address. Check an address from `data.finalizeData` before sending to it.\n- Links and images in the body use `ResourceHelpers` from `@salsita-ai/sdk/webhook` and must be declared with `withBodyResources` first. `EmailHelpers.HtmlOnly` and `EmailHelpers.TextOnly` show content in only one of the two parts.\n- `withAttachments` attaches the PDFs, CSVs and images of the same finalization by resource name, configurator-rendered images by entity id and instance name, and any file as base64.\n- `SendEmail` is the legacy form with a Handlebars template. New projects use the builder.\n\n### Images in the body\n\n- Mail clients drop `data:` images, and a configurator-rendered image in the body is inlined as one. A rendered resource shown by link loads from a signed URL that expires after 30 minutes.\n- So attach the product images and the PDF, and load the logo and other fixed images from `assets/public/` with `ctx.getPublicAssetUrl(path)`, in versions made for the email's background.\n\n### Sending\n\n- The platform's mail service sends from `from`. Agree the sender address with the client and confirm a test email arrives before relying on it.\n- Emails go out even under `phoenix dev`. Send to the client's own address, and to configurator users only once the client authorizes it.",example:t,documentation:"Read `docs/phoenix/webhooks.mdx` with `pnpm phoenix docs -r docs/phoenix/webhooks.mdx` for the complete email template and every builder method. `docs/phoenix/localization.mdx` covers translated subjects and bodies.",phxMembers:[]});
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../../guide.js';
2
+ /** Finalization tasks that reach other systems: HTTP requests, WooCommerce carts and Google Sheets. */
3
+ export declare const generatePhoenixIntegrationsFeature: () => PhoenixGuide;
@@ -0,0 +1,88 @@
1
+ import{createPhoenixFeatureGuide as e}from"../../../guide.js";let t=`The quote goes to the CRM, a cart when the configurator runs in the shop, and a row in the sales spreadsheet, each skipped when it does not apply:
2
+
3
+ \`\`\`ts
4
+ // src/webhooks/tasks/integrations.ts
5
+ export const crmQuoteTask = phx.webhooks.taskFactory.createSendHttpRequestTask((_resources, data, ctx) => {
6
+ const chair = ctx.domain.getRoot$Entity(data.state)
7
+
8
+ return {
9
+ type: 'SendHttpRequest',
10
+ url: \`\${phx.webhooksEnv.CRM_API_URL}/quotes\`,
11
+ method: 'POST',
12
+ headers: { authorization: \`Bearer \${phx.webhooksEnv.CRM_API_TOKEN}\`, 'content-type': 'application/json' },
13
+ body: JSON.stringify({
14
+ quoteNumber: data.prefetchedData.quoteNumber,
15
+ configurationId: data.configurationId,
16
+ model: chair.label,
17
+ finish: chair.finish,
18
+ }),
19
+ }
20
+ })
21
+
22
+ export const cartTask = phx.webhooks.taskFactory.createWooCommerceAddToCartTask((resources, data, ctx) => {
23
+ const { cartSession, addToCartUrl } = data.finalizeData
24
+ const shopUrl = phx.webhooksEnv.WOOCOMMERCE_SHOP_URL
25
+ const apiKey = phx.webhooksEnv.WOOCOMMERCE_API_KEY
26
+
27
+ if (cartSession === undefined || addToCartUrl === undefined || shopUrl === undefined || apiKey === undefined) {
28
+ return null
29
+ }
30
+
31
+ // The platform sends the API key to this URL, so it may only point at the shop
32
+ const cartEndpoint = new URL(addToCartUrl, shopUrl)
33
+
34
+ if (cartEndpoint.origin !== new URL(shopUrl).origin) {
35
+ throw new Error(
36
+ \`The add-to-cart URL \${addToCartUrl} is not on the shop \${shopUrl}. Pass the plugin's add-to-cart-url unchanged.\`
37
+ )
38
+ }
39
+
40
+ const chair = ctx.domain.getRoot$Entity(data.state)
41
+
42
+ return {
43
+ type: 'WooCommerceAddToCart',
44
+ session: cartSession,
45
+ addToCartUrl: cartEndpoint.href,
46
+ apiKey,
47
+ items: [
48
+ {
49
+ product: 'custom-chair',
50
+ productName: chair.label,
51
+ productDescription: \`\${chair.finish}, \${chair.width} cm\`,
52
+ quantity: 1,
53
+ image: resources.studioRender,
54
+ resources: [{ type: 'Pdf', name: resources.quotePdf, label: 'Quote' }],
55
+ },
56
+ ],
57
+ }
58
+ })
59
+
60
+ export const quoteSheetTask = phx.webhooks.taskFactory.createEditGoogleSpreadsheetTask((resources, data, ctx) => {
61
+ const spreadsheetId = phx.webhooksEnv.QUOTES_SPREADSHEET_ID
62
+ const serviceAccount = phx.webhooksEnv.GOOGLE_SERVICE_ACCOUNT_JSON
63
+
64
+ if (spreadsheetId === undefined || serviceAccount === undefined) {
65
+ return null
66
+ }
67
+
68
+ const chair = ctx.domain.getRoot$Entity(data.state)
69
+
70
+ return {
71
+ type: 'EditGoogleSpreadsheet',
72
+ credentials: JSON.parse(serviceAccount),
73
+ spreadsheetId,
74
+ edits: [
75
+ {
76
+ mode: 'append',
77
+ ranges: {
78
+ 'Quotes!A:D': [
79
+ [data.prefetchedData.quoteNumber, chair.label, chair.width, { type: 'ConfigurationLink', name: resources.shareLink }],
80
+ ],
81
+ },
82
+ },
83
+ ],
84
+ }
85
+ })
86
+ \`\`\`
87
+
88
+ The [finalize handler](../finalization.md) registers each with \`.withTask\`.`;export const generatePhoenixIntegrationsFeature=()=>e({path:"features/webhooks/tasks/integrations.md",title:"HTTP, WooCommerce and Google Sheets",summary:"`SendHttpRequest`, `WooCommerceAddToCart`, `EditGoogleSpreadsheet` and the generic `createTask`; read when finalization sends the configuration to another system.",whenToUse:"Read when finalization posts to a CRM or ERP, adds the configuration to a WooCommerce cart or records it in a Google spreadsheet. Agree with the client before connecting a live system.",capabilities:"### HTTP request\n\n- `SendHttpRequest` sends `url` with `method` (`GET` by default), `headers` and a string `body` from the platform, after the emails. A body needs a method other than `GET`.\n- An answer outside 2xx fails the finalization. There is no timeout and no retry, and a request already sent is not undone, so make the receiving endpoint tolerate a repeated quote number.\n- The request carries no generated files. When the other system needs the PDF or a link, send it from the [callback](callback.md) handler, which receives their links, or let the other system fetch them.\n\n### WooCommerce cart\n\n- `WooCommerceAddToCart` adds `items` and optional `fees` to the shopper's cart through the Phoenix WordPress plugin. An item has a `product`, and optionally `productName`, `productDescription`, `price`, `quantity`, `customData`, an `image` given as the name of a declared `Image` resource, and `resources` listed in the order as `{ type, name, label }`.\n- The plugin gives the configurator tag an encrypted `session` and an `add-to-cart-url` relative to the shop; pass both unchanged in the finalize data. `apiKey` is the key configured in the plugin, kept in a webhook variable.\n- The platform sends the API key to `addToCartUrl`, and the finalize data comes from the browser. Build the absolute URL in the webhook from the shop's URL in a webhook variable, and refuse any other origin, or anyone could have the key sent to a server of their choosing.\n\n### Google Sheets\n\n- `EditGoogleSpreadsheet` appends rows to, or overwrites, ranges of a spreadsheet with a service account: `credentials` is the parsed service-account key, `spreadsheetId` the id from its URL, and each edit maps A1 ranges to rows with `mode` `append` or `overwrite`.\n- Share the spreadsheet with the service account's email. Cells take strings, numbers, booleans and `{ type: 'ConfigurationLink', name }`, and are written exactly as given.\n\n### Any task\n\n- `phx.webhooks.taskFactory.createTask` accepts a handler returning any task type the project can build, for one handler that returns different kinds of tasks.\n- Keep each credential in a webhook variable ([Webhook entry and environment](../entry-and-environment.md)). The platform keeps a task's fields with its job record, also after the job finishes, so prefer keys scoped to the one integration.",example:t,documentation:"Read with `pnpm phoenix docs -r <path>`:\n\n- `docs/phoenix/webhooks.mdx` — the task fields of each integration.\n- `docs/integrations/woocommerce/overview.mdx` — the WordPress plugin, the attributes it passes and its API key.",phxMembers:[]});
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../../guide.js';
2
+ /** Configuration links, server-rendered images and resources declared at runtime. */
3
+ export declare const generatePhoenixLinksAndImagesFeature: () => PhoenixGuide;
@@ -0,0 +1,68 @@
1
+ import{createPhoenixFeatureGuide as e}from"../../../guide.js";let t=`A share link frozen at the finalized revision, valid for 30 days, and a studio render of the configured chair:
2
+
3
+ \`\`\`ts
4
+ // src/webhooks/tasks/links-and-images.ts
5
+ export const shareLinkTask = phx.webhooks.taskFactory.createGenerateConfigurationLinkTask((resources, data) => ({
6
+ type: 'GenerateConfigurationLink',
7
+ name: resources.shareLink,
8
+ frontendUrl: data.frontendUrl,
9
+ configurationId: data.configurationId,
10
+ revisionId: data.revisionId,
11
+ access: 'rr',
12
+ expiration: 30 * 24,
13
+ }))
14
+
15
+ export const studioRenderTask = phx.webhooks.taskFactory.createGenerateImagesTask((resources, data, ctx) => {
16
+ const view = ctx.blenderProjections.getBlenderImageConfig(data.state, 'Studio', data.state.rootEntityId, {
17
+ width: 1600,
18
+ height: 1200,
19
+ })
20
+
21
+ return {
22
+ type: 'GenerateImages',
23
+ deploymentId: data.deploymentId,
24
+ blenderSetupTemplate: 'blender/studio.blend',
25
+ templateFiles: ['models/chair.glb'],
26
+ images: [{ name: resources.studioRender, fileFormat: 'PNG', ...view }],
27
+ }
28
+ })
29
+ \`\`\`
30
+
31
+ One render per view ticked in the finalize form, each view an export state, declared at runtime and produced by one task:
32
+
33
+ \`\`\`ts
34
+ // src/webhooks/tasks/view-renders.ts
35
+ // The views the finalize form offers, each an export state; finalize data comes from the browser, so keep only these
36
+ const VIEWS = ['Front', 'Side', 'Top']
37
+ const renderName = (view: string) => \`view-\${view}\`
38
+ const selectedViews = (views: readonly string[] | undefined) => VIEWS.filter(view => views?.includes(view))
39
+
40
+ export const viewRenderResources = phx.webhooks.dynamicResourcesFactory.createGeneratedImage((_resources, data) =>
41
+ selectedViews(data.finalizeData.views).map(view => ({ type: 'Image', name: renderName(view), s3Key: \`\${renderName(view)}.jpg\` }))
42
+ )
43
+
44
+ export const viewRendersTask = phx.webhooks.taskFactory.createGenerateImagesTask((_resources, data, ctx) => {
45
+ const views = selectedViews(data.finalizeData.views)
46
+
47
+ if (views.length === 0) {
48
+ return null
49
+ }
50
+
51
+ return {
52
+ type: 'GenerateImages',
53
+ deploymentId: data.deploymentId,
54
+ blenderSetupTemplate: 'blender/studio.blend',
55
+ templateFiles: ['models/chair.glb'],
56
+ images: views.map(view => ({
57
+ name: renderName(view),
58
+ fileFormat: 'JPEG',
59
+ ...ctx.blenderProjections.getBlenderImageConfig(data.state, view, data.state.rootEntityId, {
60
+ width: 800,
61
+ height: 800,
62
+ }),
63
+ })),
64
+ }
65
+ })
66
+ \`\`\`
67
+
68
+ The [finalize handler](../finalization.md) registers them with \`.withResources(viewRenderResources)\` and \`.withTask(viewRendersTask)\`.`;export const generatePhoenixLinksAndImagesFeature=()=>e({path:"features/webhooks/tasks/links-and-images.md",title:"Links and images",summary:"`GenerateConfigurationLink`, `GenerateImages` with Blender, configurator-rendered images and resources declared at runtime; read when finalization shares the configuration or shows it in a picture.",whenToUse:"Read when finalization produces a link to the configuration or an image of it, or when the number of produced files depends on the configuration.",capabilities:"### Configuration links\n\n- `GenerateConfigurationLink` produces a link to the saved configuration under a declared `ConfigurationLink` resource, which PDFs, emails, spreadsheets and the callback include.\n- `access` decides what the link opens: `o` the configuration itself with edit rights, permanently; `rr` the finalized revision in read mode, unaffected by later edits; `r` the latest revision, refused on save but with the editing interface still shown. Pass `revisionId` for `rr` and `r`.\n- `expiration` is in hours; without it a link never expires, and an `o` link never does.\n\n### Server-rendered images\n\n- `GenerateImages` renders one or more images in Blender from the configured state, each under a declared `Image` resource with an `s3Key`. [Scene objects](../../scene-objects.md) and the 3D components decide what the scene holds.\n- `ctx.blenderProjections.getBlenderImageConfig(data.state, exportState, entityId, { width, height })` returns the camera, rendered entities and lights of an export state; spread it into the image.\n- `blenderSetupTemplate`, `templateFiles` and an optional `blenderPythonScriptName` are paths under `assets/private/`, uploaded with the deploy. The engine saved in the template renders the image, so choose it there: EEVEE renders faster, Cycles more realistically.\n- Renders queue one after another across the platform and can take minutes. The configurator waits with a `pollingTimeout` long enough for them ([Finalization](../finalization.md)).\n- Images the configurator renders itself, described in `docs/other-features/client-side-rendering/declarative.mdx`, need no server render and suit PDFs and email attachments that only show the current view.\n\n### Resources declared at runtime\n\n- When the number of resources depends on the configuration, return them from a `phx.webhooks.dynamicResourcesFactory` handler registered with `withResources`: `createGeneratedImage`, `createClientGeneratedImage`, `createExistingImage`, `createLink`, `createPdf`, `createCsv` or `createResource`. Their names are plain strings, unchecked until finalization runs.\n- `getClientSideImageResourceName(entityId, instanceName)` names the resource of a configurator-rendered image.",example:t,documentation:"Read with `pnpm phoenix docs -r <path>`:\n\n- `docs/phoenix/sharing.mdx` — access levels and link generation.\n- `docs/phoenix/blender-rendering.mdx` — the Blender template, materials, lights, cameras, render settings and assets.\n- `docs/other-features/client-side-rendering/declarative.mdx` — configurator-rendered images in PDFs and emails.",phxMembers:["webhooks.dynamicResourcesFactory"]});
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../../guide.js';
2
+ /** The finalization tasks index followed by its guides, grouped by what the tasks produce. */
3
+ export declare const generatePhoenixTaskGuides: () => readonly PhoenixGuide[];
@@ -0,0 +1 @@
1
+ import{createPhoenixIndexGuide as e}from"../../../guide.js";import{generatePhoenixCallbackFeature as t}from"./callback.js";import{generatePhoenixDocumentsFeature as a}from"./documents.js";import{generatePhoenixEmailFeature as i}from"./email.js";import{generatePhoenixIntegrationsFeature as n}from"./integrations.js";import{generatePhoenixLinksAndImagesFeature as s}from"./links-and-images.js";export const generatePhoenixTaskGuides=()=>{let o=[s(),a(),i(),n(),t()];return[e({path:"features/webhooks/tasks/index.md",title:"Finalization tasks",summary:"Every task type finalization can run — links, images, PDFs, CSVs, emails, HTTP requests, WooCommerce, Google Sheets and the callback — grouped by what they produce; read when choosing or building a task.",intro:"A task is one thing the platform does after a finalization. The [finalize handler](../finalization.md) builds tasks with `phx.webhooks.taskFactory`, connects them through named resources and leaves their order to the platform, which runs them by type. Read only the guide for the task at hand.\n\n- Built by the project: `GenerateConfigurationLink` and `GenerateImages` (links and images), `GenerateStaticPdf`, `GeneratePdf` and `GenerateCsv` (documents), `SendStaticEmail` and `SendEmail` (email), `SendHttpRequest`, `WooCommerceAddToCart` and `EditGoogleSpreadsheet` (integrations), and `CallLambdaBack` (callback).\n- Built by the SDK when Project Admin publishes: `PublishRevision`, `PublishRevisionChunks` and `PublishRevisionChunksStaged` ([Admin publishing](../publishing.md)).",guides:o,notes:[]}),...o]};
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../../guide.js';
2
+ /** The webhooks index followed by its guides: the entry, one guide per hook and the finalization tasks. */
3
+ export declare const generatePhoenixWebhooksGuides: () => readonly PhoenixGuide[];
@@ -0,0 +1 @@
1
+ import{createPhoenixIndexGuide as e}from"../../guide.js";import{generatePhoenixWebhookAuthenticationFeature as t}from"./authentication.js";import{generatePhoenixWebhookBackendDataFeature as n}from"./backend-data.js";import{generatePhoenixWebhookEntryFeature as o}from"./entry-and-environment.js";import{generatePhoenixWebhookFinalizationFeature as i}from"./finalization.js";import{generatePhoenixPublishingFeature as a}from"./publishing.js";import{generatePhoenixTaskGuides as r}from"./tasks/index.js";export const generatePhoenixWebhooksGuides=()=>{let s=r(),h=[o(),t(),n(),i(),...s.slice(0,1),a()];return[e({path:"features/webhooks/index.md",title:"Webhooks",summary:"Server-side project code: the webhook entry and environment, sign-in, backend data, finalization and its tasks and Admin publishing; read when the configurator needs the server.",intro:"The webhook is the project's server side: `src/webhooks/index.ts` and the handler modules that join it run on the platform and hold the project's credentials, which never reach the browser. The platform calls it to sign configurator users in, to fetch backend data, to finalize a configuration and return its result, to publish Admin content and to set up the assistant ([Session setup](../assistant/session-setup.md)). Start from [Webhook entry and environment](entry-and-environment.md), then read only the guide for the hook at hand.",guides:h,notes:["## The examples\n\nThe guides build one quote configurator for a `Chair` with a `label`, a `finish` and a `width`: each example is a file of that project, and the files fit together. Take the pattern, not the names."]}),...h,...s.slice(1)]};
@@ -18,7 +18,7 @@ export interface PhoenixGuide {
18
18
  }
19
19
  /**
20
20
  * A member of the `phx` global a generated project declares, named by its namespace and member, such as
21
- * `frontend.useTabNavigation` or `domain.implementActions`.
21
+ * `frontend.useTabNavigation` or `frontend.implementActions`.
22
22
  *
23
23
  * The `phx` global is the public interface the guidance teaches. Every member has exactly one feature guide as its
24
24
  * home, which teaches it as `phx.<namespace>.<member>`, or a recorded reason why no guide teaches it yet.
@@ -1,14 +1,14 @@
1
- import{renderAgentSkill as e}from"./agent-skill.js";import{generatePhoenixCliCore as o,generatePhoenixSdkCore as t,generatePhoenixWorkflowCore as r}from"./core/index.js";import{generatePhoenixFeatureGuides as n}from"./features/index.js";import{createPhoenixIndexGuide as s}from"./guide.js";import{generatePhoenixAssetConversion as i,generatePhoenixBeta as a,generatePhoenixFeedbackGuides as d,generatePhoenixFinalization as c,generatePhoenixFirstDraftGuides as h,generatePhoenixModelMigration as l,generatePhoenixReviewGuides as u,generatePhoenixSpecificationGuides as p}from"./processes/index.js";export const generatePhoenixSkillBundle=m=>{let f=[r(),t(),o()],w=[h(),p(),[c()],[i()],[l()],u(),d(),[a(m)]],g=s({path:"processes/index.md",title:"Processes",summary:"Procedures summarized by outcome and when to use them.",intro:"Read the procedure or section whose outcome the task needs. The [workflow](../core/workflow.md) owns strategy, preferences and effort; processes supply the execution.",guides:w.flatMap(e=>e.slice(0,1)),notes:[]}),x=n();return{content:e({name:"phoenix",description:"Build, change, inspect, deploy or review a Phoenix configurator project. Use for all Phoenix project work, including a first draft of a new project, visual alternatives and platform feedback.",sections:[`# Phoenix
1
+ import{renderAgentSkill as e}from"./agent-skill.js";import{generatePhoenixCliCore as o,generatePhoenixSdkCore as t,generatePhoenixWorkflowCore as r}from"./core/index.js";import{generatePhoenixFeatureGuides as n}from"./features/index.js";import{createPhoenixIndexGuide as s}from"./guide.js";import{generatePhoenixAssetConversion as i,generatePhoenixAssistantConfiguration as a,generatePhoenixBeta as d,generatePhoenixFeedbackGuides as c,generatePhoenixFinalization as h,generatePhoenixFirstDraftGuides as l,generatePhoenixModelMigration as u,generatePhoenixReviewGuides as p,generatePhoenixSceneRealism as m,generatePhoenixSpecificationGuides as f}from"./processes/index.js";export const generatePhoenixSkillBundle=w=>{let g=[r(),t(),o()],x=[l(),f(),[h()],[i()],[m()],[a()],[u()],p(),c(),[d(w)]],k=s({path:"processes/index.md",title:"Processes",summary:"Procedures summarized by outcome and when to use them.",intro:"Read the procedure or section whose outcome the task needs. The [workflow](../core/workflow.md) owns strategy, preferences and effort; processes supply the execution.",guides:x.flatMap(e=>e.slice(0,1)),notes:[]}),y=n();return{content:e({name:"phoenix",description:"Build, change, inspect, deploy or review a Phoenix configurator project. Use for all Phoenix project work, including a first draft of a new project, visual alternatives and platform feedback.",sections:[`# Phoenix
2
2
 
3
3
  Use the required core to choose how to work, then load task details only when they apply.`,`## Required reading
4
4
 
5
5
  Before Phoenix work, read these three core guides in order:
6
6
 
7
- ${f.map((e,o)=>`${o+1}. [${e.title}](${e.path}) — ${e.summary}.`).join("\n")}
7
+ ${g.map((e,o)=>`${o+1}. [${e.title}](${e.path}) — ${e.summary}.`).join("\n")}
8
8
 
9
9
  The core governs every task; reading the workflow does not mean executing every stage. Reuse the core while it remains in context and unchanged, and read it again when context is lost or sync or an SDK update changes it.`,`## Optional guidance
10
10
 
11
11
  - [Processes](processes/index.md) — procedures summarized by outcome and when to use them.
12
12
  - [Features](features/index.md) — what Phoenix capabilities support, their constraints and canonical SDK documentation.
13
13
 
14
- Follow only the destinations the task needs; a link does not require reading its whole subtree.`]}),references:[...f,g,...w.flat(),...x].map(({path:e,content:o})=>({path:e,content:o}))}};
14
+ Follow only the destinations the task needs; a link does not require reading its whole subtree.`]}),references:[...g,k,...x.flat(),...y].map(({path:e,content:o})=>({path:e,content:o}))}};
@@ -1 +1 @@
1
- let e="Planned guide: lifecycle providers, handlers and runtime services.",n="Planned guide: integration modes and embedding.",t="Planned guide: theming and icon sets.",a="Planned guide: Admin.",i="Planned guide: webhook builders and finalization tasks; the SDK core lists them meanwhile.",o="Planned guide: data sources and finalization data types.";export const phxMembersWithoutGuide={"frontend.usePropertyPageStack":"Not taught: guidance renders controls from the project layout, not YAML property pages.","frontend.usePropertyPageState":"Not taught: guidance renders controls from the project layout, not YAML property pages.","frontend.useSessionService":"Internal: the session service for initialization code.","frontend.createOnApplicationStartProvider":e,"frontend.createOnSessionReadyProvider":e,"frontend.createOnPublishedDataReadyProvider":e,"frontend.createOnFrontendDataReadyProvider":e,"frontend.createOnBackendDataReadyProvider":e,"frontend.createOnRoutingReadyProvider":e,"frontend.createOnConfiguratorReadyProvider":`${e} Navigation states mentions it for mounting listeners.`,"frontend.createCollectFrontendDataHandler":e,"frontend.createFilterPublishedChunksHandler":e,"frontend.createGetTextureProcessingMapHandler":e,"frontend.useAnalytics":e,"frontend.useAuthenticatedClient":e,"frontend.useAuthorizedClient":`${e} Finalization actions mentions its finalize call.`,"frontend.useCreateAuthorizedClient":e,"frontend.useSession":`${e} Presets mentions it for reading the session role.`,"frontend.useDomainApplication":`${e} Presets mentions it for saving before leaving.`,"frontend.useConfigurator":e,"frontend.useDomainApplicationProps":e,"frontend.createGetWebComponentOptionsHandler":n,"frontend.useIntegrationService":n,"frontend.useIntegrationState":n,"frontend.useRecipeEmbeddedState":n,"frontend.usePresetEmbeddedState":n,"frontend.createGetThemeHandler":t,"frontend.createPhoenixIconSet":t,"frontend.useEntityPrice":"Planned guides: specific component kinds, such as the price component.","frontend.admin":a,"domain.admin":a,"webhooks.authHandlerBuilder":i,"webhooks.webhookBuilder":i,"webhooks.taskFactory":i,"webhooks.finalizeHandlerBuilder":i,"webhooks.callbackBuilder":i,"webhooks.prefetchBuilder":i,"webhooks.dynamicResourcesFactory":i,"applicationTypes.ApplicationVersion":o,"applicationTypes.PublishedDataHash":o,"applicationTypes.PublishedData":o,"applicationTypes.SessionData":o,"applicationTypes.FrontendData":o,"applicationTypes.BackendData":o,"applicationTypes.FinalizeData":o,"applicationTypes.PrefetchedFinalizeData":o,"applicationTypes.FinalizeResult":o,"applicationTypes.CallbackData":o,"applicationTypes.ExportState":"Planned guide: the 3D scene and image export.","applicationTypes.AdminNavigationState":a};
1
+ let e="Planned guide: lifecycle providers, handlers and runtime services.",n="Planned guide: integration modes and embedding.",t="Planned guide: theming and icon sets.",a="Planned guide: Admin.",i="Planned guide: data sources and finalization data types.";export const phxMembersWithoutGuide={"frontend.usePropertyPageStack":"Not taught: guidance renders controls from the project layout, not YAML property pages.","frontend.usePropertyPageState":"Not taught: guidance renders controls from the project layout, not YAML property pages.","frontend.useSessionService":"Internal: the session service for initialization code.","frontend.createOnApplicationStartProvider":e,"frontend.createOnSessionReadyProvider":e,"frontend.createOnPublishedDataReadyProvider":e,"frontend.createOnFrontendDataReadyProvider":e,"frontend.createOnBackendDataReadyProvider":e,"frontend.createOnRoutingReadyProvider":e,"frontend.createOnConfiguratorReadyProvider":`${e} Navigation states mentions it for mounting listeners.`,"frontend.createCollectFrontendDataHandler":e,"frontend.createFilterPublishedChunksHandler":e,"frontend.createGetTextureProcessingMapHandler":e,"frontend.useAnalytics":e,"frontend.useAuthenticatedClient":e,"frontend.useAuthorizedClient":`${e} Finalization actions mentions its finalize call.`,"frontend.useCreateAuthorizedClient":e,"frontend.useSession":`${e} Presets mentions it for reading the session role.`,"frontend.useDomainApplication":`${e} Presets mentions it for saving before leaving.`,"frontend.useConfigurator":e,"frontend.useDomainApplicationProps":e,"frontend.createGetWebComponentOptionsHandler":n,"frontend.useIntegrationService":n,"frontend.useIntegrationState":n,"frontend.useRecipeEmbeddedState":n,"frontend.usePresetEmbeddedState":n,"frontend.createGetThemeHandler":t,"frontend.createPhoenixIconSet":t,"frontend.useEntityPrice":"Planned guides: specific component kinds, such as the price component.","frontend.admin":a,"domain.admin":`${a} Admin publishing teaches its publishing and validation handlers.`,"applicationTypes.ApplicationVersion":i,"applicationTypes.PublishedDataHash":i,"applicationTypes.PublishedData":i,"applicationTypes.SessionData":i,"applicationTypes.FrontendData":i,"applicationTypes.BackendData":i,"applicationTypes.FinalizeData":i,"applicationTypes.PrefetchedFinalizeData":i,"applicationTypes.FinalizeResult":i,"applicationTypes.CallbackData":i,"applicationTypes.ExportState":"Planned guide: the 3D scene and image export.","applicationTypes.AdminNavigationState":a};
@@ -1,4 +1,4 @@
1
- import{createPhoenixProcessGuide as e}from"../guide.js";let t=`Conversion is part of the product's appearance, not a preliminary chore: a converted model that is misplaced, incomplete or stripped of its detail is a visible defect, and the client sees it before anything else.
1
+ import{createPhoenixProcessGuide as e}from"../guide.js";let t=`Conversion is part of the product's appearance, not a preliminary chore: a converted model that is misplaced, incomplete or stripped of its detail is a visible defect, and the client sees it before anything else. If a requested realism improvement or a specific material/contact defect remains within scope, [scene realism](scene-realism.md) offers optional refinement guidance; conversion alone does not call for that pass.
2
2
 
3
3
  ### Write a script, not a sequence of one-off fixes
4
4
 
@@ -19,5 +19,5 @@ Reduce geometry per part, never uniformly across a model. A single ratio removes
19
19
 
20
20
  ### Verify every model, not the first one
21
21
 
22
- Inspect each converted model with the [asset inspection](../features/inspection.md) tooling, and check every requirement above for every model in the set. A batch that reuses a script verified on one file still needs each result looked at: source files in one delivery frequently differ in origin, scale and structure.`,r=`- Every model in scope is converted by the committed script and inspected against each requirement.
23
- - Divergences from published figures are reported to the client, not silently adopted.`;export const generatePhoenixAssetConversion=()=>e({path:"processes/asset-conversion.md",title:"Asset conversion",summary:"Convert and verify supplied 3D models with a reproducible script; read when supplied models need conversion or repair before configuration.",whenToUse:"When supplied models need conversion or repair before they can be configured. A [first draft](first-draft/direction.md) converts only its representative model, or builds a labeled stand-in when no model is supplied.",steps:t,doneWhen:r,example:"For a set of chairs, parameterize the conversion for the source units, the ground contact and separately configurable upholstery and frame materials. Run the same script for every supplied chair and inspect each output; a valid first model does not validate the rest."});
22
+ Inspect each converted model with the [asset inspection](../features/inspection.md) tooling, and check every requirement above for every model in the set. A batch that reuses a script verified on one file still needs each result looked at: source files in one delivery frequently differ in origin, scale and structure.`,a=`- Every model in scope is converted by the committed script and inspected against each requirement.
23
+ - Divergences from published figures are reported to the client, not silently adopted.`;export const generatePhoenixAssetConversion=()=>e({path:"processes/asset-conversion.md",title:"Asset conversion",summary:"Convert and verify supplied 3D models with a reproducible script; read when supplied models need conversion or repair before configuration.",whenToUse:"When supplied models need conversion or repair before they can be configured. A [first draft](first-draft/direction.md) converts only its representative model, or builds a labeled stand-in when no model is supplied.",steps:t,doneWhen:a,example:"For a set of chairs, parameterize the conversion for the source units, the ground contact and separately configurable upholstery and frame materials. Run the same script for every supplied chair and inspect each output; a valid first model does not validate the rest."});
@@ -0,0 +1,3 @@
1
+ import { type PhoenixGuide } from '../guide.js';
2
+ /** Setting up the assistant for a configurator: survey, the standard ways first, build and check. */
3
+ export declare const generatePhoenixAssistantConfiguration: () => PhoenixGuide;
@@ -0,0 +1,3 @@
1
+ import{createPhoenixProcessGuide as e}from"../guide.js";let t=`- Each way the UI changes the configuration that the assistant should support maps to a write, a recipe, a deletion or an action, and each action has a stated reason a standard way does not fit.
2
+ - Refactors that would make the standard way work were suggested to the client, and their decision is recorded.
3
+ - The client's typical requests run in the assistant's thread without failed changes, and each screenshot view shows what the assistant needs to check.`;export const generatePhoenixAssistantConfiguration=()=>e({path:"processes/assistant-configuration.md",title:"Assistant configuration",summary:"Survey how the configurator changes, choose standard ways before actions, build the `assistant` section and check it as the assistant sees it; read when setting up the assistant or extending what it can do.",whenToUse:"Use when the client wants the AI assistant in their configurator, or wants it to read or change more. A wording fix in a description or in `instructions` needs only [reading and changing](../features/assistant/reading-and-changing.md).",steps:"### Survey how the configurator changes\n\nRead `docs/phoenix/assistant/overview.mdx` with `pnpm phoenix docs -r <path>` for how the section, the assistant's schema and the panel connect. Then, before you write the `assistant` section, read the model, its relations and controls. List every way the UI creates, replaces, moves or deletes entities, and note how each one works: a recipe control, a plain field write, a creation in custom code, a drag handle, a sketch tool or a builder behind a button. Note also where the assistant would read its facts, such as catalog data or a price. This survey usually takes longer than the section itself, and it decides most of it.\n\nTake axes, units and placement from the code that places parts, not from field names. A field called `length` can run along any axis.\n\n### Choose and agree the approach\n\nFor each path, choose a standard write, a recipe or an action as [reading and changing](../features/assistant/reading-and-changing.md) describes. When a small refactor would let a recipe or a plain write replace an action, suggest it to the client. Explain what changes for them, usually nothing visible, and what it saves: the assistant previews and compares standard changes, while it has to learn an action from its description alone. Keep the client's decision. A refactor that would change how users work, such as placement that follows the camera, stays theirs to choose.\n\nAgree with the client what the assistant should be able to do first. A small useful assistant that reads the configuration and makes the common changes is a better first step than complete coverage.\n\n### Build in layers\n\nStart with `ai`, which the client chooses, and `instructions` that say in a few sentences what the product is and how the assistant should behave. Then add what the assistant reads and the standard changes. Then add the option lists, screenshots and navigation, and finally the actions the survey called for. Run `pnpm phoenix dev` after each layer: section diagnostics name the key to fix. Write descriptions in the client's product terms, with units and axes, and keep rules that span entities in `instructions`.\n\n### Check it as the assistant sees it\n\nLook at each screenshot view's image as the assistant receives it, not only its spec; the panel never shows it. Development browsers rarely offer WebMCP, so install a stub right after the page navigates, before the configuration loads: `document.modelContext = { registerTool: tool => { window.tools[tool.name] = tool } }` with `window.tools = {}`. Then `await window.tools.configurator_query.execute({ operations: [{ query }] })` with a query of `meta { screenshot(view: …) { image } }` returns the image as base64. Check that the product fills the frame and that nothing hides the parts the assistant must check.\n\nThen try the client's typical requests in the assistant panel, from a first message to a finished design. A project layout has no panel unless it keeps the built-in sidebar, so use its own thread, or ask the client to add one first ([Panel](../features/assistant/panel.md)). Read the conversation for failed tool rounds, parameter names the model guessed wrong on first use, values the assistant reads as opaque JSON, and repeated reads of lists that never change. Fix the section or a description rather than adding instructions that work around it.",doneWhen:t,example:'A desk configurator adds drawers from a recipe control, sets the leg finish with a custom control, and places lamps from a catalog page with a creation in custom code, at the point the camera looks at. The survey maps drawers to `childRecipes` and the leg finish to `writable`, with an assistant-only `attributeSelection` list. For the lamps, suggest a recipe group per lamp category, with placement moved to a transformer that finds a free spot on the desk. If the client keeps the camera placement for mouse users, add an `addLamp` action that computes the spot itself. Then check the top view\'s image, and run "add two drawers and a lamp on the left" in the panel.'});
@@ -4,4 +4,32 @@ import{createPhoenixProcessGuide as e}from"../../guide.js";let t=`Draft feedback
4
4
  - **Misleading guidance** — a doc page, a Phoenix guide or an error message pointed the wrong way, or did not say what was needed.
5
5
  - **Missing feature** — something the SDK does not support forced a workaround, or a routine task took far more steps than it should.
6
6
 
7
- Do not draft feedback for problems in this project's own specs or code, for a suspicion that is not checked, or twice for the same problem. For a finished run, use [Evaluate the run](evaluate.md) instead.`;export const generatePhoenixFeedbackReport=()=>e({path:"processes/feedback/report.md",title:"Report a problem",summary:"A verified SDK bug, misleading guidance or missing capability, drafted for the Phoenix team; read when such a problem affects the work.",whenToUse:t,steps:"Write one draft per distinct problem, as plain text with the labels below, in this order, so the Phoenix team reads every report the same way. Keep every label; write `none` or `not deployed yet` where there is nothing to put.\n\n```text\nBuild: <build id> <Studio build page link>\nConfigurator: <live configurator link>\n\nWhat I was doing:\n<the task and the step you were on>\n\nWhat happened and what I expected:\n<what you ran or called, the result you got, and the result you expected>\n\nExact error or agent output:\n<the error text or the output, copied unchanged>\n\nWorkaround:\n<what you did instead, or none>\n\nConversation log:\n<the conversation condensed to the turns that matter: what the client asked, what you tried, what failed>\n```\n\n- **Build** is the latest build of this project, whose sources show the problem. `pnpm phoenix deploy` prints its id as `Build <id> started` and its page as `Follow the build in Studio: <url>`. When that line is missing, compose the link as `https://<workspace>.<studio host>/builder/deployments/<build id>`: the workspace is the one named at `phoenix login`, and the host is `studio.eu.salsita.ai` for the `eu` region, `studio.salsita.ai` for `us` and `studio-staging.salsita.app` for staging. A Studio address passed to login with `--studioUrl` replaces the workspace and host. Never invent a build id: when the project was not deployed, write `not deployed yet`.\n- **Configurator** is the live address `pnpm phoenix deploy` prints once the build is live.\n- The team downloads the build's sources from its Studio page, so do not paste whole files; quote only the lines that show the problem.\n- Quote errors and output exactly. A report that paraphrases an error cannot be searched for.\n- Condense the conversation log rather than dumping it: keep the client's requests, the decisions and the failures, and leave out tool output the other sections already carry.\n\nThen follow [Approve and send](send.md).",doneWhen:"- Each distinct, verified problem has one draft with every label filled or marked `none`.\n- The drafts went through [Approve and send](send.md).",example:"When `pnpm phoenix variants` rejects a script that only edits `src/elements/`, confirm the script follows the documented contract, then draft a bug with the exact rejection message, the script's relevant lines and `not deployed yet` for the build."});
7
+ Do not draft feedback for problems in this project's own specs or code, for a suspicion that is not checked, or twice for the same problem. For a finished run, use [Evaluate the run](evaluate.md) instead.`,o=`Write one draft per distinct problem, as plain text with the labels below, in this order, so the Phoenix team reads every report the same way. Keep every label; write \`none\` or \`not deployed yet\` where there is nothing to put.
8
+
9
+ \`\`\`text
10
+ Build: <build id> <Studio build page link>
11
+ Configurator: <live configurator link>
12
+
13
+ What I was doing:
14
+ <the task and the step you were on>
15
+
16
+ What happened and what I expected:
17
+ <what you ran or called, the result you got, and the result you expected>
18
+
19
+ Exact error or agent output:
20
+ <the error text or the output, copied unchanged>
21
+
22
+ Workaround:
23
+ <what you did instead, or none>
24
+
25
+ Conversation log:
26
+ <the conversation condensed to the turns that matter: what the client asked, what you tried, what failed>
27
+ \`\`\`
28
+
29
+ - **Build** is the latest build of this project, whose sources show the problem. \`pnpm phoenix deploy\` prints it as \`Build #<n> started in <preview>\` and its page, whose address carries the build id, as \`Follow the build in Studio: <url>\`. When that line is missing, use the build page URL from Studio for the project shown by \`phoenix whoami\`; do not infer a workspace from a personal login. Never invent a build id: when the project was not deployed, write \`not deployed yet\`.
30
+ - **Configurator** is the preview's live address \`pnpm phoenix deploy\` prints once the build is live.
31
+ - The team downloads the build's sources from its Studio page, so do not paste whole files; quote only the lines that show the problem.
32
+ - Quote errors and output exactly. A report that paraphrases an error cannot be searched for.
33
+ - Condense the conversation log rather than dumping it: keep the client's requests, the decisions and the failures, and leave out tool output the other sections already carry.
34
+
35
+ Then follow [Approve and send](send.md).`;export const generatePhoenixFeedbackReport=()=>e({path:"processes/feedback/report.md",title:"Report a problem",summary:"A verified SDK bug, misleading guidance or missing capability, drafted for the Phoenix team; read when such a problem affects the work.",whenToUse:t,steps:o,doneWhen:"- Each distinct, verified problem has one draft with every label filled or marked `none`.\n- The drafts went through [Approve and send](send.md).",example:"When `pnpm phoenix variants` rejects a script that only edits `src/elements/`, confirm the script follows the documented contract, then draft a bug with the exact rejection message, the script's relevant lines and `not deployed yet` for the build."});
@@ -1,2 +1,2 @@
1
- import{createPhoenixProcessGuide as e}from"../guide.js";let a=`- Each agreed action works end to end in the preview, and its success and failure paths are visible.
2
- - Real messages or orders were sent only with the client's authorization.`;export const generatePhoenixFinalization=()=>e({path:"processes/finalization.md",title:"Finalization",summary:"Implement the agreed completion journey: summary PDFs, emails, sharing, quotes, orders or other integrations; read when a configuration needs an ending or an integration.",whenToUse:"When the configuration journey needs an ending: saving, sharing, a summary PDF, an email, a quote, an order or another integration. A [first draft](first-draft/build.md) uses it for its summary PDF and email.",steps:"1. Agree what completing means: what is collected, what is submitted and where, what the configurator user receives, and how progress, success, failure and recovery look. Discover requirements early when they affect earlier design decisions, and implement them here.\n2. Declare each completion as a `finalizeAction` component with `variant` `primary` or `secondary` and a handler registered with `phx.frontend.createPhoenixHandler`. Render the actions in the project layout with `phx.frontend.useFinalizeActions()`, as [Finalization actions](../features/custom-layout/finalization-actions.md) describes.\n3. Implement the server side in the project webhook with `withConfiguratorFinalize`, chaining the tasks the [SDK core](../core/sdk.md#webhooks-and-finalization) lists, such as `GenerateConfigurationLink`, `GeneratePdf` or `GenerateStaticPdf`, and `SendEmail`, and return the result in the callback. Images rendered by the configurator, described in `docs/other-features/client-side-rendering/declarative.mdx`, embed in PDFs and emails without server rendering. Mail clients drop `data:` images and CSS filters, so an email takes its logo and images from hosted files, such as `assets/` or rendered resources, in versions made for the background they sit on.\n4. Test payloads and outcomes, including a failed delivery, without sending real messages or creating real orders unless the client authorizes it. Keep unfinished rules and provisional prices identifiable, so nothing produces a misleading real quote or order.",doneWhen:a,example:"For a summary with email: the primary action generates a configuration link and two configurator renders, builds a branded PDF and offers it for download; the secondary action opens a form for an email address and sends the same PDF and images. Test the email with the client's own address after they agree, and a failed delivery with an invalid one."});
1
+ import{createPhoenixProcessGuide as e}from"../guide.js";let a=`- Each agreed action works end to end, and its success and failure paths are visible; any delivery or integration awaiting verification remains explicitly pending.
2
+ - Real messages or orders were sent only with the client's authorization.`;export const generatePhoenixFinalization=()=>e({path:"processes/finalization.md",title:"Finalization",summary:"Implement the agreed completion journey: summary PDFs, emails, sharing, quotes, orders or other integrations; read when a configuration needs an ending or an integration.",whenToUse:"When the configuration journey needs an ending: saving, sharing, a summary PDF, an email, a quote, an order or another integration. A [first draft](first-draft/build.md) reaches this once its configuration is stable and finalization serves the intended outcome.",steps:"1. Agree what completing means: what is collected, what is submitted and where, what the configurator user receives, and how progress, success, failure and recovery look. Discover requirements early when they affect earlier design decisions, and implement them here.\n2. Declare each completion as a `finalizeAction` component with `variant` `primary` or `secondary` and a handler registered with `phx.frontend.createPhoenixHandler`. Render the actions in the project layout with `phx.frontend.useFinalizeActions()`, as [Finalization actions](../features/custom-layout/finalization-actions.md) describes.\n3. Implement the server side in the project webhook as [Finalization](../features/webhooks/finalization.md) describes: a finalize handler registered with `withConfiguratorFinalize`, the [tasks](../features/webhooks/tasks/index.md) the journey needs, such as a configuration link, a PDF and an email, and a callback that returns the result. Images rendered by the configurator, described in `docs/other-features/client-side-rendering/declarative.mdx`, embed in PDFs without server rendering. Mail clients drop `data:` images and CSS filters, and signed file links expire after 30 minutes, so an email attaches its product images and loads its logo from `assets/public/` in a version made for the background it sits on ([Email](../features/webhooks/tasks/email.md)).\n4. Exercise the form and its validation, progress and recovery in the browser; check generated outputs and links in their intended viewing mode. Test payloads and delivery outcomes separately, without sending real messages or creating real orders unless the client authorizes it. Report which parts were verified: a working form or mocked handler does not establish successful delivery. Keep unfinished rules and provisional prices identifiable, so nothing produces a misleading real quote or order.",doneWhen:a,example:"For a summary with email: the primary action generates a configuration link and two configurator renders, builds a branded PDF and offers it for download; the secondary action opens a form for an email address and sends the same PDF and images. Test the email with the client's own address after they agree, and simulate a delivery failure to check recovery."});
@@ -1,25 +1,39 @@
1
- import{createPhoenixProcessGuide as e}from"../../guide.js";let t=`### Keep the scope small
1
+ import{createPhoenixProcessGuide as e}from"../../guide.js";let n=`### Understand and build the core journey
2
2
 
3
- Implement one representative product with a few options, for example three finishes and one size choice, working end to end in the chosen layout and branding. Prefer one working path to a screen of inactive controls. Keep everything else in the product definition as remaining scope, and keep unconfirmed prices visibly provisional. Use reversible defaults and keep going; record them in the product definition rather than asking now.
3
+ Build on the branded slice to support the representative buyer task, using the Phoenix journey guidance: read \`docs/ux-guidelines/designing-the-configuration-journey.mdx\` with \`pnpm phoenix docs -r <path>\` and its relevant topic pages. Establish enough understanding of the product's parts, relationships, editing scopes and constraints to design that task; exhaustive catalog discovery can wait. Read the [SDK guidance](../../core/sdk.md) and relevant feature guides for the Phoenix mechanisms the interaction needs before implementing it.
4
4
 
5
- ### Brand the first moments
5
+ Design the buyer journey as a separate task: the slice demonstrated the look and basic behavior, not an approved UX. Reconsider its provisional controls, selection and action placement against the representative task rather than simply adding options to its layout. For each main action, decide its scope, target and placement using the journey guidance. Evaluate positional construction actions in the scene, separately from scene selection; explain a panel-based choice when it serves the task better. Develop one recommended interaction design that includes the construction and editing behaviors that could change that recommendation. Use [Custom project layout](../../features/custom-layout/index.md) and relevant layout gallery examples, preserving canvas, safe-area, messages and read-mode behavior. Apply the supplied or chosen branding. Compare approaches only when [Visual choices](../../core/workflow.md#visual-choices) identifies a meaningful tradeoff.
6
6
 
7
- - **Preset screen** — the first screen users see and the easiest place to impress, so it deserves real design effort. Replace it with \`phx.frontend.createPresetUi()\` in the chosen branding, offering two or three meaningful starting configurations as large, well-lit renders, with the brand's typography, a deliberate composition and a little motion. \`pnpm phoenix screenshot\` captures only the state the preview shows, so open each preset in the preview with browser automation before capturing it; without automation, use a branded placeholder and say so at the handoff. Keep the preview-mode branch of the SDK example \`docs/layouts/presets/custom.mdx\`, read with \`pnpm phoenix docs -r <path>\`.
8
- - **App loader** — replace the loading overlay's content with \`phx.frontend.createAppLoader()\`: the logo, a short brand animation and progress from the loading phases.
7
+ ### Review before recommending
9
8
 
10
- [Project pages](../../features/custom-layout/pages.md) has the contracts of both, and [Presets](../../features/application-states/presets.md) how the starting configurations are defined.
9
+ Review the core journey against all three: the product definition and its rules, Phoenix UX guidelines, and the relevant Phoenix platform contracts. This review is required before presenting the recommendation; the initial slice's lightweight treatment does not extend to the core journey. A focused self-review is sufficient by default; use the [review strategy](../../core/workflow.md#review-strategy) for depth and any additional review.
10
+
11
+ Exercise the representative task and any known constraint case through the controls on desktop and phone. Assess action placement, selection, global versus per-part editing and scrolling. Trace the implemented interactions to their owning Phoenix feature guides and check their contracts, including navigation and message handling; working React controls alone do not establish platform alignment. Fix findings and explain intentional departures. In the client-facing result, distinguish interactions exercised in the browser from rules checked only in code and remaining gaps; keep claims specific to the paths and screen sizes actually tested. When comparing approaches, exercise the same task in each. Present the working recommendation with its tradeoffs and ask for feedback; client feedback refines the reviewed design.
12
+
13
+ Describe the resulting patterns in the [UX specification](../specification/ux-specification.md) and render its PDF. Record explicit choices and rationale in the project record; accepting an approach does not imply approval of every implementation detail.
14
+
15
+ ### Continue in useful increments
16
+
17
+ After feedback on the core journey, recommend the next useful task and follow [Building in increments](../../core/workflow.md#building-in-increments). Preserve the verified interactions and keep remaining scope in the product definition. Use reversible defaults and keep going; record them in the product definition rather than asking now. Add pricing, more options and the finishing features below when they serve the next agreed outcome, rather than expanding to the full range automatically.
11
18
 
12
- ### Add finalization
19
+ When pricing is the next agreed increment after core-journey feedback, replace the placeholder with the supplied rules and verify totals as options change. Use [Expressions](../../features/domain-model/expressions.md) for calculated prices and [State slices](../../features/state/slices.md) to display them from committed configuration state; a custom price-footer example concerns presentation, not the pricing rules. If pricing information is missing, keep the placeholder clearly labeled and record the gap.
13
20
 
14
- Add two \`finalizeAction\` components with their handlers, following [Finalization](../finalization.md):
21
+ Before presenting each increment, exercise the changed interactions and affected parts of the representative journey on desktop and phone, including any added starting, loading or finalization features. Check controls, scene and summary remain consistent, framing and materials still work, and ordinary option edits preserve the camera view. Fix failures and report the paths, screen sizes and remaining gaps as above.
15
22
 
16
- - **Primary** — download a branded summary PDF of the configuration with images rendered from the configurator, the chosen options and the price, marked provisional while it is.
17
- - **Secondary** — an email form that sends the same PDF and images to the address the configurator user enters.
23
+ ### Brand the first moments
24
+
25
+ Choose finishing features that help the journey; a single starting configuration may need no preset chooser.
26
+
27
+ - **Preset screen** — if the journey uses a preset screen, make its first impression count. Replace it with \`phx.frontend.createPresetUi()\` in the chosen branding, offering two or three meaningful starting configurations as large, well-lit renders, with the brand's typography, a deliberate composition and a little motion. \`pnpm phoenix screenshot\` captures only the state the preview shows, so open each preset in the preview with browser automation before capturing it; without automation, use a branded placeholder and say so at the handoff. Keep the preview-mode branch of the SDK example \`docs/layouts/presets/custom.mdx\`, read with \`pnpm phoenix docs -r <path>\`.
28
+ - **App loader** — replace the loading overlay's content with \`phx.frontend.createAppLoader()\`: the logo, a short brand animation and progress from the loading phases.
29
+
30
+ [Project pages](../../features/custom-layout/pages.md) has the contracts of both, and [Presets](../../features/application-states/presets.md) how the starting configurations are defined.
18
31
 
19
- Test the PDF in the running preview. Send a test email only to an address the client gives, after their yes; until then, report the email action as untested.
32
+ ### Finalization when useful
20
33
 
21
- ### Check before presenting
34
+ Once the configuration is stable, add finalization when it serves the intended outcome, following [Finalization](../finalization.md). A branded summary PDF can support a quote or handover; an email form can send it when that is useful. Neither is a default requirement for every draft. Otherwise record finalization as deferred or unnecessary for this outcome.
22
35
 
23
- Exercise the representative path once in the preview: the preset screen, the loader, every option and both finalization actions, at desktop and phone width. Look at the framing beside the panel, at whether the camera holds still while options change and at whether the materials read as what they are. Fix what is broken. This is the quick look of the first draft, not a review process.`,n=`- The preset screen, loader, options and both finalization actions work in the running preview, in the chosen branding and layout.
24
- - The summary PDF downloads with configuration images; the email action is tested or explicitly waiting for an address.
25
- - Remaining scope and provisional items are recorded in the product definition and the project record.`;export const generatePhoenixFirstDraftBuild=()=>e({path:"processes/first-draft/build.md",title:"Build",summary:"A limited end-to-end configurator in the chosen branding and UX, with a branded preset screen, app loader, summary PDF and email; read once the layout is chosen.",whenToUse:"After [Direction](direction.md), once the client chose the branding and the layout. It ends with a working draft ready to present.",steps:t,doneWhen:n,example:"For the lounge chair: three upholstery colors and two leg finishes in the bottom-sheet layout, a preset screen with large renders of a classic, a bold and a quiet starting chair, a loader that draws the logo, a branded PDF with a front and a side render, and an email form. The client's own address receives the test email after they agree."});
36
+ When included, test the PDF with configuration images, chosen options and any price visibly marked provisional while it is. Send a test email only to an address the client gives, after their yes; until then, report the email action as untested.`,t=`- The core journey has been reviewed against product rules, Phoenix UX guidelines and platform contracts, and findings addressed.
37
+ - The representative journey and any known constraint behavior work in the running preview on desktop and phone, in the chosen branding and layout.
38
+ - Included finishing features work; any email test awaits explicit authorization or has passed with it. Deferred or unnecessary finalization is recorded.
39
+ - Remaining scope and provisional items are recorded in the product definition and the project record.`;export const generatePhoenixFirstDraftBuild=()=>e({path:"processes/first-draft/build.md",title:"Build",summary:"Develop and review the core journey, then continue in useful increments; read after presenting the branded working slice.",whenToUse:"After [Direction](direction.md) presents the branded working slice. Develop and review the core journey, then iterate toward a useful draft ready for handoff.",steps:n,doneWhen:t,example:"For the modular cabinet, develop a task that adds a taller column, stacks a box, changes one door and removes a column, including an archive restriction. Review product rules, editing scope and Phoenix implementation before recommending the design. Verify that adding and removing boxes keeps the editing context clear, changing one door leaves other doors unchanged, and archive restrictions explain how to continue. After client feedback, add pricing as a next increment and verify totals as the arrangement changes. If the journey uses a preset screen, add meaningful starting configurations. Add a branded loader. If buyers need a quote summary, add and test its PDF after those interactions work; leave email for a later increment unless it serves the agreed outcome."});