@salsita-ai/sdk 0.50.0-develop.ed1806b910 → 0.50.0-develop.eeaf6c4605

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 (938) hide show
  1. package/README.md +8 -2
  2. package/dist/admin/AdminShell.js +1 -1
  3. package/dist/admin/legacy-admin/Application.js +1 -1
  4. package/dist/application-spec/caching/index.d.ts +6 -1
  5. package/dist/application-spec/caching/index.js +1 -1
  6. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -31
  7. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  8. package/dist/application-spec/core/index.d.ts +1 -3
  9. package/dist/application-spec/core/index.js +1 -1
  10. package/dist/application-spec/core/json-schema.d.ts +2 -52
  11. package/dist/application-spec/core/markers/index.d.ts +1 -1
  12. package/dist/application-spec/core/markers/index.js +1 -1
  13. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  14. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  15. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  16. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  17. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  18. package/dist/application-spec/errors/diagnostic-codes.d.ts +8 -1
  19. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  20. package/dist/application-spec/errors/diagnostic-messages.d.ts +15 -1
  21. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  22. package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +0 -19
  23. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  24. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  25. package/dist/application-spec/generate-application/code/templates/gitignore.js +2 -1
  26. package/dist/application-spec/generate-application/code/templates/index.d.ts +2 -6
  27. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  28. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +5 -4
  29. package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -0
  30. package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -0
  31. package/dist/application-spec/generate-application/code/templates/skills/core/index.d.ts +3 -0
  32. package/dist/application-spec/generate-application/code/templates/skills/core/index.js +1 -0
  33. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.d.ts +2 -0
  34. package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +150 -0
  35. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.d.ts +2 -0
  36. package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +40 -0
  37. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout.d.ts +2 -0
  38. package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout.js +1 -0
  39. package/dist/application-spec/generate-application/code/templates/skills/features/features.d.ts +3 -0
  40. package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -0
  41. package/dist/application-spec/generate-application/code/templates/skills/features/index.d.ts +1 -0
  42. package/dist/application-spec/generate-application/code/templates/skills/features/index.js +1 -0
  43. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.d.ts +2 -0
  44. package/dist/application-spec/generate-application/code/templates/skills/features/inspection.js +1 -0
  45. package/dist/application-spec/generate-application/code/templates/skills/features/variants.d.ts +2 -0
  46. package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -0
  47. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.d.ts +2 -0
  48. package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.js +1 -0
  49. package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +54 -0
  50. package/dist/application-spec/generate-application/code/templates/skills/guide.js +18 -0
  51. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  52. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +14 -0
  53. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.d.ts +2 -0
  54. package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +23 -0
  55. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.d.ts +2 -0
  56. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.js +39 -0
  57. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.d.ts +3 -0
  58. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.js +1 -0
  59. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.d.ts +1 -0
  60. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.js +1 -0
  61. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.d.ts +2 -0
  62. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +7 -0
  63. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.d.ts +2 -0
  64. package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.js +2 -0
  65. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.d.ts +2 -0
  66. package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -0
  67. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.d.ts +2 -0
  68. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +23 -0
  69. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.d.ts +2 -0
  70. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +26 -0
  71. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.d.ts +3 -0
  72. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +3 -0
  73. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.d.ts +2 -0
  74. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +7 -0
  75. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.d.ts +1 -0
  76. package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.js +1 -0
  77. package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +9 -0
  78. package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -0
  79. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.d.ts +2 -0
  80. package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -0
  81. package/dist/application-spec/generate-application/code/templates/skills/{phoenix-skill.d.ts → processes/operations.d.ts} +2 -1
  82. package/dist/application-spec/generate-application/code/templates/skills/processes/operations.js +2 -0
  83. package/dist/application-spec/generate-application/code/templates/skills/processes/planning.d.ts +2 -0
  84. package/dist/application-spec/generate-application/code/templates/skills/processes/planning.js +5 -0
  85. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.d.ts +2 -0
  86. package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +46 -0
  87. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.d.ts +2 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +2 -0
  89. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.d.ts +2 -0
  90. package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.js +6 -0
  91. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.d.ts +1 -0
  92. package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.js +1 -0
  93. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.d.ts +3 -0
  94. package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -0
  95. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.d.ts +2 -0
  96. package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +13 -0
  97. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.d.ts +2 -0
  98. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.js +20 -0
  99. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.d.ts +2 -0
  100. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.js +1 -0
  101. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.d.ts +1 -0
  102. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.js +1 -0
  103. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.d.ts +2 -0
  104. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +22 -0
  105. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.d.ts +3 -0
  106. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -0
  107. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +2 -0
  108. package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +25 -0
  109. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +63 -249
  110. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +3 -58
  111. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +1 -1
  112. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -1
  113. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -4
  114. package/dist/application-spec/generate-application/code/templates/tsconfig.js +2 -1
  115. package/dist/application-spec/generate-application/index.d.ts +1 -8
  116. package/dist/application-spec/generate-application/index.js +1 -1
  117. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  118. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  119. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  120. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  121. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  122. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  123. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  124. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  125. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +25 -20
  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-expressions.d.ts +1 -1
  128. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  129. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  130. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  131. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  132. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  133. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  134. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  135. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +4 -10
  136. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  137. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  138. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  139. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  140. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +2 -3
  141. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  142. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +2 -3
  143. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +2 -2
  144. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +7 -29
  145. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  146. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  147. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  148. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +2 -2
  149. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  150. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +4 -14
  151. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  152. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  153. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -31
  154. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  155. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  156. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +3 -7
  157. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  158. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  159. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  160. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  161. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  162. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  163. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  164. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  165. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  166. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +6 -23
  167. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  168. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  169. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  170. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  171. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  172. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  173. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  174. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  175. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  176. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  177. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  178. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  179. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  180. package/dist/client/authorized-client.d.ts +4 -2
  181. package/dist/client/authorized-client.js +1 -1
  182. package/dist/client/contract.d.ts +34 -4
  183. package/dist/client/contract.js +1 -1
  184. package/dist/client/index.d.ts +1 -1
  185. package/dist/client/local-authorized-client.d.ts +3 -1
  186. package/dist/client/local-authorized-client.js +1 -1
  187. package/dist/client/memory-authorized-client.d.ts +4 -1
  188. package/dist/client/memory-authorized-client.js +1 -1
  189. package/dist/client/phoenix-api.d.ts +259 -1
  190. package/dist/configurator/ConfiguratorApp.js +1 -1
  191. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  192. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +92 -24
  193. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  194. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +21 -4
  195. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  196. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +70 -56
  197. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  198. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +38 -11
  199. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  200. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +40 -0
  201. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  202. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  203. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  204. package/dist/configurator/common/configurator-interface.d.ts +2 -2
  205. package/dist/configurator/common/configurator-interface.js +1 -1
  206. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  207. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  208. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  209. package/dist/configurator/configurator-context/index.d.ts +0 -5
  210. package/dist/configurator/configurator-context/index.js +1 -1
  211. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  212. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  213. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  214. package/dist/configurator/pages/default-configurator-elements.d.ts +6 -2
  215. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  216. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.d.ts +5 -0
  217. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.js +1 -0
  218. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  219. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  220. package/dist/configurator/pages/error-boundaries/index.d.ts +1 -0
  221. package/dist/configurator/pages/error-boundaries/index.js +1 -1
  222. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.d.ts +3 -0
  223. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.js +1 -0
  224. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.d.ts +3 -0
  225. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.js +1 -0
  226. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.d.ts +3 -0
  227. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.js +1 -0
  228. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.d.ts +3 -0
  229. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.js +1 -0
  230. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.d.ts +3 -0
  231. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.js +1 -0
  232. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.d.ts +3 -0
  233. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.js +1 -0
  234. package/dist/configurator/pages/provider-slots/index.d.ts +6 -0
  235. package/dist/configurator/pages/provider-slots/index.js +1 -0
  236. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.d.ts +2 -0
  237. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.js +1 -0
  238. package/dist/configurator/pages/ui-elements/configurator-ui-elements.d.ts +3 -0
  239. package/dist/configurator/pages/ui-elements/configurator-ui-elements.js +1 -0
  240. package/dist/configurator/pages/ui-elements/index.d.ts +2 -0
  241. package/dist/configurator/pages/ui-elements/index.js +1 -0
  242. package/dist/configurator/ui/assistant/AssistantChips.d.ts +10 -0
  243. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  244. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +6 -0
  245. package/dist/configurator/ui/assistant/AssistantComposer.js +2 -1
  246. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  247. package/dist/configurator/ui/assistant/AssistantThread.d.ts +4 -3
  248. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  249. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +4 -1
  250. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
  251. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +11 -0
  252. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
  253. package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
  254. package/dist/configurator/ui/assistant/attachments/index.js +1 -0
  255. package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +19 -0
  256. package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
  257. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  258. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
  259. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +26 -0
  260. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
  261. package/dist/configurator/ui/assistant/popover/AssistantPopover.d.ts +24 -0
  262. package/dist/configurator/ui/assistant/popover/AssistantPopover.js +1 -0
  263. package/dist/configurator/ui/assistant/popover/index.d.ts +1 -0
  264. package/dist/configurator/ui/assistant/popover/index.js +1 -0
  265. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
  266. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -1
  267. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +1 -1
  268. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -1
  269. package/dist/configurator/ui/assistant/screenshots/index.d.ts +1 -0
  270. package/dist/configurator/ui/assistant/screenshots/index.js +1 -1
  271. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +12 -4
  272. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
  273. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  274. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  275. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +11 -0
  276. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  277. package/dist/configurator/ui/assistant/thread-items.d.ts +2 -0
  278. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  279. package/dist/configurator/ui/assistant/tool-chip.d.ts +19 -9
  280. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  281. package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +22 -0
  282. package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -0
  283. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  284. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  285. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  286. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  287. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  288. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  289. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  290. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  291. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  292. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  293. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  294. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  295. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  296. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  297. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  298. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  299. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  300. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  301. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  302. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -1
  303. package/dist/docs/3d-scene/cameras/custom.mdx +4 -2
  304. package/dist/docs/drag-and-drop/room-planner.mdx +1 -1
  305. package/dist/docs/index.json +1 -1
  306. package/dist/docs/phoenix/configurator-interface.mdx +2 -2
  307. package/dist/docs/phoenix/deployments.mdx +11 -1
  308. package/dist/docs/phoenix/domain-model.mdx +4 -1
  309. package/dist/docs/phoenix/getting-started.mdx +0 -2
  310. package/dist/docs/phoenix/layout-slots.mdx +21 -0
  311. package/dist/docs/phoenix/migration-guide.mdx +10 -11
  312. package/dist/docs/phoenix/phoenix-cli.mdx +57 -15
  313. package/dist/docs/phoenix/project-structure.mdx +30 -31
  314. package/dist/docs/phoenix/sdk-builder-workflow.mdx +5 -11
  315. package/dist/docs/phoenix/testing.mdx +6 -1
  316. package/dist/docs/phoenix/webhooks.mdx +9 -1
  317. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +1 -1
  318. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  319. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  320. package/dist/domain/application/application-config.d.ts +6 -26
  321. package/dist/domain/application/assistant/assistant-fields.d.ts +1 -1
  322. package/dist/domain/application/assistant/assistant-value-type.d.ts +1 -1
  323. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +1 -2
  324. package/dist/domain/application/assistant/build-assistant-lenses.js +1 -1
  325. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +1 -2
  326. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  327. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +1 -2
  328. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  329. package/dist/domain/application/assistant/index.d.ts +0 -4
  330. package/dist/domain/application/assistant/index.js +1 -1
  331. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +1 -1
  332. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +1 -1
  333. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  334. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +3 -5
  335. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  336. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +1 -2
  337. package/dist/domain/application/assistant-field-options.d.ts +1 -1
  338. package/dist/domain/application/assistant-mutations.d.ts +1 -1
  339. package/dist/domain/application/assistant-mutations.js +1 -1
  340. package/dist/domain/application/assistant-recipe-groups.d.ts +1 -1
  341. package/dist/domain/application/configurator-builder.d.ts +1 -2
  342. package/dist/domain/application/create-initial-published-data.d.ts +2 -1
  343. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  344. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  345. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  346. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  347. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  348. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  349. package/dist/domain/available-system-components/available-system-components.js +1 -0
  350. package/dist/domain/available-system-components/index.d.ts +1 -0
  351. package/dist/domain/available-system-components/index.js +1 -0
  352. package/dist/domain/{domain-builder.d.ts → domain-builder/domain-builder.d.ts} +2 -2
  353. package/dist/domain/domain-builder/domain-builder.js +1 -0
  354. package/dist/domain/domain-builder/index.d.ts +1 -0
  355. package/dist/domain/domain-builder/index.js +1 -0
  356. package/dist/domain/domain-runtime/domain-runtime.d.ts +24 -24
  357. package/dist/domain/domain-runtime/index.d.ts +0 -1
  358. package/dist/domain/domain-runtime/index.js +1 -1
  359. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +1 -1
  360. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -1
  361. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  362. package/dist/domain/domain-runtime/spec/index.js +1 -1
  363. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  364. package/dist/domain/domain-runtime/spec/{module-checks/resolve-imported-transformers.d.ts → resolve-imported-transformers.d.ts} +3 -3
  365. package/dist/domain/domain-runtime/spec/resolve-imported-transformers.js +1 -0
  366. package/dist/domain/domain-runtime/spec/selectors.d.ts +5 -5
  367. package/dist/domain/domain-runtime/spec/types.d.ts +2 -2
  368. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +6 -0
  369. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
  370. package/dist/domain/extensions/export-images/index.d.ts +1 -1
  371. package/dist/domain/extensions/export-images/index.js +1 -1
  372. package/dist/domain/extensions/index.d.ts +1 -1
  373. package/dist/domain/extensions/index.js +1 -1
  374. package/dist/domain/index.d.ts +15 -2
  375. package/dist/domain/index.js +1 -1
  376. package/dist/domain/mocks/create-test-application-config.d.ts +1 -1
  377. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  378. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  379. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  380. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  381. package/dist/domain/spec/application/index.d.ts +5 -0
  382. package/dist/domain/spec/application/index.js +1 -0
  383. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  384. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  385. package/dist/domain/spec/components/bindings/read-binding.js +1 -0
  386. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  387. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  388. package/dist/{application-spec/parse-application-files → domain}/spec/components/component-entry.d.ts +3 -3
  389. package/dist/domain/spec/components/component-entry.js +1 -0
  390. package/dist/{application-spec/core → domain/spec}/components/component-filter.d.ts +3 -2
  391. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  392. package/dist/domain/spec/components/component-filters.js +1 -0
  393. package/dist/domain/spec/components/components.d.ts +4 -0
  394. package/dist/domain/spec/components/components.js +1 -0
  395. package/dist/domain/spec/components/index.d.ts +6 -0
  396. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  397. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  398. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  399. package/dist/domain/spec/enhanced-json/index.js +1 -0
  400. package/dist/{application-spec/parse-application-files → domain}/spec/expressions/expression.d.ts +9 -3
  401. package/dist/domain/spec/expressions/expression.js +1 -0
  402. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  403. package/dist/domain/spec/expressions/expressions.js +1 -0
  404. package/dist/domain/spec/expressions/index.d.ts +5 -0
  405. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  406. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  407. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  408. package/dist/domain/spec/index.d.ts +4 -0
  409. package/dist/domain/spec/index.js +1 -0
  410. package/dist/domain/spec/invariants/index.d.ts +2 -0
  411. package/dist/domain/spec/invariants/index.js +1 -0
  412. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  413. package/dist/domain/spec/invariants/invariant.js +1 -0
  414. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  415. package/dist/domain/spec/invariants/invariants.js +1 -0
  416. package/dist/domain/spec/json-schema.d.ts +52 -0
  417. package/dist/domain/spec/json-schema.js +1 -0
  418. package/dist/domain/spec/markers/index.d.ts +3 -0
  419. package/dist/domain/spec/markers/index.js +1 -0
  420. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  421. package/dist/domain/spec/markers/msg-marker.js +1 -0
  422. package/dist/domain/spec/model/aliases.d.ts +9 -0
  423. package/dist/domain/spec/model/aliases.js +1 -0
  424. package/dist/domain/spec/model/common-types.d.ts +15 -0
  425. package/dist/domain/spec/model/common-types.js +1 -0
  426. package/dist/domain/spec/model/defaults.d.ts +33 -0
  427. package/dist/domain/spec/model/defaults.js +1 -0
  428. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  429. package/dist/domain/spec/model/entity-types.js +1 -0
  430. package/dist/domain/spec/model/index.d.ts +7 -0
  431. package/dist/domain/spec/model/index.js +1 -0
  432. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  433. package/dist/domain/spec/model/model-version-key.js +1 -0
  434. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  435. package/dist/domain/spec/model/names/action-name.js +1 -0
  436. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  437. package/dist/domain/spec/model/names/alias-name.js +1 -0
  438. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  439. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  440. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  441. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  442. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  443. package/dist/domain/spec/model/names/expression-name.js +1 -0
  444. package/dist/domain/spec/model/names/index.d.ts +9 -0
  445. package/dist/domain/spec/model/names/index.js +1 -0
  446. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  447. package/dist/domain/spec/model/names/instance-name.js +1 -0
  448. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  449. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  450. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  451. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  452. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  453. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  454. package/dist/domain/spec/model/presets.d.ts +30 -0
  455. package/dist/domain/spec/model/presets.js +1 -0
  456. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.d.ts +1 -1
  457. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/find-assistant-form-element-errors.d.ts +1 -1
  458. package/dist/domain/spec/modules/find-assistant-form-element-errors.js +1 -0
  459. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/index.d.ts +2 -3
  460. package/dist/domain/spec/modules/index.js +1 -0
  461. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/merge-expression-modules.d.ts +2 -2
  462. package/dist/domain/spec/modules/merge-expression-modules.js +1 -0
  463. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/project-modules.d.ts +1 -1
  464. package/dist/domain/spec/modules/project-modules.js +1 -0
  465. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.d.ts +1 -1
  466. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.d.ts +1 -1
  467. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.d.ts +1 -1
  468. package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.d.ts +1 -1
  469. package/dist/domain/spec/phx/index.d.ts +1 -0
  470. package/dist/domain/spec/phx/index.js +1 -0
  471. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-application-types.d.ts +1 -1
  472. package/dist/domain/spec/phx/phx-application-types.js +1 -0
  473. package/dist/domain/spec/phx/phx-domain.js +1 -0
  474. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-model.d.ts +2 -2
  475. package/dist/domain/spec/phx/phx-model.js +1 -0
  476. package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.d.ts +1 -2
  477. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-runtime.d.ts +7 -6
  478. package/dist/domain/spec/runtime/admin-runtime/admin-runtime.js +1 -0
  479. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-spec-runtime.d.ts +2 -2
  480. package/dist/domain/spec/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  481. package/dist/domain/spec/runtime/admin-runtime/index.d.ts +2 -0
  482. package/dist/domain/spec/runtime/admin-runtime/index.js +1 -0
  483. package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.d.ts +1 -1
  484. package/dist/{application-spec/generate-application → domain/spec}/runtime/application-runtime.d.ts +8 -6
  485. package/dist/domain/spec/runtime/application-runtime.js +1 -0
  486. package/dist/{application-spec/generate-application → domain/spec}/runtime/application-spec-slice.d.ts +3 -1
  487. package/dist/domain/spec/runtime/application-spec-slice.js +1 -0
  488. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-runtime.d.ts +8 -10
  489. package/dist/domain/spec/runtime/configurator-runtime/configurator-runtime.js +1 -0
  490. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-spec-runtime.d.ts +2 -2
  491. package/dist/domain/spec/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  492. package/dist/domain/spec/runtime/configurator-runtime/index.d.ts +2 -0
  493. package/dist/domain/spec/runtime/configurator-runtime/index.js +1 -0
  494. package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.d.ts +1 -1
  495. package/dist/{application-spec/generate-application → domain/spec}/runtime/create-application.d.ts +3 -2
  496. package/dist/domain/spec/runtime/create-application.js +1 -0
  497. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/expression-runtime.d.ts +5 -3
  498. package/dist/domain/spec/runtime/expressions/expression-runtime.js +1 -0
  499. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/generate-memo-eval-plan-runtime.d.ts +2 -2
  500. package/dist/domain/spec/runtime/expressions/generate-memo-eval-plan-runtime.js +1 -0
  501. package/dist/domain/spec/runtime/expressions/index.d.ts +3 -0
  502. package/dist/domain/spec/runtime/expressions/index.js +1 -0
  503. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.d.ts +2 -1
  504. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.d.ts +4 -3
  505. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/recipe-defaults.d.ts +1 -1
  506. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/recipe-defaults.js +1 -1
  507. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/static-violations.d.ts +2 -2
  508. package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/static-violations.js +1 -1
  509. package/dist/{application-spec/generate-application → domain/spec}/runtime/generate-runtime-instance.d.ts +1 -1
  510. package/dist/domain/spec/runtime/generate-runtime-instance.js +1 -0
  511. package/dist/domain/spec/runtime/index.d.ts +13 -0
  512. package/dist/domain/spec/runtime/index.js +1 -0
  513. package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/migration-runtime.d.ts +2 -2
  514. package/dist/domain/spec/runtime/migrations/migration-runtime.js +1 -0
  515. package/dist/{application-spec/generate-application/runtime/admin-runtime → domain/spec/runtime/model}/admin-model-runtime.d.ts +4 -3
  516. package/dist/domain/spec/runtime/model/admin-model-runtime.js +1 -0
  517. package/dist/{application-spec/generate-application/runtime/configurator-runtime → domain/spec/runtime/model}/configurator-model-runtime.d.ts +4 -3
  518. package/dist/domain/spec/runtime/model/configurator-model-runtime.js +1 -0
  519. package/dist/domain/spec/runtime/model/index.d.ts +2 -0
  520. package/dist/domain/spec/runtime/model/index.js +1 -0
  521. package/dist/domain/spec/runtime/optics/build-sdk-optic.d.ts +7 -0
  522. package/dist/domain/spec/runtime/optics/build-sdk-optic.js +1 -0
  523. package/dist/domain/spec/runtime/optics/build-user-bound-optic.d.ts +7 -0
  524. package/dist/domain/spec/runtime/optics/build-user-bound-optic.js +1 -0
  525. package/dist/domain/spec/runtime/optics/built-component-optic.d.ts +11 -0
  526. package/dist/domain/spec/runtime/optics/built-component-optic.js +1 -0
  527. package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.d.ts +4 -14
  528. package/dist/domain/spec/runtime/optics/index.d.ts +2 -0
  529. package/dist/domain/spec/runtime/optics/index.js +1 -0
  530. package/dist/{application-spec/caching → domain/spec/runtime}/runtime-reference-store.d.ts +1 -5
  531. package/dist/domain/spec/runtime/runtime-reference-store.js +1 -0
  532. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.d.ts +3 -3
  533. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.d.ts +2 -2
  534. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.d.ts +1 -1
  535. package/dist/domain/spec/runtime/sections/index.d.ts +6 -0
  536. package/dist/domain/spec/runtime/sections/index.js +1 -0
  537. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.d.ts +4 -4
  538. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.d.ts +1 -1
  539. package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.d.ts +2 -2
  540. package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.d.ts +1 -1
  541. package/dist/domain/spec/runtime/spec-code/spec-code-module.js +1 -0
  542. package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-runtime.d.ts +3 -3
  543. package/dist/domain/spec/runtime/spec-runtime.js +1 -0
  544. package/dist/domain/spec/runtime-spec/index.d.ts +4 -0
  545. package/dist/domain/spec/runtime-spec/index.js +1 -0
  546. package/dist/domain/spec/runtime-spec/runtime-spec.d.ts +174 -0
  547. package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.d.ts +1 -1
  548. package/dist/domain/spec/sections/actions.d.ts +23 -0
  549. package/dist/domain/spec/sections/actions.js +1 -0
  550. package/dist/domain/spec/sections/app-metadata.d.ts +18 -0
  551. package/dist/domain/spec/sections/app-metadata.js +1 -0
  552. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  553. package/dist/domain/spec/sections/application-version.js +1 -0
  554. package/dist/domain/{application → spec/sections}/assistant/assistant-manifest.d.ts +13 -3
  555. package/dist/domain/{application → spec/sections}/assistant/assistant-resolved-manifest.d.ts +5 -9
  556. package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.js +1 -0
  557. package/dist/domain/spec/sections/assistant/index.d.ts +4 -0
  558. package/dist/domain/spec/sections/assistant/index.js +1 -0
  559. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  560. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  561. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  562. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  563. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  564. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  565. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  566. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  567. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  568. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  569. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  570. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  571. package/dist/domain/spec/sections/index.d.ts +10 -0
  572. package/dist/domain/spec/sections/index.js +1 -0
  573. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  574. package/dist/domain/spec/sections/infra/acl.js +1 -0
  575. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  576. package/dist/domain/spec/sections/infra/index.js +1 -0
  577. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  578. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  579. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  580. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  581. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  582. package/dist/domain/spec/sections/state-value.js +1 -0
  583. package/dist/domain/spec/sections/theme.d.ts +10 -0
  584. package/dist/domain/spec/sections/theme.js +1 -0
  585. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  586. package/dist/domain/spec/sections/transformers.js +1 -0
  587. package/dist/domain/spec/sections/ui.d.ts +12 -0
  588. package/dist/domain/spec/sections/ui.js +1 -0
  589. package/dist/domain/system-definitions.js +1 -1
  590. package/dist/domain/utils/index.d.ts +2 -0
  591. package/dist/domain/utils/index.js +1 -0
  592. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  593. package/dist/i18n/locales/cs/messages.js +1 -1
  594. package/dist/i18n/locales/da/messages.js +1 -1
  595. package/dist/i18n/locales/de/messages.js +1 -1
  596. package/dist/i18n/locales/de-AT/messages.js +1 -1
  597. package/dist/i18n/locales/en/messages.js +1 -1
  598. package/dist/i18n/locales/en-AU/messages.js +1 -1
  599. package/dist/i18n/locales/en-GB/messages.js +1 -1
  600. package/dist/i18n/locales/es/messages.js +1 -1
  601. package/dist/i18n/locales/fr/messages.js +1 -1
  602. package/dist/i18n/locales/hu/messages.js +1 -1
  603. package/dist/i18n/locales/it/messages.js +1 -1
  604. package/dist/i18n/locales/nl/messages.js +1 -1
  605. package/dist/i18n/locales/pl/messages.js +1 -1
  606. package/dist/i18n/locales/pt/messages.js +1 -1
  607. package/dist/i18n/locales/ro/messages.js +1 -1
  608. package/dist/i18n/locales/sk/messages.js +1 -1
  609. package/dist/i18n/locales/tr/messages.js +1 -1
  610. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +2 -2
  611. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  612. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
  613. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
  614. package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
  615. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  616. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +1 -0
  617. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  618. package/dist/phoenix/application-spec/generate-project-files.d.ts +1 -0
  619. package/dist/phoenix/application-spec/index.d.ts +2 -0
  620. package/dist/phoenix/application-spec/index.js +1 -1
  621. package/dist/phoenix/application-spec/project-files.d.ts +8 -2
  622. package/dist/phoenix/application-spec/project-files.js +1 -1
  623. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +11 -0
  624. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  625. package/dist/phoenix/bin.js +1 -1
  626. package/dist/phoenix/cli.js +1 -1
  627. package/dist/phoenix/commands/activate-deployment.js +1 -1
  628. package/dist/phoenix/commands/build.js +1 -1
  629. package/dist/phoenix/commands/changelog.js +1 -1
  630. package/dist/phoenix/commands/check.js +1 -1
  631. package/dist/phoenix/commands/clean.js +1 -1
  632. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  633. package/dist/phoenix/commands/create-environment.js +1 -1
  634. package/dist/phoenix/commands/data.js +1 -1
  635. package/dist/phoenix/commands/deploy.js +1 -1
  636. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  637. package/dist/phoenix/commands/dev.js +4 -5
  638. package/dist/phoenix/commands/docs.js +1 -1
  639. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  640. package/dist/phoenix/commands/fix.js +1 -1
  641. package/dist/phoenix/commands/index.d.ts +1 -1
  642. package/dist/phoenix/commands/index.js +1 -1
  643. package/dist/phoenix/commands/inspect-assets.js +1 -1
  644. package/dist/phoenix/commands/list-environments.js +1 -1
  645. package/dist/phoenix/commands/login.d.ts +4 -1
  646. package/dist/phoenix/commands/login.js +2 -2
  647. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  648. package/dist/phoenix/commands/register-deployment.js +1 -1
  649. package/dist/phoenix/commands/scene.js +1 -1
  650. package/dist/phoenix/commands/screenshot.js +1 -1
  651. package/dist/phoenix/commands/state.js +1 -1
  652. package/dist/phoenix/commands/story-build.js +3 -3
  653. package/dist/phoenix/commands/story-create.js +1 -1
  654. package/dist/phoenix/commands/story-dev.js +2 -2
  655. package/dist/phoenix/commands/sync.js +1 -1
  656. package/dist/phoenix/commands/variants.js +1 -1
  657. package/dist/phoenix/editor-server/commands-router.js +1 -1
  658. package/dist/phoenix/editor-server/editor-server.d.ts +2 -13
  659. package/dist/phoenix/editor-server/editor-server.js +1 -1
  660. package/dist/phoenix/editor-server/spec-router.js +1 -1
  661. package/dist/phoenix/editor-server/trpc.d.ts +2 -12
  662. package/dist/phoenix/lingui/index.d.ts +1 -0
  663. package/dist/phoenix/lingui/index.js +1 -0
  664. package/dist/phoenix/lingui/lingui.d.ts +18 -0
  665. package/dist/phoenix/lingui/lingui.js +1 -0
  666. package/dist/phoenix/services/application-spec-project-watcher.d.ts +11 -6
  667. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  668. package/dist/phoenix/services/cli-credentials.d.ts +3 -0
  669. package/dist/phoenix/services/cli-credentials.js +1 -1
  670. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  671. package/dist/phoenix/services/cli-exit.js +1 -0
  672. package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
  673. package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
  674. package/dist/phoenix/{commands → services/deployment}/generated-env-markers.d.ts +1 -0
  675. package/dist/phoenix/services/deployment/generated-env-markers.js +1 -0
  676. package/dist/phoenix/services/deployment/index.d.ts +2 -0
  677. package/dist/phoenix/services/deployment/index.js +1 -0
  678. package/dist/phoenix/services/index.d.ts +5 -1
  679. package/dist/phoenix/services/index.js +1 -1
  680. package/dist/phoenix/services/lingui-watcher.js +1 -1
  681. package/dist/phoenix/services/phoenix-store.d.ts +3 -0
  682. package/dist/phoenix/services/phoenix-store.js +1 -1
  683. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  684. package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
  685. package/dist/phoenix/services/session/editor-server-handle.js +1 -0
  686. package/dist/phoenix/services/session/index.d.ts +2 -0
  687. package/dist/phoenix/services/session/index.js +1 -0
  688. package/dist/phoenix/services/session/phoenix-application.d.ts +82 -0
  689. package/dist/phoenix/services/session/phoenix-application.js +2 -0
  690. package/dist/phoenix/services/source-archive.d.ts +2 -0
  691. package/dist/phoenix/services/source-archive.js +1 -1
  692. package/dist/phoenix/services/swc.d.ts +5 -4
  693. package/dist/phoenix/services/swc.js +2 -2
  694. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  695. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  696. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  697. package/dist/phoenix/services/telemetry/index.js +1 -0
  698. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  699. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  700. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  701. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  702. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  703. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  704. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  705. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  706. package/dist/phoenix/services/vite-config.js +1 -1
  707. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  708. package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
  709. package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
  710. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  711. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/ConfiguratorRoutingProvider.d.ts +1 -1
  712. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  713. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/OnGoToIndexHandler.d.ts +1 -2
  714. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  715. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  716. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/index.js +1 -1
  717. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/use-power-routing-lifecycle.d.ts +2 -0
  718. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  719. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.d.ts +7 -0
  720. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.js +1 -0
  721. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.d.ts +14 -0
  722. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.js +1 -0
  723. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.d.ts +18 -0
  724. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.js +1 -0
  725. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.d.ts +5 -0
  726. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.js +1 -0
  727. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.d.ts +17 -0
  728. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.js +1 -0
  729. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.d.ts +5 -0
  730. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.js +1 -0
  731. package/dist/react-sdk/configurator-ui-elements/index.d.ts +6 -0
  732. package/dist/react-sdk/configurator-ui-elements/index.js +1 -0
  733. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  734. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  735. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  736. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  737. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  738. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  739. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  740. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  741. package/dist/react-sdk/domain-application-context/index.js +1 -1
  742. package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
  743. package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
  744. package/dist/react-sdk/index.d.ts +7 -0
  745. package/dist/react-sdk/index.js +1 -1
  746. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  747. package/dist/react-sdk/integration/index.d.ts +1 -0
  748. package/dist/react-sdk/integration/index.js +1 -0
  749. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  750. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  751. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  752. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  753. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  754. package/dist/react-sdk/notifications/index.d.ts +1 -0
  755. package/dist/react-sdk/notifications/index.js +1 -0
  756. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  757. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  758. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  759. package/dist/react-sdk/preset-selection/index.d.ts +1 -0
  760. package/dist/react-sdk/preset-selection/index.js +1 -0
  761. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.d.ts +11 -0
  762. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.js +1 -0
  763. package/dist/react-sdk/provider-slots/configurator-provider-slot.d.ts +24 -0
  764. package/dist/react-sdk/provider-slots/configurator-provider-slot.js +1 -0
  765. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.d.ts +5 -0
  766. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.js +1 -0
  767. package/dist/react-sdk/provider-slots/index.d.ts +3 -0
  768. package/dist/react-sdk/provider-slots/index.js +1 -0
  769. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  770. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  771. package/dist/ui-sdk/components/numerical-input/InputField.d.ts +2 -0
  772. package/dist/ui-sdk/components/numerical-input/InputField.js +1 -1
  773. package/dist/ui-sdk/components/numerical-input/NumericalInput.d.ts +2 -2
  774. package/dist/ui-sdk/components/numerical-input/Slider.d.ts +3 -1
  775. package/dist/ui-sdk/components/numerical-input/Slider.js +1 -1
  776. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +24 -3
  777. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  778. package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
  779. package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
  780. package/dist/ui-sdk/icons/__generated/index.d.ts +2 -0
  781. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  782. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  783. package/dist/ui-sdk/theme/types.d.ts +1 -1
  784. package/dist/watch/glob-matcher.d.ts +4 -4
  785. package/dist/watch/glob-matcher.js +1 -1
  786. package/dist/watch/watch.d.ts +4 -4
  787. package/dist/watch/watch.js +1 -1
  788. package/package.json +3 -3
  789. package/schema/domain-spec.json +22 -4
  790. package/dist/application-spec/caching/runtime-reference-store.js +0 -1
  791. package/dist/application-spec/core/components/index.d.ts +0 -2
  792. package/dist/application-spec/core/expressions/index.d.ts +0 -2
  793. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.d.ts +0 -1
  794. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +0 -1
  795. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.d.ts +0 -3
  796. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +0 -166
  797. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.d.ts +0 -1
  798. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +0 -54
  799. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.d.ts +0 -1
  800. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +0 -115
  801. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +0 -1
  802. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +0 -1
  803. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +0 -6
  804. package/dist/application-spec/generate-application/implementations/phx-application-types.js +0 -1
  805. package/dist/application-spec/generate-application/implementations/phx-domain.js +0 -1
  806. package/dist/application-spec/generate-application/implementations/phx-model.js +0 -1
  807. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +0 -1
  808. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +0 -1
  809. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +0 -1
  810. package/dist/application-spec/generate-application/runtime/application-runtime.js +0 -1
  811. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +0 -1
  812. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +0 -1
  813. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +0 -1
  814. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +0 -1
  815. package/dist/application-spec/generate-application/runtime/create-application.js +0 -1
  816. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +0 -1
  817. package/dist/application-spec/generate-application/runtime/index.d.ts +0 -8
  818. package/dist/application-spec/generate-application/runtime/index.js +0 -1
  819. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +0 -1
  820. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +0 -8
  821. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +0 -1
  822. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +0 -8
  823. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +0 -1
  824. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +0 -1
  825. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +0 -1
  826. package/dist/application-spec/generate-application/runtime/sections/index.d.ts +0 -10
  827. package/dist/application-spec/generate-application/runtime/sections/index.js +0 -1
  828. package/dist/application-spec/generate-application/runtime/spec-runtime.js +0 -1
  829. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +0 -5
  830. package/dist/application-spec/generate-application/runtime-spec/index.js +0 -1
  831. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +0 -103
  832. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.d.ts +0 -17
  833. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.js +0 -1
  834. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  835. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  836. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  837. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  838. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  839. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  840. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  841. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  842. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  843. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  844. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  845. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  846. package/dist/domain/available-system-components.d.ts +0 -11
  847. package/dist/domain/available-system-components.js +0 -1
  848. package/dist/domain/domain-builder.js +0 -1
  849. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +0 -1
  850. package/dist/domain/domain-runtime/spec/module-checks/index.js +0 -1
  851. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +0 -1
  852. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +0 -1
  853. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +0 -1
  854. package/dist/phoenix/commands/generated-env-markers.js +0 -1
  855. package/dist/phoenix/services/lingui.d.ts +0 -15
  856. package/dist/phoenix/services/lingui.js +0 -1
  857. package/dist/phoenix/services/phoenix-application.d.ts +0 -21
  858. package/dist/phoenix/services/phoenix-application.js +0 -1
  859. /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.d.ts +0 -0
  860. /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.js +0 -0
  861. /package/dist/{application-spec/core/expressions/relation-expression-params.js → domain/spec/application/admin-pages-section.js} +0 -0
  862. /package/dist/{application-spec/generate-application/runtime/spec-code/spec-code-module.js → domain/spec/application/admin-pages.js} +0 -0
  863. /package/dist/{application-spec/parse-application-files/spec/components/component-entry.js → domain/spec/application/admin-states.js} +0 -0
  864. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  865. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  866. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → domain/spec/application/configurator-states.js} +0 -0
  867. /package/dist/domain/{application/assistant/assistant-manifest.js → spec/components/bindings/index.js} +0 -0
  868. /package/dist/{application-spec/core → domain/spec}/components/component-filter.js +0 -0
  869. /package/dist/{application-spec/core → domain/spec}/components/index.js +0 -0
  870. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.d.ts +0 -0
  871. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.js +0 -0
  872. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.d.ts +0 -0
  873. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.js +0 -0
  874. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.d.ts +0 -0
  875. /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.js +0 -0
  876. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.d.ts +0 -0
  877. /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.js +0 -0
  878. /package/dist/domain/{domain-runtime → spec}/errors/index.d.ts +0 -0
  879. /package/dist/domain/{domain-runtime → spec}/errors/index.js +0 -0
  880. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.d.ts +0 -0
  881. /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.js +0 -0
  882. /package/dist/{application-spec/core → domain/spec}/expressions/index.js +0 -0
  883. /package/dist/{application-spec/core → domain/spec}/expressions/relation-expression-params.d.ts +0 -0
  884. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.d.ts +0 -0
  885. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.js +0 -0
  886. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  887. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  888. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  889. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  890. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.js +0 -0
  891. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.d.ts +0 -0
  892. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.js +0 -0
  893. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.js +0 -0
  894. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.js +0 -0
  895. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.js +0 -0
  896. /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.js +0 -0
  897. /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-domain.d.ts +0 -0
  898. /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.js +0 -0
  899. /package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.js +0 -0
  900. /package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.js +0 -0
  901. /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.js +0 -0
  902. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.js +0 -0
  903. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.d.ts +0 -0
  904. /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.js +0 -0
  905. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.d.ts +0 -0
  906. /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.js +0 -0
  907. /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.js +0 -0
  908. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.js +0 -0
  909. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.js +0 -0
  910. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.js +0 -0
  911. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.js +0 -0
  912. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.js +0 -0
  913. /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.js +0 -0
  914. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.d.ts +0 -0
  915. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.js +0 -0
  916. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.js +0 -0
  917. /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/spec-code-module.d.ts +0 -0
  918. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.d.ts +0 -0
  919. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.js +0 -0
  920. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.d.ts +0 -0
  921. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.js +0 -0
  922. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.d.ts +0 -0
  923. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.js +0 -0
  924. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/runtime-spec.js +0 -0
  925. /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.js +0 -0
  926. /package/dist/domain/{application/assistant/assistant-resolved-manifest.js → spec/sections/assistant/assistant-manifest.js} +0 -0
  927. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.d.ts +0 -0
  928. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.js +0 -0
  929. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.d.ts +0 -0
  930. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.js +0 -0
  931. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.d.ts +0 -0
  932. /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.js +0 -0
  933. /package/dist/domain/{application → spec/sections}/assistant/form/index.d.ts +0 -0
  934. /package/dist/domain/{application → spec/sections}/assistant/form/index.js +0 -0
  935. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  936. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  937. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
  938. /package/dist/{configurator/configurator-context → react-sdk/preset-selection}/PresetSelectionProvider.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { AssistantChatConnection, AssistantEarlierThread, AssistantThreadCompaction, AuthorizedPhoenixApiClient, ConfigurationPayload, ConfigurationSchema } from './contract.js';
