@fps-games/editor 0.2.1-beta.2 → 0.2.1-beta.4

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 (595) hide show
  1. package/dist/build-info.json +46 -46
  2. package/dist/editor-commands/capabilities/assets.d.ts +8 -0
  3. package/dist/editor-commands/capabilities/assets.d.ts.map +1 -0
  4. package/dist/{agent-bridge → editor-commands}/capabilities/assets.js +41 -41
  5. package/dist/editor-commands/capabilities/assets.js.map +1 -0
  6. package/dist/editor-commands/capabilities/editor-state.d.ts +5 -0
  7. package/dist/editor-commands/capabilities/editor-state.d.ts.map +1 -0
  8. package/dist/{agent-bridge → editor-commands}/capabilities/editor-state.js +22 -22
  9. package/dist/editor-commands/capabilities/editor-state.js.map +1 -0
  10. package/dist/editor-commands/capabilities/hierarchy.d.ts +4 -0
  11. package/dist/editor-commands/capabilities/hierarchy.d.ts.map +1 -0
  12. package/dist/{agent-bridge → editor-commands}/capabilities/hierarchy.js +5 -5
  13. package/dist/editor-commands/capabilities/hierarchy.js.map +1 -0
  14. package/dist/editor-commands/capabilities/host-lifecycle.d.ts +11 -0
  15. package/dist/editor-commands/capabilities/host-lifecycle.d.ts.map +1 -0
  16. package/dist/editor-commands/capabilities/host-lifecycle.js +149 -0
  17. package/dist/editor-commands/capabilities/host-lifecycle.js.map +1 -0
  18. package/dist/editor-commands/capabilities/prefabs.d.ts +5 -0
  19. package/dist/editor-commands/capabilities/prefabs.d.ts.map +1 -0
  20. package/dist/{agent-bridge → editor-commands}/capabilities/prefabs.js +93 -93
  21. package/dist/editor-commands/capabilities/prefabs.js.map +1 -0
  22. package/dist/editor-commands/capabilities/scene-objects.d.ts +8 -0
  23. package/dist/editor-commands/capabilities/scene-objects.d.ts.map +1 -0
  24. package/dist/editor-commands/capabilities/scene-objects.js +480 -0
  25. package/dist/editor-commands/capabilities/scene-objects.js.map +1 -0
  26. package/dist/editor-commands/capabilities/selection.d.ts +5 -0
  27. package/dist/editor-commands/capabilities/selection.d.ts.map +1 -0
  28. package/dist/editor-commands/capabilities/selection.js +60 -0
  29. package/dist/editor-commands/capabilities/selection.js.map +1 -0
  30. package/dist/editor-commands/capabilities/shadows.d.ts +5 -0
  31. package/dist/editor-commands/capabilities/shadows.d.ts.map +1 -0
  32. package/dist/{agent-bridge → editor-commands}/capabilities/shadows.js +74 -74
  33. package/dist/editor-commands/capabilities/shadows.js.map +1 -0
  34. package/dist/editor-commands/capabilities/transform.d.ts +5 -0
  35. package/dist/editor-commands/capabilities/transform.d.ts.map +1 -0
  36. package/dist/editor-commands/capabilities/transform.js +164 -0
  37. package/dist/editor-commands/capabilities/transform.js.map +1 -0
  38. package/dist/editor-commands/capabilities/ui-regions.d.ts +4 -0
  39. package/dist/editor-commands/capabilities/ui-regions.d.ts.map +1 -0
  40. package/dist/{agent-bridge → editor-commands}/capabilities/ui-regions.js +55 -57
  41. package/dist/editor-commands/capabilities/ui-regions.js.map +1 -0
  42. package/dist/editor-commands/capabilities/viewport.d.ts +5 -0
  43. package/dist/editor-commands/capabilities/viewport.d.ts.map +1 -0
  44. package/dist/{agent-bridge → editor-commands}/capabilities/viewport.js +100 -100
  45. package/dist/editor-commands/capabilities/viewport.js.map +1 -0
  46. package/dist/editor-commands/command-sources.d.ts +7 -0
  47. package/dist/editor-commands/command-sources.d.ts.map +1 -0
  48. package/dist/editor-commands/command-sources.js +34 -0
  49. package/dist/editor-commands/command-sources.js.map +1 -0
  50. package/dist/editor-commands/diagnostics.d.ts +12 -0
  51. package/dist/editor-commands/diagnostics.d.ts.map +1 -0
  52. package/dist/{agent-bridge → editor-commands}/diagnostics.js +4 -4
  53. package/dist/editor-commands/diagnostics.js.map +1 -0
  54. package/dist/{agent-bridge → editor-commands}/index.d.ts +1 -1
  55. package/dist/editor-commands/index.d.ts.map +1 -0
  56. package/dist/{agent-bridge → editor-commands}/index.js +1 -1
  57. package/dist/editor-commands/index.js.map +1 -0
  58. package/dist/editor-commands/register.d.ts +4 -0
  59. package/dist/editor-commands/register.d.ts.map +1 -0
  60. package/dist/{agent-bridge → editor-commands}/register.js +323 -286
  61. package/dist/editor-commands/register.js.map +1 -0
  62. package/dist/{agent-bridge → editor-commands}/shared.d.ts +80 -80
  63. package/dist/editor-commands/shared.d.ts.map +1 -0
  64. package/dist/{agent-bridge → editor-commands}/shared.js +29 -29
  65. package/dist/editor-commands/shared.js.map +1 -0
  66. package/dist/editor-commands/source-types.d.ts +110 -0
  67. package/dist/editor-commands/source-types.d.ts.map +1 -0
  68. package/dist/editor-commands/source-types.js.map +1 -0
  69. package/dist/editor-plugin-commands.d.ts +4 -0
  70. package/dist/editor-plugin-commands.d.ts.map +1 -0
  71. package/dist/editor-plugin-commands.js +18 -0
  72. package/dist/editor-plugin-commands.js.map +1 -0
  73. package/dist/index.d.ts +2 -2
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +1 -1
  76. package/dist/index.js.map +1 -1
  77. package/dist/local-editor-commands.d.ts +2 -0
  78. package/dist/local-editor-commands.d.ts.map +1 -0
  79. package/dist/local-editor-commands.js +2 -0
  80. package/dist/local-editor-commands.js.map +1 -0
  81. package/dist/local-editor-harness.d.ts +35 -21
  82. package/dist/local-editor-harness.d.ts.map +1 -1
  83. package/dist/local-editor-harness.js +1737 -374
  84. package/dist/local-editor-harness.js.map +1 -1
  85. package/dist/local-editor-prefab-stage-transaction.d.ts +2 -1
  86. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -1
  87. package/dist/local-editor-prefab-stage-transaction.js +6 -5
  88. package/dist/local-editor-prefab-stage-transaction.js.map +1 -1
  89. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  90. package/dist/local-editor-scene-view-interaction-runtime.js +2 -5
  91. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  92. package/dist/playable-babylon-rendering.d.ts +8 -7
  93. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  94. package/dist/playable-babylon-rendering.js +77 -32
  95. package/dist/playable-babylon-rendering.js.map +1 -1
  96. package/dist/playable-local-editor-entry.d.ts +10 -0
  97. package/dist/playable-local-editor-entry.d.ts.map +1 -1
  98. package/dist/playable-local-editor-entry.js +10 -2
  99. package/dist/playable-local-editor-entry.js.map +1 -1
  100. package/dist/playable-local-editor-host.d.ts +3 -32
  101. package/dist/playable-local-editor-host.d.ts.map +1 -1
  102. package/dist/playable-local-editor-host.js +6 -70
  103. package/dist/playable-local-editor-host.js.map +1 -1
  104. package/dist/playable-product-local-editor.d.ts +1 -2
  105. package/dist/playable-product-local-editor.d.ts.map +1 -1
  106. package/dist/playable-product-local-editor.js +0 -1
  107. package/dist/playable-product-local-editor.js.map +1 -1
  108. package/dist/playable-product-projection-preview.d.ts +2 -0
  109. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  110. package/dist/playable-product-projection-preview.js +8 -5
  111. package/dist/playable-product-projection-preview.js.map +1 -1
  112. package/dist/playable-product-scene-capabilities.d.ts +0 -2
  113. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  114. package/dist/playable-product-scene-capabilities.js +33 -6
  115. package/dist/playable-product-scene-capabilities.js.map +1 -1
  116. package/dist/playable-runtime-babylon.d.ts +4 -0
  117. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  118. package/dist/playable-runtime-babylon.js +4 -0
  119. package/dist/playable-runtime-babylon.js.map +1 -1
  120. package/dist/playable-sdk.d.ts +2 -2
  121. package/dist/playable-sdk.d.ts.map +1 -1
  122. package/dist/playable-sdk.js +1 -1
  123. package/dist/playable-sdk.js.map +1 -1
  124. package/dist/playable-standard-project.d.ts +0 -3
  125. package/dist/playable-standard-project.d.ts.map +1 -1
  126. package/dist/playable-standard-project.js +14 -6
  127. package/dist/playable-standard-project.js.map +1 -1
  128. package/dist/project-service-projection.d.ts +16 -0
  129. package/dist/project-service-projection.d.ts.map +1 -0
  130. package/dist/project-service-projection.js +67 -0
  131. package/dist/project-service-projection.js.map +1 -0
  132. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -2
  133. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -1
  134. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +301 -121
  135. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -1
  136. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +5 -4
  137. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -1
  138. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +4 -4
  139. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -1
  140. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +1 -1
  141. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -1
  142. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +2 -0
  143. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -1
  144. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +12 -1
  145. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -1
  146. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +6 -3
  147. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  148. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +100 -39
  149. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  150. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +18 -0
  151. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  152. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +54 -18
  153. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  154. package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts +1 -3
  155. package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts.map +1 -1
  156. package/node_modules/@fps-games/babylon-renderer/dist/reference.js.map +1 -1
  157. package/node_modules/@fps-games/babylon-renderer/package.json +11 -8
  158. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -0
  159. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  160. package/node_modules/@fps-games/editor-babylon/dist/projection.js +1 -1
  161. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  162. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -1
  163. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +127 -13
  164. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -1
  165. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  166. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +66 -1
  167. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  168. package/node_modules/@fps-games/editor-babylon/package.json +6 -6
  169. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts +32 -0
  170. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts.map +1 -0
  171. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js +254 -0
  172. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js.map +1 -0
  173. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +3 -1
  174. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  175. package/node_modules/@fps-games/editor-browser/dist/index.js +2 -0
  176. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  177. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts +68 -0
  178. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts.map +1 -0
  179. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js +650 -0
  180. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js.map +1 -0
  181. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +1 -0
  182. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -1
  183. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +22 -0
  184. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -1
  185. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +8 -0
  186. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  187. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +117 -6
  188. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  189. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +14 -1
  190. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  191. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +100 -1
  192. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  193. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +8 -1
  194. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  195. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +75 -2
  196. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  197. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +37 -12
  198. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  199. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  200. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +25 -2
  201. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  202. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +332 -107
  203. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  204. package/node_modules/@fps-games/editor-browser/package.json +7 -7
  205. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts +107 -0
  206. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts.map +1 -0
  207. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js +1211 -0
  208. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js.map +1 -0
  209. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts +34 -0
  210. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts.map +1 -0
  211. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js +260 -0
  212. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js.map +1 -0
  213. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts +9 -0
  214. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts.map +1 -0
  215. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js +14 -0
  216. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js.map +1 -0
  217. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts +18 -0
  218. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts.map +1 -0
  219. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js +113 -0
  220. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js.map +1 -0
  221. package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts +82 -0
  222. package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts.map +1 -0
  223. package/node_modules/@fps-games/editor-core/dist/editor-command-system.js +1098 -0
  224. package/node_modules/@fps-games/editor-core/dist/editor-command-system.js.map +1 -0
  225. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -7
  226. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  227. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +62 -103
  228. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  229. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts +30 -0
  230. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts.map +1 -0
  231. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js +540 -0
  232. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js.map +1 -0
  233. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts +9 -0
  234. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts.map +1 -0
  235. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js +61 -0
  236. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js.map +1 -0
  237. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +55 -0
  238. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  239. package/node_modules/@fps-games/editor-core/dist/editor-session.js +247 -6
  240. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  241. package/node_modules/@fps-games/editor-core/dist/index.d.ts +6 -2
  242. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  243. package/node_modules/@fps-games/editor-core/dist/index.js +6 -2
  244. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  245. package/node_modules/@fps-games/editor-core/package.json +6 -6
  246. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +0 -1
  247. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
  248. package/node_modules/@fps-games/editor-forge-play/dist/index.js +0 -1
  249. package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
  250. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  251. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.d.ts.map +1 -1
  252. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js +10 -3
  253. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js.map +1 -1
  254. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts +2 -1
  255. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts.map +1 -1
  256. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js +1 -1
  257. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js.map +1 -1
  258. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +2 -0
  259. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -1
  260. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  261. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +41 -1
  262. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  263. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +27 -1
  264. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  265. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  266. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +2 -0
  267. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  268. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +214 -7
  269. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  270. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +1 -0
  271. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  272. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +11 -3
  273. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  274. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +2 -4
  275. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  276. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +0 -1
  277. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +77 -31
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +8 -1
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts +21 -1
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts.map +1 -1
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js +90 -4
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js.map +1 -1
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +27 -1
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -1
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +161 -1
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -1
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +2 -2
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -1
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +5 -92
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -1
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts +7 -0
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts.map +1 -1
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js +26 -9
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js.map +1 -1
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts +9 -0
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts.map +1 -1
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js +19 -8
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js.map +1 -1
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +1 -1
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +4 -0
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts +5 -0
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts.map +1 -1
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js +16 -4
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js.map +1 -1
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +9 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +12 -2
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts +2 -1
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts.map +1 -1
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js +10 -5
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js.map +1 -1
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +1 -0
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +17 -82
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +53 -57
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts.map +1 -1
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js +3 -2
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js.map +1 -1
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts +10 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts.map +1 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js +256 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js.map +1 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +7 -5
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +4 -4
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  340. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +2 -1
  341. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  342. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  343. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +1 -5
  344. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -1
  345. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  346. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +8 -0
  347. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  348. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +1 -0
  349. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  350. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  351. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +187 -12
  352. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  353. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +2 -0
  354. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -1
  355. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -1
  356. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  357. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +47 -0
  358. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  359. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts +27 -0
  360. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts.map +1 -0
  361. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js +592 -0
  362. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js.map +1 -0
  363. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +3 -1
  364. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
  365. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +2 -1
  366. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
  367. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  368. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +61 -6
  369. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  370. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +0 -2
  371. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  372. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -10
  373. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  374. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  375. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +21 -0
  376. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  377. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts +13 -0
  378. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts.map +1 -0
  379. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js +18 -0
  380. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js.map +1 -0
  381. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts +28 -0
  382. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts.map +1 -0
  383. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js +863 -0
  384. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js.map +1 -0
  385. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +2 -0
  386. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  387. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  388. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  389. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts +1626 -0
  390. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts.map +1 -0
  391. package/node_modules/@fps-games/editor-protocol/dist/{agent-bridge.js → editor-command-capabilities.js} +766 -620
  392. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.js.map +1 -0
  393. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts +69 -0
  394. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts.map +1 -0
  395. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js +22 -0
  396. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js.map +1 -0
  397. package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts +136 -0
  398. package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts.map +1 -0
  399. package/node_modules/@fps-games/editor-protocol/dist/editor-command.js +2 -0
  400. package/node_modules/@fps-games/editor-protocol/dist/editor-command.js.map +1 -0
  401. package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts +225 -0
  402. package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts.map +1 -0
  403. package/node_modules/@fps-games/editor-protocol/dist/editor-service.js +4 -0
  404. package/node_modules/@fps-games/editor-protocol/dist/editor-service.js.map +1 -0
  405. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +6 -3
  406. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  407. package/node_modules/@fps-games/editor-protocol/dist/index.js +6 -3
  408. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  409. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  410. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  411. package/node_modules/@fps-games/editor-ui/package.json +1 -1
  412. package/node_modules/@fps-games/playable-assets/dist/identity.d.ts +1 -0
  413. package/node_modules/@fps-games/playable-assets/dist/identity.d.ts.map +1 -1
  414. package/node_modules/@fps-games/playable-assets/dist/identity.js +1 -1
  415. package/node_modules/@fps-games/playable-assets/dist/identity.js.map +1 -1
  416. package/node_modules/@fps-games/playable-assets/dist/index.d.ts +1 -0
  417. package/node_modules/@fps-games/playable-assets/dist/index.d.ts.map +1 -1
  418. package/node_modules/@fps-games/playable-assets/dist/index.js +1 -0
  419. package/node_modules/@fps-games/playable-assets/dist/index.js.map +1 -1
  420. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts +46 -0
  421. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts.map +1 -0
  422. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js +109 -0
  423. package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js.map +1 -0
  424. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  425. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  426. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  427. package/node_modules/@fps-games/playable-runtime/dist/runtime.d.ts.map +1 -1
  428. package/node_modules/@fps-games/playable-runtime/dist/runtime.js +5 -0
  429. package/node_modules/@fps-games/playable-runtime/dist/runtime.js.map +1 -1
  430. package/node_modules/@fps-games/playable-runtime/dist/types.d.ts +2 -0
  431. package/node_modules/@fps-games/playable-runtime/dist/types.d.ts.map +1 -1
  432. package/node_modules/@fps-games/playable-runtime/dist/types.js.map +1 -1
  433. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  434. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  435. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  436. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  437. package/node_modules/@fps-games/plugin-assets/dist/reference.d.ts.map +1 -1
  438. package/node_modules/@fps-games/plugin-assets/dist/reference.js +11 -4
  439. package/node_modules/@fps-games/plugin-assets/dist/reference.js.map +1 -1
  440. package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts +8 -0
  441. package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts.map +1 -0
  442. package/node_modules/@fps-games/plugin-assets/dist/renderer.js +13 -0
  443. package/node_modules/@fps-games/plugin-assets/dist/renderer.js.map +1 -0
  444. package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts +12 -0
  445. package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts.map +1 -0
  446. package/node_modules/@fps-games/plugin-assets/dist/resources.js +8 -0
  447. package/node_modules/@fps-games/plugin-assets/dist/resources.js.map +1 -0
  448. package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts +2 -1
  449. package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts.map +1 -1
  450. package/node_modules/@fps-games/plugin-assets/dist/runtime.js +3 -0
  451. package/node_modules/@fps-games/plugin-assets/dist/runtime.js.map +1 -1
  452. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  453. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  454. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  455. package/node_modules/@fps-games/plugin-assets/package.json +32 -8
  456. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +1 -0
  457. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -1
  458. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +78 -4
  459. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -1
  460. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +1 -1
  461. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +1 -1
  462. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -1
  463. package/node_modules/@fps-games/plugin-hierarchy/package.json +5 -5
  464. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  465. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  466. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  467. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  468. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  469. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  470. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  471. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  472. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  473. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  474. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  475. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  476. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  477. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  478. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  479. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  480. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  481. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +1 -1
  482. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +1 -1
  483. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -1
  484. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +5 -5
  485. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  486. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  487. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  488. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  489. package/package.json +24 -22
  490. package/dist/agent-bridge/capabilities/assets.d.ts +0 -8
  491. package/dist/agent-bridge/capabilities/assets.d.ts.map +0 -1
  492. package/dist/agent-bridge/capabilities/assets.js.map +0 -1
  493. package/dist/agent-bridge/capabilities/editor-state.d.ts +0 -5
  494. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +0 -1
  495. package/dist/agent-bridge/capabilities/editor-state.js.map +0 -1
  496. package/dist/agent-bridge/capabilities/hierarchy.d.ts +0 -4
  497. package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +0 -1
  498. package/dist/agent-bridge/capabilities/hierarchy.js.map +0 -1
  499. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +0 -11
  500. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +0 -1
  501. package/dist/agent-bridge/capabilities/host-lifecycle.js +0 -149
  502. package/dist/agent-bridge/capabilities/host-lifecycle.js.map +0 -1
  503. package/dist/agent-bridge/capabilities/prefabs.d.ts +0 -5
  504. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +0 -1
  505. package/dist/agent-bridge/capabilities/prefabs.js.map +0 -1
  506. package/dist/agent-bridge/capabilities/scene-objects.d.ts +0 -8
  507. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +0 -1
  508. package/dist/agent-bridge/capabilities/scene-objects.js +0 -480
  509. package/dist/agent-bridge/capabilities/scene-objects.js.map +0 -1
  510. package/dist/agent-bridge/capabilities/selection.d.ts +0 -5
  511. package/dist/agent-bridge/capabilities/selection.d.ts.map +0 -1
  512. package/dist/agent-bridge/capabilities/selection.js +0 -60
  513. package/dist/agent-bridge/capabilities/selection.js.map +0 -1
  514. package/dist/agent-bridge/capabilities/shadows.d.ts +0 -5
  515. package/dist/agent-bridge/capabilities/shadows.d.ts.map +0 -1
  516. package/dist/agent-bridge/capabilities/shadows.js.map +0 -1
  517. package/dist/agent-bridge/capabilities/transform.d.ts +0 -5
  518. package/dist/agent-bridge/capabilities/transform.d.ts.map +0 -1
  519. package/dist/agent-bridge/capabilities/transform.js +0 -164
  520. package/dist/agent-bridge/capabilities/transform.js.map +0 -1
  521. package/dist/agent-bridge/capabilities/ui-regions.d.ts +0 -4
  522. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +0 -1
  523. package/dist/agent-bridge/capabilities/ui-regions.js.map +0 -1
  524. package/dist/agent-bridge/capabilities/viewport.d.ts +0 -5
  525. package/dist/agent-bridge/capabilities/viewport.d.ts.map +0 -1
  526. package/dist/agent-bridge/capabilities/viewport.js.map +0 -1
  527. package/dist/agent-bridge/capability-sources.d.ts +0 -7
  528. package/dist/agent-bridge/capability-sources.d.ts.map +0 -1
  529. package/dist/agent-bridge/capability-sources.js +0 -34
  530. package/dist/agent-bridge/capability-sources.js.map +0 -1
  531. package/dist/agent-bridge/diagnostics.d.ts +0 -12
  532. package/dist/agent-bridge/diagnostics.d.ts.map +0 -1
  533. package/dist/agent-bridge/diagnostics.js.map +0 -1
  534. package/dist/agent-bridge/index.d.ts.map +0 -1
  535. package/dist/agent-bridge/index.js.map +0 -1
  536. package/dist/agent-bridge/register.d.ts +0 -4
  537. package/dist/agent-bridge/register.d.ts.map +0 -1
  538. package/dist/agent-bridge/register.js.map +0 -1
  539. package/dist/agent-bridge/shared.d.ts.map +0 -1
  540. package/dist/agent-bridge/shared.js.map +0 -1
  541. package/dist/agent-bridge/source-types.d.ts +0 -110
  542. package/dist/agent-bridge/source-types.d.ts.map +0 -1
  543. package/dist/agent-bridge/source-types.js.map +0 -1
  544. package/dist/editor-plugin-agent-capabilities.d.ts +0 -4
  545. package/dist/editor-plugin-agent-capabilities.d.ts.map +0 -1
  546. package/dist/editor-plugin-agent-capabilities.js +0 -64
  547. package/dist/editor-plugin-agent-capabilities.js.map +0 -1
  548. package/dist/local-editor-agent-actions.d.ts +0 -43
  549. package/dist/local-editor-agent-actions.d.ts.map +0 -1
  550. package/dist/local-editor-agent-actions.js +0 -321
  551. package/dist/local-editor-agent-actions.js.map +0 -1
  552. package/dist/local-editor-agent-bridge-transport.d.ts +0 -129
  553. package/dist/local-editor-agent-bridge-transport.d.ts.map +0 -1
  554. package/dist/local-editor-agent-bridge-transport.js +0 -403
  555. package/dist/local-editor-agent-bridge-transport.js.map +0 -1
  556. package/dist/local-editor-agent-bridge.d.ts +0 -2
  557. package/dist/local-editor-agent-bridge.d.ts.map +0 -1
  558. package/dist/local-editor-agent-bridge.js +0 -2
  559. package/dist/local-editor-agent-bridge.js.map +0 -1
  560. package/dist/local-editor-agent-context.d.ts +0 -68
  561. package/dist/local-editor-agent-context.d.ts.map +0 -1
  562. package/dist/local-editor-agent-context.js +0 -716
  563. package/dist/local-editor-agent-context.js.map +0 -1
  564. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +0 -22
  565. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +0 -1
  566. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +0 -106
  567. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +0 -1
  568. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +0 -17
  569. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +0 -1
  570. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +0 -14
  571. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +0 -1
  572. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +0 -23
  573. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +0 -1
  574. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +0 -47
  575. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +0 -1
  576. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts +0 -112
  577. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts.map +0 -1
  578. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js +0 -159
  579. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js.map +0 -1
  580. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts +0 -15
  581. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts.map +0 -1
  582. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js +0 -76
  583. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js.map +0 -1
  584. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +0 -1622
  585. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +0 -1
  586. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +0 -1
  587. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts +0 -68
  588. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts.map +0 -1
  589. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js +0 -23
  590. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js.map +0 -1
  591. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +0 -187
  592. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +0 -1
  593. package/node_modules/@fps-games/editor-protocol/dist/agent.js +0 -5
  594. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +0 -1
  595. /package/dist/{agent-bridge → editor-commands}/source-types.js +0 -0
