@salsita-ai/sdk 0.50.0-develop.9241bcf09e → 0.50.0-develop.927e2414eb

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 (527) hide show
  1. package/README.md +3 -3
  2. package/dist/admin/common/admin-interface.d.ts +11 -1
  3. package/dist/admin/common/admin-interface.js +1 -1
  4. package/dist/admin/ui/layout/UserProfile.d.ts +1 -1
  5. package/dist/admin/ui/layout/UserProfile.js +1 -1
  6. package/dist/admin/ui/maintenance/ImportPresets.js +1 -1
  7. package/dist/application/mount-application.js +1 -1
  8. package/dist/application/mount-configurator.js +1 -1
  9. package/dist/application/studio-embedding.d.ts +6 -0
  10. package/dist/application/studio-embedding.js +1 -0
  11. package/dist/application-spec/core/enhanced-json-schema.d.ts +5 -6
  12. package/dist/application-spec/core/enhanced-json-schema.js +1 -1
  13. package/dist/application-spec/core/markers/index.d.ts +1 -0
  14. package/dist/application-spec/core/markers/index.js +1 -1
  15. package/dist/application-spec/core/markers/set-in-studio-marker.d.ts +15 -0
  16. package/dist/application-spec/core/markers/set-in-studio-marker.js +1 -0
  17. package/dist/application-spec/errors/diagnostic-codes.d.ts +16 -0
  18. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  19. package/dist/application-spec/errors/diagnostic-messages.d.ts +16 -0
  20. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  21. package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +3 -3
  22. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  23. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +0 -12
  24. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  25. package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +5 -1
  26. package/dist/application-spec/generate-application/code/templates/admin-config.js +4 -4
  27. package/dist/application-spec/generate-application/code/templates/application-types.js +5 -5
  28. package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -6
  29. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.d.ts +1 -1
  30. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +19 -0
  31. package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
  32. package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
  33. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
  34. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +3 -3
  35. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +10 -6
  36. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -7
  37. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +12 -12
  38. package/dist/application-spec/generate-application/code/templates/globals.js +21 -12
  39. package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
  40. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  41. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.d.ts +5 -0
  42. package/dist/application-spec/generate-application/code/templates/sign-in-page-options.js +1 -0
  43. package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -1
  44. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
  45. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +2 -1
  46. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.js +1 -1
  47. package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +1 -1
  48. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
  49. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
  50. package/dist/application-spec/generate-application/code/templates/skills/features/{custom-layout/assistant.d.ts → assistant/panel.d.ts} +1 -1
  51. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
  52. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
  53. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
  54. package/dist/application-spec/generate-application/code/templates/skills/features/{webhooks/assistant-setup.d.ts → assistant/session-setup.d.ts} +1 -1
  55. package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
  56. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +2 -2
  57. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.d.ts +3 -0
  58. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.js +19 -0
  59. package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +1 -1
  60. package/dist/application-spec/generate-application/code/templates/skills/features/embedding.d.ts +2 -0
  61. package/dist/application-spec/generate-application/code/templates/skills/features/embedding.js +1 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -1
  63. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +1 -1
  64. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +32 -26
  65. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +1 -3
  66. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -1
  67. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.d.ts +3 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.js +1 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -1
  70. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +1 -1
  71. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +1 -1
  72. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +3 -3
  73. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +3 -3
  74. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
  75. package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
  76. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +2 -2
  77. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +1 -1
  78. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +2 -1
  79. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -1
  80. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -1
  81. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +1 -1
  82. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +1 -1
  83. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/sdk-channel.d.ts +17 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/sdk-channel.js +1 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
  88. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +3 -2
  89. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +1 -2
  90. package/dist/application-spec/generate-application/code/templates/webhook-index.js +3 -7
  91. package/dist/application-spec/generate-application/code/webhook-safe-files.d.ts +3 -1
  92. package/dist/application-spec/generate-application/code/webhook-safe-files.js +1 -1
  93. package/dist/application-spec/parse-application-files/access/access-handler-kinds.d.ts +18 -0
  94. package/dist/application-spec/parse-application-files/access/access-handler-kinds.js +1 -0
  95. package/dist/application-spec/parse-application-files/access/analyzed-file.d.ts +7 -0
  96. package/dist/application-spec/parse-application-files/access/analyzed-file.js +1 -0
  97. package/dist/application-spec/parse-application-files/access/check-access-handler-files.d.ts +20 -0
  98. package/dist/application-spec/parse-application-files/access/check-access-handler-files.js +1 -0
  99. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.d.ts +17 -0
  100. package/dist/application-spec/parse-application-files/access/check-auth-hook-files.js +1 -0
  101. package/dist/application-spec/parse-application-files/access/index.d.ts +5 -0
  102. package/dist/application-spec/parse-application-files/access/index.js +1 -0
  103. package/dist/application-spec/parse-application-files/access/sign-in-control.d.ts +7 -0
  104. package/dist/application-spec/parse-application-files/access/sign-in-control.js +1 -0
  105. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +2 -1
  106. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  107. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +30 -4
  108. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  109. package/dist/application-spec/parse-application-files/categorize/webhook-safety.js +1 -1
  110. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +16 -1
  111. package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
  112. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  113. package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +7 -1
  114. package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
  115. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  116. package/dist/application-spec/parse-application-files/parse-common-admin-spec.js +1 -1
  117. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
  118. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
  119. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +29 -6
  120. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  121. package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
  122. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +11 -3
  123. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  124. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  125. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +6 -0
  126. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  127. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +2 -1
  128. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  129. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.d.ts +5 -2
  130. package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
  131. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.d.ts +1 -0
  132. package/dist/application-spec/parse-application-files/spec/model/session-fields/index.js +1 -0
  133. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.d.ts +15 -0
  134. package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.js +1 -0
  135. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  136. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
  137. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
  138. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +14 -2
  139. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -1
  140. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +6 -9
  141. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  142. package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
  143. package/dist/client/authenticated-client.d.ts +5 -1
  144. package/dist/client/authenticated-client.js +1 -1
  145. package/dist/client/authorized-client.d.ts +3 -1
  146. package/dist/client/authorized-client.js +1 -1
  147. package/dist/client/base-client.d.ts +15 -1
  148. package/dist/client/base-client.js +1 -1
  149. package/dist/client/cli-client/cli-api-client.d.ts +17 -0
  150. package/dist/client/cli-client/cli-api-client.js +1 -0
  151. package/dist/client/cli-client/index.d.ts +2 -0
  152. package/dist/client/cli-client/index.js +1 -0
  153. package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
  154. package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
  155. package/dist/client/contract.d.ts +39 -4
  156. package/dist/client/contract.js +1 -1
  157. package/dist/client/index.d.ts +3 -1
  158. package/dist/client/index.js +1 -1
  159. package/dist/client/phoenix-api.d.ts +7834 -2378
  160. package/dist/client/unauthenticated-client.d.ts +2 -1
  161. package/dist/client/unauthenticated-client.js +1 -1
  162. package/dist/client/version.d.ts +11 -0
  163. package/dist/client/version.js +1 -1
  164. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  165. package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +16 -4
  166. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +25 -10
  167. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  168. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +15 -5
  169. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +1 -0
  170. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -1
  171. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +7 -3
  172. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -2
  173. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
  174. package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
  175. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +41 -35
  176. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
  177. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +4 -2
  178. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  179. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +9 -3
  180. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  181. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +6 -3
  182. package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -1
  183. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
  184. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
  185. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +15 -7
  186. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  187. package/dist/configurator/common/configurator-interface.d.ts +13 -1
  188. package/dist/configurator/common/configurator-interface.js +1 -1
  189. package/dist/configurator/scene/animations/Animations.js +1 -1
  190. package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
  191. package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
  192. package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
  193. package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
  194. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
  195. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  196. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
  197. package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
  198. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -1
  199. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  200. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  201. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +6 -5
  202. package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -1
  203. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +4 -3
  204. package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -1
  205. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +5 -0
  206. package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -1
  207. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
  208. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
  209. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
  210. package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
  211. package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
  212. package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
  213. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +2 -3
  214. package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -1
  215. package/dist/configurator/ui/assistant/drawing/index.d.ts +1 -1
  216. package/dist/configurator/ui/assistant/drawing/index.js +1 -1
  217. package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +6 -12
  218. package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -1
  219. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +11 -7
  220. package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -1
  221. package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -1
  222. package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -1
  223. package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +5 -0
  224. package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -2
  225. package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
  226. package/dist/configurator/ui/configurator-layout/index.js +1 -1
  227. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
  228. package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
  229. package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
  230. package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
  231. package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
  232. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
  233. package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
  234. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
  235. package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
  236. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  237. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  238. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  239. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
  240. package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
  241. package/dist/configurator/ui/index.d.ts +1 -1
  242. package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
  243. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  244. package/dist/docs/index.json +117 -2
  245. package/dist/docs/layouts/nested-view-controls.mdx +223 -0
  246. package/dist/docs/layouts/preview/always.mdx +22 -0
  247. package/dist/docs/layouts/view-controls.mdx +2 -0
  248. package/dist/docs/other-features/domain-actions.mdx +53 -56
  249. package/dist/docs/phoenix/admin.mdx +5 -40
  250. package/dist/docs/phoenix/application-states.mdx +1 -1
  251. package/dist/docs/phoenix/assistant/actions.mdx +183 -0
  252. package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
  253. package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
  254. package/dist/docs/phoenix/assistant/overview.mdx +137 -0
  255. package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
  256. package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
  257. package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
  258. package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
  259. package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
  260. package/dist/docs/phoenix/clerk-sign-in.mdx +9 -5
  261. package/dist/docs/phoenix/configurator-interface.mdx +18 -33
  262. package/dist/docs/phoenix/csp.mdx +3 -1
  263. package/dist/docs/phoenix/data-sources.mdx +26 -30
  264. package/dist/docs/phoenix/deployments.mdx +3 -3
  265. package/dist/docs/phoenix/finalization.mdx +0 -1
  266. package/dist/docs/phoenix/integration/authentication-external.mdx +17 -15
  267. package/dist/docs/phoenix/integration/authentication-internal.mdx +1 -1
  268. package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -4
  269. package/dist/docs/phoenix/integration/integration-modes-external.mdx +2 -2
  270. package/dist/docs/phoenix/integration/integration-modes-internal.mdx +9 -0
  271. package/dist/docs/phoenix/layout-slots.mdx +1 -1
  272. package/dist/docs/phoenix/migrations.mdx +1 -1
  273. package/dist/docs/phoenix/phoenix-cli.mdx +90 -57
  274. package/dist/docs/phoenix/project-structure.mdx +30 -15
  275. package/dist/docs/phoenix/publishing.mdx +21 -28
  276. package/dist/docs/phoenix/sdk-builder-workflow.mdx +51 -34
  277. package/dist/docs/phoenix/sessions-and-access.mdx +171 -164
  278. package/dist/docs/phoenix/webhook-membership.mdx +4 -1
  279. package/dist/docs/phoenix/webhooks.mdx +93 -116
  280. package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
  281. package/dist/domain/application/access/access-handlers.d.ts +19 -0
  282. package/dist/domain/application/access/access-handlers.js +1 -0
  283. package/dist/domain/application/access/anonymous-handler.d.ts +16 -0
  284. package/dist/domain/application/access/anonymous-handler.js +1 -0
  285. package/dist/domain/application/access/chunk-scopes-handler.d.ts +27 -0
  286. package/dist/domain/application/access/chunk-scopes-handler.js +1 -0
  287. package/dist/domain/application/access/code-handler.d.ts +16 -0
  288. package/dist/domain/application/access/code-handler.js +1 -0
  289. package/dist/domain/application/access/index.d.ts +7 -0
  290. package/dist/domain/application/access/index.js +1 -0
  291. package/dist/domain/application/access/refresh-handler.d.ts +16 -0
  292. package/dist/domain/application/access/refresh-handler.js +1 -0
  293. package/dist/domain/application/access/signed-in-handler.d.ts +44 -0
  294. package/dist/domain/application/access/signed-in-handler.js +1 -0
  295. package/dist/domain/application/access/visitor-handler.d.ts +23 -0
  296. package/dist/domain/application/access/visitor-handler.js +1 -0
  297. package/dist/domain/application/application-config.d.ts +36 -1
  298. package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
  299. package/dist/domain/application/assistant/assistant-exposure.js +1 -0
  300. package/dist/domain/application/assistant/build-assistant-lenses.js +3 -3
  301. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  302. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +6 -2
  303. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  304. package/dist/domain/application/assistant/index.d.ts +1 -0
  305. package/dist/domain/application/assistant/index.js +1 -1
  306. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  307. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +14 -2
  308. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  309. package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
  310. package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
  311. package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
  312. package/dist/domain/application/assistant/session-setup/index.js +1 -1
  313. package/dist/domain/application/assistant-mutations.js +1 -1
  314. package/dist/domain/application/assistant-recipe-groups.d.ts +4 -3
  315. package/dist/domain/application/assistant-recipe-groups.js +1 -1
  316. package/dist/domain/application/configurator-builder.d.ts +2 -0
  317. package/dist/domain/application/configurator-builder.js +1 -1
  318. package/dist/domain/application/index.d.ts +2 -1
  319. package/dist/domain/application/index.js +1 -1
  320. package/dist/domain/application/standard-properties.d.ts +1 -1
  321. package/dist/domain/application/standard-properties.js +1 -1
  322. package/dist/domain/available-system-components/available-system-components.js +1 -1
  323. package/dist/domain/core/component/system-component-filter.d.ts +1 -0
  324. package/dist/domain/core/component/system-component-filter.js +1 -1
  325. package/dist/domain/core/component/view-state-component.d.ts +4 -3
  326. package/dist/domain/core/component/view-state-component.js +1 -1
  327. package/dist/domain/core/domain-factory.d.ts +6 -0
  328. package/dist/domain/core/domain-factory.js +1 -1
  329. package/dist/domain/core/fit-session-data.d.ts +16 -0
  330. package/dist/domain/core/fit-session-data.js +1 -0
  331. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
  332. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  333. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  334. package/dist/domain/domain-runtime/domain-context/actions.d.ts +4 -0
  335. package/dist/domain/domain-runtime/domain-context/actions.js +1 -1
  336. package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +8 -0
  337. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  338. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
  339. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  340. package/dist/domain/domain-runtime/domain-context/types.d.ts +8 -4
  341. package/dist/domain/domain-runtime/domain-runtime.d.ts +8 -0
  342. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +5 -4
  343. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  344. package/dist/domain/extensions/index.d.ts +0 -1
  345. package/dist/domain/extensions/index.js +1 -1
  346. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +4 -0
  347. package/dist/domain/spec/sections/actions.d.ts +3 -2
  348. package/dist/domain/spec/sections/app-metadata.d.ts +12 -0
  349. package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
  350. package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
  351. package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +17 -6
  352. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +28 -5
  353. package/dist/domain/spec/sections/assistant/index.d.ts +1 -0
  354. package/dist/domain/system-components/index.d.ts +1 -0
  355. package/dist/domain/system-components/index.js +1 -1
  356. package/dist/domain/system-components/navigation/index.d.ts +1 -0
  357. package/dist/domain/system-components/navigation/index.js +1 -0
  358. package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
  359. package/dist/domain/system-components/navigation/view-controls.js +1 -0
  360. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  361. package/dist/extras/clerk/index.d.ts +6 -0
  362. package/dist/extras/cognito/AccountAvatar.d.ts +7 -0
  363. package/dist/extras/cognito/AccountAvatar.js +1 -0
  364. package/dist/extras/cognito/AccountControl.d.ts +14 -0
  365. package/dist/extras/cognito/AccountControl.js +1 -0
  366. package/dist/extras/cognito/AdminSignInPage.d.ts +26 -0
  367. package/dist/extras/cognito/AdminSignInPage.js +1 -0
  368. package/dist/extras/cognito/CognitoSignInPage.d.ts +8 -2
  369. package/dist/extras/cognito/CognitoSignInPage.js +1 -1
  370. package/dist/extras/cognito/ConfiguratorSignInPage.d.ts +19 -0
  371. package/dist/extras/cognito/ConfiguratorSignInPage.js +1 -0
  372. package/dist/extras/cognito/SignInFailurePage.d.ts +11 -0
  373. package/dist/extras/cognito/SignInFailurePage.js +1 -0
  374. package/dist/extras/cognito/SignInGateLayout.d.ts +25 -0
  375. package/dist/extras/cognito/SignInGateLayout.js +1 -0
  376. package/dist/extras/cognito/SignInNotice.d.ts +9 -0
  377. package/dist/extras/cognito/SignInNotice.js +1 -0
  378. package/dist/extras/cognito/index.d.ts +4 -0
  379. package/dist/extras/cognito/index.js +1 -1
  380. package/dist/globals/index.d.ts +5 -0
  381. package/dist/i18n/locales/cs/messages.js +1 -1
  382. package/dist/i18n/locales/da/messages.js +1 -1
  383. package/dist/i18n/locales/de/messages.js +1 -1
  384. package/dist/i18n/locales/de-AT/messages.js +1 -1
  385. package/dist/i18n/locales/en/messages.js +1 -1
  386. package/dist/i18n/locales/en-AU/messages.js +1 -1
  387. package/dist/i18n/locales/en-GB/messages.js +1 -1
  388. package/dist/i18n/locales/es/messages.js +1 -1
  389. package/dist/i18n/locales/fr/messages.js +1 -1
  390. package/dist/i18n/locales/hu/messages.js +1 -1
  391. package/dist/i18n/locales/it/messages.js +1 -1
  392. package/dist/i18n/locales/nl/messages.js +1 -1
  393. package/dist/i18n/locales/pl/messages.js +1 -1
  394. package/dist/i18n/locales/pt/messages.js +1 -1
  395. package/dist/i18n/locales/ro/messages.js +1 -1
  396. package/dist/i18n/locales/sk/messages.js +1 -1
  397. package/dist/i18n/locales/tr/messages.js +1 -1
  398. package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
  399. package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
  400. package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
  401. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +12 -3
  402. package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
  403. package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
  404. package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
  405. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  406. package/dist/phoenix/application-spec/index.d.ts +1 -1
  407. package/dist/phoenix/application-spec/index.js +1 -1
  408. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +10 -3
  409. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  410. package/dist/phoenix/cli.js +1 -1
  411. package/dist/phoenix/commands/account/whoami.d.ts +8 -2
  412. package/dist/phoenix/commands/account/whoami.js +4 -3
  413. package/dist/phoenix/commands/cleanup-environment.js +1 -1
  414. package/dist/phoenix/commands/deploy.d.ts +7 -2
  415. package/dist/phoenix/commands/deploy.js +9 -3
  416. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  417. package/dist/phoenix/commands/deps/deps.js +2 -2
  418. package/dist/phoenix/commands/feedback.d.ts +2 -2
  419. package/dist/phoenix/commands/feedback.js +1 -1
  420. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  421. package/dist/phoenix/commands/init-starter-spec.js +3 -4
  422. package/dist/phoenix/commands/init.d.ts +2 -2
  423. package/dist/phoenix/commands/init.js +1 -1
  424. package/dist/phoenix/commands/login.d.ts +1 -1
  425. package/dist/phoenix/commands/login.js +2 -2
  426. package/dist/phoenix/commands/logout.js +1 -1
  427. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  428. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  429. package/dist/phoenix/services/cli-credentials.d.ts +13 -2
  430. package/dist/phoenix/services/cli-credentials.js +2 -2
  431. package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
  432. package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
  433. package/dist/phoenix/services/cli-server/index.d.ts +2 -0
  434. package/dist/phoenix/services/cli-server/index.js +1 -0
  435. package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +25 -0
  436. package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
  437. package/dist/phoenix/services/development-credential.js +1 -1
  438. package/dist/phoenix/services/frontend-config.d.ts +2 -0
  439. package/dist/phoenix/services/index.d.ts +4 -2
  440. package/dist/phoenix/services/index.js +1 -1
  441. package/dist/phoenix/services/phoenix-regions.d.ts +15 -5
  442. package/dist/phoenix/services/phoenix-regions.js +1 -1
  443. package/dist/phoenix/services/prepare-development-environment.js +2 -2
  444. package/dist/phoenix/services/session/phoenix-application.js +1 -1
  445. package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
  446. package/dist/phoenix/services/signed-in-development-environment.js +1 -1
  447. package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
  448. package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
  449. package/dist/phoenix/services/spec-project/index.d.ts +3 -0
  450. package/dist/phoenix/services/spec-project/index.js +1 -0
  451. package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
  452. package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
  453. package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
  454. package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
  455. package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
  456. package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
  457. package/dist/phoenix/services/variant-file-session.js +1 -1
  458. package/dist/phoenix/services/vite-config.js +1 -1
  459. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  460. package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
  461. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.d.ts +6 -0
  462. package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.js +1 -1
  463. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +2 -2
  464. package/dist/react-sdk/application-runtime/integration/integration-mode.d.ts +30 -0
  465. package/dist/react-sdk/application-runtime/integration/integration-mode.js +1 -1
  466. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +20 -6
  467. package/dist/react-sdk/application-runtime/session/actions.d.ts +2 -1
  468. package/dist/react-sdk/application-runtime/session/actions.js +1 -1
  469. package/dist/react-sdk/application-runtime/session/initialize.js +1 -1
  470. package/dist/react-sdk/application-runtime/session/selectors.d.ts +2 -0
  471. package/dist/react-sdk/application-runtime/session/selectors.js +1 -1
  472. package/dist/react-sdk/application-runtime/session/session-service.d.ts +64 -2
  473. package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
  474. package/dist/react-sdk/application-runtime/session/session-token.d.ts +8 -0
  475. package/dist/react-sdk/application-runtime/session/session-token.js +1 -1
  476. package/dist/react-sdk/application-runtime/session/types.d.ts +6 -1
  477. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
  478. package/dist/react-sdk/domain-context/index.d.ts +3 -2
  479. package/dist/react-sdk/domain-context/index.js +1 -1
  480. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +1 -5
  481. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -1
  482. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
  483. package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
  484. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
  485. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  486. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
  487. package/dist/react-sdk/session/AccessDeniedAdminPage.d.ts +13 -0
  488. package/dist/react-sdk/session/AccessDeniedAdminPage.js +1 -0
  489. package/dist/react-sdk/session/AccessDeniedPage.d.ts +20 -0
  490. package/dist/react-sdk/session/AccessDeniedPage.js +1 -0
  491. package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
  492. package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
  493. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  494. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  495. package/dist/react-sdk/session/index.d.ts +3 -0
  496. package/dist/react-sdk/session/index.js +1 -1
  497. package/dist/react-sdk/session/server-sign-in-support.d.ts +16 -0
  498. package/dist/react-sdk/session/server-sign-in-support.js +1 -0
  499. package/dist/react-sdk/session/sign-in-address.d.ts +18 -0
  500. package/dist/react-sdk/session/sign-in-address.js +1 -0
  501. package/dist/react-sdk/session/studio-frame.d.ts +14 -0
  502. package/dist/react-sdk/session/studio-frame.js +1 -0
  503. package/dist/react-sdk/session/use-sign-in.d.ts +51 -0
  504. package/dist/react-sdk/session/use-sign-in.js +1 -0
  505. package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
  506. package/dist/ui-sdk/components/preview/Preview.js +2 -2
  507. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +3 -2
  508. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  509. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
  510. package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
  511. package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
  512. package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
  513. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
  514. package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
  515. package/dist/webhook/builders/auth-handler-builder.d.ts +21 -1
  516. package/dist/webhook/builders/auth-handler-builder.js +1 -1
  517. package/dist/webhook/builders/common.d.ts +9 -0
  518. package/dist/webhook/builders/webhook-builder.d.ts +18 -0
  519. package/dist/webhook/builders/webhook-builder.js +1 -1
  520. package/package.json +5 -4
  521. package/schema/domain-spec.json +224 -65
  522. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/assistant.js +0 -43
  523. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/assistant-setup.js +0 -32
  524. package/dist/application-spec/generate-application/code/templates/skills/processes/beta.d.ts +0 -14
  525. package/dist/application-spec/generate-application/code/templates/skills/processes/beta.js +0 -4
  526. package/dist/domain/extensions/view-controls.d.ts +0 -25
  527. package/dist/domain/extensions/view-controls.js +0 -1