1
+ import type { AssistantChatConnection, AssistantEarlierThread, AssistantImageUpload, AssistantThreadCompaction, AuthorizedPhoenixApiClient, ConfigurationPayload, ConfigurationSchema } from './contract.js';
2
2
  import { MemoryAuthenticatedClientPhoenixApiClient } from './memory-authenticated-client.js';
3
3
  /**
4
4
  * Memory implementation for local dev, it does not check for schema changes, so you may need to create new configuration if the schema changes and
@@ -17,6 +17,9 @@ export declare class MemoryAuthorizedPhoenixApiClient<FINALIZE_DATA extends Reco
17
17
  getAssistantChatConnection: () => AssistantChatConnection;
18
18
  compactAssistantThread: () => Promise<AssistantThreadCompaction>;
19
19
  getAssistantEarlierThread: () => Promise<AssistantEarlierThread>;
20
+ private readonly _assistantImages;
21
+ uploadAssistantImage: (configurationId: string, image: Blob) => Promise<AssistantImageUpload>;
22
+ getAssistantImage: (configurationId: string, imageId: string) => Promise<Blob>;
20
23
  sendMessage: () => Promise<never>;
21
24
  getSpeechToText: () => Promise<never>;
22
25
  getTextToSpeech: () => Promise<never>;
@@ -1 +1 @@
1
- import*as e from"uuid";import{MemoryAuthenticatedClientPhoenixApiClient as t,memoryStorage as r}from"./memory-authenticated-client.js";export class MemoryAuthorizedPhoenixApiClient extends t{getConfigurationData=e=>{let t=r.get(e);if(!t||!t||0===t.length)throw Error("Configuration not found!");return t};getConfiguration=e=>{let t=this.getConfigurationData(e);return Promise.resolve(t[t.length-1])};updateConfiguration=(t,o)=>{let n=this.getConfigurationData(t),i=e.v4(),a={...o,configurationId:t,revisionId:i,modelVersion:this._modelVersion};return r.set(t,[...n,a]),Promise.resolve({revisionId:i})};finalize=()=>{throw Error("Not implemented!")};waitForFinalizationToComplete=()=>{throw Error("Not implemented!")};getConfigurationRevision=(e,t)=>{let r=this.getConfigurationData(e).find(e=>e.revisionId===t);if(!r)throw Error("Revision not found!");return Promise.resolve(r)};getChatConversation=async()=>{throw Error("Not implemented!")};getAssistantChatConnection=()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};compactAssistantThread=async()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};getAssistantEarlierThread=async()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};sendMessage=async()=>{throw Error("Not implemented!")};getSpeechToText=async()=>{throw Error("Not implemented!")};getTextToSpeech=async()=>{throw Error("Not implemented!")};sendToolCallResults=async()=>{throw Error("Not implemented!")};generateShareLink=async()=>({link:"https://yourcompany.com/configurator/link-will-not-work-it-is-dummy-link"});generateUploadLinks=async()=>{throw Error("Not implemented!")};getConfigurationPublicUploadLink=async()=>{throw Error("Not implemented!")};getConfigurationPrivateUploadLink=async()=>{throw Error("Not implemented!")};getConfigurationPrivateResourceLink=async()=>{throw Error("Not implemented!")};cloneConfiguration=async(e,t)=>{let o=r.get(e);if(!o)throw Error("Configuration not found");let n=o.find(e=>e.revisionId===t);if(!n)throw Error("Revision not found");return this.createConfiguration(n)}}
1
+ import*as t from"uuid";import{MemoryAuthenticatedClientPhoenixApiClient as e,memoryStorage as r}from"./memory-authenticated-client.js";export class MemoryAuthorizedPhoenixApiClient extends e{getConfigurationData=t=>{let e=r.get(t);if(!e||!e||0===e.length)throw Error("Configuration not found!");return e};getConfiguration=t=>{let e=this.getConfigurationData(t);return Promise.resolve(e[e.length-1])};updateConfiguration=(e,o)=>{let n=this.getConfigurationData(e),i=t.v4(),a={...o,configurationId:e,revisionId:i,modelVersion:this._modelVersion};return r.set(e,[...n,a]),Promise.resolve({revisionId:i})};finalize=()=>{throw Error("Not implemented!")};waitForFinalizationToComplete=()=>{throw Error("Not implemented!")};getConfigurationRevision=(t,e)=>{let r=this.getConfigurationData(t).find(t=>t.revisionId===e);if(!r)throw Error("Revision not found!");return Promise.resolve(r)};getChatConversation=async()=>{throw Error("Not implemented!")};getAssistantChatConnection=()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};compactAssistantThread=async()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};getAssistantEarlierThread=async()=>{throw Error("The assistant chat needs the Phoenix server. Run the configurator against a server deployment.")};_assistantImages=new Map;uploadAssistantImage=async(e,r)=>{let o=t.v4();return this._assistantImages.set(`${e}/${o}`,r),{imageId:o}};getAssistantImage=async(t,e)=>{let r=this._assistantImages.get(`${t}/${e}`);if(!r)throw Error(`Assistant image ${e} was not uploaded for configuration ${t} through this client. Upload it before reading it.`);return r};sendMessage=async()=>{throw Error("Not implemented!")};getSpeechToText=async()=>{throw Error("Not implemented!")};getTextToSpeech=async()=>{throw Error("Not implemented!")};sendToolCallResults=async()=>{throw Error("Not implemented!")};generateShareLink=async()=>({link:"https://yourcompany.com/configurator/link-will-not-work-it-is-dummy-link"});generateUploadLinks=async()=>{throw Error("Not implemented!")};getConfigurationPublicUploadLink=async()=>{throw Error("Not implemented!")};getConfigurationPrivateUploadLink=async()=>{throw Error("Not implemented!")};getConfigurationPrivateResourceLink=async()=>{throw Error("Not implemented!")};cloneConfiguration=async(t,e)=>{let o=r.get(t);if(!o)throw Error("Configuration not found");let n=o.find(t=>t.revisionId===e);if(!n)throw Error("Revision not found");return this.createConfiguration(n)}}
@@ -379,6 +379,40 @@ export interface paths {
379
379
  readonly patch?: never
380
380
  readonly trace?: never
381
381
  }
382
+ readonly '/configurations/{configurationId}/assistant/images': {
383
+ readonly parameters: {
384
+ readonly query?: never
385
+ readonly header?: never
386
+ readonly path?: never
387
+ readonly cookie?: never
388
+ }
389
+ readonly get?: never
390
+ readonly put?: never
391
+ /** @description Store an image in the caller's thread on the configuration: a screenshot the browser took for a run of the assistant, or an image the user attaches to the message they are about to send. Creates the thread when the caller has none yet. The body is the raw JPEG or PNG image of at most 2 MB, with its type as the content type. The answer carries the id that messages and tool results reference the image by, as `assistant-image:<imageId>`. Answers 409 with the `x-assistant-thread-continuable: false` response header when the thread cannot take a new message of the user (closed, started with another setup or at its size limit) and is not in the middle of a reply (no run running and no client tool call waiting); the thread takes images again once it is compacted. Answers 413 for a body over 2 MB and 415 for any other content type. */
392
+ readonly post: operations['uploadAssistantImage']
393
+ readonly delete?: never
394
+ readonly options?: never
395
+ readonly head?: never
396
+ readonly patch?: never
397
+ readonly trace?: never
398
+ }
399
+ readonly '/configurations/{configurationId}/assistant/images/{imageId}': {
400
+ readonly parameters: {
401
+ readonly query?: never
402
+ readonly header?: never
403
+ readonly path?: never
404
+ readonly cookie?: never
405
+ }
406
+ /** @description Load an image of one of the caller's assistant threads on the configuration, a screenshot or an image the user attached, the earlier threads of the chain included. The bytes never change, so the answer may be cached for good. Answers 404 for an image that is not in one of the caller's threads on this configuration. */
407
+ readonly get: operations['getAssistantImage']
408
+ readonly put?: never
409
+ readonly post?: never
410
+ readonly delete?: never
411
+ readonly options?: never
412
+ readonly head?: never
413
+ readonly patch?: never
414
+ readonly trace?: never
415
+ }
382
416
  readonly '/configurations/{configurationId}/chat': {
383
417
  readonly parameters: {
384
418
  readonly query?: never
@@ -1461,6 +1495,13 @@ export interface components {
1461
1495
  */
1462
1496
  readonly scopes?: readonly string[]
1463
1497
  }
1498
+ /** @description Payload Too Large: The request body is larger than the route's limit. */
1499
+ readonly PayloadTooLargeError: {
1500
+ /** @example Request body is too large */
1501
+ readonly message: string
1502
+ /** @enum {number} */
1503
+ readonly statusCode: 413
1504
+ }
1464
1505
  /**
1465
1506
  * @description The slug of the project, used for repository and domain creation.
1466
1507
  * @example my-project
@@ -1503,6 +1544,13 @@ export interface components {
1503
1544
  /** @enum {number} */
1504
1545
  readonly statusCode: 401
1505
1546
  }
1547
+ /** @description Unsupported Media Type: The request body is of a content type the route does not accept. */
1548
+ readonly UnsupportedMediaTypeError: {
1549
+ /** @example Unsupported Media Type! */
1550
+ readonly message: string
1551
+ /** @enum {number} */
1552
+ readonly statusCode: 415
1553
+ }
1506
1554
  /** @description A webhook resource to which the deployment can send requests. */
1507
1555
  readonly Webhook: {
1508
1556
  /**
@@ -2013,6 +2061,11 @@ export interface operations {
2013
2061
  readonly 'application/json': {
2014
2062
  /** @description The SDK-builder customer (workspace) the API token acts in. */
2015
2063
  readonly customer: {
2064
+ /**
2065
+ * Format: uuid
2066
+ * @description Internal UUID of the SDK-builder workspace.
2067
+ */
2068
+ readonly id: string
2016
2069
  /**
2017
2070
  * @description Display name of the SDK-builder workspace.
2018
2071
  * @example Acme
@@ -2020,6 +2073,7 @@ export interface operations {
2020
2073
  readonly name: string
2021
2074
  readonly slug: components['schemas']['CustomeSlug']
2022
2075
  }
2076
+ /** @description Stable ID of the authenticated builder user. */
2023
2077
  readonly userId: string
2024
2078
  }
2025
2079
  }
@@ -2152,6 +2206,11 @@ export interface operations {
2152
2206
  readonly 'application/json': {
2153
2207
  /** @description The SDK-builder customer (workspace) the API token acts in. */
2154
2208
  readonly customer: {
2209
+ /**
2210
+ * Format: uuid
2211
+ * @description Internal UUID of the SDK-builder workspace.
2212
+ */
2213
+ readonly id: string
2155
2214
  /**
2156
2215
  * @description Display name of the SDK-builder workspace.
2157
2216
  * @example Acme
@@ -2161,7 +2220,7 @@ export interface operations {
2161
2220
  }
2162
2221
  /** @description The API token (`phx_...`). */
2163
2222
  readonly token: string
2164
- /** @description The user who approved the sign-in. */
2223
+ /** @description Stable ID of the builder user who approved the sign-in. */
2165
2224
  readonly userId: string
2166
2225
  }
2167
2226
  }
@@ -3397,6 +3456,202 @@ export interface operations {
3397
3456
  }
3398
3457
  }
3399
3458
  }