@@ -13,7 +13,8 @@ export declare class LocalEditorPrefabStageTransactionController<TDocument, TPat
13
13
  static open<TDocument, TPatch>(parentSession: EditorSession<TDocument, TPatch>, options?: EditorSessionForkOptions): LocalEditorPrefabStageTransactionController<TDocument, TPatch>;
14
14
  snapshot(): LocalEditorPrefabStageTransactionSnapshot;
15
15
  assertParentUnchanged(): void;
16
- commitSavedDocument(document: TDocument, source: AuthoringSourceDescriptor | undefined, label: string): void;
16
+ stageParentSavedDocument(parentDraftSession: EditorSession<TDocument, TPatch>, document: TDocument, source: AuthoringSourceDescriptor | undefined, label: string): void;
17
+ acceptParentRevision(): void;
17
18
  discard(): void;
18
19
  }
19
20
  //# sourceMappingURL=local-editor-prefab-stage-transaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-editor-prefab-stage-transaction.d.ts","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC9B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CACxC;AAED,qBAAa,2CAA2C,CAAC,SAAS,EAAE,MAAM;IAItE,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IAJzD,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO;IAOP,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,EAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,EAC/C,OAAO,GAAE,wBAA6B,GACrC,2CAA2C,CAAC,SAAS,EAAE,MAAM,CAAC;IAOjE,QAAQ,IAAI,yCAAyC;IAWrD,qBAAqB,IAAI,IAAI;IAS7B,mBAAmB,CACjB,QAAQ,EAAE,S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@ export class LocalEditorPrefabStageTransactionController {