@@ -7643,37 +7643,110 @@
7643
7643
  "items": {
7644
7644
  "type": "array",
7645
7645
  "items": {
7646
- "type": "object",
7647
- "properties": {
7648
- "label": {
7649
- "anyOf": [
7650
- {
7651
- "type": "string"
7646
+ "anyOf": [
7647
+ {
7648
+ "type": "object",
7649
+ "properties": {
7650
+ "label": {
7651
+ "anyOf": [
7652
+ {
7653
+ "type": "string"
7654
+ },
7655
+ {
7656
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
7657
+ },
7658
+ {
7659
+ "$ref": "#/definitions/MultilingualString"
7660
+ }
7661
+ ],
7662
+ "import": [
7663
+ {
7664
+ "module": "@salsita-ai/sdk/common/utils",
7665
+ "member": "EnhancedLocalizable"
7666
+ }
7667
+ ],
7668
+ "tsType": "EnhancedLocalizable"
7652
7669
  },
7653
- {
7654
- "$ref": "#/definitions/EnhancedMessageDescriptor"
7670
+ "value": {
7671
+ "type": "string"
7655
7672
  },
7656
- {
7657
- "$ref": "#/definitions/MultilingualString"
7658
- }
7659
- ],
7660
- "import": [
7661
- {
7662
- "module": "@salsita-ai/sdk/common/utils",
7663
- "member": "EnhancedLocalizable"
7673
+ "icon": {
7674
+ "type": "string"
7664
7675
  }
7665
- ],
7666
- "tsType": "EnhancedLocalizable"
7667
- },
7668
- "value": {
7669
- "type": "string"
7676
+ },
7677
+ "required": ["label", "icon", "value"],
7678
+ "additionalProperties": false
7670
7679
  },
7671
- "icon": {
7672
- "type": "string"
7680
+ {
7681
+ "type": "object",
7682
+ "properties": {
7683
+ "label": {
7684
+ "anyOf": [
7685
+ {
7686
+ "type": "string"
7687
+ },
7688
+ {
7689
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
7690
+ },
7691
+ {
7692
+ "$ref": "#/definitions/MultilingualString"
7693
+ }
7694
+ ],
7695
+ "import": [
7696
+ {
7697
+ "module": "@salsita-ai/sdk/common/utils",
7698
+ "member": "EnhancedLocalizable"
7699
+ }
7700
+ ],
7701
+ "tsType": "EnhancedLocalizable"
7702
+ },
7703
+ "value": {
7704
+ "type": "string"
7705
+ },
7706
+ "icon": {
7707
+ "type": "string"
7708
+ },
7709
+ "items": {
7710
+ "type": "array",
7711
+ "items": {
7712
+ "type": "object",
7713
+ "properties": {
7714
+ "label": {
7715
+ "anyOf": [
7716
+ {
7717
+ "type": "string"
7718
+ },
7719
+ {
7720
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
7721
+ },
7722
+ {
7723
+ "$ref": "#/definitions/MultilingualString"
7724
+ }
7725
+ ],
7726
+ "import": [
7727
+ {
7728
+ "module": "@salsita-ai/sdk/common/utils",
7729
+ "member": "EnhancedLocalizable"
7730
+ }
7731
+ ],
7732
+ "tsType": "EnhancedLocalizable"
7733
+ },
7734
+ "value": {
7735
+ "type": "string"
7736
+ },
7737
+ "icon": {
7738
+ "type": "string"
7739
+ }
7740
+ },
7741
+ "required": ["label", "value"],
7742
+ "additionalProperties": false
7743
+ }
7744
+ }
7745
+ },
7746
+ "required": ["label", "icon", "items"],
7747
+ "additionalProperties": false
7673
7748
  }
7674
- },
7675
- "required": ["label", "value", "icon"],
7676
- "additionalProperties": false
7749
+ ]
7677
7750
  }
7678
7751
  }
7679
7752
  },
@@ -14092,7 +14165,7 @@
14092
14165
  },
14093
14166
  "fileFormat": {
14094
14167
  "type": "string",
14095
- "enum": ["PNG", "JPEG"]
14168
+ "enum": ["JPEG"]
14096
14169
  },
14097
14170
  "backgroundColor": {
14098
14171
  "type": "string",
@@ -14115,7 +14188,7 @@
14115
14188
  "type": "string"
14116
14189
  }
14117
14190
  },
14118
- "required": ["exportState", "width", "height", "fileFormat", "toolState", "viewState", "navigationState"],
14191
+ "required": ["exportState", "width", "height", "toolState", "viewState", "navigationState"],
14119
14192
  "additionalProperties": false
14120
14193
  },
14121
14194
  "ProjectedEntitiesComponentState": {
@@ -33815,44 +33888,138 @@
33815
33888
  {
33816
33889
  "type": "array",
33817
33890
  "items": {
33818
- "type": "object",
33819
- "properties": {
33820
- "label": {
33821
- "anyOf": [
33822
- {
33891
+ "anyOf": [
33892
+ {
33893
+ "type": "object",
33894
+ "properties": {
33895
+ "label": {
33823
33896
  "anyOf": [
33824
33897
  {
33825
- "type": "string"
33898
+ "anyOf": [
33899
+ {
33900
+ "type": "string"
33901
+ },
33902
+ {
33903
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
33904
+ },
33905
+ {
33906
+ "$ref": "#/definitions/MultilingualString"
33907
+ }
33908
+ ],
33909
+ "import": [
33910
+ {
33911
+ "module": "@salsita-ai/sdk/common/utils",
33912
+ "member": "EnhancedLocalizable"
33913
+ }
33914
+ ],
33915
+ "tsType": "EnhancedLocalizable"
33826
33916
  },
33827
33917
  {
33828
- "$ref": "#/definitions/EnhancedMessageDescriptor"
33918
+ "$ref": "#/definitions/ReadEnhancement"
33919
+ }
33920
+ ]
33921
+ },
33922
+ "value": {
33923
+ "$ref": "#/definitions/EnhancedStringRead"
33924
+ },
33925
+ "icon": {
33926
+ "$ref": "#/definitions/EnhancedStringRead"
33927
+ }
33928
+ },
33929
+ "required": ["label", "icon", "value"],
33930
+ "additionalProperties": false
33931
+ },
33932
+ {
33933
+ "type": "object",
33934
+ "properties": {
33935
+ "label": {
33936
+ "anyOf": [
33937
+ {
33938
+ "anyOf": [
33939
+ {
33940
+ "type": "string"
33941
+ },
33942
+ {
33943
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
33944
+ },
33945
+ {
33946
+ "$ref": "#/definitions/MultilingualString"
33947
+ }
33948
+ ],
33949
+ "import": [
33950
+ {
33951
+ "module": "@salsita-ai/sdk/common/utils",
33952
+ "member": "EnhancedLocalizable"
33953
+ }
33954
+ ],
33955
+ "tsType": "EnhancedLocalizable"
33829
33956
  },
33830
33957
  {
33831
- "$ref": "#/definitions/MultilingualString"
33958
+ "$ref": "#/definitions/ReadEnhancement"
33832
33959
  }
33833
- ],
33834
- "import": [
33960
+ ]
33961
+ },
33962
+ "value": {
33963
+ "$ref": "#/definitions/EnhancedStringRead"
33964
+ },
33965
+ "icon": {
33966
+ "$ref": "#/definitions/EnhancedStringRead"
33967
+ },
33968
+ "items": {
33969
+ "anyOf": [
33835
33970
  {
33836
- "module": "@salsita-ai/sdk/common/utils",
33837
- "member": "EnhancedLocalizable"
33971
+ "type": "array",
33972
+ "items": {
33973
+ "type": "object",
33974
+ "properties": {
33975
+ "label": {
33976
+ "anyOf": [
33977
+ {
33978
+ "anyOf": [
33979
+ {
33980
+ "type": "string"
33981
+ },
33982
+ {
33983
+ "$ref": "#/definitions/EnhancedMessageDescriptor"
33984
+ },
33985
+ {
33986
+ "$ref": "#/definitions/MultilingualString"
33987
+ }
33988
+ ],
33989
+ "import": [
33990
+ {
33991
+ "module": "@salsita-ai/sdk/common/utils",
33992
+ "member": "EnhancedLocalizable"
33993
+ }
33994
+ ],
33995
+ "tsType": "EnhancedLocalizable"
33996
+ },
33997
+ {
33998
+ "$ref": "#/definitions/ReadEnhancement"
33999
+ }
34000
+ ]
34001
+ },
34002
+ "value": {
34003
+ "$ref": "#/definitions/EnhancedStringRead"
34004
+ },
34005
+ "icon": {
34006
+ "$ref": "#/definitions/EnhancedStringRead"
34007
+ }
34008
+ },
34009
+ "required": ["label", "value"],
34010
+ "additionalProperties": false
34011
+ }
34012
+ },
34013
+ {
34014
+ "$ref": "#/definitions/ReadEnhancement"
33838
34015
  }
33839
- ],
33840
- "tsType": "EnhancedLocalizable"
33841
- },
33842
- {
33843
- "$ref": "#/definitions/ReadEnhancement"
34016
+ ]
33844
34017
  }
33845
- ]
33846
- },
33847
- "value": {
33848
- "$ref": "#/definitions/EnhancedStringRead"
33849
- },
33850
- "icon": {
33851
- "$ref": "#/definitions/EnhancedStringRead"
34018
+ },
34019
+ "required": ["label", "icon", "items"],
34020
+ "additionalProperties": false
33852
34021
  }
33853
- },
33854
- "required": ["label", "value", "icon"],
33855
- "additionalProperties": false
34022
+ ]
33856
34023
  }
33857
34024
  },
33858
34025
  {
@@ -44480,7 +44647,7 @@
44480
44647
  "anyOf": [
44481
44648
  {
44482
44649
  "type": "string",
44483
- "enum": ["PNG", "JPEG"]
44650
+ "enum": ["JPEG"]
44484
44651
  },
44485
44652
  {
44486
44653
  "$ref": "#/definitions/ReadEnhancement"
@@ -44518,15 +44685,7 @@
44518
44685
  "$ref": "#/definitions/ComponentSystemFilter"
44519
44686
  }
44520
44687
  },
44521
- "required": [
44522
- "exportState",
44523
- "width",
44524
- "height",
44525
- "fileFormat",
44526
- "toolState",
44527
- "viewState",
44528
- "navigationState"
44529
- ],
44688
+ "required": ["exportState", "width", "height", "toolState", "viewState", "navigationState"],
44530
44689
  "additionalProperties": false
44531
44690
  },
44532
44691
  {
@@ -1,43 +0,0 @@
1
- import{createPhoenixFeatureGuide as e}from"../../guide.js";let t=`A greeting with starters for an empty thread, and a project thread that shows them itself.
2
-
3
- \`\`\`yaml
4
- # spec/controls.yaml
5
- components:
6
- KitchenRange:
7
- assistantGreeting:
8
- main:
9
- message:
10
- $msg: Hi! I can help you design this range. Ask me about its parts, colours and price.
11
- starters:
12
- - title:
13
- $msg: Add a griddle
14
- - title:
15
- $msg: Show me the colours
16
- reply:
17
- $msg: Which colours can the range have?
18
- \`\`\`
19
-
20
- \`\`\`tsx
21
- // Part of a project thread in the panel's thread slot
22
- import { Trans } from '@lingui/react/macro'
23
-
24
- const EmptyThread = () => {
25
- const { isEmpty, greeting, starters } = phx.frontend.useAssistantThread()
26
- const { assistantSystem } = phx.frontend.useConfigurator()
27
-
28
- if (!isEmpty) {
29
- return null
30
- }
31
-
32
- return (
33
- <div>
34
- <p>{greeting ?? <Trans>Ask me anything about this range.</Trans>}</p>
35
- {starters.map((starter, index) => (
36
- <button key={index} type="button" onClick={() => void assistantSystem.send(starter.reply)}>
37
- {starter.title}
38
- </button>
39
- ))}
40
- </div>
41
- )
42
- }
43
- \`\`\``;export const generatePhoenixAssistantFeature=()=>e({path:"features/custom-layout/assistant.md",title:"Assistant panel content",summary:"The assistant's project form elements, its greeting and starters for an empty thread, and its drawings; read when the assistant needs a form element of the project, should greet configurator users in the project's words, or should draw for them.",whenToUse:"Read when the assistant should offer a form element of the project, greet configurator users with its own words and starters, or draw schematics for them.",capabilities:"The assistant panel shows the conversation with the assistant the spec's `assistant` section declares. A project adds to what the panel shows; the panel itself stays the SDK's.\n\n### Form elements\n\n- Declare an element under `assistant.formElements.<name>` with `description` (what the model reads), `role` (`group`, `choice`, `choices`, `option` or `input`), optional scalar `attributes` and `required`. Names are lowercase, such as `ralcolor`.\n- Implement it in one file: `export default phx.frontend.createAssistantFormElement('name', Component)`.\n- The name types the props by role through the global `AssistantFormElementProps<'name', STATE>`. Every element gets `attributes`, `label` and `disabled`; an option reports with `onSelect(answer)`, an input with `onChange(state, answer)`, and a container renders `children`, or `rows`, one entry per run of consecutive options that look alike.\n- Recipes and options the assistant read from `meta` need no project element: it offers them as built-in `tile`s, which show their name, picture or color and description.\n- A declared element without a registration, one registered twice, or a registration without a declaration stops the application with an implementation error, at start and on hot reload.\n\n### Greeting and starters\n\n- A root `assistantGreeting` component sets what the panel shows while its thread is empty: `message` in place of the built-in greeting, and `starters`, chips under it that send a ready-made first message. A starter is `{ title, reply? }`; a tap sends `reply`, or `title` without one.\n- Localise every text with `$msg`, as in `message: { $msg: Hi! I can change this range with you. }`.\n- The model never reads the greeting, and it leaves the thread with the first message. Keep it a statement of what the assistant can do, and put concrete asks in the starters, whose message the model does read.\n- Both leave once the thread has a message. A project thread reads them as `greeting` and `starters` from `phx.frontend.useAssistantThread()` and sends a starter with `phx.frontend.useConfigurator().assistantSystem.send(starter.reply)`; style the built-in chips through the `starters` and `starter` slots of `PhxAssistantThread`.\n\n### Drawings\n\n- The assistant can draw a schematic in a reply, as SVG in an `svg` code block. The panel shows it framed in the thread, and a click shows it larger beside the panel.\n- Its prompt lets it draw when a schematic explains better than words or when it is asked to, never the result of a change it made, which configurator users see in the configurator. Ask for more drawings, or for particular ones, in `assistant.instructions` where they help configurator users, such as \"After reading a photo, draw the layout you deduced and ask them to confirm it.\"\n- Nothing needs registering: `AssistantMarkdown` renders drawings, and the configurator page shows the larger view over every layout.",example:t,documentation:'Read with `pnpm phoenix docs -r <path>`:\n\n- `docs/phoenix/configurator-interface.mdx` — "Assistant" and "Assistant theme names and slots": the thread and composer hooks, the greeting, and the theme slots of every part of the panel.',phxMembers:["frontend.createAssistantFormElement"]});
@@ -1,32 +0,0 @@
1
- import{createPhoenixFeatureGuide as e}from"../../guide.js";let t=`A configurator user who opens a shared configuration may ask about it but not change it:
2
-
3
- \`\`\`yaml
4
- # spec/assistant.yaml
5
- assistant:
6
- instructions: Help the visitor choose a chair and explain the finishes.
7
- ai:
8
- provider: openai
9
- model: balanced
10
- reasoning: low
11
- entities:
12
- Chair:
13
- label:
14
- finish:
15
- writable:
16
- Chair:
17
- finish:
18
- \`\`\`
19
-
20
- \`\`\`ts
21
- // src/handlers/assistant-setup.ts
22
- export default phx.domain.createAssistantSetupHandler((manifest, { access }) =>
23
- access === 'o'
24
- ? manifest
25
- : {
26
- ...manifest,
27
- writable: {},
28
- deletable: {},
29
- instructions: 'The visitor is viewing a shared configuration. Describe it and answer questions; never offer to change it.',
30
- }
31
- )
32
- \`\`\``;export const generatePhoenixAssistantSetupFeature=()=>e({path:"features/webhooks/assistant-setup.md",title:"Assistant setup",summary:"`phx.domain.createAssistantSetupHandler`, which narrows what the assistant may see and change per session or switches it off; read when the assistant must behave differently by role, session data or access.",whenToUse:"Read when the assistant must offer less to some sessions — viewers of a shared configuration, anonymous users, a customer group — or none at all.",capabilities:"### The handler\n\n- `phx.webhooks` has no builder for it: default-export `phx.domain.createAssistantSetupHandler((manifest, { role, sessionData, access }) => manifest)` from a file in `src/handlers/`, at most one per project. The file joins the webhook automatically, so it imports only server-safe modules ([Webhook entry and environment](entry-and-environment.md)).\n- The SDK calls it for every assistant session with the manifest the `assistant` spec declares, and uses what it returns. Return `null` to switch the assistant off for the session.\n- `role` and `sessionData` come from [authentication](authentication.md); `access` is how the configuration was opened, such as `o` for its owner.\n\n### What it may change\n\n- Narrow, never widen: leave out entries of `entities`, `writable`, `deletable`, `actions`, the recipe maps and `navigation` to hide them. Entries keep the entity and alias split of the YAML; narrow those original declarations and the SDK expands them to member types afterwards.\n- Writable options accept only `validate: true` and `allowDryRuns: false`; recipe groups accept a `description` and `allowDryRuns: false`; screenshot views, navigation states and the `navigation.select` types accept a `description`; deletable entries are `{}`. Names, component bindings, hints and types are fixed by the spec.\n- `instructions` replaces the spec's instructions, which the server appends to its prompt and the WebMCP guide returns to agents in the visitor's browser; an empty string clears them, an omitted one keeps them. `ai` changes the server's model; `ai.voice` turns voice messages and the replies read aloud on or off for the session, and the panel follows the server, so it shows the mic, the play buttons and the mute control exactly when the server takes them.\n- WebMCP, which offers the assistant's tools to AI agents in the visitor's browser, is on unless the spec's `assistant` section sets `webmcp: false`. Returning `webmcp: false` turns it off for the session; the handler can only turn it off, never on. The two preset tools, which let an agent start a configuration from a preset on the preset screen and inside a configuration, follow the spec's `webmcp` and `canCreate` only: the handler cannot turn them off, because it needs a loaded configuration.\n- The assistant's buttons and panel follow the spec, not the handler; hide them per session in the layout, for example with `$filter`.\n\n### Constraints\n\n- Keep it synchronous, pure and deterministic: it runs in the browser and in the webhook, and both must reach the same manifest.\n- In the browser the manifest has no `ai`, and what the handler returns for it is ignored. Never decide the other entries from `manifest.ai`, or the browser's schema would differ from the server's. `instructions` reach the browser: never put anything in them a visitor must not read.\n- A handler that throws or returns an invalid manifest leaves the assistant unavailable for the session. Deployed environments reuse a session's setup for up to 15 minutes; under `phoenix dev` it runs on every request, within 15 seconds.",example:t,documentation:"The shipped SDK docs do not cover the assistant setup handler yet; [Webhook entry and environment](entry-and-environment.md) covers how its file joins the webhook.",phxMembers:["domain.createAssistantSetupHandler"]});
@@ -1,14 +0,0 @@
1
- import { type PhoenixGuide } from '../guide.js';
2
- export interface PhoenixSkillOptions {
3
- readonly checkLatestCanary: boolean;
4
- }
5
- /**
6
- * Whether a project follows the canary builds: it installs the SDK from npm, and the build it was generated by is
7
- * itself a canary. A workspace project follows the local SDK, a stable release stays on releases, and a PR beta
8
- * (`<version>-pr-<n>.<sha>`) is the build under test, so none of them may be moved onto canary.
9
- */
10
- export declare const followsCanaryBuilds: (project: {
11
- readonly useWorkspace: boolean;
12
- readonly sdkVersion: string;
13
- }) => boolean;
14
- export declare const generatePhoenixBeta: ({ checkLatestCanary }: PhoenixSkillOptions) => PhoenixGuide;
@@ -1,4 +0,0 @@
1
- import{createPhoenixProcessGuide as e}from"../guide.js";let t=`### Ask for the run evaluation
2
-
3
- The Phoenix team relies on clients' evaluations during the beta. When a deploy reports the configurator live and the client has nothing more to build, ask whether they will rate the run, and follow [Evaluate the run](feedback/evaluate.md) when they agree. Ask once per conversation, not after a deploy that failed and not while the client wants to continue; a later deploy in the same conversation does not ask again.`;export const followsCanaryBuilds=e=>!e.useWorkspace&&e.sdkVersion.includes("-develop.");export const generatePhoenixBeta=({checkLatestCanary:n})=>e({path:"processes/beta.md",title:"Beta",summary:`What the internal beta adds: ${n?"keeping this canary project on the newest SDK build, ":""}the conversation log that goes with each deploy and asking for the run evaluation; read ${n?"once per conversation before changing anything, ":""}before each deploy and when a deploy goes live.`,whenToUse:`Phoenix is in an internal beta, so this applies to every project: ${n?"once per conversation before changing anything, ":""}before each \`phoenix deploy\` and when a deploy goes live. Everything here ends with the beta.`,steps:[...n?["### Stay on the latest canary\n\nThis project uses the `canary` build of the SDK, which is published from every change to the platform. Once per conversation, before changing anything, compare the installed version, the `version` in `node_modules/@salsita-ai/sdk/package.json`, with the newest canary:\n\n```bash\nnpm view @salsita-ai/sdk@canary version\n```\n\nWhen they differ, tell the client which version the project moves to, then install that exact version, bring the packages it needs in line and regenerate the project files:\n\n```bash\npnpm add @salsita-ai/sdk@<version> && pnpm phoenix deps && pnpm install && pnpm phoenix sync\n```\n\nInstall the version npm reported rather than the `@canary` tag: a package manager's cached registry data can keep the old build while reporting success. Sync rewrites the Phoenix skills, so read the guides in use again afterwards. When the client runs a globally installed `phoenix`, update it too with `npm install -g @salsita-ai/sdk@<version>`. When the project no longer builds after the update, tell the client and report it with [Feedback](feedback/index.md)."]:[],"### Share the conversation log\n\nDuring the beta each deploy carries the conversation, so the Phoenix team can learn from the run. Immediately before running `pnpm phoenix deploy`, refresh `conversation.log` in the project root with the current conversation. Prefer the agent application's native session export when available; do not invent an export command or scan unrelated sessions. Otherwise write the messages still available in context and label the log `reconstructed; incomplete`. Never present a compaction summary as verbatim earlier messages.\n\nUse UTF-8 text with a header naming the agent, export time, source (native export or reconstructed), covered session and known omissions. Preserve the client's and the agent's messages in chronological order, plus tool names, arguments and results when available; label text the agent application injected, such as loaded skills or task notifications, as what it is rather than as the client's. Keep each tool result to at most 16 KiB of text and mark truncation explicitly; describe image attachments by reference rather than embedding binary or base64 data. Exclude internal instructions, hidden reasoning, credentials and unrelated sensitive content; mark redactions without repeating the removed content. Refresh the current session's log rather than appending duplicate copies or carrying over a previous session.\n\nShow the client the exact file to review or redact, and get their approval to include it before the deploy that sends it. A log refreshed for a later deploy is a new file and needs a new yes; showing only what was added since the approved version keeps that quick. When they decline, move it out of the project root before deploying so it cannot be collected, and keep it out for the rest of the conversation unless they change their mind. Deploy includes the file in the build's private source archive, downloadable by those authorized to download that build's sources, and leaves it out of build inputs. A missing log warns but does not block deployment.",t].join("\n\n"),doneWhen:`${n?"- The project is on the newest canary build, or the client knows why it is not.\n":""}- Each deploy carried a conversation log the client approved in that version, or none.
4
- - After a live deploy with nothing more to build, the client was asked once for the run evaluation.`,example:'Before the first deploy, refresh `conversation.log` and show it to the client: "This log of our conversation goes with the build, visible only to people who can download its sources. Shall I include it?" After the deploy goes live and the client says they are done for now, ask whether they will rate the run.'});
@@ -1,25 +0,0 @@
1
- import { type Localizable } from '@salsita-ai/common/utils';
2
- export type ViewControlsComponentState = {
3
- /**
4
- * Items to be rendered
5
- */
6
- readonly items: ReadonlyArray<{
7
- /**
8
- * Localizable text which will be displayed to the user
9
- */
10
- readonly label: Localizable;
11
- /**
12
- * ViewState which will be activated when clicking on the toggle
13
- */
14
- readonly value: string;
15
- /**
16
- * Icon name which will be displayed to the user
17
- */
18
- readonly icon: string;
19
- }>;
20
- };
21
- /**
22
- * Renders a view controls next to the toolbar.
23
- */
24
- export declare const viewControlsComponent: import("../index.js").SystemComponentType<"viewControls", ViewControlsComponentState, never>;
25
- export type ViewControlsComponent = typeof viewControlsComponent;
@@ -1 +0,0 @@
1
- import{EnhancedLocalizableSchema as e}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t}from"../core/index.js";export const viewControlsComponent=t.component("viewControls").withState({type:"object",tsType:"ViewControlsComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"ViewControlsComponentState"}],properties:{items:{type:"array",items:{type:"object",properties:{label:e,value:{type:"string"},icon:{type:"string"}},required:["label","value","icon"],additionalProperties:!1}}},required:["items"],additionalProperties:!1}).build();