3459
+ readonly uploadAssistantImage: {
3460
+ readonly parameters: {
3461
+ readonly query?: never
3462
+ readonly header?: never
3463
+ readonly path: {
3464
+ /** @description The configuration on which the caller's assistant thread is used. */
3465
+ readonly configurationId: components['schemas']['ConfigurationUuid']
3466
+ }
3467
+ readonly cookie?: never
3468
+ }
3469
+ /** @description The JPEG or PNG image. */
3470
+ readonly requestBody: {
3471
+ readonly content: {
3472
+ readonly 'image/jpeg': string
3473
+ readonly 'image/png': string
3474
+ }
3475
+ }
3476
+ readonly responses: {
3477
+ /** @description The image was stored in the thread. */
3478
+ readonly 200: {
3479
+ headers: {
3480
+ readonly [name: string]: unknown
3481
+ }
3482
+ content: {
3483
+ readonly 'application/json': {
3484
+ /**
3485
+ * Format: uuid
3486
+ * @description The id messages and tool results reference the image by.
3487
+ */
3488
+ readonly imageId: string
3489
+ }
3490
+ }
3491
+ }
3492
+ /** @description Bad Request! */
3493
+ readonly 400: {
3494
+ headers: {
3495
+ readonly [name: string]: unknown
3496
+ }
3497
+ content: {
3498
+ readonly 'application/json': components['schemas']['BadRequestError']
3499
+ }
3500
+ }
3501
+ /** @description Unauthorized! */
3502
+ readonly 401: {
3503
+ headers: {
3504
+ readonly [name: string]: unknown
3505
+ }
3506
+ content: {
3507
+ readonly 'application/json': components['schemas']['UnauthorizedError']
3508
+ }
3509
+ }
3510
+ /** @description Forbidden! */
3511
+ readonly 403: {
3512
+ headers: {
3513
+ readonly [name: string]: unknown
3514
+ }
3515
+ content: {
3516
+ readonly 'application/json': components['schemas']['ForbiddenError']
3517
+ }
3518
+ }
3519
+ /** @description Not Found! */
3520
+ readonly 404: {
3521
+ headers: {
3522
+ readonly [name: string]: unknown
3523
+ }
3524
+ content: {
3525
+ readonly 'application/json': components['schemas']['NotFoundError']
3526
+ }
3527
+ }
3528
+ /** @description Conflict! */
3529
+ readonly 409: {
3530
+ headers: {
3531
+ readonly [name: string]: unknown
3532
+ }
3533
+ content: {
3534
+ readonly 'application/json': components['schemas']['ConflictError']
3535
+ }
3536
+ }
3537
+ /** @description Payload Too Large! */
3538
+ readonly 413: {
3539
+ headers: {
3540
+ readonly [name: string]: unknown
3541
+ }
3542
+ content: {
3543
+ readonly 'application/json': components['schemas']['PayloadTooLargeError']
3544
+ }
3545
+ }
3546
+ /** @description Unsupported Media Type! */
3547
+ readonly 415: {
3548
+ headers: {
3549
+ readonly [name: string]: unknown
3550
+ }
3551
+ content: {
3552
+ readonly 'application/json': components['schemas']['UnsupportedMediaTypeError']
3553
+ }
3554
+ }
3555
+ /** @description Bad Gateway! */
3556
+ readonly 502: {
3557
+ headers: {
3558
+ readonly [name: string]: unknown
3559
+ }
3560
+ content: {
3561
+ readonly 'application/json': components['schemas']['BadGatewayError']
3562
+ }
3563
+ }
3564
+ /** @description An unexpected error occurred! */
3565
+ readonly default: {
3566
+ headers: {
3567
+ readonly [name: string]: unknown
3568
+ }
3569
+ content: {
3570
+ readonly 'application/json': components['schemas']['DefaultResponse']
3571
+ }
3572
+ }
3573
+ }
3574
+ }
3575
+ readonly getAssistantImage: {
3576
+ readonly parameters: {
3577
+ readonly query?: never
3578
+ readonly header?: never
3579
+ readonly path: {
3580
+ /** @description The configuration on which the caller's assistant thread is used. */
3581
+ readonly configurationId: components['schemas']['ConfigurationUuid']
3582
+ /** @description The image, as a message or a tool result references it. */
3583
+ readonly imageId: string
3584
+ }
3585
+ readonly cookie?: never
3586
+ }
3587
+ readonly requestBody?: never
3588
+ readonly responses: {
3589
+ /** @description The image. */
3590
+ readonly 200: {
3591
+ headers: {
3592
+ readonly [name: string]: unknown
3593
+ }
3594
+ content: {
3595
+ readonly 'image/jpeg': unknown
3596
+ readonly 'image/png': unknown
3597
+ }
3598
+ }
3599
+ /** @description Bad Request! */
3600
+ readonly 400: {
3601
+ headers: {
3602
+ readonly [name: string]: unknown
3603
+ }
3604
+ content: {
3605
+ readonly 'application/json': components['schemas']['BadRequestError']
3606
+ }
3607
+ }
3608
+ /** @description Unauthorized! */
3609
+ readonly 401: {
3610
+ headers: {
3611
+ readonly [name: string]: unknown
3612
+ }
3613
+ content: {
3614
+ readonly 'application/json': components['schemas']['UnauthorizedError']
3615
+ }
3616
+ }
3617
+ /** @description Forbidden! */
3618
+ readonly 403: {
3619
+ headers: {
3620
+ readonly [name: string]: unknown
3621
+ }
3622
+ content: {
3623
+ readonly 'application/json': components['schemas']['ForbiddenError']
3624
+ }
3625
+ }
3626
+ /** @description Not Found! */
3627
+ readonly 404: {
3628
+ headers: {
3629
+ readonly [name: string]: unknown
3630
+ }
3631
+ content: {
3632
+ readonly 'application/json': components['schemas']['NotFoundError']
3633
+ }
3634
+ }
3635
+ /** @description Bad Gateway! */
3636
+ readonly 502: {
3637
+ headers: {
3638
+ readonly [name: string]: unknown
3639
+ }
3640
+ content: {
3641
+ readonly 'application/json': components['schemas']['BadGatewayError']
3642
+ }
3643
+ }
3644
+ /** @description An unexpected error occurred! */
3645
+ readonly default: {
3646
+ headers: {
3647
+ readonly [name: string]: unknown
3648
+ }
3649
+ content: {
3650
+ readonly 'application/json': components['schemas']['DefaultResponse']
3651
+ }
3652
+ }
3653
+ }
3654
+ }
3400
3655
  readonly getChatConversation: {
3401
3656
  readonly parameters: {
3402
3657
  readonly query?: never
@@ -4889,6 +5144,8 @@ export interface operations {
4889
5144
  readonly requestBody: {
4890
5145
  readonly content: {
4891
5146
  readonly 'application/json': {
5147
+ /** @enum {string} */
5148
+ readonly acceptResponseEncoding?: 'gzip'
4892
5149
  readonly sessionId: string
4893
5150
  }
4894
5151
  }
@@ -4986,6 +5243,7 @@ export interface operations {
4986
5243
  readonly headers?: {
4987
5244
  readonly [key: string]: string
4988
5245
  }
5246
+ readonly isBase64Encoded?: boolean
4989
5247
  readonly requestId: string
4990
5248
  readonly sessionId: string
4991
5249
  readonly status: number
@@ -1 +1 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";import{I18nProvider as o}from"@lingui/react";import{QueryClientProvider as i}from"@tanstack/react-query";import n from"mui-modal-provider";import{useEffect as t}from"react";import{standardWebComponentProperties as c}from"#package/domain";import{getAvailableLocales as a,resolveLocale as m}from"#package/i18n";import{ApplicationType as l,ApplicationTypeProvider as d,InvalidDeploymentReload as p,LoaderHost as s,SessionServiceProvider as f,useApplicationQueryClient as u,useI18n as h,useSpecAlwaysExpand as g,useSpecAppLoader as x,useSpecPrefetchTextureUrls as j,useSpecPreview as k,useWebComponentProperty$ as v,useWebComponentPropertySetter as b,useWebComponentPropertyValue as y}from"#package/react-sdk";import{SnackbarProvider as C}from"#package/ui-sdk";import{ConfiguratorDataProvider as w}from"./configurator-context/ConfiguratorDataProvider.js";import{ConfiguratorResponsiveProvider as E}from"./configurator-context/ConfiguratorResponsiveProvider.js";import{usePowerRoutingLifecycle as I}from"./configurator-context/configurator-routing/use-power-routing-lifecycle.js";import{ConfiguratorRoutingProvider as L,OnApplicationStartProvider as P,OnRoutingReadyProvider as Z,OnSessionReadyProvider as q,PresetSelectionProvider as A,PreviewApplicationProvider as B}from"./configurator-context/index.js";import{LoadingErrorBoundary as D}from"./pages/error-boundaries/LoadingErrorBoundary.js";import{GeneralErrorFallback as F,RootPage as R}from"./pages/index.js";import{SceneResourcesProvider as S}from"./scene/index.js";import{EncapsulatedConfiguratorTheme as T}from"./ui/index.js";import{AppLoader as U}from"./ui/phoenix-layout-elements/index.js";export const ConfiguratorApp=()=>{let z=u(),G=h(),H=x(),J=k(),K=g(),M=j(),N=b(c.locale),O=v(c.locale);t(()=>{let r=O.subscribe(r=>{let e=m(r,a(G));G.activate(e)}),e=()=>{N(G.locale)};return G.on("change",e),()=>{r.unsubscribe(),G.removeListener("change",e)}},[O,G,N]);let Q=y(c.containerZIndex),V=y(c.power);return(I(),"off"===V)?null:r(d,{type:l.Configurator,children:r(i,{client:z,children:r(T,{children:r(s,{children:r(E,{containerZIndex:Q,children:r(U,{mode:H,children:r(B,{alwaysExpand:K,preview:J,children:r(o,{i18n:G,children:r(C,{maxSnack:5,children:r(D,{FallbackComponent:F,children:r(S,{prefetchTextureUrls:M,children:r(P,{children:r(f,{children:r(q,{children:"on"===V&&r(L,{children:r(w,{children:r(A,{children:r(Z,{children:e(n,{children:[r(p,{}),r(R,{})]})})})})})})})})})})})})})})})})})})})};
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";import{I18nProvider as o}from"@lingui/react";import{QueryClientProvider as n}from"@tanstack/react-query";import i from"mui-modal-provider";import{useEffect as l}from"react";import{standardWebComponentProperties as a}from"#package/domain";import{getAvailableLocales as t,resolveLocale as c}from"#package/i18n";import{ApplicationType as d,ApplicationTypeProvider as m,ConfiguratorDataProvider as s,ConfiguratorProviderSlot as p,ConfiguratorProviderSlotHost as h,ConfiguratorRoutingProvider as u,ConfiguratorUiElement as f,ConfiguratorUiElementHost as g,ErrorFallbackElement as b,LoaderHost as k,OnApplicationStartProvider as x,OnRoutingReadyProvider as j,OnSessionReadyProvider as v,PlainErrorFallback as y,PresetSelectionProvider as C,SessionServiceProvider as w,useApplicationQueryClient as E,useI18n as F,usePowerRoutingLifecycle as L,useSpecAlwaysExpand as R,useSpecPreview as q,useWebComponentProperty$ as A,useWebComponentPropertySetter as B,useWebComponentPropertyValue as D}from"#package/react-sdk";import{PreviewApplicationProvider as G}from"./configurator-context/index.js";import{LoadingErrorBoundary as H}from"./pages/error-boundaries/LoadingErrorBoundary.js";import{RootPage as I}from"./pages/index.js";let M=e=>r(b,{name:f.GeneralErrorFallback,unregisteredFallback:y,...e});export const ConfiguratorApp=()=>{let b=E(),y=F(),S=q(),T=R(),z=B(a.locale),J=A(a.locale);l(()=>{let r=J.subscribe(r=>{let e=c(r,t(y));y.activate(e)}),e=()=>{z(y.locale)};return y.on("change",e),()=>{r.unsubscribe(),y.removeListener("change",e)}},[J,y,z]);let K=D(a.power);return(L(),"off"===K)?null:r(m,{type:d.Configurator,children:r(n,{client:b,children:r(h,{slot:p.Theme,children:r(k,{children:r(h,{slot:p.Container,children:r(h,{slot:p.Loader,children:r(G,{alwaysExpand:T,preview:S,children:r(o,{i18n:y,children:r(h,{slot:p.MessageHost,children:r(H,{FallbackComponent:M,children:r(h,{slot:p.SceneResources,children:r(x,{children:r(w,{children:r(v,{children:"on"===K&&r(u,{children:r(s,{children:r(C,{children:r(j,{children:e(i,{children:[r(g,{name:f.InvalidDeploymentReload}),r(I,{})]})})})})})})})})})})})})})})})})})})})};
@@ -1 +1 @@
1
- import{createSelector as e}from"@salsita-ai/common/utils";import{createSessionAssistant as t,isAssistantSetupHandler as n}from"#package/domain";import{AnimationSystem as s,AssistantSystem as o,CameraControlSystem as r,CameraSystem as a,CanvasSystem as i,DragAndDropSystem as g,ExportSystem as m,GraphQLSystem as c,ImageRenderingSystem as l,LayoutSystem as S,SketchingSystem as d}from"./systems/index.js";export const createConfiguratorExtensionSelectors=u=>{let{getState:y,domainContextSelectors:w,specSelectors:C,domainServicesSelectors:f,accessSelectors:p,commonServicesSelectors:h}=u,x=e.withTypes()([C.selectConfiguratorSpec,w.selectInitializationContext],(e,s)=>t({resolved:e.assistant,handler:e.handlers.find(n),inputs:s&&s.access?{role:s.role,sessionData:s.sessionData,access:s.access}:null})),A={getConfigurationId:()=>p.getConfiguratorConfigurationId(),getAuthorizedClient:()=>h.getConfiguratorAuthorizedClient(),getAssistantSetup:()=>x(y()),domainContextSelectors:w,domainServicesSelectors:f,specSelectors:C},I={getSystems:()=>Q,getCanvasSystem:()=>D,getCameraControlSystem:()=>v,getAnimationSystem:()=>b,getDragAndDropSystem:()=>z,getImageRenderingSystem:()=>G,getLayoutSystem:()=>T,getSketchingSystem:()=>j,getExportSystem:()=>k,getCameraSystem:()=>F,getGraphQLSystem:()=>L,getAssistantSystem:()=>R},E={...A,configuratorExtensionSelectors:I},D=new i(A),v=new r({configuratorExtensionSelectors:I}),z=new g(E),b=new s(A),k=new m(E),L=new c({...A,renderScreenshot:async(e,t)=>{let[n]=await I.getImageRenderingSystem().generateImagesFromComponents([e],t,{},{awaitSettledState:!0});if(!n)throw Error("The canvas rendered no image.");return n.blob}}),R=new o(E),T=new S(A),j=new d(E),F=new a(E),G=new l(E),Q={cameraControlSystem:v,layoutSystem:T,sketchingSystem:j,dragAndDropSystem:z,canvasSystem:D,cameraSystem:F,exportSystem:k,imageRenderingSystem:G,animationSystem:b,graphQLSystem:L,assistantSystem:R};return I};
1
+ import{createSelector as e}from"@salsita-ai/common/utils";import{createSessionAssistant as t,isAssistantSetupHandler as n}from"#package/domain";import{AnimationSystem as s,AssistantSystem as o,CameraControlSystem as r,CameraSystem as a,CanvasSystem as i,DragAndDropSystem as g,ExportSystem as m,GraphQLSystem as l,ImageRenderingSystem as c,LayoutSystem as S,SketchingSystem as d}from"./systems/index.js";export const createConfiguratorExtensionSelectors=u=>{let{getState:y,domainContextSelectors:C,specSelectors:p,domainServicesSelectors:w,accessSelectors:f,commonServicesSelectors:h}=u,A=e.withTypes()([p.selectConfiguratorSpec,C.selectInitializationContext],(e,s)=>t({resolved:e.assistant,handler:e.handlers.find(n),inputs:s&&s.access?{role:s.role,sessionData:s.sessionData,access:s.access}:null})),I={getConfigurationId:()=>f.getConfiguratorConfigurationId(),getAuthorizedClient:()=>h.getConfiguratorAuthorizedClient(),getAssistantSetup:()=>A(y()),domainContextSelectors:C,domainServicesSelectors:w,specSelectors:p},x={getSystems:()=>Q,getCanvasSystem:()=>z,getCameraControlSystem:()=>D,getAnimationSystem:()=>b,getDragAndDropSystem:()=>v,getImageRenderingSystem:()=>G,getLayoutSystem:()=>T,getSketchingSystem:()=>j,getExportSystem:()=>k,getCameraSystem:()=>F,getGraphQLSystem:()=>L,getAssistantSystem:()=>R},E={...I,configuratorExtensionSelectors:x},z=new i(I),D=new r({configuratorExtensionSelectors:x}),v=new g(E),b=new s(I),k=new m(E),L=new l({...I,renderScreenshot:async(e,t)=>{let[n]=await x.getImageRenderingSystem().generateImagesFromComponents([e],t,{},{awaitSettledState:!0});if(!n)throw Error("The canvas rendered no image.");return n.blob},uploadScreenshot:e=>I.getAuthorizedClient().uploadAssistantImage(I.getConfigurationId(),e)}),R=new o(E),T=new S(I),j=new d(E),F=new a(E),G=new c(E),Q={cameraControlSystem:D,layoutSystem:T,sketchingSystem:j,dragAndDropSystem:v,canvasSystem:z,cameraSystem:F,exportSystem:k,imageRenderingSystem:G,animationSystem:b,graphQLSystem:L,assistantSystem:R};return x};
@@ -2,7 +2,7 @@ import type { AnyClientTool } from '@tanstack/ai';
2
2
  import { type UIMessage } from '@tanstack/ai-client';
3
3
  import { type ObservableWithLastValue } from '@salsita-ai/common/utils';
4
4
  import { type AuthorizedPhoenixApiClient } from '#package/client';
5
- import type { AssistantManifest, DomainContextSelectors, DomainServicesSelectors, InitializableSystem, SessionAssistantSetup, SpecSelectors } from '#package/domain';
5
+ import type { AssistantManifest, DomainContextSelectors, DomainServicesSelectors, InitializableSystem, SessionAssistantSetup } from '#package/domain';
6
6
  import type { ConfiguratorExtensionSelectors } from '../../selectors.js';
7
7
  /** A tool of the assistant that the model calls and the browser runs, as the chat client accepts it. */
8
8
  export type AssistantClientTool = AnyClientTool;
@@ -15,7 +15,6 @@ export interface AssistantSystemContext {
15
15
  readonly configuratorExtensionSelectors: ConfiguratorExtensionSelectors;
16
16
  readonly domainContextSelectors: DomainContextSelectors;
17
17
  readonly domainServicesSelectors: DomainServicesSelectors;
18
- readonly specSelectors: SpecSelectors;
19
18
  readonly getConfigurationId: () => string;
20
19
  readonly getAuthorizedClient: () => AuthorizedPhoenixApiClient<any, any, any>;
21
20
  /** The assistant the initialized session runs: its tools, its exposed fields and whether chat runs at all. */
@@ -51,10 +50,34 @@ export interface AssistantChatSnapshot {
51
50
  * the chat was open, and the ones loaded with {@link AssistantSystem.loadEarlierThread}.
52
51
  */
53
52
  readonly earlierThreads: ReadonlyArray<AssistantEarlierThreadSnapshot>;
54
- /** True when the server holds a thread older than the oldest painted one. */
55
- readonly hasEarlierThread: boolean;
56
- /** True while that older thread is being loaded. */
53
+ /**
54
+ * The closed thread that {@link AssistantSystem.loadEarlierThread} loads next; `null` when the
55
+ * painted threads start the conversation. Usually the thread before the oldest painted one, but
56
+ * the oldest painted one itself when it was closed while only its newest messages were painted:
57
+ * loading it then paints it whole.
58
+ */
59
+ readonly earlierThreadId: string | null;
60
+ /** True while that thread is being loaded. */
57
61
  readonly isLoadingEarlierThread: boolean;
62
+ /** True when the thread of the chat has older messages than the painted ones on the server; see {@link AssistantSystem.loadOlderMessages}. */
63
+ readonly hasOlderMessages: boolean;
64
+ /** True while those older messages are being loaded. */
65
+ readonly isLoadingOlderMessages: boolean;
66
+ }
67
+ /** What else the caller of {@link AssistantSystem.send} learns about the message. */
68
+ export interface AssistantSendOptions {
69
+ /**
70
+ * Called once the message is handed to the chat, which paints it: after its images were uploaded,
71
+ * and not at all when it is not sent because the thread could not be resumed or an upload failed.
72
+ * The composer keeps the message until then, so a message that is not sent can be sent again.
73
+ */
74
+ readonly onSent?: () => void;
75
+ /**
76
+ * Called when a message that was handed to the chat is gone from it after all: the server refused
77
+ * it because the thread could not continue, the thread was resumed without it, and its images
78
+ * could not be uploaded into the new thread. The caller gets it back, so it can be sent again.
79
+ */
80
+ readonly onUnsent?: () => void;
58
81
  }
59
82
  /** A closed thread of the conversation as the panel paints it above the thread that continues it. */
60
83
  export interface AssistantEarlierThreadSnapshot {
@@ -73,9 +96,9 @@ export interface AssistantPanelSnapshot {
73
96
  readonly isInputFocused: boolean;
74
97
  }
75
98
  /**
76
- * Owns the conversational assistant of a configurator: its client tools (`getBrowserDetails`,
77
- * `query` and `apply`), the chat with the server, the state of the built-in panel, and the record
78
- * of what changed in the configuration since the agent last acted, which every user message carries.
99
+ * Owns the conversational assistant of a configurator: its client tools (`query` and `apply`), the
100
+ * chat with the server, the state of the built-in panel, and the record of what changed in the
101
+ * configuration since the agent last acted, which every user message carries.
79
102
  *
80
103
  * The server owns the thread, so the chat keeps nothing in browser storage: its client hydrates
81
104
  * from the server and rejoins a reply that is still streaming.
@@ -98,11 +121,6 @@ export declare class AssistantSystem implements InitializableSystem {
98
121
  * background. Each leaves the set when its reply ends or when a new chat takes its thread over.
99
122
  */
100
123
  private readonly _finishing;
101
- /**
102
- * The thread before the oldest painted one, as the server named it; nothing when the painted
103
- * threads start the conversation. `hasEarlierThread` of the chat says whether it is set.
104
- */
105
- private _olderThreadId;
106
124
  /** The resume that is running, so two sends that find the thread locked share one. */
107
125
  private _resuming;
108
126
  /**
@@ -122,8 +140,6 @@ export declare class AssistantSystem implements InitializableSystem {
122
140
  * thread continues the same chain; any other new chat starts another one.
123
141
  */
124
142
  private _chain;
125
- /** The earlier thread that is being loaded, so a second press loads nothing twice. */
126
- private _loadingThreadId;
127
143
  private readonly _recorder;
128
144
  /** The recorder's subscription to the committed emissions of the store; made by the first `initialize()`. */
129
145
  private _recording;
@@ -136,6 +152,11 @@ export declare class AssistantSystem implements InitializableSystem {
136
152
  */
137
153
  private readonly _applyToolCallIds;
138
154
  private readonly _undoTipToolCallId;
155
+ /**
156
+ * Object URLs of the screenshots read so far, by image id. An uploaded image never changes, so
157
+ * each is read once and kept while the configuration stays loaded.
158
+ */
159
+ private _screenshotUrls;
139
160
  constructor(_context: AssistantSystemContext);
140
161
  /** The conversation. It never completes, and holds the empty chat whenever no chat is active. */
141
162
  readonly chat$: ObservableWithLastValue<AssistantChatSnapshot>;
@@ -194,6 +215,12 @@ export declare class AssistantSystem implements InitializableSystem {
194
215
  * acted, which the server puts in front of the message for the model. The record is taken only
195
216
  * when there is a chat to send it on, because taking it moves its baseline.
196
217
  *
218
+ * The images the user attached go with the message: they are uploaded into the chat's thread
219
+ * first, and the message references them, one image part after its text each. The text part is
220
+ * left out of a message with images only. Each attempt to send uploads them again, into the
221
+ * thread it sends on. An upload that fails leaves the message unsent, with the failure as the
222
+ * error of the chat; `onSent` is not called then.
223
+ *
197
224
  * A thread can end in a tool call that nothing will answer: its reply parked while no page was
198
225
  * open, or the page that ran the tool was left before the result was sent. The client refuses to
199
226
  * send while it waits on such a call, so the wait is given up first, and the server records for
@@ -204,20 +231,28 @@ export declare class AssistantSystem implements InitializableSystem {
204
231
  *
205
232
  * The chat can be out of date about that: the thread reached its size limit with the reply before
206
233
  * this message, or the assistant's setup changed while the configurator stayed open. The server
207
- * then refuses the message and says that the thread cannot be continued. The message stays
208
- * painted while the thread is resumed, and is then sent again on the new thread, with the change
209
- * record it was first sent with. This happens once: a refusal of the second attempt is the
210
- * failure it is. When resuming fails, the message is left as any message that failed to send:
211
- * painted, with the failure as the error of the chat.
234
+ * then refuses the message, or the upload of one of its images, and says that the thread cannot
235
+ * be continued. The thread is resumed, and the message is then sent again on the new thread, its
236
+ * images uploaded again, with the change record it was first sent with. This happens once: a
237
+ * refusal of the second attempt is the failure it is. When resuming fails, a refused message is
238
+ * left as any message that failed to send: painted, with the failure as the error of the chat; a
239
+ * refused upload leaves the message unsent. When the images of a refused message cannot be
240
+ * uploaded into the new thread, the message is given back through `onUnsent`.
241
+ *
242
+ * A chat that ends while the images upload, because another configuration was loaded or the
243
+ * thread is read again, sends nothing.
212
244
  *
213
245
  * Accepted: when the server refuses the compaction itself with a conflict, because another tab
214
246
  * compacted the thread or a run is still running, the thread is read again (see `resume`) and
215
247
  * the refused message is gone without a notice. It takes two tabs or a run racing the send, and
216
248
  * the user writes the message again, as after any reload of a thread that failed.
217
249
  *
250
+ * Accepted: images uploaded by an attempt that is not sent stay stored in that thread, which no
251
+ * message references.
252
+ *
218
253
  * It never rejects: a message the client could not send is reported as the error of the chat.
219
254
  */
220
- send: (content: string) => Promise<void>;
255
+ send: (content: string, images?: ReadonlyArray<Blob>, { onSent, onUnsent }?: AssistantSendOptions) => Promise<void>;
221
256
  /**
222
257
  * Makes the chat ready for the next message. A thread the server no longer lets this session
223
258
  * continue, because the assistant's setup changed since it was started or the thread reached
@@ -232,10 +267,25 @@ export declare class AssistantSystem implements InitializableSystem {
232
267
  */
233
268
  resume: () => Promise<boolean>;
234
269
  /**
235
- * Loads the thread before the oldest painted one and paints it above. Does nothing when there is
236
- * none or one is being loaded. A load that fails is logged and can be asked for again.
270
+ * An object URL of a screenshot of the conversation, by the id its tool result references it by.
271
+ * It is read from the server through the client of the current chat, once per image; a read that
272
+ * failed is forgotten, so it can be asked for again. Rejects without a chat or when the read fails.
273
+ */
274
+ loadScreenshotUrl: (imageId: string) => Promise<string>;
275
+ /**
276
+ * Loads the closed thread named by `earlierThreadId` of the chat, whole, and paints it above the
277
+ * painted ones; when it is the oldest painted thread itself, closed while only its newest messages
278
+ * were painted, it replaces that partial copy. Does nothing when there is none, one is being
279
+ * loaded, or the chat's own thread still has older messages: the earlier threads come above them.
280
+ * A load that fails is logged and can be asked for again.
237
281
  */
238
282
  loadEarlierThread: () => Promise<void>;
283
+ /**
284
+ * Loads the page of messages before the oldest painted one of the chat's thread and paints it
285
+ * above. Does nothing when the thread has no older messages or a page is being loaded. A load that
286
+ * fails is logged and can be asked for again; one that ends after its chat did is dropped.
287
+ */
288
+ loadOlderMessages: () => Promise<void>;
239
289
  /**
240
290
  * Stops the reply on both sides. Closing the stream alone keeps the server run going, because a
241
291
  * closed connection is also how a reload looks and a reload must be able to rejoin the run.
@@ -265,8 +315,24 @@ export declare class AssistantSystem implements InitializableSystem {
265
315
  * is no such message. A refused continuation of a reply is not one: its message is stored.
266
316
  */
267
317
  private _findRefusedMessageIndex;
318
+ /** The content of a user message: its text, when it has any, and a reference to each of its images. */
319
+ private _messageContent;
320
+ /**
321
+ * Uploads the images of a message into the chat's thread, in their order, and resolves with their
322
+ * ids. Resolves with `'refused'` when the server refused an upload because the thread cannot be
323
+ * continued, and marks the chat so; then with `null` for any other failure, which is reported as
324
+ * the error of the chat. It never rejects.
325
+ */
326
+ private _uploadImages;
327
+ /**
328
+ * Uploads the images of a message into the thread that was resumed for it. A message the chat
329
+ * refused shows nowhere meanwhile, so the chat stays resuming until the upload is over: nothing
330
+ * else is sent ahead of it.
331
+ */
332
+ private _uploadSuccessorImages;
333
+ private _reportUploadFailure;
268
334
  private _sendOn;
269
- private _resume;
335
+ private _compact;
270
336
  /**
271
337
  * The `apply` call whose committed state is the step the configuration is at. Nothing at the bottom
272
338
  * of the history, where nothing can be undone: that step was not made by a change it could take back.
@@ -300,6 +366,8 @@ export declare class AssistantSystem implements InitializableSystem {
300
366
  * it is: whether it finishes its reply or is cut off is the caller's decision.
301
367
  */
302
368
  private _retireChat;
369
+ /** Revokes the object URLs of the screenshots read for the configuration that was loaded, also those still being read. */
370
+ private _releaseScreenshotUrls;
303
371
  /** Ends the current chat without cutting its reply off. */
304
372
  private _endChat;
305
373
  }