@salsita-ai/sdk 0.50.0-develop.b5468d6828 → 0.50.0-develop.b7caacb493

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 (963) hide show
  1. package/README.md +8 -4
  2. package/dist/admin/default-admin-elements.d.ts +9 -0
  3. package/dist/admin/default-admin-elements.js +1 -0
  4. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  5. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  6. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  7. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  8. package/dist/admin/default-elements/index.d.ts +2 -0
  9. package/dist/admin/default-elements/index.js +1 -0
  10. package/dist/admin/index.d.ts +1 -0
  11. package/dist/admin/index.js +1 -1
  12. package/dist/application-spec/caching/content-diff.js +1 -1
  13. package/dist/application-spec/core/application-file.d.ts +0 -2
  14. package/dist/application-spec/core/application-file.js +1 -1
  15. package/dist/application-spec/errors/diagnostic-codes.d.ts +14 -0
  16. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  17. package/dist/application-spec/errors/diagnostic-messages.d.ts +15 -1
  18. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  19. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  20. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  21. package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
  22. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  23. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  24. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  25. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  26. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +10 -14
  27. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  28. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  29. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -0
  30. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  31. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  32. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  33. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  34. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  35. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  36. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  37. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  38. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +35 -0
  39. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  40. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  41. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  42. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  43. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +6 -6
  44. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +59 -63
  45. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +8 -0
  46. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  47. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  48. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +13 -13
  49. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  50. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  51. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +2 -1
  52. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  53. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  54. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  55. package/dist/application-spec/generate-application/code/templates/gitignore.js +1 -3
  56. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  57. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  58. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  59. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  60. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +33 -0
  61. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +2 -0
  62. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  63. package/dist/application-spec/generate-application/code/templates/globals.js +24 -43
  64. package/dist/application-spec/generate-application/code/templates/index.d.ts +2 -2
  65. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  66. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  67. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +4 -4
  68. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  69. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  70. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  71. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +1 -1
  72. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +5 -5
  73. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +3 -3
  74. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  75. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +2 -2
  76. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +26 -8
  77. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +2 -2
  78. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  79. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  80. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  81. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  82. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  83. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  84. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  85. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  86. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  87. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  88. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  89. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  90. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  91. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -1
  92. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  93. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  94. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  95. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  96. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  97. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  98. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  99. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  100. package/dist/application-spec/generate-application/index.d.ts +1 -0
  101. package/dist/application-spec/generate-application/index.js +1 -1
  102. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +6 -4
  103. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +1 -1
  104. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +7 -5
  105. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  106. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  107. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  108. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +2 -2
  109. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +24 -9
  110. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  111. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +70 -0
  112. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  113. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +7 -5
  114. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +1 -1
  115. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +7 -6
  116. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  117. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  118. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  119. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +2 -2
  120. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  121. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  122. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +2 -2
  123. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +2 -2
  124. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +2 -1
  125. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  126. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +2 -1
  127. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +1 -1
  128. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +3 -0
  129. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +1 -1
  130. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +4 -4
  131. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +15 -6
  132. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  133. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +9 -5
  134. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  135. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +3 -1
  136. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +1 -1
  137. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +2 -2
  138. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +3 -3
  139. package/dist/application-spec/generate-application/runtime/spec-code/index.d.ts +2 -0
  140. package/dist/application-spec/generate-application/runtime/spec-code/index.js +1 -0
  141. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  142. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.js +1 -0
  143. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.d.ts +17 -0
  144. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.js +1 -0
  145. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  146. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  147. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
  148. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
  149. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
  150. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
  151. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  152. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
  153. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +5 -0
  154. package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
  155. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +103 -0
  156. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
  157. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +40 -0
  158. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.js +1 -0
  159. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +18 -0
  160. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  161. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  162. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  163. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  164. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +33 -3
  165. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  166. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  167. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  168. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
  169. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  170. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
  171. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
  172. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +5 -0
  173. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
  174. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  175. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  176. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
  177. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
  178. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
  179. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
  180. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
  181. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
  182. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
  183. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
  184. package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
  185. package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
  186. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
  187. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
  188. package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
  189. package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
  190. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
  191. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
  192. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
  193. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
  194. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +6 -0
  195. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  196. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +7 -4
  197. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  198. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  199. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  200. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  201. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.js +1 -0
  202. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  203. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  204. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +6 -2
  205. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  206. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +3 -1
  207. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  208. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +2 -2
  209. package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
  210. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
  211. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  212. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
  213. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
  214. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  215. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  216. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +4 -1
  217. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  218. package/dist/client/phoenix-api.d.ts +367 -0
  219. package/dist/configurator/ConfiguratorApp.js +1 -1
  220. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  221. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  222. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  223. package/dist/configurator/app-loader-content/index.js +1 -0
  224. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  225. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +11 -4
  226. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  227. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +33 -7
  228. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  229. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +1 -1
  230. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  231. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  232. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  233. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  234. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  235. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  236. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  237. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  238. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +14 -1
  239. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  240. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +46 -5
  241. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  242. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  243. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  244. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  245. package/dist/configurator/common/configurator-interface.d.ts +121 -6
  246. package/dist/configurator/common/configurator-interface.js +1 -1
  247. package/dist/configurator/common/index.d.ts +2 -2
  248. package/dist/configurator/common/index.js +1 -1
  249. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  250. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  251. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  252. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  253. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  254. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  255. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.d.ts +12 -0
  256. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.js +1 -0
  257. package/dist/configurator/configurator-context/PresetSelectionProvider.js +1 -1
  258. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  259. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  260. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  261. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +10 -0
  262. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +1 -1
  263. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  264. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  265. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  266. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  267. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  268. package/dist/configurator/configurator-error-page/index.js +1 -0
  269. package/dist/configurator/index.d.ts +10 -0
  270. package/dist/configurator/index.js +1 -1
  271. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  272. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  273. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  274. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +3 -2
  275. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  276. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  277. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  278. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  279. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  280. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  281. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  282. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  283. package/dist/configurator/pages/RootPage.js +1 -1
  284. package/dist/configurator/pages/default-configurator-elements.d.ts +7 -1
  285. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  286. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  287. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  288. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  289. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  290. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  291. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  292. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  293. package/dist/configurator/pages/default-elements/index.js +1 -0
  294. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  295. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  296. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  297. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  298. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  299. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  300. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  301. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  302. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  303. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  304. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  305. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  306. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  307. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  308. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  309. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  310. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  311. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  312. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  313. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  314. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  315. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  316. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  317. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  318. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  319. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  320. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  321. package/dist/configurator/preset-screen-elements/index.js +1 -0
  322. package/dist/configurator/scene/index.d.ts +1 -0
  323. package/dist/configurator/scene/index.js +1 -1
  324. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  325. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  326. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  327. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  328. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  329. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  330. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  331. package/dist/configurator/toolbar-actions/index.js +1 -0
  332. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  333. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  334. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  335. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  336. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  337. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  338. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  339. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  340. package/dist/configurator/ui/assistant/AssistantChips.d.ts +3 -2
  341. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  342. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -2
  343. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  344. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  345. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  346. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +8 -0
  347. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  348. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  349. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  350. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  351. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  352. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +1 -1
  353. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  354. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +1 -1
  355. package/dist/configurator/ui/assistant/entity-link/index.d.ts +0 -1
  356. package/dist/configurator/ui/assistant/entity-link/index.js +1 -1
  357. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
  358. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  359. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  360. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  361. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  362. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  363. package/dist/configurator/ui/assistant/form/form-model.d.ts +37 -0
  364. package/dist/configurator/ui/assistant/form/form-model.js +1 -0
  365. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  366. package/dist/configurator/ui/assistant/form/form-state.js +1 -0
  367. package/dist/configurator/ui/assistant/form/index.d.ts +4 -0
  368. package/dist/configurator/ui/assistant/form/index.js +1 -0
  369. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +10 -0
  370. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  371. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  372. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  373. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  374. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  375. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  376. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  377. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  378. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  379. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  380. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  381. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  382. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  383. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  384. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  385. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +9 -0
  386. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -0
  387. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +9 -0
  388. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  389. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +6 -0
  390. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  391. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +9 -0
  392. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  393. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +6 -0
  394. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  395. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +6 -0
  396. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  397. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +10 -0
  398. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -0
  399. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +6 -0
  400. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  401. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  402. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  403. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +38 -0
  404. package/dist/configurator/ui/assistant/form-elements/form-element-props.js +1 -0
  405. package/dist/configurator/ui/assistant/form-elements/index.d.ts +9 -0
  406. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  407. package/dist/configurator/ui/assistant/index.d.ts +3 -0
  408. package/dist/configurator/ui/assistant/index.js +1 -1
  409. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +16 -0
  410. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  411. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  412. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  413. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +25 -0
  414. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  415. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -0
  416. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  417. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  418. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  419. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  420. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  421. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +9 -0
  422. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  423. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  424. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  425. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  426. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  427. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  428. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  429. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  430. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  431. package/dist/configurator/ui/assistant/screenshots/index.d.ts +2 -0
  432. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  433. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +14 -0
  434. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  435. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +4 -2
  436. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  437. package/dist/configurator/ui/assistant/thread-items.d.ts +8 -1
  438. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  439. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  440. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -1
  441. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  442. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  443. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  444. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  445. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  446. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  447. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  448. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  449. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  450. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  451. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  452. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +1 -1
  453. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  454. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +1 -1
  455. package/dist/configurator/ui/index.d.ts +1 -0
  456. package/dist/configurator/ui/index.js +1 -1
  457. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  458. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  459. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  460. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  461. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  462. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  463. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  464. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  465. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  466. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  467. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  468. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  469. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  470. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  471. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  472. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  473. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  474. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  475. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  476. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  477. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  478. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  479. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  480. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  481. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  482. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  483. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  484. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  485. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  486. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  487. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  488. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  489. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  490. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  491. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  492. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  493. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  494. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  495. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  496. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  497. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  498. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  499. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  500. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  501. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  502. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  503. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  504. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  505. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  506. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  507. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  508. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  509. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  510. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  511. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  512. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  513. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  514. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  515. package/dist/configurator/ui/preset-layout/index.js +1 -1
  516. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  517. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  518. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  519. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  520. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  521. package/dist/docs/controls/select-child-entity/cardselect.mdx +1 -0
  522. package/dist/docs/fabs/basic.mdx +6 -2
  523. package/dist/docs/index.json +95 -1
  524. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  525. package/dist/docs/layouts/custom-layout.mdx +637 -165
  526. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  527. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  528. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  529. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  530. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  531. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  532. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  533. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  534. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
  535. package/dist/docs/other-features/error-5xx.mdx +1 -1
  536. package/dist/docs/other-features/navigation-hotspot.mdx +2 -0
  537. package/dist/docs/other-features/not-found-404.mdx +1 -1
  538. package/dist/docs/phoenix/clerk-sign-in.mdx +1 -1
  539. package/dist/docs/phoenix/components.mdx +6 -0
  540. package/dist/docs/phoenix/configurator-interface.mdx +223 -59
  541. package/dist/docs/phoenix/domain-model.mdx +2 -0
  542. package/dist/docs/phoenix/finalization.mdx +1 -1
  543. package/dist/docs/phoenix/getting-started.mdx +5 -3
  544. package/dist/docs/phoenix/layout-slots.mdx +23 -23
  545. package/dist/docs/phoenix/localization.mdx +6 -2
  546. package/dist/docs/phoenix/migration-guide.mdx +12 -10
  547. package/dist/docs/phoenix/phoenix-cli.mdx +31 -16
  548. package/dist/docs/phoenix/project-structure.mdx +52 -30
  549. package/dist/docs/phoenix/quickstart.mdx +7 -7
  550. package/dist/docs/phoenix/sdk-builder-workflow.mdx +7 -7
  551. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  552. package/dist/docs/phoenix/testing.mdx +8 -0
  553. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -0
  554. package/dist/domain/application/assistant/assistant-manifest.d.ts +16 -1
  555. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +8 -1
  556. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  557. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  558. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  559. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +174 -0
  560. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -0
  561. package/dist/domain/application/assistant/form/assistant-resource-path.d.ts +10 -0
  562. package/dist/domain/application/assistant/form/assistant-resource-path.js +1 -0
  563. package/dist/domain/application/assistant/form/index.d.ts +4 -0
  564. package/dist/domain/application/assistant/form/index.js +1 -0
  565. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +3 -0
  566. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  567. package/dist/domain/application/assistant/index.d.ts +2 -1
  568. package/dist/domain/application/assistant/index.js +1 -1
  569. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  570. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +2 -0
  571. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  572. package/dist/domain/application/assistant-recipe-groups.d.ts +3 -1
  573. package/dist/domain/application/standard-properties.js +1 -1
  574. package/dist/domain/application/web-component-property.d.ts +3 -1
  575. package/dist/domain/application/web-component-property.js +1 -1
  576. package/dist/domain/available-system-components.d.ts +1 -1
  577. package/dist/domain/available-system-components.js +1 -1
  578. package/dist/domain/core/schema/extended-schema-validator.js +1 -1
  579. package/dist/domain/domain-builder.d.ts +9 -3
  580. package/dist/domain/domain-builder.js +1 -1
  581. package/dist/domain/domain-context/store-system/store-system.d.ts +5 -0
  582. package/dist/domain/domain-context/store-system/store-system.js +1 -1
  583. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
  584. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  585. package/dist/domain/domain-runtime/domain-runtime.d.ts +26 -0
  586. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  587. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  588. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +2 -0
  589. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -1
  590. package/dist/domain/domain-runtime/index.d.ts +1 -1
  591. package/dist/domain/domain-runtime/index.js +1 -1
  592. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  593. package/dist/domain/domain-runtime/spec/index.js +1 -1
  594. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  595. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +27 -12
  596. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -1
  597. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  598. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  599. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +3 -1
  600. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -1
  601. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  602. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  603. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +3 -4
  604. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -1
  605. package/dist/domain/domain-runtime/spec/selectors.d.ts +3 -1
  606. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  607. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  608. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  609. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  610. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  611. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  612. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  613. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  614. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +24 -0
  615. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  616. package/dist/domain/extensions/{client-side-image.d.ts → export-images/client-side-image.d.ts} +2 -2
  617. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  618. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  619. package/dist/domain/extensions/export-images/index.js +1 -0
  620. package/dist/domain/extensions/{save-template-thumbnail.d.ts → export-images/save-template-thumbnail.d.ts} +2 -2
  621. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  622. package/dist/domain/extensions/index.d.ts +1 -2
  623. package/dist/domain/extensions/index.js +1 -1
  624. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -0
  625. package/dist/domain/system-components/child-entity-selection.js +1 -1
  626. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  627. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  628. package/dist/editor/Editor.d.ts +7 -0
  629. package/dist/editor/Editor.js +1 -1
  630. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  631. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  632. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  633. package/dist/editor/domain-editors/use-implementation-files.d.ts +6 -14
  634. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  635. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  636. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  637. package/dist/editor/mocks/EditorMockContext.js +1 -1
  638. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  639. package/dist/i18n/locales/cs/messages.js +1 -1
  640. package/dist/i18n/locales/da/messages.js +1 -1
  641. package/dist/i18n/locales/de/messages.js +1 -1
  642. package/dist/i18n/locales/de-AT/messages.js +1 -1
  643. package/dist/i18n/locales/en/messages.js +1 -1
  644. package/dist/i18n/locales/en-AU/messages.js +1 -1
  645. package/dist/i18n/locales/en-GB/messages.js +1 -1
  646. package/dist/i18n/locales/es/messages.js +1 -1
  647. package/dist/i18n/locales/fr/messages.js +1 -1
  648. package/dist/i18n/locales/hu/messages.js +1 -1
  649. package/dist/i18n/locales/it/messages.js +1 -1
  650. package/dist/i18n/locales/nl/messages.js +1 -1
  651. package/dist/i18n/locales/pl/messages.js +1 -1
  652. package/dist/i18n/locales/pt/messages.js +1 -1
  653. package/dist/i18n/locales/ro/messages.js +1 -1
  654. package/dist/i18n/locales/sk/messages.js +1 -1
  655. package/dist/i18n/locales/tr/messages.js +1 -1
  656. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  657. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  658. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +95 -80
  659. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  660. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  661. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  662. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  663. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +11 -5
  664. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +10 -11
  665. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +9 -10
  666. package/dist/phoenix/application-spec/application-spec-builder.d.ts +0 -2
  667. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  668. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +0 -2
  669. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  670. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  671. package/dist/phoenix/application-spec/generate-project-files.d.ts +0 -2
  672. package/dist/phoenix/application-spec/project-files.js +1 -1
  673. package/dist/phoenix/bin.d.ts +2 -0
  674. package/dist/phoenix/bin.js +2 -0
  675. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  676. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  677. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  678. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  679. package/dist/phoenix/check-configs/index.d.ts +8 -0
  680. package/dist/phoenix/check-configs/index.js +1 -0
  681. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  682. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  683. package/dist/phoenix/cli.d.ts +0 -1
  684. package/dist/phoenix/cli.js +1 -2
  685. package/dist/phoenix/commands/build.js +1 -1
  686. package/dist/phoenix/commands/check.js +1 -1
  687. package/dist/phoenix/commands/clean.js +1 -1
  688. package/dist/phoenix/commands/deploy.js +2 -2
  689. package/dist/phoenix/commands/deps/deps.d.ts +22 -1
  690. package/dist/phoenix/commands/deps/deps.js +2 -2
  691. package/dist/phoenix/commands/deps/index.d.ts +1 -1
  692. package/dist/phoenix/commands/deps/index.js +1 -1
  693. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -1
  694. package/dist/phoenix/commands/dev.js +4 -4
  695. package/dist/phoenix/commands/fix.js +1 -1
  696. package/dist/phoenix/commands/init.d.ts +17 -5
  697. package/dist/phoenix/commands/init.js +1 -1
  698. package/dist/phoenix/commands/link.js +1 -1
  699. package/dist/phoenix/commands/prettier.js +1 -1
  700. package/dist/phoenix/commands/sync.js +1 -1
  701. package/dist/phoenix/commands/unlink.js +1 -1
  702. package/dist/phoenix/services/application-spec-project-watcher.d.ts +0 -2
  703. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  704. package/dist/phoenix/services/lingui.d.ts +8 -0
  705. package/dist/phoenix/services/lingui.js +1 -1
  706. package/dist/phoenix/services/swc.js +1 -1
  707. package/dist/phoenix/services/vite-config.js +1 -1
  708. package/dist/phoenix/utils/index.d.ts +3 -2
  709. package/dist/phoenix/utils/index.js +1 -1
  710. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  711. package/dist/phoenix/utils/node-version/index.js +1 -0
  712. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  713. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  714. package/dist/phoenix/utils/package-info.d.ts +0 -9
  715. package/dist/phoenix/utils/package-info.js +1 -1
  716. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  717. package/dist/phoenix/utils/package-manager/index.js +1 -0
  718. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  719. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  720. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  721. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  722. package/dist/phoenix/utils/run-command.d.ts +11 -0
  723. package/dist/phoenix/utils/run-command.js +1 -1
  724. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  725. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  726. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  727. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  728. package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.d.ts +4 -0
  729. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  730. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  731. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  732. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  733. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  734. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  735. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  736. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  737. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  738. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  739. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  740. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  741. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  742. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  743. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  744. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  745. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  746. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  747. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  748. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  749. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  750. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  751. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  752. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  753. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  754. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  755. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +5 -0
  756. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  757. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  758. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  759. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  760. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  761. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  762. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  763. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  764. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  765. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  766. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  767. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  768. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  769. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  770. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  771. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  772. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  773. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  774. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  775. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  776. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  777. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  778. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  779. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  780. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  781. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  782. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  783. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  784. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  785. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  786. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  787. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  788. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  789. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  790. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  791. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  792. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  793. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  794. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  795. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  796. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  797. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  798. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  799. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  800. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  801. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  802. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  803. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  804. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  805. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  806. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  807. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  808. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  809. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  810. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  811. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  812. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  813. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +296 -4
  814. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  815. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  816. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  817. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  818. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  819. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  820. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  821. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  822. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  823. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +15 -4
  824. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -1
  825. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
  826. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  827. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  828. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  829. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  830. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  831. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  832. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  833. package/dist/react-sdk/domain-context/index.d.ts +7 -0
  834. package/dist/react-sdk/domain-context/index.js +1 -1
  835. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  836. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  837. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +8 -0
  838. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  839. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  840. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  841. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  842. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  843. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  844. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  845. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  846. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  847. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  848. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  849. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  850. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  851. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  852. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  853. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  854. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  855. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  856. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  857. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  858. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  859. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  860. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  861. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  862. package/dist/react-sdk/handlers/index.d.ts +6 -0
  863. package/dist/react-sdk/handlers/index.js +1 -1
  864. package/dist/{configurator/common → react-sdk/handlers}/use-finalize-action.d.ts +3 -2
  865. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  866. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  867. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  868. package/dist/react-sdk/index.d.ts +2 -0
  869. package/dist/react-sdk/index.js +1 -1
  870. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  871. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  872. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  873. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  874. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  875. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  876. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  877. package/dist/react-sdk/loading-state/index.js +1 -1
  878. package/dist/react-sdk/loading-state/{LoadingStateProvider.d.ts → loading-state-hooks.d.ts} +3 -12
  879. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  880. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  881. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  882. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  883. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  884. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  885. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  886. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  887. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  888. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  889. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  890. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  891. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  892. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  893. package/dist/react-sdk/page-elements/index.js +1 -0
  894. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  895. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  896. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  897. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  898. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  899. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  900. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  901. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  902. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  903. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  904. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  905. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  906. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  907. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  908. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  909. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  910. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  911. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  912. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  913. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  914. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  915. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  916. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  917. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  918. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  919. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  920. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  921. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  922. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  923. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  924. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  925. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  926. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  927. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  928. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  929. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  930. package/dist/ui-sdk/icons/__generated/index.d.ts +4 -0
  931. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  932. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  933. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  934. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  935. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  936. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  937. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  938. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  939. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  940. package/dist/ui-sdk/theme/types.d.ts +5 -1
  941. package/package.json +29 -11
  942. package/schema/domain-spec.json +226 -8
  943. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  944. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  945. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  946. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  947. package/dist/configurator/common/use-finalize-action.js +0 -1
  948. package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +0 -5
  949. package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +0 -1
  950. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  951. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  952. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  953. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  954. package/dist/domain/extensions/client-side-image.js +0 -1
  955. package/dist/domain/extensions/save-template-thumbnail.js +0 -1
  956. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  957. package/dist/phoenix/commands/generate-project-files.js +0 -1
  958. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  959. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  960. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  961. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  962. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  963. /package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.js +0 -0