6
6
  this.parentRevision = parentSession.getState({ cloneDocuments: false }).documentRevision;
7
7
  }
8
8
  static open(parentSession, options = {}) {
9
- return new LocalEditorPrefabStageTransactionController(parentSession, parentSession.fork(options));
9
+ return new LocalEditorPrefabStageTransactionController(parentSession, parentSession.fork({ ...options, preserveDocumentRevision: true }));
10
10
  }
11
11
  snapshot() {
12
12
  const parentState = this.parentSession.getState({ cloneDocuments: false });
@@ -24,16 +24,17 @@ export class LocalEditorPrefabStageTransactionController {
24
24
  throw new Error(`Prefab Stage parent Session changed from revision ${this.parentRevision} to ${revision}.`);
25
25
  }
26
26
  }
27
- commitSavedDocument(document, source, label) {
27
+ stageParentSavedDocument(parentDraftSession, document, source, label) {
28
28
  this.assertParentUnchanged();
29
- this.parentSession.dispatch({
29
+ parentDraftSession.dispatch({
30
30
  type: 'document.replace',
31
31
  document,
32
32
  label,
33
33
  projectionImpact: { type: 'rebuild', reason: 'prefab-stage-save' },
34
34
  });
35
- this.parentSession.markSaved(document, source);
36
- this.draftSession.markSaved(document, source, { resetHistory: true });
35
+ parentDraftSession.markSaved(document, source);
36
+ }
37
+ acceptParentRevision() {
37
38
  this.parentRevision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;
38
39
  }
39
40
  discard() {
@@ -1 +1 @@
1
- {"version":3,"file":"local-editor-prefab-stage-transaction.js","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,MAAM,wBAAwB,CAAC;AAShC,MAAM,OAAO,2CAA2C;IAGtD,YACW,aAA+C,EAC/C,YAA8C;QAD9C,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAkC;QAEvD,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC;IAC3F,CAAC;IAED,MAAM,CAAC,IAAI,CACT,a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AM,CAAC,CAAC;QAC/C,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;QACtE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC;IAChG,CAAC;IAED,OAAO;QACL,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;CACF","sourcesContent":["import {\n type AuthoringSourceDescriptor,\n type EditorSession,\n type EditorSessionForkOptions,\n} from '@fps-games/editor-core';\n\nexport interface LocalEditorPrefabStageTransactionSnapshot {\n readonly stageDirty: boolean;\n readonly documentDirty: boolean;\n readonly parentDocumentRevision: number;\n readonly draftDocumentRevision: number;\n}\n\nexport class LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n private parentRevision: number;\n\n private constructor(\n readonly parentSession: EditorSession<TDocument, TPatch>,\n readonly draftSession: EditorSession<TDocument, TPatch>,\n ) {\n this.parentRevision = parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n static open<TDocument, TPatch>(\n parentSession: EditorSession<TDocument, TPatch>,\n options: EditorSessionForkOptions = {},\n ): LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n return new LocalEditorPrefabStageTransactionController(\n parentSession,\n parentSession.fork(options),\n );\n }\n\n snapshot(): LocalEditorPrefabStageTransactionSnapshot {\n const parentState = this.parentSession.getState({ cloneDocuments: false });\n const draftState = this.draftSession.getState({ cloneDocuments: false });\n return Object.freeze({\n stageDirty: draftState.dirty,\n documentDirty: parentState.dirty || draftState.dirty,\n parentDocumentRevision: parentState.documentRevision,\n draftDocumentRevision: draftState.documentRevision,\n });\n }\n\n assertParentUnchanged(): void {\n const revision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n if (revision !== this.parentRevision) {\n throw new Error(\n `Prefab Stage parent Session changed from revision ${this.parentRevision} to ${revision}.`,\n );\n }\n }\n\n commitSavedDocument(\n document: TDocument,\n source: AuthoringSourceDescriptor | undefined,\n label: string,\n ): void {\n this.assertParentUnchanged();\n this.parentSession.dispatch({\n type: 'document.replace',\n document,\n label,\n projectionImpact: { type: 'rebuild', reason: 'prefab-stage-save' },\n });\n this.parentSession.markSaved(document, source);\n this.draftSession.markSaved(document, source, { resetHistory: true });\n this.parentRevision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n discard(): void {\n this.assertParentUnchanged();\n const checkpoint = this.draftSession.getState({ cloneDocuments: false });\n this.draftSession.reset(checkpoint.persistedDocument, checkpoint.source);\n }\n}\n"]}
1
+ {"version":3,"file":"local-editor-prefab-stage-transaction.js","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,MAAM,wBAAwB,CAAC;AAShC,MAAM,OAAO,2CAA2C;IAGtD,YACW,aAA+C,EAC/C,YAA8C;QAD9C,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAkC;QAEvD,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC;IAC3F,CAAC;IAED,MAAM,CAAC,IAAI,CACT,aAA+C,EAC/C,UAAoC,EAAE;QAEtC,OAAO,IAAI,2CAA2C,CACpD,aAAa,EACb,aAAa,CAAC,IAAI,CAAC,EAAE,GAAG,OAAO,EAAE,wBAAwB,EAAE,IAAI,EAAE,CAAC,CACnE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,MAAM,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AAC;IAChG,CAAC;IAED,OAAO;QACL,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;CACF","sourcesContent":["import {\n type AuthoringSourceDescriptor,\n type EditorSession,\n type EditorSessionForkOptions,\n} from '@fps-games/editor-core';\n\nexport interface LocalEditorPrefabStageTransactionSnapshot {\n readonly stageDirty: boolean;\n readonly documentDirty: boolean;\n readonly parentDocumentRevision: number;\n readonly draftDocumentRevision: number;\n}\n\nexport class LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n private parentRevision: number;\n\n private constructor(\n readonly parentSession: EditorSession<TDocument, TPatch>,\n readonly draftSession: EditorSession<TDocument, TPatch>,\n ) {\n this.parentRevision = parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n static open<TDocument, TPatch>(\n parentSession: EditorSession<TDocument, TPatch>,\n options: EditorSessionForkOptions = {},\n ): LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n return new LocalEditorPrefabStageTransactionController(\n parentSession,\n parentSession.fork({ ...options, preserveDocumentRevision: true }),\n );\n }\n\n snapshot(): LocalEditorPrefabStageTransactionSnapshot {\n const parentState = this.parentSession.getState({ cloneDocuments: false });\n const draftState = this.draftSession.getState({ cloneDocuments: false });\n return Object.freeze({\n stageDirty: draftState.dirty,\n documentDirty: parentState.dirty || draftState.dirty,\n parentDocumentRevision: parentState.documentRevision,\n draftDocumentRevision: draftState.documentRevision,\n });\n }\n\n assertParentUnchanged(): void {\n const revision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n if (revision !== this.parentRevision) {\n throw new Error(\n `Prefab Stage parent Session changed from revision ${this.parentRevision} to ${revision}.`,\n );\n }\n }\n\n stageParentSavedDocument(\n parentDraftSession: EditorSession<TDocument, TPatch>,\n document: TDocument,\n source: AuthoringSourceDescriptor | undefined,\n label: string,\n ): void {\n this.assertParentUnchanged();\n parentDraftSession.dispatch({\n type: 'document.replace',\n document,\n label,\n projectionImpact: { type: 'rebuild', reason: 'prefab-stage-save' },\n });\n parentDraftSession.markSaved(document, source);\n }\n\n acceptParentRevision(): void {\n this.parentRevision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n discard(): void {\n this.assertParentUnchanged();\n const checkpoint = this.draftSession.getState({ cloneDocuments: false });\n this.draftSession.reset(checkpoint.persistedDocument, checkpoint.source);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"local-editor-scene-view-interaction-runtime.d.ts","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAE1G,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;CAC1D;AAED,MAAM,WAAW,sCAAsC;IACrD,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1D,cAAc,IAAI,IAAI,CAAC;IACvB,YAAY,IAAI,IAAI,CAAC;IACrB,kBAAkB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,mBAAmB,IAAI,IAAI,CAAC;IAC5B,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;IACzD,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,WAAW,EAAE,IAAI,CACf,oCAAoC,EACpC,iBAAiB,GAAG,eAAe,GAAG,cAAc,CACrD,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,iCAAiC,GAAG,IAAI,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,6CAA6C,GACrD,sCAAsC,CA2ExC"}
1
+ {"version":3,"file":"local-editor-scene-view-interaction-runtime.d.ts","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAE1G,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;CAC1D;AAED,MAAM,WAAW,sCAAsC;IACrD,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1D,cAAc,IAAI,IAAI,CAAC;IACvB,YAAY,IAAI,IAAI,CAAC;IACrB,kBAAkB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,mBAAmB,IAAI,IAAI,CAAC;IAC5B,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;IACzD,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,WAAW,EAAE,IAAI,CACf,oCAAoC,EACpC,iBAAiB,GAAG,eAAe,GAAG,cAAc,CACrD,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,iCAAiC,GAAG,IAAI,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,6CAA6C,GACrD,sCAAsC,CA0ExC"}
@@ -23,8 +23,6 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
23
23
  const reason = continuousRenderReasonForPointerIntent(intent);
24
24
  if (reason)
25
25
  endReason(reason);
26
- if (intent === 'gizmo-drag')
27
- endReason(GIZMO_DRAG_RENDER_REASON);
28
26
  if (intent === 'flythrough')
29
27
  endReason(FLYTHROUGH_KEY_RENDER_REASON);
30
28
  };
@@ -47,10 +45,10 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
47
45
  endPointerIntentReasons(intent);
48
46
  },
49
47
  beginGizmoDrag() {
50
- beginReason(GIZMO_DRAG_RENDER_REASON);
48
+ options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-start`);
51
49
  },
52
50
  endGizmoDrag() {
53
- endReason(GIZMO_DRAG_RENDER_REASON);
51
+ options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-end`);
54
52
  },
55
53
  updateMovementKeys(keys) {
56
54
  if (keys.length > 0)
@@ -88,7 +86,6 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
88
86
  }
89
87
  function continuousRenderReasonForPointerIntent(intent) {
90
88
  switch (intent) {
91
- case 'gizmo-drag':
92
89
  case 'view-plane-move':
93
90
  case 'placement':
94
91
  case 'measurement':
@@ -1 +1 @@
1
- {"version":3,"file":"local-editor-scene-view-interaction-runtime.js","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AA6BA,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AAC9D,MAAM,wBAAwB,GAAG,YAAY,CAAC;AAC9C,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAC3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mBAAmB,EAAE,CAAC;YACtB,MAAM,OAAO,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC;YACnC,aAAa,CAAC,KAAK,EAAE,CAAC;YACtB,KAAK,MAAM,MAAM,IAAI,OAAO;gBAAE,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YACxE,QAAQ,GAAG,IAAI,CAAC;QAClB,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAS,sCAAsC,CAAC,MAA8B;IAC5E,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,YAAY,CAAC;QAClB,KAAK,iBAAiB,CAAC;QACvB,KAAK,WAAW,CAAC;QACjB,KAAK,aAAa,CAAC;QACnB,KAAK,OAAO,CAAC;QACb,KAAK,KAAK,CAAC;QACX,KAAK,OAAO,CAAC;QACb,KAAK,YAAY;YACf,OAAO,WAAW,MAAM,EAAE,CAAC;QAC7B;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC","sourcesContent":["import type { SceneViewPointerIntent } from '@fps-games/editor-core';\nimport type { LocalEditorSceneRenderFrame } from './local-editor-scene-render-scheduler.js';\nimport type { LocalEditorViewportRenderCoordinator } from './local-editor-viewport-render-coordinator.js';\n\nexport interface LocalEditorSceneViewFrameConsumer {\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntime {\n beginPointerIntent(intent: SceneViewPointerIntent): void;\n endPointerIntent(intent: SceneViewPointerIntent): void;\n cancelPointerIntent(intent: SceneViewPointerIntent): void;\n beginGizmoDrag(): void;\n endGizmoDrag(): void;\n updateMovementKeys(keys: readonly string[]): void;\n notifyWheelActivity(): void;\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n dispose(): void;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntimeOptions {\n coordinator: Pick<\n LocalEditorViewportRenderCoordinator,\n 'beginContinuous' | 'endContinuous' | 'requestFrame'\n >;\n getCamera?: () => LocalEditorSceneViewFrameConsumer | null;\n wheelIdleDelayMs?: number;\n}\n\nconst FLYTHROUGH_KEY_RENDER_REASON = 'camera-flythrough-keys';\nconst GIZMO_DRAG_RENDER_REASON = 'gizmo-drag';\nconst WHEEL_RENDER_REASON = 'camera-wheel';\nconst DEFAULT_WHEEL_IDLE_DELAY_MS = 120;\n\nexport function createLocalEditorSceneViewInteractionRuntime(\n options: LocalEditorSceneViewInteractionRuntimeOptions,\n): LocalEditorSceneViewInteractionRuntime {\n const activeReasons = new Set<string>();\n const wheelIdleDelayMs = options.wheelIdleDelayMs ?? DEFAULT_WHEEL_IDLE_DELAY_MS;\n let wheelIdleTimer: ReturnType<typeof setTimeout> | null = null;\n let disposed = false;\n\n const beginReason = (reason: string): void => {\n if (disposed || activeReasons.has(reason)) return;\n activeReasons.add(reason);\n options.coordinator.beginContinuous(reason);\n };\n\n const endReason = (reason: string): void => {\n if (disposed || !activeReasons.has(reason)) return;\n activeReasons.delete(reason);\n options.coordinator.endContinuous(reason);\n };\n\n const endPointerIntentReasons = (intent: SceneViewPointerIntent): void => {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) endReason(reason);\n if (intent === 'gizmo-drag') endReason(GIZMO_DRAG_RENDER_REASON);\n if (intent === 'flythrough') endReason(FLYTHROUGH_KEY_RENDER_REASON);\n };\n\n const clearWheelIdleTimer = (): void => {\n if (wheelIdleTimer == null) return;\n clearTimeout(wheelIdleTimer);\n wheelIdleTimer = null;\n };\n\n return {\n beginPointerIntent(intent) {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) beginReason(reason);\n },\n endPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n cancelPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n beginGizmoDrag() {\n beginReason(GIZMO_DRAG_RENDER_REASON);\n },\n endGizmoDrag() {\n endReason(GIZMO_DRAG_RENDER_REASON);\n },\n updateMovementKeys(keys) {\n if (keys.length > 0) beginReason(FLYTHROUGH_KEY_RENDER_REASON);\n else endReason(FLYTHROUGH_KEY_RENDER_REASON);\n },\n notifyWheelActivity() {\n if (disposed) return;\n beginReason(WHEEL_RENDER_REASON);\n clearWheelIdleTimer();\n wheelIdleTimer = setTimeout(() => {\n wheelIdleTimer = null;\n if (disposed) return;\n endReason(WHEEL_RENDER_REASON);\n options.coordinator.requestFrame(`${WHEEL_RENDER_REASON}-settled`);\n }, Math.max(0, wheelIdleDelayMs));\n },\n updateFrame(frame) {\n return options.getCamera?.()?.updateFrame(frame) ?? false;\n },\n dispose() {\n if (disposed) return;\n clearWheelIdleTimer();\n const reasons = [...activeReasons];\n activeReasons.clear();\n for (const reason of reasons) options.coordinator.endContinuous(reason);\n disposed = true;\n },\n };\n}\n\nfunction continuousRenderReasonForPointerIntent(intent: SceneViewPointerIntent): string | null {\n switch (intent) {\n case 'gizmo-drag':\n case 'view-plane-move':\n case 'placement':\n case 'measurement':\n case 'orbit':\n case 'pan':\n case 'dolly':\n case 'flythrough':\n return `pointer-${intent}`;\n default:\n return null;\n }\n}\n"]}
1
+ {"version":3,"file":"local-editor-scene-view-interaction-runtime.js","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AA6BA,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AAC9D,MAAM,wBAAwB,GAAG,YAAY,CAAC;AAC9C,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAC3C,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAExC,MAAM,UAAU,4CAA4C,CAC1D,OAAsD;IAEtD,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,2BAA2B,CAAC;IACjF,IAAI,cAAc,GAAyC,IAAI,CAAC;IAChE,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,MAAM,WAAW,GAAG,CAAC,MAAc,EAAQ,EAAE;QAC3C,IAAI,QAAQ,IAAI,aAAa,CAAC,GAAG,CAA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AAC;QACvB,KAAK,WAAW,CAAC;QACjB,KAAK,aAAa,CAAC;QACnB,KAAK,OAAO,CAAC;QACb,KAAK,KAAK,CAAC;QACX,KAAK,OAAO,CAAC;QACb,KAAK,YAAY;YACf,OAAO,WAAW,MAAM,EAAE,CAAC;QAC7B;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC","sourcesContent":["import type { SceneViewPointerIntent } from '@fps-games/editor-core';\nimport type { LocalEditorSceneRenderFrame } from './local-editor-scene-render-scheduler.js';\nimport type { LocalEditorViewportRenderCoordinator } from './local-editor-viewport-render-coordinator.js';\n\nexport interface LocalEditorSceneViewFrameConsumer {\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntime {\n beginPointerIntent(intent: SceneViewPointerIntent): void;\n endPointerIntent(intent: SceneViewPointerIntent): void;\n cancelPointerIntent(intent: SceneViewPointerIntent): void;\n beginGizmoDrag(): void;\n endGizmoDrag(): void;\n updateMovementKeys(keys: readonly string[]): void;\n notifyWheelActivity(): void;\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n dispose(): void;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntimeOptions {\n coordinator: Pick<\n LocalEditorViewportRenderCoordinator,\n 'beginContinuous' | 'endContinuous' | 'requestFrame'\n >;\n getCamera?: () => LocalEditorSceneViewFrameConsumer | null;\n wheelIdleDelayMs?: number;\n}\n\nconst FLYTHROUGH_KEY_RENDER_REASON = 'camera-flythrough-keys';\nconst GIZMO_DRAG_RENDER_REASON = 'gizmo-drag';\nconst WHEEL_RENDER_REASON = 'camera-wheel';\nconst DEFAULT_WHEEL_IDLE_DELAY_MS = 120;\n\nexport function createLocalEditorSceneViewInteractionRuntime(\n options: LocalEditorSceneViewInteractionRuntimeOptions,\n): LocalEditorSceneViewInteractionRuntime {\n const activeReasons = new Set<string>();\n const wheelIdleDelayMs = options.wheelIdleDelayMs ?? DEFAULT_WHEEL_IDLE_DELAY_MS;\n let wheelIdleTimer: ReturnType<typeof setTimeout> | null = null;\n let disposed = false;\n\n const beginReason = (reason: string): void => {\n if (disposed || activeReasons.has(reason)) return;\n activeReasons.add(reason);\n options.coordinator.beginContinuous(reason);\n };\n\n const endReason = (reason: string): void => {\n if (disposed || !activeReasons.has(reason)) return;\n activeReasons.delete(reason);\n options.coordinator.endContinuous(reason);\n };\n\n const endPointerIntentReasons = (intent: SceneViewPointerIntent): void => {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) endReason(reason);\n if (intent === 'flythrough') endReason(FLYTHROUGH_KEY_RENDER_REASON);\n };\n\n const clearWheelIdleTimer = (): void => {\n if (wheelIdleTimer == null) return;\n clearTimeout(wheelIdleTimer);\n wheelIdleTimer = null;\n };\n\n return {\n beginPointerIntent(intent) {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) beginReason(reason);\n },\n endPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n cancelPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n beginGizmoDrag() {\n options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-start`);\n },\n endGizmoDrag() {\n options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-end`);\n },\n updateMovementKeys(keys) {\n if (keys.length > 0) beginReason(FLYTHROUGH_KEY_RENDER_REASON);\n else endReason(FLYTHROUGH_KEY_RENDER_REASON);\n },\n notifyWheelActivity() {\n if (disposed) return;\n beginReason(WHEEL_RENDER_REASON);\n clearWheelIdleTimer();\n wheelIdleTimer = setTimeout(() => {\n wheelIdleTimer = null;\n if (disposed) return;\n endReason(WHEEL_RENDER_REASON);\n options.coordinator.requestFrame(`${WHEEL_RENDER_REASON}-settled`);\n }, Math.max(0, wheelIdleDelayMs));\n },\n updateFrame(frame) {\n return options.getCamera?.()?.updateFrame(frame) ?? false;\n },\n dispose() {\n if (disposed) return;\n clearWheelIdleTimer();\n const reasons = [...activeReasons];\n activeReasons.clear();\n for (const reason of reasons) options.coordinator.endContinuous(reason);\n disposed = true;\n },\n };\n}\n\nfunction continuousRenderReasonForPointerIntent(intent: SceneViewPointerIntent): string | null {\n switch (intent) {\n case 'view-plane-move':\n case 'placement':\n case 'measurement':\n case 'orbit':\n case 'pan':\n case 'dolly':\n case 'flythrough':\n return `pointer-${intent}`;\n default:\n return null;\n }\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import { type EditorSceneBlobShadowPreviewSettingsInput, type EditorScenePlanarShadowPreviewSettingsInput, type EditorSceneRenderingPanelLanguage, type EditorSceneRenderingGroupId, type EditorSceneRenderingPanelState, type EditorSceneRenderingPanelStateInput, type EditorSceneRenderingProfile, type EditorSceneRenderingProfileActionInput, type EditorSceneRenderingStatusTone, type EditorSceneRenderingTextureAsset, type EditorSceneStaticShadowArtifactDiagnostic, type EditorSceneStaticProjectedShadowPreviewSettingsInput } from '@fps-games/editor-playable-sdk';
2
+ import { type PlayableAssetResourceResolutionDiagnostic, type PlayableResolvedAssetResource } from '@fps-games/playable-assets';
2
3
  import { type ShadowMapExperimentPlan } from '@fps-games/playable-rendering/runtime';
3
4
  import { type BabylonDefaultPostProcessPipelineController, type BabylonDefaultPostProcessProfile, type BabylonDefaultPostProcessResolveResult, type BabylonDefaultPostProcessResolveInput, type BabylonEnvironmentTextureController, type BabylonEnvironmentTextureProfile, type BlobShadowOptions, type BlobShadowSystem, type PlanarShadowOptions, type PlanarShadowSystem, type StaticProjectedShadowOptions, type StaticProjectedShadowArtifact, type StaticProjectedShadowArtifactHashInput, type StaticProjectedShadowArtifactSystem, type StaticProjectedShadowBakerAtlasEncoder, type StaticProjectedShadowBakerMaskPixelReader, type StaticProjectedShadowBakerSdfTileProcessor } from '@fps-games/babylon-renderer';
4
5
  import type { BabylonEditorShadowPreviewOptions } from '@fps-games/editor-babylon';
@@ -119,12 +120,12 @@ export interface PlayableBabylonWorldRendering {
119
120
  shadowPreview: BabylonEditorShadowPreviewOptions | null;
120
121
  postProcess: BabylonDefaultPostProcessProfile;
121
122
  }
122
- export type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus = 'none' | 'resolved-asset' | 'resolved-url' | 'missing-asset' | 'unsupported-asset' | 'unsupported-url';
123
+ export type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus = 'none' | 'resolved-asset' | 'resolved-external' | 'missing-asset' | 'unsupported-asset' | 'format-missing' | 'format-unsupported';
123
124
  export interface PlayableBabylonRenderingEnvironmentTextureDiagnostic {
124
125
  status: PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus;
125
126
  textureAssetId: string | null;
126
- textureUrl: string | null;
127
- resolvedUrl: string | null;
127
+ resource: PlayableResolvedAssetResource | null;
128
+ resolutionDiagnostic: PlayableAssetResourceResolutionDiagnostic | null;
128
129
  asset: EditorSceneRenderingTextureAsset | null;
129
130
  reason: string | null;
130
131
  }
@@ -141,7 +142,7 @@ export interface PlayableBabylonRuntimeRenderingControllers {
141
142
  environment: BabylonEnvironmentTextureController;
142
143
  postProcess: BabylonDefaultPostProcessPipelineController;
143
144
  getWorldRendering(): PlayableBabylonWorldRendering | null;
144
- setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): void;
145
+ setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): Promise<void>;
145
146
  dispose(): void;
146
147
  }
147
148
  export interface PlayableBabylonRuntimeRenderingControllerOptions {
@@ -180,7 +181,7 @@ export declare function createPlayableBabylonRenderingCapabilityFacade<TDocument
180
181
  export declare function createPlayableBabylonRenderingAlphaIndexMigrationPatch<TDocument, TPatch>(input: PlayableBabylonRenderingSetConfigInput<TDocument>, previousProfile: EditorSceneRenderingProfile, options: Pick<PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>, 'createAlphaIndexMigrationPatch' | 'getAlphaIndexMigrationGameObjects'>): PlayableLocalEditorPatchResult<TPatch> | null;
181
182
  export declare function createPlayableBabylonWorldRendering<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): PlayableBabylonWorldRendering;
182
183
  export declare function createPlayableBabylonRenderingDiagnostics<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): PlayableBabylonRenderingDiagnostics;
183
- export declare function createPlayableBabylonRuntimeRenderingControllers(options: PlayableBabylonRuntimeRenderingControllerOptions): PlayableBabylonRuntimeRenderingControllers;
184
+ export declare function createPlayableBabylonRuntimeRenderingControllers(options: PlayableBabylonRuntimeRenderingControllerOptions): Promise<PlayableBabylonRuntimeRenderingControllers>;
184
185
  export declare function createPlayableBabylonPlanarShadowPolicy(baseInput?: PlayableBabylonPlanarShadowPolicyInput): PlayableBabylonPlanarShadowPolicy;
185
186
  export declare function resolvePlayableBabylonPlanarShadowPolicy(profile: EditorSceneRenderingProfile, input?: PlayableBabylonPlanarShadowPolicyInput): PlayableBabylonResolvedPlanarShadowPolicy;
186
187
  export declare function createPlayableBabylonPlanarShadowPolicyInput(profile: EditorSceneRenderingProfile, input?: PlayableBabylonPlanarShadowPolicyInput): EditorScenePlanarShadowPreviewSettingsInput;
@@ -196,9 +197,9 @@ export declare function createPlayableBabylonStaticProjectedShadowArtifactSystem
196
197
  export declare function createPlayableBabylonBlobShadowSystem(scene: unknown, profile: EditorSceneRenderingProfile, input?: PlayableBabylonBlobShadowPolicyInput): BlobShadowSystem;
197
198
  export declare function createPlayableBabylonRenderingPanelState<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): EditorSceneRenderingPanelState;
198
199
  export declare function createPlayableBabylonEnvironmentTextureProfile(profile: EditorSceneRenderingProfile, textureAssets?: readonly EditorSceneRenderingTextureAsset[]): BabylonEnvironmentTextureProfile;
199
- export declare function resolvePlayableBabylonRenderingEnvironmentTextureUrl(textureRef: EditorSceneRenderingProfile['environment']['texture'], textureAssets?: readonly EditorSceneRenderingTextureAsset[]): string | null;
200
+ export declare function resolvePlayableBabylonRenderingEnvironmentTextureResource(textureRef: EditorSceneRenderingProfile['environment']['texture'], textureAssets?: readonly EditorSceneRenderingTextureAsset[]): PlayableResolvedAssetResource | null;
200
201
  export declare function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(textureRef: EditorSceneRenderingProfile['environment']['texture'], textureAssets?: readonly EditorSceneRenderingTextureAsset[]): PlayableBabylonRenderingEnvironmentTextureDiagnostic;
201
202
  export declare function isPlayableBabylonRenderingEnvironmentTextureAsset(texture: EditorSceneRenderingTextureAsset): boolean;
202
- export declare function isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl: string): boolean;
203
+ export declare function isPlayableBabylonRenderingEnvironmentTextureResource(resource: PlayableResolvedAssetResource): boolean;
203
204
  export {};
204
205
  //# sourceMappingURL=playable-babylon-rendering.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"playable-babylon-rendering.d.ts","sourceRoot":"","sources":["../src/playable-babylon-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,yCAAyC,EAC9C,KAAK,2CAA2C,EAEhD,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,yCAAyC,EAG9C,KAAK,oDAAoD,EAC1D,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAUL,KAAK,2CAA2C,EAChD,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,6BAA6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,CAKT;AAED,wBAAgB,oDAAoD,CAClE,QAAQ,EAAE,6BAA6B,GACtC,OAAO,CAET"}
@@ -1,4 +1,5 @@
1
1
  import { applyEditorSceneRenderingProfileAction, applyEditorSceneRenderingProfilePatch, collectEditorSceneRenderingAlphaIndexMigrationTargetIds, createEditorSceneBlobShadowPreviewSettings, createEditorScenePlanarShadowPreviewSettings, createEditorSceneRenderingPanelState, createEditorSceneStaticShadowArtifactDraftStore, createEditorSceneStaticShadowArtifactDiagnostic, createEditorSceneStaticProjectedShadowPreviewSettings, normalizeEditorSceneRenderingProfile, resolveEditorSceneRenderingAlphaIndexPresetValueMigration, } from '@fps-games/editor-playable-sdk';
2
+ import { createPlayableAssetResourceResolver, } from '@fps-games/playable-assets';
2
3
  import { createShadowMapExperimentConfigSnapshot, createShadowMapExperimentPlanSnapshot, } from '@fps-games/playable-rendering/runtime';
3
4
  import { createBabylonDefaultPostProcessPipelineController, createBabylonEnvironmentTextureController, createBlobShadowSystem, createPlanarShadowSystem, createStaticProjectedShadowBaker, createStaticProjectedShadowArtifactSystem, createStaticProjectedShadowBakeHashes, createStaticProjectedShadowProfileHash, resolveBabylonDefaultPostProcessVolumeStack, } from '@fps-games/babylon-renderer';
4
5
  import { createStaticProjectedShadowCpuWorkerProcessor } from './static-shadow-cpu-worker.js';
@@ -115,13 +116,13 @@ export function createPlayableBabylonRenderingDiagnostics(document, options, sce
115
116
  shadowPreview,
116
117
  };
117
118
  }
118
- export function createPlayableBabylonRuntimeRenderingControllers(options) {
119
+ export async function createPlayableBabylonRuntimeRenderingControllers(options) {
119
120
  let currentRendering = options.initialRendering ?? null;
120
121
  const postProcess = createBabylonDefaultPostProcessPipelineController(options.scene, options.cameras, currentRendering?.postProcess ?? null, options.postProcess);
121
122
  let environment = null;
122
123
  try {
123
- environment = createBabylonEnvironmentTextureController(options.scene, null);
124
- environment.setProfile(currentRendering?.environment ?? null);
124
+ environment = createBabylonEnvironmentTextureController(options.scene);
125
+ await environment.applyProfile(currentRendering?.environment ?? null);
125
126
  }
126
127
  catch (error) {
127
128
  const allocatedEnvironment = environment;
@@ -142,10 +143,11 @@ export function createPlayableBabylonRuntimeRenderingControllers(options) {
142
143
  getWorldRendering() {
143
144
  return currentRendering;
144
145
  },
145
- setWorldRendering(rendering) {
146
- currentRendering = rendering ?? null;
147
- activeEnvironment.setProfile(currentRendering?.environment ?? null);
148
- postProcess.setProfile(currentRendering?.postProcess ?? null);
146
+ async setWorldRendering(rendering) {
147
+ const nextRendering = rendering ?? null;
148
+ await activeEnvironment.applyProfile(nextRendering?.environment ?? null);
149
+ postProcess.setProfile(nextRendering?.postProcess ?? null);
150
+ currentRendering = nextRendering;
149
151
  },
150
152
  dispose() {
151
153
  const cleanupErrors = [];
@@ -460,12 +462,12 @@ function createPlayableBabylonStaticShadowExpectedHashes(context, options, stati
460
462
  }
461
463
  export function createPlayableBabylonEnvironmentTextureProfile(profile, textureAssets = []) {
462
464
  return {
463
- textureUrl: resolvePlayableBabylonRenderingEnvironmentTextureUrl(profile.environment.texture, textureAssets),
465
+ texture: resolvePlayableBabylonRenderingEnvironmentTextureResource(profile.environment.texture, textureAssets),
464
466
  intensity: profile.environment.iblIntensity,
465
467
  rotationY: profile.environment.rotationY,
466
468
  };
467
469
  }
468
- export function resolvePlayableBabylonRenderingEnvironmentTextureUrl(textureRef, textureAssets = []) {
470
+ export function resolvePlayableBabylonRenderingEnvironmentTextureResource(textureRef, textureAssets = []) {
469
471
  if (!textureRef)
470
472
  return null;
471
473
  const textureAssetId = typeof textureRef.textureAssetId === 'string'
@@ -474,19 +476,22 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureUrl(textureRef,
474
476
  if (textureAssetId) {
475
477
  const textureAsset = textureAssets.find(texture => texture.id === textureAssetId);
476
478
  return textureAsset && isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)
477
- ? textureAsset.url
479
+ ? textureAsset.resource
478
480
  : null;
479
481
  }
480
482
  const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';
481
- return isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl) ? textureUrl : null;
483
+ const resolution = createPlayableAssetResourceResolver({}).resolve({ url: textureUrl });
484
+ return resolution.ok && isPlayableBabylonRenderingEnvironmentTextureResource(resolution.resource)
485
+ ? resolution.resource
486
+ : null;
482
487
  }
483
488
  export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(textureRef, textureAssets = []) {
484
489
  if (!textureRef) {
485
490
  return {
486
491
  status: 'none',
487
492
  textureAssetId: null,
488
- textureUrl: null,
489
- resolvedUrl: null,
493
+ resource: null,
494
+ resolutionDiagnostic: null,
490
495
  asset: null,
491
496
  reason: 'No environment texture is configured.',
492
497
  };
@@ -500,8 +505,14 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
500
505
  return {
501
506
  status: 'missing-asset',
502
507
  textureAssetId,
503
- textureUrl: null,
504
- resolvedUrl: null,
508
+ resource: null,
509
+ resolutionDiagnostic: {
510
+ code: 'asset.resource.not-found',
511
+ assetId: textureAssetId,
512
+ format: null,
513
+ transport: null,
514
+ urlSummary: null,
515
+ },
505
516
  asset: null,
506
517
  reason: `Environment texture asset not found: ${textureAssetId}.`,
507
518
  };
@@ -510,8 +521,14 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
510
521
  return {
511
522
  status: 'unsupported-asset',
512
523
  textureAssetId,
513
- textureUrl: textureAsset.url,
514
- resolvedUrl: null,
524
+ resource: null,
525
+ resolutionDiagnostic: {
526
+ code: 'asset.resource.format-unsupported',
527
+ assetId: textureAssetId,
528
+ format: textureAsset.resource.format,
529
+ transport: textureAsset.resource.transport,
530
+ urlSummary: summarizePlayableBabylonResourceUrl(textureAsset.resource),
531
+ },
515
532
  asset: textureAsset,
516
533
  reason: `Texture asset is not marked as an environment texture: ${textureAssetId}.`,
517
534
  };
@@ -519,8 +536,8 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
519
536
  return {
520
537
  status: 'resolved-asset',
521
538
  textureAssetId,
522
- textureUrl: textureAsset.url,
523
- resolvedUrl: textureAsset.url,
539
+ resource: textureAsset.resource,
540
+ resolutionDiagnostic: null,
524
541
  asset: textureAsset,
525
542
  reason: null,
526
543
  };
@@ -530,27 +547,48 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
530
547
  return {
531
548
  status: 'none',
532
549
  textureAssetId: null,
533
- textureUrl: null,
534
- resolvedUrl: null,
550
+ resource: null,
551
+ resolutionDiagnostic: null,
535
552
  asset: null,
536
553
  reason: 'No environment texture URL is configured.',
537
554
  };
538
555
  }
539
- if (!isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl)) {
556
+ const resolution = createPlayableAssetResourceResolver({}).resolve({ url: textureUrl });
557
+ if (!resolution.ok) {
558
+ return {
559
+ status: resolution.diagnostic.code === 'asset.resource.format-missing'
560
+ ? 'format-missing'
561
+ : 'format-unsupported',
562
+ textureAssetId: null,
563
+ resource: null,
564
+ resolutionDiagnostic: resolution.diagnostic,
565
+ asset: null,
566
+ reason: resolution.diagnostic.code === 'asset.resource.format-missing'
567
+ ? 'Environment texture resource format is missing.'
568
+ : 'Environment texture resource format is unsupported.',
569
+ };
570
+ }
571
+ if (!isPlayableBabylonRenderingEnvironmentTextureResource(resolution.resource)) {
540
572
  return {
541
- status: 'unsupported-url',
573
+ status: 'format-unsupported',
542
574
  textureAssetId: null,
543
- textureUrl,
544
- resolvedUrl: null,
575
+ resource: null,
576
+ resolutionDiagnostic: {
577
+ code: 'asset.resource.format-unsupported',
578
+ assetId: null,
579
+ format: resolution.resource.format,
580
+ transport: resolution.resource.transport,
581
+ urlSummary: summarizePlayableBabylonResourceUrl(resolution.resource),
582
+ },
545
583
  asset: null,
546
- reason: 'Environment texture URL must use .env, .hdr, .dds, .ktx, or .ktx2.',
584
+ reason: 'Environment texture resource must use .env, .hdr, .dds, .ktx, or .ktx2.',
547
585
  };
548
586
  }
549
587
  return {
550
- status: 'resolved-url',
588
+ status: 'resolved-external',
551
589
  textureAssetId: null,
552
- textureUrl,
553
- resolvedUrl: textureUrl,
590
+ resource: resolution.resource,
591
+ resolutionDiagnostic: null,
554
592
  asset: null,
555
593
  reason: null,
556
594
  };
@@ -562,10 +600,17 @@ export function isPlayableBabylonRenderingEnvironmentTextureAsset(texture) {
562
600
  return false;
563
601
  if (texture.usage === 'environment')
564
602
  return true;
565
- return isPlayableBabylonRenderingEnvironmentTextureUrl(texture.url);
603
+ return isPlayableBabylonRenderingEnvironmentTextureResource(texture.resource);
604
+ }
605
+ export function isPlayableBabylonRenderingEnvironmentTextureResource(resource) {
606
+ return PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN.test(resource.format);
566
607
  }
567
- export function isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl) {
568
- return PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN.test(textureUrl);
608
+ function summarizePlayableBabylonResourceUrl(resource) {
609
+ if (resource.transport === 'data-url')
610
+ return 'data:<redacted>';
611
+ if (resource.transport === 'blob-url')
612
+ return 'blob:<redacted>';
613
+ return resource.url.length <= 160 ? resource.url : `${resource.url.slice(0, 157)}...`;
569
614
  }
570
615
  function createPlayableBabylonRenderingContext(document, options) {
571
616
  const config = options.getConfig({ document });