@@ -1,30 +1,30 @@
1
- import{P as e,match as t}from"ts-pattern";export const generateResourcesLiteral=r=>{let n=r.map(r=>t(r).with({type:"ConfigurationLink"},e=>` {
1
+ import{P as e,match as t}from"ts-pattern";import{toSingleQuotedString as r}from"../../common/index.js";export const generateResourcesLiteral=n=>{let s=n.map(n=>t(n).with({type:"ConfigurationLink"},e=>` {
2
2
  type: 'ConfigurationLink',
3
- name: '${e.name}',
3
+ name: ${r(e.name)},
4
4
  },`).with({type:"Csv"},e=>{let t=e.s3Key?`,
5
- s3Key: '${e.s3Key}'`:"";return` {
5
+ s3Key: ${r(e.s3Key)}`:"";return` {
6
6
  type: 'Csv',
7
- name: '${e.name}'${t},
7
+ name: ${r(e.name)}${t},
8
8
  },`}).with({type:"Pdf"},e=>{let t=e.s3Key?`,
9
- s3Key: '${e.s3Key}'`:"";return` {
9
+ s3Key: ${r(e.s3Key)}`:"";return` {
10
10
  type: 'Pdf',
11
- name: '${e.name}'${t},
11
+ name: ${r(e.name)}${t},
12
12
  },`}).with({type:"Image",clientGenerated:!0,s3Key:e.string},e=>` {
13
13
  type: 'Image',
14
- name: '${e.name}',
14
+ name: ${r(e.name)},
15
15
  clientGenerated: true,
16
- s3Key: '${e.s3Key}',
16
+ s3Key: ${r(e.s3Key)},
17
17
  },`).with({type:"Image",exists:!0,url:e.string},e=>` {
18
18
  type: 'Image',
19
- name: '${e.name}',
19
+ name: ${r(e.name)},
20
20
  exists: true,
21
- url: '${e.url}',
21
+ url: ${r(e.url)},
22
22
  },`).with({type:"Image"},e=>` {
23
23
  type: 'Image',
24
- name: '${e.name}',
25
- s3Key: '${e.s3Key}',
24
+ name: ${r(e.name)},
25
+ s3Key: ${r(e.s3Key)},
26
26
  },`).exhaustive());return`[
27
- ${n.join("\n")}
27
+ ${s.join("\n")}
28
28
  ] as const`};export const generateResourcesCodegen=e=>{let t=e.infra.resources;if(void 0===t||0===t.length)return{preBlock:"",builderCall:""};let r=generateResourcesLiteral(t);return{preBlock:`
29
29
  // ---- Resources ----
30
30
 
@@ -1,5 +1,5 @@
1
1
  import type { AdminStates, ConfiguratorStates } from '../../../../parse-application-files/spec/index.js';
2
- import type { ApplicationTypeImportRegistrar, CodeImports } from '../../common/index.js';
2
+ import { type ApplicationTypeImportRegistrar, type CodeImports } from '../../common/index.js';
3
3
  interface StateConstantsProps {
4
4
  readonly configuratorStates: ConfiguratorStates;
5
5
  readonly adminStates: AdminStates;
@@ -1,2 +1,2 @@
1
- let e=[{typeName:"NavigationState",key:"navigationStates"},{typeName:"ViewState",key:"viewStates"},{typeName:"ToolState",key:"toolStates"},{typeName:"ExportState",key:"exportStates"}],t=[{typeName:"AdminNavigationState",key:"navigationStates"}],a=e=>{let t=e.values.map(e=>`'${e}'`).join(" | ");return`type ${e.typeName} = ${t}
2
- const ${e.typeName}: EnumLike<${e.typeName}> = new EnumReflection('${e.typeName}', { enum: ${JSON.stringify(e.values)} }) as EnumLike<${e.typeName}>`},n=e=>`const ${e.typeName}: EnumLike<${e.typeName}> = new EnumReflection('${e.typeName}', { enum: ${JSON.stringify(e.values)} }) as EnumLike<${e.typeName}>`,m=a=>[...e.map(({typeName:e,key:t})=>({typeName:e,values:a.configuratorStates[t]})),...t.map(({typeName:e,key:t})=>({typeName:e,values:a.adminStates[t]}))];export const generateStateConstants=e=>m(e).map(a).join("\n\n");export const generateImportedStateConstants=(e,t,a)=>{let p=m(e);return a(t,p.map(e=>e.typeName)),p.map(n).join("\n\n")};export const generateStateTypeDecls=(a,n)=>{let m=" ".repeat(n);return[...e.map(({typeName:e,key:t})=>{let n=a.configuratorStates[t].map(e=>`'${e}'`).join(" | ");return`${m}type ${e} = ${n}`}),...t.map(({typeName:e,key:t})=>{let n=a.adminStates[t].map(e=>`'${e}'`).join(" | ");return`${m}type ${e} = ${n}`})].join("\n")};
1
+ import{toSingleQuotedString as e}from"../../common/index.js";let t=[{typeName:"NavigationState",key:"navigationStates"},{typeName:"ViewState",key:"viewStates"},{typeName:"ToolState",key:"toolStates"},{typeName:"ExportState",key:"exportStates"}],a=[{typeName:"AdminNavigationState",key:"navigationStates"}],n=t=>{let a=t.values.map(e).join(" | ");return`type ${t.typeName} = ${a}
2
+ const ${t.typeName}: EnumLike<${t.typeName}> = new EnumReflection('${t.typeName}', { enum: ${JSON.stringify(t.values)} }) as EnumLike<${t.typeName}>`},m=e=>`const ${e.typeName}: EnumLike<${e.typeName}> = new EnumReflection('${e.typeName}', { enum: ${JSON.stringify(e.values)} }) as EnumLike<${e.typeName}>`,o=e=>[...t.map(({typeName:t,key:a})=>({typeName:t,values:e.configuratorStates[a]})),...a.map(({typeName:t,key:a})=>({typeName:t,values:e.adminStates[a]}))];export const generateStateConstants=e=>o(e).map(n).join("\n\n");export const generateImportedStateConstants=(e,t,a)=>{let n=o(e);return a(t,n.map(e=>e.typeName)),n.map(m).join("\n\n")};export const generateStateTypeDecls=(n,m)=>{let o=" ".repeat(m);return[...t.map(({typeName:t,key:a})=>{let m=n.configuratorStates[a].map(e).join(" | ");return`${o}type ${t} = ${m}`}),...a.map(({typeName:t,key:a})=>{let m=n.adminStates[a].map(e).join(" | ");return`${o}type ${t} = ${m}`})].join("\n")};
@@ -6,8 +6,9 @@ export { generateComponentOpticsCode } from './generate-component-optics.js';
6
6
  export { generateDataSchemaConstants } from './generate-data-schemas.js';
7
7
  export { generateChunksSpec, generateDataSpec } from './generate-data-spec.js';
8
8
  export { generateDefaultsBlock } from './generate-defaults.js';
9
+ export { getDomainFactoryTypes, type DomainFactoryTypes, type EnhancedReflectionClass } from './factory-types/index.js';
9
10
  export { generateDomainBlock, type DomainBlockOptions } from './generate-domain-block.js';
10
- export { generateInvariantsBlock } from './generate-invariants.js';
11
+ export { generateInvariantBlueprintMembers, generateInvariantsBlock } from './generate-invariants.js';
11
12
  export { generateLocaleCodegen } from './generate-locale.js';
12
13
  export { generatePhxExportsBlock, generatePhxGlobalsBlock } from './generate-phx-globals.js';
13
14
  export { generatePresetsCode } from './generate-presets.js';
@@ -1 +1 @@
1
- export{generateAclCall}from"./generate-acl.js";export{generateApplicationMetadataBlock}from"./generate-application-metadata.js";export{generateAssistantBlock}from"./generate-assistant.js";export{generateBaseConfiguratorBuilder}from"./generate-base-configurator-builder.js";export{generateComponentOpticsCode}from"./generate-component-optics.js";export{generateDataSchemaConstants}from"./generate-data-schemas.js";export{generateChunksSpec,generateDataSpec}from"./generate-data-spec.js";export{generateDefaultsBlock}from"./generate-defaults.js";export{generateDomainBlock}from"./generate-domain-block.js";export{generateInvariantsBlock}from"./generate-invariants.js";export{generateLocaleCodegen}from"./generate-locale.js";export{generatePhxExportsBlock,generatePhxGlobalsBlock}from"./generate-phx-globals.js";export{generatePresetsCode}from"./generate-presets.js";export{generateRelationExpressionsCode}from"./generate-relation-expressions.js";export{generateMemoEvalPlanCode}from"./generate-memo-eval-plan-code.js";export{generateResourcesLiteral,generateResourcesCodegen}from"./generate-resources.js";export{generateResourcesConfigCall}from"./generate-resources-config.js";export{generateImportedStateConstants,generateStateConstants,generateStateTypeDecls}from"./generate-states.js";export{generateTextLanguagesCall}from"./generate-text-languages.js";
1
+ export{generateAclCall}from"./generate-acl.js";export{generateApplicationMetadataBlock}from"./generate-application-metadata.js";export{generateAssistantBlock}from"./generate-assistant.js";export{generateBaseConfiguratorBuilder}from"./generate-base-configurator-builder.js";export{generateComponentOpticsCode}from"./generate-component-optics.js";export{generateDataSchemaConstants}from"./generate-data-schemas.js";export{generateChunksSpec,generateDataSpec}from"./generate-data-spec.js";export{generateDefaultsBlock}from"./generate-defaults.js";export{getDomainFactoryTypes}from"./factory-types/index.js";export{generateDomainBlock}from"./generate-domain-block.js";export{generateInvariantBlueprintMembers,generateInvariantsBlock}from"./generate-invariants.js";export{generateLocaleCodegen}from"./generate-locale.js";export{generatePhxExportsBlock,generatePhxGlobalsBlock}from"./generate-phx-globals.js";export{generatePresetsCode}from"./generate-presets.js";export{generateRelationExpressionsCode}from"./generate-relation-expressions.js";export{generateMemoEvalPlanCode}from"./generate-memo-eval-plan-code.js";export{generateResourcesLiteral,generateResourcesCodegen}from"./generate-resources.js";export{generateResourcesConfigCall}from"./generate-resources-config.js";export{generateImportedStateConstants,generateStateConstants,generateStateTypeDecls}from"./generate-states.js";export{generateTextLanguagesCall}from"./generate-text-languages.js";
@@ -1 +1,6 @@
1
+ /**
2
+ * The project's `eslint.config.js`, written once when the project has none. It re-exports the SDK's
3
+ * shared ESLint configuration so editors find it in the project root; the project may change it
4
+ * afterwards. `phoenix check` and `phoenix fix` use the SDK's configuration when the file is missing.
5
+ */
1
6
  export declare const generateApplicationSpecEslintConfig: () => string;
@@ -1,8 +1,7 @@
1
- let e=`/**
2
- * Auto-generated file.
3
- * Do not modify this file manually.
4
- * Version: 1
5
- */`;export const generateApplicationSpecEslintConfig=()=>`${e}
1
+ export const generateApplicationSpecEslintConfig=()=>`/**
2
+ * The project's ESLint configuration. It re-exports the shared configuration of the Phoenix SDK;
3
+ * change it to adjust the rules for this project.
4
+ */
6
5
  import { eslintrc } from '@salsita-ai/sdk/common/eslint'
7
6
 
8
7
  export default eslintrc
@@ -51,10 +51,8 @@ phoenix-api.yaml
51
51
  .phoenix
52
52
  **/locales/*/*.ts
53
53
  phoenix.config.ts
54
- prettier.config.js
55
- eslint.config.js
56
54
  .prettierignore
57
55
  .linguirc
58
56
  public/robots.txt
59
57
  ${gitignoreEndMarker}
60
- `;export const generateApplicationSpecGitignore=t=>{if(!t)return e;let i=t.includes("\r\n")?"\r\n":"\n",n=t.replace(/\r?\n/g,i),r=e.replace(/\r?\n/g,i),o=n.indexOf(gitignoreStartMarker),s=n.indexOf(gitignoreEndMarker);if(-1!==o&&-1!==s&&s>o){let e=n.substring(0,o),t=n.substring(s+gitignoreEndMarker.length);return(t=t.replace(/^(?:\r?\n)+/,"")).trim().length>0?e+r+i+t:e+r}return n.trim()?r+`${i}# Custom entries${i}`+n:r};
58
+ `;export const generateApplicationSpecGitignore=t=>{if(!t)return e;let n=t.includes("\r\n")?"\r\n":"\n",i=t.replace(/\r?\n/g,n),r=e.replace(/\r?\n/g,n),o=i.indexOf(gitignoreStartMarker),s=i.indexOf(gitignoreEndMarker);if(-1!==o&&-1!==s&&s>o){let e=i.substring(0,o),t=i.substring(s+gitignoreEndMarker.length);return(t=t.replace(/^(?:\r?\n)+/,"")).trim().length>0?e+r+n+t:e+r}return i.trim()?r+`${n}# Custom entries${n}`+i:r};
@@ -1,8 +1,8 @@
1
- import{schemaToTypeString as e}from"../common/schema-to-type-string.js";let t=(e,t)=>{let n=(e??"").trim().replaceAll("*/","*\\/").split("\n").map(e=>e.trim());return""===n[0]||void 0===n[0]?[]:1===n.length?[`${t}/** ${n[0]} */`]:[`${t}/**`,...n.map(e=>`${t} * ${e}`.trimEnd()),`${t} */`]};export const generateActionTypeDecls=(n,r,o,a,p,s=!1)=>{let i=" ".repeat(p),$=" ".repeat(p+2),c=" ".repeat(p+4),l=" ".repeat(p+6),m={phxDefinitions:o,commonTypeNames:new Set(r.commonTypes.keys()),imports:a,typeOnlyImports:s},y=[...n.values()].map(n=>{let r=Object.entries(n.params).flatMap(([n,{schema:r,required:o}])=>[...t(r.description,l),`${l}readonly ${n}${o?"":"?"}: ${e(r,m)}`]),o=Object.entries(n.result).flatMap(([n,r])=>[...t(r.description,l),`${l}readonly ${n}: ${e(r,m)}`]),a=e=>e.length>0?`{
1
+ import{docComment as e}from"../common/doc-comment.js";import{schemaToTypeString as t}from"../common/schema-to-type-string.js";export const generateActionTypeDecls=(n,o,r,a,s,p=!1)=>{let c=" ".repeat(s),i=" ".repeat(s+2),m=" ".repeat(s+4),$=" ".repeat(s+6),y={phxDefinitions:r,commonTypeNames:new Set(o.commonTypes.keys()),imports:a,typeOnlyImports:p},l=[...n.values()].map(n=>{let o=Object.entries(n.params).flatMap(([n,{schema:o,required:r}])=>[...e(o.description,$),`${$}readonly ${n}${r?"":"?"}: ${t(o,y)}`]),r=Object.entries(n.result).flatMap(([n,o])=>[...e(o.description,$),`${$}readonly ${n}: ${t(o,y)}`]),a=e=>e.length>0?`{
2
2
  ${e.join("\n")}
3
- ${c}}`:"Record<string, never>";return[...t(n.description,$),`${$}readonly ${n.name}: {`,`${c}readonly params: ${a(r)}`,`${c}readonly result: ${a(o)}`,`${$}}`].join("\n")}),A=y.length>0?`{
4
- ${y.join("\n")}
5
- ${i}}`:"Record<never, never>";return`${i}type ActionTypes = ${A}
6
- ${i}type ActionName = keyof ActionTypes
7
- ${i}type ActionParams<NAME extends ActionName> = ActionTypes[NAME]['params']
8
- ${i}type ActionResult<NAME extends ActionName> = ActionTypes[NAME]['result']`};
3
+ ${m}}`:"Record<string, never>";return[...e(n.description,i),`${i}readonly ${n.name}: {`,`${m}readonly params: ${a(o)}`,`${m}readonly result: ${a(r)}`,`${i}}`].join("\n")}),A=l.length>0?`{
4
+ ${l.join("\n")}
5
+ ${c}}`:"Record<never, never>";return`${c}type ActionTypes = ${A}
6
+ ${c}type ActionName = keyof ActionTypes
7
+ ${c}type ActionParams<NAME extends ActionName> = ActionTypes[NAME]['params']
8
+ ${c}type ActionResult<NAME extends ActionName> = ActionTypes[NAME]['result']`};
@@ -0,0 +1,12 @@
1
+ import type { AssistantFormElementDescriptor } from '#package/domain';
2
+ import type { PhoenixDefinitions } from '../../../../core/phoenix-definitions.js';
3
+ import type { CodeImports } from '../../common/code-imports.js';
4
+ /**
5
+ * Generates the `AssistantFormElementTypes` map of the project's own assistant form elements (name →
6
+ * `{ role, attributes }`), and the `AssistantFormElementName` and `AssistantFormElementProps<NAME>`
7
+ * types derived from it, which `phx.frontend.createAssistantFormElement` is typed by. An attribute
8
+ * outside `required` is optional and an enum is a union of its values. The `description` of an element becomes the doc
9
+ * comment of its property. Without elements the map is empty, so `AssistantFormElementName` is
10
+ * `never`.
11
+ */
12
+ export declare const generateAssistantFormElementTypeDecls: (formElements: readonly AssistantFormElementDescriptor[], phxDefinitions: PhoenixDefinitions, imports: CodeImports, indent: number) => string;
@@ -0,0 +1,7 @@
1
+ import{docComment as e}from"../common/doc-comment.js";import{formatPropertyKey as t}from"../common/format-property-key.js";import{schemaToTypeString as n}from"../common/schema-to-type-string.js";export const generateAssistantFormElementTypeDecls=(o,r,s,m)=>{let a=" ".repeat(m),p=" ".repeat(m+2),l=" ".repeat(m+4),i=" ".repeat(m+6),$={phxDefinitions:r,commonTypeNames:new Set,imports:s},y=o.map(({name:o,role:r,description:s,attributes:m,required:a=[]})=>{let y=Object.entries(m).map(([e,o])=>`${i}readonly ${t(e)}${a.includes(e)?"":"?"}: ${n({...o},$)}`);return[...e(s,p),`${p}readonly ${t(o)}: {`,`${l}readonly role: '${r}'`,`${l}readonly attributes: ${y.length>0?`{
2
+ ${y.join("\n")}
3
+ ${l}}`:"Record<never, never>"}`,`${p}}`].join("\n")});s.addTypeImport("@salsita-ai/sdk/configurator","AssistantFormElementRoleProps");let c=y.length>0?`{
4
+ ${y.join("\n")}
5
+ ${a}}`:"Record<never, never>";return`${a}type AssistantFormElementTypes = ${c}
6
+ ${a}type AssistantFormElementName = keyof AssistantFormElementTypes
7
+ ${a}type AssistantFormElementProps<NAME extends AssistantFormElementName, STATE = unknown> = AssistantFormElementRoleProps<AssistantFormElementTypes[NAME], STATE>`};
@@ -0,0 +1,43 @@
1
+ import type { ApplicationSpec } from '../../../../parse-application-files/index.js';
2
+ import type { CodeImports } from '../../common/index.js';
3
+ /**
4
+ * The types of the `phx` members, stated from SDK types and the project's generated types alone.
5
+ *
6
+ * Each member that the generated code builds with an SDK factory is declared as that factory's
7
+ * result for the type arguments the generated call states (`ReturnType<typeof factory<…>>`), so the
8
+ * declared type is the very type of the generated value; each member that is an SDK function as is
9
+ * is declared as that function's type; the model reflections are declared member by member.
10
+ *
11
+ * The factory results are named by type aliases local to the declaring file, and the members refer
12
+ * to those names. An editor cannot name a local alias where `phx` is used, so it shows the type
13
+ * itself, as it did when the members referred to the generated values; a member written as
14
+ * `ReturnType<typeof factory<…>>` in place would be shown as written, and printing it overflows the
15
+ * stack of the TypeScript 6 type printer.
16
+ */
17
+ export interface PhxTypes {
18
+ /** Declarations the member types refer to, to emit once beside them, outside `declare global`. */
19
+ readonly declarations: string;
20
+ /** `phx.domain`, its admin part included. */
21
+ readonly domainType: string;
22
+ /** `phx.frontend` without its admin part. */
23
+ readonly configuratorInterfaceType: string;
24
+ /** The generated application types the member types refer to. */
25
+ readonly applicationTypeNames: readonly string[];
26
+ }
27
+ /** The types of a generated project's global `phx`, which also has `phx.frontend.admin` and `phx.webhooks`. */
28
+ export interface GlobalPhxTypes extends PhxTypes {
29
+ /** `phx.frontend.admin`. */
30
+ readonly adminInterfaceType: string;
31
+ /** `phx.webhooks`. */
32
+ readonly webhooksType: string;
33
+ }
34
+ /**
35
+ * Generates the types of the `phx` members a story's module binding has (`domain` and
36
+ * `frontend`) and registers the SDK imports they need.
37
+ */
38
+ export declare const generatePhxTypes: (spec: ApplicationSpec, imports: CodeImports) => PhxTypes;
39
+ /**
40
+ * Generates the types of the members of a generated project's global `phx`, `phx.frontend.admin` and
41
+ * `phx.webhooks` included, and registers the SDK imports they need.
42
+ */
43
+ export declare const generateGlobalPhxTypes: (spec: ApplicationSpec, imports: CodeImports) => GlobalPhxTypes;
@@ -0,0 +1,33 @@
1
+ import{generateInvariantBlueprintMembers as e,getDomainFactoryTypes as t}from"../domain-spec/index.js";let a="@salsita-ai/sdk/configurator",n="CustomInvariantBlueprints",o="AdminCustomInvariantBlueprints",i=["authHandlerBuilder","webhookBuilder","taskFactory","finalizeHandlerBuilder","callbackBuilder","prefetchBuilder","dynamicResourcesFactory"],r=(e,t)=>e.replaceAll("\n",`
2
+ ${t}`),s=e=>{let t=(e.infra.resources??[]).map(e=>JSON.stringify(e.name));return["AnyDomainEntity","RootEntity","$Map","NavigationState","ViewState","ToolState","ExportState","PublishedData","SessionData","FrontendData","Admin.AnyDomainEntity","Admin.RootEntity","Admin.$Map","AdminNavigationState","never","FinalizeData","PrefetchedFinalizeData","FinalizeResult","CallbackData",t.length>0?[...new Set(t)].join(" | "):"never"].join(", ")},l=()=>{let e=new Map;return{member:(t,a)=>(e.set(t,a),t),declarations:()=>[...e].map(([e,t])=>`type ${e} = ${t}`).join("\n")}},d=(i,l,d)=>{for(let e of["$DomainEntityReflection","DomainComponentOpticBuilder","DomainContextSystems","DomainEntityReflection","EnhancedAliasReflection","EnumLike","RawAliasReflection","RuntimeExpressionContext","SchemaReflection","createActionFactory","createAssistantSetupHandlerFactory","createCustomExpressionFactory","createCustomInvariantFactory","createDataRowValidatorHandler","createMapPublishedChunkedDataHandlerFactory","createMapPublishedRevisionDataHandlerFactory","createRecipeFactory","createSheetValidatorHandler"])l.addTypeImport("@salsita-ai/sdk/domain",e);l.addTypeImport(a,"createConfiguratorInterface"),l.addTypeImport(a,"CreateAssistantFormElement");let p=t(i.configurator,""),m=t(i.admin,"Admin"),y=s(i),c=(e,t)=>t?`interface ${e} {
3
+ ${t}
4
+ }`:`interface ${e} {}`,{member:u}=d,$=`{
5
+ readonly model: ${r(p.modelType," ")}
6
+ readonly enhancedModel: ${r(p.enhancedModelType," ")}
7
+ readonly implementCustomExpressions: ${u("PhxImplementCustomExpressions",`ReturnType<typeof createCustomExpressionFactory<${p.typeArguments}, ${p.contextExtension}>>`)}
8
+ readonly implementCustomInvariants: ${u("PhxImplementCustomInvariants",`ReturnType<ReturnType<typeof createCustomInvariantFactory<${p.typeArguments}, ${n}, ${p.contextExtension}>>>`)}
9
+ readonly implementActions: ${u("PhxImplementActions",`ReturnType<typeof createActionFactory<AnyDomainEntity, RootEntity, PublishedData, SessionData, FrontendData, ActionTypes, ${p.contextExtension}, ${p.systems}>>`)}
10
+ readonly createAssistantSetupHandler: ${u("PhxCreateAssistantSetupHandler","ReturnType<typeof createAssistantSetupHandlerFactory<SessionData, AnyDomainEntity, $Map, ActionTypes>>")}
11
+ readonly attachComponent: ${u("PhxAttachComponent",`ReturnType<typeof DomainComponentOpticBuilder.from<${p.typeArguments}, ${p.contextExtension}>>`)}
12
+ readonly createRecipe: ${u("PhxCreateRecipe","ReturnType<typeof createRecipeFactory<AnyDomainEntity>>")}
13
+ readonly admin: {
14
+ readonly model: ${r(m.modelType," ")}
15
+ readonly enhancedModel: ${r(m.enhancedModelType," ")}
16
+ readonly implementCustomExpressions: ${u("PhxAdminImplementCustomExpressions",`ReturnType<typeof createCustomExpressionFactory<${m.typeArguments}, ${m.contextExtension}>>`)}
17
+ readonly implementCustomInvariants: ${u("PhxAdminImplementCustomInvariants",`ReturnType<ReturnType<typeof createCustomInvariantFactory<${m.typeArguments}, ${o}, ${m.contextExtension}>>>`)}
18
+ readonly attachComponent: ${u("PhxAdminAttachComponent",`ReturnType<typeof DomainComponentOpticBuilder.from<${m.typeArguments}, ${m.contextExtension}>>`)}
19
+ readonly createMapPublishedRevisionDataHandler: ${u("PhxAdminCreateMapPublishedRevisionDataHandler","ReturnType<typeof createMapPublishedRevisionDataHandlerFactory<Admin.AnyDomainEntity, Admin.RootEntity, Admin.$Map, PublishedData>>")}
20
+ readonly createMapPublishedChunkedDataHandler: ${u("PhxAdminCreateMapPublishedChunkedDataHandler","ReturnType<typeof createMapPublishedChunkedDataHandlerFactory<Admin.AnyDomainEntity, Admin.RootEntity, Admin.$Map>>")}
21
+ readonly createDataRowValidatorHandler: typeof createDataRowValidatorHandler
22
+ readonly createSheetValidatorHandler: typeof createSheetValidatorHandler
23
+ readonly createRecipe: ${u("PhxAdminCreateRecipe","ReturnType<typeof createRecipeFactory<Admin.AnyDomainEntity>>")}
24
+ }
25
+ }`,A=u("PhxFrontend",`ReturnType<typeof createConfiguratorInterface<${y}>> & {
26
+ readonly createAssistantFormElement: CreateAssistantFormElement<AssistantFormElementTypes>
27
+ }`),{latestModel:h}=i.configurator;return{declarations:[c(n,e(i.configurator.invariants," ")),c(o,e(i.admin.invariants," "))].join("\n\n"),domainType:$,configuratorInterfaceType:A,applicationTypeNames:[...h.entityTypes.map(String),...[...h.aliases].map(([e])=>String(e)),...[...h.commonTypes].map(([e])=>String(e)),...h.entityTypes.map(e=>`$${String(e)}`),...[...h.aliases].map(([e])=>`$${String(e)}`),"Aliases","$Map","ActionTypes","AssistantFormElementTypes","Admin","PublishedData","SessionData","FrontendData","BackendData","FinalizeData","PrefetchedFinalizeData","FinalizeResult","CallbackData","NavigationState","ViewState","ToolState","ExportState","AdminNavigationState"]}};export const generatePhxTypes=(e,t)=>{let a=l(),n=d(e,t,a);return{...n,declarations:`${n.declarations}
28
+
29
+ ${a.declarations()}`}};export const generateGlobalPhxTypes=(e,t)=>{let a=l(),{member:n}=a,o=d(e,t,a);t.addTypeImport("@salsita-ai/sdk/admin","createAdminInterface"),t.addTypeImport("@salsita-ai/sdk/webhook","createDomainWebhook");let r=s(e),p=n("PhxFrontendAdmin",`ReturnType<typeof createAdminInterface<${r}>>`),m=n("PhxWebhookBuilders",`ReturnType<typeof createDomainWebhook<${r}>>`),y=i.map(e=>` readonly ${e}: ${n(`PhxWebhooks${e.charAt(0).toUpperCase()}${e.slice(1)}`,`${m}['${e}']`)}`);return{...o,declarations:`${o.declarations}
30
+
31
+ ${a.declarations()}`,adminInterfaceType:p,webhooksType:`{
32
+ ${y.join("\n")}
33
+ }`}};
@@ -1,4 +1,6 @@
1
1
  export { generateActionTypeDecls } from './generate-action-types.js';
2
+ export { generateAssistantFormElementTypeDecls } from './generate-assistant-form-element-types.js';
2
3
  export { generateModelTypeDecls } from './generate-model-types.js';
3
4
  export { generateExpressionTypeDecls, generateEntityExpressionComposites } from './generate-expression-types.js';
4
5
  export { generateDataSchemaTypeDecls } from './generate-data-schema-types.js';
6
+ export { generateGlobalPhxTypes, generatePhxTypes, type GlobalPhxTypes, type PhxTypes } from './generate-phx-types.js';
@@ -1 +1 @@
1
- export{generateActionTypeDecls}from"./generate-action-types.js";export{generateModelTypeDecls}from"./generate-model-types.js";export{generateExpressionTypeDecls,generateEntityExpressionComposites}from"./generate-expression-types.js";export{generateDataSchemaTypeDecls}from"./generate-data-schema-types.js";
1
+ export{generateActionTypeDecls}from"./generate-action-types.js";export{generateAssistantFormElementTypeDecls}from"./generate-assistant-form-element-types.js";export{generateModelTypeDecls}from"./generate-model-types.js";export{generateExpressionTypeDecls,generateEntityExpressionComposites}from"./generate-expression-types.js";export{generateDataSchemaTypeDecls}from"./generate-data-schema-types.js";export{generateGlobalPhxTypes,generatePhxTypes}from"./generate-phx-types.js";
@@ -1,17 +1,17 @@
1
- import{autoHeader as e}from"../common/file-headers.js";import{generateApplicationSpecTypeDeclarations as a}from"./application-types.js";export const generateApplicationSpecGlobals=(o,n)=>{let t,i,l,r,d,s,p,m,y,{declarations:c,imports:f}=a(o,n,2);f.addTypeImport("@salsita-ai/sdk/domain","EnumLike");let u=[c,(t=o.configurator.latestModel,i=o.admin.latestModel,l=t.entityTypes.map(String),r=[...t.aliases].map(([e])=>String(e)),d=[...t.commonTypes].map(([e])=>String(e)),s=i.entityTypes.map(String),p=[...i.aliases].map(([e])=>String(e)),m=[...i.commonTypes].map(([e])=>String(e)),y=(e,a)=>e.map(e=>` ${a(e)}`).join("\n"),` interface Model {
2
- ${y([...l,...d,...r],e=>`readonly ${e}: ${e}`)}
1
+ import{autoHeader as e}from"../common/file-headers.js";import{generateApplicationSpecTypeDeclarations as a}from"./application-types.js";import{generateGlobalPhxTypes as n}from"./global-definition/index.js";export const generateApplicationSpecGlobals=(t,o)=>{let i,l,d,r,s,p,c,y,m,{declarations:h,imports:f}=a(t,o,2);f.addTypeImport("@salsita-ai/sdk/domain","EnumLike");let g=n(t,f),S=[h,(i=t.configurator.latestModel,l=t.admin.latestModel,d=i.entityTypes.map(String),r=[...i.aliases].map(([e])=>String(e)),s=[...i.commonTypes].map(([e])=>String(e)),p=l.entityTypes.map(String),c=[...l.aliases].map(([e])=>String(e)),y=[...l.commonTypes].map(([e])=>String(e)),m=(e,a)=>e.map(e=>` ${a(e)}`).join("\n"),` interface Model {
2
+ ${m([...d,...s,...r],e=>`readonly ${e}: ${e}`)}
3
3
  }
4
4
 
5
5
  interface EnhancedModel {
6
- ${y([...l,...r],e=>`readonly $${e}: $${e}`)}
6
+ ${m([...d,...r],e=>`readonly $${e}: $${e}`)}
7
7
  }
8
8
 
9
9
  interface AdminModel {
10
- ${y([...s,...m,...p],e=>`readonly ${e}: Admin.${e}`)}
10
+ ${m([...p,...y,...c],e=>`readonly ${e}: Admin.${e}`)}
11
11
  }
12
12
 
13
13
  interface AdminEnhancedModel {
14
- ${y([...s,...p],e=>`readonly $${e}: Admin.$${e}`)}
14
+ ${m([...p,...c],e=>`readonly $${e}: Admin.$${e}`)}
15
15
  }
16
16
 
17
17
  interface ApplicationTypes {
@@ -36,22 +36,33 @@ ${y([...s,...p],e=>`readonly $${e}: Admin.$${e}`)}
36
36
  readonly AdminModel: AdminModel
37
37
  readonly AdminEnhancedModel: AdminEnhancedModel
38
38
  readonly ApplicationTypes: ApplicationTypes
39
- }`)].filter(Boolean).join("\n\n");return`${e("globals.d.ts","Global type declarations for the phx namespace, env configs and domain types.")}
39
+ }`)].filter(Boolean).join("\n\n"),D=(e,a)=>e.replaceAll("\n",`
40
+ ${a}`);return`${e("globals.d.ts","Global type declarations for the phx namespace, env configs and domain types.")}
40
41
  /* eslint-disable @typescript-eslint/triple-slash-reference, @typescript-eslint/consistent-type-imports */
41
42
  /// <reference types="@salsita-ai/sdk/globals" />
43
+ // The project's tsconfig includes \`.phoenix\`, but TypeScript checks a file under a dot folder only
44
+ // when it is named or imported. These declarations import none of the generated modules, and the
45
+ // project's own code need not either, so the modules are named here to keep them type-checked.
46
+ /// <reference path="./spec-code.ts" />
47
+ /// <reference path="./domain-spec.ts" />
48
+ /// <reference path="./configurator-globals.ts" />
49
+ /// <reference path="./admin-globals.ts" />
50
+ /// <reference path="./webhook-builders.ts" />
42
51
 
43
52
  ${f.toTypeOnlyString(".phoenix/globals.d.ts")}
44
53
 
54
+ ${g.declarations}
55
+
45
56
  declare global {
46
- ${u}
57
+ ${S}
47
58
 
48
59
  interface PhxGlobal {
49
60
  readonly frontendEnv: import('./frontend.config.js').RuntimeConfig
50
61
  readonly webhooksEnv: import('./webhooks.config.js').RuntimeConfig
51
62
 
52
63
  readonly applicationTypes: {
53
- readonly ApplicationVersion: typeof import('./domain-spec.js').ApplicationVersion
54
- readonly PublishedDataHash: typeof import('./domain-spec.js').PublishedDataHash
64
+ readonly ApplicationVersion: ${JSON.stringify(t.appMetadata.applicationVersion)}
65
+ readonly PublishedDataHash: ${JSON.stringify(t.configurator.dataSchemas.publishedDataHash)}
55
66
  readonly PublishedData: PublishedData
56
67
  readonly SessionData: SessionData
57
68
  readonly FrontendData: FrontendData
@@ -67,43 +78,13 @@ ${u}
67
78
  readonly AdminNavigationState: EnumLike<AdminNavigationState>
68
79
  }
69
80
 
70
- readonly domain: {
71
- readonly model: typeof import('./domain-spec.js').model
72
- readonly enhancedModel: typeof import('./domain-spec.js').enhancedModel
73
- readonly implementCustomExpressions: typeof import('./domain-spec.js').implementCustomExpressions
74
- readonly implementCustomInvariants: typeof import('./domain-spec.js').implementCustomInvariants
75
- readonly implementActions: typeof import('./domain-spec.js').implementActions
76
- readonly createAssistantSetupHandler: typeof import('./domain-spec.js').createAssistantSetupHandler
77
- readonly attachComponent: typeof import('./domain-spec.js').attachComponent
78
- readonly createRecipe: typeof import('./domain-spec.js').createRecipe
79
-
80
- readonly admin: {
81
- readonly model: typeof import('./domain-spec.js').adminModel
82
- readonly enhancedModel: typeof import('./domain-spec.js').adminEnhancedModel
83
- readonly implementCustomExpressions: typeof import('./domain-spec.js').implementAdminCustomExpressions
84
- readonly implementCustomInvariants: typeof import('./domain-spec.js').implementCustomAdminInvariants
85
- readonly attachComponent: typeof import('./domain-spec.js').attachAdminComponent
86
- readonly createMapPublishedRevisionDataHandler: typeof import('./domain-spec.js').createMapPublishedRevisionDataHandler
87
- readonly createMapPublishedChunkedDataHandler: typeof import('./domain-spec.js').createMapPublishedChunkedDataHandler
88
- readonly createDataRowValidatorHandler: typeof import('./domain-spec.js').createDataRowValidatorHandler
89
- readonly createSheetValidatorHandler: typeof import('./domain-spec.js').createSheetValidatorHandler
90
- readonly createRecipe: typeof import('./domain-spec.js').createAdminRecipe
91
- }
92
- }
81
+ readonly domain: ${D(g.domainType," ")}
93
82
 
94
- readonly frontend: typeof import('./configurator-globals.js').configuratorInterface & {
95
- readonly admin: typeof import('./admin-globals.js').adminInterface
83
+ readonly frontend: ${g.configuratorInterfaceType} & {
84
+ readonly admin: ${g.adminInterfaceType}
96
85
  }
97
86
 
98
- readonly webhooks: {
99
- readonly authHandlerBuilder: typeof import('./webhook-builders.js').authHandlerBuilder
100
- readonly webhookBuilder: typeof import('./webhook-builders.js').webhookBuilder
101
- readonly taskFactory: typeof import('./webhook-builders.js').taskFactory
102
- readonly finalizeHandlerBuilder: typeof import('./webhook-builders.js').finalizeHandlerBuilder
103
- readonly callbackBuilder: typeof import('./webhook-builders.js').callbackBuilder
104
- readonly prefetchBuilder: typeof import('./webhook-builders.js').prefetchBuilder
105
- readonly dynamicResourcesFactory: typeof import('./webhook-builders.js').dynamicResourcesFactory
106
- }
87
+ readonly webhooks: ${D(g.webhooksType," ")}
107
88
  }
108
89
  }
109
90
  `};
@@ -37,8 +37,6 @@ export { generateApplicationSpecGlobals } from './globals.js';
37
37
  export { generateApplicationSpecHtmlAdminIndex } from './html-admin-index.js';
38
38
  export { generateApplicationSpecHtmlIndex } from './html-index.js';
39
39
  export { generateLinguiRcFile } from './lingui-rc.js';
40
- export { generateApplicationSpecNvmrc } from './nvmrc.js';
41
- export { generateApplicationSpecPackageJson } from './package-json.js';
42
40
  export { generatePhoenixCliSkill } from './skills/phoenix-cli-skill.js';
43
41
  export { generatePhoenixCreateConfiguratorSkill, generatePhoenixCreateConfiguratorSkillReferences, } from './skills/phoenix-create-configurator-skill.js';
44
42
  export { generatePhoenixFeedbackSkill } from './skills/phoenix-feedback-skill.js';
@@ -49,6 +47,8 @@ export { generateApplicationSpecPrettierConfig } from './prettier-config.js';
49
47
  export { generateApplicationSpecRobotsTxt } from './robots-txt.js';
50
48
  export { generateApplicationSpecRootTsconfig } from './root-tsconfig.js';
51
49
  export { generateApplicationSpecStoryDevDeclaration, generateApplicationSpecStoryPhxModule, generateApplicationSpecStoryRawProjectFiles, generateApplicationSpecStoryWrapper, } from './story/index.js';
50
+ export { generateApplicationSpecCodeFile } from './spec-code/index.js';
51
+ export { generateApplicationSpecMessagesFile } from './spec-messages/index.js';
52
52
  export { generateApplicationSpecTsconfig } from './tsconfig.js';
53
53
  export { generateApplicationSpecWebhookBuilders } from './webhook-builders.js';
54
54
  export { generateApplicationSpecWebhookIndex } from './webhook-index.js';
@@ -1 +1 @@
1
- export{stripSdkMarkerContent}from"./common/strip-sdk-marker-content.js";export{generateApplicationSpecAdminConfig}from"./admin-config.js";export{generateApplicationSpecAdminCode}from"./admin-domain-code.js";export{generateApplicationSpecAdminFrontendCode}from"./admin-frontend-code.js";export{generateAdminGlobalBindingBlock,generateApplicationSpecAdminGlobals}from"./admin-globals.js";export{generateApplicationSpecTypesModule}from"./application-types.js";export{generateApplicationSpecAdminFile}from"./admin.js";export{generateApplicationSpecConfiguratorConfig}from"./configurator-config.js";export{generateApplicationSpecConfiguratorCode}from"./configurator-domain-code.js";export{generateApplicationSpecConfiguratorFrontendCode}from"./configurator-frontend-code.js";export{generateApplicationSpecConfiguratorGlobals,generateConfiguratorGlobalBindingBlock}from"./configurator-globals.js";export{generateApplicationSpecConfiguratorFile}from"./configurator.js";export{generateApplicationSpecDomainSpecFile}from"./domain-spec.js";export{generateImportedStateConstants,generatePhxExportsBlock,generatePhxGlobalsBlock,generateStateConstants}from"./domain-spec/index.js";export{generateApplicationSpecDomainFile}from"./domain.js";export{generateApplicationSpecEditorFile}from"./editor.js";export{generateApplicationSpecEmbeddedAdmin}from"./embedded-admin.js";export{generateApplicationSpecEmbeddedConfigurator}from"./embedded-configurator.js";export{generateApplicationSpecEslintConfig}from"./eslint-config.js";export{generateApplicationSpecFavicon}from"./favicon.js";export{generateApplicationSpecFrontendConfig}from"./frontend-config.js";export{generateApplicationSpecGitignore}from"./gitignore.js";export{generateApplicationSpecGlobals}from"./globals.js";export{generateApplicationSpecHtmlAdminIndex}from"./html-admin-index.js";export{generateApplicationSpecHtmlIndex}from"./html-index.js";export{generateLinguiRcFile}from"./lingui-rc.js";export{generateApplicationSpecNvmrc}from"./nvmrc.js";export{generateApplicationSpecPackageJson}from"./package-json.js";export{generatePhoenixCliSkill}from"./skills/phoenix-cli-skill.js";export{generatePhoenixCreateConfiguratorSkill,generatePhoenixCreateConfiguratorSkillReferences}from"./skills/phoenix-create-configurator-skill.js";export{generatePhoenixFeedbackSkill}from"./skills/phoenix-feedback-skill.js";export{generatePhoenixReviewSkill}from"./skills/phoenix-review-skill.js";export{followsCanaryBuilds,generatePhoenixSkill}from"./skills/phoenix-skill.js";export{generatePhoenixVariantsSkill}from"./skills/phoenix-variants-skill.js";export{generateApplicationSpecPrettierConfig}from"./prettier-config.js";export{generateApplicationSpecRobotsTxt}from"./robots-txt.js";export{generateApplicationSpecRootTsconfig}from"./root-tsconfig.js";export{generateApplicationSpecStoryDevDeclaration,generateApplicationSpecStoryPhxModule,generateApplicationSpecStoryRawProjectFiles,generateApplicationSpecStoryWrapper}from"./story/index.js";export{generateApplicationSpecTsconfig}from"./tsconfig.js";export{generateApplicationSpecWebhookBuilders}from"./webhook-builders.js";export{generateApplicationSpecWebhookIndex}from"./webhook-index.js";export{generateApplicationSpecWebhooksConfig}from"./webhooks-config.js";
1
+ export{stripSdkMarkerContent}from"./common/strip-sdk-marker-content.js";export{generateApplicationSpecAdminConfig}from"./admin-config.js";export{generateApplicationSpecAdminCode}from"./admin-domain-code.js";export{generateApplicationSpecAdminFrontendCode}from"./admin-frontend-code.js";export{generateAdminGlobalBindingBlock,generateApplicationSpecAdminGlobals}from"./admin-globals.js";export{generateApplicationSpecTypesModule}from"./application-types.js";export{generateApplicationSpecAdminFile}from"./admin.js";export{generateApplicationSpecConfiguratorConfig}from"./configurator-config.js";export{generateApplicationSpecConfiguratorCode}from"./configurator-domain-code.js";export{generateApplicationSpecConfiguratorFrontendCode}from"./configurator-frontend-code.js";export{generateApplicationSpecConfiguratorGlobals,generateConfiguratorGlobalBindingBlock}from"./configurator-globals.js";export{generateApplicationSpecConfiguratorFile}from"./configurator.js";export{generateApplicationSpecDomainSpecFile}from"./domain-spec.js";export{generateImportedStateConstants,generatePhxExportsBlock,generatePhxGlobalsBlock,generateStateConstants}from"./domain-spec/index.js";export{generateApplicationSpecDomainFile}from"./domain.js";export{generateApplicationSpecEditorFile}from"./editor.js";export{generateApplicationSpecEmbeddedAdmin}from"./embedded-admin.js";export{generateApplicationSpecEmbeddedConfigurator}from"./embedded-configurator.js";export{generateApplicationSpecEslintConfig}from"./eslint-config.js";export{generateApplicationSpecFavicon}from"./favicon.js";export{generateApplicationSpecFrontendConfig}from"./frontend-config.js";export{generateApplicationSpecGitignore}from"./gitignore.js";export{generateApplicationSpecGlobals}from"./globals.js";export{generateApplicationSpecHtmlAdminIndex}from"./html-admin-index.js";export{generateApplicationSpecHtmlIndex}from"./html-index.js";export{generateLinguiRcFile}from"./lingui-rc.js";export{generatePhoenixCliSkill}from"./skills/phoenix-cli-skill.js";export{generatePhoenixCreateConfiguratorSkill,generatePhoenixCreateConfiguratorSkillReferences}from"./skills/phoenix-create-configurator-skill.js";export{generatePhoenixFeedbackSkill}from"./skills/phoenix-feedback-skill.js";export{generatePhoenixReviewSkill}from"./skills/phoenix-review-skill.js";export{followsCanaryBuilds,generatePhoenixSkill}from"./skills/phoenix-skill.js";export{generatePhoenixVariantsSkill}from"./skills/phoenix-variants-skill.js";export{generateApplicationSpecPrettierConfig}from"./prettier-config.js";export{generateApplicationSpecRobotsTxt}from"./robots-txt.js";export{generateApplicationSpecRootTsconfig}from"./root-tsconfig.js";export{generateApplicationSpecStoryDevDeclaration,generateApplicationSpecStoryPhxModule,generateApplicationSpecStoryRawProjectFiles,generateApplicationSpecStoryWrapper}from"./story/index.js";export{generateApplicationSpecCodeFile}from"./spec-code/index.js";export{generateApplicationSpecMessagesFile}from"./spec-messages/index.js";export{generateApplicationSpecTsconfig}from"./tsconfig.js";export{generateApplicationSpecWebhookBuilders}from"./webhook-builders.js";export{generateApplicationSpecWebhookIndex}from"./webhook-index.js";export{generateApplicationSpecWebhooksConfig}from"./webhooks-config.js";
@@ -1 +1,6 @@
1
+ /**
2
+ * The project's Lingui configuration, generated to `.phoenix/.linguirc` and, for a Storybook story, to
3
+ * the story's root. Lingui resolves its paths against the directory it runs in, the project or story
4
+ * root, so they hold in either place; `<rootDir>` would be the folder that holds the file.
5
+ */
1
6
  export declare const generateLinguiRcFile: (availableLocales: readonly string[]) => string;
@@ -1,12 +1,12 @@
1
- import{DEFAULT_FALLBACK_LOCALE as e,LOCALE_FALLBACK_MAP as a}from"#package/i18n";export const generateLinguiRcFile=o=>{let s;return`{
1
+ import{DEFAULT_FALLBACK_LOCALE as e,LOCALE_FALLBACK_MAP as a}from"#package/i18n";export const generateLinguiRcFile=s=>{let o;return`{
2
2
  "sourceLocale": "en",
3
- "locales": [${o.map(e=>`"${e}"`).join(", ")}],
3
+ "locales": [${s.map(e=>`"${e}"`).join(", ")}],
4
4
  "fallbackLocales": {
5
- ${(s=Object.entries(a).map(([e,a])=>{let o=Array.isArray(a)?`[${a.map(e=>`"${e}"`).join(", ")}]`:`"${a}"`;return` "${e}": ${o}`})).push(` "default": "${e}"`),s.join(",\n")}
5
+ ${(o=Object.entries(a).map(([e,a])=>{let s=Array.isArray(a)?`[${a.map(e=>`"${e}"`).join(", ")}]`:`"${a}"`;return` "${e}": ${s}`})).push(` "default": "${e}"`),o.join(",\n")}
6
6
  },
7
7
  "catalogs": [
8
8
  {
9
- "path": "<rootDir>/src/locales/{locale}/messages",
9
+ "path": "./src/locales/{locale}/messages",
10
10
  "include": [
11
11
  "./src",
12
12
  "./.phoenix"
@@ -1 +1,6 @@
1
+ /**
2
+ * The project's `prettier.config.js`, written once when the project has none. It re-exports the SDK's
3
+ * shared Prettier configuration so editors find it in the project root; the project may change it
4
+ * afterwards. `phoenix check` and `phoenix fix` use the SDK's configuration when the file is missing.
5
+ */
1
6
  export declare const generateApplicationSpecPrettierConfig: () => string;
@@ -1,8 +1,7 @@
1
- let e=`/**
2
- * Auto-generated file.
3
- * Do not modify this file manually.
4
- * Version: 1
5
- */`;export const generateApplicationSpecPrettierConfig=()=>`${e}
1
+ export const generateApplicationSpecPrettierConfig=()=>`/**
2
+ * The project's Prettier configuration. It re-exports the shared configuration of the Phoenix SDK;
3
+ * change it to adjust the formatting of this project.
4
+ */
6
5
  import { prettierrc } from '@salsita-ai/sdk/common/prettier'
7
6
 
8
7
  export default prettierrc
@@ -1 +1 @@
1
- import{renderAgentSkill as e}from"./agent-skill.js";import{sdkGuidanceSections as n}from"./sdk-content.js";export const generatePhoenixCliSkill=()=>e({name:"phoenix-cli",description:"Phoenix CLI tooling for building and inspecting this configurator, covering build, dev, sync and deps commands, dev logs, glTF asset inspection, screenshots, runtime state, data and scene inspection, variant previews, and Playwright MCP setup. Use when building, debugging build or runtime errors, checking 3D assets, or inspecting the running configurator.",sections:[n.buildCommands,n.devLogs,n.assetInspection,n.screenshotCli,n.inspectState,n.inspectData,n.inspectScene,n.variantPreviews,n.playwrightMcpSetup]});
1
+ import{renderAgentSkill as e}from"./agent-skill.js";import{sdkGuidanceSections as n}from"./sdk-content.js";export const generatePhoenixCliSkill=()=>e({name:"phoenix-cli",description:"Phoenix CLI tooling for building and inspecting this configurator, covering build, dev, sync and deps commands, dev logs, glTF asset inspection, screenshots, runtime state, data and scene inspection, variant previews, and Playwright MCP setup. Use when building, debugging build or runtime errors, checking 3D assets, or inspecting the running configurator.",sections:[n.packageManager,n.buildCommands,n.devLogs,n.assetInspection,n.screenshotCli,n.inspectState,n.inspectData,n.inspectScene,n.variantPreviews,n.playwrightMcpSetup]});
@@ -163,4 +163,4 @@ Keep facts traceable to sources. Geometry proves shape, not commercial availabil
163
163
  Extract available facts now; unresolved entries are not a queue of questions to ask next. Follow the skill's question threshold and defer unknowns that do not block the current work. Use reversible experience defaults without inventing business facts. When a business rule is needed now, explain the consequence and ask for the fact or an explicitly agreed provisional assumption. Continue independent work within the agreed increment; elapsed time is not agreement. For example, resolve whether a shelf is included or charged separately when implementing its pricing, not before a finish-only preview.
164
164
 
165
165
  Translate confirmed rules into representative allowed/disallowed combinations, boundary checks, and hand-calculated totals as their features are implemented.
166
- `;export const generatePhoenixCreateConfiguratorSkill=()=>e({name:"phoenix-create-configurator",description:"Guide a client from product documents and assets to a reviewed Phoenix configurator through a representative first slice, an overall experience plan, iterative implementation, and finalization. Use when creating a configurator, and for every later change that adds or reworks products, options, features or finalization, however small the increment; not for an isolated code fix.",sections:[n,"## Foundations\n\n### Communicate the journey and expectations\n\nExplain all five stages at the start in plain language. Before each stage or increment, say what you will work on, what the client will be able to try, what remains for later, and when you will return for feedback. During longer work, give meaningful progress updates, including what is already usable.\n\nRead supplied information before asking questions. Treat an interview request as permission to gather necessary information throughout the work, not a requirement to ask about every decision before building. Use source-backed facts directly. Choose reversible design defaults yourself, state them briefly, and proceed; do not ask permission to use an illustrated starting configuration, follow supplied branding, or choose a standard Phoenix control.\n\nBefore asking, decide whether the answer would materially change the work due now and whether a useful slice can proceed without it. Ask only for a blocking ambiguity, a consequential business decision needed now, or a material departure from the accepted design. Otherwise record the open issue for the relevant stage. When a question is necessary, explain its consequence and recommend an answer; keep it focused. A client's agreement should lead to the promised work, not another routine approval question. Teach relevant Phoenix approaches through the client's product, without asking them to choose SDK components or operate developer tools.\n\nAt each preview, explain what changed, give a focused action to try, and recommend the next step conditional on feedback. End the turn and wait before expanding the agreed increment unless the client requested a larger autonomous batch. Let them redirect, revisit decisions, or pause; overall scope approval does not remove these feedback points.\n\n### Study Phoenix and use its intended patterns\n\nStudy the documentation in two parts: a core before the first slice, and the rest keyed to what you are about to build. Take the inventory first with `pnpm phoenix docs -l`, which prints every path and title; browse one area with `pnpm phoenix docs -c '<category>'`, read a document with `pnpm phoenix docs -r <returned-path>`, and locate material again with `pnpm phoenix docs -s '<topic>'`. In hosted environments, use the available documentation list/search/read tools instead.\n\nRead the core in full before the first slice: the documents listed as Key Docs in the `phoenix` skill's SDK Documentation section, which carry getting started, the domain model, components, project structure, state, expressions, webhooks, finalization, and migrations, together with the `UX Guidelines` category. That list is maintained there; do not keep a second copy of it here.\n\nRead the rest when an increment reaches it, and before implementing that increment: the remaining `Phoenix` documents for what the increment touches, such as theming and localization when you brand or translate the interface, sharing and sessions when its users receive links, and deployments before going live; `Layouts` and `Controls` for the interface; `3d scene` for the scene; `Relations`, `Recipes & Delete`, `Fabs`, `Drag & Drop`, and `Selection & Highlight` for a product assembled from parts; `Other features` and `Integrations` for finalization and external data; `Performance` before hand-over; and `Complex Use Cases` and `Demos` as worked examples. Take the names from the inventory you listed; this version may group its documentation differently. Judge a category you are deferring by what its documents say they are for, which `pnpm phoenix docs -c '<category>'` prints, not by its name or by how many documents it holds: a small category can hold the one control the product needs.\n\nRecord in the specification which categories you have read and which ones the remaining plan still needs, so a later turn resumes instead of starting again. An index or a search result alone is not a completed study, and reading the core is not permission to skip a category when the increment that needs it arrives.\n\nUse Phoenix's existing components, features, and supported workflows whenever they provide the required capability. Guide the client toward those approaches and explain their benefits. Use custom implementations only when the required capability is unavailable: verify the gap in the documentation, explain it and the proposed approach to the client, and keep the solution compatible with Phoenix's architecture. Missing documentation is not proof that a feature is unavailable.\n\nRevisit the relevant implementation examples as you build. [Phoenix UX guidance](references/phoenix-ux.md) provides navigation back to common topics; platform usage belongs in Phoenix docs rather than a parallel manual in this skill. Disclose inaccessible documentation and the resulting uncertainty instead of claiming full coverage or inventing APIs. Do not assume access to Phoenix's source repository or internal processes.\n\n### Maintain a living Markdown specification\n\nAfter inspecting the materials, create `configurator-spec.md` in the intended project, or update its existing equivalent. Keep it outside public/user-facing assets and use it as the single record of:\n\n- Product scope, intended users, source materials, assets, and confirmed product facts.\n- Configurable options, dependencies, compatibility rules, dimensions, and commercial rules.\n- Unknowns, conflicting information, proposals, agent-chosen design defaults, and explicitly agreed provisional business assumptions, distinguished from confirmed facts and client-approved decisions.\n- Accepted visual direction, navigation, interaction patterns, and finalization decisions, with their rationale.\n- The five-stage plan, current stage, implemented and remaining scope, documentation coverage, verification results, and next increment.\n\nUpdate it whenever new information, a decision, or completed work changes the plan. Keep it concise and current, not a conversation transcript. Read it when resuming, inspect the existing draft, and briefly remind the client where things stand. Preserve accepted behavior and styling; explain and agree on material departures before applying them. The specification supports collaboration without making every edit an approval step.",i,a,o,s,r,t.visualInspection,d]});export const generatePhoenixCreateConfiguratorSkillReferences=()=>[{path:"references/phoenix-ux.md",content:h},{path:"references/product-discovery.md",content:p},{path:"references/asset-conversion.md",content:c},{path:"references/appearance-review.md",content:l}];
166
+ `;export const generatePhoenixCreateConfiguratorSkill=()=>e({name:"phoenix-create-configurator",description:"Guide a client from product documents and assets to a reviewed Phoenix configurator through a representative first slice, an overall experience plan, iterative implementation, and finalization. Use when creating a configurator, and for every later change that adds or reworks products, options, features or finalization, however small the increment; not for an isolated code fix.",sections:[n,t.packageManager,"## Foundations\n\n### Communicate the journey and expectations\n\nExplain all five stages at the start in plain language. Before each stage or increment, say what you will work on, what the client will be able to try, what remains for later, and when you will return for feedback. During longer work, give meaningful progress updates, including what is already usable.\n\nRead supplied information before asking questions. Treat an interview request as permission to gather necessary information throughout the work, not a requirement to ask about every decision before building. Use source-backed facts directly. Choose reversible design defaults yourself, state them briefly, and proceed; do not ask permission to use an illustrated starting configuration, follow supplied branding, or choose a standard Phoenix control.\n\nBefore asking, decide whether the answer would materially change the work due now and whether a useful slice can proceed without it. Ask only for a blocking ambiguity, a consequential business decision needed now, or a material departure from the accepted design. Otherwise record the open issue for the relevant stage. When a question is necessary, explain its consequence and recommend an answer; keep it focused. A client's agreement should lead to the promised work, not another routine approval question. Teach relevant Phoenix approaches through the client's product, without asking them to choose SDK components or operate developer tools.\n\nAt each preview, explain what changed, give a focused action to try, and recommend the next step conditional on feedback. End the turn and wait before expanding the agreed increment unless the client requested a larger autonomous batch. Let them redirect, revisit decisions, or pause; overall scope approval does not remove these feedback points.\n\n### Study Phoenix and use its intended patterns\n\nStudy the documentation in two parts: a core before the first slice, and the rest keyed to what you are about to build. Take the inventory first with `pnpm phoenix docs -l`, which prints every path and title; browse one area with `pnpm phoenix docs -c '<category>'`, read a document with `pnpm phoenix docs -r <returned-path>`, and locate material again with `pnpm phoenix docs -s '<topic>'`. In hosted environments, use the available documentation list/search/read tools instead.\n\nRead the core in full before the first slice: the documents listed as Key Docs in the `phoenix` skill's SDK Documentation section, which carry getting started, the domain model, components, project structure, state, expressions, webhooks, finalization, and migrations, together with the `UX Guidelines` category. That list is maintained there; do not keep a second copy of it here.\n\nRead the rest when an increment reaches it, and before implementing that increment: the remaining `Phoenix` documents for what the increment touches, such as theming and localization when you brand or translate the interface, sharing and sessions when its users receive links, and deployments before going live; `Layouts` and `Controls` for the interface; `3d scene` for the scene; `Relations`, `Recipes & Delete`, `Fabs`, `Drag & Drop`, and `Selection & Highlight` for a product assembled from parts; `Other features` and `Integrations` for finalization and external data; `Performance` before hand-over; and `Complex Use Cases` and `Demos` as worked examples. Take the names from the inventory you listed; this version may group its documentation differently. Judge a category you are deferring by what its documents say they are for, which `pnpm phoenix docs -c '<category>'` prints, not by its name or by how many documents it holds: a small category can hold the one control the product needs.\n\nRecord in the specification which categories you have read and which ones the remaining plan still needs, so a later turn resumes instead of starting again. An index or a search result alone is not a completed study, and reading the core is not permission to skip a category when the increment that needs it arrives.\n\nUse Phoenix's existing components, features, and supported workflows whenever they provide the required capability. Guide the client toward those approaches and explain their benefits. Use custom implementations only when the required capability is unavailable: verify the gap in the documentation, explain it and the proposed approach to the client, and keep the solution compatible with Phoenix's architecture. Missing documentation is not proof that a feature is unavailable.\n\nRevisit the relevant implementation examples as you build. [Phoenix UX guidance](references/phoenix-ux.md) provides navigation back to common topics; platform usage belongs in Phoenix docs rather than a parallel manual in this skill. Disclose inaccessible documentation and the resulting uncertainty instead of claiming full coverage or inventing APIs. Do not assume access to Phoenix's source repository or internal processes.\n\n### Maintain a living Markdown specification\n\nAfter inspecting the materials, create `configurator-spec.md` in the intended project, or update its existing equivalent. Keep it outside public/user-facing assets and use it as the single record of:\n\n- Product scope, intended users, source materials, assets, and confirmed product facts.\n- Configurable options, dependencies, compatibility rules, dimensions, and commercial rules.\n- Unknowns, conflicting information, proposals, agent-chosen design defaults, and explicitly agreed provisional business assumptions, distinguished from confirmed facts and client-approved decisions.\n- Accepted visual direction, navigation, interaction patterns, and finalization decisions, with their rationale.\n- The five-stage plan, current stage, implemented and remaining scope, documentation coverage, verification results, and next increment.\n\nUpdate it whenever new information, a decision, or completed work changes the plan. Keep it concise and current, not a conversation transcript. Read it when resuming, inspect the existing draft, and briefly remind the client where things stand. Preserve accepted behavior and styling; explain and agree on material departures before applying them. The specification supports collaboration without making every edit an approval step.",i,a,o,s,r,t.visualInspection,d]});export const generatePhoenixCreateConfiguratorSkillReferences=()=>[{path:"references/phoenix-ux.md",content:h},{path:"references/product-discovery.md",content:p},{path:"references/asset-conversion.md",content:c},{path:"references/appearance-review.md",content:l}];
@@ -1,4 +1,4 @@
1
- import{renderAgentSkill as e}from"./agent-skill.js";let t=`## When to Raise Feedback
1
+ import{renderAgentSkill as e}from"./agent-skill.js";import{sdkGuidanceSections as t}from"./sdk-content.js";let o=`## When to Raise Feedback
2
2
  Draft feedback for the Phoenix team when one of these happens while you work in this project:
3
3
  - **Bug** — the SDK, the \`phoenix\` CLI or generated code crashes, produces wrong output or behaves differently from its documentation, and the cause is not in this project's own code.
4
4
  - **Misleading guidance** — a doc page, a Phoenix skill or an error message sent you the wrong way, or did not say what you needed.
@@ -6,7 +6,7 @@ Draft feedback for the Phoenix team when one of these happens while you work in
6
6
 
7
7
  Do not draft feedback for problems in this project's own specs or code, for a suspicion you have not checked, or twice for the same problem. Write one draft per distinct problem.
8
8
 
9
- The evaluation of a finished run is feedback too; the section "Evaluate the Run" says when to ask for it.`,o=`## Ask Before You Send
9
+ The evaluation of a finished run is feedback too; the section "Evaluate the Run" says when to ask for it.`,n=`## Ask Before You Send
10
10
  Never send feedback on your own. Show the user a draft and send it only after they approve it.
11
11
 
12
12
  When to ask is your judgement:
@@ -14,7 +14,7 @@ When to ask is your judgement:
14
14
  - **At the end of the task** — everything else. Collect the details while you work and show all drafts together in your final message.
15
15
  - **When the user asks** you to send feedback — draft it and show it before sending.
16
16
 
17
- The draft is exactly what would be sent: the type, the full message, the project if you name one with \`--projectSlug\`, and the contact if the user gave one. Send it unchanged after a yes; if the user edits it, send their version. If they decline, drop it and do not raise that problem again.`,n=`## Evaluate the Run
17
+ The draft is exactly what would be sent: the type, the full message, the project if you name one with \`--projectSlug\`, and the contact if the user gave one. Send it unchanged after a yes; if the user edits it, send their version. If they decline, drop it and do not raise that problem again.`,a=`## Evaluate the Run
18
18
  When the work on the configurator is finished, interview the user for an evaluation of the run and send it as feedback. The run is finished when the user says they are done, or when \`phoenix deploy\` reported the configurator live and the user confirms they have nothing more to build; ask that once after a deploy goes live, and do not start the interview while they want to continue.
19
19
 
20
20
  Say first that the answers are sent to the Phoenix team as feedback, and that the user can decline. Then ask one question at a time, in this order, and wait for each answer before asking the next. Give the short explanation with each question. Every score is a whole number from 0 to 10, where 0 is catastrophic, 5 is passable and 10 is amazing:
@@ -46,9 +46,9 @@ Comments: <their comments, or none>
46
46
  Build: <build id> <Studio build page link>
47
47
  Configurator: <live configurator link>
48
48
  \`\`\`
49
- Keep the labels and their order, so the scores can be read out of the feedback list and its export. Show the user the text exactly as it would be sent, and send it with \`--type other\` only after a yes; if they edit it, send their version. An evaluation is not a bug report: when a comment names a concrete problem, offer to draft it as its own report.`,a=`## What Never Goes Into Feedback
49
+ Keep the labels and their order, so the scores can be read out of the feedback list and its export. Show the user the text exactly as it would be sent, and send it with \`--type other\` only after a yes; if they edit it, send their version. An evaluation is not a bug report: when a comment names a concrete problem, offer to draft it as its own report.`,s=`## What Never Goes Into Feedback
50
50
  The message leaves this project and is read by the Phoenix team. Never include:
51
51
  - secrets and credentials: API tokens, keys, passwords or \`.env\` values, also when they appear inside an error or a log you quote. Replace each with \`<redacted>\`;
52
52
  - personal data, or data of the project's customers and end users, such as names, email addresses and orders, other than a contact the user asked you to add.
53
53
 
54
- Parts of this project may go into a message: file names and paths, snippets of its specs and code, and the user's own words. They are sent only as part of a draft the user saw and approved, which is why the draft you show is always the full text.`;export const generatePhoenixFeedbackSkill=()=>e({name:"phoenix-feedback",description:"Evaluating a finished run and drafting feedback about the Phoenix SDK, CLI, documentation or Studio for the Phoenix team, sent with the phoenix feedback command once the user approves the draft. Use right after phoenix deploy reports the configurator live or when the user says they are done, to offer the evaluation of the run, and when the SDK or CLI misbehaves, a doc or skill misled you, a missing feature forced a workaround or the user asks to send feedback.",sections:[t,o,"## Report Template\nWrite a report as plain text with the labels below, in this order, so the Phoenix team reads every report the same way. Keep every label; write `none` or `not deployed yet` where you have nothing to put.\n```text\nBuild: <build id> <Studio build page link>\nConfigurator: <live configurator link>\n\nWhat I was doing:\n<the task and the step you were on>\n\nWhat happened and what I expected:\n<what you ran or called, the result you got, and the result you expected>\n\nExact error or agent output:\n<the error text or the output, copied unchanged>\n\nWorkaround:\n<what you did instead, or none>\n\nConversation log:\n<the conversation condensed to the turns that matter: what the user asked, what you tried, what failed>\n```\n- **Build** is the latest build of this project, the one whose sources show the problem. `pnpm phoenix deploy` prints its id as `Build <id> started` and its page as `Follow the build in Studio: <url>`. When that line is missing, compose the link as `https://<workspace>.<studio host>/builder/deployments/<build id>`: the workspace is the one named at `phoenix login`, and the host is `studio.eu.salsita.ai` for the `eu` region, `studio.salsita.ai` for `us` and `studio-staging.salsita.app` for staging. A Studio address passed to login with `--studioUrl` replaces the workspace and host. Never invent a build id: when the project was not deployed, write `not deployed yet`.\n- **Configurator** is the live address `pnpm phoenix deploy` prints once the build is live.\n- The team downloads the sources of the build from its Studio page, so do not paste whole files; quote only the lines that show the problem.\n- Quote errors and output exactly. A report that paraphrases an error cannot be searched for.\n- Condense the conversation log, do not dump it: keep the user's requests, your decisions and the failures, and leave out tool output that the other sections already carry.",n,"## How to Send It\nWrite a report or an evaluation to a text file and send the file, so the shell changes nothing in it:\n```bash\npnpm phoenix feedback --file <path> --type bug --agent '<your agent name>'\n```\nPut the file outside the project, in the system's temporary folder, and delete it after sending. A note of a line or two can go in as an argument instead:\n```bash\npnpm phoenix feedback '<message>' --type idea --agent '<your agent name>'\n```\n- Give either `--file` or the message argument, never both.\n- Put a message argument in single quotes, so the shell passes backticks, `$` and double quotes through unchanged. In bash or zsh, write a single quote inside the message as `'\\''`; in PowerShell, double it instead.\n- `--type` is `bug`, `idea` or `other` (default `other`). Use `idea` for a missing feature or an improvement, and `other` for an evaluation.\n- `--agent` names you, the coding agent, so the team can tell agent feedback from a person's.\n- `--contact '<email>'` only when the user wants a reply and gave you the contact to use.\n- The workspace, user, SDK version and the spec's `project` are attached automatically. `--projectSlug <slug>` names another project of the workspace.\n- A message holds at most 100,000 characters. Shorten the conversation log first when a report is longer.\n\nThe command needs `phoenix login`. If it answers that you are not signed in, tell the user once and continue; do not sign in yourself, because the sign-in is approved in a browser.\n\nAfter sending, confirm it to the user in one line.",a]});
54
+ Parts of this project may go into a message: file names and paths, snippets of its specs and code, and the user's own words. They are sent only as part of a draft the user saw and approved, which is why the draft you show is always the full text.`;export const generatePhoenixFeedbackSkill=()=>e({name:"phoenix-feedback",description:"Evaluating a finished run and drafting feedback about the Phoenix SDK, CLI, documentation or Studio for the Phoenix team, sent with the phoenix feedback command once the user approves the draft. Use right after phoenix deploy reports the configurator live or when the user says they are done, to offer the evaluation of the run, and when the SDK or CLI misbehaves, a doc or skill misled you, a missing feature forced a workaround or the user asks to send feedback.",sections:[t.packageManager,o,n,"## Report Template\nWrite a report as plain text with the labels below, in this order, so the Phoenix team reads every report the same way. Keep every label; write `none` or `not deployed yet` where you have nothing to put.\n```text\nBuild: <build id> <Studio build page link>\nConfigurator: <live configurator link>\n\nWhat I was doing:\n<the task and the step you were on>\n\nWhat happened and what I expected:\n<what you ran or called, the result you got, and the result you expected>\n\nExact error or agent output:\n<the error text or the output, copied unchanged>\n\nWorkaround:\n<what you did instead, or none>\n\nConversation log:\n<the conversation condensed to the turns that matter: what the user asked, what you tried, what failed>\n```\n- **Build** is the latest build of this project, the one whose sources show the problem. `pnpm phoenix deploy` prints its id as `Build <id> started` and its page as `Follow the build in Studio: <url>`. When that line is missing, compose the link as `https://<workspace>.<studio host>/builder/deployments/<build id>`: the workspace is the one named at `phoenix login`, and the host is `studio.eu.salsita.ai` for the `eu` region, `studio.salsita.ai` for `us` and `studio-staging.salsita.app` for staging. A Studio address passed to login with `--studioUrl` replaces the workspace and host. Never invent a build id: when the project was not deployed, write `not deployed yet`.\n- **Configurator** is the live address `pnpm phoenix deploy` prints once the build is live.\n- The team downloads the sources of the build from its Studio page, so do not paste whole files; quote only the lines that show the problem.\n- Quote errors and output exactly. A report that paraphrases an error cannot be searched for.\n- Condense the conversation log, do not dump it: keep the user's requests, your decisions and the failures, and leave out tool output that the other sections already carry.",a,"## How to Send It\nWrite a report or an evaluation to a text file and send the file, so the shell changes nothing in it:\n```bash\npnpm phoenix feedback --file <path> --type bug --agent '<your agent name>'\n```\nPut the file outside the project, in the system's temporary folder, and delete it after sending. A note of a line or two can go in as an argument instead:\n```bash\npnpm phoenix feedback '<message>' --type idea --agent '<your agent name>'\n```\n- Give either `--file` or the message argument, never both.\n- Put a message argument in single quotes, so the shell passes backticks, `$` and double quotes through unchanged. In bash or zsh, write a single quote inside the message as `'\\''`; in PowerShell, double it instead.\n- `--type` is `bug`, `idea` or `other` (default `other`). Use `idea` for a missing feature or an improvement, and `other` for an evaluation.\n- `--agent` names you, the coding agent, so the team can tell agent feedback from a person's.\n- `--contact '<email>'` only when the user wants a reply and gave you the contact to use.\n- The workspace, user, SDK version and the spec's `project` are attached automatically. `--projectSlug <slug>` names another project of the workspace.\n- A message holds at most 100,000 characters. Shorten the conversation log first when a report is longer.\n\nThe command needs `phoenix login`. If it answers that you are not signed in, tell the user once and continue; do not sign in yourself, because the sign-in is approved in a browser.\n\nAfter sending, confirm it to the user in one line.",s]});